EVOLUTION-MANAGER
Edit File: vendors~app.4d0490a94b199a11f40c.js
(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{"+0iv":function(t,e,n){"use strict"; /*! * is-plain-object <https://github.com/jonschlinkert/is-plain-object> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */var r=n("qDJ8");function i(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var e,n;return!1!==i(t)&&("function"==typeof(e=t.constructor)&&(!1!==i(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},"+2Rf":function(t,e,n){(function(e){t.exports=e.jQuery=n("gG62")}).call(this,n("yLpj"))},"+6XX":function(t,e,n){var r=n("y1pI");t.exports=function(t){return r(this.__data__,t)>-1}},"+JPL":function(t,e,n){t.exports={default:n("+SFK"),__esModule:!0}},"+K+b":function(t,e,n){var r=n("JHRd");t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},"+Qka":function(t,e,n){var r=n("fmRc"),i=n("t2Dn"),o=n("cq/+"),a=n("T1AV"),u=n("GoyQ"),s=n("mTTR"),c=n("itsj");t.exports=function t(e,n,l,f,h){e!==n&&o(n,function(o,s){if(h||(h=new r),u(o))a(e,n,s,l,t,f,h);else{var d=f?f(c(e,s),o,s+"",e,n,h):void 0;void 0===d&&(d=o),i(e,s,d)}},s)}},"+SFK":function(t,e,n){n("AUvm"),n("wgeU"),n("adOz"),n("dl0q"),t.exports=n("WEpk").Symbol},"+Xmh":function(t,e,n){n("jm62"),t.exports=n("g3g5").Object.getOwnPropertyDescriptors},"+auO":function(t,e,n){var r=n("XKFU"),i=n("lvtm");r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},"+c4W":function(t,e,n){var r=n("711d"),i=n("4/ic"),o=n("9ggG"),a=n("9Nap");t.exports=function(t){return o(t)?r(a(t)):i(t)}},"+gEr":function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return u});var r=n("mrSG"),i=n("MGBS"),o=n("zotm"),a={leading:!0,trailing:!1};function u(t,e){return void 0===e&&(e=a),function(n){return n.lift(new s(t,e.leading,e.trailing))}}var s=function(){function t(t,e,n){this.durationSelector=t,this.leading=e,this.trailing=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.destination=e,o.durationSelector=n,o._leading=r,o._trailing=i,o._hasValue=!1,o}return r.__extends(e,t),e.prototype._next=function(t){this._hasValue=!0,this._sendValue=t,this._throttled||(this._leading?this.send():this.throttle(t))},e.prototype.send=function(){var t=this._hasValue,e=this._sendValue;t&&(this.destination.next(e),this.throttle(e)),this._hasValue=!1,this._sendValue=null},e.prototype.throttle=function(t){var e=this.tryDurationSelector(t);e&&this.add(this._throttled=Object(o.a)(this,e))},e.prototype.tryDurationSelector=function(t){try{return this.durationSelector(t)}catch(t){return this.destination.error(t),null}},e.prototype.throttlingDone=function(){var t=this._throttled,e=this._trailing;t&&t.unsubscribe(),this._throttled=null,e&&this.send()},e.prototype.notifyNext=function(t,e,n,r,i){this.throttlingDone()},e.prototype.notifyComplete=function(){this.throttlingDone()},e}(i.a)},"+iFO":function(t,e,n){var r=n("dTAl"),i=n("LcsW"),o=n("6sVZ");t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}},"+lvF":function(t,e,n){t.exports=n("VTer")("native-function-to-string",Function.toString)},"+oPb":function(t,e,n){"use strict";n("OGtf")("blink",function(t){return function(){return t(this,"blink","","")}})},"+rLv":function(t,e,n){var r=n("dyZX").document;t.exports=r&&r.documentElement},"+sk9":function(t,e,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("17x9"),a=n.n(o),u=n("uciX"),s=n("wd/R"),c=n.n(s),l=n("VCL8"),f=n("TSYQ"),h=n.n(f);function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m=function(t){function e(t){var n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,i=p(e).call(this,t),n=!i||"object"!=typeof i&&"function"!=typeof i?v(r):i,y(v(n),"onInputChange",function(t){var e=t.target.value;n.setState({str:e});var r=n.props,i=r.format,o=r.hourOptions,a=r.minuteOptions,u=r.secondOptions,s=r.disabledHours,l=r.disabledMinutes,f=r.disabledSeconds,h=r.onChange;if(e){var d=n.props.value,p=n.getProtoValue().clone(),v=c()(e,i,!0);if(!v.isValid())return void n.setState({invalid:!0});if(p.hour(v.hour()).minute(v.minute()).second(v.second()),o.indexOf(p.hour())<0||a.indexOf(p.minute())<0||u.indexOf(p.second())<0)return void n.setState({invalid:!0});var g=s(),y=l(p.hour()),m=f(p.hour(),p.minute());if(g&&g.indexOf(p.hour())>=0||y&&y.indexOf(p.minute())>=0||m&&m.indexOf(p.second())>=0)return void n.setState({invalid:!0});if(d){if(d.hour()!==p.hour()||d.minute()!==p.minute()||d.second()!==p.second()){var b=d.clone();b.hour(p.hour()),b.minute(p.minute()),b.second(p.second()),h(b)}}else d!==p&&h(p)}else h(null);n.setState({invalid:!1})}),y(v(n),"onKeyDown",function(t){var e=n.props,r=e.onEsc,i=e.onKeyDown;27===t.keyCode&&r(),i(t)});var o=t.value,a=t.format;return n.state={str:o&&o.format(a)||"",invalid:!1},n}var n,o,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(e,r["Component"]),n=e,(o=[{key:"componentDidMount",value:function(){var t=this;this.props.focusOnOpen&&(window.requestAnimationFrame||window.setTimeout)(function(){t.refInput.focus(),t.refInput.select()})}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.value,r=e.format;n!==t.value&&this.setState({str:n&&n.format(r)||"",invalid:!1})}},{key:"getProtoValue",value:function(){var t=this.props,e=t.value,n=t.defaultOpenValue;return e||n}},{key:"getInput",value:function(){var t=this,e=this.props,n=e.prefixCls,r=e.placeholder,o=e.inputReadOnly,a=this.state,u=a.invalid,s=a.str,c=u?"".concat(n,"-input-invalid"):"";return i.a.createElement("input",{className:h()("".concat(n,"-input"),c),ref:function(e){t.refInput=e},onKeyDown:this.onKeyDown,value:s,placeholder:r,onChange:this.onInputChange,readOnly:!!o})}},{key:"render",value:function(){var t=this.props.prefixCls;return i.a.createElement("div",{className:"".concat(t,"-input-wrap")},this.getInput())}}])&&d(n.prototype,o),a&&d(n,a),e}();y(m,"propTypes",{format:a.a.string,prefixCls:a.a.string,disabledDate:a.a.func,placeholder:a.a.string,clearText:a.a.string,value:a.a.object,inputReadOnly:a.a.bool,hourOptions:a.a.array,minuteOptions:a.a.array,secondOptions:a.a.array,disabledHours:a.a.func,disabledMinutes:a.a.func,disabledSeconds:a.a.func,onChange:a.a.func,onEsc:a.a.func,defaultOpenValue:a.a.object,currentSelectPanel:a.a.string,focusOnOpen:a.a.bool,onKeyDown:a.a.func,clearIcon:a.a.node}),y(m,"defaultProps",{inputReadOnly:!1});var b=m,x=n("i8i4"),w=n.n(x),_=n("xEkU"),S=n.n(_);function k(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function A(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var T=function(t){function e(){var t,n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return r=this,i=(t=E(e)).call.apply(t,[this].concat(a)),n=!i||"object"!=typeof i&&"function"!=typeof i?O(r):i,A(O(n),"state",{active:!1}),A(O(n),"onSelect",function(t){var e=n.props;(0,e.onSelect)(e.type,t)}),A(O(n),"handleMouseEnter",function(t){var e=n.props.onMouseEnter;n.setState({active:!0}),e(t)}),A(O(n),"handleMouseLeave",function(){n.setState({active:!1})}),A(O(n),"saveList",function(t){n.list=t}),n}var n,o,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(e,r["Component"]),n=e,(o=[{key:"componentDidMount",value:function(){this.scrollToSelected(0)}},{key:"componentDidUpdate",value:function(t){var e=this.props.selectedIndex;t.selectedIndex!==e&&this.scrollToSelected(120)}},{key:"getOptions",value:function(){var t=this,e=this.props,n=e.options,r=e.selectedIndex,o=e.prefixCls,a=e.onEsc;return n.map(function(e,n){var u,s=h()((A(u={},"".concat(o,"-select-option-selected"),r===n),A(u,"".concat(o,"-select-option-disabled"),e.disabled),u)),c=e.disabled?void 0:function(){t.onSelect(e.value)};return i.a.createElement("li",{role:"button",onClick:c,className:s,key:n,disabled:e.disabled,tabIndex:"0",onKeyDown:function(t){13===t.keyCode?c():27===t.keyCode&&a()}},e.value)})}},{key:"scrollToSelected",value:function(t){var e=this.props.selectedIndex,n=w.a.findDOMNode(this),r=w.a.findDOMNode(this.list);if(r){var i=e;i<0&&(i=0),function t(e,n,r){if(r<=0)S()(function(){e.scrollTop=n});else{var i=(n-e.scrollTop)/r*10;S()(function(){e.scrollTop+=i,e.scrollTop!==n&&t(e,n,r-10)})}}(n,r.children[i].offsetTop,t)}}},{key:"render",value:function(){var t=this.props,e=t.prefixCls,n=t.options,r=this.state.active;if(0===n.length)return null;var o=h()("".concat(e,"-select"),A({},"".concat(e,"-select-active"),r));return i.a.createElement("div",{className:o,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},i.a.createElement("ul",{ref:this.saveList},this.getOptions()))}}])&&k(n.prototype,o),a&&k(n,a),e}();A(T,"propTypes",{prefixCls:a.a.string,options:a.a.array,selectedIndex:a.a.number,type:a.a.string,onSelect:a.a.func,onMouseEnter:a.a.func,onEsc:a.a.func});var M=T;function P(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var F=function(t,e){var n="".concat(t);t<10&&(n="0".concat(t));var r=!1;return e&&e.indexOf(t)>=0&&(r=!0),{value:n,disabled:r}},R=function(t){function e(){var t,n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return r=this,i=(t=j(e)).call.apply(t,[this].concat(a)),n=!i||"object"!=typeof i&&"function"!=typeof i?D(r):i,N(D(n),"onItemChange",function(t,e){var r=n.props,i=r.onChange,o=r.defaultOpenValue,a=r.use12Hours,u=r.value,s=r.isAM,c=r.onAmPmChange,l=(u||o).clone();if("hour"===t)a?s?l.hour(+e%12):l.hour(+e%12+12):l.hour(+e);else if("minute"===t)l.minute(+e);else if("ampm"===t){var f=e.toUpperCase();a&&("PM"===f&&l.hour()<12&&l.hour(l.hour()%12+12),"AM"===f&&l.hour()>=12&&l.hour(l.hour()-12)),c(f)}else l.second(+e);i(l)}),N(D(n),"onEnterSelectPanel",function(t){(0,n.props.onCurrentSelectPanelChange)(t)}),n}var n,o,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I(t,e)}(e,r["Component"]),n=e,(o=[{key:"getHourSelect",value:function(t){var e=this,n=this.props,r=n.prefixCls,o=n.hourOptions,a=n.disabledHours,u=n.showHour,s=n.use12Hours,c=n.onEsc;if(!u)return null;var l,f,h=a();return s?(l=[12].concat(o.filter(function(t){return t<12&&t>0})),f=t%12||12):(l=o,f=t),i.a.createElement(M,{prefixCls:r,options:l.map(function(t){return F(t,h)}),selectedIndex:l.indexOf(f),type:"hour",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("hour")},onEsc:c})}},{key:"getMinuteSelect",value:function(t){var e=this,n=this.props,r=n.prefixCls,o=n.minuteOptions,a=n.disabledMinutes,u=n.defaultOpenValue,s=n.showMinute,c=n.value,l=n.onEsc;if(!s)return null;var f=a((c||u).hour());return i.a.createElement(M,{prefixCls:r,options:o.map(function(t){return F(t,f)}),selectedIndex:o.indexOf(t),type:"minute",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("minute")},onEsc:l})}},{key:"getSecondSelect",value:function(t){var e=this,n=this.props,r=n.prefixCls,o=n.secondOptions,a=n.disabledSeconds,u=n.showSecond,s=n.defaultOpenValue,c=n.value,l=n.onEsc;if(!u)return null;var f=c||s,h=a(f.hour(),f.minute());return i.a.createElement(M,{prefixCls:r,options:o.map(function(t){return F(t,h)}),selectedIndex:o.indexOf(t),type:"second",onSelect:this.onItemChange,onMouseEnter:function(){return e.onEnterSelectPanel("second")},onEsc:l})}},{key:"getAMPMSelect",value:function(){var t=this,e=this.props,n=e.prefixCls,r=e.use12Hours,o=e.format,a=e.isAM,u=e.onEsc;if(!r)return null;var s=["am","pm"].map(function(t){return o.match(/\sA/)?t.toUpperCase():t}).map(function(t){return{value:t}}),c=a?0:1;return i.a.createElement(M,{prefixCls:n,options:s,selectedIndex:c,type:"ampm",onSelect:this.onItemChange,onMouseEnter:function(){return t.onEnterSelectPanel("ampm")},onEsc:u})}},{key:"render",value:function(){var t=this.props,e=t.prefixCls,n=t.defaultOpenValue,r=t.value||n;return i.a.createElement("div",{className:"".concat(e,"-combobox")},this.getHourSelect(r.hour()),this.getMinuteSelect(r.minute()),this.getSecondSelect(r.second()),this.getAMPMSelect(r.hour()))}}])&&P(n.prototype,o),a&&P(n,a),e}();N(R,"propTypes",{format:a.a.string,defaultOpenValue:a.a.object,prefixCls:a.a.string,value:a.a.object,onChange:a.a.func,onAmPmChange:a.a.func,showHour:a.a.bool,showMinute:a.a.bool,showSecond:a.a.bool,hourOptions:a.a.array,minuteOptions:a.a.array,secondOptions:a.a.array,disabledHours:a.a.func,disabledMinutes:a.a.func,disabledSeconds:a.a.func,onCurrentSelectPanelChange:a.a.func,use12Hours:a.a.bool,onEsc:a.a.func,isAM:a.a.bool});var L=R;function B(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function V(t){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function U(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H(t,e){return(H=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function W(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function q(){}function G(t,e,n){for(var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=[],o=0;o<t;o+=r)(!e||e.indexOf(o)<0||!n)&&i.push(o);return i}var Y=function(t){function e(){var t,n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return r=this,i=(t=V(e)).call.apply(t,[this].concat(a)),n=!i||"object"!=typeof i&&"function"!=typeof i?U(r):i,W(U(n),"state",{}),W(U(n),"onChange",function(t){var e=n.props.onChange;n.setState({value:t}),e(t)}),W(U(n),"onAmPmChange",function(t){(0,n.props.onAmPmChange)(t)}),W(U(n),"onCurrentSelectPanelChange",function(t){n.setState({currentSelectPanel:t})}),W(U(n),"disabledHours",function(){var t=n.props,e=t.use12Hours,r=(0,t.disabledHours)();return e&&Array.isArray(r)&&(r=n.isAM()?r.filter(function(t){return t<12}).map(function(t){return 0===t?12:t}):r.map(function(t){return 12===t?12:t-12})),r}),n}var n,o,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&H(t,e)}(e,r["Component"]),n=e,a=[{key:"getDerivedStateFromProps",value:function(t,e){return"value"in t?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?B(n,!0).forEach(function(e){W(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):B(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{value:t.value}):null}}],(o=[{key:"close",value:function(){(0,this.props.onEsc)()}},{key:"isAM",value:function(){var t=this.props.defaultOpenValue,e=this.state.value||t;return e.hour()>=0&&e.hour()<12}},{key:"render",value:function(){var t=this.props,e=t.prefixCls,n=t.className,r=t.placeholder,o=t.disabledMinutes,a=t.disabledSeconds,u=t.hideDisabledOptions,s=t.showHour,l=t.showMinute,f=t.showSecond,d=t.format,p=t.defaultOpenValue,v=t.clearText,g=t.onEsc,y=t.addon,m=t.use12Hours,x=t.focusOnOpen,w=t.onKeyDown,_=t.hourStep,S=t.minuteStep,k=t.secondStep,E=t.inputReadOnly,O=t.clearIcon,C=this.state,A=C.value,T=C.currentSelectPanel,M=this.disabledHours(),P=o(A?A.hour():null),j=a(A?A.hour():null,A?A.minute():null),D=G(24,M,u,_),I=G(60,P,u,S),N=G(60,j,u,k),F=function(t,e,n,r){var i=e.slice().sort(function(e,n){return Math.abs(t.hour()-e)-Math.abs(t.hour()-n)})[0],o=n.slice().sort(function(e,n){return Math.abs(t.minute()-e)-Math.abs(t.minute()-n)})[0],a=r.slice().sort(function(e,n){return Math.abs(t.second()-e)-Math.abs(t.second()-n)})[0];return c()("".concat(i,":").concat(o,":").concat(a),"HH:mm:ss")}(p,D,I,N);return i.a.createElement("div",{className:h()(n,"".concat(e,"-inner"))},i.a.createElement(b,{clearText:v,prefixCls:e,defaultOpenValue:F,value:A,currentSelectPanel:T,onEsc:g,format:d,placeholder:r,hourOptions:D,minuteOptions:I,secondOptions:N,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onChange:this.onChange,focusOnOpen:x,onKeyDown:w,inputReadOnly:E,clearIcon:O}),i.a.createElement(L,{prefixCls:e,value:A,defaultOpenValue:F,format:d,onChange:this.onChange,onAmPmChange:this.onAmPmChange,showHour:s,showMinute:l,showSecond:f,hourOptions:D,minuteOptions:I,secondOptions:N,disabledHours:this.disabledHours,disabledMinutes:o,disabledSeconds:a,onCurrentSelectPanelChange:this.onCurrentSelectPanelChange,use12Hours:m,onEsc:g,isAM:this.isAM()}),y(this))}}])&&z(n.prototype,o),a&&z(n,a),e}();W(Y,"propTypes",{clearText:a.a.string,prefixCls:a.a.string,className:a.a.string,defaultOpenValue:a.a.object,value:a.a.object,placeholder:a.a.string,format:a.a.string,inputReadOnly:a.a.bool,disabledHours:a.a.func,disabledMinutes:a.a.func,disabledSeconds:a.a.func,hideDisabledOptions:a.a.bool,onChange:a.a.func,onAmPmChange:a.a.func,onEsc:a.a.func,showHour:a.a.bool,showMinute:a.a.bool,showSecond:a.a.bool,use12Hours:a.a.bool,hourStep:a.a.number,minuteStep:a.a.number,secondStep:a.a.number,addon:a.a.func,focusOnOpen:a.a.bool,onKeyDown:a.a.func,clearIcon:a.a.node}),W(Y,"defaultProps",{prefixCls:"rc-time-picker-panel",onChange:q,disabledHours:q,disabledMinutes:q,disabledSeconds:q,defaultOpenValue:c()(),use12Hours:!1,addon:q,onKeyDown:q,onAmPmChange:q,inputReadOnly:!1}),Object(l.polyfill)(Y);var X=Y,K={adjustX:1,adjustY:1},$=[0,0],Z={bottomLeft:{points:["tl","tl"],overflow:K,offset:[0,-3],targetOffset:$},bottomRight:{points:["tr","tr"],overflow:K,offset:[0,-3],targetOffset:$},topRight:{points:["br","br"],overflow:K,offset:[0,3],targetOffset:$},topLeft:{points:["bl","bl"],overflow:K,offset:[0,3],targetOffset:$}};function J(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Q(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function tt(t){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function et(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function rt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function it(){}function ot(t,e){this[t]=e}var at=function(t){function e(t){var n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,i=tt(e).call(this,t),n=!i||"object"!=typeof i&&"function"!=typeof i?et(r):i,rt(et(n),"onPanelChange",function(t){n.setValue(t)}),rt(et(n),"onAmPmChange",function(t){(0,n.props.onAmPmChange)(t)}),rt(et(n),"onClear",function(t){t.stopPropagation(),n.setValue(null),n.setOpen(!1)}),rt(et(n),"onVisibleChange",function(t){n.setOpen(t)}),rt(et(n),"onEsc",function(){n.setOpen(!1),n.focus()}),rt(et(n),"onKeyDown",function(t){40===t.keyCode&&n.setOpen(!0)}),n.saveInputRef=ot.bind(et(n),"picker"),n.savePanelRef=ot.bind(et(n),"panelInstance");var o=t.defaultOpen,a=t.defaultValue,u=t.open,s=void 0===u?o:u,c=t.value,l=void 0===c?a:c;return n.state={open:s,value:l},n}var n,o,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}(e,r["Component"]),n=e,a=[{key:"getDerivedStateFromProps",value:function(t,e){var n={};return"value"in t&&(n.value=t.value),void 0!==t.open&&(n.open=t.open),Object.keys(n).length>0?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?J(n,!0).forEach(function(e){rt(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):J(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{},n):null}}],(o=[{key:"setValue",value:function(t){var e=this.props.onChange;"value"in this.props||this.setState({value:t}),e(t)}},{key:"getFormat",value:function(){var t=this.props,e=t.format,n=t.showHour,r=t.showMinute,i=t.showSecond,o=t.use12Hours;return e||(o?[n?"h":"",r?"mm":"",i?"ss":""].filter(function(t){return!!t}).join(":").concat(" a"):[n?"HH":"",r?"mm":"",i?"ss":""].filter(function(t){return!!t}).join(":"))}},{key:"getPanelElement",value:function(){var t=this.props,e=t.prefixCls,n=t.placeholder,r=t.disabledHours,o=t.disabledMinutes,a=t.disabledSeconds,u=t.hideDisabledOptions,s=t.inputReadOnly,c=t.showHour,l=t.showMinute,f=t.showSecond,h=t.defaultOpenValue,d=t.clearText,p=t.addon,v=t.use12Hours,g=t.focusOnOpen,y=t.onKeyDown,m=t.hourStep,b=t.minuteStep,x=t.secondStep,w=t.clearIcon,_=this.state.value;return i.a.createElement(X,{clearText:d,prefixCls:"".concat(e,"-panel"),ref:this.savePanelRef,value:_,inputReadOnly:s,onChange:this.onPanelChange,onAmPmChange:this.onAmPmChange,defaultOpenValue:h,showHour:c,showMinute:l,showSecond:f,onEsc:this.onEsc,format:this.getFormat(),placeholder:n,disabledHours:r,disabledMinutes:o,disabledSeconds:a,hideDisabledOptions:u,use12Hours:v,hourStep:m,minuteStep:b,secondStep:x,addon:p,focusOnOpen:g,onKeyDown:y,clearIcon:w})}},{key:"getPopupClassName",value:function(){var t=this.props,e=t.showHour,n=t.showMinute,r=t.showSecond,i=t.use12Hours,o=t.prefixCls,a=t.popupClassName,u=0;return e&&(u+=1),n&&(u+=1),r&&(u+=1),i&&(u+=1),h()(a,rt({},"".concat(o,"-panel-narrow"),!(e&&n&&r||i)),"".concat(o,"-panel-column-").concat(u))}},{key:"setOpen",value:function(t){var e=this.props,n=e.onOpen,r=e.onClose;this.state.open!==t&&("open"in this.props||this.setState({open:t}),t?n({open:t}):r({open:t}))}},{key:"focus",value:function(){this.picker.focus()}},{key:"blur",value:function(){this.picker.blur()}},{key:"renderClearButton",value:function(){var t=this,e=this.state.value,n=this.props,r=n.prefixCls,o=n.allowEmpty,a=n.clearIcon,u=n.clearText,s=n.disabled;if(!o||!e||s)return null;if(i.a.isValidElement(a)){var c=(a.props||{}).onClick;return i.a.cloneElement(a,{onClick:function(){c&&c.apply(void 0,arguments),t.onClear.apply(t,arguments)}})}return i.a.createElement("a",{role:"button",className:"".concat(r,"-clear"),title:u,onClick:this.onClear,tabIndex:0},a||i.a.createElement("i",{className:"".concat(r,"-clear-icon")}))}},{key:"render",value:function(){var t=this.props,e=t.prefixCls,n=t.placeholder,r=t.placement,o=t.align,a=t.id,s=t.disabled,c=t.transitionName,l=t.style,f=t.className,d=t.getPopupContainer,p=t.name,v=t.autoComplete,g=t.onFocus,y=t.onBlur,m=t.autoFocus,b=t.inputReadOnly,x=t.inputIcon,w=t.popupStyle,_=this.state,S=_.open,k=_.value,E=this.getPopupClassName();return i.a.createElement(u.a,{prefixCls:"".concat(e,"-panel"),popupClassName:E,popupStyle:w,popup:this.getPanelElement(),popupAlign:o,builtinPlacements:Z,popupPlacement:r,action:s?[]:["click"],destroyPopupOnHide:!0,getPopupContainer:d,popupTransitionName:c,popupVisible:S,onPopupVisibleChange:this.onVisibleChange},i.a.createElement("span",{className:h()(e,f),style:l},i.a.createElement("input",{className:"".concat(e,"-input"),ref:this.saveInputRef,type:"text",placeholder:n,name:p,onKeyDown:this.onKeyDown,disabled:s,value:k&&k.format(this.getFormat())||"",autoComplete:v,onFocus:g,onBlur:y,autoFocus:m,onChange:it,readOnly:!!b,id:a}),x||i.a.createElement("span",{className:"".concat(e,"-icon")}),this.renderClearButton()))}}])&&Q(n.prototype,o),a&&Q(n,a),e}();rt(at,"propTypes",{prefixCls:a.a.string,clearText:a.a.string,value:a.a.object,defaultOpenValue:a.a.object,inputReadOnly:a.a.bool,disabled:a.a.bool,allowEmpty:a.a.bool,defaultValue:a.a.object,open:a.a.bool,defaultOpen:a.a.bool,align:a.a.object,placement:a.a.any,transitionName:a.a.string,getPopupContainer:a.a.func,placeholder:a.a.string,format:a.a.string,showHour:a.a.bool,showMinute:a.a.bool,showSecond:a.a.bool,style:a.a.object,className:a.a.string,popupClassName:a.a.string,popupStyle:a.a.object,disabledHours:a.a.func,disabledMinutes:a.a.func,disabledSeconds:a.a.func,hideDisabledOptions:a.a.bool,onChange:a.a.func,onAmPmChange:a.a.func,onOpen:a.a.func,onClose:a.a.func,onFocus:a.a.func,onBlur:a.a.func,addon:a.a.func,name:a.a.string,autoComplete:a.a.string,use12Hours:a.a.bool,hourStep:a.a.number,minuteStep:a.a.number,secondStep:a.a.number,focusOnOpen:a.a.bool,onKeyDown:a.a.func,autoFocus:a.a.bool,id:a.a.string,inputIcon:a.a.node,clearIcon:a.a.node}),rt(at,"defaultProps",{clearText:"clear",prefixCls:"rc-time-picker",defaultOpen:!1,inputReadOnly:!1,style:{},className:"",popupClassName:"",popupStyle:{},id:"",align:{},defaultOpenValue:c()(),allowEmpty:!0,showHour:!0,showMinute:!0,showSecond:!0,disabledHours:it,disabledMinutes:it,disabledSeconds:it,hideDisabledOptions:!1,placement:"bottomLeft",onChange:it,onAmPmChange:it,onOpen:it,onClose:it,onFocus:it,onBlur:it,addon:it,use12Hours:!1,focusOnOpen:!1,onKeyDown:it}),Object(l.polyfill)(at);var ut=at;n.d(e,"a",function(){return ut})},"+tJ4":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}}},"+umK":function(t,e,n){"use strict";function r(){}n.d(e,"a",function(){return r})},"+wdc":function(t,e,n){"use strict"; /** @license React v0.16.2 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r,i,o,a,u;if(Object.defineProperty(e,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,c=null,l=function(){if(null!==s)try{var t=e.unstable_now();s(!0,t),s=null}catch(t){throw setTimeout(l,0),t}},f=Date.now();e.unstable_now=function(){return Date.now()-f},r=function(t){null!==s?setTimeout(r,0,t):(s=t,setTimeout(l,0))},i=function(t,e){c=setTimeout(t,e)},o=function(){clearTimeout(c)},a=function(){return!1},u=e.unstable_forceFrameRate=function(){}}else{var h=window.performance,d=window.Date,p=window.setTimeout,v=window.clearTimeout,g=window.requestAnimationFrame,y=window.cancelAnimationFrame;if("undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),"object"==typeof h&&"function"==typeof h.now)e.unstable_now=function(){return h.now()};else{var m=d.now();e.unstable_now=function(){return d.now()-m}}var b=!1,x=null,w=-1,_=5,S=0;a=function(){return e.unstable_now()>=S},u=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):_=0<t?Math.floor(1e3/t):33.33};var k=new MessageChannel,E=k.port2;k.port1.onmessage=function(){if(null!==x){var t=e.unstable_now();S=t+_;try{x(!0,t)?E.postMessage(null):(b=!1,x=null)}catch(t){throw E.postMessage(null),t}}else b=!1},r=function(t){x=t,b||(b=!0,E.postMessage(null))},i=function(t,n){w=p(function(){t(e.unstable_now())},n)},o=function(){v(w),w=-1}}function O(t,e){var n=t.length;t.push(e);t:for(;;){var r=Math.floor((n-1)/2),i=t[r];if(!(void 0!==i&&0<T(i,e)))break t;t[r]=e,t[n]=i,n=r}}function C(t){return void 0===(t=t[0])?null:t}function A(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length;r<i;){var o=2*(r+1)-1,a=t[o],u=o+1,s=t[u];if(void 0!==a&&0>T(a,n))void 0!==s&&0>T(s,a)?(t[r]=s,t[u]=n,r=u):(t[r]=a,t[o]=n,r=o);else{if(!(void 0!==s&&0>T(s,n)))break t;t[r]=s,t[u]=n,r=u}}}return e}return null}function T(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var M=[],P=[],j=1,D=null,I=3,N=!1,F=!1,R=!1;function L(t){for(var e=C(P);null!==e;){if(null===e.callback)A(P);else{if(!(e.startTime<=t))break;A(P),e.sortIndex=e.expirationTime,O(M,e)}e=C(P)}}function B(t){if(R=!1,L(t),!F)if(null!==C(M))F=!0,r(z);else{var e=C(P);null!==e&&i(B,e.startTime-t)}}function z(t,n){F=!1,R&&(R=!1,o()),N=!0;var r=I;try{for(L(n),D=C(M);null!==D&&(!(D.expirationTime>n)||t&&!a());){var u=D.callback;if(null!==u){D.callback=null,I=D.priorityLevel;var s=u(D.expirationTime<=n);n=e.unstable_now(),"function"==typeof s?D.callback=s:D===C(M)&&A(M),L(n)}else A(M);D=C(M)}if(null!==D)var c=!0;else{var l=C(P);null!==l&&i(B,l.startTime-n),c=!1}return c}finally{D=null,I=r,N=!1}}function V(t){switch(t){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var U=u;e.unstable_ImmediatePriority=1,e.unstable_UserBlockingPriority=2,e.unstable_NormalPriority=3,e.unstable_IdlePriority=5,e.unstable_LowPriority=4,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=I;I=t;try{return e()}finally{I=n}},e.unstable_next=function(t){switch(I){case 1:case 2:case 3:var e=3;break;default:e=I}var n=I;I=e;try{return t()}finally{I=n}},e.unstable_scheduleCallback=function(t,n,a){var u=e.unstable_now();if("object"==typeof a&&null!==a){var s=a.delay;s="number"==typeof s&&0<s?u+s:u,a="number"==typeof a.timeout?a.timeout:V(t)}else a=V(t),s=u;return t={id:j++,callback:n,priorityLevel:t,startTime:s,expirationTime:a=s+a,sortIndex:-1},s>u?(t.sortIndex=s,O(P,t),null===C(M)&&t===C(P)&&(R?o():R=!0,i(B,s-u))):(t.sortIndex=a,O(M,t),F||N||(F=!0,r(z))),t},e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_wrapCallback=function(t){var e=I;return function(){var n=I;I=e;try{return t.apply(this,arguments)}finally{I=n}}},e.unstable_getCurrentPriorityLevel=function(){return I},e.unstable_shouldYield=function(){var t=e.unstable_now();L(t);var n=C(M);return n!==D&&null!==D&&null!==n&&null!==n.callback&&n.startTime<=t&&n.expirationTime<D.expirationTime||a()},e.unstable_requestPaint=U,e.unstable_continueExecution=function(){F||N||(F=!0,r(z))},e.unstable_pauseExecution=function(){},e.unstable_getFirstCallbackNode=function(){return C(M)},e.unstable_Profiling=null},"/21U":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("isby");function i(t){return!Object(r.a)(t)&&t-parseFloat(t)+1>=0}},"/8Fb":function(t,e,n){var r=n("XKFU"),i=n("UExd")(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},"/9aa":function(t,e,n){var r=n("NykK"),i=n("ExA7"),o="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||i(t)&&r(t)==o}},"/FUP":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReactCSS=e.loop=e.handleActive=e.handleHover=e.hover=void 0;var r=c(n("W3HW")),i=c(n("lreK")),o=c(n("KfSR")),a=c(n("VYtm")),u=c(n("XQvf")),s=c(n("B5Mt"));function c(t){return t&&t.__esModule?t:{default:t}}e.hover=a.default,e.handleHover=a.default,e.handleActive=u.default,e.loop=s.default;var l=e.ReactCSS=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];var u=(0,r.default)(n),s=(0,i.default)(t,u);return(0,o.default)(s)};e.default=l},"/KAi":function(t,e,n){var r=n("XKFU"),i=n("dyZX").isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},"/MKj":function(t,e,n){"use strict";n.r(e);var r=n("q1tI"),i=n.n(r),o=n("17x9"),a=n.n(o),u=i.a.createContext(null);var s=function(t){t()},c=function(){return s},l=null,f={notify:function(){}};var h=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=f,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){var t,e,n;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(t=c(),e=[],n=[],{clear:function(){n=l,e=l},notify:function(){var r=e=n;t(function(){for(var t=0;t<r.length;t++)r[t]()})},get:function(){return n},subscribe:function(t){var r=!0;return n===e&&(n=e.slice()),n.push(t),function(){r&&e!==l&&(r=!1,n===e&&(n=e.slice()),n.splice(n.indexOf(t),1))}}}))},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=f)},t}();function d(t){var e=t.store,n=t.context,o=t.children,a=Object(r.useMemo)(function(){var t=new h(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}},[e]),s=Object(r.useMemo)(function(){return e.getState()},[e]);Object(r.useEffect)(function(){var t=a.subscription;return t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}},[a,s]);var c=n||u;return i.a.createElement(c.Provider,{value:a},o)}d.propTypes={store:a.a.shape({subscribe:a.a.func.isRequired,dispatch:a.a.func.isRequired,getState:a.a.func.isRequired}),context:a.a.object,children:a.a.any};var p=d,v=n("wx14"),g=n("zLVn"),y=n("2mql"),m=n.n(y),b=n("QLaP"),x=n.n(b),w=n("TOwV"),_=[],S=[null,null];function k(t,e){var n=t[1];return[e.payload,n+1]}var E=function(){return[null,0]},O="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;function C(t,e){void 0===e&&(e={});var n=e,o=n.getDisplayName,a=void 0===o?function(t){return"ConnectAdvanced("+t+")"}:o,s=n.methodName,c=void 0===s?"connectAdvanced":s,l=n.renderCountProp,f=void 0===l?void 0:l,d=n.shouldHandleStateChanges,p=void 0===d||d,y=n.storeKey,b=void 0===y?"store":y,C=n.withRef,A=void 0!==C&&C,T=n.forwardRef,M=void 0!==T&&T,P=n.context,j=void 0===P?u:P,D=Object(g.a)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);x()(void 0===f,"renderCountProp is removed. render counting is built into the latest React Dev Tools profiling extension"),x()(!A,"withRef is removed. To access the wrapped instance, use a ref on the connected component");x()("store"===b,"storeKey has been removed and does not do anything. To use a custom Redux store for specific components, create a custom React context with React.createContext(), and pass the context object to React Redux's Provider and specific components like: <Provider context={MyContext}><ConnectedComponent context={MyContext} /></Provider>. You may also pass a {context : MyContext} option to connect");var I=j;return function(e){var n=e.displayName||e.name||"Component",o=a(n),u=Object(v.a)({},D,{getDisplayName:a,methodName:c,renderCountProp:f,shouldHandleStateChanges:p,storeKey:b,displayName:o,wrappedComponentName:n,WrappedComponent:e}),s=D.pure;var l=s?r.useMemo:function(t){return t()};function d(n){var a=Object(r.useMemo)(function(){var t=n.forwardedRef,e=Object(g.a)(n,["forwardedRef"]);return[n.context,t,e]},[n]),s=a[0],c=a[1],f=a[2],d=Object(r.useMemo)(function(){return s&&s.Consumer&&Object(w.isContextConsumer)(i.a.createElement(s.Consumer,null))?s:I},[s,I]),y=Object(r.useContext)(d),m=Boolean(n.store),b=Boolean(y)&&Boolean(y.store);x()(m||b,'Could not find "store" in the context of "'+o+'". Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to '+o+" in connect options.");var C=n.store||y.store,A=Object(r.useMemo)(function(){return function(e){return t(e.dispatch,u)}(C)},[C]),T=Object(r.useMemo)(function(){if(!p)return S;var t=new h(C,m?null:y.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]},[C,m,y]),M=T[0],P=T[1],j=Object(r.useMemo)(function(){return m?y:Object(v.a)({},y,{subscription:M})},[m,y,M]),D=Object(r.useReducer)(k,_,E),N=D[0][0],F=D[1];if(N&&N.error)throw N.error;var R=Object(r.useRef)(),L=Object(r.useRef)(f),B=Object(r.useRef)(),z=Object(r.useRef)(!1),V=l(function(){return B.current&&f===L.current?B.current:A(C.getState(),f)},[C,N,f]);O(function(){L.current=f,R.current=V,z.current=!1,B.current&&(B.current=null,P())}),O(function(){if(p){var t=!1,e=null,n=function(){if(!t){var n,r,i=C.getState();try{n=A(i,L.current)}catch(t){r=t,e=t}r||(e=null),n===R.current?z.current||P():(R.current=n,B.current=n,z.current=!0,F({type:"STORE_UPDATED",payload:{latestStoreState:i,error:r}}))}};M.onStateChange=n,M.trySubscribe(),n();return function(){if(t=!0,M.tryUnsubscribe(),M.onStateChange=null,e)throw e}}},[C,M,A]);var U=Object(r.useMemo)(function(){return i.a.createElement(e,Object(v.a)({},V,{ref:c}))},[c,e,V]);return Object(r.useMemo)(function(){return p?i.a.createElement(d.Provider,{value:j},U):U},[d,U,j])}var y=s?i.a.memo(d):d;if(y.WrappedComponent=e,y.displayName=o,M){var C=i.a.forwardRef(function(t,e){return i.a.createElement(y,Object(v.a)({},t,{forwardedRef:e}))});return C.displayName=o,C.WrappedComponent=e,m()(C,e)}return m()(y,e)}}var A=Object.prototype.hasOwnProperty;function T(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function M(t,e){if(T(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!A.call(e,n[i])||!T(t[n[i]],e[n[i]]))return!1;return!0}var P=n("ANjH");function j(t){return function(e,n){var r=t(e,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function D(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function I(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=D(t);var i=r(e,n);return"function"==typeof i&&(r.mapToProps=i,r.dependsOnOwnProps=D(i),i=r(e,n)),i},r}}var N=[function(t){return"function"==typeof t?I(t):void 0},function(t){return t?void 0:j(function(t){return{dispatch:t}})},function(t){return t&&"object"==typeof t?j(function(e){return Object(P.bindActionCreators)(t,e)}):void 0}];var F=[function(t){return"function"==typeof t?I(t):void 0},function(t){return t?void 0:j(function(){return{}})}];function R(t,e,n){return Object(v.a)({},n,{},t,{},e)}var L=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,i=n.pure,o=n.areMergedPropsEqual,a=!1;return function(e,n,u){var s=t(e,n,u);return a?i&&o(s,r)||(r=s):(a=!0,r=s),r}}}(t):void 0},function(t){return t?void 0:function(){return R}}];function B(t,e,n,r){return function(i,o){return n(t(i,o),e(r,o),o)}}function z(t,e,n,r,i){var o,a,u,s,c,l=i.areStatesEqual,f=i.areOwnPropsEqual,h=i.areStatePropsEqual,d=!1;function p(i,d){var p,v,g=!f(d,a),y=!l(i,o);return o=i,a=d,g&&y?(u=t(o,a),e.dependsOnOwnProps&&(s=e(r,a)),c=n(u,s,a)):g?(t.dependsOnOwnProps&&(u=t(o,a)),e.dependsOnOwnProps&&(s=e(r,a)),c=n(u,s,a)):y?(p=t(o,a),v=!h(p,u),u=p,v&&(c=n(u,s,a)),c):c}return function(i,l){return d?p(i,l):(u=t(o=i,a=l),s=e(r,a),c=n(u,s,a),d=!0,c)}}function V(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,i=e.initMergeProps,o=Object(g.a)(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(t,o),u=r(t,o),s=i(t,o);return(o.pure?z:B)(a,u,s,t,o)}function U(t,e,n){for(var r=e.length-1;r>=0;r--){var i=e[r](t);if(i)return i}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function H(t,e){return t===e}var W,q,G,Y,X,K,$,Z,J,Q,tt,et,nt=(G=(q=void 0===W?{}:W).connectHOC,Y=void 0===G?C:G,X=q.mapStateToPropsFactories,K=void 0===X?F:X,$=q.mapDispatchToPropsFactories,Z=void 0===$?N:$,J=q.mergePropsFactories,Q=void 0===J?L:J,tt=q.selectorFactory,et=void 0===tt?V:tt,function(t,e,n,r){void 0===r&&(r={});var i=r,o=i.pure,a=void 0===o||o,u=i.areStatesEqual,s=void 0===u?H:u,c=i.areOwnPropsEqual,l=void 0===c?M:c,f=i.areStatePropsEqual,h=void 0===f?M:f,d=i.areMergedPropsEqual,p=void 0===d?M:d,y=Object(g.a)(i,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),m=U(t,K,"mapStateToProps"),b=U(e,Z,"mapDispatchToProps"),x=U(n,Q,"mergeProps");return Y(et,Object(v.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:m,initMapDispatchToProps:b,initMergeProps:x,pure:a,areStatesEqual:s,areOwnPropsEqual:l,areStatePropsEqual:h,areMergedPropsEqual:p},y))});function rt(){var t=Object(r.useContext)(u);return x()(t,"could not find react-redux context value; please ensure the component is wrapped in a <Provider>"),t}function it(t){void 0===t&&(t=u);var e=t===u?rt:function(){return Object(r.useContext)(t)};return function(){return e().store}}var ot=it();function at(t){void 0===t&&(t=u);var e=t===u?ot:it(t);return function(){return e().dispatch}}var ut=at(),st="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,ct=function(t,e){return t===e};function lt(t){void 0===t&&(t=u);var e=t===u?rt:function(){return Object(r.useContext)(t)};return function(t,n){void 0===n&&(n=ct),x()(t,"You must pass a selector to useSelectors");var i=e();return function(t,e,n,i){var o,a=Object(r.useReducer)(function(t){return t+1},0)[1],u=Object(r.useMemo)(function(){return new h(n,i)},[n,i]),s=Object(r.useRef)(),c=Object(r.useRef)(),l=Object(r.useRef)();try{o=t!==c.current||s.current?t(n.getState()):l.current}catch(t){var f="An error occured while selecting the store state: "+t.message+".";throw s.current&&(f+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\nOriginal stack trace:"),new Error(f)}return st(function(){c.current=t,l.current=o,s.current=void 0}),st(function(){function t(){try{var t=c.current(n.getState());if(e(t,l.current))return;l.current=t}catch(t){s.current=t}a({})}return u.onStateChange=t,u.trySubscribe(),t(),function(){return u.tryUnsubscribe()}},[n,u]),o}(t,n,i.store,i.subscription)}}var ft,ht=lt(),dt=n("i8i4");n.d(e,"Provider",function(){return p}),n.d(e,"connectAdvanced",function(){return C}),n.d(e,"ReactReduxContext",function(){return u}),n.d(e,"connect",function(){return nt}),n.d(e,"batch",function(){return dt.unstable_batchedUpdates}),n.d(e,"useDispatch",function(){return ut}),n.d(e,"createDispatchHook",function(){return at}),n.d(e,"useSelector",function(){return ht}),n.d(e,"createSelectorHook",function(){return lt}),n.d(e,"useStore",function(){return ot}),n.d(e,"createStoreHook",function(){return it}),n.d(e,"shallowEqual",function(){return M}),ft=dt.unstable_batchedUpdates,s=ft},"/SS/":function(t,e,n){var r=n("XKFU");r(r.S,"Object",{setPrototypeOf:n("i5dc").set})},"/WYv":function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",function(){return r})},"/e88":function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"/tz4":function(t,e,n){"use strict";e.__esModule=!0;var r=o(n("q1tI")),i=o(n("acCH"));function o(t){return t&&t.__esModule?t:{default:t}}e.default=r.default.createContext||i.default,t.exports=e.default},"0/R4":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"0/uQ":function(t,e,n){"use strict";var r=n("6blF"),i=n("/WYv"),o=n("2ePl"),a=n("xTla");var u=n("En8+");var s=n("IUTb"),c=n("pugT"),l=n("S5XQ");var f=n("u67D");var h=n("JcRv");var d=n("Fxb1");function p(t,e){if(!e)return t instanceof r.a?t:new r.a(Object(d.a)(t));if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return e?new r.a(function(n){var r=new c.a;return r.add(e.schedule(function(){var i=t[a.a]();r.add(i.subscribe({next:function(t){r.add(e.schedule(function(){return n.next(t)}))},error:function(t){r.add(e.schedule(function(){return n.error(t)}))},complete:function(){r.add(e.schedule(function(){return n.complete()}))}}))})),r}):new r.a(Object(h.a)(t))}(t,e);if(Object(i.a)(t))return function(t,e){return e?new r.a(function(n){var r=new c.a;return r.add(e.schedule(function(){return t.then(function(t){r.add(e.schedule(function(){n.next(t),r.add(e.schedule(function(){return n.complete()}))}))},function(t){r.add(e.schedule(function(){return n.error(t)}))})})),r}):new r.a(Object(l.a)(t))}(t,e);if(Object(o.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[u.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return e?new r.a(function(n){var r,i=new c.a;return i.add(function(){r&&"function"==typeof r.return&&r.return()}),i.add(e.schedule(function(){r=t[u.a](),i.add(e.schedule(function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(t){return void n.error(t)}e?n.complete():(n.next(t),this.schedule())}}))})),i}):new r.a(Object(f.a)(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}n.d(e,"a",function(){return p})},"03A+":function(t,e,n){var r=n("JTzB"),i=n("ExA7"),o=Object.prototype,a=o.hasOwnProperty,u=o.propertyIsEnumerable,s=r(function(){return arguments}())?r:function(t){return i(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},"0Cz8":function(t,e,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc"),a=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var u=n.__data__;if(!i||u.length<a-1)return u.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(u)}return n.set(t,e),this.size=n.size,this}},"0E+W":function(t,e,n){n("elZq")("Array")},"0JQy":function(t,e){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+r+"|"+i+")"+"?",c="[\\ufe0e\\ufe0f]?"+s+("(?:\\u200d(?:"+[o,a,u].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*"),l="(?:"+[o+r+"?",r,a,u,n].join("|")+")",f=RegExp(i+"(?="+i+")|"+l+c,"g");t.exports=function(t){return t.match(f)||[]}},"0LDn":function(t,e,n){"use strict";n("OGtf")("italics",function(t){return function(){return t(this,"i","","")}})},"0P37":function(t,e){ /*! * search-query-parser.js * Copyright(c) 2014-2019 * MIT Licensed */ e.parse=function(t,e){if(e?e.offsets=void 0===e.offsets||e.offsets:e={offsets:!0},t||(t=""),-1!==t.indexOf(":")||e.tokenize){if(e.keywords||e.ranges||e.tokenize){var n={text:[]};e.offsets&&(n.offsets=[]);for(var r,i={},o=[],a=/(\S+:'(?:[^'\\]|\\.)*')|(\S+:"(?:[^"\\]|\\.)*")|(-?"(?:[^"\\]|\\.)*")|(-?'(?:[^'\\]|\\.)*')|\S+|\S+:\S+/g;null!==(r=a.exec(t));){var u,s=(u=r[0]).indexOf(":");if(-1!==s){u.split(":");var c=u.slice(0,s),l=u.slice(s+1);l=((l=l.replace(/^\"|\"$|^\'|\'$/g,""))+"").replace(/\\(.?)/g,function(t,e){switch(e){case"\\":return"\\";case"0":return"\0";case"":return"";default:return e}}),o.push({keyword:c,value:l,offsetStart:r.index,offsetEnd:r.index+u.length})}else{var f=!1;"-"===u[0]&&(f=!0,u=u.slice(1)),u=((u=u.replace(/^\"|\"$|^\'|\'$/g,""))+"").replace(/\\(.?)/g,function(t,e){switch(e){case"\\":return"\\";case"0":return"\0";case"":return"";default:return e}}),f?i.text?i.text instanceof Array?i.text.push(u):(i.text=[i.text],i.text.push(u)):i.text=u:o.push({text:u,offsetStart:r.index,offsetEnd:r.index+u.length})}}for(o.reverse();u=o.pop();)if(u.text)n.text.push(u.text),e.offsets&&n.offsets.push(u);else{c=u.keyword;e.keywords=e.keywords||[];var h=!1,d=!1;if(/^-/.test(c)){if("-"===c[0]){var p=c.slice(1);(h=!(-1===e.keywords.indexOf(p)))&&(c=p,d=!0)}}else h=!(-1===e.keywords.indexOf(c));e.ranges=e.ranges||[];var v=!(-1===e.ranges.indexOf(c));if(h){if(e.offsets&&n.offsets.push({keyword:c,value:u.value,offsetStart:d?u.offsetStart+1:u.offsetStart,offsetEnd:u.offsetEnd}),(y=u.value).length){var g=y.split(",");d?i[c]?i[c]instanceof Array?g.length>1?i[c]=i[c].concat(g):i[c].push(y):(i[c]=[i[c]],i[c].push(y)):g.length>1?i[c]=g:e.alwaysArray?i[c]=[y]:i[c]=y:n[c]?n[c]instanceof Array?g.length>1?n[c]=n[c].concat(g):n[c].push(y):(n[c]=[n[c]],n[c].push(y)):g.length>1?n[c]=g:e.alwaysArray?n[c]=[y]:n[c]=y}}else if(v){e.offsets&&n.offsets.push(u);var y,m=(y=u.value).split("-");n[c]={},2===m.length?(n[c].from=m[0],n[c].to=m[1]):!m.length%2||(n[c].from=y)}else{var b=u.keyword+":"+u.value;n.text.push(b),e.offsets&&n.offsets.push({text:b,offsetStart:u.offsetStart,offsetEnd:u.offsetEnd})}}return n.text.length?e.tokenize||(n.text=n.text.join(" ").trim()):delete n.text,n.exclude=i,n}return t}return t}},"0YDr":function(t,e,n){var r=n("7Paf"),i=n("zZ0H");t.exports=function(t){return t&&t.length?r(t,i):0}},"0YWM":function(t,e,n){var r=n("EemH"),i=n("OP3Y"),o=n("aagx"),a=n("XKFU"),u=n("0/R4"),s=n("y3w9");a(a.S,"Reflect",{get:function t(e,n){var a,c,l=arguments.length<3?e:arguments[2];return s(e)===l?e[n]:(a=r.f(e,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:u(c=i(e))?t(c,n,l):void 0}})},"0ZTe":function(t,e,n){var r=n("wy8a"),i=n("quyA"),o=n("Em2t"),a=n("dt0z");t.exports=function(t){return function(e){e=a(e);var n=i(e)?o(e):void 0,u=n?n[0]:e.charAt(0),s=n?r(n,1).join(""):e.slice(1);return u[t]()+s}}},"0aAt":function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return ft}),n.d(e,"b",function(){return _t}),n.d(e,"c",function(){return H}),n.d(e,"d",function(){return rt}),n.d(e,"e",function(){return pe}),n.d(e,"f",function(){return ot}),n.d(e,"g",function(){return me}),n.d(e,"h",function(){return q}),n.d(e,"i",function(){return ct}),n.d(e,"j",function(){return z}),n.d(e,"k",function(){return Q}),n.d(e,"l",function(){return K}),n.d(e,"m",function(){return st}),n.d(e,"n",function(){return dt});var r=n("JPcv"),i=n("+0iv"),o=n.n(i),a=n("LUQC"),u=n("9R94"),s=n("NOtv"),c=n.n(s),l=n("5UaS"),f=n("JZM8"),h=n.n(f),d=n("Puqe"),p=n.n(d),v=n("6fqK"),g=n.n(v),y=void 0,m=void 0;function b(){y=0,m=function(){return""+y++}}b();var x={create:function(t){if(null==t)return m();if("string"==typeof t)return t;throw new Error("Keys must be strings, but you passed: "+t)},setGenerator:function(t){m=t},resetGenerator:b},w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),k=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},O=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},C=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},A=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},T=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),M=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)};function P(t,e){for(var n=B(t,e),r=0;r<n;r++){var i=t.get(r),o=e.get(r);if(i<o)return-1;if(i>o)return 1}return t.size===e.size?0:null}function j(t){if(null==t)return null;if(r.List.isList(t))return t;if(Array.isArray(t))return Object(r.List)(t);throw new Error("Paths can only be created from arrays or lists, but you passed: "+t)}function D(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:B(t,e);return[t.slice(0,n),e.slice(0,n)]}function I(t){return N(t,0-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.size-1)}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.size-1,r=t.get(n)+e;return t.set(n,r)}function F(t,e){var n=D(t,e),r=T(n,2),i=r[0],o=r[1];return t.size<e.size&&0===P(i,o)}function R(t,e){return t.equals(e)}function L(t,e){var n=t.size-1,r=D(t,e,n),i=T(r,2),o=i[0],a=i[1],u=t.get(n),s=e.get(n);return R(o,a)&&u<s}function B(t,e){return Math.min(t.size,e.size)}var z={compare:P,create:j,crop:D,decrement:I,getAncestors:function(t){return Object(r.List)().withMutations(function(e){for(var n=0;n<t.size;n++)e.push(t.slice(0,n))})},increment:N,isAbove:F,isAfter:function(t,e){var n=D(t,e),r=T(n,2);return 1===P(r[0],r[1])},isBefore:function(t,e){var n=D(t,e),r=T(n,2);return-1===P(r[0],r[1])},isEqual:R,isOlder:function(t,e){var n=t.size-1,r=D(t,e,n),i=T(r,2),o=i[0],a=i[1],u=t.get(n),s=e.get(n);return R(o,a)&&u>s},isPath:function(t){return(r.List.isList(t)||Array.isArray(t))&&t.every(function(t){return"number"==typeof t})},isSibling:function(t,e){if(t.size!==e.size)return!1;var n=t.butLast(),r=e.butLast();return n.equals(r)},isYounger:L,lift:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t.slice(0,-1*e)},drop:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t.slice(e)},max:function(t,e){return Math.max(t.size,e.size)},min:B,relate:function(t,e){for(var n=[],r=0;r<t.size&&r<e.size;r++){var i=t.get(r);if(i!==e.get(r))break;n.push(i)}return j(n)},transform:function(t,e){var n=e.type,i=e.position,o=e.path;if("add_mark"===n||"insert_text"===n||"remove_mark"===n||"remove_text"===n||"set_mark"===n||"set_node"===n||"set_selection"===n||"set_value"===n||"add_annotation"===n||"remove_annotation"===n||"set_annotation"===n||0===t.size)return Object(r.List)([t]);var a=o.size-1,u=R(o,t),s=L(o,t),c=F(o,t);if("insert_node"===n&&(u||s||c)&&(t=N(t,1,a)),"remove_node"===n&&(s?t=I(t,1,a):(u||c)&&(t=[])),"merge_node"===n&&(u||s?t=I(t,1,a):c&&(t=N(t=I(t,1,a),i,a+1))),"split_node"===n&&(u?t=[t,N(t)]:s?t=N(t,1,a):c&&t.get(a+1)>=i&&(t=I(t=N(t,1,a),i,a+1))),"move_node"===n){var l=e.newPath;if(R(o,l))return Object(r.List)([t]);c||u?t=L(o,l)&&o.size<l.size?I(l,1,B(l,o)-1).concat(t.slice(o.size)):l.concat(t.slice(o.size)):(s&&(t=I(t,1,a)),(L(l,t)||R(l,t)||F(l,t))&&(t=N(t,1,l.size-1)))}var f=Array.isArray(t)?t:[t];return Object(r.List)(f)}},V={key:void 0,offset:void 0,path:void 0},U=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"isAfterPoint",value:function(t){return!this.isUnset&&(this.key===t.key&&this.offset>t.offset||1===z.compare(this.path,t.path))}},{key:"isAfterRange",value:function(t){return!this.isUnset&&this.isAfterPoint(t.end)}},{key:"isAtEndOfRange",value:function(t){return!this.isUnset&&this.equals(t.end)}},{key:"isAtStartOfRange",value:function(t){return!this.isUnset&&this.equals(t.start)}},{key:"isBeforePoint",value:function(t){return!this.isUnset&&(this.key===t.key&&this.offset<t.offset||-1===z.compare(this.path,t.path))}},{key:"isBeforeRange",value:function(t){return!this.isUnset&&this.isBeforePoint(t.start)}},{key:"isInRange",value:function(t){return!this.isUnset&&(this.equals(t.start)||this.equals(t.end)||this.isAfterPoint(t.start)&&this.isBeforePoint(t.end))}},{key:"isAtEndOfNode",value:function(t){if(this.isUnset)return!1;var e=t.getLastText();return this.key===e.key&&this.offset===e.text.length}},{key:"isAtStartOfNode",value:function(t){if(this.isUnset)return!1;if(0!==this.offset)return!1;var e=t.getFirstText();return this.key===e.key}},{key:"isInNode",value:function(t){return!this.isUnset&&("text"===t.object&&t.key===this.key||!!t.hasNode(this.key))}},{key:"moveBackward",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return 0===t?this:t<0?this.moveForward(-t):this.setOffset(this.offset-t)}},{key:"moveForward",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return 0===t?this:t<0?this.moveBackward(-t):this.setOffset(this.offset+t)}},{key:"moveTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.key;return"number"==typeof t?(e=t,t=this.path):"string"==typeof t?t=(n=t)===this.key?this.path:null:n=t.equals(this.path)?this.key:null,this.merge({key:n,path:t,offset:e})}},{key:"moveToStartOfNode",value:function(t){var e=t.getFirstText();return this.moveTo(e.key,0)}},{key:"moveToEndOfNode",value:function(t){var e=t.getLastText();return this.moveTo(e.key,e.text.length)}},{key:"normalize",value:function(t){if(null==this.key&&null==this.path)return this.setOffset(null);var n=this.key,r=this.offset,i=this.path,o=i&&t.getNode(i);if(!o&&(o=t.getNode(n)))return this.merge({path:t.getPath(n)});if(!o){Object(a.a)(!1,"A point's `path` or `key` invalid and was reset!");var u=t.getFirstText();return u?this.merge({key:u.key,offset:0,path:t.getPath(u.key)}):e.create()}if("text"!==o.object){Object(a.a)(!1,"A point should not reference a non-text node!");var s=o.getTextAtOffset(r),c=o.getOffset(s.key);return this.merge({offset:r-c,key:s.key,path:t.getPath(s.key)})}o&&i&&n&&n!==o.key&&Object(a.a)(!1,"A point's `key` did not match its `path`!");var l=this.merge({key:o.key,path:null==i?t.getPath(o.key):i,offset:null==r?0:Math.min(r,o.text.length)});if(l.offset===o.text.length){var f=t.getClosestBlock(l.path).getNextText();f&&(l=l.merge({key:f.key,path:t.getPath(f.key),offset:0}))}return l}},{key:"setKey",value:function(t){return null!=t&&(t=x.create(t)),this.set("key",t)}},{key:"setOffset",value:function(t){return this.set("offset",t)}},{key:"setPath",value:function(t){return null!=t&&(t=z.create(t)),this.set("path",t)}},{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={object:this.object,key:this.key,offset:this.offset,path:this.path&&this.path.toArray()};return t.preserveKeys||delete e.key,e}},{key:"unset",value:function(){return this.merge({key:null,offset:null,path:null})}},{key:"isSet",get:function(){return null!=this.key&&null!=this.offset&&null!=this.path}},{key:"isUnset",get:function(){return!this.isSet}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isPoint(t))return t;if(o()(t))return e.fromJSON(t);throw new Error("`Point.create` only accepts objects or points, but you passed it: "+t)}},{key:"createProperties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isPoint(t))return{key:t.key,offset:t.offset,path:t.path};if(o()(t)){var n={};return"key"in t&&(n.key=t.key),"offset"in t&&(n.offset=t.offset),"path"in t&&(n.path=z.create(t.path)),"path"in t&&!("key"in t)&&(n.key=null),"key"in t&&!("path"in t)&&(n.path=null),n}throw new Error("`Point.createProperties` only accepts objects or points, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.key,r=void 0===n?null:n,i=t.offset,o=void 0===i?null:i,a=t.path,u=void 0===a?null:a;return new e({key:r,offset:o,path:z.create(u)})}}]),e}(Object(r.Record)(V)),H=function(){function t(){_(this,t)}return S(t,null,[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r.Map.isMap(e))return e;if(o()(e))return t.fromJSON(e);throw new Error("`Data.create` only accepts objects or maps, but you passed it: "+e)}},{key:"fromJSON",value:function(t){return new r.Map(t)}}]),t}();H.fromJS=H.fromJSON;var W={data:void 0,type:void 0},q=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"toJSON",value:function(){return{object:this.object,type:this.type,data:this.data.toJSON()}}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isMark(t))return t;if("string"==typeof t&&(t={type:t}),o()(t))return e.fromJSON(t);throw new Error("`Mark.create` only accepts objects, strings or marks, but you passed it: "+t)}},{key:"createSet",value:function(t){if(r.Set.isSet(t)||Array.isArray(t))return new r.Set(t.map(e.create));if(null==t)return Object(r.Set)();throw new Error("`Mark.createSet` only accepts sets, arrays or null, but you passed it: "+t)}},{key:"createProperties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isMark(t))return{data:t.data,type:t.type};if("string"==typeof t)return{type:t};if(o()(t)){var n={};return"type"in t&&(n.type=t.type),"data"in t&&(n.data=H.create(t.data)),n}throw new Error("`Mark.createProperties` only accepts objects, strings or marks, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.data,i=void 0===n?{}:n,o=t.type;if("string"!=typeof o)throw new Error("`Mark.fromJS` requires a `type` string.");return new e({type:o,data:new r.Map(i)})}},{key:"isMarkSet",value:function(t){return r.Set.isSet(t)&&t.every(function(t){return e.isMark(t)})}}]),e}(Object(r.Record)(W)),G={type:void 0,data:void 0,anchor:void 0,focus:void 0},Y=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"setProperties",value:function(t){return t=e.createProperties(t),this.merge(t)}},{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{object:this.object,type:this.type,data:this.data.toJSON(),anchor:this.anchor.toJSON(t),focus:this.focus.toJSON(t)}}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isDecoration(t))return t;if(Q.isRange(t))return e.fromJSON(Q.createProperties(t));if(o()(t))return e.fromJSON(t);throw new Error("`Decoration.create` only accepts objects or decorations, but you passed it: "+t)}},{key:"createList",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(t)||Array.isArray(t))return new r.List(t.map(e.create));throw new Error("`Decoration.createList` only accepts arrays or lists, but you passed it: "+t)}},{key:"createProperties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isDecoration(t))return{type:t.type,data:t.data,anchor:U.createProperties(t.anchor),focus:U.createProperties(t.focus),mark:q.create(t.mark)};if(o()(t)){var n={};return"type"in t&&(n.type=t.type),"data"in t&&(n.data=H.create(t.data)),"anchor"in t&&(n.anchor=U.create(t.anchor)),"focus"in t&&(n.focus=U.create(t.focus)),n}throw new Error("`Decoration.createProperties` only accepts objects or decorations, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.anchor,r=t.focus,i=t.type,o=t.data;if(t.mark&&!i&&(Object(a.a)(!1,"As of slate@0.47 the `decoration.mark` property has been changed to `decoration.type` and `decoration.data` directly."),i=t.mark.type,o=t.mark.data),!i)throw new Error("Decorations must be created with a `type`, but you passed: "+JSON.stringify(t));return new e({type:i,data:H.create(o||{}),anchor:U.fromJSON(n||{}),focus:U.fromJSON(r||{})})}}]),e}(Object(r.Record)(G)),X={anchor:void 0,focus:void 0,isFocused:void 0,marks:void 0},K=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"setIsFocused",value:function(t){return this.set("isFocused",t)}},{key:"setMarks",value:function(t){return this.set("marks",t)}},{key:"setProperties",value:function(t){var n=t=e.createProperties(t),r=n.anchor,i=n.focus,o=C(n,["anchor","focus"]);return r&&(o.anchor=U.create(r)),i&&(o.focus=U.create(i)),this.merge(o)}},{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{object:this.object,anchor:this.anchor.toJSON(t),focus:this.focus.toJSON(t),isFocused:this.isFocused,marks:null==this.marks?null:this.marks.toArray().map(function(t){return t.toJSON()})}}},{key:"isBlurred",get:function(){return!this.isFocused}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isSelection(t))return t;if(Q.isRange(t))return e.fromJSON(Q.createProperties(t));if(o()(t))return e.fromJSON(t);throw new Error("`Selection.create` only accepts objects, ranges or selections, but you passed it: "+t)}},{key:"createProperties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isSelection(t))return{anchor:U.createProperties(t.anchor),focus:U.createProperties(t.focus),isFocused:t.isFocused,marks:t.marks};if(Q.isRange(t))return{anchor:U.createProperties(t.anchor),focus:U.createProperties(t.focus)};if(o()(t)){var n={};return"anchor"in t&&(n.anchor=U.create(t.anchor)),"focus"in t&&(n.focus=U.create(t.focus)),"isFocused"in t&&(n.isFocused=t.isFocused),"marks"in t&&(n.marks=null==t.marks?null:q.createSet(t.marks)),n}throw new Error("`Selection.createProperties` only accepts objects, ranges or selections, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.anchor,i=t.focus,o=t.isFocused,a=void 0!==o&&o,u=t.marks,s=void 0===u?null:u;return new e({anchor:U.fromJSON(n||{}),focus:U.fromJSON(i||{}),isFocused:a,marks:null==s?null:new r.Set(s.map(q.fromJSON))})}}]),e}(Object(r.Record)(X)),$={annotation:"@@__SLATE_ANNOTATION__@@",block:"@@__SLATE_BLOCK__@@",change:"@@__SLATE_CHANGE__@@",decoration:"@@__SLATE_DECORATION__@@",document:"@@__SLATE_DOCUMENT__@@",editor:"@@__SLATE_EDITOR__@@",inline:"@@__SLATE_INLINE__@@",leaf:"@@__SLATE_LEAF__@@",mark:"@@__SLATE_MARK__@@",operation:"@@__SLATE_OPERATION__@@",point:"@@__SLATE_POINT__@@",range:"@@__SLATE_RANGE__@@",selection:"@@__SLATE_SELECTION__@@",text:"@@__SLATE_TEXT__@@",value:"@@__SLATE_VALUE__@@"};function Z(t,e){return!(!e||!e[$[t]])}var J={anchor:void 0,focus:void 0},Q=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{object:this.object,anchor:this.anchor.toJSON(t),focus:this.focus.toJSON(t)}}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isRange(t))return"range"===t.object?t:e.fromJSON(e.createProperties(t));if(o()(t))return e.fromJSON(t);throw new Error("`Range.create` only accepts objects or ranges, but you passed it: "+t)}},{key:"createList",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(t)||Array.isArray(t))return new r.List(t.map(e.create));throw new Error("`Range.createList` only accepts arrays or lists, but you passed it: "+t)}},{key:"createProperties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isRange(t))return{anchor:U.createProperties(t.anchor),focus:U.createProperties(t.focus)};if(o()(t)){var n={};return"anchor"in t&&(n.anchor=U.create(t.anchor)),"focus"in t&&(n.focus=U.create(t.focus)),n}throw new Error("`Range.createProperties` only accepts objects, annotations, decorations, ranges or selections, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.anchor,r=t.focus;return new e({anchor:U.fromJSON(n||{}),focus:U.fromJSON(r||{})})}},{key:"isRange",value:function(t){return Z("range",t)||Y.isDecoration(t)||K.isSelection(t)}}]),e}(Object(r.Record)(J)),tt={key:void 0,type:void 0,data:void 0,anchor:void 0,focus:void 0},et=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"setProperties",value:function(t){return t=e.createProperties(t),this.merge(t)}},{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{object:this.object,key:this.key,type:this.type,data:this.data.toJSON(),anchor:this.anchor.toJSON(t),focus:this.focus.toJSON(t)}}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isAnnotation(t))return t;if(Q.isRange(t))return e.fromJSON(Q.createProperties(t));if(o()(t))return e.fromJSON(t);throw new Error("`Annotation.create` only accepts objects or annotations, but you passed it: "+t)}},{key:"createMap",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.Map.isMap(t))return t;if(o()(t)){var n={};for(var i in t){var a=t[i],u=e.create(a);n[i]=u}return Object(r.Map)(n)}throw new Error("`Annotation.createMap` only accepts arrays or lists, but you passed it: "+t)}},{key:"createProperties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isAnnotation(t))return{key:t.key,type:t.type,data:t.data,anchor:U.createProperties(t.anchor),focus:U.createProperties(t.focus)};if(o()(t)){var n={};return"key"in t&&(n.key=t.key),"type"in t&&(n.type=t.type),"data"in t&&(n.data=H.create(t.data)),"anchor"in t&&(n.anchor=U.create(t.anchor)),"focus"in t&&(n.focus=U.create(t.focus)),n}throw new Error("`Annotation.createProperties` only accepts objects or annotations, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.key,r=t.type,i=t.data,o=t.anchor,a=t.focus;if(!n)throw new Error("Annotations must be created with a `key`, but you passed: "+JSON.stringify(t));if(!r)throw new Error("Annotations must be created with a `type`, but you passed: "+JSON.stringify(t));return new e({key:n,type:r,data:H.create(i||{}),anchor:U.fromJSON(o||{}),focus:U.fromJSON(a||{})})}}]),e}(Object(r.Record)(tt)),nt={data:void 0,key:void 0,nodes:void 0},rt=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={object:this.object,data:this.data.toJSON(),nodes:this.nodes.toArray().map(function(e){return e.toJSON(t)})};return t.preserveKeys&&(e.key=this.key),e}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isDocument(t))return t;if((r.List.isList(t)||Array.isArray(t))&&(t={nodes:t}),o()(t))return e.fromJSON(t);throw new Error("`Document.create` only accepts objects, arrays, lists or documents, but you passed it: "+t)}},{key:"fromJSON",value:function(t){if(e.isDocument(t))return t;var n=t.data,i=void 0===n?{}:n,o=t.key,a=void 0===o?x.create():o,u=t.nodes,s=void 0===u?[]:u;return new e({key:a,data:new r.Map(i),nodes:ct.createList(s)})}}]),e}(Object(r.Record)(nt)),it={data:void 0,key:void 0,nodes:void 0,type:void 0},ot=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={object:this.object,type:this.type,data:this.data.toJSON(),nodes:this.nodes.toArray().map(function(e){return e.toJSON(t)})};return t.preserveKeys&&(e.key=this.key),e}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isInline(t))return t;if("string"==typeof t&&(t={type:t}),o()(t))return e.fromJSON(t);throw new Error("`Inline.create` only accepts objects, strings or inlines, but you passed it: "+t)}},{key:"createList",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(t)||Array.isArray(t))return new r.List(t.map(e.create));throw new Error("`Inline.createList` only accepts arrays or lists, but you passed it: "+t)}},{key:"fromJSON",value:function(t){if(e.isInline(t))return t;var n=t.data,i=void 0===n?{}:n,o=t.key,a=void 0===o?x.create():o,u=t.nodes,s=void 0===u?[]:u,c=t.type;if("string"!=typeof c)throw new Error("`Inline.fromJS` requires a `type` string.");return new e({key:a,type:c,data:new r.Map(i),nodes:ct.createList(s)})}},{key:"isInlineList",value:function(t){return r.List.isList(t)&&t.every(function(t){return e.isInline(t)})}}]),e}(Object(r.Record)(it)),at={key:void 0,marks:void 0,text:void 0},ut=Object(r.Record)({text:void 0,marks:void 0,annotations:void 0,decorations:void 0}),st=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"addMark",value:function(t){t=q.create(t);var e=this.marks.add(t);return this.set("marks",e)}},{key:"addMarks",value:function(t){return t=q.createSet(t),this.set("marks",this.marks.union(t))}},{key:"getLeaves",value:function(t,e){var n=[{text:this.text,marks:this.marks,annotations:[],decorations:[]}],i=function(t,e){return[{text:t.text.slice(0,e),marks:t.marks,annotations:[].concat(M(t.annotations)),decorations:[].concat(M(t.decorations))},{text:t.text.slice(e),marks:t.marks,annotations:[].concat(M(t.annotations)),decorations:[].concat(M(t.decorations))}]},o=function(r){var o="annotations"===r?t.values():e,a=!0,u=!1,s=void 0;try{for(var c,l=o[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,h=f.start,d=f.end,p=[],v=0,g=!0,y=!1,m=void 0;try{for(var b,x=n[Symbol.iterator]();!(g=(b=x.next()).done);g=!0){var w=b.value,_=w.text.length,S=v;if(v+=_,h.offset<=S&&d.offset>=S+_)w[r].push(f),p.push(w);else if(h.offset>S+_||d.offset<S||d.offset===S&&0!==S)p.push(w);else{var k=w,E=void 0,O=void 0;if(d.offset<S+_){var C=i(k,d.offset-S),A=T(C,2);k=A[0],O=A[1]}if(h.offset>S){var M=i(k,h.offset-S),P=T(M,2);E=P[0],k=P[1]}k[r].push(f),E&&p.push(E),p.push(k),O&&p.push(O)}}}catch(t){y=!0,m=t}finally{try{!g&&x.return&&x.return()}finally{if(y)throw m}}n=p}}catch(t){u=!0,s=t}finally{try{!a&&l.return&&l.return()}finally{if(u)throw s}}};return o("annotations"),o("decorations"),n=n.map(function(t){return new ut(E({},t,{annotations:Object(r.List)(t.annotations),decorations:Object(r.List)(t.decorations)}))}),Object(r.List)(n)}},{key:"insertText",value:function(t,e){var n=this.text,r=n.slice(0,t)+e+n.slice(t);return this.set("text",r)}},{key:"removeMark",value:function(t){t=q.create(t);var e=this.marks.remove(t);return this.set("marks",e)}},{key:"removeText",value:function(t,e){var n=this.text,r=n.slice(0,t)+n.slice(t+e);return this.set("text",r)}},{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={object:this.object,text:this.text,marks:this.marks.toArray().map(function(t){return t.toJSON()})};return t.preserveKeys&&(e.key=this.key),e}},{key:"setMark",value:function(t,e){var n=this.marks,r=q.create(t),i=r.merge(e),o=n.remove(r).add(i);return this.set("marks",o)}},{key:"splitText",value:function(t){var e=this.text;return[this.set("text",e.slice(0,t)),this.set("text",e.slice(t)).regenerateKey()]}},{key:"mergeText",value:function(t){var e=this.text+t.text;return this.set("text",e)}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(e.isText(t))return t;if("string"==typeof t&&(t={text:t}),o()(t))return e.fromJSON(t);throw new Error("`Text.create` only accepts objects, arrays, strings or texts, but you passed it: "+t)}},{key:"createList",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(t)||Array.isArray(t))return new r.List(t.map(e.create));throw new Error("`Text.createList` only accepts arrays or lists, but you passed it: "+t)}},{key:"fromJSON",value:function(t){if(e.isText(t))return t;Object(u.a)(null==t.leaves,"As of slate@0.46, the `leaves` property of text nodes has been removed! Each individual leaf should be created as a text node instead.");var n=t.text,r=void 0===n?"":n,i=t.marks,o=void 0===i?[]:i,a=t.key;return new e({key:void 0===a?x.create():a,text:r,marks:q.createSet(o)})}},{key:"isTextList",value:function(t){return r.List.isList(t)&&t.every(function(t){return e.isText(t)})}}]),e}(Object(r.Record)(at)),ct=function(){function t(){_(this,t)}return S(t,null,[{key:"create",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.isNode(e))return e;if(o()(e)){var n=e.object;switch(!n&&e.kind&&(Object(a.a)(!1,"As of slate@0.32.0, the `kind` property of Slate objects has been renamed to `object`."),n=e.kind),n){case"block":return ft.create(e);case"document":return rt.create(e);case"inline":return ot.create(e);case"text":return st.create(e);default:throw new Error("`Node.create` requires a `object` string.")}}throw new Error("`Node.create` only accepts objects or nodes but you passed it: "+e)}},{key:"createList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(e)||Array.isArray(e)){var n=[];return e.forEach(function(e){if(e&&"text"===e.object&&e.leaves&&Array.isArray(e.leaves)){Object(a.a)(!1,"As of slate@0.46, the `leaves` property of Text nodes has been removed. Instead, each text node contains a string of text and a unique set of marks and leaves are unnecessary.");var r=st.createList(e.leaves).toArray();n=n.concat(r)}else{var i=t.create(e);n.push(i)}}),Object(r.List)(n)}throw new Error("`Node.createList` only accepts lists or arrays, but you passed it: "+e)}},{key:"createProperties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(ft.isBlock(t)||ot.isInline(t))return{data:t.data,type:t.type};if("string"==typeof t)return{type:t};if(o()(t)){var e={};return"type"in t&&(e.type=t.type),"data"in t&&(e.data=H.create(t.data)),e}throw new Error("`Node.createProperties` only accepts objects, strings, blocks or inlines, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var e=t.object;switch(!e&&t.kind&&(Object(a.a)(!1,"As of slate@0.32.0, the `kind` property of Slate objects has been renamed to `object`."),e=t.kind),e){case"block":return ft.fromJSON(t);case"document":return rt.fromJSON(t);case"inline":return ot.fromJSON(t);case"text":return st.fromJSON(t);default:throw new Error("`Node.fromJSON` requires an `object` of either 'block', 'document', 'inline' or 'text', but you passed: "+t)}}},{key:"isNode",value:function(t){return ft.isBlock(t)||rt.isDocument(t)||ot.isInline(t)||st.isText(t)}},{key:"isNodeList",value:function(e){return r.List.isList(e)&&e.every(function(e){return t.isNode(e)})}}]),t}(),lt={data:void 0,key:void 0,nodes:void 0,type:void 0},ft=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={object:this.object,type:this.type,data:this.data.toJSON(),nodes:this.nodes.toArray().map(function(e){return e.toJSON(t)})};return t.preserveKeys&&(e.key=this.key),e}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isBlock(t))return t;if("string"==typeof t&&(t={type:t}),o()(t))return e.fromJSON(t);throw new Error("`Block.create` only accepts objects, strings or blocks, but you passed it: "+t)}},{key:"createList",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(t)||Array.isArray(t))return new r.List(t.map(e.create));throw new Error("`Block.createList` only accepts arrays or lists, but you passed it: "+t)}},{key:"fromJSON",value:function(t){if(e.isBlock(t))return t;var n=t.data,i=void 0===n?{}:n,o=t.key,a=void 0===o?x.create():o,u=t.nodes,s=void 0===u?[]:u,c=t.type;if("string"!=typeof c)throw new Error("`Block.fromJSON` requires a `type` string.");return new e({key:a,type:c,data:Object(r.Map)(i),nodes:ct.createList(s)})}},{key:"isBlockList",value:function(t){return r.List.isList(t)&&t.every(function(t){return e.isBlock(t)})}}]),e}(Object(r.Record)(lt)),ht={annotations:void 0,data:void 0,document:void 0,selection:void 0},dt=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"addAnnotation",value:function(t){t=et.create(t);var e=this,n=e,r=n.annotations,i=n.document,o=t.key;return t=t.updatePoints(function(t){return t.normalize(i)}),r=r.set(o,t),e=e.set("annotations",r)}},{key:"addMark",value:function(t,e){e=q.create(e);var n=this,r=n.document;return r=r.addMark(t,e),n=n.set("document",r)}},{key:"insertNode",value:function(t,e){var n=this,r=n.document;return r=r.insertNode(t,e),n=(n=n.set("document",r)).mapRanges(function(t){return t.updatePoints(function(t){return t.setPath(null)})})}},{key:"insertText",value:function(t,e,n){var r=this,i=r.document,o=i.assertNode(t);return i=i.insertText(t,e,n),o=i.assertNode(t),r=(r=r.set("document",i)).mapPoints(function(t){return t.key===o.key&&t.offset>=e?t.setOffset(t.offset+n.length):t})}},{key:"mergeNode",value:function(t){var e=this,n=e.document,r=n.mergeNode(t);t=n.resolvePath(t);var i=z.decrement(t),o=n.getNode(i),a=n.getNode(t);return e=(e=e.set("document",r)).mapRanges(function(t){if("text"===a.object){var e=o.text.length;t.anchor.key===a.key&&(t=t.moveAnchorTo(o.key,e+t.anchor.offset)),t.focus.key===a.key&&(t=t.moveFocusTo(o.key,e+t.focus.offset))}return t=t.updatePoints(function(t){return t.setPath(null)})})}},{key:"moveNode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this,i=r.document;return z.isEqual(t,e)?r:(i=i.moveNode(t,e,n),r=(r=r.set("document",i)).mapPoints(function(t){return t.setPath(null)}))}},{key:"removeAnnotation",value:function(t){t=et.create(t);var e=this,n=e.annotations,r=t.key;return n=n.delete(r),e=e.set("annotations",n)}},{key:"removeMark",value:function(t,e){e=q.create(e);var n=this,r=n.document;return r=r.removeMark(t,e),n=n.set("document",r)}},{key:"removeNode",value:function(t){var e=this,n=e.document,r=n.assertNode(t),i="text"===r.object?r:r.getFirstText()||r,o="text"===r.object?r:r.getLastText()||r,a=n.getPreviousText(i.key),u=n.getNextText(o.key);return n=n.removeNode(t),e=(e=e.set("document",n)).mapRanges(function(t){var e=t,n=e.anchor,i=e.focus;return r.hasNode(n.key)&&(t=a?t.moveAnchorTo(a.key,a.text.length):u?t.moveAnchorTo(u.key,0):t.unset()),r.hasNode(i.key)&&(t=a?t.moveFocusTo(a.key,a.text.length):u?t.moveFocusTo(u.key,0):t.unset()),t=t.updatePoints(function(t){return t.setPath(null)})})}},{key:"removeText",value:function(t,e,n){var r=this,i=r.document,o=i.assertNode(t);i=i.removeText(t,e,n),r=r.set("document",i);var a=n.length,u=e,s=e+a;return r=r.mapPoints(function(t){return t.key!==o.key?t:t.offset>=s?t.setOffset(t.offset-a):t.offset>u?t.setOffset(u):t})}},{key:"setAnnotation",value:function(t,e){e=et.createProperties(e);var n=et.create(t),r=n.merge(e),i=this,o=i.annotations,a=n.key;return o=o.set(a,r),i=i.set("annotations",o)}},{key:"setNode",value:function(t,e){var n=this,r=n.document;return r=r.setNode(t,e),n=n.set("document",r)}},{key:"setMark",value:function(t,e,n){var r=this,i=r.document;return i=i.setMark(t,e,n),r=r.set("document",i)}},{key:"setProperties",value:function(t){var e=this,n=e.document,r=t.data,i=t.annotations,o={};return r&&(o.data=r),i&&(o.annotations=i.map(function(t){return t.isSet?t:n.resolveAnnotation(t)})),e=e.merge(o)}},{key:"setSelection",value:function(t){var e=this,n=e,r=n.document,i=n.selection,o=i.setProperties(t);return i=r.resolveSelection(o),e=e.set("selection",i)}},{key:"splitNode",value:function(t,e,n){var r=this,i=r.document,o=i.splitNode(t,e,n),a=i.assertNode(t);return r=(r=r.set("document",o)).mapRanges(function(t){var n=o.getNextText(a.key),r=t,i=r.anchor,u=r.focus;return a.key===i.key&&e<=i.offset&&(t=t.moveAnchorTo(n.key,i.offset-e)),a.key===u.key&&e<=u.offset&&(t=t.moveFocusTo(n.key,u.offset-e)),t=t.updatePoints(function(t){return t.setPath(null)})})}},{key:"mapRanges",value:function(t){var e=this,n=e,r=n.document,i=n.selection,o=n.annotations,a=i.isSet?t(i):i;a||(a=i.unset()),a!==i&&(a=r.createSelection(a)),e=e.set("selection",a);var u=o.map(function(e){var n=e.isSet?t(e):e;return n&&n!==e&&(n=r.createAnnotation(n)),n});return u=u.filter(function(t){return!!t}),e=e.set("annotations",u)}},{key:"mapPoints",value:function(t){return this.mapRanges(function(e){return e.updatePoints(t)})}},{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={object:this.object,document:this.document.toJSON(t)};return t.preserveData&&(e.data=this.data.toJSON(t)),t.preserveAnnotations&&(e.annotations=this.annotations.map(function(e){return e.toJSON(t)}).toObject()),t.preserveSelection&&(e.selection=this.selection.toJSON(t)),e}},{key:"change",value:function(){Object(u.a)(!1,"As of Slate 0.42.0, value object are no longer schema-aware, and the `value.change()` method is no longer available. Use the `editor.change()` method on the new `Editor` controller instead.")}},{key:"startBlock",get:function(){return this.selection.start.key&&this.document.getClosestBlock(this.selection.start.key)}},{key:"endBlock",get:function(){return this.selection.end.key&&this.document.getClosestBlock(this.selection.end.key)}},{key:"anchorBlock",get:function(){return this.selection.anchor.key&&this.document.getClosestBlock(this.selection.anchor.key)}},{key:"focusBlock",get:function(){return this.selection.focus.key&&this.document.getClosestBlock(this.selection.focus.key)}},{key:"startInline",get:function(){return this.selection.start.key&&this.document.getClosestInline(this.selection.start.key)}},{key:"endInline",get:function(){return this.selection.end.key&&this.document.getClosestInline(this.selection.end.key)}},{key:"anchorInline",get:function(){return this.selection.anchor.key&&this.document.getClosestInline(this.selection.anchor.key)}},{key:"focusInline",get:function(){return this.selection.focus.key&&this.document.getClosestInline(this.selection.focus.key)}},{key:"startText",get:function(){return this.selection.start.key&&this.document.getDescendant(this.selection.start.key)}},{key:"endText",get:function(){return this.selection.end.key&&this.document.getDescendant(this.selection.end.key)}},{key:"anchorText",get:function(){return this.selection.anchor.key&&this.document.getDescendant(this.selection.anchor.key)}},{key:"focusText",get:function(){return this.selection.focus.key&&this.document.getDescendant(this.selection.focus.key)}},{key:"nextBlock",get:function(){return this.selection.end.key&&this.document.getNextBlock(this.selection.end.key)}},{key:"previousBlock",get:function(){return this.selection.start.key&&this.document.getPreviousBlock(this.selection.start.key)}},{key:"nextInline",get:function(){return this.selection.end.key&&this.document.getNextInline(this.selection.end.key)}},{key:"previousInline",get:function(){return this.selection.start.key&&this.document.getPreviousInline(this.selection.start.key)}},{key:"nextText",get:function(){return this.selection.end.key&&this.document.getNextText(this.selection.end.key)}},{key:"previousText",get:function(){return this.selection.start.key&&this.document.getPreviousText(this.selection.start.key)}},{key:"marks",get:function(){return this.selection.isUnset?new r.Set:this.selection.marks||this.document.getMarksAtRange(this.selection)}},{key:"activeMarks",get:function(){return this.selection.isUnset?new r.Set:this.selection.marks||this.document.getActiveMarksAtRange(this.selection)}},{key:"blocks",get:function(){return this.selection.isUnset?new r.List:this.document.getLeafBlocksAtRange(this.selection)}},{key:"fragment",get:function(){return this.selection.isUnset?rt.create():this.document.getFragmentAtRange(this.selection)}},{key:"inlines",get:function(){return this.selection.isUnset?new r.List:this.document.getLeafInlinesAtRange(this.selection)}},{key:"texts",get:function(){return this.selection.isUnset?new r.List:this.document.getTextsAtRange(this.selection)}},{key:"history",get:function(){Object(u.a)(!1,"As of Slate 0.42.0, the `value.history` model no longer exists, and the history is stored in `value.data` instead using plugins.")}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.isValue(t))return t;if(o()(t))return e.fromJSON(t,n);throw new Error("`Value.create` only accepts objects or values, but you passed it: "+t)}},{key:"createProperties",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isValue(t))return{annotations:t.annotations,data:t.data};if(o()(t)){var n={};return"annotations"in t&&(n.annotations=et.createMap(t.annotations)),"data"in t&&(n.data=H.create(t.data)),n}throw new Error("`Value.createProperties` only accepts objects or values, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.data,r=void 0===n?{}:n,i=t.annotations,o=void 0===i?{}:i,a=t.document,u=void 0===a?{}:a,s=t.selection,c=void 0===s?{}:s;if(r=H.fromJSON(r),c=(u=rt.fromJSON(u)).createSelection(c),o=et.createMap(o),c.isUnset){var l=u.getFirstText();l&&(c=c.moveToStartOfNode(l)),c=u.createSelection(c)}return new e({annotations:o,data:r,document:u,selection:c})}}]),e}(Object(r.Record)(ht)),pt=c()("slate:operation:apply");function vt(t,e){var n=(e=xt.create(e)).type;switch(pt(n,e),n){case"add_annotation":var r=e.annotation;return t.addAnnotation(r);case"add_mark":var i=e,o=i.path,a=i.mark;return t.addMark(o,a);case"insert_node":var u=e,s=u.path,c=u.node;return t.insertNode(s,c);case"insert_text":var l=e,f=l.path,h=l.offset,d=l.text,p=l.marks;return t.insertText(f,h,d,p);case"merge_node":var v=e.path;return t.mergeNode(v);case"move_node":var g=e,y=g.path,m=g.newPath;return t.moveNode(y,m);case"remove_annotation":var b=e.annotation;return t.removeAnnotation(b);case"remove_mark":var x=e,w=x.path,_=x.mark;return t.removeMark(w,_);case"remove_node":var S=e.path;return t.removeNode(S);case"remove_text":var k=e,E=k.path,O=k.offset,C=k.text;return t.removeText(E,O,C);case"set_annotation":var A=e,T=A.properties,M=A.newProperties;return t.setAnnotation(T,M);case"set_mark":var P=e,j=P.path,D=P.properties,I=P.newProperties;return t.setMark(j,D,I);case"set_node":var N=e,F=N.path,R=N.newProperties;return t.setNode(F,R);case"set_selection":var L=e.newProperties;return t.setSelection(L);case"set_value":var B=e.newProperties;return t.setProperties(B);case"split_node":var z=e,V=z.path,U=z.position,H=z.properties;return t.splitNode(V,U,H);default:throw new Error('Unknown operation type: "'+n+'".')}}var gt=c()("slate:operation:invert");function yt(t){var e=(t=xt.create(t)).type;switch(gt(e,t),e){case"move_node":var n=t,r=n.newPath,i=n.path;if(z.isEqual(r,i))return t;var o=z.transform(i,t).first(),a=z.transform(z.increment(i),t).first();return t.set("path",o).set("newPath",a);case"merge_node":var u=t.path,s=z.decrement(u);return t.set("type","split_node").set("path",s);case"split_node":var c=t.path,l=z.increment(c);return t.set("type","merge_node").set("path",l);case"set_annotation":case"set_node":case"set_value":case"set_selection":case"set_mark":var f=t,h=f.properties,d=f.newProperties;return t.set("properties",d).set("newProperties",h);case"insert_node":case"insert_text":return t.set("type",e.replace("insert_","remove_"));case"remove_node":case"remove_text":return t.set("type",e.replace("remove_","insert_"));case"add_annotation":case"add_mark":return t.set("type",e.replace("add_","remove_"));case"remove_annotation":case"remove_mark":return t.set("type",e.replace("remove_","add_"));default:throw new Error('Unknown operation type: "'+e+'".')}}var mt={add_mark:["path","mark","data"],add_annotation:["annotation","data"],insert_node:["path","node","data"],insert_text:["path","offset","text","data"],merge_node:["path","position","properties","target","data"],move_node:["path","newPath","data"],remove_annotation:["annotation","data"],remove_mark:["path","mark","data"],remove_node:["path","node","data"],remove_text:["path","offset","text","data"],set_annotation:["properties","newProperties","data"],set_mark:["path","properties","newProperties","data"],set_node:["path","properties","newProperties","data"],set_selection:["properties","newProperties","data"],set_value:["properties","newProperties","data"],split_node:["path","position","properties","target","data"]},bt={annotation:void 0,data:void 0,length:void 0,mark:void 0,marks:void 0,newPath:void 0,newProperties:void 0,node:void 0,offset:void 0,path:void 0,position:void 0,properties:void 0,target:void 0,text:void 0,type:void 0},xt=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"apply",value:function(t){return vt(t,this)}},{key:"invert",value:function(){return yt(this)}},{key:"toJSON",value:function(){var t=this.object,e=this.type,n={object:t,type:e},r=mt[e],i=!0,o=!1,a=void 0;try{for(var u,s=r[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=u.value,l=this[c];if("annotation"!==c&&"mark"!==c&&"marks"!==c&&"node"!==c&&"path"!==c&&"newPath"!==c||(l=l.toJSON()),"properties"===c&&"merge_node"===e){var f={};"data"in l&&(f.data=l.data.toJS()),"type"in l&&(f.type=l.type),l=f}if(("properties"===c||"newProperties"===c)&&"set_annotation"===e){var h={};"anchor"in l&&(h.anchor=l.anchor.toJS()),"focus"in l&&(h.focus=l.focus.toJS()),"key"in l&&(h.key=l.key),"mark"in l&&(h.mark=l.mark.toJS()),l=h}if(("properties"===c||"newProperties"===c)&&"set_mark"===e){var d={};"data"in l&&(d.data=l.data.toJS()),"type"in l&&(d.type=l.type),l=d}if(("properties"===c||"newProperties"===c)&&"set_node"===e){var p={};"data"in l&&(p.data=l.data.toJS()),"type"in l&&(p.type=l.type),l=p}if(("properties"===c||"newProperties"===c)&&"set_selection"===e){var v={};"anchor"in l&&(v.anchor=l.anchor.toJSON()),"focus"in l&&(v.focus=l.focus.toJSON()),"isFocused"in l&&(v.isFocused=l.isFocused),"marks"in l&&(v.marks=l.marks&&l.marks.toJSON()),l=v}if(("properties"===c||"newProperties"===c)&&"set_value"===e){var g={};"data"in l&&(g.data=l.data.toJS()),l=g}if("properties"===c&&"split_node"===e){var y={};"data"in l&&(y.data=l.data.toJS()),"type"in l&&(y.type=l.type),l=y}"data"===c&&(l=l.toJSON()),n[c]=l}}catch(t){o=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return n}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isOperation(t))return t;if(o()(t))return e.fromJSON(t);throw new Error("`Operation.create` only accepts objects or operations, but you passed it: "+t)}},{key:"createList",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(t)||Array.isArray(t))return new r.List(t.map(e.create));throw new Error("`Operation.createList` only accepts arrays or lists, but you passed it: "+t)}},{key:"fromJSON",value:function(t){if(e.isOperation(t))return t;var n=t.type,i=mt[n],o={type:n};if(!i)throw new Error('`Operation.fromJSON` was passed an unrecognized operation type: "'+n+'"');var a=!0,u=!1,s=void 0;try{for(var c,l=i[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,h=t[f];if("data"===f&&void 0===h&&(h={}),void 0===h)throw new Error('`Operation.fromJSON` was passed a "'+n+'" operation without the required "'+f+'" attribute.');"annotation"===f&&(h=et.create(h)),"path"!==f&&"newPath"!==f||(h=z.create(h)),"mark"===f&&(h=q.create(h)),"node"===f&&(h=ct.create(h)),"properties"!==f&&"newProperties"!==f||"set_annotation"!==n||(h=et.createProperties(h)),"properties"!==f&&"newProperties"!==f||"set_mark"!==n||(h=q.createProperties(h)),"properties"!==f&&"newProperties"!==f||"set_node"!==n&&"merge_node"!==n&&"split_node"!==n||(h=ct.createProperties(h)),"properties"!==f&&"newProperties"!==f||"set_selection"!==n||(h=K.createProperties(h)),"properties"!==f&&"newProperties"!==f||"set_value"!==n||(h=dt.createProperties(h)),"data"===f&&(h=Object(r.Map)(h)),o[f]=h}}catch(t){u=!0,s=t}finally{try{!a&&l.return&&l.return()}finally{if(u)throw s}}return new e(o)}},{key:"isOperationList",value:function(t){return r.List.isList(t)&&t.every(function(t){return e.isOperation(t)})}}]),e}(Object(r.Record)(bt)),wt={operations:void 0,value:void 0},_t=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{object:this.object,value:this.value.toJSON(t),operations:this.operations.toArray().map(function(e){return e.toJSON(t)})}}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.isChange(t))return t;if(o()(t))return e.fromJSON(t);throw new Error("`Change.create` only accepts objects or changes, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.value,r=t.operations,i=void 0===r?[]:r;return new e({value:dt.create(n),operations:xt.createList(i)})}}]),e}(Object(r.Record)(wt));function St(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{onCommand:function(e,n,r){var i=e.type,o=e.args,a=t[i];if(!a)return r();n.command.apply(n,[a].concat(M(o)))},onConstruct:function(e,n){for(var r in t)e.registerCommand(r);return n()}}}var kt=55296,Et=57343,Ot=/\s/,Ct=/['\u2018\u2019]/,At=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;function Tt(t){return kt<=t&&t<=Et}function Mt(t,e){if(Ot.test(t))return!1;if(Ct.test(t)){var n=e.charAt(0),r=Pt(n);if(Mt(n=e.slice(0,r),e.slice(r)))return!0}return!At.test(t)}function Pt(t){return Tt(t.charCodeAt(0))?2:1}function jt(t){return Pt(t.charAt(0))}function Dt(t){for(var e=0,n=0,r=!1,i=void 0;i=t.charAt(n);){var o=Pt(i);if(Mt(i=t.slice(n,n+o),t.slice(n+o)))r=!0,e+=o;else{if(r)break;e+=o}n+=o}return e}var It={getCharLength:Pt,getCharOffset:jt,getCharOffsetBackward:function(t,e){return t=t.slice(0,e),jt(t=Object(l.reverse)(t))},getCharOffsetForward:function(t,e){return jt(t=t.slice(e))},getWordOffset:Dt,getWordOffsetBackward:function(t,e){return t=t.slice(0,e),Dt(t=Object(l.reverse)(t))},getWordOffsetForward:function(t,e){return Dt(t=t.slice(e))},isSurrogate:Tt,isWord:Mt};function Nt(t,e){e.isExpanded&&t.deleteAtRange(e);var n=t.value.document,r=e,i=r.start,o=r.end;return e=n.hasDescendant(i.path)?e.moveToStart():e.moveTo(o.path,0).normalize(n)}var Ft={addMarkAtRange:function(t,e,n){if(!e.isCollapsed){var r=t.value.document,i=e.start,o=e.end,a=r.getTextsAtRange(e);t.withoutNormalizing(function(){a.forEach(function(e){var r=e.key,a=0,u=e.text.length;r===i.key&&(a=i.offset),r===o.key&&(u=o.offset),r===i.key&&r===o.key&&(u=o.offset-i.offset),t.addMarkByKey(r,a,u,n)})})}},addMarksAtRange:function(t,e,n){n.forEach(function(n){return t.addMarkAtRange(e,n)})},deleteAtRange:function(t,e){t.snapshotSelection();var n=t.value,r=e.start,i=e.end,o=r.key,a=r.offset,u=i.key,s=i.offset,c=n.document,l=c.hasVoidParent(o,t),f=c.hasVoidParent(u,t),h=c.getClosestBlock(o),d=c.getClosestBlock(u),p=0===a&&0===s&&!1===l&&o===h.getFirstText().key&&u===d.getFirstText().key&&o!==u;if(p&&f){var v=c.getPreviousText(u);u=v.key,s=v.text.length,f=c.hasVoidParent(u,t)}t.withoutNormalizing(function(){for(;l;){var e=c.getClosestVoid(o,t),n=c.getNextText(o);if(t.removeNodeByKey(e.key),o===u)return;if(!n)return;c=t.value.document,o=n.key,a=0,l=c.hasVoidParent(o,t)}for(;f;){var r=c.getClosestVoid(u,t),i=c.getPreviousText(u);t.removeNodeByKey(r.key),c=t.value.document,u=i.key,s=i.text.length,f=c.hasVoidParent(u,t)}if(o===u&&p)t.removeNodeByKey(h.key);else if(o!==u){h=c.getClosestBlock(o),d=c.getClosestBlock(u);var v=c.getNode(o),g=c.getNode(u),y=v.text.length-a,m=s,b=c.getCommonAncestor(o,u),x=b.getFurthestChild(o),w=b.getFurthestChild(u),_=c.getParent(h.key),S=_.nodes.indexOf(h),k=_.nodes.indexOf(d),E=void 0;for(E=v;E.key!==x.key;){var O=c.getParent(E.key),C=O.nodes.indexOf(E);O.nodes.slice(C+1).reverse().forEach(function(e){t.removeNodeByKey(e.key)}),E=O}var A=b.nodes.indexOf(x),M=b.nodes.indexOf(w);for(b.nodes.slice(A+1,M).reverse().forEach(function(e){t.removeNodeByKey(e.key)}),E=g;E.key!==w.key;){var P=c.getParent(E.key),j=P.nodes.indexOf(E);P.nodes.slice(0,j).reverse().forEach(function(e){t.removeNodeByKey(e.key)}),E=P}if(0!==y&&t.removeTextByKey(o,a,y),0!==m&&t.removeTextByKey(u,0,s),h.key!==d.key){c=t.value.document;var D=void 0,I=!0,N=!1,F=void 0;try{for(var R,L=c.ancestors(d.key)[Symbol.iterator]();!(I=(R=L.next()).done);I=!0){var B=R.value,z=T(B,1)[0];if(z.nodes.size>1)break;D=z}}catch(t){N=!0,F=t}finally{try{!I&&L.return&&L.return()}finally{if(N)throw F}}k!==S+1&&t.moveNodeByKey(d.key,_.key,S+1),p?t.removeNodeByKey(h.key):t.mergeNodeByKey(d.key),D&&t.removeNodeByKey(D.key)}}else{var V=a,U=s-a;t.removeTextByKey(o,V,U)}})},deleteBackwardAtRange:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(0!==n){var r=t.value.document,i=e,o=i.start,a=i.focus;if(e.isExpanded)t.deleteAtRange(e);else{var u=r.getClosestVoid(o.path,t);if(u)t.removeNodeByKey(u.key);else if(!o.isAtStartOfNode(r)){var s=r.getClosestBlock(o.path);if(1!==r.nodes.size&&s&&""===s.text&&1===s.nodes.size)t.removeNodeByKey(s.key);else{var c=r.getDescendant(o.path);if(o.isAtStartOfNode(c)){var l=r.getPreviousText(c.key);r.getClosestInline(c.key)&&""===l.text&&(l=r.getPreviousText(l.key));var f=r.getClosestBlock(l.key),h=r.getClosestVoid(l.key,t);if(h)return void t.removeNodeByKey(h.key);if(1===n&&f!==s)return e=e.moveAnchorTo(l.key,l.text.length),void t.deleteAtRange(e)}if(n<=a.offset)return e=e.moveFocusBackward(n),void t.deleteAtRange(e);for(var d=c,p=0,v=a.offset;n>v;){var g=v+(d=r.getPreviousText(d.key)).text.length;if(n<=g){p=g-n;break}v=g}e=e.moveAnchorTo(d.key,p),t.deleteAtRange(e)}}}}},deleteCharBackwardAtRange:function(t,e){if(e.isExpanded)t.deleteAtRange(e);else{var n=t.value.document,r=e.start,i=n.getClosestBlock(r.path),o=i.getOffset(r.key)+r.offset,a=i.text,u=It.getCharOffsetBackward(a,o);t.deleteBackwardAtRange(e,u)}},deleteCharForwardAtRange:function(t,e){if(e.isExpanded)t.deleteAtRange(e);else{var n=t.value.document,r=e.start,i=n.getClosestBlock(r.path),o=i.getOffset(r.key)+r.offset,a=i.text,u=It.getCharOffsetForward(a,o);t.deleteForwardAtRange(e,u)}},deleteForwardAtRange:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(0!==n){var r=t.value.document,i=e,o=i.start,a=i.focus;if(e.isExpanded)t.deleteAtRange(e);else{var u=r.getClosestVoid(o.path,t);if(u)t.removeNodeByKey(u.key);else{var s=r.getClosestBlock(o.path);if(s&&!t.isVoid(s)&&""===s.text&&1!==r.nodes.size){var c=r.getNextBlock(s.key);return t.removeNodeByKey(s.key),void(c&&c.key&&t.moveToStartOfNode(c))}if(!o.isAtEndOfNode(r)){var l=r.getDescendant(o.path);if(o.isAtEndOfNode(l)){var f=r.getNextText(l.key),h=r.getClosestBlock(f.key),d=r.getClosestVoid(f.key,t);if(d)return void t.removeNodeByKey(d.key);if(1===n&&h!==s)return e=e.moveFocusTo(f.key,0),void t.deleteAtRange(e)}if(n<=l.text.length-a.offset)return e=e.moveFocusForward(n),void t.deleteAtRange(e);for(var p=l,v=a.offset,g=l.text.length-a.offset;n>g;){var y=g+(p=r.getNextText(p.key)).text.length;if(n<=y){v=n-g;break}g=y}e=e.moveFocusTo(p.key,v),t.deleteAtRange(e)}}}}},deleteLineBackwardAtRange:function(t,e){if(e.isExpanded)t.deleteAtRange(e);else{var n=t.value.document,r=e.start,i=n.getClosestBlock(r.path).getOffset(r.key)+r.offset;t.deleteBackwardAtRange(e,i)}},deleteLineForwardAtRange:function(t,e){if(e.isExpanded)t.deleteAtRange(e);else{var n=t.value.document,r=e.start,i=n.getClosestBlock(r.path),o=i.getOffset(r.key)+r.offset;t.deleteForwardAtRange(e,i.text.length-o)}},deleteWordBackwardAtRange:function(t,e){if(e.isExpanded)t.deleteAtRange(e);else{var n=t.value.document,r=e.start,i=n.getClosestBlock(r.path),o=i.getOffset(r.key)+r.offset,a=i.text,u=0===o?1:It.getWordOffsetBackward(a,o);t.deleteBackwardAtRange(e,u)}},deleteWordForwardAtRange:function(t,e){if(e.isExpanded)t.deleteAtRange(e);else{var n=t.value.document,r=e.start,i=n.getClosestBlock(r.path),o=i.getOffset(r.key)+r.offset,a=i.text,u=It.getWordOffsetForward(a,o),s=0===u?1:u;t.deleteForwardAtRange(e,s)}},insertBlockAtRange:function(t,e,n){e=Nt(t,e),n=ft.create(n);var r=t.value.document,i=e.start,o=i.key,a=i.offset,u=r.getClosestBlock(o),s=r.getClosestInline(o),c=r.getParent(u.key),l=c.nodes.indexOf(u),f=Rt(t,e);if("before"===f)t.insertNodeByKey(c.key,l,n);else if("behind"===f)t.insertNodeByKey(c.key,l+1,n);else{if(s&&t.isVoid(s)){var h=i.isAtEndOfNode(s),d=h?r.getNextText(o):r.getPreviousText(o),p=h?e.moveToStartOfNode(d):e.moveToEndOfNode(d);o=p.start.key,a=p.start.offset}t.withoutNormalizing(function(){t.splitDescendantsByKey(u.key,o,a),t.insertNodeByKey(c.key,l+1,n)})}}},Rt=function(t,e){var n=t.value.document,r=e.start,i=r.key,o=n.getClosestBlock(i),a=n.getClosestInline(i);return t.isVoid(o)?r.isAtEndOfNode(o)?"behind":"before":a||""!==o.text?r.isAtStartOfNode(o)?"before":r.isAtEndOfNode(o)?"behind":"split":"behind"};Ft.insertFragmentAtRange=function(t,e,n){t.withoutNormalizing(function(){if(e=Nt(t,e),n.nodes.size){n=n.mapDescendants(function(t){return t.regenerateKey()});var i=e.start,o=t.value.document,a=o.getDescendant(i.path),u=o.getClosestBlock(a.key),s=u.getFurthestChild(a.key),c=i.isAtStartOfNode(u),l=o.getParent(u.key),f=l.nodes.indexOf(u),h=n.getBlocks(),d=n.nodes.first(),p=n.nodes.last(),v=h.first(),g=h.last(),y=Lt(n,o,u.key);if(v===g&&t.isVoid(v))t.insertBlockAtRange(e,v);else if(y!==n||!d.hasBlockChildren()&&!p.hasBlockChildren()){if(v!==g){var m=y.getFurthest(v.key,function(t){return 1===t.nodes.size})||v,b=l.nodes.indexOf(u);y.removeNode(m.key).nodes.forEach(function(e,n){var r=b+n+1;t.insertNodeByKey(l.key,r,e)})}if(0!==i.offset&&t.splitDescendantsByKey(s.key,i.key,i.offset),a=(o=t.value.document).getDescendant(i.key),s=(u=o.getClosestBlock(i.key)).getFurthestChild(a.key),v!==g){var x=c?s:u.getNextSibling(s.key),w=x?u.nodes.skipUntil(function(t){return t.key===x.key}):Object(r.List)(),_=g.nodes.size;w.forEach(function(e,n){var r=_+n;t.moveNodeByKey(e.key,g.key,r)})}if(t.isVoid(u)||""!==u.text||u.findDescendant(function(e){return t.isVoid(e)})){var S=u.getFurthestChild(a.key),k=u.nodes.indexOf(S);v.nodes.forEach(function(e,n){var r=0===i.offset?0:1,o=k+n+r;t.insertNodeByKey(u.key,o,e)})}else t.removeNodeByKey(u.key),t.insertNodeByKey(l.key,f,v)}else{("before"===Rt(t,e)?n.nodes:n.nodes.reverse()).forEach(function(n){t.insertBlockAtRange(e,n)})}}})};var Lt=function(t,e,n){var r=function(t){if(t&&"text"!==t.object)return 1===t.nodes.size},i=function(t){return t&&t.nodes.first()},o=t;if(r(t)){var a=i(t),u=e.getFurthest(n,function(t){return t.type===a.type});for(u===e.getParent(n)&&(o=a);r(a)&&r(u)&&(a=i(a),u=i(u),a.type===u.type);)o=a}return o};Ft.insertInlineAtRange=function(t,e,n){n=ot.create(n),t.withoutNormalizing(function(){e=Nt(t,e);var r=t.value.document,i=e.start,o=r.getParent(i.path),a=r.assertDescendant(i.path),u=o.nodes.indexOf(a);t.isVoid(o)||(t.splitNodeByPath(i.path,i.offset),t.insertNodeByKey(o.key,u+1,n))})},Ft.insertTextAtRange=function(t,e,n,r){t.withoutNormalizing(function(){e=Nt(t,e);var i=t.value.document,o=e.start,a=o.offset,u=i.getParent(o.path);t.isVoid(u)||t.insertTextByPath(o.path,a,n,r)})},Ft.removeMarkAtRange=function(t,e,n){if(!e.isCollapsed){var r=t.value.document.getTextsAtRange(e),i=e.start,o=e.end;t.withoutNormalizing(function(){r.forEach(function(e){var r=e.key,a=0,u=e.text.length;r===i.key&&(a=i.offset),r===o.key&&(u=o.offset),r===i.key&&r===o.key&&(u=o.offset-i.offset),t.removeMarkByKey(r,a,u,n)})})}},Ft.setBlocksAtRange=function(t,e,n){var r=t.value.document,i=r.getLeafBlocksAtRange(e),o=e.start,a=e.end,u=e.isCollapsed,s=r.hasVoidParent(o.path,t),c=r.getClosestBlock(o.path),l=r.getClosestBlock(a.key),f=!1===u&&0===o.offset&&0===a.offset&&!1===s&&o.key===c.getFirstText().key&&a.key===l.getFirstText().key?i.slice(0,-1):i;t.withoutNormalizing(function(){f.forEach(function(e){t.setNodeByKey(e.key,n)})})},Ft.setInlinesAtRange=function(t,e,n){var r=t.value.document.getLeafInlinesAtRange(e);t.withoutNormalizing(function(){r.forEach(function(e){t.setNodeByKey(e.key,n)})})},Ft.splitBlockAtRange=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=e=Nt(t,e),i=r.start,o=r.end,a=t.value,u=a.document,s=u.assertDescendant(i.path),c=u.getClosestBlock(s.key),l=0;c&&"block"===c.object&&l<n;)s=c,c=u.getClosestBlock(c.key),l++;t.withoutNormalizing(function(){if(t.splitDescendantsByKey(s.key,i.path,i.offset),a=t.value,u=a.document,e.isExpanded){e.isBackward&&(e=e.flip());var n=u.getNextBlock(s.key);e=(e=e.moveAnchorToStartOfNode(n)).setFocus(e.focus.setPath(null)),i.path.equals(o.path)&&(e=e.moveFocusTo(e.anchor.key,o.offset-i.offset)),e=u.resolveRange(e),t.deleteAtRange(e)}})},Ft.splitInlineAtRange=function(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,r=(e=Nt(t,e)).start,i=t.value.document,o=i.assertDescendant(r.path),a=i.getClosestInline(o.key),u=0;a&&"inline"===a.object&&u<n;)o=a,a=i.getClosestInline(a.key),u++;t.splitDescendantsByKey(o.key,r.path,r.offset)},Ft.toggleMarkAtRange=function(t,e,n){e.isCollapsed||(n=q.create(n),t.value.document.getActiveMarksAtRange(e).some(function(t){return t.equals(n)})?t.removeMarkAtRange(e,n):t.addMarkAtRange(e,n))},Ft.unwrapBlockAtRange=function(t,e,n){n=ct.createProperties(n);var r=t.value.document,i=r.getLeafBlocksAtRange(e),o=i.map(function(t){return r.getClosest(t.key,function(t){return"block"===t.object&&((null==n.type||t.type===n.type)&&!(null!=n.data&&!t.data.isSuperset(n.data)))})}).filter(function(t){return t}).toOrderedSet().toList();t.withoutNormalizing(function(){o.forEach(function(e){var n=e.nodes.first(),o=e.nodes.last(),a=t.value.document.getParent(e.key),u=a.nodes.indexOf(e),s=e.nodes.filter(function(t){return i.some(function(e){return t===e||t.hasDescendant(e.key)})}),c=s.first(),l=s.last();if(n===c&&o===l)e.nodes.forEach(function(e,n){t.moveNodeByKey(e.key,a.key,u+n)}),t.removeNodeByKey(e.key);else if(o===l)e.nodes.skipUntil(function(t){return t===c}).forEach(function(e,n){t.moveNodeByKey(e.key,a.key,u+1+n)});else if(n===c)e.nodes.takeUntil(function(t){return t===l}).push(l).forEach(function(e,n){t.moveNodeByKey(e.key,a.key,u+n)});else{var f=c.getFirstText();t.splitDescendantsByKey(e.key,f.key,0),r=t.value.document,s.forEach(function(e,n){if(0===n){var i=e;e=r.getNextBlock(e.key),t.removeNodeByKey(i.key)}t.moveNodeByKey(e.key,a.key,u+1+n)})}})})},Ft.unwrapInlineAtRange=function(t,e,n){n=ct.createProperties(n);var r=t.value.document,i=r.getTextsAtRange(e).map(function(t){return r.getClosest(t.key,function(t){return"inline"===t.object&&((null==n.type||t.type===n.type)&&!(null!=n.data&&!t.data.isSuperset(n.data)))})}).filter(function(t){return t}).toOrderedSet().toList();t.withoutNormalizing(function(){i.forEach(function(e){var n=t.value.document.getParent(e.key),r=n.nodes.indexOf(e);e.nodes.forEach(function(e,i){t.moveNodeByKey(e.key,n.key,r+i)}),t.removeNodeByKey(e.key)})})},Ft.wrapBlockAtRange=function(t,e,n){n=(n=ft.create(n)).set("nodes",n.nodes.clear());var r=t.value.document,i=r.getLeafBlocksAtRange(e),o=i.first(),a=i.last(),u=void 0,s=void 0,c=void 0;if(1===i.length?(u=r.getParent(o.key),s=i):u=r.getClosest(o.key,function(t){return!!r.getClosest(a.key,function(e){return t===e})}),null==u&&(u=r),null==s){var l=u.nodes.reduce(function(t,e,n){return(e===o||e.hasDescendant(o.key))&&(t[0]=n),(e===a||e.hasDescendant(a.key))&&(t[1]=n),t},[]);c=l[0],s=u.nodes.slice(l[0],l[1]+1)}null==c&&(c=u.nodes.indexOf(s.first())),t.withoutNormalizing(function(){t.insertNodeByKey(u.key,c,n),s.forEach(function(e,r){t.moveNodeByKey(e.key,n.key,r)})})},Ft.wrapInlineAtRange=function(t,e,n){var r=t.value.document,i=e.start,o=e.end;if(e.isCollapsed){var a=r.getClosestInline(i.path);if(!a)return;if(!t.isVoid(a))return;return t.wrapInlineByKey(a.key,n)}n=(n=ot.create(n)).set("nodes",n.nodes.clear());var u=r.getLeafBlocksAtRange(e),s=r.getClosestBlock(i.path),c=r.getClosestBlock(o.path),l=r.getClosestInline(i.path),f=r.getClosestInline(o.path),h=s.getFurthestChild(i.key),d=c.getFurthestChild(o.key);t.withoutNormalizing(function(){l&&l===f||(t.splitDescendantsByKey(d.key,o.key,o.offset),t.splitDescendantsByKey(h.key,i.key,i.offset)),r=t.value.document,s=r.getDescendant(s.key),c=r.getDescendant(c.key),h=s.getFurthestChild(i.key),d=c.getFurthestChild(o.key);var a=s.nodes.indexOf(h),p=c.nodes.indexOf(d);if(l&&l===f){var v=s.getTextsAtRange(e).map(function(t){return i.key===t.key&&o.key===t.key?t.splitText(i.offset)[1].splitText(o.offset-i.offset)[0].regenerateKey():i.key===t.key?t.splitText(i.offset)[1].regenerateKey():o.key===t.key?t.splitText(o.offset)[0].regenerateKey():t.regenerateKey()});n=n.set("nodes",v),t.insertInlineAtRange(e,n)}else if(s===c){r=t.value.document,s=r.getClosestBlock(i.key),h=s.getFurthestChild(i.key);var g=r.getNextSibling(h.key),y=s.nodes.indexOf(g),m=i.key===o.key?g:s.getFurthestChild(o.key),b=s.nodes.skipUntil(function(t){return t===g}).takeUntil(function(t){return t===m}).push(m),x=n.regenerateKey();t.insertNodeByKey(s.key,y,x),b.forEach(function(e,n){t.moveNodeByKey(e.key,x.key,n)})}else{var w=s.nodes.slice(a+1),_=c.nodes.slice(0,p+1),S=n.regenerateKey(),k=n.regenerateKey();t.insertNodeByKey(s.key,a+1,S),t.insertNodeByKey(c.key,p,k),w.forEach(function(e,n){t.moveNodeByKey(e.key,S.key,n)}),_.forEach(function(e,n){t.moveNodeByKey(e.key,k.key,n)}),u.slice(1,-1).forEach(function(e){var r=n.regenerateKey();t.insertNodeByKey(e.key,0,r),e.nodes.forEach(function(e,n){t.moveNodeByKey(e.key,r.key,n)})})}})},Ft.wrapTextAtRange=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n,i=e.start,o=e.end,a=e.moveToStart(),u=e.moveToEnd();i.path.equals(o.path)&&(u=u.moveForward(n.length)),t.withoutNormalizing(function(){t.insertTextAtRange(a,n),t.insertTextAtRange(u,r)})};var Bt={addMarkByPath:function(t,e,n,r,i){i=q.create(i),t.addMarksByPath(e,n,r,[i])},addMarksByPath:function(t,e,n,r,i){if((i=q.createSet(i)).size){var o=t.value.document.assertNode(e);t.withoutNormalizing(function(){n+r<o.text.length&&t.splitNodeByPath(e,n+r),n>0&&(t.splitNodeByPath(e,n),e=z.increment(e),n=0),i.forEach(function(n){t.applyOperation({type:"add_mark",path:e,mark:q.create(n)})})})}},replaceMarksByPath:function(t,e,n,r,i){var o=q.createSet(i),a=t.value.document.assertNode(e);a.marks.equals(o)||t.withoutNormalizing(function(){n+r<a.text.length&&t.splitNodeByPath(e,n+r),n>0&&(t.splitNodeByPath(e,n),e=z.increment(e),n=0);var i=o.subtract(a.marks);a.marks.subtract(o).forEach(function(n){t.applyOperation({type:"remove_mark",path:e,mark:q.create(n)})}),i.forEach(function(n){t.applyOperation({type:"add_mark",path:e,mark:q.create(n)})})})},insertFragmentByPath:function(t,e,n,r){r.nodes.forEach(function(r,i){t.insertNodeByPath(e,n+i,r)})},insertNodeByPath:function(t,e,n,r){t.applyOperation({type:"insert_node",path:e.concat(n),node:r})},insertTextByPath:function(t,e,n,r,i){var o=t.value,a=o.annotations;o.document.assertNode(e),t.withoutNormalizing(function(){var o=!0,u=!1,s=void 0;try{for(var c,l=a.values()[Symbol.iterator]();!(o=(c=l.next()).done);o=!0){var f=c.value,h=f.start,d=f.end;t.isAtomic(f)&&(h.path.equals(e)&&h.offset<n&&(!d.path.equals(e)||d.offset>n)&&t.removeAnnotation(f))}}catch(t){u=!0,s=t}finally{try{!o&&l.return&&l.return()}finally{if(u)throw s}}t.applyOperation({type:"insert_text",path:e,offset:n,text:r}),i&&t.replaceMarksByPath(e,n,r.length,i)})},mergeNodeByPath:function(t,e){var n=t.value.document,r=n.getDescendant(e),i=n.getPreviousSibling(e);if(!i)throw new Error('Unable to merge node with path "'+e+'", because it has no previous sibling.');var o="text"===i.object?i.text.length:i.nodes.size;t.applyOperation({type:"merge_node",path:e,position:o,properties:{type:r.type,data:r.data},target:null})},moveNodeByPath:function(t,e,n,r){if(z.isEqual(e,n))return t;var i=n.concat(r);if(z.isEqual(e,i))return t;t.applyOperation({type:"move_node",path:e,newPath:i})},removeMarkByPath:function(t,e,n,r,i){i=q.create(i),t.removeMarksByPath(e,n,r,[i])},removeMarksByPath:function(t,e,n,r,i){if((i=q.createSet(i)).size){var o=t.value.document.assertNode(e);i.intersect(o.marks).isEmpty()||t.withoutNormalizing(function(){n+r<o.text.length&&t.splitNodeByPath(e,n+r),n>0&&(t.splitNodeByPath(e,n),e=z.increment(e),n=0),i.forEach(function(i){t.applyOperation({type:"remove_mark",path:e,offset:n,length:r,mark:i})})})}},removeAllMarksByPath:function(t,e){var n=t.state.document.assertNode(e);t.withoutNormalizing(function(){if("text"!==n.object){var r=!0,i=!1,o=void 0;try{for(var a,u=n.texts()[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var s=a.value,c=T(s,2),l=c[0],f=c[1],h=e.concat(f);t.removeMarksByPath(h,0,l.text.length,l.marks)}}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}}else t.removeMarksByPath(e,0,n.text.length,n.marks)})},removeNodeByPath:function(t,e){var n=t.value.document.assertNode(e);t.applyOperation({type:"remove_node",path:e,node:n})},removeTextByPath:function(t,e,n,r){var i=t.value,o=i.document,a=i.annotations,u=o.assertNode(e).text.slice(n,n+r);t.withoutNormalizing(function(){var r=!0,i=!1,o=void 0;try{for(var s,c=a.values()[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var l=s.value,f=l.start,h=l.end;t.isAtomic(l)&&(f.path.equals(e)&&f.offset<n&&(!h.path.equals(e)||h.offset>n)&&t.removeAnnotation(l))}}catch(t){i=!0,o=t}finally{try{!r&&c.return&&c.return()}finally{if(i)throw o}}t.applyOperation({type:"remove_text",path:e,offset:n,text:u})})},replaceNodeByPath:function(t,e,n){n=ct.create(n);var r=e.last(),i=z.lift(e);t.withoutNormalizing(function(){t.removeNodeByPath(e),t.insertNodeByPath(i,r,n)})},replaceTextByPath:function(t,e,n,r,i,o){t.withoutNormalizing(function(){t.removeTextByPath(e,n,r),t.insertTextByPath(e,n,i,o)})},setMarkByPath:function(t,e,n,r,i,o){i=q.create(i),o=q.createProperties(o);var a=t.value.document.assertNode(e);t.withoutNormalizing(function(){n+r<a.text.length&&t.splitNodeByPath(e,n+r),n>0&&(t.splitNodeByPath(e,n),e=z.increment(e),n=0),t.applyOperation({type:"set_mark",path:e,properties:i,newProperties:o})})},setNodeByPath:function(t,e,n){var r=t.value.document.assertNode(e);n=ct.createProperties(n);var i=h()(r,Object.keys(n));t.applyOperation({type:"set_node",path:e,properties:i,newProperties:n})},setTextByPath:function(t,e,n,r){var i=t.value.document.assertNode(e).text.length;t.replaceTextByPath(e,0,i,n,r)},splitNodeByPath:function(t,e,n){var r=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).target,i=void 0===r?null:r,o=t.value.document.getDescendant(e);t.applyOperation({type:"split_node",path:e,position:n,target:i,properties:{type:o.type,data:o.data}})},splitDescendantsByPath:function(t,e,n,r){if(e.equals(n))t.splitNodeByPath(n,r);else{var i=t.value.document,o=r,a=n;t.withoutNormalizing(function(){t.splitNodeByKey(n,r);var u=!0,s=!1,c=void 0;try{for(var l,f=i.ancestors(n)[Symbol.iterator]();!(u=(l=f.next()).done);u=!0){var h=l.value,d=T(h,2)[1],p=o;if(o=a.last()+1,a=d,t.splitNodeByPath(d,o,{target:p}),d.equals(e))break}}catch(t){s=!0,c=t}finally{try{!u&&f.return&&f.return()}finally{if(s)throw c}}})}},unwrapInlineByPath:function(t,e,n){var r=t.value,i=r.document,o=r.selection,a=i.assertNode(e),u=a.getFirstText(),s=a.getLastText(),c=o.moveToRangeOfNode(u,s);t.unwrapInlineAtRange(c,n)},unwrapBlockByPath:function(t,e,n){var r=t.value,i=r.document,o=r.selection,a=i.assertNode(e),u=a.getFirstText(),s=a.getLastText(),c=o.moveToRangeOfNode(u,s);t.unwrapBlockAtRange(c,n)},unwrapNodeByPath:function(t,e){var n=t.value.document;n.assertNode(e);var r=z.lift(e),i=n.assertNode(r),o=e.last(),a=r.last(),u=z.lift(r),s=0===o,c=o===i.nodes.size-1;t.withoutNormalizing(function(){if(1===i.nodes.size)t.moveNodeByPath(e,u,a+1),t.removeNodeByPath(r);else if(s)t.moveNodeByPath(e,u,a);else if(c)t.moveNodeByPath(e,u,a+1);else{var n=z.increment(e,1,r.size-1);n=n.set(n.size-1,0),t.splitNodeByPath(r,o),t.moveNodeByPath(n,u,a+1)}})},unwrapChildrenByPath:function(t,e){e=z.create(e);var n=t.value.document.assertNode(e),r=z.lift(e),i=e.last(),o=n.nodes;t.withoutNormalizing(function(){o.reverse().forEach(function(n,a){var u=o.size-a-1,s=e.push(u);t.moveNodeByPath(s,r,i+1)}),t.removeNodeByPath(e)})},wrapBlockByPath:function(t,e,n){n=(n=ft.create(n)).set("nodes",n.nodes.clear());var r=z.lift(e),i=e.last(),o=z.increment(e);t.withoutNormalizing(function(){t.insertNodeByPath(r,i,n),t.moveNodeByPath(o,e,0)})},wrapInlineByPath:function(t,e,n){n=(n=ot.create(n)).set("nodes",n.nodes.clear());var r=z.lift(e),i=e.last(),o=z.increment(e);t.withoutNormalizing(function(){t.insertNodeByPath(r,i,n),t.moveNodeByPath(o,e,0)})},wrapNodeByPath:function(t,e,n){"block"===(n=ct.create(n)).object?t.wrapBlockByPath(e,n):"inline"===n.object&&t.wrapInlineByPath(e,n)}},zt=function(t){Bt[t+"ByKey"]=function(e,n){for(var r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];var a=e.value.document.assertPath(n);e[t+"ByPath"].apply(e,[a].concat(i))}},Vt=!0,Ut=!1,Ht=void 0;try{for(var Wt,qt=["addMark","insertFragment","insertNode","insertText","mergeNode","removeAllMarks","removeMark","removeNode","removeText","replaceMarks","replaceNode","replaceText","setMark","setNode","setText","splitNode","unwrapBlock","unwrapChildren","unwrapInline","unwrapNode","wrapBlock","wrapInline","wrapNode"][Symbol.iterator]();!(Vt=(Wt=qt.next()).done);Vt=!0){zt(Wt.value)}}catch(t){Ut=!0,Ht=t}finally{try{!Vt&&qt.return&&qt.return()}finally{if(Ut)throw Ht}}Bt.moveNodeByKey=function(t,e,n){for(var r=arguments.length,i=Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=t.value.document,u=a.assertPath(e),s=a.assertPath(n);t.moveNodeByPath.apply(t,[u,s].concat(i))},Bt.splitDescendantsByKey=function(t,e,n){for(var r=arguments.length,i=Array(r>3?r-3:0),o=3;o<r;o++)i[o-3]=arguments[o];var a=t.value.document,u=a.assertPath(e),s=a.assertPath(n);t.splitDescendantsByPath.apply(t,[u,s].concat(i))};var Gt={};Gt.save=function(t,e){var n=t.operations,i=t.value.data,o=t.tmp,a=o.save,u=o.merge;if(!1!==a&&function(t){if("set_selection"===t.type){var e=t.newProperties,n=e.isFocused,r=e.anchor,i=e.focus;if(void 0!==n&&!r&&!i)return!1}return!0}(e)){var s,c,l=i.get("undos")||Object(r.List)(),f=l.last(),h=f&&f.last();if(null==u&&(0!==n.size?u=!0:(s=e,u=!!(c=h)&&("set_selection"===s.type&&"set_selection"===c.type||"insert_text"===s.type&&"insert_text"===c.type&&s.offset===c.offset+c.text.length&&s.path.equals(c.path)||"remove_text"===s.type&&"remove_text"===c.type&&s.offset+s.text.length===c.offset&&s.path.equals(c.path)))),u&&f){var d=f.push(e);l=(l=l.pop()).push(d)}else{var p=Object(r.List)([e]);l=l.push(p)}l.size>100&&(l=l.takeLast(100)),t.withoutSaving(function(){var e=Object(r.List)(),n=i.set("undos",l).set("redos",e);t.setData(n)})}},Gt.redo=function(t){var e=t.value.data,n=e.get("redos")||Object(r.List)(),i=e.get("undos")||Object(r.List)(),o=n.last();o&&t.withoutSaving(function(){t.withoutNormalizing(function(){o.forEach(function(e){var n=e,r=n.type,i=n.newProperties;"set_selection"===r&&(e=e.set("newProperties",p()(i,"isFocused"))),t.applyOperation(e)}),n=n.pop(),i=i.push(o);var r=e.set("undos",i).set("redos",n);t.setData(r)})})},Gt.undo=function(t){var e=t.value.data,n=e.get("redos")||Object(r.List)(),i=e.get("undos")||Object(r.List)(),o=i.last();o&&t.withoutSaving(function(){t.withoutNormalizing(function(){o.slice().reverse().map(function(t){return t.invert()}).forEach(function(e){var n=e,r=n.type,i=n.newProperties;"set_selection"===r&&(e=e.set("newProperties",p()(i,"isFocused"))),t.applyOperation(e)}),n=n.push(o),i=i.pop();var r=e.set("undos",i).set("redos",n);t.setData(r)})})},Gt.withoutMerging=function(t,e){var n=t.tmp.merge;t.tmp.merge=!1,e(t),t.tmp.merge=n},Gt.withoutSaving=function(t,e){var n=t.tmp.save;t.tmp.save=!1,e(t),t.tmp.save=n};var Yt={};function Xt(t,e){for(var n,r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];var a=(n=t.value.selection)[e].apply(n,i);t.select(a)}function Kt(t,e,n,r){var i=e.slice(0,1).toUpperCase()+e.slice(1),o=n.slice(0,1).toUpperCase()+n.slice(1),a=r.slice(0,1).toUpperCase()+r.slice(1),u="move"+i+"To"+o+"OfNode",s="text"===r?"getNode":"getClosest"+a,c=t.value,l=c.document,f=c.selection[e],h=l[s](f.key);h&&t[u](h)}function $t(t,e,n,r,i){var o=e.slice(0,1).toUpperCase()+e.slice(1),a=n.slice(0,1).toUpperCase()+n.slice(1),u=r.slice(0,1).toUpperCase()+r.slice(1),s=i.slice(0,1).toUpperCase()+i.slice(1),c="move"+o+"To"+a+"OfNode",l="text"===i?"getNode":"getClosest"+s,f="get"+u+s,h=t.value,d=h.document,p=h.selection[e],v=d[l](p.key);if(v){var g=d[f](v.key);g&&t[c](g)}}function Zt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(0!==n){if(n<0)return Jt(t,e,-n);var r=e.slice(0,1).toUpperCase()+e.slice(1),i=t.value,o=i.document,a=i.selection,u=a[e],s=o.hasVoidParent(u.path,t);if(!s&&u.offset-n>=0){var c=a["move"+r+"Backward"](n);t.select(c)}else{var l=o.getPreviousText(u.path);if(l){var f=o.getClosestBlock(u.path).hasNode(l.key),h=l&&o.hasVoidParent(l.key,t);if(t["move"+r+"ToEndOfNode"](l),!s&&!h&&f){var d=t.value.selection["move"+r+"Backward"](n);t.select(d)}}}}}function Jt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(0!==n){if(n<0)return Zt(t,e,-n);var r=e.slice(0,1).toUpperCase()+e.slice(1),i=t.value,o=i.document,a=i.selection,u=a[e],s=o.getNode(u.path),c=o.hasVoidParent(u.path,t);if(!c&&u.offset+n<=s.text.length){var l=a["move"+r+"Forward"](n);t.select(l)}else{var f=o.getNextText(u.path);if(f){var h=o.getClosestBlock(u.path).hasNode(f.key),d=o.hasVoidParent(f.key,t);if(t["move"+r+"ToStartOfNode"](f),!c&&!d&&h){var p=t.value.selection["move"+r+"Forward"](n);t.select(p)}}}}}function Qt(t,e){var n=t.value,r=n.document,i=n.selection[e],o=r.getClosestBlock(i.key),a=o.getOffset(i.key)+i.offset,u=o.text,s=It.getWordOffsetBackward(u,a);t.command(Zt,e,s>0?s:1)}function te(t,e){var n=t.value,r=n.document,i=n.selection[e],o=r.getClosestBlock(i.key),a=o.getOffset(i.key)+i.offset,u=o.text,s=It.getWordOffsetForward(u,a);t.command(Jt,e,s>0?s:1)}Yt.blur=function(t){t.select({isFocused:!1})},Yt.deselect=function(t){var e=K.create();t.select(e)},Yt.focus=function(t){t.select({isFocused:!0})},Yt.flip=function(t){t.command(Xt,"flip")},Yt.moveAnchorBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Zt,"anchor"].concat(n))},Yt.moveAnchorWordBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Qt,"anchor"].concat(n))},Yt.moveAnchorForward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Jt,"anchor"].concat(n))},Yt.moveAnchorWordForward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[te,"anchor"].concat(n))},Yt.moveAnchorTo=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveAnchorTo"].concat(n))},Yt.moveAnchorToEndOfBlock=function(t){t.command(Kt,"anchor","end","block")},Yt.moveAnchorToEndOfInline=function(t){t.command(Kt,"anchor","end","inline")},Yt.moveAnchorToEndOfDocument=function(t){t.moveAnchorToEndOfNode(t.value.document).moveToAnchor()},Yt.moveAnchorToEndOfNextBlock=function(t){t.command($t,"anchor","end","next","block")},Yt.moveAnchorToEndOfNextInline=function(t){t.command($t,"anchor","end","next","inline")},Yt.moveAnchorToEndOfNextText=function(t){t.command($t,"anchor","end","next","text")},Yt.moveAnchorToEndOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveAnchorToEndOfNode"].concat(n))},Yt.moveAnchorToEndOfPreviousBlock=function(t){t.command($t,"anchor","end","previous","block")},Yt.moveAnchorToEndOfPreviousInline=function(t){t.command($t,"anchor","end","previous","inline")},Yt.moveAnchorToEndOfPreviousText=function(t){t.command($t,"anchor","end","previous","text")},Yt.moveAnchorToEndOfText=function(t){t.command(Kt,"anchor","end","text")},Yt.moveAnchorToStartOfBlock=function(t){t.command(Kt,"anchor","start","block")},Yt.moveAnchorToStartOfDocument=function(t){t.moveAnchorToStartOfNode(t.value.document).moveToAnchor()},Yt.moveAnchorToStartOfInline=function(t){t.command(Kt,"anchor","start","inline")},Yt.moveAnchorToStartOfNextBlock=function(t){t.command($t,"anchor","start","next","block")},Yt.moveAnchorToStartOfNextInline=function(t){t.command($t,"anchor","start","next","inline")},Yt.moveAnchorToStartOfNextText=function(t){t.command($t,"anchor","start","next","text")},Yt.moveAnchorToStartOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveAnchorToStartOfNode"].concat(n))},Yt.moveAnchorToStartOfPreviousBlock=function(t){t.command($t,"anchor","start","previous","block")},Yt.moveAnchorToStartOfPreviousInline=function(t){t.command($t,"anchor","start","previous","inline")},Yt.moveAnchorToStartOfPreviousText=function(t){t.command($t,"anchor","start","previous","text")},Yt.moveAnchorToStartOfText=function(t){t.command(Kt,"anchor","start","text")},Yt.moveBackward=function(t){for(var e,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(e=t.moveAnchorBackward.apply(t,r)).moveFocusBackward.apply(e,r)},Yt.moveWordBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.moveFocusWordBackward.apply(t,n).moveToFocus()},Yt.moveEndBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Zt,"end"].concat(n))},Yt.moveEndWordBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Qt,"end"].concat(n))},Yt.moveEndForward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Jt,"end"].concat(n))},Yt.moveEndWordForward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[te,"end"].concat(n))},Yt.moveEndTo=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveEndTo"].concat(n))},Yt.moveEndToEndOfBlock=function(t){t.command(Kt,"end","end","block")},Yt.moveEndToEndOfDocument=function(t){t.moveEndToEndOfNode(t.value.document).moveToEnd()},Yt.moveEndToEndOfInline=function(t){t.command(Kt,"end","end","inline")},Yt.moveEndToEndOfNextBlock=function(t){t.command($t,"end","end","next","block")},Yt.moveEndToEndOfNextInline=function(t){t.command($t,"end","end","next","inline")},Yt.moveEndToEndOfNextText=function(t){t.command($t,"end","end","next","text")},Yt.moveEndToEndOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveEndToEndOfNode"].concat(n))},Yt.moveEndToEndOfPreviousBlock=function(t){t.command($t,"end","end","previous","block")},Yt.moveEndToEndOfPreviousInline=function(t){t.command($t,"end","end","previous","inline")},Yt.moveEndToEndOfPreviousText=function(t){t.command($t,"end","end","previous","text")},Yt.moveEndToEndOfText=function(t){t.command(Kt,"end","end","text")},Yt.moveEndToStartOfBlock=function(t){t.command(Kt,"end","start","block")},Yt.moveEndToStartOfDocument=function(t){t.moveEndToStartOfNode(t.value.document).moveToEnd()},Yt.moveEndToStartOfInline=function(t){t.command(Kt,"end","start","inline")},Yt.moveEndToStartOfNextBlock=function(t){t.command($t,"end","start","next","block")},Yt.moveEndToStartOfNextInline=function(t){t.command($t,"end","start","next","inline")},Yt.moveEndToStartOfNextText=function(t){t.command($t,"end","start","next","text")},Yt.moveEndToStartOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveEndToStartOfNode"].concat(n))},Yt.moveEndToStartOfPreviousBlock=function(t){t.command($t,"end","start","previous","block")},Yt.moveEndToStartOfPreviousInline=function(t){t.command($t,"end","start","previous","inline")},Yt.moveEndToStartOfPreviousText=function(t){t.command($t,"end","start","previous","text")},Yt.moveEndToStartOfText=function(t){t.command(Kt,"end","start","text")},Yt.moveFocusBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Zt,"focus"].concat(n))},Yt.moveFocusWordBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Qt,"focus"].concat(n))},Yt.moveFocusForward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Jt,"focus"].concat(n))},Yt.moveFocusWordForward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[te,"focus"].concat(n))},Yt.moveFocusTo=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveFocusTo"].concat(n))},Yt.moveFocusToEndOfBlock=function(t){t.command(Kt,"focus","end","block")},Yt.moveFocusToEndOfDocument=function(t){t.moveFocusToEndOfNode(t.value.document).moveToFocus()},Yt.moveFocusToEndOfInline=function(t){t.command(Kt,"focus","end","inline")},Yt.moveFocusToEndOfNextBlock=function(t){t.command($t,"focus","end","next","block")},Yt.moveFocusToEndOfNextInline=function(t){t.command($t,"focus","end","next","inline")},Yt.moveFocusToEndOfNextText=function(t){t.command($t,"focus","end","next","text")},Yt.moveFocusToEndOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveFocusToEndOfNode"].concat(n))},Yt.moveFocusToEndOfPreviousBlock=function(t){t.command($t,"focus","end","previous","block")},Yt.moveFocusToEndOfPreviousInline=function(t){t.command($t,"focus","end","previous","inline")},Yt.moveFocusToEndOfPreviousText=function(t){t.command($t,"focus","end","previous","text")},Yt.moveFocusToEndOfText=function(t){t.command(Kt,"focus","end","text")},Yt.moveFocusToStartOfBlock=function(t){t.command(Kt,"focus","start","block")},Yt.moveFocusToStartOfDocument=function(t){t.moveFocusToStartOfNode(t.value.document).moveToFocus()},Yt.moveFocusToStartOfInline=function(t){t.command(Kt,"focus","start","inline")},Yt.moveFocusToStartOfNextBlock=function(t){t.command($t,"focus","start","next","block")},Yt.moveFocusToStartOfNextInline=function(t){t.command($t,"focus","start","next","inline")},Yt.moveFocusToStartOfNextText=function(t){t.command($t,"focus","start","next","text")},Yt.moveFocusToStartOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveFocusToStartOfNode"].concat(n))},Yt.moveFocusToStartOfPreviousBlock=function(t){t.command($t,"focus","start","previous","block")},Yt.moveFocusToStartOfPreviousInline=function(t){t.command($t,"focus","start","previous","inline")},Yt.moveFocusToStartOfPreviousText=function(t){t.command($t,"focus","start","previous","text")},Yt.moveFocusToStartOfText=function(t){t.command(Kt,"focus","start","text")},Yt.moveForward=function(t){for(var e,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(e=t.moveAnchorForward.apply(t,r)).moveFocusForward.apply(e,r)},Yt.moveWordForward=function(t){for(var e,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];(e=t.moveFocusWordForward.apply(t,r)).moveToFocus.apply(e,r)},Yt.moveStartBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Zt,"start"].concat(n))},Yt.moveStartWordBackward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Qt,"start"].concat(n))},Yt.moveStartForward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Jt,"start"].concat(n))},Yt.moveStartWordForward=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[te,"start"].concat(n))},Yt.moveStartTo=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveStartTo"].concat(n))},Yt.moveStartToEndOfBlock=function(t){t.command(Kt,"start","end","block")},Yt.moveStartToEndOfDocument=function(t){t.moveStartToEndOfNode(t.value.document).moveToStart()},Yt.moveStartToEndOfInline=function(t){t.command(Kt,"start","end","inline")},Yt.moveStartToEndOfNextBlock=function(t){t.command($t,"start","end","next","block")},Yt.moveStartToEndOfNextInline=function(t){t.command($t,"start","end","next","inline")},Yt.moveStartToEndOfNextText=function(t){t.command($t,"start","end","next","text")},Yt.moveStartToEndOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveStartToEndOfNode"].concat(n))},Yt.moveStartToEndOfPreviousBlock=function(t){t.command($t,"start","end","previous","block")},Yt.moveStartToEndOfPreviousInline=function(t){t.command($t,"start","end","previous","inline")},Yt.moveStartToEndOfPreviousText=function(t){t.command($t,"start","end","previous","text")},Yt.moveStartToEndOfText=function(t){t.command(Kt,"start","end","text")},Yt.moveStartToStartOfBlock=function(t){t.command(Kt,"start","start","block")},Yt.moveStartToStartOfDocument=function(t){t.moveStartToStartOfNode(t.value.document).moveToStart()},Yt.moveStartToStartOfInline=function(t){t.command(Kt,"start","start","inline")},Yt.moveStartToStartOfNextBlock=function(t){t.command($t,"start","start","next","block")},Yt.moveStartToStartOfNextInline=function(t){t.command($t,"start","start","next","inline")},Yt.moveStartToStartOfNextText=function(t){t.command($t,"start","start","next","text")},Yt.moveStartToStartOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveStartToStartOfNode"].concat(n))},Yt.moveStartToStartOfPreviousBlock=function(t){t.command($t,"start","start","previous","block")},Yt.moveStartToStartOfPreviousInline=function(t){t.command($t,"start","start","previous","inline")},Yt.moveStartToStartOfPreviousText=function(t){t.command($t,"start","start","previous","text")},Yt.moveStartToStartOfText=function(t){t.command(Kt,"start","start","text")},Yt.moveTo=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveTo"].concat(n))},Yt.moveToAnchor=function(t){t.command(Xt,"moveToAnchor")},Yt.moveToEnd=function(t){t.command(Xt,"moveToEnd")},Yt.moveToEndOfBlock=function(t){t.moveEndToEndOfBlock().moveToEnd()},Yt.moveToEndOfDocument=function(t){t.moveEndToEndOfNode(t.value.document).moveToEnd()},Yt.moveToEndOfInline=function(t){t.moveEndToEndOfInline().moveToEnd()},Yt.moveToEndOfNextBlock=function(t){t.moveEndToEndOfNextBlock().moveToEnd()},Yt.moveToEndOfNextInline=function(t){t.moveEndToEndOfNextInline().moveToEnd()},Yt.moveToEndOfNextText=function(t){t.moveEndToEndOfNextText().moveToEnd()},Yt.moveToEndOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveToEndOfNode"].concat(n))},Yt.moveToEndOfPreviousBlock=function(t){t.moveStartToEndOfPreviousBlock().moveToStart()},Yt.moveToEndOfPreviousInline=function(t){t.moveStartToEndOfPreviousInline().moveToStart()},Yt.moveToEndOfPreviousText=function(t){t.moveStartToEndOfPreviousText().moveToStart()},Yt.moveToEndOfText=function(t){t.moveEndToEndOfText().moveToEnd()},Yt.moveToFocus=function(t){t.command(Xt,"moveToFocus")},Yt.moveToRangeOfDocument=function(t){t.moveToRangeOfNode(t.value.document)},Yt.moveToRangeOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveToRangeOfNode"].concat(n))},Yt.moveToStart=function(t){t.command(Xt,"moveToStart")},Yt.moveToStartOfBlock=function(t){t.moveStartToStartOfBlock().moveToStart()},Yt.moveToStartOfDocument=function(t){t.moveStartToStartOfNode(t.value.document).moveToStart()},Yt.moveToStartOfInline=function(t){t.moveStartToStartOfInline().moveToStart()},Yt.moveToStartOfNextBlock=function(t){t.moveEndToStartOfNextBlock().moveToEnd()},Yt.moveToStartOfNextInline=function(t){t.moveEndToStartOfNextInline().moveToEnd()},Yt.moveToStartOfNextText=function(t){t.moveEndToStartOfNextText().moveToEnd()},Yt.moveToStartOfNode=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"moveToStartOfNode"].concat(n))},Yt.moveToStartOfPreviousBlock=function(t){t.moveStartToStartOfPreviousBlock().moveToStart()},Yt.moveToStartOfPreviousInline=function(t){t.moveStartToStartOfPreviousInline().moveToStart()},Yt.moveToStartOfPreviousText=function(t){t.moveStartToStartOfPreviousText().moveToStart()},Yt.moveToStartOfText=function(t){t.moveStartToStartOfText().moveToStart()},Yt.select=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e=K.createProperties(e);var i=n.snapshot,o=void 0!==i&&i,a=t.value,u=a.document,s=a.selection,c={},l=s.setProperties(e);for(var f in l=u.resolveSelection(l),e=h()(l,Object.keys(e)))!0!==o&&Object(r.is)(e[f],s[f])||(c[f]=e[f]);if(s.marks&&!c.marks&&(c.anchor||c.focus)&&(c.marks=null),0!==Object.keys(c).length){var d=h()(s.toJSON(),Object.keys(c));t.applyOperation({type:"set_selection",value:a,properties:d,newProperties:c},o?{skip:!1,merge:!1}:{})}},Yt.setAnchor=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"setAnchor"].concat(n))},Yt.setEnd=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"setEnd"].concat(n))},Yt.setFocus=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"setFocus"].concat(n))},Yt.setStart=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.command.apply(t,[Xt,"setStart"].concat(n))},Yt.snapshotSelection=function(t){t.withoutMerging(function(){t.select(t.value.selection,{snapshot:!0})})};var ee={};function ne(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{onConstruct:function(e,n){for(var r in t)e.registerQuery(r);return n()},onQuery:function(e,n,r){var i=e.type,o=e.args,a=t[i];if(!a)return r();var u=a.apply(void 0,[n].concat(M(o)));return void 0===u?r():u}}}ee.setData=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.value,r=dt.createProperties({data:e}),i=h()(n,Object.keys(r));t.applyOperation({type:"set_value",properties:i,newProperties:r})},ee.addAnnotation=function(t,e){e=et.create(e),t.applyOperation({type:"add_annotation",annotation:e})},ee.removeAnnotation=function(t,e){e=et.create(e),t.applyOperation({type:"remove_annotation",annotation:e})},ee.setAnnotation=function(t,e,n){e=et.create(e),n=et.createProperties(n),t.applyOperation({type:"set_annotation",properties:e,newProperties:n})},ee.setAnnotations=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=t.value,r=dt.createProperties({annotations:e}),i=h()(n,Object.keys(r));t.applyOperation({type:"set_value",properties:i,newProperties:r})};var re=function(t){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,e);var r=A(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));for(var i in r.code=t,n)r[i]=n[i];return Error.captureStackTrace?Error.captureStackTrace(r,r.constructor):r.stack=(new Error).stack,r}return O(e,t),e}(Error);function ie(t){var e=t.rules,n=t.document,r=t.blocks,i=t.inlines,o=t.marks,a=t.annotations,u=t.decorations,s=[];if(e&&(s=s.concat(e)),n&&s.push(E({match:[{object:"document"}]},n)),r)for(var c in r)s.push(E({match:[{object:"block",type:c}]},r[c]));if(i)for(var l in i)s.push(E({match:[{object:"inline",type:l}]},i[l]));if(o)for(var f in o)s.push(E({match:[{object:"mark",type:f}]},o[f]));if(a)for(var h in a)s.push(E({match:[{object:"annotation",type:h}]},a[h]));if(u)for(var d in u)s.push(E({match:[{object:"decoration",type:d}]},u[d]));function p(t,e,n){var r=s.filter(function(e){return oe(t,e.match)}),i=ae(t,r,s,{every:!0});return i?new re(i.code,i):n()}return[{normalizeNode:function(t,e,n){var r=p(t,0,function(){});return r?function(){var t=r.rule,n=e.operations.size;t.normalize&&t.normalize(e,r),e.operations.size===n&&function(t,e){var n=e.code,r=e.node,i=e.child,o=e.next,a=e.previous,u=e.key,s=e.mark;switch(n){case"child_max_invalid":case"child_object_invalid":case"child_type_invalid":case"child_unknown":case"first_child_object_invalid":case"first_child_type_invalid":case"last_child_object_invalid":case"last_child_type_invalid":return"text"===i.object&&"block"===r.object&&1===r.nodes.size?t.removeNodeByKey(r.key):t.removeNodeByKey(i.key);case"previous_sibling_object_invalid":case"previous_sibling_type_invalid":return"text"===a.object&&"block"===r.object&&1===r.nodes.size?t.removeNodeByKey(r.key):t.removeNodeByKey(a.key);case"next_sibling_object_invalid":case"next_sibling_type_invalid":return"text"===o.object&&"block"===r.object&&1===r.nodes.size?t.removeNodeByKey(r.key):t.removeNodeByKey(o.key);case"child_min_invalid":case"node_text_invalid":case"parent_object_invalid":case"parent_type_invalid":return"document"===r.object?r.nodes.forEach(function(e){return t.removeNodeByKey(e.key)}):t.removeNodeByKey(r.key);case"node_data_invalid":return void 0===r.data.get(u)&&"document"!==r.object?t.removeNodeByKey(r.key):t.setNodeByKey(r.key,{data:r.data.delete(u)});case"node_mark_invalid":return r.getTexts().forEach(function(e){return t.removeMarkByKey(e.key,0,e.text.length,s)});default:t.removeNodeByKey(r.key)}}(e,r)}:n()},validateNode:p},ne({isAtomic:function(t,e){var n=s.find(function(t){return"isAtomic"in t&&oe(e,t.match)});return n&&n.isAtomic},isVoid:function(t,e){var n=s.find(function(t){return"isVoid"in t&&oe(e,t.match)});return n&&n.isVoid}})]}function oe(t,e){return!ae(t,e)}function ae(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.every,o=void 0!==i&&i,a=r.match;if("function"==typeof e)return e(t,void 0===a?null:a)?null:le("node_invalid",{rule:e,node:t});if(Array.isArray(e)){var u=e.length?e:[{}],s=void 0,c=!0,l=!1,f=void 0;try{for(var h,d=u[Symbol.iterator]();!(c=(h=d.next()).done);c=!0){var p=ae(t,h.value,n);if(s=s||p,o&&p)return p;if(!o&&!p)return}}catch(t){l=!0,f=t}finally{try{!c&&d.return&&d.return()}finally{if(l)throw f}}return s}return function(t,e){if(null==e.object)return;if(e.object===t.object)return;if("function"==typeof e.object&&e.object(t.object))return;return le("node_object_invalid",{rule:e,node:t})}(t,e)||function(t,e){if(null==e.type)return;if(e.type===t.type)return;if("function"==typeof e.type&&e.type(t.type))return;return le("node_type_invalid",{rule:e,node:t})}(t,e)||function(t,e){if(null==e.data)return;if(null==t.data)return;if("function"==typeof e.data){if(e.data(t.data))return;return le("node_data_invalid",{rule:e,node:t})}for(var n in e.data){var r=e.data[n],i=t.data&&t.data.get(n),o="function"==typeof r?r(i):r===i;if(!o)return le("node_data_invalid",{rule:e,node:t,key:n,value:i})}}(t,e)||function(t,e){if(null==e.marks)return;var n="text"===t.object?t.marks.toArray():t.getMarks().toArray(),r=function(n){var r=e.marks.some(function(t){return"function"==typeof t.type?t.type(n.type):t.type===n.type});return r?"continue":{v:le("node_mark_invalid",{rule:e,node:t,mark:n})}},i=!0,o=!1,a=void 0;try{for(var u,s=n[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=u.value,l=r(c);switch(l){case"continue":continue;default:if("object"===(void 0===l?"undefined":w(l)))return l.v}}}catch(t){o=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}}(t,e)||function(t,e){if(null==e.text)return;var n=t.text;if("function"==typeof e.text?e.text(n):e.text.test(n))return;return le("node_text_invalid",{rule:e,node:t,text:n})}(t,e)||function(t,e){if(null==e.first)return;var n=t.nodes.first();if(!n)return;var r=ae(n,e.first);if(!r)return;return r.rule=e,r.node=t,r.child=n,r.code=r.code.replace("node_","first_child_"),r}(t,e)||function(t,e){if(null==e.last)return;var n=t.nodes.last();if(!n)return;var r=ae(n,e.last);if(!r)return;return r.rule=e,r.node=t,r.child=n,r.code=r.code.replace("node_","last_child_"),r}(t,e)||function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(null==t.nodes)return;var r=t.nodes,i=null!=e.nodes?e.nodes.slice():[],o=0,a=0,u=null,s=-1,c=null,l=null,f=null,h=null,d=null;function p(){return 0!==i.length&&(c=i.shift(),a=o,o=0,u=c.min||null,l=c.max||null,!0)}function v(){return h=(s+=1)?r.get(s-1):null,f=r.get(s),d=r.get(s+1),!!f&&(a=o,o+=1,!0)}function g(){s>0&&(s-=1,o=a)}null!=e.nodes&&p();for(;v();){var y=ue(t,f,n)||se(t,f,h,s,n)||ce(t,f,d,s,n);if(y)return y;if(null!=e.nodes){if(!c)return le("child_unknown",{rule:e,node:t,child:f,index:s});if(c.match){var m=ae(f,c.match);if(m){if(null!=l&&o-1>l)return g(),le("child_max_invalid",{rule:e,node:t,index:s,child:r.get(s),count:o,limit:l});var b=u;if(p()){if(a-1>=b){s-=1;continue}return null==ae(f,c.match)?(g(),le("child_min_invalid",{rule:e,node:t,index:s,count:a-1,limit:b})):(m.rule=e,m.node=t,m.child=f,m.index=s,m.code=m.code.replace("node_","child_"),m)}return null!=l&&o>l?le("child_unknown",{rule:e,node:t,child:f,index:s}):(m.rule=e,m.node=t,m.child=f,m.index=s,m.code=m.code.replace("node_","child_"),m)}}}}if(null!=l&&o>l)return le("child_max_invalid",{rule:e,node:t,index:s-1,count:o,child:r.get(s-1),limit:l});if(null!=e.nodes)do{if(o<u)return le("child_min_invalid",{rule:e,node:t,index:s,count:o,limit:u})}while(p())}(t,e,n)}function ue(t,e,n){var r=!0,i=!1,o=void 0;try{for(var a,u=n[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var s=a.value;if(null!=s.parent&&oe(e,s.match)){var c=ae(t,s.parent);if(c)return c.rule=s,c.parent=t,c.node=e,c.code=c.code.replace("node_","parent_"),c}}}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}}function se(t,e,n,r,i){if(n){var o=!0,a=!1,u=void 0;try{for(var s,c=i[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value;if(null!=l.previous&&oe(e,l.match)){var f=ae(n,l.previous);if(f)return f.rule=l,f.node=t,f.child=e,f.index=r,f.previous=n,f.code=f.code.replace("node_","previous_sibling_"),f}}}catch(t){a=!0,u=t}finally{try{!o&&c.return&&c.return()}finally{if(a)throw u}}}}function ce(t,e,n,r,i){if(n){var o=!0,a=!1,u=void 0;try{for(var s,c=i[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value;if(null!=l.next&&oe(e,l.match)){var f=ae(n,l.next,[],{match:e});if(f)return f.rule=l,f.node=t,f.child=e,f.index=r,f.next=n,f.code=f.code.replace("node_","next_sibling_"),f}}}catch(t){a=!0,u=t}finally{try{!o&&c.return&&c.return()}finally{if(a)throw u}}}}function le(t,e){return E({code:t},e)}function fe(t){t.value.selection.isExpanded&&t.delete()}var he={};he.addMark=function(t,e){e=q.create(e);var n=t.value,r=n.document,i=n.selection;if(i.isExpanded)t.addMarkAtRange(i,e);else if(i.marks){var o=i.marks.add(e),a=i.set("marks",o);t.select(a)}else{var u=r.getActiveMarksAtRange(i).add(e),s=i.set("marks",u);t.select(s)}},he.addMarks=function(t,e){e.forEach(function(e){return t.addMark(e)})},he.delete=function(t){var e=t.value.selection;t.deleteAtRange(e),t.moveToFocus()},he.deleteBackward=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=t.value.selection;n.isExpanded?t.delete():t.deleteBackwardAtRange(n,e)},he.deleteCharBackward=function(t){var e=t.value.selection;e.isExpanded?t.delete():t.deleteCharBackwardAtRange(e)},he.deleteLineBackward=function(t){var e=t.value.selection;e.isExpanded?t.delete():t.deleteLineBackwardAtRange(e)},he.deleteWordBackward=function(t){var e=t.value.selection;e.isExpanded?t.delete():t.deleteWordBackwardAtRange(e)},he.deleteForward=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=t.value.selection;n.isExpanded?t.delete():t.deleteForwardAtRange(n,e)},he.deleteCharForward=function(t){var e=t.value.selection;e.isExpanded?t.delete():t.deleteCharForwardAtRange(e)},he.deleteLineForward=function(t){var e=t.value.selection;e.isExpanded?t.delete():t.deleteLineForwardAtRange(e)},he.deleteWordForward=function(t){var e=t.value.selection;e.isExpanded?t.delete():t.deleteWordForwardAtRange(e)},he.insertBlock=function(t,e){fe(t),e=ft.create(e);var n=t.value.selection;t.insertBlockAtRange(n,e);var r=t.value.document.getNode(e.key);r&&t.moveToEndOfNode(r)},he.insertFragment=function(t,e){if(e.nodes.size){fe(t);var n=t.value,r=n,i=r.document,o=r.selection,a=o.start,u=Array.from(i.texts(),function(t){return T(t,1)[0].key});t.insertFragmentAtRange(o,e);var s=(i=(n=t.value).document).getTexts().filter(function(t){return!u.includes(t.key)});if(0!==s.size){var c=e.text.length,l=i.getNode(a.key)||s.first(),f=s.last()||l;if(l!==f){var h=i.getCommonAncestor(l.key,f.key),d=h.getOffset(l.key)+(a.key===l.key?a.offset:0);f=h.getTextAtOffset(d+c-1)||f,t.moveTo(f.key,d+c-h.getOffset(f.key))}else t.moveTo(f.key,c)}}},he.insertInline=function(t,e){fe(t),e=ot.create(e);var n=t.value.selection;t.insertInlineAtRange(n,e);var r=t.value.document.getNode(e.key);r&&t.moveToEndOfNode(r)},he.insertText=function(t,e,n){fe(t);var r=t.value,i=r.document,o=r.selection;n=n||o.marks||i.getInsertMarksAtRange(o),t.withoutNormalizing(function(){t.insertTextAtRange(o,e,n),o.marks&&i!==t.value.document&&t.select({marks:null})})},he.removeMark=function(t,e){e=q.create(e);var n=t.value,r=n.document,i=n.selection;if(i.isExpanded)t.removeMarkAtRange(i,e);else if(i.marks){var o=i.marks.remove(e),a=i.set("marks",o);t.select(a)}else{var u=r.getActiveMarksAtRange(i).remove(e),s=i.set("marks",u);t.select(s)}},he.replaceMark=function(t,e,n){t.removeMark(e),t.addMark(n)},he.setBlocks=function(t,e){var n=t.value.selection;t.setBlocksAtRange(n,e)},he.setInlines=function(t,e){var n=t.value.selection;t.setInlinesAtRange(n,e)},he.splitBlock=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;fe(t);var n=t.value,r=n.selection,i=n.document,o=r.marks||i.getInsertMarksAtRange(r);t.splitBlockAtRange(r,e).moveToEnd(),o&&0!==o.size&&t.select({marks:o})},he.splitInline=function(t,e){fe(t);var n=t.value.selection;t.splitInlineAtRange(n,e)},he.toggleMark=function(t,e){e=q.create(e),t.value.activeMarks.has(e)?t.removeMark(e):t.addMark(e)},he.unwrapBlock=function(t,e){var n=t.value.selection;t.unwrapBlockAtRange(n,e)},he.unwrapInline=function(t,e){var n=t.value.selection;t.unwrapInlineAtRange(n,e)},he.wrapBlock=function(t,e){var n=t.value.selection;t.wrapBlockAtRange(n,e)},he.wrapInline=function(t,e){var n=t.value.selection;t.wrapInlineAtRange(n,e)},he.wrapText=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=t.value.selection;t.wrapTextAtRange(r,e,n),r.isCollapsed&&t.moveStartBackward(e.length),t.moveEndBackward(n.length),r.isForward!==t.value.selection.isForward&&t.flip()};var de=c()("slate:editor"),pe=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,t);var i=n.controller,o=void 0===i?this:i,a=n.construct,u=void 0===a||a,s=e.onChange,c=void 0===s?function(){}:s,l=e.plugins,f=void 0===l?[]:l,h=e.readOnly,d=void 0!==h&&h,p=e.value,v=void 0===p?dt.create():p;this.controller=o,this.middleware={},this.onChange=c,this.operations=Object(r.List)(),this.readOnly=null,this.value=null,this.tmp={dirty:[],flushing:!1,merge:null,normalize:!0,save:!0},function t(e,n){if(Array.isArray(n))return void n.forEach(function(n){return t(e,n)});if(null==n)return;var r=n.commands,i=n.queries,o=n.schema,a=C(n,["commands","queries","schema"]);if(r){var u=St(r);t(e,u)}if(i){var s=ne(i);t(e,s)}if(o){var c=ie(o);t(e,c)}for(var l in a){var f=a[l],h=e.middleware[l]=e.middleware[l]||[];h.push(f)}}(this,function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).plugins,e=void 0===t?[]:t,n=St(E({},Ft,Bt,Gt,Yt,ee,he)),r=ne({isAtomic:function(){return!1},isVoid:function(){return!1}});return[ie({rules:[{match:{object:"document"},nodes:[{match:{object:"block"}}]},{match:{object:"block",first:{object:"block"}},nodes:[{match:{object:"block"}}]},{match:{object:"block",first:[{object:"inline"},{object:"text"}]},nodes:[{match:[{object:"inline"},{object:"text"}]}]},{match:{object:"inline"},nodes:[{match:[{object:"inline"},{object:"text"}]}]},{match:[{object:"block"},{object:"inline"}],nodes:[{min:1}],normalize:function(t,e){var n=e.code,r=e.node;"child_min_invalid"===n&&r.nodes.isEmpty()&&t.insertNodeByKey(r.key,0,st.create())}},{match:{object:"block"},first:[{object:"block"},{object:"text"}],last:[{object:"block"},{object:"text"}],normalize:function(t,e){var n=e.code,r=e.node,i=st.create(),o=void 0;if("first_child_object_invalid"===n)o=0;else{if("last_child_object_invalid"!==n)return;o=r.nodes.size}t.insertNodeByKey(r.key,o,i)}},{match:{object:"inline"},first:[{object:"block"},{object:"text"}],last:[{object:"block"},{object:"text"}],previous:[{object:"block"},{object:"text"}],next:[{object:"block"},{object:"text"}],normalize:function(t,e){var n=e.code,r=e.node,i=e.index,o=st.create(),a=void 0;if("first_child_object_invalid"===n)a=0;else if("last_child_object_invalid"===n)a=r.nodes.size;else if("previous_sibling_object_invalid"===n)a=i;else{if("next_sibling_object_invalid"!==n)return;a=i+1}t.insertNodeByKey(r.key,a,o)}},{match:{object:"text"},next:function(t,e){return"text"!==t.object||!e.marks.equals(t.marks)},normalize:function(t,e){var n=e.code,r=e.next;"next_sibling_invalid"===n&&t.mergeNodeByKey(r.key)}},{match:{object:"text"},previous:function(t){return"text"!==t.object||""!==t.text},next:function(t){return"text"!==t.object||""!==t.text},normalize:function(t,e){var n=e.code,r=e.next,i=e.previous;"next_sibling_invalid"===n?t.removeNodeByKey(r.key):"previous_sibling_invalid"===n&&t.removeNodeByKey(i.key)}}]})].concat(M(e),[n,r])}({plugins:f})),u&&(this.run("onConstruct"),this.setReadOnly(d),this.setValue(v,n))}return S(t,[{key:"applyOperation",value:function(t){var e=this,n=this.operations,r=this.controller,i=this.value;o()(t)&&(t=E({},t,{value:i})),t=xt.create(t),this.withoutNormalizing(function(){r.save(t),i=e.value}),de("apply",{operation:t}),this.value=t.apply(i),this.operations=n.push(t);var a=function(t){var e=t.type,n=t.node,r=t.path,i=t.newPath;switch(e){case"add_mark":case"insert_text":case"remove_mark":case"remove_text":case"set_mark":case"set_node":var o=z.getAncestors(r).toArray();return[].concat(M(o),[r]);case"insert_node":var a=n.getKeysToPathsTable(),u=Object.values(a).map(function(t){return r.concat(t)}),s=z.getAncestors(r).toArray();return[].concat(M(s),[r],M(u));case"split_node":var c=z.getAncestors(r).toArray(),l=z.increment(r);return[].concat(M(c),[r,l]);case"merge_node":var f=z.getAncestors(r).toArray(),h=z.decrement(r);return[].concat(M(f),[h]);case"move_node":if(z.isEqual(r,i))return[];var d=z.getAncestors(r).reduce(function(e,n){return e.push.apply(e,M(z.transform(n,t).toArray())),e},[]),p=z.getAncestors(i).reduce(function(e,n){return e.push.apply(e,M(z.transform(n,t).toArray())),e},[]);return[].concat(M(d),M(p));case"remove_node":var v=z.getAncestors(r).toArray();return[].concat(M(v));default:return[]}}(t),u=this.tmp.dirty.map(function(e){return e=z.create(e),z.transform(e,t).toArray()}),s={},c=Array.prototype.concat.apply(a,u);return this.tmp.dirty=[],c.forEach(function(t){var n=t.join(",");s[n]||e.tmp.dirty.push(t),s[n]=!0}),this.tmp.flushing||(this.tmp.flushing=!0,Promise.resolve().then(function(){return e.flush()})),r}},{key:"flush",value:function(){this.run("onChange");var t=this.value,e=this.operations,n=this.controller,i={value:t,operations:e};return this.operations=Object(r.List)(),this.tmp.flushing=!1,this.onChange(i),n}},{key:"command",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=this.controller;if("function"==typeof t)return t.apply(void 0,[i].concat(n)),ve(this),i;de("command",{type:t,args:n});var o={type:t,args:n};return this.run("onCommand",o),ve(this),i}},{key:"hasCommand",value:function(t){var e=this.controller;return t in e&&e[t].__command}},{key:"hasQuery",value:function(t){var e=this.controller;return t in e&&e[t].__query}},{key:"normalize",value:function(){var t=this.value,e=this.controller,n=t.document,r=n.getKeysToPathsTable(),i=Object.values(r).map(z.create);this.tmp.dirty=this.tmp.dirty.concat(i),ve(this);var o=t.selection;return n=t.document,o.isUnset&&n.nodes.size&&e.moveToStartOfDocument(),e}},{key:"query",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=this.controller;if("function"==typeof t)return t.apply(void 0,[i].concat(n));de("query",{type:t,args:n});var o={type:t,args:n};return this.run("onQuery",o)}},{key:"registerCommand",value:function(t){var e=this,n=this.controller;if(t in n&&n[t].__command)return n;Object(u.a)(!(t in n),"You cannot register a `"+t+"` command because it would overwrite an existing property of the `Editor`.");var r=function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.command.apply(e,[t].concat(r))};return n[t]=r,r.__command=!0,n}},{key:"registerQuery",value:function(t){var e=this,n=this.controller;if(t in n&&n[t].__query)return n;Object(u.a)(!(t in n),"You cannot register a `"+t+"` query because it would overwrite an existing property of the `Editor`.");var r=function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.query.apply(e,[t].concat(r))};return n[t]=r,r.__query=!0,n}},{key:"run",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=this.controller,o=this.middleware[t]||[],a=0;function s(){var t=o[a++];if(t){for(var e=arguments.length,r=Array(e),u=0;u<e;u++)r[u]=arguments[u];return r.length&&(n=r),t.apply(void 0,M(n).concat([i,s]))}}return Object.defineProperty(s,"change",{get:function(){Object(u.a)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),Object.defineProperty(s,"onChange",{get:function(){Object(u.a)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),Object.defineProperty(s,"props",{get:function(){Object(u.a)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),Object.defineProperty(s,"schema",{get:function(){Object(u.a)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),Object.defineProperty(s,"stack",{get:function(){Object(u.a)(!1,"As of Slate 0.42, the `editor` is no longer passed as the third argument to event handlers. You can access it via `change.editor` instead.")}}),s()}},{key:"setReadOnly",value:function(t){return this.readOnly=t,this}},{key:"setValue",value:function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).normalize,n=void 0===e?t!==this.value:e;return this.value=t,n&&this.normalize(),this}},{key:"withoutNormalizing",value:function(t){var e=this.controller,n=this.tmp.normalize;return this.tmp.normalize=!1,t(e),this.tmp.normalize=n,ve(this),e}},{key:"change",value:function(t){Object(a.a)(!1,"As of Slate 0.43 the `change` object has been replaced with `editor`, so the `editor.change()` method is deprecated.`");for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.apply(void 0,[this.controller].concat(n))}},{key:"call",value:function(t){Object(a.a)(!1,"As of Slate 0.43 the `editor.call(fn)` method has been deprecated, please use `editor.command(fn)` instead.");for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(void 0,[this.controller].concat(n)),this.controller}},{key:"applyOperations",value:function(t){var e=this;return Object(a.a)(!1,"As of Slate 0.43 the `applyOperations` method is deprecated, please apply each operation in a loop instead."),t.forEach(function(t){return e.applyOperation(t)}),this.controller}},{key:"setOperationFlag",value:function(t,e){return Object(a.a)(!1,"As of slate@0.41 the `change.setOperationFlag` method has been deprecated."),this.tmp[t]=e,this}},{key:"getFlag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(a.a)(!1,"As of slate@0.41 the `change.getFlag` method has been deprecated."),void 0!==e[t]?e[t]:this.tmp[t]}},{key:"unsetOperationFlag",value:function(t){return Object(a.a)(!1,"As of slate@0.41 the `change.unsetOperationFlag` method has been deprecated."),delete this.tmp[t],this}},{key:"withoutNormalization",value:function(t){return Object(a.a)(!1,"As of slate@0.41 the `change.withoutNormalization` helper has been renamed to `change.withoutNormalizing`."),this.withoutNormalizing(t)}},{key:"editor",get:function(){return Object(a.a)(!1,"As of Slate 0.43 the `change` object has been replaced with `editor`, so you don't need to access `change.editor`."),this.controller}}]),t}();function ve(t){t.tmp.normalize&&t.tmp.dirty.length&&t.withoutNormalizing(function(){for(;t.tmp.dirty.length;){var e=t.tmp.dirty.pop();ge(t,e)}})}function ge(t,e){for(var n=t.controller,r=t.value,i=r.document,o=i.assertNode(e),a=0,u=100+("text"===o.object?1:o.nodes.size);o;){var s=o.normalize(n);if(!s)break;s(n),i=(r=t.value).document;var c=o.key,l=i.getDescendant(e);if(l&&l.key===c)o=l;else{if(!(l=i.getDescendant(c)))break;o=l,e=i.getPath(c)}if(++a>u)throw new Error("A schema rule could not be normalized after sufficient iterations. This is usually due to a `rule.normalize` or `plugin.normalizeNode` function of a schema being incorrectly written, causing an infinite loop.")}}var ye={marks:void 0,text:void 0},me=function(t){function e(){return _(this,e),A(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return O(e,t),S(e,[{key:"updateMark",value:function(t,e){var n=this.marks;if(e.equals(t))return this;if(!n.has(t))return this;var r=n.withMutations(function(n){n.remove(t).add(e)});return this.set("marks",r)}},{key:"addMark",value:function(t){var e=this.marks;return this.set("marks",e.add(t))}},{key:"addMarks",value:function(t){var e=this.marks;return this.set("marks",e.union(t))}},{key:"insertText",value:function(t,e){var n=this.text,r=n.slice(0,t)+e+n.slice(t);return this.set("text",r)}},{key:"removeMark",value:function(t){var e=this.marks;return this.set("marks",e.remove(t))}},{key:"toJSON",value:function(){return{object:this.object,text:this.text,marks:this.marks.toArray().map(function(t){return t.toJSON()})}}}],[{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object(a.a)(!1,"As of slate@0.47 the `Leaf` model is deprecated."),e.isLeaf(t))return t;if("string"==typeof t&&(t={text:t}),o()(t))return e.fromJSON(t);throw new Error("`Leaf.create` only accepts objects, strings or leaves, but you passed it: "+t)}},{key:"createLeaves",value:function(t){if(t.size<=1)return t;var e=!1,n=Object(r.List)().withMutations(function(n){t.findLast(function(t,r){var i=n.first();if(i){if(i.marks.equals(t.marks))return e=!0,void n.set(0,i.set("text",""+t.text+i.text));if(""===i.text)return e=!0,void n.set(0,t);if(""===t.text)return void(e=!0)}n.unshift(t)})});return e?n:t}},{key:"splitLeaves",value:function(t,e){if(e<0)return[Object(r.List)(),t];if(0===t.size)return[Object(r.List)(),Object(r.List)()];var n=0,i=-1,o=void 0,a=void 0;return t.find(function(t){i++;var r=n,u=t.text;if((n+=u.length)<e)return!1;if(r>e)return!1;var s=e-r;return o=t.set("text",u.slice(0,s)),a=t.set("text",u.slice(s)),!0}),o?""===o.text?0===i?[r.List.of(o),t]:[t.take(i),t.skip(i)]:""===a.text?i===t.size-1?[t,r.List.of(a)]:[t.take(i+1),t.skip(i+1)]:[t.take(i).push(o),t.skip(i+1).unshift(a)]:[t,Object(r.List)()]}},{key:"createList",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(r.List.isList(t)||Array.isArray(t))return new r.List(t.map(e.create));throw new Error("`Leaf.createList` only accepts arrays or lists, but you passed it: "+t)}},{key:"fromJSON",value:function(t){var n=t.text,i=void 0===n?"":n,o=t.marks,a=void 0===o?[]:o;return new e({text:i,marks:Object(r.Set)(a.map(q.fromJSON))})}},{key:"isLeafList",value:function(t){return r.List.isList(t)&&t.every(function(t){return e.isLeaf(t)})}}]),e}(Object(r.Record)(ye));function be(t,e){var n=!0,r=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var u=o.value,s=!0,c=!1,l=void 0;try{for(var f,h=Object.getOwnPropertyNames(t)[Symbol.iterator]();!(s=(f=h.next()).done);s=!0){var d=f.value;if(!u.hasOwnProperty(d)){var p=Object.getOwnPropertyDescriptor(t,d);Object.defineProperty(u,d,p)}}}catch(t){c=!0,l=t}finally{try{!s&&h.return&&h.return()}finally{if(c)throw l}}var v=!0,g=!1,y=void 0;try{for(var m,b=Object.getOwnPropertyNames(t.prototype)[Symbol.iterator]();!(v=(m=b.next()).done);v=!0){var x=m.value;if(!u.prototype.hasOwnProperty(x)){p=Object.getOwnPropertyDescriptor(t.prototype,x);Object.defineProperty(u.prototype,x,p)}}}catch(t){g=!0,y=t}finally{try{!v&&b.return&&b.return()}finally{if(g)throw y}}}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}}Object.entries({Annotation:et,Block:ft,Change:_t,Decoration:Y,Document:rt,Editor:pe,Inline:ot,Leaf:me,Mark:q,Node:ct,Operation:xt,Point:U,Range:Q,Selection:K,Text:st,Value:dt}).forEach(function(t){var e,n,r,i,o=T(t,2),a=o[0],u=o[1];return be((e=a.toLowerCase(),n=$[e],r="is"+e.charAt(0).toUpperCase()+e.slice(1),(i=function(){function t(){_(this,t)}return S(t,[{key:"object",get:function(){return e}}]),t}())[r]=Z.bind(null,e),i.prototype[n]=!0,i),[u])}),be(function(){function t(){_(this,t)}return S(t,[{key:"toJS",value:function(){return this.toJSON.apply(this,arguments)}}],[{key:"fromJS",value:function(){return this.fromJSON.apply(this,arguments)}}]),t}(),[et,ft,Y,rt,ot,me,q,ct,xt,U,Q,K,st,dt]);var xe=!0,we=Symbol("LEAF"),_e=Symbol("STORE_KEY"),Se=Symbol("undefined"),ke=Symbol("null"),Ee=void 0,Oe=new WeakMap;function Ce(t,e){var n=function(e){var n=t[e];if(!n)throw new Error('Object does not have a property named "'+e+'".');t[e]=function(){for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];if(!xe)return n.apply(this,r);Oe.has(this)||Oe.set(this,{noArgs:{},hasArgs:{}});var o=Oe.get(this),a=o.noArgs,u=o.hasArgs,s=0!==r.length,c=void 0,l=void 0;if((c=s?function(t,e){var n=!0,r=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var u=o.value;if(void 0===u?u=Se:null==u&&(u=ke),(t="object"===(void 0===u?"undefined":w(u))?t[_e]&&t[_e].get(u):t[u])===Ee)return Ee}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return t[we]}(u,l=[e].concat(r)):a[e])!==Ee)return c===Se?void 0:c;var f=n.apply(this,r),h=void 0===f?Se:f;return s?function(t,e,n){var r=t,i=!0,o=!1,a=void 0;try{for(var u,s=e[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=u.value;if(void 0===c?c=Se:null==c&&(c=ke),"object"===(void 0===c?"undefined":w(c)))if(r[_e]||(r[_e]=new WeakMap),r[_e].has(c))r=r[_e].get(c);else{var l={};r[_e].set(c,l),r=l}else r[c]||(r[c]={}),r=r[c]}}catch(t){o=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}r[we]=n}(u,l,h):a[e]=h,f}},r=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){n(a.value)}}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}}var Ae=function(){function t(){_(this,t)}return S(t,[{key:"getFirstText",value:function(){if("text"===this.object)return this;var t=null,e=this.nodes.find(function(e){return"text"===e.object||!!(t=e.getFirstText())});return t||e}},{key:"getKeysToPathsTable",value:function(){var t=k({},this.key,[]);return this.nodes&&this.nodes.forEach(function(e,n){var r=e.getKeysToPathsTable();for(var i in r){var o=r[i];Object(a.a)(!(i in t),'A node with a duplicate key of "'+i+'" was found! Duplicate keys are not allowed, you should use `node.regenerateKey` before inserting if you are reusing an existing node.'),t[i]=[n].concat(M(o))}}),t}},{key:"getLastText",value:function(){if("text"===this.object)return this;var t=null,e=this.nodes.findLast(function(e){return"text"===e.object||(t=e.getLastText())});return t||e}},{key:"getNode",value:function(t){return(t=this.resolvePath(t))?"text"===this.object&&t.size?null:t.size?this.getDescendant(t):this:null}},{key:"getPath",value:function(t){if(r.List.isList(t))return t;if(ct.isNode(t)&&this.descendants){var e=!0,n=!1,i=void 0;try{for(var o,a=this.descendants()[Symbol.iterator]();!(e=(o=a.next()).done);e=!0){var u=o.value,s=T(u,2),c=s[0],l=s[1];if(t===c)return l}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}var f=this.getKeysToPathsTable()[t];return f?Object(r.List)(f):null}},{key:"getText",value:function(){return"text"===this.object?this.text:this.nodes.reduce(function(t,e){return t+e.text},"")}},{key:"hasNode",value:function(t){return!!this.getNode(t)}},{key:"normalize",value:function(t){return t.run("normalizeNode",this)}},{key:"regenerateKey",value:function(){var t=x.create();return this.set("key",t)}},{key:"resolvePath",value:function(t,e){return"string"==typeof t?(t=this.getPath(t),null!=e&&(t=t.concat(e))):t=z.create(t),t}},{key:"validate",value:function(t){return t.run("validateNode",this)}}]),t}();Ce(Ae.prototype,["getFirstText","getKeysToPathsTable","getLastText","getText","normalize","validate"]),be(Ae,[ft,rt,ot,st]);var Te=void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function Me(){return!0}var Pe=function(){function t(){_(this,t)}return S(t,[{key:"addMark",value:function(t,e){t=this.resolvePath(t);var n=this.assertDescendant(t);return n=n.addMark(e),this.replaceNode(t,n)}},{key:"ancestors",value:function(t){return this.createIterable({path:t,direction:null,downward:!1,includeTargetAncestors:!0,includeRoot:!0})}},{key:"blocks",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.onlyLeaves,n=t.onlyRoots,r=t.onlyTypes,i=t.match,o=C(t,["onlyLeaves","onlyRoots","onlyTypes","match"]);return this.descendants(E({includeDocument:!1,includeInlines:!1,includeTexts:!1},o,{match:function(t,o){return!(r&&!r.includes(t.type))&&((!n||1===o.size)&&(!(e&&!t.isLeafBlock())&&!(i&&!i(t,o))))}}))}},{key:"createAnnotation",value:function(t){return t=et.createProperties(t),this.resolveAnnotation(t)}},{key:"createDecoration",value:function(t){return t=Y.createProperties(t),this.resolveDecoration(t)}},{key:"createIterable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.direction,n=void 0===e?"forward":e,r=t.downward,i=void 0===r||r,o=t.upward,a=void 0===o||o,u=t.includeBlocks,s=void 0===u||u,c=t.includeDocument,l=void 0===c||c,f=t.includeInlines,h=void 0===f||f,d=t.includeRoot,p=void 0!==d&&d,v=t.includeTarget,g=void 0===v?!!t.range:v,y=t.includeTargetAncestors,m=void 0!==y&&y,b=t.includeTexts,x=void 0===b||b,w=t.match,_=void 0===w?null:w,S=this,E=null,O=null;t.range?(O=S.resolveRange(t.range),E=S.resolvePath(O.start.path)):t.path&&(E=S.resolvePath(t.path));var C=E&&S.assertNode(E),A="undefined"==typeof window?Te.Set:window.Set;return k({},Symbol.iterator,function(){var t=new A,e=O&&O.start.path,r=O&&O.end.path,o=E,u=C,c=!1,f=!1,d=!1,v=function(){return o&&u?(p||u!==S)&&(s||"block"!==u.object)&&(l||"document"!==u.object)&&(h||"inline"!==u.object)&&(x||"text"!==u.object)?_&&!_(u,o)?y():{value:[u,o],done:!1}:y():{done:!0}},y=function s(){if(!o||!u)return v();if(e&&!f)return d?o.size===e.size-1?(f=!0,o=E,u=C,s()):(o=e.slice(0,o.size+1),u=S.assertNode(o),v()):(d=!0,o=z.create([]),u=S,v());if(g&&!c)return c=!0,v();if(r&&o.equals(r))return u=null,o=null,s();if(i&&u.nodes&&u.nodes.size&&!t.has(u)){t.add(u);var l="forward"===n?0:u.nodes.size-1;return o=o.push(l),u=S.assertNode(o),v()}if("forward"===n){var h=z.increment(o),p=S.getNode(h);if(p)return o=h,u=p,v()}if("backward"===n&&0!==o.last()){var y=z.decrement(o),b=S.getNode(y);if(b)return o=y,u=b,v()}return a&&o.size?(o=z.lift(o),u=S.assertNode(o),t.has(u)?s():(t.add(u),m?v():s())):(o=null,u=null,s())};return{next:y}})}},{key:"createPoint",value:function(t){return t=U.createProperties(t),this.resolvePoint(t)}},{key:"createRange",value:function(t){return t=Q.createProperties(t),this.resolveRange(t)}},{key:"createSelection",value:function(t){return t=K.createProperties(t),this.resolveSelection(t)}},{key:"descendants",value:function(t){return this.createIterable(E({path:[]},t))}},{key:"filterDescendants",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Me,e=[],n=!0,i=!1,o=void 0;try{for(var a,u=this.descendants()[Symbol.iterator]();!(n=(a=u.next()).done);n=!0){var s=a.value,c=T(s,2),l=c[0];t(l,c[1])&&e.push(l)}}catch(t){i=!0,o=t}finally{try{!n&&u.return&&u.return()}finally{if(i)throw o}}return Object(r.List)(e)}},{key:"findDescendant",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Me,e=!0,n=!1,r=void 0;try{for(var i,o=this.descendants()[Symbol.iterator]();!(e=(i=o.next()).done);e=!0){var a=i.value,u=T(a,2),s=u[0];if(t(s,u[1]))return s}}catch(t){n=!0,r=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw r}}return null}},{key:"forEachDescendant",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Me,e=!0,n=!1,r=void 0;try{for(var i,o=this.descendants()[Symbol.iterator]();!(e=(i=o.next()).done);e=!0){var a=i.value;if(!1===t.apply(void 0,M(a)))return}}catch(t){n=!0,r=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw r}}}},{key:"getActiveMarksAtRange",value:function(t){if((t=this.resolveRange(t)).isUnset)return Object(r.Set)();if(t.isCollapsed){var e=t.start;return this.getInsertMarksAtPoint(e)}var n=t,i=n.start,o=n.end,a=i.path,u=i.offset,s=o.path,c=o.offset,l=this.getDescendant(a),f=this.getDescendant(s);if(!a.equals(s)){for(;!a.equals(s)&&0===c;){var h=this.texts({path:s,direction:"backward"}),d=T(h,1),p=T(d[0],2);f=p[0],s=p[1],c=f.text.length}for(;!a.equals(s)&&u===l.text.length;){var v=this.texts({path:a}),g=T(v,1),y=T(g[0],2);l=y[0],a=y[1],u=0}}if(a.equals(s))return l.marks;var m=l.marks;if(0===m.size)return Object(r.Set)();var b=f.marks,x=m.intersect(b);if(0===x.size)return x;var w=this.texts({path:a}),_=T(w,1),S=T(_[0],2);for(l=S[0],a=S[1];!a.equals(s);){if(0!==l.text.length&&0===(x=x.intersect(l.marks)).size)return Object(r.Set)();var k=this.texts({path:a}),E=T(k,1),O=T(E[0],2);l=O[0],a=O[1]}return x}},{key:"getAncestors",value:function(t){var e=this.ancestors(t),n=Array.from(e,function(t){return T(t,1)[0]}).reverse();return Object(r.List)(n)}},{key:"getBlocks",value:function(){var t=this.blocks({onlyLeaves:!0}),e=Array.from(t,function(t){return T(t,1)[0]});return Object(r.List)(e)}},{key:"getBlocksByType",value:function(t){var e=this.blocks({onlyLeaves:!0,onlyTypes:[t]}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"getChild",value:function(t){return!(t=this.resolvePath(t))||t.size>1?null:this.nodes.get(t.first())}},{key:"getClosest",value:function(t,e){var n=!0,r=!1,i=void 0;try{for(var o,a=this.ancestors(t)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var u=o.value,s=T(u,2),c=s[0];if(e(c,s[1]))return c}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return null}},{key:"getClosestBlock",value:function(t){return this.getClosest(t,function(t){return"block"===t.object})}},{key:"getClosestInline",value:function(t){return this.getClosest(t,function(t){return"inline"===t.object})}},{key:"getClosestVoid",value:function(t,e){return Object(u.a)(!dt.isValue(e),"As of Slate 0.42.0, the `node.getClosestVoid` method takes an `editor` instead of a `value`."),this.getClosest(t,function(t){return e.isVoid(t)})}},{key:"getCommonAncestor",value:function(t,e){if(t=this.resolvePath(t),e=this.resolvePath(e),!t||!e)return null;var n=z.relate(t,e);return this.getNode(n)}},{key:"getDecorations",value:function(t){var e=t.run("decorateNode",this);return e=Y.createList(e)}},{key:"getDepth",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return(t=this.resolvePath(t))&&this.getNode(t)?t.size-1+e:null}},{key:"getDescendant",value:function(t){if(!(t=this.resolvePath(t))||!t.size)return null;var e=this;return t.forEach(function(t){return!!(e=e.getIn(["nodes",t]))}),e}},{key:"getDescendantsAtRange",value:function(t){var e=this.descendants({range:t}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"getFragmentAtRange",value:function(t){if((t=this.resolveRange(t)).isUnset)return rt.create();for(var e=t,n=e.start,r=e.end,i=this,o=r.path,a=r.offset,u="end";o.size;){var s=o.last();i=i.splitNode(o,a),a=s+1,(o=z.lift(o)).size||"end"!==u||(o=n.path,a=n.offset,u="start")}var c=n.path.first()+1,l=r.path.first()+2,f=i.nodes.slice(c,l);return rt.create({nodes:f})}},{key:"getFurthest",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Me,n=this.ancestors(t),r=Array.from(n).reverse(),i=!0,o=!1,a=void 0;try{for(var u,s=r[Symbol.iterator]();!(i=(u=s.next()).done);i=!0){var c=u.value,l=T(c,2),f=l[0];if(e(f,l[1]))return f}}catch(t){o=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}return null}},{key:"getFurthestBlock",value:function(t){return this.getFurthest(t,function(t){return"block"===t.object})}},{key:"getFurthestChild",value:function(t){return(t=this.resolvePath(t))&&t.size?this.nodes.get(t.first()):null}},{key:"getFurthestInline",value:function(t){return this.getFurthest(t,function(t){return"inline"===t.object})}},{key:"getInlines",value:function(){var t=this.inlines({onlyLeaves:!0}),e=Array.from(t,function(t){return T(t,1)[0]});return Object(r.List)(e)}},{key:"getInlinesByType",value:function(t){var e=this.inlines({onlyLeaves:!0,onlyTypes:[t]}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"getInsertMarksAtPoint",value:function(t){var e=t=this.resolvePoint(t),n=e.path,r=e.offset,i=this.getDescendant(n);if(0!==r)return i.marks;var o=void 0,a=void 0,u=!0,s=!1,c=void 0;try{for(var l,f=this.ancestors(n)[Symbol.iterator]();!(u=(l=f.next()).done);u=!0){var h=l.value,d=T(h,2),p=d[0],v=d[1];"block"===p.object&&(o=p,a=v)}}catch(t){s=!0,c=t}finally{try{!u&&f.return&&f.return()}finally{if(s)throw c}}var g=z.drop(n,a.size),y=o.texts({path:g,direction:"backward"}),m=T(y,1)[0];return m?T(m,1)[0].marks:i.marks}},{key:"getInsertMarksAtRange",value:function(t){var e=(t=this.resolveRange(t)).start;return t.isUnset?Object(r.Set)():t.isCollapsed?this.getInsertMarksAtPoint(e):this.getDescendant(e.path).marks}},{key:"getLeafBlocksAtRange",value:function(t){var e=this.blocks({range:t,onlyLeaves:!0}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"getLeafInlinesAtRange",value:function(t){var e=this.inlines({range:t,onlyLeaves:!0}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"getNodesToPathsMap",value:function(){var t="undefined"==typeof window?new Te.Map:new window.Map;return t.set(this,z.create([])),this.forEachDescendant(function(e,n){t.set(e,n)}),t}},{key:"getMarks",value:function(){var t=this.marks(),e=Array.from(t,function(t){return T(t,1)[0]});return Object(r.OrderedSet)(e)}},{key:"getMarksAtRange",value:function(t){var e=this.marks({range:t}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.OrderedSet)(n)}},{key:"getMarksByType",value:function(t){var e=this.marks({onlyTypes:[t]}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.OrderedSet)(n)}},{key:"getNextBlock",value:function(t){var e=this.blocks({path:t,onlyLeaves:!0}),n=T(e,1)[0];return n?n[0]:null}},{key:"getNextNode",value:function(t){var e=this.createIterable({path:t,downward:!1}),n=T(e,1)[0];return n?n[0]:null}},{key:"getNextSibling",value:function(t){var e=this.siblings(t),n=T(e,1)[0];return n?n[0]:null}},{key:"getNextText",value:function(t){var e=this.texts({path:t}),n=T(e,1)[0];return n?n[0]:null}},{key:"getOffset",value:function(t){t=this.resolvePath(t),this.assertDescendant(t);var e=t.first(),n=this.nodes.slice(0,e).reduce(function(t,e){return t+e.text.length},0);return 1===t.size?n:n+this.nodes.get(e).getOffset(z.drop(t))}},{key:"getOffsetAtRange",value:function(t){if((t=this.resolveRange(t)).isUnset)throw new Error("The range cannot be unset to calculcate its offset.");if(t.isExpanded)throw new Error("The range must be collapsed to calculcate its offset.");var e=t.start;return this.getOffset(e.path)+e.offset}},{key:"getParent",value:function(t){if(!(t=this.resolvePath(t)))return null;if(!t.size)return null;var e=z.lift(t);return this.getNode(e)}},{key:"getPreviousBlock",value:function(t){var e=this.blocks({path:t,onlyLeaves:!0,direction:"backward"}),n=T(e,1)[0];return n?n[0]:null}},{key:"getPreviousNode",value:function(t){var e=this.createIterable({path:t,downward:!1,direction:"backward"}),n=T(e,1)[0];return n?n[0]:null}},{key:"getPreviousSibling",value:function(t){var e=this.siblings(t,{direction:"backward"}),n=T(e,1)[0];return n?n[0]:null}},{key:"getPreviousText",value:function(t){var e=this.texts({path:t,direction:"backward"}),n=T(e,1)[0];return n?n[0]:null}},{key:"getRootBlocksAtRange",value:function(t){var e=this.blocks({range:t,onlyRoots:!0}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"getRootInlinesAtRange",value:function(t){var e=this.inlines({range:t,onlyRoots:!0}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"getTextAtOffset",value:function(t){if(0===t)return this.getFirstText();if(t===this.text.length)return this.getLastText();if(t<0||t>this.text.length)return null;var e=0,n=!0,r=!1,i=void 0;try{for(var o,a=this.texts()[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var u=o.value,s=T(u,1)[0];if((e+=s.text.length)>t)return s}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return null}},{key:"getTextDirection",value:function(){var t=g()(this.text);return"neutral"===t?null:t}},{key:"getTexts",value:function(){var t=this.texts(),e=Array.from(t,function(t){return T(t,1)[0]});return Object(r.List)(e)}},{key:"getTextsAtRange",value:function(t){var e=this.texts({range:t}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"hasBlockChildren",value:function(){return!(!this.nodes||!this.nodes.find(function(t){return"block"===t.object}))}},{key:"hasChild",value:function(t){return!!this.getChild(t)}},{key:"hasInlineChildren",value:function(){return!(!this.nodes||!this.nodes.find(function(t){return"inline"===t.object||"text"===t.object}))}},{key:"hasDescendant",value:function(t){return!!this.getDescendant(t)}},{key:"hasVoidParent",value:function(t,e){return Object(u.a)(!dt.isValue(e),"As of Slate 0.42.0, the `node.hasVoidParent` method takes an `editor` instead of a `value`."),!!this.getClosestVoid(t,e)}},{key:"inlines",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.onlyLeaves,r=e.onlyRoots,i=e.onlyTypes,o=e.match,a=C(e,["onlyLeaves","onlyRoots","onlyTypes","match"]);return this.descendants(E({includeBlocks:!1,includeTexts:!1,includeDocument:!1},a,{match:function(e,a){return!(i&&!i.includes(e.type))&&(!(n&&!e.isLeafInline())&&((!r||"block"===t.getParent(a).object)&&!(o&&!o(e,a))))}}))}},{key:"insertNode",value:function(t,e){var n=(t=this.resolvePath(t)).last(),r=z.lift(t),i=this.assertNode(r),o=i.nodes.splice(n,0,e);return i=i.set("nodes",o),this.replaceNode(r,i)}},{key:"insertText",value:function(t,e,n){t=this.resolvePath(t);var r=this.assertDescendant(t);return r=r.insertText(e,n),this.replaceNode(t,r)}},{key:"isLeafBlock",value:function(){return"block"===this.object&&!this.nodes.some(function(t){return"block"===t.object})}},{key:"isLeafInline",value:function(){return"inline"===this.object&&!this.nodes.some(function(t){return"inline"===t.object})}},{key:"isInRange",value:function(t,e){if(t=this.resolvePath(t),(e=this.resolveRange(e)).isUnset)return!1;var n=z.compare(t,e.start.path),r=z.compare(t,e.end.path),i=-1!==n&&1!==r;return i}},{key:"mapChildren",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Me,n=this.nodes;return n.forEach(function(r,i){var o=e(r,i,t.nodes);o!==r&&(n=n.set(o.key,o))}),this.set("nodes",n)}},{key:"mapDescendants",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Me,n=this.nodes;return n.forEach(function(r,i){var o=r;"text"!==o.object&&(o=o.mapDescendants(e)),(o=e(o,i,t.nodes))!==r&&(n=n.set(i,o))}),this.set("nodes",n)}},{key:"marks",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.onlyTypes,n=void 0===e?null:e,r=t.match,i=C(t,["onlyTypes","match"]),o=this.texts(i);return k({},Symbol.iterator,function(){var t=o[Symbol.iterator](),e=null,i=null,a=[];return{next:function o(){if(a.length){var u=a.shift();return n&&!n.includes(u.type)?o():r&&!r(u,e,i)?o():{value:[u,e,i],done:!1}}var s=t.next(),c=s.value;if(s.done)return{done:!0};var l=T(c,2);return e=l[0],i=l[1],a=e.marks.toArray(),o()}}})}},{key:"mergeNode",value:function(t){var e=this.assertNode(t);if(0===(t=this.resolvePath(t)).last())throw new Error("Unable to merge node because it has no previous sibling: "+e);var n=z.decrement(t),r=this.assertNode(n);if(r.object!==e.object)throw new Error("Unable to merge two different kinds of nodes: "+r+" and "+e);var i="text"===r.object?r.mergeText(e):r.set("nodes",r.nodes.concat(e.nodes)),o=this;return o=(o=(o=o.removeNode(t)).removeNode(n)).insertNode(n,i)}},{key:"moveNode",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.assertNode(t);t=this.resolvePath(t),e=this.resolvePath(e,n);var i=z.lift(e);this.assertNode(i);var o=xt.create({type:"move_node",path:t,newPath:e});e=z.transform(t,o).first();var a=this;return a=(a=a.removeNode(t)).insertNode(e,r)}},{key:"removeMark",value:function(t,e){t=this.resolvePath(t);var n=this.assertDescendant(t);return n=n.removeMark(e),this.replaceNode(t,n)}},{key:"removeNode",value:function(t){this.assertDescendant(t);var e=(t=this.resolvePath(t)).flatMap(function(t){return["nodes",t]});return this.deleteIn(e)}},{key:"removeText",value:function(t,e,n){var r=this.assertDescendant(t);return r=r.removeText(e,n.length),this.replaceNode(t,r)}},{key:"replaceNode",value:function(t,e){if(!(t=this.resolvePath(t)))throw new Error("Unable to replace a node because it could not be found in the first place: "+t);if(!t.size)return e;this.assertNode(t);var n=t.flatMap(function(t){return["nodes",t]});return this.setIn(n,e)}},{key:"resolveAnnotation",value:function(t){return t=(t=et.create(t)).normalize(this)}},{key:"resolveDecoration",value:function(t){return t=(t=Y.create(t)).normalize(this)}},{key:"resolvePoint",value:function(t){return t=(t=U.create(t)).normalize(this)}},{key:"resolveRange",value:function(t){return t=(t=Q.create(t)).normalize(this)}},{key:"resolveSelection",value:function(t){return t=(t=K.create(t)).normalize(this)}},{key:"setNode",value:function(t,e){var n=this.assertNode(t);return n=n.merge(e),this.replaceNode(t,n)}},{key:"setMark",value:function(t,e,n){t=this.resolvePath(t);var r=this.assertDescendant(t);return r=r.setMark(e,n),this.replaceNode(t,r)}},{key:"siblings",value:function(t,e){return this.createIterable(E({path:t,upward:!1,downward:!1},e))}},{key:"splitNode",value:function(t,e,n){var r=this.assertNode(t);t=this.resolvePath(t);var i=void 0,o=void 0;if("text"===r.object){var a=r.splitText(e),u=T(a,2);i=u[0],o=u[1]}else{var s=r.nodes.take(e),c=r.nodes.skip(e);i=r.set("nodes",s),o=r.set("nodes",c).regenerateKey()}n&&"text"!==r.object&&(o=o.merge(n));var l=this;return l=(l=(l=l.removeNode(t)).insertNode(t,o)).insertNode(t,i)}},{key:"texts",value:function(t){return this.descendants(E({includeBlocks:!1,includeInlines:!1,includeDocument:!1},t))}},{key:"getBlocksAtRange",value:function(t){return Object(a.a)(!1,"As of slate@0.44 the `node.getBlocksAtRange` method has been renamed to `getLeafBlocksAtRange`."),this.getLeafBlocksAtRange(t)}},{key:"getBlocksAtRangeAsArray",value:function(t){return Object(a.a)(!1,"As of slate@0.44 the `node.getBlocksAtRangeAsArray` method has been renamed to `getLeafBlocksAtRangeAsArray`."),this.getLeafBlocksAtRangeAsArray(t)}},{key:"getInlinesAtRange",value:function(t){return Object(a.a)(!1,"As of slate@0.44 the `node.getInlinesAtRange` method has been renamed to `getLeafInlinesAtRange`."),this.getLeafInlinesAtRange(t)}},{key:"getInlinesAtRangeAsArray",value:function(t){return Object(a.a)(!1,"As of slate@0.44 the `node.getInlinesAtRangeAsArray` method has been renamed to `getLeafInlinesAtRangeAsArray`."),this.getLeafInlinesAtRangeAsArray(t)}},{key:"getNextTextAndPath",value:function(t){return Object(a.a)(!1,"As of slate@0.47, the `getNextTextAndPath` method has been renamed to `getNextTextEntry`."),this.getNextTextEntry(t)}},{key:"getNextDeepMatchingNodeAndPath",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};Object(a.a)(!1,"As of slate@0.47, the `getNextDeepMatchingNodeAndPath` method is deprecated.");var n=this.getNextMatchingNodeAndPath(t);if(!n)return null;for(var r=T(n,2),i=r[0],o=r[1],u=void 0;u="text"!==i.object&&i.findFirstDescendantAndPath(e,o);){var s=T(u,2);i=s[0],o=s[1]}return i?e(i)?[i,o]:this.getNextDeepMatchingNodeAndPath(n[1],e):null}},{key:"getPreviousTextAndPath",value:function(t){return Object(a.a)(!1,"As of slate@0.47, the `getPreviousTextAndPath` method has been renamed to `getPreviousTextEntry`."),this.getPreviousTextEntry(t)}},{key:"findFirstDescendantAndPath",value:function(t,e){return Object(a.a)(!1,"As of slate@0.47, the `findFirstDescendantAndPath` method is deprecated."),this.findDescendantAndPath(t,e,!1)}},{key:"getPreviousMatchingNodeAndPath",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};if(Object(a.a)(!1,"As of slate@0.47, the `getPreviousMatchingNodeAndPath` method is deprecated."),!t)return null;for(var n=t.size;n>0;n--){var r=t.slice(0,n);if(0!==r.last()){for(var i=z.decrement(r),o=this.getNode(i);o&&!e(o);)i=z.decrement(i),o=this.getNode(i);if(o)return[o,i]}}return null}},{key:"getPreviousDeepMatchingNodeAndPath",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};Object(a.a)(!1,"As of slate@0.47, the `getPreviousDeepMatchingNodeAndPath` method is deprecated.");var n=this.getPreviousMatchingNodeAndPath(t);if(!n)return null;for(var r=T(n,2),i=r[0],o=r[1],u=void 0;u="text"!==i.object&&i.findLastDescendantAndPath(e,o);){var s=T(u,2);i=s[0],o=s[1]}return i?e(i)?[i,o]:this.getPreviousDeepMatchingNodeAndPath(n[1],e):null}},{key:"findLastDescendantAndPath",value:function(t,e){return Object(a.a)(!1,"As of slate@0.47, the `findLastDescendantAndPath` method is deprecated."),this.findDescendantAndPath(t,e,!0)}},{key:"findDescendantAndPath",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.create([]),n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Object(a.a)(!1,"As of slate@0.47, the `findDescendantAndPath` method is deprecated.");var r=void 0,i=void 0;return this.forEachDescendantWithPath(function(e,n,o){if(t(e,n,o))return r=e,i=n,!1},e,n),r?[r,i]:null}},{key:"forEachDescendantWithPath",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:z.create([]),n=arguments[2];Object(a.a)(!1,"As of slate@0.47, the `forEachDescendantWithPath` method is deprecated.");var r=this.nodes,i=void 0;return n&&(r=r.reverse()),r.forEach(function(o,a){var u=e.concat(a);return!1===t(o,u,r)?(i=!1,!1):"text"!==o.object?i=o.forEachDescendantWithPath(t,u,n):void 0}),i}},{key:"getNextMatchingNodeAndPath",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return!0};if(Object(a.a)(!1,"As of slate@0.47, the `getNextMatchingNodeAndPath` method is deprecated."),!t)return null;for(var n=t.size;n>0;n--){for(var r=t.slice(0,n),i=z.increment(r),o=this.getNode(i);o&&!e(o);)i=z.increment(i),o=this.getNode(i);if(o)return[o,i]}return null}},{key:"getSelectionIndexes",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Object(a.a)(!1,"As of slate@0.47, the `getSelectionIndexes` method is deprecated.");var n=t.start,r=t.end;if(!e)return null;if(t.isUnset)return null;if(n.path.equals(r.path)){var i=this.getFurthestAncestor(n.path),o=i?this.nodes.indexOf(i):null;return{start:o,end:o+1}}var u=null,s=null;return this.nodes.forEach(function(t,e){return"text"===t.object?(null==u&&t.key===n.key&&(u=e),null==s&&t.key===r.key&&(s=e+1)):(null==u&&t.hasDescendant(n.key)&&(u=e),null==s&&t.hasDescendant(r.key)&&(s=e+1)),null==u||null==s}),e&&null==u&&(u=0),e&&null==s&&(s=this.nodes.size),null==u?null:{start:u,end:s}}},{key:"getTextsBetweenPositionsAsArray",value:function(t,e){return Object(a.a)(!1,"As of slate@0.47, the `getTextsBetweenPositionsAsArray` method is deprecated."),t=this.resolvePath(t),e=this.resolvePath(e),this.getTextsBetweenPathPositionsAsArray(t,e)}},{key:"getOrderedMarksBetweenPositions",value:function(t,e,n,i){Object(a.a)(!1,"As of slate@0.47, the `getOrderedMarksBetweenPositions` method is deprecated."),t=this.resolvePath(t),n=this.resolvePath(n);var o=this.getDescendant(t);if(z.isEqual(t,n))return o.marks;var u=this.getTextsBetweenPathPositionsAsArray(t,n);return Object(r.OrderedSet)().withMutations(function(t){u.forEach(function(e){t.union(e.marks)})})}},{key:"getTextsBetweenPathPositionsAsArray",value:function(t,e){if(Object(a.a)(!1,"As of slate@0.47, the `getTextsBetweenPathPositionsAsArray` method is deprecated."),t&&e&&z.isEqual(t,e))return[this.getDescendant(t)];if(!t&&!e)return this.getTextsAsArray();var n=t?t.get(0,0):0,r=e?e.get(0,this.nodes.size-1):this.nodes.size-1,i=[];return this.nodes.slice(n,r+1).forEach(function(o,a){if("text"===o.object)i.push(o);else{var u=t&&0===a?z.drop(t):null,s=e&&a===r-n?z.drop(e):null;i=i.concat(o.getTextsBetweenPathPositionsAsArray(u,s))}}),i}},{key:"getFurthestAncestor",value:function(t){return Object(a.a)(!1,"As of slate@0.47, the `getFurthestAncestor` method has been renamed to `getFurthestChild`."),this.getFurthestChild(t)}},{key:"getLeafBlocksAtRangeAsArray",value:function(t){if(Object(a.a)(!1,"As of slate@0.47, the `getLeafBlocksAtRangeAsArray` method is deprecated."),(t=this.resolveRange(t)).isUnset)return[];var e=t,n=e.start,r=e.end;return this.getLeafBlocksBetweenPathPositionsAsArray(n.path,r.path)}},{key:"getLeafBlocksBetweenPathPositionsAsArray",value:function(t,e){if(Object(a.a)(!1,"As of slate@0.47, the `getLeafBlocksBetweenPathPositionsAsArray` method is deprecated."),t&&e&&z.isEqual(t,e))return[this.getClosestBlock(t)];if(!t&&!e)return this.getBlocksAsArray();var n=t?t.get(0,0):0,r=e?e.get(0,this.nodes.size-1):this.nodes.size-1,i=[];return this.nodes.slice(n,r+1).forEach(function(o,a){if("block"===o.object)if(o.isLeafBlock())i.push(o);else{var u=t&&0===a?z.drop(t):null,s=e&&a===r-n?z.drop(e):null;i=i.concat(o.getLeafBlocksBetweenPathPositionsAsArray(u,s))}}),i}},{key:"getBlocksAsArray",value:function(){Object(a.a)(!1,"As of slate@0.47, the `getBlocksAsArray` method is deprecated.");var t=this.blocks({onlyLeaves:!0});return Array.from(t,function(t){return T(t,1)[0]})}},{key:"getBlocksByTypeAsArray",value:function(t){Object(a.a)(!1,"As of slate@0.47, the `getBlocksByTypeAsArray` method is deprecated.");var e=this.blocks({onlyLeaves:!0,onlyTypes:[t]});return Array.from(e,function(t){return T(t,1)[0]})}},{key:"getFurthestOnlyChildAncestor",value:function(t){Object(a.a)(!1,"As of slate@0.47, the `getFurthestOnlyChildAncestor` method is deprecated.");var e=this.getAncestors(t);return e&&e.rest().reverse().takeUntil(function(t){return t.nodes.size>1}).last()||null}},{key:"getInlinesAsArray",value:function(){return Object(a.a)(!1,"As of slate@0.47, the `getInlinesAsArray` method is deprecated."),Array.from(this.inlines({onlyLeaves:!0}),function(t){return T(t,1)[0]})}},{key:"getInlinesByTypeAsArray",value:function(t){return Object(a.a)(!1,"As of slate@0.47, the `getInlinesByTypeAsArray` method is deprecated."),Array.from(this.inlines({onlyLeaves:!0,onlyTypes:[t]}),function(t){return T(t,1)[0]})}},{key:"getLeafInlinesAtRangeAsArray",value:function(t){var e=this;return Object(a.a)(!1,"As of slate@0.47, the `getLeafInlinesAtRangeAsArray` method is deprecated."),(t=this.resolveRange(t)).isUnset?[]:this.getTextsAtRangeAsArray(t).map(function(t){return e.getClosestInline(t.key)}).filter(function(t){return t})}},{key:"getOrderedMarks",value:function(){return Object(a.a)(!1,"As of slate@0.47, the `getOrderedMarks` method has been folded into `getMarks`, which will now return an ordered set."),this.getMarks()}},{key:"getOrderedMarksAtRange",value:function(t){return Object(a.a)(!1,"As of slate@0.47, the `getOrderedMarksAtRange` method has been folded into `getMarksAtRange`, which will now return an ordered set."),this.getMarksAtRange(t)}},{key:"getOrderedMarksByType",value:function(t){return Object(a.a)(!1,"As of slate@0.47, the `getOrderedMarksByType` method has been folded into `getMarksByType`, which will now return an ordered set."),this.getMarksByType(t)}},{key:"getMarksByTypeAsArray",value:function(t){return Object(a.a)(!1,"As of slate@0.47, the `getMarksByTypeAsArray` method is deprecated."),this.nodes.reduce(function(e,n){return"text"===n.object?e.concat(n.marks.filter(function(e){return e.type===t})):e.concat(n.getMarksByTypeAsArray(t))},[])}},{key:"getMarksAsArray",value:function(){var t;Object(a.a)(!1,"As of slate@0.47, the `getMarksAsArray` method is deprecated.");var e=[],n=!0,r=!1,i=void 0;try{for(var o,u=this.texts()[Symbol.iterator]();!(n=(o=u.next()).done);n=!0){var s=o.value,c=T(s,1)[0];e.push(c.marks.toArray())}}catch(t){r=!0,i=t}finally{try{!n&&u.return&&u.return()}finally{if(r)throw i}}return(t=[]).concat.apply(t,e)}},{key:"getRootInlinesAtRangeAsArray",value:function(t){var e=this;return Object(a.a)(!1,"As of slate@0.47, the `getRootInlinesAtRangeAsArray` method is deprecated."),(t=this.resolveRange(t)).isUnset?Object(r.List)():this.getTextsAtRangeAsArray(t).map(function(t){return e.getFurthestInline(t.key)}).filter(function(t){return t})}},{key:"getTextsAsArray",value:function(){Object(a.a)(!1,"As of slate@0.47, the `getTextsAsArray` method is deprecated.");var t=this.texts();return Array.from(t,function(t){return T(t,1)[0]})}},{key:"getTextsAtRangeAsArray",value:function(t){Object(a.a)(!1,"As of slate@0.47, the `getTextsAtRangeAsArray` method is deprecated.");var e=this.texts({range:t});return Array.from(e,function(t){return T(t,1)[0]})}},{key:"getMarksAtPosition",value:function(t,e){Object(a.a)(!1,"As of slate@0.47, the `getMarksAtPosition` method is deprecated."),t=this.resolvePath(t);var n=this.getDescendant(t).marks;if(0!==e)return Object(r.OrderedSet)(n);var i=this.getClosestBlock(t);if(""===i.text)return Object(r.OrderedSet)(n);var o=this.texts({path:t,direction:"backward"}),u=T(o,1)[0];if(!u)return Object(r.OrderedSet)();var s=T(u,2),c=s[0],l=s[1];return i.hasDescendant(l)?Object(r.OrderedSet)(c.marks):Object(r.OrderedSet)(n)}},{key:"getNodesAtRange",value:function(t){Object(a.a)(!1,"As of slate@0.47, the `getNodesAtRange` method has been renamed to `getDescendantsAtRange`.");var e=this.descendants({range:t}),n=Array.from(e,function(t){return T(t,1)[0]});return Object(r.List)(n)}},{key:"isNodeInRange",value:function(t,e){return Object(a.a)(!1,"As of slate@0.47, the `isNodeInRange` method has been renamed to `isInRange`."),this.isInRange(t,e)}},{key:"text",get:function(){return this.getText()}}]),t}(),je=function(t){Pe.prototype["assert"+t]=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=this["get"+t].apply(this,[e].concat(r));if(null==o)throw new Error("`Node.assert"+t+"` could not find node with path or key: "+e);return o}},De=!0,Ie=!1,Ne=void 0;try{for(var Fe,Re=["Child","Depth","Descendant","Node","Parent","Path"][Symbol.iterator]();!(De=(Fe=Re.next()).done);De=!0){je(Fe.value)}}catch(t){Ie=!0,Ne=t}finally{try{!De&&Re.return&&Re.return()}finally{if(Ie)throw Ne}}Ce(Pe.prototype,["getBlocksAsArray","getBlocksByTypeAsArray","getDecorations","getFragmentAtRange","getInlinesAsArray","getInlinesByTypeAsArray","getInsertMarksAtRange","getLeafBlocksAtRangeAsArray","getLeafBlocksAtRangeAsArray","getLeafInlinesAtRangeAsArray","getMarksAsArray","getMarksAtPosition","getMarksByTypeAsArray","getNextBlock","getNodesAtRange","getNodesToPathsMap","getOffset","getOffsetAtRange","getOrderedMarksBetweenPositions","getPreviousBlock","getRootBlocksAtRange","getRootInlinesAtRangeAsArray","getTextAtOffset","getTextDirection","getTextsAsArray","getTextsBetweenPathPositionsAsArray"]),be(Pe,[ft,rt,ot]),be(function(){function t(){_(this,t)}return S(t,[{key:"flip",value:function(){return this.setPoints([this.focus,this.anchor])}},{key:"moveForward",value:function(t){return this.updatePoints(function(e){return e.moveForward(t)})}},{key:"moveBackward",value:function(t){return this.updatePoints(function(e){return e.moveBackward(t)})}},{key:"moveAnchorBackward",value:function(t){return this.setAnchor(this.anchor.moveBackward(t))}},{key:"moveAnchorForward",value:function(t){return this.setAnchor(this.anchor.moveForward(t))}},{key:"moveAnchorTo",value:function(t,e){return this.setAnchor(this.anchor.moveTo(t,e))}},{key:"moveAnchorToStartOfNode",value:function(t){return this.setAnchor(this.anchor.moveToStartOfNode(t))}},{key:"moveAnchorToEndOfNode",value:function(t){return this.setAnchor(this.anchor.moveToEndOfNode(t))}},{key:"moveEndBackward",value:function(t){return this.setEnd(this.end.moveBackward(t))}},{key:"moveEndForward",value:function(t){return this.setEnd(this.end.moveForward(t))}},{key:"moveEndTo",value:function(t,e){return this.setEnd(this.end.moveTo(t,e))}},{key:"moveEndToStartOfNode",value:function(t){return this.setEnd(this.end.moveToStartOfNode(t))}},{key:"moveEndToEndOfNode",value:function(t){return this.setEnd(this.end.moveToEndOfNode(t))}},{key:"moveFocusBackward",value:function(t){return this.setFocus(this.focus.moveBackward(t))}},{key:"moveFocusForward",value:function(t){return this.setFocus(this.focus.moveForward(t))}},{key:"moveFocusTo",value:function(t,e){return this.setFocus(this.focus.moveTo(t,e))}},{key:"moveFocusToStartOfNode",value:function(t){return this.setFocus(this.focus.moveToStartOfNode(t))}},{key:"moveFocusToEndOfNode",value:function(t){return this.setFocus(this.focus.moveToEndOfNode(t))}},{key:"moveStartBackward",value:function(t){return this.setStart(this.start.moveBackward(t))}},{key:"moveStartForward",value:function(t){return this.setStart(this.start.moveForward(t))}},{key:"moveStartTo",value:function(t,e){return this.setStart(this.start.moveTo(t,e))}},{key:"moveStartToStartOfNode",value:function(t){return this.setStart(this.start.moveToStartOfNode(t))}},{key:"moveStartToEndOfNode",value:function(t){return this.setStart(this.start.moveToEndOfNode(t))}},{key:"moveTo",value:function(t,e){return this.updatePoints(function(n){return n.moveTo(t,e)})}},{key:"moveToAnchor",value:function(){return this.setFocus(this.anchor)}},{key:"moveToEnd",value:function(){return this.setStart(this.end)}},{key:"moveToEndOfNode",value:function(t){return this.updatePoints(function(e){return e.moveToEndOfNode(t)})}},{key:"moveToFocus",value:function(){return this.setAnchor(this.focus)}},{key:"moveToRangeOfNode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return this.setPoints([this.anchor.moveToStartOfNode(t),this.focus.moveToEndOfNode(e)])}},{key:"moveToStart",value:function(){return this.setEnd(this.start)}},{key:"moveToStartOfNode",value:function(t){return this.updatePoints(function(e){return e.moveToStartOfNode(t)})}},{key:"normalize",value:function(t){return this.updatePoints(function(e){return e.normalize(t)})}},{key:"setAnchor",value:function(t){return this.set("anchor",t)}},{key:"setEnd",value:function(t){return this.isBackward?this.setAnchor(t):this.setFocus(t)}},{key:"setFocus",value:function(t){return this.set("focus",t)}},{key:"setPoints",value:function(t){var e=T(t,2),n=e[0],r=e[1];return this.set("anchor",n).set("focus",r)}},{key:"updatePoints",value:function(t){var e=this.anchor,n=this.focus;return e=t(e),n=t(n),this.merge({anchor:e,focus:n})}},{key:"setStart",value:function(t){return this.isBackward?this.setFocus(t):this.setAnchor(t)}},{key:"setProperties",value:function(t){var e=t=Q.createProperties(t),n=e.anchor,r=e.focus,i=C(e,["anchor","focus"]);return n&&(i.anchor=U.create(n)),r&&(i.focus=U.create(r)),this.merge(i)}},{key:"toJSON",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{object:this.object,anchor:this.anchor.toJSON(t),focus:this.focus.toJSON(t)}}},{key:"toRange",value:function(){var t=Q.createProperties(this);return Q.create(t)}},{key:"unset",value:function(){return this.updatePoints(function(t){return t.unset()})}},{key:"isCollapsed",get:function(){return this.anchor===this.focus||this.anchor.key===this.focus.key&&this.anchor.offset===this.focus.offset}},{key:"isExpanded",get:function(){return!this.isCollapsed}},{key:"isBackward",get:function(){var t=this.isUnset,e=this.anchor,n=this.focus;return t?null:e.key===n.key?e.offset>n.offset:z.isBefore(n.path,e.path)}},{key:"isForward",get:function(){var t=this.isBackward;return null==t?null:!t}},{key:"isUnset",get:function(){var t=this.anchor,e=this.focus;return t.isUnset||e.isUnset}},{key:"isSet",get:function(){return!this.isUnset}},{key:"start",get:function(){return this.isBackward?this.focus:this.anchor}},{key:"end",get:function(){return this.isBackward?this.anchor:this.focus}}]),t}(),[et,Y,Q,K]);var Le={Annotation:et,Block:ft,Change:_t,Data:H,Decoration:Y,Document:rt,Editor:pe,Inline:ot,KeyUtils:x,Leaf:me,Mark:q,Node:ct,Operation:xt,PathUtils:z,Point:U,Range:Q,resetMemoization:function(){Oe=new WeakMap},Selection:K,Text:st,TextUtils:It,useMemoization:function(t){xe=t},Value:dt};e.o=Le}).call(this,n("yLpj"))},"0cfB":function(t,e,n){"use strict";t.exports=n("7B0+")},"0l/t":function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(2);r(r.P+r.F*!n("LyE8")([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},"0mN4":function(t,e,n){"use strict";n("OGtf")("fixed",function(t){return function(){return t(this,"tt","","")}})},"0sh+":function(t,e,n){var r=n("quPj"),i=n("vhPU");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},"0xIW":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("q1tI");e.default=function(t){r.useEffect(t,[])}},"0ycA":function(t,e){t.exports=function(){return[]}},"1+5i":function(t,e,n){var r=n("w/wX"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isSet,u=a?i(a):r;t.exports=u},"11IZ":function(t,e,n){var r=n("dyZX").parseFloat,i=n("qncB").trim;t.exports=1/r(n("/e88")+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},"15JJ":function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("MGBS"),o=n("rPjj"),a=n("zotm"),u=n("67Y/"),s=n("0/uQ");function c(t,e){return"function"==typeof e?function(n){return n.pipe(c(function(n,r){return Object(s.a)(t(n,r)).pipe(Object(u.a)(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new l(t))}}var l=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project))},t}(),f=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new o.a(this,void 0,void 0);this.destination.add(i),this.innerSubscription=Object(a.a)(this,t,e,n,i)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e}(i.a)},"16Al":function(t,e,n){"use strict";var r=n("WbBG");function i(){}function o(){}o.resetWarningCache=i,t.exports=function(){function t(t,e,n,i,o,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},"17x9":function(t,e,n){t.exports=n("16Al")()},"1LK5":function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},"1MBn":function(t,e,n){var r=n("DVgA"),i=n("JiEa"),o=n("UqcF");t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,u=n(t),s=o.f,c=0;u.length>c;)s.call(t,a=u[c++])&&e.push(a);return e}},"1TsA":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},"1fDf":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("FFOo");function i(t){for(;t;){var e=t,n=e.closed,i=e.destination,o=e.isStopped;if(n||o)return!1;t=i&&i instanceof r.a?i:null}return!0}},"1hJj":function(t,e,n){var r=n("e4Nc"),i=n("ftKO"),o=n("3A9y");function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,t.exports=a},"1k7D":function(t,e,n){"use strict";e.atob=self.atob.bind(self),e.btoa=self.btoa.bind(self)},"1mXj":function(t,e,n){(function(t){!function(e){"use strict";function n(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}function r(t,e){Object.defineProperty(this,"kind",{value:t,enumerable:!0}),e&&e.length&&Object.defineProperty(this,"path",{value:e,enumerable:!0})}function i(t,e,n){i.super_.call(this,"E",t),Object.defineProperty(this,"lhs",{value:e,enumerable:!0}),Object.defineProperty(this,"rhs",{value:n,enumerable:!0})}function o(t,e){o.super_.call(this,"N",t),Object.defineProperty(this,"rhs",{value:e,enumerable:!0})}function a(t,e){a.super_.call(this,"D",t),Object.defineProperty(this,"lhs",{value:e,enumerable:!0})}function u(t,e,n){u.super_.call(this,"A",t),Object.defineProperty(this,"index",{value:e,enumerable:!0}),Object.defineProperty(this,"item",{value:n,enumerable:!0})}function s(t,e,n){var r=t.slice((n||e)+1||t.length);return t.length=e<0?t.length+e:e,t.push.apply(t,r),t}function c(t){var e=void 0===t?"undefined":S(t);return"object"!==e?e:t===Math?"math":null===t?"null":Array.isArray(t)?"array":"[object Date]"===Object.prototype.toString.call(t)?"date":"function"==typeof t.toString&&/^\/.*\//.test(t.toString())?"regexp":"object"}function l(t,e,n,r,f,h,d){d=d||[];var p=(f=f||[]).slice(0);if(void 0!==h){if(r){if("function"==typeof r&&r(p,h))return;if("object"===(void 0===r?"undefined":S(r))){if(r.prefilter&&r.prefilter(p,h))return;if(r.normalize){var v=r.normalize(p,h,t,e);v&&(t=v[0],e=v[1])}}}p.push(h)}"regexp"===c(t)&&"regexp"===c(e)&&(t=t.toString(),e=e.toString());var g=void 0===t?"undefined":S(t),y=void 0===e?"undefined":S(e),m="undefined"!==g||d&&d[d.length-1].lhs&&d[d.length-1].lhs.hasOwnProperty(h),b="undefined"!==y||d&&d[d.length-1].rhs&&d[d.length-1].rhs.hasOwnProperty(h);if(!m&&b)n(new o(p,e));else if(!b&&m)n(new a(p,t));else if(c(t)!==c(e))n(new i(p,t,e));else if("date"===c(t)&&t-e!=0)n(new i(p,t,e));else if("object"===g&&null!==t&&null!==e)if(d.filter(function(e){return e.lhs===t}).length)t!==e&&n(new i(p,t,e));else{if(d.push({lhs:t,rhs:e}),Array.isArray(t)){var x;for(t.length,x=0;x<t.length;x++)x>=e.length?n(new u(p,x,new a(void 0,t[x]))):l(t[x],e[x],n,r,p,x,d);for(;x<e.length;)n(new u(p,x,new o(void 0,e[x++])))}else{var w=Object.keys(t),_=Object.keys(e);w.forEach(function(i,o){var a=_.indexOf(i);a>=0?(l(t[i],e[i],n,r,p,i,d),_=s(_,a)):l(t[i],void 0,n,r,p,i,d)}),_.forEach(function(t){l(void 0,e[t],n,r,p,t,d)})}d.length=d.length-1}else t!==e&&("number"===g&&isNaN(t)&&isNaN(e)||n(new i(p,t,e)))}function f(t,e,n,r){return r=r||[],l(t,e,function(t){t&&r.push(t)},n),r.length?r:void 0}function h(t,e,n){if(t&&e&&n&&n.kind){for(var r=t,i=-1,o=n.path?n.path.length-1:0;++i<o;)void 0===r[n.path[i]]&&(r[n.path[i]]="number"==typeof n.path[i]?[]:{}),r=r[n.path[i]];switch(n.kind){case"A":!function t(e,n,r){if(r.path&&r.path.length){var i,o=e[n],a=r.path.length-1;for(i=0;i<a;i++)o=o[r.path[i]];switch(r.kind){case"A":t(o[r.path[i]],r.index,r.item);break;case"D":delete o[r.path[i]];break;case"E":case"N":o[r.path[i]]=r.rhs}}else switch(r.kind){case"A":t(e[n],r.index,r.item);break;case"D":e=s(e,n);break;case"E":case"N":e[n]=r.rhs}return e}(n.path?r[n.path[i]]:r,n.index,n.item);break;case"D":delete r[n.path[i]];break;case"E":case"N":r[n.path[i]]=n.rhs}}}function d(t){return"color: "+O[t].color+"; font-weight: bold"}function p(t,e,n,r){var i=f(t,e);try{r?n.groupCollapsed("diff"):n.group("diff")}catch(t){n.log("diff")}i?i.forEach(function(t){var e=t.kind,r=function(t){var e=t.kind,n=t.path,r=t.lhs,i=t.rhs,o=t.index,a=t.item;switch(e){case"E":return[n.join("."),r,"→",i];case"N":return[n.join("."),i];case"D":return[n.join(".")];case"A":return[n.join(".")+"["+o+"]",a];default:return[]}}(t);n.log.apply(n,["%c "+O[e].text,d(e)].concat(k(r)))}):n.log("—— no diff ——");try{n.groupEnd()}catch(t){n.log("—— diff end —— ")}}function v(t,e,n,r){switch(void 0===t?"undefined":S(t)){case"object":return"function"==typeof t[r]?t[r].apply(t,k(n)):t[r];case"function":return t(e);default:return t}}function g(t,e){var n=e.logger,r=e.actionTransformer,i=e.titleFormatter,o=void 0===i?function(t){var e=t.timestamp,n=t.duration;return function(t,r,i){var o=["action"];return o.push("%c"+String(t.type)),e&&o.push("%c@ "+r),n&&o.push("%c(in "+i.toFixed(2)+" ms)"),o.join(" ")}}(e):i,a=e.collapsed,u=e.colors,s=e.level,c=e.diff,l=void 0===e.titleFormatter;t.forEach(function(i,f){var h=i.started,d=i.startedTime,g=i.action,y=i.prevState,m=i.error,b=i.took,x=i.nextState,_=t[f+1];_&&(x=_.prevState,b=_.started-h);var S=r(g),k="function"==typeof a?a(function(){return x},g,i):a,E=w(d),O=u.title?"color: "+u.title(S)+";":"",C=["color: gray; font-weight: lighter;"];C.push(O),e.timestamp&&C.push("color: gray; font-weight: lighter;"),e.duration&&C.push("color: gray; font-weight: lighter;");var A=o(S,E,b);try{k?u.title&&l?n.groupCollapsed.apply(n,["%c "+A].concat(C)):n.groupCollapsed(A):u.title&&l?n.group.apply(n,["%c "+A].concat(C)):n.group(A)}catch(t){n.log(A)}var T=v(s,S,[y],"prevState"),M=v(s,S,[S],"action"),P=v(s,S,[m,y],"error"),j=v(s,S,[x],"nextState");if(T)if(u.prevState){var D="color: "+u.prevState(y)+"; font-weight: bold";n[T]("%c prev state",D,y)}else n[T]("prev state",y);if(M)if(u.action){var I="color: "+u.action(S)+"; font-weight: bold";n[M]("%c action ",I,S)}else n[M]("action ",S);if(m&&P)if(u.error){var N="color: "+u.error(m,y)+"; font-weight: bold;";n[P]("%c error ",N,m)}else n[P]("error ",m);if(j)if(u.nextState){var F="color: "+u.nextState(x)+"; font-weight: bold";n[j]("%c next state",F,x)}else n[j]("next state",x);c&&p(y,x,n,k);try{n.groupEnd()}catch(t){n.log("—— log end ——")}})}function y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object.assign({},C,t),n=e.logger,r=e.stateTransformer,i=e.errorTransformer,o=e.predicate,a=e.logErrors,u=e.diffPredicate;if(void 0===n)return function(){return function(t){return function(e){return t(e)}}};if(t.getState&&t.dispatch)return console.error("[redux-logger] redux-logger not installed. Make sure to pass logger instance as middleware:\n// Logger with default options\nimport { logger } from 'redux-logger'\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n// Or you can create your own logger with custom options http://bit.ly/redux-logger-options\nimport createLogger from 'redux-logger'\nconst logger = createLogger({\n // ...options\n});\nconst store = createStore(\n reducer,\n applyMiddleware(logger)\n)\n"),function(){return function(t){return function(e){return t(e)}}};var s=[];return function(t){var n=t.getState;return function(t){return function(c){if("function"==typeof o&&!o(n,c))return t(c);var l={};s.push(l),l.started=_.now(),l.startedTime=new Date,l.prevState=r(n()),l.action=c;var f=void 0;if(a)try{f=t(c)}catch(t){l.error=i(t)}else f=t(c);l.took=_.now()-l.started,l.nextState=r(n());var h=e.diff&&"function"==typeof u?u(n,c):e.diff;if(g(s,Object.assign({},e,{diff:h})),s.length=0,l.error)throw l.error;return f}}}}var m,b,x=function(t,e){return function(t,e){return new Array(e+1).join(t)}("0",e-t.toString().length)+t},w=function(t){return x(t.getHours(),2)+":"+x(t.getMinutes(),2)+":"+x(t.getSeconds(),2)+"."+x(t.getMilliseconds(),3)},_="undefined"!=typeof performance&&null!==performance&&"function"==typeof performance.now?performance:Date,S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},E=[];m="object"===(void 0===t?"undefined":S(t))&&t?t:"undefined"!=typeof window?window:{},(b=m.DeepDiff)&&E.push(function(){void 0!==b&&m.DeepDiff===f&&(m.DeepDiff=b,b=void 0)}),n(i,r),n(o,r),n(a,r),n(u,r),Object.defineProperties(f,{diff:{value:f,enumerable:!0},observableDiff:{value:l,enumerable:!0},applyDiff:{value:function(t,e,n){t&&e&&l(t,e,function(r){n&&!n(t,e,r)||h(t,e,r)})},enumerable:!0},applyChange:{value:h,enumerable:!0},revertChange:{value:function(t,e,n){if(t&&e&&n&&n.kind){var r,i,o=t;for(i=n.path.length-1,r=0;r<i;r++)void 0===o[n.path[r]]&&(o[n.path[r]]={}),o=o[n.path[r]];switch(n.kind){case"A":!function t(e,n,r){if(r.path&&r.path.length){var i,o=e[n],a=r.path.length-1;for(i=0;i<a;i++)o=o[r.path[i]];switch(r.kind){case"A":t(o[r.path[i]],r.index,r.item);break;case"D":case"E":o[r.path[i]]=r.lhs;break;case"N":delete o[r.path[i]]}}else switch(r.kind){case"A":t(e[n],r.index,r.item);break;case"D":case"E":e[n]=r.lhs;break;case"N":e=s(e,n)}return e}(o[n.path[r]],n.index,n.item);break;case"D":case"E":o[n.path[r]]=n.lhs;break;case"N":delete o[n.path[r]]}}},enumerable:!0},isConflict:{value:function(){return void 0!==b},enumerable:!0},noConflict:{value:function(){return E&&(E.forEach(function(t){t()}),E=null),f},enumerable:!0}});var O={E:{color:"#2196F3",text:"CHANGED:"},N:{color:"#4CAF50",text:"ADDED:"},D:{color:"#F44336",text:"DELETED:"},A:{color:"#2196F3",text:"ARRAY:"}},C={level:"log",logger:console,logErrors:!0,collapsed:void 0,predicate:void 0,duration:!1,timestamp:!0,stateTransformer:function(t){return t},actionTransformer:function(t){return t},errorTransformer:function(t){return t},colors:{title:function(){return"inherit"},prevState:function(){return"#9E9E9E"},action:function(){return"#03A9F4"},nextState:function(){return"#4CAF50"},error:function(){return"#F20404"}},diff:!1,diffPredicate:void 0,transformer:void 0},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.dispatch,n=t.getState;return"function"==typeof e||"function"==typeof n?y()({dispatch:e,getState:n}):void console.error("\n[redux-logger v3] BREAKING CHANGE\n[redux-logger v3] Since 3.0.0 redux-logger exports by default logger with default settings.\n[redux-logger v3] Change\n[redux-logger v3] import createLogger from 'redux-logger'\n[redux-logger v3] to\n[redux-logger v3] import { createLogger } from 'redux-logger'\n")};e.defaults=C,e.createLogger=y,e.logger=A,e.default=A,Object.defineProperty(e,"__esModule",{value:!0})}(e)}).call(this,n("yLpj"))},"1sa7":function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},"1w3K":function(t,e,n){"use strict";var r=u(n("Si88")),i=u(n("PAGr")),o=u(n("UnXY")),a=u(n("S3Uj"));function u(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:o.default,ReplaceTransition:i.default,CSSTransition:r.default}},"1y0s":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var r=c(n("q1tI")),i=c(n("17x9")),o=c(n("xv+5")),a=c(n("rmCF")),u=n("ragC"),s=n("4UG0");function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(){return(h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function d(t){var e=t.activeStartDate,n=(0,u.getYear)(e);return r.default.createElement(o.default,h({},t,{className:"react-calendar__year-view__months",dateTransform:function(t){return new Date(n,t,1)},dateType:"month",end:11,start:0,tile:a.default}))}d.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(n,!0).forEach(function(e){f(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},s.tileGroupProps,{locale:i.default.string})},"25dN":function(t,e,n){var r=n("XKFU");r(r.S,"Object",{is:n("g6HL")})},"26FU":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),i=n("K9Ia"),o=n("8g8A"),a=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r.__extends(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(i.b)},"29s/":function(t,e,n){var r=n("WEpk"),i=n("5T2Y"),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("uOPS")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"2Bdj":function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",function(){return r})},"2GTP":function(t,e,n){var r=n("eaoh");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"2Nb0":function(t,e,n){n("FlQf"),n("bBy9"),t.exports=n("zLkG").f("iterator")},"2OiF":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"2Qnb":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.classNames=function(t,e,n,r){var i=[e,r];if(n&&t)for(var o in n)n.hasOwnProperty(o)&&n[o]&&i.push("".concat(u(t,o)));return i.filter(function(t){return t}).map(function(t){return String(t).trim()}).join(" ")},e.handleInputChange=function(t,e,n){if(n){var r=n(t,e);if("string"==typeof r)return r}return t},e.isDocumentElement=s,e.normalizedHeight=function(t){if(s(t))return window.innerHeight;return t.clientHeight},e.getScrollTop=c,e.scrollTo=l,e.getScrollParent=function(t){var e=getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/,i=document.documentElement;if("fixed"===e.position)return i;for(var o=t;o=o.parentElement;)if(e=getComputedStyle(o),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return o;return i},e.animatedScrollTo=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:a,o=c(t),u=e-o,s=10,f=0;!function e(){f+=s;var a=(c=f,h=o,d=u,p=n,d*((c=c/p-1)*c*c+1)+h);var c,h,d,p;l(t,a);f<n?(0,i.default)(e):r(t)}()},e.scrollIntoView=function(t,e){var n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=e.offsetHeight/3;r.bottom+i>n.bottom?l(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+i,t.scrollHeight)):r.top-i<n.top&&l(t,Math.max(e.offsetTop-i,0))},e.getBoundingClientObj=function(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}},e.toKey=function(t){return t.replace(/\W/g,"-")},e.isTouchCapable=function(){try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}},e.isMobileDevice=function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(t){return!1}},e.cleanValue=e.emptyString=e.noop=void 0;var r,i=(r=n("xEkU"))&&r.__esModule?r:{default:r};function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=function(){};e.noop=a;function u(t,e){return e?"-"===e[0]?t+e:t+"__"+e:t}e.emptyString=function(){return""};function s(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function c(t){return s(t)?window.pageYOffset:t.scrollTop}function l(t,e){s(t)?window.scrollTo(0,e):t.scrollTop=e}e.cleanValue=function(t){return Array.isArray(t)?t.filter(Boolean):"object"===o(t)&&null!==t?[t]:[]}},"2Spj":function(t,e,n){var r=n("XKFU");r(r.P,"Function",{bind:n("8MEG")})},"2W6z":function(t,e,n){"use strict";var r=function(){};t.exports=r},"2WpN":function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),i=n("FFOo"),o=n("pugT");function a(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.callback))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new o.a(n)),r}return r.__extends(e,t),e}(i.a)},"2ajD":function(t,e){t.exports=function(t){return t!=t}},"2atp":function(t,e,n){var r=n("XKFU"),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},"2ePl":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},"2faE":function(t,e,n){var r=n("5K7Z"),i=n("eUtF"),o=n("G8Mo"),a=Object.defineProperty;e.f=n("jmDH")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"2gN3":function(t,e,n){var r=n("Kz5y")["__core-js_shared__"];t.exports=r},"2mcs":function(t,e,n){"use strict";var r=n("ohE5");t.exports=r},"2mql":function(t,e,n){"use strict";var r=n("TOwV"),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(t){return r.isMemo(t)?a:u[t.$$typeof]||i}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(p){var i=d(n);i&&i!==p&&t(e,i,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var u=s(e),v=s(n),g=0;g<a.length;++g){var y=a[g];if(!(o[y]||r&&r[y]||v&&v[y]||u&&u[y])){var m=h(n,y);try{c(e,y,m)}catch(t){}}}return e}return e}},"2zpl":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopPreviews=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.PhotoshopPreviews=function(t){var e=t.rgb,n=t.currentColor,o=(0,i.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+e.r+","+e.g+", "+e.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return r.default.createElement("div",null,r.default.createElement("div",{style:o.label},"new"),r.default.createElement("div",{style:o.swatches},r.default.createElement("div",{style:o.new}),r.default.createElement("div",{style:o.current})),r.default.createElement("div",{style:o.label},"current"))};e.default=a},"3/DG":function(t,e){function n(t,e){var n=[],r=[];return null==e&&(e=function(t,e){return n[0]===e?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(e)).join(".")+"]"}),function(i,o){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,i):r.push(i),~n.indexOf(o)&&(o=e.call(this,i,o))}else n.push(o);return null==t?o:t.call(this,i,o)}}(t.exports=function(t,e,r,i){return JSON.stringify(t,n(e,i),r)}).getSerialize=n},"3A9y":function(t,e){t.exports=function(t){return this.__data__.has(t)}},"3Fdi":function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},"3GJH":function(t,e,n){n("lCc8");var r=n("WEpk").Object;t.exports=function(t,e){return r.create(t,e)}},"3IO0":function(t,e){t.exports=function(t){return n.test(t)?t.toLowerCase():r.test(t)?(function(t){return t.replace(o,function(t,e){return e?" "+e:""})}(t)||t).toLowerCase():i.test(t)?function(t){return t.replace(a,function(t,e,n){return e+" "+n.toLowerCase().split("").join(" ")})}(t).toLowerCase():t.toLowerCase()};var n=/\s/,r=/(_|-|\.|:)/,i=/([a-z][A-Z]|[A-Z][a-z])/;var o=/[\W_]+(.|$)/g;var a=/(.)([A-Z]+)/g},"3L66":function(t,e,n){var r=n("MMmD"),i=n("ExA7");t.exports=function(t){return i(t)&&r(t)}},"3Lyj":function(t,e,n){var r=n("KroJ");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},"3NYF":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.defaultProps=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),i=v(n("Wwog")),o=n("pyGu"),a=v(n("iIeY")),u=n("hsBP"),s=n("eZYK"),c=n("tUFz"),l=n("2Qnb"),f=n("Avpl"),h=n("9VfR"),d=n("TFNB"),p=n("tA+S");function v(t){return t&&t.__esModule?t:{default:t}}function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function m(){return(m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function b(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){E(t,e,n[e])})}return t}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function S(t,e){return(S=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var O={backspaceRemovesValue:!0,blurInputOnSelect:(0,l.isTouchCapable)(),captureMenuScroll:!(0,l.isTouchCapable)(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:(0,u.createFilter)(),formatGroupLabel:f.formatGroupLabel,getOptionLabel:f.getOptionLabel,getOptionValue:f.getOptionValue,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:f.isOptionDisabled,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,l.isMobileDevice)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};e.defaultProps=O;var C=1,A=function(t){function e(t){var n,r,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,o=_(e).call(this,t),n=!o||"object"!==g(o)&&"function"!=typeof o?k(r):o,E(k(k(n)),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,isComposing:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),E(k(k(n)),"blockOptionHover",!1),E(k(k(n)),"clearFocusValueOnUpdate",!1),E(k(k(n)),"commonProps",void 0),E(k(k(n)),"components",void 0),E(k(k(n)),"hasGroups",!1),E(k(k(n)),"initialTouchX",0),E(k(k(n)),"initialTouchY",0),E(k(k(n)),"inputIsHiddenAfterUpdate",void 0),E(k(k(n)),"instancePrefix",""),E(k(k(n)),"openAfterFocus",!1),E(k(k(n)),"scrollToFocusedOptionOnUpdate",!1),E(k(k(n)),"userIsDragging",void 0),E(k(k(n)),"controlRef",null),E(k(k(n)),"getControlRef",function(t){n.controlRef=t}),E(k(k(n)),"focusedOptionRef",null),E(k(k(n)),"getFocusedOptionRef",function(t){n.focusedOptionRef=t}),E(k(k(n)),"menuListRef",null),E(k(k(n)),"getMenuListRef",function(t){n.menuListRef=t}),E(k(k(n)),"inputRef",null),E(k(k(n)),"getInputRef",function(t){n.inputRef=t}),E(k(k(n)),"cacheComponents",function(t){n.components=(0,h.defaultComponents)({components:t})}),E(k(k(n)),"focus",n.focusInput),E(k(k(n)),"blur",n.blurInput),E(k(k(n)),"onChange",function(t,e){var r=n.props;(0,r.onChange)(t,x({},e,{name:r.name}))}),E(k(k(n)),"setValue",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:void 0,i=n.props,o=i.closeMenuOnSelect,a=i.isMulti;n.onInputChange("",{action:"set-value"}),o&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(t,{action:e,option:r})}),E(k(k(n)),"selectOption",function(t){var e=n.props,r=e.blurInputOnSelect;if(e.isMulti){var i=n.state.selectValue;if(n.isOptionSelected(t,i)){var o=n.getOptionValue(t);n.setValue(i.filter(function(t){return n.getOptionValue(t)!==o}),"deselect-option",t),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(t)}})}else n.setValue([].concat(b(i),[t]),"select-option",t),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t)}})}else n.setValue(t,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t)}});r&&n.blurInput()}),E(k(k(n)),"removeValue",function(t){var e=n.state.selectValue,r=n.getOptionValue(t);n.onChange(e.filter(function(t){return n.getOptionValue(t)!==r}),{action:"remove-value",removedValue:t}),n.announceAriaLiveSelection({event:"remove-value",context:{value:t?n.getOptionLabel(t):""}}),n.focusInput()}),E(k(k(n)),"clearValue",function(){var t=n.props.isMulti;n.onChange(t?[]:null,{action:"clear"})}),E(k(k(n)),"popValue",function(){var t=n.state.selectValue,e=t[t.length-1];n.announceAriaLiveSelection({event:"pop-value",context:{value:e?n.getOptionLabel(e):""}}),n.onChange(t.slice(0,t.length-1),{action:"pop-value",removedValue:e})}),E(k(k(n)),"getOptionLabel",function(t){return n.props.getOptionLabel(t)}),E(k(k(n)),"getOptionValue",function(t){return n.props.getOptionValue(t)}),E(k(k(n)),"getStyles",function(t,e){var r=d.defaultStyles[t](e);r.boxSizing="border-box";var i=n.props.styles[t];return i?i(r,e):r}),E(k(k(n)),"getElementId",function(t){return"".concat(n.instancePrefix,"-").concat(t)}),E(k(k(n)),"getActiveDescendentId",function(){var t=n.props.menuIsOpen,e=n.state,r=e.menuOptions,i=e.focusedOption;if(i&&t){var o=r.focusable.indexOf(i),a=r.render[o];return a&&a.key}}),E(k(k(n)),"announceAriaLiveSelection",function(t){var e=t.event,r=t.context;n.setState({ariaLiveSelection:(0,c.valueEventAriaMessage)(e,r)})}),E(k(k(n)),"announceAriaLiveContext",function(t){var e=t.event,r=t.context;n.setState({ariaLiveContext:(0,c.instructionsAriaMessage)(e,x({},r,{label:n.props["aria-label"]}))})}),E(k(k(n)),"onMenuMouseDown",function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),n.focusInput())}),E(k(k(n)),"onMenuMouseMove",function(t){n.blockOptionHover=!1}),E(k(k(n)),"onControlMouseDown",function(t){var e=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==t.currentTarget.tagName&&n.onMenuClose():e&&n.openMenu("first"):(e&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==t.currentTarget.tagName&&t.preventDefault()}),E(k(k(n)),"onDropdownIndicatorMouseDown",function(t){if(!(t&&"mousedown"===t.type&&0!==t.button||n.props.isDisabled)){var e=n.props,r=e.isMulti,i=e.menuIsOpen;n.focusInput(),i?(n.inputIsHiddenAfterUpdate=!r,n.onMenuClose()):n.openMenu("first"),t.preventDefault(),t.stopPropagation()}}),E(k(k(n)),"onClearIndicatorMouseDown",function(t){t&&"mousedown"===t.type&&0!==t.button||(n.clearValue(),t.stopPropagation(),n.openAfterFocus=!1,setTimeout(function(){return n.focusInput()}))}),E(k(k(n)),"onScroll",function(t){"boolean"==typeof n.props.closeMenuOnScroll?t.target instanceof HTMLElement&&(0,l.isDocumentElement)(t.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(t)&&n.props.onMenuClose()}),E(k(k(n)),"onCompositionStart",function(){n.setState({isComposing:!0})}),E(k(k(n)),"onCompositionEnd",function(){n.setState({isComposing:!1})}),E(k(k(n)),"onTouchStart",function(t){var e=t.touches.item(0);e&&(n.initialTouchX=e.clientX,n.initialTouchY=e.clientY,n.userIsDragging=!1)}),E(k(k(n)),"onTouchMove",function(t){var e=t.touches.item(0);if(e){var r=Math.abs(e.clientX-n.initialTouchX),i=Math.abs(e.clientY-n.initialTouchY);n.userIsDragging=r>5||i>5}}),E(k(k(n)),"onTouchEnd",function(t){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(t.target)&&n.menuListRef&&!n.menuListRef.contains(t.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)}),E(k(k(n)),"onControlTouchEnd",function(t){n.userIsDragging||n.onControlMouseDown(t)}),E(k(k(n)),"onClearIndicatorTouchEnd",function(t){n.userIsDragging||n.onClearIndicatorMouseDown(t)}),E(k(k(n)),"onDropdownIndicatorTouchEnd",function(t){n.userIsDragging||n.onDropdownIndicatorMouseDown(t)}),E(k(k(n)),"handleInputChange",function(t){var e=t.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(e,{action:"input-change"}),n.onMenuOpen()}),E(k(k(n)),"onInputFocus",function(t){var e=n.props,r=e.isSearchable,i=e.isMulti;n.props.onFocus&&n.props.onFocus(t),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:i}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1}),E(k(k(n)),"onInputBlur",function(t){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(t),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))}),E(k(k(n)),"onOptionHover",function(t){n.blockOptionHover||n.state.focusedOption===t||n.setState({focusedOption:t})}),E(k(k(n)),"shouldHideSelectedOptions",function(){var t=n.props,e=t.hideSelectedOptions,r=t.isMulti;return void 0===e?r:e}),E(k(k(n)),"onKeyDown",function(t){var e=n.props,r=e.isMulti,i=e.backspaceRemovesValue,o=e.escapeClearsValue,a=e.inputValue,u=e.isClearable,s=e.isDisabled,c=e.menuIsOpen,l=e.onKeyDown,f=e.tabSelectsValue,h=e.openMenuOnFocus,d=n.state,p=d.isComposing,v=d.focusedOption,g=d.focusedValue,y=d.selectValue;if(!(s||"function"==typeof l&&(l(t),t.defaultPrevented))){switch(n.blockOptionHover=!0,t.key){case"ArrowLeft":if(!r||a)return;n.focusValue("previous");break;case"ArrowRight":if(!r||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)n.removeValue(g);else{if(!i)return;r?n.popValue():u&&n.clearValue()}break;case"Tab":if(p)return;if(t.shiftKey||!c||!f||!v||h&&n.isOptionSelected(v,y))return;n.selectOption(v);break;case"Enter":if(c){if(!v)return;if(p)return;n.selectOption(v);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):u&&o&&n.clearValue();break;case" ":if(a)return;if(!c){n.openMenu("first");break}if(!v)return;n.selectOption(v);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}t.preventDefault()}});var u=t.value;n.cacheComponents=(0,i.default)(n.cacheComponents,a.default).bind(k(k(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++C);var s=(0,l.cleanValue)(u),f=n.buildMenuOptions(t,s);return n.state.menuOptions=f,n.state.selectValue=s,n}var n,u,f;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S(t,e)}(e,r.Component),n=e,(u=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(t){var e=this.props,n=e.options,r=e.value,i=e.inputValue;if(this.cacheComponents(t.components),t.value!==r||t.options!==n||t.inputValue!==i){var o=(0,l.cleanValue)(t.value),a=this.buildMenuOptions(t,o),u=this.getNextFocusedValue(o),s=this.getNextFocusedOption(a.focusable);this.setState({menuOptions:a,selectValue:o,focusedOption:s,focusedValue:u})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDisabled,r=e.menuIsOpen,i=this.state.isFocused;(i&&!n&&t.isDisabled||i&&r&&!t.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(0,l.scrollIntoView)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var t=this.props,e=t.isSearchable,n=t.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:e,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(t,e){this.props.onInputChange(t,e)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(t){var e=this.state,n=e.menuOptions,r=e.selectValue,i=e.isFocused,o=this.props.isMulti,a="first"===t?0:n.focusable.length-1;if(!o){var u=n.focusable.indexOf(r[0]);u>-1&&(a=u)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[a]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(t){var e=this.props,n=e.isMulti,r=e.isSearchable,i=this.state,o=i.selectValue,a=i.focusedValue;if(n){this.setState({focusedOption:null});var u=o.indexOf(a);a||(u=-1,this.announceAriaLiveContext({event:"value"}));var s=o.length-1,c=-1;if(o.length){switch(t){case"previous":c=0===u?0:-1===u?s:u-1;break;case"next":u>-1&&u<s&&(c=u+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state,r=n.focusedOption,i=n.menuOptions.focusable;if(i.length){var o=0,a=i.indexOf(r);r||(a=-1,this.announceAriaLiveContext({event:"menu"})),"up"===t?o=a>0?a-1:i.length-1:"down"===t?o=(a+1)%i.length:"pageup"===t?(o=a-e)<0&&(o=0):"pagedown"===t?(o=a+e)>i.length-1&&(o=i.length-1):"last"===t&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(p.defaultTheme):x({},p.defaultTheme,this.props.theme):p.defaultTheme}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.getStyles,n=this.setValue,r=this.selectOption,i=this.props,o=i.classNamePrefix,a=i.isMulti,u=i.isRtl,s=i.options,c=this.state.selectValue,f=this.hasValue();return{cx:l.classNames.bind(null,o),clearValue:t,getStyles:e,getValue:function(){return c},hasValue:f,isMulti:a,isRtl:u,options:s,selectOption:r,setValue:n,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(t){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var e=this.state,n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}},{key:"getNextFocusedOption",value:function(t){var e=this.state.focusedOption;return e&&t.indexOf(e)>-1?e:t[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(t,e)}},{key:"isOptionSelected",value:function(t,e){var n=this;if(e.indexOf(t)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(t,e);var r=this.getOptionValue(t);return e.some(function(t){return n.getOptionValue(t)===r})}},{key:"filterOption",value:function(t,e){return!this.props.filterOption||this.props.filterOption(t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:r})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(t,e){var n=this,r=t.inputValue,i=void 0===r?"":r,o=t.options,a=function(t,r){var o=n.isOptionDisabled(t,e),a=n.isOptionSelected(t,e),u=n.getOptionLabel(t),s=n.getOptionValue(t);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:u,value:s,data:t},i))){var c=o?void 0:function(){return n.onOptionHover(t)},l=o?void 0:function(){return n.selectOption(t)},f="".concat(n.getElementId("option"),"-").concat(r);return{innerProps:{id:f,onClick:l,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:t,isDisabled:o,isSelected:a,key:f,label:u,type:"option",value:s}}};return o.reduce(function(t,e,r){if(e.options){n.hasGroups||(n.hasGroups=!0);var i=e.options.map(function(e,n){var i=a(e,"".concat(r,"-").concat(n));return i&&!i.isDisabled&&t.focusable.push(e),i}).filter(Boolean);if(i.length){var o="".concat(n.getElementId("group"),"-").concat(r);t.render.push({type:"group",key:o,data:e,options:i})}}else{var u=a(e,"".concat(r));u&&(t.render.push(u),u.isDisabled||t.focusable.push(e))}return t},{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var t=this.state,e=t.ariaLiveContext,n=t.selectValue,r=t.focusedValue,i=t.focusedOption,o=this.props,a=o.options,u=o.menuIsOpen,s=o.inputValue,l=o.screenReaderStatus,f=r?(0,c.valueFocusAriaMessage)({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",h=i&&u?(0,c.optionFocusAriaMessage)({focusedOption:i,getOptionLabel:this.getOptionLabel,options:a}):"",d=(0,c.resultsAriaMessage)({inputValue:s,screenReaderMessage:l({count:this.countOptions()})});return"".concat(f," ").concat(h," ").concat(d," ").concat(e)}},{key:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,i=t.inputId,o=t.inputValue,a=t.tabIndex,u=this.components.Input,c=this.state.inputIsHidden,f=i||this.getElementId("input");if(!n)return r.default.createElement(s.DummyInput,{id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:l.noop,onFocus:this.onInputFocus,readOnly:!0,disabled:e,tabIndex:a,value:""});var h={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},d=this.commonProps,p=d.cx,v=d.theme,g=d.selectProps;return r.default.createElement(u,m({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:p,getStyles:this.getStyles,id:f,innerRef:this.getInputRef,isDisabled:e,isHidden:c,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:g,spellCheck:"false",tabIndex:a,theme:v,type:"text",value:o},h))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.components,n=e.MultiValue,i=e.MultiValueContainer,o=e.MultiValueLabel,a=e.MultiValueRemove,u=e.SingleValue,s=e.Placeholder,c=this.commonProps,l=this.props,f=l.controlShouldRenderValue,h=l.isDisabled,d=l.isMulti,p=l.inputValue,v=l.placeholder,g=this.state,y=g.selectValue,b=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!f)return p?null:r.default.createElement(s,m({},c,{key:"placeholder",isDisabled:h,isFocused:x}),v);if(d)return y.map(function(e){var u=e===b;return r.default.createElement(n,m({},c,{components:{Container:i,Label:o,Remove:a},isFocused:u,isDisabled:h,key:t.getOptionValue(e),removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault(),t.stopPropagation()}},data:e}),t.formatOptionLabel(e,"value"))});if(p)return null;var w=y[0];return r.default.createElement(u,m({},c,{data:w,isDisabled:h}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.components.ClearIndicator,e=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||i||!this.hasValue()||o)return null;var u={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.default.createElement(t,m({},e,{innerProps:u,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.components.LoadingIndicator,e=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!t||!o)return null;return r.default.createElement(t,m({},e,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var t=this.components,e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.default.createElement(n,m({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.components.DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.default.createElement(t,m({},e,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var t=this,e=this.components,n=e.Group,i=e.GroupHeading,a=e.Menu,u=e.MenuList,c=e.MenuPortal,l=e.LoadingMessage,f=e.NoOptionsMessage,h=e.Option,d=this.commonProps,p=this.state,v=p.focusedOption,g=p.menuOptions,b=this.props,x=b.captureMenuScroll,w=b.inputValue,_=b.isLoading,S=b.loadingMessage,k=b.minMenuHeight,E=b.maxMenuHeight,O=b.menuIsOpen,C=b.menuPlacement,A=b.menuPosition,T=b.menuPortalTarget,M=b.menuShouldBlockScroll,P=b.menuShouldScrollIntoView,j=b.noOptionsMessage,D=b.onMenuScrollToTop,I=b.onMenuScrollToBottom;if(!O)return null;var N,F=function(e){var n=v===e.data;return e.innerRef=n?t.getFocusedOptionRef:void 0,r.default.createElement(h,m({},d,e,{isFocused:n}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())N=g.render.map(function(e){if("group"===e.type){e.type;var o=y(e,["type"]),a="".concat(e.key,"-heading");return r.default.createElement(n,m({},d,o,{Heading:i,headingProps:{id:a},label:t.formatGroupLabel(e.data)}),e.options.map(function(t){return F(t)}))}if("option"===e.type)return F(e)});else if(_){var R=S({inputValue:w});if(null===R)return null;N=r.default.createElement(l,d,R)}else{var L=j({inputValue:w});if(null===L)return null;N=r.default.createElement(f,d,L)}var B={minMenuHeight:k,maxMenuHeight:E,menuPlacement:C,menuPosition:A,menuShouldScrollIntoView:P},z=r.default.createElement(o.MenuPlacer,m({},d,B),function(e){var n=e.ref,i=e.placerProps,o=i.placement,c=i.maxHeight;return r.default.createElement(a,m({},d,B,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:_,placement:o}),r.default.createElement(s.ScrollCaptor,{isEnabled:x,onTopArrive:D,onBottomArrive:I},r.default.createElement(s.ScrollBlock,{isEnabled:M},r.default.createElement(u,m({},d,{innerRef:t.getMenuListRef,isLoading:_,maxHeight:c}),N))))});return T||"fixed"===A?r.default.createElement(c,m({},d,{appendTo:T,controlElement:this.controlRef,menuPlacement:C,menuPosition:A}),z):z}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,i=e.isDisabled,o=e.isMulti,a=e.name,u=this.state.selectValue;if(a&&!i){if(o){if(n){var s=u.map(function(e){return t.getOptionValue(e)}).join(n);return r.default.createElement("input",{name:a,type:"hidden",value:s})}var c=u.length>0?u.map(function(e,n){return r.default.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:t.getOptionValue(e)})}):r.default.createElement("input",{name:a,type:"hidden"});return r.default.createElement("div",null,c)}var l=u[0]?this.getOptionValue(u[0]):"";return r.default.createElement("input",{name:a,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?r.default.createElement(s.A11yText,{"aria-live":"assertive"},r.default.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),r.default.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var t=this.components,e=t.Control,n=t.IndicatorsContainer,i=t.SelectContainer,o=t.ValueContainer,a=this.props,u=a.className,s=a.id,c=a.isDisabled,l=a.menuIsOpen,f=this.state.isFocused,h=this.commonProps=this.getCommonProps();return r.default.createElement(i,m({},h,{className:u,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),r.default.createElement(e,m({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:l}),r.default.createElement(o,m({},h,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.default.createElement(n,m({},h,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}])&&w(n.prototype,u),f&&w(n,f),e}();e.default=A,E(A,"defaultProps",O)},"3U0i":function(t,e,n){"use strict";function r(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}n.d(e,"a",function(){return i}),r.prototype=Object.create(Error.prototype);var i=r},"3UD+":function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},"3WF5":function(t,e,n){var r=n("eUgh"),i=n("ut/Y"),o=n("l9OW"),a=n("Z0cm");t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},"3fWJ":function(t,e,n){"use strict";function r(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}n.d(e,"a",function(){return i}),r.prototype=Object.create(Error.prototype);var i=r},"3xty":function(t,e,n){var r=n("XKFU"),i=n("2OiF"),o=n("y3w9"),a=(n("dyZX").Reflect||{}).apply,u=Function.apply;r(r.S+r.F*!n("eeVq")(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),s=o(n);return a?a(r,e,s):u.call(r,e,s)}})},"4/ic":function(t,e,n){var r=n("ZWtO");t.exports=function(t){return function(e){return r(e,t)}}},"44Ds":function(t,e,n){var r=n("e4Nc"),i="Expected a function";function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},"49sm":function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},"4IlW":function(t,e,n){"use strict";var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(t){var e=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||e>=r.F1&&e<=r.F12)return!1;switch(e){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=r.ZERO&&t<=r.NINE)return!0;if(t>=r.NUM_ZERO&&t<=r.NUM_MULTIPLY)return!0;if(t>=r.A&&t<=r.Z)return!0;if(-1!==window.navigation.userAgent.indexOf("WebKit")&&0===t)return!0;switch(t){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};e.a=r},"4LiD":function(t,e,n){"use strict";var r=n("dyZX"),i=n("XKFU"),o=n("KroJ"),a=n("3Lyj"),u=n("Z6vF"),s=n("SlkY"),c=n("9gX7"),l=n("0/R4"),f=n("eeVq"),h=n("XMVh"),d=n("fyDq"),p=n("Xbzi");t.exports=function(t,e,n,v,g,y){var m=r[t],b=m,x=g?"set":"add",w=b&&b.prototype,_={},S=function(t){var e=w[t];o(w,t,"delete"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(y||w.forEach&&!f(function(){(new b).entries().next()}))){var k=new b,E=k[x](y?{}:-0,1)!=k,O=f(function(){k.has(1)}),C=h(function(t){new b(t)}),A=!y&&f(function(){for(var t=new b,e=5;e--;)t[x](e,e);return!t.has(-0)});C||((b=e(function(e,n){c(e,b,t);var r=p(new m,e,b);return null!=n&&s(n,g,r[x],r),r})).prototype=w,w.constructor=b),(O||A)&&(S("delete"),S("has"),g&&S("get")),(A||E)&&S(x),y&&w.clear&&delete w.clear}else b=v.getConstructor(e,t,g,x),a(b.prototype,n),u.NEED=!0;return d(b,t),_[t]=b,i(i.G+i.W+i.F*(b!=m),_),y||v.setStrong(b,t,g),b}},"4Oe1":function(t,e,n){var r=n("YO3V");t.exports=function(t){return r(t)?void 0:t}},"4R4u":function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4UG0":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tileProps=e.tileGroupProps=e.isView=e.isClassName=e.isViews=e.isValue=e.isMaxDate=e.isMinDate=e.isCalendarType=void 0;var r,i=(r=n("17x9"))&&r.__esModule?r:{default:r};function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var a=["century","decade","year","month"],u=i.default.oneOf(["ISO 8601","US","Arabic","Hebrew"]);e.isCalendarType=u;var s=function(t,e,n){var r=t[e];if(r){if(!(r instanceof Date))return new Error("Invalid prop `".concat(e,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var i=t.maxDate;if(i&&r>i)return new Error("Invalid prop `".concat(e,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, minDate cannot be larger than maxDate."))}return null};e.isMinDate=s;var c=function(t,e,n){var r=t[e];if(r){if(!(r instanceof Date))return new Error("Invalid prop `".concat(e,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, expected instance of `Date`."));var i=t.minDate;if(i&&r<i)return new Error("Invalid prop `".concat(e,"` of type `").concat(o(r),"` supplied to `").concat(n,"`, maxDate cannot be smaller than minDate."))}return null};e.isMaxDate=c;var l=i.default.oneOfType([i.default.instanceOf(Date),i.default.arrayOf(i.default.instanceOf(Date))]);e.isValue=l;var f=i.default.arrayOf(i.default.oneOf(a));e.isViews=f;var h=i.default.oneOfType([i.default.string,i.default.arrayOf(i.default.string)]);e.isClassName=h;var d=function(t,e,n){var r=t[e],i=t.views||a;return void 0!==r&&-1===i.indexOf(r)?new Error("Invalid prop `".concat(e,"` of value `").concat(r,"` supplied to `").concat(n,"`, expected one of [").concat(i.map(function(t){return'"'.concat(t,'"')}).join(", "),"].")):null};e.isView=d,d.isRequired=function(t,e,n){var r=t[e];return r?d(t,e,n):new Error("The prop `".concat(e,"` is marked as required in `").concat(n,"`, but its value is `").concat(r,"`."))};var p={activeStartDate:i.default.instanceOf(Date).isRequired,hover:i.default.instanceOf(Date),locale:i.default.string,maxDate:c,minDate:s,onClick:i.default.func,onMouseOver:i.default.func,tileClassName:i.default.oneOfType([i.default.func,h]),tileContent:i.default.oneOfType([i.default.func,i.default.node]),value:l,valueType:i.default.string};e.tileGroupProps=p;var v={activeStartDate:i.default.instanceOf(Date).isRequired,classes:i.default.arrayOf(i.default.string).isRequired,date:i.default.instanceOf(Date).isRequired,locale:i.default.string,maxDate:c,minDate:s,onClick:i.default.func,onMouseOver:i.default.func,style:i.default.objectOf(i.default.oneOfType([i.default.string,i.default.number])),tileClassName:i.default.oneOfType([i.default.func,h]),tileContent:i.default.oneOfType([i.default.func,i.default.node]),tileDisabled:i.default.func};e.tileProps=v},"4kuk":function(t,e,n){var r=n("SfRM"),i=n("Hvzi"),o=n("u8Dt"),a=n("ekgI"),u=n("JSQU");function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},"4qC0":function(t,e,n){var r=n("NykK"),i=n("Z0cm"),o=n("ExA7"),a="[object String]";t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&r(t)==a}},"4sDh":function(t,e,n){var r=n("4uTw"),i=n("03A+"),o=n("Z0cm"),a=n("wJg7"),u=n("shjB"),s=n("9Nap");t.exports=function(t,e,n){for(var c=-1,l=(e=r(e,t)).length,f=!1;++c<l;){var h=s(e[c]);if(!(f=null!=t&&n(t,h)))break;t=t[h]}return f||++c!=l?f:!!(l=null==t?0:t.length)&&u(l)&&a(h,l)&&(o(t)||i(t))}},"4uTw":function(t,e,n){var r=n("Z0cm"),i=n("9ggG"),o=n("GNiM"),a=n("dt0z");t.exports=function(t,e){return r(t)?t:i(t,e)?[t]:o(a(t))}},"4ueL":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var r=s(n("q1tI")),i=s(n("17x9")),o=s(n("Jpgy")),a=n("ragC"),u=n("4UG0");function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function h(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var d="react-calendar__century-view__decades__decade";function p(t){var e=t.classes,n=t.point,i=h(t,["classes","point"]);return r.default.createElement(o.default,f({},i,{classes:[].concat(e,d),maxDateTransform:a.getEndOfDecade,minDateTransform:a.getBeginOfDecade,view:"century"}),(0,a.getDecadeLabel)(n))}p.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(n,!0).forEach(function(e){l(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},u.tileProps,{point:i.default.number.isRequired})},"5/gw":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndicatorsContainer=e.indicatorsContainerCSS=e.ValueContainer=e.valueContainerCSS=e.SelectContainer=e.containerCSS=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),i=n("PAeb");function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}e.containerCSS=function(t){var e=t.isDisabled;return{direction:t.isRtl?"rtl":null,pointerEvents:e?"none":null,position:"relative"}};e.SelectContainer=function(t){var e=t.children,n=t.className,o=t.cx,a=t.getStyles,u=t.innerProps,s=t.isDisabled,c=t.isRtl;return r.default.createElement("div",l({className:o((0,i.css)(a("container",t)),{"--is-disabled":s,"--is-rtl":c},n)},u),e)};e.valueContainerCSS=function(t){var e=t.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(e.baseUnit/2,"px ").concat(2*e.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}};var f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,s(e).apply(this,arguments))}var n,o,l;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,r.Component),n=e,(o=[{key:"render",value:function(){var t=this.props,e=t.children,n=t.className,o=t.cx,a=t.isMulti,u=t.getStyles,s=t.hasValue;return r.default.createElement("div",{className:o((0,i.css)(u("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":a,"value-container--has-value":s},n)},e)}}])&&a(n.prototype,o),l&&a(n,l),e}();e.ValueContainer=f;e.indicatorsContainerCSS=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}};e.IndicatorsContainer=function(t){var e=t.children,n=t.className,o=t.cx,a=t.getStyles;return r.default.createElement("div",{className:o((0,i.css)(a("indicatorsContainer",t)),{indicators:!0},n)},e)}},"51gB":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("mrSG"),i=n("q1tI"),o=r.__importDefault(n("Cznk"));e.default=function(t,e,n){void 0===e&&(e=[]),void 0===n&&(n={loading:!1});var r=i.useState(n),a=r[0],u=r[1],s=o.default();return[a,i.useCallback(function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return u({loading:!0}),t.apply(void 0,e).then(function(t){return s()&&u({value:t,loading:!1}),t},function(t){return s()&&u({error:t,loading:!1}),t})},e)]}},"55Il":function(t,e,n){"use strict";n("g2aq");var r,i=(r=n("VsWn"))&&r.__esModule?r:{default:r};i.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),i.default._babelPolyfill=!0},"575g":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var r=c(n("q1tI")),i=c(n("17x9")),o=c(n("sO1s")),a=c(n("Tpf+")),u=c(n("zslu")),s=n("4UG0");function c(t){return t&&t.__esModule?t:{default:t}}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function f(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function h(t){var e=t.activeStartDate,n=t.locale,i=t.onMouseLeave,s=t.showFixedNumberOfWeeks,c=t.calendarType,h=t.formatShortWeekday,d=t.onClickWeekNumber,p=t.showWeekNumbers,v=f(t,["calendarType","formatShortWeekday","onClickWeekNumber","showWeekNumbers"]),g=function(){if(c)return c;switch(n){case"en-CA":case"en-US":case"es-AR":case"es-BO":case"es-CL":case"es-CO":case"es-CR":case"es-DO":case"es-EC":case"es-GT":case"es-HN":case"es-MX":case"es-NI":case"es-PA":case"es-PE":case"es-PR":case"es-SV":case"es-VE":case"pt-BR":return"US";case"ar":case"ar-AE":case"ar-BH":case"ar-DZ":case"ar-EG":case"ar-IQ":case"ar-JO":case"ar-KW":case"ar-LY":case"ar-OM":case"ar-QA":case"ar-SA":case"ar-SD":case"ar-SY":case"ar-YE":case"dv":case"dv-MV":case"ps":case"ps-AR":return"Arabic";case"he":case"he-IL":return"Hebrew";default:return"ISO 8601"}}();var y="react-calendar__month-view";return r.default.createElement("div",{className:[y,p?"".concat(y,"--weekNumbers"):""].join(" ")},r.default.createElement("div",{style:{display:"flex",alignItems:"flex-end"}},p?r.default.createElement(u.default,{activeStartDate:e,calendarType:g,onClickWeekNumber:d,onMouseLeave:i,showFixedNumberOfWeeks:s}):null,r.default.createElement("div",{style:{flexGrow:1,width:"100%"}},r.default.createElement(a.default,{calendarType:g,formatShortWeekday:h,locale:n,onMouseLeave:i}),r.default.createElement(o.default,l({calendarType:g},v)))))}h.propTypes={activeStartDate:i.default.instanceOf(Date).isRequired,calendarType:s.isCalendarType,formatShortWeekday:i.default.func,locale:i.default.string,maxDate:s.isMaxDate,minDate:s.isMinDate,onChange:i.default.func,onClickWeekNumber:i.default.func,onMouseLeave:i.default.func,setActiveRange:i.default.func,showFixedNumberOfWeeks:i.default.bool,showNeighboringMonth:i.default.bool,showWeekNumbers:i.default.bool,value:s.isValue,valueType:i.default.string}},"5HXA":function(t,e,n){"use strict";var r=n("ANjH").compose;e.__esModule=!0,e.composeWithDevTools="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"==typeof arguments[0]?r:r.apply(null,arguments)},e.devToolsEnhancer="undefined"!=typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__?window.__REDUX_DEVTOOLS_EXTENSION__:function(){return function(t){return t}}},"5K7Z":function(t,e,n){var r=n("93I4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},"5Pf0":function(t,e,n){var r=n("S/j/"),i=n("OP3Y");n("Xtr8")("getPrototypeOf",function(){return function(t){return i(r(t))}})},"5T2Y":function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"5Tg0":function(t,e,n){(function(t){var r=n("Kz5y"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=u?u(n):new t.constructor(n);return t.copy(r),r}}).call(this,n("YuTi")(t))},"5UaS":function(t,e,n){(function(t,r){var i;/*! https://mths.be/esrever v0.2.0 by @mathias */!function(o){var a=e,u=(t&&t.exports,"object"==typeof r&&r);u.global!==u&&u.window;var s=/([\0-\u02FF\u0370-\u1AAF\u1B00-\u1DBF\u1E00-\u20CF\u2100-\uD7FF\uE000-\uFE1F\uFE30-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])([\u0300-\u036F\u1AB0-\u1AFF\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]+)/g,c=/([\uD800-\uDBFF])([\uDC00-\uDFFF])/g,l=function(t){for(var e="",n=(t=t.replace(s,function(t,e,n){return l(n)+e}).replace(c,"$2$1")).length;n--;)e+=t.charAt(n);return e},f={version:"0.2.0",reverse:l};void 0===(i=function(){return f}.call(e,n,e,t))||(t.exports=i)}()}).call(this,n("YuTi")(t),n("yLpj"))},"5vMV":function(t,e,n){var r=n("B+OT"),i=n("NsO/"),o=n("W070")(!1),a=n("VVlx")("IE_PROTO");t.exports=function(t,e){var n,u=i(t),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;e.length>s;)r(u,n=e[s++])&&(~o(c,n)||c.push(n));return c}},"6/1s":function(t,e,n){var r=n("YqAc")("meta"),i=n("93I4"),o=n("B+OT"),a=n("2faE").f,u=0,s=Object.isExtensible||function(){return!0},c=!n("KUxP")(function(){return s(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!s(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return c&&f.NEED&&s(t)&&!o(t,r)&&l(t),t}}},"60iU":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r,i=n("G5J1"),o=n("F/XL"),a=n("XlPw");r||(r={});var u=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(a.a)(this.error);case"C":return Object(i.b)()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}()},"60yG":function(t,e){var n="Expected a function",r=1/0,i=1.7976931348623157e308,o=NaN,a="[object Symbol]",u=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,f=parseInt,h=Object.prototype.toString;function d(t,e){var d;if("function"!=typeof e)throw new TypeError(n);return t=function(t){var e=function(t){if(!t)return 0===t?t:0;if((t=function(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&h.call(t)==a}(t))return o;if(p(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=p(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(u,"");var n=c.test(t);return n||l.test(t)?f(t.slice(2),n?2:8):s.test(t)?o:+t}(t))===r||t===-r){var e=t<0?-1:1;return e*i}return t==t?t:0}(t),n=e%1;return e==e?n?e-n:e:0}(t),function(){return--t>0&&(d=e.apply(this,arguments)),t<=1&&(e=void 0),d}}function p(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=function(t){return d(2,t)}},"63Hc":function(t,e){t.exports={indexOf:function(t,e){var n,r;if(Array.prototype.indexOf)return t.indexOf(e);for(n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},forEach:function(t,e,n){var r,i;if(Array.prototype.forEach)return t.forEach(e,n);for(r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/.exec(t);return e?e.index:-1}}},"67Y/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("FFOo");function o(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.thisArg))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a)},"694e":function(t,e,n){var r=n("EemH"),i=n("XKFU"),o=n("y3w9");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},"69bn":function(t,e,n){var r=n("y3w9"),i=n("2OiF"),o=n("K0xU")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},"6AQ9":function(t,e,n){"use strict";var r=n("XKFU"),i=n("8a7r");r(r.S+r.F*n("eeVq")(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},"6FMO":function(t,e,n){var r=n("0/R4"),i=n("EWmC"),o=n("K0xU")("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},"6VaU":function(t,e,n){"use strict";var r=n("XKFU"),i=n("xF/b"),o=n("S/j/"),a=n("ne8i"),u=n("2OiF"),s=n("zRwo");r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return u(t),e=a(r.length),n=s(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n("nGyu")("flatMap")},"6acW":function(t,e,n){var r=n("dt0z"),i=n("gQMU");t.exports=function(t){return i(r(t).toLowerCase())}},"6ahw":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("iLxQ"),i=n("DKTb"),o={closed:!0,next:function(t){},error:function(t){if(r.a.useDeprecatedSynchronousErrorHandling)throw t;Object(i.a)(t)},complete:function(){}}},"6blF":function(t,e,n){"use strict";var r=n("1fDf"),i=n("FFOo"),o=n("L/V9"),a=n("6ahw");var u=n("xTla"),s=n("y3By"),c=n("iLxQ");n.d(e,"a",function(){return l});var l=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,u=function(t,e,n){if(t){if(t instanceof i.a)return t;if(t[o.a])return t[o.a]()}return t||e||n?new i.a(t,e,n):new i.a(a.a)}(t,e,n);if(r?u.add(r.call(u,this.source)):u.add(this.source||c.a.useDeprecatedSynchronousErrorHandling&&!u.syncErrorThrowable?this._subscribe(u):this._trySubscribe(u)),c.a.useDeprecatedSynchronousErrorHandling&&u.syncErrorThrowable&&(u.syncErrorThrowable=!1,u.syncErrorThrown))throw u.syncErrorValue;return u},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){c.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),Object(r.a)(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=f(e))(function(e,r){var i;i=n.subscribe(function(e){try{t(e)}catch(t){r(t),i&&i.unsubscribe()}},r,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[u.a]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:Object(s.b)(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=f(t))(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}();function f(t){if(t||(t=c.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},"6fqK":function(t,e,n){"use strict";var r,i;r=new RegExp("^[^֑-߿יִ-﷽ﹰ-ﻼ]*[A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--]"),i=new RegExp("^[^A-Za-zÀ-ÖØ-öø-ʸ̀-ࠀ-Ⰰ-︀--]*[֑-߿יִ-﷽ﹰ-ﻼ]"),t.exports=function(t){return t=t.toString(),i.test(t)?"rtl":r.test(t)?"ltr":"neutral"}},"6sVZ":function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},"6tYh":function(t,e,n){var r=n("93I4"),i=n("5K7Z"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n("2GTP")(Function.call,n("vwuL").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"711d":function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},"77Zs":function(t,e,n){var r=n("Xi7e");t.exports=function(){this.__data__=new r,this.size=0}},"7B0+":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=(r=n("q1tI"))&&"object"==typeof r&&"default"in r?r.default:r;e.AppContainer=function(t){return i.Children.only(t.children)},e.hot=function(){return function(t){return t}},e.areComponentsEqual=function(t,e){return t===e},e.setConfig=function(){},e.cold=function(t){return t},e.configureComponent=function(){}},"7DDg":function(t,e,n){"use strict";if(n("nh4g")){var r=n("LQAc"),i=n("dyZX"),o=n("eeVq"),a=n("XKFU"),u=n("D4iV"),s=n("7Qtz"),c=n("m0Pp"),l=n("9gX7"),f=n("RjD/"),h=n("Mukb"),d=n("3Lyj"),p=n("RYi7"),v=n("ne8i"),g=n("Cfrj"),y=n("d/Gc"),m=n("apmT"),b=n("aagx"),x=n("I8a+"),w=n("0/R4"),_=n("S/j/"),S=n("M6Qj"),k=n("Kuth"),E=n("OP3Y"),O=n("kJMx").f,C=n("J+6e"),A=n("ylqs"),T=n("K0xU"),M=n("CkkT"),P=n("w2a5"),j=n("69bn"),D=n("yt8O"),I=n("hPIQ"),N=n("XMVh"),F=n("elZq"),R=n("Nr18"),L=n("upKx"),B=n("hswa"),z=n("EemH"),V=B.f,U=z.f,H=i.RangeError,W=i.TypeError,q=i.Uint8Array,G=Array.prototype,Y=s.ArrayBuffer,X=s.DataView,K=M(0),$=M(2),Z=M(3),J=M(4),Q=M(5),tt=M(6),et=P(!0),nt=P(!1),rt=D.values,it=D.keys,ot=D.entries,at=G.lastIndexOf,ut=G.reduce,st=G.reduceRight,ct=G.join,lt=G.sort,ft=G.slice,ht=G.toString,dt=G.toLocaleString,pt=T("iterator"),vt=T("toStringTag"),gt=A("typed_constructor"),yt=A("def_constructor"),mt=u.CONSTR,bt=u.TYPED,xt=u.VIEW,wt=M(1,function(t,e){return Ot(j(t,t[yt]),e)}),_t=o(function(){return 1===new q(new Uint16Array([1]).buffer)[0]}),St=!!q&&!!q.prototype.set&&o(function(){new q(1).set({})}),kt=function(t,e){var n=p(t);if(n<0||n%e)throw H("Wrong offset!");return n},Et=function(t){if(w(t)&&bt in t)return t;throw W(t+" is not a typed array!")},Ot=function(t,e){if(!(w(t)&> in t))throw W("It is not a typed array constructor!");return new t(e)},Ct=function(t,e){return At(j(t,t[yt]),e)},At=function(t,e){for(var n=0,r=e.length,i=Ot(t,r);r>n;)i[n]=e[n++];return i},Tt=function(t,e,n){V(t,e,{get:function(){return this._d[n]}})},Mt=function(t){var e,n,r,i,o,a,u=_(t),s=arguments.length,l=s>1?arguments[1]:void 0,f=void 0!==l,h=C(u);if(null!=h&&!S(h)){for(a=h.call(u),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);u=r}for(f&&s>2&&(l=c(l,arguments[2],2)),e=0,n=v(u.length),i=Ot(this,n);n>e;e++)i[e]=f?l(u[e],e):u[e];return i},Pt=function(){for(var t=0,e=arguments.length,n=Ot(this,e);e>t;)n[t]=arguments[t++];return n},jt=!!q&&o(function(){dt.call(new q(1))}),Dt=function(){return dt.apply(jt?ft.call(Et(this)):Et(this),arguments)},It={copyWithin:function(t,e){return L.call(Et(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return J(Et(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return R.apply(Et(this),arguments)},filter:function(t){return Ct(this,$(Et(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Et(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Et(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(Et(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Et(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Et(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(Et(this),arguments)},lastIndexOf:function(t){return at.apply(Et(this),arguments)},map:function(t){return wt(Et(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ut.apply(Et(this),arguments)},reduceRight:function(t){return st.apply(Et(this),arguments)},reverse:function(){for(var t,e=Et(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return Z(Et(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(Et(this),t)},subarray:function(t,e){var n=Et(this),r=n.length,i=y(t,r);return new(j(n,n[yt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:y(e,r))-i))}},Nt=function(t,e){return Ct(this,ft.call(Et(this),t,e))},Ft=function(t){Et(this);var e=kt(arguments[1],1),n=this.length,r=_(t),i=v(r.length),o=0;if(i+e>n)throw H("Wrong length!");for(;o<i;)this[e+o]=r[o++]},Rt={entries:function(){return ot.call(Et(this))},keys:function(){return it.call(Et(this))},values:function(){return rt.call(Et(this))}},Lt=function(t,e){return w(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Bt=function(t,e){return Lt(t,e=m(e,!0))?f(2,t[e]):U(t,e)},zt=function(t,e,n){return!(Lt(t,e=m(e,!0))&&w(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?V(t,e,n):(t[e]=n.value,t)};mt||(z.f=Bt,B.f=zt),a(a.S+a.F*!mt,"Object",{getOwnPropertyDescriptor:Bt,defineProperty:zt}),o(function(){ht.call({})})&&(ht=dt=function(){return ct.call(this)});var Vt=d({},It);d(Vt,Rt),h(Vt,pt,Rt.values),d(Vt,{slice:Nt,set:Ft,constructor:function(){},toString:ht,toLocaleString:Dt}),Tt(Vt,"buffer","b"),Tt(Vt,"byteOffset","o"),Tt(Vt,"byteLength","l"),Tt(Vt,"length","e"),V(Vt,vt,{get:function(){return this[bt]}}),t.exports=function(t,e,n,s){var c=t+((s=!!s)?"Clamped":"")+"Array",f="get"+t,d="set"+t,p=i[c],y=p||{},m=p&&E(p),b=!p||!u.ABV,_={},S=p&&p.prototype,C=function(t,n){V(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[f](n*e+r.o,_t)}(this,n)},set:function(t){return function(t,n,r){var i=t._d;s&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](n*e+i.o,r,_t)}(this,n,t)},enumerable:!0})};b?(p=n(function(t,n,r,i){l(t,p,c,"_d");var o,a,u,s,f=0,d=0;if(w(n)){if(!(n instanceof Y||"ArrayBuffer"==(s=x(n))||"SharedArrayBuffer"==s))return bt in n?At(p,n):Mt.call(p,n);o=n,d=kt(r,e);var y=n.byteLength;if(void 0===i){if(y%e)throw H("Wrong length!");if((a=y-d)<0)throw H("Wrong length!")}else if((a=v(i)*e)+d>y)throw H("Wrong length!");u=a/e}else u=g(n),o=new Y(a=u*e);for(h(t,"_d",{b:o,o:d,l:a,e:u,v:new X(o)});f<u;)C(t,f++)}),S=p.prototype=k(Vt),h(S,"constructor",p)):o(function(){p(1)})&&o(function(){new p(-1)})&&N(function(t){new p,new p(null),new p(1.5),new p(t)},!0)||(p=n(function(t,n,r,i){var o;return l(t,p,c),w(n)?n instanceof Y||"ArrayBuffer"==(o=x(n))||"SharedArrayBuffer"==o?void 0!==i?new y(n,kt(r,e),i):void 0!==r?new y(n,kt(r,e)):new y(n):bt in n?At(p,n):Mt.call(p,n):new y(g(n))}),K(m!==Function.prototype?O(y).concat(O(m)):O(y),function(t){t in p||h(p,t,y[t])}),p.prototype=S,r||(S.constructor=p));var A=S[pt],T=!!A&&("values"==A.name||null==A.name),M=Rt.values;h(p,gt,!0),h(S,bt,c),h(S,xt,!0),h(S,yt,p),(s?new p(1)[vt]==c:vt in S)||V(S,vt,{get:function(){return c}}),_[c]=p,a(a.G+a.W+a.F*(p!=y),_),a(a.S,c,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*o(function(){y.of.call(p,1)}),c,{from:Mt,of:Pt}),"BYTES_PER_ELEMENT"in S||h(S,"BYTES_PER_ELEMENT",e),a(a.P,c,It),F(c),a(a.P+a.F*St,c,{set:Ft}),a(a.P+a.F*!T,c,Rt),r||S.toString==ht||(S.toString=ht),a(a.P+a.F*o(function(){new p(1).slice()}),c,{slice:Nt}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),c,{toLocaleString:Dt}),I[c]=T?A:M,r||T||h(S,pt,M)}}else t.exports=function(){}},"7GkX":function(t,e,n){var r=n("b80T"),i=n("A90E"),o=n("MMmD");t.exports=function(t){return o(t)?r(t):i(t)}},"7Ix3":function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},"7PI8":function(t,e,n){var r=n("Y7ZC");r(r.G,{global:n("5T2Y")})},"7Paf":function(t,e){t.exports=function(t,e){for(var n,r=-1,i=t.length;++r<i;){var o=e(t[r]);void 0!==o&&(n=void 0===n?o:n+o)}return n}},"7Qtz":function(t,e,n){"use strict";var r=n("dyZX"),i=n("nh4g"),o=n("LQAc"),a=n("D4iV"),u=n("Mukb"),s=n("3Lyj"),c=n("eeVq"),l=n("9gX7"),f=n("RYi7"),h=n("ne8i"),d=n("Cfrj"),p=n("kJMx").f,v=n("hswa").f,g=n("Nr18"),y=n("fyDq"),m="prototype",b="Wrong index!",x=r.ArrayBuffer,w=r.DataView,_=r.Math,S=r.RangeError,k=r.Infinity,E=x,O=_.abs,C=_.pow,A=_.floor,T=_.log,M=_.LN2,P=i?"_b":"buffer",j=i?"_l":"byteLength",D=i?"_o":"byteOffset";function I(t,e,n){var r,i,o,a=new Array(n),u=8*n-e-1,s=(1<<u)-1,c=s>>1,l=23===e?C(2,-24)-C(2,-77):0,f=0,h=t<0||0===t&&1/t<0?1:0;for((t=O(t))!=t||t===k?(i=t!=t?1:0,r=s):(r=A(T(t)/M),t*(o=C(2,-r))<1&&(r--,o*=2),(t+=r+c>=1?l/o:l*C(2,1-c))*o>=2&&(r++,o/=2),r+c>=s?(i=0,r=s):r+c>=1?(i=(t*o-1)*C(2,e),r+=c):(i=t*C(2,c-1)*C(2,e),r=0));e>=8;a[f++]=255&i,i/=256,e-=8);for(r=r<<e|i,u+=e;u>0;a[f++]=255&r,r/=256,u-=8);return a[--f]|=128*h,a}function N(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,a=o>>1,u=i-7,s=n-1,c=t[s--],l=127&c;for(c>>=7;u>0;l=256*l+t[s],s--,u-=8);for(r=l&(1<<-u)-1,l>>=-u,u+=e;u>0;r=256*r+t[s],s--,u-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:c?-k:k;r+=C(2,e),l-=a}return(c?-1:1)*r*C(2,l-e)}function F(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function L(t){return[255&t,t>>8&255]}function B(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function z(t){return I(t,52,8)}function V(t){return I(t,23,4)}function U(t,e,n){v(t[m],e,{get:function(){return this[n]}})}function H(t,e,n,r){var i=d(+n);if(i+e>t[j])throw S(b);var o=t[P]._b,a=i+t[D],u=o.slice(a,a+e);return r?u:u.reverse()}function W(t,e,n,r,i,o){var a=d(+n);if(a+e>t[j])throw S(b);for(var u=t[P]._b,s=a+t[D],c=r(+i),l=0;l<e;l++)u[s+l]=c[o?l:e-l-1]}if(a.ABV){if(!c(function(){x(1)})||!c(function(){new x(-1)})||c(function(){return new x,new x(1.5),new x(NaN),"ArrayBuffer"!=x.name})){for(var q,G=(x=function(t){return l(this,x),new E(d(t))})[m]=E[m],Y=p(E),X=0;Y.length>X;)(q=Y[X++])in x||u(x,q,E[q]);o||(G.constructor=x)}var K=new w(new x(2)),$=w[m].setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||s(w[m],{setInt8:function(t,e){$.call(this,t,e<<24>>24)},setUint8:function(t,e){$.call(this,t,e<<24>>24)}},!0)}else x=function(t){l(this,x,"ArrayBuffer");var e=d(t);this._b=g.call(new Array(e),0),this[j]=e},w=function(t,e,n){l(this,w,"DataView"),l(t,x,"DataView");var r=t[j],i=f(e);if(i<0||i>r)throw S("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw S("Wrong length!");this[P]=t,this[D]=i,this[j]=n},i&&(U(x,"byteLength","_l"),U(w,"buffer","_b"),U(w,"byteLength","_l"),U(w,"byteOffset","_o")),s(w[m],{getInt8:function(t){return H(this,1,t)[0]<<24>>24},getUint8:function(t){return H(this,1,t)[0]},getInt16:function(t){var e=H(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=H(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return F(H(this,4,t,arguments[1]))},getUint32:function(t){return F(H(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return N(H(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return N(H(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){W(this,1,t,R,e)},setUint8:function(t,e){W(this,1,t,R,e)},setInt16:function(t,e){W(this,2,t,L,e,arguments[2])},setUint16:function(t,e){W(this,2,t,L,e,arguments[2])},setInt32:function(t,e){W(this,4,t,B,e,arguments[2])},setUint32:function(t,e){W(this,4,t,B,e,arguments[2])},setFloat32:function(t,e){W(this,4,t,V,e,arguments[2])},setFloat64:function(t,e){W(this,8,t,z,e,arguments[2])}});y(x,"ArrayBuffer"),y(w,"DataView"),u(w[m],a.VIEW,!0),e.ArrayBuffer=x,e.DataView=w},"7VC1":function(t,e,n){"use strict";var r=n("XKFU"),i=n("Lgjv"),o=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},"7dW+":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Circle=void 0;var r=f(n("q1tI")),i=f(n("17x9")),o=f(n("/FUP")),a=f(n("3WF5")),u=f(n("QkVN")),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n("wME1")),c=n("TM95"),l=f(n("xbjo"));function f(t){return t&&t.__esModule?t:{default:t}}var h=e.Circle=function(t){var e=t.width,n=t.onChange,i=t.onSwatchHover,s=t.colors,c=t.hex,f=t.circleSize,h=t.styles,d=void 0===h?{}:h,p=t.circleSpacing,v=t.className,g=void 0===v?"":v,y=(0,o.default)((0,u.default)({default:{card:{width:e,display:"flex",flexWrap:"wrap",marginRight:-p,marginBottom:-p}}},d)),m=function(t,e){return n({hex:t,source:"hex"},e)};return r.default.createElement("div",{style:y.card,className:"circle-picker "+g},(0,a.default)(s,function(t){return r.default.createElement(l.default,{key:t,color:t,onClick:m,onSwatchHover:i,active:c===t.toLowerCase(),circleSize:f,circleSpacing:p})}))};h.propTypes={width:i.default.oneOfType([i.default.string,i.default.number]),circleSize:i.default.number,circleSpacing:i.default.number,styles:i.default.object},h.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[s.red[500],s.pink[500],s.purple[500],s.deepPurple[500],s.indigo[500],s.blue[500],s.lightBlue[500],s.cyan[500],s.teal[500],s.green[500],s.lightGreen[500],s.lime[500],s.yellow[500],s.amber[500],s.orange[500],s.deepOrange[500],s.brown[500],s.blueGrey[500]],styles:{}},e.default=(0,c.ColorWrap)(h)},"7fqy":function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},"7h0T":function(t,e,n){var r=n("XKFU");r(r.S,"Number",{isNaN:function(t){return t!=t}})},"7tlc":function(t,e,n){(function(t){var r=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++)n[e[r]]=Object.getOwnPropertyDescriptor(t,e[r]);return n},i=/%[sdj%]/g;e.format=function(t){if(!y(t)){for(var e=[],n=0;n<arguments.length;n++)e.push(u(arguments[n]));return e.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(t).replace(i,function(t){if("%%"===t)return"%";if(n>=o)return t;switch(t){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return t}}),s=r[n];n<o;s=r[++n])v(s)||!x(s)?a+=" "+s:a+=" "+u(s);return a},e.deprecate=function(n,r){if(void 0!==t&&!0===t.noDeprecation)return n;if(void 0===t)return function(){return e.deprecate(n,r).apply(this,arguments)};var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(r);t.traceDeprecation?console.trace(r):console.error(r),i=!0}return n.apply(this,arguments)}};var o,a={};function u(t,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),p(n)?r.showHidden=n:n&&e._extend(r,n),m(r.showHidden)&&(r.showHidden=!1),m(r.depth)&&(r.depth=2),m(r.colors)&&(r.colors=!1),m(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),l(r,t,r.depth)}function s(t,e){var n=u.styles[e];return n?"["+u.colors[n][0]+"m"+t+"["+u.colors[n][1]+"m":t}function c(t,e){return t}function l(t,n,r){if(t.customInspect&&n&&S(n.inspect)&&n.inspect!==e.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,t);return y(i)||(i=l(t,i,r)),i}var o=function(t,e){if(m(e))return t.stylize("undefined","undefined");if(y(e)){var n="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(n,"string")}if(g(e))return t.stylize(""+e,"number");if(p(e))return t.stylize(""+e,"boolean");if(v(e))return t.stylize("null","null")}(t,n);if(o)return o;var a=Object.keys(n),u=function(t){var e={};return t.forEach(function(t,n){e[t]=!0}),e}(a);if(t.showHidden&&(a=Object.getOwnPropertyNames(n)),_(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return f(n);if(0===a.length){if(S(n)){var s=n.name?": "+n.name:"";return t.stylize("[Function"+s+"]","special")}if(b(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(w(n))return t.stylize(Date.prototype.toString.call(n),"date");if(_(n))return f(n)}var c,x="",k=!1,E=["{","}"];(d(n)&&(k=!0,E=["[","]"]),S(n))&&(x=" [Function"+(n.name?": "+n.name:"")+"]");return b(n)&&(x=" "+RegExp.prototype.toString.call(n)),w(n)&&(x=" "+Date.prototype.toUTCString.call(n)),_(n)&&(x=" "+f(n)),0!==a.length||k&&0!=n.length?r<0?b(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special"):(t.seen.push(n),c=k?function(t,e,n,r,i){for(var o=[],a=0,u=e.length;a<u;++a)C(e,String(a))?o.push(h(t,e,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(h(t,e,n,r,i,!0))}),o}(t,n,r,u,a):a.map(function(e){return h(t,n,r,u,e,k)}),t.seen.pop(),function(t,e,n){if(t.reduce(function(t,e){return 0,e.indexOf("\n")>=0&&0,t+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return n[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+n[1];return n[0]+e+" "+t.join(", ")+" "+n[1]}(c,x,E)):E[0]+x+E[1]}function f(t){return"["+Error.prototype.toString.call(t)+"]"}function h(t,e,n,r,i,o){var a,u,s;if((s=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?u=s.set?t.stylize("[Getter/Setter]","special"):t.stylize("[Getter]","special"):s.set&&(u=t.stylize("[Setter]","special")),C(r,i)||(a="["+i+"]"),u||(t.seen.indexOf(s.value)<0?(u=v(n)?l(t,s.value,null):l(t,s.value,n-1)).indexOf("\n")>-1&&(u=o?u.split("\n").map(function(t){return" "+t}).join("\n").substr(2):"\n"+u.split("\n").map(function(t){return" "+t}).join("\n")):u=t.stylize("[Circular]","special")),m(a)){if(o&&i.match(/^\d+$/))return u;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=t.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=t.stylize(a,"string"))}return a+": "+u}function d(t){return Array.isArray(t)}function p(t){return"boolean"==typeof t}function v(t){return null===t}function g(t){return"number"==typeof t}function y(t){return"string"==typeof t}function m(t){return void 0===t}function b(t){return x(t)&&"[object RegExp]"===k(t)}function x(t){return"object"==typeof t&&null!==t}function w(t){return x(t)&&"[object Date]"===k(t)}function _(t){return x(t)&&("[object Error]"===k(t)||t instanceof Error)}function S(t){return"function"==typeof t}function k(t){return Object.prototype.toString.call(t)}function E(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(n){if(m(o)&&(o=t.env.NODE_DEBUG||""),n=n.toUpperCase(),!a[n])if(new RegExp("\\b"+n+"\\b","i").test(o)){var r=t.pid;a[n]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",n,r,t)}}else a[n]=function(){};return a[n]},e.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=d,e.isBoolean=p,e.isNull=v,e.isNullOrUndefined=function(t){return null==t},e.isNumber=g,e.isString=y,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=m,e.isRegExp=b,e.isObject=x,e.isDate=w,e.isError=_,e.isFunction=S,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=n("j/1Z");var O=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function C(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){var t,n;console.log("%s - %s",(t=new Date,n=[E(t.getHours()),E(t.getMinutes()),E(t.getSeconds())].join(":"),[t.getDate(),O[t.getMonth()],n].join(" ")),e.format.apply(e,arguments))},e.inherits=n("P7XM"),e._extend=function(t,e){if(!e||!x(e))return t;for(var n=Object.keys(e),r=n.length;r--;)t[n[r]]=e[n[r]];return t};var A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(t,e){if(!t){var n=new Error("Promise was rejected with a falsy value");n.reason=t,t=n}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(A&&t[A]){var e;if("function"!=typeof(e=t[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,A,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,n,r=new Promise(function(t,r){e=t,n=r}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(t,r){t?n(t):e(r)});try{t.apply(this,i)}catch(t){n(t)}return r}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),A&&Object.defineProperty(e,A,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,r(t))},e.promisify.custom=A,e.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function n(){for(var n=[],r=0;r<arguments.length;r++)n.push(arguments[r]);var i=n.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,n).then(function(e){t.nextTick(a,null,e)},function(e){t.nextTick(T,e,a)})}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,r(e)),n}}).call(this,n("8oxB"))},"8+KV":function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(0),o=n("LyE8")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},"81by":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopPicker=void 0;var r=u(n("q1tI")),i=u(n("/FUP")),o=u(n("p8yl")),a=n("TM95");function u(t){return t&&t.__esModule?t:{default:t}}var s=e.PhotoshopPicker=function(t){var e=t.onChange,n=t.rgb,u=t.hsv,s=t.hex,c=(0,i.default)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),l=function(t,r){t["#"]?o.default.isValidHex(t["#"])&&e({hex:t["#"],source:"hex"},r):t.r||t.g||t.b?e({r:t.r||n.r,g:t.g||n.g,b:t.b||n.b,source:"rgb"},r):(t.h||t.s||t.v)&&e({h:t.h||u.h,s:t.s||u.s,v:t.v||u.v,source:"hsv"},r)};return r.default.createElement("div",{style:c.fields},r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"h",value:Math.round(u.h),onChange:l}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"s",value:Math.round(100*u.s),onChange:l}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"v",value:Math.round(100*u.v),onChange:l}),r.default.createElement("div",{style:c.divider}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:n.r,onChange:l}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:n.g,onChange:l}),r.default.createElement(a.EditableInput,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:n.b,onChange:l}),r.default.createElement("div",{style:c.divider}),r.default.createElement(a.EditableInput,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"#",value:s.replace("#",""),onChange:l}),r.default.createElement("div",{style:c.fieldSymbols},r.default.createElement("div",{style:c.symbol},"°"),r.default.createElement("div",{style:c.symbol},"%"),r.default.createElement("div",{style:c.symbol},"%")))};e.default=s},"84bF":function(t,e,n){"use strict";n("OGtf")("small",function(t){return function(){return t(this,"small","","")}})},"88Gu":function(t,e){var n=800,r=16,i=Date.now;t.exports=function(t){var e=0,o=0;return function(){var a=i(),u=r-(a-o);if(o=a,u>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"8J/B":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompactFields=void 0;var r=a(n("q1tI")),i=a(n("/FUP")),o=n("TM95");function a(t){return t&&t.__esModule?t:{default:t}}var u=e.CompactFields=function(t){var e=t.hex,n=t.rgb,a=t.onChange,u=(0,i.default)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:e},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),s=function(t,e){t.r||t.g||t.b?a({r:t.r||n.r,g:t.g||n.g,b:t.b||n.b,source:"rgb"},e):a({hex:t.hex,source:"hex"},e)};return r.default.createElement("div",{style:u.fields,className:"flexbox-fix"},r.default.createElement("div",{style:u.active}),r.default.createElement(o.EditableInput,{style:{wrap:u.HEXwrap,input:u.HEXinput,label:u.HEXlabel},label:"hex",value:e,onChange:s}),r.default.createElement(o.EditableInput,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"r",value:n.r,onChange:s}),r.default.createElement(o.EditableInput,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"g",value:n.g,onChange:s}),r.default.createElement(o.EditableInput,{style:{wrap:u.RGBwrap,input:u.RGBinput,label:u.RGBlabel},label:"b",value:n.b,onChange:s}))};e.default=u},"8L3F":function(t,e,n){"use strict";(function(t){ /**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.16.0 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var i=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},r))}};function o(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function s(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=a(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:s(u(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var l=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?l:10===t?f:l||f}function d(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function v(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,u,s=o.commonAncestorContainer;if(t!==s&&e!==s||r.contains(i))return"BODY"===(u=(a=s).nodeName)||"HTML"!==u&&d(a.firstElementChild)!==a?d(s):s;var c=p(t);return c.host?v(c.host,e):v(t,p(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function y(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function m(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function b(t){var e=t.body,n=t.documentElement,r=h(10)&&getComputedStyle(n);return{height:m("Height",e,n,r),width:m("Width",e,n,r)}}var x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},w=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),_=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function k(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function E(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?b(t.ownerDocument):{},u=o.width||t.clientWidth||i.width,s=o.height||t.clientHeight||i.height,c=t.offsetWidth-u,l=t.offsetHeight-s;if(c||l){var f=a(t);c-=y(f,"x"),l-=y(f,"y"),i.width-=c,i.height-=l}return k(i)}function O(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(10),i="HTML"===e.nodeName,o=E(t),u=E(e),c=s(t),l=a(e),f=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&i&&(u.top=Math.max(u.top,0),u.left=Math.max(u.left,0));var p=k({top:o.top-u.top-f,left:o.left-u.left-d,width:o.width,height:o.height});if(p.marginTop=0,p.marginLeft=0,!r&&i){var v=parseFloat(l.marginTop,10),y=parseFloat(l.marginLeft,10);p.top-=f-v,p.bottom-=f-v,p.left-=d-y,p.right-=d-y,p.marginTop=v,p.marginLeft=y}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(p=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),i=g(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(p,e)),p}function C(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function A(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},l=i?C(t):v(t,c(e));if("viewport"===r)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=O(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),u=e?0:g(n,"left");return k({top:a-r.top+r.marginTop,left:u-r.left+r.marginLeft,width:i,height:o})}(l,i);else{var f=void 0;"scrollParent"===r?"BODY"===(f=s(u(e))).nodeName&&(f=t.ownerDocument.documentElement):f="window"===r?t.ownerDocument.documentElement:r;var h=O(f,l,i);if("HTML"!==f.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===a(e,"position"))return!0;var r=u(e);return!!r&&t(r)}(l))o=h;else{var d=b(t.ownerDocument),p=d.height,y=d.width;o.top+=h.top-h.marginTop,o.bottom=p+h.top,o.left+=h.left-h.marginLeft,o.right=y+h.left}}var m="number"==typeof(n=n||0);return o.left+=m?n:n.left||0,o.top+=m?n:n.top||0,o.right-=m?n:n.right||0,o.bottom-=m?n:n.bottom||0,o}function T(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=A(n,r,o,i),u={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},s=Object.keys(u).map(function(t){return S({key:t},u[t],{area:(e=u[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=s.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),l=c.length>0?c[0].key:s[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function M(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return O(n,r?C(e):v(e,c(n)),r)}function P(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function j(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function D(t,e,n){n=n.split("-")[0];var r=P(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",u=o?"left":"top",s=o?"height":"width",c=o?"width":"height";return i[a]=e[a]+e[s]/2-r[s]/2,i[u]=n===u?e[u]-r[c]:e[j(u)],i}function I(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function N(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=I(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&o(n)&&(e.offsets.popper=k(e.offsets.popper),e.offsets.reference=k(e.offsets.reference),e=n(e,t))}),e}function F(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function R(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function L(t){var e=t.ownerDocument;return e?e.defaultView:window}function B(t,e,n,r){n.updateBound=r,L(t).addEventListener("resize",n.updateBound,{passive:!0});var i=s(t);return function t(e,n,r,i){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),o||t(s(a.parentNode),n,r,i),i.push(a)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function z(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,L(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function V(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function U(t,e){Object.keys(e).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&V(e[n])&&(r="px"),t.style[n]=e[n]+r})}var H=n&&/Firefox/i.test(navigator.userAgent);function W(t,e,n){var r=I(t,function(t){return t.name===e}),i=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],G=q.slice(3);function Y(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=G.indexOf(t),r=G.slice(n+1).concat(G.slice(0,n));return e?r.reverse():r}var X={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function K(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),u=a.indexOf(I(a,function(t){return-1!==t.search(/,|\s/)}));a[u]&&-1===a[u].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var s=/\s*,\s*|\s+/,c=-1!==u?[a.slice(0,u).concat([a[u].split(s)[0]]),[a[u].split(s)[1]].concat(a.slice(u+1))]:[a];return(c=c.map(function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var u=void 0;switch(a){case"%p":u=n;break;case"%":case"%r":default:u=r}return k(u)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)})})).forEach(function(t,e){t.forEach(function(n,r){V(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}var $={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,u=-1!==["bottom","top"].indexOf(n),s=u?"left":"top",c=u?"width":"height",l={start:_({},s,o[s]),end:_({},s,o[s]+o[c]-a[c])};t.offsets.popper=S({},a,l[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,u=r.split("-")[0],s=void 0;return s=V(+n)?[+n,0]:K(n,o,a,u),"left"===u?(o.top+=s[0],o.left-=s[1]):"right"===u?(o.top+=s[0],o.left+=s[1]):"top"===u?(o.left+=s[0],o.top-=s[1]):"bottom"===u&&(o.left+=s[0],o.top+=s[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var r=R("transform"),i=t.instance.popper.style,o=i.top,a=i.left,u=i[r];i.top="",i.left="",i[r]="";var s=A(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=u,e.boundaries=s;var c=e.priority,l=t.offsets.popper,f={primary:function(t){var n=l[t];return l[t]<s[t]&&!e.escapeWithReference&&(n=Math.max(l[t],s[t])),_({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=l[n];return l[t]>s[t]&&!e.escapeWithReference&&(r=Math.min(l[n],s[t]-("right"===t?l.width:l.height))),_({},n,r)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=S({},l,f[e](t))}),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),u=a?"right":"bottom",s=a?"left":"top",c=a?"width":"height";return n[u]<o(r[s])&&(t.offsets.popper[s]=o(r[s])-n[c]),n[s]>o(r[u])&&(t.offsets.popper[s]=o(r[u])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!W(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,u=o.popper,s=o.reference,c=-1!==["left","right"].indexOf(i),l=c?"height":"width",f=c?"Top":"Left",h=f.toLowerCase(),d=c?"left":"top",p=c?"bottom":"right",v=P(r)[l];s[p]-v<u[h]&&(t.offsets.popper[h]-=u[h]-(s[p]-v)),s[h]+v>u[p]&&(t.offsets.popper[h]+=s[h]+v-u[p]),t.offsets.popper=k(t.offsets.popper);var g=s[h]+s[l]/2-v/2,y=a(t.instance.popper),m=parseFloat(y["margin"+f],10),b=parseFloat(y["border"+f+"Width"],10),x=g-t.offsets.popper[h]-m-b;return x=Math.max(Math.min(u[l]-v,x),0),t.arrowElement=r,t.offsets.arrow=(_(n={},h,Math.round(x)),_(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(F(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=A(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=j(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case X.FLIP:a=[r,i];break;case X.CLOCKWISE:a=Y(r);break;case X.COUNTERCLOCKWISE:a=Y(r,!0);break;default:a=e.behavior}return a.forEach(function(u,s){if(r!==u||a.length===s+1)return t;r=t.placement.split("-")[0],i=j(r);var c=t.offsets.popper,l=t.offsets.reference,f=Math.floor,h="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),d=f(c.left)<f(n.left),p=f(c.right)>f(n.right),v=f(c.top)<f(n.top),g=f(c.bottom)>f(n.bottom),y="left"===r&&d||"right"===r&&p||"top"===r&&v||"bottom"===r&&g,m=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(m&&"start"===o&&d||m&&"end"===o&&p||!m&&"start"===o&&v||!m&&"end"===o&&g),x=!!e.flipVariationsByContent&&(m&&"start"===o&&p||m&&"end"===o&&d||!m&&"start"===o&&g||!m&&"end"===o&&v),w=b||x;(h||y||w)&&(t.flipped=!0,(h||y)&&(r=a[s+1]),w&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=S({},t.offsets.popper,D(t.instance.popper,t.offsets.reference,t.placement)),t=N(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),u=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(u?i[a?"width":"height"]:0),t.placement=j(e),t.offsets.popper=k(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!W(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=I(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=I(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,u=d(t.instance.popper),s=E(u),c={position:i.position},l=function(t,e){var n=t.offsets,r=n.popper,i=n.reference,o=Math.round,a=Math.floor,u=function(t){return t},s=o(i.width),c=o(r.width),l=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),h=e?l||f||s%2==c%2?o:a:u,d=e?o:u;return{left:h(s%2==1&&c%2==1&&!f&&e?r.left-1:r.left),top:d(r.top),bottom:d(r.bottom),right:h(r.right)}}(t,window.devicePixelRatio<2||!H),f="bottom"===n?"top":"bottom",h="right"===r?"left":"right",p=R("transform"),v=void 0,g=void 0;if(g="bottom"===f?"HTML"===u.nodeName?-u.clientHeight+l.bottom:-s.height+l.bottom:l.top,v="right"===h?"HTML"===u.nodeName?-u.clientWidth+l.right:-s.width+l.right:l.left,a&&p)c[p]="translate3d("+v+"px, "+g+"px, 0)",c[f]=0,c[h]=0,c.willChange="transform";else{var y="bottom"===f?-1:1,m="right"===h?-1:1;c[f]=g*y,c[h]=v*m,c.willChange=f+", "+h}var b={"x-placement":t.placement};return t.attributes=S({},b,t.attributes),t.styles=S({},c,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return U(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&U(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=M(i,e,t,n.positionFixed),a=T(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),U(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Z=function(){function t(e,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=S({},t.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,a.modifiers)).forEach(function(e){r.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return S({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&o(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var u=this.options.eventsEnabled;u&&this.enableEventListeners(),this.state.eventsEnabled=u}return w(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=T(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=D(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=N(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,F(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[R("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=B(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return z.call(this)}}]),t}();Z.Utils=("undefined"!=typeof window?window:t).PopperUtils,Z.placements=q,Z.Defaults=$,e.a=Z}).call(this,n("yLpj"))},"8MEG":function(t,e,n){"use strict";var r=n("2OiF"),i=n("0/R4"),o=n("MfQN"),a=[].slice,u={};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?function(t,e,n){if(!(e in u)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";u[e]=Function("F,a","return new F("+r.join(",")+")")}return u[e](t,n)}(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(s.prototype=e.prototype),s}},"8OQS":function(t,e){t.exports=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}},"8PcY":function(t,e,n){"use strict";e.__esModule=!0,e.getChildMapping=i,e.mergeChildMappings=o,e.getInitialChildMapping=function(t,e){return i(t.children,function(n){return(0,r.cloneElement)(n,{onExited:e.bind(null,n),in:!0,appear:a(n,"appear",t),enter:a(n,"enter",t),exit:a(n,"exit",t)})})},e.getNextChildMapping=function(t,e,n){var u=i(t.children),s=o(e,u);return Object.keys(s).forEach(function(i){var o=s[i];if((0,r.isValidElement)(o)){var c=i in e,l=i in u,f=e[i],h=(0,r.isValidElement)(f)&&!f.props.in;!l||c&&!h?l||!c||h?l&&c&&(0,r.isValidElement)(f)&&(s[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:f.props.in,exit:a(o,"exit",t),enter:a(o,"enter",t)})):s[i]=(0,r.cloneElement)(o,{in:!1}):s[i]=(0,r.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:a(o,"exit",t),enter:a(o,"enter",t)})}}),s};var r=n("q1tI");function i(t,e){var n=Object.create(null);return t&&r.Children.map(t,function(t){return t}).forEach(function(t){n[t.key]=function(t){return e&&(0,r.isValidElement)(t)?e(t):t}(t)}),n}function o(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var u={};for(var s in e){if(i[s])for(r=0;r<i[s].length;r++){var c=i[s][r];u[i[s][r]]=n(c)}u[s]=n(s)}for(r=0;r<o.length;r++)u[o[r]]=n(o[r]);return u}function a(t,e,n){return null!=n[e]?n[e]:t.props[e]}},"8SVD":function(t,e,n){"use strict";var r=!1;try{var i=Object.defineProperty({},"passive",{get:function(){r=!0}});window.addEventListener("test",null,i)}catch(t){}function o(t,e){for(var n in t)t.hasOwnProperty(n)&&e(n,t[n])}t.exports.event=function(t,e,n,i){var o=e.split(" "),a="on"==i?"add":"remove";o.forEach(function(e){var i=!1;-1!=["scroll","touchstart","touchmove"].indexOf(e)&&r&&(i={passive:!0}),t[a+"EventListener"](e,n,i)})},t.exports.css=function(t,e,n){var r;if(void 0===n){if("string"==typeof e)return t.style[e];r=e}else(r={})[e]=n;o(r,function(e,n){t.style[e]=n})},t.exports.add=function(t,e){e&&t.classList.add(e)},t.exports.rm=function(t,e){e&&t.classList.remove(e)},t.exports.has=function(t,e){return!!e&&t.classList.contains(e)},t.exports.clone=function(t){var e={};return o(t||{},function(t,n){e[t]=n}),e},t.exports.qs=function(t,e){return t instanceof HTMLElement?t:(e||document).querySelector(t)},t.exports.each=o},"8a7r":function(t,e,n){"use strict";var r=n("hswa"),i=n("RjD/");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},"8g8A":function(t,e,n){"use strict";function r(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}n.d(e,"a",function(){return i}),r.prototype=Object.create(Error.prototype);var i=r},"8oxB":function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s,c=[],l=!1,f=-1;function h(){l&&s&&(l=!1,s.length?c=s.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=u(h);l=!0;for(var e=c.length;e;){for(s=c,c=[];++f<e;)s&&s[f].run();f=-1,e=c.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function v(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||l||u(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},"8wro":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var r=s(n("q1tI")),i=s(n("17x9")),o=n("ragC"),a=n("yMCc"),u=n("4UG0");function s(t){return t&&t.__esModule?t:{default:t}}var c="react-calendar__navigation";function l(t){var e=t.activeStartDate,n=t.drillUp,i=t.formatMonthYear,a=t.locale,u=t.maxDate,s=t.minDate,l=t.navigationAriaLabel,f=t.navigationLabel,h=t.next2AriaLabel,d=t.next2Label,p=t.nextAriaLabel,v=t.nextLabel,g=t.prev2AriaLabel,y=t.prev2Label,m=t.prevAriaLabel,b=t.prevLabel,x=t.setActiveStartDate,w=t.view,_=t.views.indexOf(w)>0,S="century"!==w,k=(0,o.getBeginPrevious)(w,e),E=S&&(0,o.getBeginPrevious2)(w,e),O=(0,o.getBeginNext)(w,e),C=S&&(0,o.getBeginNext2)(w,e),A=function(){if(k.getFullYear()<1e3)return!0;var t=(0,o.getEndPrevious)(w,e);return s&&s>=t}(),T=S&&function(){if(E.getFullYear()<1e3)return!0;var t=(0,o.getEndPrevious2)(w,e);return s&&s>=t}(),M=u&&u<=O,P=S&&u&&u<=C;var j=function(){switch(w){case"century":return(0,o.getCenturyLabel)(e);case"decade":return(0,o.getDecadeLabel)(e);case"year":return(0,o.getYear)(e);case"month":return i(a,e);default:throw new Error("Invalid view: ".concat(w,"."))}}();return r.default.createElement("div",{className:c,style:{display:"flex"}},null!==y&&S&&r.default.createElement("button",{"aria-label":g,className:"".concat(c,"__arrow ").concat(c,"__prev2-button"),disabled:T,onClick:function(){x(E)},type:"button"},y),r.default.createElement("button",{"aria-label":m,className:"".concat(c,"__arrow ").concat(c,"__prev-button"),disabled:A,onClick:function(){x(k)},type:"button"},b),r.default.createElement("button",{"aria-label":l,className:"react-calendar__navigation__label",disabled:!_,onClick:n,style:{flexGrow:1},type:"button"},f?f({date:e,view:w,label:j}):j),r.default.createElement("button",{"aria-label":p,className:"".concat(c,"__arrow ").concat(c,"__next-button"),disabled:M,onClick:function(){x(O)},type:"button"},v),null!==d&&S&&r.default.createElement("button",{"aria-label":h,className:"".concat(c,"__arrow ").concat(c,"__next2-button"),disabled:P,onClick:function(){x(C)},type:"button"},d))}l.defaultProps={formatMonthYear:a.formatMonthYear,navigationAriaLabel:"",next2AriaLabel:"",next2Label:"»",nextAriaLabel:"",nextLabel:"›",prev2AriaLabel:"",prev2Label:"«",prevAriaLabel:"",prevLabel:"‹"},l.propTypes={activeStartDate:i.default.instanceOf(Date).isRequired,drillUp:i.default.func.isRequired,formatMonthYear:i.default.func,locale:i.default.string,maxDate:i.default.instanceOf(Date),minDate:i.default.instanceOf(Date),navigationAriaLabel:i.default.string,navigationLabel:i.default.func,next2AriaLabel:i.default.string,next2Label:i.default.oneOfType([i.default.string,i.default.node]),nextAriaLabel:i.default.string,nextLabel:i.default.oneOfType([i.default.string,i.default.node]),prev2AriaLabel:i.default.string,prev2Label:i.default.oneOfType([i.default.string,i.default.node]),prevAriaLabel:i.default.string,prevLabel:i.default.oneOfType([i.default.string,i.default.node]),setActiveStartDate:i.default.func.isRequired,view:u.isView.isRequired,views:u.isViews.isRequired}},"9+Sh":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isClient="object"==typeof window,e.on=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return t.addEventListener.apply(t,e)},e.off=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return t.removeEventListener.apply(t,e)}},"909l":function(t,e,n){"use strict";n.d(e,"b",function(){return l}),n.d(e,"a",function(){return f});var r=n("mrSG"),i=n("IUTb"),o=n("isby"),a=n("FFOo"),u=n("MGBS"),s=n("zotm"),c=n("En8+");function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),Object(i.a)(t,void 0).lift(new f(n))}var f=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.resultSelector))},t}(),h=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null));var i=t.call(this,e)||this;return i.iterators=[],i.active=0,i.resultSelector="function"==typeof n?n:null,i.values=r,i}return r.__extends(e,t),e.prototype._next=function(t){var e=this.iterators;Object(o.a)(t)?e.push(new p(t)):"function"==typeof t[c.a]?e.push(new d(t[c.a]())):e.push(new v(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(this.unsubscribe(),0!==e){this.active=e;for(var n=0;n<e;n++){var r=t[n];if(r.stillUnsubscribed)this.destination.add(r.subscribe(r,n));else this.active--}}else this.destination.complete()},e.prototype.notifyInactive=function(){this.active--,0===this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++){if("function"==typeof(a=t[r]).hasValue&&!a.hasValue())return}var i=!1,o=[];for(r=0;r<e;r++){var a,u=(a=t[r]).next();if(a.hasCompleted()&&(i=!0),u.done)return void n.complete();o.push(u.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),i&&n.complete()},e.prototype._tryresultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.a),d=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),p=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[c.a]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),v=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.parent=n,i.observable=r,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return r.__extends(e,t),e.prototype[c.a]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return Object(s.a)(this,this.observable,this,e)},e}(u.a)},"91GP":function(t,e,n){var r=n("XKFU");r(r.S+r.F,"Object",{assign:n("czNK")})},"93I4":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"9AAn":function(t,e,n){"use strict";var r=n("wmvG"),i=n("s5qY");t.exports=n("4LiD")("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},"9F0J":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(t){var e=t.fill,n=void 0===e?"currentColor":e,r=t.width,o=void 0===r?24:r,u=t.height,s=void 0===u?24:u,c=t.style,l=void 0===c?{}:c,f=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["fill","width","height","style"]);return a.default.createElement("svg",i({viewBox:"0 0 24 24",style:i({fill:n,width:o,height:s},l)},f),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},"9Nap":function(t,e,n){var r=n("/9aa"),i=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},"9P93":function(t,e,n){var r=n("XKFU"),i=Math.imul;r(r.S+r.F*n("eeVq")(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},"9R94":function(t,e,n){"use strict";var r=!0,i="Invariant failed";e.a=function(t,e){if(!t)throw r?new Error(i):new Error(i+": "+(e||""))}},"9VfR":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultComponents=e.components=void 0;var r=n("5/gw"),i=n("tqrz"),o=p(n("me9V")),a=d(n("iF6m")),u=p(n("lukA")),s=d(n("pyGu")),c=d(n("U3gl")),l=p(n("dqo8")),f=p(n("P8nk")),h=p(n("zEbV"));function d(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}function p(t){return t&&t.__esModule?t:{default:t}}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var g={ClearIndicator:i.ClearIndicator,Control:o.default,DropdownIndicator:i.DropdownIndicator,DownChevron:i.DownChevron,CrossIcon:i.CrossIcon,Group:a.default,GroupHeading:a.GroupHeading,IndicatorsContainer:r.IndicatorsContainer,IndicatorSeparator:i.IndicatorSeparator,Input:u.default,LoadingIndicator:i.LoadingIndicator,Menu:s.default,MenuList:s.MenuList,MenuPortal:s.MenuPortal,LoadingMessage:s.LoadingMessage,NoOptionsMessage:s.NoOptionsMessage,MultiValue:c.default,MultiValueContainer:c.MultiValueContainer,MultiValueLabel:c.MultiValueLabel,MultiValueRemove:c.MultiValueRemove,Option:l.default,Placeholder:f.default,SelectContainer:r.SelectContainer,SingleValue:h.default,ValueContainer:r.ValueContainer};e.components=g;e.defaultComponents=function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){v(t,e,n[e])})}return t}({},g,t.components)}},"9VmF":function(t,e,n){"use strict";var r=n("XKFU"),i=n("ne8i"),o=n("0sh+"),a="".startsWith;r(r.P+r.F*n("UUeW")("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},"9XZr":function(t,e,n){"use strict";var r=n("XKFU"),i=n("Lgjv"),o=n("ol8x"),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},"9Z1F":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("mrSG"),i=n("MGBS"),o=n("rPjj"),a=n("zotm");function u(t){return function(e){var n=new s(t),r=e.lift(n);return n.caught=r}}var s=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.selector,this.caught))},t}(),c=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var r=new o.a(this,void 0,void 0);this.add(r),Object(a.a)(this,n,void 0,void 0,r)}},e}(i.a)},"9dTM":function(t,e,n){var r=n("hOhr");t.exports=function(t){if(e=t,e&&e.window===e)return t;var e;var n=r(t);if(i){n.parentWindow.execScript("document._parentWindow = window;","Javascript");var o=n._parentWindow;return n._parentWindow=null,o}return n.defaultView||n.parentWindow};var i=n("JDlV")},"9gX7":function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"9ggG":function(t,e,n){var r=n("Z0cm"),i=n("/9aa"),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!i(t))||a.test(t)||!o.test(t)||null!=e&&t in Object(e)}},"9rMk":function(t,e,n){var r=n("XKFU");r(r.S,"Reflect",{has:function(t,e){return e in t}})},A2zW:function(t,e,n){"use strict";var r=n("XKFU"),i=n("RYi7"),o=n("vvmO"),a=n("l0Rn"),u=1..toFixed,s=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*c[n],c[n]=r%1e7,r=s(r/1e7)},h=function(t){for(var e=6,n=0;--e>=0;)n+=c[e],c[e]=s(n/t),n=n%t*1e7},d=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==c[t]){var n=String(c[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},p=function(t,e,n){return 0===e?n:e%2==1?p(t,e-1,n*t):p(t*t,e/2,n)};r(r.P+r.F*(!!u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("eeVq")(function(){u.call({})})),"Number",{toFixed:function(t){var e,n,r,u,s=o(this,l),c=i(t),v="",g="0";if(c<0||c>20)throw RangeError(l);if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return String(s);if(s<0&&(v="-",s=-s),s>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(s*p(2,69,1))-69)<0?s*p(2,-e,1):s/p(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=c;r>=7;)f(1e7,0),r-=7;for(f(p(10,r,1),0),r=e-1;r>=23;)h(1<<23),r-=23;h(1<<r),f(1,1),h(2),g=d()}else f(0,n),f(1<<-e,0),g=d()+a.call("0",c);return g=c>0?v+((u=g.length)<=c?"0."+a.call("0",c-u)+g:g.slice(0,u-c)+"."+g.slice(u-c)):v+g}})},A5AN:function(t,e,n){"use strict";var r=n("AvRE")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},A5Xg:function(t,e,n){var r=n("NsO/"),i=n("ar/p").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},A90E:function(t,e,n){var r=n("6sVZ"),i=n("V6Ve"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},AJqF:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("mrSG"),i=n("FFOo"),o=n("T1DM"),a=n("+gEr");function u(t,e,n){return void 0===e&&(e=o.a),void 0===n&&(n=a.a),function(r){return r.lift(new s(t,e,n.leading,n.trailing))}}var s=function(){function t(t,e,n,r){this.duration=t,this.scheduler=e,this.leading=n,this.trailing=r}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler,this.leading,this.trailing))},t}(),c=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.duration=n,a.scheduler=r,a.leading=i,a.trailing=o,a._hasTrailingValue=!1,a._trailingValue=null,a}return r.__extends(e,t),e.prototype._next=function(t){this.throttled?this.trailing&&(this._trailingValue=t,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(l,this.duration,{subscriber:this})),this.leading&&this.destination.next(t))},e.prototype._complete=function(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),t.unsubscribe(),this.remove(t),this.throttled=null)},e}(i.a);function l(t){t.subscriber.clearThrottle()}},ANjH:function(t,e,n){"use strict";n.r(e),n.d(e,"__DO_NOT_USE__ActionTypes",function(){return o}),n.d(e,"applyMiddleware",function(){return v}),n.d(e,"bindActionCreators",function(){return f}),n.d(e,"combineReducers",function(){return c}),n.d(e,"compose",function(){return p}),n.d(e,"createStore",function(){return u});var r=n("bCCX"),i=function(){return Math.random().toString(36).substring(7).split("").join(".")},o={INIT:"@@redux/INIT"+i(),REPLACE:"@@redux/REPLACE"+i(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+i()}};function a(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function u(t,e,n){var i;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(u)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var s=t,c=e,l=[],f=l,h=!1;function d(){f===l&&(f=l.slice())}function p(){if(h)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function v(t){if("function"!=typeof t)throw new Error("Expected the listener to be a function.");if(h)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var e=!0;return d(),f.push(t),function(){if(e){if(h)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");e=!1,d();var n=f.indexOf(t);f.splice(n,1)}}}function g(t){if(!a(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(h)throw new Error("Reducers may not dispatch actions.");try{h=!0,c=s(c,t)}finally{h=!1}for(var e=l=f,n=0;n<e.length;n++){(0,e[n])()}return t}return g({type:o.INIT}),(i={dispatch:g,subscribe:v,getState:p,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");s=t,g({type:o.REPLACE})}})[r.a]=function(){var t,e=v;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(p())}return n(),{unsubscribe:e(n)}}})[r.a]=function(){return this},t},i}function s(t,e){var n=e&&e.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function c(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];0,"function"==typeof t[i]&&(n[i]=t[i])}var a,u=Object.keys(n);try{!function(t){Object.keys(t).forEach(function(e){var n=t[e];if(void 0===n(void 0,{type:o.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:o.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+o.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(t){a=t}return function(t,e){if(void 0===t&&(t={}),a)throw a;for(var r=!1,i={},o=0;o<u.length;o++){var c=u[o],l=n[c],f=t[c],h=l(f,e);if(void 0===h){var d=s(c,e);throw new Error(d)}i[c]=h,r=r||h!==f}return r?i:t}}function l(t,e){return function(){return e(t.apply(this,arguments))}}function f(t,e){if("function"==typeof t)return l(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in t){var i=t[r];"function"==typeof i&&(n[r]=l(i,e))}return n}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t,e){var n=Object.keys(t);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(t)),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n}function p(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}function v(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},i={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=e.map(function(t){return t(i)});return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(n,!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},n,{dispatch:r=p.apply(void 0,o)(n.dispatch)})}}}},AP2z:function(t,e,n){var r=n("nmnc"),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,u=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[u]=n:delete t[u]),i}},AUvm:function(t,e,n){"use strict";var r=n("5T2Y"),i=n("B+OT"),o=n("jmDH"),a=n("Y7ZC"),u=n("kTiW"),s=n("6/1s").KEY,c=n("KUxP"),l=n("29s/"),f=n("RfKB"),h=n("YqAc"),d=n("UWiX"),p=n("zLkG"),v=n("Zxgi"),g=n("R+7+"),y=n("kAMH"),m=n("5K7Z"),b=n("93I4"),x=n("JB68"),w=n("NsO/"),_=n("G8Mo"),S=n("rr1i"),k=n("oVml"),E=n("A5Xg"),O=n("vwuL"),C=n("mqlF"),A=n("2faE"),T=n("w6GO"),M=O.f,P=A.f,j=E.f,D=r.Symbol,I=r.JSON,N=I&&I.stringify,F=d("_hidden"),R=d("toPrimitive"),L={}.propertyIsEnumerable,B=l("symbol-registry"),z=l("symbols"),V=l("op-symbols"),U=Object.prototype,H="function"==typeof D&&!!C.f,W=r.QObject,q=!W||!W.prototype||!W.prototype.findChild,G=o&&c(function(){return 7!=k(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=M(U,e);r&&delete U[e],P(t,e,n),r&&t!==U&&P(U,e,r)}:P,Y=function(t){var e=z[t]=k(D.prototype);return e._k=t,e},X=H&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},K=function(t,e,n){return t===U&&K(V,e,n),m(t),e=_(e,!0),m(n),i(z,e)?(n.enumerable?(i(t,F)&&t[F][e]&&(t[F][e]=!1),n=k(n,{enumerable:S(0,!1)})):(i(t,F)||P(t,F,S(1,{})),t[F][e]=!0),G(t,e,n)):P(t,e,n)},$=function(t,e){m(t);for(var n,r=g(e=w(e)),i=0,o=r.length;o>i;)K(t,n=r[i++],e[n]);return t},Z=function(t){var e=L.call(this,t=_(t,!0));return!(this===U&&i(z,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,F)&&this[F][t])||e)},J=function(t,e){if(t=w(t),e=_(e,!0),t!==U||!i(z,e)||i(V,e)){var n=M(t,e);return!n||!i(z,e)||i(t,F)&&t[F][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=j(w(t)),r=[],o=0;n.length>o;)i(z,e=n[o++])||e==F||e==s||r.push(e);return r},tt=function(t){for(var e,n=t===U,r=j(n?V:w(t)),o=[],a=0;r.length>a;)!i(z,e=r[a++])||n&&!i(U,e)||o.push(z[e]);return o};H||(u((D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(V,n),i(this,F)&&i(this[F],t)&&(this[F][t]=!1),G(this,t,S(1,n))};return o&&q&&G(U,t,{configurable:!0,set:e}),Y(t)}).prototype,"toString",function(){return this._k}),O.f=J,A.f=K,n("ar/p").f=E.f=Q,n("NV0k").f=Z,C.f=tt,o&&!n("uOPS")&&u(U,"propertyIsEnumerable",Z,!0),p.f=function(t){return Y(d(t))}),a(a.G+a.W+a.F*!H,{Symbol:D});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=T(d.store),it=0;rt.length>it;)v(rt[it++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=D(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!H,"Object",{create:function(t,e){return void 0===e?k(t):$(k(t),e)},defineProperty:K,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=c(function(){C.f(1)});a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return C.f(x(t))}}),I&&a(a.S+a.F*(!H||c(function(){var t=D();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!X(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,N.apply(I,r)}}),D.prototype[R]||n("NegM")(D.prototype,R,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},Afnz:function(t,e,n){"use strict";var r=n("LQAc"),i=n("XKFU"),o=n("KroJ"),a=n("Mukb"),u=n("hPIQ"),s=n("QaDb"),c=n("fyDq"),l=n("OP3Y"),f=n("K0xU")("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,v,g,y){s(n,e,p);var m,b,x,w=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==v,k=!1,E=t.prototype,O=E[f]||E["@@iterator"]||v&&E[v],C=O||w(v),A=v?S?w("entries"):C:void 0,T="Array"==e&&E.entries||O;if(T&&(x=l(T.call(new t)))!==Object.prototype&&x.next&&(c(x,_,!0),r||"function"==typeof x[f]||a(x,f,d)),S&&O&&"values"!==O.name&&(k=!0,C=function(){return O.call(this)}),r&&!y||!h&&!k&&E[f]||a(E,f,C),u[e]=C,u[_]=d,v)if(m={values:S?C:w("values"),keys:g?C:w("keys"),entries:A},y)for(b in m)b in E||o(E,b,m[b]);else i(i.P+i.F*(h||k),e,m);return m}},Ag8Z:function(t,e,n){var r=n("JC6p"),i=n("EwQA");t.exports=function(t,e){return t&&r(t,i(e))}},AnK5:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditableInput=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("q1tI"),o=u(i),a=u(n("/FUP"));function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=e.EditableInput=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.handleBlur=function(){n.state.blurValue&&n.setState({value:n.state.blurValue,blurValue:null})},n.handleChange=function(t){n.props.label?n.props.onChange&&n.props.onChange(s({},n.props.label,t.target.value),t):n.props.onChange&&n.props.onChange(t.target.value,t),n.setState({value:t.target.value})},n.handleKeyDown=function(t){var e=String(t.target.value),r=e.indexOf("%")>-1,i=Number(e.replace(/%/g,""));if(!isNaN(i)){var o=n.props.arrowOffset||1;38===t.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(s({},n.props.label,i+o),t):n.props.onChange&&n.props.onChange(i+o,t),r?n.setState({value:i+o+"%"}):n.setState({value:i+o})),40===t.keyCode&&(null!==n.props.label?n.props.onChange&&n.props.onChange(s({},n.props.label,i-o),t):n.props.onChange&&n.props.onChange(i-o,t),r?n.setState({value:i-o+"%"}):n.setState({value:i-o}))}},n.handleDrag=function(t){if(n.props.dragLabel){var e=Math.round(n.props.value+t.movementX);e>=0&&e<=n.props.dragMax&&n.props.onChange&&n.props.onChange(s({},n.props.label,e),t)}},n.handleMouseDown=function(t){n.props.dragLabel&&(t.preventDefault(),n.handleDrag(t),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(t.value).toUpperCase(),blurValue:String(t.value).toUpperCase()},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.PureComponent||i.Component),r(e,[{key:"componentWillReceiveProps",value:function(t){var e=this.input;t.value!==this.state.value&&(e===document.activeElement?this.setState({blurValue:String(t.value).toUpperCase()}):this.setState({value:String(t.value).toUpperCase(),blurValue:!this.state.blurValue&&String(t.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var t=this,e=(0,a.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return o.default.createElement("div",{style:e.wrap},o.default.createElement("input",{style:e.input,ref:function(e){return t.input=e},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?o.default.createElement("span",{style:e.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),e}();e.default=c},AphP:function(t,e,n){"use strict";var r=n("XKFU"),i=n("S/j/"),o=n("apmT");r(r.P+r.F*n("eeVq")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},AvRE:function(t,e,n){var r=n("RYi7"),i=n("vhPU");t.exports=function(t){return function(e,n){var o,a,u=String(i(e)),s=r(n),c=u.length;return s<0||s>=c?t?"":void 0:(o=u.charCodeAt(s))<55296||o>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):o:t?u.slice(s,s+2):a-56320+(o-55296<<10)+65536}}},Avpl:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isOptionDisabled=e.getOptionValue=e.getOptionLabel=e.formatGroupLabel=void 0;e.formatGroupLabel=function(t){return t.label};e.getOptionLabel=function(t){return t.label};e.getOptionValue=function(t){return t.value};e.isOptionDisabled=function(t){return!!t.isDisabled}},AyUB:function(t,e,n){t.exports={default:n("3GJH"),__esModule:!0}},"B+OT":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},B5Mt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){var n={},r=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n[t]=e};return 0===t&&r("first-child"),t===e-1&&r("last-child"),(0===t||t%2==0)&&r("even"),1===Math.abs(t%2)&&r("odd"),r("nth-child",t),n}},B8du:function(t,e){t.exports=function(){return!1}},B9Yq:function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},BC7C:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{fround:n("kcoS")})},"BJ/l":function(t,e,n){var r=n("XKFU");r(r.S,"Math",{log1p:n("1sa7")})},BKMn:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopPointerCircle=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.PhotoshopPointerCircle=function(t){var e=t.hsl,n=(0,i.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":e.l>.5});return r.default.createElement("div",{style:n.picker})};e.default=a},BP8U:function(t,e,n){var r=n("XKFU"),i=n("PKUr");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},BQ0V:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.isImmutable,n=void 0===e?o.default:e,u=t.ignore,l=a.default.bind(null,n,u);return function(t){var e=t.getState,n=e(),o=l(n),a=void 0;return function(t){return function(u){n=e(),a=o.detectMutations(),o=l(n),(0,r.default)(!a.wasMutated,s,(a.path||[]).join("."));var f=t(u);return n=e(),a=o.detectMutations(),o=l(n),a.wasMutated&&(0,r.default)(!a.wasMutated,c,(a.path||[]).join("."),(0,i.default)(u)),f}}}};var r=u(n("QLaP")),i=u(n("3/DG")),o=u(n("GoU2")),a=u(n("c+Q5"));function u(t){return t&&t.__esModule?t:{default:t}}var s=["A state mutation was detected between dispatches, in the path `%s`.","This may cause incorrect behavior.","(http://redux.js.org/docs/Troubleshooting.html#never-mutate-reducer-arguments)"].join(" "),c=["A state mutation was detected inside a dispatch, in the path: `%s`.","Take a look at the reducer(s) handling the action %s.","(http://redux.js.org/docs/Troubleshooting.html#never-mutate-reducer-arguments)"].join(" ")},Ba7A:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Swatch=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=s(n("q1tI")),o=s(n("/FUP")),a=n("japM"),u=s(n("Nq3d"));function s(t){return t&&t.__esModule?t:{default:t}}var c=e.Swatch=function(t){var e=t.color,n=t.style,a=t.onClick,s=void 0===a?function(){}:a,c=t.onHover,l=t.title,f=void 0===l?e:l,h=t.children,d=t.focus,p=t.focusStyle,v=void 0===p?{}:p,g="transparent"===e,y=(0,o.default)({default:{swatch:r({background:e,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},n,d?v:{})}}),m={};return c&&(m.onMouseOver=function(t){return c(e,t)}),i.default.createElement("div",r({style:y.swatch,onClick:function(t){return s(e,t)},title:f,tabIndex:0,onKeyDown:function(t){return 13===t.keyCode&&s(e,t)}},m),h,g&&i.default.createElement(u.default,{borderRadius:y.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))};e.default=(0,a.handleFocus)(c)},BiGR:function(t,e,n){var r=n("nmnc"),i=n("03A+"),o=n("Z0cm"),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},BkRI:function(t,e,n){var r=n("OBhP"),i=1,o=4;t.exports=function(t){return r(t,i|o)}},BmQL:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SwatchesColor=void 0;var r=s(n("q1tI")),i=s(n("/FUP")),o=s(n("p8yl")),a=n("TM95"),u=s(n("ql/k"));function s(t){return t&&t.__esModule?t:{default:t}}var c=e.SwatchesColor=function(t){var e=t.color,n=t.onClick,s=void 0===n?function(){}:n,c=t.onSwatchHover,l=t.first,f=t.last,h=t.active,d=(0,i.default)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:e,marginBottom:"1px"},check:{color:o.default.getContrastingColor(e),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:l,last:f,active:h,"color-#FFFFFF":"#FFFFFF"===e,transparent:"transparent"===e});return r.default.createElement(a.Swatch,{color:e,style:d.color,onClick:s,onHover:c,focusStyle:{boxShadow:"0 0 4px "+e}},r.default.createElement("div",{style:d.check},r.default.createElement(u.default,null)))};e.default=c},Btvt:function(t,e,n){"use strict";var r=n("I8a+"),i={};i[n("K0xU")("toStringTag")]="z",i+""!="[object z]"&&n("KroJ")(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},"C/va":function(t,e,n){"use strict";var r=n("y3w9");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},CDs1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var r=s(n("q1tI")),i=s(n("xv+5")),o=s(n("4ueL")),a=n("ragC"),u=n("4UG0");function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function h(t){var e=t.activeStartDate,n=(0,a.getBeginOfCenturyYear)(e),u=n+99;return r.default.createElement(i.default,f({},t,{className:"react-calendar__century-view__decades",dateTransform:a.getBeginOfDecade,dateType:"decade",end:u,start:n,step:10,tile:o.default}))}h.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(n,!0).forEach(function(e){l(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},u.tileGroupProps)},CH3K:function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},CLuu:function(t,e,n){"use strict";var r=function(){return this||(0,eval)("this")}(),i=r&&r.window||r,o=n("8SVD").event,a=n("8SVD").css,u=n("8SVD").add,s=n("8SVD").has,c=n("8SVD").rm,l=n("8SVD").clone,f=n("8SVD").qs,h=b,d=["left","top","right","bottom","width","height"],p=[],v={v:{x:"Y",pos:d[1],oppos:d[3],crossPos:d[0],crossOpPos:d[2],size:d[5],crossSize:d[4],crossMinSize:"min-"+d[4],crossMaxSize:"max-"+d[4],client:"clientHeight",crossClient:"clientWidth",scrollEdge:"scrollLeft",offset:"offsetHeight",crossOffset:"offsetWidth",offsetPos:"offsetTop",scroll:"scrollTop",scrollSize:"scrollHeight"},h:{x:"X",pos:d[0],oppos:d[2],crossPos:d[1],crossOpPos:d[3],size:d[4],crossSize:d[5],crossMinSize:"min-"+d[5],crossMaxSize:"max-"+d[5],client:"clientWidth",crossClient:"clientHeight",scrollEdge:"scrollTop",offset:"offsetWidth",crossOffset:"offsetHeight",offsetPos:"offsetLeft",scroll:"scrollLeft",scrollSize:"scrollWidth"}},g=17,y=15,m=/[\s\S]*Macintosh[\s\S]*\) Gecko[\s\S]*/.test(i.navigator&&i.navigator.userAgent);function b(t){var e,n,r=t&&t[0]||t,a="string"==typeof t||r instanceof HTMLElement?{root:t}:l(t),u={direction:"v",barOnCls:"_scrollbar",resizeDebounce:0,event:o,cssGuru:!1,impact:"scroller",position:"static"};for(var s in a=a||{},u)null==a[s]&&(a[s]=u[s]);e=this&&this instanceof i.jQuery,a._chain?n=a.root:e?a.root=n=this[0]:n=f(a.root||a.scroller);var c=_(n,a.direction),h=+c;if(a.index=h,h==h&&null!==c&&p[h])return p[h];a.root&&a.scroller?a.scroller=f(a.scroller,n):a.scroller=n,a.root=n;var d=function(t){var e=new b.prototype.constructor(t);w(e,t.event,"on"),_(e.root,t.direction,"on",p.length),p.push(e),0;return e.update(),e}(a);return d.autoUpdate&&d.autoUpdate(),d}function x(){return(new Date).getTime()}function w(t,e,n){t._eventHandlers=t._eventHandlers||[{element:t.scroller,handler:function(e){t.scroll(e)},type:"scroll"},{element:t.root,handler:function(){t.update()},type:"transitionend animationend"},{element:t.scroller,handler:function(){t.update()},type:"keyup"},{element:t.bar,handler:function(e){e.preventDefault(),t.selection(),t.drag.now=1,t.draggingCls&&u(t.root,t.draggingCls)},type:"touchstart mousedown"},{element:document,handler:function(){t.selection(1),t.drag.now=0,t.draggingCls&&c(t.root,t.draggingCls)},type:"mouseup blur touchend"},{element:document,handler:function(e){2!=e.button&&t._pos0(e)},type:"touchstart mousedown"},{element:document,handler:function(e){t.drag.now&&t.drag(e)},type:"mousemove touchmove"},{element:i,handler:function(){t.update()},type:"resize"},{element:t.root,handler:function(){t.update()},type:"sizeChange"},{element:t.clipper,handler:function(){t.clipperOnScroll()},type:"scroll"}],function(t,e){var n=0,r=t;for(void 0!==r.length&&r!==i||(r=[r]);r[n];)e.call(this,r[n],n),n++}(t._eventHandlers,function(t){if(t.element)if(t.element.length&&t.element!==i)for(var r=0;r<t.element.length;r++)e(t.element[r],t.type,t.handler,n);else e(t.element,t.type,t.handler,n)})}function _(t,e,n,r){var i="data-baron-"+e+"-id";return"on"==n?t.setAttribute(i,r):"off"==n&&t.removeAttribute(i),t.getAttribute(i)}function S(t){if(this.events&&this.events[t])for(var e=0;e<this.events[t].length;e++){var n=Array.prototype.slice.call(arguments,1);this.events[t][e].apply(this,n)}}b.prototype={_debounce:function(t,e){var n,r,i=this,o=function(){if(i._disposed)return clearTimeout(n),void(n=i=null);var a=x()-r;a<e&&a>=0?n=setTimeout(o,e-a):(n=null,t())};return function(){r=x(),n||(n=setTimeout(o,e))}},constructor:function(t){var e,n,r,o,l,h,d;function p(){return r[this.origin.client]-this.barTopLimit-this.bar[this.origin.offset]}function b(){return!1}if(h=x(),this.params=t,this.event=t.event,this.events={},this.root=t.root,this.scroller=f(t.scroller),this.bar=f(t.bar,this.root),r=this.track=f(t.track,this.root),!this.track&&this.bar&&(r=this.bar.parentNode),this.clipper=this.scroller.parentNode,this.direction=t.direction,this.rtl=t.rtl,this.origin=v[this.direction],this.barOnCls=t.barOnCls,this.scrollingCls=t.scrollingCls,this.draggingCls=t.draggingCls,this.impact=t.impact,this.position=t.position,this.rtl=t.rtl,this.barTopLimit=0,this.resizeDebounce=t.resizeDebounce,this.cursor=function(t){return t["client"+this.origin.x]||(((t.originalEvent||t).touches||{})[0]||{})["page"+this.origin.x]},this.pos=function(t){var e="page"+this.origin.x+"Offset",n=this.scroller[e]?e:this.origin.scroll;return void 0!==t&&(this.scroller[n]=t),this.scroller[n]},this.rpos=function(t){var e=this.scroller[this.origin.scrollSize]-this.scroller[this.origin.client];return(t?this.pos(t*e):this.pos())/(e||1)},this.barOn=function(t){if(this.barOnCls){var e=this.scroller[this.origin.client]>=this.scroller[this.origin.scrollSize];t||e?s(this.root,this.barOnCls)&&c(this.root,this.barOnCls):s(this.root,this.barOnCls)||u(this.root,this.barOnCls)}},this._pos0=function(t){n=this.cursor(t)-e},this.drag=function(t){var e=function(t){return(t-this.barTopLimit)/p.call(this)}.call(this,this.cursor(t)-n),r=this.scroller[this.origin.scrollSize]-this.scroller[this.origin.client];this.scroller[this.origin.scroll]=e*r},this.selection=function(t){this.event(document,"selectpos selectstart",b,t?"off":"on")},this.resize=function(){var t=this,e=void 0===t.resizeDebounce?300:t.resizeDebounce,n=0;function r(){var e,n=t.scroller[t.origin.crossOffset],r=t.scroller[t.origin.crossClient],i=0;if(m?i=y:r>0&&0===n&&(n=r+g),n)if(t.barOn(),"scroller"==t.impact){var o=n-r+i;if("static"==t.position)a(t.scroller,t.origin.crossSize)!=(e=t.clipper[t.origin.crossClient]+o+"px")&&t._setCrossSizes(t.scroller,e);else{var u={},s=t.rtl?"Left":"Right";"h"==t.direction&&(s="Bottom"),u["padding"+s]=o+"px",a(t.scroller,u)}}else a(t.clipper,t.origin.crossSize)!=(e=r+"px")&&t._setCrossSizes(t.clipper,e);Array.prototype.unshift.call(arguments,"resize"),S.apply(t,arguments),h=x()}x()-h<e&&(clearTimeout(o),n=e),n?o=setTimeout(r,n):r()},this.updatePositions=function(t){var n;this.bar&&(n=(r[this.origin.client]-this.barTopLimit)*this.scroller[this.origin.client]/this.scroller[this.origin.scrollSize],(t||parseInt(d,10)!=parseInt(n,10))&&(function(t){var e=this.barMinSize||20,n=t;n>0&&n<e&&(n=e),this.bar&&a(this.bar,this.origin.size,parseInt(n,10)+"px")}.call(this,n),d=n),e=function(t){return t*p.call(this)+this.barTopLimit}.call(this,this.rpos()),function(t){if(this.bar){var e=a(this.bar,this.origin.pos),n=+t+"px";n&&n!=e&&a(this.bar,this.origin.pos,n)}}.call(this,e)),Array.prototype.unshift.call(arguments,"scroll"),S.apply(this,arguments)},this.scroll=function(){var t=this;t.updatePositions(),t.scrollingCls&&(l||u(t.root,t.scrollingCls),clearTimeout(l),l=setTimeout(function(){c(t.root,t.scrollingCls),l=void 0},300))},this.clipperOnScroll=function(){this.rtl?this.clipper[this.origin.scrollEdge]=this.clipper[this.origin.scrollSize]:this.clipper[this.origin.scrollEdge]=0},this._setCrossSizes=function(t,e){var n={};n[this.origin.crossSize]=e,n[this.origin.crossMinSize]=e,n[this.origin.crossMaxSize]=e,a(t,n)},this._dumbCss=function(e){if(!t.cssGuru){var n=e?"hidden":null,r=e?"none":null;a(this.clipper,{overflow:n,msOverflowStyle:r,position:"static"==this.position?"":"relative"});var i=e?"scroll":null,o={};o["overflow-"+("v"==this.direction?"y":"x")]=i,o["box-sizing"]="border-box",o.margin="0",o.border="0","absolute"==this.position&&(o.position="absolute",o.top="0","h"==this.direction?o.left=o.right="0":(o.bottom="0",o.right=this.rtl?"0":"",o.left=this.rtl?"":"0")),a(this.scroller,o)}},this._dumbCss(!0),m){var w="paddingRight",_={},k=i.getComputedStyle(this.scroller)[[w]];"h"==t.direction?w="paddingBottom":t.rtl&&(w="paddingLeft");var E=parseInt(k,10);E!=E&&(E=0),_[w]=y+E+"px",a(this.scroller,_)}return this},update:function(t){return S.call(this,"upd",t),this.resize(1),this.updatePositions(1),this},dispose:function(){w(this,this.event,"off"),_(this.root,this.params.direction,"off"),"v"==this.params.direction?this._setCrossSizes(this.scroller,""):this._setCrossSizes(this.clipper,""),this._dumbCss(!1),this.barOn(!0),S.call(this,"dispose"),p[this.params.index]=null,this.params=null,this._disposed=!0},on:function(t,e,n){for(var r=t.split(" "),i=0;i<r.length;i++)"init"==r[i]?e.call(this,n):(this.events[r[i]]=this.events[r[i]]||[],this.events[r[i]].push(function(t){e.call(this,t||n)}))},baron:function(t){return t.root=this.params.root,t.scroller=this.params.scroller,t.direction="v"==this.params.direction?"h":"v",t._chain=!0,b(t)}},b.prototype.constructor.prototype=b.prototype,b.noConflict=function(){return i.baron=h,b},b.version="3.0.1",b.prototype.autoUpdate=n("G8Sx")(i),b.prototype.fix=n("l/sq"),b.prototype.controls=n("w/Xx"),t.exports=b},CMye:function(t,e,n){var r=n("GoyQ");t.exports=function(t){return t==t&&!r(t)}},CS9Q:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("siIJ"),o=function(t){function e(n,r){void 0===r&&(r=i.a.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return r.__extends(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(i.a)},CX2u:function(t,e,n){"use strict";var r=n("XKFU"),i=n("g3g5"),o=n("dyZX"),a=n("69bn"),u=n("vKrd");r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then(function(){return n})}:t,n?function(n){return u(e,t()).then(function(){throw n})}:t)}})},CZoQ:function(t,e){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}},Cfrj:function(t,e,n){var r=n("RYi7"),i=n("ne8i");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},CkkT:function(t,e,n){var r=n("m0Pp"),i=n("Ymqv"),o=n("S/j/"),a=n("ne8i"),u=n("zRwo");t.exports=function(t,e){var n=1==t,s=2==t,c=3==t,l=4==t,f=6==t,h=5==t||f,d=e||u;return function(e,u,p){for(var v,g,y=o(e),m=i(y),b=r(u,p,3),x=a(m.length),w=0,_=n?d(e,x):s?d(e,0):void 0;x>w;w++)if((h||w in m)&&(g=b(v=m[w],w,y),t))if(n)_[w]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:_.push(v)}else if(l)return!1;return f?-1:c||l?l:_}}},CnBM:function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var u=n("q1tI"),s=n("17x9"),c=[],l=[];function f(t){var e=t(),n={loading:!0,loaded:null,error:null};return n.promise=e.then(function(t){return n.loading=!1,n.loaded=t,t}).catch(function(t){throw n.loading=!1,n.error=t,t}),n}function h(t){var e={loading:!1,loaded:{},error:null},n=[];try{Object.keys(t).forEach(function(r){var i=f(t[r]);i.loading?e.loading=!0:(e.loaded[r]=i.loaded,e.error=i.error),n.push(i.promise),i.promise.then(function(t){e.loaded[r]=t}).catch(function(t){e.error=t})})}catch(t){e.error=t}return e.promise=Promise.all(n).then(function(t){return e.loading=!1,t}).catch(function(t){throw e.loading=!1,t}),e}function d(t,e){return u.createElement((n=t)&&n.__esModule?n.default:n,e);var n}function p(t,e){var f,h;if(!e.loading)throw new Error("react-loadable requires a `loading` component");var p=Object.assign({loader:null,loading:null,delay:200,timeout:null,render:d,webpack:null,modules:null},e),v=null;function g(){return v||(v=t(p.loader)),v.promise}return c.push(g),"function"==typeof p.webpack&&l.push(function(){if(t=p.webpack,"object"===r(n.m)&&t().every(function(t){return void 0!==t&&void 0!==n.m[t]}))return g();var t}),h=f=function(e){function n(r){i(this,n);var a=o(this,e.call(this,r));return a.retry=function(){a.setState({error:null,loading:!0,timedOut:!1}),v=t(p.loader),a._loadModule()},g(),a.state={error:v.error,pastDelay:!1,timedOut:!1,loading:v.loading,loaded:v.loaded},a}return a(n,e),n.preload=function(){return g()},n.prototype.componentWillMount=function(){this._mounted=!0,this._loadModule()},n.prototype._loadModule=function(){var t=this;if(this.context.loadable&&Array.isArray(p.modules)&&p.modules.forEach(function(e){t.context.loadable.report(e)}),v.loading){"number"==typeof p.delay&&(0===p.delay?this.setState({pastDelay:!0}):this._delay=setTimeout(function(){t.setState({pastDelay:!0})},p.delay)),"number"==typeof p.timeout&&(this._timeout=setTimeout(function(){t.setState({timedOut:!0})},p.timeout));var e=function(){t._mounted&&(t.setState({error:v.error,loaded:v.loaded,loading:v.loading}),t._clearTimeouts())};v.promise.then(function(){e()}).catch(function(t){e()})}},n.prototype.componentWillUnmount=function(){this._mounted=!1,this._clearTimeouts()},n.prototype._clearTimeouts=function(){clearTimeout(this._delay),clearTimeout(this._timeout)},n.prototype.render=function(){return this.state.loading||this.state.error?u.createElement(p.loading,{isLoading:this.state.loading,pastDelay:this.state.pastDelay,timedOut:this.state.timedOut,error:this.state.error,retry:this.retry}):this.state.loaded?p.render(this.state.loaded,this.props):null},n}(u.Component),f.contextTypes={loadable:s.shape({report:s.func.isRequired})},h}function v(t){return p(f,t)}v.Map=function(t){if("function"!=typeof t.render)throw new Error("LoadableMap requires a `render(loaded, props)` function");return p(h,t)};var g=function(t){function e(){return i(this,e),o(this,t.apply(this,arguments))}return a(e,t),e.prototype.getChildContext=function(){return{loadable:{report:this.props.report}}},e.prototype.render=function(){return u.Children.only(this.props.children)},e}(u.Component);function y(t){for(var e=[];t.length;){var n=t.pop();e.push(n())}return Promise.all(e).then(function(){if(t.length)return y(t)})}g.propTypes={report:s.func.isRequired},g.childContextTypes={loadable:s.shape({report:s.func.isRequired}).isRequired},v.Capture=g,v.preloadAll=function(){return new Promise(function(t,e){y(c).then(t,e)})},v.preloadReady=function(){return new Promise(function(t,e){y(l).then(t,t)})},t.exports=v},Cwc5:function(t,e,n){var r=n("NKxu"),i=n("Npjl");t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},CyHz:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{sign:n("lvtm")})},Cznk:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("q1tI");e.default=function(){var t=r.useRef(!1),e=r.useCallback(function(){return t.current},[]);return r.useEffect(function(){return t.current=!0,function(){t.current=!1}}),e}},D1y2:function(t,e,n){var r=n("FZoo");t.exports=function(t,e,n){return null==t?t:r(t,e,n)}},D4iV:function(t,e,n){for(var r,i=n("dyZX"),o=n("Mukb"),a=n("ylqs"),u=a("typed_array"),s=a("view"),c=!(!i.ArrayBuffer||!i.DataView),l=c,f=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=i[h[f++]])?(o(r.prototype,u,!0),o(r.prototype,s,!0)):l=!1;t.exports={ABV:c,CONSTR:l,TYPED:u,VIEW:s}},D8kY:function(t,e,n){var r=n("Ojgd"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},DKTb:function(t,e,n){"use strict";function r(t){setTimeout(function(){throw t})}n.d(e,"a",function(){return r})},DNiP:function(t,e,n){"use strict";var r=n("XKFU"),i=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},DRdP:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopBotton=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.PhotoshopBotton=function(t){var e=t.onClick,n=t.label,o=t.children,a=t.active,u=(0,i.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:a});return r.default.createElement("div",{style:u.button,onClick:e},n||o)};e.default=a},DSRE:function(t,e,n){(function(t){var r=n("Kz5y"),i=n("B8du"),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,u=a&&a.exports===o?r.Buffer:void 0,s=(u?u.isBuffer:void 0)||i;t.exports=s}).call(this,n("YuTi")(t))},DUd0:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return r.default.createElement("div",{className:"react-calendar__year-view"},r.default.createElement(i.default,t))};var r=o(n("q1tI")),i=o(n("1y0s"));function o(t){return t&&t.__esModule?t:{default:t}}},DVgA:function(t,e,n){var r=n("zhAb"),i=n("4R4u");t.exports=Object.keys||function(t){return r(t,i)}},DW2E:function(t,e,n){var r=n("0/R4"),i=n("Z6vF").onFreeze;n("Xtr8")("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},DlQD:function(t,e,n){(function(e){!function(e){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:g,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:g,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:g,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function r(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||w.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=h(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=h(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=h(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=/<!--(?!-?>)[\s\S]*?-->/,n.html=h(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=h(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=h(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=y({},n),n.gfm=y({},n.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=h(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=y({},n.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=y({},n.normal,{html:h("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),r.rules=n,r.lex=function(t,e){return new r(e).lex(t)},r.prototype.lex=function(t){return t=t.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(t,!0)},r.prototype.token=function(t,e){var r,i,o,a,u,s,c,l,f,h,d,p,v,g,y,x;for(t=t.replace(/^ +$/gm,"");t;)if((o=this.rules.newline.exec(t))&&(t=t.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(t))t=t.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:b(o,"\n")});else if(o=this.rules.fences.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"code",lang:o[2]?o[2].trim():o[2],text:o[3]||""});else if(o=this.rules.heading.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if((o=this.rules.nptable.exec(t))&&(s={type:"table",header:m(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===s.align.length){for(t=t.substring(o[0].length),d=0;d<s.align.length;d++)/^ *-+: *$/.test(s.align[d])?s.align[d]="right":/^ *:-+: *$/.test(s.align[d])?s.align[d]="center":/^ *:-+ *$/.test(s.align[d])?s.align[d]="left":s.align[d]=null;for(d=0;d<s.cells.length;d++)s.cells[d]=m(s.cells[d],s.header.length);this.tokens.push(s)}else if(o=this.rules.hr.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,e),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(t)){for(t=t.substring(o[0].length),c={type:"list_start",ordered:g=(a=o[2]).length>1,start:g?+a:"",loose:!1},this.tokens.push(c),l=[],r=!1,v=(o=o[0].match(this.rules.item)).length,d=0;d<v;d++)h=(s=o[d]).length,~(s=s.replace(/^ *([*+-]|\d+\.) */,"")).indexOf("\n ")&&(h-=s.length,s=this.options.pedantic?s.replace(/^ {1,4}/gm,""):s.replace(new RegExp("^ {1,"+h+"}","gm"),"")),d!==v-1&&(u=n.bullet.exec(o[d+1])[0],(a.length>1?1===u.length:u.length>1||this.options.smartLists&&u!==a)&&(t=o.slice(d+1).join("\n")+t,d=v-1)),i=r||/\n\n(?!\s*$)/.test(s),d!==v-1&&(r="\n"===s.charAt(s.length-1),i||(i=r)),i&&(c.loose=!0),x=void 0,(y=/^\[[ xX]\] /.test(s))&&(x=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),f={type:"list_item_start",task:y,checked:x,loose:i},l.push(f),this.tokens.push(f),this.token(s,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(v=l.length,d=0;d<v;d++)l[d].loose=!0;this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(t))t=t.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(e&&(o=this.rules.def.exec(t)))t=t.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),p=o[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[p]||(this.tokens.links[p]={href:o[2],title:o[3]});else if((o=this.rules.table.exec(t))&&(s={type:"table",header:m(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===s.align.length){for(t=t.substring(o[0].length),d=0;d<s.align.length;d++)/^ *-+: *$/.test(s.align[d])?s.align[d]="right":/^ *:-+: *$/.test(s.align[d])?s.align[d]="center":/^ *:-+ *$/.test(s.align[d])?s.align[d]="left":s.align[d]=null;for(d=0;d<s.cells.length;d++)s.cells[d]=m(s.cells[d].replace(/^ *\| *| *\| *$/g,""),s.header.length);this.tokens.push(s)}else if(o=this.rules.lheading.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(e&&(o=this.rules.paragraph.exec(t)))t=t.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(t))t=t.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0));return this.tokens};var i={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:g,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:g,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function o(t,e){if(this.options=e||w.defaults,this.links=t,this.rules=i.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=i.pedantic:this.options.gfm&&(this.options.breaks?this.rules=i.breaks:this.rules=i.gfm)}function a(t){this.options=t||w.defaults}function u(){}function s(t){this.tokens=[],this.token=null,this.options=t||w.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new c}function c(){this.seen={}}function l(t,e){if(e){if(l.escapeTest.test(t))return t.replace(l.escapeReplace,function(t){return l.replacements[t]})}else if(l.escapeTestNoEncode.test(t))return t.replace(l.escapeReplaceNoEncode,function(t){return l.replacements[t]});return t}function f(t){return t.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""})}function h(t,e){return t=t.source||t,e=e||"",{replace:function(e,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),t=t.replace(e,n),this},getRegex:function(){return new RegExp(t,e)}}}function d(t,e,n){if(t){try{var r=decodeURIComponent(f(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(t){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}e&&!v.test(n)&&(n=function(t,e){p[" "+t]||(/^[^:]+:\/*[^/]*$/.test(t)?p[" "+t]=t+"/":p[" "+t]=b(t,"/",!0));return t=p[" "+t],"//"===e.slice(0,2)?t.replace(/:[\s\S]*/,":")+e:"/"===e.charAt(0)?t.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+e:t+e}(e,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(t){return null}return n}i._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",i.em=h(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=h(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=h(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|`(?!`)|[^\[\]\\`])*?/,i._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=h(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=h(i.reflink).replace("label",i._label).getRegex(),i.normal=y({},i),i.pedantic=y({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:h(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=y({},i.normal,{escape:h(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),i.gfm.url=h(i.gfm.url,"i").replace("email",i.gfm._extended_email).getRegex(),i.breaks=y({},i.gfm,{br:h(i.br).replace("{2,}","*").getRegex(),text:h(i.gfm.text).replace(/\{2,\}/g,"*").getRegex()}),o.rules=i,o.output=function(t,e,n){return new o(e,n).output(t)},o.prototype.output=function(t){for(var e,n,r,i,a,u,s="";t;)if(a=this.rules.escape.exec(t))t=t.substring(a[0].length),s+=l(a[1]);else if(a=this.rules.tag.exec(t))!this.inLink&&/^<a /i.test(a[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),t=t.substring(a[0].length),s+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):l(a[0]):a[0];else if(a=this.rules.link.exec(t)){var c=x(a[2],"()");if(c>-1){var f=a[0].length-(a[2].length-c)-(a[3]||"").length;a[2]=a[2].substring(0,c),a[0]=a[0].substring(0,f).trim(),a[3]=""}t=t.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=e[1],i=e[3]):i="":i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),s+=this.outputLink(a,{href:o.escapes(r),title:o.escapes(i)}),this.inLink=!1}else if((a=this.rules.reflink.exec(t))||(a=this.rules.nolink.exec(t))){if(t=t.substring(a[0].length),e=(a[2]||a[1]).replace(/\s+/g," "),!(e=this.links[e.toLowerCase()])||!e.href){s+=a[0].charAt(0),t=a[0].substring(1)+t;continue}this.inLink=!0,s+=this.outputLink(a,e),this.inLink=!1}else if(a=this.rules.strong.exec(t))t=t.substring(a[0].length),s+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(t))t=t.substring(a[0].length),s+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(t))t=t.substring(a[0].length),s+=this.renderer.codespan(l(a[2].trim(),!0));else if(a=this.rules.br.exec(t))t=t.substring(a[0].length),s+=this.renderer.br();else if(a=this.rules.del.exec(t))t=t.substring(a[0].length),s+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(t))t=t.substring(a[0].length),r="@"===a[2]?"mailto:"+(n=l(this.mangle(a[1]))):n=l(a[1]),s+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(t))){if(a=this.rules.text.exec(t))t=t.substring(a[0].length),this.inRawBlock?s+=this.renderer.text(a[0]):s+=this.renderer.text(l(this.smartypants(a[0])));else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0))}else{if("@"===a[2])r="mailto:"+(n=l(a[0]));else{do{u=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(u!==a[0]);n=l(a[0]),r="www."===a[1]?"http://"+n:n}t=t.substring(a[0].length),s+=this.renderer.link(r,null,n)}return s},o.escapes=function(t){return t?t.replace(o.rules._escapes,"$1"):t},o.prototype.outputLink=function(t,e){var n=e.href,r=e.title?l(e.title):null;return"!"!==t[0].charAt(0)?this.renderer.link(n,r,this.output(t[1])):this.renderer.image(n,r,l(t[1]))},o.prototype.smartypants=function(t){return this.options.smartypants?t.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):t},o.prototype.mangle=function(t){if(!this.options.mangle)return t;for(var e,n="",r=t.length,i=0;i<r;i++)e=t.charCodeAt(i),Math.random()>.5&&(e="x"+e.toString(16)),n+="&#"+e+";";return n},a.prototype.code=function(t,e,n){var r=(e||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(t,r);null!=i&&i!==t&&(n=!0,t=i)}return r?'<pre><code class="'+this.options.langPrefix+l(r,!0)+'">'+(n?t:l(t,!0))+"</code></pre>\n":"<pre><code>"+(n?t:l(t,!0))+"</code></pre>"},a.prototype.blockquote=function(t){return"<blockquote>\n"+t+"</blockquote>\n"},a.prototype.html=function(t){return t},a.prototype.heading=function(t,e,n,r){return this.options.headerIds?"<h"+e+' id="'+this.options.headerPrefix+r.slug(n)+'">'+t+"</h"+e+">\n":"<h"+e+">"+t+"</h"+e+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(t,e,n){var r=e?"ol":"ul";return"<"+r+(e&&1!==n?' start="'+n+'"':"")+">\n"+t+"</"+r+">\n"},a.prototype.listitem=function(t){return"<li>"+t+"</li>\n"},a.prototype.checkbox=function(t){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},a.prototype.paragraph=function(t){return"<p>"+t+"</p>\n"},a.prototype.table=function(t,e){return e&&(e="<tbody>"+e+"</tbody>"),"<table>\n<thead>\n"+t+"</thead>\n"+e+"</table>\n"},a.prototype.tablerow=function(t){return"<tr>\n"+t+"</tr>\n"},a.prototype.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' align="'+e.align+'">':"<"+n+">")+t+"</"+n+">\n"},a.prototype.strong=function(t){return"<strong>"+t+"</strong>"},a.prototype.em=function(t){return"<em>"+t+"</em>"},a.prototype.codespan=function(t){return"<code>"+t+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(t){return"<del>"+t+"</del>"},a.prototype.link=function(t,e,n){if(null===(t=d(this.options.sanitize,this.options.baseUrl,t)))return n;var r='<a href="'+l(t)+'"';return e&&(r+=' title="'+e+'"'),r+=">"+n+"</a>"},a.prototype.image=function(t,e,n){if(null===(t=d(this.options.sanitize,this.options.baseUrl,t)))return n;var r='<img src="'+t+'" alt="'+n+'"';return e&&(r+=' title="'+e+'"'),r+=this.options.xhtml?"/>":">"},a.prototype.text=function(t){return t},u.prototype.strong=u.prototype.em=u.prototype.codespan=u.prototype.del=u.prototype.text=function(t){return t},u.prototype.link=u.prototype.image=function(t,e,n){return""+n},u.prototype.br=function(){return""},s.parse=function(t,e){return new s(e).parse(t)},s.prototype.parse=function(t){this.inline=new o(t.links,this.options),this.inlineText=new o(t.links,y({},this.options,{renderer:new u})),this.tokens=t.reverse();for(var e="";this.next();)e+=this.tok();return e},s.prototype.next=function(){return this.token=this.tokens.pop()},s.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},s.prototype.parseText=function(){for(var t=this.token.text;"text"===this.peek().type;)t+="\n"+this.next().text;return this.inline.output(t)},s.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,f(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var t,e,n,r,i="",o="";for(n="",t=0;t<this.token.header.length;t++)n+=this.renderer.tablecell(this.inline.output(this.token.header[t]),{header:!0,align:this.token.align[t]});for(i+=this.renderer.tablerow(n),t=0;t<this.token.cells.length;t++){for(e=this.token.cells[t],n="",r=0;r<e.length;r++)n+=this.renderer.tablecell(this.inline.output(e[r]),{header:!1,align:this.token.align[r]});o+=this.renderer.tablerow(n)}return this.renderer.table(i,o);case"blockquote_start":for(o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":o="";for(var a=this.token.ordered,u=this.token.start;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,a,u);case"list_item_start":o="";var s=this.token.loose,c=this.token.checked,l=this.token.task;for(this.token.task&&(o+=this.renderer.checkbox(c));"list_item_end"!==this.next().type;)o+=s||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(o,l,c);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var h='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(h);console.log(h)}},c.prototype.slug=function(t){var e=t.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(e)){var n=e;do{this.seen[n]++,e=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(e))}return this.seen[e]=0,e},l.escapeTest=/[&<>"']/,l.escapeReplace=/[&<>"']/g,l.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},l.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,l.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var p={},v=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(){}function y(t){for(var e,n,r=1;r<arguments.length;r++)for(n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function m(t,e){var n=t.replace(/\|/g,function(t,e,n){for(var r=!1,i=e;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function b(t,e,n){if(0===t.length)return"";for(var r=0;r<t.length;){var i=t.charAt(t.length-r-1);if(i!==e||n){if(i===e||!n)break;r++}else r++}return t.substr(0,t.length-r)}function x(t,e){if(-1===t.indexOf(e[1]))return-1;for(var n=0,r=0;r<t.length;r++)if("\\"===t[r])r++;else if(t[r]===e[0])n++;else if(t[r]===e[1]&&--n<0)return r;return-1}function w(t,e,n){if(null==t)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof t)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected");if(n||"function"==typeof e){n||(n=e,e=null);var i,o,a=(e=y({},w.defaults,e||{})).highlight,u=0;try{i=r.lex(t,e)}catch(t){return n(t)}o=i.length;var c=function(t){if(t)return e.highlight=a,n(t);var r;try{r=s.parse(i,e)}catch(e){t=e}return e.highlight=a,t?n(t):n(null,r)};if(!a||a.length<3)return c();if(delete e.highlight,!o)return c();for(;u<i.length;u++)!function(t){"code"!==t.type?--o||c():a(t.text,t.lang,function(e,n){return e?c(e):null==n||n===t.text?--o||c():(t.text=n,t.escaped=!0,void(--o||c()))})}(i[u])}else try{return e&&(e=y({},w.defaults,e)),s.parse(r.lex(t,e),e)}catch(t){if(t.message+="\nPlease report this to https://github.com/markedjs/marked.",(e||w.defaults).silent)return"<p>An error occurred:</p><pre>"+l(t.message+"",!0)+"</pre>";throw t}}g.exec=g,w.options=w.setOptions=function(t){return y(w.defaults,t),w},w.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},w.defaults=w.getDefaults(),w.Parser=s,w.parser=s.parse,w.Renderer=a,w.TextRenderer=u,w.Lexer=r,w.lexer=r.lex,w.InlineLexer=o,w.inlineLexer=o.output,w.Slugger=c,w.parse=w,t.exports=w}(this||"undefined"!=typeof window&&window)}).call(this,n("yLpj"))},DtyJ:function(t,e,n){"use strict";n.r(e);var r=n("6blF"),i=n("KhEm"),o=n("IxPp"),a=n("xTla"),u=n("K9Ia"),s=n("26FU"),c=n("S5bw"),l=n("svcd"),f=n("KQya"),h=n("T1DM"),d=n("zo3G"),p=n("mrSG"),v=n("h9Dq"),g=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return p.__extends(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(v.a),y=n("CS9Q"),m=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(y.a))(g),b=function(t){function e(e,n){void 0===e&&(e=x),void 0===n&&(n=Number.POSITIVE_INFINITY);var r=t.call(this,e,function(){return r.frame})||this;return r.maxFrames=n,r.frame=0,r.index=-1,r}return p.__extends(e,t),e.prototype.flush=function(){for(var t,e,n=this.actions,r=this.maxFrames;(e=n[0])&&e.delay<=r&&(n.shift(),this.frame=e.delay,!(t=e.execute(e.state,e.delay))););if(t){for(;e=n.shift();)e.unsubscribe();throw t}},e.frameTimeFactor=10,e}(y.a),x=function(t){function e(e,n,r){void 0===r&&(r=e.index+=1);var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.index=r,i.active=!0,i.index=e.index=r,i}return p.__extends(e,t),e.prototype.schedule=function(n,r){if(void 0===r&&(r=0),!this.id)return t.prototype.schedule.call(this,n,r);this.active=!1;var i=new e(this.scheduler,this.work);return this.add(i),i.schedule(n,r)},e.prototype.requestAsyncId=function(t,n,r){void 0===r&&(r=0),this.delay=t.frame+r;var i=t.actions;return i.push(this),i.sort(e.sortActions),!0},e.prototype.recycleAsyncId=function(t,e,n){void 0===n&&(n=0)},e.prototype._execute=function(e,n){if(!0===this.active)return t.prototype._execute.call(this,e,n)},e.sortActions=function(t,e){return t.delay===e.delay?t.index===e.index?0:t.index>e.index?1:-1:t.delay>e.delay?1:-1},e}(v.a),w=n("siIJ"),_=n("pugT"),S=n("FFOo"),k=n("60iU"),E=n("y3By"),O=n("+umK"),C=n("mChF");function A(t){return!!t&&(t instanceof r.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}var T=n("b7mW"),M=n("3fWJ"),P=n("8g8A"),j=n("awvh"),D=n("3U0i"),I=n("67Y/"),N=n("1fDf"),F=n("isby"),R=n("nkY7");function L(t,e,n){if(e){if(!Object(R.a)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return L(t,n).apply(void 0,r).pipe(Object(I.a)(function(t){return Object(F.a)(t)?e.apply(void 0,t):e(t)}))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o,a=this,u={context:a,subject:o,callbackFunc:t,scheduler:n};return new r.a(function(r){if(n){var i={args:e,subscriber:r,params:u};return n.schedule(B,0,i)}if(!o){o=new l.a;try{t.apply(a,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];o.next(t.length<=1?t[0]:t),o.complete()}]))}catch(t){Object(N.a)(o)?o.error(t):console.warn(t)}}return o.subscribe(r)})}}function B(t){var e=this,n=t.args,r=t.subscriber,i=t.params,o=i.callbackFunc,a=i.context,u=i.scheduler,s=i.subject;if(!s){s=i.subject=new l.a;try{o.apply(a,n.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length<=1?t[0]:t;e.add(u.schedule(z,0,{value:r,subject:s}))}]))}catch(t){s.error(t)}}this.add(s.subscribe(r))}function z(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function V(t,e,n){if(e){if(!Object(R.a)(e))return function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return V(t,n).apply(void 0,r).pipe(Object(I.a)(function(t){return Object(F.a)(t)?e.apply(void 0,t):e(t)}))};n=e}return function(){for(var e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var o={subject:void 0,args:e,callbackFunc:t,scheduler:n,context:this};return new r.a(function(r){var i=o.context,a=o.subject;if(n)return n.schedule(U,0,{params:o,subscriber:r,context:i});if(!a){a=o.subject=new l.a;try{t.apply(i,e.concat([function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.shift();n?a.error(n):(a.next(t.length<=1?t[0]:t),a.complete())}]))}catch(t){Object(N.a)(a)?a.error(t):console.warn(t)}}return a.subscribe(r)})}}function U(t){var e=this,n=t.params,r=t.subscriber,i=t.context,o=n.callbackFunc,a=n.args,u=n.scheduler,s=n.subject;if(!s){s=n.subject=new l.a;try{o.apply(i,a.concat([function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.shift();if(r)e.add(u.schedule(W,0,{err:r,subject:s}));else{var i=t.length<=1?t[0]:t;e.add(u.schedule(H,0,{value:i,subject:s}))}}]))}catch(t){this.add(u.schedule(W,0,{err:t,subject:s}))}}this.add(s.subscribe(r))}function H(t){var e=t.value,n=t.subject;n.next(e),n.complete()}function W(t){var e=t.err;t.subject.error(e)}var q=n("dzgT"),G=n("dEwP"),Y=n("lYZG"),X=n("G5J1"),K=n("VNr4"),$=n("0/uQ"),Z=n("2Bdj");Object.prototype.toString;function J(t,e,n,i){return Object(Z.a)(n)&&(i=n,n=void 0),i?J(t,e,n).pipe(Object(I.a)(function(t){return Object(F.a)(t)?i.apply(void 0,t):i(t)})):new r.a(function(r){!function t(e,n,r,i,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var u=e;e.addEventListener(n,r,o),a=function(){return u.removeEventListener(n,r,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var s=e;e.on(n,r),a=function(){return s.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var c=e;e.addListener(n,r),a=function(){return c.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,f=e.length;l<f;l++)t(e[l],n,r,i,o)}i.add(a)}(t,e,function(t){arguments.length>1?r.next(Array.prototype.slice.call(arguments)):r.next(t)},r,n)})}function Q(t,e,n){return n?Q(t,e).pipe(Object(I.a)(function(t){return Object(F.a)(t)?n.apply(void 0,t):n(t)})):new r.a(function(n){var r,i=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return n.next(1===t.length?t[0]:t)};try{r=t(i)}catch(t){return void n.error(t)}if(Object(Z.a)(e))return function(){return e(i,r)}})}function tt(t,e,n,i,o){var a,u;if(1==arguments.length){var s=t;u=s.initialState,e=s.condition,n=s.iterate,a=s.resultSelector||C.a,o=s.scheduler}else void 0===i||Object(R.a)(i)?(u=t,a=C.a,o=i):(u=t,a=i);return new r.a(function(t){var r=u;if(o)return o.schedule(et,0,{subscriber:t,iterate:n,condition:e,resultSelector:a,state:r});for(;;){if(e){var i=void 0;try{i=e(r)}catch(e){return void t.error(e)}if(!i){t.complete();break}}var s=void 0;try{s=a(r)}catch(e){return void t.error(e)}if(t.next(s),t.closed)break;try{r=n(r)}catch(e){return void t.error(e)}}})}function et(t){var e=t.subscriber,n=t.condition;if(!e.closed){if(t.needIterate)try{t.state=t.iterate(t.state)}catch(t){return void e.error(t)}else t.needIterate=!0;if(n){var r=void 0;try{r=n(t.state)}catch(t){return void e.error(t)}if(!r)return void e.complete();if(e.closed)return}var i;try{i=t.resultSelector(t.state)}catch(t){return void e.error(t)}if(!e.closed&&(e.next(i),!e.closed))return this.schedule(t)}}var nt=n("mEZQ"),rt=n("xXU7"),it=n("p0ib"),ot=n("GDxn"),at=n("F/XL");function ut(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(0===t.length)return X.a;var n=t[0],i=t.slice(1);return 1===t.length&&Object(F.a)(n)?ut.apply(void 0,n):new r.a(function(t){var e=function(){return t.add(ut.apply(void 0,i).subscribe(t))};return Object($.a)(n).subscribe({next:function(e){t.next(e)},error:e,complete:e})})}function st(t,e){return e?new r.a(function(n){var r=Object.keys(t),i=new _.a;return i.add(e.schedule(ct,0,{keys:r,index:0,subscriber:n,subscription:i,obj:t})),i}):new r.a(function(e){for(var n=Object.keys(t),r=0;r<n.length&&!e.closed;r++){var i=n[r];t.hasOwnProperty(i)&&e.next([i,t[i]])}e.complete()})}function ct(t){var e=t.keys,n=t.index,r=t.subscriber,i=t.subscription,o=t.obj;if(!r.closed)if(n<e.length){var a=e[n];r.next([a,o[a]]),i.add(this.schedule({keys:e,index:n+1,subscriber:r,subscription:i,obj:o}))}else r.complete()}var lt=n("W0Ae");function ft(t,e,n){return void 0===t&&(t=0),new r.a(function(r){void 0===e&&(e=t,t=0);var i=0,o=t;if(n)return n.schedule(ht,0,{index:i,count:e,start:t,subscriber:r});for(;;){if(i++>=e){r.complete();break}if(r.next(o++),r.closed)break}})}function ht(t){var e=t.start,n=t.index,r=t.count,i=t.subscriber;n>=r?i.complete():(i.next(e),i.closed||(t.index=n+1,t.start=e+1,this.schedule(t)))}var dt=n("XlPw"),pt=n("gI3B");function vt(t,e){return new r.a(function(n){var r,i;try{r=t()}catch(t){return void n.error(t)}try{i=e(r)}catch(t){return void n.error(t)}var o=(i?Object($.a)(i):X.a).subscribe(n);return function(){o.unsubscribe(),r&&r.unsubscribe()}})}var gt=n("909l"),yt=n("iLxQ");n.d(e,"Observable",function(){return r.a}),n.d(e,"ConnectableObservable",function(){return i.a}),n.d(e,"GroupedObservable",function(){return o.a}),n.d(e,"observable",function(){return a.a}),n.d(e,"Subject",function(){return u.b}),n.d(e,"BehaviorSubject",function(){return s.a}),n.d(e,"ReplaySubject",function(){return c.a}),n.d(e,"AsyncSubject",function(){return l.a}),n.d(e,"asapScheduler",function(){return f.a}),n.d(e,"asyncScheduler",function(){return h.a}),n.d(e,"queueScheduler",function(){return d.a}),n.d(e,"animationFrameScheduler",function(){return m}),n.d(e,"VirtualTimeScheduler",function(){return b}),n.d(e,"VirtualAction",function(){return x}),n.d(e,"Scheduler",function(){return w.a}),n.d(e,"Subscription",function(){return _.a}),n.d(e,"Subscriber",function(){return S.a}),n.d(e,"Notification",function(){return k.a}),n.d(e,"pipe",function(){return E.a}),n.d(e,"noop",function(){return O.a}),n.d(e,"identity",function(){return C.a}),n.d(e,"isObservable",function(){return A}),n.d(e,"ArgumentOutOfRangeError",function(){return T.a}),n.d(e,"EmptyError",function(){return M.a}),n.d(e,"ObjectUnsubscribedError",function(){return P.a}),n.d(e,"UnsubscriptionError",function(){return j.a}),n.d(e,"TimeoutError",function(){return D.a}),n.d(e,"bindCallback",function(){return L}),n.d(e,"bindNodeCallback",function(){return V}),n.d(e,"combineLatest",function(){return q.b}),n.d(e,"concat",function(){return G.a}),n.d(e,"defer",function(){return Y.a}),n.d(e,"empty",function(){return X.b}),n.d(e,"forkJoin",function(){return K.a}),n.d(e,"from",function(){return $.a}),n.d(e,"fromEvent",function(){return J}),n.d(e,"fromEventPattern",function(){return Q}),n.d(e,"generate",function(){return tt}),n.d(e,"iif",function(){return nt.a}),n.d(e,"interval",function(){return rt.a}),n.d(e,"merge",function(){return it.a}),n.d(e,"never",function(){return ot.b}),n.d(e,"of",function(){return at.a}),n.d(e,"onErrorResumeNext",function(){return ut}),n.d(e,"pairs",function(){return st}),n.d(e,"race",function(){return lt.a}),n.d(e,"range",function(){return ft}),n.d(e,"throwError",function(){return dt.a}),n.d(e,"timer",function(){return pt.a}),n.d(e,"using",function(){return vt}),n.d(e,"zip",function(){return gt.b}),n.d(e,"EMPTY",function(){return X.a}),n.d(e,"NEVER",function(){return ot.a}),n.d(e,"config",function(){return yt.a})},"Dw+G":function(t,e,n){var r=n("juv8"),i=n("mTTR");t.exports=function(t,e){return t&&r(e,i(e),t)}},DzJC:function(t,e,n){var r=n("sEfC"),i=n("GoyQ"),o="Expected a function";t.exports=function(t,e,n){var a=!0,u=!0;if("function"!=typeof t)throw new TypeError(o);return i(n)&&(a="leading"in n?!!n.leading:a,u="trailing"in n?!!n.trailing:u),r(t,e,{leading:a,maxWait:e,trailing:u})}},"E+oP":function(t,e,n){var r=n("A90E"),i=n("QqLw"),o=n("03A+"),a=n("Z0cm"),u=n("MMmD"),s=n("DSRE"),c=n("6sVZ"),l=n("c6wG"),f="[object Map]",h="[object Set]",d=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(u(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||s(t)||l(t)||o(t)))return!t.length;var e=i(t);if(e==f||e==h)return!t.size;if(c(t))return!r(t).length;for(var n in t)if(d.call(t,n))return!1;return!0}},E0u0:function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("QDlc")),o=r(n("MgzW")),a=!0,u=!1,s=["altKey","bubbles","cancelable","ctrlKey","currentTarget","eventPhase","metaKey","shiftKey","target","timeStamp","view","type"];function c(t){return null==t}var l=[{reg:/^key/,props:["char","charCode","key","keyCode","which"],fix:function(t,e){c(t.which)&&(t.which=c(e.charCode)?e.keyCode:e.charCode),void 0===t.metaKey&&(t.metaKey=t.ctrlKey)}},{reg:/^touch/,props:["touches","changedTouches","targetTouches"]},{reg:/^hashchange$/,props:["newURL","oldURL"]},{reg:/^gesturechange$/i,props:["rotation","scale"]},{reg:/^(mousewheel|DOMMouseScroll)$/,props:[],fix:function(t,e){var n=void 0,r=void 0,i=void 0,o=e.wheelDelta,a=e.axis,u=e.wheelDeltaY,s=e.wheelDeltaX,c=e.detail;o&&(i=o/120),c&&(i=0-(c%3==0?c/3:c)),void 0!==a&&(a===t.HORIZONTAL_AXIS?(r=0,n=0-i):a===t.VERTICAL_AXIS&&(n=0,r=i)),void 0!==u&&(r=u/120),void 0!==s&&(n=-1*s/120),n||r||(r=i),void 0!==n&&(t.deltaX=n),void 0!==r&&(t.deltaY=r),void 0!==i&&(t.delta=i)}},{reg:/^mouse|contextmenu|click|mspointer|(^DOMMouseScroll$)/i,props:["buttons","clientX","clientY","button","offsetX","relatedTarget","which","fromElement","toElement","offsetY","pageX","pageY","screenX","screenY"],fix:function(t,e){var n=void 0,r=void 0,i=void 0,o=t.target,a=e.button;return o&&c(t.pageX)&&!c(e.clientX)&&(r=(n=o.ownerDocument||document).documentElement,i=n.body,t.pageX=e.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),t.which||void 0===a||(t.which=1&a?1:2&a?3:4&a?2:0),!t.relatedTarget&&t.fromElement&&(t.relatedTarget=t.fromElement===o?t.toElement:t.fromElement),t}}];function f(){return a}function h(){return u}function d(t){var e=t.type,n="function"==typeof t.stopPropagation||"boolean"==typeof t.cancelBubble;i.default.call(this),this.nativeEvent=t;var r=h;"defaultPrevented"in t?r=t.defaultPrevented?f:h:"getPreventDefault"in t?r=t.getPreventDefault()?f:h:"returnValue"in t&&(r=t.returnValue===u?f:h),this.isDefaultPrevented=r;var o=[],a=void 0,c=void 0,d=s.concat();for(l.forEach(function(t){e.match(t.reg)&&(d=d.concat(t.props),t.fix&&o.push(t.fix))}),a=d.length;a;)this[c=d[--a]]=t[c];for(!this.target&&n&&(this.target=t.srcElement||document),this.target&&3===this.target.nodeType&&(this.target=this.target.parentNode),a=o.length;a;)(0,o[--a])(this,t);this.timeStamp=t.timeStamp||Date.now()}var p=i.default.prototype;(0,o.default)(d.prototype,p,{constructor:d,preventDefault:function(){var t=this.nativeEvent;t.preventDefault?t.preventDefault():t.returnValue=u,p.preventDefault.call(this)},stopPropagation:function(){var t=this.nativeEvent;t.stopPropagation?t.stopPropagation():t.cancelBubble=a,p.stopPropagation.call(this)}}),e.default=d,t.exports=e.default},E2jh:function(t,e,n){var r,i=n("2gN3"),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},EA7m:function(t,e,n){var r=n("zZ0H"),i=n("Ioao"),o=n("wclG");t.exports=function(t,e){return o(i(t,e,r),t+"")}},EDp1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),i=n("PAeb");function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function c(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var h=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,l(e).apply(this,arguments))}var n,o,h;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(e,r.Component),n=e,(o=[{key:"render",value:function(){var t=this.props,e=(t.in,t.out,t.onExited,t.appear,t.enter,t.exit,t.innerRef),n=(t.emotion,u(t,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return r.default.createElement("input",a({ref:e},n,{className:(0,i.css)({background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"})}))}}])&&s(n.prototype,o),h&&s(n,h),e}();e.default=h},EEGq:function(t,e,n){var r=n("juv8"),i=n("oCl/");t.exports=function(t,e){return r(t,i(t),e)}},EJiy:function(t,e,n){"use strict";e.__esModule=!0;var r=a(n("F+2o")),i=a(n("+JPL")),o="function"==typeof i.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof i.default&&"symbol"===o(r.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof i.default&&t.constructor===i.default&&t!==i.default.prototype?"symbol":void 0===t?"undefined":o(t)}},EK0E:function(t,e,n){"use strict";var r,i=n("dyZX"),o=n("CkkT")(0),a=n("KroJ"),u=n("Z6vF"),s=n("czNK"),c=n("ZD67"),l=n("0/R4"),f=n("s5qY"),h=n("s5qY"),d=!i.ActiveXObject&&"ActiveXObject"in i,p=u.getWeak,v=Object.isExtensible,g=c.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(l(t)){var e=p(t);return!0===e?g(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(f(this,"WeakMap"),t,e)}},b=t.exports=n("4LiD")("WeakMap",y,m,c,!0,!0);h&&d&&(s((r=c.getConstructor(y,"WeakMap")).prototype,m),u.NEED=!0,o(["delete","has","get","set"],function(t){var e=b.prototype,n=e[t];a(e,t,function(e,i){if(l(e)&&!v(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},ELae:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),o=(r=n("VgJO"))&&r.__esModule?r:{default:r};function a(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e,n){return e&&c(t.prototype,e),n&&c(t,n),t}function f(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?v(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y=function(t){function e(){var t,n;s(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return g(v(v(n=f(this,(t=h(e)).call.apply(t,[this].concat(i))))),"isBottom",!1),g(v(v(n)),"isTop",!1),g(v(v(n)),"scrollTarget",void 0),g(v(v(n)),"touchStart",void 0),g(v(v(n)),"cancelScroll",function(t){t.preventDefault(),t.stopPropagation()}),g(v(v(n)),"handleEventDelta",function(t,e){var r=n.props,i=r.onBottomArrive,o=r.onBottomLeave,a=r.onTopArrive,u=r.onTopLeave,s=n.scrollTarget,c=s.scrollTop,l=s.scrollHeight,f=s.clientHeight,h=n.scrollTarget,d=e>0,p=l-f-c,v=!1;p>e&&n.isBottom&&(o&&o(t),n.isBottom=!1),d&&n.isTop&&(u&&u(t),n.isTop=!1),d&&e>p?(i&&!n.isBottom&&i(t),h.scrollTop=l,v=!0,n.isBottom=!0):!d&&-e>c&&(a&&!n.isTop&&a(t),h.scrollTop=0,v=!0,n.isTop=!0),v&&n.cancelScroll(t)}),g(v(v(n)),"onWheel",function(t){n.handleEventDelta(t,t.deltaY)}),g(v(v(n)),"onTouchStart",function(t){n.touchStart=t.changedTouches[0].clientY}),g(v(v(n)),"onTouchMove",function(t){var e=n.touchStart-t.changedTouches[0].clientY;n.handleEventDelta(t,e)}),g(v(v(n)),"getScrollTarget",function(t){n.scrollTarget=t}),n}return d(e,i.Component),l(e,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(t){t&&(t.scrollHeight<=t.clientHeight||("function"==typeof t.addEventListener&&t.addEventListener("wheel",this.onWheel,!1),"function"==typeof t.addEventListener&&t.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof t.addEventListener&&t.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(t){t.scrollHeight<=t.clientHeight||("function"==typeof t.removeEventListener&&t.removeEventListener("wheel",this.onWheel,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return i.default.createElement(o.default,{innerRef:this.getScrollTarget},this.props.children)}}]),e}(),m=function(t){function e(){return s(this,e),f(this,h(e).apply(this,arguments))}return d(e,i.Component),l(e,[{key:"render",value:function(){var t=this.props,e=t.isEnabled,n=a(t,["isEnabled"]);return e?i.default.createElement(y,n):this.props.children}}]),e}();e.default=m,g(m,"defaultProps",{isEnabled:!0})},EVdn:function(t,e,n){var r; /*! * jQuery JavaScript Library v3.4.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2019-05-01T21:04Z */ /*! * jQuery JavaScript Library v3.4.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2019-05-01T21:04Z */ !function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],a=n.document,u=Object.getPrototypeOf,s=o.slice,c=o.concat,l=o.push,f=o.indexOf,h={},d=h.toString,p=h.hasOwnProperty,v=p.toString,g=v.call(Object),y={},m=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},b=function(t){return null!=t&&t===t.window},x={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var r,i,o=(n=n||a).createElement("script");if(o.text=t,e)for(r in x)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function _(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[d.call(t)]||"object":typeof t}var S=function(t,e){return new S.fn.init(t,e)},k=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function E(t){var e=!!t&&"length"in t&&t.length,n=_(t);return!m(t)&&!b(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}S.fn=S.prototype={jquery:"3.4.1",constructor:S,length:0,toArray:function(){return s.call(this)},get:function(t){return null==t?s.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=S.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return S.each(this,t)},map:function(t){return this.pushStack(S.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},S.extend=S.fn.extend=function(){var t,e,n,r,i,o,a=arguments[0]||{},u=1,s=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[u]||{},u++),"object"==typeof a||m(a)||(a={}),u===s&&(a=this,u--);u<s;u++)if(null!=(t=arguments[u]))for(e in t)r=t[e],"__proto__"!==e&&a!==r&&(c&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[e],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[e]=S.extend(c,o,r)):void 0!==r&&(a[e]=r));return a},S.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==d.call(t))&&(!(e=u(t))||"function"==typeof(n=p.call(e,"constructor")&&e.constructor)&&v.call(n)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e){w(t,{nonce:e&&e.nonce})},each:function(t,e){var n,r=0;if(E(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(k,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(E(Object(t))?S.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:f.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,a=!n;i<o;i++)!e(t[i],i)!==a&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,a=[];if(E(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return c.apply([],a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=o[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){h["[object "+e+"]"]=e.toLowerCase()});var O= /*! * Sizzle CSS Selector Engine v2.3.4 * https://sizzlejs.com/ * * Copyright JS Foundation and other contributors * Released under the MIT license * https://js.foundation/ * * Date: 2019-04-08 */ function(t){var e,n,r,i,o,a,u,s,c,l,f,h,d,p,v,g,y,m,b,x="sizzle"+1*new Date,w=t.document,_=0,S=0,k=st(),E=st(),O=st(),C=st(),A=function(t,e){return t===e&&(f=!0),0},T={}.hasOwnProperty,M=[],P=M.pop,j=M.push,D=M.push,I=M.slice,N=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",B="\\["+R+"*("+L+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+R+"*\\]",z=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+B+")*)|.*)\\)|)",V=new RegExp(R+"+","g"),U=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),H=new RegExp("^"+R+"*,"+R+"*"),W=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),q=new RegExp(R+"|>"),G=new RegExp(z),Y=new RegExp("^"+L+"$"),X={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,J=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),nt=function(t,e,n){var r="0x"+e-65536;return r!=r||n?e:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){h()},at=xt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{D.apply(M=I.call(w.childNodes),w.childNodes),M[w.childNodes.length].nodeType}catch(t){D={apply:M.length?function(t,e){j.apply(t,I.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function ut(t,e,r,i){var o,u,c,l,f,p,y,m=e&&e.ownerDocument,_=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==_&&9!==_&&11!==_)return r;if(!i&&((e?e.ownerDocument||e:w)!==d&&h(e),e=e||d,v)){if(11!==_&&(f=Q.exec(t)))if(o=f[1]){if(9===_){if(!(c=e.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(m&&(c=m.getElementById(o))&&b(e,c)&&c.id===o)return r.push(c),r}else{if(f[2])return D.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return D.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!C[t+" "]&&(!g||!g.test(t))&&(1!==_||"object"!==e.nodeName.toLowerCase())){if(y=t,m=e,1===_&&q.test(t)){for((l=e.getAttribute("id"))?l=l.replace(rt,it):e.setAttribute("id",l=x),u=(p=a(t)).length;u--;)p[u]="#"+l+" "+bt(p[u]);y=p.join(","),m=tt.test(t)&&yt(e.parentNode)||e}try{return D.apply(r,m.querySelectorAll(y)),r}catch(e){C(t,!0)}finally{l===x&&e.removeAttribute("id")}}}return s(t.replace(U,"$1"),e,r,i)}function st(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function ct(t){return t[x]=!0,t}function lt(t){var e=d.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function ht(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function dt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function vt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ct(function(e){return e=+e,ct(function(n,r){for(var i,o=t([],n.length,e),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function yt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ut.support={},o=ut.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!K.test(e||n&&n.nodeName||"HTML")},h=ut.setDocument=function(t){var e,i,a=t?t.ownerDocument||t:w;return a!==d&&9===a.nodeType&&a.documentElement?(p=(d=a).documentElement,v=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ot,!1):i.attachEvent&&i.attachEvent("onunload",ot)),n.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=lt(function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=J.test(d.getElementsByClassName),n.getById=lt(function(t){return p.appendChild(t).id=x,!d.getElementsByName||!d.getElementsByName(x).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},y=[],g=[],(n.qsa=J.test(d.querySelectorAll))&&(lt(function(t){p.appendChild(t).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+F+")"),t.querySelectorAll("[id~="+x+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]")}),lt(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=J.test(m=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&<(function(t){n.disconnectedMatch=m.call(t,"*"),m.call(t,"[s!='']:x"),y.push("!=",z)}),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),e=J.test(p.compareDocumentPosition),b=e||J.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},A=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t===d||t.ownerDocument===w&&b(w,t)?-1:e===d||e.ownerDocument===w&&b(w,e)?1:l?N(l,t)-N(l,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!i||!o)return t===d?-1:e===d?1:i?-1:o?1:l?N(l,t)-N(l,e):0;if(i===o)return ht(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?ht(a[r],u[r]):a[r]===w?-1:u[r]===w?1:0},d):d},ut.matches=function(t,e){return ut(t,null,null,e)},ut.matchesSelector=function(t,e){if((t.ownerDocument||t)!==d&&h(t),n.matchesSelector&&v&&!C[e+" "]&&(!y||!y.test(e))&&(!g||!g.test(e)))try{var r=m.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){C(e,!0)}return ut(e,d,null,[t]).length>0},ut.contains=function(t,e){return(t.ownerDocument||t)!==d&&h(t),b(t,e)},ut.attr=function(t,e){(t.ownerDocument||t)!==d&&h(t);var i=r.attrHandle[e.toLowerCase()],o=i&&T.call(r.attrHandle,e.toLowerCase())?i(t,e,!v):void 0;return void 0!==o?o:n.attributes||!v?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ut.escape=function(t){return(t+"").replace(rt,it)},ut.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ut.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,l=!n.sortStable&&t.slice(0),t.sort(A),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return l=null,t},i=ut.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=ut.selectors={cacheLength:50,createPseudo:ct,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ut.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ut.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return X.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&G.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=k[t+" "];return e||(e=new RegExp("(^|"+R+")"+t+"("+R+"|$)"))&&k(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=ut.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(V," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),u="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,s){var c,l,f,h,d,p,v=o!==a?"nextSibling":"previousSibling",g=e.parentNode,y=u&&e.nodeName.toLowerCase(),m=!s&&!u,b=!1;if(g){if(o){for(;v;){for(h=e;h=h[v];)if(u?h.nodeName.toLowerCase()===y:1===h.nodeType)return!1;p=v="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?g.firstChild:g.lastChild],a&&m){for(b=(d=(c=(l=(f=(h=g)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===_&&c[1])&&c[2],h=d&&g.childNodes[d];h=++d&&h&&h[v]||(b=d=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){l[t]=[_,d,b];break}}else if(m&&(b=d=(c=(l=(f=(h=e)[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===_&&c[1]),!1===b)for(;(h=++d&&h&&h[v]||(b=d=0)||p.pop())&&((u?h.nodeName.toLowerCase()!==y:1!==h.nodeType)||!++b||(m&&((l=(f=h[x]||(h[x]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[_,b]),h!==e)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||ut.error("unsupported pseudo: "+t);return i[x]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?ct(function(t,n){for(var r,o=i(t,e),a=o.length;a--;)t[r=N(t,o[a])]=!(n[r]=o[a])}):function(t){return i(t,0,n)}):i}},pseudos:{not:ct(function(t){var e=[],n=[],r=u(t.replace(U,"$1"));return r[x]?ct(function(t,e,n,i){for(var o,a=r(t,null,i,[]),u=t.length;u--;)(o=a[u])&&(t[u]=!(e[u]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:ct(function(t){return function(e){return ut(t,e).length>0}}),contains:ct(function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}}),lang:ct(function(t){return Y.test(t||"")||ut.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:vt(!1),disabled:vt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return $.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:gt(function(){return[0]}),last:gt(function(t,e){return[e-1]}),eq:gt(function(t,e,n){return[n<0?n+e:n]}),even:gt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:gt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:gt(function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t}),gt:gt(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=dt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=pt(e);function mt(){}function bt(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function xt(t,e,n){var r=e.dir,i=e.next,o=i||r,a=n&&"parentNode"===o,u=S++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||a)return t(e,n,i);return!1}:function(e,n,s){var c,l,f,h=[_,u];if(s){for(;e=e[r];)if((1===e.nodeType||a)&&t(e,n,s))return!0}else for(;e=e[r];)if(1===e.nodeType||a)if(l=(f=e[x]||(e[x]={}))[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((c=l[o])&&c[0]===_&&c[1]===u)return h[2]=c[2];if(l[o]=h,h[2]=t(e,n,s))return!0}return!1}}function wt(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function _t(t,e,n,r,i){for(var o,a=[],u=0,s=t.length,c=null!=e;u<s;u++)(o=t[u])&&(n&&!n(o,r,i)||(a.push(o),c&&e.push(u)));return a}function St(t,e,n,r,i,o){return r&&!r[x]&&(r=St(r)),i&&!i[x]&&(i=St(i,o)),ct(function(o,a,u,s){var c,l,f,h=[],d=[],p=a.length,v=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)ut(t,e[r],n);return n}(e||"*",u.nodeType?[u]:u,[]),g=!t||!o&&e?v:_t(v,h,t,u,s),y=n?i||(o?t:p||r)?[]:a:g;if(n&&n(g,y,u,s),r)for(c=_t(y,d),r(c,[],u,s),l=c.length;l--;)(f=c[l])&&(y[d[l]]=!(g[d[l]]=f));if(o){if(i||t){if(i){for(c=[],l=y.length;l--;)(f=y[l])&&c.push(g[l]=f);i(null,y=[],c,s)}for(l=y.length;l--;)(f=y[l])&&(c=i?N(o,f):h[l])>-1&&(o[c]=!(a[c]=f))}}else y=_t(y===a?y.splice(p,y.length):y),i?i(null,a,y,s):D.apply(a,y)})}function kt(t){for(var e,n,i,o=t.length,a=r.relative[t[0].type],u=a||r.relative[" "],s=a?1:0,l=xt(function(t){return t===e},u,!0),f=xt(function(t){return N(e,t)>-1},u,!0),h=[function(t,n,r){var i=!a&&(r||n!==c)||((e=n).nodeType?l(t,n,r):f(t,n,r));return e=null,i}];s<o;s++)if(n=r.relative[t[s].type])h=[xt(wt(h),n)];else{if((n=r.filter[t[s].type].apply(null,t[s].matches))[x]){for(i=++s;i<o&&!r.relative[t[i].type];i++);return St(s>1&&wt(h),s>1&&bt(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(U,"$1"),n,s<i&&kt(t.slice(s,i)),i<o&&kt(t=t.slice(i)),i<o&&bt(t))}h.push(n)}return wt(h)}return mt.prototype=r.filters=r.pseudos,r.setFilters=new mt,a=ut.tokenize=function(t,e){var n,i,o,a,u,s,c,l=E[t+" "];if(l)return e?0:l.slice(0);for(u=t,s=[],c=r.preFilter;u;){for(a in n&&!(i=H.exec(u))||(i&&(u=u.slice(i[0].length)||u),s.push(o=[])),n=!1,(i=W.exec(u))&&(n=i.shift(),o.push({value:n,type:i[0].replace(U," ")}),u=u.slice(n.length)),r.filter)!(i=X[a].exec(u))||c[a]&&!(i=c[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),u=u.slice(n.length));if(!n)break}return e?u.length:u?ut.error(t):E(t,s).slice(0)},u=ut.compile=function(t,e){var n,i=[],o=[],u=O[t+" "];if(!u){for(e||(e=a(t)),n=e.length;n--;)(u=kt(e[n]))[x]?i.push(u):o.push(u);(u=O(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,a,u,s,l){var f,p,g,y=0,m="0",b=o&&[],x=[],w=c,S=o||i&&r.find.TAG("*",l),k=_+=null==w?1:Math.random()||.1,E=S.length;for(l&&(c=a===d||a||l);m!==E&&null!=(f=S[m]);m++){if(i&&f){for(p=0,a||f.ownerDocument===d||(h(f),u=!v);g=t[p++];)if(g(f,a||d,u)){s.push(f);break}l&&(_=k)}n&&((f=!g&&f)&&y--,o&&b.push(f))}if(y+=m,n&&m!==y){for(p=0;g=e[p++];)g(b,x,a,u);if(o){if(y>0)for(;m--;)b[m]||x[m]||(x[m]=P.call(s));x=_t(x)}D.apply(s,x),l&&!o&&x.length>0&&y+e.length>1&&ut.uniqueSort(s)}return l&&(_=k,c=w),b};return n?ct(o):o}(o,i))).selector=t}return u},s=ut.select=function(t,e,n,i){var o,s,c,l,f,h="function"==typeof t&&t,d=!i&&a(t=h.selector||t);if(n=n||[],1===d.length){if((s=d[0]=d[0].slice(0)).length>2&&"ID"===(c=s[0]).type&&9===e.nodeType&&v&&r.relative[s[1].type]){if(!(e=(r.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;h&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=X.needsContext.test(t)?0:s.length;o--&&(c=s[o],!r.relative[l=c.type]);)if((f=r.find[l])&&(i=f(c.matches[0].replace(et,nt),tt.test(s[0].type)&&yt(e.parentNode)||e))){if(s.splice(o,1),!(t=i.length&&bt(s)))return D.apply(n,i),n;break}}return(h||u(t,d))(i,e,!v,n,!e||tt.test(t)&&yt(e.parentNode)||e),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!f,h(),n.sortDetached=lt(function(t){return 1&t.compareDocumentPosition(d.createElement("fieldset"))}),lt(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ft("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&<(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ft("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),lt(function(t){return null==t.getAttribute("disabled")})||ft(F,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),ut}(n);S.find=O,S.expr=O.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=O.uniqueSort,S.text=O.getText,S.isXMLDoc=O.isXML,S.contains=O.contains,S.escapeSelector=O.escape;var C=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&S(t).is(n))break;r.push(t)}return r},A=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},T=S.expr.match.needsContext;function M(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var P=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(t,e,n){return m(e)?S.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?S.grep(t,function(t){return t===e!==n}):"string"!=typeof e?S.grep(t,function(t){return f.call(e,t)>-1!==n}):S.filter(e,t,n)}S.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?S.find.matchesSelector(r,t)?[r]:[]:S.find.matches(t,S.grep(e,function(t){return 1===t.nodeType}))},S.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(S(t).filter(function(){for(e=0;e<r;e++)if(S.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)S.find(t,i[e],n);return r>1?S.uniqueSort(n):n},filter:function(t){return this.pushStack(j(this,t||[],!1))},not:function(t){return this.pushStack(j(this,t||[],!0))},is:function(t){return!!j(this,"string"==typeof t&&T.test(t)?S(t):t||[],!1).length}});var D,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||D,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:I.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof S?e[0]:e,S.merge(this,S.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),P.test(r[1])&&S.isPlainObject(e))for(r in e)m(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=a.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(S):S.makeArray(t,this)}).prototype=S.fn,D=S(a);var N=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function R(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}S.fn.extend({has:function(t){var e=S(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(S.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],a="string"!=typeof t&&S(t);if(!T.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?S.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?f.call(S(t),this[0]):f.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),S.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return C(t,"parentNode")},parentsUntil:function(t,e,n){return C(t,"parentNode",n)},next:function(t){return R(t,"nextSibling")},prev:function(t){return R(t,"previousSibling")},nextAll:function(t){return C(t,"nextSibling")},prevAll:function(t){return C(t,"previousSibling")},nextUntil:function(t,e,n){return C(t,"nextSibling",n)},prevUntil:function(t,e,n){return C(t,"previousSibling",n)},siblings:function(t){return A((t.parentNode||{}).firstChild,t)},children:function(t){return A(t.firstChild)},contents:function(t){return void 0!==t.contentDocument?t.contentDocument:(M(t,"template")&&(t=t.content||t),S.merge([],t.childNodes))}},function(t,e){S.fn[t]=function(n,r){var i=S.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=S.filter(r,i)),this.length>1&&(F[t]||S.uniqueSort(i),N.test(t)&&i.reverse()),this.pushStack(i)}});var L=/[^\x20\t\r\n\f]+/g;function B(t){return t}function z(t){throw t}function V(t,e,n,r){var i;try{t&&m(i=t.promise)?i.call(t).done(e).fail(n):t&&m(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}S.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return S.each(t.match(L)||[],function(t,n){e[n]=!0}),e}(t):S.extend({},t);var e,n,r,i,o=[],a=[],u=-1,s=function(){for(i=i||t.once,r=e=!0;a.length;u=-1)for(n=a.shift();++u<o.length;)!1===o[u].apply(n[0],n[1])&&t.stopOnFalse&&(u=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(u=o.length-1,a.push(n)),function e(n){S.each(n,function(n,r){m(r)?t.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==_(r)&&e(r)})}(arguments),n&&!e&&s()),this},remove:function(){return S.each(arguments,function(t,e){for(var n;(n=S.inArray(e,o,n))>-1;)o.splice(n,1),n<=u&&u--}),this},has:function(t){return t?S.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||s()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},S.extend({Deferred:function(t){var e=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return S.Deferred(function(n){S.each(e,function(e,r){var i=m(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&m(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function a(t,e,r,i){return function(){var u=this,s=arguments,c=function(){var n,c;if(!(t<o)){if((n=r.apply(u,s))===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"==typeof n||"function"==typeof n)&&n.then,m(c)?i?c.call(n,a(o,e,B,i),a(o,e,z,i)):(o++,c.call(n,a(o,e,B,i),a(o,e,z,i),a(o,e,B,e.notifyWith))):(r!==B&&(u=void 0,s=[n]),(i||e.resolveWith)(u,s))}},l=i?c:function(){try{c()}catch(n){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(n,l.stackTrace),t+1>=o&&(r!==z&&(u=void 0,s=[n]),e.rejectWith(u,s))}};t?l():(S.Deferred.getStackHook&&(l.stackTrace=S.Deferred.getStackHook()),n.setTimeout(l))}}return S.Deferred(function(n){e[0][3].add(a(0,n,m(i)?i:B,n.notifyWith)),e[1][3].add(a(0,n,m(t)?t:B)),e[2][3].add(a(0,n,m(r)?r:z))}).promise()},promise:function(t){return null!=t?S.extend(t,i):i}},o={};return S.each(e,function(t,n){var a=n[2],u=n[5];i[n[1]]=a.add,u&&a.add(function(){r=u},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?s.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(V(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||m(i[n]&&i[n].then)))return o.then();for(;n--;)V(i[n],a(n),o.reject);return o.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&U.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},S.readyException=function(t){n.setTimeout(function(){throw t})};var H=S.Deferred();function W(){a.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),S.ready()}S.fn.ready=function(t){return H.then(t).catch(function(t){S.readyException(t)}),this},S.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==t&&--S.readyWait>0||H.resolveWith(a,[S]))}}),S.ready.then=H.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(S.ready):(a.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var q=function(t,e,n,r,i,o,a){var u=0,s=t.length,c=null==n;if("object"===_(n))for(u in i=!0,n)q(t,e,u,n[u],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),c&&(a?(e.call(t,r),e=null):(c=e,e=function(t,e,n){return c.call(S(t),n)})),e))for(;u<s;u++)e(t[u],n,a?r:r.call(t[u],u,e(t[u],n)));return i?t:c?e.call(t):s?e(t[0],n):o},G=/^-ms-/,Y=/-([a-z])/g;function X(t,e){return e.toUpperCase()}function K(t){return t.replace(G,"ms-").replace(Y,X)}var $=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Z(){this.expando=S.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(t){var e=t[this.expando];return e||(e={},$(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[K(e)]=n;else for(r in e)i[K(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][K(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(K):(e=K(e))in r?[e]:e.match(L)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||S.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!S.isEmptyObject(e)}};var J=new Z,Q=new Z,tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,et=/[A-Z]/g;function nt(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(et,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:tt.test(t)?JSON.parse(t):t)}(n)}catch(t){}Q.set(t,e,n)}else n=void 0;return n}S.extend({hasData:function(t){return Q.hasData(t)||J.hasData(t)},data:function(t,e,n){return Q.access(t,e,n)},removeData:function(t,e){Q.remove(t,e)},_data:function(t,e,n){return J.access(t,e,n)},_removeData:function(t,e){J.remove(t,e)}}),S.fn.extend({data:function(t,e){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(i=Q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=K(r.slice(5)),nt(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Q.set(this,t)}):q(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=Q.get(o,t))?n:void 0!==(n=nt(o,t))?n:void 0;this.each(function(){Q.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Q.remove(this,t)})}}),S.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=J.get(t,e),n&&(!r||Array.isArray(n)?r=J.access(t,e,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=S.queue(t,e),r=n.length,i=n.shift(),o=S._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){S.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return J.get(t,n)||J.access(t,n,{empty:S.Callbacks("once memory").add(function(){J.remove(t,[e+"queue",n])})})}}),S.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?S.queue(this[0],t):void 0===e?this:this.each(function(){var n=S.queue(this,t,e);S._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&S.dequeue(this,t)})},dequeue:function(t){return this.each(function(){S.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=S.Deferred(),o=this,a=this.length,u=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=J.get(o[a],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(u));return u(),i.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,it=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),ot=["Top","Right","Bottom","Left"],at=a.documentElement,ut=function(t){return S.contains(t.ownerDocument,t)},st={composed:!0};at.getRootNode&&(ut=function(t){return S.contains(t.ownerDocument,t)||t.getRootNode(st)===t.ownerDocument});var ct=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&ut(t)&&"none"===S.css(t,"display")},lt=function(t,e,n,r){var i,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in i=n.apply(t,r||[]),e)t.style[o]=a[o];return i};function ft(t,e,n,r){var i,o,a=20,u=r?function(){return r.cur()}:function(){return S.css(t,e,"")},s=u(),c=n&&n[3]||(S.cssNumber[e]?"":"px"),l=t.nodeType&&(S.cssNumber[e]||"px"!==c&&+s)&&it.exec(S.css(t,e));if(l&&l[3]!==c){for(s/=2,c=c||l[3],l=+s||1;a--;)S.style(t,e,l+c),(1-o)*(1-(o=u()/s||.5))<=0&&(a=0),l/=o;l*=2,S.style(t,e,l+c),n=n||[]}return n&&(l=+l||+s||0,i=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=l,r.end=i)),i}var ht={};function dt(t){var e,n=t.ownerDocument,r=t.nodeName,i=ht[r];return i||(e=n.body.appendChild(n.createElement(r)),i=S.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),ht[r]=i,i)}function pt(t,e){for(var n,r,i=[],o=0,a=t.length;o<a;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ct(r)&&(i[o]=dt(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}S.fn.extend({show:function(){return pt(this,!0)},hide:function(){return pt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ct(this)?S(this).show():S(this).hide()})}});var vt=/^(?:checkbox|radio)$/i,gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,yt=/^$|^module$|\/(?:java|ecma)script/i,mt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function bt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&M(t,e)?S.merge([t],n):n}function xt(t,e){for(var n=0,r=t.length;n<r;n++)J.set(t[n],"globalEval",!e||J.get(e[n],"globalEval"))}mt.optgroup=mt.option,mt.tbody=mt.tfoot=mt.colgroup=mt.caption=mt.thead,mt.th=mt.td;var wt,_t,St=/<|&#?\w+;/;function kt(t,e,n,r,i){for(var o,a,u,s,c,l,f=e.createDocumentFragment(),h=[],d=0,p=t.length;d<p;d++)if((o=t[d])||0===o)if("object"===_(o))S.merge(h,o.nodeType?[o]:o);else if(St.test(o)){for(a=a||f.appendChild(e.createElement("div")),u=(gt.exec(o)||["",""])[1].toLowerCase(),s=mt[u]||mt._default,a.innerHTML=s[1]+S.htmlPrefilter(o)+s[2],l=s[0];l--;)a=a.lastChild;S.merge(h,a.childNodes),(a=f.firstChild).textContent=""}else h.push(e.createTextNode(o));for(f.textContent="",d=0;o=h[d++];)if(r&&S.inArray(o,r)>-1)i&&i.push(o);else if(c=ut(o),a=bt(f.appendChild(o),"script"),c&&xt(a),n)for(l=0;o=a[l++];)yt.test(o.type||"")&&n.push(o);return f}wt=a.createDocumentFragment().appendChild(a.createElement("div")),(_t=a.createElement("input")).setAttribute("type","radio"),_t.setAttribute("checked","checked"),_t.setAttribute("name","t"),wt.appendChild(_t),y.checkClone=wt.cloneNode(!0).cloneNode(!0).lastChild.checked,wt.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!wt.cloneNode(!0).lastChild.defaultValue;var Et=/^key/,Ot=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ct=/^([^.]*)(?:\.(.+)|)/;function At(){return!0}function Tt(){return!1}function Mt(t,e){return t===function(){try{return a.activeElement}catch(t){}}()==("focus"===e)}function Pt(t,e,n,r,i,o){var a,u;if("object"==typeof e){for(u in"string"!=typeof n&&(r=r||n,n=void 0),e)Pt(t,u,n,r,e[u],o);return t}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=Tt;else if(!i)return t;return 1===o&&(a=i,(i=function(t){return S().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),t.each(function(){S.event.add(this,e,i,r,n)})}function jt(t,e,n){n?(J.set(t,e,!1),S.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=J.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(S.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=s.call(arguments),J.set(this,e,o),r=n(this,e),this[e](),o!==(i=J.get(this,e))||r?J.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else o.length&&(J.set(this,e,{value:S.event.trigger(S.extend(o[0],S.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===J.get(t,e)&&S.event.add(t,e,At)}S.event={global:{},add:function(t,e,n,r,i){var o,a,u,s,c,l,f,h,d,p,v,g=J.get(t);if(g)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(at,i),n.guid||(n.guid=S.guid++),(s=g.events)||(s=g.events={}),(a=g.handle)||(a=g.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(L)||[""]).length;c--;)d=v=(u=Ct.exec(e[c])||[])[1],p=(u[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},l=S.extend({type:d,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:p.join(".")},o),(h=s[d])||((h=s[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,l),l.handler.guid||(l.handler.guid=n.guid)),i?h.splice(h.delegateCount++,0,l):h.push(l),S.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,a,u,s,c,l,f,h,d,p,v,g=J.hasData(t)&&J.get(t);if(g&&(s=g.events)){for(c=(e=(e||"").match(L)||[""]).length;c--;)if(d=v=(u=Ct.exec(e[c])||[])[1],p=(u[2]||"").split(".").sort(),d){for(f=S.event.special[d]||{},h=s[d=(r?f.delegateType:f.bindType)||d]||[],u=u[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)l=h[o],!i&&v!==l.origType||n&&n.guid!==l.guid||u&&!u.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,f.remove&&f.remove.call(t,l));a&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,p,g.handle)||S.removeEvent(t,d,g.handle),delete s[d])}else for(d in s)S.event.remove(t,d+e[c],n,r,!0);S.isEmptyObject(s)&&J.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,a,u=S.event.fix(t),s=new Array(arguments.length),c=(J.get(this,"events")||{})[u.type]||[],l=S.event.special[u.type]||{};for(s[0]=u,e=1;e<arguments.length;e++)s[e]=arguments[e];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=S.event.handlers.call(this,u,c),e=0;(i=a[e++])&&!u.isPropagationStopped();)for(u.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(t,e){var n,r,i,o,a,u=[],s=e.delegateCount,c=t.target;if(s&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(o=[],a={},n=0;n<s;n++)void 0===a[i=(r=e[n]).selector+" "]&&(a[i]=r.needsContext?S(i,this).index(c)>-1:S.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&u.push({elem:c,handlers:o})}return c=this,s<e.length&&u.push({elem:c,handlers:e.slice(s)}),u},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[S.expando]?t:new S.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return vt.test(e.type)&&e.click&&M(e,"input")&&jt(e,"click",At),!1},trigger:function(t){var e=this||t;return vt.test(e.type)&&e.click&&M(e,"input")&&jt(e,"click"),!0},_default:function(t){var e=t.target;return vt.test(e.type)&&e.click&&M(e,"input")&&J.get(e,"click")||M(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},S.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},S.Event=function(t,e){if(!(this instanceof S.Event))return new S.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?At:Tt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&S.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Tt,isPropagationStopped:Tt,isImmediatePropagationStopped:Tt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=At,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=At,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=At,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Et.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&Ot.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(t,e){S.event.special[t]={setup:function(){return jt(this,t,Mt),!1},trigger:function(){return jt(this,t),!0},delegateType:e}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){S.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||S.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}}),S.fn.extend({on:function(t,e,n,r){return Pt(this,t,e,n,r)},one:function(t,e,n,r){return Pt(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,S(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Tt),this.each(function(){S.event.remove(this,t,n,e)})}});var Dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,It=/<script|<style|<link/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ft=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Rt(t,e){return M(t,"table")&&M(11!==e.nodeType?e:e.firstChild,"tr")&&S(t).children("tbody")[0]||t}function Lt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Bt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function zt(t,e){var n,r,i,o,a,u,s,c;if(1===e.nodeType){if(J.hasData(t)&&(o=J.access(t),a=J.set(e,o),c=o.events))for(i in delete a.handle,a.events={},c)for(n=0,r=c[i].length;n<r;n++)S.event.add(e,i,c[i][n]);Q.hasData(t)&&(u=Q.access(t),s=S.extend({},u),Q.set(e,s))}}function Vt(t,e,n,r){e=c.apply([],e);var i,o,a,u,s,l,f=0,h=t.length,d=h-1,p=e[0],v=m(p);if(v||h>1&&"string"==typeof p&&!y.checkClone&&Nt.test(p))return t.each(function(i){var o=t.eq(i);v&&(e[0]=p.call(this,i,o.html())),Vt(o,e,n,r)});if(h&&(o=(i=kt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(a=S.map(bt(i,"script"),Lt)).length;f<h;f++)s=i,f!==d&&(s=S.clone(s,!0,!0),u&&S.merge(a,bt(s,"script"))),n.call(t[f],s,f);if(u)for(l=a[a.length-1].ownerDocument,S.map(a,Bt),f=0;f<u;f++)s=a[f],yt.test(s.type||"")&&!J.access(s,"globalEval")&&S.contains(l,s)&&(s.src&&"module"!==(s.type||"").toLowerCase()?S._evalUrl&&!s.noModule&&S._evalUrl(s.src,{nonce:s.nonce||s.getAttribute("nonce")}):w(s.textContent.replace(Ft,""),s,l))}return t}function Ut(t,e,n){for(var r,i=e?S.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(bt(r)),r.parentNode&&(n&&ut(r)&&xt(bt(r,"script")),r.parentNode.removeChild(r));return t}S.extend({htmlPrefilter:function(t){return t.replace(Dt,"<$1></$2>")},clone:function(t,e,n){var r,i,o,a,u,s,c,l=t.cloneNode(!0),f=ut(t);if(!(y.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||S.isXMLDoc(t)))for(a=bt(l),r=0,i=(o=bt(t)).length;r<i;r++)u=o[r],s=a[r],c=void 0,"input"===(c=s.nodeName.toLowerCase())&&vt.test(u.type)?s.checked=u.checked:"input"!==c&&"textarea"!==c||(s.defaultValue=u.defaultValue);if(e)if(n)for(o=o||bt(t),a=a||bt(l),r=0,i=o.length;r<i;r++)zt(o[r],a[r]);else zt(t,l);return(a=bt(l,"script")).length>0&&xt(a,!f&&bt(t,"script")),l},cleanData:function(t){for(var e,n,r,i=S.event.special,o=0;void 0!==(n=t[o]);o++)if($(n)){if(e=n[J.expando]){if(e.events)for(r in e.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,e.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(t){return Ut(this,t,!0)},remove:function(t){return Ut(this,t)},text:function(t){return q(this,function(t){return void 0===t?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Vt(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Rt(this,t).appendChild(t)})},prepend:function(){return Vt(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Rt(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Vt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Vt(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(S.cleanData(bt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return S.clone(this,t,e)})},html:function(t){return q(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!It.test(t)&&!mt[(gt.exec(t)||["",""])[1].toLowerCase()]){t=S.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(S.cleanData(bt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Vt(this,arguments,function(e){var n=this.parentNode;S.inArray(this,t)<0&&(S.cleanData(bt(this)),n&&n.replaceChild(e,this))},t)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){S.fn[t]=function(t){for(var n,r=[],i=S(t),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),S(i[a])[e](n),l.apply(r,n.get());return this.pushStack(r)}});var Ht=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),Wt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},qt=new RegExp(ot.join("|"),"i");function Gt(t,e,n){var r,i,o,a,u=t.style;return(n=n||Wt(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||ut(t)||(a=S.style(t,e)),!y.pixelBoxStyles()&&Ht.test(a)&&qt.test(e)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=r,u.minWidth=i,u.maxWidth=o)),void 0!==a?a+"":a}function Yt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",at.appendChild(c).appendChild(l);var t=n.getComputedStyle(l);r="1%"!==t.top,s=12===e(t.marginLeft),l.style.right="60%",u=36===e(t.right),i=36===e(t.width),l.style.position="absolute",o=12===e(l.offsetWidth/3),at.removeChild(c),l=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,u,s,c=a.createElement("div"),l=a.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),u},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),o}}))}();var Xt=["Webkit","Moz","ms"],Kt=a.createElement("div").style,$t={};function Zt(t){var e=S.cssProps[t]||$t[t];return e||(t in Kt?t:$t[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Xt.length;n--;)if((t=Xt[n]+e)in Kt)return t}(t)||t)}var Jt=/^(none|table(?!-c[ea]).+)/,Qt=/^--/,te={position:"absolute",visibility:"hidden",display:"block"},ee={letterSpacing:"0",fontWeight:"400"};function ne(t,e,n){var r=it.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function re(t,e,n,r,i,o){var a="width"===e?1:0,u=0,s=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(s+=S.css(t,n+ot[a],!0,i)),r?("content"===n&&(s-=S.css(t,"padding"+ot[a],!0,i)),"margin"!==n&&(s-=S.css(t,"border"+ot[a]+"Width",!0,i))):(s+=S.css(t,"padding"+ot[a],!0,i),"padding"!==n?s+=S.css(t,"border"+ot[a]+"Width",!0,i):u+=S.css(t,"border"+ot[a]+"Width",!0,i));return!r&&o>=0&&(s+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-s-u-.5))||0),s}function ie(t,e,n){var r=Wt(t),i=(!y.boxSizingReliable()||n)&&"border-box"===S.css(t,"boxSizing",!1,r),o=i,a=Gt(t,e,r),u="offset"+e[0].toUpperCase()+e.slice(1);if(Ht.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||"auto"===a||!parseFloat(a)&&"inline"===S.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===S.css(t,"boxSizing",!1,r),(o=u in t)&&(a=t[u])),(a=parseFloat(a)||0)+re(t,e,n||(i?"border":"content"),o,r,a)+"px"}function oe(t,e,n,r,i){return new oe.prototype.init(t,e,n,r,i)}S.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Gt(t,"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(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,a,u=K(e),s=Qt.test(e),c=t.style;if(s||(e=Zt(u)),a=S.cssHooks[e]||S.cssHooks[u],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(t,!1,r))?i:c[e];"string"===(o=typeof n)&&(i=it.exec(n))&&i[1]&&(n=ft(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||s||(n+=i&&i[3]||(S.cssNumber[u]?"":"px")),y.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,r))||(s?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,r){var i,o,a,u=K(e);return Qt.test(e)||(e=Zt(u)),(a=S.cssHooks[e]||S.cssHooks[u])&&"get"in a&&(i=a.get(t,!0,n)),void 0===i&&(i=Gt(t,e,r)),"normal"===i&&e in ee&&(i=ee[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(t,e){S.cssHooks[e]={get:function(t,n,r){if(n)return!Jt.test(S.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ie(t,e,r):lt(t,te,function(){return ie(t,e,r)})},set:function(t,n,r){var i,o=Wt(t),a=!y.scrollboxSize()&&"absolute"===o.position,u=(a||r)&&"border-box"===S.css(t,"boxSizing",!1,o),s=r?re(t,e,r,u,o):0;return u&&a&&(s-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-re(t,e,"border",!1,o)-.5)),s&&(i=it.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=S.css(t,e)),ne(0,n,s)}}}),S.cssHooks.marginLeft=Yt(y.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Gt(t,"marginLeft"))||t.getBoundingClientRect().left-lt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(t,e){S.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+ot[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(S.cssHooks[t+e].set=ne)}),S.fn.extend({css:function(t,e){return q(this,function(t,e,n){var r,i,o={},a=0;if(Array.isArray(e)){for(r=Wt(t),i=e.length;a<i;a++)o[e[a]]=S.css(t,e[a],!1,r);return o}return void 0!==n?S.style(t,e,n):S.css(t,e)},t,e,arguments.length>1)}}),S.Tween=oe,oe.prototype={constructor:oe,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||S.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var t=oe.propHooks[this.prop];return t&&t.get?t.get(this):oe.propHooks._default.get(this)},run:function(t){var e,n=oe.propHooks[this.prop];return this.options.duration?this.pos=e=S.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):oe.propHooks._default.set(this),this}},oe.prototype.init.prototype=oe.prototype,oe.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=S.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){S.fx.step[t.prop]?S.fx.step[t.prop](t):1!==t.elem.nodeType||!S.cssHooks[t.prop]&&null==t.elem.style[Zt(t.prop)]?t.elem[t.prop]=t.now:S.style(t.elem,t.prop,t.now+t.unit)}}},oe.propHooks.scrollTop=oe.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},S.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},S.fx=oe.prototype.init,S.fx.step={};var ae,ue,se=/^(?:toggle|show|hide)$/,ce=/queueHooks$/;function le(){ue&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(le):n.setTimeout(le,S.fx.interval),S.fx.tick())}function fe(){return n.setTimeout(function(){ae=void 0}),ae=Date.now()}function he(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=ot[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function de(t,e,n){for(var r,i=(pe.tweeners[e]||[]).concat(pe.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,e,t))return r}function pe(t,e,n){var r,i,o=0,a=pe.prefilters.length,u=S.Deferred().always(function(){delete s.elem}),s=function(){if(i)return!1;for(var e=ae||fe(),n=Math.max(0,c.startTime+c.duration-e),r=1-(n/c.duration||0),o=0,a=c.tweens.length;o<a;o++)c.tweens[o].run(r);return u.notifyWith(t,[c,r,n]),r<1&&a?n:(a||u.notifyWith(t,[c,1,0]),u.resolveWith(t,[c]),!1)},c=u.promise({elem:t,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:e,originalOptions:n,startTime:ae||fe(),duration:n.duration,tweens:[],createTween:function(e,n){var r=S.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(r),r},stop:function(e){var n=0,r=e?c.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)c.tweens[n].run(1);return e?(u.notifyWith(t,[c,1,0]),u.resolveWith(t,[c,e])):u.rejectWith(t,[c,e]),this}}),l=c.props;for(!function(t,e){var n,r,i,o,a;for(n in t)if(i=e[r=K(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(l,c.opts.specialEasing);o<a;o++)if(r=pe.prefilters[o].call(c,t,l,c.opts))return m(r.stop)&&(S._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return S.map(l,de,c),m(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),S.fx.timer(S.extend(s,{elem:t,anim:c,queue:c.opts.queue})),c}S.Animation=S.extend(pe,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ft(n.elem,t,it.exec(e),n),n}]},tweener:function(t,e){m(t)?(e=t,t=["*"]):t=t.match(L);for(var n,r=0,i=t.length;r<i;r++)n=t[r],pe.tweeners[n]=pe.tweeners[n]||[],pe.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,a,u,s,c,l,f="width"in e||"height"in e,h=this,d={},p=t.style,v=t.nodeType&&ct(t),g=J.get(t,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,S.queue(t,"fx").length||a.empty.fire()})})),e)if(i=e[r],se.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}d[r]=g&&g[r]||S.style(t,r)}if((s=!S.isEmptyObject(e))||!S.isEmptyObject(d))for(r in f&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=g&&g.display)&&(c=J.get(t,"display")),"none"===(l=S.css(t,"display"))&&(c?l=c:(pt([t],!0),c=t.style.display||c,l=S.css(t,"display"),pt([t]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===S.css(t,"float")&&(s||(h.done(function(){p.display=c}),null==c&&(l=p.display,c="none"===l?"":l)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),s=!1,d)s||(g?"hidden"in g&&(v=g.hidden):g=J.access(t,"fxshow",{display:c}),o&&(g.hidden=!v),v&&pt([t],!0),h.done(function(){for(r in v||pt([t]),J.remove(t,"fxshow"),d)S.style(t,r,d[r])})),s=de(v?g[r]:0,r,h),r in g||(g[r]=s.start,v&&(s.end=s.start,s.start=0))}],prefilter:function(t,e){e?pe.prefilters.unshift(t):pe.prefilters.push(t)}}),S.speed=function(t,e,n){var r=t&&"object"==typeof t?S.extend({},t):{complete:n||!n&&e||m(t)&&t,duration:t,easing:n&&e||e&&!m(e)&&e};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(t,e,n,r){return this.filter(ct).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=pe(this,S.extend({},t),o);(i||J.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=S.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ce.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||S.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=J.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=S.timers,a=r?r.length:0;for(n.finish=!0,S.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),S.each(["toggle","show","hide"],function(t,e){var n=S.fn[e];S.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(he(e,!0),t,r,i)}}),S.each({slideDown:he("show"),slideUp:he("hide"),slideToggle:he("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){S.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),S.timers=[],S.fx.tick=function(){var t,e=0,n=S.timers;for(ae=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||S.fx.stop(),ae=void 0},S.fx.timer=function(t){S.timers.push(t),S.fx.start()},S.fx.interval=13,S.fx.start=function(){ue||(ue=!0,le())},S.fx.stop=function(){ue=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(t,e){return t=S.fx&&S.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=a.createElement("input"),e=a.createElement("select").appendChild(a.createElement("option"));t.type="checkbox",y.checkOn=""!==t.value,y.optSelected=e.selected,(t=a.createElement("input")).value="t",t.type="radio",y.radioValue="t"===t.value}();var ve,ge=S.expr.attrHandle;S.fn.extend({attr:function(t,e){return q(this,S.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){S.removeAttr(this,t)})}}),S.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?S.prop(t,e,n):(1===o&&S.isXMLDoc(t)||(i=S.attrHooks[e.toLowerCase()]||(S.expr.match.bool.test(e)?ve:void 0)),void 0!==n?null===n?void S.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=S.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!y.radioValue&&"radio"===e&&M(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(L);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),ve={set:function(t,e,n){return!1===e?S.removeAttr(t,n):t.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(t,e){var n=ge[e]||S.find.attr;ge[e]=function(t,e,r){var i,o,a=e.toLowerCase();return r||(o=ge[a],ge[a]=i,i=null!=n(t,e,r)?a:null,ge[a]=o),i}});var ye=/^(?:input|select|textarea|button)$/i,me=/^(?:a|area)$/i;function be(t){return(t.match(L)||[]).join(" ")}function xe(t){return t.getAttribute&&t.getAttribute("class")||""}function we(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(L)||[]}S.fn.extend({prop:function(t,e){return q(this,S.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[S.propFix[t]||t]})}}),S.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(t)||(e=S.propFix[e]||e,i=S.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=S.find.attr(t,"tabindex");return e?parseInt(e,10):ye.test(t.nodeName)||me.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(S.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a,u,s=0;if(m(t))return this.each(function(e){S(this).addClass(t.call(this,e,xe(this)))});if((e=we(t)).length)for(;n=this[s++];)if(i=xe(n),r=1===n.nodeType&&" "+be(i)+" "){for(a=0;o=e[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(u=be(r))&&n.setAttribute("class",u)}return this},removeClass:function(t){var e,n,r,i,o,a,u,s=0;if(m(t))return this.each(function(e){S(this).removeClass(t.call(this,e,xe(this)))});if(!arguments.length)return this.attr("class","");if((e=we(t)).length)for(;n=this[s++];)if(i=xe(n),r=1===n.nodeType&&" "+be(i)+" "){for(a=0;o=e[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(u=be(r))&&n.setAttribute("class",u)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):m(t)?this.each(function(n){S(this).toggleClass(t.call(this,n,xe(this),e),e)}):this.each(function(){var e,i,o,a;if(r)for(i=0,o=S(this),a=we(t);e=a[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=xe(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+be(xe(n))+" ").indexOf(e)>-1)return!0;return!1}});var _e=/\r/g;S.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=m(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,S(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=S.map(i,function(t){return null==t?"":t+""})),(e=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=S.valHooks[i.type]||S.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(_e,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(t){var e=S.find.attr(t,"value");return null!=e?e:be(S.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,a="select-one"===t.type,u=a?null:[],s=a?o+1:i.length;for(r=o<0?s:a?o:0;r<s;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!M(n.parentNode,"optgroup"))){if(e=S(n).val(),a)return e;u.push(e)}return u},set:function(t,e){for(var n,r,i=t.options,o=S.makeArray(e),a=i.length;a--;)((r=i[a]).selected=S.inArray(S.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=S.inArray(S(t).val(),e)>-1}},y.checkOn||(S.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),y.focusin="onfocusin"in n;var Se=/^(?:focusinfocus|focusoutblur)$/,ke=function(t){t.stopPropagation()};S.extend(S.event,{trigger:function(t,e,r,i){var o,u,s,c,l,f,h,d,v=[r||a],g=p.call(t,"type")?t.type:t,y=p.call(t,"namespace")?t.namespace.split("."):[];if(u=d=s=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!Se.test(g+S.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),l=g.indexOf(":")<0&&"on"+g,(t=t[S.expando]?t:new S.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:S.makeArray(e,[t]),h=S.event.special[g]||{},i||!h.trigger||!1!==h.trigger.apply(r,e))){if(!i&&!h.noBubble&&!b(r)){for(c=h.delegateType||g,Se.test(c+g)||(u=u.parentNode);u;u=u.parentNode)v.push(u),s=u;s===(r.ownerDocument||a)&&v.push(s.defaultView||s.parentWindow||n)}for(o=0;(u=v[o++])&&!t.isPropagationStopped();)d=u,t.type=o>1?c:h.bindType||g,(f=(J.get(u,"events")||{})[t.type]&&J.get(u,"handle"))&&f.apply(u,e),(f=l&&u[l])&&f.apply&&$(u)&&(t.result=f.apply(u,e),!1===t.result&&t.preventDefault());return t.type=g,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),e)||!$(r)||l&&m(r[g])&&!b(r)&&((s=r[l])&&(r[l]=null),S.event.triggered=g,t.isPropagationStopped()&&d.addEventListener(g,ke),r[g](),t.isPropagationStopped()&&d.removeEventListener(g,ke),S.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(t,e,n){var r=S.extend(new S.Event,n,{type:t,isSimulated:!0});S.event.trigger(r,null,e)}}),S.fn.extend({trigger:function(t,e){return this.each(function(){S.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return S.event.trigger(t,e,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){S.event.simulate(e,t.target,S.event.fix(t))};S.event.special[e]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,e);i||r.addEventListener(t,n,!0),J.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,e)-1;i?J.access(r,e,i):(r.removeEventListener(t,n,!0),J.remove(r,e))}}});var Ee=n.location,Oe=Date.now(),Ce=/\?/;S.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+t),e};var Ae=/\[\]$/,Te=/\r?\n/g,Me=/^(?:submit|button|image|reset|file)$/i,Pe=/^(?:input|select|textarea|keygen)/i;function je(t,e,n,r){var i;if(Array.isArray(e))S.each(e,function(e,i){n||Ae.test(t)?r(t,i):je(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==_(e))r(t,e);else for(i in e)je(t+"["+i+"]",e[i],n,r)}S.param=function(t,e){var n,r=[],i=function(t,e){var n=m(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!S.isPlainObject(t))S.each(t,function(){i(this.name,this.value)});else for(n in t)je(n,t[n],e,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=S.prop(this,"elements");return t?S.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!S(this).is(":disabled")&&Pe.test(this.nodeName)&&!Me.test(t)&&(this.checked||!vt.test(t))}).map(function(t,e){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(t){return{name:e.name,value:t.replace(Te,"\r\n")}}):{name:e.name,value:n.replace(Te,"\r\n")}}).get()}});var De=/%20/g,Ie=/#.*$/,Ne=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:GET|HEAD)$/,Le=/^\/\//,Be={},ze={},Ve="*/".concat("*"),Ue=a.createElement("a");function He(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(L)||[];if(m(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function We(t,e,n,r){var i={},o=t===ze;function a(u){var s;return i[u]=!0,S.each(t[u]||[],function(t,u){var c=u(e,n,r);return"string"!=typeof c||o||i[c]?o?!(s=c):void 0:(e.dataTypes.unshift(c),a(c),!1)}),s}return a(e.dataTypes[0])||!i["*"]&&a("*")}function qe(t,e){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&S.extend(!0,t,r),t}Ue.href=Ee.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ee.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ee.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ve,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":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,S.ajaxSettings),e):qe(S.ajaxSettings,t)},ajaxPrefilter:He(Be),ajaxTransport:He(ze),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,u,s,c,l,f,h,d,p=S.ajaxSetup({},e),v=p.context||p,g=p.context&&(v.nodeType||v.jquery)?S(v):S.event,y=S.Deferred(),m=S.Callbacks("once memory"),b=p.statusCode||{},x={},w={},_="canceled",k={readyState:0,getResponseHeader:function(t){var e;if(l){if(!u)for(u={};e=Fe.exec(o);)u[e[1].toLowerCase()+" "]=(u[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=u[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,x[t]=e),this},overrideMimeType:function(t){return null==l&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)k.always(t[k.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||_;return r&&r.abort(e),E(0,e),this}};if(y.promise(k),p.url=((t||p.url||Ee.href)+"").replace(Le,Ee.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(L)||[""],null==p.crossDomain){c=a.createElement("a");try{c.href=p.url,c.href=c.href,p.crossDomain=Ue.protocol+"//"+Ue.host!=c.protocol+"//"+c.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),We(Be,p,e,k),l)return k;for(h in(f=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Re.test(p.type),i=p.url.replace(Ie,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(De,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Ce.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Ne,"$1"),d=(Ce.test(i)?"&":"?")+"_="+Oe+++d),p.url=i+d),p.ifModified&&(S.lastModified[i]&&k.setRequestHeader("If-Modified-Since",S.lastModified[i]),S.etag[i]&&k.setRequestHeader("If-None-Match",S.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&k.setRequestHeader("Content-Type",p.contentType),k.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ve+"; q=0.01":""):p.accepts["*"]),p.headers)k.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(v,k,p)||l))return k.abort();if(_="abort",m.add(p.complete),k.done(p.success),k.fail(p.error),r=We(ze,p,e,k)){if(k.readyState=1,f&&g.trigger("ajaxSend",[k,p]),l)return k;p.async&&p.timeout>0&&(s=n.setTimeout(function(){k.abort("timeout")},p.timeout));try{l=!1,r.send(x,E)}catch(t){if(l)throw t;E(-1,t)}}else E(-1,"No Transport");function E(t,e,a,u){var c,h,d,x,w,_=e;l||(l=!0,s&&n.clearTimeout(s),r=void 0,o=u||"",k.readyState=t>0?4:0,c=t>=200&&t<300||304===t,a&&(x=function(t,e,n){for(var r,i,o,a,u=t.contents,s=t.dataTypes;"*"===s[0];)s.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in u)if(u[i]&&u[i].test(r)){s.unshift(i);break}if(s[0]in n)o=s[0];else{for(i in n){if(!s[0]||t.converters[i+" "+s[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==s[0]&&s.unshift(o),n[o]}(p,k,a)),x=function(t,e,n,r){var i,o,a,u,s,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!s&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),s=o,o=l.shift())if("*"===o)o=s;else if("*"!==s&&s!==o){if(!(a=c[s+" "+o]||c["* "+o]))for(i in c)if((u=i.split(" "))[1]===o&&(a=c[s+" "+u[0]]||c["* "+u[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=u[0],l.unshift(u[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+s+" to "+o}}}return{state:"success",data:e}}(p,x,k,c),c?(p.ifModified&&((w=k.getResponseHeader("Last-Modified"))&&(S.lastModified[i]=w),(w=k.getResponseHeader("etag"))&&(S.etag[i]=w)),204===t||"HEAD"===p.type?_="nocontent":304===t?_="notmodified":(_=x.state,h=x.data,c=!(d=x.error))):(d=_,!t&&_||(_="error",t<0&&(t=0))),k.status=t,k.statusText=(e||_)+"",c?y.resolveWith(v,[h,_,k]):y.rejectWith(v,[k,_,d]),k.statusCode(b),b=void 0,f&&g.trigger(c?"ajaxSuccess":"ajaxError",[k,p,c?h:d]),m.fireWith(v,[k,_]),f&&(g.trigger("ajaxComplete",[k,p]),--S.active||S.event.trigger("ajaxStop")))}return k},getJSON:function(t,e,n){return S.get(t,e,n,"json")},getScript:function(t,e){return S.get(t,void 0,e,"script")}}),S.each(["get","post"],function(t,e){S[e]=function(t,n,r,i){return m(n)&&(i=i||r,r=n,n=void 0),S.ajax(S.extend({url:t,type:e,dataType:i,data:n,success:r},S.isPlainObject(t)&&t))}}),S._evalUrl=function(t,e){return S.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){S.globalEval(t,e)}})},S.fn.extend({wrapAll:function(t){var e;return this[0]&&(m(t)&&(t=t.call(this[0])),e=S(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return m(t)?this.each(function(e){S(this).wrapInner(t.call(this,e))}):this.each(function(){var e=S(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=m(t);return this.each(function(n){S(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(t){return!S.expr.pseudos.visible(t)},S.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Ge={0:200,1223:204},Ye=S.ajaxSettings.xhr();y.cors=!!Ye&&"withCredentials"in Ye,y.ajax=Ye=!!Ye,S.ajaxTransport(function(t){var e,r;if(y.cors||Ye&&!t.crossDomain)return{send:function(i,o){var a,u=t.xhr();if(u.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)u[a]=t.xhrFields[a];for(a in t.mimeType&&u.overrideMimeType&&u.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)u.setRequestHeader(a,i[a]);e=function(t){return function(){e&&(e=r=u.onload=u.onerror=u.onabort=u.ontimeout=u.onreadystatechange=null,"abort"===t?u.abort():"error"===t?"number"!=typeof u.status?o(0,"error"):o(u.status,u.statusText):o(Ge[u.status]||u.status,u.statusText,"text"!==(u.responseType||"text")||"string"!=typeof u.responseText?{binary:u.response}:{text:u.responseText},u.getAllResponseHeaders()))}},u.onload=e(),r=u.onerror=u.ontimeout=e("error"),void 0!==u.onabort?u.onabort=r:u.onreadystatechange=function(){4===u.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{u.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),S.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return S.globalEval(t),t}}}),S.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),S.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=S("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),a.head.appendChild(e[0])},abort:function(){n&&n()}}});var Xe,Ke=[],$e=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ke.pop()||S.expando+"_"+Oe++;return this[t]=!0,t}}),S.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,a,u=!1!==t.jsonp&&($e.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&$e.test(t.data)&&"data");if(u||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace($e,"$1"+i):!1!==t.jsonp&&(t.url+=(Ce.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||S.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?S(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ke.push(i)),a&&m(o)&&o(a[0]),a=o=void 0}),"script"}),y.createHTMLDocument=((Xe=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xe.childNodes.length),S.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(y.createHTMLDocument?((r=(e=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,e.head.appendChild(r)):e=a),o=!n&&[],(i=P.exec(t))?[e.createElement(i[1])]:(i=kt([t],e,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(t,e,n){var r,i,o,a=this,u=t.indexOf(" ");return u>-1&&(r=be(t.slice(u)),t=t.slice(0,u)),m(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),a.length>0&&S.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(r?S("<div>").append(S.parseHTML(t)).find(r):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){S.fn[e]=function(t){return this.on(e,t)}}),S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(t,e,n){var r,i,o,a,u,s,c=S.css(t,"position"),l=S(t),f={};"static"===c&&(t.style.position="relative"),u=l.offset(),o=S.css(t,"top"),s=S.css(t,"left"),("absolute"===c||"fixed"===c)&&(o+s).indexOf("auto")>-1?(a=(r=l.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(s)||0),m(e)&&(e=e.call(t,n,S.extend({},u))),null!=e.top&&(f.top=e.top-u.top+a),null!=e.left&&(f.left=e.left-u.left+i),"using"in e?e.using.call(t,f):l.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===S.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=S(t).offset()).top+=S.css(t,"borderTopWidth",!0),i.left+=S.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-S.css(r,"marginTop",!0),left:e.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===S.css(t,"position");)t=t.offsetParent;return t||at})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;S.fn[t]=function(r){return q(this,function(t,r,i){var o;if(b(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),S.each(["top","left"],function(t,e){S.cssHooks[e]=Yt(y.pixelPosition,function(t,n){if(n)return n=Gt(t,e),Ht.test(n)?S(t).position()[e]+"px":n})}),S.each({Height:"height",Width:"width"},function(t,e){S.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){S.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),u=n||(!0===i||!0===o?"margin":"border");return q(this,function(e,n,i){var o;return b(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?S.css(e,n,u):S.style(e,n,i,u)},e,a?i:void 0,a)}})}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){S.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),S.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),S.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),S.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),m(t))return r=s.call(arguments,2),(i=function(){return t.apply(e||this,r.concat(s.call(arguments)))}).guid=t.guid=t.guid||S.guid++,i},S.holdReady=function(t){t?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=M,S.isFunction=m,S.isWindow=b,S.camelCase=K,S.type=_,S.now=Date.now,S.isNumeric=function(t){var e=S.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},void 0===(r=function(){return S}.apply(e,[]))||(t.exports=r);var Ze=n.jQuery,Je=n.$;return S.noConflict=function(t){return n.$===S&&(n.$=Je),t&&n.jQuery===S&&(n.jQuery=Ze),S},i||(n.jQuery=n.$=S),S})},EWmC:function(t,e,n){var r=n("LZWt");t.exports=Array.isArray||function(t){return"Array"==r(t)}},EemH:function(t,e,n){var r=n("UqcF"),i=n("RjD/"),o=n("aCFj"),a=n("apmT"),u=n("aagx"),s=n("xpql"),c=Object.getOwnPropertyDescriptor;e.f=n("nh4g")?c:function(t,e){if(t=o(t),e=a(e,!0),s)try{return c(t,e)}catch(t){}if(u(t,e))return i(!r.f.call(t,e),t[e])}},Efrf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SwatchesGroup=void 0;var r=u(n("q1tI")),i=u(n("/FUP")),o=u(n("3WF5")),a=u(n("BmQL"));function u(t){return t&&t.__esModule?t:{default:t}}var s=e.SwatchesGroup=function(t){var e=t.onClick,n=t.onSwatchHover,u=t.group,s=t.active,c=(0,i.default)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return r.default.createElement("div",{style:c.group},(0,o.default)(u,function(t,i){return r.default.createElement(a.default,{key:t,color:t,active:t.toLowerCase()===s,first:0===i,last:i===u.length-1,onClick:e,onSwatchHover:n})}))};e.default=s},EiQ3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.clientWidth,n=getComputedStyle(t),r=n.paddingLeft,i=n.paddingRight;return e-parseFloat(r)-parseFloat(i)}},Em2t:function(t,e,n){var r=n("bahg"),i=n("quyA"),o=n("0JQy");t.exports=function(t){return i(t)?o(t):r(t)}},"En8+":function(t,e,n){"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(e,"a",function(){return i});var i=r()},EpBk:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},"Ew+T":function(t,e,n){var r=n("XKFU"),i=n("GZEu");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},EwQA:function(t,e,n){var r=n("zZ0H");t.exports=function(t){return"function"==typeof t?t:r}},ExA7:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},"F+2o":function(t,e,n){t.exports={default:n("2Nb0"),__esModule:!0}},"F/XL":function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("nkY7"),i=n("IUTb"),o=n("G5J1"),a=n("PU8L");function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(Object(r.a)(n)?t.pop():n=void 0,t.length){case 0:return Object(o.b)(n);case 1:return n?Object(i.a)(t,n):Object(a.a)(t[0]);default:return Object(i.a)(t,n)}}},F39V:function(t,e,n){var r=n("NtLt");t.exports=function(t){return r(t).replace(/\s(\w)/g,function(t,e){return e.toUpperCase()})}},FDph:function(t,e,n){n("Z2Ku"),t.exports=n("g3g5").Array.includes},FEjr:function(t,e,n){"use strict";n("OGtf")("strike",function(t){return function(){return t(this,"strike","","")}})},FFOo:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("mrSG"),i=n("2Bdj"),o=n("6ahw"),a=n("pugT"),u=n("L/V9"),s=n("iLxQ"),c=n("DKTb"),l=function(t){function e(n,r,i){var a=t.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=o.a;break;case 1:if(!n){a.destination=o.a;break}if("object"==typeof n){n instanceof e?(a.syncErrorThrowable=n.syncErrorThrowable,a.destination=n,n.add(a)):(a.syncErrorThrowable=!0,a.destination=new f(a,n));break}default:a.syncErrorThrowable=!0,a.destination=new f(a,n,r,i)}return a}return r.__extends(e,t),e.prototype[u.a]=function(){return this},e.create=function(t,n,r){var i=new e(t,n,r);return i.syncErrorThrowable=!1,i},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},e}(a.a),f=function(t){function e(e,n,r,a){var u,s=t.call(this)||this;s._parentSubscriber=e;var c=s;return Object(i.a)(n)?u=n:n&&(u=n.next,r=n.error,a=n.complete,n!==o.a&&(c=Object.create(n),Object(i.a)(c.unsubscribe)&&s.add(c.unsubscribe.bind(c)),c.unsubscribe=s.unsubscribe.bind(s))),s._context=c,s._next=u,s._error=r,s._complete=a,s}return r.__extends(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=s.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;Object(c.a)(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};s.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw t;Object(c.a)(t)}},e.prototype.__tryOrSetError=function(t,e,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(e){return s.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=e,t.syncErrorThrown=!0,!0):(Object(c.a)(e),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(l)},FGiv:function(t,e){var n=1e3,r=60*n,i=60*r,o=24*i,a=7*o,u=365.25*o;function s(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}t.exports=function(t,e){e=e||{};var c=typeof t;if("string"===c&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!e)return;var s=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*u;case"weeks":case"week":case"w":return s*a;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(t);if("number"===c&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=o)return s(t,e,o,"day");if(e>=i)return s(t,e,i,"hour");if(e>=r)return s(t,e,r,"minute");if(e>=n)return s(t,e,n,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=o)return Math.round(t/o)+"d";if(e>=i)return Math.round(t/i)+"h";if(e>=r)return Math.round(t/r)+"m";if(e>=n)return Math.round(t/n)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},FJW5:function(t,e,n){var r=n("hswa"),i=n("y3w9"),o=n("DVgA");t.exports=n("nh4g")?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),u=a.length,s=0;u>s;)r.f(t,n=a[s++],e[n]);return t}},FLlr:function(t,e,n){var r=n("XKFU");r(r.P,"String",{repeat:n("l0Rn")})},FUBA:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n("q1tI"),a=s(o),u=s(n("17x9"));function s(t){return t&&t.__esModule?t:{default:t}}var c={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},l=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],f=function(t,e){e.style.fontSize=t.fontSize,e.style.fontFamily=t.fontFamily,e.style.fontWeight=t.fontWeight,e.style.fontStyle=t.fontStyle,e.style.letterSpacing=t.letterSpacing,e.style.textTransform=t.textTransform},h=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),d=function(){return h?"_"+Math.random().toString(36).substr(2,12):void 0},p=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.inputRef=function(t){n.input=t,"function"==typeof n.props.inputRef&&n.props.inputRef(t)},n.placeHolderSizerRef=function(t){n.placeHolderSizer=t},n.sizerRef=function(t){n.sizer=t},n.state={inputWidth:t.minWidth,inputId:t.id||d()},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.Component),i(e,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.id;e!==this.props.id&&this.setState({inputId:e||d()})}},{key:"componentDidUpdate",value:function(t,e){e.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var t=this.input&&window.getComputedStyle(this.input);t&&(f(t,this.sizer),this.placeHolderSizer&&f(t,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var t=void 0;t=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(t+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(t=this.props.minWidth),t!==this.state.inputWidth&&this.setState({inputWidth:t})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var t=this.props.injectStyles;return h&&t?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var t=[this.props.defaultValue,this.props.value,""].reduce(function(t,e){return null!=t?t:e}),e=r({},this.props.style);e.display||(e.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),i=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(this.props,[]);return function(t){l.forEach(function(e){return delete t[e]})}(i),i.className=this.props.inputClassName,i.id=this.state.inputId,i.style=n,a.default.createElement("div",{className:this.props.className,style:e},this.renderStyles(),a.default.createElement("input",r({},i,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:c},t),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:c},this.props.placeholder):null)}}]),e}();p.propTypes={className:u.default.string,defaultValue:u.default.any,extraWidth:u.default.oneOfType([u.default.number,u.default.string]),id:u.default.string,injectStyles:u.default.bool,inputClassName:u.default.string,inputRef:u.default.func,inputStyle:u.default.object,minWidth:u.default.oneOfType([u.default.number,u.default.string]),onAutosize:u.default.func,onChange:u.default.func,placeholder:u.default.string,placeholderIsMinWidth:u.default.bool,style:u.default.object,value:u.default.any},p.defaultProps={minWidth:1,injectStyles:!0},e.default=p},FYw3:function(t,e,n){"use strict";e.__esModule=!0;var r,i=n("EJiy"),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,o.default)(e))&&"function"!=typeof e?t:e}},FZoo:function(t,e,n){var r=n("MrPd"),i=n("4uTw"),o=n("wJg7"),a=n("GoyQ"),u=n("9Nap");t.exports=function(t,e,n,s){if(!a(t))return t;for(var c=-1,l=(e=i(e,t)).length,f=l-1,h=t;null!=h&&++c<l;){var d=u(e[c]),p=n;if(c!=f){var v=h[d];void 0===(p=s?s(v,d,h):void 0)&&(p=a(v)?v:o(e[c+1])?[]:{})}r(h,d,p),h=h[d]}return t}},Faen:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n("Y62N"),i=n("FmoU"),o=n("Uwo/"),a=-.14861,u=1.78277,s=-.29227,c=-.90649,l=1.97294,f=l*c,h=l*u,d=u*s-c*a;function p(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.b||(t=Object(i.h)(t));var e=t.r/255,n=t.g/255,r=t.b/255,a=(d*r+f*e-h*n)/(d+f-h),u=r-a,p=(l*(n-a)-s*u)/c,g=Math.sqrt(p*p+u*u)/(l*a*(1-a)),y=g?Math.atan2(p,u)*o.b-120:NaN;return new v(y<0?y+360:y,g,a,t.opacity)}(t):new v(t,e,n,null==r?1:r)}function v(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Object(r.a)(v,p,Object(r.b)(i.a,{brighter:function(t){return t=null==t?i.c:Math.pow(i.c,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.a,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),f=Math.sin(t);return new i.b(255*(e+n*(a*r+u*f)),255*(e+n*(s*r+c*f)),255*(e+n*(l*r)),this.opacity)}}))},Faw5:function(t,e,n){n("7DDg")("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},"FbP/":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Photoshop=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=p(n("q1tI")),o=p(n("17x9")),a=p(n("/FUP")),u=p(n("QkVN")),s=n("TM95"),c=p(n("81by")),l=p(n("BKMn")),f=p(n("sVjb")),h=p(n("DRdP")),d=p(n("2zpl"));function p(t){return t&&t.__esModule?t:{default:t}}var v=e.Photoshop=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return n.state={currentColor:t.hex},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default.Component),r(e,[{key:"render",value:function(){var t=this.props,e=t.styles,n=void 0===e?{}:e,r=t.className,o=void 0===r?"":r,p=(0,a.default)((0,u.default)({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},n));return i.default.createElement("div",{style:p.picker,className:"photoshop-picker "+o},i.default.createElement("div",{style:p.head},this.props.header),i.default.createElement("div",{style:p.body,className:"flexbox-fix"},i.default.createElement("div",{style:p.saturation},i.default.createElement(s.Saturation,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:l.default,onChange:this.props.onChange})),i.default.createElement("div",{style:p.hue},i.default.createElement(s.Hue,{direction:"vertical",hsl:this.props.hsl,pointer:f.default,onChange:this.props.onChange})),i.default.createElement("div",{style:p.controls},i.default.createElement("div",{style:p.top,className:"flexbox-fix"},i.default.createElement("div",{style:p.previews},i.default.createElement(d.default,{rgb:this.props.rgb,currentColor:this.state.currentColor})),i.default.createElement("div",{style:p.actions},i.default.createElement(h.default,{label:"OK",onClick:this.props.onAccept,active:!0}),i.default.createElement(h.default,{label:"Cancel",onClick:this.props.onCancel}),i.default.createElement(c.default,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),e}();v.propTypes={header:o.default.string,styles:o.default.object},v.defaultProps={header:"Color Picker",styles:{}},e.default=(0,s.ColorWrap)(v)},FfPP:function(t,e,n){var r=n("idmN"),i=n("hgQt");t.exports=function(t,e){return r(t,e,function(e,n){return i(t,n)})}},FlQf:function(t,e,n){"use strict";var r=n("ccE7")(!0);n("MPFp")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},FlsD:function(t,e,n){var r=n("0/R4");n("Xtr8")("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},FmoU:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"e",function(){return x}),n.d(e,"h",function(){return S}),n.d(e,"g",function(){return k}),n.d(e,"b",function(){return E}),n.d(e,"f",function(){return P});var r=n("Y62N");function i(){}var o=.7,a=1/o,u="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),d=new RegExp("^rgba\\("+[u,u,u,s]+"\\)$"),p=new RegExp("^rgba\\("+[c,c,c,s]+"\\)$"),v=new RegExp("^hsl\\("+[s,c,c]+"\\)$"),g=new RegExp("^hsla\\("+[s,c,c,s]+"\\)$"),y={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function x(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?w(e):3===n?new E(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?new E(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?new E(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new E(e[1],e[2],e[3],1):(e=h.exec(t))?new E(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?_(e[1],e[2],e[3],e[4]):(e=p.exec(t))?_(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=v.exec(t))?T(e[1],e[2]/100,e[3]/100,1):(e=g.exec(t))?T(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?w(y[t]):"transparent"===t?new E(NaN,NaN,NaN,0):null}function w(t){return new E(t>>16&255,t>>8&255,255&t,1)}function _(t,e,n,r){return r<=0&&(t=e=n=NaN),new E(t,e,n,r)}function S(t){return t instanceof i||(t=x(t)),t?new E((t=t.rgb()).r,t.g,t.b,t.opacity):new E}function k(t,e,n,r){return 1===arguments.length?S(t):new E(t,e,n,null==r?1:r)}function E(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function O(){return"#"+A(this.r)+A(this.g)+A(this.b)}function C(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function A(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function T(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new j(t,e,n,r)}function M(t){if(t instanceof j)return new j(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=x(t)),!t)return new j;if(t instanceof j)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),a=Math.max(e,n,r),u=NaN,s=a-o,c=(a+o)/2;return s?(u=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+o:2-a-o,u*=60):s=c>0&&c<1?0:u,new j(u,s,c,t.opacity)}function P(t,e,n,r){return 1===arguments.length?M(t):new j(t,e,n,null==r?1:r)}function j(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function D(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Object(r.a)(i,x,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHsl:function(){return M(this).formatHsl()},formatRgb:b,toString:b}),Object(r.a)(E,k,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new E(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new E(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:O,formatHex:O,formatRgb:C,toString:C})),Object(r.a)(j,P,Object(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new j(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new j(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new E(D(t>=240?t-240:t+120,i,r),D(t,i,r),D(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},FpHa:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},FxUG:function(t,e,n){n("R5XZ"),n("Ew+T"),n("rGqo"),t.exports=n("g3g5")},Fxb1:function(t,e,n){"use strict";n.d(e,"a",function(){return d});var r=n("6blF"),i=n("+tJ4"),o=n("S5XQ"),a=n("u67D"),u=n("JcRv"),s=n("2ePl"),c=n("/WYv"),l=n("McSo"),f=n("En8+"),h=n("xTla"),d=function(t){if(t instanceof r.a)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[h.a])return Object(u.a)(t);if(Object(s.a)(t))return Object(i.a)(t);if(Object(c.a)(t))return Object(o.a)(t);if(t&&"function"==typeof t[f.a])return Object(a.a)(t);var e=Object(l.a)(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},G4qV:function(t,e,n){"use strict";function r(t,e){return t===e}n.d(e,"a",function(){return i});var i=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];var o=0,a=r.pop(),u=function(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every(function(t){return"function"==typeof t})){var n=e.map(function(t){return typeof t}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return e}(r),s=t.apply(void 0,[function(){return o++,a.apply(null,arguments)}].concat(n)),c=t(function(){for(var t=[],e=u.length,n=0;n<e;n++)t.push(u[n].apply(null,arguments));return s.apply(null,t)});return c.resultFunc=a,c.dependencies=u,c.recomputations=function(){return o},c.resetRecomputations=function(){return o=0},c}}(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,i=null;return function(){return function(t,e,n){if(null===e||null===n||e.length!==n.length)return!1;for(var r=e.length,i=0;i<r;i++)if(!t(e[i],n[i]))return!1;return!0}(e,n,arguments)||(i=t.apply(null,arguments)),n=arguments,i}})},G5J1:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});var r=n("6blF"),i=new r.a(function(t){return t.complete()});function o(t){return t?function(t){return new r.a(function(e){return t.schedule(function(){return e.complete()})})}(t):i}},G6z8:function(t,e,n){var r=n("fR/l"),i=n("oCl/"),o=n("mTTR");t.exports=function(t){return r(t,o,i)}},G8Mo:function(t,e,n){var r=n("93I4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},G8Sx:function(t,e,n){"use strict";function r(t){var e,n=this;if(!this._au){var r=n._debounce(function(){n.update()},300);this._observer=new t(function(){i(),n.update(),r()}),this.on("init",function(){n._observer.observe(n.root,{childList:!0,subtree:!0,characterData:!0}),i()}),this.on("dispose",function(){n._observer.disconnect(),o(),delete n._observer}),this._au=!0}function i(){n.root[n.origin.offset]?o():function(){if(e)return;e=setInterval(function(){n.root[n.origin.offset]&&(o(),n.update())},300)}()}function o(){clearInterval(e),e=null}}t.exports=function(t){var e=t.MutationObserver||t.WebKitMutationObserver||t.MozMutationObserver||null;return function(){return e?(r.call(this,e),this):this}}},GDhZ:function(t,e,n){var r=n("wF/u"),i=n("mwIZ"),o=n("hgQt"),a=n("9ggG"),u=n("CMye"),s=n("IOzZ"),c=n("9Nap"),l=1,f=2;t.exports=function(t,e){return a(t)&&u(e)?s(c(t),e):function(n){var a=i(n,t);return void 0===a&&a===e?o(n,t):r(e,a,l|f)}}},GDxn:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return a});var r=n("6blF"),i=n("+umK"),o=new r.a(i.a);function a(){return o}},GNAe:function(t,e,n){var r=n("XKFU"),i=n("PKUr");r(r.G+r.F*(parseInt!=i),{parseInt:i})},GNiM:function(t,e,n){var r=n("I01J"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,function(t,n,r,i){e.push(r?i.replace(o,"$1"):n||t)}),e});t.exports=a},GZEu:function(t,e,n){var r,i,o,a=n("m0Pp"),u=n("MfQN"),s=n("+rLv"),c=n("Iw71"),l=n("dyZX"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,v=l.Dispatch,g=0,y={},m=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},b=function(t){m.call(t.data)};h&&d||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return y[++g]=function(){u("function"==typeof t?t:Function(t),e)},r(g),g},d=function(t){delete y[t]},"process"==n("LZWt")(f)?r=function(t){f.nextTick(a(m,t,1))}:v&&v.now?r=function(t){v.now(a(m,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in c("script")?function(t){s.appendChild(c("script")).onreadystatechange=function(){s.removeChild(this),m.call(t)}}:function(t){setTimeout(a(m,t,1),0)}),t.exports={set:h,clear:d}},Gi0A:function(t,e,n){var r=n("QqLw"),i=n("ExA7"),o="[object Map]";t.exports=function(t){return i(t)&&r(t)==o}},GiOz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SketchFields=void 0;var r=u(n("q1tI")),i=u(n("/FUP")),o=u(n("p8yl")),a=n("TM95");function u(t){return t&&t.__esModule?t:{default:t}}var s=e.SketchFields=function(t){var e=t.onChange,n=t.rgb,u=t.hsl,s=t.hex,c=t.disableAlpha,l=(0,i.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:c}),f=function(t,r){t.hex?o.default.isValidHex(t.hex)&&e({hex:t.hex,source:"hex"},r):t.r||t.g||t.b?e({r:t.r||n.r,g:t.g||n.g,b:t.b||n.b,a:n.a,source:"rgb"},r):t.a&&(t.a<0?t.a=0:t.a>100&&(t.a=100),t.a/=100,e({h:u.h,s:u.s,l:u.l,a:t.a,source:"rgb"},r))};return r.default.createElement("div",{style:l.fields,className:"flexbox-fix"},r.default.createElement("div",{style:l.double},r.default.createElement(a.EditableInput,{style:{input:l.input,label:l.label},label:"hex",value:s.replace("#",""),onChange:f})),r.default.createElement("div",{style:l.single},r.default.createElement(a.EditableInput,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:l.single},r.default.createElement(a.EditableInput,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:l.single},r.default.createElement(a.EditableInput,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:f,dragLabel:"true",dragMax:"255"})),r.default.createElement("div",{style:l.alpha},r.default.createElement(a.EditableInput,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:f,dragLabel:"true",dragMax:"100"})))};e.default=s},GoU2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default=function(t){return"object"!==(void 0===t?"undefined":r(t))||null==t}},GoyQ:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},GqiD:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var r=c(n("q1tI")),i=c(n("17x9")),o=c(n("Jpgy")),a=n("ragC"),u=n("yMCc"),s=n("4UG0");function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(){return(h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function d(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var p="react-calendar__month-view__days__day";function v(t){var e=t.calendarType,n=t.classes,i=t.currentMonthIndex,s=t.date,c=d(t,["calendarType","classes","currentMonthIndex","date"]);return r.default.createElement(o.default,h({},c,{classes:[].concat(n,p,(0,a.isWeekend)(s,e)?"".concat(p,"--weekend"):null,s.getMonth()!==i?"".concat(p,"--neighboringMonth"):null),date:s,formatAbbr:u.formatLongDate,maxDateTransform:a.getEndOfDay,minDateTransform:a.getBeginOfDay,view:"month"}),(0,a.getDay)(s))}v.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(n,!0).forEach(function(e){f(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},s.tileProps,{currentMonthIndex:i.default.number.isRequired})},GrKN:function(t,e,n){var r=n("e8zy"),i=n("vGzR");for(var o in(e=t.exports=function(t,e){return new i(e).process(t)}).FilterCSS=i,r)e[o]=r[o];"undefined"!=typeof window&&(window.filterCSS=t.exports)},"H++x":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getTileClasses=e.between=e.doRangesOverlap=e.isRangeWithinRange=e.isValueWithinRange=e.callIfDefined=e.mergeFunctions=void 0;var r=n("ragC");e.mergeFunctions=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.filter(Boolean).forEach(function(t){return t.apply(void 0,n)})}};e.callIfDefined=function(t){if(t&&"function"==typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t.apply(void 0,n)}};var i=function(t,e){return e[0]<=t&&e[1]>=t};e.isValueWithinRange=i;var o=function(t,e){return t[0]<=e[0]&&t[1]>=e[1]};e.isRangeWithinRange=o;var a=function(t,e){return i(t[0],e)||i(t[1],e)};e.doRangesOverlap=a;e.between=function(t,e,n){return e&&e>t?e:n&&n<t?n:t};e.getTileClasses=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.value,n=t.valueType,u=t.date,s=t.dateType,c=t.hover,l="react-calendar__tile",f=[l];if(!u)return f;if(!(u instanceof Array||s))throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var h=new Date,d=u instanceof Array?u:(0,r.getRange)(s,u);if(i(h,d)&&f.push("".concat(l,"--now")),!e)return f;if(!(e instanceof Array||n))throw new Error("getTileClasses(): Unable to get tile activity classes because one or more required arguments were not passed.");var p=e instanceof Array?e:(0,r.getRange)(n,e);o(p,d)?f.push("".concat(l,"--active")):a(p,d)?f.push("".concat(l,"--hasActive")):c&&(d[1]<p[0]&&a(d,[c,p[0]])||d[0]>p[1]&&a(d,[p[1],c]))&&f.push("".concat(l,"--hover"));var v=i(p[0],d),g=i(p[1],d);return v&&f.push("".concat(l,"--rangeStart")),g&&f.push("".concat(l,"--rangeEnd")),v&&g&&f.push("".concat(l,"--rangeBothEnds")),f}},H6hf:function(t,e,n){var r=n("y3w9");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},H7XF:function(t,e,n){"use strict";e.byteLength=function(t){var e=c(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,r=c(t),a=r[0],u=r[1],s=new o(function(t,e,n){return 3*(e+n)/4-n}(0,a,u)),l=0,f=u>0?a-4:a;for(n=0;n<f;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],s[l++]=e>>16&255,s[l++]=e>>8&255,s[l++]=255&e;2===u&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,s[l++]=255&e);1===u&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,s[l++]=e>>8&255,s[l++]=255&e);return s},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],a=0,u=n-i;a<u;a+=16383)o.push(l(t,a,a+16383>u?u:a+16383));1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return o.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,s=a.length;u<s;++u)r[u]=a[u],i[a.charCodeAt(u)]=u;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function l(t,e,n){for(var i,o,a=[],u=e;u<n;u+=3)i=(t[u]<<16&16711680)+(t[u+1]<<8&65280)+(255&t[u+2]),a.push(r[(o=i)>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},H8j4:function(t,e,n){var r=n("QkVE");t.exports=function(t,e){var n=r(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}},"HAE/":function(t,e,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperty:n("hswa").f})},HDyB:function(t,e,n){var r=n("nmnc"),i=n("JHRd"),o=n("ljhN"),a=n("or5M"),u=n("7fqy"),s=n("rEGp"),c=1,l=2,f="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Map]",v="[object Number]",g="[object RegExp]",y="[object Set]",m="[object String]",b="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",_=r?r.prototype:void 0,S=_?_.valueOf:void 0;t.exports=function(t,e,n,r,_,k,E){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case x:return!(t.byteLength!=e.byteLength||!k(new i(t),new i(e)));case f:case h:case v:return o(+t,+e);case d:return t.name==e.name&&t.message==e.message;case g:case m:return t==e+"";case p:var O=u;case y:var C=r&c;if(O||(O=s),t.size!=e.size&&!C)return!1;var A=E.get(t);if(A)return A==e;r|=l,E.set(t,e);var T=a(O(t),O(e),r,_,k,E);return E.delete(t),T;case b:if(S)return S.call(t)==S.call(e)}return!1}},HEwt:function(t,e,n){"use strict";var r=n("m0Pp"),i=n("XKFU"),o=n("S/j/"),a=n("H6hf"),u=n("M6Qj"),s=n("ne8i"),c=n("8a7r"),l=n("J+6e");i(i.S+i.F*!n("XMVh")(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,y=0,m=l(h);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),null==m||d==Array&&u(m))for(n=new d(e=s(h.length));e>y;y++)c(n,y,g?v(h[y],y):h[y]);else for(f=m.call(h),n=new d;!(i=f.next()).done;y++)c(n,y,g?a(f,v,[i.value,y],!0):i.value);return n.length=y,n}})},HF17:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"string"==typeof t}},HOxn:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Promise");t.exports=r},HTXX:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Sketch=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=f(n("q1tI")),o=f(n("17x9")),a=f(n("/FUP")),u=f(n("QkVN")),s=n("TM95"),c=f(n("GiOz")),l=f(n("eHBW"));function f(t){return t&&t.__esModule?t:{default:t}}var h=e.Sketch=function(t){var e=t.width,n=t.rgb,o=t.hex,f=t.hsv,h=t.hsl,d=t.onChange,p=t.onSwatchHover,v=t.disableAlpha,g=t.presetColors,y=t.renderers,m=t.styles,b=void 0===m?{}:m,x=t.className,w=void 0===x?"":x,_=(0,a.default)((0,u.default)({default:r({picker:{width:e,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},b),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},b),{disableAlpha:v});return i.default.createElement("div",{style:_.picker,className:"sketch-picker "+w},i.default.createElement("div",{style:_.saturation},i.default.createElement(s.Saturation,{style:_.Saturation,hsl:h,hsv:f,onChange:d})),i.default.createElement("div",{style:_.controls,className:"flexbox-fix"},i.default.createElement("div",{style:_.sliders},i.default.createElement("div",{style:_.hue},i.default.createElement(s.Hue,{style:_.Hue,hsl:h,onChange:d})),i.default.createElement("div",{style:_.alpha},i.default.createElement(s.Alpha,{style:_.Alpha,rgb:n,hsl:h,renderers:y,onChange:d}))),i.default.createElement("div",{style:_.color},i.default.createElement(s.Checkboard,null),i.default.createElement("div",{style:_.activeColor}))),i.default.createElement(c.default,{rgb:n,hsl:h,hex:o,onChange:d,disableAlpha:v}),i.default.createElement(l.default,{colors:g,onClick:d,onSwatchHover:p}))};h.propTypes={disableAlpha:o.default.bool,width:o.default.oneOfType([o.default.string,o.default.number]),styles:o.default.object},h.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]},e.default=(0,s.ColorWrap)(h)},Hfiw:function(t,e,n){var r=n("Y7ZC");r(r.S,"Object",{setPrototypeOf:n("6tYh").set})},HlQe:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Hue=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("q1tI"),o=s(i),a=s(n("/FUP")),u=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n("srvI"));function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var l=e.Hue=function(t){function e(){var t,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=c(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.handleChange=function(t,e){var n=u.calculateChange(t,e,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,t)},r.handleMouseDown=function(t){r.handleChange(t,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},c(r,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.PureComponent||i.Component),r(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,e=this.props.direction,n=void 0===e?"horizontal":e,r=(0,a.default)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===n});return o.default.createElement("div",{style:r.hue},o.default.createElement("div",{className:"hue-"+n,style:r.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.default.createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),o.default.createElement("div",{style:r.pointer},this.props.pointer?o.default.createElement(this.props.pointer,this.props):o.default.createElement("div",{style:r.slider}))))}}]),e}();e.default=l},Hsns:function(t,e,n){var r=n("93I4"),i=n("5T2Y").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},Hvzi:function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},I01J:function(t,e,n){var r=n("44Ds"),i=500;t.exports=function(t){var e=r(t,function(t){return n.size===i&&n.clear(),t}),n=e.cache;return e}},I5cv:function(t,e,n){var r=n("XKFU"),i=n("Kuth"),o=n("2OiF"),a=n("y3w9"),u=n("0/R4"),s=n("eeVq"),c=n("8MEG"),l=(n("dyZX").Reflect||{}).construct,f=s(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),h=!s(function(){l(function(){})});r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var s=n.prototype,d=i(u(s)?s:Object.prototype),p=Function.apply.call(t,d,e);return u(p)?p:d}})},I74W:function(t,e,n){"use strict";n("qncB")("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},I78e:function(t,e,n){"use strict";var r=n("XKFU"),i=n("+rLv"),o=n("LZWt"),a=n("d/Gc"),u=n("ne8i"),s=[].slice;r(r.P+r.F*n("eeVq")(function(){i&&s.call(i)}),"Array",{slice:function(t,e){var n=u(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return s.call(this,t,e);for(var i=a(t,n),c=a(e,n),l=u(c-i),f=new Array(l),h=0;h<l;h++)f[h]="String"==r?this.charAt(i+h):this[i+h];return f}})},I7VN:function(t,e,n){"use strict";var r=n("8OQS"),i=n.n(r),o=n("pVnL"),a=n.n(o),u=n("VbXa"),s=n.n(u),c=n("PJYZ"),l=n.n(c),f=n("lSNA"),h=n.n(f),d=n("q1tI"),p=n("8L3F"),v=n("/tz4"),g=n.n(v)()({setReferenceNode:void 0,referenceNode:void 0}),y=function(t){function e(){var e;return e=t.call(this)||this,h()(l()(l()(e)),"setReferenceNode",function(t){t&&e.state.context.referenceNode!==t&&e.setState(function(e){var n=e.context;return{context:a()({},n,{referenceNode:t})}})}),e.state={context:{setReferenceNode:e.setReferenceNode,referenceNode:void 0}},e}return s()(e,t),e.prototype.render=function(){return d.createElement(g.Provider,{value:this.state.context},this.props.children)},e}(d.Component),m=function(t){return Array.isArray(t)?t[0]:t},b=function(t){if("function"==typeof t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(void 0,n)}},x={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},w={},_=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r))||this,h()(l()(l()(e)),"state",{data:void 0,placement:void 0}),h()(l()(l()(e)),"popperInstance",void 0),h()(l()(l()(e)),"popperNode",null),h()(l()(l()(e)),"arrowNode",null),h()(l()(l()(e)),"setPopperNode",function(t){t&&e.popperNode!==t&&(b(e.props.innerRef,t),e.popperNode=t,e.updatePopperInstance())}),h()(l()(l()(e)),"setArrowNode",function(t){e.arrowNode=t}),h()(l()(l()(e)),"updateStateModifier",{enabled:!0,order:900,fn:function(t){var n=t.placement;return e.setState({data:t,placement:n}),t}}),h()(l()(l()(e)),"getOptions",function(){return{placement:e.props.placement,eventsEnabled:e.props.eventsEnabled,positionFixed:e.props.positionFixed,modifiers:a()({},e.props.modifiers,{arrow:a()({},e.props.modifiers&&e.props.modifiers.arrow,{enabled:!!e.arrowNode,element:e.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:e.updateStateModifier})}}),h()(l()(l()(e)),"getPopperStyle",function(){return e.popperNode&&e.state.data?a()({position:e.state.data.offsets.popper.position},e.state.data.styles):x}),h()(l()(l()(e)),"getPopperPlacement",function(){return e.state.data?e.state.placement:void 0}),h()(l()(l()(e)),"getArrowStyle",function(){return e.arrowNode&&e.state.data?e.state.data.arrowStyles:w}),h()(l()(l()(e)),"getOutOfBoundariesState",function(){return e.state.data?e.state.data.hide:void 0}),h()(l()(l()(e)),"destroyPopperInstance",function(){e.popperInstance&&(e.popperInstance.destroy(),e.popperInstance=null)}),h()(l()(l()(e)),"updatePopperInstance",function(){e.destroyPopperInstance();var t=l()(l()(e)).popperNode,n=e.props.referenceElement;n&&t&&(e.popperInstance=new p.a(n,t,e.getOptions()))}),h()(l()(l()(e)),"scheduleUpdate",function(){e.popperInstance&&e.popperInstance.scheduleUpdate()}),e}s()(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){this.props.placement!==t.placement||this.props.referenceElement!==t.referenceElement||this.props.positionFixed!==t.positionFixed?this.updatePopperInstance():this.props.eventsEnabled!==t.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()),e.placement!==this.state.placement&&this.scheduleUpdate()},n.componentWillUnmount=function(){b(this.props.innerRef,null),this.destroyPopperInstance()},n.render=function(){return m(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})},e}(d.Component);h()(_,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1});p.a.placements;function S(t){var e=t.referenceElement,n=i()(t,["referenceElement"]);return d.createElement(g.Consumer,null,function(t){var r=t.referenceNode;return d.createElement(_,a()({referenceElement:void 0!==e?e:r},n))})}var k=n("2W6z"),E=n.n(k);d.Component;n.d(e,"b",function(){return S}),n.d(e,"a",function(){return y})},"I8a+":function(t,e,n){var r=n("LZWt"),i=n("K0xU")("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},INYr:function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")(o)},IOzZ:function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},"IU+Z":function(t,e,n){"use strict";n("sMXx");var r=n("KroJ"),i=n("Mukb"),o=n("eeVq"),a=n("vhPU"),u=n("K0xU"),s=n("Ugos"),c=u("species"),l=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=u(t),d=!o(function(){var e={};return e[h]=function(){return 7},7!=""[t](e)}),p=d?!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[h](""),!e}):void 0;if(!d||!p||"replace"===t&&!l||"split"===t&&!f){var v=/./[h],g=n(a,h,""[t],function(t,e,n,r,i){return e.exec===s?d&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),y=g[0],m=g[1];r(String.prototype,t,y),i(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}},IUTb:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("6blF"),i=n("pugT"),o=n("+tJ4");function a(t,e){return e?new r.a(function(n){var r=new i.a,o=0;return r.add(e.schedule(function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()})),r}):new r.a(Object(o.a)(t))}},IWTy:function(t,e,n){var r=n("yue5");t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,u=o.length,s=n.length;++i<u;){var c=r(o[i],a[i]);if(c)return i>=s?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}},IXt9:function(t,e,n){"use strict";var r=n("0/R4"),i=n("OP3Y"),o=n("K0xU")("hasInstance"),a=Function.prototype;o in a||n("hswa").f(a,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},IlFx:function(t,e,n){var r=n("XKFU"),i=n("y3w9"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},Ioao:function(t,e,n){var r=n("heNW"),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,u=i(o.length-e,0),s=Array(u);++a<u;)s[a]=o[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=o[a];return c[e]=n(s),r(t,this,c)}}},Iw71:function(t,e,n){var r=n("0/R4"),i=n("dyZX").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},IxPp:function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"a",function(){return h});var r=n("mrSG"),i=n("FFOo"),o=n("pugT"),a=n("6blF"),u=n("K9Ia");function s(t,e,n,r){return function(i){return i.lift(new c(t,e,n,r))}}var c=function(){function t(t,e,n,r){this.keySelector=t,this.elementSelector=e,this.durationSelector=n,this.subjectSelector=r}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))},t}(),l=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.keySelector=n,a.elementSelector=r,a.durationSelector=i,a.subjectSelector=o,a.groups=null,a.attemptedToUnsubscribe=!1,a.count=0,a}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.keySelector(t)}catch(t){return void this.error(t)}this._group(t,e)},e.prototype._group=function(t,e){var n=this.groups;n||(n=this.groups=new Map);var r,i=n.get(e);if(this.elementSelector)try{r=this.elementSelector(t)}catch(t){this.error(t)}else r=t;if(!i){i=this.subjectSelector?this.subjectSelector():new u.b,n.set(e,i);var o=new h(e,i,this);if(this.destination.next(o),this.durationSelector){var a=void 0;try{a=this.durationSelector(new h(e,i))}catch(t){return void this.error(t)}this.add(a.subscribe(new f(e,i,this)))}}i.closed||i.next(r)},e.prototype._error=function(t){var e=this.groups;e&&(e.forEach(function(e,n){e.error(t)}),e.clear()),this.destination.error(t)},e.prototype._complete=function(){var t=this.groups;t&&(t.forEach(function(t,e){t.complete()}),t.clear()),this.destination.complete()},e.prototype.removeGroup=function(t){this.groups.delete(t)},e.prototype.unsubscribe=function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&t.prototype.unsubscribe.call(this))},e}(i.a),f=function(t){function e(e,n,r){var i=t.call(this,n)||this;return i.key=e,i.group=n,i.parent=r,i}return r.__extends(e,t),e.prototype._next=function(t){this.complete()},e.prototype._unsubscribe=function(){var t=this.parent,e=this.key;this.key=this.parent=null,t&&t.removeGroup(e)},e}(i.a),h=function(t){function e(e,n,r){var i=t.call(this)||this;return i.key=e,i.groupSubject=n,i.refCountSubscription=r,i}return r.__extends(e,t),e.prototype._subscribe=function(t){var e=new o.a,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&e.add(new d(n)),e.add(r.subscribe(t)),e},e}(a.a),d=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,e.count++,n}return r.__extends(e,t),e.prototype.unsubscribe=function(){var e=this.parent;e.closed||this.closed||(t.prototype.unsubscribe.call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())},e}(o.a)},Izvi:function(t,e,n){n("I74W"),t.exports=n("g3g5").String.trimLeft},"J+6e":function(t,e,n){var r=n("I8a+"),i=n("K0xU")("iterator"),o=n("hPIQ");t.exports=n("g3g5").getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},J1sY:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n("xEkU"),a=y(o),u=y(n("cegH")),s=n("q1tI"),c=y(n("17x9")),l=y(n("HF17")),f=y(n("KSAl")),h=y(n("ToH2")),d=y(n("EiQ3")),p=y(n("eYAL")),v=n("yXmM"),g=n("h27F");function y(t){return t&&t.__esModule?t:{default:t}}var m=function(t){function e(t){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(n=e.__proto__||Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));return a.getScrollLeft=a.getScrollLeft.bind(a),a.getScrollTop=a.getScrollTop.bind(a),a.getScrollWidth=a.getScrollWidth.bind(a),a.getScrollHeight=a.getScrollHeight.bind(a),a.getClientWidth=a.getClientWidth.bind(a),a.getClientHeight=a.getClientHeight.bind(a),a.getValues=a.getValues.bind(a),a.getThumbHorizontalWidth=a.getThumbHorizontalWidth.bind(a),a.getThumbVerticalHeight=a.getThumbVerticalHeight.bind(a),a.getScrollLeftForOffset=a.getScrollLeftForOffset.bind(a),a.getScrollTopForOffset=a.getScrollTopForOffset.bind(a),a.scrollLeft=a.scrollLeft.bind(a),a.scrollTop=a.scrollTop.bind(a),a.scrollToLeft=a.scrollToLeft.bind(a),a.scrollToTop=a.scrollToTop.bind(a),a.scrollToRight=a.scrollToRight.bind(a),a.scrollToBottom=a.scrollToBottom.bind(a),a.handleTrackMouseEnter=a.handleTrackMouseEnter.bind(a),a.handleTrackMouseLeave=a.handleTrackMouseLeave.bind(a),a.handleHorizontalTrackMouseDown=a.handleHorizontalTrackMouseDown.bind(a),a.handleVerticalTrackMouseDown=a.handleVerticalTrackMouseDown.bind(a),a.handleHorizontalThumbMouseDown=a.handleHorizontalThumbMouseDown.bind(a),a.handleVerticalThumbMouseDown=a.handleVerticalThumbMouseDown.bind(a),a.handleWindowResize=a.handleWindowResize.bind(a),a.handleScroll=a.handleScroll.bind(a),a.handleDrag=a.handleDrag.bind(a),a.handleDragEnd=a.handleDragEnd.bind(a),a.state={didMountUniversal:!1},a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,s.Component),i(e,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){this.props.universal&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,o.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var t=this.view||{},e=t.scrollLeft,n=void 0===e?0:e,r=t.scrollTop,i=void 0===r?0:r,o=t.scrollWidth,a=void 0===o?0:o,u=t.scrollHeight,s=void 0===u?0:u,c=t.clientWidth,l=void 0===c?0:c,f=t.clientHeight,h=void 0===f?0:f;return{left:n/(a-l)||0,top:i/(s-h)||0,scrollLeft:n,scrollTop:i,scrollWidth:a,scrollHeight:s,clientWidth:l,clientHeight:h}}},{key:"getThumbHorizontalWidth",value:function(){var t=this.props,e=t.thumbSize,n=t.thumbMinSize,r=this.view,i=r.scrollWidth,o=r.clientWidth,a=(0,d.default)(this.trackHorizontal),u=Math.ceil(o/i*a);return a===u?0:e||Math.max(u,n)}},{key:"getThumbVerticalHeight",value:function(){var t=this.props,e=t.thumbSize,n=t.thumbMinSize,r=this.view,i=r.scrollHeight,o=r.clientHeight,a=(0,p.default)(this.trackVertical),u=Math.ceil(o/i*a);return a===u?0:e||Math.max(u,n)}},{key:"getScrollLeftForOffset",value:function(t){var e=this.view,n=e.scrollWidth,r=e.clientWidth;return t/((0,d.default)(this.trackHorizontal)-this.getThumbHorizontalWidth())*(n-r)}},{key:"getScrollTopForOffset",value:function(t){var e=this.view,n=e.scrollHeight,r=e.clientHeight;return t/((0,p.default)(this.trackVertical)-this.getThumbVerticalHeight())*(n-r)}},{key:"scrollLeft",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollLeft=t)}},{key:"scrollTop",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.view&&(this.view.scrollTop=t)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if("undefined"!=typeof document&&this.view){var t=this.view,e=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;t.addEventListener("scroll",this.handleScroll),(0,f.default)()&&(e.addEventListener("mouseenter",this.handleTrackMouseEnter),e.addEventListener("mouseleave",this.handleTrackMouseLeave),e.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.addEventListener("mouseenter",this.handleTrackMouseEnter),n.addEventListener("mouseleave",this.handleTrackMouseLeave),n.addEventListener("mousedown",this.handleVerticalTrackMouseDown),r.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if("undefined"!=typeof document&&this.view){var t=this.view,e=this.trackHorizontal,n=this.trackVertical,r=this.thumbHorizontal,i=this.thumbVertical;t.removeEventListener("scroll",this.handleScroll),(0,f.default)()&&(e.removeEventListener("mouseenter",this.handleTrackMouseEnter),e.removeEventListener("mouseleave",this.handleTrackMouseLeave),e.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),n.removeEventListener("mouseenter",this.handleTrackMouseEnter),n.removeEventListener("mouseleave",this.handleTrackMouseLeave),n.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),r.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),i.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(t){var e=this,n=this.props,r=n.onScroll,i=n.onScrollFrame;r&&r(t),this.update(function(t){var n=t.scrollLeft,r=t.scrollTop;e.viewScrollLeft=n,e.viewScrollTop=r,i&&i(t)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var t=this.props.onScrollStart;t&&t(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleScrollStop",value:function(){var t=this.props.onScrollStop;t&&t(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleWindowResize",value:function(){this.update()}},{key:"handleHorizontalTrackMouseDown",value:function(t){t.preventDefault();var e=t.target,n=t.clientX,r=e.getBoundingClientRect().left,i=this.getThumbHorizontalWidth(),o=Math.abs(r-n)-i/2;this.view.scrollLeft=this.getScrollLeftForOffset(o)}},{key:"handleVerticalTrackMouseDown",value:function(t){t.preventDefault();var e=t.target,n=t.clientY,r=e.getBoundingClientRect().top,i=this.getThumbVerticalHeight(),o=Math.abs(r-n)-i/2;this.view.scrollTop=this.getScrollTopForOffset(o)}},{key:"handleHorizontalThumbMouseDown",value:function(t){t.preventDefault(),this.handleDragStart(t);var e=t.target,n=t.clientX,r=e.offsetWidth,i=e.getBoundingClientRect().left;this.prevPageX=r-(n-i)}},{key:"handleVerticalThumbMouseDown",value:function(t){t.preventDefault(),this.handleDragStart(t);var e=t.target,n=t.clientY,r=e.offsetHeight,i=e.getBoundingClientRect().top;this.prevPageY=r-(n-i)}},{key:"setupDragging",value:function(){(0,u.default)(document.body,v.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=h.default}},{key:"teardownDragging",value:function(){(0,u.default)(document.body,v.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(t){this.dragging=!0,t.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(t){if(this.prevPageX){var e=t.clientX,n=-this.trackHorizontal.getBoundingClientRect().left+e-(this.getThumbHorizontalWidth()-this.prevPageX);this.view.scrollLeft=this.getScrollLeftForOffset(n)}if(this.prevPageY){var r=t.clientY,i=-this.trackVertical.getBoundingClientRect().top+r-(this.getThumbVerticalHeight()-this.prevPageY);this.view.scrollTop=this.getScrollTopForOffset(i)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){this.props.autoHide&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){this.props.autoHide&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,u.default)(this.trackHorizontal,{opacity:1}),(0,u.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var t=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var e=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,u.default)(t.trackHorizontal,{opacity:0}),(0,u.default)(t.trackVertical,{opacity:0})},e)}}},{key:"detectScrolling",value:function(){var t=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){t.lastViewScrollLeft===t.viewScrollLeft&&t.lastViewScrollTop===t.viewScrollTop&&(clearInterval(t.detectScrollingInterval),t.scrolling=!1,t.handleScrollStop()),t.lastViewScrollLeft=t.viewScrollLeft,t.lastViewScrollTop=t.viewScrollTop},100))}},{key:"raf",value:function(t){var e=this;this.requestFrame&&a.default.cancel(this.requestFrame),this.requestFrame=(0,a.default)(function(){e.requestFrame=void 0,t()})}},{key:"update",value:function(t){var e=this;this.raf(function(){return e._update(t)})}},{key:"_update",value:function(t){var e=this.props,n=e.onUpdate,r=e.hideTracksWhenNotNeeded,i=this.getValues();if((0,f.default)()){var o=i.scrollLeft,a=i.clientWidth,s=i.scrollWidth,c=(0,d.default)(this.trackHorizontal),l=this.getThumbHorizontalWidth(),h={width:l,transform:"translateX("+o/(s-a)*(c-l)+"px)"},v=i.scrollTop,g=i.clientHeight,y=i.scrollHeight,m=(0,p.default)(this.trackVertical),b=this.getThumbVerticalHeight(),x={height:b,transform:"translateY("+v/(y-g)*(m-b)+"px)"};if(r){var w={visibility:s>a?"visible":"hidden"},_={visibility:y>g?"visible":"hidden"};(0,u.default)(this.trackHorizontal,w),(0,u.default)(this.trackVertical,_)}(0,u.default)(this.thumbHorizontal,h),(0,u.default)(this.thumbVertical,x)}n&&n(i),"function"==typeof t&&t(i)}},{key:"render",value:function(){var t=this,e=(0,f.default)(),n=this.props,i=(n.onScroll,n.onScrollFrame,n.onScrollStart,n.onScrollStop,n.onUpdate,n.renderView),o=n.renderTrackHorizontal,a=n.renderTrackVertical,u=n.renderThumbHorizontal,c=n.renderThumbVertical,h=n.tagName,d=(n.hideTracksWhenNotNeeded,n.autoHide),p=(n.autoHideTimeout,n.autoHideDuration),g=(n.thumbSize,n.thumbMinSize,n.universal),y=n.autoHeight,m=n.autoHeightMin,b=n.autoHeightMax,x=n.style,w=n.children,_=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(n,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),S=this.state.didMountUniversal,k=r({},v.containerStyleDefault,y&&r({},v.containerStyleAutoHeight,{minHeight:m,maxHeight:b}),x),E=r({},v.viewStyleDefault,{marginRight:e?-e:0,marginBottom:e?-e:0},y&&r({},v.viewStyleAutoHeight,{minHeight:(0,l.default)(m)?"calc("+m+" + "+e+"px)":m+e,maxHeight:(0,l.default)(b)?"calc("+b+" + "+e+"px)":b+e}),y&&g&&!S&&{minHeight:m,maxHeight:b},g&&!S&&v.viewStyleUniversalInitial),O={transition:"opacity "+p+"ms",opacity:0},C=r({},v.trackHorizontalStyleDefault,d&&O,(!e||g&&!S)&&{display:"none"}),A=r({},v.trackVerticalStyleDefault,d&&O,(!e||g&&!S)&&{display:"none"});return(0,s.createElement)(h,r({},_,{style:k,ref:function(e){t.container=e}}),[(0,s.cloneElement)(i({style:E}),{key:"view",ref:function(e){t.view=e}},w),(0,s.cloneElement)(o({style:C}),{key:"trackHorizontal",ref:function(e){t.trackHorizontal=e}},(0,s.cloneElement)(u({style:v.thumbHorizontalStyleDefault}),{ref:function(e){t.thumbHorizontal=e}})),(0,s.cloneElement)(a({style:A}),{key:"trackVertical",ref:function(e){t.trackVertical=e}},(0,s.cloneElement)(c({style:v.thumbVerticalStyleDefault}),{ref:function(e){t.thumbVertical=e}}))])}}]),e}();e.default=m,m.propTypes={onScroll:c.default.func,onScrollFrame:c.default.func,onScrollStart:c.default.func,onScrollStop:c.default.func,onUpdate:c.default.func,renderView:c.default.func,renderTrackHorizontal:c.default.func,renderTrackVertical:c.default.func,renderThumbHorizontal:c.default.func,renderThumbVertical:c.default.func,tagName:c.default.string,thumbSize:c.default.number,thumbMinSize:c.default.number,hideTracksWhenNotNeeded:c.default.bool,autoHide:c.default.bool,autoHideTimeout:c.default.number,autoHideDuration:c.default.number,autoHeight:c.default.bool,autoHeightMin:c.default.oneOfType([c.default.number,c.default.string]),autoHeightMax:c.default.oneOfType([c.default.number,c.default.string]),universal:c.default.bool,style:c.default.object,children:c.default.node},m.defaultProps={renderView:g.renderViewDefault,renderTrackHorizontal:g.renderTrackHorizontalDefault,renderTrackVertical:g.renderTrackVerticalDefault,renderThumbHorizontal:g.renderThumbHorizontalDefault,renderThumbVertical:g.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}},J2iB:function(t,e){t.exports=function(t){return null==t}},J2m7:function(t,e,n){var r=n("XKAG")(n("UfWW"));t.exports=r},JB68:function(t,e,n){var r=n("Jes0");t.exports=function(t){return Object(r(t))}},JC6p:function(t,e,n){var r=n("cq/+"),i=n("7GkX");t.exports=function(t,e){return t&&r(t,e,i)}},JCqj:function(t,e,n){"use strict";n("OGtf")("sup",function(t){return function(){return t(this,"sup","","")}})},JD84:function(t,e,n){var r=n("SKAX");t.exports=function(t,e,n,i){return r(t,function(t,r,o){e(i,t,n(t),o)}),i}},JDlV:function(t,e){t.exports=!!document.attachEvent&&window!==document.parentWindow},JEAp:function(t,e,n){var r,i=i||function(t){"use strict";if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=t.document,n=function(){return t.URL||t.webkitURL||t},r=e.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,o=/constructor/i.test(t.HTMLElement)||t.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(e){(t.setImmediate||t.setTimeout)(function(){throw e},0)},s=function(t){setTimeout(function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()},4e4)},c=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},l=function(e,l,f){f||(e=c(e));var h,d=this,p="application/octet-stream"===e.type,v=function(){!function(t,e,n){for(var r=(e=[].concat(e)).length;r--;){var i=t["on"+e[r]];if("function"==typeof i)try{i.call(t,n||t)}catch(t){u(t)}}}(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,i)return h=n().createObjectURL(e),void setTimeout(function(){var t,e;r.href=h,r.download=l,t=r,e=new MouseEvent("click"),t.dispatchEvent(e),v(),s(h),d.readyState=d.DONE});!function(){if((a||p&&o)&&t.FileReader){var r=new FileReader;return r.onloadend=function(){var e=a?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=void 0,d.readyState=d.DONE,v()},r.readAsDataURL(e),void(d.readyState=d.INIT)}h||(h=n().createObjectURL(e)),p?t.location.href=h:t.open(h,"_blank")||(t.location.href=h);d.readyState=d.DONE,v(),s(h)}()},f=l.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=c(t)),navigator.msSaveOrOpenBlob(t,e)}:(f.abort=function(){},f.readyState=f.INIT=0,f.WRITING=1,f.DONE=2,f.error=f.onwritestart=f.onprogress=f.onwrite=f.onabort=f.onerror=f.onwriteend=null,function(t,e,n){return new l(t,e||t.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content); /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */t.exports?t.exports.saveAs=i:null!==n("B9Yq")&&null!==n("PDX0")&&(void 0===(r=function(){return i}.call(e,n,e,t))||(t.exports=r))},JHRd:function(t,e,n){var r=n("Kz5y").Uint8Array;t.exports=r},JHXx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return r.default.createElement("div",{className:"react-calendar__decade-view"},r.default.createElement(i.default,t))};var r=o(n("q1tI")),i=o(n("fTiW"));function o(t){return t&&t.__esModule?t:{default:t}}},JHgL:function(t,e,n){var r=n("QkVE");t.exports=function(t){return r(this,t).get(t)}},JI00:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Chrome=void 0;var r=f(n("q1tI")),i=f(n("17x9")),o=f(n("/FUP")),a=f(n("QkVN")),u=n("TM95"),s=f(n("Rkpk")),c=f(n("NSvM")),l=f(n("tu5P"));function f(t){return t&&t.__esModule?t:{default:t}}var h=e.Chrome=function(t){var e=t.onChange,n=t.disableAlpha,i=t.rgb,f=t.hsl,h=t.hsv,d=t.hex,p=t.renderers,v=t.styles,g=void 0===v?{}:v,y=t.className,m=void 0===y?"":y,b=(0,o.default)((0,a.default)({default:{picker:{background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",width:"225px",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},g),{disableAlpha:n});return r.default.createElement("div",{style:b.picker,className:"chrome-picker "+m},r.default.createElement("div",{style:b.saturation},r.default.createElement(u.Saturation,{style:b.Saturation,hsl:f,hsv:h,pointer:l.default,onChange:e})),r.default.createElement("div",{style:b.body},r.default.createElement("div",{style:b.controls,className:"flexbox-fix"},r.default.createElement("div",{style:b.color},r.default.createElement("div",{style:b.swatch},r.default.createElement("div",{style:b.active}),r.default.createElement(u.Checkboard,{renderers:p}))),r.default.createElement("div",{style:b.toggles},r.default.createElement("div",{style:b.hue},r.default.createElement(u.Hue,{style:b.Hue,hsl:f,pointer:c.default,onChange:e})),r.default.createElement("div",{style:b.alpha},r.default.createElement(u.Alpha,{style:b.Alpha,rgb:i,hsl:f,pointer:c.default,renderers:p,onChange:e})))),r.default.createElement(s.default,{rgb:i,hsl:f,hex:d,onChange:e,disableAlpha:n})))};h.propTypes={disableAlpha:i.default.bool,styles:i.default.object},h.defaultProps={disableAlpha:!1,styles:{}},e.default=(0,u.ColorWrap)(h)},JPcv:function(t,e,n){t.exports=function(){"use strict";var t=Array.prototype.slice;function e(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function n(t){return a(t)?t:G(t)}function r(t){return u(t)?t:Y(t)}function i(t){return s(t)?t:X(t)}function o(t){return a(t)&&!c(t)?t:K(t)}function a(t){return!(!t||!t[f])}function u(t){return!(!t||!t[h])}function s(t){return!(!t||!t[d])}function c(t){return u(t)||s(t)}function l(t){return!(!t||!t[p])}e(r,n),e(i,n),e(o,n),n.isIterable=a,n.isKeyed=u,n.isIndexed=s,n.isAssociative=c,n.isOrdered=l,n.Keyed=r,n.Indexed=i,n.Set=o;var f="@@__IMMUTABLE_ITERABLE__@@",h="@@__IMMUTABLE_KEYED__@@",d="@@__IMMUTABLE_INDEXED__@@",p="@@__IMMUTABLE_ORDERED__@@",v=5,g=1<<v,y=g-1,m={},b={value:!1},x={value:!1};function w(t){return t.value=!1,t}function _(t){t&&(t.value=!0)}function S(){}function k(t,e){e=e||0;for(var n=Math.max(0,t.length-e),r=new Array(n),i=0;i<n;i++)r[i]=t[i+e];return r}function E(t){return void 0===t.size&&(t.size=t.__iterate(C)),t.size}function O(t,e){if("number"!=typeof e){var n=e>>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?E(t)+e:e}function C(){return!0}function A(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function T(t,e){return P(t,e,0)}function M(t,e){return P(t,e,e)}function P(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}var j=0,D=1,I=2,N="function"==typeof Symbol&&Symbol.iterator,F="@@iterator",R=N||F;function L(t){this.next=t}function B(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function z(){return{value:void 0,done:!0}}function V(t){return!!W(t)}function U(t){return t&&"function"==typeof t.next}function H(t){var e=W(t);return e&&e.call(t)}function W(t){var e=t&&(N&&t[N]||t[F]);if("function"==typeof e)return e}function q(t){return t&&"number"==typeof t.length}function G(t){return null==t?ot():a(t)?t.toSeq():function(t){var e=st(t)||"object"==typeof t&&new et(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}(t)}function Y(t){return null==t?ot().toKeyedSeq():a(t)?u(t)?t.toSeq():t.fromEntrySeq():at(t)}function X(t){return null==t?ot():a(t)?u(t)?t.entrySeq():t.toIndexedSeq():ut(t)}function K(t){return(null==t?ot():a(t)?u(t)?t.entrySeq():t:ut(t)).toSetSeq()}L.prototype.toString=function(){return"[Iterator]"},L.KEYS=j,L.VALUES=D,L.ENTRIES=I,L.prototype.inspect=L.prototype.toSource=function(){return this.toString()},L.prototype[R]=function(){return this},e(G,n),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(t,e){return ct(this,t,e,!0)},G.prototype.__iterator=function(t,e){return lt(this,t,e,!0)},e(Y,G),Y.prototype.toKeyedSeq=function(){return this},e(X,G),X.of=function(){return X(arguments)},X.prototype.toIndexedSeq=function(){return this},X.prototype.toString=function(){return this.__toString("Seq [","]")},X.prototype.__iterate=function(t,e){return ct(this,t,e,!1)},X.prototype.__iterator=function(t,e){return lt(this,t,e,!1)},e(K,G),K.of=function(){return K(arguments)},K.prototype.toSetSeq=function(){return this},G.isSeq=it,G.Keyed=Y,G.Set=K,G.Indexed=X;var $,Z,J,Q="@@__IMMUTABLE_SEQ__@@";function tt(t){this._array=t,this.size=t.length}function et(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function nt(t){this._iterable=t,this.size=t.length||t.size}function rt(t){this._iterator=t,this._iteratorCache=[]}function it(t){return!(!t||!t[Q])}function ot(){return $||($=new tt([]))}function at(t){var e=Array.isArray(t)?new tt(t).fromEntrySeq():U(t)?new rt(t).fromEntrySeq():V(t)?new nt(t).fromEntrySeq():"object"==typeof t?new et(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function ut(t){var e=st(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function st(t){return q(t)?new tt(t):U(t)?new rt(t):V(t)?new nt(t):void 0}function ct(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var u=i[n?o-a:a];if(!1===e(u[1],r?u[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function lt(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new L(function(){var t=i[n?o-a:a];return a++>o?{value:void 0,done:!0}:B(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function ft(t,e){return e?function t(e,n,r,i){return Array.isArray(n)?e.call(i,r,X(n).map(function(r,i){return t(e,r,i,n)})):dt(n)?e.call(i,r,Y(n).map(function(r,i){return t(e,r,i,n)})):n}(e,t,"",{"":t}):ht(t)}function ht(t){return Array.isArray(t)?X(t).map(ht).toList():dt(t)?Y(t).map(ht).toMap():t}function dt(t){return t&&(t.constructor===Object||void 0===t.constructor)}function pt(t,e){if(t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!=t&&e!=e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function vt(t,e){if(t===e)return!0;if(!a(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||u(t)!==u(e)||s(t)!==s(e)||l(t)!==l(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!c(t);if(l(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&pt(i[1],t)&&(n||pt(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var o=t;t=e,e=o}var f=!0,h=e.__iterate(function(e,r){if(n?!t.has(e):i?!pt(e,t.get(r,m)):!pt(t.get(r,m),e))return f=!1,!1});return f&&t.size===h}function gt(t,e){if(!(this instanceof gt))return new gt(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Z)return Z;Z=this}}function yt(t,e){if(!t)throw new Error(e)}function mt(t,e,n){if(!(this instanceof mt))return new mt(t,e,n);if(yt(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e<t&&(n=-n),this._start=t,this._end=e,this._step=n,this.size=Math.max(0,Math.ceil((e-t)/n-1)+1),0===this.size){if(J)return J;J=this}}function bt(){throw TypeError("Abstract")}function xt(){}function wt(){}function _t(){}G.prototype[Q]=!0,e(tt,X),tt.prototype.get=function(t,e){return this.has(t)?this._array[O(this,t)]:e},tt.prototype.__iterate=function(t,e){for(var n=this._array,r=n.length-1,i=0;i<=r;i++)if(!1===t(n[e?r-i:i],i,this))return i+1;return i},tt.prototype.__iterator=function(t,e){var n=this._array,r=n.length-1,i=0;return new L(function(){return i>r?{value:void 0,done:!0}:B(t,i,n[e?r-i++:i++])})},e(et,Y),et.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},et.prototype.has=function(t){return this._object.hasOwnProperty(t)},et.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[e?i-o:o];if(!1===t(n[a],a,this))return o+1}return o},et.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new L(function(){var a=r[e?i-o:o];return o++>i?{value:void 0,done:!0}:B(t,a,n[a])})},et.prototype[p]=!0,e(nt,X),nt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=H(n),i=0;if(U(r))for(var o;!(o=r.next()).done&&!1!==t(o.value,i++,this););return i},nt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=H(n);if(!U(r))return new L(z);var i=0;return new L(function(){var e=r.next();return e.done?e:B(t,i++,e.value)})},e(rt,X),rt.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n,r=this._iterator,i=this._iteratorCache,o=0;o<i.length;)if(!1===t(i[o],o++,this))return o;for(;!(n=r.next()).done;){var a=n.value;if(i[o]=a,!1===t(a,o++,this))break}return o},rt.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterator,r=this._iteratorCache,i=0;return new L(function(){if(i>=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return B(t,i,r[i++])})},e(gt,X),gt.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},gt.prototype.get=function(t,e){return this.has(t)?this._value:e},gt.prototype.includes=function(t){return pt(this._value,t)},gt.prototype.slice=function(t,e){var n=this.size;return A(t,e,n)?this:new gt(this._value,M(e,n)-T(t,n))},gt.prototype.reverse=function(){return this},gt.prototype.indexOf=function(t){return pt(this._value,t)?0:-1},gt.prototype.lastIndexOf=function(t){return pt(this._value,t)?this.size:-1},gt.prototype.__iterate=function(t,e){for(var n=0;n<this.size;n++)if(!1===t(this._value,n,this))return n+1;return n},gt.prototype.__iterator=function(t,e){var n=this,r=0;return new L(function(){return r<n.size?B(t,r++,n._value):{value:void 0,done:!0}})},gt.prototype.equals=function(t){return t instanceof gt?pt(this._value,t._value):vt(t)},e(mt,X),mt.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},mt.prototype.get=function(t,e){return this.has(t)?this._start+O(this,t)*this._step:e},mt.prototype.includes=function(t){var e=(t-this._start)/this._step;return e>=0&&e<this.size&&e===Math.floor(e)},mt.prototype.slice=function(t,e){return A(t,e,this.size)?this:(t=T(t,this.size),(e=M(e,this.size))<=t?new mt(0,0):new mt(this.get(t,this._end),this.get(e,this._end),this._step))},mt.prototype.indexOf=function(t){var e=t-this._start;if(e%this._step==0){var n=e/this._step;if(n>=0&&n<this.size)return n}return-1},mt.prototype.lastIndexOf=function(t){return this.indexOf(t)},mt.prototype.__iterate=function(t,e){for(var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;o<=n;o++){if(!1===t(i,o,this))return o+1;i+=e?-r:r}return o},mt.prototype.__iterator=function(t,e){var n=this.size-1,r=this._step,i=e?this._start+n*r:this._start,o=0;return new L(function(){var a=i;return i+=e?-r:r,o>n?{value:void 0,done:!0}:B(t,o++,a)})},mt.prototype.equals=function(t){return t instanceof mt?this._start===t._start&&this._end===t._end&&this._step===t._step:vt(this,t)},e(bt,n),e(xt,bt),e(wt,bt),e(_t,bt),bt.Keyed=xt,bt.Indexed=wt,bt.Set=_t;var St="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){var n=65535&(t|=0),r=65535&(e|=0);return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0};function kt(t){return t>>>1&1073741824|3221225471&t}function Et(t){if(!1===t||null==t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null==t))return 0;if(!0===t)return 1;var e,n,r=typeof t;if("number"===r){if(t!=t||t===1/0)return 0;var i=0|t;for(i!==t&&(i^=4294967295*t);t>4294967295;)i^=t/=4294967295;return kt(i)}if("string"===r)return t.length>Dt?(void 0===(n=Ft[e=t])&&(n=Ot(e),Nt===It&&(Nt=0,Ft={}),Nt++,Ft[e]=n),n):Ot(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===r)return function(t){var e;if(Mt&&void 0!==(e=Ct.get(t)))return e;if(void 0!==(e=t[jt]))return e;if(!Tt){if(void 0!==(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[jt]))return e;if(void 0!==(e=function(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}(t)))return e}if(e=++Pt,1073741824&Pt&&(Pt=0),Mt)Ct.set(t,e);else{if(void 0!==At&&!1===At(t))throw new Error("Non-extensible objects are not allowed as keys.");if(Tt)Object.defineProperty(t,jt,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[jt]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[jt]=e}}return e}(t);if("function"==typeof t.toString)return Ot(t.toString());throw new Error("Value type "+r+" cannot be hashed.")}function Ot(t){for(var e=0,n=0;n<t.length;n++)e=31*e+t.charCodeAt(n)|0;return kt(e)}var Ct,At=Object.isExtensible,Tt=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),Mt="function"==typeof WeakMap;Mt&&(Ct=new WeakMap);var Pt=0,jt="__immutablehash__";"function"==typeof Symbol&&(jt=Symbol(jt));var Dt=16,It=255,Nt=0,Ft={};function Rt(t){yt(t!==1/0,"Cannot perform this action with an infinite size.")}function Lt(t){return null==t?Jt():Bt(t)&&!l(t)?t:Jt().withMutations(function(e){var n=r(t);Rt(n.size),n.forEach(function(t,n){return e.set(n,t)})})}function Bt(t){return!(!t||!t[Vt])}e(Lt,xt),Lt.of=function(){var e=t.call(arguments,0);return Jt().withMutations(function(t){for(var n=0;n<e.length;n+=2){if(n+1>=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},Lt.prototype.toString=function(){return this.__toString("Map {","}")},Lt.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},Lt.prototype.set=function(t,e){return Qt(this,t,e)},Lt.prototype.setIn=function(t,e){return this.updateIn(t,m,function(){return e})},Lt.prototype.remove=function(t){return Qt(this,t,m)},Lt.prototype.deleteIn=function(t){return this.updateIn(t,function(){return m})},Lt.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},Lt.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=function t(e,n,r,i){var o=e===m,a=n.next();if(a.done){var u=o?r:e,s=i(u);return s===u?e:s}yt(o||e&&e.set,"invalid keyPath");var c=a.value,l=o?m:e.get(c,m),f=t(l,n,r,i);return f===l?e:f===m?e.remove(c):(o?Jt():e).set(c,f)}(this,nn(t),e,n);return r===m?void 0:r},Lt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Jt()},Lt.prototype.merge=function(){return re(this,void 0,arguments)},Lt.prototype.mergeWith=function(e){var n=t.call(arguments,1);return re(this,e,n)},Lt.prototype.mergeIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Jt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,n):n[n.length-1]})},Lt.prototype.mergeDeep=function(){return re(this,ie,arguments)},Lt.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return re(this,oe(e),n)},Lt.prototype.mergeDeepIn=function(e){var n=t.call(arguments,1);return this.updateIn(e,Jt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,n):n[n.length-1]})},Lt.prototype.sort=function(t){return Te(qe(this,t))},Lt.prototype.sortBy=function(t,e){return Te(qe(this,e,t))},Lt.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},Lt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new S)},Lt.prototype.asImmutable=function(){return this.__ensureOwner()},Lt.prototype.wasAltered=function(){return this.__altered},Lt.prototype.__iterator=function(t,e){return new Xt(this,t,e)},Lt.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},Lt.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Zt(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},Lt.isMap=Bt;var zt,Vt="@@__IMMUTABLE_MAP__@@",Ut=Lt.prototype;function Ht(t,e){this.ownerID=t,this.entries=e}function Wt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function qt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function Gt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function Yt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function Xt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&$t(t._root)}function Kt(t,e){return B(t,e[0],e[1])}function $t(t,e){return{node:t,index:0,__prev:e}}function Zt(t,e,n,r){var i=Object.create(Ut);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function Jt(){return zt||(zt=Zt(0))}function Qt(t,e,n){var r,i;if(t._root){var o=w(b),a=w(x);if(r=te(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===m?-1:1:0)}else{if(n===m)return t;i=1,r=new Ht(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?Zt(i,r):Jt()}function te(t,e,n,r,i,o,a,u){return t?t.update(e,n,r,i,o,a,u):o===m?t:(_(u),_(a),new Yt(e,r,[i,o]))}function ee(t){return t.constructor===Yt||t.constructor===Gt}function ne(t,e,n,r,i){if(t.keyHash===r)return new Gt(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&y,u=(0===n?r:r>>>n)&y,s=a===u?[ne(t,e,n+v,r,i)]:(o=new Yt(e,r,i),a<u?[t,o]:[o,t]);return new Wt(e,1<<a|1<<u,s)}function re(t,e,n){for(var i=[],o=0;o<n.length;o++){var u=n[o],s=r(u);a(u)||(s=s.map(function(t){return ft(t)})),i.push(s)}return ae(t,e,i)}function ie(t,e,n){return t&&t.mergeDeep&&a(e)?t.mergeDeep(e):pt(t,e)?t:e}function oe(t){return function(e,n,r){if(e&&e.mergeDeepWith&&a(n))return e.mergeDeepWith(t,n);var i=t(e,n,r);return pt(e,i)?e:i}}function ae(t,e,n){return 0===(n=n.filter(function(t){return 0!==t.size})).length?t:0!==t.size||t.__ownerID||1!==n.length?t.withMutations(function(t){for(var r=e?function(n,r){t.update(r,m,function(t){return t===m?n:e(t,n,r)})}:function(e,n){t.set(n,e)},i=0;i<n.length;i++)n[i].forEach(r)}):t.constructor(n[0])}function ue(t){return t=(t=(858993459&(t-=t>>1&1431655765))+(t>>2&858993459))+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function se(t,e,n,r){var i=r?t:k(t);return i[e]=n,i}Ut[Vt]=!0,Ut.delete=Ut.remove,Ut.removeIn=Ut.deleteIn,Ht.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(pt(n,i[o][0]))return i[o][1];return r},Ht.prototype.update=function(t,e,n,r,i,o,a){for(var u=i===m,s=this.entries,c=0,l=s.length;c<l&&!pt(r,s[c][0]);c++);var f=c<l;if(f?s[c][1]===i:u)return this;if(_(a),(u||!f)&&_(o),!u||1!==s.length){if(!f&&!u&&s.length>=ce)return function(t,e,n,r){t||(t=new S);for(var i=new Yt(t,Et(n),[n,r]),o=0;o<e.length;o++){var a=e[o];i=i.update(t,0,void 0,a[0],a[1])}return i}(t,s,r,i);var h=t&&t===this.ownerID,d=h?s:k(s);return f?u?c===l-1?d.pop():d[c]=d.pop():d[c]=[r,i]:d.push([r,i]),h?(this.entries=d,this):new Ht(t,d)}},Wt.prototype.get=function(t,e,n,r){void 0===e&&(e=Et(n));var i=1<<((0===t?e:e>>>t)&y),o=this.bitmap;return 0==(o&i)?r:this.nodes[ue(o&i-1)].get(t+v,e,n,r)},Wt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=Et(r));var u=(0===e?n:n>>>e)&y,s=1<<u,c=this.bitmap,l=0!=(c&s);if(!l&&i===m)return this;var f=ue(c&s-1),h=this.nodes,d=l?h[f]:void 0,p=te(d,t,e+v,n,r,i,o,a);if(p===d)return this;if(!l&&p&&h.length>=le)return function(t,e,n,r,i){for(var o=0,a=new Array(g),u=0;0!==n;u++,n>>>=1)a[u]=1&n?e[o++]:void 0;return a[r]=i,new qt(t,o+1,a)}(t,h,c,u,p);if(l&&!p&&2===h.length&&ee(h[1^f]))return h[1^f];if(l&&p&&1===h.length&&ee(p))return p;var b=t&&t===this.ownerID,x=l?p?c:c^s:c|s,w=l?p?se(h,f,p,b):function(t,e,n){var r=t.length-1;if(n&&e===r)return t.pop(),t;for(var i=new Array(r),o=0,a=0;a<r;a++)a===e&&(o=1),i[a]=t[a+o];return i}(h,f,b):function(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,u=0;u<i;u++)u===e?(o[u]=n,a=-1):o[u]=t[u+a];return o}(h,f,p,b);return b?(this.bitmap=x,this.nodes=w,this):new Wt(t,x,w)},qt.prototype.get=function(t,e,n,r){void 0===e&&(e=Et(n));var i=(0===t?e:e>>>t)&y,o=this.nodes[i];return o?o.get(t+v,e,n,r):r},qt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=Et(r));var u=(0===e?n:n>>>e)&y,s=i===m,c=this.nodes,l=c[u];if(s&&!l)return this;var f=te(l,t,e+v,n,r,i,o,a);if(f===l)return this;var h=this.count;if(l){if(!f&&--h<fe)return function(t,e,n,r){for(var i=0,o=0,a=new Array(n),u=0,s=1,c=e.length;u<c;u++,s<<=1){var l=e[u];void 0!==l&&u!==r&&(i|=s,a[o++]=l)}return new Wt(t,i,a)}(t,c,h,u)}else h++;var d=t&&t===this.ownerID,p=se(c,u,f,d);return d?(this.count=h,this.nodes=p,this):new qt(t,h,p)},Gt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o<a;o++)if(pt(n,i[o][0]))return i[o][1];return r},Gt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=Et(r));var u=i===m;if(n!==this.keyHash)return u?this:(_(a),_(o),ne(this,t,e,n,[r,i]));for(var s=this.entries,c=0,l=s.length;c<l&&!pt(r,s[c][0]);c++);var f=c<l;if(f?s[c][1]===i:u)return this;if(_(a),(u||!f)&&_(o),u&&2===l)return new Yt(t,this.keyHash,s[1^c]);var h=t&&t===this.ownerID,d=h?s:k(s);return f?u?c===l-1?d.pop():d[c]=d.pop():d[c]=[r,i]:d.push([r,i]),h?(this.entries=d,this):new Gt(t,this.keyHash,d)},Yt.prototype.get=function(t,e,n,r){return pt(n,this.entry[0])?this.entry[1]:r},Yt.prototype.update=function(t,e,n,r,i,o,a){var u=i===m,s=pt(r,this.entry[0]);return(s?i===this.entry[1]:u)?this:(_(a),u?void _(o):s?t&&t===this.ownerID?(this.entry[1]=i,this):new Yt(t,this.keyHash,[r,i]):(_(o),ne(this,t,e,Et(r),[r,i])))},Ht.prototype.iterate=Gt.prototype.iterate=function(t,e){for(var n=this.entries,r=0,i=n.length-1;r<=i;r++)if(!1===t(n[e?i-r:r]))return!1},Wt.prototype.iterate=qt.prototype.iterate=function(t,e){for(var n=this.nodes,r=0,i=n.length-1;r<=i;r++){var o=n[e?i-r:r];if(o&&!1===o.iterate(t,e))return!1}},Yt.prototype.iterate=function(t,e){return t(this.entry)},e(Xt,L),Xt.prototype.next=function(){for(var t=this._type,e=this._stack;e;){var n,r=e.node,i=e.index++;if(r.entry){if(0===i)return Kt(t,r.entry)}else if(r.entries){if(n=r.entries.length-1,i<=n)return Kt(t,r.entries[this._reverse?n-i:i])}else if(n=r.nodes.length-1,i<=n){var o=r.nodes[this._reverse?n-i:i];if(o){if(o.entry)return Kt(t,o.entry);e=this._stack=$t(o,e)}continue}e=this._stack=this._stack.__prev}return{value:void 0,done:!0}};var ce=g/4,le=g/2,fe=g/4;function he(t){var e=_e();if(null==t)return e;if(de(t))return t;var n=i(t),r=n.size;return 0===r?e:(Rt(r),r>0&&r<g?we(0,r,v,null,new ge(n.toArray())):e.withMutations(function(t){t.setSize(r),n.forEach(function(e,n){return t.set(n,e)})}))}function de(t){return!(!t||!t[pe])}e(he,wt),he.of=function(){return this(arguments)},he.prototype.toString=function(){return this.__toString("List [","]")},he.prototype.get=function(t,e){if((t=O(this,t))>=0&&t<this.size){var n=Ee(this,t+=this._origin);return n&&n.array[t&y]}return e},he.prototype.set=function(t,e){return function(t,e,n){if((e=O(t,e))!=e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Oe(t,e).set(0,n):Oe(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=w(x);return e>=Ae(t._capacity)?r=Se(r,t.__ownerID,0,e,n,o):i=Se(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):we(t._origin,t._capacity,t._level,i,r):t}(this,t,e)},he.prototype.remove=function(t){return this.has(t)?0===t?this.shift():t===this.size-1?this.pop():this.splice(t,1):this},he.prototype.insert=function(t,e){return this.splice(t,0,e)},he.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=v,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):_e()},he.prototype.push=function(){var t=arguments,e=this.size;return this.withMutations(function(n){Oe(n,0,e+t.length);for(var r=0;r<t.length;r++)n.set(e+r,t[r])})},he.prototype.pop=function(){return Oe(this,0,-1)},he.prototype.unshift=function(){var t=arguments;return this.withMutations(function(e){Oe(e,-t.length);for(var n=0;n<t.length;n++)e.set(n,t[n])})},he.prototype.shift=function(){return Oe(this,1)},he.prototype.merge=function(){return Ce(this,void 0,arguments)},he.prototype.mergeWith=function(e){var n=t.call(arguments,1);return Ce(this,e,n)},he.prototype.mergeDeep=function(){return Ce(this,ie,arguments)},he.prototype.mergeDeepWith=function(e){var n=t.call(arguments,1);return Ce(this,oe(e),n)},he.prototype.setSize=function(t){return Oe(this,0,t)},he.prototype.slice=function(t,e){var n=this.size;return A(t,e,n)?this:Oe(this,T(t,n),M(e,n))},he.prototype.__iterator=function(t,e){var n=0,r=xe(this,e);return new L(function(){var e=r();return e===be?{value:void 0,done:!0}:B(t,n++,e)})},he.prototype.__iterate=function(t,e){for(var n,r=0,i=xe(this,e);(n=i())!==be&&!1!==t(n,r++,this););return r},he.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?we(this._origin,this._capacity,this._level,this._root,this._tail,t,this.__hash):(this.__ownerID=t,this)},he.isList=de;var pe="@@__IMMUTABLE_LIST__@@",ve=he.prototype;function ge(t,e){this.array=t,this.ownerID=e}ve[pe]=!0,ve.delete=ve.remove,ve.setIn=Ut.setIn,ve.deleteIn=ve.removeIn=Ut.removeIn,ve.update=Ut.update,ve.updateIn=Ut.updateIn,ve.mergeIn=Ut.mergeIn,ve.mergeDeepIn=Ut.mergeDeepIn,ve.withMutations=Ut.withMutations,ve.asMutable=Ut.asMutable,ve.asImmutable=Ut.asImmutable,ve.wasAltered=Ut.wasAltered,ge.prototype.removeBefore=function(t,e,n){if(n===e?1<<e:0===this.array.length)return this;var r=n>>>e&y;if(r>=this.array.length)return new ge([],t);var i,o=0===r;if(e>0){var a=this.array[r];if((i=a&&a.removeBefore(t,e-v,n))===a&&o)return this}if(o&&!i)return this;var u=ke(this,t);if(!o)for(var s=0;s<r;s++)u.array[s]=void 0;return i&&(u.array[r]=i),u},ge.prototype.removeAfter=function(t,e,n){if(n===(e?1<<e:0)||0===this.array.length)return this;var r,i=n-1>>>e&y;if(i>=this.array.length)return this;if(e>0){var o=this.array[i];if((r=o&&o.removeAfter(t,e-v,n))===o&&i===this.array.length-1)return this}var a=ke(this,t);return a.array.splice(i+1),r&&(a.array[i]=r),a};var ye,me,be={};function xe(t,e){var n=t._origin,r=t._capacity,i=Ae(r),o=t._tail;return a(t._root,t._level,0);function a(t,u,s){return 0===u?function(t,a){var u=a===i?o&&o.array:t&&t.array,s=a>n?0:n-a,c=r-a;return c>g&&(c=g),function(){if(s===c)return be;var t=e?--c:s++;return u&&u[t]}}(t,s):function(t,i,o){var u,s=t&&t.array,c=o>n?0:n-o>>i,l=1+(r-o>>i);return l>g&&(l=g),function(){for(;;){if(u){var t=u();if(t!==be)return t;u=null}if(c===l)return be;var n=e?--l:c++;u=a(s&&s[n],i-v,o+(n<<i))}}}(t,u,s)}}function we(t,e,n,r,i,o,a){var u=Object.create(ve);return u.size=e-t,u._origin=t,u._capacity=e,u._level=n,u._root=r,u._tail=i,u.__ownerID=o,u.__hash=a,u.__altered=!1,u}function _e(){return ye||(ye=we(0,0,v))}function Se(t,e,n,r,i,o){var a,u=r>>>n&y,s=t&&u<t.array.length;if(!s&&void 0===i)return t;if(n>0){var c=t&&t.array[u],l=Se(c,e,n-v,r,i,o);return l===c?t:((a=ke(t,e)).array[u]=l,a)}return s&&t.array[u]===i?t:(_(o),a=ke(t,e),void 0===i&&u===a.array.length-1?a.array.pop():a.array[u]=i,a)}function ke(t,e){return e&&t&&e===t.ownerID?t:new ge(t?t.array.slice():[],e)}function Ee(t,e){if(e>=Ae(t._capacity))return t._tail;if(e<1<<t._level+v){for(var n=t._root,r=t._level;n&&r>0;)n=n.array[e>>>r&y],r-=v;return n}}function Oe(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new S,i=t._origin,o=t._capacity,a=i+e,u=void 0===n?o:n<0?o+n:i+n;if(a===i&&u===o)return t;if(a>=u)return t.clear();for(var s=t._level,c=t._root,l=0;a+l<0;)c=new ge(c&&c.array.length?[void 0,c]:[],r),l+=1<<(s+=v);l&&(a+=l,i+=l,u+=l,o+=l);for(var f=Ae(o),h=Ae(u);h>=1<<s+v;)c=new ge(c&&c.array.length?[c]:[],r),s+=v;var d=t._tail,p=h<f?Ee(t,u-1):h>f?new ge([],r):d;if(d&&h>f&&a<o&&d.array.length){for(var g=c=ke(c,r),m=s;m>v;m-=v){var b=f>>>m&y;g=g.array[b]=ke(g.array[b],r)}g.array[f>>>v&y]=d}if(u<o&&(p=p&&p.removeAfter(r,0,u)),a>=h)a-=h,u-=h,s=v,c=null,p=p&&p.removeBefore(r,0,a);else if(a>i||h<f){for(l=0;c;){var x=a>>>s&y;if(x!==h>>>s&y)break;x&&(l+=(1<<s)*x),s-=v,c=c.array[x]}c&&a>i&&(c=c.removeBefore(r,s,a-l)),c&&h<f&&(c=c.removeAfter(r,s,h-l)),l&&(a-=l,u-=l)}return t.__ownerID?(t.size=u-a,t._origin=a,t._capacity=u,t._level=s,t._root=c,t._tail=p,t.__hash=void 0,t.__altered=!0,t):we(a,u,s,c,p)}function Ce(t,e,n){for(var r=[],o=0,u=0;u<n.length;u++){var s=n[u],c=i(s);c.size>o&&(o=c.size),a(s)||(c=c.map(function(t){return ft(t)})),r.push(c)}return o>t.size&&(t=t.setSize(o)),ae(t,e,r)}function Ae(t){return t<g?0:t-1>>>v<<v}function Te(t){return null==t?je():Me(t)?t:je().withMutations(function(e){var n=r(t);Rt(n.size),n.forEach(function(t,n){return e.set(n,t)})})}function Me(t){return Bt(t)&&l(t)}function Pe(t,e,n,r){var i=Object.create(Te.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=n,i.__hash=r,i}function je(){return me||(me=Pe(Jt(),_e()))}function De(t,e,n){var r,i,o=t._map,a=t._list,u=o.get(e),s=void 0!==u;if(n===m){if(!s)return t;a.size>=g&&a.size>=2*o.size?(i=a.filter(function(t,e){return void 0!==t&&u!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=u===a.size-1?a.pop():a.set(u,void 0))}else if(s){if(n===a.get(u)[1])return t;r=o,i=a.set(u,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):Pe(r,i)}function Ie(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function Ne(t){this._iter=t,this.size=t.size}function Fe(t){this._iter=t,this.size=t.size}function Re(t){this._iter=t,this.size=t.size}function Le(t){var e=Qe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=tn,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===I){var r=t.__iterator(e,n);return new L(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===D?j:D,n)},e}function Be(t,e,n){var r=Qe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,m);return o===m?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return!1!==r(e.call(n,t,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(I,i);return new L(function(){var i=o.next();if(i.done)return i;var a=i.value,u=a[0];return B(r,u,e.call(n,a[1],u,t),i)})},r}function ze(t,e){var n=Qe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=Le(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=tn,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function Ve(t,e,n,r){var i=Qe(t);return r&&(i.has=function(r){var i=t.get(r,m);return i!==m&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,m);return o!==m&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,u=0;return t.__iterate(function(t,o,s){if(e.call(n,t,o,s))return u++,i(t,r?o:u-1,a)},o),u},i.__iteratorUncached=function(i,o){var a=t.__iterator(I,o),u=0;return new L(function(){for(;;){var o=a.next();if(o.done)return o;var s=o.value,c=s[0],l=s[1];if(e.call(n,l,c,t))return B(i,r?c:u++,l,o)}})},i}function Ue(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=i:n|=0),A(e,n,i))return t;var o=T(e,i),a=M(n,i);if(o!=o||a!=a)return Ue(t.toSeq().cacheResult(),e,n,r);var u,s=a-o;s==s&&(u=s<0?0:s);var c=Qe(t);return c.size=0===u?u:t.size&&u||void 0,!r&&it(t)&&u>=0&&(c.get=function(e,n){return(e=O(this,e))>=0&&e<u?t.get(e+o,n):n}),c.__iterateUncached=function(e,n){var i=this;if(0===u)return 0;if(n)return this.cacheResult().__iterate(e,n);var a=0,s=!0,c=0;return t.__iterate(function(t,n){if(!s||!(s=a++<o))return c++,!1!==e(t,r?n:c-1,i)&&c!==u}),c},c.__iteratorUncached=function(e,n){if(0!==u&&n)return this.cacheResult().__iterator(e,n);var i=0!==u&&t.__iterator(e,n),a=0,s=0;return new L(function(){for(;a++<o;)i.next();if(++s>u)return{value:void 0,done:!0};var t=i.next();return r||e===D?t:B(e,s-1,e===j?void 0:t.value[1],t)})},c}function He(t,e,n,r){var i=Qe(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var u=!0,s=0;return t.__iterate(function(t,o,c){if(!u||!(u=e.call(n,t,o,c)))return s++,i(t,r?o:s-1,a)}),s},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var u=t.__iterator(I,o),s=!0,c=0;return new L(function(){var t,o,l;do{if((t=u.next()).done)return r||i===D?t:B(i,c++,i===j?void 0:t.value[1],t);var f=t.value;o=f[0],l=f[1],s&&(s=e.call(n,l,o,a))}while(s);return i===I?t:B(i,o,l,t)})},i}function We(t,e,n){var r=Qe(t);return r.__iterateUncached=function(r,i){var o=0,u=!1;return function t(s,c){var l=this;s.__iterate(function(i,s){return(!e||c<e)&&a(i)?t(i,c+1):!1===r(i,n?s:o++,l)&&(u=!0),!u},i)}(t,0),o},r.__iteratorUncached=function(r,i){var o=t.__iterator(r,i),u=[],s=0;return new L(function(){for(;o;){var t=o.next();if(!1===t.done){var c=t.value;if(r===I&&(c=c[1]),e&&!(u.length<e)||!a(c))return n?t:B(r,s++,c,t);u.push(o),o=c.__iterator(r,i)}else o=u.pop()}return{value:void 0,done:!0}})},r}function qe(t,e,n){e||(e=en);var r=u(t),i=0,o=t.toSeq().map(function(e,r){return[r,e,i++,n?n(e,r,t):e]}).toArray();return o.sort(function(t,n){return e(t[3],n[3])||t[2]-n[2]}).forEach(r?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),r?Y(o):s(t)?X(o):K(o)}function Ge(t,e,n){if(e||(e=en),n){var r=t.toSeq().map(function(e,r){return[e,n(e,r,t)]}).reduce(function(t,n){return Ye(e,t[1],n[1])?n:t});return r&&r[0]}return t.reduce(function(t,n){return Ye(e,t,n)?n:t})}function Ye(t,e,n){var r=t(n,e);return 0===r&&n!==e&&(null==n||n!=n)||r>0}function Xe(t,e,r){var i=Qe(t);return i.size=new tt(r).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(D,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map(function(t){return t=n(t),H(i?t.reverse():t)}),a=0,u=!1;return new L(function(){var n;return u||(n=o.map(function(t){return t.next()}),u=n.some(function(t){return t.done})),u?{value:void 0,done:!0}:B(t,a++,e.apply(null,n.map(function(t){return t.value})))})},i}function Ke(t,e){return it(t)?e:t.constructor(e)}function $e(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Ze(t){return Rt(t.size),E(t)}function Je(t){return u(t)?r:s(t)?i:o}function Qe(t){return Object.create((u(t)?Y:s(t)?X:K).prototype)}function tn(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):G.prototype.cacheResult.call(this)}function en(t,e){return t>e?1:t<e?-1:0}function nn(t){var e=H(t);if(!e){if(!q(t))throw new TypeError("Expected iterable or array-like: "+t);e=H(n(t))}return e}function rn(t,e){var n,r=function(o){if(o instanceof r)return o;if(!(this instanceof r))return new r(o);if(!n){n=!0;var a=Object.keys(t);!function(t,e){try{e.forEach(function(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){yt(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}.bind(void 0,t))}catch(t){}}(i,a),i.size=a.length,i._name=e,i._keys=a,i._defaultValues=t}this._map=Lt(o)},i=r.prototype=Object.create(on);return i.constructor=r,r}e(Te,Lt),Te.of=function(){return this(arguments)},Te.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Te.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Te.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):je()},Te.prototype.set=function(t,e){return De(this,t,e)},Te.prototype.remove=function(t){return De(this,t,m)},Te.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Te.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Te.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Te.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?Pe(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Te.isOrderedMap=Me,Te.prototype[p]=!0,Te.prototype.delete=Te.prototype.remove,e(Ie,Y),Ie.prototype.get=function(t,e){return this._iter.get(t,e)},Ie.prototype.has=function(t){return this._iter.has(t)},Ie.prototype.valueSeq=function(){return this._iter.valueSeq()},Ie.prototype.reverse=function(){var t=this,e=ze(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},Ie.prototype.map=function(t,e){var n=this,r=Be(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},Ie.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Ze(this):0,function(i){return t(i,e?--n:n++,r)}),e)},Ie.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(D,e),r=e?Ze(this):0;return new L(function(){var i=n.next();return i.done?i:B(t,e?--r:r++,i.value,i)})},Ie.prototype[p]=!0,e(Ne,X),Ne.prototype.includes=function(t){return this._iter.includes(t)},Ne.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},Ne.prototype.__iterator=function(t,e){var n=this._iter.__iterator(D,e),r=0;return new L(function(){var e=n.next();return e.done?e:B(t,r++,e.value,e)})},e(Fe,K),Fe.prototype.has=function(t){return this._iter.includes(t)},Fe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},Fe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(D,e);return new L(function(){var e=n.next();return e.done?e:B(t,e.value,e.value,e)})},e(Re,Y),Re.prototype.entrySeq=function(){return this._iter.toSeq()},Re.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){$e(e);var r=a(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},Re.prototype.__iterator=function(t,e){var n=this._iter.__iterator(D,e);return new L(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){$e(r);var i=a(r);return B(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},Ne.prototype.cacheResult=Ie.prototype.cacheResult=Fe.prototype.cacheResult=Re.prototype.cacheResult=tn,e(rn,xt),rn.prototype.toString=function(){return this.__toString(un(this)+" {","}")},rn.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},rn.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},rn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=an(this,Jt()))},rn.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+un(this));if(this._map&&!this._map.has(t)){var n=this._defaultValues[t];if(e===n)return this}var r=this._map&&this._map.set(t,e);return this.__ownerID||r===this._map?this:an(this,r)},rn.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:an(this,e)},rn.prototype.wasAltered=function(){return this._map.wasAltered()},rn.prototype.__iterator=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterator(t,e)},rn.prototype.__iterate=function(t,e){var n=this;return r(this._defaultValues).map(function(t,e){return n.get(e)}).__iterate(t,e)},rn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?an(this,e,t):(this.__ownerID=t,this._map=e,this)};var on=rn.prototype;function an(t,e,n){var r=Object.create(Object.getPrototypeOf(t));return r._map=e,r.__ownerID=n,r}function un(t){return t._name||t.constructor.name||"Record"}function sn(t){return null==t?vn():cn(t)&&!l(t)?t:vn().withMutations(function(e){var n=o(t);Rt(n.size),n.forEach(function(t){return e.add(t)})})}function cn(t){return!(!t||!t[fn])}on.delete=on.remove,on.deleteIn=on.removeIn=Ut.removeIn,on.merge=Ut.merge,on.mergeWith=Ut.mergeWith,on.mergeIn=Ut.mergeIn,on.mergeDeep=Ut.mergeDeep,on.mergeDeepWith=Ut.mergeDeepWith,on.mergeDeepIn=Ut.mergeDeepIn,on.setIn=Ut.setIn,on.update=Ut.update,on.updateIn=Ut.updateIn,on.withMutations=Ut.withMutations,on.asMutable=Ut.asMutable,on.asImmutable=Ut.asImmutable,e(sn,_t),sn.of=function(){return this(arguments)},sn.fromKeys=function(t){return this(r(t).keySeq())},sn.prototype.toString=function(){return this.__toString("Set {","}")},sn.prototype.has=function(t){return this._map.has(t)},sn.prototype.add=function(t){return dn(this,this._map.set(t,!0))},sn.prototype.remove=function(t){return dn(this,this._map.remove(t))},sn.prototype.clear=function(){return dn(this,this._map.clear())},sn.prototype.union=function(){var e=t.call(arguments,0);return 0===(e=e.filter(function(t){return 0!==t.size})).length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n<e.length;n++)o(e[n]).forEach(function(e){return t.add(e)})}):this.constructor(e[0])},sn.prototype.intersect=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return o(t)});var n=this;return this.withMutations(function(t){n.forEach(function(n){e.every(function(t){return t.includes(n)})||t.remove(n)})})},sn.prototype.subtract=function(){var e=t.call(arguments,0);if(0===e.length)return this;e=e.map(function(t){return o(t)});var n=this;return this.withMutations(function(t){n.forEach(function(n){e.some(function(t){return t.includes(n)})&&t.remove(n)})})},sn.prototype.merge=function(){return this.union.apply(this,arguments)},sn.prototype.mergeWith=function(e){var n=t.call(arguments,1);return this.union.apply(this,n)},sn.prototype.sort=function(t){return gn(qe(this,t))},sn.prototype.sortBy=function(t,e){return gn(qe(this,e,t))},sn.prototype.wasAltered=function(){return this._map.wasAltered()},sn.prototype.__iterate=function(t,e){var n=this;return this._map.__iterate(function(e,r){return t(r,r,n)},e)},sn.prototype.__iterator=function(t,e){return this._map.map(function(t,e){return e}).__iterator(t,e)},sn.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t);return t?this.__make(e,t):(this.__ownerID=t,this._map=e,this)},sn.isSet=cn;var ln,fn="@@__IMMUTABLE_SET__@@",hn=sn.prototype;function dn(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function pn(t,e){var n=Object.create(hn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function vn(){return ln||(ln=pn(Jt()))}function gn(t){return null==t?wn():yn(t)?t:wn().withMutations(function(e){var n=o(t);Rt(n.size),n.forEach(function(t){return e.add(t)})})}function yn(t){return cn(t)&&l(t)}hn[fn]=!0,hn.delete=hn.remove,hn.mergeDeep=hn.merge,hn.mergeDeepWith=hn.mergeWith,hn.withMutations=Ut.withMutations,hn.asMutable=Ut.asMutable,hn.asImmutable=Ut.asImmutable,hn.__empty=vn,hn.__make=pn,e(gn,sn),gn.of=function(){return this(arguments)},gn.fromKeys=function(t){return this(r(t).keySeq())},gn.prototype.toString=function(){return this.__toString("OrderedSet {","}")},gn.isOrderedSet=yn;var mn,bn=gn.prototype;function xn(t,e){var n=Object.create(bn);return n.size=t?t.size:0,n._map=t,n.__ownerID=e,n}function wn(){return mn||(mn=xn(je()))}function _n(t){return null==t?An():Sn(t)?t:An().unshiftAll(t)}function Sn(t){return!(!t||!t[En])}bn[p]=!0,bn.__empty=wn,bn.__make=xn,e(_n,wt),_n.of=function(){return this(arguments)},_n.prototype.toString=function(){return this.__toString("Stack [","]")},_n.prototype.get=function(t,e){var n=this._head;for(t=O(this,t);n&&t--;)n=n.next;return n?n.value:e},_n.prototype.peek=function(){return this._head&&this._head.value},_n.prototype.push=function(){if(0===arguments.length)return this;for(var t=this.size+arguments.length,e=this._head,n=arguments.length-1;n>=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Cn(t,e)},_n.prototype.pushAll=function(t){if(0===(t=i(t)).size)return this;Rt(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Cn(e,n)},_n.prototype.pop=function(){return this.slice(1)},_n.prototype.unshift=function(){return this.push.apply(this,arguments)},_n.prototype.unshiftAll=function(t){return this.pushAll(t)},_n.prototype.shift=function(){return this.pop.apply(this,arguments)},_n.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):An()},_n.prototype.slice=function(t,e){if(A(t,e,this.size))return this;var n=T(t,this.size),r=M(e,this.size);if(r!==this.size)return wt.prototype.slice.call(this,t,e);for(var i=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):Cn(i,o)},_n.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Cn(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},_n.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},_n.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new L(function(){if(r){var e=r.value;return r=r.next,B(t,n++,e)}return{value:void 0,done:!0}})},_n.isStack=Sn;var kn,En="@@__IMMUTABLE_STACK__@@",On=_n.prototype;function Cn(t,e,n,r){var i=Object.create(On);return i.size=t,i._head=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function An(){return kn||(kn=Cn(0))}function Tn(t,e){var n=function(n){t.prototype[n]=e[n]};return Object.keys(e).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n),t}On[En]=!0,On.withMutations=Ut.withMutations,On.asMutable=Ut.asMutable,On.asImmutable=Ut.asImmutable,On.wasAltered=Ut.wasAltered,n.Iterator=L,Tn(n,{toArray:function(){Rt(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new Ne(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new Ie(this,!0)},toMap:function(){return Lt(this.toKeyedSeq())},toObject:function(){Rt(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Te(this.toKeyedSeq())},toOrderedSet:function(){return gn(u(this)?this.valueSeq():this)},toSet:function(){return sn(u(this)?this.valueSeq():this)},toSetSeq:function(){return new Fe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():u(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return _n(u(this)?this.valueSeq():this)},toList:function(){return he(u(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){var e=t.call(arguments,0);return Ke(this,function(t,e){var n=u(t),i=[t].concat(e).map(function(t){return a(t)?n&&(t=r(t)):t=n?at(t):ut(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var o=i[0];if(o===t||n&&u(o)||s(t)&&s(o))return o}var c=new tt(i);return n?c=c.toKeyedSeq():s(t)||(c=c.toSetSeq()),(c=c.flatten(!0)).size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),c}(this,e))},includes:function(t){return this.some(function(e){return pt(e,t)})},entries:function(){return this.__iterator(I)},every:function(t,e){Rt(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1}),n},filter:function(t,e){return Ke(this,Ve(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return Rt(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){Rt(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!=r?r.toString():""}),e},keys:function(){return this.__iterator(j)},map:function(t,e){return Ke(this,Be(this,t,e))},reduce:function(t,e,n){var r,i;return Rt(this.size),arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ke(this,ze(this,!0))},slice:function(t,e){return Ke(this,Ue(this,t,e,!0))},some:function(t,e){return!this.every(In(t),e)},sort:function(t){return Ke(this,qe(this,t))},values:function(){return this.__iterator(D)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return E(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return function(t,e,n){var r=Lt().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}(this,t,e)},equals:function(t){return vt(this,t)},entrySeq:function(){var t=this;if(t._cache)return new tt(t._cache);var e=t.toSeq().map(Dn).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(In(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(C)},flatMap:function(t,e){return Ke(this,function(t,e,n){var r=Je(t);return t.toSeq().map(function(i,o){return r(e.call(n,i,o,t))}).flatten(!0)}(this,t,e))},flatten:function(t){return Ke(this,We(this,t,!0))},fromEntrySeq:function(){return new Re(this)},get:function(t,e){return this.find(function(e,n){return pt(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,i=nn(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,m):m)===m)return e}return r},groupBy:function(t,e){return function(t,e,n){var r=u(t),i=(l(t)?Te():Lt()).asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return(t=t||[]).push(r?[a,o]:o),t})});var o=Je(t);return i.map(function(e){return Ke(t,o(e))})}(this,t,e)},has:function(t){return this.get(t,m)!==m},hasIn:function(t){return this.getIn(t,m)!==m},isSubset:function(t){return t="function"==typeof t.includes?t:n(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return(t="function"==typeof t.isSubset?t:n(t)).isSubset(this)},keyOf:function(t){return this.findKey(function(e){return pt(e,t)})},keySeq:function(){return this.toSeq().map(jn).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return Ge(this,t)},maxBy:function(t,e){return Ge(this,e,t)},min:function(t){return Ge(this,t?Nn(t):Ln)},minBy:function(t,e){return Ge(this,e?Nn(e):Ln,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Ke(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Ke(this,He(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(In(t),e)},sortBy:function(t,e){return Ke(this,qe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Ke(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Ke(this,function(t,e,n){var r=Qe(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,u){return e.call(n,t,i,u)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(I,i),u=!0;return new L(function(){if(!u)return{value:void 0,done:!0};var t=a.next();if(t.done)return t;var i=t.value,s=i[0],c=i[1];return e.call(n,c,s,o)?r===I?t:B(r,s,c,t):(u=!1,{value:void 0,done:!0})})},r}(this,t,e))},takeUntil:function(t,e){return this.takeWhile(In(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=function(t){if(t.size===1/0)return 0;var e=l(t),n=u(t),r=e?1:0;return function(t,e){return e=St(e,3432918353),e=St(e<<15|e>>>-15,461845907),e=St(e<<13|e>>>-13,5),e=St((e=(e+3864292196|0)^t)^e>>>16,2246822507),e=kt((e=St(e^e>>>13,3266489909))^e>>>16)}(t.__iterate(n?e?function(t,e){r=31*r+Bn(Et(t),Et(e))|0}:function(t,e){r=r+Bn(Et(t),Et(e))|0}:e?function(t){r=31*r+Et(t)|0}:function(t){r=r+Et(t)|0}),r)}(this))}});var Mn=n.prototype;Mn[f]=!0,Mn[R]=Mn.values,Mn.__toJS=Mn.toArray,Mn.__toStringMapper=Fn,Mn.inspect=Mn.toSource=function(){return this.toString()},Mn.chain=Mn.flatMap,Mn.contains=Mn.includes,Tn(r,{flip:function(){return Ke(this,Le(this))},mapEntries:function(t,e){var n=this,r=0;return Ke(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Ke(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var Pn=r.prototype;function jn(t,e){return e}function Dn(t,e){return[e,t]}function In(t){return function(){return!t.apply(this,arguments)}}function Nn(t){return function(){return-t.apply(this,arguments)}}function Fn(t){return"string"==typeof t?JSON.stringify(t):String(t)}function Rn(){return k(arguments)}function Ln(t,e){return t<e?1:t>e?-1:0}function Bn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}return Pn[h]=!0,Pn[R]=Mn.entries,Pn.__toJS=Mn.toObject,Pn.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+Fn(t)},Tn(i,{toKeyedSeq:function(){return new Ie(this,!1)},filter:function(t,e){return Ke(this,Ve(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Ke(this,ze(this,!1))},slice:function(t,e){return Ke(this,Ue(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=T(t,t<0?this.count():this.size);var r=this.slice(0,t);return Ke(this,1===n?r:r.concat(k(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Ke(this,We(this,t,!1))},get:function(t,e){return(t=O(this,t))<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=O(this,t))>=0&&(void 0!==this.size?this.size===1/0||t<this.size:-1!==this.indexOf(t))},interpose:function(t){return Ke(this,function(t,e){var n=Qe(t);return n.size=t.size&&2*t.size-1,n.__iterateUncached=function(n,r){var i=this,o=0;return t.__iterate(function(t,r){return(!o||!1!==n(e,o++,i))&&!1!==n(t,o++,i)},r),o},n.__iteratorUncached=function(n,r){var i,o=t.__iterator(D,r),a=0;return new L(function(){return(!i||a%2)&&(i=o.next()).done?i:a%2?B(n,a++,e):B(n,a++,i.value,i)})},n}(this,t))},interleave:function(){var t=[this].concat(k(arguments)),e=Xe(this.toSeq(),X.of,t),n=e.flatten(!0);return e.size&&(n.size=e.size*t.length),Ke(this,n)},keySeq:function(){return mt(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(t,e){return Ke(this,He(this,t,e,!1))},zip:function(){return Ke(this,Xe(this,Rn,[this].concat(k(arguments))))},zipWith:function(t){var e=k(arguments);return e[0]=this,Ke(this,Xe(this,t,e))}}),i.prototype[d]=!0,i.prototype[p]=!0,Tn(o,{get:function(t,e){return this.has(t)?t:e},includes:function(t){return this.has(t)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Mn.includes,o.prototype.contains=o.prototype.includes,Tn(Y,r.prototype),Tn(X,i.prototype),Tn(K,o.prototype),Tn(xt,r.prototype),Tn(wt,i.prototype),Tn(_t,o.prototype),{Iterable:n,Seq:G,Collection:bt,Map:Lt,OrderedMap:Te,List:he,Stack:_n,Set:sn,OrderedSet:gn,Record:rn,Range:mt,Repeat:gt,is:pt,fromJS:ft}}()},JSQU:function(t,e,n){var r=n("YESw"),i="__lodash_hash_undefined__";t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?i:e,this}},JTzB:function(t,e,n){var r=n("NykK"),i=n("ExA7"),o="[object Arguments]";t.exports=function(t){return i(t)&&r(t)==o}},JZM8:function(t,e,n){var r=n("FfPP"),i=n("xs/l")(function(t,e){return null==t?{}:r(t,e)});t.exports=i},JbBM:function(t,e,n){n("Hfiw"),t.exports=n("WEpk").Object.setPrototypeOf},JbTB:function(t,e,n){n("/8Fb"),t.exports=n("g3g5").Object.entries},JcRv:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("xTla"),i=function(t){return function(e){var n=t[r.a]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}}},Jcmo:function(t,e,n){var r=n("XKFU"),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},JduL:function(t,e,n){n("Xtr8")("getOwnPropertyNames",function(){return n("e7yV").f})},Jes0:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},JgE6:function(t,e,n){(function(n){var r;!function(){var i="undefined"!=typeof window&&window===this?this:void 0!==n&&null!=n?n:this,o="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)};function a(){a=function(){},i.Symbol||(i.Symbol=s)}var u=0;function s(t){return"jscomp_symbol_"+(t||"")+u++}function c(){a();var t=i.Symbol.iterator;t||(t=i.Symbol.iterator=i.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&o(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return l(this)}}),c=function(){}}function l(t){var e=0;return function(t){return c(),(t={next:t})[i.Symbol.iterator]=function(){return this},t}(function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}})}function f(t){c();var e=t[Symbol.iterator];return e?e.call(t):l(t)}function h(t){if(!(t instanceof Array)){t=f(t);for(var e,n=[];!(e=t.next()).done;)n.push(e.value);t=n}return t}var d=0;var p="img script iframe link audio video source".split(" ");function v(t,e){for(var n=(t=f(t)).next();!n.done;n=t.next())if(n=n.value,e.includes(n.nodeName.toLowerCase())||v(n.children,e))return!0;return!1}function g(t,e){if(2<t.length)return performance.now();for(var n=[],r=(e=f(e)).next();!r.done;r=e.next())r=r.value,n.push({timestamp:r.start,type:"requestStart"}),n.push({timestamp:r.end,type:"requestEnd"});for(r=(e=f(t)).next();!r.done;r=e.next())n.push({timestamp:r.value,type:"requestStart"});for(n.sort(function(t,e){return t.timestamp-e.timestamp}),t=t.length,e=n.length-1;0<=e;e--)switch(r=n[e],r.type){case"requestStart":t--;break;case"requestEnd":if(2<++t)return r.timestamp;break;default:throw Error("Internal Error: This should never happen")}return 0}function y(t){t=t||{},this.w=!!t.useMutationObserver,this.u=t.minValue||null,t=window.__tti&&window.__tti.e;var e=window.__tti&&window.__tti.o;this.a=t?t.map(function(t){return{start:t.startTime,end:t.startTime+t.duration}}):[],e&&e.disconnect(),this.b=[],this.f=new Map,this.j=null,this.v=-1/0,this.i=!1,this.h=this.c=this.s=null,function(t,e){var n=XMLHttpRequest.prototype.send,r=d++;XMLHttpRequest.prototype.send=function(i){for(var o=[],a=0;a<arguments.length;++a)o[a-0]=arguments[a];var u=this;return t(r),this.addEventListener("readystatechange",function(){4===u.readyState&&e(r)}),n.apply(this,o)}}(this.m.bind(this),this.l.bind(this)),function(t,e){var n=fetch;fetch=function(r){for(var i=[],o=0;o<arguments.length;++o)i[o-0]=arguments[o];return new Promise(function(r,o){var a=d++;t(a),n.apply(null,[].concat(h(i))).then(function(t){e(a),r(t)},function(t){e(t),o(t)})})}}(this.m.bind(this),this.l.bind(this)),function(t){t.c=new PerformanceObserver(function(e){for(var n=(e=f(e.getEntries())).next();!n.done;n=e.next())if("resource"===(n=n.value).entryType&&(t.b.push({start:n.fetchStart,end:n.responseEnd}),b(t,g(t.g,t.b)+5e3)),"longtask"===n.entryType){var r=n.startTime+n.duration;t.a.push({start:n.startTime,end:r}),b(t,r+5e3)}}),t.c.observe({entryTypes:["longtask","resource"]})}(this),this.w&&(this.h=function(t){var e=new MutationObserver(function(e){for(var n=(e=f(e)).next();!n.done;n=e.next())"childList"==(n=n.value).type&&v(n.addedNodes,p)?t(n):"attributes"==n.type&&p.includes(n.target.tagName.toLowerCase())&&t(n)});return e.observe(document,{attributes:!0,childList:!0,subtree:!0,attributeFilter:["href","src"]}),e}(this.B.bind(this)))}function m(t){t.i=!0;var e=0<t.a.length?t.a[t.a.length-1].end:0,n=g(t.g,t.b);b(t,Math.max(n+5e3,e))}function b(t,e){!t.i||t.v>e||(clearTimeout(t.j),t.j=setTimeout(function(){var e=performance.timing.navigationStart,n=g(t.g,t.b);e=(window.a&&window.a.A?1e3*window.a.A().C-e:0)||performance.timing.domContentLoadedEventEnd-e;if(t.u)var r=t.u;else performance.timing.domContentLoadedEventEnd?r=(r=performance.timing).domContentLoadedEventEnd-r.navigationStart:r=null;var i=performance.now();null===r&&b(t,Math.max(n+5e3,i+1e3));var o=t.a;5e3>i-n?n=null:n=5e3>i-(n=o.length?o[o.length-1].end:e)?null:Math.max(n,r),n&&(t.s(n),clearTimeout(t.j),t.i=!1,t.c&&t.c.disconnect(),t.h&&t.h.disconnect()),b(t,performance.now()+1e3)},e-performance.now()),t.v=e)}y.prototype.getFirstConsistentlyInteractive=function(){var t=this;return new Promise(function(e){t.s=e,"complete"==document.readyState?m(t):window.addEventListener("load",function(){m(t)})})},y.prototype.m=function(t){this.f.set(t,performance.now())},y.prototype.l=function(t){this.f.delete(t)},y.prototype.B=function(){b(this,performance.now()+5e3)},i.Object.defineProperties(y.prototype,{g:{configurable:!0,enumerable:!0,get:function(){return[].concat(h(this.f.values()))}}});var x={getFirstConsistentlyInteractive:function(t){return t=t||{},"PerformanceLongTaskTiming"in window?new y(t).getFirstConsistentlyInteractive():Promise.resolve(null)}};t.exports?t.exports=x:void 0===(r=function(){return x}.apply(e,[]))||(t.exports=r)}()}).call(this,n("yLpj"))},"Ji/l":function(t,e,n){var r=n("XKFU");r(r.G+r.W+r.F*!n("D4iV").ABV,{DataView:n("7Qtz").DataView})},JiEa:function(t,e){e.f=Object.getOwnPropertySymbols},JmpY:function(t,e,n){var r=n("eUgh");t.exports=function(t,e){return r(e,function(e){return t[e]})}},Jpgy:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),i=u(n("17x9")),o=u(n("M/b5")),a=n("4UG0");function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var v=function(t){function e(){var t,n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return r=this,n=!(i=(t=f(e)).call.apply(t,[this].concat(a)))||"object"!==c(i)&&"function"!=typeof i?h(r):i,p(h(n),"state",{}),n}var n,i,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,r.Component),n=e,a=[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.date,r=t.tileClassName,i=t.tileContent,o=t.view,a={};return r!==e.tileClassNameProps&&(a.tileClassName="function"==typeof r?r({date:n,view:o}):r,a.tileClassNameProps=r),i!==e.tileContentProps&&(a.tileContent="function"==typeof i?i({date:n,view:o}):i,a.tileContentProps=i),a}}],(i=[{key:"render",value:function(){var t=this.props,e=t.activeStartDate,n=t.children,i=t.classes,a=t.date,u=t.formatAbbr,s=t.locale,c=t.maxDate,l=t.maxDateTransform,f=t.minDate,h=t.minDateTransform,d=t.onClick,p=t.onMouseOver,v=t.style,g=t.tileDisabled,y=t.view,m=this.state,b=m.tileClassName,x=m.tileContent;return r.default.createElement("button",{className:(0,o.default)(i,b),disabled:f&&h(f)>a||c&&l(c)<a||g&&g({activeStartDate:e,date:a,view:y}),onClick:d&&function(){return d(a)},onFocus:p&&function(){return p(a)},onMouseOver:p&&function(){return p(a)},style:v,type:"button"},u?r.default.createElement("abbr",{"aria-label":u(s,a)},n):n,x)}}])&&l(n.prototype,i),a&&l(n,a),e}();e.default=v,v.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(n,!0).forEach(function(e){p(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},a.tileProps,{children:i.default.node.isRequired,formatAbbr:i.default.func,maxDateTransform:i.default.func.isRequired,minDateTransform:i.default.func.isRequired})},Juji:function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},Jxpl:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Material=void 0;var r=s(n("q1tI")),i=s(n("/FUP")),o=s(n("QkVN")),a=s(n("p8yl")),u=n("TM95");function s(t){return t&&t.__esModule?t:{default:t}}var c=e.Material=function(t){var e=t.onChange,n=t.hex,s=t.rgb,c=t.styles,l=void 0===c?{}:c,f=t.className,h=void 0===f?"":f,d=(0,i.default)((0,o.default)({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+n,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},l)),p=function(t,n){t.hex?a.default.isValidHex(t.hex)&&e({hex:t.hex,source:"hex"},n):(t.r||t.g||t.b)&&e({r:t.r||s.r,g:t.g||s.g,b:t.b||s.b,source:"rgb"},n)};return r.default.createElement(u.Raised,{styles:l},r.default.createElement("div",{style:d.material,className:"material-picker "+h},r.default.createElement(u.EditableInput,{style:{wrap:d.HEXwrap,input:d.HEXinput,label:d.HEXlabel},label:"hex",value:n,onChange:p}),r.default.createElement("div",{style:d.split,className:"flexbox-fix"},r.default.createElement("div",{style:d.third},r.default.createElement(u.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"r",value:s.r,onChange:p})),r.default.createElement("div",{style:d.third},r.default.createElement(u.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"g",value:s.g,onChange:p})),r.default.createElement("div",{style:d.third},r.default.createElement(u.EditableInput,{style:{wrap:d.RGBwrap,input:d.RGBinput,label:d.RGBlabel},label:"b",value:s.b,onChange:p})))))};e.default=(0,u.ColorWrap)(c)},K0xU:function(t,e,n){var r=n("VTer")("wks"),i=n("ylqs"),o=n("dyZX").Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},K9Ia:function(t,e,n){"use strict";n.d(e,"c",function(){return l}),n.d(e,"b",function(){return f}),n.d(e,"a",function(){return h});var r=n("mrSG"),i=n("6blF"),o=n("FFOo"),a=n("pugT"),u=n("8g8A"),s=n("uMaO"),c=n("L/V9"),l=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r.__extends(e,t),e}(o.a),f=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r.__extends(e,t),e.prototype[c.a]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new u.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new u.a;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new u.a;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new u.a;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new u.a;return this.hasError?(t.error(this.thrownError),a.a.EMPTY):this.isStopped?(t.complete(),a.a.EMPTY):(this.observers.push(t),new s.a(this,t))},e.prototype.asObservable=function(){var t=new i.a;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(i.a),h=function(t){function e(e,n){var r=t.call(this)||this;return r.destination=e,r.source=n,r}return r.__extends(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):a.a.EMPTY},e}(f)},KKXr:function(t,e,n){"use strict";var r=n("quPj"),i=n("y3w9"),o=n("69bn"),a=n("A5AN"),u=n("ne8i"),s=n("Xxuz"),c=n("Ugos"),l=n("eeVq"),f=Math.min,h=[].push,d=!l(function(){RegExp(4294967295,"y")});n("IU+Z")("split",2,function(t,e,n,l){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,a,u,s=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?4294967295:e>>>0,p=new RegExp(t.source,l+"g");(o=c.call(p,i))&&!((a=p.lastIndex)>f&&(s.push(i.slice(f,o.index)),o.length>1&&o.index<i.length&&h.apply(s,o.slice(1)),u=o[0].length,f=a,s.length>=d));)p.lastIndex===o.index&&p.lastIndex++;return f===i.length?!u&&p.test("")||s.push(""):s.push(i.slice(f)),s.length>d?s.slice(0,d):s}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):p.call(String(i),n,r)},function(t,e){var r=l(p,t,this,e,p!==n);if(r.done)return r.value;var c=i(t),h=String(this),v=o(c,RegExp),g=c.unicode,y=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(d?"y":"g"),m=new v(d?c:"^(?:"+c.source+")",y),b=void 0===e?4294967295:e>>>0;if(0===b)return[];if(0===h.length)return null===s(m,h)?[h]:[];for(var x=0,w=0,_=[];w<h.length;){m.lastIndex=d?w:0;var S,k=s(m,d?h:h.slice(w));if(null===k||(S=f(u(m.lastIndex+(d?0:w)),h.length))===x)w=a(h,w,g);else{if(_.push(h.slice(x,w)),_.length===b)return _;for(var E=1;E<=k.length-1;E++)if(_.push(k[E]),_.length===b)return _;w=x=S}}return _.push(h.slice(x)),_}]})},KMkd:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},KQya:function(t,e,n){"use strict";var r=n("mrSG"),i=1,o={};var a=function(t){var e=i++;return o[e]=t,Promise.resolve().then(function(){return function(t){var e=o[t];e&&e()}(e)}),e},u=function(t){delete o[t]},s=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.__extends(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=a(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(u(n),e.scheduled=void 0)},e}(n("h9Dq").a),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r<i&&(t=n.shift()));if(this.active=!1,e){for(;++r<i&&(t=n.shift());)t.unsubscribe();throw e}},e}(n("CS9Q").a);n.d(e,"a",function(){return l});var l=new c(s)},KSAl:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(!1!==a)return a;if("undefined"!=typeof document){var t=document.createElement("div");(0,o.default)(t,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(t),a=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}else a=0;return a||0};var r,i=n("cegH"),o=(r=i)&&r.__esModule?r:{default:r};var a=!1},KUxP:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},KfNM:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},KfSR:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.autoprefix=void 0;var r,i=n("Ag8Z"),o=(r=i)&&r.__esModule?r:{default:r},a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var u={borderRadius:function(t){return{msBorderRadius:t,MozBorderRadius:t,OBorderRadius:t,WebkitBorderRadius:t,borderRadius:t}},boxShadow:function(t){return{msBoxShadow:t,MozBoxShadow:t,OBoxShadow:t,WebkitBoxShadow:t,boxShadow:t}},userSelect:function(t){return{WebkitTouchCallout:t,KhtmlUserSelect:t,MozUserSelect:t,msUserSelect:t,WebkitUserSelect:t,userSelect:t}},flex:function(t){return{WebkitBoxFlex:t,MozBoxFlex:t,WebkitFlex:t,msFlex:t,flex:t}},flexBasis:function(t){return{WebkitFlexBasis:t,flexBasis:t}},justifyContent:function(t){return{WebkitJustifyContent:t,justifyContent:t}},transition:function(t){return{msTransition:t,MozTransition:t,OTransition:t,WebkitTransition:t,transition:t}},transform:function(t){return{msTransform:t,MozTransform:t,OTransform:t,WebkitTransform:t,transform:t}},absolute:function(t){var e=t&&t.split(" ");return{position:"absolute",top:e&&e[0],right:e&&e[1],bottom:e&&e[2],left:e&&e[3]}},extend:function(t,e){var n=e[t];return n||{extend:t}}},s=e.autoprefix=function(t){var e={};return(0,o.default)(t,function(t,n){var r={};(0,o.default)(t,function(t,e){var n=u[e];n?r=a({},r,n(t)):r[e]=t}),e[n]=r}),e};e.default=s},KhEm:function(t,e,n){"use strict";n.d(e,"a",function(){return c}),n.d(e,"b",function(){return f});var r=n("mrSG"),i=n("K9Ia"),o=n("6blF"),a=n("FFOo"),u=n("pugT"),s=n("yGWI"),c=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new u.a).add(this.source.subscribe(new h(this.getSubject(),this))),t.closed?(this._connection=null,t=u.a.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return Object(s.a)()(this)},e}(o.a),l=c.prototype,f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:l._subscribe},_isComplete:{value:l._isComplete,writable:!0},getSubject:{value:l.getSubject},connect:{value:l.connect},refCount:{value:l.refCount}},h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(i.c);a.a},KroJ:function(t,e,n){var r=n("dyZX"),i=n("Mukb"),o=n("aagx"),a=n("ylqs")("src"),u=n("+lvF"),s=(""+u).split("toString");n("g3g5").inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,a)||i(n,a,t[e]?""+t[e]:s.join(String(e)))),t===r?t[e]=n:u?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},Kuth:function(t,e,n){var r=n("y3w9"),i=n("FJW5"),o=n("4R4u"),a=n("YTvA")("IE_PROTO"),u=function(){},s=function(){var t,e=n("Iw71")("iframe"),r=o.length;for(e.style.display="none",n("+rLv").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=s(),void 0===e?n:i(n,e)}},KwMD:function(t,e){t.exports=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}},KxBF:function(t,e){t.exports=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}},Kz5y:function(t,e,n){var r=n("WFqU"),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},"L/V9":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},L8xA:function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},L9s1:function(t,e,n){"use strict";var r=n("XKFU"),i=n("0sh+");r(r.P+r.F*n("UUeW")("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},LBMm:function(t,e,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("17x9"),a=n.n(o),u=n("0aAt");function s(t,e){function n(n,r,i,o,a){var u=r[i];return null!=u||n?null==u&&n?new Error("The "+a+" `"+i+"` is marked as required in `"+o+"`, but it was not supplied."):e(u)?null:new Error("Invalid "+a+" `"+i+"` supplied to `"+o+"`, expected a Slate `"+t+"` but received: "+u):null}function r(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n.apply(void 0,[!1].concat(e))}return r.isRequired=function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n.apply(void 0,[!0].concat(e))},r}var c={block:s("Block",function(t){return u.a.isBlock(t)}),blocks:s("List<Block>",function(t){return u.a.isBlockList(t)}),change:s("Change",function(t){return u.b.isChange(t)}),data:s("Data",function(t){return u.c.isData(t)}),document:s("Document",function(t){return u.d.isDocument(t)}),inline:s("Inline",function(t){return u.f.isInline(t)}),inlines:s("Inline",function(t){return u.f.isInlineList(t)}),leaf:s("Leaf",function(t){return u.g.isLeaf(t)}),leaves:s("List<Leaf>",function(t){return u.g.isLeafList(t)}),mark:s("Mark",function(t){return u.h.isMark(t)}),marks:s("Set<Mark>",function(t){return u.h.isMarkSet(t)}),node:s("Node",function(t){return u.i.isNode(t)}),nodes:s("List<Node>",function(t){return u.i.isNodeList(t)}),range:s("Range",function(t){return u.k.isRange(t)}),ranges:s("List<Range>",function(t){return u.k.isRangeList(t)}),selection:s("Selection",function(t){return u.l.isSelection(t)}),value:s("Value",function(t){return u.n.isValue(t)}),text:s("Text",function(t){return u.m.isText(t)}),texts:s("List<Text>",function(t){return u.m.isTextList(t)})},l=n("yb06"),f=n.n(l),h=n("NOtv"),d=n.n(h),p=n("LUQC"),v=n("9dTM"),g=n.n(v),y=n("xL6w"),m=n.n(y),b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},x="object"===("undefined"==typeof window?"undefined":b(window))&&"object"===("undefined"==typeof document?"undefined":b(document))&&9===document.nodeType,w=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=void 0;if(x){var S=!0,k=!1,E=void 0;try{for(var O,C=[["edge",/Edge\/([0-9\._]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+)\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["android",/Android\s([0-9\.]+)/],["safari",/Version\/([0-9\._]+).*Safari/]][Symbol.iterator]();!(S=(O=C.next()).done);S=!0){var A=O.value,T=w(A,2),M=T[0];if(T[1].test(window.navigator.userAgent)){_=M;break}}}catch(t){k=!0,E=t}finally{try{!S&&C.return&&C.return()}finally{if(k)throw E}}}var P=void 0;if(x){var j=!0,D=!1,I=void 0;try{for(var N,F=[["ios",/os ([\.\_\d]+) like mac os/i],["macos",/mac os x/i],["android",/android/i],["firefoxos",/mozilla\/[a-z\.\_\d]+ \((?:mobile)|(?:tablet)/i],["windows",/windows\s*(?:nt)?\s*([\.\_\d]+)/i]][Symbol.iterator]();!(j=(N=F.next()).done);j=!0){var R=N.value,L=w(R,2),B=L[0];if(L[1].test(window.navigator.userAgent)){P=B;break}}}catch(t){D=!0,I=t}finally{try{!j&&F.return&&F.return()}finally{if(D)throw I}}}var z=[];if(x){var V=!0,U=!1,H=void 0;try{for(var W,q=[["inputeventslevel1",function(t){return"inputType"in(t.InputEvent?new t.InputEvent("input"):{})}],["inputeventslevel2",function(t){var e=t.document.createElement("div");return e.contentEditable=!0,"onbeforeinput"in e}]][Symbol.iterator]();!(V=(W=q.next()).done);V=!0){var G=W.value,Y=w(G,2),X=Y[0];(0,Y[1])(window)&&z.push(X)}}catch(t){U=!0,H=t}finally{try{!V&&q.return&&q.return()}finally{if(U)throw H}}}var K=[[/^9([.]0|)/,28],[/^8[.]1/,27],[/^8([.]0|)/,26],[/^7[.]1/,25],[/^7([.]0|)/,24],[/^6([.]0|)/,23],[/^5[.]1/,22],[/^5([.]0|)/,21],[/^4[.]4/,20]];var $="firefox"===_,Z="safari"===_,J="ie"===_,Q="edge"===_,tt="android"===P,et="ios"===P,nt="macos"===P,rt=function(){if("android"!==P)return null;var t=window.navigator.userAgent.match(/Android\s([0-9\.]+)/);if(null==t)return null;var e=t[1],n=!0,r=!1,i=void 0;try{for(var o,a=K[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var u=o.value,s=w(u,2),c=s[0],l=s[1];if(e.match(c))return l}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return null}(),it=(z.includes("inputeventslevel1"),z.includes("inputeventslevel2")||tt&&(28===rt||null===rt)),ot=n("DzJC"),at=n.n(ot),ut=n("Puqe"),st=n.n(ut),ct=n("JPcv"),lt=n("Uaxt"),ft={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z"},ht={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},dt={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:"ctrl+y"},pt={},vt=et||nt,gt=!vt;[].concat(Object.keys(ft)).concat(Object.keys(ht)).concat(Object.keys(dt)).forEach(function(t){var e="is"+t[0].toUpperCase()+t.slice(1);if(!pt[e]){var n=ft[t],r=ht[t],i=dt[t],o=n&&Object(lt.isKeyHotkey)(n),a=r&&Object(lt.isKeyHotkey)(r),u=i&&Object(lt.isKeyHotkey)(i);pt[e]=function(t){return!(!o||!o(t))||(!!(vt&&a&&a(t))||!!(gt&&u&&u(t)))}}});var yt=pt,mt=n("i8i4"),bt=n.n(mt),xt=n("1k7D");function wt(t){var e=JSON.stringify(t);return Object(xt.btoa)(encodeURIComponent(e))}function _t(t){var e=decodeURIComponent(Object(xt.atob)(t));return JSON.parse(e)}var St={deserialize:function(t,e){var n=_t(t);return u.n.fromJSON(n,e)},deserializeNode:function(t,e){var n=_t(t);return u.i.fromJSON(n,e)},serialize:function(t,e){return wt(t.toJSON(e))},serializeNode:function(t,e){return wt(t.toJSON(e))}},kt=n("mkUw"),Et=n("9R94"),Ot=function(t,e){if(!t)throw new Error("Invariant failed: "+(e||""))},Ct=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},At=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Tt=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},Mt=0;var Pt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Mt++,n=t.placeholder,r=t.when,o=t.style,a=void 0===o?{}:o;return Ot("string"==typeof n,"You must pass `SlateReactPlaceholder` an `options.placeholder` string."),Ot("string"==typeof r||"function"==typeof r,"You must pass `SlateReactPlaceholder` an `options.when` query."),{decorateNode:function(t,n,i){if(!n.query(r,t))return i();var o=i(),a=t.texts(),u=At(a,1)[0],s=t.texts({direction:"backward"}),c=At(s,1)[0],l=At(u,2),f=l[0],h=l[1],d=At(c,2),p=d[0],v=d[1],g={type:"placeholder",data:{key:e},anchor:{key:f.key,offset:0,path:h},focus:{key:p.key,offset:p.text.length,path:v}};return[].concat(Tt(o),[g])},renderDecoration:function(t,r,o){var u=t.children,s=t.decoration;if("placeholder"===s.type&&s.data.get("key")===e){var c=Ct({pointerEvents:"none",display:"inline-block",width:"0",maxWidth:"100%",whiteSpace:"nowrap",opacity:"0.333",verticalAlign:"text-top"},a);return i.a.createElement("span",null,i.a.createElement("span",{contentEditable:!1,style:c},n),u)}return o()}}},jt=n("Wwog");n.d(e,"a",function(){return tn});var Dt=["onBeforeInput","onBlur","onClick","onContextMenu","onCompositionEnd","onCompositionStart","onCopy","onCut","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onInput","onFocus","onKeyDown","onKeyUp","onMouseDown","onMouseUp","onPaste","onSelect"],It={EDITOR:"data-slate-editor",FRAGMENT:"data-slate-fragment",KEY:"data-key",LEAF:"data-slate-leaf",LENGTH:"data-slate-length",OBJECT:"data-slate-object",OFFSET_KEY:"data-offset-key",SPACER:"data-slate-spacer",STRING:"data-slate-string",TEXT:"data-slate-object",VOID:"data-slate-void",ZERO_WIDTH:"data-slate-zero-width"},Nt={BLOCK:"["+It.OBJECT+'="block"]',EDITOR:"["+It.EDITOR+"]",INLINE:"["+It.OBJECT+'="inline"]',KEY:"["+It.KEY+"]",LEAF:"["+It.LEAF+"]",OBJECT:"["+It.OBJECT+"]",STRING:"["+It.STRING+"]",TEXT:"["+It.OBJECT+'="text"]',VOID:"["+It.VOID+"]",ZERO_WIDTH:"["+It.ZERO_WIDTH+"]"},Ft=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},Rt=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Lt=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Bt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},zt=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},Vt=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},Ut=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Ht=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},Wt=/^([\w-]+)(?::(\d+))?$/;var qt={parse:function(t){var e=Wt.exec(t);if(!e)throw new Error('Invalid offset key string "'+t+'".');var n=Ut(e,3),r=(n[0],n[1]),i=n[2];return{key:r,index:parseInt(i,10)}},stringify:function(t){return t.key+":"+t.index}},Gt=function(t){var e=t.text,n=void 0===e?"":e,r=t.isTrailing,o=void 0!==r&&r;return i.a.createElement("span",Lt({},It.STRING,!0),n,o?"\n":null)},Yt=function(t){var e,n=t.length,r=void 0===n?0:n,o=t.isLineBreak,a=void 0!==o&&o;return i.a.createElement("span",(Lt(e={},It.ZERO_WIDTH,a?"n":"z"),Lt(e,It.LENGTH,r),e),"\ufeff",a?i.a.createElement("br",null):null)},Xt=function(t){var e,n=t.marks,r=t.annotations,o=t.decorations,a=t.node,u=t.index,s=t.offset,c=t.text,l=t.editor,f=t.parent,h=t.block,d=t.leaves,p=qt.stringify({key:a.key,index:u}),v=void 0;if(l.query("isVoid",f))v=i.a.createElement(Yt,{length:f.text.length});else if(""===c&&"block"===f.object&&""===f.text&&f.nodes.last()===a)v=i.a.createElement(Yt,{isLineBreak:!0});else if(""===c)v=i.a.createElement(Yt,null);else{var g=h.getLastText(),y=c.charAt(c.length-1),m=a===g,b=u===d.size-1;v=m&&b&&"\n"===y?i.a.createElement(Gt,{isTrailing:!0,text:c}):i.a.createElement(Gt,{text:c})}var x={editor:l,marks:n,annotations:r,decorations:o,node:a,offset:s,text:c},w=!0,_=!1,S=void 0;try{for(var k,E=n[Symbol.iterator]();!(w=(k=E.next()).done);w=!0){var O=k.value;(L=l.run("renderMark",Bt({},x,{mark:O,children:v,attributes:Lt({},It.OBJECT,"mark")})))&&(v=L)}}catch(t){_=!0,S=t}finally{try{!w&&E.return&&E.return()}finally{if(_)throw S}}var C=!0,A=!1,T=void 0;try{for(var M,P=o[Symbol.iterator]();!(C=(M=P.next()).done);C=!0){var j=M.value;(L=l.run("renderDecoration",Bt({},x,{decoration:j,children:v,attributes:Lt({},It.OBJECT,"decoration")})))&&(v=L)}}catch(t){A=!0,T=t}finally{try{!C&&P.return&&P.return()}finally{if(A)throw T}}var D=!0,I=!1,N=void 0;try{for(var F,R=r[Symbol.iterator]();!(D=(F=R.next()).done);D=!0){var L,B=F.value;(L=l.run("renderAnnotation",Bt({},x,{annotation:B,children:v,attributes:Lt({},It.OBJECT,"annotation")})))&&(v=L)}}catch(t){I=!0,N=t}finally{try{!D&&R.return&&R.return()}finally{if(I)throw N}}var z=(Lt(e={},It.LEAF,!0),Lt(e,It.OFFSET_KEY,p),e);return i.a.createElement("span",z,v)};Xt.propTypes={annotations:f.a.list.isRequired,block:c.block.isRequired,decorations:f.a.list.isRequired,editor:a.a.object.isRequired,index:a.a.number.isRequired,leaves:a.a.object.isRequired,marks:c.marks.isRequired,node:c.node.isRequired,offset:a.a.number.isRequired,parent:c.node.isRequired,text:a.a.string.isRequired};var Kt=i.a.memo(Xt,function(t,e){return e.block===t.block&&e.index===t.index&&e.marks===t.marks&&e.parent===t.parent&&e.text===t.text&&e.annotations.equals(t.annotations)&&e.decorations.equals(t.decorations)}),$t=i.a.forwardRef(function(t,e){var n,r=t.annotations,o=t.block,a=t.decorations,u=t.node,s=t.parent,c=t.editor,l=t.style,f=u.key,h=u.getLeaves(r,a),d=0;return i.a.createElement("span",Bt({ref:e,style:l},(Lt(n={},It.OBJECT,u.object),Lt(n,It.KEY,f),n)),h.map(function(t,e){var n=t.text,r=d;return d+=n.length,i.a.createElement(Kt,{key:u.key+"-"+e,block:o,editor:c,index:e,annotations:t.annotations,decorations:t.decorations,marks:t.marks,node:u,offset:r,parent:s,leaves:h,text:n})}))});$t.propTypes={annotations:f.a.map.isRequired,block:c.block,decorations:f.a.list.isRequired,editor:a.a.object.isRequired,node:c.node.isRequired,parent:c.node.isRequired,style:a.a.object};var Zt=i.a.memo($t,function(t,e){return e.node===t.node&&"block"===e.parent.object&&t.parent.nodes.last()===t.node&&e.parent.nodes.last()!==e.node&&e.annotations.equals(t.annotations)&&e.decorations.equals(t.decorations)}),Jt=d()("slate:void"),Qt=function(t){function e(){var t,n,r;Ft(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=Vt(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),te.call(r),Vt(r,n)}return zt(e,t),Rt(e,[{key:"render",value:function(){var t,e=this.props,n=e.children,r=e.node,o=e.readOnly,a="block"===r.object?"div":"span",u=Lt({},It.SPACER,!0),s=i.a.createElement(a,Bt({style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},u),this.renderText()),c=i.a.createElement(a,{contentEditable:!!o&&null},n);this.debug("render",{props:e});var l=(Lt(t={},It.VOID,!0),Lt(t,It.KEY,r.key),t);return i.a.createElement(a,Bt({contentEditable:!(!o&&"block"!==r.object)&&null},l),o?null:s,c)}}]),e}(i.a.Component);Qt.propTypes={block:c.block,children:a.a.any.isRequired,editor:a.a.object.isRequired,node:c.node.isRequired,parent:c.node.isRequired,readOnly:a.a.bool.isRequired};var te=function(){var t=this;this.debug=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=t.props.node,a=o.key+" ("+o.type+")";Jt.apply(void 0,[e,""+a].concat(r))},this.renderText=function(){var e=t.props,n=e.annotations,r=e.block,o=e.decorations,a=e.node,u=e.readOnly,s=e.editor,c=e.textRef,l=a.getFirstText();return i.a.createElement(Zt,{ref:c,annotations:n,block:"block"===a.object?a:r,decorations:o,editor:s,key:l.key,node:l,parent:a,readOnly:u})}},ee=d()("slate:node"),ne=function(t){function e(){var t,n,r;Ft(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=Vt(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),re.call(r),Vt(r,n)}return zt(e,t),Rt(e,[{key:"shouldComponentUpdate",value:function(t){var e=this.props,n=e.editor.run("shouldNodeComponentUpdate",e,t),r=t,i=e;if(null!=n){if(Object(p.a)(!1,'As of slate-react@0.22 the `shouldNodeComponentUpdate` middleware is deprecated. You can pass specific values down the tree using React\'s built-in "context" construct instead.'),n)return!0;Object(p.a)(!1!==n,"Returning false in `shouldNodeComponentUpdate` does not disable Slate's internal `shouldComponentUpdate` logic. If you want to prevent updates, use React's `shouldComponentUpdate` instead.")}return r.readOnly!==i.readOnly||(r.node!==i.node||(!!(!r.selection&&i.selection||r.selection&&!i.selection||r.selection&&i.selection&&!r.selection.equals(i.selection))||(!r.annotations.equals(i.annotations)||!r.decorations.equals(i.decorations))))}},{key:"render",value:function(){var t,n=this;this.debug("render",this);var r=this.props,o=r.annotations,a=r.block,u=r.decorations,s=r.editor,c=r.node,l=r.parent,f=r.readOnly,h=r.selection,d=c.getDecorations(s),p=c.nodes.toArray().map(function(t,r){var l="text"===t.object?Zt:e,p=h&&ie(c,r,h),v=d.concat(u).map(function(t){return ie(c,r,t)}).filter(function(t){return t}),g=o.map(function(t){return ie(c,r,t)}).filter(function(t){return t});return i.a.createElement(l,{block:"block"===c.object?c:a,editor:s,annotations:g,decorations:v,selection:p,key:t.key,node:t,parent:c,readOnly:f,ref:function(t){t?n.tmp.nodeRefs[r]=t:delete n.tmp.nodeRefs[r]}})}),v=(Lt(t={},It.OBJECT,c.object),Lt(t,It.KEY,c.key),Lt(t,"ref",this.ref),t);c.isLeafBlock()&&("rtl"===c.getTextDirection()&&(v.dir="rtl"));var g=void 0;"block"===c.object?g="renderBlock":"document"===c.object?g="renderDocument":"inline"===c.object&&(g="renderInline");var y=s.run(g,{attributes:v,children:p,editor:s,isFocused:!!h&&h.isFocused,isSelected:!!h,node:c,parent:l,readOnly:f});return s.isVoid(c)?i.a.createElement(Qt,Bt({},this.props,{textRef:function(t){t?n.tmp.nodeRefs[0]=t:delete n.tmp.nodeRefs[0]}}),y):y}}]),e}(i.a.Component);ne.propTypes={annotations:f.a.map.isRequired,block:c.block,decorations:f.a.list.isRequired,editor:a.a.object.isRequired,node:c.node.isRequired,parent:c.node,readOnly:a.a.bool.isRequired,selection:c.selection};var re=function(){var t=this;this.tmp={nodeRefs:{}},this.ref=i.a.createRef(),this.debug=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=t.props.node,a=o.key,u=o.type;ee.apply(void 0,[e,a+" ("+u+")"].concat(r))}};function ie(t,e,n){if(n.isUnset)return null;var r=t.nodes.get(e),i=n,o=i.start,a=i.end,s=o.path,c=a.path,l=s.first(),f=c.first();if(l===e)o=o.setPath(s.rest());else if(l<e&&e<=f)if("text"===r.object)o=o.moveTo(u.j.create([e]),0).setKey(r.key);else{var h=r.texts(),d=Ut(h,1)[0],p=Ut(d,2),v=p[0],g=p[1];o=o.moveTo(g,0).setKey(v.key)}else o=null;if(f===e)a=a.setPath(c.rest());else if(l<=e&&e<f)if("text"===r.object){var y=r.text.length;a=a.moveTo(u.j.create([e]),y).setKey(r.key)}else{var m=r.texts({direction:"backward"}),b=Ut(m,1)[0],x=Ut(b,2),w=x[0],_=x[1];a=a.moveTo(_,w.text.length).setKey(w.key)}else a=null;return o&&a?n=(n=n.setAnchor(o)).setFocus(a):null}var oe=["auto","overlay","scroll"],ae=et&&!!window.navigator.userAgent.match(/os 11_/i);function ue(t){if(!ae&&t.anchorNode){var e=g()(t.anchorNode),n=function(t,e){for(var n=t.parentNode,r=void 0;!r&&n.parentNode;){var i=e.getComputedStyle(n).overflowY;if(oe.includes(i)){r=n;break}n=n.parentNode}return r||e.document.body}(t.anchorNode,e),r=n===e.document.body||n===e.document.documentElement,i=m()(t),o=t.getRangeAt(0).cloneRange();o.collapse(i);var a=o.getBoundingClientRect();Z&&o.collapsed&&0===a.top&&0===a.height&&(0===o.startOffset?o.setEnd(o.endContainer,1):o.setStart(o.startContainer,o.startOffset-1),0===(a=o.getBoundingClientRect()).top&&0===a.height&&o.getClientRects().length&&(a=o.getClientRects()[0]));var u=void 0,s=void 0,c=void 0,l=void 0,f=0,h=0,d=0,p=0,v=0,y=0,b=0,x=0;if(r){u=e.innerWidth,s=e.innerHeight,c=e.pageYOffset,l=e.pageXOffset}else{var w=n.offsetWidth,_=n.offsetHeight,S=n.scrollTop,k=n.scrollLeft,E=e.getComputedStyle(n),O=E.borderTopWidth,C=E.borderBottomWidth,A=E.borderLeftWidth,T=E.borderRightWidth,M=E.paddingTop,P=E.paddingBottom,j=E.paddingLeft,D=E.paddingRight,I=n.getBoundingClientRect();u=w,s=_,f=I.top+parseInt(O,10),h=I.left+parseInt(A,10),d=parseInt(O,10)+parseInt(C,10),p=parseInt(A,10)+parseInt(T,10),v=parseInt(M,10),y=parseInt(P,10),b=parseInt(j,10),x=parseInt(D,10),c=S,l=k}var N=a.top+c-f,F=a.left+l-h,R=l,L=c;F<l?R=F-b:F+a.width+p>l+u&&(R=F+p+x-u),N<c?L=N-v:N+a.height+d>c+s&&(L=N+d+y+a.height-s),r?e.scrollTo(R,L):(n.scrollTop=L,n.scrollLeft=R)}}function se(t){if(J){var e=window.document.body.createTextRange();e.collapse(),e.select()}else t.removeAllRanges()}var ce=/Permission denied to access property "nodeType"/,le=function(t,e){var n=!0,r=!1,i=void 0;try{for(var o,a=["anchorNode","anchorOffset","focusNode","focusOffset","isCollapsed","rangeCount","type"][Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var u=o.value;if(t[u]!==e[u])return!1}}catch(t){r=!0,i=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw i}}return!0},fe=d()("slate:content");fe.update=d()("slate:update");var he=function(t){function e(){var t,n,r;Ft(this,e);for(var o=arguments.length,a=Array(o),u=0;u<o;u++)a[u]=arguments[u];return n=r=Vt(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),r.nativeSelection={},r.tmp={isUpdatingSelection:!1,nodeRef:i.a.createRef(),nodeRefs:{},contentKey:0},r.ref=i.a.createRef(),r.setRef=function(t){r.ref.current=t,r.props.editor.el=t},r.handlers=Dt.reduce(function(t,e){return t[e]=function(t){return r.onEvent(e,t)},t},{}),r.updateSelection=function(){var t=r.props.editor,e=t.value.selection,n=e.isBackward,i=g()(r.ref.current),o=i.getSelection(),a=i.document.activeElement;if(fe.update.enabled&&fe.update("updateSelection",{selection:e.toJSON()}),o){var u=o.rangeCount,s=o.anchorNode,c=!1;if(e.isBlurred&&a===r.ref.current&&(r.ref.current.blur(),c=!0),e.isUnset&&u&&r.isInEditor(s)&&le(r.nativeSelection,o)&&(se(o),c=!0),e.isFocused&&a!==r.ref.current&&(r.ref.current.focus({preventScroll:!0}),c=!0),e.isFocused&&e.isSet){var l=!!o.rangeCount&&o.getRangeAt(0),f=t.findDOMRange(e);if(!f)return void Object(p.a)(!1,"Unable to find a native DOM range from the current selection.");var h=f.startContainer,d=f.startOffset,v=f.endContainer,y=f.endOffset;if(l&&(h===l.startContainer&&d===l.startOffset&&v===l.endContainer&&y===l.endOffset||h===l.endContainer&&d===l.endOffset&&v===l.startContainer&&y===l.startOffset))return;c=!0,r.tmp.isUpdatingSelection=!0,se(o),o.setBaseAndExtent?n?o.setBaseAndExtent(f.endContainer,f.endOffset,f.startContainer,f.startOffset):o.setBaseAndExtent(f.startContainer,f.startOffset,f.endContainer,f.endOffset):o.addRange(f),ue(o),setTimeout(function(){$&&r.ref.current&&r.ref.current.focus(),r.tmp.isUpdatingSelection=!1,fe.update("updateSelection:setTimeout",{anchorOffset:i.getSelection().anchorOffset})})}c&&(fe.enabled||fe.update.enabled)&&(fe("updateSelection",{selection:e,native:o,activeElement:a}),fe.update("updateSelection:applied",{selection:e.toJSON(),native:{anchorOffset:o.anchorOffset,focusOffset:o.focusOffset}}))}},r.isInEditor=function(t){var e=void 0;try{if(8===t.nodeType)return!1;e=3===t.nodeType?t.parentNode:t}catch(t){if($&&ce.test(t.message))return!1;throw t}return e.isContentEditable&&(e===r.ref.current||e.closest(Nt.EDITOR)===r.ref.current)},r.onNativeSelectionChange=at()(function(t){if(!r.props.readOnly){var e=g()(t.target),n=e.document.activeElement,i=e.getSelection();fe.update("onNativeSelectionChange",{anchorOffset:i.anchorOffset}),n===r.ref.current&&(r.nativeSelection={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset,isCollapsed:i.isCollapsed,rangeCount:i.rangeCount,type:i.type},r.props.onEvent("onSelect",t))}},100),Vt(r,n)}return zt(e,t),Rt(e,[{key:"componentDidCatch",value:function(t,e){fe("componentDidCatch",{error:t,info:e}),this.setState({})}},{key:"componentDidMount",value:function(){g()(this.ref.current).document.addEventListener("selectionchange",this.onNativeSelectionChange),it&&this.ref.current.addEventListener("beforeinput",this.handlers.onBeforeInput),this.updateSelection(),this.props.onEvent("onComponentDidMount")}},{key:"componentWillUnmount",value:function(){var t=g()(this.ref.current);t&&t.document.removeEventListener("selectionchange",this.onNativeSelectionChange),it&&this.ref.current.removeEventListener("beforeinput",this.handlers.onBeforeInput),this.props.onEvent("onComponentWillUnmount")}},{key:"componentDidUpdate",value:function(){fe.update("componentDidUpdate"),this.updateSelection(),this.props.onEvent("onComponentDidUpdate")}},{key:"onEvent",value:function(t,e){fe("onEvent",t);var n=e.nativeEvent||e,r="keydown"===e.type&&(yt.isUndo(n)||yt.isRedo(n));if(!this.tmp.isUpdatingSelection&&!r||"onSelect"!==t&&"onBlur"!==t&&"onFocus"!==t){if(!tt&&"onSelect"===t){var i=this.props.editor,o=i.value.selection,a=g()(e.target).getSelection(),u=i.findRange(a);if(u&&u.equals(o.toRange()))return void this.updateSelection()}if("onDragEnd"===t||"onDragEnter"===t||"onDragExit"===t||"onDragLeave"===t||"onDragOver"===t||"onDragStart"===t||"onDrop"===t)if(e.target.closest(Nt.EDITOR)!==this.ref.current)return;("onBeforeInput"!==t&&"onBlur"!==t&&"onCompositionEnd"!==t&&"onCompositionStart"!==t&&"onCopy"!==t&&"onCut"!==t&&"onFocus"!==t&&"onInput"!==t&&"onKeyDown"!==t&&"onKeyUp"!==t&&"onPaste"!==t&&"onSelect"!==t||this.isInEditor(e.target))&&this.props.onEvent(t,e)}}},{key:"render",value:function(){var t,n=this.props,r=this.handlers,o=n.id,a=n.className,u=n.readOnly,s=n.editor,c=n.tabIndex,l=n.role,f=n.tagName,h=n.spellCheck,d=s.value,p=f,v=d.document,g=d.selection,y=Bt({outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},u?{}:{WebkitUserModify:"read-write-plaintext-only"},n.style);fe("render",{props:n}),fe.update("render",this.tmp.contentKey,v.text),this.props.onEvent("onRender");var m=(Lt(t={},It.EDITOR,!0),Lt(t,It.KEY,v.key),t),b=st()(this.props,Object.keys(e.propTypes));return i.a.createElement(p,Bt({},b,{key:this.tmp.contentKey},r,m,{ref:this.setRef,contentEditable:!u||null,suppressContentEditableWarning:!0,id:o,className:a,autoCorrect:n.autoCorrect?"on":"off",spellCheck:h,style:y,role:u?null:l||"textbox",tabIndex:c,"data-gramm":!!b["data-gramm"]&&void 0}),i.a.createElement(ne,{annotations:d.annotations,block:null,decorations:Object(ct.List)(),editor:s,node:v,parent:null,readOnly:u,selection:g,ref:this.tmp.nodeRef}))}}]),e}(i.a.Component);he.propTypes={autoCorrect:a.a.bool.isRequired,className:a.a.string,contentKey:a.a.number,editor:a.a.object.isRequired,id:a.a.string,onEvent:a.a.func.isRequired,readOnly:a.a.bool.isRequired,role:a.a.string,spellCheck:a.a.bool.isRequired,style:a.a.object,tabIndex:a.a.number,tagName:a.a.string},he.defaultProps={style:{},tagName:"div"};var de=[].concat(Ht(Dt),["commands","decorateNode","queries","renderAnnotation","renderBlock","renderDecoration","renderDocument","renderEditor","renderInline","renderMark","schema"]);function pe(){return{queries:{findDOMNode:function(t,e){e=u.j.create(e);var n=t.tmp.contentRef.current;return n?e.size?function t(e,n){if(!e)return null;if(!n.size)return e.ref?e.ref.current||null:e||null;var r=n.first(),i=n.rest();return t(e.tmp.nodeRefs[r],i)}(n.tmp.nodeRef.current,e):n.ref.current||null:null},findDOMPoint:function(t,e){var n=t.findDOMNode(e.path),r=0;if(!n)return null;var i=Array.from(n.querySelectorAll(Nt.STRING+", "+Nt.ZERO_WIDTH)),o=!0,a=!1,u=void 0;try{for(var s,c=i[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value,f=l.childNodes[0],h=f.textContent.length,d=h;l.hasAttribute(It.LENGTH)&&(d=parseInt(l.getAttribute(It.LENGTH),10));var p=r+d;if(e.offset<=p)return{node:f,offset:Math.min(h,Math.max(0,e.offset-r))};r=p}}catch(t){a=!0,u=t}finally{try{!o&&c.return&&c.return()}finally{if(a)throw u}}return null},findDOMRange:function(t,e){var n=e.anchor,r=e.focus,i=e.isBackward,o=e.isCollapsed,a=t.findDOMPoint(n),u=o?a:t.findDOMPoint(r);if(!a||!u)return null;var s=g()(a.node).document.createRange(),c=i?u:a,l=i?a:u;return s.setStart(c.node,c.offset),s.setEnd(l.node,l.offset),s},findEventRange:function(t,e){e.nativeEvent&&(e=e.nativeEvent);var n=e,r=n.clientX,i=n.clientY,o=n.target;if(null==r||null==i)return null;var a=t.value.document,u=t.findPath(e.target);if(!u)return null;var s=a.getNode(u);if(t.isVoid(s)){var c=o.getBoundingClientRect(),l="inline"===s.object?r-c.left<c.left+c.width-r:i-c.top<c.top+c.height-i,f=a.createRange(),h=l?"moveToEndOfNode":"moveToStartOfNode",d=a[l?"getPreviousText":"getNextText"](u);return d?f[h](d):null}var p=g()(o),v=void 0;if(p.document.caretRangeFromPoint)v=p.document.caretRangeFromPoint(r,i);else if(p.document.caretPositionFromPoint){var y=p.document.caretPositionFromPoint(r,i);(v=p.document.createRange()).setStart(y.offsetNode,y.offset),v.setEnd(y.offsetNode,y.offset)}else if(p.document.body.createTextRange){v=p.document.body.createTextRange();try{v.moveToPoint(r,i)}catch(t){return null}}return t.findRange(v)},findNode:function(t,e){var n=t.findPath(e);return n?t.value.document.getNode(n):null},findPath:function(t,e){var n=t.tmp.contentRef.current,r=e;if(r.hasAttribute(It.KEY)||(r=r.closest(Nt.KEY)),!r||!r.getAttribute(It.KEY))return null;if(r===n.ref.current)return u.j.create([]);var i=function t(e,n){if(r===e)return n;if(!e.ref)return null;if(r===e.ref.current)return n;if(!e.tmp)return null;var i=e.tmp.nodeRefs,o=Object.keys(i),a=!0,u=!1,s=void 0;try{for(var c,l=o[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,h=i[f],d=parseInt(f,10),p=t(h,[].concat(Ht(n),[d]));if(p)return p}}catch(t){u=!0,s=t}finally{try{!a&&l.return&&l.return()}finally{if(u)throw s}}return null}(n.tmp.nodeRef.current,[]);return i?u.j.create(i):null},findPoint:function(t,e,n){var r=function(t,e){if(1===t.nodeType&&t.childNodes.length){var n=e===t.childNodes.length,r=n?"backward":"forward",i=n?e-1:e;for(t=ve(t,i,r);1===t.nodeType&&t.childNodes.length;){var o=n?t.childNodes.length-1:0;t=ve(t,o,r)}e=n?t.textContent.length:0}return{node:t,offset:e}}(e,n),i=r.node,o=r.offset,a=g()(e),u=i.parentNode,s=u.closest(Nt.LEAF),c=void 0,l=void 0,f=void 0;if(s){c=s.closest(Nt.TEXT);var h=a.document.createRange();h.setStart(c,0),h.setEnd(i,o);var d=h.cloneContents(),p=d.querySelectorAll(Nt.ZERO_WIDTH);Array.from(p).forEach(function(t){t.parentNode.removeChild(t)}),l=d.textContent.length,f=c}else{var v=u.closest(Nt.VOID);if(!v)return null;if(!(s=v.querySelector(Nt.LEAF)))return null;c=s.closest(Nt.TEXT),l=(f=s).textContent.length}l===f.textContent.length&&u.hasAttribute(It.ZERO_WIDTH)&&l--;var y=t.findPath(c);return y?t.value.document.createPoint({path:y,offset:l}):null},findRange:function(t,e){var n=e.anchorNode||e.startContainer;if(!n)return null;var r=g()(n);(e instanceof r.Range||r.StaticRange&&e instanceof r.StaticRange)&&(e={anchorNode:e.startContainer,anchorOffset:e.startOffset,focusNode:e.endContainer,focusOffset:e.endOffset});var i=e,o=i.anchorNode,a=i.anchorOffset,u=i.focusNode,s=i.focusOffset,c=i.isCollapsed,l=t.value,f=t.findPoint(o,a),h=c?f:t.findPoint(u,s);return f&&h?l.document.createRange({anchor:f,focus:h}):null},findSelection:function(t,e){var n=t.value,r=n.document;if(!e.rangeCount)return null;var i=t.findRange(e);if(!i)return null;var o=i,a=o.anchor,s=o.focus,c=r.getNode(a.path),l=r.getNode(s.path),f=r.getClosestInline(a.path),h=r.getClosestInline(s.path),d=r.getClosestBlock(s.path),p=r.getClosestBlock(a.path);if(p&&!t.isVoid(p)&&0===a.offset&&d&&t.isVoid(d)&&0!==s.offset&&(i=i.setFocus(s.setOffset(0))),f&&!t.isVoid(f)&&a.offset===c.text.length){var v=r.getClosestBlock(a.path),g=r.getDepth(v.key),y=u.j.drop(a.path,g),m=v.texts({path:y}),b=Ut(m,1)[0];if(b){var x=Ut(b,2)[1],w=a.path.slice(0,g).concat(x);i=i.moveAnchorTo(w,0)}}if(h&&!t.isVoid(h)&&s.offset===l.text.length){var _=r.getClosestBlock(s.path),S=r.getDepth(_.key),k=u.j.drop(s.path,S),E=_.texts({path:k}),O=Ut(E,1)[0];if(O){var C=Ut(O,2)[1],A=s.path.slice(0,S).concat(C);i=i.moveFocusTo(A,0)}}var T=r.createSelection(i);return T=(T=T.setIsFocused(!0)).set("marks",n.selection.marks)}}}}function ve(t,e,n){for(var r=t.childNodes,i=r[e],o=e,a=!1,u=!1;(8===i.nodeType||1===i.nodeType&&0===i.childNodes.length||1===i.nodeType&&"false"===i.getAttribute("contenteditable"))&&(!a||!u);)o>=r.length?(a=!0,o=e-1,n="backward"):o<0?(u=!0,o=e+1,n="forward"):(i=r[o],"forward"===n&&o++,"backward"===n&&o--);return i||null}function ge(t,e){if(t===e)return null;var n=function(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r++)if(t.charAt(r)!==e.charAt(r))return r;return t.length!==e.length?n:null}(t,e),r=function(t,e,n){for(var r=t.length,i=e.length,o=Math.min(r,i,n),a=0;a<o;a++)if(t.charAt(r-a-1)!==e.charAt(i-a-1))return a;return t.length!==e.length?o:null}(t,e,Math.min(t.length-n,e.length-n));return{start:n,end:r,total:n+r}}function ye(t,e){return t.slice(e.start,t.length-e.end)}var me=d()("slate:composition-manager"),be=String.fromCharCode(65279),xe=bt.a.unstable_flushControlled;function we(t,e){xe(function(){e(),t.controller.flush()})}function _e(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e,i=t,o=0;-1!==o&&-1!==(o=i.indexOf(be,o));)r>o&&r--,i=""+i.slice(0,o)+i.slice(o+1);var a=i.charAt(i.length-1);n&&"\n"===a&&(i=i.slice(0,-1));var u=i.length;return r>u&&(r=u),{text:i,offset:r}}function Se(t){var e=new window.MutationObserver(function(t){var e;me("flush"),(e=s).push.apply(e,Ht(t)),f()}),n=null,r={rootEl:null,diff:null,range:null,domNode:null};function i(){me("clearAction"),r.diff=null,r.domNode=null}function o(){me("applyDiff");var e=r.diff;if(null!=e){me("applyDiff:run");var n=t.value.document,i=t.value.selection.moveAnchorTo(e.path,e.start).moveFocusTo(e.path,e.end);i=n.resolveRange(i),t.insertTextAtRange(i,e.insertText)}}function a(){me("splitBlock"),we(t,function(){o(),r.range?t.select(r.range):me("splitBlock:NO-SELECTION"),t.splitBlock().focus().restoreDOM(),i()})}var u=null,s=[],c=null,l=!1;function f(){u&&(window.cancelAnimationFrame(u),u=null),l=!0,c&&window.cancelAnimationFrame(c),c=window.requestAnimationFrame(function(){s.length>0&&function(e){if(me("flushAction",e.length,e),r.range&&!r.range.isCollapsed)return void we(t,function(){t.select(r.range).deleteBackward().focus().restoreDOM()});if(e.length>1){var u=e.find(function(e){if("childList"!==e.type)return!1;if(0===e.addedNodes.length)return!1;var n=e.addedNodes[0];if(n.nodeType===window.Node.TEXT_NODE&&"\n"===n.textContent)return!0;if(n.nodeType!==window.Node.ELEMENT_NODE)return!1;var r=n.dataset,i=r.key;if(null==i)return!1;var o=t.value.document.getClosestBlock(i);return!!o});if(u)return void a()}var s=e[0];"characterData"===s.type?function(e){me("resolveDOMNode");var n=t.value.document,i=e.closest("[data-key]").dataset.key,o=n.getPath(i),a=n.getClosestBlock(i),u=n.getDescendant(i),s=u.text,c=a.nodes.last()===u,l=_e(e.textContent,0,c).text;if(l===s)return void(r.diff=null);var f=function(t,e){var n=ge(t,e);if(null==n)return null;var r=ye(e,n),i=ye(t,n);return{start:n.start,end:t.length-n.end,cursor:n.start+r.length,insertText:r,removeText:i}}(s,l);r.diff={path:o,start:f.start,end:f.end,insertText:f.insertText},me("resolveDOMNode:diff",r.diff)}(s.target.parentNode):"childList"===s.type&&(s.removedNodes.length>0?1===e.length?function(e){if(me("removeNode"),e.nodeType!==window.Node.ELEMENT_NODE)return;var n=t.value,r=n.document,i=n.selection,o=t.findNode(e),a=r.resolveRange(i.moveToRangeOfNode(o));we(t,function(){t.select(a).delete().restoreDOM()})}(s.removedNodes[0]):(me("mergeBlock"),n.requestAnimationFrame(function(){we(t,function(){o(),t.select(r.range).deleteBackward().focus().restoreDOM(),i()})})):s.addedNodes.length>0&&a())}(s),c=null,s=[],l=!1})}return{clearDiff:function(){me("clearDIff"),r.diff=null},connect:function(){me("connect",{rootEl:i});var i=t.findDOMNode([]);r.rootEl!==i&&(me("connect:run"),n=g()(i),e.observe(i,{childList:!0,characterData:!0,attributes:!0,subtree:!0,characterDataOldValue:!0}))},disconnect:function(){me("disconnect"),e.disconnect(),r.rootEl=null},onKeyDown:f,onCompositionStart:function(){me("onCompositionStart")},onCompositionEnd:function(){me("onCompositionEnd"),window.setTimeout(function(){r.diff&&(me("onCompositionEnd:applyDiff"),we(t,function(){o();var e=n.getSelection().getRangeAt(0),r=_e(e.startContainer.textContent,e.startOffset),i=t.findRange({anchorNode:e.startContainer,anchorOffset:0,focusNode:e.startContainer,focusOffset:0,isCollapsed:!0}).moveTo(r.offset);t.select(i).focus().restoreDOM()})),i()},20)},onSelect:function(e){me("onSelect:try"),e=e.nativeEvent?e.nativeEvent:e,window.cancelAnimationFrame(u),u=null,l||(u=window.requestAnimationFrame(function(){me("onSelect:save-selection");var n,a=g()(e.target).getSelection(),u=t.findRange(a),s=_e(a.anchorNode.textContent,a.anchorOffset),c=_e(a.focusNode.textContent,a.focusOffset);u.anchor.offset!==s.offset&&(u=u.set("anchor",u.anchor.set("offset",s.offset))),u.focus.offset!==c.offset&&(u=u.set("focus",u.focus.set("offset",c.offset))),me("onSelect:save-data",{domSelection:(n=a,{anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),range:u.toJS()}),a.isCollapsed&&r.node!==a.anchorNode&&null!=r.diff&&(me("onSelect:applyDiff",r.diff),o(),t.select(u),i()),r.range=u,r.node=a.anchorNode}))}}}function ke(t){var e=new Se(t.editor);return{onComponentDidMount:function(){e.connect()},onComponentDidUpdate:function(){e.connect()},onComponentWillUnmount:function(){e.disconnect()},onCompositionEnd:function(){e.onCompositionEnd()},onCompositionStart:function(){e.onCompositionStart()},onRender:function(){e.disconnect(),e.clearDiff()},onSelect:function(t){!function(t){var e=t.getSelection(),n=e.anchorNode;if(null!=n){var r=n.parentElement.dataset;if(r&&"n"===r.slateZeroWidth&&1===n.textContent.length&&0!==e.anchorOffset){var i=t.document.createRange();i.setStart(n,0),i.setEnd(n,0),e.removeAllRanges(),e.addRange(i)}}}(g()(t.target)),e.onSelect(t)}}}function Ee(){var t={},e=!0,n=!1,r=void 0;try{for(var i,o=Dt[Symbol.iterator]();!(e=(i=o.next()).done);e=!0){t[i.value]=function(t,e,n){}}}catch(t){n=!0,r=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw r}}return t}var Oe={FRAGMENT:"application/x-slate-fragment",HTML:"text/html",NODE:"application/x-slate-node",RICH:"text/rtf",TEXT:"text/plain"};function Ce(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;Object(p.a)(!1,"As of slate-react@0.22 the `findDOMNode(key)` helper is deprecated in favor of `editor.findDOMNode(path)`."),u.i.isNode(t)&&(t=t.key);var n=e.document.querySelector("["+It.KEY+'="'+t+'"]');if(!n)throw new Error('Unable to find a DOM node for "'+t+'". This is often because of forgetting to add `props.attributes` to a custom component.');return n}var Ae=Oe.FRAGMENT,Te=Oe.HTML,Me=Oe.TEXT;function Pe(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};Object(Et.a)(!u.n.isValue(e),"As of Slate 0.42.0, the `cloneFragment` utility takes an `editor` instead of a `value`.");var r=g()(t.target),i=r.getSelection(),o=e.value,a=o.document,s=o.fragment,c=o.selection,l=c.start,f=c.end,h=a.getClosestVoid(l.path,e),d=a.getClosestVoid(f.path,e);if(!i.isCollapsed||h){var p=St.serializeNode(s),v=i.getRangeAt(0),y=v.cloneContents(),m=y.childNodes[0];if(y.childNodes.forEach(function(t){t.textContent&&""!==t.textContent.trim()&&(m=t)}),d){var b=v.cloneRange(),x=Ce(d,r);b.setEndAfter(x),y=b.cloneContents()}if(h&&(m=y.childNodes[0].childNodes[1].firstChild),[].slice.call(y.querySelectorAll(Nt.ZERO_WIDTH)).forEach(function(t){var e="n"===t.getAttribute(It.ZERO_WIDTH);t.textContent=e?"\n":""}),3===m.nodeType){var w=r.document.createElement("span");w.style.whiteSpace="pre",w.appendChild(m),y.appendChild(w),m=w}m.setAttribute(It.FRAGMENT,p);var _=u.n.create({document:s}),S=kt.a.serialize(_),k=r.document.createElement("div");if(k.appendChild(y),t.clipboardData&&t.clipboardData.setData&&!J)return t.preventDefault(),t.clipboardData.setData(Me,S),t.clipboardData.setData(Ae,p),t.clipboardData.setData(Te,k.innerHTML),void n();var E=t.target.closest(Nt.EDITOR);k.setAttribute("contenteditable",!0),k.style.position="absolute",k.style.left="-9999px",E.appendChild(k),i.selectAllChildren(k),r.requestAnimationFrame(function(){E.removeChild(k),se(i),i.addRange(v),n()})}}var je=Oe.FRAGMENT,De=Oe.HTML,Ie=Oe.NODE,Ne=Oe.RICH,Fe=Oe.TEXT,Re=/ data-slate-fragment="([^\s"]+)"/;function Le(t){!J&&t.nativeEvent&&(t=t.nativeEvent);var e=t.dataTransfer||t.clipboardData,n=Be(e,je),r=Be(e,Ie),i=Be(e,De),o=Be(e,Ne),a=Be(e,Fe),u=void 0;if(!n&&i&&~i.indexOf(" "+It.FRAGMENT+'="')){var s=Re.exec(i),c=Ut(s,2),l=(c[0],c[1]);l&&(n=l)}if(a){var f=function(t){var e="SLATE-DATA-EMBED::";if(t.substring(0,e.length)!==e)return{TEXT:t};try{return JSON.parse(t.substring(e.length))}catch(t){throw new Error("Unable to parse custom Slate drag event data.")}}(a);f[je]&&(n=f[je]),f[Ie]&&(r=f[Ie]),f[Fe]&&(a=f[Fe])}n&&(n=St.deserializeNode(n)),r&&(r=St.deserializeNode(r));try{e.items&&e.items.length?u=Array.from(e.items).map(function(t){return"file"===t.kind?t.getAsFile():null}).filter(function(t){return t}):e.files&&e.files.length&&(u=Array.from(e.files))}catch(t){e.files&&e.files.length&&(u=Array.from(e.files))}var h={files:u,fragment:n,html:i,node:r,rich:o,text:a};return h.type=function(t){return t.fragment?"fragment":t.node?"node":t.rich&&t.html?"html":t.rich&&t.text?"text":t.files&&t.files.length?"files":t.html?"html":t.text?"text":"unknown"}(h),h}function Be(t,e){return t.types&&t.types.length?-1!==Array.from(t.types).indexOf(e)&&t.getData(e)||null:e===Fe&&t.getData("Text")||null}var ze=Oe.TEXT;function Ve(t,e,n){var r=Oe[e.toUpperCase()];if(!r)throw new Error('Cannot set unknown transfer type "'+r+'".');t.nativeEvent&&(t=t.nativeEvent);var i=t.dataTransfer||t.clipboardData;try{i.setData(r,n),i.setData("text",i.getData("text"))}catch(t){var o="SLATE-DATA-EMBED::",a=i.getData(ze),u={};if(a.substring(0,o.length)===o)try{u=JSON.parse(a.substring(o.length))}catch(t){throw new Error("Failed to parse Slate data from `DataTransfer` object.")}else u[ze]=a;u[r]=n;var s=""+o+JSON.stringify(u);i.setData(ze,s)}}var Ue=d()("slate:after");var He=d()("slate:before");function We(){var t,e,n,r,i,o,a,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=u.plugins,c=void 0===s?[]:s,l=(t=null,e=0,n=!1,r=!1,i=!1,{onBeforeInput:function(t,e,n){var r=!!t.nativeEvent;e.readOnly||r&&it||(He("onBeforeInput",{event:t}),n())},onBlur:function(e,n,i){if(!r&&!n.readOnly){var o=e.relatedTarget,a=e.target,u=g()(a);if(t!==u.document.activeElement){if(o){var s=n.findDOMNode([]);if(o===s)return;if(o.hasAttribute(It.SPACER))return;var c=n.findNode(o);if(s.contains(o)&&c&&!n.isVoid(c))return}He("onBlur",{event:e}),i()}}},onClick:function(t,e,n){He("onClick",{event:t}),n()},onCompositionEnd:function(t,r,i){var o=e;window.requestAnimationFrame(function(){e>o||(n=!1)}),He("onCompositionEnd",{event:t}),i()},onCompositionStart:function(t,r,i){n=!0,e++,r.value.selection.isCollapsed||r.delete(),He("onCompositionStart",{event:t}),i()},onCopy:function(t,e,n){var i=g()(t.target);r=!0,i.requestAnimationFrame(function(){return r=!1}),He("onCopy",{event:t}),n()},onCut:function(t,e,n){if(!e.readOnly){var i=g()(t.target);r=!0,i.requestAnimationFrame(function(){return r=!1}),He("onCut",{event:t}),n()}},onDragEnd:function(t,e,n){i=!1,He("onDragEnd",{event:t}),n()},onDragEnter:function(t,e,n){He("onDragEnter",{event:t}),n()},onDragExit:function(t,e,n){He("onDragExit",{event:t}),n()},onDragLeave:function(t,e,n){He("onDragLeave",{event:t}),n()},onDragOver:function(t,e,n){var r=e.findNode(t.target);r&&!e.isVoid(r)||t.preventDefault(),J&&t.preventDefault(),i||(i=!0,J||(t.nativeEvent.dataTransfer.dropEffect="move")),He("onDragOver",{event:t}),n()},onDragStart:function(t,e,n){i=!0,He("onDragStart",{event:t}),n()},onDrop:function(t,e,n){e.readOnly||(t.preventDefault(),He("onDrop",{event:t}),n())},onFocus:function(e,n,i){if(!r&&!n.readOnly){var o=n.findDOMNode([]),a=g()(e.target);t=a.document.activeElement,$&&e.target!==o?o.focus():(He("onFocus",{event:e}),i())}},onInput:function(t,e,r){n||e.value.selection.isBlurred||(He("onInput",{event:t}),r())},onKeyDown:function(t,e,r){e.readOnly||(n?yt.isCompose(t)&&t.preventDefault():(!et&&(yt.isBold(t)||yt.isDeleteBackward(t)||yt.isDeleteForward(t)||yt.isDeleteLineBackward(t)||yt.isDeleteLineForward(t)||yt.isDeleteWordBackward(t)||yt.isDeleteWordForward(t)||yt.isItalic(t)||yt.isRedo(t)||yt.isSplitBlock(t)||yt.isTransposeCharacter(t)||yt.isUndo(t))&&t.preventDefault(),He("onKeyDown",{event:t}),r()))},onPaste:function(t,e,n){e.readOnly||(t.preventDefault(),He("onPaste",{event:t}),n())},onSelect:function(e,i,o){if(!r&&!n&&!i.readOnly){var a=g()(e.target);t=a.document.activeElement,He("onSelect",{event:e}),o()}}}),f=(o=null,a=!1,{onBeforeInput:function(t,e,n){var r=e.value;if(t.nativeEvent)return t.preventDefault(),e.insertText(t.data),n();var i=t.getTargetRanges(),o=Ut(i,1)[0];if(!o)return n();Ue("onBeforeInput",{event:t}),t.preventDefault();var a=r.document,u=r.selection,s=e.findRange(o);switch(t.inputType){case"deleteByDrag":case"deleteByCut":case"deleteContent":case"deleteContentBackward":case"deleteContentForward":e.deleteAtRange(s);break;case"deleteWordBackward":e.deleteWordBackwardAtRange(s);break;case"deleteWordForward":e.deleteWordForwardAtRange(s);break;case"deleteSoftLineBackward":case"deleteHardLineBackward":e.deleteLineBackwardAtRange(s);break;case"deleteSoftLineForward":case"deleteHardLineForward":e.deleteLineForwardAtRange(s);break;case"insertLineBreak":case"insertParagraph":a.hasVoidParent(u.start.path,e)?e.moveToStartOfNextText():e.splitBlockAtRange(s);break;case"insertFromYank":case"insertReplacementText":case"insertText":var c=null==t.data?t.dataTransfer.getData("text/plain"):t.data;if(null==c)break;e.insertTextAtRange(s,c,u.marks),u.marks&&r.document!==e.value.document&&e.select({marks:null})}n()},onBlur:function(t,e,n){Ue("onBlur",{event:t}),e.blur(),n()},onClick:function(t,e,n){if(e.readOnly)return n();var r=e.value.document,i=e.findPath(t.target);if(!i)return n();Ue("onClick",{event:t});var o=r.getNode(i),a=r.getAncestors(i);o&&(e.isVoid(o)||a.some(function(t){return e.isVoid(t)}))&&e.focus().moveToEndOfNode(o),n()},onCopy:function(t,e,n){Ue("onCopy",{event:t}),Pe(t,e),n()},onCut:function(t,e,n){Ue("onCut",{event:t}),Pe(t,e,function(){var t=e.value,n=t.document,r=t.selection,i=r.end,o=void 0;if(r.isCollapsed){var a=!0,u=!1,s=void 0;try{for(var c,l=n.ancestors(i.path)[Symbol.iterator]();!(a=(c=l.next()).done);a=!0){var f=c.value,h=Ut(f,2),d=h[0],p=h[1];if(e.isVoid(d)){o=p;break}}}catch(t){u=!0,s=t}finally{try{!a&&l.return&&l.return()}finally{if(u)throw s}}}o?e.removeNodeByKey(o):e.delete()}),n()},onDragEnd:function(t,e,n){Ue("onDragEnd",{event:t}),o=null,n()},onDragStart:function(t,e,n){Ue("onDragStart",{event:t}),o=!0;var r=e.value,i=r.document,a=e.findPath(t.target),u=i.getNode(a),s=i.getAncestors(a),c=u&&(e.isVoid(u)||s.some(function(t){return e.isVoid(t)})),l=r.blocks.some(function(t){return t===u});c&&!l&&e.moveToRangeOfNode(u);var f=e.value.fragment;Ve(t,"fragment",St.serializeNode(f)),n()},onDrop:function(t,e,n){var r=e.value,i=r.document,a=r.selection,u=g()(t.target),s=e.findEventRange(t);if(!s)return n();Ue("onDrop",{event:t});var c=Le(t),l=c.type,f=c.fragment,h=c.text;if(e.focus(),o&&a.end.offset<s.end.offset&&a.end.path.equals(s.end.path)&&(s=s.moveForward(a.start.path.equals(a.end.path)?0-a.end.offset+a.start.offset:0-a.end.offset)),o&&e.delete(),e.select(s),"text"===l||"html"===l){var d=s.anchor,p=i.hasVoidParent(d.path,e);if(p){for(var v=d.path,y=i.getNode(d.path);p;){var m=i.texts({path:v}),b=Ut(m,1)[0];if(!b)break;var x=Ut(b,2);y=x[0],v=x[1],p=i.hasVoidParent(v,e)}y&&e.moveToStartOfNode(y)}h&&h.split("\n").forEach(function(t,n){n>0&&e.splitBlock(),e.insertText(t)})}"fragment"===l&&e.insertFragment(f);var w=e.findDOMNode(s.focus.path);w&&w.dispatchEvent(new MouseEvent("mouseup",{view:u,bubbles:!0,cancelable:!0})),n()},onFocus:function(t,e,n){Ue("onFocus",{event:t}),!a||J||Q?e.focus():e.deselect().focus(),n()},onInput:function(t,e,n){Ue("onInput");var r=g()(t.target).getSelection(),i=e.findSelection(r);i?e.select(i):e.blur();var o=r.anchorNode;e.reconcileDOMNode(o),n()},onKeyDown:function(t,e,n){Ue("onKeyDown",{event:t});var r=e.value,i=r.document,o=r.selection,a=o.start,u=i.hasVoidParent(a.path,e);if(yt.isSplitBlock(t)&&!et)return u?e.moveToStartOfNextText():e.splitBlock();if(yt.isDeleteBackward(t)&&!et)return e.deleteCharBackward();if(yt.isDeleteForward(t)&&!et)return e.deleteCharForward();if(yt.isDeleteLineBackward(t))return e.deleteLineBackward();if(yt.isDeleteLineForward(t))return e.deleteLineForward();if(yt.isDeleteWordBackward(t))return e.deleteWordBackward();if(yt.isDeleteWordForward(t))return e.deleteWordForward();if(yt.isRedo(t))return e.redo();if(yt.isUndo(t))return e.undo();if(yt.isMoveLineBackward(t))return t.preventDefault(),e.moveToStartOfBlock();if(yt.isMoveLineForward(t))return t.preventDefault(),e.moveToEndOfBlock();if(yt.isExtendLineBackward(t))return t.preventDefault(),e.moveFocusToStartOfBlock();if(yt.isExtendLineForward(t))return t.preventDefault(),e.moveFocusToEndOfBlock();if(yt.isMoveBackward(t))return t.preventDefault(),o.isCollapsed?e.moveBackward():e.moveToStart();if(yt.isMoveForward(t))return t.preventDefault(),o.isCollapsed?e.moveForward():e.moveToEnd();if(yt.isMoveWordBackward(t))return t.preventDefault(),e.moveWordBackward();if(yt.isMoveWordForward(t))return t.preventDefault(),e.moveWordForward();if(yt.isExtendBackward(t)){var s=i.getNode(a.path),c=i.texts({path:a.path,direction:"backward"}),l=Ut(c,1)[0],f=!1;if(l){var h=Ut(l,2)[1];f=i.hasVoidParent(h,e)}if(u||f||""===s.text)return t.preventDefault(),e.moveFocusBackward()}if(yt.isExtendForward(t)){var d=i.getNode(a.path),p=i.texts({path:a.path}),v=Ut(p,1)[0],g=!1;if(v){var y=Ut(v,2)[1];g=i.hasVoidParent(y,e)}if(u||g||""===d.text)return t.preventDefault(),e.moveFocusForward()}n()},onMouseDown:function(t,e,n){Ue("onMouseDown",{event:t}),a=!0,n()},onMouseUp:function(t,e,n){Ue("onMouseUp",{event:t}),a=!1,n()},onPaste:function(t,e,n){Ue("onPaste",{event:t});var r=e.value,i=Le(t),o=i.type,a=i.fragment,u=i.text;if("fragment"===o&&e.insertFragment(a),"text"===o||"html"===o){if(!u)return n();var s=r.document,c=r.selection,l=r.startBlock;if(e.isVoid(l))return n();var f=l,h=s.getInsertMarksAtRange(c),d=kt.a.deserialize(u,{defaultBlock:f,defaultMarks:h}).document;e.insertFragment(d)}n()},onSelect:function(t,e,n){Ue("onSelect",{event:t});var r=g()(t.target).getSelection(),i=e.findSelection(r);i?e.select(i):e.blur(),a=!1,n()}}),h=tt?[ke(u),Ee()]:[];return[].concat(h,[l],Ht(c),[f])}function qe(t){var e=t.nativeEvent||t;switch(e.type){case"keydown":return e.type+" "+JSON.stringify(e.key);case"input":case"beforeinput":case"textInput":return e.type+":"+e.inputType+" "+JSON.stringify(e.data);default:return e.type}}var Ge=d()("slate:events");var Ye=2e3,Xe=d()("slate:batch-events");var Ke=d()("slate:mutations"),$e=["type","oldValue","target","addedNodes","removedNodes","attributeName","attributeNamespace","nextSibling","previousSibling"];function Ze(t){if(t.nodeType===window.Node.TEXT_NODE)return t.textContent;if(t.nodeType===window.Node.ELEMENT_NODE){var e=t.outerHTML,n=t.innerHTML;return null==e?JSON.stringify(t.textContent):e.slice(0,e.indexOf(n))}return"Node(type="+t.nodeType}function Je(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.placeholder,n=void 0===e?"":e,r=d.a.enabled("slate:events")?function(){var t={},e=!0,n=!1,r=void 0;try{for(var i,o=Dt[Symbol.iterator]();!(e=(i=o.next()).done);e=!0)t[i.value]=function(t,e,n){var r=qe(t);Ge(r),n()}}catch(t){n=!0,r=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw r}}return t}():null,o=d.a.enabled("slate:batch-events")?function(){var t=null,e=null,n=[];function r(){Xe("\n"+n.join("\n")),n.length=0}function i(i){0===n.length&&(t=new Date);var o=qe(i),a=new Date;n.push("- "+(a-t)+" - "+o),clearTimeout(e),e=setTimeout(r,Ye)}var o={},a=!0,u=!1,s=void 0;try{for(var c,l=Dt[Symbol.iterator]();!(a=(c=l.next()).done);a=!0)o[c.value]=function(t,e,n){i(t),n()}}catch(t){u=!0,s=t}finally{try{!a&&l.return&&l.return()}finally{if(u)throw s}}return o}():null,a=d.a.enabled("slate:mutations")?function(){var t=new window.MutationObserver(function(t){var e=Array.from(t).map(function(t){var e={};return $e.forEach(function(n){var r=t[n];if(null!=r)if(r instanceof window.NodeList){if(0===r.length)return;e[n]=Array.from(r).map(Ze).join(", ")}else r instanceof window.Node&&(r=Ze(r)),e[n]=r}),e});Ke.apply(void 0,[e.length+" Mutations"].concat(Ht(e)))}),e=null;function n(n,r,i){var o=r.findDOMNode([]);if(o===e)return i();Ke("start"),t.observe(o,{childList:!0,characterData:!0,attributes:!0,subtree:!0,characterDataOldValue:!0}),e=o,i()}return{onComponentDidMount:n,onComponentDidUpdate:n,onComponentWillUnmount:function(n,r,i){Ke("stop"),t.disconnect(),e=null,i()}}}():null,u={decorateNode:function(){return[]},renderAnnotation:function(t){var e=t.attributes,n=t.children;return i.a.createElement("span",e,n)},renderBlock:function(t){var e=t.attributes,n=t.children;return i.a.createElement("div",Bt({},e,{style:{position:"relative"}}),n)},renderDecoration:function(t){var e=t.attributes,n=t.children;return i.a.createElement("span",e,n)},renderDocument:function(t){return t.children},renderEditor:function(t){return t.children},renderInline:function(t){var e=t.attributes,n=t.children;return i.a.createElement("span",Bt({},e,{style:{position:"relative"}}),n)},renderMark:function(t){var e=t.attributes,n=t.children;return i.a.createElement("span",e,n)}},s={commands:{reconcileNode:function(t,e){var n=t.value,r=n.document,i=n.selection,o=r.getPath(e.key),a=t.findDOMNode(o),u=r.getClosestBlock(o),s=e.text,c=a.textContent,l=u.nodes.last()===e,f=c.charAt(c.length-1);if(l&&"\n"===f&&(c=c.slice(0,-1)),s!==c){var h=i.moveAnchorTo(o,0).moveFocusTo(o,s.length);h=r.resolveRange(h),t.insertTextAtRange(h,c,e.marks)}},reconcileDOMNode:function(t,e){var n=e.parentElement.closest("[data-key]"),r=t.findNode(n);t.reconcileNode(r)}}},c=pe();return[r,o,a,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return de.reduce(function(e,n){return n in t&&(e[n]=t[n]),e},{})}(t),We(t),{commands:{restoreDOM:function(t){var e=t.tmp.contentRef.current.tmp;e.contentKey=e.contentKey+1}}},tt?null:Pt({placeholder:n,when:function(t,e){return"document"===e.object&&""===e.text&&1===e.nodes.size&&1===Array.from(e.texts()).length}}),u,s,c]}var Qe=d()("slate:editor"),tn=function(t){function e(){var t,n,r;Ft(this,e);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=r=Vt(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),r.state={value:r.props.defaultValue,contentKey:0},r.tmp={mounted:!1,change:null,resolves:0,updates:0,contentRef:i.a.createRef()},r.resolveController=Object(jt.default)(function(){var t=arguments[5];Object(p.a)(r.tmp.resolves<5||r.tmp.resolves!==r.tmp.updates,"A Slate <Editor> component is re-resolving the `plugins`, `schema`, `commands`, `queries` or `placeholder` prop on each update, which leads to poor performance. This is often due to passing in a new references for these props with each render by declaring them inline in your render function. Do not do this! Declare them outside your render function, or memoize them instead."),r.tmp.resolves++;var e=t(Bt({},r.props,{editor:r,value:r.props.value||r.state.value}));r.controller=new u.e({plugins:[e],onChange:function(t){r.tmp.mounted?r.handleChange(t):r.tmp.change=t}},{controller:r,construct:!1}),r.controller.run("onConstruct")}),Vt(r,n)}return zt(e,t),Rt(e,[{key:"componentDidMount",value:function(){this.tmp.mounted=!0,this.tmp.updates++,this.props.autoFocus&&this.focus(),this.tmp.change&&(this.handleChange(this.tmp.change),this.tmp.change=null)}},{key:"componentDidUpdate",value:function(){this.tmp.updates++,this.tmp.change&&(this.handleChange(this.tmp.change),this.tmp.change=null)}},{key:"componentWillUnmount",value:function(){this.tmp.mounted=!1}},{key:"render",value:function(){var t=this;Qe("render",this);var n=this.props,r=n.commands,o=n.placeholder,a=n.plugins,u=n.queries,s=n.schema;this.resolveController(a,s,r,u,o,Je);var c=this.props,l=c.options,f=c.readOnly,h=c.value,d=this.state.value,p=h||d,v=this.state.contentKey;this.controller.setReadOnly(f),this.controller.setValue(p,l);var g=this.props,y=g.autoCorrect,m=g.className,b=g.id,x=g.role,w=g.spellCheck,_=g.tabIndex,S=g.style,k=g.tagName,E=st()(this.props,Object.keys(e.propTypes)),O=i.a.createElement(he,Bt({},E,{ref:this.tmp.contentRef,autoCorrect:y,className:m,contentKey:v,editor:this,id:b,onEvent:function(e,n){return t.run(e,n)},readOnly:f,role:x,spellCheck:w,style:S,tabIndex:_,tagName:k}));return this.controller.run("renderEditor",Bt({},this.props,{editor:this,children:O}))}},{key:"handleChange",value:function(t){var e=this.props.onChange;this.state.value&&this.setState({value:t.value}),e(t)}},{key:"applyOperation",value:function(){var t;return(t=this.controller).applyOperation.apply(t,arguments)}},{key:"command",value:function(){var t;return(t=this.controller).command.apply(t,arguments)}},{key:"hasCommand",value:function(){var t;return(t=this.controller).hasCommand.apply(t,arguments)}},{key:"hasQuery",value:function(){var t;return(t=this.controller).hasQuery.apply(t,arguments)}},{key:"normalize",value:function(){var t;return(t=this.controller).normalize.apply(t,arguments)}},{key:"query",value:function(){var t;return(t=this.controller).query.apply(t,arguments)}},{key:"registerCommand",value:function(){var t;return(t=this.controller).registerCommand.apply(t,arguments)}},{key:"registerQuery",value:function(){var t;return(t=this.controller).registerQuery.apply(t,arguments)}},{key:"run",value:function(){var t;return(t=this.controller).run.apply(t,arguments)}},{key:"withoutNormalizing",value:function(){var t;return(t=this.controller).withoutNormalizing.apply(t,arguments)}},{key:"call",value:function(){var t;return(t=this.controller).call.apply(t,arguments)}},{key:"change",value:function(){var t;return(t=this.controller).change.apply(t,arguments)}},{key:"onChange",value:function(){var t;return(t=this.controller).onChange.apply(t,arguments)}},{key:"applyOperations",value:function(){var t;return(t=this.controller).applyOperations.apply(t,arguments)}},{key:"setOperationFlag",value:function(){var t;return(t=this.controller).setOperationFlag.apply(t,arguments)}},{key:"getFlag",value:function(){var t;return(t=this.controller).getFlag.apply(t,arguments)}},{key:"unsetOperationFlag",value:function(){var t;return(t=this.controller).unsetOperationFlag.apply(t,arguments)}},{key:"withoutNormalization",value:function(){var t;return(t=this.controller).withoutNormalization.apply(t,arguments)}},{key:"operations",get:function(){return this.controller.operations}},{key:"readOnly",get:function(){return this.controller.readOnly}},{key:"value",get:function(){return this.controller.value}},{key:"editor",get:function(){return this.controller.editor}},{key:"schema",get:function(){Object(Et.a)(!1,"As of Slate 0.42, the `editor.schema` property no longer exists, and its functionality has been folded into the editor itself. Use the `editor` instead.")}},{key:"stack",get:function(){Object(Et.a)(!1,"As of Slate 0.42, the `editor.stack` property no longer exists, and its functionality has been folded into the editor itself. Use the `editor` instead.")}}]),e}(i.a.Component);function en(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;Object(p.a)(!1,"As of slate-react@0.22 the `findDOMPoint(point)` helper is deprecated in favor of `editor.findDOMPoint(point)`.");var n=Ce(t.key,e),r=0,i=Array.from(n.querySelectorAll(Nt.STRING+", "+Nt.ZERO_WIDTH)),o=!0,a=!1,u=void 0;try{for(var s,c=i[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var l=s.value,f=l.childNodes[0],h=f.textContent.length,d=h;l.hasAttribute(It.LENGTH)&&(d=parseInt(l.getAttribute(It.LENGTH),10));var v=r+d;if(t.offset<=v)return{node:f,offset:Math.min(h,Math.max(0,t.offset-r))};r=v}}catch(t){a=!0,u=t}finally{try{!o&&c.return&&c.return()}finally{if(a)throw u}}return null}function nn(t,e){Object(p.a)(!1,"As of slate-react@0.22 the `findNode(element)` helper is deprecated in favor of `editor.findNode(element)`."),Object(Et.a)(!u.n.isValue(e),"As of Slate 0.42.0, the `findNode` utility takes an `editor` instead of a `value`.");var n=t.closest(Nt.KEY);if(!n)return null;var r=n.getAttribute(It.KEY);return r&&e.value.document.getNode(r)||null}function rn(t,e){Object(p.a)(!1,"As of slate-react@0.22 the `findPath(element)` helper is deprecated in favor of `editor.findPath(element)`.");var n=nn(t,e);return n?e.value.document.getPath(n):null}function on(t,e,n){Object(p.a)(!1,"As of slate-react@0.22 the `findPoint(node, offset)` helper is deprecated in favor of `editor.findPoint(node, offset)`."),Object(Et.a)(!u.n.isValue(n),"As of Slate 0.42.0, the `findPoint` utility takes an `editor` instead of a `value`.");var r=function(t,e){if(1===t.nodeType&&t.childNodes.length){var n=e===t.childNodes.length,r=n?"backward":"forward",i=n?e-1:e;for(t=an(t,i,r);1===t.nodeType&&t.childNodes.length;){var o=n?t.childNodes.length-1:0;t=an(t,o,r)}e=n?t.textContent.length:0}return{node:t,offset:e}}(t,e),i=r.node,o=r.offset,a=g()(t),s=i.parentNode,c=s.closest(Nt.LEAF),l=void 0,f=void 0;if(c){var h=a.document.createRange(),d=c.closest(Nt.TEXT);h.setStart(d,0),h.setEnd(i,o),f=d,l=h.cloneContents().textContent.length}else{var v=s.closest(Nt.VOID);if(!v)return null;if(!(c=v.querySelector(Nt.LEAF)))return null;l=(f=c).textContent.length}l===f.textContent.length&&s.hasAttribute(It.ZERO_WIDTH)&&l--;var y=c.getAttribute(It.OFFSET_KEY);if(!y)return null;var m=qt.parse(y).key,b=n.value;return b.document.hasDescendant(m)?b.document.createPoint({key:m,offset:l}):null}function an(t,e,n){for(var r=t.childNodes,i=r[e],o=e,a=!1,u=!1;(8===i.nodeType||1===i.nodeType&&0===i.childNodes.length||1===i.nodeType&&"false"===i.getAttribute("contenteditable"))&&(!a||!u);)o>=r.length?(a=!0,o=e-1,n="backward"):o<0?(u=!0,o=e+1,n="forward"):(i=r[o],"forward"===n&&o++,"backward"===n&&o--);return i||null}function un(t,e){Object(p.a)(!1,"As of slate-react@0.22 the `findRange(selection)` helper is deprecated in favor of `editor.findRange(selection)`."),Object(Et.a)(!u.n.isValue(e),"As of Slate 0.42.0, the `findNode` utility takes an `editor` instead of a `value`.");var n=t.anchorNode||t.startContainer;if(!n)return null;var r=g()(n);(t instanceof r.Range||r.StaticRange&&t instanceof r.StaticRange)&&(t={anchorNode:t.startContainer,anchorOffset:t.startOffset,focusNode:t.endContainer,focusOffset:t.endOffset});var i=t,o=i.anchorNode,a=i.anchorOffset,s=i.focusNode,c=i.focusOffset,l=i.isCollapsed,f=e.value,h=on(o,a,e),d=l?h:on(s,c,e);return h&&d?f.document.createRange({anchor:h,focus:d}):null}tn.propTypes=Bt({autoCorrect:a.a.bool,autoFocus:a.a.bool,className:a.a.string,defaultValue:c.value,id:a.a.string,onChange:a.a.func,options:a.a.object,placeholder:a.a.any,plugins:a.a.array,readOnly:a.a.bool,role:a.a.string,schema:a.a.object,spellCheck:a.a.bool,style:a.a.object,tabIndex:a.a.number,value:c.value},Dt.reduce(function(t,e){return t[e]=a.a.func,t},{}),["decorateNode","renderAnnotation","renderBlock","renderDecoration","renderDocument","renderEditor","renderInline","renderMark"].reduce(function(t,e){return t[e]=a.a.func,t},{})),tn.defaultProps={autoFocus:!1,autoCorrect:!0,onChange:function(){},options:{},placeholder:"",plugins:[],readOnly:!1,schema:{},spellCheck:!0};var sn={Editor:tn,cloneFragment:Pe,findDOMNode:Ce,findDOMPoint:en,findDOMRange:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;Object(p.a)(!1,"As of slate-react@0.22 the `findDOMRange(range)` helper is deprecated in favor of `editor.findDOMRange(range)`.");var n=t.anchor,r=t.focus,i=t.isBackward,o=t.isCollapsed,a=en(n,e),u=o?a:en(r,e);if(!a||!u)return null;var s=e.document.createRange(),c=i?u:a,l=i?a:u;return s.setStart(c.node,c.offset),s.setEnd(l.node,l.offset),s},findNode:nn,findPath:rn,findPoint:on,findRange:un,getEventRange:function(t,e){Object(p.a)(!1,"As of slate-react@0.22 the `getEventRange(event, editor)` helper is deprecated in favor of `editor.findEventRange(event)`."),Object(Et.a)(!u.n.isValue(e),"As of Slate 0.42.0, the `findNode` utility takes an `editor` instead of a `value`."),t.nativeEvent&&(t=t.nativeEvent);var n=t,r=n.clientX,i=n.clientY,o=n.target;if(null==r||null==i)return null;var a=e.value.document,s=rn(t.target,e);if(!s)return null;var c=a.getNode(s);if(e.isVoid(c)){var l=o.getBoundingClientRect(),f="inline"===c.object?r-l.left<l.left+l.width-r:i-l.top<l.top+l.height-i,h=a.createRange(),d=f?"moveToEndOfNode":"moveToStartOfNode",v=a[f?"getPreviousText":"getNextText"](s);return v?h[d](v):null}var y=g()(o),m=void 0;if(y.document.caretRangeFromPoint)m=y.document.caretRangeFromPoint(r,i);else if(y.document.caretPositionFromPoint){var b=y.document.caretPositionFromPoint(r,i);(m=y.document.createRange()).setStart(b.offsetNode,b.offset),m.setEnd(b.offsetNode,b.offset)}else if(y.document.body.createTextRange){m=y.document.body.createTextRange();try{m.moveToPoint(r,i)}catch(t){return null}}var x=un(m,e);return x||null},getEventTransfer:Le,setEventTransfer:Ve,ReactPlugin:Je};e.b=sn},LGYb:function(t,e,n){var r=n("1hJj"),i=n("jbM+"),o=n("Xt/L"),a=n("xYSL"),u=n("dQpi"),s=n("rEGp"),c=200;t.exports=function(t,e,n){var l=-1,f=i,h=t.length,d=!0,p=[],v=p;if(n)d=!1,f=o;else if(h>=c){var g=e?null:u(t);if(g)return s(g);d=!1,f=a,v=new r}else v=e?[]:p;t:for(;++l<h;){var y=t[l],m=e?e(y):y;if(y=n||0!==y?y:0,d&&m==m){for(var b=v.length;b--;)if(v[b]===m)continue t;e&&v.push(m),p.push(y)}else f(v,m,n)||(v!==p&&v.push(m),p.push(y))}return p}},LIAx:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r){function i(e){var r=new o.default(e);n.call(t,r)}if(t.addEventListener){var a=(u=!1,"object"==typeof r?u=r.capture||!1:"boolean"==typeof r&&(u=r),t.addEventListener(e,i,r||!1),{v:{remove:function(){t.removeEventListener(e,i,u)}}});if("object"==typeof a)return a.v}else if(t.attachEvent)return t.attachEvent("on"+e,i),{remove:function(){t.detachEvent("on"+e,i)}};var u};var r,i=n("E0u0"),o=(r=i)&&r.__esModule?r:{default:r};t.exports=e.default},LK8F:function(t,e,n){var r=n("XKFU");r(r.S,"Array",{isArray:n("EWmC")})},LQAc:function(t,e){t.exports=!1},LTTk:function(t,e,n){var r=n("XKFU"),i=n("OP3Y"),o=n("y3w9");r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},LUQC:function(t,e,n){"use strict";e.a=function(t,e){}},LVwc:function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},LXxW:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}},LZWt:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},LcsW:function(t,e,n){var r=n("kekF")(Object.getPrototypeOf,Object);t.exports=r},Lgjv:function(t,e,n){var r=n("ne8i"),i=n("l0Rn"),o=n("vhPU");t.exports=function(t,e,n,a){var u=String(o(t)),s=u.length,c=void 0===n?" ":String(n),l=r(e);if(l<=s||""==c)return u;var f=l-s,h=i.call(c,Math.ceil(f/c.length));return h.length>f&&(h=h.slice(0,f)),a?h+u:u+h}},Ljet:function(t,e,n){var r=n("XKFU");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},LkIK:function(t,e){ /** * @license AngularJS v1.6.6 * (c) 2010-2017 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e){"use strict";var n,r,i,o,a,u,s,c,l,f=e.$$minErr("$sanitize");e.module("ngSanitize",[]).provider("$sanitize",function(){var h=!1;this.$get=["$$sanitizeUri",function(t){return h&&r(S,w),function(e){var n=[];return c(e,l(n,function(e,n){return!/^unsafe:/.test(t(e,n))})),n.join("")}}],this.enableSvg=function(t){return o(t)?(h=t,this):h},n=e.bind,r=e.extend,i=e.forEach,o=e.isDefined,a=e.lowercase,u=e.noop,c=function(t,e){null==t?t="":"string"!=typeof t&&(t=""+t);var n=T(t);if(!n)return"";var r=5;do{if(0===r)throw f("uinput","Failed to sanitize html because the input is unstable");r--,t=n.innerHTML,n=T(t)}while(t!==n.innerHTML);for(var i=n.firstChild;i;){switch(i.nodeType){case 1:e.start(i.nodeName.toLowerCase(),M(i.attributes));break;case 3:e.chars(i.textContent)}var o;if(!((o=i.firstChild)||(1===i.nodeType&&e.end(i.nodeName.toLowerCase()),o=D("nextSibling",i))))for(;null==o&&(i=D("parentNode",i))!==n;)o=D("nextSibling",i),1===i.nodeType&&e.end(i.nodeName.toLowerCase());i=o}for(;i=n.firstChild;)n.removeChild(i)},l=function(t,e){var r=!1,o=n(t,t.push);return{start:function(t,n){t=a(t),!r&&_[t]&&(r=t),r||!0!==S[t]||(o("<"),o(t),i(n,function(n,r){var i=a(r),u="img"===t&&"src"===i||"background"===i;!0!==C[i]||!0===k[i]&&!e(n,u)||(o(" "),o(r),o('="'),o(P(n)),o('"'))}),o(">"))},end:function(t){t=a(t),r||!0!==S[t]||!0===v[t]||(o("</"),o(t),o(">")),t==r&&(r=!1)},chars:function(t){r||o(P(t))}}},s=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=/([^#-~ |!])/g,v=A("area,br,col,hr,img,wbr"),g=A("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),y=A("rp,rt"),m=r({},y,g),b=r({},g,A("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),x=r({},y,A("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),w=A("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),_=A("script,style"),S=r({},v,b,x,m),k=A("background,cite,href,longdesc,src,xlink:href"),E=A("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),O=A("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),C=r({},k,O,E);function A(t,e){var n,r={},i=t.split(",");for(n=0;n<i.length;n++)r[e?a(i[n]):i[n]]=!0;return r}var T=function(t,e){var n;if(!e||!e.implementation)throw f("noinert","Can't create an inert html document");var r=((n=e.implementation.createHTMLDocument("inert")).documentElement||n.getDocumentElement()).querySelector("body");return r.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',r.querySelector("svg")?(r.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',r.querySelector("svg img")?function(e){e="<remove></remove>"+e;try{var n=(new t.DOMParser).parseFromString(e,"text/html").body;return n.firstChild.remove(),n}catch(t){return}}:function(t){return r.innerHTML=t,e.documentMode&&j(r),r}):function(e){e="<remove></remove>"+e;try{e=encodeURI(e)}catch(t){return}var n=new t.XMLHttpRequest;n.responseType="document",n.open("GET","data:text/html;charset=utf-8,"+e,!1),n.send(null);var r=n.response.body;return r.firstChild.remove(),r}}(t,t.document);function M(t){for(var e={},n=0,r=t.length;n<r;n++){var i=t[n];e[i.name]=i.value}return e}function P(t){return t.replace(/&/g,"&").replace(d,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(p,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function j(e){for(;e;){if(e.nodeType===t.Node.ELEMENT_NODE)for(var n=e.attributes,r=0,i=n.length;r<i;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(e.removeAttributeNode(o),r--,i--)}var u=e.firstChild;u&&j(u),e=D("nextSibling",e)}}function D(t,e){var n=e[t];if(n&&s.call(e,n))throw f("elclob","Failed to sanitize html because the element is clobbered: {0}",e.outerHTML||e.outerText);return n}}).info({angularVersion:"1.6.6"}),e.module("ngSanitize").filter("linky",["$sanitize",function(t){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,r=/^mailto:/i,i=e.$$minErr("linky"),o=e.isDefined,a=e.isFunction,s=e.isObject,c=e.isString;return function(e,f,h){if(null==e||""===e)return e;if(!c(e))throw i("notstring","Expected string but received: {0}",e);for(var d,p,v,g=a(h)?h:s(h)?function(){return h}:function(){return{}},y=e,m=[];d=y.match(n);)p=d[0],d[2]||d[4]||(p=(d[3]?"http://":"mailto:")+p),v=d.index,b(y.substr(0,v)),x(p,d[0].replace(r,"")),y=y.substring(v+d[0].length);return b(y),t(m.join(""));function b(t){var e,n;t&&m.push((e=t,l(n=[],u).chars(e),n.join("")))}function x(t,e){var n,r=g(t);for(n in m.push("<a "),r)m.push(n+'="'+r[n]+'" ');!o(f)||"target"in r||m.push('target="',f,'" '),m.push('href="',t.replace(/"/g,"""),'">'),b(e),m.push("</a>")}}}])}(window,window.angular)},LqpT:function(t,e,n){var r=n("1hJj"),i=n("jbM+"),o=n("Xt/L"),a=n("eUgh"),u=n("sEf8"),s=n("xYSL"),c=200;t.exports=function(t,e,n,l){var f=-1,h=i,d=!0,p=t.length,v=[],g=e.length;if(!p)return v;n&&(e=a(e,u(n))),l?(h=o,d=!1):e.length>=c&&(h=s,d=!1,e=new r(e));t:for(;++f<p;){var y=t[f],m=null==n?y:n(y);if(y=l||0!==y?y:0,d&&m==m){for(var b=g;b--;)if(e[b]===m)continue t;v.push(y)}else h(e,m,l)||v.push(y)}return v}},LsHQ:function(t,e,n){var r=n("EA7m"),i=n("mv/X");t.exports=function(t){return r(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,u=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,u&&i(n[0],n[1],u)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var s=n[r];s&&t(e,s,r,a)}return e})}},LvDl:function(t,e,n){(function(t,r){var i; /** * @license * Lodash <https://lodash.com/> * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> * Released under MIT license <https://lodash.com/license> * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,a=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",c="__lodash_hash_undefined__",l=500,f="__lodash_placeholder__",h=1,d=2,p=4,v=1,g=2,y=1,m=2,b=4,x=8,w=16,_=32,S=64,k=128,E=256,O=512,C=30,A="...",T=800,M=16,P=1,j=2,D=1/0,I=9007199254740991,N=1.7976931348623157e308,F=NaN,R=4294967295,L=R-1,B=R>>>1,z=[["ary",k],["bind",y],["bindKey",m],["curry",x],["curryRight",w],["flip",O],["partial",_],["partialRight",S],["rearg",E]],V="[object Arguments]",U="[object Array]",H="[object AsyncFunction]",W="[object Boolean]",q="[object Date]",G="[object DOMException]",Y="[object Error]",X="[object Function]",K="[object GeneratorFunction]",$="[object Map]",Z="[object Number]",J="[object Null]",Q="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",it="[object Symbol]",ot="[object Undefined]",at="[object WeakMap]",ut="[object WeakSet]",st="[object ArrayBuffer]",ct="[object DataView]",lt="[object Float32Array]",ft="[object Float64Array]",ht="[object Int8Array]",dt="[object Int16Array]",pt="[object Int32Array]",vt="[object Uint8Array]",gt="[object Uint8ClampedArray]",yt="[object Uint16Array]",mt="[object Uint32Array]",bt=/\b__p \+= '';/g,xt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_t=/&(?:amp|lt|gt|quot|#39);/g,St=/[&<>"']/g,kt=RegExp(_t.source),Et=RegExp(St.source),Ot=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,At=/<%=([\s\S]+?)%>/g,Tt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mt=/^\w*$/,Pt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jt=/[\\^$.*+?()[\]{}|]/g,Dt=RegExp(jt.source),It=/^\s+|\s+$/g,Nt=/^\s+/,Ft=/\s+$/,Rt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lt=/\{\n\/\* \[wrapped with (.+)\] \*/,Bt=/,? & /,zt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vt=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ht=/\w*$/,Wt=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,Gt=/^\[object .+?Constructor\]$/,Yt=/^0o[0-7]+$/i,Xt=/^(?:0|[1-9]\d*)$/,Kt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$t=/($^)/,Zt=/['\n\r\u2028\u2029\\]/g,Jt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Qt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",te="[\\ud800-\\udfff]",ee="["+Qt+"]",ne="["+Jt+"]",re="\\d+",ie="[\\u2700-\\u27bf]",oe="[a-z\\xdf-\\xf6\\xf8-\\xff]",ae="[^\\ud800-\\udfff"+Qt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ue="\\ud83c[\\udffb-\\udfff]",se="[^\\ud800-\\udfff]",ce="(?:\\ud83c[\\udde6-\\uddff]){2}",le="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",he="(?:"+oe+"|"+ae+")",de="(?:"+fe+"|"+ae+")",pe="(?:"+ne+"|"+ue+")"+"?",ve="[\\ufe0e\\ufe0f]?"+pe+("(?:\\u200d(?:"+[se,ce,le].join("|")+")[\\ufe0e\\ufe0f]?"+pe+")*"),ge="(?:"+[ie,ce,le].join("|")+")"+ve,ye="(?:"+[se+ne+"?",ne,ce,le,te].join("|")+")",me=RegExp("['’]","g"),be=RegExp(ne,"g"),xe=RegExp(ue+"(?="+ue+")|"+ye+ve,"g"),we=RegExp([fe+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",de+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+he,"$"].join("|")+")",fe+"?"+he+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ge].join("|"),"g"),_e=RegExp("[\\u200d\\ud800-\\udfff"+Jt+"\\ufe0e\\ufe0f]"),Se=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ke=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ee=-1,Oe={};Oe[lt]=Oe[ft]=Oe[ht]=Oe[dt]=Oe[pt]=Oe[vt]=Oe[gt]=Oe[yt]=Oe[mt]=!0,Oe[V]=Oe[U]=Oe[st]=Oe[W]=Oe[ct]=Oe[q]=Oe[Y]=Oe[X]=Oe[$]=Oe[Z]=Oe[Q]=Oe[et]=Oe[nt]=Oe[rt]=Oe[at]=!1;var Ce={};Ce[V]=Ce[U]=Ce[st]=Ce[ct]=Ce[W]=Ce[q]=Ce[lt]=Ce[ft]=Ce[ht]=Ce[dt]=Ce[pt]=Ce[$]=Ce[Z]=Ce[Q]=Ce[et]=Ce[nt]=Ce[rt]=Ce[it]=Ce[vt]=Ce[gt]=Ce[yt]=Ce[mt]=!0,Ce[Y]=Ce[X]=Ce[at]=!1;var Ae={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Te=parseFloat,Me=parseInt,Pe="object"==typeof t&&t&&t.Object===Object&&t,je="object"==typeof self&&self&&self.Object===Object&&self,De=Pe||je||Function("return this")(),Ie=e&&!e.nodeType&&e,Ne=Ie&&"object"==typeof r&&r&&!r.nodeType&&r,Fe=Ne&&Ne.exports===Ie,Re=Fe&&Pe.process,Le=function(){try{var t=Ne&&Ne.require&&Ne.require("util").types;return t||Re&&Re.binding&&Re.binding("util")}catch(t){}}(),Be=Le&&Le.isArrayBuffer,ze=Le&&Le.isDate,Ve=Le&&Le.isMap,Ue=Le&&Le.isRegExp,He=Le&&Le.isSet,We=Le&&Le.isTypedArray;function qe(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ge(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}function Ye(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Xe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ke(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function $e(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var a=t[n];e(a,n,t)&&(o[i++]=a)}return o}function Ze(t,e){return!!(null==t?0:t.length)&&sn(t,e,0)>-1}function Je(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Qe(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function tn(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function en(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function nn(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function rn(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var on=hn("length");function an(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function un(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function sn(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):un(t,ln,n)}function cn(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function ln(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?vn(t,e)/n:F}function hn(t){return function(e){return null==e?o:e[t]}}function dn(t){return function(e){return null==t?o:t[e]}}function pn(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function vn(t,e){for(var n,r=-1,i=t.length;++r<i;){var a=e(t[r]);a!==o&&(n=n===o?a:n+a)}return n}function gn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function yn(t){return function(e){return t(e)}}function mn(t,e){return Qe(e,function(e){return t[e]})}function bn(t,e){return t.has(e)}function xn(t,e){for(var n=-1,r=t.length;++n<r&&sn(e,t[n],0)>-1;);return n}function wn(t,e){for(var n=t.length;n--&&sn(e,t[n],0)>-1;);return n}var _n=dn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Sn=dn({"&":"&","<":"<",">":">",'"':""","'":"'"});function kn(t){return"\\"+Ae[t]}function En(t){return _e.test(t)}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function Cn(t,e){return function(n){return t(e(n))}}function An(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n];a!==e&&a!==f||(t[n]=f,o[i++]=n)}return o}function Tn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function Mn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Pn(t){return En(t)?function(t){var e=xe.lastIndex=0;for(;xe.test(t);)++e;return e}(t):on(t)}function jn(t){return En(t)?function(t){return t.match(xe)||[]}(t):function(t){return t.split("")}(t)}var Dn=dn({"&":"&","<":"<",">":">",""":'"',"'":"'"});var In=function t(e){var n,r=(e=null==e?De:In.defaults(De.Object(),e,In.pick(De,ke))).Array,i=e.Date,Jt=e.Error,Qt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,oe=r.prototype,ae=Qt.prototype,ue=ee.prototype,se=e["__core-js_shared__"],ce=ae.toString,le=ue.hasOwnProperty,fe=0,he=(n=/[^.]+$/.exec(se&&se.keys&&se.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",de=ue.toString,pe=ce.call(ee),ve=De._,ge=ne("^"+ce.call(le).replace(jt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ye=Fe?e.Buffer:o,xe=e.Symbol,_e=e.Uint8Array,Ae=ye?ye.allocUnsafe:o,Pe=Cn(ee.getPrototypeOf,ee),je=ee.create,Ie=ue.propertyIsEnumerable,Ne=oe.splice,Re=xe?xe.isConcatSpreadable:o,Le=xe?xe.iterator:o,on=xe?xe.toStringTag:o,dn=function(){try{var t=Bo(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Nn=e.clearTimeout!==De.clearTimeout&&e.clearTimeout,Fn=i&&i.now!==De.Date.now&&i.now,Rn=e.setTimeout!==De.setTimeout&&e.setTimeout,Ln=te.ceil,Bn=te.floor,zn=ee.getOwnPropertySymbols,Vn=ye?ye.isBuffer:o,Un=e.isFinite,Hn=oe.join,Wn=Cn(ee.keys,ee),qn=te.max,Gn=te.min,Yn=i.now,Xn=e.parseInt,Kn=te.random,$n=oe.reverse,Zn=Bo(e,"DataView"),Jn=Bo(e,"Map"),Qn=Bo(e,"Promise"),tr=Bo(e,"Set"),er=Bo(e,"WeakMap"),nr=Bo(ee,"create"),rr=er&&new er,ir={},or=fa(Zn),ar=fa(Jn),ur=fa(Qn),sr=fa(tr),cr=fa(er),lr=xe?xe.prototype:o,fr=lr?lr.valueOf:o,hr=lr?lr.toString:o;function dr(t){if(Au(t)&&!yu(t)&&!(t instanceof yr)){if(t instanceof gr)return t;if(le.call(t,"__wrapped__"))return ha(t)}return new gr(t)}var pr=function(){function t(){}return function(e){if(!Cu(e))return{};if(je)return je(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function vr(){}function gr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function yr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=R,this.__views__=[]}function mr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function br(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function xr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function wr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new xr;++e<n;)this.add(t[e])}function _r(t){var e=this.__data__=new br(t);this.size=e.size}function Sr(t,e){var n=yu(t),r=!n&&gu(t),i=!n&&!r&&wu(t),o=!n&&!r&&!i&&Fu(t),a=n||r||i||o,u=a?gn(t.length,re):[],s=u.length;for(var c in t)!e&&!le.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Go(c,s))||u.push(c);return u}function kr(t){var e=t.length;return e?t[wi(0,e-1)]:o}function Er(t,e){return sa(no(t),Ir(e,0,t.length))}function Or(t){return sa(no(t))}function Cr(t,e,n){(n===o||du(t[e],n))&&(n!==o||e in t)||jr(t,e,n)}function Ar(t,e,n){var r=t[e];le.call(t,e)&&du(r,n)&&(n!==o||e in t)||jr(t,e,n)}function Tr(t,e){for(var n=t.length;n--;)if(du(t[n][0],e))return n;return-1}function Mr(t,e,n,r){return Br(t,function(t,i,o){e(r,t,n(t),o)}),r}function Pr(t,e){return t&&ro(e,is(e),t)}function jr(t,e,n){"__proto__"==e&&dn?dn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Dr(t,e){for(var n=-1,i=e.length,a=r(i),u=null==t;++n<i;)a[n]=u?o:Qu(t,e[n]);return a}function Ir(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function Nr(t,e,n,r,i,a){var u,s=e&h,c=e&d,l=e&p;if(n&&(u=i?n(t,r,i,a):n(t)),u!==o)return u;if(!Cu(t))return t;var f=yu(t);if(f){if(u=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&le.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!s)return no(t,u)}else{var v=Uo(t),g=v==X||v==K;if(wu(t))return $i(t,s);if(v==Q||v==V||g&&!i){if(u=c||g?{}:Wo(t),!s)return c?function(t,e){return ro(t,Vo(t),e)}(t,function(t,e){return t&&ro(e,os(e),t)}(u,t)):function(t,e){return ro(t,zo(t),e)}(t,Pr(u,t))}else{if(!Ce[v])return i?t:{};u=function(t,e,n){var r,i,o,a=t.constructor;switch(e){case st:return Zi(t);case W:case q:return new a(+t);case ct:return function(t,e){var n=e?Zi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case lt:case ft:case ht:case dt:case pt:case vt:case gt:case yt:case mt:return Ji(t,n);case $:return new a;case Z:case rt:return new a(t);case et:return(o=new(i=t).constructor(i.source,Ht.exec(i))).lastIndex=i.lastIndex,o;case nt:return new a;case it:return r=t,fr?ee(fr.call(r)):{}}}(t,v,s)}}a||(a=new _r);var y=a.get(t);if(y)return y;a.set(t,u),Du(t)?t.forEach(function(r){u.add(Nr(r,e,n,r,t,a))}):Tu(t)&&t.forEach(function(r,i){u.set(i,Nr(r,e,n,i,t,a))});var m=f?o:(l?c?jo:Po:c?os:is)(t);return Ye(m||t,function(r,i){m&&(r=t[i=r]),Ar(u,i,Nr(r,e,n,i,t,a))}),u}function Fr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var i=n[r],a=e[i],u=t[i];if(u===o&&!(i in t)||!a(u))return!1}return!0}function Rr(t,e,n){if("function"!=typeof t)throw new ie(s);return ia(function(){t.apply(o,n)},e)}function Lr(t,e,n,r){var i=-1,o=Ze,u=!0,s=t.length,c=[],l=e.length;if(!s)return c;n&&(e=Qe(e,yn(n))),r?(o=Je,u=!1):e.length>=a&&(o=bn,u=!1,e=new wr(e));t:for(;++i<s;){var f=t[i],h=null==n?f:n(f);if(f=r||0!==f?f:0,u&&h==h){for(var d=l;d--;)if(e[d]===h)continue t;c.push(f)}else o(e,h,r)||c.push(f)}return c}dr.templateSettings={escape:Ot,evaluate:Ct,interpolate:At,variable:"",imports:{_:dr}},dr.prototype=vr.prototype,dr.prototype.constructor=dr,gr.prototype=pr(vr.prototype),gr.prototype.constructor=gr,yr.prototype=pr(vr.prototype),yr.prototype.constructor=yr,mr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},mr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},mr.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===c?o:n}return le.call(e,t)?e[t]:o},mr.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==o:le.call(e,t)},mr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===o?c:e,this},br.prototype.clear=function(){this.__data__=[],this.size=0},br.prototype.delete=function(t){var e=this.__data__,n=Tr(e,t);return!(n<0||(n==e.length-1?e.pop():Ne.call(e,n,1),--this.size,0))},br.prototype.get=function(t){var e=this.__data__,n=Tr(e,t);return n<0?o:e[n][1]},br.prototype.has=function(t){return Tr(this.__data__,t)>-1},br.prototype.set=function(t,e){var n=this.__data__,r=Tr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},xr.prototype.clear=function(){this.size=0,this.__data__={hash:new mr,map:new(Jn||br),string:new mr}},xr.prototype.delete=function(t){var e=Ro(this,t).delete(t);return this.size-=e?1:0,e},xr.prototype.get=function(t){return Ro(this,t).get(t)},xr.prototype.has=function(t){return Ro(this,t).has(t)},xr.prototype.set=function(t,e){var n=Ro(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},wr.prototype.add=wr.prototype.push=function(t){return this.__data__.set(t,c),this},wr.prototype.has=function(t){return this.__data__.has(t)},_r.prototype.clear=function(){this.__data__=new br,this.size=0},_r.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},_r.prototype.get=function(t){return this.__data__.get(t)},_r.prototype.has=function(t){return this.__data__.has(t)},_r.prototype.set=function(t,e){var n=this.__data__;if(n instanceof br){var r=n.__data__;if(!Jn||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new xr(r)}return n.set(t,e),this.size=n.size,this};var Br=ao(Yr),zr=ao(Xr,!0);function Vr(t,e){var n=!0;return Br(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Ur(t,e,n){for(var r=-1,i=t.length;++r<i;){var a=t[r],u=e(a);if(null!=u&&(s===o?u==u&&!Nu(u):n(u,s)))var s=u,c=a}return c}function Hr(t,e){var n=[];return Br(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Wr(t,e,n,r,i){var o=-1,a=t.length;for(n||(n=qo),i||(i=[]);++o<a;){var u=t[o];e>0&&n(u)?e>1?Wr(u,e-1,n,r,i):tn(i,u):r||(i[i.length]=u)}return i}var qr=uo(),Gr=uo(!0);function Yr(t,e){return t&&qr(t,e,is)}function Xr(t,e){return t&&Gr(t,e,is)}function Kr(t,e){return $e(e,function(e){return ku(t[e])})}function $r(t,e){for(var n=0,r=(e=Gi(e,t)).length;null!=t&&n<r;)t=t[la(e[n++])];return n&&n==r?t:o}function Zr(t,e,n){var r=e(t);return yu(t)?r:tn(r,n(t))}function Jr(t){return null==t?t===o?ot:J:on&&on in ee(t)?function(t){var e=le.call(t,on),n=t[on];try{t[on]=o;var r=!0}catch(t){}var i=de.call(t);return r&&(e?t[on]=n:delete t[on]),i}(t):function(t){return de.call(t)}(t)}function Qr(t,e){return t>e}function ti(t,e){return null!=t&&le.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Je:Ze,a=t[0].length,u=t.length,s=u,c=r(u),l=1/0,f=[];s--;){var h=t[s];s&&e&&(h=Qe(h,yn(e))),l=Gn(h.length,l),c[s]=!n&&(e||a>=120&&h.length>=120)?new wr(s&&h):o}h=t[0];var d=-1,p=c[0];t:for(;++d<a&&f.length<l;){var v=h[d],g=e?e(v):v;if(v=n||0!==v?v:0,!(p?bn(p,g):i(f,g,n))){for(s=u;--s;){var y=c[s];if(!(y?bn(y,g):i(t[s],g,n)))continue t}p&&p.push(g),f.push(v)}}return f}function ri(t,e,n){var r=null==(t=ea(t,e=Gi(e,t)))?t:t[la(Sa(e))];return null==r?o:qe(r,t,n)}function ii(t){return Au(t)&&Jr(t)==V}function oi(t,e,n,r,i){return t===e||(null==t||null==e||!Au(t)&&!Au(e)?t!=t&&e!=e:function(t,e,n,r,i,a){var u=yu(t),s=yu(e),c=u?U:Uo(t),l=s?U:Uo(e),f=(c=c==V?Q:c)==Q,h=(l=l==V?Q:l)==Q,d=c==l;if(d&&wu(t)){if(!wu(e))return!1;u=!0,f=!1}if(d&&!f)return a||(a=new _r),u||Fu(t)?To(t,e,n,r,i,a):function(t,e,n,r,i,o,a){switch(n){case ct:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case st:return!(t.byteLength!=e.byteLength||!o(new _e(t),new _e(e)));case W:case q:case Z:return du(+t,+e);case Y:return t.name==e.name&&t.message==e.message;case et:case rt:return t==e+"";case $:var u=On;case nt:var s=r&v;if(u||(u=Tn),t.size!=e.size&&!s)return!1;var c=a.get(t);if(c)return c==e;r|=g,a.set(t,e);var l=To(u(t),u(e),r,i,o,a);return a.delete(t),l;case it:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,c,n,r,i,a);if(!(n&v)){var p=f&&le.call(t,"__wrapped__"),y=h&&le.call(e,"__wrapped__");if(p||y){var m=p?t.value():t,b=y?e.value():e;return a||(a=new _r),i(m,b,n,r,a)}}return!!d&&(a||(a=new _r),function(t,e,n,r,i,a){var u=n&v,s=Po(t),c=s.length,l=Po(e).length;if(c!=l&&!u)return!1;for(var f=c;f--;){var h=s[f];if(!(u?h in e:le.call(e,h)))return!1}var d=a.get(t);if(d&&a.get(e))return d==e;var p=!0;a.set(t,e),a.set(e,t);for(var g=u;++f<c;){h=s[f];var y=t[h],m=e[h];if(r)var b=u?r(m,y,h,e,t,a):r(y,m,h,t,e,a);if(!(b===o?y===m||i(y,m,n,r,a):b)){p=!1;break}g||(g="constructor"==h)}if(p&&!g){var x=t.constructor,w=e.constructor;x!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w)&&(p=!1)}return a.delete(t),a.delete(e),p}(t,e,n,r,i,a))}(t,e,n,r,oi,i))}function ai(t,e,n,r){var i=n.length,a=i,u=!r;if(null==t)return!a;for(t=ee(t);i--;){var s=n[i];if(u&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++i<a;){var c=(s=n[i])[0],l=t[c],f=s[1];if(u&&s[2]){if(l===o&&!(c in t))return!1}else{var h=new _r;if(r)var d=r(l,f,c,t,e,h);if(!(d===o?oi(f,l,v|g,r,h):d))return!1}}return!0}function ui(t){return!(!Cu(t)||(e=t,he&&he in e))&&(ku(t)?ge:Gt).test(fa(t));var e}function si(t){return"function"==typeof t?t:null==t?Ms:"object"==typeof t?yu(t)?pi(t[0],t[1]):di(t):Bs(t)}function ci(t){if(!Zo(t))return Wn(t);var e=[];for(var n in ee(t))le.call(t,n)&&"constructor"!=n&&e.push(n);return e}function li(t){if(!Cu(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Zo(t),n=[];for(var r in t)("constructor"!=r||!e&&le.call(t,r))&&n.push(r);return n}function fi(t,e){return t<e}function hi(t,e){var n=-1,i=bu(t)?r(t.length):[];return Br(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function di(t){var e=Lo(t);return 1==e.length&&e[0][2]?Qo(e[0][0],e[0][1]):function(n){return n===t||ai(n,t,e)}}function pi(t,e){return Xo(t)&&Jo(e)?Qo(la(t),e):function(n){var r=Qu(n,t);return r===o&&r===e?ts(n,t):oi(e,r,v|g)}}function vi(t,e,n,r,i){t!==e&&qr(e,function(a,u){if(i||(i=new _r),Cu(a))!function(t,e,n,r,i,a,u){var s=na(t,n),c=na(e,n),l=u.get(c);if(l)Cr(t,n,l);else{var f=a?a(s,c,n+"",t,e,u):o,h=f===o;if(h){var d=yu(c),p=!d&&wu(c),v=!d&&!p&&Fu(c);f=c,d||p||v?yu(s)?f=s:xu(s)?f=no(s):p?(h=!1,f=$i(c,!0)):v?(h=!1,f=Ji(c,!0)):f=[]:Pu(c)||gu(c)?(f=s,gu(s)?f=Wu(s):Cu(s)&&!ku(s)||(f=Wo(c))):h=!1}h&&(u.set(c,f),i(f,c,r,a,u),u.delete(c)),Cr(t,n,f)}}(t,e,u,n,vi,r,i);else{var s=r?r(na(t,u),a,u+"",t,e,i):o;s===o&&(s=a),Cr(t,u,s)}},os)}function gi(t,e){var n=t.length;if(n)return Go(e+=e<0?n:0,n)?t[e]:o}function yi(t,e,n){var r=-1;return e=Qe(e.length?e:[Ms],yn(Fo())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(hi(t,function(t,n,i){return{criteria:Qe(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,a=i.length,u=n.length;++r<a;){var s=Qi(i[r],o[r]);if(s){if(r>=u)return s;var c=n[r];return s*("desc"==c?-1:1)}}return t.index-e.index}(t,e,n)})}function mi(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var a=e[r],u=$r(t,a);n(u,a)&&Oi(o,Gi(a,t),u)}return o}function bi(t,e,n,r){var i=r?cn:sn,o=-1,a=e.length,u=t;for(t===e&&(e=no(e)),n&&(u=Qe(t,yn(n)));++o<a;)for(var s=0,c=e[o],l=n?n(c):c;(s=i(u,l,s,r))>-1;)u!==t&&Ne.call(u,s,1),Ne.call(t,s,1);return t}function xi(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Go(i)?Ne.call(t,i,1):Li(t,i)}}return t}function wi(t,e){return t+Bn(Kn()*(e-t+1))}function _i(t,e){var n="";if(!t||e<1||e>I)return n;do{e%2&&(n+=t),(e=Bn(e/2))&&(t+=t)}while(e);return n}function Si(t,e){return oa(ta(t,e,Ms),t+"")}function ki(t){return kr(ds(t))}function Ei(t,e){var n=ds(t);return sa(n,Ir(e,0,n.length))}function Oi(t,e,n,r){if(!Cu(t))return t;for(var i=-1,a=(e=Gi(e,t)).length,u=a-1,s=t;null!=s&&++i<a;){var c=la(e[i]),l=n;if(i!=u){var f=s[c];(l=r?r(f,c,s):o)===o&&(l=Cu(f)?f:Go(e[i+1])?[]:{})}Ar(s,c,l),s=s[c]}return t}var Ci=rr?function(t,e){return rr.set(t,e),t}:Ms,Ai=dn?function(t,e){return dn(t,"toString",{configurable:!0,enumerable:!1,value:Cs(e),writable:!0})}:Ms;function Ti(t){return sa(ds(t))}function Mi(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i<o;)a[i]=t[i+e];return a}function Pi(t,e){var n;return Br(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function ji(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=B){for(;r<i;){var o=r+i>>>1,a=t[o];null!==a&&!Nu(a)&&(n?a<=e:a<e)?r=o+1:i=o}return i}return Di(t,e,Ms,n)}function Di(t,e,n,r){e=n(e);for(var i=0,a=null==t?0:t.length,u=e!=e,s=null===e,c=Nu(e),l=e===o;i<a;){var f=Bn((i+a)/2),h=n(t[f]),d=h!==o,p=null===h,v=h==h,g=Nu(h);if(u)var y=r||v;else y=l?v&&(r||d):s?v&&d&&(r||!p):c?v&&d&&!p&&(r||!g):!p&&!g&&(r?h<=e:h<e);y?i=f+1:a=f}return Gn(a,L)}function Ii(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var a=t[n],u=e?e(a):a;if(!n||!du(u,s)){var s=u;o[i++]=0===a?0:a}}return o}function Ni(t){return"number"==typeof t?t:Nu(t)?F:+t}function Fi(t){if("string"==typeof t)return t;if(yu(t))return Qe(t,Fi)+"";if(Nu(t))return hr?hr.call(t):"";var e=t+"";return"0"==e&&1/t==-D?"-0":e}function Ri(t,e,n){var r=-1,i=Ze,o=t.length,u=!0,s=[],c=s;if(n)u=!1,i=Je;else if(o>=a){var l=e?null:So(t);if(l)return Tn(l);u=!1,i=bn,c=new wr}else c=e?[]:s;t:for(;++r<o;){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,u&&h==h){for(var d=c.length;d--;)if(c[d]===h)continue t;e&&c.push(h),s.push(f)}else i(c,h,n)||(c!==s&&c.push(h),s.push(f))}return s}function Li(t,e){return null==(t=ea(t,e=Gi(e,t)))||delete t[la(Sa(e))]}function Bi(t,e,n,r){return Oi(t,e,n($r(t,e)),r)}function zi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Mi(t,r?0:o,r?o+1:i):Mi(t,r?o+1:0,r?i:o)}function Vi(t,e){var n=t;return n instanceof yr&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function Ui(t,e,n){var i=t.length;if(i<2)return i?Ri(t[0]):[];for(var o=-1,a=r(i);++o<i;)for(var u=t[o],s=-1;++s<i;)s!=o&&(a[o]=Lr(a[o]||u,t[s],e,n));return Ri(Wr(a,1),e,n)}function Hi(t,e,n){for(var r=-1,i=t.length,a=e.length,u={};++r<i;){var s=r<a?e[r]:o;n(u,t[r],s)}return u}function Wi(t){return xu(t)?t:[]}function qi(t){return"function"==typeof t?t:Ms}function Gi(t,e){return yu(t)?t:Xo(t,e)?[t]:ca(qu(t))}var Yi=Si;function Xi(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:Mi(t,e,n)}var Ki=Nn||function(t){return De.clearTimeout(t)};function $i(t,e){if(e)return t.slice();var n=t.length,r=Ae?Ae(n):new t.constructor(n);return t.copy(r),r}function Zi(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function Ji(t,e){var n=e?Zi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Qi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,a=Nu(t),u=e!==o,s=null===e,c=e==e,l=Nu(e);if(!s&&!l&&!a&&t>e||a&&u&&c&&!s&&!l||r&&u&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&t<e||l&&n&&i&&!r&&!a||s&&n&&i||!u&&i||!c)return-1}return 0}function to(t,e,n,i){for(var o=-1,a=t.length,u=n.length,s=-1,c=e.length,l=qn(a-u,0),f=r(c+l),h=!i;++s<c;)f[s]=e[s];for(;++o<u;)(h||o<a)&&(f[n[o]]=t[o]);for(;l--;)f[s++]=t[o++];return f}function eo(t,e,n,i){for(var o=-1,a=t.length,u=-1,s=n.length,c=-1,l=e.length,f=qn(a-s,0),h=r(f+l),d=!i;++o<f;)h[o]=t[o];for(var p=o;++c<l;)h[p+c]=e[c];for(;++u<s;)(d||o<a)&&(h[p+n[u]]=t[o++]);return h}function no(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function ro(t,e,n,r){var i=!n;n||(n={});for(var a=-1,u=e.length;++a<u;){var s=e[a],c=r?r(n[s],t[s],s,n,t):o;c===o&&(c=t[s]),i?jr(n,s,c):Ar(n,s,c)}return n}function io(t,e){return function(n,r){var i=yu(n)?Ge:Mr,o=e?e():{};return i(n,t,Fo(r,2),o)}}function oo(t){return Si(function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,u=i>2?n[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,u&&Yo(n[0],n[1],u)&&(a=i<3?o:a,i=1),e=ee(e);++r<i;){var s=n[r];s&&t(e,s,r,a)}return e})}function ao(t,e){return function(n,r){if(null==n)return n;if(!bu(n))return t(n,r);for(var i=n.length,o=e?i:-1,a=ee(n);(e?o--:++o<i)&&!1!==r(a[o],o,a););return n}}function uo(t){return function(e,n,r){for(var i=-1,o=ee(e),a=r(e),u=a.length;u--;){var s=a[t?u:++i];if(!1===n(o[s],s,o))break}return e}}function so(t){return function(e){var n=En(e=qu(e))?jn(e):o,r=n?n[0]:e.charAt(0),i=n?Xi(n,1).join(""):e.slice(1);return r[t]()+i}}function co(t){return function(e){return en(ks(gs(e).replace(me,"")),t,"")}}function lo(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=pr(t.prototype),r=t.apply(n,e);return Cu(r)?r:n}}function fo(t){return function(e,n,r){var i=ee(e);if(!bu(e)){var a=Fo(n,3);e=is(e),n=function(t){return a(i[t],t,i)}}var u=t(e,n,r);return u>-1?i[a?e[u]:u]:o}}function ho(t){return Mo(function(e){var n=e.length,r=n,i=gr.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new ie(s);if(i&&!u&&"wrapper"==Io(a))var u=new gr([],!0)}for(r=u?r:n;++r<n;){var c=Io(a=e[r]),l="wrapper"==c?Do(a):o;u=l&&Ko(l[0])&&l[1]==(k|x|_|E)&&!l[4].length&&1==l[9]?u[Io(l[0])].apply(u,l[3]):1==a.length&&Ko(a)?u[c]():u.thru(a)}return function(){var t=arguments,r=t[0];if(u&&1==t.length&&yu(r))return u.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function po(t,e,n,i,a,u,s,c,l,f){var h=e&k,d=e&y,p=e&m,v=e&(x|w),g=e&O,b=p?o:lo(t);return function y(){for(var m=arguments.length,x=r(m),w=m;w--;)x[w]=arguments[w];if(v)var _=No(y),S=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(x,_);if(i&&(x=to(x,i,a,v)),u&&(x=eo(x,u,s,v)),m-=S,v&&m<f){var k=An(x,_);return wo(t,e,po,y.placeholder,n,x,k,c,l,f-m)}var E=d?n:this,O=p?E[t]:t;return m=x.length,c?x=function(t,e){for(var n=t.length,r=Gn(e.length,n),i=no(t);r--;){var a=e[r];t[r]=Go(a,n)?i[a]:o}return t}(x,c):g&&m>1&&x.reverse(),h&&l<m&&(x.length=l),this&&this!==De&&this instanceof y&&(O=b||lo(O)),O.apply(E,x)}}function vo(t,e){return function(n,r){return function(t,e,n,r){return Yr(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function go(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Fi(n),r=Fi(r)):(n=Ni(n),r=Ni(r)),i=t(n,r)}return i}}function yo(t){return Mo(function(e){return e=Qe(e,yn(Fo())),Si(function(n){var r=this;return t(e,function(t){return qe(t,r,n)})})})}function mo(t,e){var n=(e=e===o?" ":Fi(e)).length;if(n<2)return n?_i(e,t):e;var r=_i(e,Ln(t/Pn(e)));return En(e)?Xi(jn(r),0,t).join(""):r.slice(0,t)}function bo(t){return function(e,n,i){return i&&"number"!=typeof i&&Yo(e,n,i)&&(n=i=o),e=zu(e),n===o?(n=e,e=0):n=zu(n),function(t,e,n,i){for(var o=-1,a=qn(Ln((e-t)/(n||1)),0),u=r(a);a--;)u[i?a:++o]=t,t+=n;return u}(e,n,i=i===o?e<n?1:-1:zu(i),t)}}function xo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Hu(e),n=Hu(n)),t(e,n)}}function wo(t,e,n,r,i,a,u,s,c,l){var f=e&x;e|=f?_:S,(e&=~(f?S:_))&b||(e&=~(y|m));var h=[t,e,i,f?a:o,f?u:o,f?o:a,f?o:u,s,c,l],d=n.apply(o,h);return Ko(t)&&ra(d,h),d.placeholder=r,aa(d,t,e)}function _o(t){var e=te[t];return function(t,n){if(t=Hu(t),(n=null==n?0:Gn(Vu(n),292))&&Un(t)){var r=(qu(t)+"e").split("e");return+((r=(qu(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var So=tr&&1/Tn(new tr([,-0]))[1]==D?function(t){return new tr(t)}:Ns;function ko(t){return function(e){var n=Uo(e);return n==$?On(e):n==nt?Mn(e):function(t,e){return Qe(e,function(e){return[e,t[e]]})}(e,t(e))}}function Eo(t,e,n,i,a,u,c,l){var h=e&m;if(!h&&"function"!=typeof t)throw new ie(s);var d=i?i.length:0;if(d||(e&=~(_|S),i=a=o),c=c===o?c:qn(Vu(c),0),l=l===o?l:Vu(l),d-=a?a.length:0,e&S){var p=i,v=a;i=a=o}var g=h?o:Do(t),O=[t,e,n,i,a,p,v,u,c,l];if(g&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<(y|m|k),a=r==k&&n==x||r==k&&n==E&&t[7].length<=e[8]||r==(k|E)&&e[7].length<=e[8]&&n==x;if(!o&&!a)return t;r&y&&(t[2]=e[2],i|=n&y?0:b);var u=e[3];if(u){var s=t[3];t[3]=s?to(s,u,e[4]):u,t[4]=s?An(t[3],f):e[4]}(u=e[5])&&(s=t[5],t[5]=s?eo(s,u,e[6]):u,t[6]=s?An(t[5],f):e[6]),(u=e[7])&&(t[7]=u),r&k&&(t[8]=null==t[8]?e[8]:Gn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(O,g),t=O[0],e=O[1],n=O[2],i=O[3],a=O[4],!(l=O[9]=O[9]===o?h?0:t.length:qn(O[9]-d,0))&&e&(x|w)&&(e&=~(x|w)),e&&e!=y)C=e==x||e==w?function(t,e,n){var i=lo(t);return function a(){for(var u=arguments.length,s=r(u),c=u,l=No(a);c--;)s[c]=arguments[c];var f=u<3&&s[0]!==l&&s[u-1]!==l?[]:An(s,l);return(u-=f.length)<n?wo(t,e,po,a.placeholder,o,s,f,o,o,n-u):qe(this&&this!==De&&this instanceof a?i:t,this,s)}}(t,e,l):e!=_&&e!=(y|_)||a.length?po.apply(o,O):function(t,e,n,i){var o=e&y,a=lo(t);return function e(){for(var u=-1,s=arguments.length,c=-1,l=i.length,f=r(l+s),h=this&&this!==De&&this instanceof e?a:t;++c<l;)f[c]=i[c];for(;s--;)f[c++]=arguments[++u];return qe(h,o?n:this,f)}}(t,e,n,i);else var C=function(t,e,n){var r=e&y,i=lo(t);return function e(){return(this&&this!==De&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return aa((g?Ci:ra)(C,O),t,e)}function Oo(t,e,n,r){return t===o||du(t,ue[n])&&!le.call(r,n)?e:t}function Co(t,e,n,r,i,a){return Cu(t)&&Cu(e)&&(a.set(e,t),vi(t,e,o,Co,a),a.delete(e)),t}function Ao(t){return Pu(t)?o:t}function To(t,e,n,r,i,a){var u=n&v,s=t.length,c=e.length;if(s!=c&&!(u&&c>s))return!1;var l=a.get(t);if(l&&a.get(e))return l==e;var f=-1,h=!0,d=n&g?new wr:o;for(a.set(t,e),a.set(e,t);++f<s;){var p=t[f],y=e[f];if(r)var m=u?r(y,p,f,e,t,a):r(p,y,f,t,e,a);if(m!==o){if(m)continue;h=!1;break}if(d){if(!rn(e,function(t,e){if(!bn(d,e)&&(p===t||i(p,t,n,r,a)))return d.push(e)})){h=!1;break}}else if(p!==y&&!i(p,y,n,r,a)){h=!1;break}}return a.delete(t),a.delete(e),h}function Mo(t){return oa(ta(t,o,ma),t+"")}function Po(t){return Zr(t,is,zo)}function jo(t){return Zr(t,os,Vo)}var Do=rr?function(t){return rr.get(t)}:Ns;function Io(t){for(var e=t.name+"",n=ir[e],r=le.call(ir,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function No(t){return(le.call(dr,"placeholder")?dr:t).placeholder}function Fo(){var t=dr.iteratee||Ps;return t=t===Ps?si:t,arguments.length?t(arguments[0],arguments[1]):t}function Ro(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Lo(t){for(var e=is(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Jo(i)]}return e}function Bo(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return ui(n)?n:o}var zo=zn?function(t){return null==t?[]:(t=ee(t),$e(zn(t),function(e){return Ie.call(t,e)}))}:Us,Vo=zn?function(t){for(var e=[];t;)tn(e,zo(t)),t=Pe(t);return e}:Us,Uo=Jr;function Ho(t,e,n){for(var r=-1,i=(e=Gi(e,t)).length,o=!1;++r<i;){var a=la(e[r]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Ou(i)&&Go(a,i)&&(yu(t)||gu(t))}function Wo(t){return"function"!=typeof t.constructor||Zo(t)?{}:pr(Pe(t))}function qo(t){return yu(t)||gu(t)||!!(Re&&t&&t[Re])}function Go(t,e){var n=typeof t;return!!(e=null==e?I:e)&&("number"==n||"symbol"!=n&&Xt.test(t))&&t>-1&&t%1==0&&t<e}function Yo(t,e,n){if(!Cu(n))return!1;var r=typeof e;return!!("number"==r?bu(n)&&Go(e,n.length):"string"==r&&e in n)&&du(n[e],t)}function Xo(t,e){if(yu(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Nu(t))||Mt.test(t)||!Tt.test(t)||null!=e&&t in ee(e)}function Ko(t){var e=Io(t),n=dr[e];if("function"!=typeof n||!(e in yr.prototype))return!1;if(t===n)return!0;var r=Do(n);return!!r&&t===r[0]}(Zn&&Uo(new Zn(new ArrayBuffer(1)))!=ct||Jn&&Uo(new Jn)!=$||Qn&&"[object Promise]"!=Uo(Qn.resolve())||tr&&Uo(new tr)!=nt||er&&Uo(new er)!=at)&&(Uo=function(t){var e=Jr(t),n=e==Q?t.constructor:o,r=n?fa(n):"";if(r)switch(r){case or:return ct;case ar:return $;case ur:return"[object Promise]";case sr:return nt;case cr:return at}return e});var $o=se?ku:Hs;function Zo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ue)}function Jo(t){return t==t&&!Cu(t)}function Qo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in ee(n))}}function ta(t,e,n){return e=qn(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=qn(i.length-e,0),u=r(a);++o<a;)u[o]=i[e+o];o=-1;for(var s=r(e+1);++o<e;)s[o]=i[o];return s[e]=n(u),qe(t,this,s)}}function ea(t,e){return e.length<2?t:$r(t,Mi(e,0,-1))}function na(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var ra=ua(Ci),ia=Rn||function(t,e){return De.setTimeout(t,e)},oa=ua(Ai);function aa(t,e,n){var r=e+"";return oa(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Rt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Ye(z,function(n){var r="_."+n[0];e&n[1]&&!Ze(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Lt);return e?e[1].split(Bt):[]}(r),n)))}function ua(t){var e=0,n=0;return function(){var r=Yn(),i=M-(r-n);if(n=r,i>0){if(++e>=T)return arguments[0]}else e=0;return t.apply(o,arguments)}}function sa(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var a=wi(n,i),u=t[a];t[a]=t[n],t[n]=u}return t.length=e,t}var ca=function(t){var e=uu(t,function(t){return n.size===l&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Pt,function(t,n,r,i){e.push(r?i.replace(Vt,"$1"):n||t)}),e});function la(t){if("string"==typeof t||Nu(t))return t;var e=t+"";return"0"==e&&1/t==-D?"-0":e}function fa(t){if(null!=t){try{return ce.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function ha(t){if(t instanceof yr)return t.clone();var e=new gr(t.__wrapped__,t.__chain__);return e.__actions__=no(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var da=Si(function(t,e){return xu(t)?Lr(t,Wr(e,1,xu,!0)):[]}),pa=Si(function(t,e){var n=Sa(e);return xu(n)&&(n=o),xu(t)?Lr(t,Wr(e,1,xu,!0),Fo(n,2)):[]}),va=Si(function(t,e){var n=Sa(e);return xu(n)&&(n=o),xu(t)?Lr(t,Wr(e,1,xu,!0),o,n):[]});function ga(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Vu(n);return i<0&&(i=qn(r+i,0)),un(t,Fo(e,3),i)}function ya(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=Vu(n),i=n<0?qn(r+i,0):Gn(i,r-1)),un(t,Fo(e,3),i,!0)}function ma(t){return null!=t&&t.length?Wr(t,1):[]}function ba(t){return t&&t.length?t[0]:o}var xa=Si(function(t){var e=Qe(t,Wi);return e.length&&e[0]===t[0]?ni(e):[]}),wa=Si(function(t){var e=Sa(t),n=Qe(t,Wi);return e===Sa(n)?e=o:n.pop(),n.length&&n[0]===t[0]?ni(n,Fo(e,2)):[]}),_a=Si(function(t){var e=Sa(t),n=Qe(t,Wi);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?ni(n,o,e):[]});function Sa(t){var e=null==t?0:t.length;return e?t[e-1]:o}var ka=Si(Ea);function Ea(t,e){return t&&t.length&&e&&e.length?bi(t,e):t}var Oa=Mo(function(t,e){var n=null==t?0:t.length,r=Dr(t,e);return xi(t,Qe(e,function(t){return Go(t,n)?+t:t}).sort(Qi)),r});function Ca(t){return null==t?t:$n.call(t)}var Aa=Si(function(t){return Ri(Wr(t,1,xu,!0))}),Ta=Si(function(t){var e=Sa(t);return xu(e)&&(e=o),Ri(Wr(t,1,xu,!0),Fo(e,2))}),Ma=Si(function(t){var e=Sa(t);return e="function"==typeof e?e:o,Ri(Wr(t,1,xu,!0),o,e)});function Pa(t){if(!t||!t.length)return[];var e=0;return t=$e(t,function(t){if(xu(t))return e=qn(t.length,e),!0}),gn(e,function(e){return Qe(t,hn(e))})}function ja(t,e){if(!t||!t.length)return[];var n=Pa(t);return null==e?n:Qe(n,function(t){return qe(e,o,t)})}var Da=Si(function(t,e){return xu(t)?Lr(t,e):[]}),Ia=Si(function(t){return Ui($e(t,xu))}),Na=Si(function(t){var e=Sa(t);return xu(e)&&(e=o),Ui($e(t,xu),Fo(e,2))}),Fa=Si(function(t){var e=Sa(t);return e="function"==typeof e?e:o,Ui($e(t,xu),o,e)}),Ra=Si(Pa);var La=Si(function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,ja(t,n)});function Ba(t){var e=dr(t);return e.__chain__=!0,e}function za(t,e){return e(t)}var Va=Mo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Dr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof yr&&Go(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:za,args:[i],thisArg:o}),new gr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)});var Ua=io(function(t,e,n){le.call(t,n)?++t[n]:jr(t,n,1)});var Ha=fo(ga),Wa=fo(ya);function qa(t,e){return(yu(t)?Ye:Br)(t,Fo(e,3))}function Ga(t,e){return(yu(t)?Xe:zr)(t,Fo(e,3))}var Ya=io(function(t,e,n){le.call(t,n)?t[n].push(e):jr(t,n,[e])});var Xa=Si(function(t,e,n){var i=-1,o="function"==typeof e,a=bu(t)?r(t.length):[];return Br(t,function(t){a[++i]=o?qe(e,t,n):ri(t,e,n)}),a}),Ka=io(function(t,e,n){jr(t,n,e)});function $a(t,e){return(yu(t)?Qe:hi)(t,Fo(e,3))}var Za=io(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Ja=Si(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Yo(t,e[0],e[1])?e=[]:n>2&&Yo(e[0],e[1],e[2])&&(e=[e[0]]),yi(t,Wr(e,1),[])}),Qa=Fn||function(){return De.Date.now()};function tu(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Eo(t,k,o,o,o,o,e)}function eu(t,e){var n;if("function"!=typeof e)throw new ie(s);return t=Vu(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var nu=Si(function(t,e,n){var r=y;if(n.length){var i=An(n,No(nu));r|=_}return Eo(t,r,e,n,i)}),ru=Si(function(t,e,n){var r=y|m;if(n.length){var i=An(n,No(ru));r|=_}return Eo(e,r,t,n,i)});function iu(t,e,n){var r,i,a,u,c,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new ie(s);function v(e){var n=r,a=i;return r=i=o,f=e,u=t.apply(a,n)}function g(t){var n=t-l;return l===o||n>=e||n<0||d&&t-f>=a}function y(){var t=Qa();if(g(t))return m(t);c=ia(y,function(t){var n=e-(t-l);return d?Gn(n,a-(t-f)):n}(t))}function m(t){return c=o,p&&r?v(t):(r=i=o,u)}function b(){var t=Qa(),n=g(t);if(r=arguments,i=this,l=t,n){if(c===o)return function(t){return f=t,c=ia(y,e),h?v(t):u}(l);if(d)return Ki(c),c=ia(y,e),v(l)}return c===o&&(c=ia(y,e)),u}return e=Hu(e)||0,Cu(n)&&(h=!!n.leading,a=(d="maxWait"in n)?qn(Hu(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){c!==o&&Ki(c),f=0,r=l=i=c=o},b.flush=function(){return c===o?u:m(Qa())},b}var ou=Si(function(t,e){return Rr(t,1,e)}),au=Si(function(t,e,n){return Rr(t,Hu(e)||0,n)});function uu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(s);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(uu.Cache||xr),n}function su(t){if("function"!=typeof t)throw new ie(s);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}uu.Cache=xr;var cu=Yi(function(t,e){var n=(e=1==e.length&&yu(e[0])?Qe(e[0],yn(Fo())):Qe(Wr(e,1),yn(Fo()))).length;return Si(function(r){for(var i=-1,o=Gn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return qe(t,this,r)})}),lu=Si(function(t,e){var n=An(e,No(lu));return Eo(t,_,o,e,n)}),fu=Si(function(t,e){var n=An(e,No(fu));return Eo(t,S,o,e,n)}),hu=Mo(function(t,e){return Eo(t,E,o,o,o,e)});function du(t,e){return t===e||t!=t&&e!=e}var pu=xo(Qr),vu=xo(function(t,e){return t>=e}),gu=ii(function(){return arguments}())?ii:function(t){return Au(t)&&le.call(t,"callee")&&!Ie.call(t,"callee")},yu=r.isArray,mu=Be?yn(Be):function(t){return Au(t)&&Jr(t)==st};function bu(t){return null!=t&&Ou(t.length)&&!ku(t)}function xu(t){return Au(t)&&bu(t)}var wu=Vn||Hs,_u=ze?yn(ze):function(t){return Au(t)&&Jr(t)==q};function Su(t){if(!Au(t))return!1;var e=Jr(t);return e==Y||e==G||"string"==typeof t.message&&"string"==typeof t.name&&!Pu(t)}function ku(t){if(!Cu(t))return!1;var e=Jr(t);return e==X||e==K||e==H||e==tt}function Eu(t){return"number"==typeof t&&t==Vu(t)}function Ou(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=I}function Cu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Au(t){return null!=t&&"object"==typeof t}var Tu=Ve?yn(Ve):function(t){return Au(t)&&Uo(t)==$};function Mu(t){return"number"==typeof t||Au(t)&&Jr(t)==Z}function Pu(t){if(!Au(t)||Jr(t)!=Q)return!1;var e=Pe(t);if(null===e)return!0;var n=le.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ce.call(n)==pe}var ju=Ue?yn(Ue):function(t){return Au(t)&&Jr(t)==et};var Du=He?yn(He):function(t){return Au(t)&&Uo(t)==nt};function Iu(t){return"string"==typeof t||!yu(t)&&Au(t)&&Jr(t)==rt}function Nu(t){return"symbol"==typeof t||Au(t)&&Jr(t)==it}var Fu=We?yn(We):function(t){return Au(t)&&Ou(t.length)&&!!Oe[Jr(t)]};var Ru=xo(fi),Lu=xo(function(t,e){return t<=e});function Bu(t){if(!t)return[];if(bu(t))return Iu(t)?jn(t):no(t);if(Le&&t[Le])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Le]());var e=Uo(t);return(e==$?On:e==nt?Tn:ds)(t)}function zu(t){return t?(t=Hu(t))===D||t===-D?(t<0?-1:1)*N:t==t?t:0:0===t?t:0}function Vu(t){var e=zu(t),n=e%1;return e==e?n?e-n:e:0}function Uu(t){return t?Ir(Vu(t),0,R):0}function Hu(t){if("number"==typeof t)return t;if(Nu(t))return F;if(Cu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Cu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(It,"");var n=qt.test(t);return n||Yt.test(t)?Me(t.slice(2),n?2:8):Wt.test(t)?F:+t}function Wu(t){return ro(t,os(t))}function qu(t){return null==t?"":Fi(t)}var Gu=oo(function(t,e){if(Zo(e)||bu(e))ro(e,is(e),t);else for(var n in e)le.call(e,n)&&Ar(t,n,e[n])}),Yu=oo(function(t,e){ro(e,os(e),t)}),Xu=oo(function(t,e,n,r){ro(e,os(e),t,r)}),Ku=oo(function(t,e,n,r){ro(e,is(e),t,r)}),$u=Mo(Dr);var Zu=Si(function(t,e){t=ee(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&Yo(e[0],e[1],i)&&(r=1);++n<r;)for(var a=e[n],u=os(a),s=-1,c=u.length;++s<c;){var l=u[s],f=t[l];(f===o||du(f,ue[l])&&!le.call(t,l))&&(t[l]=a[l])}return t}),Ju=Si(function(t){return t.push(o,Co),qe(us,o,t)});function Qu(t,e,n){var r=null==t?o:$r(t,e);return r===o?n:r}function ts(t,e){return null!=t&&Ho(t,e,ei)}var es=vo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),t[e]=n},Cs(Ms)),ns=vo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=de.call(e)),le.call(t,e)?t[e].push(n):t[e]=[n]},Fo),rs=Si(ri);function is(t){return bu(t)?Sr(t):ci(t)}function os(t){return bu(t)?Sr(t,!0):li(t)}var as=oo(function(t,e,n){vi(t,e,n)}),us=oo(function(t,e,n,r){vi(t,e,n,r)}),ss=Mo(function(t,e){var n={};if(null==t)return n;var r=!1;e=Qe(e,function(e){return e=Gi(e,t),r||(r=e.length>1),e}),ro(t,jo(t),n),r&&(n=Nr(n,h|d|p,Ao));for(var i=e.length;i--;)Li(n,e[i]);return n});var cs=Mo(function(t,e){return null==t?{}:function(t,e){return mi(t,e,function(e,n){return ts(t,n)})}(t,e)});function ls(t,e){if(null==t)return{};var n=Qe(jo(t),function(t){return[t]});return e=Fo(e),mi(t,n,function(t,n){return e(t,n[0])})}var fs=ko(is),hs=ko(os);function ds(t){return null==t?[]:mn(t,is(t))}var ps=co(function(t,e,n){return e=e.toLowerCase(),t+(n?vs(e):e)});function vs(t){return Ss(qu(t).toLowerCase())}function gs(t){return(t=qu(t))&&t.replace(Kt,_n).replace(be,"")}var ys=co(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),ms=co(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),bs=so("toLowerCase");var xs=co(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var ws=co(function(t,e,n){return t+(n?" ":"")+Ss(e)});var _s=co(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Ss=so("toUpperCase");function ks(t,e,n){return t=qu(t),(e=n?o:e)===o?function(t){return Se.test(t)}(t)?function(t){return t.match(we)||[]}(t):function(t){return t.match(zt)||[]}(t):t.match(e)||[]}var Es=Si(function(t,e){try{return qe(t,o,e)}catch(t){return Su(t)?t:new Jt(t)}}),Os=Mo(function(t,e){return Ye(e,function(e){e=la(e),jr(t,e,nu(t[e],t))}),t});function Cs(t){return function(){return t}}var As=ho(),Ts=ho(!0);function Ms(t){return t}function Ps(t){return si("function"==typeof t?t:Nr(t,h))}var js=Si(function(t,e){return function(n){return ri(n,t,e)}}),Ds=Si(function(t,e){return function(n){return ri(t,n,e)}});function Is(t,e,n){var r=is(e),i=Kr(e,r);null!=n||Cu(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Kr(e,is(e)));var o=!(Cu(n)&&"chain"in n&&!n.chain),a=ku(t);return Ye(i,function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=no(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Ns(){}var Fs=yo(Qe),Rs=yo(Ke),Ls=yo(rn);function Bs(t){return Xo(t)?hn(la(t)):function(t){return function(e){return $r(e,t)}}(t)}var zs=bo(),Vs=bo(!0);function Us(){return[]}function Hs(){return!1}var Ws=go(function(t,e){return t+e},0),qs=_o("ceil"),Gs=go(function(t,e){return t/e},1),Ys=_o("floor");var Xs,Ks=go(function(t,e){return t*e},1),$s=_o("round"),Zs=go(function(t,e){return t-e},0);return dr.after=function(t,e){if("function"!=typeof e)throw new ie(s);return t=Vu(t),function(){if(--t<1)return e.apply(this,arguments)}},dr.ary=tu,dr.assign=Gu,dr.assignIn=Yu,dr.assignInWith=Xu,dr.assignWith=Ku,dr.at=$u,dr.before=eu,dr.bind=nu,dr.bindAll=Os,dr.bindKey=ru,dr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return yu(t)?t:[t]},dr.chain=Ba,dr.chunk=function(t,e,n){e=(n?Yo(t,e,n):e===o)?1:qn(Vu(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,u=0,s=r(Ln(i/e));a<i;)s[u++]=Mi(t,a,a+=e);return s},dr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},dr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return tn(yu(n)?no(n):[n],Wr(e,1))},dr.cond=function(t){var e=null==t?0:t.length,n=Fo();return t=e?Qe(t,function(t){if("function"!=typeof t[1])throw new ie(s);return[n(t[0]),t[1]]}):[],Si(function(n){for(var r=-1;++r<e;){var i=t[r];if(qe(i[0],this,n))return qe(i[1],this,n)}})},dr.conforms=function(t){return function(t){var e=is(t);return function(n){return Fr(n,t,e)}}(Nr(t,h))},dr.constant=Cs,dr.countBy=Ua,dr.create=function(t,e){var n=pr(t);return null==e?n:Pr(n,e)},dr.curry=function t(e,n,r){var i=Eo(e,x,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},dr.curryRight=function t(e,n,r){var i=Eo(e,w,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},dr.debounce=iu,dr.defaults=Zu,dr.defaultsDeep=Ju,dr.defer=ou,dr.delay=au,dr.difference=da,dr.differenceBy=pa,dr.differenceWith=va,dr.drop=function(t,e,n){var r=null==t?0:t.length;return r?Mi(t,(e=n||e===o?1:Vu(e))<0?0:e,r):[]},dr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Mi(t,0,(e=r-(e=n||e===o?1:Vu(e)))<0?0:e):[]},dr.dropRightWhile=function(t,e){return t&&t.length?zi(t,Fo(e,3),!0,!0):[]},dr.dropWhile=function(t,e){return t&&t.length?zi(t,Fo(e,3),!0):[]},dr.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Yo(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=Vu(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:Vu(r))<0&&(r+=i),r=n>r?0:Uu(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},dr.filter=function(t,e){return(yu(t)?$e:Hr)(t,Fo(e,3))},dr.flatMap=function(t,e){return Wr($a(t,e),1)},dr.flatMapDeep=function(t,e){return Wr($a(t,e),D)},dr.flatMapDepth=function(t,e,n){return n=n===o?1:Vu(n),Wr($a(t,e),n)},dr.flatten=ma,dr.flattenDeep=function(t){return null!=t&&t.length?Wr(t,D):[]},dr.flattenDepth=function(t,e){return null!=t&&t.length?Wr(t,e=e===o?1:Vu(e)):[]},dr.flip=function(t){return Eo(t,O)},dr.flow=As,dr.flowRight=Ts,dr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},dr.functions=function(t){return null==t?[]:Kr(t,is(t))},dr.functionsIn=function(t){return null==t?[]:Kr(t,os(t))},dr.groupBy=Ya,dr.initial=function(t){return null!=t&&t.length?Mi(t,0,-1):[]},dr.intersection=xa,dr.intersectionBy=wa,dr.intersectionWith=_a,dr.invert=es,dr.invertBy=ns,dr.invokeMap=Xa,dr.iteratee=Ps,dr.keyBy=Ka,dr.keys=is,dr.keysIn=os,dr.map=$a,dr.mapKeys=function(t,e){var n={};return e=Fo(e,3),Yr(t,function(t,r,i){jr(n,e(t,r,i),t)}),n},dr.mapValues=function(t,e){var n={};return e=Fo(e,3),Yr(t,function(t,r,i){jr(n,r,e(t,r,i))}),n},dr.matches=function(t){return di(Nr(t,h))},dr.matchesProperty=function(t,e){return pi(t,Nr(e,h))},dr.memoize=uu,dr.merge=as,dr.mergeWith=us,dr.method=js,dr.methodOf=Ds,dr.mixin=Is,dr.negate=su,dr.nthArg=function(t){return t=Vu(t),Si(function(e){return gi(e,t)})},dr.omit=ss,dr.omitBy=function(t,e){return ls(t,su(Fo(e)))},dr.once=function(t){return eu(2,t)},dr.orderBy=function(t,e,n,r){return null==t?[]:(yu(e)||(e=null==e?[]:[e]),yu(n=r?o:n)||(n=null==n?[]:[n]),yi(t,e,n))},dr.over=Fs,dr.overArgs=cu,dr.overEvery=Rs,dr.overSome=Ls,dr.partial=lu,dr.partialRight=fu,dr.partition=Za,dr.pick=cs,dr.pickBy=ls,dr.property=Bs,dr.propertyOf=function(t){return function(e){return null==t?o:$r(t,e)}},dr.pull=ka,dr.pullAll=Ea,dr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?bi(t,e,Fo(n,2)):t},dr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?bi(t,e,o,n):t},dr.pullAt=Oa,dr.range=zs,dr.rangeRight=Vs,dr.rearg=hu,dr.reject=function(t,e){return(yu(t)?$e:Hr)(t,su(Fo(e,3)))},dr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=Fo(e,3);++r<o;){var a=t[r];e(a,r,t)&&(n.push(a),i.push(r))}return xi(t,i),n},dr.rest=function(t,e){if("function"!=typeof t)throw new ie(s);return Si(t,e=e===o?e:Vu(e))},dr.reverse=Ca,dr.sampleSize=function(t,e,n){return e=(n?Yo(t,e,n):e===o)?1:Vu(e),(yu(t)?Er:Ei)(t,e)},dr.set=function(t,e,n){return null==t?t:Oi(t,e,n)},dr.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Oi(t,e,n,r)},dr.shuffle=function(t){return(yu(t)?Or:Ti)(t)},dr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Yo(t,e,n)?(e=0,n=r):(e=null==e?0:Vu(e),n=n===o?r:Vu(n)),Mi(t,e,n)):[]},dr.sortBy=Ja,dr.sortedUniq=function(t){return t&&t.length?Ii(t):[]},dr.sortedUniqBy=function(t,e){return t&&t.length?Ii(t,Fo(e,2)):[]},dr.split=function(t,e,n){return n&&"number"!=typeof n&&Yo(t,e,n)&&(e=n=o),(n=n===o?R:n>>>0)?(t=qu(t))&&("string"==typeof e||null!=e&&!ju(e))&&!(e=Fi(e))&&En(t)?Xi(jn(t),0,n):t.split(e,n):[]},dr.spread=function(t,e){if("function"!=typeof t)throw new ie(s);return e=null==e?0:qn(Vu(e),0),Si(function(n){var r=n[e],i=Xi(n,0,e);return r&&tn(i,r),qe(t,this,i)})},dr.tail=function(t){var e=null==t?0:t.length;return e?Mi(t,1,e):[]},dr.take=function(t,e,n){return t&&t.length?Mi(t,0,(e=n||e===o?1:Vu(e))<0?0:e):[]},dr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Mi(t,(e=r-(e=n||e===o?1:Vu(e)))<0?0:e,r):[]},dr.takeRightWhile=function(t,e){return t&&t.length?zi(t,Fo(e,3),!1,!0):[]},dr.takeWhile=function(t,e){return t&&t.length?zi(t,Fo(e,3)):[]},dr.tap=function(t,e){return e(t),t},dr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(s);return Cu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),iu(t,e,{leading:r,maxWait:e,trailing:i})},dr.thru=za,dr.toArray=Bu,dr.toPairs=fs,dr.toPairsIn=hs,dr.toPath=function(t){return yu(t)?Qe(t,la):Nu(t)?[t]:no(ca(qu(t)))},dr.toPlainObject=Wu,dr.transform=function(t,e,n){var r=yu(t),i=r||wu(t)||Fu(t);if(e=Fo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Cu(t)&&ku(o)?pr(Pe(t)):{}}return(i?Ye:Yr)(t,function(t,r,i){return e(n,t,r,i)}),n},dr.unary=function(t){return tu(t,1)},dr.union=Aa,dr.unionBy=Ta,dr.unionWith=Ma,dr.uniq=function(t){return t&&t.length?Ri(t):[]},dr.uniqBy=function(t,e){return t&&t.length?Ri(t,Fo(e,2)):[]},dr.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?Ri(t,o,e):[]},dr.unset=function(t,e){return null==t||Li(t,e)},dr.unzip=Pa,dr.unzipWith=ja,dr.update=function(t,e,n){return null==t?t:Bi(t,e,qi(n))},dr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Bi(t,e,qi(n),r)},dr.values=ds,dr.valuesIn=function(t){return null==t?[]:mn(t,os(t))},dr.without=Da,dr.words=ks,dr.wrap=function(t,e){return lu(qi(e),t)},dr.xor=Ia,dr.xorBy=Na,dr.xorWith=Fa,dr.zip=Ra,dr.zipObject=function(t,e){return Hi(t||[],e||[],Ar)},dr.zipObjectDeep=function(t,e){return Hi(t||[],e||[],Oi)},dr.zipWith=La,dr.entries=fs,dr.entriesIn=hs,dr.extend=Yu,dr.extendWith=Xu,Is(dr,dr),dr.add=Ws,dr.attempt=Es,dr.camelCase=ps,dr.capitalize=vs,dr.ceil=qs,dr.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=Hu(n))==n?n:0),e!==o&&(e=(e=Hu(e))==e?e:0),Ir(Hu(t),e,n)},dr.clone=function(t){return Nr(t,p)},dr.cloneDeep=function(t){return Nr(t,h|p)},dr.cloneDeepWith=function(t,e){return Nr(t,h|p,e="function"==typeof e?e:o)},dr.cloneWith=function(t,e){return Nr(t,p,e="function"==typeof e?e:o)},dr.conformsTo=function(t,e){return null==e||Fr(t,e,is(e))},dr.deburr=gs,dr.defaultTo=function(t,e){return null==t||t!=t?e:t},dr.divide=Gs,dr.endsWith=function(t,e,n){t=qu(t),e=Fi(e);var r=t.length,i=n=n===o?r:Ir(Vu(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},dr.eq=du,dr.escape=function(t){return(t=qu(t))&&Et.test(t)?t.replace(St,Sn):t},dr.escapeRegExp=function(t){return(t=qu(t))&&Dt.test(t)?t.replace(jt,"\\$&"):t},dr.every=function(t,e,n){var r=yu(t)?Ke:Vr;return n&&Yo(t,e,n)&&(e=o),r(t,Fo(e,3))},dr.find=Ha,dr.findIndex=ga,dr.findKey=function(t,e){return an(t,Fo(e,3),Yr)},dr.findLast=Wa,dr.findLastIndex=ya,dr.findLastKey=function(t,e){return an(t,Fo(e,3),Xr)},dr.floor=Ys,dr.forEach=qa,dr.forEachRight=Ga,dr.forIn=function(t,e){return null==t?t:qr(t,Fo(e,3),os)},dr.forInRight=function(t,e){return null==t?t:Gr(t,Fo(e,3),os)},dr.forOwn=function(t,e){return t&&Yr(t,Fo(e,3))},dr.forOwnRight=function(t,e){return t&&Xr(t,Fo(e,3))},dr.get=Qu,dr.gt=pu,dr.gte=vu,dr.has=function(t,e){return null!=t&&Ho(t,e,ti)},dr.hasIn=ts,dr.head=ba,dr.identity=Ms,dr.includes=function(t,e,n,r){t=bu(t)?t:ds(t),n=n&&!r?Vu(n):0;var i=t.length;return n<0&&(n=qn(i+n,0)),Iu(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&sn(t,e,n)>-1},dr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Vu(n);return i<0&&(i=qn(r+i,0)),sn(t,e,i)},dr.inRange=function(t,e,n){return e=zu(e),n===o?(n=e,e=0):n=zu(n),function(t,e,n){return t>=Gn(e,n)&&t<qn(e,n)}(t=Hu(t),e,n)},dr.invoke=rs,dr.isArguments=gu,dr.isArray=yu,dr.isArrayBuffer=mu,dr.isArrayLike=bu,dr.isArrayLikeObject=xu,dr.isBoolean=function(t){return!0===t||!1===t||Au(t)&&Jr(t)==W},dr.isBuffer=wu,dr.isDate=_u,dr.isElement=function(t){return Au(t)&&1===t.nodeType&&!Pu(t)},dr.isEmpty=function(t){if(null==t)return!0;if(bu(t)&&(yu(t)||"string"==typeof t||"function"==typeof t.splice||wu(t)||Fu(t)||gu(t)))return!t.length;var e=Uo(t);if(e==$||e==nt)return!t.size;if(Zo(t))return!ci(t).length;for(var n in t)if(le.call(t,n))return!1;return!0},dr.isEqual=function(t,e){return oi(t,e)},dr.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?oi(t,e,o,n):!!r},dr.isError=Su,dr.isFinite=function(t){return"number"==typeof t&&Un(t)},dr.isFunction=ku,dr.isInteger=Eu,dr.isLength=Ou,dr.isMap=Tu,dr.isMatch=function(t,e){return t===e||ai(t,e,Lo(e))},dr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,ai(t,e,Lo(e),n)},dr.isNaN=function(t){return Mu(t)&&t!=+t},dr.isNative=function(t){if($o(t))throw new Jt(u);return ui(t)},dr.isNil=function(t){return null==t},dr.isNull=function(t){return null===t},dr.isNumber=Mu,dr.isObject=Cu,dr.isObjectLike=Au,dr.isPlainObject=Pu,dr.isRegExp=ju,dr.isSafeInteger=function(t){return Eu(t)&&t>=-I&&t<=I},dr.isSet=Du,dr.isString=Iu,dr.isSymbol=Nu,dr.isTypedArray=Fu,dr.isUndefined=function(t){return t===o},dr.isWeakMap=function(t){return Au(t)&&Uo(t)==at},dr.isWeakSet=function(t){return Au(t)&&Jr(t)==ut},dr.join=function(t,e){return null==t?"":Hn.call(t,e)},dr.kebabCase=ys,dr.last=Sa,dr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=Vu(n))<0?qn(r+i,0):Gn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):un(t,ln,i,!0)},dr.lowerCase=ms,dr.lowerFirst=bs,dr.lt=Ru,dr.lte=Lu,dr.max=function(t){return t&&t.length?Ur(t,Ms,Qr):o},dr.maxBy=function(t,e){return t&&t.length?Ur(t,Fo(e,2),Qr):o},dr.mean=function(t){return fn(t,Ms)},dr.meanBy=function(t,e){return fn(t,Fo(e,2))},dr.min=function(t){return t&&t.length?Ur(t,Ms,fi):o},dr.minBy=function(t,e){return t&&t.length?Ur(t,Fo(e,2),fi):o},dr.stubArray=Us,dr.stubFalse=Hs,dr.stubObject=function(){return{}},dr.stubString=function(){return""},dr.stubTrue=function(){return!0},dr.multiply=Ks,dr.nth=function(t,e){return t&&t.length?gi(t,Vu(e)):o},dr.noConflict=function(){return De._===this&&(De._=ve),this},dr.noop=Ns,dr.now=Qa,dr.pad=function(t,e,n){t=qu(t);var r=(e=Vu(e))?Pn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return mo(Bn(i),n)+t+mo(Ln(i),n)},dr.padEnd=function(t,e,n){t=qu(t);var r=(e=Vu(e))?Pn(t):0;return e&&r<e?t+mo(e-r,n):t},dr.padStart=function(t,e,n){t=qu(t);var r=(e=Vu(e))?Pn(t):0;return e&&r<e?mo(e-r,n)+t:t},dr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Xn(qu(t).replace(Nt,""),e||0)},dr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Yo(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=zu(t),e===o?(e=t,t=0):e=zu(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Kn();return Gn(t+i*(e-t+Te("1e-"+((i+"").length-1))),e)}return wi(t,e)},dr.reduce=function(t,e,n){var r=yu(t)?en:pn,i=arguments.length<3;return r(t,Fo(e,4),n,i,Br)},dr.reduceRight=function(t,e,n){var r=yu(t)?nn:pn,i=arguments.length<3;return r(t,Fo(e,4),n,i,zr)},dr.repeat=function(t,e,n){return e=(n?Yo(t,e,n):e===o)?1:Vu(e),_i(qu(t),e)},dr.replace=function(){var t=arguments,e=qu(t[0]);return t.length<3?e:e.replace(t[1],t[2])},dr.result=function(t,e,n){var r=-1,i=(e=Gi(e,t)).length;for(i||(i=1,t=o);++r<i;){var a=null==t?o:t[la(e[r])];a===o&&(r=i,a=n),t=ku(a)?a.call(t):a}return t},dr.round=$s,dr.runInContext=t,dr.sample=function(t){return(yu(t)?kr:ki)(t)},dr.size=function(t){if(null==t)return 0;if(bu(t))return Iu(t)?Pn(t):t.length;var e=Uo(t);return e==$||e==nt?t.size:ci(t).length},dr.snakeCase=xs,dr.some=function(t,e,n){var r=yu(t)?rn:Pi;return n&&Yo(t,e,n)&&(e=o),r(t,Fo(e,3))},dr.sortedIndex=function(t,e){return ji(t,e)},dr.sortedIndexBy=function(t,e,n){return Di(t,e,Fo(n,2))},dr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=ji(t,e);if(r<n&&du(t[r],e))return r}return-1},dr.sortedLastIndex=function(t,e){return ji(t,e,!0)},dr.sortedLastIndexBy=function(t,e,n){return Di(t,e,Fo(n,2),!0)},dr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ji(t,e,!0)-1;if(du(t[n],e))return n}return-1},dr.startCase=ws,dr.startsWith=function(t,e,n){return t=qu(t),n=null==n?0:Ir(Vu(n),0,t.length),e=Fi(e),t.slice(n,n+e.length)==e},dr.subtract=Zs,dr.sum=function(t){return t&&t.length?vn(t,Ms):0},dr.sumBy=function(t,e){return t&&t.length?vn(t,Fo(e,2)):0},dr.template=function(t,e,n){var r=dr.templateSettings;n&&Yo(t,e,n)&&(e=o),t=qu(t),e=Xu({},e,r,Oo);var i,a,u=Xu({},e.imports,r.imports,Oo),s=is(u),c=mn(u,s),l=0,f=e.interpolate||$t,h="__p += '",d=ne((e.escape||$t).source+"|"+f.source+"|"+(f===At?Ut:$t).source+"|"+(e.evaluate||$t).source+"|$","g"),p="//# sourceURL="+(le.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Ee+"]")+"\n";t.replace(d,function(e,n,r,o,u,s){return r||(r=o),h+=t.slice(l,s).replace(Zt,kn),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),u&&(a=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+e.length,e}),h+="';\n";var v=le.call(e,"variable")&&e.variable;v||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(bt,""):h).replace(xt,"$1").replace(wt,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Es(function(){return Qt(s,p+"return "+h).apply(o,c)});if(g.source=h,Su(g))throw g;return g},dr.times=function(t,e){if((t=Vu(t))<1||t>I)return[];var n=R,r=Gn(t,R);e=Fo(e),t-=R;for(var i=gn(r,e);++n<t;)e(n);return i},dr.toFinite=zu,dr.toInteger=Vu,dr.toLength=Uu,dr.toLower=function(t){return qu(t).toLowerCase()},dr.toNumber=Hu,dr.toSafeInteger=function(t){return t?Ir(Vu(t),-I,I):0===t?t:0},dr.toString=qu,dr.toUpper=function(t){return qu(t).toUpperCase()},dr.trim=function(t,e,n){if((t=qu(t))&&(n||e===o))return t.replace(It,"");if(!t||!(e=Fi(e)))return t;var r=jn(t),i=jn(e);return Xi(r,xn(r,i),wn(r,i)+1).join("")},dr.trimEnd=function(t,e,n){if((t=qu(t))&&(n||e===o))return t.replace(Ft,"");if(!t||!(e=Fi(e)))return t;var r=jn(t);return Xi(r,0,wn(r,jn(e))+1).join("")},dr.trimStart=function(t,e,n){if((t=qu(t))&&(n||e===o))return t.replace(Nt,"");if(!t||!(e=Fi(e)))return t;var r=jn(t);return Xi(r,xn(r,jn(e))).join("")},dr.truncate=function(t,e){var n=C,r=A;if(Cu(e)){var i="separator"in e?e.separator:i;n="length"in e?Vu(e.length):n,r="omission"in e?Fi(e.omission):r}var a=(t=qu(t)).length;if(En(t)){var u=jn(t);a=u.length}if(n>=a)return t;var s=n-Pn(r);if(s<1)return r;var c=u?Xi(u,0,s).join(""):t.slice(0,s);if(i===o)return c+r;if(u&&(s+=c.length-s),ju(i)){if(t.slice(s).search(i)){var l,f=c;for(i.global||(i=ne(i.source,qu(Ht.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var h=l.index;c=c.slice(0,h===o?s:h)}}else if(t.indexOf(Fi(i),s)!=s){var d=c.lastIndexOf(i);d>-1&&(c=c.slice(0,d))}return c+r},dr.unescape=function(t){return(t=qu(t))&&kt.test(t)?t.replace(_t,Dn):t},dr.uniqueId=function(t){var e=++fe;return qu(t)+e},dr.upperCase=_s,dr.upperFirst=Ss,dr.each=qa,dr.eachRight=Ga,dr.first=ba,Is(dr,(Xs={},Yr(dr,function(t,e){le.call(dr.prototype,e)||(Xs[e]=t)}),Xs),{chain:!1}),dr.VERSION="4.17.15",Ye(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){dr[t].placeholder=dr}),Ye(["drop","take"],function(t,e){yr.prototype[t]=function(n){n=n===o?1:qn(Vu(n),0);var r=this.__filtered__&&!e?new yr(this):this.clone();return r.__filtered__?r.__takeCount__=Gn(n,r.__takeCount__):r.__views__.push({size:Gn(n,R),type:t+(r.__dir__<0?"Right":"")}),r},yr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Ye(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==P||3==n;yr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Fo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Ye(["head","last"],function(t,e){var n="take"+(e?"Right":"");yr.prototype[t]=function(){return this[n](1).value()[0]}}),Ye(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");yr.prototype[t]=function(){return this.__filtered__?new yr(this):this[n](1)}}),yr.prototype.compact=function(){return this.filter(Ms)},yr.prototype.find=function(t){return this.filter(t).head()},yr.prototype.findLast=function(t){return this.reverse().find(t)},yr.prototype.invokeMap=Si(function(t,e){return"function"==typeof t?new yr(this):this.map(function(n){return ri(n,t,e)})}),yr.prototype.reject=function(t){return this.filter(su(Fo(t)))},yr.prototype.slice=function(t,e){t=Vu(t);var n=this;return n.__filtered__&&(t>0||e<0)?new yr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=Vu(e))<0?n.dropRight(-e):n.take(e-t)),n)},yr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},yr.prototype.toArray=function(){return this.take(R)},Yr(yr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=dr[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(dr.prototype[e]=function(){var e=this.__wrapped__,u=r?[1]:arguments,s=e instanceof yr,c=u[0],l=s||yu(e),f=function(t){var e=i.apply(dr,tn([t],u));return r&&h?e[0]:e};l&&n&&"function"==typeof c&&1!=c.length&&(s=l=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,v=s&&!d;if(!a&&l){e=v?e:new yr(this);var g=t.apply(e,u);return g.__actions__.push({func:za,args:[f],thisArg:o}),new gr(g,h)}return p&&v?t.apply(this,u):(g=this.thru(f),p?r?g.value()[0]:g.value():g)})}),Ye(["pop","push","shift","sort","splice","unshift"],function(t){var e=oe[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);dr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(yu(i)?i:[],t)}return this[n](function(n){return e.apply(yu(n)?n:[],t)})}}),Yr(yr.prototype,function(t,e){var n=dr[e];if(n){var r=n.name+"";le.call(ir,r)||(ir[r]=[]),ir[r].push({name:e,func:n})}}),ir[po(o,m).name]=[{name:"wrapper",func:o}],yr.prototype.clone=function(){var t=new yr(this.__wrapped__);return t.__actions__=no(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=no(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=no(this.__views__),t},yr.prototype.reverse=function(){if(this.__filtered__){var t=new yr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},yr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=yu(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=Gn(e,t+a);break;case"takeRight":t=qn(t,e-a)}}return{start:t,end:e}}(0,i,this.__views__),a=o.start,u=o.end,s=u-a,c=r?u:a-1,l=this.__iteratees__,f=l.length,h=0,d=Gn(s,this.__takeCount__);if(!n||!r&&i==s&&d==s)return Vi(t,this.__actions__);var p=[];t:for(;s--&&h<d;){for(var v=-1,g=t[c+=e];++v<f;){var y=l[v],m=y.iteratee,b=y.type,x=m(g);if(b==j)g=x;else if(!x){if(b==P)continue t;break t}}p[h++]=g}return p},dr.prototype.at=Va,dr.prototype.chain=function(){return Ba(this)},dr.prototype.commit=function(){return new gr(this.value(),this.__chain__)},dr.prototype.next=function(){this.__values__===o&&(this.__values__=Bu(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},dr.prototype.plant=function(t){for(var e,n=this;n instanceof vr;){var r=ha(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},dr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof yr){var e=t;return this.__actions__.length&&(e=new yr(this)),(e=e.reverse()).__actions__.push({func:za,args:[Ca],thisArg:o}),new gr(e,this.__chain__)}return this.thru(Ca)},dr.prototype.toJSON=dr.prototype.valueOf=dr.prototype.value=function(){return Vi(this.__wrapped__,this.__actions__)},dr.prototype.first=dr.prototype.head,Le&&(dr.prototype[Le]=function(){return this}),dr}();De._=In,(i=function(){return In}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(this,n("yLpj"),n("YuTi")(t))},Lwbf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={},i=e.render=function(t,e,n,r){if("undefined"==typeof document&&!r)return null;var i=r?new r:document.createElement("canvas");i.width=2*n,i.height=2*n;var o=i.getContext("2d");return o?(o.fillStyle=t,o.fillRect(0,0,i.width,i.height),o.fillStyle=e,o.fillRect(0,0,n,n),o.translate(n,n),o.fillRect(0,0,n,n),i.toDataURL()):null};e.get=function(t,e,n,o){var a=t+"-"+e+"-"+n+(o?"-server":""),u=i(t,e,n,o);return r[a]?r[a]:(r[a]=u,u)}},"Lx/H":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Github=void 0;var r=l(n("q1tI")),i=l(n("17x9")),o=l(n("/FUP")),a=l(n("3WF5")),u=l(n("QkVN")),s=n("TM95"),c=l(n("iGDq"));function l(t){return t&&t.__esModule?t:{default:t}}var f=e.Github=function(t){var e=t.width,n=t.colors,i=t.onChange,s=t.onSwatchHover,l=t.triangle,f=t.styles,h=void 0===f?{}:f,d=t.className,p=void 0===d?"":d,v=(0,o.default)((0,u.default)({default:{card:{width:e,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},h),{"hide-triangle":"hide"===l,"top-left-triangle":"top-left"===l,"top-right-triangle":"top-right"===l,"bottom-left-triangle":"bottom-left"==l,"bottom-right-triangle":"bottom-right"===l}),g=function(t,e){return i({hex:t,source:"hex"},e)};return r.default.createElement("div",{style:v.card,className:"github-picker "+p},r.default.createElement("div",{style:v.triangleShadow}),r.default.createElement("div",{style:v.triangle}),(0,a.default)(n,function(t){return r.default.createElement(c.default,{color:t,key:t,onClick:g,onSwatchHover:s})}))};f.propTypes={width:i.default.oneOfType([i.default.string,i.default.number]),colors:i.default.arrayOf(i.default.string),triangle:i.default.oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:i.default.object},f.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},e.default=(0,s.ColorWrap)(f)},LyE8:function(t,e,n){"use strict";var r=n("eeVq");t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},"M/b5":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(function(t,e){return"string"==typeof e||e instanceof Array?t.concat(e):t},[]).filter(Boolean).join(" ")}},M1xp:function(t,e,n){var r=n("a0xu");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},M6Qj:function(t,e,n){var r=n("hPIQ"),i=n("K0xU")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},MGBS:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n("FFOo").a)},MMmD:function(t,e,n){var r=n("lSCD"),i=n("shjB");t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},MPFp:function(t,e,n){"use strict";var r=n("uOPS"),i=n("Y7ZC"),o=n("kTiW"),a=n("NegM"),u=n("SBuE"),s=n("j2DC"),c=n("RfKB"),l=n("U+KD"),f=n("UWiX")("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,v,g,y){s(n,e,p);var m,b,x,w=function(t){if(!h&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",S="values"==v,k=!1,E=t.prototype,O=E[f]||E["@@iterator"]||v&&E[v],C=O||w(v),A=v?S?w("entries"):C:void 0,T="Array"==e&&E.entries||O;if(T&&(x=l(T.call(new t)))!==Object.prototype&&x.next&&(c(x,_,!0),r||"function"==typeof x[f]||a(x,f,d)),S&&O&&"values"!==O.name&&(k=!0,C=function(){return O.call(this)}),r&&!y||!h&&!k&&E[f]||a(E,f,C),u[e]=C,u[_]=d,v)if(m={values:S?C:w("values"),keys:g?C:w("keys"),entries:A},y)for(b in m)b in E||o(E,b,m[b]);else i(i.P+i.F*(h||k),e,m);return m}},McSo:function(t,e,n){"use strict";function r(t){return null!==t&&"object"==typeof t}n.d(e,"a",function(){return r})},MfQN:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},MgzW:function(t,e,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))i.call(n,c)&&(u[c]=n[c]);if(r){a=r(n);for(var l=0;l<a.length;l++)o.call(n,a[l])&&(u[a[l]]=n[a[l]])}}return u}},MrPd:function(t,e,n){var r=n("hypo"),i=n("ljhN"),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},MtdB:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},Mukb:function(t,e,n){var r=n("hswa"),i=n("RjD/");t.exports=n("nh4g")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},MvSz:function(t,e,n){var r=n("LXxW"),i=n("0ycA"),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,u=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return o.call(t,e)}))}:i;t.exports=u},MvwC:function(t,e,n){var r=n("5T2Y").document;t.exports=r&&r.documentElement},N8g3:function(t,e,n){e.f=n("K0xU")},NKFp:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.defaultProps=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI"));function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function a(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};e.defaultProps=h;var d=function(t){var e,n;return n=e=function(e){function n(){var t,e,r,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];return r=this,o=(t=s(n)).call.apply(t,[this].concat(u)),e=!o||"object"!==i(o)&&"function"!=typeof o?l(r):o,f(l(l(e)),"select",void 0),f(l(l(e)),"state",{inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue}),f(l(l(e)),"onChange",function(t,n){e.callProp("onChange",t,n),e.setState({value:t})}),f(l(l(e)),"onInputChange",function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==r?r:t})}),f(l(l(e)),"onMenuOpen",function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})}),f(l(l(e)),"onMenuClose",function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})}),e}var h,d,p;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(n,r.Component),h=n,(d=[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(t){return void 0!==this.props[t]?this.props[t]:this.state[t]}},{key:"callProp",value:function(t){if("function"==typeof this.props[t]){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(e=this.props)[t].apply(e,r)}}},{key:"render",value:function(){var e=this,n=this.props,i=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,a(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return r.default.createElement(t,o({},i,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}])&&u(h.prototype,d),p&&u(h,p),n}(),f(e,"defaultProps",h),n};e.default=d},NKxu:function(t,e,n){var r=n("lSCD"),i=n("E2jh"),o=n("GoyQ"),a=n("3Fdi"),u=/^\[object .+?Constructor\]$/,s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,h=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?h:u).test(a(t))}},NO8f:function(t,e,n){n("7DDg")("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},NOtv:function(t,e,n){(function(r){function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(){var t;try{t=e.storage.debug}catch(t){}return!t&&void 0!==r&&"env"in r&&(t=r.env.DEBUG),t}(e=t.exports=n("lv48")).log=function(){return"object"===("undefined"==typeof console?"undefined":i(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},e.formatArgs=function(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),!n)return;var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var i=0,o=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(i++,"%c"===t&&(o=i))}),t.splice(o,0,r)},e.save=function(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}},e.load=o,e.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(o())}).call(this,n("8oxB"))},NSvM:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChromePointer=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.ChromePointer=function(){var t=(0,i.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.default.createElement("div",{style:t.picker})};e.default=a},NV0k:function(t,e){e.f={}.propertyIsEnumerable},NegM:function(t,e,n){var r=n("2faE"),i=n("rr1i");t.exports=n("jmDH")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},NpuA:function(t,e,n){var r,i,o; /* @license Papa Parse v4.6.3 https://github.com/mholt/PapaParse License: MIT */Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),i=[],void 0===(o="function"==typeof(r=function(){"use strict";var t,e,n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:{},r=!n.document&&!!n.postMessage,i=r&&/(\?|&)papaworker(=|&|$)/.test(n.location.search),o=!1,a={},u=0,s={parse:function(e,r){var i=(r=r||{}).dynamicTyping||!1;if(S(i)&&(r.dynamicTypingFunction=i,i={}),r.dynamicTyping=i,r.transform=!!S(r.transform)&&r.transform,r.worker&&s.WORKERS_SUPPORTED){var c=function(){if(!s.WORKERS_SUPPORTED)return!1;if(!o&&null===s.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var e=s.SCRIPT_PATH||t;e+=(-1!==e.indexOf("?")?"&":"?")+"papaworker";var r=new n.Worker(e);return r.onmessage=m,r.id=u++,a[r.id]=r}();return c.userStep=r.step,c.userChunk=r.chunk,c.userComplete=r.complete,c.userError=r.error,r.step=S(r.step),r.chunk=S(r.chunk),r.complete=S(r.complete),r.error=S(r.error),delete r.worker,void c.postMessage({input:e,config:r,workerId:c.id})}var l=null;return s.NODE_STREAM_INPUT,"string"==typeof e?l=r.download?new f(r):new d(r):!0===e.readable&&S(e.read)&&S(e.on)?l=new p(r):(n.File&&e instanceof File||e instanceof Object)&&(l=new h(r)),l.stream(e)},unparse:function(t,e){var n=!1,r=!0,i=",",o="\r\n",a='"',u=!1;"object"==typeof e&&("string"!=typeof e.delimiter||s.BAD_DELIMITERS.filter(function(t){return-1!==e.delimiter.indexOf(t)}).length||(i=e.delimiter),("boolean"==typeof e.quotes||Array.isArray(e.quotes))&&(n=e.quotes),"boolean"!=typeof e.skipEmptyLines&&"string"!=typeof e.skipEmptyLines||(u=e.skipEmptyLines),"string"==typeof e.newline&&(o=e.newline),"string"==typeof e.quoteChar&&(a=e.quoteChar),"boolean"==typeof e.header&&(r=e.header));var c=new RegExp(g(a),"g");if("string"==typeof t&&(t=JSON.parse(t)),Array.isArray(t)){if(!t.length||Array.isArray(t[0]))return f(null,t,u);if("object"==typeof t[0])return f(l(t[0]),t,u)}else if("object"==typeof t)return"string"==typeof t.data&&(t.data=JSON.parse(t.data)),Array.isArray(t.data)&&(t.fields||(t.fields=t.meta&&t.meta.fields),t.fields||(t.fields=Array.isArray(t.data[0])?t.fields:l(t.data[0])),Array.isArray(t.data[0])||"object"==typeof t.data[0]||(t.data=[t.data])),f(t.fields||[],t.data||[],u);throw"exception: Unable to serialize unrecognized input";function l(t){if("object"!=typeof t)return[];var e=[];for(var n in t)e.push(n);return e}function f(t,e,n){var a="";"string"==typeof t&&(t=JSON.parse(t)),"string"==typeof e&&(e=JSON.parse(e));var u=Array.isArray(t)&&0<t.length,s=!Array.isArray(e[0]);if(u&&r){for(var c=0;c<t.length;c++)0<c&&(a+=i),a+=h(t[c],c);0<e.length&&(a+=o)}for(var l=0;l<e.length;l++){var f=u?t.length:e[l].length,d=!1,p=u?0===Object.keys(e[l]).length:0===e[l].length;if(n&&!u&&(d="greedy"===n?""===e[l].join("").trim():1===e[l].length&&0===e[l][0].length),"greedy"===n&&u){for(var v=[],g=0;g<f;g++){var y=s?t[g]:g;v.push(e[l][y])}d=""===v.join("").trim()}if(!d){for(var m=0;m<f;m++){0<m&&!p&&(a+=i);var b=u&&s?t[m]:m;a+=h(e[l][b],m)}l<e.length-1&&(!n||0<f&&!p)&&(a+=o)}}return a}function h(t,e){if(null==t)return"";if(t.constructor===Date)return JSON.stringify(t).slice(1,25);t=t.toString().replace(c,a+a);var r="boolean"==typeof n&&n||Array.isArray(n)&&n[e]||function(t,e){for(var n=0;n<e.length;n++)if(-1<t.indexOf(e[n]))return!0;return!1}(t,s.BAD_DELIMITERS)||-1<t.indexOf(i)||" "===t.charAt(0)||" "===t.charAt(t.length-1);return r?a+t+a:t}}};if(s.RECORD_SEP=String.fromCharCode(30),s.UNIT_SEP=String.fromCharCode(31),s.BYTE_ORDER_MARK="\ufeff",s.BAD_DELIMITERS=["\r","\n",'"',s.BYTE_ORDER_MARK],s.WORKERS_SUPPORTED=!r&&!!n.Worker,s.SCRIPT_PATH=null,s.NODE_STREAM_INPUT=1,s.LocalChunkSize=10485760,s.RemoteChunkSize=5242880,s.DefaultDelimiter=",",s.Parser=y,s.ParserHandle=v,s.NetworkStreamer=f,s.FileStreamer=h,s.StringStreamer=d,s.ReadableStreamStreamer=p,n.jQuery){var c=n.jQuery;c.fn.parse=function(t){var e=t.config||{},r=[];return this.each(function(t){if("INPUT"!==c(this).prop("tagName").toUpperCase()||"file"!==c(this).attr("type").toLowerCase()||!n.FileReader||!this.files||0===this.files.length)return!0;for(var i=0;i<this.files.length;i++)r.push({file:this.files[i],inputElem:this,instanceConfig:c.extend({},e)})}),i(),this;function i(){if(0!==r.length){var e,n,i,a=r[0];if(S(t.before)){var u=t.before(a.file,a.inputElem);if("object"==typeof u){if("abort"===u.action)return e=a.file,n=a.inputElem,i=u.reason,void(S(t.error)&&t.error({name:"AbortError"},e,n,i));if("skip"===u.action)return void o();"object"==typeof u.config&&(a.instanceConfig=c.extend(a.instanceConfig,u.config))}else if("skip"===u)return void o()}var l=a.instanceConfig.complete;a.instanceConfig.complete=function(t){S(l)&&l(t,a.file,a.inputElem),o()},s.parse(a.file,a.instanceConfig)}else S(t.complete)&&t.complete()}function o(){r.splice(0,1),i()}}}function l(t){this._handle=null,this._finished=!1,this._completed=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(t){var e=w(t);e.chunkSize=parseInt(e.chunkSize),t.step||t.chunk||(e.chunkSize=null),this._handle=new v(e),(this._handle.streamer=this)._config=e}.call(this,t),this.parseChunk=function(t,e){if(this.isFirstChunk&&S(this._config.beforeFirstChunk)){var r=this._config.beforeFirstChunk(t);void 0!==r&&(t=r)}this.isFirstChunk=!1;var o=this._partialLine+t;this._partialLine="";var a=this._handle.parse(o,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var u=a.meta.cursor;this._finished||(this._partialLine=o.substring(u-this._baseIndex),this._baseIndex=u),a&&a.data&&(this._rowCount+=a.data.length);var c=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(i)n.postMessage({results:a,workerId:s.WORKER_ID,finished:c});else if(S(this._config.chunk)&&!e){if(this._config.chunk(a,this._handle),this._handle.paused()||this._handle.aborted())return;a=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(a.data),this._completeResults.errors=this._completeResults.errors.concat(a.errors),this._completeResults.meta=a.meta),this._completed||!c||!S(this._config.complete)||a&&a.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),c||a&&a.meta.paused||this._nextChunk(),a}},this._sendError=function(t){S(this._config.error)?this._config.error(t):i&&this._config.error&&n.postMessage({workerId:s.WORKER_ID,error:t,finished:!1})}}function f(t){var e;(t=t||{}).chunkSize||(t.chunkSize=s.RemoteChunkSize),l.call(this,t),this._nextChunk=r?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(t){this._input=t,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),r||(e.onload=_(this._chunkLoaded,this),e.onerror=_(this._chunkError,this)),e.open("GET",this._input,!r),this._config.downloadRequestHeaders){var t=this._config.downloadRequestHeaders;for(var n in t)e.setRequestHeader(n,t[n])}if(this._config.chunkSize){var i=this._start+this._config.chunkSize-1;e.setRequestHeader("Range","bytes="+this._start+"-"+i),e.setRequestHeader("If-None-Match","webkit-no-cache")}try{e.send()}catch(t){this._chunkError(t.message)}r&&0===e.status?this._chunkError():this._start+=this._config.chunkSize}},this._chunkLoaded=function(){var t;4===e.readyState&&(e.status<200||400<=e.status?this._chunkError():(this._finished=!this._config.chunkSize||this._start>(null===(t=e.getResponseHeader("Content-Range"))?-1:parseInt(t.substr(t.lastIndexOf("/")+1))),this.parseChunk(e.responseText)))},this._chunkError=function(t){var n=e.statusText||t;this._sendError(new Error(n))}}function h(t){var e,n;(t=t||{}).chunkSize||(t.chunkSize=s.LocalChunkSize),l.call(this,t);var r="undefined"!=typeof FileReader;this.stream=function(t){this._input=t,n=t.slice||t.webkitSlice||t.mozSlice,r?((e=new FileReader).onload=_(this._chunkLoaded,this),e.onerror=_(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var t=this._input;if(this._config.chunkSize){var i=Math.min(this._start+this._config.chunkSize,this._input.size);t=n.call(t,this._start,i)}var o=e.readAsText(t,this._config.encoding);r||this._chunkLoaded({target:{result:o}})},this._chunkLoaded=function(t){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(t.target.result)},this._chunkError=function(){this._sendError(e.error)}}function d(t){var e;l.call(this,t=t||{}),this.stream=function(t){return e=t,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var t=this._config.chunkSize,n=t?e.substr(0,t):e;return e=t?e.substr(t):"",this._finished=!e,this.parseChunk(n)}}}function p(t){l.call(this,t=t||{});var e=[],n=!0,r=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(t){this._input=t,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===e.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):n=!0},this._streamData=_(function(t){try{e.push("string"==typeof t?t:t.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(t){this._streamError(t)}},this),this._streamError=_(function(t){this._streamCleanUp(),this._sendError(t)},this),this._streamEnd=_(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=_(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function v(t){var e,n,r,i=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,o=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,a=this,u=0,c=0,l=!1,f=!1,h=[],d={data:[],errors:[],meta:{}};if(S(t.step)){var p=t.step;t.step=function(e){if(d=e,b())m();else{if(m(),0===d.data.length)return;u+=e.data.length,t.preview&&u>t.preview?n.abort():p(d,a)}}}function v(e){return"greedy"===t.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function m(){if(d&&r&&(_("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+s.DefaultDelimiter+"'"),r=!1),t.skipEmptyLines)for(var e=0;e<d.data.length;e++)v(d.data[e])&&d.data.splice(e--,1);return b()&&function(){if(d){for(var e=0;b()&&e<d.data.length;e++)for(var n=0;n<d.data[e].length;n++){var r=d.data[e][n];t.trimHeaders&&(r=r.trim()),h.push(r)}d.data.splice(0,1)}}(),function(){if(!d||!t.header&&!t.dynamicTyping&&!t.transform)return d;for(var e=0;e<d.data.length;e++){var n,r=t.header?{}:[];for(n=0;n<d.data[e].length;n++){var i=n,o=d.data[e][n];t.header&&(i=n>=h.length?"__parsed_extra":h[n]),t.transform&&(o=t.transform(o,i)),o=x(i,o),"__parsed_extra"===i?(r[i]=r[i]||[],r[i].push(o)):r[i]=o}d.data[e]=r,t.header&&(n>h.length?_("FieldMismatch","TooManyFields","Too many fields: expected "+h.length+" fields but parsed "+n,c+e):n<h.length&&_("FieldMismatch","TooFewFields","Too few fields: expected "+h.length+" fields but parsed "+n,c+e))}return t.header&&d.meta&&(d.meta.fields=h),c+=d.data.length,d}()}function b(){return t.header&&0===h.length}function x(e,n){return r=e,t.dynamicTypingFunction&&void 0===t.dynamicTyping[r]&&(t.dynamicTyping[r]=t.dynamicTypingFunction(r)),!0===(t.dynamicTyping[r]||t.dynamicTyping)?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&(i.test(n)?parseFloat(n):o.test(n)?new Date(n):""===n?null:n):n;var r}function _(t,e,n,r){d.errors.push({type:t,code:e,message:n,row:r})}this.parse=function(i,o,a){var u=t.quoteChar||'"';if(t.newline||(t.newline=function(t,e){t=t.substr(0,1048576);var n=new RegExp(g(e)+"([^]*?)"+g(e),"gm"),r=(t=t.replace(n,"")).split("\r"),i=t.split("\n"),o=1<i.length&&i[0].length<r[0].length;if(1===r.length||o)return"\n";for(var a=0,u=0;u<r.length;u++)"\n"===r[u][0]&&a++;return a>=r.length/2?"\r\n":"\r"}(i,u)),r=!1,t.delimiter)S(t.delimiter)&&(t.delimiter=t.delimiter(i),d.meta.delimiter=t.delimiter);else{var c=function(e,n,r,i){for(var o,a,u,c=[",","\t","|",";",s.RECORD_SEP,s.UNIT_SEP],l=0;l<c.length;l++){var f=c[l],h=0,d=0,p=0;u=void 0;for(var g=new y({comments:i,delimiter:f,newline:n,preview:10}).parse(e),m=0;m<g.data.length;m++)if(r&&v(g.data[m]))p++;else{var b=g.data[m].length;d+=b,void 0!==u?1<b&&(h+=Math.abs(b-u),u=b):u=0}0<g.data.length&&(d/=g.data.length-p),(void 0===a||a<h)&&1.99<d&&(a=h,o=f)}return{successful:!!(t.delimiter=o),bestDelimiter:o}}(i,t.newline,t.skipEmptyLines,t.comments);c.successful?t.delimiter=c.bestDelimiter:(r=!0,t.delimiter=s.DefaultDelimiter),d.meta.delimiter=t.delimiter}var f=w(t);return t.preview&&t.header&&f.preview++,e=i,n=new y(f),d=n.parse(e,o,a),m(),l?{meta:{paused:!0}}:d||{meta:{paused:!1}}},this.paused=function(){return l},this.pause=function(){l=!0,n.abort(),e=e.substr(n.getCharIndex())},this.resume=function(){l=!1,a.streamer.parseChunk(e,!0)},this.aborted=function(){return f},this.abort=function(){f=!0,n.abort(),d.meta.aborted=!0,S(t.complete)&&t.complete(d),e=""}}function g(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function y(t){var e,n=(t=t||{}).delimiter,r=t.newline,i=t.comments,o=t.step,a=t.preview,u=t.fastMode,c=e=void 0===t.quoteChar?'"':t.quoteChar;if(void 0!==t.escapeChar&&(c=t.escapeChar),("string"!=typeof n||-1<s.BAD_DELIMITERS.indexOf(n))&&(n=","),i===n)throw"Comment character same as delimiter";!0===i?i="#":("string"!=typeof i||-1<s.BAD_DELIMITERS.indexOf(i))&&(i=!1),"\n"!==r&&"\r"!==r&&"\r\n"!==r&&(r="\n");var l=0,f=!1;this.parse=function(t,s,h){if("string"!=typeof t)throw"Input must be a string";var d=t.length,p=n.length,v=r.length,y=i.length,m=S(o),b=[],x=[],w=[],_=l=0;if(!t)return F();if(u||!1!==u&&-1===t.indexOf(e)){for(var k=t.split(r),E=0;E<k.length;E++){if(w=k[E],l+=w.length,E!==k.length-1)l+=r.length;else if(h)return F();if(!i||w.substr(0,y)!==i){if(m){if(b=[],j(w.split(n)),R(),f)return F()}else j(w.split(n));if(a&&a<=E)return b=b.slice(0,a),F(!0)}}return F()}for(var O,C=t.indexOf(n,l),A=t.indexOf(r,l),T=new RegExp(g(c)+g(e),"g");;)if(t[l]!==e)if(i&&0===w.length&&t.substr(l,y)===i){if(-1===A)return F();l=A+v,A=t.indexOf(r,l),C=t.indexOf(n,l)}else if(-1!==C&&(C<A||-1===A))w.push(t.substring(l,C)),l=C+p,C=t.indexOf(n,l);else{if(-1===A)break;if(w.push(t.substring(l,A)),N(A+v),m&&(R(),f))return F();if(a&&b.length>=a)return F(!0)}else for(O=l,l++;;){if(-1===(O=t.indexOf(e,O+1)))return h||x.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:b.length,index:l}),I();if(O===d-1)return I(t.substring(l,O).replace(T,e));if(e!==c||t[O+1]!==c){if(e===c||0===O||t[O-1]!==c){var M=D(-1===A?C:Math.min(C,A));if(t[O+1+M]===n){w.push(t.substring(l,O).replace(T,e)),l=O+1+M+p,C=t.indexOf(n,l),A=t.indexOf(r,l);break}var P=D(A);if(t.substr(O+1+P,v)===r){if(w.push(t.substring(l,O).replace(T,e)),N(O+1+P+v),C=t.indexOf(n,l),m&&(R(),f))return F();if(a&&b.length>=a)return F(!0);break}x.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:b.length,index:l}),O++}}else O++}return I();function j(t){b.push(t),_=l}function D(e){var n=0;if(-1!==e){var r=t.substring(O+1,e);r&&""===r.trim()&&(n=r.length)}return n}function I(e){return h||(void 0===e&&(e=t.substr(l)),w.push(e),l=d,j(w),m&&R()),F()}function N(e){l=e,j(w),w=[],A=t.indexOf(r,l)}function F(t){return{data:b,errors:x,meta:{delimiter:n,linebreak:r,aborted:f,truncated:!!t,cursor:_+(s||0)}}}function R(){o(F()),b=[],x=[]}},this.abort=function(){f=!0},this.getCharIndex=function(){return l}}function m(t){var e=t.data,n=a[e.workerId],r=!1;if(e.error)n.userError(e.error,e.file);else if(e.results&&e.results.data){var i={abort:function(){r=!0,b(e.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:x,resume:x};if(S(n.userStep)){for(var o=0;o<e.results.data.length&&(n.userStep({data:[e.results.data[o]],errors:e.results.errors,meta:e.results.meta},i),!r);o++);delete e.results}else S(n.userChunk)&&(n.userChunk(e.results,i,e.file),delete e.results)}e.finished&&!r&&b(e.workerId,e.results)}function b(t,e){var n=a[t];S(n.userComplete)&&n.userComplete(e),n.terminate(),delete a[t]}function x(){throw"Not implemented."}function w(t){if("object"!=typeof t||null===t)return t;var e=Array.isArray(t)?[]:{};for(var n in t)e[n]=w(t[n]);return e}function _(t,e){return function(){t.apply(e,arguments)}}function S(t){return"function"==typeof t}return i?n.onmessage=function(t){var e=t.data;if(void 0===s.WORKER_ID&&e&&(s.WORKER_ID=e.workerId),"string"==typeof e.input)n.postMessage({workerId:s.WORKER_ID,results:s.parse(e.input,e.config),finished:!0});else if(n.File&&e.input instanceof File||e.input instanceof Object){var r=s.parse(e.input,e.config);r&&n.postMessage({workerId:s.WORKER_ID,results:r,finished:!0})}}:s.WORKERS_SUPPORTED&&(e=document.getElementsByTagName("script"),t=e.length?e[e.length-1].src:"",document.body?document.addEventListener("DOMContentLoaded",function(){o=!0},!0):o=!0),(f.prototype=Object.create(l.prototype)).constructor=f,(h.prototype=Object.create(l.prototype)).constructor=h,(d.prototype=Object.create(d.prototype)).constructor=d,(p.prototype=Object.create(l.prototype)).constructor=p,s})?r.apply(e,i):r)||(t.exports=o)},Nq3d:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Checkboard=void 0;var r=a(n("q1tI")),i=a(n("/FUP")),o=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n("Lwbf"));function a(t){return t&&t.__esModule?t:{default:t}}var u=e.Checkboard=function(t){var e=t.white,n=t.grey,a=t.size,u=t.renderers,s=t.borderRadius,c=t.boxShadow,l=(0,i.default)({default:{grid:{borderRadius:s,boxShadow:c,absolute:"0px 0px 0px 0px",background:"url("+o.get(e,n,a,u.canvas)+") center left"}}});return r.default.createElement("div",{style:l.grid})};u.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},e.default=u},Nr18:function(t,e,n){"use strict";var r=n("S/j/"),i=n("d/Gc"),o=n("ne8i");t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,u=i(a>1?arguments[1]:void 0,n),s=a>2?arguments[2]:void 0,c=void 0===s?n:i(s,n);c>u;)e[u++]=t;return e}},"NsO/":function(t,e,n){var r=n("M1xp"),i=n("Jes0");t.exports=function(t){return r(i(t))}},NtLt:function(t,e,n){var r=n("3IO0");t.exports=function(t){return r(t).replace(/[\W_]+(.|$)/g,function(t,e){return e?" "+e:""}).trim()}},NykK:function(t,e,n){var r=n("nmnc"),i=n("AP2z"),o=n("KfNM"),a="[object Null]",u="[object Undefined]",s=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:a:s&&s in Object(t)?i(t):o(t)}},Nz9U:function(t,e,n){"use strict";var r=n("XKFU"),i=n("aCFj"),o=[].join;r(r.P+r.F*(n("Ymqv")!=Object||!n("LyE8")(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},O0oS:function(t,e,n){var r=n("Cwc5"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=i},O7RO:function(t,e,n){var r=n("CMye"),i=n("7GkX");t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},OBhP:function(t,e,n){var r=n("fmRc"),i=n("gFfm"),o=n("MrPd"),a=n("WwFo"),u=n("Dw+G"),s=n("5Tg0"),c=n("Q1l4"),l=n("VOtZ"),f=n("EEGq"),h=n("qZTm"),d=n("G6z8"),p=n("QqLw"),v=n("yHx3"),g=n("wrZu"),y=n("+iFO"),m=n("Z0cm"),b=n("DSRE"),x=n("zEVN"),w=n("GoyQ"),_=n("1+5i"),S=n("7GkX"),k=1,E=2,O=4,C="[object Arguments]",A="[object Function]",T="[object GeneratorFunction]",M="[object Object]",P={};P[C]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[M]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[A]=P["[object WeakMap]"]=!1,t.exports=function t(e,n,j,D,I,N){var F,R=n&k,L=n&E,B=n&O;if(j&&(F=I?j(e,D,I,N):j(e)),void 0!==F)return F;if(!w(e))return e;var z=m(e);if(z){if(F=v(e),!R)return c(e,F)}else{var V=p(e),U=V==A||V==T;if(b(e))return s(e,R);if(V==M||V==C||U&&!I){if(F=L||U?{}:y(e),!R)return L?f(e,u(F,e)):l(e,a(F,e))}else{if(!P[V])return I?e:{};F=g(e,V,R)}}N||(N=new r);var H=N.get(e);if(H)return H;N.set(e,F),_(e)?e.forEach(function(r){F.add(t(r,n,j,r,e,N))}):x(e)&&e.forEach(function(r,i){F.set(i,t(r,n,j,i,e,N))});var W=B?L?d:h:L?keysIn:S,q=z?void 0:W(e);return i(q||e,function(r,i){q&&(r=e[i=r]),o(F,i,t(r,n,j,i,e,N))}),F}},OEbY:function(t,e,n){n("nh4g")&&"g"!=/./g.flags&&n("hswa").f(RegExp.prototype,"flags",{configurable:!0,get:n("C/va")})},OG14:function(t,e,n){"use strict";var r=n("y3w9"),i=n("g6HL"),o=n("Xxuz");n("IU+Z")("search",1,function(t,e,n,a){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var u=r(t),s=String(this),c=u.lastIndex;i(c,0)||(u.lastIndex=0);var l=o(u,s);return i(u.lastIndex,c)||(u.lastIndex=c),null===l?-1:l.index}]})},OGtf:function(t,e,n){var r=n("XKFU"),i=n("eeVq"),o=n("vhPU"),a=/"/g,u=function(t,e,n,r){var i=String(o(t)),u="<"+e;return""!==n&&(u+=" "+n+'="'+String(r).replace(a,""")+'"'),u+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(u),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},OP3Y:function(t,e,n){var r=n("aagx"),i=n("S/j/"),o=n("YTvA")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},OYk8:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SliderSwatches=void 0;var r=a(n("q1tI")),i=a(n("/FUP")),o=a(n("PGcv"));function a(t){return t&&t.__esModule?t:{default:t}}var u=e.SliderSwatches=function(t){var e=t.onClick,n=t.hsl,a=(0,i.default)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}});return r.default.createElement("div",{style:a.swatches},r.default.createElement("div",{style:a.swatch},r.default.createElement(o.default,{hsl:n,offset:".80",active:Math.round(100*n.l)/100==.8&&Math.round(100*n.s)/100==.5,onClick:e,first:!0})),r.default.createElement("div",{style:a.swatch},r.default.createElement(o.default,{hsl:n,offset:".65",active:Math.round(100*n.l)/100==.65&&Math.round(100*n.s)/100==.5,onClick:e})),r.default.createElement("div",{style:a.swatch},r.default.createElement(o.default,{hsl:n,offset:".50",active:Math.round(100*n.l)/100==.5&&Math.round(100*n.s)/100==.5,onClick:e})),r.default.createElement("div",{style:a.swatch},r.default.createElement(o.default,{hsl:n,offset:".35",active:Math.round(100*n.l)/100==.35&&Math.round(100*n.s)/100==.5,onClick:e})),r.default.createElement("div",{style:a.swatch},r.default.createElement(o.default,{hsl:n,offset:".20",active:Math.round(100*n.l)/100==.2&&Math.round(100*n.s)/100==.5,onClick:e,last:!0})),r.default.createElement("div",{style:a.clear}))};e.default=u},"Of+w":function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"WeakMap");t.exports=r},Ojgd:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},Ojt5:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Raised=void 0;var r=u(n("q1tI")),i=u(n("17x9")),o=u(n("/FUP")),a=u(n("QkVN"));function u(t){return t&&t.__esModule?t:{default:t}}var s=e.Raised=function(t){var e=t.zDepth,n=t.radius,i=t.background,u=t.children,s=t.styles,c=void 0===s?{}:s,l=(0,o.default)((0,a.default)({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+e+"px "+4*e+"px rgba(0,0,0,.24)",borderRadius:n,background:i}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},c),{"zDepth-1":1===e});return r.default.createElement("div",{style:l.wrap},r.default.createElement("div",{style:l.bg}),r.default.createElement("div",{style:l.content},u))};s.propTypes={background:i.default.string,zDepth:i.default.oneOf([0,1,2,3,4,5]),radius:i.default.number,styles:i.default.object},s.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}},e.default=s},OnI7:function(t,e,n){var r=n("dyZX"),i=n("g3g5"),o=n("LQAc"),a=n("N8g3"),u=n("hswa").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},OxZn:function(t,e,n){var r=n("GrKN").FilterCSS,i=n("vaBj"),o=n("UOFQ"),a=o.parseTag,u=o.parseAttr,s=n("63Hc");function c(t){return null==t}function l(t){(t=function(t){var e={};for(var n in t)e[n]=t[n];return e}(t||{})).stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=i.onIgnoreTagStripAll),t.whiteList=t.whiteList||i.whiteList,t.onTag=t.onTag||i.onTag,t.onTagAttr=t.onTagAttr||i.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||i.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||i.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||i.safeAttrValue,t.escapeHtml=t.escapeHtml||i.escapeHtml,this.options=t,!1===t.css?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new r(t.css))}l.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,n=e.whiteList,r=e.onTag,o=e.onIgnoreTag,l=e.onTagAttr,f=e.onIgnoreTagAttr,h=e.safeAttrValue,d=e.escapeHtml,p=this.cssFilter;e.stripBlankChar&&(t=i.stripBlankChar(t)),e.allowCommentTag||(t=i.stripCommentTag(t));var v=!1;if(e.stripIgnoreTagBody){v=i.StripTagBody(e.stripIgnoreTagBody,o);o=v.onIgnoreTag}var g=a(t,function(t,e,i,a,v){var g,y={sourcePosition:t,position:e,isClosing:v,isWhite:n.hasOwnProperty(i)};if(!c(g=r(i,a,y)))return g;if(y.isWhite){if(y.isClosing)return"</"+i+">";var m=function(t){var e=s.spaceIndex(t);if(-1===e)return{html:"",closing:"/"===t[t.length-2]};var n="/"===(t=s.trim(t.slice(e+1,-1)))[t.length-1];return n&&(t=s.trim(t.slice(0,-1))),{html:t,closing:n}}(a),b=n[i],x=u(m.html,function(t,e){var n,r=-1!==s.indexOf(b,t);return c(n=l(i,t,e,r))?r?(e=h(i,t,e,p))?t+'="'+e+'"':t:c(n=f(i,t,e,r))?void 0:n:n});a="<"+i;return x&&(a+=" "+x),m.closing&&(a+=" /"),a+=">"}return c(g=o(i,a,y))?d(a):g},d);return v&&(g=v.remove(g)),g},t.exports=l},Oyvg:function(t,e,n){var r=n("dyZX"),i=n("Xbzi"),o=n("hswa").f,a=n("kJMx").f,u=n("quPj"),s=n("C/va"),c=r.RegExp,l=c,f=c.prototype,h=/a/g,d=/a/g,p=new c(h)!==h;if(n("nh4g")&&(!p||n("eeVq")(function(){return d[n("K0xU")("match")]=!1,c(h)!=h||c(d)==d||"/a/i"!=c(h,"i")}))){c=function(t,e){var n=this instanceof c,r=u(t),o=void 0===e;return!n&&r&&t.constructor===c&&o?t:i(p?new l(r&&!o?t.source:t,e):l((r=t instanceof c)?t.source:t,r&&o?s.call(t):e),n?this:f,c)};for(var v=function(t){t in c||o(c,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},g=a(l),y=0;g.length>y;)v(g[y++]);f.constructor=c,c.prototype=f,n("KroJ")(r,"RegExp",c)}n("elZq")("RegExp")},"P/G1":function(t,e,n){var r=n("JmpY"),i=n("7GkX");t.exports=function(t){return null==t?[]:r(t,i(t))}},P2sY:function(t,e,n){t.exports={default:n("UbbE"),__esModule:!0}},P7XM:function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},P8nk:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.placeholderCSS=void 0;var r,i=(r=n("q1tI"))&&r.__esModule?r:{default:r},o=n("PAeb");function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}e.placeholderCSS=function(t){var e=t.theme,n=e.spacing;return{color:e.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}};var u=function(t){var e=t.children,n=t.className,r=t.cx,u=t.getStyles,s=t.innerProps;return i.default.createElement("div",a({className:r((0,o.css)(u("placeholder",t)),{placeholder:!0},n)},s),e)};e.default=u},PAGr:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;a(n("17x9"));var r=a(n("q1tI")),i=n("i8i4"),o=a(n("UnXY"));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(t){var e,n;function a(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).handleEnter=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEnter",0,n)},e.handleEntering=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntering",0,n)},e.handleEntered=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onEntered",0,n)},e.handleExit=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExit",1,n)},e.handleExiting=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExiting",1,n)},e.handleExited=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.handleLifecycle("onExited",1,n)},e}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=a.prototype;return u.handleLifecycle=function(t,e,n){var o,a=this.props.children,u=r.default.Children.toArray(a)[e];u.props[t]&&(o=u.props)[t].apply(o,n),this.props[t]&&this.props[t]((0,i.findDOMNode)(this))},u.render=function(){var t=this.props,e=t.children,n=t.in,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,["children","in"]),a=r.default.Children.toArray(e),u=a[0],s=a[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,r.default.createElement(o.default,i,n?r.default.cloneElement(u,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);u.propTypes={};var s=u;e.default=s,t.exports=e.default},PAeb:function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"flush",function(){return a}),n.d(e,"hydrate",function(){return u}),n.d(e,"cx",function(){return s}),n.d(e,"merge",function(){return c}),n.d(e,"getRegisteredStyles",function(){return l}),n.d(e,"injectGlobal",function(){return f}),n.d(e,"keyframes",function(){return h}),n.d(e,"css",function(){return d}),n.d(e,"sheet",function(){return p}),n.d(e,"caches",function(){return v});var r=n("oj4i"),i=void 0!==t?t:{},o=Object(r.a)(i),a=o.flush,u=o.hydrate,s=o.cx,c=o.merge,l=o.getRegisteredStyles,f=o.injectGlobal,h=o.keyframes,d=o.css,p=o.sheet,v=o.caches}.call(this,n("yLpj"))},PDX0:function(t,e){(function(e){t.exports=e}).call(this,{})},PFWz:function(t,e,n){try{var r=n("zs13")}catch(t){r=n("zs13")}var i=/\s+/,o=Object.prototype.toString;function a(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}t.exports=function(t){return new a(t)},a.prototype.add=function(t){if(this.list)return this.list.add(t),this;var e=this.array();return~r(e,t)||e.push(t),this.el.className=e.join(" "),this},a.prototype.remove=function(t){if("[object RegExp]"==o.call(t))return this.removeMatching(t);if(this.list)return this.list.remove(t),this;var e=this.array(),n=r(e,t);return~n&&e.splice(n,1),this.el.className=e.join(" "),this},a.prototype.removeMatching=function(t){for(var e=this.array(),n=0;n<e.length;n++)t.test(e[n])&&this.remove(e[n]);return this},a.prototype.toggle=function(t,e){return this.list?(void 0!==e?e!==this.list.toggle(t,e)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==e?e?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},a.prototype.array=function(){var t=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(i);return""===t[0]&&t.shift(),t},a.prototype.has=a.prototype.contains=function(t){return this.list?this.list.contains(t):!!~r(this.array(),t)}},PGcv:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SliderSwatch=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.SliderSwatch=function(t){var e=t.hsl,n=t.offset,o=t.onClick,a=void 0===o?function(){}:o,u=t.active,s=t.first,c=t.last,l=(0,i.default)({default:{swatch:{height:"12px",background:"hsl("+e.h+", 50%, "+100*n+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:u,first:s,last:c});return r.default.createElement("div",{style:l.swatch,onClick:function(t){return a({h:e.h,s:.5,l:n,source:"hsl"},t)}})};e.default=a},PIAm:function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n("q1tI"),i=n.n(r),o=n("i8i4"),a=n.n(o),u=n("17x9"),s=n.n(u);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var p=function(t){function e(){var t,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return(n=f(this,(t=h(e)).call.apply(t,[this].concat(i)))).removeContainer=function(){n.container&&(a.a.unmountComponentAtNode(n.container),n.container.parentNode.removeChild(n.container),n.container=null)},n.renderComponent=function(t,e){var r=n.props,i=r.visible,o=r.getComponent,u=r.forceRender,s=r.getContainer,c=r.parent;(i||c._component||u)&&(n.container||(n.container=s()),a.a.unstable_renderSubtreeIntoContainer(c,o(t),n.container,function(){e&&e.call(this)}))},n}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,i.a.Component),n=e,(r=[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}])&&l(n.prototype,r),o&&l(n,o),e}();p.propTypes={autoMount:s.a.bool,autoDestroy:s.a.bool,visible:s.a.bool,forceRender:s.a.bool,parent:s.a.any,getComponent:s.a.func.isRequired,getContainer:s.a.func.isRequired,children:s.a.func.isRequired},p.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1}},PJYZ:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},PKUr:function(t,e,n){var r=n("dyZX").parseInt,i=n("qncB").trim,o=n("/e88"),a=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},PU8L:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("6blF");function i(t){var e=new r.a(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}},Po9p:function(t,e){},Puqe:function(t,e,n){var r=n("eUgh"),i=n("OBhP"),o=n("S7Xf"),a=n("4uTw"),u=n("juv8"),s=n("4Oe1"),c=n("xs/l"),l=n("G6z8"),f=c(function(t,e){var n={};if(null==t)return n;var c=!1;e=r(e,function(e){return e=a(e,t),c||(c=e.length>1),e}),u(t,l(t),n),c&&(n=i(n,7,s));for(var f=e.length;f--;)o(n,e[f]);return n});t.exports=f},Pzom:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Slider=void 0;var r=l(n("q1tI")),i=l(n("17x9")),o=l(n("/FUP")),a=l(n("QkVN")),u=n("TM95"),s=l(n("OYk8")),c=l(n("dATH"));function l(t){return t&&t.__esModule?t:{default:t}}var f=e.Slider=function(t){var e=t.hsl,n=t.onChange,i=t.pointer,c=t.styles,l=void 0===c?{}:c,f=t.className,h=void 0===f?"":f,d=(0,o.default)((0,a.default)({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},l));return r.default.createElement("div",{style:d.wrap||"",className:"slider-picker "+h},r.default.createElement("div",{style:d.hue},r.default.createElement(u.Hue,{style:d.Hue,hsl:e,pointer:i,onChange:n})),r.default.createElement("div",{style:d.swatches},r.default.createElement(s.default,{hsl:e,onClick:n})))};f.propTypes={styles:i.default.object},f.defaultProps={pointer:c.default,styles:{}},e.default=(0,u.ColorWrap)(f)},Q1l4:function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},"QC+M":function(t,e,n){"use strict";n.d(e,"a",function(){return p});var r=n("q1tI"),i=n.n(r),o=n("i8i4"),a=n.n(o),u=n("17x9"),s=n.n(u);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var p=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,h(e).apply(this,arguments))}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(e,i.a.Component),n=e,(r=[{key:"componentDidMount",value:function(){this.createContainer()}},{key:"componentDidUpdate",value:function(t){var e=this.props.didUpdate;e&&e(t)}},{key:"componentWillUnmount",value:function(){this.removeContainer()}},{key:"createContainer",value:function(){this._container=this.props.getContainer(),this.forceUpdate()}},{key:"removeContainer",value:function(){this._container&&this._container.parentNode.removeChild(this._container)}},{key:"render",value:function(){return this._container?a.a.createPortal(this.props.children,this._container):null}}])&&l(n.prototype,r),o&&l(n,o),e}();p.propTypes={getContainer:s.a.func.isRequired,children:s.a.node.isRequired,didUpdate:s.a.func}},QCnb:function(t,e,n){"use strict";t.exports=n("+wdc")},QDlc:function(t,e,n){"use strict";function r(){return!1}function i(){return!0}function o(){this.timeStamp=Date.now(),this.target=void 0,this.currentTarget=void 0}Object.defineProperty(e,"__esModule",{value:!0}),o.prototype={isEventObject:1,constructor:o,isDefaultPrevented:r,isPropagationStopped:r,isImmediatePropagationStopped:r,preventDefault:function(){this.isDefaultPrevented=i},stopPropagation:function(){this.isPropagationStopped=i},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i,this.stopPropagation()},halt:function(t){t?this.stopImmediatePropagation():this.stopPropagation(),this.preventDefault()}},e.default=o,t.exports=e.default},QIyF:function(t,e,n){var r=n("Kz5y");t.exports=function(){return r.Date.now()}},QLaP:function(t,e,n){"use strict";t.exports=function(t,e,n,r,i,o,a,u){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,u],l=0;(s=new Error(e.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},QNwp:function(t,e,n){n("7VC1"),t.exports=n("g3g5").String.padEnd},QaDb:function(t,e,n){"use strict";var r=n("Kuth"),i=n("RjD/"),o=n("fyDq"),a={};n("Mukb")(a,n("K0xU")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},QbLZ:function(t,e,n){"use strict";e.__esModule=!0;var r,i=n("P2sY"),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},QbqK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),i=v(n("17x9")),o=n("VCL8"),a=v(n("M/b5")),u=v(n("8wro")),s=v(n("qqsd")),c=v(n("JHXx")),l=v(n("DUd0")),f=v(n("575g")),h=n("ragC"),d=n("4UG0"),p=n("H++x");function v(t){return t&&t.__esModule?t:{default:t}}function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function y(){return(y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function x(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function S(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var k=["century","decade","year","month"],E=[].concat(S(k.slice(1)),["day"]),O=function(t,e){return t&&!e||!t&&e||t&&e&&t.getTime()!==e.getTime()},C=function(t,e){return k.slice(k.indexOf(t),k.indexOf(e)+1)},A=function(t,e,n){return-1!==C(e,n).indexOf(t)},T=function(t,e,n){return A(t,e,n)?t:C(e,n).pop()},M=function(t){return E[k.indexOf(t)]},P=function(t){if(!t)return null;var e=t instanceof Array&&2===t.length?t[0]:t;if(!e)return null;var n=new Date(e);if(isNaN(n.getTime()))throw new Error("Invalid date: ".concat(t));return n},j=function(t,e,n,r){var i=P(t);if(!i)return null;var o=(0,h.getBegin)(M(r),i);return(0,p.between)(o,e,n)},D=function(t){if(!t)return null;var e=t instanceof Array&&2===t.length?t[1]:t;if(!e)return null;var n=new Date(e);if(isNaN(n.getTime()))throw new Error("Invalid date: ".concat(t));return n},I=function(t,e,n,r){var i=D(t);if(!i)return null;var o=(0,h.getEnd)(M(r),i);return(0,p.between)(o,e,n)},N=function(t,e,n,r){return t instanceof Array?t:[j(t,e,n,r),I(t,e,n,r)]},F=function(t){function e(){var t,n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return r=this,i=(t=b(e)).call.apply(t,[this].concat(a)),n=!i||"object"!==g(i)&&"function"!=typeof i?x(r):i,_(x(n),"state",{}),_(x(n),"setActiveStartDate",function(t){var e=n.props.onActiveDateChange;n.setState({activeStartDate:t},function(){var r=n.state.view;(0,p.callIfDefined)(e,{activeStartDate:t,view:r})})}),_(x(n),"drillDown",function(t){if(n.drillDownAvailable){var e=n.props,r=e.maxDetail,i=e.minDetail,o=e.onDrillDown,a=C(i,r);n.setState(function(e){var n=a[a.indexOf(e.view)+1];return{activeStartDate:t,view:n}},function(){var e=n.state.view;(0,p.callIfDefined)(o,{activeStartDate:t,view:e})})}}),_(x(n),"drillUp",function(){if(n.drillUpAvailable){var t=n.props,e=t.maxDetail,r=t.minDetail,i=t.onDrillUp,o=C(r,e);n.setState(function(t){var e=o[o.indexOf(t.view)-1];return{activeStartDate:(0,h.getBegin)(e,t.activeStartDate),view:e}},function(){var t=n.state,e=t.activeStartDate,r=t.view;(0,p.callIfDefined)(i,{activeStartDate:e,view:r})})}}),_(x(n),"onChange",function(t){var e,r,i=n.props,o=i.onChange;if(i.selectRange){var a=n.state.value;a&&1===[].concat(a).length?(e=(0,h.getValueRange)(n.valueType,a,t),r=function(){return(0,p.callIfDefined)(o,e)}):e=(0,h.getBegin)(n.valueType,t)}else e=n.getProcessedValue(t),r=function(){return(0,p.callIfDefined)(o,e)};n.setState({value:e},r)}),_(x(n),"onMouseOver",function(t){n.setState(function(e){return e.hover&&e.hover.getTime()===t.getTime()?null:{hover:t}})}),_(x(n),"onMouseLeave",function(){n.setState({hover:null})}),n}var n,i,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(e,r.Component),n=e,o=[{key:"getDerivedStateFromProps",value:function(t,e){t.minDate,t.maxDate;var n=t.minDetail,r=t.maxDetail,i={},o=function(t){var e=t.activeStartDate,n=t.maxDate,r=t.maxDetail,i=t.minDate,o=t.minDetail,a=t.value,u=t.view,s=T(u,o,r),c=j(a,i,n,r)||e||new Date;return(0,h.getBegin)(s,c)}(t);O(o,e.activeStartDateProps)&&(i.activeStartDate=o,i.activeStartDateProps=o);var a=T(t.view,n,r);a===e.viewProps||A(e.view,n,r)||(i.view=a,i.viewProps=a);var u=[t.value,e.valueProps];return(i.view||O.apply(void 0,S(u.map(function(t){return P(t)})))||O.apply(void 0,S(u.map(function(t){return D(t)}))))&&(i.value=t.value,i.valueProps=t.value),!t.selectRange&&e.hover&&(i.hover=null),i}}],(i=[{key:"getProcessedValue",value:function(t){var e=this.props,n=e.minDate,r=e.maxDate,i=e.maxDetail,o=e.returnValue;return function(){switch(o){case"start":return j;case"end":return I;case"range":return N;default:throw new Error("Invalid returnValue.")}}()(t,n,r,i)}},{key:"renderContent",value:function(){var t=this.props,e=t.calendarType,n=t.locale,i=t.maxDate,o=t.minDate,a=t.renderChildren,u=t.selectRange,h=t.tileClassName,d=t.tileContent,v=t.tileDisabled,g=this.state,m=g.activeStartDate,b=g.hover,x=g.value,w=g.view,_=this.onMouseOver,S={activeStartDate:m,hover:b,locale:n,maxDate:i,minDate:o,onMouseOver:u?_:null,tileClassName:h,tileContent:d||a,tileDisabled:v,value:x,valueType:this.valueType},k=this.drillDownAvailable?this.drillDown:this.onChange;switch(w){case"century":var E=this.props.onClickDecade;return r.default.createElement(s.default,y({onClick:(0,p.mergeFunctions)(k,E)},S));case"decade":var O=this.props.onClickYear;return r.default.createElement(c.default,y({onClick:(0,p.mergeFunctions)(k,O)},S));case"year":var C=this.props,A=C.formatMonth,T=C.onClickMonth;return r.default.createElement(l.default,y({formatMonth:A,onClick:(0,p.mergeFunctions)(k,T)},S));case"month":var M=this.props,P=M.formatShortWeekday,j=M.onClickDay,D=M.onClickWeekNumber,I=M.showFixedNumberOfWeeks,N=M.showNeighboringMonth,F=M.showWeekNumbers,R=this.onMouseLeave;return r.default.createElement(f.default,y({calendarType:e,formatShortWeekday:P,onClick:(0,p.mergeFunctions)(k,j),onClickWeekNumber:D,onMouseLeave:R,showFixedNumberOfWeeks:I,showNeighboringMonth:N,showWeekNumbers:F},S));default:throw new Error("Invalid view: ".concat(w,"."))}}},{key:"renderNavigation",value:function(){if(!this.props.showNavigation)return null;var t=this.props,e=t.formatMonthYear,n=t.locale,i=t.maxDate,o=t.maxDetail,a=t.minDate,s=t.minDetail,c=t.navigationAriaLabel,l=t.navigationLabel,f=t.next2AriaLabel,h=t.next2Label,d=t.nextAriaLabel,p=t.nextLabel,v=t.prev2AriaLabel,g=t.prev2Label,y=t.prevAriaLabel,m=t.prevLabel,b=this.state,x=b.activeStartDate,w=b.view;return r.default.createElement(u.default,{activeStartDate:x,drillUp:this.drillUp,formatMonthYear:e,locale:n,maxDate:i,minDate:a,navigationAriaLabel:c,navigationLabel:l,next2AriaLabel:f,next2Label:h,nextAriaLabel:d,nextLabel:p,prev2AriaLabel:v,prev2Label:g,prevAriaLabel:y,prevLabel:m,setActiveStartDate:this.setActiveStartDate,view:w,views:C(s,o)})}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.selectRange,i=this.state.value,o=this.onMouseLeave,u=[].concat(i);return r.default.createElement("div",{className:(0,a.default)("react-calendar",n&&1===u.length&&"".concat("react-calendar","--selectRange"),e)},this.renderNavigation(),r.default.createElement("div",{className:"".concat("react-calendar","__viewContainer"),onBlur:n?o:null,onMouseLeave:n?o:null},this.renderContent()))}},{key:"drillDownAvailable",get:function(){var t=this.props,e=t.maxDetail,n=t.minDetail,r=this.state.view,i=C(n,e);return i.indexOf(r)<i.length-1}},{key:"drillUpAvailable",get:function(){var t=this.props,e=t.maxDetail,n=t.minDetail,r=this.state.view;return C(n,e).indexOf(r)>0}},{key:"valueType",get:function(){var t=this.props.maxDetail;return M(t)}}])&&m(n.prototype,i),o&&m(n,o),e}();e.default=F,F.defaultProps={maxDetail:"month",minDetail:"century",returnValue:"start",showNavigation:!0,showNeighboringMonth:!0,view:"month"},F.propTypes={activeStartDate:i.default.instanceOf(Date),calendarType:d.isCalendarType,className:d.isClassName,formatMonth:i.default.func,formatMonthYear:i.default.func,formatShortWeekday:i.default.func,locale:i.default.string,maxDate:d.isMaxDate,maxDetail:i.default.oneOf(k),minDate:d.isMinDate,minDetail:i.default.oneOf(k),navigationAriaLabel:i.default.string,navigationLabel:i.default.func,next2AriaLabel:i.default.string,next2Label:i.default.node,nextAriaLabel:i.default.string,nextLabel:i.default.node,onActiveDateChange:i.default.func,onChange:i.default.func,onClickDay:i.default.func,onClickDecade:i.default.func,onClickMonth:i.default.func,onClickWeekNumber:i.default.func,onClickYear:i.default.func,onDrillDown:i.default.func,onDrillUp:i.default.func,prev2AriaLabel:i.default.string,prev2Label:i.default.node,prevAriaLabel:i.default.string,prevLabel:i.default.node,renderChildren:i.default.func,returnValue:i.default.oneOf(["start","end","range"]),selectRange:i.default.bool,showFixedNumberOfWeeks:i.default.bool,showNavigation:i.default.bool,showNeighboringMonth:i.default.bool,showWeekNumbers:i.default.bool,tileClassName:i.default.oneOfType([i.default.func,d.isClassName]),tileContent:i.default.oneOfType([i.default.func,i.default.node]),tileDisabled:i.default.func,value:i.default.oneOfType([i.default.string,d.isValue]),view:i.default.oneOf(k)},(0,o.polyfill)(F)},QcOe:function(t,e,n){var r=n("GoyQ"),i=n("6sVZ"),o=n("7Ix3"),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var u in t)("constructor"!=u||!e&&a.call(t,u))&&n.push(u);return n}},QkVE:function(t,e,n){var r=n("EpBk");t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},QkVN:function(t,e,n){var r=n("+Qka"),i=n("LsHQ")(function(t,e,n){r(t,e,n)});t.exports=i},QoRX:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},QqLw:function(t,e,n){var r=n("tadb"),i=n("ebwN"),o=n("HOxn"),a=n("yGk4"),u=n("Of+w"),s=n("NykK"),c=n("3Fdi"),l=c(r),f=c(i),h=c(o),d=c(a),p=c(u),v=s;(r&&"[object DataView]"!=v(new r(new ArrayBuffer(1)))||i&&"[object Map]"!=v(new i)||o&&"[object Promise]"!=v(o.resolve())||a&&"[object Set]"!=v(new a)||u&&"[object WeakMap]"!=v(new u))&&(v=function(t){var e=s(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case l:return"[object DataView]";case f:return"[object Map]";case h:return"[object Promise]";case d:return"[object Set]";case p:return"[object WeakMap]"}return e}),t.exports=v},"R+7+":function(t,e,n){var r=n("w6GO"),i=n("mqlF"),o=n("NV0k");t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,u=n(t),s=o.f,c=0;u.length>c;)s.call(t,a=u[c++])&&e.push(a);return e}},"R/W3":function(t,e,n){var r=n("KwMD"),i=n("2ajD"),o=n("CZoQ");t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},R5XZ:function(t,e,n){var r=n("dyZX"),i=n("XKFU"),o=n("ol8x"),a=[].slice,u=/MSIE .\./.test(o),s=function(t){return function(e,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*u,{setTimeout:s(r.setTimeout),setInterval:s(r.setInterval)})},RBan:function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},RO46:function(t,e,n){"use strict";n.d(e,"a",function(){return Xt}),n.d(e,"b",function(){return Dt});var r=n("q1tI"),i=n.n(r),o=n("Wwog"),a=n("PAeb"),u=n("i8i4"),s=n("17x9"),c=n.n(s),l=n("xEkU"),f=n.n(l),h=n("FUBA"),d=n.n(h),p=n("1w3K");function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e,n){return e&&y(t.prototype,e),n&&y(t,n),t}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(){return(x=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){b(t,e,n[e])})}return t}function _(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&k(t,e)}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function k(t,e){return(k=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function E(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?O(t):e}function A(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var T=function(){};function M(t,e){return e?"-"===e[0]?t+e:t+"__"+e:t}var P=function(t){return Array.isArray(t)?t.filter(Boolean):"object"===v(t)&&null!==t?[t]:[]};function j(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function D(t){return j(t)?window.pageYOffset:t.scrollTop}function I(t,e){j(t)?window.scrollTo(0,e):t.scrollTop=e}function N(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:T,i=D(t),o=e-i,a=10,u=0;!function e(){var s,c=o*((s=(s=u+=a)/n-1)*s*s+1)+i;I(t,c),u<n?f()(e):r(t)}()}function F(){try{return document.createEvent("TouchEvent"),!0}catch(t){return!1}}function R(t){var e=t.maxHeight,n=t.menuEl,r=t.minHeight,i=t.placement,o=t.shouldScroll,a=t.isFixedPosition,u=t.theme.spacing,s=function(t){var e=getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/,i=document.documentElement;if("fixed"===e.position)return i;for(var o=t;o=o.parentElement;)if(e=getComputedStyle(o),(!n||"static"!==e.position)&&r.test(e.overflow+e.overflowY+e.overflowX))return o;return i}(n),c={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return c;var l=s.getBoundingClientRect().height,f=n.getBoundingClientRect(),h=f.bottom,d=f.height,p=f.top,v=n.offsetParent.getBoundingClientRect().top,g=window.innerHeight,y=D(s),m=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),x=v-b,w=g-p,_=x+y,S=l-y-p,k=h-g+y+m,E=y+p-b;switch(i){case"auto":case"bottom":if(w>=d)return{placement:"bottom",maxHeight:e};if(S>=d&&!a)return o&&N(s,k,160),{placement:"bottom",maxHeight:e};if(!a&&S>=r||a&&w>=r)return o&&N(s,k,160),{placement:"bottom",maxHeight:a?w-m:S-m};if("auto"===i||a){var O=e,C=a?x:_;return C>=r&&(O=Math.min(C-m-u.controlHeight,e)),{placement:"top",maxHeight:O}}if("bottom"===i)return o&&I(s,k),{placement:"bottom",maxHeight:e};break;case"top":if(x>=d)return{placement:"top",maxHeight:e};if(_>=d&&!a)return o&&N(s,E,160),{placement:"top",maxHeight:e};if(!a&&_>=r||a&&x>=r){var A=e;return(!a&&_>=r||a&&x>=r)&&(A=a?x-b:_-b),o&&N(s,E,160),{placement:"top",maxHeight:A}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var L=function(t){return"auto"===t?"bottom":t},B=function(t){function e(){var t,n;g(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(O(O(n=C(this,(t=S(e)).call.apply(t,[this].concat(i))))),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),b(O(O(n)),"getPlacement",function(t){var e=n.props,r=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,u=e.menuShouldScrollIntoView,s=e.theme,c=n.context.getPortalPlacement;if(t){var l="fixed"===a,f=R({maxHeight:i,menuEl:t,minHeight:r,placement:o,shouldScroll:u&&!l,isFixedPosition:l,theme:s});c&&c(f),n.setState(f)}}),b(O(O(n)),"getUpdatedProps",function(){var t=n.props.menuPlacement,e=n.state.placement||L(t);return w({},n.props,{placement:e,maxHeight:n.state.maxHeight})}),n}return _(e,r["Component"]),m(e,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),e}();b(B,"contextTypes",{getPortalPlacement:c.a.func});var z=function(t){var e=t.theme,n=e.spacing.baseUnit;return{color:e.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},V=z,U=z,H=function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return i.a.createElement("div",x({className:r(Object(a.css)(o("noOptionsMessage",t)),{"menu-notice":!0,"menu-notice--no-options":!0},n)},u),e)};H.defaultProps={children:"No options"};var W=function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return i.a.createElement("div",x({className:r(Object(a.css)(o("loadingMessage",t)),{"menu-notice":!0,"menu-notice--loading":!0},n)},u),e)};W.defaultProps={children:"Loading..."};var q=function(t){function e(){var t,n;g(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(O(O(n=C(this,(t=S(e)).call.apply(t,[this].concat(i))))),"state",{placement:null}),b(O(O(n)),"getPortalPlacement",function(t){var e=t.placement;e!==L(n.props.menuPlacement)&&n.setState({placement:e})}),n}return _(e,r["Component"]),m(e,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var t=this.props,e=t.appendTo,n=t.children,r=t.controlElement,o=t.menuPlacement,s=t.menuPosition,c=t.getStyles,l="fixed"===s;if(!e&&!l||!r)return null;var f=this.state.placement||L(o),h=function(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}(r),d=l?0:window.pageYOffset,p={offset:h[f]+d,position:s,rect:h},v=i.a.createElement("div",{className:Object(a.css)(c("menuPortal",p))},n);return e?Object(u.createPortal)(v,e):v}}]),e}();b(q,"childContextTypes",{getPortalPlacement:c.a.func});var G=Array.isArray,Y=Object.keys,X=Object.prototype.hasOwnProperty;function K(t,e){try{return function t(e,n){if(e===n)return!0;if(e&&n&&"object"==v(e)&&"object"==v(n)){var r,i,o,a=G(e),u=G(n);if(a&&u){if((i=e.length)!=n.length)return!1;for(r=i;0!=r--;)if(!t(e[r],n[r]))return!1;return!0}if(a!=u)return!1;var s=e instanceof Date,c=n instanceof Date;if(s!=c)return!1;if(s&&c)return e.getTime()==n.getTime();var l=e instanceof RegExp,f=n instanceof RegExp;if(l!=f)return!1;if(l&&f)return e.toString()==n.toString();var h=Y(e);if((i=h.length)!==Y(n).length)return!1;for(r=i;0!=r--;)if(!X.call(n,h[r]))return!1;for(r=i;0!=r--;)if(!("_owner"===(o=h[r])&&e.$$typeof||t(e[o],n[o])))return!1;return!0}return e!=e&&n!=n}(t,e)}catch(t){if(t.message&&t.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}}var $=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],Z=function(t){for(var e=0;e<$.length;e++)t=t.replace($[e].letters,$[e].base);return t},J=function(t){return t.replace(/^\s+|\s+$/g,"")},Q=function(t){return"".concat(t.label," ").concat(t.value)},tt=function(t){return i.a.createElement("span",x({className:Object(a.css)({zIndex:9999,border:0,clip:"rect(1px, 1px, 1px, 1px)",height:1,width:1,position:"absolute",overflow:"hidden",padding:0,whiteSpace:"nowrap",backgroundColor:"red",color:"blue"})},t))},et=function(t){function e(){return g(this,e),C(this,S(e).apply(this,arguments))}return _(e,r["Component"]),m(e,[{key:"render",value:function(){var t=this.props,e=(t.in,t.out,t.onExited,t.appear,t.enter,t.exit,t.innerRef),n=(t.emotion,E(t,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return i.a.createElement("input",x({ref:e},n,{className:Object(a.css)({background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"})}))}}]),e}(),nt=function(t){function e(){return g(this,e),C(this,S(e).apply(this,arguments))}return _(e,r["Component"]),m(e,[{key:"componentDidMount",value:function(){this.props.innerRef(Object(u.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),e}(),rt=["boxSizing","height","overflow","paddingRight","position"],it={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ot(t){t.preventDefault()}function at(t){t.stopPropagation()}function ut(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;0===t?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function st(){return"ontouchstart"in window||navigator.maxTouchPoints}var ct=!("undefined"==typeof window||!window.document||!window.document.createElement),lt=0,ft=function(t){function e(){var t,n;g(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(O(O(n=C(this,(t=S(e)).call.apply(t,[this].concat(i))))),"originalStyles",{}),b(O(O(n)),"listenerOptions",{capture:!1,passive:!1}),n}return _(e,r["Component"]),m(e,[{key:"componentDidMount",value:function(){var t=this;if(ct){var e=this.props,n=e.accountForScrollbars,r=e.touchScrollTarget,i=document.body,o=i&&i.style;if(n&&rt.forEach(function(e){var n=o&&o[e];t.originalStyles[e]=n}),n&<<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,u=document.body?document.body.clientWidth:0,s=window.innerWidth-u+a||0;Object.keys(it).forEach(function(t){var e=it[t];o&&(o[t]=e)}),o&&(o.paddingRight="".concat(s,"px"))}i&&st()&&(i.addEventListener("touchmove",ot,this.listenerOptions),r&&(r.addEventListener("touchstart",ut,this.listenerOptions),r.addEventListener("touchmove",at,this.listenerOptions))),lt+=1}}},{key:"componentWillUnmount",value:function(){var t=this;if(ct){var e=this.props,n=e.accountForScrollbars,r=e.touchScrollTarget,i=document.body,o=i&&i.style;lt=Math.max(lt-1,0),n&<<1&&rt.forEach(function(e){var n=t.originalStyles[e];o&&(o[e]=n)}),i&&st()&&(i.removeEventListener("touchmove",ot,this.listenerOptions),r&&(r.removeEventListener("touchstart",ut,this.listenerOptions),r.removeEventListener("touchmove",at,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),e}();b(ft,"defaultProps",{accountForScrollbars:!0});var ht=function(t){function e(){var t,n;g(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(O(O(n=C(this,(t=S(e)).call.apply(t,[this].concat(i))))),"state",{touchScrollTarget:null}),b(O(O(n)),"getScrollTarget",function(t){t!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:t})}),b(O(O(n)),"blurSelectInput",function(){document.activeElement&&document.activeElement.blur()}),n}return _(e,r["PureComponent"]),m(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.isEnabled,r=this.state.touchScrollTarget;return n?i.a.createElement("div",null,i.a.createElement("div",{onClick:this.blurSelectInput,className:Object(a.css)({position:"fixed",left:0,bottom:0,right:0,top:0})}),i.a.createElement(nt,{innerRef:this.getScrollTarget},e),r?i.a.createElement(ft,{touchScrollTarget:r}):null):e}}]),e}(),dt=function(t){function e(){var t,n;g(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(O(O(n=C(this,(t=S(e)).call.apply(t,[this].concat(i))))),"isBottom",!1),b(O(O(n)),"isTop",!1),b(O(O(n)),"scrollTarget",void 0),b(O(O(n)),"touchStart",void 0),b(O(O(n)),"cancelScroll",function(t){t.preventDefault(),t.stopPropagation()}),b(O(O(n)),"handleEventDelta",function(t,e){var r=n.props,i=r.onBottomArrive,o=r.onBottomLeave,a=r.onTopArrive,u=r.onTopLeave,s=n.scrollTarget,c=s.scrollTop,l=s.scrollHeight,f=s.clientHeight,h=n.scrollTarget,d=e>0,p=l-f-c,v=!1;p>e&&n.isBottom&&(o&&o(t),n.isBottom=!1),d&&n.isTop&&(u&&u(t),n.isTop=!1),d&&e>p?(i&&!n.isBottom&&i(t),h.scrollTop=l,v=!0,n.isBottom=!0):!d&&-e>c&&(a&&!n.isTop&&a(t),h.scrollTop=0,v=!0,n.isTop=!0),v&&n.cancelScroll(t)}),b(O(O(n)),"onWheel",function(t){n.handleEventDelta(t,t.deltaY)}),b(O(O(n)),"onTouchStart",function(t){n.touchStart=t.changedTouches[0].clientY}),b(O(O(n)),"onTouchMove",function(t){var e=n.touchStart-t.changedTouches[0].clientY;n.handleEventDelta(t,e)}),b(O(O(n)),"getScrollTarget",function(t){n.scrollTarget=t}),n}return _(e,r["Component"]),m(e,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(t){t&&(t.scrollHeight<=t.clientHeight||("function"==typeof t.addEventListener&&t.addEventListener("wheel",this.onWheel,!1),"function"==typeof t.addEventListener&&t.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof t.addEventListener&&t.addEventListener("touchmove",this.onTouchMove,!1)))}},{key:"stopListening",value:function(t){t.scrollHeight<=t.clientHeight||("function"==typeof t.removeEventListener&&t.removeEventListener("wheel",this.onWheel,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof t.removeEventListener&&t.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return i.a.createElement(nt,{innerRef:this.getScrollTarget},this.props.children)}}]),e}(),pt=function(t){function e(){return g(this,e),C(this,S(e).apply(this,arguments))}return _(e,r["Component"]),m(e,[{key:"render",value:function(){var t=this.props,e=t.isEnabled,n=E(t,["isEnabled"]);return e?i.a.createElement(dt,n):this.props.children}}]),e}();b(pt,"defaultProps",{isEnabled:!0});var vt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isSearchable,r=e.isMulti,i=e.label;switch(t){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return"".concat(i||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},gt=function(t,e){var n=e.value;if(n)switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,", selected.")}},yt=function(t){function e(){return g(this,e),C(this,S(e).apply(this,arguments))}return _(e,r["Component"]),m(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.className,r=t.cx,o=t.isMulti,u=t.getStyles,s=t.hasValue;return i.a.createElement("div",{className:r(Object(a.css)(u("valueContainer",this.props)),{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":s},n)},e)}}]),e}(),mt=function(t){var e=t.size,n=E(t,["size"]);return i.a.createElement("svg",x({height:e,width:e,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:Object(a.css)({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},n))},bt=function(t){return i.a.createElement(mt,x({size:20},t),i.a.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},xt=function(t){return i.a.createElement(mt,x({size:20},t),i.a.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},wt=function(t){var e=t.isFocused,n=t.theme,r=n.spacing.baseUnit,i=n.colors;return{color:e?i.neutral60:i.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:e?i.neutral80:i.neutral40}}},_t=wt,St=wt,kt=!1,Et=function(t){var e=t.color,n=t.delay,r=t.offset;return i.a.createElement("span",{className:Object(a.css)({animationDuration:"1s",animationDelay:"".concat(n,"ms"),animationIterationCount:"infinite",animationName:"react-select-loading-indicator",animationTimingFunction:"ease-in-out",backgroundColor:e,borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},Ot=function(t){var e=t.className,n=t.cx,r=t.getStyles,o=t.innerProps,u=t.isFocused,s=t.isRtl,c=t.theme.colors,l=u?c.neutral80:c.neutral20;return kt||(Object(a.injectGlobal)("@keyframes ","react-select-loading-indicator","{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),kt=!0),i.a.createElement("div",x({},o,{className:n(Object(a.css)(r("loadingIndicator",t)),{indicator:!0,"loading-indicator":!0},e)}),i.a.createElement(Et,{color:l,delay:0,offset:s}),i.a.createElement(Et,{color:l,delay:160,offset:!0}),i.a.createElement(Et,{color:l,delay:320,offset:!s}))};Ot.defaultProps={size:4};var Ct=function(t){return{background:0,border:0,fontSize:"inherit",opacity:t?0:1,outline:0,padding:0,color:"inherit"}},At=function(t){var e=t.children,n=t.innerProps;return i.a.createElement("div",n,e)},Tt=At,Mt=At,Pt=function(t){function e(){return g(this,e),C(this,S(e).apply(this,arguments))}return _(e,r["Component"]),m(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.innerProps;return i.a.createElement("div",n,e||i.a.createElement(bt,{size:14}))}}]),e}(),jt=function(t){function e(){return g(this,e),C(this,S(e).apply(this,arguments))}return _(e,r["Component"]),m(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.className,r=t.components,o=t.cx,u=t.data,s=t.getStyles,c=t.innerProps,l=t.isDisabled,f=t.removeProps,h=t.selectProps,d=r.Container,p=r.Label,v=r.Remove,g=w({className:o(Object(a.css)(s("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":l},n)},c),y={className:o(Object(a.css)(s("multiValueLabel",this.props)),{"multi-value__label":!0},n)},m=w({className:o(Object(a.css)(s("multiValueRemove",this.props)),{"multi-value__remove":!0},n)},f);return i.a.createElement(d,{data:u,innerProps:g,selectProps:h},i.a.createElement(p,{data:u,innerProps:y,selectProps:h},e),i.a.createElement(v,{data:u,innerProps:m,selectProps:h}))}}]),e}();b(jt,"defaultProps",{cropWithEllipsis:!0});var Dt={ClearIndicator:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return i.a.createElement("div",x({},u,{className:r(Object(a.css)(o("clearIndicator",t)),{indicator:!0,"clear-indicator":!0},n)}),e||i.a.createElement(bt,null))},Control:function(t){var e=t.children,n=t.cx,r=t.getStyles,o=t.className,u=t.isDisabled,s=t.isFocused,c=t.innerRef,l=t.innerProps,f=t.menuIsOpen;return i.a.createElement("div",x({ref:c,className:n(Object(a.css)(r("control",t)),{control:!0,"control--is-disabled":u,"control--is-focused":s,"control--menu-is-open":f},o)},l),e)},DropdownIndicator:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return i.a.createElement("div",x({},u,{className:r(Object(a.css)(o("dropdownIndicator",t)),{indicator:!0,"dropdown-indicator":!0},n)}),e||i.a.createElement(xt,null))},DownChevron:xt,CrossIcon:bt,Group:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.Heading,s=t.headingProps,c=t.label,l=t.theme,f=t.selectProps;return i.a.createElement("div",{className:r(Object(a.css)(o("group",t)),{group:!0},n)},i.a.createElement(u,x({},s,{selectProps:f,theme:l,getStyles:o,cx:r}),c),i.a.createElement("div",null,e))},GroupHeading:function(t){var e=t.className,n=t.cx,r=t.getStyles,o=t.theme,u=(t.selectProps,E(t,["className","cx","getStyles","theme","selectProps"]));return i.a.createElement("div",x({className:n(Object(a.css)(r("groupHeading",w({theme:o},u))),{"group-heading":!0},e)},u))},IndicatorsContainer:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles;return i.a.createElement("div",{className:r(Object(a.css)(o("indicatorsContainer",t)),{indicators:!0},n)},e)},IndicatorSeparator:function(t){var e=t.className,n=t.cx,r=t.getStyles,o=t.innerProps;return i.a.createElement("span",x({},o,{className:n(Object(a.css)(r("indicatorSeparator",t)),{"indicator-separator":!0},e)}))},Input:function(t){var e=t.className,n=t.cx,r=t.getStyles,o=t.innerRef,u=t.isHidden,s=t.isDisabled,c=t.theme,l=(t.selectProps,E(t,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return i.a.createElement("div",{className:Object(a.css)(r("input",w({theme:c},l)))},i.a.createElement(d.a,x({className:n(null,{input:!0},e),inputRef:o,inputStyle:Ct(u),disabled:s},l)))},LoadingIndicator:Ot,Menu:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.innerRef,s=t.innerProps,c=r(Object(a.css)(o("menu",t)),{menu:!0},n);return i.a.createElement("div",x({className:c},s,{ref:u}),e)},MenuList:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.isMulti,s=t.innerRef;return i.a.createElement("div",{className:r(Object(a.css)(o("menuList",t)),{"menu-list":!0,"menu-list--is-multi":u},n),ref:s},e)},MenuPortal:q,LoadingMessage:W,NoOptionsMessage:H,MultiValue:jt,MultiValueContainer:Tt,MultiValueLabel:Mt,MultiValueRemove:Pt,Option:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.isDisabled,s=t.isFocused,c=t.isSelected,l=t.innerRef,f=t.innerProps;return i.a.createElement("div",x({ref:l,className:r(Object(a.css)(o("option",t)),{option:!0,"option--is-disabled":u,"option--is-focused":s,"option--is-selected":c},n)},f),e)},Placeholder:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.innerProps;return i.a.createElement("div",x({className:r(Object(a.css)(o("placeholder",t)),{placeholder:!0},n)},u),e)},SelectContainer:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.innerProps,s=t.isDisabled,c=t.isRtl;return i.a.createElement("div",x({className:r(Object(a.css)(o("container",t)),{"--is-disabled":s,"--is-rtl":c},n)},u),e)},SingleValue:function(t){var e=t.children,n=t.className,r=t.cx,o=t.getStyles,u=t.isDisabled,s=t.innerProps;return i.a.createElement("div",x({className:r(Object(a.css)(o("singleValue",t)),{"single-value":!0,"single-value--is-disabled":u},n)},s),e)},ValueContainer:yt},It=function(t){return w({},Dt,t.components)},Nt={clearIndicator:St,container:function(t){var e=t.isDisabled;return{direction:t.isRtl?"rtl":null,pointerEvents:e?"none":null,position:"relative"}},control:function(t){var e=t.isDisabled,n=t.isFocused,r=t.theme,i=r.colors,o=r.borderRadius,a=r.spacing;return{alignItems:"center",backgroundColor:e?i.neutral5:i.neutral0,borderColor:e?i.neutral10:n?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(i.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?i.primary:i.neutral30}}},dropdownIndicator:_t,group:function(t){var e=t.theme.spacing;return{paddingBottom:2*e.baseUnit,paddingTop:2*e.baseUnit}},groupHeading:function(t){var e=t.theme.spacing;return{color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*e.baseUnit,paddingRight:3*e.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing.baseUnit,i=n.colors;return{alignSelf:"stretch",backgroundColor:e?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,i=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:e?"hidden":"visible",color:i.neutral80}},loadingIndicator:function(t){var e=t.isFocused,n=t.size,r=t.theme,i=r.colors,o=r.spacing.baseUnit;return{color:e?i.neutral60:i.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:U,menu:function(t){var e,n=t.placement,r=t.theme,i=r.borderRadius,o=r.spacing,a=r.colors;return b(e={},function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(n),"100%"),b(e,"backgroundColor",a.neutral0),b(e,"borderRadius",i),b(e,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),b(e,"marginBottom",o.menuGutter),b(e,"marginTop",o.menuGutter),b(e,"position","absolute"),b(e,"width","100%"),b(e,"zIndex",1),e},menuList:function(t){var e=t.maxHeight,n=t.theme.spacing.baseUnit;return{maxHeight:e,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(t){var e=t.rect,n=t.offset,r=t.position;return{left:e.left,position:r,top:n,width:e.width,zIndex:1}},multiValue:function(t){var e=t.theme,n=e.spacing,r=e.borderRadius;return{backgroundColor:e.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(t){var e=t.theme,n=e.borderRadius,r=e.colors,i=t.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(t){var e=t.theme,n=e.spacing,r=e.borderRadius,i=e.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:t.isFocused&&i.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}},noOptionsMessage:V,option:function(t){var e=t.isDisabled,n=t.isFocused,r=t.isSelected,i=t.theme,o=i.spacing,a=i.colors;return{backgroundColor:r?a.primary:n?a.primary25:"transparent",color:e?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:r?a.primary:a.primary50}}},placeholder:function(t){var e=t.theme,n=e.spacing;return{color:e.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,i=n.colors;return{color:e?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(t){var e=t.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(e.baseUnit/2,"px ").concat(2*e.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var Ft,Rt={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Lt={backspaceRemovesValue:!0,blurInputOnSelect:F(),captureMenuScroll:!F(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){var n=w({ignoreCase:!0,ignoreAccents:!0,stringify:Q,trim:!0,matchFrom:"any"},Ft),r=n.ignoreCase,i=n.ignoreAccents,o=n.stringify,a=n.trim,u=n.matchFrom,s=a?J(e):e,c=a?J(o(t)):o(t);return r&&(s=s.toLowerCase(),c=c.toLowerCase()),i&&(s=Z(s),c=Z(c)),"start"===u?c.substr(0,s.length)===s:c.indexOf(s)>-1},formatGroupLabel:function(t){return t.label},getOptionLabel:function(t){return t.label},getOptionValue:function(t){return t.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(t){return!!t.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(t){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var e=t.count;return"".concat(e," result").concat(1!==e?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},Bt=1,zt=function(t){function e(t){var n;g(this,e),b(O(O(n=C(this,S(e).call(this,t)))),"state",{ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,isComposing:!1,menuOptions:{render:[],focusable:[]},selectValue:[]}),b(O(O(n)),"blockOptionHover",!1),b(O(O(n)),"clearFocusValueOnUpdate",!1),b(O(O(n)),"commonProps",void 0),b(O(O(n)),"components",void 0),b(O(O(n)),"hasGroups",!1),b(O(O(n)),"initialTouchX",0),b(O(O(n)),"initialTouchY",0),b(O(O(n)),"inputIsHiddenAfterUpdate",void 0),b(O(O(n)),"instancePrefix",""),b(O(O(n)),"openAfterFocus",!1),b(O(O(n)),"scrollToFocusedOptionOnUpdate",!1),b(O(O(n)),"userIsDragging",void 0),b(O(O(n)),"controlRef",null),b(O(O(n)),"getControlRef",function(t){n.controlRef=t}),b(O(O(n)),"focusedOptionRef",null),b(O(O(n)),"getFocusedOptionRef",function(t){n.focusedOptionRef=t}),b(O(O(n)),"menuListRef",null),b(O(O(n)),"getMenuListRef",function(t){n.menuListRef=t}),b(O(O(n)),"inputRef",null),b(O(O(n)),"getInputRef",function(t){n.inputRef=t}),b(O(O(n)),"cacheComponents",function(t){n.components=It({components:t})}),b(O(O(n)),"focus",n.focusInput),b(O(O(n)),"blur",n.blurInput),b(O(O(n)),"onChange",function(t,e){var r=n.props;(0,r.onChange)(t,w({},e,{name:r.name}))}),b(O(O(n)),"setValue",function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"set-value",r=arguments.length>2?arguments[2]:void 0,i=n.props,o=i.closeMenuOnSelect,a=i.isMulti;n.onInputChange("",{action:"set-value"}),o&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(t,{action:e,option:r})}),b(O(O(n)),"selectOption",function(t){var e=n.props,r=e.blurInputOnSelect;if(e.isMulti){var i=n.state.selectValue;if(n.isOptionSelected(t,i)){var o=n.getOptionValue(t);n.setValue(i.filter(function(t){return n.getOptionValue(t)!==o}),"deselect-option",t),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(t)}})}else n.setValue([].concat(A(i),[t]),"select-option",t),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t)}})}else n.setValue(t,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(t)}});r&&n.blurInput()}),b(O(O(n)),"removeValue",function(t){var e=n.state.selectValue,r=n.getOptionValue(t);n.onChange(e.filter(function(t){return n.getOptionValue(t)!==r}),{action:"remove-value",removedValue:t}),n.announceAriaLiveSelection({event:"remove-value",context:{value:t?n.getOptionLabel(t):""}}),n.focusInput()}),b(O(O(n)),"clearValue",function(){var t=n.props.isMulti;n.onChange(t?[]:null,{action:"clear"})}),b(O(O(n)),"popValue",function(){var t=n.state.selectValue,e=t[t.length-1];n.announceAriaLiveSelection({event:"pop-value",context:{value:e?n.getOptionLabel(e):""}}),n.onChange(t.slice(0,t.length-1),{action:"pop-value",removedValue:e})}),b(O(O(n)),"getOptionLabel",function(t){return n.props.getOptionLabel(t)}),b(O(O(n)),"getOptionValue",function(t){return n.props.getOptionValue(t)}),b(O(O(n)),"getStyles",function(t,e){var r=Nt[t](e);r.boxSizing="border-box";var i=n.props.styles[t];return i?i(r,e):r}),b(O(O(n)),"getElementId",function(t){return"".concat(n.instancePrefix,"-").concat(t)}),b(O(O(n)),"getActiveDescendentId",function(){var t=n.props.menuIsOpen,e=n.state,r=e.menuOptions,i=e.focusedOption;if(i&&t){var o=r.focusable.indexOf(i),a=r.render[o];return a&&a.key}}),b(O(O(n)),"announceAriaLiveSelection",function(t){var e=t.event,r=t.context;n.setState({ariaLiveSelection:gt(e,r)})}),b(O(O(n)),"announceAriaLiveContext",function(t){var e=t.event,r=t.context;n.setState({ariaLiveContext:vt(e,w({},r,{label:n.props["aria-label"]}))})}),b(O(O(n)),"onMenuMouseDown",function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),n.focusInput())}),b(O(O(n)),"onMenuMouseMove",function(t){n.blockOptionHover=!1}),b(O(O(n)),"onControlMouseDown",function(t){var e=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==t.currentTarget.tagName&&n.onMenuClose():e&&n.openMenu("first"):(e&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==t.currentTarget.tagName&&t.preventDefault()}),b(O(O(n)),"onDropdownIndicatorMouseDown",function(t){if(!(t&&"mousedown"===t.type&&0!==t.button||n.props.isDisabled)){var e=n.props,r=e.isMulti,i=e.menuIsOpen;n.focusInput(),i?(n.inputIsHiddenAfterUpdate=!r,n.onMenuClose()):n.openMenu("first"),t.preventDefault(),t.stopPropagation()}}),b(O(O(n)),"onClearIndicatorMouseDown",function(t){t&&"mousedown"===t.type&&0!==t.button||(n.clearValue(),t.stopPropagation(),n.openAfterFocus=!1,setTimeout(function(){return n.focusInput()}))}),b(O(O(n)),"onScroll",function(t){"boolean"==typeof n.props.closeMenuOnScroll?t.target instanceof HTMLElement&&j(t.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(t)&&n.props.onMenuClose()}),b(O(O(n)),"onCompositionStart",function(){n.setState({isComposing:!0})}),b(O(O(n)),"onCompositionEnd",function(){n.setState({isComposing:!1})}),b(O(O(n)),"onTouchStart",function(t){var e=t.touches.item(0);e&&(n.initialTouchX=e.clientX,n.initialTouchY=e.clientY,n.userIsDragging=!1)}),b(O(O(n)),"onTouchMove",function(t){var e=t.touches.item(0);if(e){var r=Math.abs(e.clientX-n.initialTouchX),i=Math.abs(e.clientY-n.initialTouchY);n.userIsDragging=r>5||i>5}}),b(O(O(n)),"onTouchEnd",function(t){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(t.target)&&n.menuListRef&&!n.menuListRef.contains(t.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)}),b(O(O(n)),"onControlTouchEnd",function(t){n.userIsDragging||n.onControlMouseDown(t)}),b(O(O(n)),"onClearIndicatorTouchEnd",function(t){n.userIsDragging||n.onClearIndicatorMouseDown(t)}),b(O(O(n)),"onDropdownIndicatorTouchEnd",function(t){n.userIsDragging||n.onDropdownIndicatorMouseDown(t)}),b(O(O(n)),"handleInputChange",function(t){var e=t.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(e,{action:"input-change"}),n.onMenuOpen()}),b(O(O(n)),"onInputFocus",function(t){var e=n.props,r=e.isSearchable,i=e.isMulti;n.props.onFocus&&n.props.onFocus(t),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:i}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1}),b(O(O(n)),"onInputBlur",function(t){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(t),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))}),b(O(O(n)),"onOptionHover",function(t){n.blockOptionHover||n.state.focusedOption===t||n.setState({focusedOption:t})}),b(O(O(n)),"shouldHideSelectedOptions",function(){var t=n.props,e=t.hideSelectedOptions,r=t.isMulti;return void 0===e?r:e}),b(O(O(n)),"onKeyDown",function(t){var e=n.props,r=e.isMulti,i=e.backspaceRemovesValue,o=e.escapeClearsValue,a=e.inputValue,u=e.isClearable,s=e.isDisabled,c=e.menuIsOpen,l=e.onKeyDown,f=e.tabSelectsValue,h=e.openMenuOnFocus,d=n.state,p=d.isComposing,v=d.focusedOption,g=d.focusedValue,y=d.selectValue;if(!(s||"function"==typeof l&&(l(t),t.defaultPrevented))){switch(n.blockOptionHover=!0,t.key){case"ArrowLeft":if(!r||a)return;n.focusValue("previous");break;case"ArrowRight":if(!r||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)n.removeValue(g);else{if(!i)return;r?n.popValue():u&&n.clearValue()}break;case"Tab":if(p)return;if(t.shiftKey||!c||!f||!v||h&&n.isOptionSelected(v,y))return;n.selectOption(v);break;case"Enter":if(c){if(!v)return;if(p)return;n.selectOption(v);break}return;case"Escape":c?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):u&&o&&n.clearValue();break;case" ":if(a)return;if(!c){n.openMenu("first");break}if(!v)return;n.selectOption(v);break;case"ArrowUp":c?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":c?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!c)return;n.focusOption("pageup");break;case"PageDown":if(!c)return;n.focusOption("pagedown");break;case"Home":if(!c)return;n.focusOption("first");break;case"End":if(!c)return;n.focusOption("last");break;default:return}t.preventDefault()}});var r=t.value;n.cacheComponents=Object(o.default)(n.cacheComponents,K).bind(O(O(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++Bt);var i=P(r),a=n.buildMenuOptions(t,i);return n.state.menuOptions=a,n.state.selectValue=i,n}return _(e,r["Component"]),m(e,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentWillReceiveProps",value:function(t){var e=this.props,n=e.options,r=e.value,i=e.inputValue;if(this.cacheComponents(t.components),t.value!==r||t.options!==n||t.inputValue!==i){var o=P(t.value),a=this.buildMenuOptions(t,o),u=this.getNextFocusedValue(o),s=this.getNextFocusedOption(a.focusable);this.setState({menuOptions:a,selectValue:o,focusedOption:s,focusedValue:u})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(t){var e,n,r,i,o,a=this.props,u=a.isDisabled,s=a.menuIsOpen,c=this.state.isFocused;(c&&!u&&t.isDisabled||c&&s&&!t.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(e=this.menuListRef,n=this.focusedOptionRef,r=e.getBoundingClientRect(),i=n.getBoundingClientRect(),o=n.offsetHeight/3,i.bottom+o>r.bottom?I(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+o,e.scrollHeight)):i.top-o<r.top&&I(e,Math.max(n.offsetTop-o,0))),this.scrollToFocusedOptionOnUpdate=!1}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var t=this.props,e=t.isSearchable,n=t.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:e,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(t,e){this.props.onInputChange(t,e)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(t){var e=this.state,n=e.menuOptions,r=e.selectValue,i=e.isFocused,o=this.props.isMulti,a="first"===t?0:n.focusable.length-1;if(!o){var u=n.focusable.indexOf(r[0]);u>-1&&(a=u)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.onMenuOpen(),this.setState({focusedValue:null,focusedOption:n.focusable[a]}),this.announceAriaLiveContext({event:"menu"})}},{key:"focusValue",value:function(t){var e=this.props,n=e.isMulti,r=e.isSearchable,i=this.state,o=i.selectValue,a=i.focusedValue;if(n){this.setState({focusedOption:null});var u=o.indexOf(a);a||(u=-1,this.announceAriaLiveContext({event:"value"}));var s=o.length-1,c=-1;if(o.length){switch(t){case"previous":c=0===u?0:-1===u?s:u-1;break;case"next":u>-1&&u<s&&(c=u+1)}-1===c&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==c,focusedValue:o[c]})}}}},{key:"focusOption",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state,r=n.focusedOption,i=n.menuOptions.focusable;if(i.length){var o=0,a=i.indexOf(r);r||(a=-1,this.announceAriaLiveContext({event:"menu"})),"up"===t?o=a>0?a-1:i.length-1:"down"===t?o=(a+1)%i.length:"pageup"===t?(o=a-e)<0&&(o=0):"pagedown"===t?(o=a+e)>i.length-1&&(o=i.length-1):"last"===t&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Rt):w({},Rt,this.props.theme):Rt}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.getStyles,n=this.setValue,r=this.selectOption,i=this.props,o=i.classNamePrefix,a=i.isMulti,u=i.isRtl,s=i.options,c=this.state.selectValue,l=this.hasValue();return{cx:function(t,e,n,r){var i=[e,r];if(n&&t)for(var o in n)n.hasOwnProperty(o)&&n[o]&&i.push("".concat(M(t,o)));return i.filter(function(t){return t}).map(function(t){return String(t).trim()}).join(" ")}.bind(null,o),clearValue:t,getStyles:e,getValue:function(){return c},hasValue:l,isMulti:a,isRtl:u,options:s,selectOption:r,setValue:n,selectProps:i,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(t){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var e=this.state,n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}},{key:"getNextFocusedOption",value:function(t){var e=this.state.focusedOption;return e&&t.indexOf(e)>-1?e:t[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var t=this.props,e=t.isClearable,n=t.isMulti;return void 0===e?n:e}},{key:"isOptionDisabled",value:function(t,e){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(t,e)}},{key:"isOptionSelected",value:function(t,e){var n=this;if(e.indexOf(t)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(t,e);var r=this.getOptionValue(t);return e.some(function(t){return n.getOptionValue(t)===r})}},{key:"filterOption",value:function(t,e){return!this.props.filterOption||this.props.filterOption(t,e)}},{key:"formatOptionLabel",value:function(t,e){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(t,{context:e,inputValue:n,selectValue:r})}return this.getOptionLabel(t)}},{key:"formatGroupLabel",value:function(t){return this.props.formatGroupLabel(t)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"buildMenuOptions",value:function(t,e){var n=this,r=t.inputValue,i=void 0===r?"":r,o=t.options,a=function(t,r){var o=n.isOptionDisabled(t,e),a=n.isOptionSelected(t,e),u=n.getOptionLabel(t),s=n.getOptionValue(t);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:u,value:s,data:t},i))){var c=o?void 0:function(){return n.onOptionHover(t)},l=o?void 0:function(){return n.selectOption(t)},f="".concat(n.getElementId("option"),"-").concat(r);return{innerProps:{id:f,onClick:l,onMouseMove:c,onMouseOver:c,tabIndex:-1},data:t,isDisabled:o,isSelected:a,key:f,label:u,type:"option",value:s}}};return o.reduce(function(t,e,r){if(e.options){n.hasGroups||(n.hasGroups=!0);var i=e.options.map(function(e,n){var i=a(e,"".concat(r,"-").concat(n));return i&&!i.isDisabled&&t.focusable.push(e),i}).filter(Boolean);if(i.length){var o="".concat(n.getElementId("group"),"-").concat(r);t.render.push({type:"group",key:o,data:e,options:i})}}else{var u=a(e,"".concat(r));u&&(t.render.push(u),u.isDisabled||t.focusable.push(e))}return t},{render:[],focusable:[]})}},{key:"constructAriaLiveMessage",value:function(){var t=this.state,e=t.ariaLiveContext,n=t.selectValue,r=t.focusedValue,i=t.focusedOption,o=this.props,a=o.options,u=o.menuIsOpen,s=o.inputValue,c=o.screenReaderStatus,l=r?function(t){var e=t.focusedValue,n=t.getOptionLabel,r=t.selectValue;return"value ".concat(n(e)," focused, ").concat(r.indexOf(e)+1," of ").concat(r.length,".")}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"",f=i&&u?function(t){var e=t.focusedOption,n=t.getOptionLabel,r=t.options;return"option ".concat(n(e)," focused, ").concat(r.indexOf(e)+1," of ").concat(r.length,".")}({focusedOption:i,getOptionLabel:this.getOptionLabel,options:a}):"",h=function(t){var e=t.inputValue,n=t.screenReaderMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}({inputValue:s,screenReaderMessage:c({count:this.countOptions()})});return"".concat(l," ").concat(f," ").concat(h," ").concat(e)}},{key:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,r=t.inputId,o=t.inputValue,a=t.tabIndex,u=this.components.Input,s=this.state.inputIsHidden,c=r||this.getElementId("input");if(!n)return i.a.createElement(et,{id:c,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:T,onFocus:this.onInputFocus,readOnly:!0,disabled:e,tabIndex:a,value:""});var l={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},f=this.commonProps,h=f.cx,d=f.theme,p=f.selectProps;return i.a.createElement(u,x({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:h,getStyles:this.getStyles,id:c,innerRef:this.getInputRef,isDisabled:e,isHidden:s,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:p,spellCheck:"false",tabIndex:a,theme:d,type:"text",value:o},l))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.components,n=e.MultiValue,r=e.MultiValueContainer,o=e.MultiValueLabel,a=e.MultiValueRemove,u=e.SingleValue,s=e.Placeholder,c=this.commonProps,l=this.props,f=l.controlShouldRenderValue,h=l.isDisabled,d=l.isMulti,p=l.inputValue,v=l.placeholder,g=this.state,y=g.selectValue,m=g.focusedValue,b=g.isFocused;if(!this.hasValue()||!f)return p?null:i.a.createElement(s,x({},c,{key:"placeholder",isDisabled:h,isFocused:b}),v);if(d)return y.map(function(e){var u=e===m;return i.a.createElement(n,x({},c,{components:{Container:r,Label:o,Remove:a},isFocused:u,isDisabled:h,key:t.getOptionValue(e),removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault(),t.stopPropagation()}},data:e}),t.formatOptionLabel(e,"value"))});if(p)return null;var w=y[0];return i.a.createElement(u,x({},c,{data:w,isDisabled:h}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.components.ClearIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||r||!this.hasValue()||o)return null;var u={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.a.createElement(t,x({},e,{innerProps:u,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.components.LoadingIndicator,e=this.commonProps,n=this.props,r=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!t||!o)return null;return i.a.createElement(t,x({},e,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var t=this.components,e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var r=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return i.a.createElement(n,x({},r,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.components.DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.a.createElement(t,x({},e,{innerProps:o,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var t=this,e=this.components,n=e.Group,r=e.GroupHeading,o=e.Menu,a=e.MenuList,u=e.MenuPortal,s=e.LoadingMessage,c=e.NoOptionsMessage,l=e.Option,f=this.commonProps,h=this.state,d=h.focusedOption,p=h.menuOptions,v=this.props,g=v.captureMenuScroll,y=v.inputValue,m=v.isLoading,b=v.loadingMessage,w=v.minMenuHeight,_=v.maxMenuHeight,S=v.menuIsOpen,k=v.menuPlacement,O=v.menuPosition,C=v.menuPortalTarget,A=v.menuShouldBlockScroll,T=v.menuShouldScrollIntoView,M=v.noOptionsMessage,P=v.onMenuScrollToTop,j=v.onMenuScrollToBottom;if(!S)return null;var D,I=function(e){var n=d===e.data;return e.innerRef=n?t.getFocusedOptionRef:void 0,i.a.createElement(l,x({},f,e,{isFocused:n}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())D=p.render.map(function(e){if("group"===e.type){e.type;var o=E(e,["type"]),a="".concat(e.key,"-heading");return i.a.createElement(n,x({},f,o,{Heading:r,headingProps:{id:a},label:t.formatGroupLabel(e.data)}),e.options.map(function(t){return I(t)}))}if("option"===e.type)return I(e)});else if(m){var N=b({inputValue:y});if(null===N)return null;D=i.a.createElement(s,f,N)}else{var F=M({inputValue:y});if(null===F)return null;D=i.a.createElement(c,f,F)}var R={minMenuHeight:w,maxMenuHeight:_,menuPlacement:k,menuPosition:O,menuShouldScrollIntoView:T},L=i.a.createElement(B,x({},f,R),function(e){var n=e.ref,r=e.placerProps,u=r.placement,s=r.maxHeight;return i.a.createElement(o,x({},f,R,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove},isLoading:m,placement:u}),i.a.createElement(pt,{isEnabled:g,onTopArrive:P,onBottomArrive:j},i.a.createElement(ht,{isEnabled:A},i.a.createElement(a,x({},f,{innerRef:t.getMenuListRef,isLoading:m,maxHeight:s}),D))))});return C||"fixed"===O?i.a.createElement(u,x({},f,{appendTo:C,controlElement:this.controlRef,menuPlacement:k,menuPosition:O}),L):L}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,r=e.isDisabled,o=e.isMulti,a=e.name,u=this.state.selectValue;if(a&&!r){if(o){if(n){var s=u.map(function(e){return t.getOptionValue(e)}).join(n);return i.a.createElement("input",{name:a,type:"hidden",value:s})}var c=u.length>0?u.map(function(e,n){return i.a.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:t.getOptionValue(e)})}):i.a.createElement("input",{name:a,type:"hidden"});return i.a.createElement("div",null,c)}var l=u[0]?this.getOptionValue(u[0]):"";return i.a.createElement("input",{name:a,type:"hidden",value:l})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?i.a.createElement(tt,{"aria-live":"assertive"},i.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),i.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var t=this.components,e=t.Control,n=t.IndicatorsContainer,r=t.SelectContainer,o=t.ValueContainer,a=this.props,u=a.className,s=a.id,c=a.isDisabled,l=a.menuIsOpen,f=this.state.isFocused,h=this.commonProps=this.getCommonProps();return i.a.createElement(r,x({},h,{className:u,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:f}),this.renderLiveRegion(),i.a.createElement(e,x({},h,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:f,menuIsOpen:l}),i.a.createElement(o,x({},h,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i.a.createElement(n,x({},h,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),e}();b(zt,"defaultProps",Lt);var Vt={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Ut=function(t){var e,n;return n=e=function(e){function n(){var t,e;g(this,n);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(O(O(e=C(this,(t=S(n)).call.apply(t,[this].concat(i))))),"select",void 0),b(O(O(e)),"state",{inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue}),b(O(O(e)),"onChange",function(t,n){e.callProp("onChange",t,n),e.setState({value:t})}),b(O(O(e)),"onInputChange",function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==r?r:t})}),b(O(O(e)),"onMenuOpen",function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})}),b(O(O(e)),"onMenuClose",function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})}),e}return _(n,r["Component"]),m(n,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(t){return void 0!==this.props[t]?this.props[t]:this.state[t]}},{key:"callProp",value:function(t){if("function"==typeof this.props[t]){for(var e,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return(e=this.props)[t].apply(e,r)}}},{key:"render",value:function(){var e=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,E(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return i.a.createElement(t,x({},r,{ref:function(t){e.select=t},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),n}(),b(e,"defaultProps",Vt),n},Ht={cacheOptions:!1,defaultOptions:!1,filterOption:null},Wt=function(t){var e,n;return n=e=function(e){function n(t){var e;return g(this,n),b(O(O(e=C(this,S(n).call(this)))),"select",void 0),b(O(O(e)),"lastRequest",void 0),b(O(O(e)),"mounted",!1),b(O(O(e)),"optionsCache",{}),b(O(O(e)),"handleInputChange",function(t,n){var r=e.props,i=r.cacheOptions,o=function(t,e,n){if(n){var r=n(t,e);if("string"==typeof r)return r}return t}(t,n,r.onInputChange);if(!o)return delete e.lastRequest,void e.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(i&&e.optionsCache[o])e.setState({inputValue:o,loadedInputValue:o,loadedOptions:e.optionsCache[o],isLoading:!1,passEmptyOptions:!1});else{var a=e.lastRequest={};e.setState({inputValue:o,isLoading:!0,passEmptyOptions:!e.state.loadedInputValue},function(){e.loadOptions(o,function(t){e.mounted&&(t&&(e.optionsCache[o]=t),a===e.lastRequest&&(delete e.lastRequest,e.setState({isLoading:!1,loadedInputValue:o,loadedOptions:t||[],passEmptyOptions:!1})))})})}return o}),e.state={defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0,inputValue:void 0!==t.inputValue?t.inputValue:"",isLoading:!0===t.defaultOptions,loadedOptions:[],passEmptyOptions:!1},e}return _(n,r["Component"]),m(n,[{key:"componentDidMount",value:function(){var t=this;this.mounted=!0;var e=this.props.defaultOptions,n=this.state.inputValue;!0===e&&this.loadOptions(n,function(e){if(t.mounted){var n=!!t.lastRequest;t.setState({defaultOptions:e||[],isLoading:n})}})}},{key:"componentWillReceiveProps",value:function(t){t.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),t.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(t,e){var n=this.props.loadOptions;if(!n)return e();var r=n(t,e);r&&"function"==typeof r.then&&r.then(e,function(){return e()})}},{key:"render",value:function(){var e=this,n=this.props,r=(n.loadOptions,E(n,["loadOptions"])),o=this.state,a=o.defaultOptions,u=o.inputValue,s=o.isLoading,c=o.loadedInputValue,l=o.loadedOptions,f=o.passEmptyOptions?[]:u&&c?l:a||[];return i.a.createElement(t,x({},r,{ref:function(t){e.select=t},options:f,isLoading:s,onInputChange:this.handleInputChange}))}}]),n}(),b(e,"defaultProps",Ht),n},qt=(Wt(Ut(zt)),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0,n=String(t).toLowerCase(),r=String(e.value).toLowerCase(),i=String(e.label).toLowerCase();return r===n||i===n}),Gt=w({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,e,n){return!(!t||e.some(function(e){return qt(t,e)})||n.some(function(e){return qt(t,e)}))},getNewOptionData:function(t,e){return{label:e,value:t,__isNew__:!0}}}),Yt=function(t){var e,n;return n=e=function(e){function n(t){var e;g(this,n),b(O(O(e=C(this,S(n).call(this,t)))),"select",void 0),b(O(O(e)),"onChange",function(t,n){var r=e.props,i=r.getNewOptionData,o=r.inputValue,a=r.isMulti,u=r.onChange,s=r.onCreateOption,c=r.value;if("select-option"!==n.action)return u(t,n);var l=e.state.newOption,f=Array.isArray(t)?t:[t];if(f[f.length-1]!==l)u(t,n);else if(s)s(o);else{var h=i(o,o),d={action:"create-option"};u(a?[].concat(A(P(c)),[h]):h,d)}});var r=t.options||[];return e.state={newOption:void 0,options:r},e}return _(n,r["Component"]),m(n,[{key:"componentWillReceiveProps",value:function(t){var e=t.allowCreateWhileLoading,n=t.createOptionPosition,r=t.formatCreateLabel,i=t.getNewOptionData,o=t.inputValue,a=t.isLoading,u=t.isValidNewOption,s=t.value,c=t.options||[],l=this.state.newOption;l=u(o,P(s),c)?i(o,r(o)):void 0,this.setState({newOption:l,options:!e&&a||!l?c:"first"===n?[l].concat(A(c)):[].concat(A(c),[l])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,n=x({},this.props),r=this.state.options;return i.a.createElement(t,x({},n,{ref:function(t){e.select=t},options:r,onChange:this.onChange}))}}]),n}(),b(e,"defaultProps",Gt),n},Xt=Ut(Yt(zt)),Kt=(Wt(Ut(Yt(zt))),function(t){var e=t.component,n=t.duration,r=void 0===n?1:n,o=t.in,a=(t.onExited,E(t,["component","duration","in","onExited"])),u={entering:{opacity:0},entered:{opacity:1,transition:"opacity ".concat(r,"ms")},exiting:{opacity:0},exited:{opacity:0}};return i.a.createElement(p.Transition,{mountOnEnter:!0,unmountOnExit:!0,in:o,timeout:r},function(t){var n={style:w({},u[t])};return i.a.createElement(e,x({innerProps:n},a))})}),$t=260,Zt=function(t){function e(){var t,n;g(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(O(O(n=C(this,(t=S(e)).call.apply(t,[this].concat(i))))),"duration",$t),b(O(O(n)),"rafID",void 0),b(O(O(n)),"state",{width:"auto"}),b(O(O(n)),"transition",{exiting:{width:0,transition:"width ".concat(n.duration,"ms ease-out")},exited:{width:0}}),b(O(O(n)),"getWidth",function(t){t&&isNaN(n.state.width)&&(n.rafID=window.requestAnimationFrame(function(){var e=t.getBoundingClientRect().width;n.setState({width:e})}))}),b(O(O(n)),"getStyle",function(t){return{overflow:"hidden",whiteSpace:"nowrap",width:t}}),b(O(O(n)),"getTransition",function(t){return n.transition[t]}),n}return _(e,r["Component"]),m(e,[{key:"componentWillUnmount",value:function(){this.rafID&&window.cancelAnimationFrame(this.rafID)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,r=e.in,o=this.state.width;return i.a.createElement(p.Transition,{enter:!1,mountOnEnter:!0,unmountOnExit:!0,in:r,timeout:this.duration},function(e){var r=w({},t.getStyle(o),t.getTransition(e));return i.a.createElement("div",{ref:t.getWidth,style:r},n)})}}]),e}(),Jt=function(t){return function(e){var n=e.in,r=e.onExited,o=E(e,["in","onExited"]);return i.a.createElement(Zt,{in:n,onExited:r},i.a.createElement(t,x({cropWithEllipsis:n},o)))}},Qt=function(t){return function(e){return i.a.createElement(Kt,x({component:t,duration:e.isMulti?$t:1},e))}},te=function(t){return function(e){return i.a.createElement(Kt,x({component:t},e))}},ee=function(t){return function(e){return i.a.createElement(p.TransitionGroup,x({component:t},e))}},ne=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=It({components:e}),r=n.Input,o=n.MultiValue,a=n.Placeholder,u=n.SingleValue,s=n.ValueContainer,c=E(n,["Input","MultiValue","Placeholder","SingleValue","ValueContainer"]);return w({Input:(t=r,function(e){e.in,e.onExited,e.appear,e.enter,e.exit;var n=E(e,["in","onExited","appear","enter","exit"]);return i.a.createElement(t,n)}),MultiValue:Jt(o),Placeholder:Qt(a),SingleValue:te(u),ValueContainer:ee(s)},c)},re=ne(),ie=(re.Input,re.MultiValue,re.Placeholder,re.SingleValue,re.ValueContainer,Object(o.default)(ne,K),Ut(zt));e.c=ie},"RU/L":function(t,e,n){n("Rqdy");var r=n("WEpk").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},RW0V:function(t,e,n){var r=n("S/j/"),i=n("DVgA");n("Xtr8")("keys",function(){return function(t){return i(r(t))}})},RYi7:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},RfKB:function(t,e,n){var r=n("2faE").f,i=n("B+OT"),o=n("UWiX")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"RjD/":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},Rkpk:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChromeFields=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=c(n("q1tI")),o=c(n("/FUP")),a=c(n("p8yl")),u=n("TM95"),s=c(n("9F0J"));function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var f=e.ChromeFields=function(t){function e(){var t,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,o=Array(i),u=0;u<i;u++)o[u]=arguments[u];return n=r=l(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.state={view:""},r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(t,e){t.hex?a.default.isValidHex(t.hex)&&r.props.onChange({hex:t.hex,source:"hex"},e):t.r||t.g||t.b?r.props.onChange({r:t.r||r.props.rgb.r,g:t.g||r.props.rgb.g,b:t.b||r.props.rgb.b,source:"rgb"},e):t.a?(t.a<0?t.a=0:t.a>1&&(t.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*t.a)/100,source:"rgb"},e)):(t.h||t.s||t.l)&&("string"==typeof t.s&&t.s.includes("%")&&(t.s=t.s.replace("%","")),"string"==typeof t.l&&t.l.includes("%")&&(t.l=t.l.replace("%","")),r.props.onChange({h:t.h||r.props.hsl.h,s:Number(t.s&&t.s||r.props.hsl.s),l:Number(t.l&&t.l||r.props.hsl.l),source:"hsl"},e))},r.showHighlight=function(t){t.currentTarget.style.background="#eee"},r.hideHighlight=function(t){t.currentTarget.style.background="transparent"},l(r,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default.Component),r(e,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(t){1!==t.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var t=this,e=(0,o.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),n=void 0;return"hex"===this.state.view?n=i.default.createElement("div",{style:e.fields,className:"flexbox-fix"},i.default.createElement("div",{style:e.field},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?n=i.default.createElement("div",{style:e.fields,className:"flexbox-fix"},i.default.createElement("div",{style:e.field},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),i.default.createElement("div",{style:e.field},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),i.default.createElement("div",{style:e.field},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),i.default.createElement("div",{style:e.alpha},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(n=i.default.createElement("div",{style:e.fields,className:"flexbox-fix"},i.default.createElement("div",{style:e.field},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),i.default.createElement("div",{style:e.field},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),i.default.createElement("div",{style:e.field},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),i.default.createElement("div",{style:e.alpha},i.default.createElement(u.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),i.default.createElement("div",{style:e.wrap,className:"flexbox-fix"},n,i.default.createElement("div",{style:e.toggle},i.default.createElement("div",{style:e.icon,onClick:this.toggleViews,ref:function(e){return t.icon=e}},i.default.createElement(s.default,{style:e.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}]),e}();e.default=f},Rqdy:function(t,e,n){var r=n("Y7ZC");r(r.S+r.F*!n("jmDH"),"Object",{defineProperty:n("2faE").f})},RxwV:function(t,e,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("17x9"),a=n.n(o),u=n("uciX"),s=n("2W6z"),c=n.n(s),l=n("4IlW"),f=n("uK0f"),h=n.n(f),d=n("wrOu"),p=n.n(d),v=n("VCL8"),g=n("i8i4"),y=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},m=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();var b=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.saveMenuItem=function(t){return function(e){n.menuItems[t]=e}},n.menuItems={},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.a.Component),m(e,[{key:"componentDidMount",value:function(){this.scrollActiveItemToView()}},{key:"componentDidUpdate",value:function(t){!t.visible&&this.props.visible&&this.scrollActiveItemToView()}},{key:"getFieldName",value:function(t){var e=this.props,n=e.fieldNames,r=e.defaultFieldNames;return n[t]||r[t]}},{key:"getOption",value:function(t,e){var n=this.props,r=n.prefixCls,o=n.expandTrigger,a=n.expandIcon,u=n.loadingIcon,s=this.props.onSelect.bind(this,t,e),c={onClick:s,onDoubleClick:this.props.onItemDoubleClick.bind(this,t,e)},l=r+"-menu-item",f=null,h=t[this.getFieldName("children")]&&t[this.getFieldName("children")].length>0;(h||!1===t.isLeaf)&&(l+=" "+r+"-menu-item-expand",t.loading||(f=i.a.createElement("span",{className:r+"-menu-item-expand-icon"},a))),"hover"!==o||!h&&!1!==t.isLeaf||(c={onMouseEnter:this.delayOnSelect.bind(this,s),onMouseLeave:this.delayOnSelect.bind(this),onClick:s}),this.isActiveOption(t,e)&&(l+=" "+r+"-menu-item-active",c.ref=this.saveMenuItem(e)),t.disabled&&(l+=" "+r+"-menu-item-disabled");var d=null;t.loading&&(l+=" "+r+"-menu-item-loading",d=u||null);var p="";return"title"in t?p=t.title:"string"==typeof t[this.getFieldName("label")]&&(p=t[this.getFieldName("label")]),i.a.createElement("li",y({key:t[this.getFieldName("value")],className:l,title:p},c,{role:"menuitem",onMouseDown:function(t){return t.preventDefault()}}),t[this.getFieldName("label")],f,d)}},{key:"getActiveOptions",value:function(t){var e=this,n=t||this.props.activeValue,r=this.props.options;return h()(r,function(t,r){return t[e.getFieldName("value")]===n[r]},{childrenKeyName:this.getFieldName("children")})}},{key:"getShowOptions",value:function(){var t=this,e=this.props.options,n=this.getActiveOptions().map(function(e){return e[t.getFieldName("children")]}).filter(function(t){return!!t});return n.unshift(e),n}},{key:"delayOnSelect",value:function(t){for(var e=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null),"function"==typeof t&&(this.delayTimer=setTimeout(function(){t(r),e.delayTimer=null},150))}},{key:"scrollActiveItemToView",value:function(){for(var t=this.getShowOptions().length,e=0;e<t;e++){var n=this.menuItems[e];if(n){var r=Object(g.findDOMNode)(n);r.parentNode.scrollTop=r.offsetTop}}}},{key:"isActiveOption",value:function(t,e){var n=this.props.activeValue;return(void 0===n?[]:n)[e]===t[this.getFieldName("value")]}},{key:"render",value:function(){var t=this,e=this.props,n=e.prefixCls,r=e.dropdownMenuColumnStyle;return i.a.createElement("div",null,this.getShowOptions().map(function(e,o){return i.a.createElement("ul",{className:n+"-menu",key:o,style:r},e.map(function(e){return t.getOption(e,o)}))}))}}]),e}();b.defaultProps={options:[],value:[],activeValue:[],onSelect:function(){},prefixCls:"rc-cascader-menus",visible:!1,expandTrigger:"click"},b.propTypes={value:a.a.array,activeValue:a.a.array,options:a.a.array,prefixCls:a.a.string,expandTrigger:a.a.string,onSelect:a.a.func,visible:a.a.bool,dropdownMenuColumnStyle:a.a.object,defaultFieldNames:a.a.object,fieldNames:a.a.object,expandIcon:a.a.node,loadingIcon:a.a.node,onItemDoubleClick:a.a.func};var x=b,w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function S(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var k=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));n.setPopupVisible=function(t){"popupVisible"in n.props||n.setState({popupVisible:t}),t&&!n.state.popupVisible&&n.setState({activeValue:n.state.value}),n.props.onPopupVisibleChange(t)},n.handleChange=function(t,e,r){"keydown"===r.type&&r.keyCode!==l.a.ENTER||(n.props.onChange(t.map(function(t){return t[n.getFieldName("value")]}),t),n.setPopupVisible(e.visible))},n.handlePopupVisibleChange=function(t){n.setPopupVisible(t)},n.handleMenuSelect=function(t,e,r){var i=n.trigger.getRootDomNode();i&&i.focus&&i.focus();var o=n.props,a=o.changeOnSelect,u=o.loadData,s=o.expandTrigger;if(t&&!t.disabled){var c=n.state.activeValue;(c=c.slice(0,e+1))[e]=t[n.getFieldName("value")];var f=n.getActiveOptions(c);if(!1===t.isLeaf&&!t[n.getFieldName("children")]&&u)return a&&n.handleChange(f,{visible:!0},r),n.setState({activeValue:c}),void u(f);var h={};t[n.getFieldName("children")]&&t[n.getFieldName("children")].length?!a||"click"!==r.type&&"keydown"!==r.type||("hover"===s?n.handleChange(f,{visible:!1},r):n.handleChange(f,{visible:!0},r),h.value=c):(n.handleChange(f,{visible:!1},r),h.value=c),h.activeValue=c,("value"in n.props||"keydown"===r.type&&r.keyCode!==l.a.ENTER)&&delete h.value,n.setState(h)}},n.handleItemDoubleClick=function(){n.props.changeOnSelect&&n.setPopupVisible(!1)},n.handleKeyDown=function(t){var e=n.props.children;if(e&&e.props.onKeyDown)e.props.onKeyDown(t);else{var r=[].concat(S(n.state.activeValue)),i=r.length-1<0?0:r.length-1,o=n.getCurrentLevelOptions(),a=o.map(function(t){return t[n.getFieldName("value")]}).indexOf(r[i]);if(t.keyCode===l.a.DOWN||t.keyCode===l.a.UP||t.keyCode===l.a.LEFT||t.keyCode===l.a.RIGHT||t.keyCode===l.a.ENTER||t.keyCode===l.a.SPACE||t.keyCode===l.a.BACKSPACE||t.keyCode===l.a.ESC||t.keyCode===l.a.TAB)if(n.state.popupVisible||t.keyCode===l.a.BACKSPACE||t.keyCode===l.a.LEFT||t.keyCode===l.a.RIGHT||t.keyCode===l.a.ESC||t.keyCode===l.a.TAB){if(t.keyCode===l.a.DOWN||t.keyCode===l.a.UP){t.preventDefault();var u=a;u=-1!==u?t.keyCode===l.a.DOWN?(u+=1)>=o.length?0:u:(u-=1)<0?o.length-1:u:0,r[i]=o[u][n.getFieldName("value")]}else if(t.keyCode===l.a.LEFT||t.keyCode===l.a.BACKSPACE)t.preventDefault(),r.splice(r.length-1,1);else if(t.keyCode===l.a.RIGHT)t.preventDefault(),o[a]&&o[a][n.getFieldName("children")]&&r.push(o[a][n.getFieldName("children")][0][n.getFieldName("value")]);else if(t.keyCode===l.a.ESC||t.keyCode===l.a.TAB)return void n.setPopupVisible(!1);r&&0!==r.length||n.setPopupVisible(!1);var s=n.getActiveOptions(r),c=s[s.length-1];n.handleMenuSelect(c,s.length-1,t),n.props.onKeyDown&&n.props.onKeyDown(t)}else n.setPopupVisible(!0)}},n.saveTrigger=function(t){n.trigger=t};var r=[];return"value"in t?r=t.value||[]:"defaultValue"in t&&(r=t.defaultValue||[]),c()(!("filedNames"in t),"`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead."),n.state={popupVisible:t.popupVisible,activeValue:r,value:r,prevProps:t},n.defaultFieldNames={label:"label",value:"value",children:"children"},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r["Component"]),_(e,[{key:"getPopupDOMNode",value:function(){return this.trigger.getPopupDomNode()}},{key:"getFieldName",value:function(t){var e=this.defaultFieldNames,n=this.props,r=n.fieldNames,i=n.filedNames;return"filedNames"in this.props?i[t]||e[t]:r[t]||e[t]}},{key:"getFieldNames",value:function(){var t=this.props,e=t.fieldNames,n=t.filedNames;return"filedNames"in this.props?n:e}},{key:"getCurrentLevelOptions",value:function(){var t=this,e=this.props.options,n=void 0===e?[]:e,r=this.state.activeValue,i=void 0===r?[]:r,o=h()(n,function(e,n){return e[t.getFieldName("value")]===i[n]},{childrenKeyName:this.getFieldName("children")});return o[o.length-2]?o[o.length-2][this.getFieldName("children")]:[].concat(S(n)).filter(function(t){return!t.disabled})}},{key:"getActiveOptions",value:function(t){var e=this;return h()(this.props.options||[],function(n,r){return n[e.getFieldName("value")]===t[r]},{childrenKeyName:this.getFieldName("children")})}},{key:"render",value:function(){var t=this.props,e=t.prefixCls,n=t.transitionName,o=t.popupClassName,a=t.options,s=void 0===a?[]:a,c=t.disabled,l=t.builtinPlacements,f=t.popupPlacement,h=t.children,d=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["prefixCls","transitionName","popupClassName","options","disabled","builtinPlacements","popupPlacement","children"]),p=i.a.createElement("div",null),v="";return s&&s.length>0?p=i.a.createElement(x,w({},this.props,{fieldNames:this.getFieldNames(),defaultFieldNames:this.defaultFieldNames,activeValue:this.state.activeValue,onSelect:this.handleMenuSelect,onItemDoubleClick:this.handleItemDoubleClick,visible:this.state.popupVisible})):v=" "+e+"-menus-empty",i.a.createElement(u.a,w({ref:this.saveTrigger},d,{options:s,disabled:c,popupPlacement:f,builtinPlacements:l,popupTransitionName:n,action:c?[]:["click"],popupVisible:!c&&this.state.popupVisible,onPopupVisibleChange:this.handlePopupVisibleChange,prefixCls:e+"-menus",popupClassName:o+v,popup:p}),Object(r.cloneElement)(h,{onKeyDown:this.handleKeyDown,tabIndex:c?void 0:0}))}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=void 0===n?{}:n,i={prevProps:t};return"value"in t&&!p()(r.value,t.value)&&(i.value=t.value||[],"loadData"in t||(i.activeValue=t.value||[])),"popupVisible"in t&&(i.popupVisible=t.popupVisible),i}}]),e}();k.defaultProps={onChange:function(){},onPopupVisibleChange:function(){},disabled:!1,transitionName:"",prefixCls:"rc-cascader",popupClassName:"",popupPlacement:"bottomLeft",builtinPlacements:{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:1,adjustY:1}}},expandTrigger:"click",fieldNames:{label:"label",value:"value",children:"children"},expandIcon:">"},k.propTypes={value:a.a.array,defaultValue:a.a.array,options:a.a.array.isRequired,onChange:a.a.func,onPopupVisibleChange:a.a.func,popupVisible:a.a.bool,disabled:a.a.bool,transitionName:a.a.string,popupClassName:a.a.string,popupPlacement:a.a.string,prefixCls:a.a.string,dropdownMenuColumnStyle:a.a.object,builtinPlacements:a.a.object,loadData:a.a.func,changeOnSelect:a.a.bool,children:a.a.node,onKeyDown:a.a.func,expandTrigger:a.a.string,fieldNames:a.a.object,filedNames:a.a.object,expandIcon:a.a.node,loadingIcon:a.a.node},Object(v.polyfill)(k);var E=k;e.a=E},"S/j/":function(t,e,n){var r=n("vhPU");t.exports=function(t){return Object(r(t))}},S1nX:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("xlPZ"),i=n("yGWI"),o=n("K9Ia");function a(){return new o.b}function u(){return function(t){return Object(i.a)()(Object(r.a)(a)(t))}}},S3Uj:function(t,e,n){"use strict";e.__esModule=!0,e.default=e.EXITING=e.ENTERED=e.ENTERING=e.EXITED=e.UNMOUNTED=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("17x9")),i=u(n("q1tI")),o=u(n("i8i4")),a=n("VCL8");n("xfxO");function u(t){return t&&t.__esModule?t:{default:t}}var s="unmounted";e.UNMOUNTED=s;var c="exited";e.EXITED=c;var l="entering";e.ENTERING=l;var f="entered";e.ENTERED=f;e.EXITING="exiting";var h=function(t){var e,n;function r(e,n){var r;r=t.call(this,e,n)||this;var i,o=n.transitionGroup,a=o&&!o.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?a?(i=c,r.appearStatus=l):i=f:i=e.unmountOnExit||e.mountOnEnter?s:c,r.state={status:i},r.nextCallback=null,r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getChildContext=function(){return{transitionGroup:null}},r.getDerivedStateFromProps=function(t,e){return t.in&&e.status===s?{status:c}:null},a.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},a.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==l&&n!==f&&(e=l):n!==l&&n!==f||(e="exiting")}this.updateStatus(!1,e)},a.componentWillUnmount=function(){this.cancelNextCallback()},a.getTimeouts=function(){var t,e,n,r=this.props.timeout;return t=e=n=r,null!=r&&"number"!=typeof r&&(t=r.exit,e=r.enter,n=void 0!==r.appear?r.appear:e),{exit:t,enter:e,appear:n}},a.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e){this.cancelNextCallback();var n=o.default.findDOMNode(this);e===l?this.performEnter(n,t):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:s})},a.performEnter=function(t,e){var n=this,r=this.props.enter,i=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,o=this.getTimeouts(),a=i?o.appear:o.enter;e||r?(this.props.onEnter(t,i),this.safeSetState({status:l},function(){n.props.onEntering(t,i),n.onTransitionEnd(t,a,function(){n.safeSetState({status:f},function(){n.props.onEntered(t,i)})})})):this.safeSetState({status:f},function(){n.props.onEntered(t)})},a.performExit=function(t){var e=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(t),this.safeSetState({status:"exiting"},function(){e.props.onExiting(t),e.onTransitionEnd(t,r.exit,function(){e.safeSetState({status:c},function(){e.props.onExited(t)})})})):this.safeSetState({status:c},function(){e.props.onExited(t)})},a.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},a.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},a.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,e.nextCallback=null,t(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},a.onTransitionEnd=function(t,e,n){this.setNextCallback(n);var r=null==e&&!this.props.addEndListener;t&&!r?(this.props.addEndListener&&this.props.addEndListener(t,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)):setTimeout(this.nextCallback,0)},a.render=function(){var t=this.state.status;if(t===s)return null;var e=this.props,n=e.children,r=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(e,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(t,r);var o=i.default.Children.only(n);return i.default.cloneElement(o,r)},r}(i.default.Component);function d(){}h.contextTypes={transitionGroup:r.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:d,onEntering:d,onEntered:d,onExit:d,onExiting:d,onExited:d},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var p=(0,a.polyfill)(h);e.default=p},S5XQ:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("DKTb"),i=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.a),e}}},S5bw:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("mrSG"),i=n("K9Ia"),o=n("zo3G"),a=n("pugT"),u=n("mZXl"),s=n("8g8A"),c=n("uMaO"),l=function(t){function e(e,n,r){void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=Number.POSITIVE_INFINITY);var i=t.call(this)||this;return i.scheduler=r,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=e<1?1:e,i._windowTime=n<1?1:n,n===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return r.__extends(e,t),e.prototype.nextInfiniteTimeWindow=function(e){var n=this._events;n.push(e),n.length>this._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new f(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,o=r.length;if(this.closed)throw new s.a;if(this.isStopped||this.hasError?e=a.a.EMPTY:(this.observers.push(t),e=new c.a(this,t)),i&&t.add(t=new u.a(t,i)),n)for(var l=0;l<o&&!t.closed;l++)t.next(r[l]);else for(l=0;l<o&&!t.closed;l++)t.next(r[l].value);return this.hasError?t.error(this.thrownError):this.isStopped&&t.complete(),e},e.prototype._getNow=function(){return(this.scheduler||o.a).now()},e.prototype._trimBufferThenGetEvents=function(){for(var t=this._getNow(),e=this._bufferSize,n=this._windowTime,r=this._events,i=r.length,o=0;o<i&&!(t-r[o].time<n);)o++;return i>e&&(o=Math.max(o,i-e)),o>0&&r.splice(0,o),r},e}(i.b),f=function(){return function(t,e){this.time=t,this.value=e}}()},S7Xf:function(t,e,n){var r=n("4uTw"),i=n("RBan"),o=n("gpbi"),a=n("9Nap");t.exports=function(t,e){return e=r(e,t),null==(t=o(t,e))||delete t[a(i(e))]}},SBuE:function(t,e){t.exports={}},"SC+/":function(t,e,n){"use strict";var r=n("FmoU");n.d(e,"a",function(){return r.e}),n.d(e,"h",function(){return r.g}),n.d(e,"e",function(){return r.f});var i=n("YvDT");n.d(e,"f",function(){return i.a}),n.d(e,"d",function(){return i.c}),n.d(e,"g",function(){return i.d}),n.d(e,"c",function(){return i.b});var o=n("Faen");n.d(e,"b",function(){return o.a})},SEkw:function(t,e,n){t.exports={default:n("RU/L"),__esModule:!0}},SKAX:function(t,e,n){var r=n("JC6p"),i=n("lQqw")(r);t.exports=i},SLVX:function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",function(){return r})},SMB2:function(t,e,n){"use strict";n("OGtf")("bold",function(t){return function(){return t(this,"b","","")}})},SPin:function(t,e,n){"use strict";var r=n("XKFU"),i=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},SRfc:function(t,e,n){"use strict";var r=n("y3w9"),i=n("ne8i"),o=n("A5AN"),a=n("Xxuz");n("IU+Z")("match",1,function(t,e,n,u){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=u(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this);if(!s.global)return a(s,c);var l=s.unicode;s.lastIndex=0;for(var f,h=[],d=0;null!==(f=a(s,c));){var p=String(f[0]);h[d]=p,""===p&&(s.lastIndex=o(c,i(s.lastIndex),l)),d++}return 0===d?null:h}]})},STM2:function(t,e,n){n("aq+q"),t.exports="ngRoute"},Sbde:function(t,e,n){"use strict";n.r(e),n.d(e,"getUserLocales",function(){return o}),n.d(e,"getUserLocale",function(){return a});var r=n("60yG"),i=n.n(r);var o=i()(function(){var t=[];return"undefined"!=typeof window&&(window.navigator.languages&&(t=t.concat(window.navigator.languages)),window.navigator.language&&t.push(window.navigator.language),window.navigator.userLanguage&&t.push(window.navigator.userLanguage),window.navigator.browserLanguage&&t.push(window.navigator.browserLanguage),window.navigator.systemLanguage&&t.push(window.navigator.systemLanguage)),t.push("en-US"),function(t){return t.map(function(t){if(!t||-1===t.indexOf("-")||t.toLowerCase()!==t)return t;var e=t.split("-");return"".concat(e[0],"-").concat(e[1].toUpperCase())})}(t.filter(function(t,e,n){return n.indexOf(t)===e}))});var a=i()(function(){return o()[0]});e.default=a},SfRM:function(t,e,n){var r=n("YESw");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},Si88:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;!function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}e.default=t}(n("17x9"));var r=u(n("ycFn")),i=u(n("VOcB")),o=u(n("q1tI")),a=u(n("S3Uj"));n("xfxO");function u(t){return t&&t.__esModule?t:{default:t}}function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var c=function(t,e){return t&&e&&e.split(" ").forEach(function(e){return(0,r.default)(t,e)})},l=function(t,e){return t&&e&&e.split(" ").forEach(function(e){return(0,i.default)(t,e)})},f=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this).onEnter=function(t,n){var r=e.getClassNames(n?"appear":"enter").className;e.removeClasses(t,"exit"),c(t,r),e.props.onEnter&&e.props.onEnter(t,n)},e.onEntering=function(t,n){var r=e.getClassNames(n?"appear":"enter").activeClassName;e.reflowAndAddClass(t,r),e.props.onEntering&&e.props.onEntering(t,n)},e.onEntered=function(t,n){var r=e.getClassNames("enter").doneClassName;e.removeClasses(t,n?"appear":"enter"),c(t,r),e.props.onEntered&&e.props.onEntered(t,n)},e.onExit=function(t){var n=e.getClassNames("exit").className;e.removeClasses(t,"appear"),e.removeClasses(t,"enter"),c(t,n),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var n=e.getClassNames("exit").activeClassName;e.reflowAndAddClass(t,n),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var n=e.getClassNames("exit").doneClassName;e.removeClasses(t,"exit"),c(t,n),e.props.onExited&&e.props.onExited(t)},e.getClassNames=function(t){var n=e.props.classNames,r="string"!=typeof n?n[t]:n+"-"+t;return{className:r,activeClassName:"string"!=typeof n?n[t+"Active"]:r+"-active",doneClassName:"string"!=typeof n?n[t+"Done"]:r+"-done"}},e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.removeClasses=function(t,e){var n=this.getClassNames(e),r=n.className,i=n.activeClassName,o=n.doneClassName;r&&l(t,r),i&&l(t,i),o&&l(t,o)},i.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,c(t,e))},i.render=function(){var t=s({},this.props);return delete t.classNames,o.default.createElement(a.default,s({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(o.default.Component);f.propTypes={};var h=f;e.default=h,t.exports=e.default},SlkY:function(t,e,n){var r=n("m0Pp"),i=n("H6hf"),o=n("M6Qj"),a=n("y3w9"),u=n("ne8i"),s=n("J+6e"),c={},l={};(e=t.exports=function(t,e,n,f,h){var d,p,v,g,y=h?function(){return t}:s(t),m=r(n,f,e?2:1),b=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=u(t.length);d>b;b++)if((g=e?m(a(p=t[b])[0],p[1]):m(t[b]))===c||g===l)return g}else for(v=y.call(t);!(p=v.next()).done;)if((g=i(v,m,p.value,e))===c||g===l)return g}).BREAK=c,e.RETURN=l},Sxd8:function(t,e,n){var r=n("ZCgT");t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},Syy6:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlphaPointer=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.AlphaPointer=function(t){var e=t.direction,n=(0,i.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===e});return r.default.createElement("div",{style:n.picker})};e.default=a},T1AV:function(t,e,n){var r=n("t2Dn"),i=n("5Tg0"),o=n("yP5f"),a=n("Q1l4"),u=n("+iFO"),s=n("03A+"),c=n("Z0cm"),l=n("3L66"),f=n("DSRE"),h=n("lSCD"),d=n("GoyQ"),p=n("YO3V"),v=n("c6wG"),g=n("itsj"),y=n("jeLo");t.exports=function(t,e,n,m,b,x,w){var _=g(t,n),S=g(e,n),k=w.get(S);if(k)r(t,n,k);else{var E=x?x(_,S,n+"",t,e,w):void 0,O=void 0===E;if(O){var C=c(S),A=!C&&f(S),T=!C&&!A&&v(S);E=S,C||A||T?c(_)?E=_:l(_)?E=a(_):A?(O=!1,E=i(S,!0)):T?(O=!1,E=o(S,!0)):E=[]:p(S)||s(S)?(E=_,s(_)?E=y(_):d(_)&&!h(_)||(E=u(S))):O=!1}O&&(w.set(S,E),b(E,S,m,x,w),w.delete(S)),r(t,n,E)}}},T1DM:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("h9Dq"),i=new(n("CS9Q").a)(r.a)},T39b:function(t,e,n){"use strict";var r=n("wmvG"),i=n("s5qY");t.exports=n("4LiD")("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},TAZq:function(t,e,n){t.exports=function(){"use strict";return function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,r,i,o,a,u,s,c,l,f){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return t(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return t(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(e)}}}}()},TFNB:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mergeStyles=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){d(t,e,n[e])})}return t}({},t);return Object.keys(e).forEach(function(r){t[r]?n[r]=function(n,i){return e[r](t[r](n,i),i)}:n[r]=e[r]}),n},e.defaultStyles=void 0;var r=n("5/gw"),i=n("me9V"),o=n("iF6m"),a=n("tqrz"),u=n("lukA"),s=n("P8nk"),c=n("dqo8"),l=n("pyGu"),f=n("zEbV"),h=n("U3gl");function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var p={clearIndicator:a.clearIndicatorCSS,container:r.containerCSS,control:i.css,dropdownIndicator:a.dropdownIndicatorCSS,group:o.groupCSS,groupHeading:o.groupHeadingCSS,indicatorsContainer:r.indicatorsContainerCSS,indicatorSeparator:a.indicatorSeparatorCSS,input:u.inputCSS,loadingIndicator:a.loadingIndicatorCSS,loadingMessage:l.loadingMessageCSS,menu:l.menuCSS,menuList:l.menuListCSS,menuPortal:l.menuPortalCSS,multiValue:h.multiValueCSS,multiValueLabel:h.multiValueLabelCSS,multiValueRemove:h.multiValueRemoveCSS,noOptionsMessage:l.noOptionsMessageCSS,option:c.optionCSS,placeholder:s.placeholderCSS,singleValue:f.css,valueContainer:r.valueContainerCSS};e.defaultStyles=p},THLb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.calculateChange=function(t,e,n,r){t.preventDefault();var i=r.clientWidth,o=r.clientHeight,a="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,u="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,s=a-(r.getBoundingClientRect().left+window.pageXOffset),c=u-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var l=void 0;if(l=c<0?0:c>o?1:Math.round(100*c/o)/100,n.hsl.a!==l)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:l,source:"rgb"}}else{var f=void 0;if(f=s<0?0:s>i?1:Math.round(100*s/i)/100,n.a!==f)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:f,source:"rgb"}}return null}},TIpR:function(t,e,n){"use strict";n("VRzm"),n("CX2u"),t.exports=n("g3g5").Promise.finally},TM95:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("yOY4");Object.defineProperty(e,"Alpha",{enumerable:!0,get:function(){return f(r).default}});var i=n("Nq3d");Object.defineProperty(e,"Checkboard",{enumerable:!0,get:function(){return f(i).default}});var o=n("AnK5");Object.defineProperty(e,"EditableInput",{enumerable:!0,get:function(){return f(o).default}});var a=n("HlQe");Object.defineProperty(e,"Hue",{enumerable:!0,get:function(){return f(a).default}});var u=n("Ojt5");Object.defineProperty(e,"Raised",{enumerable:!0,get:function(){return f(u).default}});var s=n("ccyi");Object.defineProperty(e,"Saturation",{enumerable:!0,get:function(){return f(s).default}});var c=n("UGzO");Object.defineProperty(e,"ColorWrap",{enumerable:!0,get:function(){return f(c).default}});var l=n("Ba7A");function f(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"Swatch",{enumerable:!0,get:function(){return f(l).default}})},TOwV:function(t,e,n){"use strict";t.exports=n("qT12")},TSYQ:function(t,e,n){var r; /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /*! Copyright (c) 2017 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ !function(){"use strict";var n={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var o=typeof r;if("string"===o||"number"===o)t.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&t.push(a)}else if("object"===o)for(var u in r)n.call(r,u)&&r[u]&&t.push(u)}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(r=function(){return i}.apply(e,[]))||(t.exports=r)}()},TYy9:function(t,e,n){var r=n("XGnz");t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},Tdpu:function(t,e,n){n("7DDg")("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},ToH2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return!1}},"Tpf+":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var r=c(n("q1tI")),i=c(n("17x9")),o=c(n("j8Z3")),a=n("ragC"),u=n("yMCc"),s=n("4UG0");function c(t){return t&&t.__esModule?t:{default:t}}function l(t){for(var e=t.calendarType,n=t.formatShortWeekday,i=t.locale,s=t.onMouseLeave,c=new Date,l=(0,a.getBeginOfMonth)(c),f=(0,a.getYear)(l),h=(0,a.getMonthIndex)(l),d=[],p=1;p<=7;p+=1){var v=new Date(f,h,p-(0,a.getDayOfWeek)(l,e)),g=(0,u.formatWeekday)(i,v);d.push(r.default.createElement("div",{key:p,className:"react-calendar__month-view__weekdays__weekday"},r.default.createElement("abbr",{"aria-label":g,title:g},n(i,v).replace(".",""))))}return r.default.createElement(o.default,{className:"react-calendar__month-view__weekdays",count:7,onFocus:s,onMouseOver:s},d)}l.defaultProps={formatShortWeekday:u.formatShortWeekday},l.propTypes={calendarType:s.isCalendarType.isRequired,formatShortWeekday:i.default.func,locale:i.default.string,onMouseLeave:i.default.func}},TqRt:function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},Txjg:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("Zn8D");function i(){return Object(r.a)(1)}},Tze0:function(t,e,n){"use strict";n("qncB")("trim",function(t){return function(){return t(this,3)}})},"U+KD":function(t,e,n){var r=n("B+OT"),i=n("JB68"),o=n("VVlx")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},U2t9:function(t,e,n){var r=n("XKFU"),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},U3gl:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.MultiValueRemove=e.MultiValueLabel=e.MultiValueContainer=e.MultiValueGeneric=e.multiValueRemoveCSS=e.multiValueLabelCSS=e.multiValueCSS=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),i=n("PAeb"),o=n("tqrz");function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){s(t,e,n[e])})}return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function f(t,e,n){return e&&l(t.prototype,e),n&&l(t,n),t}function h(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}function v(t,e){return(v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}e.multiValueCSS=function(t){var e=t.theme,n=e.spacing,r=e.borderRadius;return{backgroundColor:e.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}};e.multiValueLabelCSS=function(t){var e=t.theme,n=e.borderRadius,r=e.colors,i=t.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:i?"ellipsis":null,whiteSpace:"nowrap"}};e.multiValueRemoveCSS=function(t){var e=t.theme,n=e.spacing,r=e.borderRadius,i=e.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:t.isFocused&&i.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}}};var g=function(t){var e=t.children,n=t.innerProps;return r.default.createElement("div",n,e)};e.MultiValueGeneric=g;var y=g;e.MultiValueContainer=y;var m=g;e.MultiValueLabel=m;var b=function(t){function e(){return c(this,e),h(this,d(e).apply(this,arguments))}return p(e,r.Component),f(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.innerProps;return r.default.createElement("div",n,e||r.default.createElement(o.CrossIcon,{size:14}))}}]),e}();e.MultiValueRemove=b;var x=function(t){function e(){return c(this,e),h(this,d(e).apply(this,arguments))}return p(e,r.Component),f(e,[{key:"render",value:function(){var t=this.props,e=t.children,n=t.className,o=t.components,a=t.cx,s=t.data,c=t.getStyles,l=t.innerProps,f=t.isDisabled,h=t.removeProps,d=t.selectProps,p=o.Container,v=o.Label,g=o.Remove,y=u({className:a((0,i.css)(c("multiValue",this.props)),{"multi-value":!0,"multi-value--is-disabled":f},n)},l),m={className:a((0,i.css)(c("multiValueLabel",this.props)),{"multi-value__label":!0},n)},b=u({className:a((0,i.css)(c("multiValueRemove",this.props)),{"multi-value__remove":!0},n)},h);return r.default.createElement(p,{data:s,innerProps:y,selectProps:d},r.default.createElement(v,{data:s,innerProps:m,selectProps:d},e),r.default.createElement(g,{data:s,innerProps:b,selectProps:d}))}}]),e}();s(x,"defaultProps",{cropWithEllipsis:!0});var w=x;e.default=w},UB5X:function(t,e,n){var r=n("NykK"),i=n("ExA7"),o="[object Number]";t.exports=function(t){return"number"==typeof t||i(t)&&r(t)==o}},UExd:function(t,e,n){var r=n("nh4g"),i=n("DVgA"),o=n("aCFj"),a=n("UqcF").f;t.exports=function(t){return function(e){for(var n,u=o(e),s=i(u),c=s.length,l=0,f=[];c>l;)n=s[l++],r&&!a.call(u,n)||f.push(t?[n,u[n]]:u[n]);return f}}},UGzO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorWrap=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n("q1tI"),a=c(o),u=c(n("sEfC")),s=c(n("p8yl"));function c(t){return t&&t.__esModule?t:{default:t}}var l=e.ColorWrap=function(t){var e=function(e){function n(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);var e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return e.handleChange=function(t,n){if(s.default.simpleCheckForValidColor(t)){var r=s.default.toState(t,t.h||e.state.oldHue);e.setState(r),e.props.onChangeComplete&&e.debounce(e.props.onChangeComplete,r,n),e.props.onChange&&e.props.onChange(r,n)}},e.handleSwatchHover=function(t,n){if(s.default.simpleCheckForValidColor(t)){var r=s.default.toState(t,t.h||e.state.oldHue);e.setState(r),e.props.onSwatchHover&&e.props.onSwatchHover(r,n)}},e.state=r({},s.default.toState(t.color,0)),e.debounce=(0,u.default)(function(t,e,n){t(e,n)},100),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,o.PureComponent||o.Component),i(n,[{key:"componentWillReceiveProps",value:function(t){this.setState(r({},s.default.toState(t.color,this.state.oldHue)))}},{key:"render",value:function(){var e={};return this.props.onSwatchHover&&(e.onSwatchHover=this.handleSwatchHover),a.default.createElement(t,r({},this.props,this.state,{onChange:this.handleChange},e))}}]),n}();return e.propTypes=r({},t.propTypes),e.defaultProps=r({},t.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),e};e.default=l},UMY1:function(t,e,n){var r=n("oMRN"),i=n("JD84"),o=n("ut/Y"),a=n("Z0cm");t.exports=function(t,e){return function(n,u){var s=a(n)?r:i,c=e?e():{};return s(n,t,o(u,2),c)}}},"UNi/":function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},UO39:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},UOFQ:function(t,e,n){var r=n("63Hc");function i(t){var e=r.spaceIndex(t);if(-1===e)var n=t.slice(1,-1);else n=t.slice(1,e+1);return"/"===(n=r.trim(n).toLowerCase()).slice(0,1)&&(n=n.slice(1)),"/"===n.slice(-1)&&(n=n.slice(0,-1)),n}function o(t){return"</"===t.slice(0,2)}var a=/[^a-zA-Z0-9_:\.\-]/gim;function u(t,e){for(;e<t.length;e++){var n=t[e];if(" "!==n)return"="===n?e:-1}}function s(t,e){for(;e>0;e--){var n=t[e];if(" "!==n)return"="===n?e:-1}}function c(t){return function(t){return'"'===t[0]&&'"'===t[t.length-1]||"'"===t[0]&&"'"===t[t.length-1]}(t)?t.substr(1,t.length-2):t}e.parseTag=function(t,e,n){var r="",a=0,u=!1,s=!1,c=0,l=t.length,f="",h="";for(c=0;c<l;c++){var d=t.charAt(c);if(!1===u){if("<"===d){u=c;continue}}else if(!1===s){if("<"===d){r+=n(t.slice(a,c)),u=c,a=c;continue}if(">"===d){r+=n(t.slice(a,u)),f=i(h=t.slice(u,c+1)),r+=e(u,r.length,f,h,o(h)),a=c+1,u=!1;continue}if(('"'===d||"'"===d)&&"="===t.charAt(c-1)){s=d;continue}}else if(d===s){s=!1;continue}}return a<t.length&&(r+=n(t.substr(a))),r},e.parseAttr=function(t,e){var n=0,i=[],o=!1,l=t.length;function f(t,n){if(!((t=(t=r.trim(t)).replace(a,"").toLowerCase()).length<1)){var o=e(t,n||"");o&&i.push(o)}}for(var h=0;h<l;h++){var d,p=t.charAt(h);if(!1!==o||"="!==p)if(!1===o||h!==n||'"'!==p&&"'"!==p||"="!==t.charAt(h-1)){if(/\s|\n|\t/.test(p)){if(t=t.replace(/\s|\n|\t/g," "),!1===o){if(-1===(d=u(t,h))){f(r.trim(t.slice(n,h))),o=!1,n=h+1;continue}h=d-1;continue}if(-1===(d=s(t,h-1))){f(o,c(r.trim(t.slice(n,h)))),o=!1,n=h+1;continue}}}else{if(-1===(d=t.indexOf(p,h+1)))break;f(o,r.trim(t.slice(n+1,d))),o=!1,n=(h=d)+1}else o=t.slice(n,h),n=h+1}return n<t.length&&(!1===o?f(t.slice(n)):f(o,c(r.trim(t.slice(n))))),r.trim(i.join(" "))}},USEA:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LOCK_STYLES=e.STYLE_KEYS=void 0;e.STYLE_KEYS=["boxSizing","height","overflow","paddingRight","position"];e.LOCK_STYLES={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"}},UUeW:function(t,e,n){var r=n("K0xU")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},UWiX:function(t,e,n){var r=n("29s/")("wks"),i=n("YqAc"),o=n("5T2Y").Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},Uaxt:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});for(var r="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),i={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},o={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:r?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},a={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},u=1;u<20;u++)a["f"+u]=111+u;function s(t,e,n){!e||"byKey"in e||(n=e,e=null),Array.isArray(t)||(t=[t]);var r=t.map(function(t){return c(t,e)}),i=function(t){return r.some(function(e){return l(e,t)})};return null==n?i:i(n)}function c(t,e){var n=e&&e.byKey,r={},o=(t=t.replace("++","+add")).split("+"),a=o.length;for(var u in i)r[i[u]]=!1;var s=!0,c=!1,l=void 0;try{for(var d,p=o[Symbol.iterator]();!(s=(d=p.next()).done);s=!0){var v=d.value,g=v.endsWith("?");g&&(v=v.slice(0,-1));var y=h(v),m=i[y];1!==a&&m||(n?r.key=y:r.which=f(v)),m&&(r[m]=!g||null)}}catch(t){c=!0,l=t}finally{try{!s&&p.return&&p.return()}finally{if(c)throw l}}return r}function l(t,e){for(var n in t){var r=t[n],i=void 0;if(null!=r&&((null!=(i="key"===n?e.key.toLowerCase():"which"===n?91===r&&93===e.which?91:e.which:e[n])||!1!==r)&&i!==r))return!1}return!0}function f(t){return t=h(t),a[t]||t.toUpperCase().charCodeAt(0)}function h(t){return t=t.toLowerCase(),t=o[t]||t}e.default=s,e.isHotkey=s,e.isCodeHotkey=function(t,e){return s(t,e)},e.isKeyHotkey=function(t,e){return s(t,{byKey:!0},e)},e.parseHotkey=c,e.compareHotkey=l,e.toKeyCode=f,e.toKeyName=h},UbbE:function(t,e,n){n("o8NH"),t.exports=n("WEpk").Object.assign},UfWW:function(t,e,n){var r=n("KwMD"),i=n("ut/Y"),o=n("Sxd8"),a=Math.max;t.exports=function(t,e,n){var u=null==t?0:t.length;if(!u)return-1;var s=null==n?0:o(n);return s<0&&(s=a(u+s,0)),r(t,i(e,3),s)}},Ugos:function(t,e,n){"use strict";var r,i,o=n("C/va"),a=RegExp.prototype.exec,u=String.prototype.replace,s=a,c=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(s=function(t){var e,n,r,i,s=this;return l&&(n=new RegExp("^"+s.source+"$(?!\\s)",o.call(s))),c&&(e=s.lastIndex),r=a.call(s,t),c&&r&&(s.lastIndex=s.global?r.index+r[0].length:e),l&&r&&r.length>1&&u.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}),t.exports=s},UnXY:function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=u(n("17x9")),i=u(n("q1tI")),o=n("VCL8"),a=n("8PcY");function u(t){return t&&t.__esModule?t:{default:t}}function s(){return(s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var l=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},f=function(t){var e,n;function r(e,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind(c(c(r)));return r.state={handleExited:i,firstRender:!0},r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},o.componentDidMount=function(){this.appeared=!0,this.mounted=!0},o.componentWillUnmount=function(){this.mounted=!1},r.getDerivedStateFromProps=function(t,e){var n=e.children,r=e.handleExited;return{children:e.firstRender?(0,a.getInitialChildMapping)(t,r):(0,a.getNextChildMapping)(t,n,r),firstRender:!1}},o.handleExited=function(t,e){var n=(0,a.getChildMapping)(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var n=s({},e.children);return delete n[t.key],{children:n}}))},o.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,["component","childFactory"]),o=l(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?o:i.default.createElement(e,r,o)},r}(i.default.Component);f.childContextTypes={transitionGroup:r.default.object.isRequired},f.propTypes={},f.defaultProps={component:"div",childFactory:function(t){return t}};var h=(0,o.polyfill)(f);e.default=h,t.exports=e.default},UqcF:function(t,e){e.f={}.propertyIsEnumerable},"Uwo/":function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return i});var r=Math.PI/180,i=180/Math.PI},"V+eJ":function(t,e,n){"use strict";var r=n("XKFU"),i=n("w2a5")(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n("LyE8")(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},"V/DX":function(t,e,n){var r=n("0/R4");n("Xtr8")("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},"V/h/":function(t,e,n){"use strict";(function(t){var n,r="undefined"!=typeof Symbol?Symbol("immer-nothing"):((n={})["immer-nothing"]=!0,n),i="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("immer-draftable"):"__$immer_draftable",o="undefined"!=typeof Symbol&&Symbol.for?Symbol.for("immer-state"):"__$immer_state";function a(t){return!!t&&!!t[o]}function u(t){return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t))return!0;var e=Object.getPrototypeOf(t);return!e||e===Object.prototype}(t)||!!t[i]||!!t.constructor[i])}var s=Object.assign||function(t,e){for(var n in e)d(e,n)&&(t[n]=e[n]);return t},c="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames;function l(t,e){if(void 0===e&&(e=!1),Array.isArray(t))return t.slice();var n=Object.create(Object.getPrototypeOf(t));return c(t).forEach(function(r){if(r!==o){var i=Object.getOwnPropertyDescriptor(t,r),a=i.value;if(i.get){if(!e)throw new Error("Immer drafts cannot have computed properties");a=i.get.call(t)}i.enumerable?n[r]=a:Object.defineProperty(n,r,{value:a,writable:!0,configurable:!0})}}),n}function f(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(n,t[n],t);else c(t).forEach(function(n){return e(n,t[n],t)})}function h(t,e){var n=Object.getOwnPropertyDescriptor(t,e);return!!n&&n.enumerable}function d(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function p(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function v(t){if(!u(t))return t;if(Array.isArray(t))return t.map(v);var e=Object.create(Object.getPrototypeOf(t));for(var n in t)e[n]=v(t[n]);return e}function g(t){if(u(t)&&!a(t)&&!Object.isFrozen(t))if(Object.freeze(t),Array.isArray(t))t.forEach(g);else for(var e in t)g(t[e])}var y=function(t){this.drafts=[],this.parent=t,this.canAutoFreeze=!0,this.patches=null};function m(t){t[o].revoke()}y.prototype.usePatches=function(t){t&&(this.patches=[],this.inversePatches=[],this.patchListener=t)},y.prototype.revoke=function(){this.leave(),this.drafts.forEach(m),this.drafts=null},y.prototype.leave=function(){this===y.current&&(y.current=this.parent)},y.current=null,y.enter=function(){return this.current=new y(this.current)};var b={};function x(t,e){var n=Array.isArray(t),r=O(t);f(r,function(e){!function(t,e,n){var r=b[e];r?r.enumerable=n:b[e]=r={configurable:!0,enumerable:n,get:function(){return function(t,e){C(t);var n=S(_(t),e);if(t.finalizing)return n;if(n===S(t.base,e)&&u(n))return E(t),t.copy[e]=x(n,t);return n}(this[o],e)},set:function(t){!function(t,e,n){if(C(t),t.assigned[e]=!0,!t.modified){if(p(n,S(_(t),e)))return;k(t),E(t)}t.copy[e]=n}(this[o],e,t)}};Object.defineProperty(t,e,r)}(r,e,n||h(t,e))});var i,a,s,c=e?e.scope:y.current;return i=r,a=o,s={scope:c,modified:!1,finalizing:!1,finalized:!1,assigned:{},parent:e,base:t,draft:r,copy:null,revoke:w,revoked:!1},Object.defineProperty(i,a,{value:s,enumerable:!1,writable:!0}),c.drafts.push(r),r}function w(){this.revoked=!0}function _(t){return t.copy||t.base}function S(t,e){var n=t[o];if(n&&!n.finalizing){n.finalizing=!0;var r=t[e];return n.finalizing=!1,r}return t[e]}function k(t){t.modified||(t.modified=!0,t.parent&&k(t.parent))}function E(t){t.copy||(t.copy=O(t.base))}function O(t){var e=t&&t[o];if(e){e.finalizing=!0;var n=l(e.draft,!0);return e.finalizing=!1,n}return l(t)}function C(t){if(!0===t.revoked)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(_(t)))}function A(t){for(var e=t.length-1;e>=0;e--){var n=t[e][o];n.modified||(Array.isArray(n.base)?M(n)&&k(n):T(n)&&k(n))}}function T(t){for(var e=t.base,n=t.draft,r=Object.keys(n),i=r.length-1;i>=0;i--){var a=r[i],u=e[a];if(void 0===u&&!d(e,a))return!0;var s=n[a],c=s&&s[o];if(c?c.base!==u:!p(s,u))return!0}return r.length!==Object.keys(e).length}function M(t){var e=t.draft;if(e.length!==t.base.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);return!(!n||n.get)}var P=Object.freeze({willFinalize:function(t,e,n){t.drafts.forEach(function(t){t[o].finalizing=!0}),n?a(e)&&e[o].scope===t&&A(t.drafts):(t.patches&&function t(e){if(e&&"object"==typeof e){var n=e[o];if(n){var r=n.base,i=n.draft,a=n.assigned;if(Array.isArray(e)){if(M(n)){if(k(n),a.length=!0,i.length<r.length)for(var u=i.length;u<r.length;u++)a[u]=!1;else for(var s=r.length;s<i.length;s++)a[s]=!0;for(var c=0;c<i.length;c++)void 0===a[c]&&t(i[c])}}else Object.keys(i).forEach(function(e){void 0!==r[e]||d(r,e)?a[e]||t(i[e]):(a[e]=!0,k(n))}),Object.keys(r).forEach(function(t){void 0!==i[t]||d(i,t)||(a[t]=!1,k(n))})}}}(t.drafts[0]),A(t.drafts))},createProxy:x});function j(t,e){var n=e?e.scope:y.current,r={scope:n,modified:!1,finalized:!1,assigned:{},parent:e,base:t,draft:null,drafts:{},copy:null,revoke:null},i=Array.isArray(t)?Proxy.revocable([r],I):Proxy.revocable(r,D),o=i.revoke,a=i.proxy;return r.draft=a,r.revoke=o,n.drafts.push(a),a}var D={get:function(t,e){if(e===o)return t;var n=t.drafts;if(!t.modified&&d(n,e))return n[e];var r=N(t)[e];if(t.finalized||!u(r))return r;if(t.modified){if(r!==F(t.base,e))return r;n=t.copy}return n[e]=j(r,t)},has:function(t,e){return e in N(t)},ownKeys:function(t){return Reflect.ownKeys(N(t))},set:function(t,e,n){if(!t.modified){var r=F(t.base,e),i=n?p(r,n)||n===t.drafts[e]:p(r,n)&&e in t.base;if(i)return!0;R(t)}return t.assigned[e]=!0,t.copy[e]=n,!0},deleteProperty:function(t,e){void 0!==F(t.base,e)||e in t.base?(t.assigned[e]=!1,R(t)):t.assigned[e]&&delete t.assigned[e];t.copy&&delete t.copy[e];return!0},getOwnPropertyDescriptor:function(t,e){var n=N(t),r=Reflect.getOwnPropertyDescriptor(n,e);r&&(r.writable=!0,r.configurable=!Array.isArray(n)||"length"!==e);return r},defineProperty:function(){throw new Error("Object.defineProperty() cannot be used on an Immer draft")},getPrototypeOf:function(t){return Object.getPrototypeOf(t.base)},setPrototypeOf:function(){throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft")}},I={};function N(t){return t.copy||t.base}function F(t,e){var n=t[o],r=Reflect.getOwnPropertyDescriptor(n?N(n):t,e);return r&&r.value}function R(t){t.modified||(t.modified=!0,t.copy=s(l(t.base),t.drafts),t.drafts=null,t.parent&&R(t.parent))}f(D,function(t,e){I[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),I.deleteProperty=function(t,e){if(isNaN(parseInt(e)))throw new Error("Immer only supports deleting array indices");return D.deleteProperty.call(this,t[0],e)},I.set=function(t,e,n){if("length"!==e&&isNaN(parseInt(e)))throw new Error("Immer only supports setting array indices and the 'length' property");return D.set.call(this,t[0],e,n)};var L=Object.freeze({willFinalize:function(){},createProxy:j});function B(t,e,n,r){Array.isArray(t.base)?function(t,e,n,r){var i,o,a=t.base,u=t.copy,s=t.assigned;u.length<a.length&&(a=(i=[u,a])[0],u=i[1],n=(o=[r,n])[0],r=o[1]);var c=u.length-a.length,l=0;for(;a[l]===u[l]&&l<a.length;)++l;var f=a.length;for(;f>l&&a[f-1]===u[f+c-1];)--f;for(var h=l;h<f;++h)if(s[h]&&u[h]!==a[h]){var d=e.concat([h]);n.push({op:"replace",path:d,value:u[h]}),r.push({op:"replace",path:d,value:a[h]})}for(var p=n.length,v=f+c-1;v>=f;--v){var g=e.concat([v]);n[p+v-f]={op:"add",path:g,value:u[v]},r.push({op:"remove",path:g})}}(t,e,n,r):function(t,e,n,r){var i=t.base,o=t.copy;f(t.assigned,function(t,a){var u=i[t],s=o[t],c=a?t in i?"replace":"add":"remove";if(u!==s||"replace"!==c){var l=e.concat(t);n.push("remove"===c?{op:c,path:l}:{op:c,path:l,value:s}),r.push("add"===c?{op:"remove",path:l}:"remove"===c?{op:"add",path:l,value:u}:{op:"replace",path:l,value:u})}})}(t,e,n,r)}var z=function(t,e){for(var n=0,r=e;n<r.length;n+=1){var i=r[n],o=i.path,a=i.op,u=v(i.value);if(!o.length)throw new Error("Illegal state");for(var s=t,c=0;c<o.length-1;c++)if(!(s=s[o[c]])||"object"!=typeof s)throw new Error("Cannot apply patch, path doesn't resolve: "+o.join("/"));var l=o[o.length-1];switch(a){case"replace":s[l]=u;break;case"add":Array.isArray(s)?s.splice(l,0,u):s[l]=u;break;case"remove":Array.isArray(s)?s.splice(l,1):delete s[l];break;default:throw new Error("Unsupported patch operation: "+a)}}return t};var V={useProxies:"undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,autoFreeze:void 0===t&&"verifyMinified"===function(){}.name,onAssign:null,onDelete:null,onCopy:null},U=function(t){s(this,V,t),this.setUseProxies(this.useProxies),this.produce=this.produce.bind(this)};U.prototype.produce=function(t,e,n){var i,o=this;if("function"==typeof t&&"function"!=typeof e){var a=e;e=t;var s=this;return function(t){var n=this;void 0===t&&(t=a);for(var r=[],i=arguments.length-1;i-- >0;)r[i]=arguments[i+1];return s.produce(t,function(t){return e.call.apply(e,[n,t].concat(r))})}}if("function"!=typeof e)throw new Error("The first or second argument to `produce` must be a function");if(void 0!==n&&"function"!=typeof n)throw new Error("The third argument to `produce` must be a function or undefined");if(u(t)){var c=y.enter(),l=this.createProxy(t),f=!0;try{i=e(l),f=!1}finally{f?c.revoke():c.leave()}return i instanceof Promise?i.then(function(t){return c.usePatches(n),o.processResult(t,c)},function(t){throw c.revoke(),t}):(c.usePatches(n),this.processResult(i,c))}if((i=e(t))!==r)return void 0===i&&(i=t),this.maybeFreeze(i,!0),i},U.prototype.produceWithPatches=function(t,e,n){var r,i,o=this;if("function"==typeof t)return function(e){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return o.produceWithPatches(e,function(e){return t.apply(void 0,[e].concat(n))})};if(n)throw new Error("A patch listener cannot be passed to produceWithPatches");return[this.produce(t,e,function(t,e){r=t,i=e}),r,i]},U.prototype.createDraft=function(t){if(!u(t))throw new Error("First argument to `createDraft` must be a plain object, an array, or an immerable object");var e=y.enter(),n=this.createProxy(t);return n[o].isManual=!0,e.leave(),n},U.prototype.finishDraft=function(t,e){var n=t&&t[o];if(!n||!n.isManual)throw new Error("First argument to `finishDraft` must be a draft returned by `createDraft`");if(n.finalized)throw new Error("The given draft is already finalized");var r=n.scope;return r.usePatches(e),this.processResult(void 0,r)},U.prototype.setAutoFreeze=function(t){this.autoFreeze=t},U.prototype.setUseProxies=function(t){this.useProxies=t,s(this,t?L:P)},U.prototype.applyPatches=function(t,e){var n;for(n=e.length-1;n>=0;n--){var r=e[n];if(0===r.path.length&&"replace"===r.op){t=r.value;break}}return a(t)?z(t,e):this.produce(t,function(t){return z(t,e.slice(n+1))})},U.prototype.processResult=function(t,e){var n=e.drafts[0],i=void 0!==t&&t!==n;if(this.willFinalize(e,t,i),i){if(n[o].modified)throw e.revoke(),new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");u(t)&&(t=this.finalize(t,null,e),this.maybeFreeze(t)),e.patches&&(e.patches.push({op:"replace",path:[],value:t}),e.inversePatches.push({op:"replace",path:[],value:n[o].base}))}else t=this.finalize(n,[],e);return e.revoke(),e.patches&&e.patchListener(e.patches,e.inversePatches),t!==r?t:void 0},U.prototype.finalize=function(t,e,n){var r=this,i=t[o];if(!i)return Object.isFrozen(t)?t:this.finalizeTree(t,null,n);if(i.scope!==n)return t;if(!i.modified)return this.maybeFreeze(i.base,!0),i.base;if(!i.finalized){if(i.finalized=!0,this.finalizeTree(i.draft,e,n),this.onDelete)if(this.useProxies){var a=i.assigned;for(var u in a)a[u]||this.onDelete(i,u)}else{var s=i.base,c=i.copy;f(s,function(t){d(c,t)||r.onDelete(i,t)})}this.onCopy&&this.onCopy(i),this.autoFreeze&&n.canAutoFreeze&&Object.freeze(i.copy),e&&n.patches&&B(i,e,n.patches,n.inversePatches)}return i.copy},U.prototype.finalizeTree=function(t,e,n){var r=this,i=t[o];i&&(this.useProxies||(i.copy=l(i.draft,!0)),t=i.copy);var s=!!e&&!!n.patches,c=function(o,l,d){if(l===d)throw Error("Immer forbids circular references");var v=!!i&&d===t;if(a(l)){var g=v&&s&&!i.assigned[o]?e.concat(o):null;if(a(l=r.finalize(l,g,n))&&(n.canAutoFreeze=!1),Array.isArray(d)||h(d,o)?d[o]=l:Object.defineProperty(d,o,{value:l}),v&&l===i.base[o])return}else{if(v&&p(l,i.base[o]))return;u(l)&&!Object.isFrozen(l)&&(f(l,c),r.maybeFreeze(l))}v&&r.onAssign&&r.onAssign(i,o,l)};return f(t,c),t},U.prototype.maybeFreeze=function(t,e){void 0===e&&(e=!1),this.autoFreeze&&!a(t)&&(e?g(t):Object.freeze(t))};var H=new U,W=H.produce;H.produceWithPatches.bind(H),H.setAutoFreeze.bind(H),H.setUseProxies.bind(H),H.applyPatches.bind(H),H.createDraft.bind(H),H.finishDraft.bind(H);e.a=W}).call(this,n("8oxB"))},V6Ve:function(t,e,n){var r=n("kekF")(Object.keys,Object);t.exports=r},V7oC:function(t,e,n){"use strict";e.__esModule=!0;var r,i=n("SEkw"),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},VBMh:function(t,e){!function(){"use strict"; /** * Bindonce - Zero watches binding for AngularJs * @version v0.3.1 * @link https://github.com/Pasvaz/bindonce * @author Pasquale Vazzana <pasqualevazzana@gmail.com> * @license MIT License, http://www.opensource.org/licenses/MIT */var t=angular.module("pasvaz.bindonce",[]);t.directive("bindonce",function(){var t=function(t){if(t&&0!==t.length){var e=angular.lowercase(""+t);t=!("f"===e||"0"===e||"false"===e||"no"===e||"n"===e||"[]"===e)}else t=!1;return t},e=parseInt((/msie (\d+)/.exec(angular.lowercase(navigator.userAgent))||[])[1],10);return isNaN(e)&&(e=parseInt((/trident\/.*; rv:(\d+)/.exec(angular.lowercase(navigator.userAgent))||[])[1],10)),{restrict:"AM",controller:["$scope","$element","$attrs","$interpolate",function(n,r,i,o){var a=function(e,n,r){var i="show"===n?"":"none",o="hide"===n?"":"none";e.css("display",t(r)?i:o)},u=function(t,e){if(angular.isObject(e)&&!angular.isArray(e)){var n=[];angular.forEach(e,function(t,e){t&&n.push(e)}),e=n}e&&t.addClass(angular.isArray(e)?e.join(" "):e)};return{watcherRemover:void 0,binders:[],group:i.boName,element:r,ran:!1,addBinder:function(t){this.binders.push(t),this.ran&&this.runBinders()},setupWatcher:function(t){var e=this;this.watcherRemover=n.$watch(t,function(t){void 0!==t&&(e.removeWatcher(),e.runBinders())},!0)},removeWatcher:function(){void 0!==this.watcherRemover&&(this.watcherRemover(),this.watcherRemover=void 0)},runBinders:function(){for(;this.binders.length>0;){var n=this.binders.shift();if(!this.group||this.group==n.group){var r=n.scope.$eval(n.interpolate?o(n.value):n.value);switch(n.attr){case"boIf":t(r)&&n.transclude(n.scope.$new(),function(t){var e=n.element.parent(),r=n.element&&n.element[n.element.length-1],i=e&&e[0]||r&&r.parentNode,o=r&&r.nextSibling||null;angular.forEach(t,function(t){i.insertBefore(t,o)})});break;case"boSwitch":var i,s=n.controller[0];(i=s.cases["!"+r]||s.cases["?"])&&(n.scope.$eval(n.attrs.change),angular.forEach(i,function(t){t.transclude(n.scope.$new(),function(e){var n=t.element.parent(),r=t.element&&t.element[t.element.length-1],i=n&&n[0]||r&&r.parentNode,o=r&&r.nextSibling||null;angular.forEach(e,function(t){i.insertBefore(t,o)})})}));break;case"boSwitchWhen":(c=n.controller[0]).cases["!"+n.attrs.boSwitchWhen]=c.cases["!"+n.attrs.boSwitchWhen]||[],c.cases["!"+n.attrs.boSwitchWhen].push({transclude:n.transclude,element:n.element});break;case"boSwitchDefault":var c;(c=n.controller[0]).cases["?"]=c.cases["?"]||[],c.cases["?"].push({transclude:n.transclude,element:n.element});break;case"hide":case"show":a(n.element,n.attr,r);break;case"class":u(n.element,r);break;case"text":n.element.text(r);break;case"html":n.element.html(r);break;case"style":n.element.css(r);break;case"src":n.element.attr(n.attr,r),e&&n.element.prop("src",r);break;case"attr":angular.forEach(n.attrs,function(t,e){var r,i;e.match(/^boAttr./)&&n.attrs[e]&&(r=e.replace(/^boAttr/,"").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i=n.scope.$eval(n.attrs[e]),n.element.attr(r,i))});break;case"href":case"alt":case"title":case"id":case"value":n.element.attr(n.attr,r)}}}this.ran=!0}}}],link:function(t,e,n,r){void 0!==(!n.bindonce||t.$eval(n.bindonce))?r.runBinders():(r.setupWatcher(n.bindonce),e.bind("$destroy",r.removeWatcher))}}}),angular.forEach([{directiveName:"boShow",attribute:"show"},{directiveName:"boHide",attribute:"hide"},{directiveName:"boClass",attribute:"class"},{directiveName:"boText",attribute:"text"},{directiveName:"boBind",attribute:"text"},{directiveName:"boHtml",attribute:"html"},{directiveName:"boSrcI",attribute:"src",interpolate:!0},{directiveName:"boSrc",attribute:"src"},{directiveName:"boHrefI",attribute:"href",interpolate:!0},{directiveName:"boHref",attribute:"href"},{directiveName:"boAlt",attribute:"alt"},{directiveName:"boTitle",attribute:"title"},{directiveName:"boId",attribute:"id"},{directiveName:"boStyle",attribute:"style"},{directiveName:"boValue",attribute:"value"},{directiveName:"boAttr",attribute:"attr"},{directiveName:"boIf",transclude:"element",terminal:!0,priority:1e3},{directiveName:"boSwitch",require:"boSwitch",controller:function(){this.cases={}}},{directiveName:"boSwitchWhen",transclude:"element",priority:800,require:"^boSwitch"},{directiveName:"boSwitchDefault",transclude:"element",priority:800,require:"^boSwitch"}],function(e){return t.directive(e.directiveName,function(){return{priority:e.priority||200,transclude:e.transclude||!1,terminal:e.terminal||!1,require:["^bindonce"].concat(e.require||[]),controller:e.controller,compile:function(t,n,r){return function(t,n,i,o){var a=o[0],u=i.boParent;if(u&&a.group!==u){var s,c=a.element.parent();for(a=void 0;9!==c[0].nodeType&&c.length;){if((s=c.data("$bindonceController"))&&s.group===u){a=s;break}c=c.parent()}if(!a)throw new Error("No bindonce controller: "+u)}a.addBinder({element:n,attr:e.attribute||e.directiveName,attrs:i,value:i[e.directiveName],interpolate:e.interpolate,group:u,transclude:r,controller:o.slice(1),scope:t})}}}})})}()},VCL8:function(t,e,n){"use strict";function r(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=t&&this.setState(t)}function i(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!=n?n:null}.bind(this))}function o(t,e){try{var n=this.props,r=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate)return t;var n=null,a=null,u=null;if("function"==typeof e.componentWillMount?n="componentWillMount":"function"==typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof e.componentWillUpdate?u="componentWillUpdate":"function"==typeof e.UNSAFE_componentWillUpdate&&(u="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==u){var s=t.displayName||t.name,c="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+s+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==u?"\n "+u:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=r,e.componentWillReceiveProps=i),"function"==typeof e.getSnapshotBeforeUpdate){if("function"!=typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=o;var l=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;l.call(this,t,e,r)}}return t}n.r(e),n.d(e,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},VKir:function(t,e,n){"use strict";var r=n("XKFU"),i=n("eeVq"),o=n("vvmO"),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},VNr4:function(t,e,n){"use strict";n.d(e,"a",function(){return l});var r=n("mrSG"),i=n("6blF"),o=n("isby"),a=n("G5J1"),u=n("zotm"),s=n("MGBS"),c=n("67Y/");function l(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(o.a)(e[0])&&(e=e[0]),0===e.length?a.a:t?l(e).pipe(Object(c.a)(function(e){return t.apply(void 0,e)})):new i.a(function(t){return new f(t,e)})}var f=function(t){function e(e,n){var r=t.call(this,e)||this;r.sources=n,r.completed=0,r.haveValues=0;var i=n.length;r.values=new Array(i);for(var o=0;o<i;o++){var a=n[o],s=Object(u.a)(r,a,null,o);s&&r.add(s)}return r}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e,i._hasValue||(i._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,r=this.values,i=r.length;t._hasValue?(this.completed++,this.completed===i&&(n===i&&e.next(r),e.complete())):e.complete()},e}(s.a)},VOcB:function(t,e,n){"use strict";function r(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.exports=function(t,e){t.classList?t.classList.remove(e):"string"==typeof t.className?t.className=r(t.className,e):t.setAttribute("class",r(t.className&&t.className.baseVal||"",e))}},VOtZ:function(t,e,n){var r=n("juv8"),i=n("MvSz");t.exports=function(t,e){return r(t,i(t),e)}},VRzm:function(t,e,n){"use strict";var r,i,o,a,u=n("LQAc"),s=n("dyZX"),c=n("m0Pp"),l=n("I8a+"),f=n("XKFU"),h=n("0/R4"),d=n("2OiF"),p=n("9gX7"),v=n("SlkY"),g=n("69bn"),y=n("GZEu").set,m=n("gHnn")(),b=n("pbhE"),x=n("nICZ"),w=n("ol8x"),_=n("vKrd"),S=s.TypeError,k=s.process,E=k&&k.versions,O=E&&E.v8||"",C=s.Promise,A="process"==l(k),T=function(){},M=i=b.f,P=!!function(){try{var t=C.resolve(1),e=(t.constructor={})[n("K0xU")("species")]=function(t){t(T,T)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(T)instanceof e&&0!==O.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),j=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},D=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){for(var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,u=i?e.ok:e.fail,s=e.resolve,c=e.reject,l=e.domain;try{u?(i||(2==t._h&&F(t),t._h=1),!0===u?n=r:(l&&l.enter(),n=u(r),l&&(l.exit(),a=!0)),n===e.promise?c(S("Promise-chain cycle")):(o=j(n))?o.call(n,s,c):s(n)):c(r)}catch(t){l&&!a&&l.exit(),c(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&I(t)})}},I=function(t){y.call(s,function(){var e,n,r,i=t._v,o=N(t);if(o&&(e=x(function(){A?k.emit("unhandledRejection",i,t):(n=s.onunhandledrejection)?n({promise:t,reason:i}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=A||N(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},F=function(t){y.call(s,function(){var e;A?k.emit("rejectionHandled",t):(e=s.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),D(e,!0))},L=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=j(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,c(L,r,1),c(R,r,1))}catch(t){R.call(r,t)}}):(n._v=t,n._s=1,D(n,!1))}catch(t){R.call({_w:n,_d:!1},t)}}};P||(C=function(t){p(this,C,"Promise","_h"),d(t),r.call(this);try{t(c(L,this,1),c(R,this,1))}catch(t){R.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("3Lyj")(C.prototype,{then:function(t,e){var n=M(g(this,C));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=A?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(L,t,1),this.reject=c(R,t,1)},b.f=M=function(t){return t===C||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!P,{Promise:C}),n("fyDq")(C,"Promise"),n("elZq")("Promise"),a=n("g3g5").Promise,f(f.S+f.F*!P,"Promise",{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(u||!P),"Promise",{resolve:function(t){return _(u&&this===a?C:this,t)}}),f(f.S+f.F*!(P&&n("XMVh")(function(t){C.all(t).catch(T)})),"Promise",{all:function(t){var e=this,n=M(e),r=n.resolve,i=n.reject,o=x(function(){var n=[],o=0,a=1;v(t,!1,function(t){var u=o++,s=!1;n.push(void 0),a++,e.resolve(t).then(function(t){s||(s=!0,n[u]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=M(e),r=n.reject,i=x(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},VTer:function(t,e,n){var r=n("g3g5"),i=n("dyZX"),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("LQAc")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},VVlx:function(t,e,n){var r=n("29s/")("keys"),i=n("YqAc");t.exports=function(t){return r[t]||(r[t]=i(t))}},VVms:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.calculateChange=function(t,e,n,r){t.preventDefault();var i=r.getBoundingClientRect(),o=i.width,a=i.height,u="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,s="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,c=u-(r.getBoundingClientRect().left+window.pageXOffset),l=s-(r.getBoundingClientRect().top+window.pageYOffset);c<0?c=0:c>o?c=o:l<0?l=0:l>a&&(l=a);var f=100*c/o,h=-100*l/a+100;return{h:n.hsl.h,s:f,v:h,a:n.hsl.a,source:"rgb"}}},VYtm:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hover=void 0;var r,i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r};function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=e.hover=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,o,s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,l=Array(c),f=0;f<c;f++)l[f]=arguments[f];return o=s=u(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(l))),s.state={hover:!1},s.handleMouseOver=function(){return s.setState({hover:!0})},s.handleMouseOut=function(){return s.setState({hover:!1})},s.render=function(){return a.default.createElement(e,{onMouseOver:s.handleMouseOver,onMouseOut:s.handleMouseOut},a.default.createElement(t,i({},s.props,s.state)))},u(s,o)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(r,a.default.Component),r}()};e.default=s},VaNO:function(t,e){t.exports=function(t){return this.__data__.has(t)}},VbXa:function(t,e){t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}},Vd3H:function(t,e,n){"use strict";var r=n("XKFU"),i=n("2OiF"),o=n("S/j/"),a=n("eeVq"),u=[].sort,s=[1,2,3];r(r.P+r.F*(a(function(){s.sort(void 0)})||!a(function(){s.sort(null)})||!n("LyE8")(u)),"Array",{sort:function(t){return void 0===t?u.call(o(this)):u.call(o(this),i(t))}})},VgJO:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("q1tI"),i=n("i8i4");function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),u(this,s(e).apply(this,arguments))}var n,o,l;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,r.Component),n=e,(o=[{key:"componentDidMount",value:function(){this.props.innerRef((0,i.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}])&&a(n.prototype,o),l&&a(n,l),e}();e.default=l},"VnD/":function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("FFOo");function o(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.predicate,this.thisArg))},t}(),u=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return r.__extends(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(i.a)},VpUO:function(t,e,n){var r=n("XKFU"),i=n("d/Gc"),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},VphZ:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},i=function(t){var e;return 1===t.length&&(e=t,t=function(t,n){return r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}};var o=i(r),a=o.right,u=o.left,s=a,c=function(t,e){null==e&&(e=l);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);n<r;)o[n]=e(i,i=t[++n]);return o};function l(t,e){return[t,e]}var f=function(t,e,n){var r,i,o,a,u=t.length,s=e.length,c=new Array(u*s);for(null==n&&(n=l),r=o=0;r<u;++r)for(a=t[r],i=0;i<s;++i,++o)c[o]=n(a,e[i]);return c},h=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},d=function(t){return null===t?NaN:+t},p=function(t,e){var n,r,i=t.length,o=0,a=-1,u=0,s=0;if(null==e)for(;++a<i;)isNaN(n=d(t[a]))||(s+=(r=n-u)*(n-(u+=r/++o)));else for(;++a<i;)isNaN(n=d(e(t[a],a,t)))||(s+=(r=n-u)*(n-(u+=r/++o)));if(o>1)return s/(o-1)},v=function(t,e){var n=p(t,e);return n?Math.sqrt(n):n},g=function(t,e){var n,r,i,o=t.length,a=-1;if(null==e){for(;++a<o;)if(null!=(n=t[a])&&n>=n)for(r=i=n;++a<o;)null!=(n=t[a])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++a<o;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=i=n;++a<o;)null!=(n=e(t[a],a,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]},y=Array.prototype,m=y.slice,b=y.map,x=function(t){return function(){return t}},w=function(t){return t},_=function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o},S=Math.sqrt(50),k=Math.sqrt(10),E=Math.sqrt(2),O=function(t,e,n){var r,i,o,a,u=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=C(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++u<i;)o[u]=(t+u)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));++u<i;)o[u]=(t-u)/a;return r&&o.reverse(),o};function C(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=S?10:o>=k?5:o>=E?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=S?10:o>=k?5:o>=E?2:1)}function A(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=S?i*=10:o>=k?i*=5:o>=E&&(i*=2),e<t?-i:i}var T=function(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1},M=function(){var t=w,e=g,n=T;function r(r){var i,o,a=r.length,u=new Array(a);for(i=0;i<a;++i)u[i]=t(r[i],i,r);var c=e(u),l=c[0],f=c[1],h=n(u,l,f);Array.isArray(h)||(h=A(l,f,h),h=_(Math.ceil(l/h)*h,f,h));for(var d=h.length;h[0]<=l;)h.shift(),--d;for(;h[d-1]>f;)h.pop(),--d;var p,v=new Array(d+1);for(i=0;i<=d;++i)(p=v[i]=[]).x0=i>0?h[i-1]:l,p.x1=i<d?h[i]:f;for(i=0;i<a;++i)l<=(o=u[i])&&o<=f&&v[s(h,o,0,d)].push(r[i]);return v}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:x(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:x([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?x(m.call(t)):x(t),r):n},r},P=function(t,e,n){if(null==n&&(n=d),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}},j=function(t,e,n){return t=b.call(t,d).sort(r),Math.ceil((n-e)/(2*(P(t,.75)-P(t,.25))*Math.pow(t.length,-1/3)))},D=function(t,e,n){return Math.ceil((n-e)/(3.5*v(t)*Math.pow(t.length,-1/3)))},I=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&n>r&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&n>r&&(r=n);return r},N=function(t,e){var n,r=t.length,i=r,o=-1,a=0;if(null==e)for(;++o<r;)isNaN(n=d(t[o]))?--i:a+=n;else for(;++o<r;)isNaN(n=d(e(t[o],o,t)))?--i:a+=n;if(i)return a/i},F=function(t,e){var n,i=t.length,o=-1,a=[];if(null==e)for(;++o<i;)isNaN(n=d(t[o]))||a.push(n);else for(;++o<i;)isNaN(n=d(e(t[o],o,t)))||a.push(n);return P(a.sort(r),.5)},R=function(t){for(var e,n,r,i=t.length,o=-1,a=0;++o<i;)a+=t[o].length;for(n=new Array(a);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--a]=r[e];return n},L=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&r>n&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&r>n&&(r=n);return r},B=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},z=function(t,e){if(n=t.length){var n,i,o=0,a=0,u=t[a];for(null==e&&(e=r);++o<n;)(e(i=t[o],u)<0||0!==e(u,u))&&(u=i,a=o);return 0===e(u,u)?a:void 0}},V=function(t,e,n){for(var r,i,o=(null==n?t.length:n)-(e=null==e?0:+e);o;)i=Math.random()*o--|0,r=t[o+e],t[o+e]=t[i+e],t[i+e]=r;return t},U=function(t,e){var n,r=t.length,i=-1,o=0;if(null==e)for(;++i<r;)(n=+t[i])&&(o+=n);else for(;++i<r;)(n=+e(t[i],i,t))&&(o+=n);return o},H=function(t){if(!(i=t.length))return[];for(var e=-1,n=L(t,W),r=new Array(n);++e<n;)for(var i,o=-1,a=r[e]=new Array(i);++o<i;)a[o]=t[o][e];return r};function W(t){return t.length}var q=function(){return H(arguments)},G=Array.prototype.slice,Y=function(t){return t},X=1,K=2,$=3,Z=4,J=1e-6;function Q(t){return"translate("+(t+.5)+",0)"}function tt(t){return"translate(0,"+(t+.5)+")"}function et(){return!this.__axis}function nt(t,e){var n=[],r=null,i=null,o=6,a=6,u=3,s=t===X||t===Z?-1:1,c=t===Z||t===K?"x":"y",l=t===X||t===$?Q:tt;function f(f){var h=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,d=null==i?e.tickFormat?e.tickFormat.apply(e,n):Y:i,p=Math.max(o,0)+u,v=e.range(),g=+v[0]+.5,y=+v[v.length-1]+.5,m=(e.bandwidth?function(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}:function(t){return function(e){return+t(e)}})(e.copy()),b=f.selection?f.selection():f,x=b.selectAll(".domain").data([null]),w=b.selectAll(".tick").data(h,e).order(),_=w.exit(),S=w.enter().append("g").attr("class","tick"),k=w.select("line"),E=w.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),w=w.merge(S),k=k.merge(S.append("line").attr("stroke","currentColor").attr(c+"2",s*o)),E=E.merge(S.append("text").attr("fill","currentColor").attr(c,s*p).attr("dy",t===X?"0em":t===$?"0.71em":"0.32em")),f!==b&&(x=x.transition(f),w=w.transition(f),k=k.transition(f),E=E.transition(f),_=_.transition(f).attr("opacity",J).attr("transform",function(t){return isFinite(t=m(t))?l(t):this.getAttribute("transform")}),S.attr("opacity",J).attr("transform",function(t){var e=this.parentNode.__axis;return l(e&&isFinite(e=e(t))?e:m(t))})),_.remove(),x.attr("d",t===Z||t==K?a?"M"+s*a+","+g+"H0.5V"+y+"H"+s*a:"M0.5,"+g+"V"+y:a?"M"+g+","+s*a+"V0.5H"+y+"V"+s*a:"M"+g+",0.5H"+y),w.attr("opacity",1).attr("transform",function(t){return l(m(t))}),k.attr(c+"2",s*o),E.attr(c,s*p).text(d),b.filter(et).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===K?"start":t===Z?"end":"middle"),b.each(function(){this.__axis=m})}return f.scale=function(t){return arguments.length?(e=t,f):e},f.ticks=function(){return n=G.call(arguments),f},f.tickArguments=function(t){return arguments.length?(n=null==t?[]:G.call(t),f):n.slice()},f.tickValues=function(t){return arguments.length?(r=null==t?null:G.call(t),f):r&&r.slice()},f.tickFormat=function(t){return arguments.length?(i=t,f):i},f.tickSize=function(t){return arguments.length?(o=a=+t,f):o},f.tickSizeInner=function(t){return arguments.length?(o=+t,f):o},f.tickSizeOuter=function(t){return arguments.length?(a=+t,f):a},f.tickPadding=function(t){return arguments.length?(u=+t,f):u},f}function rt(t){return nt(X,t)}function it(t){return nt(K,t)}function ot(t){return nt($,t)}function at(t){return nt(Z,t)}var ut={value:function(){}};function st(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new ct(r)}function ct(t){this._=t}function lt(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function ft(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=ut,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}ct.prototype=st.prototype={constructor:ct,on:function(t,e){var n,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})),a=-1,u=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<u;)if(n=(t=o[a]).type)i[n]=ft(i[n],t.name,e);else if(null==e)for(n in i)i[n]=ft(i[n],t.name,null);return this}for(;++a<u;)if((n=(t=o[a]).type)&&(n=lt(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ct(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var ht=st,dt="http://www.w3.org/1999/xhtml",pt={svg:"http://www.w3.org/2000/svg",xhtml:dt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},vt=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pt.hasOwnProperty(e)?{space:pt[e],local:t}:t};var gt=function(t){var e=vt(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===dt&&e.documentElement.namespaceURI===dt?e.createElement(t):e.createElementNS(n,t)}})(e)};function yt(){}var mt=function(t){return null==t?yt:function(){return this.querySelector(t)}};function bt(){return[]}var xt=function(t){return null==t?bt:function(){return this.querySelectorAll(t)}},wt=function(t){return function(){return this.matches(t)}},_t=function(t){return new Array(t.length)};function St(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}St.prototype={constructor:St,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var kt="$";function Et(t,e,n,r,i,o){for(var a,u=0,s=e.length,c=o.length;u<c;++u)(a=e[u])?(a.__data__=o[u],r[u]=a):n[u]=new St(t,o[u]);for(;u<s;++u)(a=e[u])&&(i[u]=a)}function Ot(t,e,n,r,i,o,a){var u,s,c,l={},f=e.length,h=o.length,d=new Array(f);for(u=0;u<f;++u)(s=e[u])&&(d[u]=c=kt+a.call(s,s.__data__,u,e),c in l?i[u]=s:l[c]=s);for(u=0;u<h;++u)(s=l[c=kt+a.call(t,o[u],u,o)])?(r[u]=s,s.__data__=o[u],l[c]=null):n[u]=new St(t,o[u]);for(u=0;u<f;++u)(s=e[u])&&l[d[u]]===s&&(i[u]=s)}function Ct(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var At=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Tt(t,e){return t.style.getPropertyValue(e)||At(t).getComputedStyle(t,null).getPropertyValue(e)}function Mt(t){return t.trim().split(/^|\s+/)}function Pt(t){return t.classList||new jt(t)}function jt(t){this._node=t,this._names=Mt(t.getAttribute("class")||"")}function Dt(t,e){for(var n=Pt(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function It(t,e){for(var n=Pt(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}jt.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Nt(){this.textContent=""}function Ft(){this.innerHTML=""}function Rt(){this.nextSibling&&this.parentNode.appendChild(this)}function Lt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Bt(){return null}function zt(){var t=this.parentNode;t&&t.removeChild(this)}function Vt(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function Ut(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var Ht={},Wt=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(Ht={mouseenter:"mouseover",mouseleave:"mouseout"}));function qt(t,e,n){return t=Gt(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function Gt(t,e,n){return function(r){var i=Wt;Wt=r;try{t.call(this,this.__data__,e,n)}finally{Wt=i}}}function Yt(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function Xt(t,e,n){var r=Ht.hasOwnProperty(t.type)?qt:Gt;return function(i,o,a){var u,s=this.__on,c=r(e,o,a);if(s)for(var l=0,f=s.length;l<f;++l)if((u=s[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=n),void(u.value=e);this.addEventListener(t.type,c,n),u={type:t.type,name:t.name,value:e,listener:c,capture:n},s?s.push(u):this.__on=[u]}}function Kt(t,e,n,r){var i=Wt;t.sourceEvent=Wt,Wt=t;try{return e.apply(n,r)}finally{Wt=i}}function $t(t,e,n){var r=At(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}var Zt=[null];function Jt(t,e){this._groups=t,this._parents=e}function Qt(){return new Jt([[document.documentElement]],Zt)}Jt.prototype=Qt.prototype={constructor:Jt,select:function(t){"function"!=typeof t&&(t=mt(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,u=e[i],s=u.length,c=r[i]=new Array(s),l=0;l<s;++l)(o=u[l])&&(a=t.call(o,o.__data__,l,u))&&("__data__"in o&&(a.__data__=o.__data__),c[l]=a);return new Jt(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=xt(t));for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,u=e[o],s=u.length,c=0;c<s;++c)(a=u[c])&&(r.push(t.call(a,a.__data__,c,u)),i.push(a));return new Jt(r,i)},filter:function(t){"function"!=typeof t&&(t=wt(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new Jt(r,this._parents)},data:function(t,e){if(!t)return p=new Array(this.size()),l=-1,this.each(function(t){p[++l]=t}),p;var n,r=e?Ot:Et,i=this._parents,o=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var a=o.length,u=new Array(a),s=new Array(a),c=new Array(a),l=0;l<a;++l){var f=i[l],h=o[l],d=h.length,p=t.call(f,f&&f.__data__,l,i),v=p.length,g=s[l]=new Array(v),y=u[l]=new Array(v);r(f,h,g,y,c[l]=new Array(d),p,e);for(var m,b,x=0,w=0;x<v;++x)if(m=g[x]){for(x>=w&&(w=x+1);!(b=y[w])&&++w<v;);m._next=b||null}}return(u=new Jt(u,i))._enter=s,u._exit=c,u},enter:function(){return new Jt(this._enter||this._groups.map(_t),this._parents)},exit:function(){return new Jt(this._exit||this._groups.map(_t),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=e[u],l=n[u],f=c.length,h=a[u]=new Array(f),d=0;d<f;++d)(s=c[d]||l[d])&&(h[d]=s);for(;u<r;++u)a[u]=e[u];return new Jt(a,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Ct);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,u=n[o],s=u.length,c=i[o]=new Array(s),l=0;l<s;++l)(a=u[l])&&(c[l]=a);c.sort(e)}return new Jt(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=vt(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):Tt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=Mt(t+"");if(arguments.length<2){for(var r=Pt(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?Dt:It)(this,t)}}:e?function(t){return function(){Dt(this,t)}}:function(t){return function(){It(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?Nt:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?Ft:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(Rt)},lower:function(){return this.each(Lt)},append:function(t){var e="function"==typeof t?t:gt(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:gt(t),r=null==e?Bt:"function"==typeof e?e:mt(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(zt)},clone:function(t){return this.select(t?Ut:Vt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(u=e?Xt:Yt,null==n&&(n=!1),r=0;r<a;++r)this.each(u(o[r],e,n));return this}var u=this.node().__on;if(u)for(var s,c=0,l=u.length;c<l;++c)for(r=0,s=u[c];r<a;++r)if((i=o[r]).type===s.type&&i.name===s.name)return s.value},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return $t(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return $t(this,t,e)}})(t,e))}};var te=Qt,ee=function(t){return"string"==typeof t?new Jt([[document.querySelector(t)]],[document.documentElement]):new Jt([[t]],Zt)},ne=function(t){return ee(gt(t).call(document.documentElement))},re=0;function ie(){return new oe}function oe(){this._="@"+(++re).toString(36)}oe.prototype=ie.prototype={constructor:oe,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var ae=function(){for(var t,e=Wt;t=e.sourceEvent;)e=t;return e},ue=function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]},se=function(t){var e=ae();return e.changedTouches&&(e=e.changedTouches[0]),ue(t,e)},ce=function(t){return"string"==typeof t?new Jt([document.querySelectorAll(t)],[document.documentElement]):new Jt([null==t?[]:t],Zt)},le=function(t,e,n){arguments.length<3&&(n=e,e=ae().changedTouches);for(var r,i=0,o=e?e.length:0;i<o;++i)if((r=e[i]).identifier===n)return ue(t,r);return null},fe=function(t,e){null==e&&(e=ae().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n<r;++n)i[n]=ue(t,e[n]);return i};function he(){Wt.stopImmediatePropagation()}var de=function(){Wt.preventDefault(),Wt.stopImmediatePropagation()},pe=function(t){var e=t.document.documentElement,n=ee(t).on("dragstart.drag",de,!0);"onselectstart"in e?n.on("selectstart.drag",de,!0):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")};function ve(t,e){var n=t.document.documentElement,r=ee(t).on("dragstart.drag",null);e&&(r.on("click.drag",de,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}var ge=function(t){return function(){return t}};function ye(t,e,n,r,i,o,a,u,s,c){this.target=t,this.type=e,this.subject=n,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=u,this.dy=s,this._=c}function me(){return!Wt.ctrlKey&&!Wt.button}function be(){return this.parentNode}function xe(t){return null==t?{x:Wt.x,y:Wt.y}:t}function we(){return navigator.maxTouchPoints||"ontouchstart"in this}ye.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var _e,Se,ke=function(){var t,e,n,r,i=me,o=be,a=xe,u=we,s={},c=ht("start","drag","end"),l=0,f=0;function h(t){t.on("mousedown.drag",d).filter(u).on("touchstart.drag",g).on("touchmove.drag",y).on("touchend.drag touchcancel.drag",m).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var a=b("mouse",o.apply(this,arguments),se,this,arguments);a&&(ee(Wt.view).on("mousemove.drag",p,!0).on("mouseup.drag",v,!0),pe(Wt.view),he(),n=!1,t=Wt.clientX,e=Wt.clientY,a("start"))}}function p(){if(de(),!n){var r=Wt.clientX-t,i=Wt.clientY-e;n=r*r+i*i>f}s.mouse("drag")}function v(){ee(Wt.view).on("mousemove.drag mouseup.drag",null),ve(Wt.view,n),de(),s.mouse("end")}function g(){if(i.apply(this,arguments)){var t,e,n=Wt.changedTouches,r=o.apply(this,arguments),a=n.length;for(t=0;t<a;++t)(e=b(n[t].identifier,r,le,this,arguments))&&(he(),e("start"))}}function y(){var t,e,n=Wt.changedTouches,r=n.length;for(t=0;t<r;++t)(e=s[n[t].identifier])&&(de(),e("drag"))}function m(){var t,e,n=Wt.changedTouches,i=n.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),t=0;t<i;++t)(e=s[n[t].identifier])&&(he(),e("end"))}function b(t,e,n,r,i){var o,u,f,d=n(e,t),p=c.copy();if(Kt(new ye(h,"beforestart",o,t,l,d[0],d[1],0,0,p),function(){return null!=(Wt.subject=o=a.apply(r,i))&&(u=o.x-d[0]||0,f=o.y-d[1]||0,!0)}))return function a(c){var v,g=d;switch(c){case"start":s[t]=a,v=l++;break;case"end":delete s[t],--l;case"drag":d=n(e,t),v=l}Kt(new ye(h,c,o,t,v,d[0]+u,d[1]+f,d[0]-g[0],d[1]-g[1],p),p.apply,p,[c,r,i])}}return h.filter=function(t){return arguments.length?(i="function"==typeof t?t:ge(!!t),h):i},h.container=function(t){return arguments.length?(o="function"==typeof t?t:ge(t),h):o},h.subject=function(t){return arguments.length?(a="function"==typeof t?t:ge(t),h):a},h.touchable=function(t){return arguments.length?(u="function"==typeof t?t:ge(!!t),h):u},h.on=function(){var t=c.on.apply(c,arguments);return t===c?h:t},h.clickDistance=function(t){return arguments.length?(f=(t=+t)*t,h):Math.sqrt(f)},h},Ee=n("pD2Y"),Oe=0,Ce=0,Ae=0,Te=1e3,Me=0,Pe=0,je=0,De="object"==typeof performance&&performance.now?performance:Date,Ie="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Ne(){return Pe||(Ie(Fe),Pe=De.now()+je)}function Fe(){Pe=0}function Re(){this._call=this._time=this._next=null}function Le(t,e,n){var r=new Re;return r.restart(t,e,n),r}function Be(){Ne(),++Oe;for(var t,e=_e;e;)(t=Pe-e._time)>=0&&e._call.call(null,t),e=e._next;--Oe}function ze(){Pe=(Me=De.now())+je,Oe=Ce=0;try{Be()}finally{Oe=0,function(){var t,e,n=_e,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:_e=e);Se=t,Ue(r)}(),Pe=0}}function Ve(){var t=De.now(),e=t-Me;e>Te&&(je-=e,Me=t)}function Ue(t){Oe||(Ce&&(Ce=clearTimeout(Ce)),t-Pe>24?(t<1/0&&(Ce=setTimeout(ze,t-De.now()-je)),Ae&&(Ae=clearInterval(Ae))):(Ae||(Me=De.now(),Ae=setInterval(Ve,Te)),Oe=1,Ie(ze)))}Re.prototype=Le.prototype={constructor:Re,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Ne():+n)+(null==e?0:+e),this._next||Se===this||(Se?Se._next=this:_e=this,Se=this),this._call=t,this._time=n,Ue()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ue())}};var He=function(t,e,n){var r=new Re;return e=null==e?0:+e,r.restart(function(n){r.stop(),t(n+e)},e,n),r},We=function(t,e,n){var r=new Re,i=e;return null==e?(r.restart(t,e,n),r):(e=+e,n=null==n?Ne():+n,r.restart(function o(a){a+=i,r.restart(o,i+=e,n),t(a)},e,n),r)},qe=ht("start","end","cancel","interrupt"),Ge=[],Ye=0,Xe=1,Ke=2,$e=3,Ze=4,Je=5,Qe=6,tn=function(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(s){var c,l,f,h;if(n.state!==Xe)return u();for(c in i)if((h=i[c]).name===n.name){if(h.state===$e)return He(o);h.state===Ze?(h.state=Qe,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[c]):+c<e&&(h.state=Qe,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[c])}if(He(function(){n.state===$e&&(n.state=Ze,n.timer.restart(a,n.delay,n.time),a(s))}),n.state=Ke,n.on.call("start",t,t.__data__,n.index,n.group),n.state===Ke){for(n.state=$e,r=new Array(f=n.tween.length),c=0,l=-1;c<f;++c)(h=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(u),n.state=Je,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);n.state===Je&&(n.on.call("end",t,t.__data__,n.index,n.group),u())}function u(){for(var r in n.state=Qe,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Le(function(t){n.state=Xe,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:qe,tween:Ge,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:Ye})};function en(t,e){var n=rn(t,e);if(n.state>Ye)throw new Error("too late; already scheduled");return n}function nn(t,e){var n=rn(t,e);if(n.state>$e)throw new Error("too late; already running");return n}function rn(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var on=function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>Ke&&n.state<Je,n.state=Qe,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}};function an(t,e,n){var r=t._id;return t.each(function(){var t=nn(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return rn(t,r).value[e]}}var un=n("FmoU"),sn=function(t,e){var n;return("number"==typeof e?Ee.o:e instanceof un.e?Ee.q:(n=Object(un.e)(e))?(e=n,Ee.q):Ee.u)(t,e)};var cn=te.prototype.constructor;function ln(t){return function(){this.style.removeProperty(t)}}var fn=0;function hn(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function dn(t){return te().transition(t)}function pn(){return++fn}var vn=te.prototype;function gn(t){return+t}function yn(t){return t*t}function mn(t){return t*(2-t)}function bn(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}function xn(t){return t*t*t}function wn(t){return--t*t*t+1}function _n(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}hn.prototype=dn.prototype={constructor:hn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=mt(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var u,s,c=r[a],l=c.length,f=o[a]=new Array(l),h=0;h<l;++h)(u=c[h])&&(s=t.call(u,u.__data__,h,c))&&("__data__"in u&&(s.__data__=u.__data__),f[h]=s,tn(f[h],e,n,h,f,rn(u,n)));return new hn(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=xt(t));for(var r=this._groups,i=r.length,o=[],a=[],u=0;u<i;++u)for(var s,c=r[u],l=c.length,f=0;f<l;++f)if(s=c[f]){for(var h,d=t.call(s,s.__data__,f,c),p=rn(s,n),v=0,g=d.length;v<g;++v)(h=d[v])&&tn(h,e,n,v,d,p);o.push(d),a.push(s)}return new hn(o,a,e,n)},filter:function(t){"function"!=typeof t&&(t=wt(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],u=a.length,s=r[i]=[],c=0;c<u;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&s.push(o);return new hn(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),u=0;u<o;++u)for(var s,c=e[u],l=n[u],f=c.length,h=a[u]=new Array(f),d=0;d<f;++d)(s=c[d]||l[d])&&(h[d]=s);for(;u<r;++u)a[u]=e[u];return new hn(a,this._parents,this._name,this._id)},selection:function(){return new cn(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=pn(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)if(a=u[c]){var l=rn(a,e);tn(a,t,n,c,u,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new hn(r,this._parents,t,n)},call:vn.call,nodes:vn.nodes,node:vn.node,size:vn.size,empty:vn.empty,each:vn.each,on:function(t,e){var n=this._id;return arguments.length<2?rn(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?en:nn;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(e,n),a.on=i}}(n,t,e))},attr:function(t,e){var n=vt(t),r="transform"===n?Ee.w:sn;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttributeNS(t.space,t.local))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s));this.removeAttributeNS(t.space,t.local)}}:function(t,e,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttribute(t))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s));this.removeAttribute(t)}})(n,r,an(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}:function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}})(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=vt(t);return this.tween(n,(r.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e(n))}}(t,i)),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e(n))}}(t,i)),n}return i._value=e,i})(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Ee.v:sn;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=Tt(this,t),a=(this.style.removeProperty(t),Tt(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,ln(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=Tt(this,t),u=n(this),s=u+"";return null==u&&(this.style.removeProperty(t),s=u=Tt(this,t)),a===s?null:a===r&&s===i?o:(i=s,o=e(r=a,u))}}(t,r,an(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,u="end."+a;return function(){var s=nn(this,t),c=s.on,l=null==s.value[a]?o||(o=ln(e)):void 0;c===n&&i===l||(r=(n=c).copy()).on(u,i=l),s.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=Tt(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,e,n){return function(r){this.style.setProperty(t,e(r),n)}}(t,o,n)),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(an(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=rn(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=nn(this,t),o=i.tween;if(o!==n)for(var a=0,u=(r=n=o).length;a<u;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=nn(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var u={name:e,value:n},s=0,c=i.length;s<c;++s)if(i[s].name===e){i[s]=u;break}s===c&&i.push(u)}o.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){en(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){en(this,t).delay=e}})(e,t)):rn(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){nn(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){nn(this,t).duration=e}})(e,t)):rn(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){nn(this,t).ease=e}}(e,t)):rn(this.node(),e).ease},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var u={value:a},s={value:function(){0==--i&&o()}};n.each(function(){var n=nn(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(u),e._.interrupt.push(u),e._.end.push(s)),n.on=e})})}};var Sn=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),kn=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),En=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),On=Math.PI,Cn=On/2;function An(t){return 1-Math.cos(t*Cn)}function Tn(t){return Math.sin(t*Cn)}function Mn(t){return(1-Math.cos(On*t))/2}function Pn(t){return Math.pow(2,10*t-10)}function jn(t){return 1-Math.pow(2,-10*t)}function Dn(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function In(t){return 1-Math.sqrt(1-t*t)}function Nn(t){return Math.sqrt(1- --t*t)}function Fn(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}var Rn=4/11,Ln=6/11,Bn=8/11,zn=.75,Vn=9/11,Un=10/11,Hn=.9375,Wn=21/22,qn=63/64,Gn=1/Rn/Rn;function Yn(t){return 1-Xn(1-t)}function Xn(t){return(t=+t)<Rn?Gn*t*t:t<Bn?Gn*(t-=Ln)*t+zn:t<Un?Gn*(t-=Vn)*t+Hn:Gn*(t-=Wn)*t+qn}function Kn(t){return((t*=2)<=1?1-Xn(1-t):Xn(t-1)+1)/2}var $n=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(1.70158),Zn=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),Jn=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158),Qn=2*Math.PI,tr=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Qn);function i(t){return e*Math.pow(2,10*--t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*Qn)},i.period=function(n){return t(e,n)},i}(1,.3),er=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Qn);function i(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*Qn)},i.period=function(n){return t(e,n)},i}(1,.3),nr=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Qn);function i(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((r-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*Qn)},i.period=function(n){return t(e,n)},i}(1,.3),rr={time:null,delay:0,duration:250,ease:_n};function ir(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return rr.time=Ne(),rr;return n}te.prototype.interrupt=function(t){return this.each(function(){on(this,t)})},te.prototype.transition=function(t){var e,n;t instanceof hn?(e=t._id,t=t._name):(e=pn(),(n=rr).time=Ne(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,u=r[o],s=u.length,c=0;c<s;++c)(a=u[c])&&tn(a,t,e,c,u,n||ir(a,e));return new hn(r,this._parents,t,e)};var or=[null],ar=function(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>Xe&&n.name===e)return new hn([[t]],or,e,+r);return null},ur=function(t){return function(){return t}},sr=function(t,e,n){this.target=t,this.type=e,this.selection=n};function cr(){Wt.stopImmediatePropagation()}var lr=function(){Wt.preventDefault(),Wt.stopImmediatePropagation()},fr={name:"drag"},hr={name:"space"},dr={name:"handle"},pr={name:"center"};function vr(t){return[+t[0],+t[1]]}function gr(t){return[vr(t[0]),vr(t[1])]}var yr={name:"x",handles:["w","e"].map(Er),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},mr={name:"y",handles:["n","s"].map(Er),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},br={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Er),input:function(t){return null==t?null:gr(t)},output:function(t){return t}},xr={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},wr={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},_r={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Sr={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},kr={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Er(t){return{type:t}}function Or(){return!Wt.ctrlKey&&!Wt.button}function Cr(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function Ar(){return navigator.maxTouchPoints||"ontouchstart"in this}function Tr(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function Mr(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function Pr(){return Ir(yr)}function jr(){return Ir(mr)}var Dr=function(){return Ir(br)};function Ir(t){var e,n=Cr,r=Or,i=Ar,o=!0,a=ht(s,"start","brush","end"),u=6;function s(e){var n=e.property("__brush",v).selectAll(".overlay").data([Er("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",xr.overlay).merge(n).each(function(){var t=Tr(this).extent;ee(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])}),e.selectAll(".selection").data([Er("selection")]).enter().append("rect").attr("class","selection").attr("cursor",xr.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,function(t){return t.type});r.exit().remove(),r.enter().append("rect").attr("class",function(t){return"handle handle--"+t.type}).attr("cursor",function(t){return xr[t.type]}),e.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var t=ee(this),e=Tr(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",function(t){return"e"===t.type[t.type.length-1]?e[1][0]-u/2:e[0][0]-u/2}).attr("y",function(t){return"s"===t.type[0]?e[1][1]-u/2:e[0][1]-u/2}).attr("width",function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+u:u}).attr("height",function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+u:u})):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function l(t,e,n){return!n&&t.__brush.emitter||new f(t,e)}function f(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function h(){if((!e||Wt.touches)&&r.apply(this,arguments)){var n,i,a,u,s,f,h,d,p,v,g,y,m=this,b=Wt.target.__data__.type,x="selection"===(o&&Wt.metaKey?b="overlay":b)?fr:o&&Wt.altKey?pr:dr,w=t===mr?null:Sr[b],_=t===yr?null:kr[b],S=Tr(m),k=S.extent,E=S.selection,O=k[0][0],C=k[0][1],A=k[1][0],T=k[1][1],M=0,P=0,j=w&&_&&o&&Wt.shiftKey,D=Wt.touches?(y=Wt.changedTouches[0].identifier,function(t){return le(t,Wt.touches,y)}):se,I=D(m),N=I,F=l(m,arguments,!0).beforestart();"overlay"===b?(E&&(p=!0),S.selection=E=[[n=t===mr?O:I[0],a=t===yr?C:I[1]],[s=t===mr?A:n,h=t===yr?T:a]]):(n=E[0][0],a=E[0][1],s=E[1][0],h=E[1][1]),i=n,u=a,f=s,d=h;var R=ee(m).attr("pointer-events","none"),L=R.selectAll(".overlay").attr("cursor",xr[b]);if(Wt.touches)F.moved=z,F.ended=U;else{var B=ee(Wt.view).on("mousemove.brush",z,!0).on("mouseup.brush",U,!0);o&&B.on("keydown.brush",function(){switch(Wt.keyCode){case 16:j=w&&_;break;case 18:x===dr&&(w&&(s=f-M*w,n=i+M*w),_&&(h=d-P*_,a=u+P*_),x=pr,V());break;case 32:x!==dr&&x!==pr||(w<0?s=f-M:w>0&&(n=i-M),_<0?h=d-P:_>0&&(a=u-P),x=hr,L.attr("cursor",xr.selection),V());break;default:return}lr()},!0).on("keyup.brush",function(){switch(Wt.keyCode){case 16:j&&(v=g=j=!1,V());break;case 18:x===pr&&(w<0?s=f:w>0&&(n=i),_<0?h=d:_>0&&(a=u),x=dr,V());break;case 32:x===hr&&(Wt.altKey?(w&&(s=f-M*w,n=i+M*w),_&&(h=d-P*_,a=u+P*_),x=pr):(w<0?s=f:w>0&&(n=i),_<0?h=d:_>0&&(a=u),x=dr),L.attr("cursor",xr[b]),V());break;default:return}lr()},!0),pe(Wt.view)}cr(),on(m),c.call(m),F.start()}function z(){var t=D(m);!j||v||g||(Math.abs(t[0]-N[0])>Math.abs(t[1]-N[1])?g=!0:v=!0),N=t,p=!0,lr(),V()}function V(){var t;switch(M=N[0]-I[0],P=N[1]-I[1],x){case hr:case fr:w&&(M=Math.max(O-n,Math.min(A-s,M)),i=n+M,f=s+M),_&&(P=Math.max(C-a,Math.min(T-h,P)),u=a+P,d=h+P);break;case dr:w<0?(M=Math.max(O-n,Math.min(A-n,M)),i=n+M,f=s):w>0&&(M=Math.max(O-s,Math.min(A-s,M)),i=n,f=s+M),_<0?(P=Math.max(C-a,Math.min(T-a,P)),u=a+P,d=h):_>0&&(P=Math.max(C-h,Math.min(T-h,P)),u=a,d=h+P);break;case pr:w&&(i=Math.max(O,Math.min(A,n-M*w)),f=Math.max(O,Math.min(A,s+M*w))),_&&(u=Math.max(C,Math.min(T,a-P*_)),d=Math.max(C,Math.min(T,h+P*_)))}f<i&&(w*=-1,t=n,n=s,s=t,t=i,i=f,f=t,b in wr&&L.attr("cursor",xr[b=wr[b]])),d<u&&(_*=-1,t=a,a=h,h=t,t=u,u=d,d=t,b in _r&&L.attr("cursor",xr[b=_r[b]])),S.selection&&(E=S.selection),v&&(i=E[0][0],f=E[1][0]),g&&(u=E[0][1],d=E[1][1]),E[0][0]===i&&E[0][1]===u&&E[1][0]===f&&E[1][1]===d||(S.selection=[[i,u],[f,d]],c.call(m),F.brush())}function U(){if(cr(),Wt.touches){if(Wt.touches.length)return;e&&clearTimeout(e),e=setTimeout(function(){e=null},500)}else ve(Wt.view,p),B.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);var t;R.attr("pointer-events","all"),L.attr("cursor",xr.overlay),S.selection&&(E=S.selection),((t=E)[0][0]===t[1][0]||t[0][1]===t[1][1])&&(S.selection=null,c.call(m)),F.end()}}function d(){l(this,arguments).moved()}function p(){l(this,arguments).ended()}function v(){var e=this.__brush||{selection:null};return e.extent=gr(n.apply(this,arguments)),e.dim=t,e}return s.move=function(e,n){e.selection?e.on("start.brush",function(){l(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){l(this,arguments).end()}).tween("brush",function(){var e=this,r=e.__brush,i=l(e,arguments),o=r.selection,a=t.input("function"==typeof n?n.apply(this,arguments):n,r.extent),u=Object(Ee.a)(o,a);function s(t){r.selection=1===t&&null===a?null:u(t),c.call(e),i.brush()}return null!==o&&null!==a?s:s(1)}):e.each(function(){var e=arguments,r=this.__brush,i=t.input("function"==typeof n?n.apply(this,e):n,r.extent),o=l(this,e).beforestart();on(this),r.selection=null===i?null:i,c.call(this),o.start().brush().end()})},s.clear=function(t){s.move(t,null)},f.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){Kt(new sr(s,e,t.output(this.state.selection)),a.apply,a,[e,this.that,this.args])}},s.extent=function(t){return arguments.length?(n="function"==typeof t?t:ur(gr(t)),s):n},s.filter=function(t){return arguments.length?(r="function"==typeof t?t:ur(!!t),s):r},s.handleSize=function(t){return arguments.length?(u=+t,s):u},s.keyModifiers=function(t){return arguments.length?(o=!!t,s):o},s.on=function(){var t=a.on.apply(a,arguments);return t===a?s:t},s}var Nr=Math.cos,Fr=Math.sin,Rr=Math.PI,Lr=Rr/2,Br=2*Rr,zr=Math.max;var Vr=function(){var t=0,e=null,n=null,r=null;function i(i){var o,a,u,s,c,l,f=i.length,h=[],d=_(f),p=[],v=[],g=v.groups=new Array(f),y=new Array(f*f);for(o=0,c=-1;++c<f;){for(a=0,l=-1;++l<f;)a+=i[c][l];h.push(a),p.push(_(f)),o+=a}for(e&&d.sort(function(t,n){return e(h[t],h[n])}),n&&p.forEach(function(t,e){t.sort(function(t,r){return n(i[e][t],i[e][r])})}),s=(o=zr(0,Br-t*f)/o)?t:Br/f,a=0,c=-1;++c<f;){for(u=a,l=-1;++l<f;){var m=d[c],b=p[m][l],x=i[m][b],w=a,S=a+=x*o;y[b*f+m]={index:m,subindex:b,startAngle:w,endAngle:S,value:x}}g[m]={index:m,startAngle:u,endAngle:a,value:h[m]},a+=s}for(c=-1;++c<f;)for(l=c-1;++l<f;){var k=y[l*f+c],E=y[c*f+l];(k.value||E.value)&&v.push(k.value<E.value?{source:E,target:k}:{source:k,target:E})}return r?v.sort(r):v}return i.padAngle=function(e){return arguments.length?(t=zr(0,e),i):t},i.sortGroups=function(t){return arguments.length?(e=t,i):e},i.sortSubgroups=function(t){return arguments.length?(n=t,i):n},i.sortChords=function(t){return arguments.length?(null==t?r=null:(e=t,r=function(t,n){return e(t.source.value+t.target.value,n.source.value+n.target.value)})._=t,i):r&&r._;var e},i},Ur=Array.prototype.slice,Hr=function(t){return function(){return t}},Wr=Math.PI,qr=2*Wr,Gr=qr-1e-6;function Yr(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Xr(){return new Yr}Yr.prototype=Xr.prototype={constructor:Yr,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,u=n-t,s=r-e,c=o-t,l=a-e,f=c*c+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>1e-6)if(Math.abs(l*u-s*c)>1e-6&&i){var h=n-o,d=r-a,p=u*u+s*s,v=h*h+d*d,g=Math.sqrt(p),y=Math.sqrt(f),m=i*Math.tan((Wr-Math.acos((p+f-v)/(2*g*y)))/2),b=m/y,x=m/g;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(e+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>c*d)+","+(this._x1=t+x*u)+","+(this._y1=e+x*s)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),u=n*Math.sin(r),s=t+a,c=e+u,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+s+","+c:(Math.abs(this._x1-s)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+s+","+c),n&&(f<0&&(f=f%qr+qr),f>Gr?this._+="A"+n+","+n+",0,1,"+l+","+(t-a)+","+(e-u)+"A"+n+","+n+",0,1,"+l+","+(this._x1=s)+","+(this._y1=c):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=Wr)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Kr=Xr;function $r(t){return t.source}function Zr(t){return t.target}function Jr(t){return t.radius}function Qr(t){return t.startAngle}function ti(t){return t.endAngle}var ei=function(){var t=$r,e=Zr,n=Jr,r=Qr,i=ti,o=null;function a(){var a,u=Ur.call(arguments),s=t.apply(this,u),c=e.apply(this,u),l=+n.apply(this,(u[0]=s,u)),f=r.apply(this,u)-Lr,h=i.apply(this,u)-Lr,d=l*Nr(f),p=l*Fr(f),v=+n.apply(this,(u[0]=c,u)),g=r.apply(this,u)-Lr,y=i.apply(this,u)-Lr;if(o||(o=a=Kr()),o.moveTo(d,p),o.arc(0,0,l,f,h),f===g&&h===y||(o.quadraticCurveTo(0,0,v*Nr(g),v*Fr(g)),o.arc(0,0,v,g,y)),o.quadraticCurveTo(0,0,d,p),o.closePath(),a)return o=null,a+""||null}return a.radius=function(t){return arguments.length?(n="function"==typeof t?t:Hr(+t),a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Hr(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Hr(+t),a):i},a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(t){return arguments.length?(e=t,a):e},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a};function ni(){}function ri(t,e){var n=new ni;if(t instanceof ni)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e(r=t[i],i,t),r)}else if(t)for(var a in t)n.set(a,t[a]);return n}ni.prototype=ri.prototype={constructor:ni,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var ii=ri,oi=function(){var t,e,n,r=[],i=[];function o(n,i,a,u){if(i>=r.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var s,c,l,f=-1,h=n.length,d=r[i++],p=ii(),v=a();++f<h;)(l=p.get(s=d(c=n[f])+""))?l.push(c):p.set(s,[c]);return p.each(function(t,e){u(v,e,o(t,i,a,u))}),v}return n={object:function(t){return o(t,0,ai,ui)},map:function(t){return o(t,0,si,ci)},entries:function(t){return function t(n,o){if(++o>r.length)return n;var a,u=i[o-1];return null!=e&&o>=r.length?a=n.entries():(a=[],n.each(function(e,n){a.push({key:n,values:t(e,o)})})),null!=u?a.sort(function(t,e){return u(t.key,e.key)}):a}(o(t,0,si,ci),0)},key:function(t){return r.push(t),n},sortKeys:function(t){return i[r.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}};function ai(){return{}}function ui(t,e,n){t[e]=n}function si(){return ii()}function ci(t,e,n){t.set(e,n)}function li(){}var fi=ii.prototype;function hi(t,e){var n=new li;if(t instanceof li)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}li.prototype=hi.prototype={constructor:li,has:fi.has,add:function(t){return this["$"+(t+="")]=t,this},remove:fi.remove,clear:fi.clear,values:fi.keys,size:fi.size,empty:fi.empty,each:fi.each};var di=hi,pi=function(t){var e=[];for(var n in t)e.push(n);return e},vi=function(t){var e=[];for(var n in t)e.push(t[n]);return e},gi=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},yi=n("SC+/"),mi=Array.prototype.slice,bi=function(t,e){return t-e},xi=function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e<n;)r+=t[e-1][1]*t[e][0]-t[e-1][0]*t[e][1];return r},wi=function(t){return function(){return t}},_i=function(t,e){for(var n,r=-1,i=e.length;++r<i;)if(n=Si(t,e[r]))return n;return 0};function Si(t,e){for(var n=e[0],r=e[1],i=-1,o=0,a=t.length,u=a-1;o<a;u=o++){var s=t[o],c=s[0],l=s[1],f=t[u],h=f[0],d=f[1];if(ki(s,f,e))return 0;l>r!=d>r&&n<(h-c)*(r-l)/(d-l)+c&&(i=-i)}return i}function ki(t,e,n){var r,i,o,a;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])==(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&(i=t[r=+(t[0]===e[0])],o=n[r],a=e[r],i<=o&&o<=a||a<=o&&o<=i)}var Ei=function(){},Oi=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],Ci=function(){var t=1,e=1,n=T,r=u;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(bi);else{var r=g(t),i=r[0],a=r[1];e=A(i,a,e),e=_(Math.floor(i/e)*e,Math.floor(a/e)*e,e)}return e.map(function(e){return o(t,e)})}function o(n,i){var o=[],u=[];return function(n,r,i){var o,u,s,c,l,f,h=new Array,d=new Array;o=u=-1,c=n[0]>=r,Oi[c<<1].forEach(p);for(;++o<t-1;)s=c,c=n[o+1]>=r,Oi[s|c<<1].forEach(p);Oi[c<<0].forEach(p);for(;++u<e-1;){for(o=-1,c=n[u*t+t]>=r,l=n[u*t]>=r,Oi[c<<1|l<<2].forEach(p);++o<t-1;)s=c,c=n[u*t+t+o+1]>=r,f=l,l=n[u*t+o+1]>=r,Oi[s|c<<1|l<<2|f<<3].forEach(p);Oi[c|l<<3].forEach(p)}o=-1,l=n[u*t]>=r,Oi[l<<2].forEach(p);for(;++o<t-1;)f=l,l=n[u*t+o+1]>=r,Oi[l<<2|f<<3].forEach(p);function p(t){var e,n,r=[t[0][0]+o,t[0][1]+u],s=[t[1][0]+o,t[1][1]+u],c=a(r),l=a(s);(e=d[c])?(n=h[l])?(delete d[e.end],delete h[n.start],e===n?(e.ring.push(s),i(e.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete d[e.end],e.ring.push(s),d[e.end=l]=e):(e=h[l])?(n=d[c])?(delete h[e.start],delete d[n.end],e===n?(e.ring.push(s),i(e.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete h[e.start],e.ring.unshift(r),h[e.start=c]=e):h[c]=d[l]={start:c,end:l,ring:[r,s]}}Oi[l<<3].forEach(p)}(n,i,function(t){r(t,n,i),xi(t)>0?o.push([t]):u.push(t)}),u.forEach(function(t){for(var e,n=0,r=o.length;n<r;++n)if(-1!==_i((e=o[n])[0],t))return void e.push(t)}),{type:"MultiPolygon",value:i,coordinates:o}}function a(e){return 2*e[0]+e[1]*(t+1)*4}function u(n,r,i){n.forEach(function(n){var o,a=n[0],u=n[1],s=0|a,c=0|u,l=r[c*t+s];a>0&&a<t&&s===a&&(o=r[c*t+s-1],n[0]=a+(i-o)/(l-o)-.5),u>0&&u<e&&c===u&&(o=r[(c-1)*t+s],n[1]=u+(i-o)/(l-o)-.5)})}return i.contour=o,i.size=function(n){if(!arguments.length)return[t,e];var r=Math.ceil(n[0]),o=Math.ceil(n[1]);if(!(r>0&&o>0))throw new Error("invalid size");return t=r,e=o,i},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?wi(mi.call(t)):wi(t),i):n},i.smooth=function(t){return arguments.length?(r=t?u:Ei,i):r===u},i};function Ai(t,e,n){for(var r=t.width,i=t.height,o=1+(n<<1),a=0;a<i;++a)for(var u=0,s=0;u<r+n;++u)u<r&&(s+=t.data[u+a*r]),u>=n&&(u>=o&&(s-=t.data[u-o+a*r]),e.data[u-n+a*r]=s/Math.min(u+1,r-1+o-u,o))}function Ti(t,e,n){for(var r=t.width,i=t.height,o=1+(n<<1),a=0;a<r;++a)for(var u=0,s=0;u<i+n;++u)u<i&&(s+=t.data[a+u*r]),u>=n&&(u>=o&&(s-=t.data[a+(u-o)*r]),e.data[a+(u-n)*r]=s/Math.min(u+1,i-1+o-u,o))}function Mi(t){return t[0]}function Pi(t){return t[1]}function ji(){return 1}var Di=function(){var t=Mi,e=Pi,n=ji,r=960,i=500,o=20,a=2,u=3*o,s=r+2*u>>a,c=i+2*u>>a,l=wi(20);function f(r){var i=new Float32Array(s*c),f=new Float32Array(s*c);r.forEach(function(r,o,l){var f=+t(r,o,l)+u>>a,h=+e(r,o,l)+u>>a,d=+n(r,o,l);f>=0&&f<s&&h>=0&&h<c&&(i[f+h*s]+=d)}),Ai({width:s,height:c,data:i},{width:s,height:c,data:f},o>>a),Ti({width:s,height:c,data:f},{width:s,height:c,data:i},o>>a),Ai({width:s,height:c,data:i},{width:s,height:c,data:f},o>>a),Ti({width:s,height:c,data:f},{width:s,height:c,data:i},o>>a),Ai({width:s,height:c,data:i},{width:s,height:c,data:f},o>>a),Ti({width:s,height:c,data:f},{width:s,height:c,data:i},o>>a);var d=l(i);if(!Array.isArray(d)){var p=I(i);d=A(0,p,d),(d=_(0,Math.floor(p/d)*d,d)).shift()}return Ci().thresholds(d).size([s,c])(i).map(h)}function h(t){return t.value*=Math.pow(2,-2*a),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,a)-u,t[1]=t[1]*Math.pow(2,a)-u}function g(){return s=r+2*(u=3*o)>>a,c=i+2*u>>a,f}return f.x=function(e){return arguments.length?(t="function"==typeof e?e:wi(+e),f):t},f.y=function(t){return arguments.length?(e="function"==typeof t?t:wi(+t),f):e},f.weight=function(t){return arguments.length?(n="function"==typeof t?t:wi(+t),f):n},f.size=function(t){if(!arguments.length)return[r,i];var e=Math.ceil(t[0]),n=Math.ceil(t[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return r=e,i=n,g()},f.cellSize=function(t){if(!arguments.length)return 1<<a;if(!((t=+t)>=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),g()},f.thresholds=function(t){return arguments.length?(l="function"==typeof t?t:Array.isArray(t)?wi(mi.call(t)):wi(t),f):l},f.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),g()},f},Ii={},Ni={},Fi=34,Ri=10,Li=13;function Bi(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+"]"}).join(",")+"}")}function zi(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}function Vi(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function Ui(t){var e,n=t.getUTCHours(),r=t.getUTCMinutes(),i=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((e=t.getUTCFullYear())<0?"-"+Vi(-e,6):e>9999?"+"+Vi(e,6):Vi(e,4))+"-"+Vi(t.getUTCMonth()+1,2)+"-"+Vi(t.getUTCDate(),2)+(o?"T"+Vi(n,2)+":"+Vi(r,2)+":"+Vi(i,2)+"."+Vi(o,3)+"Z":i?"T"+Vi(n,2)+":"+Vi(r,2)+":"+Vi(i,2)+"Z":r||n?"T"+Vi(n,2)+":"+Vi(r,2)+"Z":"")}var Hi=function(t){var e=new RegExp('["'+t+"\n\r]"),n=t.charCodeAt(0);function r(t,e){var r,i=[],o=t.length,a=0,u=0,s=o<=0,c=!1;function l(){if(s)return Ni;if(c)return c=!1,Ii;var e,r,i=a;if(t.charCodeAt(i)===Fi){for(;a++<o&&t.charCodeAt(a)!==Fi||t.charCodeAt(++a)===Fi;);return(e=a)>=o?s=!0:(r=t.charCodeAt(a++))===Ri?c=!0:r===Li&&(c=!0,t.charCodeAt(a)===Ri&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a<o;){if((r=t.charCodeAt(e=a++))===Ri)c=!0;else if(r===Li)c=!0,t.charCodeAt(a)===Ri&&++a;else if(r!==n)continue;return t.slice(i,e)}return s=!0,t.slice(i,o)}for(t.charCodeAt(o-1)===Ri&&--o,t.charCodeAt(o-1)===Li&&--o;(r=l())!==Ni;){for(var f=[];r!==Ii&&r!==Ni;)f.push(r),r=l();e&&null==(f=e(f,u++))||i.push(f)}return i}function i(e,n){return e.map(function(e){return n.map(function(t){return a(e[t])}).join(t)})}function o(e){return e.map(a).join(t)}function a(t){return null==t?"":t instanceof Date?Ui(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,o=r(t,function(t,r){if(n)return n(t,r-1);i=t,n=e?function(t,e){var n=Bi(t);return function(r,i){return e(n(r),i,t)}}(t,e):Bi(t)});return o.columns=i||[],o},parseRows:r,format:function(e,n){return null==n&&(n=zi(e)),[n.map(a).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=zi(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")}}},Wi=Hi(","),qi=Wi.parse,Gi=Wi.parseRows,Yi=Wi.format,Xi=Wi.formatBody,Ki=Wi.formatRows,$i=Hi("\t"),Zi=$i.parse,Ji=$i.parseRows,Qi=$i.format,to=$i.formatBody,eo=$i.formatRows;function no(t){for(var e in t){var n,r=t[e].trim();if(r)if("true"===r)r=!0;else if("false"===r)r=!1;else if("NaN"===r)r=NaN;else if(isNaN(n=+r)){if(!/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/.test(r))continue;r=new Date(r)}else r=n;else r=null;t[e]=r}return t}function ro(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}var io=function(t,e){return fetch(t,e).then(ro)};function oo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var ao=function(t,e){return fetch(t,e).then(oo)};function uo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var so=function(t,e){return fetch(t,e).then(uo)};function co(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),so(e,n).then(function(e){return t(e,r)})}}function lo(t,e,n,r){3===arguments.length&&"function"==typeof n&&(r=n,n=void 0);var i=Hi(t);return so(e,n).then(function(t){return i.parse(t,r)})}var fo=co(qi),ho=co(Zi),po=function(t,e){return new Promise(function(n,r){var i=new Image;for(var o in e)i[o]=e[o];i.onerror=r,i.onload=function(){n(i)},i.src=t})};function vo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.json()}var go=function(t,e){return fetch(t,e).then(vo)};function yo(t){return function(e,n){return so(e,n).then(function(e){return(new DOMParser).parseFromString(e,t)})}}var mo=yo("application/xml"),bo=yo("text/html"),xo=yo("image/svg+xml"),wo=function(t,e){var n;function r(){var r,i,o=n.length,a=0,u=0;for(r=0;r<o;++r)a+=(i=n[r]).x,u+=i.y;for(a=a/o-t,u=u/o-e,r=0;r<o;++r)(i=n[r]).x-=a,i.y-=u}return null==t&&(t=0),null==e&&(e=0),r.initialize=function(t){n=t},r.x=function(e){return arguments.length?(t=+e,r):t},r.y=function(t){return arguments.length?(e=+t,r):e},r},_o=function(t){return function(){return t}},So=function(){return 1e-6*(Math.random()-.5)};function ko(t,e,n,r){if(isNaN(e)||isNaN(n))return t;var i,o,a,u,s,c,l,f,h,d=t._root,p={data:r},v=t._x0,g=t._y0,y=t._x1,m=t._y1;if(!d)return t._root=p,t;for(;d.length;)if((c=e>=(o=(v+y)/2))?v=o:y=o,(l=n>=(a=(g+m)/2))?g=a:m=a,i=d,!(d=d[f=l<<1|c]))return i[f]=p,t;if(u=+t._x.call(null,d.data),s=+t._y.call(null,d.data),e===u&&n===s)return p.next=d,i?i[f]=p:t._root=p,t;do{i=i?i[f]=new Array(4):t._root=new Array(4),(c=e>=(o=(v+y)/2))?v=o:y=o,(l=n>=(a=(g+m)/2))?g=a:m=a}while((f=l<<1|c)==(h=(s>=a)<<1|u>=o));return i[h]=d,i[f]=p,t}var Eo=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function Oo(t){return t[0]}function Co(t){return t[1]}function Ao(t,e,n){var r=new To(null==e?Oo:e,null==n?Co:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function To(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function Mo(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Po=Ao.prototype=To.prototype;function jo(t){return t.x+t.vx}function Do(t){return t.y+t.vy}Po.copy=function(){var t,e,n=new To(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Mo(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=Mo(e));return n},Po.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return ko(this.cover(e,n),e,n,t)},Po.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),u=new Array(o),s=1/0,c=1/0,l=-1/0,f=-1/0;for(n=0;n<o;++n)isNaN(r=+this._x.call(null,e=t[n]))||isNaN(i=+this._y.call(null,e))||(a[n]=r,u[n]=i,r<s&&(s=r),r>l&&(l=r),i<c&&(c=i),i>f&&(f=i));if(s>l||c>f)return this;for(this.cover(s,c).cover(l,f),n=0;n<o;++n)ko(this,a[n],u[n],t[n]);return this},Po.cover=function(t,e){if(isNaN(t=+t)||isNaN(e=+e))return this;var n=this._x0,r=this._y0,i=this._x1,o=this._y1;if(isNaN(n))i=(n=Math.floor(t))+1,o=(r=Math.floor(e))+1;else{for(var a,u,s=i-n,c=this._root;n>t||t>=i||r>e||e>=o;)switch(u=(e<r)<<1|t<n,(a=new Array(4))[u]=c,c=a,s*=2,u){case 0:i=n+s,o=r+s;break;case 1:n=i-s,o=r+s;break;case 2:i=n+s,r=o-s;break;case 3:n=i-s,r=o-s}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=o,this},Po.data=function(){var t=[];return this.visit(function(e){if(!e.length)do{t.push(e.data)}while(e=e.next)}),t},Po.extent=function(t){return arguments.length?this.cover(+t[0][0],+t[0][1]).cover(+t[1][0],+t[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},Po.find=function(t,e,n){var r,i,o,a,u,s,c,l=this._x0,f=this._y0,h=this._x1,d=this._y1,p=[],v=this._root;for(v&&p.push(new Eo(v,l,f,h,d)),null==n?n=1/0:(l=t-n,f=e-n,h=t+n,d=e+n,n*=n);s=p.pop();)if(!(!(v=s.node)||(i=s.x0)>h||(o=s.y0)>d||(a=s.x1)<l||(u=s.y1)<f))if(v.length){var g=(i+a)/2,y=(o+u)/2;p.push(new Eo(v[3],g,y,a,u),new Eo(v[2],i,y,g,u),new Eo(v[1],g,o,a,y),new Eo(v[0],i,o,g,y)),(c=(e>=y)<<1|t>=g)&&(s=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=s)}else{var m=t-+this._x.call(null,v.data),b=e-+this._y.call(null,v.data),x=m*m+b*b;if(x<n){var w=Math.sqrt(n=x);l=t-w,f=e-w,h=t+w,d=e+w,r=v.data}}return r},Po.remove=function(t){if(isNaN(o=+this._x.call(null,t))||isNaN(a=+this._y.call(null,t)))return this;var e,n,r,i,o,a,u,s,c,l,f,h,d=this._root,p=this._x0,v=this._y0,g=this._x1,y=this._y1;if(!d)return this;if(d.length)for(;;){if((c=o>=(u=(p+g)/2))?p=u:g=u,(l=a>=(s=(v+y)/2))?v=s:y=s,e=d,!(d=d[f=l<<1|c]))return this;if(!d.length)break;(e[f+1&3]||e[f+2&3]||e[f+3&3])&&(n=e,h=f)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[f]=i:delete e[f],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[h]=d:this._root=d),this):(this._root=i,this)},Po.removeAll=function(t){for(var e=0,n=t.length;e<n;++e)this.remove(t[e]);return this},Po.root=function(){return this._root},Po.size=function(){var t=0;return this.visit(function(e){if(!e.length)do{++t}while(e=e.next)}),t},Po.visit=function(t){var e,n,r,i,o,a,u=[],s=this._root;for(s&&u.push(new Eo(s,this._x0,this._y0,this._x1,this._y1));e=u.pop();)if(!t(s=e.node,r=e.x0,i=e.y0,o=e.x1,a=e.y1)&&s.length){var c=(r+o)/2,l=(i+a)/2;(n=s[3])&&u.push(new Eo(n,c,l,o,a)),(n=s[2])&&u.push(new Eo(n,r,l,c,a)),(n=s[1])&&u.push(new Eo(n,c,i,o,l)),(n=s[0])&&u.push(new Eo(n,r,i,c,l))}return this},Po.visitAfter=function(t){var e,n=[],r=[];for(this._root&&n.push(new Eo(this._root,this._x0,this._y0,this._x1,this._y1));e=n.pop();){var i=e.node;if(i.length){var o,a=e.x0,u=e.y0,s=e.x1,c=e.y1,l=(a+s)/2,f=(u+c)/2;(o=i[0])&&n.push(new Eo(o,a,u,l,f)),(o=i[1])&&n.push(new Eo(o,l,u,s,f)),(o=i[2])&&n.push(new Eo(o,a,f,l,c)),(o=i[3])&&n.push(new Eo(o,l,f,s,c))}r.push(e)}for(;e=r.pop();)t(e.node,e.x0,e.y0,e.x1,e.y1);return this},Po.x=function(t){return arguments.length?(this._x=t,this):this._x},Po.y=function(t){return arguments.length?(this._y=t,this):this._y};var Io=function(t){var e,n,r=1,i=1;function o(){for(var t,o,u,s,c,l,f,h=e.length,d=0;d<i;++d)for(o=Ao(e,jo,Do).visitAfter(a),t=0;t<h;++t)u=e[t],l=n[u.index],f=l*l,s=u.x+u.vx,c=u.y+u.vy,o.visit(p);function p(t,e,n,i,o){var a=t.data,h=t.r,d=l+h;if(!a)return e>s+d||i<s-d||n>c+d||o<c-d;if(a.index>u.index){var p=s-a.x-a.vx,v=c-a.y-a.vy,g=p*p+v*v;g<d*d&&(0===p&&(g+=(p=So())*p),0===v&&(g+=(v=So())*v),g=(d-(g=Math.sqrt(g)))/g*r,u.vx+=(p*=g)*(d=(h*=h)/(f+h)),u.vy+=(v*=g)*d,a.vx-=p*(d=1-d),a.vy-=v*d)}}}function a(t){if(t.data)return t.r=n[t.data.index];for(var e=t.r=0;e<4;++e)t[e]&&t[e].r>t.r&&(t.r=t[e].r)}function u(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;r<o;++r)i=e[r],n[i.index]=+t(i,r,e)}}return"function"!=typeof t&&(t=_o(null==t?1:+t)),o.initialize=function(t){e=t,u()},o.iterations=function(t){return arguments.length?(i=+t,o):i},o.strength=function(t){return arguments.length?(r=+t,o):r},o.radius=function(e){return arguments.length?(t="function"==typeof e?e:_o(+e),u(),o):t},o};function No(t){return t.index}function Fo(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}var Ro=function(t){var e,n,r,i,o,a=No,u=function(t){return 1/Math.min(i[t.source.index],i[t.target.index])},s=_o(30),c=1;function l(r){for(var i=0,a=t.length;i<c;++i)for(var u,s,l,f,h,d,p,v=0;v<a;++v)s=(u=t[v]).source,f=(l=u.target).x+l.vx-s.x-s.vx||So(),h=l.y+l.vy-s.y-s.vy||So(),f*=d=((d=Math.sqrt(f*f+h*h))-n[v])/d*r*e[v],h*=d,l.vx-=f*(p=o[v]),l.vy-=h*p,s.vx+=f*(p=1-p),s.vy+=h*p}function f(){if(r){var u,s,c=r.length,l=t.length,f=ii(r,a);for(u=0,i=new Array(c);u<l;++u)(s=t[u]).index=u,"object"!=typeof s.source&&(s.source=Fo(f,s.source)),"object"!=typeof s.target&&(s.target=Fo(f,s.target)),i[s.source.index]=(i[s.source.index]||0)+1,i[s.target.index]=(i[s.target.index]||0)+1;for(u=0,o=new Array(l);u<l;++u)s=t[u],o[u]=i[s.source.index]/(i[s.source.index]+i[s.target.index]);e=new Array(l),h(),n=new Array(l),d()}}function h(){if(r)for(var n=0,i=t.length;n<i;++n)e[n]=+u(t[n],n,t)}function d(){if(r)for(var e=0,i=t.length;e<i;++e)n[e]=+s(t[e],e,t)}return null==t&&(t=[]),l.initialize=function(t){r=t,f()},l.links=function(e){return arguments.length?(t=e,f(),l):t},l.id=function(t){return arguments.length?(a=t,l):a},l.iterations=function(t){return arguments.length?(c=+t,l):c},l.strength=function(t){return arguments.length?(u="function"==typeof t?t:_o(+t),h(),l):u},l.distance=function(t){return arguments.length?(s="function"==typeof t?t:_o(+t),d(),l):s},l};function Lo(t){return t.x}function Bo(t){return t.y}var zo=10,Vo=Math.PI*(3-Math.sqrt(5)),Uo=function(t){var e,n=1,r=.001,i=1-Math.pow(r,1/300),o=0,a=.6,u=ii(),s=Le(l),c=ht("tick","end");function l(){f(),c.call("tick",e),n<r&&(s.stop(),c.call("end",e))}function f(r){var s,c,l=t.length;void 0===r&&(r=1);for(var f=0;f<r;++f)for(n+=(o-n)*i,u.each(function(t){t(n)}),s=0;s<l;++s)null==(c=t[s]).fx?c.x+=c.vx*=a:(c.x=c.fx,c.vx=0),null==c.fy?c.y+=c.vy*=a:(c.y=c.fy,c.vy=0);return e}function h(){for(var e,n=0,r=t.length;n<r;++n){if((e=t[n]).index=n,null!=e.fx&&(e.x=e.fx),null!=e.fy&&(e.y=e.fy),isNaN(e.x)||isNaN(e.y)){var i=zo*Math.sqrt(n),o=n*Vo;e.x=i*Math.cos(o),e.y=i*Math.sin(o)}(isNaN(e.vx)||isNaN(e.vy))&&(e.vx=e.vy=0)}}function d(e){return e.initialize&&e.initialize(t),e}return null==t&&(t=[]),h(),e={tick:f,restart:function(){return s.restart(l),e},stop:function(){return s.stop(),e},nodes:function(n){return arguments.length?(t=n,h(),u.each(d),e):t},alpha:function(t){return arguments.length?(n=+t,e):n},alphaMin:function(t){return arguments.length?(r=+t,e):r},alphaDecay:function(t){return arguments.length?(i=+t,e):+i},alphaTarget:function(t){return arguments.length?(o=+t,e):o},velocityDecay:function(t){return arguments.length?(a=1-t,e):1-a},force:function(t,n){return arguments.length>1?(null==n?u.remove(t):u.set(t,d(n)),e):u.get(t)},find:function(e,n,r){var i,o,a,u,s,c=0,l=t.length;for(null==r?r=1/0:r*=r,c=0;c<l;++c)(a=(i=e-(u=t[c]).x)*i+(o=n-u.y)*o)<r&&(s=u,r=a);return s},on:function(t,n){return arguments.length>1?(c.on(t,n),e):c.on(t)}}},Ho=function(){var t,e,n,r,i=_o(-30),o=1,a=1/0,u=.81;function s(r){var i,o=t.length,a=Ao(t,Lo,Bo).visitAfter(l);for(n=r,i=0;i<o;++i)e=t[i],a.visit(f)}function c(){if(t){var e,n,o=t.length;for(r=new Array(o),e=0;e<o;++e)n=t[e],r[n.index]=+i(n,e,t)}}function l(t){var e,n,i,o,a,u=0,s=0;if(t.length){for(i=o=a=0;a<4;++a)(e=t[a])&&(n=Math.abs(e.value))&&(u+=e.value,s+=n,i+=n*e.x,o+=n*e.y);t.x=i/s,t.y=o/s}else{(e=t).x=e.data.x,e.y=e.data.y;do{u+=r[e.data.index]}while(e=e.next)}t.value=u}function f(t,i,s,c){if(!t.value)return!0;var l=t.x-e.x,f=t.y-e.y,h=c-i,d=l*l+f*f;if(h*h/u<d)return d<a&&(0===l&&(d+=(l=So())*l),0===f&&(d+=(f=So())*f),d<o&&(d=Math.sqrt(o*d)),e.vx+=l*t.value*n/d,e.vy+=f*t.value*n/d),!0;if(!(t.length||d>=a)){(t.data!==e||t.next)&&(0===l&&(d+=(l=So())*l),0===f&&(d+=(f=So())*f),d<o&&(d=Math.sqrt(o*d)));do{t.data!==e&&(h=r[t.data.index]*n/d,e.vx+=l*h,e.vy+=f*h)}while(t=t.next)}}return s.initialize=function(e){t=e,c()},s.strength=function(t){return arguments.length?(i="function"==typeof t?t:_o(+t),c(),s):i},s.distanceMin=function(t){return arguments.length?(o=t*t,s):Math.sqrt(o)},s.distanceMax=function(t){return arguments.length?(a=t*t,s):Math.sqrt(a)},s.theta=function(t){return arguments.length?(u=t*t,s):Math.sqrt(u)},s},Wo=function(t,e,n){var r,i,o,a=_o(.1);function u(t){for(var a=0,u=r.length;a<u;++a){var s=r[a],c=s.x-e||1e-6,l=s.y-n||1e-6,f=Math.sqrt(c*c+l*l),h=(o[a]-f)*i[a]*t/f;s.vx+=c*h,s.vy+=l*h}}function s(){if(r){var e,n=r.length;for(i=new Array(n),o=new Array(n),e=0;e<n;++e)o[e]=+t(r[e],e,r),i[e]=isNaN(o[e])?0:+a(r[e],e,r)}}return"function"!=typeof t&&(t=_o(+t)),null==e&&(e=0),null==n&&(n=0),u.initialize=function(t){r=t,s()},u.strength=function(t){return arguments.length?(a="function"==typeof t?t:_o(+t),s(),u):a},u.radius=function(e){return arguments.length?(t="function"==typeof e?e:_o(+e),s(),u):t},u.x=function(t){return arguments.length?(e=+t,u):e},u.y=function(t){return arguments.length?(n=+t,u):n},u},qo=function(t){var e,n,r,i=_o(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vx+=(r[o]-i.x)*n[o]*t}function a(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!=typeof t&&(t=_o(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:_o(+t),a(),o):i},o.x=function(e){return arguments.length?(t="function"==typeof e?e:_o(+e),a(),o):t},o},Go=function(t){var e,n,r,i=_o(.1);function o(t){for(var i,o=0,a=e.length;o<a;++o)(i=e[o]).vy+=(r[o]-i.y)*n[o]*t}function a(){if(e){var o,a=e.length;for(n=new Array(a),r=new Array(a),o=0;o<a;++o)n[o]=isNaN(r[o]=+t(e[o],o,e))?0:+i(e[o],o,e)}}return"function"!=typeof t&&(t=_o(null==t?0:+t)),o.initialize=function(t){e=t,a()},o.strength=function(t){return arguments.length?(i="function"==typeof t?t:_o(+t),a(),o):i},o.y=function(e){return arguments.length?(t="function"==typeof e?e:_o(+e),a(),o):t},o},Yo=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]},Xo=function(t){return(t=Yo(Math.abs(t)))?t[1]:NaN},Ko=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function $o(t){if(!(e=Ko.exec(t)))throw new Error("invalid format: "+t);var e;return new Zo({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Zo(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}$o.prototype=Zo.prototype,Zo.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Jo,Qo,ta,ea,na=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(i>0){if(!+t[r])break t;i=0}}return i>0?t.slice(0,i)+t.slice(e+1):t},ra=function(t,e){var n=Yo(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},ia={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return ra(100*t,e)},r:ra,s:function(t,e){var n=Yo(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Jo=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Yo(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},oa=function(t){return t},aa=Array.prototype.map,ua=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],sa=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?oa:(e=aa.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,u=e[0],s=0;i>0&&u>0&&(s+u+1>r&&(u=Math.max(1,r-s)),o.push(t.substring(i-=u,i+u)),!((s+=u+1)>r));)u=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?oa:function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(aa.call(t.numerals,String)),s=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=$o(t)).fill,n=t.align,f=t.sign,h=t.symbol,d=t.zero,p=t.width,v=t.comma,g=t.precision,y=t.trim,m=t.type;"n"===m?(v=!0,m="g"):ia[m]||(void 0===g&&(g=12),y=!0,m="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var b="$"===h?i:"#"===h&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",x="$"===h?o:/[%p]/.test(m)?s:"",w=ia[m],_=/[defgprs%]/.test(m);function S(t){var i,o,s,h=b,S=x;if("c"===m)S=w(t)+S,t="";else{var k=(t=+t)<0;if(t=isNaN(t)?l:w(Math.abs(t),g),y&&(t=na(t)),k&&0==+t&&(k=!1),h=(k?"("===f?f:c:"-"===f||"("===f?"":f)+h,S=("s"===m?ua[8+Jo/3]:"")+S+(k&&"("===f?")":""),_)for(i=-1,o=t.length;++i<o;)if(48>(s=t.charCodeAt(i))||s>57){S=(46===s?a+t.slice(i+1):t.slice(i))+S,t=t.slice(0,i);break}}v&&!d&&(t=r(t,1/0));var E=h.length+t.length+S.length,O=E<p?new Array(p-E+1).join(e):"";switch(v&&d&&(t=r(O+t,O.length?p-S.length:1/0),O=""),n){case"<":t=h+t+S+O;break;case"=":t=h+O+t+S;break;case"^":t=O.slice(0,E=O.length>>1)+h+t+S+O.slice(E);break;default:t=O+h+t+S}return u(t)}return g=void 0===g?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),S.toString=function(){return t+""},S}return{format:f,formatPrefix:function(t,e){var n=f(((t=$o(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Xo(e)/3))),i=Math.pow(10,-r),o=ua[8+r/3];return function(t){return n(i*t)+o}}}};function ca(t){return Qo=sa(t),ta=Qo.format,ea=Qo.formatPrefix,Qo}ca({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var la=function(t){return Math.max(0,-Xo(Math.abs(t)))},fa=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Xo(e)/3)))-Xo(Math.abs(t)))},ha=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Xo(e)-Xo(t))+1},da=function(){return new pa};function pa(){this.reset()}pa.prototype={constructor:pa,reset:function(){this.s=this.t=0},add:function(t){ga(va,t,this.t),ga(this,va.s,this.s),this.s?this.t+=va.t:this.s=va.t},valueOf:function(){return this.s}};var va=new pa;function ga(t,e,n){var r=t.s=e+n,i=r-e,o=r-i;t.t=e-o+(n-i)}var ya=1e-6,ma=1e-12,ba=Math.PI,xa=ba/2,wa=ba/4,_a=2*ba,Sa=180/ba,ka=ba/180,Ea=Math.abs,Oa=Math.atan,Ca=Math.atan2,Aa=Math.cos,Ta=Math.ceil,Ma=Math.exp,Pa=(Math.floor,Math.log),ja=Math.pow,Da=Math.sin,Ia=Math.sign||function(t){return t>0?1:t<0?-1:0},Na=Math.sqrt,Fa=Math.tan;function Ra(t){return t>1?0:t<-1?ba:Math.acos(t)}function La(t){return t>1?xa:t<-1?-xa:Math.asin(t)}function Ba(t){return(t=Da(t/2))*t}function za(){}function Va(t,e){t&&Ha.hasOwnProperty(t.type)&&Ha[t.type](t,e)}var Ua={Feature:function(t,e){Va(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)Va(n[r].geometry,e)}},Ha={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){Wa(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)Wa(n[r],e,0)},Polygon:function(t,e){qa(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)qa(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)Va(n[r],e)}};function Wa(t,e,n){var r,i=-1,o=t.length-n;for(e.lineStart();++i<o;)r=t[i],e.point(r[0],r[1],r[2]);e.lineEnd()}function qa(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)Wa(t[n],e,1);e.polygonEnd()}var Ga,Ya,Xa,Ka,$a,Za=function(t,e){t&&Ua.hasOwnProperty(t.type)?Ua[t.type](t,e):Va(t,e)},Ja=da(),Qa=da(),tu={point:za,lineStart:za,lineEnd:za,polygonStart:function(){Ja.reset(),tu.lineStart=eu,tu.lineEnd=nu},polygonEnd:function(){var t=+Ja;Qa.add(t<0?_a+t:t),this.lineStart=this.lineEnd=this.point=za},sphere:function(){Qa.add(_a)}};function eu(){tu.point=ru}function nu(){iu(Ga,Ya)}function ru(t,e){tu.point=iu,Ga=t,Ya=e,Xa=t*=ka,Ka=Aa(e=(e*=ka)/2+wa),$a=Da(e)}function iu(t,e){var n=(t*=ka)-Xa,r=n>=0?1:-1,i=r*n,o=Aa(e=(e*=ka)/2+wa),a=Da(e),u=$a*a,s=Ka*o+u*Aa(i),c=u*r*Da(i);Ja.add(Ca(c,s)),Xa=t,Ka=o,$a=a}var ou=function(t){return Qa.reset(),Za(t,tu),2*Qa};function au(t){return[Ca(t[1],t[0]),La(t[2])]}function uu(t){var e=t[0],n=t[1],r=Aa(n);return[r*Aa(e),r*Da(e),Da(n)]}function su(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function cu(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lu(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function fu(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function hu(t){var e=Na(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var du,pu,vu,gu,yu,mu,bu,xu,wu,_u,Su=da(),ku={point:Eu,lineStart:Cu,lineEnd:Au,polygonStart:function(){ku.point=Tu,ku.lineStart=Mu,ku.lineEnd=Pu,Su.reset(),tu.polygonStart()},polygonEnd:function(){tu.polygonEnd(),ku.point=Eu,ku.lineStart=Cu,ku.lineEnd=Au,Ja<0?(du=-(vu=180),pu=-(gu=90)):Su>ya?gu=90:Su<-ya&&(pu=-90),_u[0]=du,_u[1]=vu},sphere:function(){du=-(vu=180),pu=-(gu=90)}};function Eu(t,e){wu.push(_u=[du=t,vu=t]),e<pu&&(pu=e),e>gu&&(gu=e)}function Ou(t,e){var n=uu([t*ka,e*ka]);if(xu){var r=cu(xu,n),i=cu([r[1],-r[0],0],r);hu(i),i=au(i);var o,a=t-yu,u=a>0?1:-1,s=i[0]*Sa*u,c=Ea(a)>180;c^(u*yu<s&&s<u*t)?(o=i[1]*Sa)>gu&&(gu=o):c^(u*yu<(s=(s+360)%360-180)&&s<u*t)?(o=-i[1]*Sa)<pu&&(pu=o):(e<pu&&(pu=e),e>gu&&(gu=e)),c?t<yu?ju(du,t)>ju(du,vu)&&(vu=t):ju(t,vu)>ju(du,vu)&&(du=t):vu>=du?(t<du&&(du=t),t>vu&&(vu=t)):t>yu?ju(du,t)>ju(du,vu)&&(vu=t):ju(t,vu)>ju(du,vu)&&(du=t)}else wu.push(_u=[du=t,vu=t]);e<pu&&(pu=e),e>gu&&(gu=e),xu=n,yu=t}function Cu(){ku.point=Ou}function Au(){_u[0]=du,_u[1]=vu,ku.point=Eu,xu=null}function Tu(t,e){if(xu){var n=t-yu;Su.add(Ea(n)>180?n+(n>0?360:-360):n)}else mu=t,bu=e;tu.point(t,e),Ou(t,e)}function Mu(){tu.lineStart()}function Pu(){Tu(mu,bu),tu.lineEnd(),Ea(Su)>ya&&(du=-(vu=180)),_u[0]=du,_u[1]=vu,xu=null}function ju(t,e){return(e-=t)<0?e+360:e}function Du(t,e){return t[0]-e[0]}function Iu(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var Nu,Fu,Ru,Lu,Bu,zu,Vu,Uu,Hu,Wu,qu,Gu,Yu,Xu,Ku,$u,Zu=function(t){var e,n,r,i,o,a,u;if(gu=vu=-(du=pu=1/0),wu=[],Za(t,ku),n=wu.length){for(wu.sort(Du),e=1,o=[r=wu[0]];e<n;++e)Iu(r,(i=wu[e])[0])||Iu(r,i[1])?(ju(r[0],i[1])>ju(r[0],r[1])&&(r[1]=i[1]),ju(i[0],r[1])>ju(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)i=o[e],(u=ju(r[1],i[0]))>a&&(a=u,du=i[0],vu=r[1])}return wu=_u=null,du===1/0||pu===1/0?[[NaN,NaN],[NaN,NaN]]:[[du,pu],[vu,gu]]},Ju={sphere:za,point:Qu,lineStart:es,lineEnd:is,polygonStart:function(){Ju.lineStart=os,Ju.lineEnd=as},polygonEnd:function(){Ju.lineStart=es,Ju.lineEnd=is}};function Qu(t,e){t*=ka;var n=Aa(e*=ka);ts(n*Aa(t),n*Da(t),Da(e))}function ts(t,e,n){Ru+=(t-Ru)/++Nu,Lu+=(e-Lu)/Nu,Bu+=(n-Bu)/Nu}function es(){Ju.point=ns}function ns(t,e){t*=ka;var n=Aa(e*=ka);Xu=n*Aa(t),Ku=n*Da(t),$u=Da(e),Ju.point=rs,ts(Xu,Ku,$u)}function rs(t,e){t*=ka;var n=Aa(e*=ka),r=n*Aa(t),i=n*Da(t),o=Da(e),a=Ca(Na((a=Ku*o-$u*i)*a+(a=$u*r-Xu*o)*a+(a=Xu*i-Ku*r)*a),Xu*r+Ku*i+$u*o);Fu+=a,zu+=a*(Xu+(Xu=r)),Vu+=a*(Ku+(Ku=i)),Uu+=a*($u+($u=o)),ts(Xu,Ku,$u)}function is(){Ju.point=Qu}function os(){Ju.point=us}function as(){ss(Gu,Yu),Ju.point=Qu}function us(t,e){Gu=t,Yu=e,t*=ka,e*=ka,Ju.point=ss;var n=Aa(e);Xu=n*Aa(t),Ku=n*Da(t),$u=Da(e),ts(Xu,Ku,$u)}function ss(t,e){t*=ka;var n=Aa(e*=ka),r=n*Aa(t),i=n*Da(t),o=Da(e),a=Ku*o-$u*i,u=$u*r-Xu*o,s=Xu*i-Ku*r,c=Na(a*a+u*u+s*s),l=La(c),f=c&&-l/c;Hu+=f*a,Wu+=f*u,qu+=f*s,Fu+=l,zu+=l*(Xu+(Xu=r)),Vu+=l*(Ku+(Ku=i)),Uu+=l*($u+($u=o)),ts(Xu,Ku,$u)}var cs=function(t){Nu=Fu=Ru=Lu=Bu=zu=Vu=Uu=Hu=Wu=qu=0,Za(t,Ju);var e=Hu,n=Wu,r=qu,i=e*e+n*n+r*r;return i<ma&&(e=zu,n=Vu,r=Uu,Fu<ya&&(e=Ru,n=Lu,r=Bu),(i=e*e+n*n+r*r)<ma)?[NaN,NaN]:[Ca(n,e)*Sa,La(r/Na(i))*Sa]},ls=function(t){return function(){return t}},fs=function(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n};function hs(t,e){return[Ea(t)>ba?t+Math.round(-t/_a)*_a:t,e]}function ds(t,e,n){return(t%=_a)?e||n?fs(vs(t),gs(e,n)):vs(t):e||n?gs(e,n):hs}function ps(t){return function(e,n){return[(e+=t)>ba?e-_a:e<-ba?e+_a:e,n]}}function vs(t){var e=ps(t);return e.invert=ps(-t),e}function gs(t,e){var n=Aa(t),r=Da(t),i=Aa(e),o=Da(e);function a(t,e){var a=Aa(e),u=Aa(t)*a,s=Da(t)*a,c=Da(e),l=c*n+u*r;return[Ca(s*i-l*o,u*n-c*r),La(l*i+s*o)]}return a.invert=function(t,e){var a=Aa(e),u=Aa(t)*a,s=Da(t)*a,c=Da(e),l=c*i-s*o;return[Ca(s*i+c*o,u*n+l*r),La(l*n-u*r)]},a}hs.invert=hs;var ys=function(t){function e(e){return(e=t(e[0]*ka,e[1]*ka))[0]*=Sa,e[1]*=Sa,e}return t=ds(t[0]*ka,t[1]*ka,t.length>2?t[2]*ka:0),e.invert=function(e){return(e=t.invert(e[0]*ka,e[1]*ka))[0]*=Sa,e[1]*=Sa,e},e};function ms(t,e,n,r,i,o){if(n){var a=Aa(e),u=Da(e),s=r*n;null==i?(i=e+r*_a,o=e-s/2):(i=bs(a,i),o=bs(a,o),(r>0?i<o:i>o)&&(i+=r*_a));for(var c,l=i;r>0?l>o:l<o;l-=s)c=au([a,-u*Aa(l),-u*Da(l)]),t.point(c[0],c[1])}}function bs(t,e){(e=uu(e))[0]-=t,hu(e);var n=Ra(-e[1]);return((-e[2]<0?-n:n)+_a-ya)%_a}var xs=function(){var t,e,n=ls([0,0]),r=ls(90),i=ls(6),o={point:function(n,r){t.push(n=e(n,r)),n[0]*=Sa,n[1]*=Sa}};function a(){var a=n.apply(this,arguments),u=r.apply(this,arguments)*ka,s=i.apply(this,arguments)*ka;return t=[],e=ds(-a[0]*ka,-a[1]*ka,0).invert,ms(o,u,s,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"==typeof t?t:ls([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:ls(+t),a):r},a.precision=function(t){return arguments.length?(i="function"==typeof t?t:ls(+t),a):i},a},ws=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:za,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},_s=function(t,e){return Ea(t[0]-e[0])<ya&&Ea(t[1]-e[1])<ya};function Ss(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var ks=function(t,e,n,r,i){var o,a,u=[],s=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(_s(r,a)){for(i.lineStart(),o=0;o<e;++o)i.point((r=t[o])[0],r[1]);i.lineEnd()}else u.push(n=new Ss(r,t,null,!0)),s.push(n.o=new Ss(r,null,n,!1)),u.push(n=new Ss(a,t,null,!1)),s.push(n.o=new Ss(a,null,n,!0))}}),u.length){for(s.sort(e),Es(u),Es(s),o=0,a=s.length;o<a;++o)s[o].e=n=!n;for(var c,l,f=u[0];;){for(var h=f,d=!0;h.v;)if((h=h.n)===f)return;c=h.z,i.lineStart();do{if(h.v=h.o.v=!0,h.e){if(d)for(o=0,a=c.length;o<a;++o)i.point((l=c[o])[0],l[1]);else r(h.x,h.n.x,1,i);h=h.n}else{if(d)for(c=h.p.z,o=c.length-1;o>=0;--o)i.point((l=c[o])[0],l[1]);else r(h.x,h.p.x,-1,i);h=h.p}c=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}};function Es(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r<e;)i.n=n=t[r],n.p=i,i=n;i.n=n=t[0],n.p=i}}var Os=da();function Cs(t){return Ea(t[0])<=ba?t[0]:Ia(t[0])*((Ea(t[0])+ba)%_a-ba)}var As=function(t,e){var n=Cs(e),r=e[1],i=Da(r),o=[Da(n),-Aa(n),0],a=0,u=0;Os.reset(),1===i?r=xa+ya:-1===i&&(r=-xa-ya);for(var s=0,c=t.length;s<c;++s)if(f=(l=t[s]).length)for(var l,f,h=l[f-1],d=Cs(h),p=h[1]/2+wa,v=Da(p),g=Aa(p),y=0;y<f;++y,d=b,v=w,g=_,h=m){var m=l[y],b=Cs(m),x=m[1]/2+wa,w=Da(x),_=Aa(x),S=b-d,k=S>=0?1:-1,E=k*S,O=E>ba,C=v*w;if(Os.add(Ca(C*k*Da(E),g*_+C*Aa(E))),a+=O?S+k*_a:S,O^d>=n^b>=n){var A=cu(uu(h),uu(m));hu(A);var T=cu(o,A);hu(T);var M=(O^S>=0?-1:1)*La(T[2]);(r>M||r===M&&(A[0]||A[1]))&&(u+=O^S>=0?1:-1)}}return(a<-ya||a<ya&&Os<-ya)^1&u},Ts=function(t,e,n,r){return function(i){var o,a,u,s=e(i),c=ws(),l=e(c),f=!1,h={point:d,lineStart:v,lineEnd:g,polygonStart:function(){h.point=y,h.lineStart=m,h.lineEnd=b,a=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=v,h.lineEnd=g,a=R(a);var t=As(o,r);a.length?(f||(i.polygonStart(),f=!0),ks(a,Ps,t,n,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(e,n){t(e,n)&&i.point(e,n)}function p(t,e){s.point(t,e)}function v(){h.point=p,s.lineStart()}function g(){h.point=d,s.lineEnd()}function y(t,e){u.push([t,e]),l.point(t,e)}function m(){l.lineStart(),u=[]}function b(){y(u[0][0],u[0][1]),l.lineEnd();var t,e,n,r,s=l.clean(),h=c.result(),d=h.length;if(u.pop(),o.push(u),u=null,d)if(1&s){if((e=(n=h[0]).length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<e;++t)i.point((r=n[t])[0],r[1]);i.lineEnd()}}else d>1&&2&s&&h.push(h.pop().concat(h.shift())),a.push(h.filter(Ms))}return h}};function Ms(t){return t.length>1}function Ps(t,e){return((t=t.x)[0]<0?t[1]-xa-ya:xa-t[1])-((e=e.x)[0]<0?e[1]-xa-ya:xa-e[1])}var js=Ts(function(){return!0},function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var u=o>0?ba:-ba,s=Ea(o-n);Ea(s-ba)<ya?(t.point(n,r=(r+a)/2>0?xa:-xa),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),t.point(o,r),e=0):i!==u&&s>=ba&&(Ea(n-i)<ya&&(n-=i*ya),Ea(o-u)<ya&&(o-=u*ya),r=function(t,e,n,r){var i,o,a=Da(t-n);return Ea(a)>ya?Oa((Da(e)*(o=Aa(r))*Da(n)-Da(r)*(i=Aa(e))*Da(t))/(i*o*a)):(e+r)/2}(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(u,r),e=0),t.point(n=o,r=a),i=u},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var i;if(null==t)i=n*xa,r.point(-ba,i),r.point(0,i),r.point(ba,i),r.point(ba,0),r.point(ba,-i),r.point(0,-i),r.point(-ba,-i),r.point(-ba,0),r.point(-ba,i);else if(Ea(t[0]-e[0])>ya){var o=t[0]<e[0]?ba:-ba;i=n*o/2,r.point(-o,i),r.point(0,i),r.point(o,i)}else r.point(e[0],e[1])},[-ba,-xa]);var Ds=function(t){var e=Aa(t),n=6*ka,r=e>0,i=Ea(e)>ya;function o(t,n){return Aa(t)*Aa(n)>e}function a(t,n,r){var i=[1,0,0],o=cu(uu(t),uu(n)),a=su(o,o),u=o[0],s=a-u*u;if(!s)return!r&&t;var c=e*a/s,l=-e*u/s,f=cu(i,o),h=fu(i,c);lu(h,fu(o,l));var d=f,p=su(h,d),v=su(d,d),g=p*p-v*(su(h,h)-1);if(!(g<0)){var y=Na(g),m=fu(d,(-p-y)/v);if(lu(m,h),m=au(m),!r)return m;var b,x=t[0],w=n[0],_=t[1],S=n[1];w<x&&(b=x,x=w,w=b);var k=w-x,E=Ea(k-ba)<ya;if(!E&&S<_&&(b=_,_=S,S=b),E||k<ya?E?_+S>0^m[1]<(Ea(m[0]-x)<ya?_:S):_<=m[1]&&m[1]<=S:k>ba^(x<=m[0]&&m[0]<=w)){var O=fu(d,(-p+y)/v);return lu(O,h),[m,au(O)]}}}function u(e,n){var i=r?t:ba-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return Ts(o,function(t){var e,n,s,c,l;return{lineStart:function(){c=s=!1,l=1},point:function(f,h){var d,p=[f,h],v=o(f,h),g=r?v?0:u(f,h):v?u(f+(f<0?ba:-ba),h):0;if(!e&&(c=s=v)&&t.lineStart(),v!==s&&(!(d=a(e,p))||_s(e,d)||_s(p,d))&&(p[0]+=ya,p[1]+=ya,v=o(p[0],p[1])),v!==s)l=0,v?(t.lineStart(),d=a(p,e),t.point(d[0],d[1])):(d=a(e,p),t.point(d[0],d[1]),t.lineEnd()),e=d;else if(i&&e&&r^v){var y;g&n||!(y=a(p,e,!0))||(l=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!v||e&&_s(e,p)||t.point(p[0],p[1]),e=p,s=v,n=g},lineEnd:function(){s&&t.lineEnd(),e=null},clean:function(){return l|(c&&s)<<1}}},function(e,r,i,o){ms(o,t,n,i,e,r)},r?[0,-t]:[-ba,t-ba])},Is=function(t,e,n,r,i,o){var a,u=t[0],s=t[1],c=0,l=1,f=e[0]-u,h=e[1]-s;if(a=n-u,f||!(a>0)){if(a/=f,f<0){if(a<c)return;a<l&&(l=a)}else if(f>0){if(a>l)return;a>c&&(c=a)}if(a=i-u,f||!(a<0)){if(a/=f,f<0){if(a>l)return;a>c&&(c=a)}else if(f>0){if(a<c)return;a<l&&(l=a)}if(a=r-s,h||!(a>0)){if(a/=h,h<0){if(a<c)return;a<l&&(l=a)}else if(h>0){if(a>l)return;a>c&&(c=a)}if(a=o-s,h||!(a<0)){if(a/=h,h<0){if(a>l)return;a>c&&(c=a)}else if(h>0){if(a<c)return;a<l&&(l=a)}return c>0&&(t[0]=u+c*f,t[1]=s+c*h),l<1&&(e[0]=u+l*f,e[1]=s+l*h),!0}}}}},Ns=1e9,Fs=-Ns;function Rs(t,e,n,r){function i(i,o){return t<=i&&i<=n&&e<=o&&o<=r}function o(i,o,u,c){var l=0,f=0;if(null==i||(l=a(i,u))!==(f=a(o,u))||s(i,o)<0^u>0)do{c.point(0===l||3===l?t:n,l>1?r:e)}while((l=(l+u+4)%4)!==f);else c.point(o[0],o[1])}function a(r,i){return Ea(r[0]-t)<ya?i>0?0:3:Ea(r[0]-n)<ya?i>0?2:1:Ea(r[1]-e)<ya?i>0?1:0:i>0?3:2}function u(t,e){return s(t.x,e.x)}function s(t,e){var n=a(t,1),r=a(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var s,c,l,f,h,d,p,v,g,y,m,b=a,x=ws(),w={point:_,lineStart:function(){w.point=S,c&&c.push(l=[]);y=!0,g=!1,p=v=NaN},lineEnd:function(){s&&(S(f,h),d&&g&&x.rejoin(),s.push(x.result()));w.point=_,g&&b.lineEnd()},polygonStart:function(){b=x,s=[],c=[],m=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=c.length;n<i;++n)for(var o,a,u=c[n],s=1,l=u.length,f=u[0],h=f[0],d=f[1];s<l;++s)o=h,a=d,f=u[s],h=f[0],d=f[1],a<=r?d>r&&(h-o)*(r-a)>(d-a)*(t-o)&&++e:d<=r&&(h-o)*(r-a)<(d-a)*(t-o)&&--e;return e}(),n=m&&e,i=(s=R(s)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&ks(s,u,e,o,a),a.polygonEnd());b=a,s=c=l=null}};function _(t,e){i(t,e)&&b.point(t,e)}function S(o,a){var u=i(o,a);if(c&&l.push([o,a]),y)f=o,h=a,d=u,y=!1,u&&(b.lineStart(),b.point(o,a));else if(u&&g)b.point(o,a);else{var s=[p=Math.max(Fs,Math.min(Ns,p)),v=Math.max(Fs,Math.min(Ns,v))],x=[o=Math.max(Fs,Math.min(Ns,o)),a=Math.max(Fs,Math.min(Ns,a))];Is(s,x,t,e,n,r)?(g||(b.lineStart(),b.point(s[0],s[1])),b.point(x[0],x[1]),u||b.lineEnd(),m=!1):u&&(b.lineStart(),b.point(o,a),m=!1)}p=o,v=a,g=u}return w}}var Ls,Bs,zs,Vs=function(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=Rs(r,i,o,a)(e=n)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=e=null,n):[[r,i],[o,a]]}}},Us=da(),Hs={sphere:za,point:za,lineStart:function(){Hs.point=qs,Hs.lineEnd=Ws},lineEnd:za,polygonStart:za,polygonEnd:za};function Ws(){Hs.point=Hs.lineEnd=za}function qs(t,e){Ls=t*=ka,Bs=Da(e*=ka),zs=Aa(e),Hs.point=Gs}function Gs(t,e){t*=ka;var n=Da(e*=ka),r=Aa(e),i=Ea(t-Ls),o=Aa(i),a=r*Da(i),u=zs*n-Bs*r*o,s=Bs*n+zs*r*o;Us.add(Ca(Na(a*a+u*u),s)),Ls=t,Bs=n,zs=r}var Ys=function(t){return Us.reset(),Za(t,Hs),+Us},Xs=[null,null],Ks={type:"LineString",coordinates:Xs},$s=function(t,e){return Xs[0]=t,Xs[1]=e,Ys(Ks)},Zs={Feature:function(t,e){return Qs(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r<i;)if(Qs(n[r].geometry,e))return!0;return!1}},Js={Sphere:function(){return!0},Point:function(t,e){return tc(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(tc(n[r],e))return!0;return!1},LineString:function(t,e){return ec(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(ec(n[r],e))return!0;return!1},Polygon:function(t,e){return nc(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,i=n.length;++r<i;)if(nc(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,i=n.length;++r<i;)if(Qs(n[r],e))return!0;return!1}};function Qs(t,e){return!(!t||!Js.hasOwnProperty(t.type))&&Js[t.type](t,e)}function tc(t,e){return 0===$s(t,e)}function ec(t,e){for(var n,r,i,o=0,a=t.length;o<a;o++){if(0===(r=$s(t[o],e)))return!0;if(o>0&&(i=$s(t[o],t[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<ma*i)return!0;n=r}return!1}function nc(t,e){return!!As(t.map(rc),ic(e))}function rc(t){return(t=t.map(ic)).pop(),t}function ic(t){return[t[0]*ka,t[1]*ka]}var oc=function(t,e){return(t&&Zs.hasOwnProperty(t.type)?Zs[t.type]:Qs)(t,e)};function ac(t,e,n){var r=_(t,e-ya,n).concat(e);return function(t){return r.map(function(e){return[t,e]})}}function uc(t,e,n){var r=_(t,e-ya,n).concat(e);return function(t){return r.map(function(e){return[e,t]})}}function sc(){var t,e,n,r,i,o,a,u,s,c,l,f,h=10,d=h,p=90,v=360,g=2.5;function y(){return{type:"MultiLineString",coordinates:m()}}function m(){return _(Ta(r/p)*p,n,p).map(l).concat(_(Ta(u/v)*v,a,v).map(f)).concat(_(Ta(e/h)*h,t,h).filter(function(t){return Ea(t%p)>ya}).map(s)).concat(_(Ta(o/d)*d,i,d).filter(function(t){return Ea(t%v)>ya}).map(c))}return y.lines=function(){return m().map(function(t){return{type:"LineString",coordinates:t}})},y.outline=function(){return{type:"Polygon",coordinates:[l(r).concat(f(a).slice(1),l(n).reverse().slice(1),f(u).reverse().slice(1))]}},y.extent=function(t){return arguments.length?y.extentMajor(t).extentMinor(t):y.extentMinor()},y.extentMajor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],u=+t[0][1],a=+t[1][1],r>n&&(t=r,r=n,n=t),u>a&&(t=u,u=a,a=t),y.precision(g)):[[r,u],[n,a]]},y.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],o=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),o>i&&(n=o,o=i,i=n),y.precision(g)):[[e,o],[t,i]]},y.step=function(t){return arguments.length?y.stepMajor(t).stepMinor(t):y.stepMinor()},y.stepMajor=function(t){return arguments.length?(p=+t[0],v=+t[1],y):[p,v]},y.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],y):[h,d]},y.precision=function(h){return arguments.length?(g=+h,s=ac(o,i,90),c=uc(e,t,g),l=ac(u,a,90),f=uc(r,n,g),y):g},y.extentMajor([[-180,-90+ya],[180,90-ya]]).extentMinor([[-180,-80-ya],[180,80+ya]])}function cc(){return sc()()}var lc,fc,hc,dc,pc=function(t,e){var n=t[0]*ka,r=t[1]*ka,i=e[0]*ka,o=e[1]*ka,a=Aa(r),u=Da(r),s=Aa(o),c=Da(o),l=a*Aa(n),f=a*Da(n),h=s*Aa(i),d=s*Da(i),p=2*La(Na(Ba(o-r)+a*s*Ba(i-n))),v=Da(p),g=p?function(t){var e=Da(t*=p)/v,n=Da(p-t)/v,r=n*l+e*h,i=n*f+e*d,o=n*u+e*c;return[Ca(i,r)*Sa,Ca(o,Na(r*r+i*i))*Sa]}:function(){return[n*Sa,r*Sa]};return g.distance=p,g},vc=function(t){return t},gc=da(),yc=da(),mc={point:za,lineStart:za,lineEnd:za,polygonStart:function(){mc.lineStart=bc,mc.lineEnd=_c},polygonEnd:function(){mc.lineStart=mc.lineEnd=mc.point=za,gc.add(Ea(yc)),yc.reset()},result:function(){var t=gc/2;return gc.reset(),t}};function bc(){mc.point=xc}function xc(t,e){mc.point=wc,lc=hc=t,fc=dc=e}function wc(t,e){yc.add(dc*t-hc*e),hc=t,dc=e}function _c(){wc(lc,fc)}var Sc=mc,kc=1/0,Ec=kc,Oc=-kc,Cc=Oc;var Ac,Tc,Mc,Pc,jc={point:function(t,e){t<kc&&(kc=t);t>Oc&&(Oc=t);e<Ec&&(Ec=e);e>Cc&&(Cc=e)},lineStart:za,lineEnd:za,polygonStart:za,polygonEnd:za,result:function(){var t=[[kc,Ec],[Oc,Cc]];return Oc=Cc=-(Ec=kc=1/0),t}},Dc=0,Ic=0,Nc=0,Fc=0,Rc=0,Lc=0,Bc=0,zc=0,Vc=0,Uc={point:Hc,lineStart:Wc,lineEnd:Yc,polygonStart:function(){Uc.lineStart=Xc,Uc.lineEnd=Kc},polygonEnd:function(){Uc.point=Hc,Uc.lineStart=Wc,Uc.lineEnd=Yc},result:function(){var t=Vc?[Bc/Vc,zc/Vc]:Lc?[Fc/Lc,Rc/Lc]:Nc?[Dc/Nc,Ic/Nc]:[NaN,NaN];return Dc=Ic=Nc=Fc=Rc=Lc=Bc=zc=Vc=0,t}};function Hc(t,e){Dc+=t,Ic+=e,++Nc}function Wc(){Uc.point=qc}function qc(t,e){Uc.point=Gc,Hc(Mc=t,Pc=e)}function Gc(t,e){var n=t-Mc,r=e-Pc,i=Na(n*n+r*r);Fc+=i*(Mc+t)/2,Rc+=i*(Pc+e)/2,Lc+=i,Hc(Mc=t,Pc=e)}function Yc(){Uc.point=Hc}function Xc(){Uc.point=$c}function Kc(){Zc(Ac,Tc)}function $c(t,e){Uc.point=Zc,Hc(Ac=Mc=t,Tc=Pc=e)}function Zc(t,e){var n=t-Mc,r=e-Pc,i=Na(n*n+r*r);Fc+=i*(Mc+t)/2,Rc+=i*(Pc+e)/2,Lc+=i,Bc+=(i=Pc*t-Mc*e)*(Mc+t),zc+=i*(Pc+e),Vc+=3*i,Hc(Mc=t,Pc=e)}var Jc=Uc;function Qc(t){this._context=t}Qc.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,_a)}},result:za};var tl,el,nl,rl,il,ol=da(),al={point:za,lineStart:function(){al.point=ul},lineEnd:function(){tl&&sl(el,nl),al.point=za},polygonStart:function(){tl=!0},polygonEnd:function(){tl=null},result:function(){var t=+ol;return ol.reset(),t}};function ul(t,e){al.point=sl,el=rl=t,nl=il=e}function sl(t,e){rl-=t,il-=e,ol.add(Na(rl*rl+il*il)),rl=t,il=e}var cl=al;function ll(){this._string=[]}function fl(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}ll.prototype={_radius:4.5,_circle:fl(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=fl(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var hl=function(t,e){var n,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),Za(t,n(r))),r.result()}return o.area=function(t){return Za(t,n(Sc)),Sc.result()},o.measure=function(t){return Za(t,n(cl)),cl.result()},o.bounds=function(t){return Za(t,n(jc)),jc.result()},o.centroid=function(t){return Za(t,n(Jc)),Jc.result()},o.projection=function(e){return arguments.length?(n=null==e?(t=null,vc):(t=e).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(e=null,new ll):new Qc(e=t),"function"!=typeof i&&r.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(e)},dl=function(t){return{stream:pl(t)}};function pl(t){return function(e){var n=new vl;for(var r in t)n[r]=t[r];return n.stream=e,n}}function vl(){}function gl(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),Za(n,t.stream(jc)),e(jc.result()),null!=r&&t.clipExtent(r),t}function yl(t,e,n){return gl(t,function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+e[0][0]+(r-o*(n[1][0]+n[0][0]))/2,u=+e[0][1]+(i-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([a,u])},n)}function ml(t,e,n){return yl(t,[[0,0],e],n)}function bl(t,e,n){return gl(t,function(n){var r=+e,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];t.scale(150*i).translate([o,a])},n)}function xl(t,e,n){return gl(t,function(n){var r=+e,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([o,a])},n)}vl.prototype={constructor:vl,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var wl=16,_l=Aa(30*ka),Sl=function(t,e){return+e?function(t,e){function n(r,i,o,a,u,s,c,l,f,h,d,p,v,g){var y=c-r,m=l-i,b=y*y+m*m;if(b>4*e&&v--){var x=a+h,w=u+d,_=s+p,S=Na(x*x+w*w+_*_),k=La(_/=S),E=Ea(Ea(_)-1)<ya||Ea(o-f)<ya?(o+f)/2:Ca(w,x),O=t(E,k),C=O[0],A=O[1],T=C-r,M=A-i,P=m*T-y*M;(P*P/b>e||Ea((y*T+m*M)/b-.5)>.3||a*h+u*d+s*p<_l)&&(n(r,i,o,a,u,s,C,A,E,x/=S,w/=S,_,v,g),g.point(C,A),n(C,A,E,x,w,_,c,l,f,h,d,p,v,g))}}return function(e){var r,i,o,a,u,s,c,l,f,h,d,p,v={point:g,lineStart:y,lineEnd:b,polygonStart:function(){e.polygonStart(),v.lineStart=x},polygonEnd:function(){e.polygonEnd(),v.lineStart=y}};function g(n,r){n=t(n,r),e.point(n[0],n[1])}function y(){l=NaN,v.point=m,e.lineStart()}function m(r,i){var o=uu([r,i]),a=t(r,i);n(l,f,c,h,d,p,l=a[0],f=a[1],c=r,h=o[0],d=o[1],p=o[2],wl,e),e.point(l,f)}function b(){v.point=g,e.lineEnd()}function x(){y(),v.point=w,v.lineEnd=_}function w(t,e){m(r=t,e),i=l,o=f,a=h,u=d,s=p,v.point=m}function _(){n(l,f,c,h,d,p,i,o,r,a,u,s,wl,e),v.lineEnd=b,b()}return v}}(t,e):function(t){return pl({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)};var kl=pl({point:function(t,e){this.stream.point(t*ka,e*ka)}});function El(t,e,n,r){var i=Aa(r),o=Da(r),a=i*t,u=o*t,s=i/t,c=o/t,l=(o*n-i*e)/t,f=(o*e+i*n)/t;function h(t,r){return[a*t-u*r+e,n-u*t-a*r]}return h.invert=function(t,e){return[s*t-c*e+l,f-c*t-s*e]},h}function Ol(t){return Cl(function(){return t})()}function Cl(t){var e,n,r,i,o,a,u,s,c,l,f=150,h=480,d=250,p=0,v=0,g=0,y=0,m=0,b=0,x=null,w=js,_=null,S=vc,k=.5;function E(t){return s(t[0]*ka,t[1]*ka)}function O(t){return(t=s.invert(t[0],t[1]))&&[t[0]*Sa,t[1]*Sa]}function C(){var t=El(f,0,0,b).apply(null,e(p,v)),r=(b?El:function(t,e,n){function r(r,i){return[e+t*r,n-t*i]}return r.invert=function(r,i){return[(r-e)/t,(n-i)/t]},r})(f,h-t[0],d-t[1],b);return n=ds(g,y,m),u=fs(e,r),s=fs(n,u),a=Sl(u,k),A()}function A(){return c=l=null,E}return E.stream=function(t){return c&&l===t?c:c=kl(function(t){return pl({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(w(a(S(l=t)))))},E.preclip=function(t){return arguments.length?(w=t,x=void 0,A()):w},E.postclip=function(t){return arguments.length?(S=t,_=r=i=o=null,A()):S},E.clipAngle=function(t){return arguments.length?(w=+t?Ds(x=t*ka):(x=null,js),A()):x*Sa},E.clipExtent=function(t){return arguments.length?(S=null==t?(_=r=i=o=null,vc):Rs(_=+t[0][0],r=+t[0][1],i=+t[1][0],o=+t[1][1]),A()):null==_?null:[[_,r],[i,o]]},E.scale=function(t){return arguments.length?(f=+t,C()):f},E.translate=function(t){return arguments.length?(h=+t[0],d=+t[1],C()):[h,d]},E.center=function(t){return arguments.length?(p=t[0]%360*ka,v=t[1]%360*ka,C()):[p*Sa,v*Sa]},E.rotate=function(t){return arguments.length?(g=t[0]%360*ka,y=t[1]%360*ka,m=t.length>2?t[2]%360*ka:0,C()):[g*Sa,y*Sa,m*Sa]},E.angle=function(t){return arguments.length?(b=t%360*ka,C()):b*Sa},E.precision=function(t){return arguments.length?(a=Sl(u,k=t*t),A()):Na(k)},E.fitExtent=function(t,e){return yl(E,t,e)},E.fitSize=function(t,e){return ml(E,t,e)},E.fitWidth=function(t,e){return bl(E,t,e)},E.fitHeight=function(t,e){return xl(E,t,e)},function(){return e=t.apply(this,arguments),E.invert=e.invert&&O,C()}}function Al(t){var e=0,n=ba/3,r=Cl(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*ka,n=t[1]*ka):[e*Sa,n*Sa]},i}function Tl(t,e){var n=Da(t),r=(n+Da(e))/2;if(Ea(r)<ya)return function(t){var e=Aa(t);function n(t,n){return[t*e,Da(n)/e]}return n.invert=function(t,n){return[t/e,La(n*e)]},n}(t);var i=1+n*(2*r-n),o=Na(i)/r;function a(t,e){var n=Na(i-2*r*Da(e))/r;return[n*Da(t*=r),o-n*Aa(t)]}return a.invert=function(t,e){var n=o-e;return[Ca(t,Ea(n))/r*Ia(n),La((i-(t*t+n*n)*r*r)/(2*r))]},a}var Ml=function(){return Al(Tl).scale(155.424).center([0,33.6442])},Pl=function(){return Ml().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var jl=function(){var t,e,n,r,i,o,a=Pl(),u=Ml().rotate([154,0]).center([-2,58.5]).parallels([55,65]),s=Ml().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){o=[t,e]}};function l(t){var e=t[0],a=t[1];return o=null,n.point(e,a),o||(r.point(e,a),o)||(i.point(e,a),o)}function f(){return t=e=null,l}return l.invert=function(t){var e=a.scale(),n=a.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?u:i>=.166&&i<.234&&r>=-.214&&r<-.115?s:a).invert(t)},l.stream=function(n){return t&&e===n?t:(r=[a.stream(e=n),u.stream(n),s.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n<i;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<i;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<i;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<i;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<i;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<i;)r[t].polygonEnd()}});var r,i},l.precision=function(t){return arguments.length?(a.precision(t),u.precision(t),s.precision(t),f()):a.precision()},l.scale=function(t){return arguments.length?(a.scale(t),u.scale(.35*t),s.scale(t),l.translate(a.translate())):a.scale()},l.translate=function(t){if(!arguments.length)return a.translate();var e=a.scale(),o=+t[0],l=+t[1];return n=a.translate(t).clipExtent([[o-.455*e,l-.238*e],[o+.455*e,l+.238*e]]).stream(c),r=u.translate([o-.307*e,l+.201*e]).clipExtent([[o-.425*e+ya,l+.12*e+ya],[o-.214*e-ya,l+.234*e-ya]]).stream(c),i=s.translate([o-.205*e,l+.212*e]).clipExtent([[o-.214*e+ya,l+.166*e+ya],[o-.115*e-ya,l+.234*e-ya]]).stream(c),f()},l.fitExtent=function(t,e){return yl(l,t,e)},l.fitSize=function(t,e){return ml(l,t,e)},l.fitWidth=function(t,e){return bl(l,t,e)},l.fitHeight=function(t,e){return xl(l,t,e)},l.scale(1070)};function Dl(t){return function(e,n){var r=Aa(e),i=Aa(n),o=t(r*i);return[o*i*Da(e),o*Da(n)]}}function Il(t){return function(e,n){var r=Na(e*e+n*n),i=t(r),o=Da(i),a=Aa(i);return[Ca(e*o,r*a),La(r&&n*o/r)]}}var Nl=Dl(function(t){return Na(2/(1+t))});Nl.invert=Il(function(t){return 2*La(t/2)});var Fl=function(){return Ol(Nl).scale(124.75).clipAngle(179.999)},Rl=Dl(function(t){return(t=Ra(t))&&t/Da(t)});Rl.invert=Il(function(t){return t});var Ll=function(){return Ol(Rl).scale(79.4188).clipAngle(179.999)};function Bl(t,e){return[t,Pa(Fa((xa+e)/2))]}Bl.invert=function(t,e){return[t,2*Oa(Ma(e))-xa]};var zl=function(){return Vl(Bl).scale(961/_a)};function Vl(t){var e,n,r,i=Ol(t),o=i.center,a=i.scale,u=i.translate,s=i.clipExtent,c=null;function l(){var o=ba*a(),u=i(ys(i.rotate()).invert([0,0]));return s(null==c?[[u[0]-o,u[1]-o],[u[0]+o,u[1]+o]]:t===Bl?[[Math.max(u[0]-o,c),e],[Math.min(u[0]+o,n),r]]:[[c,Math.max(u[1]-o,e)],[n,Math.min(u[1]+o,r)]])}return i.scale=function(t){return arguments.length?(a(t),l()):a()},i.translate=function(t){return arguments.length?(u(t),l()):u()},i.center=function(t){return arguments.length?(o(t),l()):o()},i.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),l()):null==c?null:[[c,e],[n,r]]},l()}function Ul(t){return Fa((xa+t)/2)}function Hl(t,e){var n=Aa(t),r=t===e?Da(t):Pa(n/Aa(e))/Pa(Ul(e)/Ul(t)),i=n*ja(Ul(t),r)/r;if(!r)return Bl;function o(t,e){i>0?e<-xa+ya&&(e=-xa+ya):e>xa-ya&&(e=xa-ya);var n=i/ja(Ul(e),r);return[n*Da(r*t),i-n*Aa(r*t)]}return o.invert=function(t,e){var n=i-e,o=Ia(r)*Na(t*t+n*n);return[Ca(t,Ea(n))/r*Ia(n),2*Oa(ja(i/o,1/r))-xa]},o}var Wl=function(){return Al(Hl).scale(109.5).parallels([30,30])};function ql(t,e){return[t,e]}ql.invert=ql;var Gl=function(){return Ol(ql).scale(152.63)};function Yl(t,e){var n=Aa(t),r=t===e?Da(t):(n-Aa(e))/(e-t),i=n/r+t;if(Ea(r)<ya)return ql;function o(t,e){var n=i-e,o=r*t;return[n*Da(o),i-n*Aa(o)]}return o.invert=function(t,e){var n=i-e;return[Ca(t,Ea(n))/r*Ia(n),i-Ia(r)*Na(t*t+n*n)]},o}var Xl=function(){return Al(Yl).scale(131.154).center([0,13.9389])},Kl=1.340264,$l=-.081106,Zl=893e-6,Jl=.003796,Ql=Na(3)/2;function tf(t,e){var n=La(Ql*Da(e)),r=n*n,i=r*r*r;return[t*Aa(n)/(Ql*(Kl+3*$l*r+i*(7*Zl+9*Jl*r))),n*(Kl+$l*r+i*(Zl+Jl*r))]}tf.invert=function(t,e){for(var n,r=e,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(Kl+$l*i+o*(Zl+Jl*i))-e)/(Kl+3*$l*i+o*(7*Zl+9*Jl*i)))*r)*i*i,!(Ea(n)<ma));++a);return[Ql*t*(Kl+3*$l*i+o*(7*Zl+9*Jl*i))/Aa(r),La(Da(r)/Ql)]};var ef=function(){return Ol(tf).scale(177.158)};function nf(t,e){var n=Aa(e),r=Aa(t)*n;return[n*Da(t)/r,Da(e)/r]}nf.invert=Il(Oa);var rf=function(){return Ol(nf).scale(144.049).clipAngle(60)};function of(t,e,n,r){return 1===t&&1===e&&0===n&&0===r?vc:pl({point:function(i,o){this.stream.point(i*t+n,o*e+r)}})}var af=function(){var t,e,n,r,i,o,a=1,u=0,s=0,c=1,l=1,f=vc,h=null,d=vc;function p(){return r=i=null,o}return o={stream:function(t){return r&&i===t?r:r=f(d(i=t))},postclip:function(r){return arguments.length?(d=r,h=t=e=n=null,p()):d},clipExtent:function(r){return arguments.length?(d=null==r?(h=t=e=n=null,vc):Rs(h=+r[0][0],t=+r[0][1],e=+r[1][0],n=+r[1][1]),p()):null==h?null:[[h,t],[e,n]]},scale:function(t){return arguments.length?(f=of((a=+t)*c,a*l,u,s),p()):a},translate:function(t){return arguments.length?(f=of(a*c,a*l,u=+t[0],s=+t[1]),p()):[u,s]},reflectX:function(t){return arguments.length?(f=of(a*(c=t?-1:1),a*l,u,s),p()):c<0},reflectY:function(t){return arguments.length?(f=of(a*c,a*(l=t?-1:1),u,s),p()):l<0},fitExtent:function(t,e){return yl(o,t,e)},fitSize:function(t,e){return ml(o,t,e)},fitWidth:function(t,e){return bl(o,t,e)},fitHeight:function(t,e){return xl(o,t,e)}}};function uf(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}uf.invert=function(t,e){var n,r=e,i=25;do{var o=r*r,a=o*o;r-=n=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(Ea(n)>ya&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]};var sf=function(){return Ol(uf).scale(175.295)};function cf(t,e){return[Aa(e)*Da(t),Da(e)]}cf.invert=Il(La);var lf=function(){return Ol(cf).scale(249.5).clipAngle(90+ya)};function ff(t,e){var n=Aa(e),r=1+Aa(t)*n;return[n*Da(t)/r,Da(e)/r]}ff.invert=Il(function(t){return 2*Oa(t)});var hf=function(){return Ol(ff).scale(250).clipAngle(142)};function df(t,e){return[Pa(Fa((xa+e)/2)),-t]}df.invert=function(t,e){return[-e,2*Oa(Ma(t))-xa]};var pf=function(){var t=Vl(df),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)};function vf(t,e){return t.parent===e.parent?1:2}function gf(t,e){return t+e.x}function yf(t,e){return Math.max(t,e.y)}var mf=function(){var t=vf,e=1,n=1,r=!1;function i(i){var o,a=0;i.eachAfter(function(e){var n=e.children;n?(e.x=function(t){return t.reduce(gf,0)/t.length}(n),e.y=function(t){return 1+t.reduce(yf,0)}(n)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)});var u=function(t){for(var e;e=t.children;)t=e[0];return t}(i),s=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),c=u.x-t(u,s)/2,l=s.x+t(s,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-c)/(l-c)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i};function bf(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function xf(t,e){var n,r,i,o,a,u=new kf(t),s=+t.value&&(u.value=t.value),c=[u];for(null==e&&(e=wf);n=c.pop();)if(s&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new kf(i[o])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(Sf)}function wf(t){return t.children}function _f(t){t.data=t.data.data}function Sf(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function kf(t){this.data=t,this.depth=this.height=0,this.parent=null}kf.prototype=xf.prototype={constructor:kf,count:function(){return this.eachAfter(bf)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(t){for(var e,n,r,i=this,o=[i],a=[];i=o.pop();)if(a.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n]);for(;i=a.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return xf(this).eachBefore(_f)}};var Ef=Array.prototype.slice;var Of=function(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(Ef.call(t))).length,o=[];r<i;)e=t[r],n&&Tf(n,e)?++r:(n=Pf(o=Cf(o,e)),r=0);return n};function Cf(t,e){var n,r;if(Mf(e,t))return[e];for(n=0;n<t.length;++n)if(Af(e,t[n])&&Mf(jf(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(Af(jf(t[n],t[r]),e)&&Af(jf(t[n],e),t[r])&&Af(jf(t[r],e),t[n])&&Mf(Df(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function Af(t,e){var n=t.r-e.r,r=e.x-t.x,i=e.y-t.y;return n<0||n*n<r*r+i*i}function Tf(t,e){var n=t.r-e.r+1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function Mf(t,e){for(var n=0;n<e.length;++n)if(!Tf(t,e[n]))return!1;return!0}function Pf(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return jf(t[0],t[1]);case 3:return Df(t[0],t[1],t[2])}var e}function jf(t,e){var n=t.x,r=t.y,i=t.r,o=e.x,a=e.y,u=e.r,s=o-n,c=a-r,l=u-i,f=Math.sqrt(s*s+c*c);return{x:(n+o+s/f*l)/2,y:(r+a+c/f*l)/2,r:(f+i+u)/2}}function Df(t,e,n){var r=t.x,i=t.y,o=t.r,a=e.x,u=e.y,s=e.r,c=n.x,l=n.y,f=n.r,h=r-a,d=r-c,p=i-u,v=i-l,g=s-o,y=f-o,m=r*r+i*i-o*o,b=m-a*a-u*u+s*s,x=m-c*c-l*l+f*f,w=d*p-h*v,_=(p*x-v*b)/(2*w)-r,S=(v*g-p*y)/w,k=(d*b-h*x)/(2*w)-i,E=(h*y-d*g)/w,O=S*S+E*E-1,C=2*(o+_*S+k*E),A=_*_+k*k-o*o,T=-(O?(C+Math.sqrt(C*C-4*O*A))/(2*O):A/C);return{x:r+_+S*T,y:i+k+E*T,r:T}}function If(t,e,n){var r,i,o,a,u=t.x-e.x,s=t.y-e.y,c=u*u+s*s;c?(i=e.r+n.r,i*=i,a=t.r+n.r,i>(a*=a)?(r=(c+a-i)/(2*c),o=Math.sqrt(Math.max(0,a/c-r*r)),n.x=t.x-r*u-o*s,n.y=t.y-r*s+o*u):(r=(c+i-a)/(2*c),o=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*u-o*s,n.y=e.y+r*s+o*u)):(n.x=e.x+n.r,n.y=e.y)}function Nf(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function Ff(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function Rf(t){this._=t,this.next=null,this.previous=null}function Lf(t){if(!(i=t.length))return 0;var e,n,r,i,o,a,u,s,c,l,f;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;If(n,e,r=t[2]),e=new Rf(e),n=new Rf(n),r=new Rf(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(u=3;u<i;++u){If(e._,n._,r=t[u]),r=new Rf(r),s=n.next,c=e.previous,l=n._.r,f=e._.r;do{if(l<=f){if(Nf(s._,r._)){n=s,e.next=n,n.previous=e,--u;continue t}l+=s._.r,s=s.next}else{if(Nf(c._,r._)){(e=c).next=n,n.previous=e,--u;continue t}f+=c._.r,c=c.previous}}while(s!==c.next);for(r.previous=e,r.next=n,e.next=n.previous=n=r,o=Ff(e);(r=r.next)!==n;)(a=Ff(r))<o&&(e=r,o=a);n=e.next}for(e=[n._],r=n;(r=r.next)!==n;)e.push(r._);for(r=Of(e),u=0;u<i;++u)(e=t[u]).x-=r.x,e.y-=r.y;return r.r}var Bf=function(t){return Lf(t),t};function zf(t){if("function"!=typeof t)throw new Error;return t}function Vf(){return 0}var Uf=function(t){return function(){return t}};function Hf(t){return Math.sqrt(t.value)}var Wf=function(){var t=null,e=1,n=1,r=Vf;function i(i){return i.x=e/2,i.y=n/2,t?i.eachBefore(qf(t)).eachAfter(Gf(r,.5)).eachBefore(Yf(1)):i.eachBefore(qf(Hf)).eachAfter(Gf(Vf,1)).eachAfter(Gf(r,i.r/Math.min(e,n))).eachBefore(Yf(Math.min(e,n)/(2*i.r))),i}return i.radius=function(e){return arguments.length?(t=null==(n=e)?null:zf(n),i):t;var n},i.size=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.padding=function(t){return arguments.length?(r="function"==typeof t?t:Uf(+t),i):r},i};function qf(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function Gf(t,e){return function(n){if(r=n.children){var r,i,o,a=r.length,u=t(n)*e||0;if(u)for(i=0;i<a;++i)r[i].r+=u;if(o=Lf(r),u)for(i=0;i<a;++i)r[i].r-=u;n.r=o+u}}}function Yf(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}var Xf=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},Kf=function(t,e,n,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(r-e)/t.value;++u<s;)(o=a[u]).y0=n,o.y1=i,o.x0=e,o.x1=e+=o.value*c},$f=function(){var t=1,e=1,n=0,r=!1;function i(i){var o=i.height+1;return i.x0=i.y0=n,i.x1=t,i.y1=e/o,i.eachBefore(function(t,e){return function(r){r.children&&Kf(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var i=r.x0,o=r.y0,a=r.x1-n,u=r.y1-n;a<i&&(i=a=(i+a)/2),u<o&&(o=u=(o+u)/2),r.x0=i,r.y0=o,r.x1=a,r.y1=u}}(e,o)),r&&i.eachBefore(Xf),i}return i.round=function(t){return arguments.length?(r=!!t,i):r},i.size=function(n){return arguments.length?(t=+n[0],e=+n[1],i):[t,e]},i.padding=function(t){return arguments.length?(n=+t,i):n},i},Zf="$",Jf={depth:-1},Qf={};function th(t){return t.id}function eh(t){return t.parentId}var nh=function(){var t=th,e=eh;function n(n){var r,i,o,a,u,s,c,l=n.length,f=new Array(l),h={};for(i=0;i<l;++i)r=n[i],u=f[i]=new kf(r),null!=(s=t(r,i,n))&&(s+="")&&(h[c=Zf+(u.id=s)]=c in h?Qf:u);for(i=0;i<l;++i)if(u=f[i],null!=(s=e(n[i],i,n))&&(s+="")){if(!(a=h[Zf+s]))throw new Error("missing: "+s);if(a===Qf)throw new Error("ambiguous: "+s);a.children?a.children.push(u):a.children=[u],u.parent=a}else{if(o)throw new Error("multiple roots");o=u}if(!o)throw new Error("no root");if(o.parent=Jf,o.eachBefore(function(t){t.depth=t.parent.depth+1,--l}).eachBefore(Sf),o.parent=null,l>0)throw new Error("cycle");return o}return n.id=function(e){return arguments.length?(t=zf(e),n):t},n.parentId=function(t){return arguments.length?(e=zf(t),n):e},n};function rh(t,e){return t.parent===e.parent?1:2}function ih(t){var e=t.children;return e?e[0]:t.t}function oh(t){var e=t.children;return e?e[e.length-1]:t.t}function ah(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function uh(t,e,n){return t.a.parent===e.parent?t.a:n}function sh(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}sh.prototype=Object.create(kf.prototype);var ch=function(){var t=rh,e=1,n=1,r=null;function i(i){var s=function(t){for(var e,n,r,i,o,a=new sh(t,0),u=[a];e=u.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(n=e.children[i]=new sh(r[i],i)),n.parent=e;return(a.parent=new sh(null,0)).children=[a],a}(i);if(s.eachAfter(o),s.parent.m=-s.z,s.eachBefore(a),r)i.eachBefore(u);else{var c=i,l=i,f=i;i.eachBefore(function(t){t.x<c.x&&(c=t),t.x>l.x&&(l=t),t.depth>f.depth&&(f=t)});var h=c===l?1:t(c,l)/2,d=h-c.x,p=e/(l.x+h+d),v=n/(f.depth||1);i.eachBefore(function(t){t.x=(t.x+d)*p,t.y=t.depth*v})}return i}function o(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.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,a=e,u=n,s=o.parent.children[0],c=o.m,l=a.m,f=u.m,h=s.m;u=oh(u),o=ih(o),u&&o;)s=ih(s),(a=oh(a)).a=e,(i=u.z+f-o.z-c+t(u._,o._))>0&&(ah(uh(u,e,r),e,i),c+=i,l+=i),f+=u.m,c+=o.m,h+=s.m,l+=a.m;u&&!oh(a)&&(a.t=u,a.m+=f-l),o&&!ih(s)&&(s.t=o,s.m+=c-h,r=e)}return r}(e,i,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i},lh=function(t,e,n,r,i){for(var o,a=t.children,u=-1,s=a.length,c=t.value&&(i-n)/t.value;++u<s;)(o=a[u]).x0=e,o.x1=r,o.y0=n,o.y1=n+=o.value*c},fh=(1+Math.sqrt(5))/2;function hh(t,e,n,r,i,o){for(var a,u,s,c,l,f,h,d,p,v,g,y=[],m=e.children,b=0,x=0,w=m.length,_=e.value;b<w;){s=i-n,c=o-r;do{l=m[x++].value}while(!l&&x<w);for(f=h=l,g=l*l*(v=Math.max(c/s,s/c)/(_*t)),p=Math.max(h/g,g/f);x<w;++x){if(l+=u=m[x].value,u<f&&(f=u),u>h&&(h=u),g=l*l*v,(d=Math.max(h/g,g/f))>p){l-=u;break}p=d}y.push(a={value:l,dice:s<c,children:m.slice(b,x)}),a.dice?Kf(a,n,r,i,_?r+=c*l/_:o):lh(a,n,r,_?n+=s*l/_:i,o),_-=l,b=x}return y}var dh=function t(e){function n(t,n,r,i,o){hh(e,t,n,r,i,o)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(fh),ph=function(){var t=dh,e=!1,n=1,r=1,i=[0],o=Vf,a=Vf,u=Vf,s=Vf,c=Vf;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(Xf),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),e.x0=r,e.y0=l,e.x1=f,e.y1=h,e.children&&(n=i[e.depth+1]=o(e)/2,r+=c(e)-n,l+=a(e)-n,(f-=u(e)-n)<r&&(r=f=(r+f)/2),(h-=s(e)-n)<l&&(l=h=(l+h)/2),t(e,r,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(n=+t[0],r=+t[1],l):[n,r]},l.tile=function(e){return arguments.length?(t=zf(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(o="function"==typeof t?t:Uf(+t),l):o},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:Uf(+t),l):a},l.paddingRight=function(t){return arguments.length?(u="function"==typeof t?t:Uf(+t),l):u},l.paddingBottom=function(t){return arguments.length?(s="function"==typeof t?t:Uf(+t),l):s},l.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:Uf(+t),l):c},l},vh=function(t,e,n,r,i){var o,a,u=t.children,s=u.length,c=new Array(s+1);for(c[0]=a=o=0;o<s;++o)c[o+1]=a+=u[o].value;!function t(e,n,r,i,o,a,s){if(e>=n-1){var l=u[e];return l.x0=i,l.y0=o,l.x1=a,void(l.y1=s)}var f=c[e],h=r/2+f,d=e+1,p=n-1;for(;d<p;){var v=d+p>>>1;c[v]<h?d=v+1:p=v}h-c[d-1]<c[d]-h&&e+1<d&&--d;var g=c[d]-f,y=r-g;if(a-i>s-o){var m=(i*y+a*g)/r;t(e,d,g,i,o,m,s),t(d,n,y,m,o,a,s)}else{var b=(o*y+s*g)/r;t(e,d,g,i,o,a,b),t(d,n,y,i,b,a,s)}}(0,s,t.value,e,n,r,i)},gh=function(t,e,n,r,i){(1&t.depth?lh:Kf)(t,e,n,r,i)},yh=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,u,s,c,l,f=-1,h=a.length,d=t.value;++f<h;){for(s=(u=a[f]).children,c=u.value=0,l=s.length;c<l;++c)u.value+=s[c].value;u.dice?Kf(u,n,r,i,r+=(o-r)*u.value/d):lh(u,n,r,n+=(i-n)*u.value/d,o),d-=u.value}else t._squarify=a=hh(e,t,n,r,i,o),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(fh),mh=function(t){for(var e,n=-1,r=t.length,i=t[r-1],o=0;++n<r;)e=i,i=t[n],o+=e[1]*i[0]-e[0]*i[1];return o/2},bh=function(t){for(var e,n,r=-1,i=t.length,o=0,a=0,u=t[i-1],s=0;++r<i;)e=u,u=t[r],s+=n=e[0]*u[1]-u[0]*e[1],o+=(e[0]+u[0])*n,a+=(e[1]+u[1])*n;return[o/(s*=3),a/s]},xh=function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])-(e[1]-t[1])*(n[0]-t[0])};function wh(t,e){return t[0]-e[0]||t[1]-e[1]}function _h(t){for(var e=t.length,n=[0,1],r=2,i=2;i<e;++i){for(;r>1&&xh(t[n[r-2]],t[n[r-1]],t[i])<=0;)--r;n[r++]=i}return n.slice(0,r)}var Sh=function(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e<n;++e)r[e]=[+t[e][0],+t[e][1],e];for(r.sort(wh),e=0;e<n;++e)i[e]=[r[e][0],-r[e][1]];var o=_h(r),a=_h(i),u=a[0]===o[0],s=a[a.length-1]===o[o.length-1],c=[];for(e=o.length-1;e>=0;--e)c.push(t[r[o[e]][2]]);for(e=+u;e<a.length-s;++e)c.push(t[r[a[e]][2]]);return c},kh=function(t,e){for(var n,r,i=t.length,o=t[i-1],a=e[0],u=e[1],s=o[0],c=o[1],l=!1,f=0;f<i;++f)n=(o=t[f])[0],(r=o[1])>u!=c>u&&a<(s-n)*(u-r)/(c-r)+n&&(l=!l),s=n,c=r;return l},Eh=function(t){for(var e,n,r=-1,i=t.length,o=t[i-1],a=o[0],u=o[1],s=0;++r<i;)e=a,n=u,e-=a=(o=t[r])[0],n-=u=o[1],s+=Math.sqrt(e*e+n*n);return s},Oh=function(){return Math.random()},Ch=function t(e){function n(t,n){return t=null==t?0:+t,n=null==n?1:+n,1===arguments.length?(n=t,t=0):n-=t,function(){return e()*n+t}}return n.source=t,n}(Oh),Ah=function t(e){function n(t,n){var r,i;return t=null==t?0:+t,n=null==n?1:+n,function(){var o;if(null!=r)o=r,r=null;else do{r=2*e()-1,o=2*e()-1,i=r*r+o*o}while(!i||i>1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(Oh),Th=function t(e){function n(){var t=Ah.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(Oh),Mh=function t(e){function n(t){return function(){for(var n=0,r=0;r<t;++r)n+=e();return n}}return n.source=t,n}(Oh),Ph=function t(e){function n(t){var n=Mh.source(e)(t);return function(){return n()/t}}return n.source=t,n}(Oh),jh=function t(e){function n(t){return function(){return-Math.log(1-e())/t}}return n.source=t,n}(Oh);function Dh(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Ih(t,e){switch(arguments.length){case 0:break;case 1:this.interpolator(t);break;default:this.interpolator(e).domain(t)}return this}var Nh=Array.prototype,Fh=Nh.map,Rh=Nh.slice,Lh={name:"implicit"};function Bh(){var t=ii(),e=[],n=[],r=Lh;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==Lh)return r;t.set(o,a=e.push(i))}return n[(a-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=ii();for(var r,o,a=-1,u=n.length;++a<u;)t.has(o=(r=n[a])+"")||t.set(o,e.push(r));return i},i.range=function(t){return arguments.length?(n=Rh.call(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Bh(e,n).unknown(r)},Dh.apply(i,arguments),i}function zh(){var t,e,n=Bh().unknown(void 0),r=n.domain,i=n.range,o=[0,1],a=!1,u=0,s=0,c=.5;function l(){var n=r().length,l=o[1]<o[0],f=o[l-0],h=o[1-l];t=(h-f)/Math.max(1,n-u+2*s),a&&(t=Math.floor(t)),f+=(h-f-t*(n-u))*c,e=t*(1-u),a&&(f=Math.round(f),e=Math.round(e));var d=_(n).map(function(e){return f+t*e});return i(l?d.reverse():d)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),l()):r()},n.range=function(t){return arguments.length?(o=[+t[0],+t[1]],l()):o.slice()},n.rangeRound=function(t){return o=[+t[0],+t[1]],a=!0,l()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(a=!!t,l()):a},n.padding=function(t){return arguments.length?(u=Math.min(1,s=+t),l()):u},n.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),l()):u},n.paddingOuter=function(t){return arguments.length?(s=+t,l()):s},n.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),l()):c},n.copy=function(){return zh(r(),o).round(a).paddingInner(u).paddingOuter(s).align(c)},Dh.apply(l(),arguments)}function Vh(){return function t(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(n())},e}(zh.apply(null,arguments).paddingInner(1))}var Uh=function(t){return function(){return t}},Hh=function(t){return+t},Wh=[0,1];function qh(t){return t}function Gh(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Uh(isNaN(e)?NaN:.5)}function Yh(t){var e,n=t[0],r=t[t.length-1];return n>r&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function Xh(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=Gh(i,r),o=n(a,o)):(r=Gh(r,i),o=n(o,a)),function(t){return o(r(t))}}function Kh(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=Gh(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=s(t,e,1,r)-1;return o[n](i[n](e))}}function $h(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Zh(){var t,e,n,r,i,o,a=Wh,u=Wh,s=Ee.a,c=qh;function l(){return r=Math.min(a.length,u.length)>2?Kh:Xh,i=o=null,f}function f(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),u,s)))(t(c(e)))}return f.invert=function(n){return c(e((o||(o=r(u,a.map(t),Ee.o)))(n)))},f.domain=function(t){return arguments.length?(a=Fh.call(t,Hh),c===qh||(c=Yh(a)),l()):a.slice()},f.range=function(t){return arguments.length?(u=Rh.call(t),l()):u.slice()},f.rangeRound=function(t){return u=Rh.call(t),s=Ee.t,l()},f.clamp=function(t){return arguments.length?(c=t?Yh(a):qh,f):c!==qh},f.interpolate=function(t){return arguments.length?(s=t,l()):s},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function Jh(t,e){return Zh()(t,e)}var Qh=function(t,e,n,r){var i,o=A(t,e,n);switch((r=$o(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=fa(o,a))||(r.precision=i),ea(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=ha(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=la(o))||(r.precision=i-2*("%"===r.type))}return ta(r)};function td(t){var e=t.domain;return t.ticks=function(t){var n=e();return O(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Qh(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),o=0,a=i.length-1,u=i[o],s=i[a];return s<u&&(r=u,u=s,s=r,r=o,o=a,a=r),(r=C(u,s,n))>0?r=C(u=Math.floor(u/r)*r,s=Math.ceil(s/r)*r,n):r<0&&(r=C(u=Math.ceil(u*r)/r,s=Math.floor(s*r)/r,n)),r>0?(i[o]=Math.floor(u/r)*r,i[a]=Math.ceil(s/r)*r,e(i)):r<0&&(i[o]=Math.ceil(u*r)/r,i[a]=Math.floor(s*r)/r,e(i)),t},t}function ed(){var t=Jh(qh,qh);return t.copy=function(){return $h(t,ed())},Dh.apply(t,arguments),td(t)}function nd(t){var e;function n(t){return isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Fh.call(e,Hh),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return nd(t).unknown(e)},t=arguments.length?Fh.call(t,Hh):[0,1],td(n)}var rd=function(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t};function id(t){return Math.log(t)}function od(t){return Math.exp(t)}function ad(t){return-Math.log(-t)}function ud(t){return-Math.exp(-t)}function sd(t){return isFinite(t)?+("1e"+t):t<0?0:t}function cd(t){return function(e){return-t(-e)}}function ld(t){var e,n,r=t(id,od),i=r.domain,o=10;function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),n=function(t){return 10===t?sd:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=cd(e),n=cd(n),t(ad,ud)):t(id,od),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),u=a[0],s=a[a.length-1];(r=s<u)&&(h=u,u=s,s=h);var c,l,f,h=e(u),d=e(s),p=null==t?10:+t,v=[];if(!(o%1)&&d-h<p){if(h=Math.round(h)-1,d=Math.round(d)+1,u>0){for(;h<d;++h)for(l=1,c=n(h);l<o;++l)if(!((f=c*l)<u)){if(f>s)break;v.push(f)}}else for(;h<d;++h)for(l=o-1,c=n(h);l>=1;--l)if(!((f=c*l)<u)){if(f>s)break;v.push(f)}}else v=O(h,d,Math.min(d-h,p)).map(n);return r?v.reverse():v},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=ta(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(rd(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function fd(){var t=ld(Zh()).domain([1,10]);return t.copy=function(){return $h(t,fd()).base(t.base())},Dh.apply(t,arguments),t}function hd(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function dd(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function pd(t){var e=1,n=t(hd(e),dd(e));return n.constant=function(n){return arguments.length?t(hd(e=+n),dd(e)):e},td(n)}function vd(){var t=pd(Zh());return t.copy=function(){return $h(t,vd()).constant(t.constant())},Dh.apply(t,arguments)}function gd(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function yd(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function md(t){return t<0?-t*t:t*t}function bd(t){var e=t(qh,qh),n=1;return e.exponent=function(e){return arguments.length?1===(n=+e)?t(qh,qh):.5===n?t(yd,md):t(gd(n),gd(1/n)):n},td(e)}function xd(){var t=bd(Zh());return t.copy=function(){return $h(t,xd()).exponent(t.exponent())},Dh.apply(t,arguments),t}function wd(){return xd.apply(null,arguments).exponent(.5)}function _d(){var t,e=[],n=[],i=[];function o(){var t=0,r=Math.max(1,n.length);for(i=new Array(r-1);++t<r;)i[t-1]=P(e,t/r);return a}function a(e){return isNaN(e=+e)?t:n[s(i,e)]}return a.invertExtent=function(t){var r=n.indexOf(t);return r<0?[NaN,NaN]:[r>0?i[r-1]:e[0],r<i.length?i[r]:e[e.length-1]]},a.domain=function(t){if(!arguments.length)return e.slice();e=[];for(var n,i=0,a=t.length;i<a;++i)null==(n=t[i])||isNaN(n=+n)||e.push(n);return e.sort(r),o()},a.range=function(t){return arguments.length?(n=Rh.call(t),o()):n.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return i.slice()},a.copy=function(){return _d().domain(e).range(n).unknown(t)},Dh.apply(a,arguments)}function Sd(){var t,e=0,n=1,r=1,i=[.5],o=[0,1];function a(e){return e<=e?o[s(i,e,0,r)]:t}function u(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*n-(t-r)*e)/(r+1);return a}return a.domain=function(t){return arguments.length?(e=+t[0],n=+t[1],u()):[e,n]},a.range=function(t){return arguments.length?(r=(o=Rh.call(t)).length-1,u()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Sd().domain([e,n]).range(o).unknown(t)},Dh.apply(td(a),arguments)}function kd(){var t,e=[.5],n=[0,1],r=1;function i(i){return i<=i?n[s(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Rh.call(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Rh.call(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return kd().domain(e).range(n).unknown(t)},Dh.apply(i,arguments)}var Ed=new Date,Od=new Date;function Cd(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,u=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return u;do{u.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return u},i.filter=function(n){return Cd(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return Ed.setTime(+e),Od.setTime(+r),t(Ed),t(Od),Math.floor(n(Ed,Od))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Ad=Cd(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()});Ad.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Cd(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var Td=Ad,Md=Ad.range,Pd=Cd(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()}),jd=Pd,Dd=Pd.range,Id=6e4,Nd=6048e5;function Fd(t){return Cd(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Id)/Nd})}var Rd=Fd(0),Ld=Fd(1),Bd=Fd(2),zd=Fd(3),Vd=Fd(4),Ud=Fd(5),Hd=Fd(6),Wd=Rd.range,qd=Ld.range,Gd=Bd.range,Yd=zd.range,Xd=Vd.range,Kd=Ud.range,$d=Hd.range,Zd=Cd(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Id)/864e5},function(t){return t.getDate()-1}),Jd=Zd,Qd=Zd.range,tp=Cd(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*Id)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()}),ep=tp,np=tp.range,rp=Cd(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,e){t.setTime(+t+e*Id)},function(t,e){return(e-t)/Id},function(t){return t.getMinutes()}),ip=rp,op=rp.range,ap=Cd(function(t){t.setTime(t-t.getMilliseconds())},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),up=ap,sp=ap.range,cp=Cd(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});cp.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Cd(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):cp:null};var lp=cp,fp=cp.range;function hp(t){return Cd(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/Nd})}var dp=hp(0),pp=hp(1),vp=hp(2),gp=hp(3),yp=hp(4),mp=hp(5),bp=hp(6),xp=dp.range,wp=pp.range,_p=vp.range,Sp=gp.range,kp=yp.range,Ep=mp.range,Op=bp.range,Cp=Cd(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1}),Ap=Cp,Tp=Cp.range,Mp=Cd(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()});Mp.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Cd(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var Pp=Mp,jp=Mp.range;function Dp(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Ip(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Np(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}function Fp(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,u=t.months,s=t.shortMonths,c=Xp(i),l=Kp(i),f=Xp(o),h=Kp(o),d=Xp(a),p=Kp(a),v=Xp(u),g=Kp(u),y=Xp(s),m=Kp(s),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return s[t.getMonth()]},B:function(t){return u[t.getMonth()]},c:null,d:vv,e:vv,f:xv,H:gv,I:yv,j:mv,L:bv,m:wv,M:_v,p:function(t){return i[+(t.getHours()>=12)]},Q:$v,s:Zv,S:Sv,u:kv,U:Ev,V:Ov,w:Cv,W:Av,x:null,X:null,y:Tv,Y:Mv,Z:Pv,"%":Kv},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return s[t.getUTCMonth()]},B:function(t){return u[t.getUTCMonth()]},c:null,d:jv,e:jv,f:Rv,H:Dv,I:Iv,j:Nv,L:Fv,m:Lv,M:Bv,p:function(t){return i[+(t.getUTCHours()>=12)]},Q:$v,s:Zv,S:zv,u:Vv,U:Uv,V:Hv,w:Wv,W:qv,x:null,X:null,y:Gv,Y:Yv,Z:Xv,"%":Kv},w={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=h[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.m=m[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return k(t,e,n,r)},d:ov,e:ov,f:fv,H:uv,I:uv,j:av,L:lv,m:iv,M:sv,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=l[r[0].toLowerCase()],n+r[0].length):-1},Q:dv,s:pv,S:cv,u:Zp,U:Jp,V:Qp,w:$p,W:tv,x:function(t,e,r){return k(t,n,e,r)},X:function(t,e,n){return k(t,r,e,n)},y:nv,Y:ev,Z:rv,"%":hv};function _(t,e){return function(n){var r,i,o,a=[],u=-1,s=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===t.charCodeAt(u)&&(a.push(t.slice(s,u)),null!=(i=Up[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),s=u+1);return a.push(t.slice(s,u)),a.join("")}}function S(t,e){return function(n){var r,i,o=Np(1900);if(k(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Ip(Np(o.y))).getUTCDay(),r=i>4||0===i?pp.ceil(r):pp(r),r=Ap.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=e(Np(o.y))).getDay(),r=i>4||0===i?Ld.ceil(r):Ld(r),r=Jd.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Ip(Np(o.y)).getUTCDay():e(Np(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Ip(o)):e(o)}}function k(t,e,n,r){for(var i,o,a=0,u=e.length,s=n.length;a<u;){if(r>=s)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in Up?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=_(n,b),b.X=_(r,b),b.c=_(e,b),x.x=_(n,x),x.X=_(r,x),x.c=_(e,x),{format:function(t){var e=_(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",Dp);return e.toString=function(){return t},e},utcFormat:function(t){var e=_(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t,Ip);return e.toString=function(){return t},e}}}var Rp,Lp,Bp,zp,Vp,Up={"-":"",_:" ",0:"0"},Hp=/^\s*\d+/,Wp=/^%/,qp=/[\\^$*+?|[\]().{}]/g;function Gp(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function Yp(t){return t.replace(qp,"\\$&")}function Xp(t){return new RegExp("^(?:"+t.map(Yp).join("|")+")","i")}function Kp(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function $p(t,e,n){var r=Hp.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Zp(t,e,n){var r=Hp.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Jp(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Qp(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function tv(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ev(t,e,n){var r=Hp.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function nv(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function rv(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function iv(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function ov(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function av(t,e,n){var r=Hp.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function uv(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function sv(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function cv(t,e,n){var r=Hp.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function lv(t,e,n){var r=Hp.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function fv(t,e,n){var r=Hp.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function hv(t,e,n){var r=Wp.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function dv(t,e,n){var r=Hp.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function pv(t,e,n){var r=Hp.exec(e.slice(n));return r?(t.Q=1e3*+r[0],n+r[0].length):-1}function vv(t,e){return Gp(t.getDate(),e,2)}function gv(t,e){return Gp(t.getHours(),e,2)}function yv(t,e){return Gp(t.getHours()%12||12,e,2)}function mv(t,e){return Gp(1+Jd.count(Td(t),t),e,3)}function bv(t,e){return Gp(t.getMilliseconds(),e,3)}function xv(t,e){return bv(t,e)+"000"}function wv(t,e){return Gp(t.getMonth()+1,e,2)}function _v(t,e){return Gp(t.getMinutes(),e,2)}function Sv(t,e){return Gp(t.getSeconds(),e,2)}function kv(t){var e=t.getDay();return 0===e?7:e}function Ev(t,e){return Gp(Rd.count(Td(t),t),e,2)}function Ov(t,e){var n=t.getDay();return t=n>=4||0===n?Vd(t):Vd.ceil(t),Gp(Vd.count(Td(t),t)+(4===Td(t).getDay()),e,2)}function Cv(t){return t.getDay()}function Av(t,e){return Gp(Ld.count(Td(t),t),e,2)}function Tv(t,e){return Gp(t.getFullYear()%100,e,2)}function Mv(t,e){return Gp(t.getFullYear()%1e4,e,4)}function Pv(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Gp(e/60|0,"0",2)+Gp(e%60,"0",2)}function jv(t,e){return Gp(t.getUTCDate(),e,2)}function Dv(t,e){return Gp(t.getUTCHours(),e,2)}function Iv(t,e){return Gp(t.getUTCHours()%12||12,e,2)}function Nv(t,e){return Gp(1+Ap.count(Pp(t),t),e,3)}function Fv(t,e){return Gp(t.getUTCMilliseconds(),e,3)}function Rv(t,e){return Fv(t,e)+"000"}function Lv(t,e){return Gp(t.getUTCMonth()+1,e,2)}function Bv(t,e){return Gp(t.getUTCMinutes(),e,2)}function zv(t,e){return Gp(t.getUTCSeconds(),e,2)}function Vv(t){var e=t.getUTCDay();return 0===e?7:e}function Uv(t,e){return Gp(dp.count(Pp(t),t),e,2)}function Hv(t,e){var n=t.getUTCDay();return t=n>=4||0===n?yp(t):yp.ceil(t),Gp(yp.count(Pp(t),t)+(4===Pp(t).getUTCDay()),e,2)}function Wv(t){return t.getUTCDay()}function qv(t,e){return Gp(pp.count(Pp(t),t),e,2)}function Gv(t,e){return Gp(t.getUTCFullYear()%100,e,2)}function Yv(t,e){return Gp(t.getUTCFullYear()%1e4,e,4)}function Xv(){return"+0000"}function Kv(){return"%"}function $v(t){return+t}function Zv(t){return Math.floor(+t/1e3)}function Jv(t){return Rp=Fp(t),Lp=Rp.format,Bp=Rp.parse,zp=Rp.utcFormat,Vp=Rp.utcParse,Rp}Jv({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Qv=Date.prototype.toISOString?function(t){return t.toISOString()}:zp("%Y-%m-%dT%H:%M:%S.%LZ");var tg=+new Date("2000-01-01T00:00:00.000Z")?function(t){var e=new Date(t);return isNaN(e)?null:e}:Vp("%Y-%m-%dT%H:%M:%S.%LZ"),eg=1e3,ng=60*eg,rg=60*ng,ig=24*rg,og=7*ig,ag=30*ig,ug=365*ig;function sg(t){return new Date(t)}function cg(t){return t instanceof Date?+t:+new Date(+t)}function lg(t,e,n,r,o,a,u,s,c){var l=Jh(qh,qh),f=l.invert,h=l.domain,d=c(".%L"),p=c(":%S"),v=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),m=c("%b %d"),b=c("%B"),x=c("%Y"),w=[[u,1,eg],[u,5,5*eg],[u,15,15*eg],[u,30,30*eg],[a,1,ng],[a,5,5*ng],[a,15,15*ng],[a,30,30*ng],[o,1,rg],[o,3,3*rg],[o,6,6*rg],[o,12,12*rg],[r,1,ig],[r,2,2*ig],[n,1,og],[e,1,ag],[e,3,3*ag],[t,1,ug]];function _(i){return(u(i)<i?d:a(i)<i?p:o(i)<i?v:r(i)<i?g:e(i)<i?n(i)<i?y:m:t(i)<i?b:x)(i)}function S(e,n,r,o){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(r-n)/e,u=i(function(t){return t[2]}).right(w,a);u===w.length?(o=A(n/ug,r/ug,e),e=t):u?(o=(u=w[a/w[u-1][2]<w[u][2]/a?u-1:u])[1],e=u[0]):(o=Math.max(A(n,r,e),1),e=s)}return null==o?e:e.every(o)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?h(Fh.call(t,cg)):h().map(sg)},l.ticks=function(t,e){var n,r=h(),i=r[0],o=r[r.length-1],a=o<i;return a&&(n=i,i=o,o=n),n=(n=S(t,i,o,e))?n.range(i,o+1):[],a?n.reverse():n},l.tickFormat=function(t,e){return null==e?_:c(e)},l.nice=function(t,e){var n=h();return(t=S(t,n[0],n[n.length-1],e))?h(rd(n,t)):l},l.copy=function(){return $h(l,lg(t,e,n,r,o,a,u,s,c))},l}var fg=function(){return Dh.apply(lg(Td,jd,Rd,Jd,ep,ip,up,lp,Lp).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},hg=Cd(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()}),dg=hg,pg=hg.range,vg=Cd(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()}),gg=vg,yg=vg.range,mg=Cd(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Id)},function(t,e){return(e-t)/Id},function(t){return t.getUTCMinutes()}),bg=mg,xg=mg.range,wg=function(){return Dh.apply(lg(Pp,dg,dp,Ap,gg,bg,up,lp,zp).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)};function _g(){var t,e,n,r,i,o=0,a=1,u=qh,s=!1;function c(e){return isNaN(e=+e)?i:u(0===n?.5:(e=(r(e)-t)*n,s?Math.max(0,Math.min(1,e)):e))}return c.domain=function(i){return arguments.length?(t=r(o=+i[0]),e=r(a=+i[1]),n=t===e?0:1/(e-t),c):[o,a]},c.clamp=function(t){return arguments.length?(s=!!t,c):s},c.interpolator=function(t){return arguments.length?(u=t,c):u},c.unknown=function(t){return arguments.length?(i=t,c):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),c}}function Sg(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function kg(){var t=td(_g()(qh));return t.copy=function(){return Sg(t,kg())},Ih.apply(t,arguments)}function Eg(){var t=ld(_g()).domain([1,10]);return t.copy=function(){return Sg(t,Eg()).base(t.base())},Ih.apply(t,arguments)}function Og(){var t=pd(_g());return t.copy=function(){return Sg(t,Og()).constant(t.constant())},Ih.apply(t,arguments)}function Cg(){var t=bd(_g());return t.copy=function(){return Sg(t,Cg()).exponent(t.exponent())},Ih.apply(t,arguments)}function Ag(){return Cg.apply(null,arguments).exponent(.5)}function Tg(){var t=[],e=qh;function n(n){if(!isNaN(n=+n))return e((s(t,n)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(var i,o=0,a=e.length;o<a;++o)null==(i=e[o])||isNaN(i=+i)||t.push(i);return t.sort(r),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return Tg(e).domain(t)},Ih.apply(n,arguments)}function Mg(){var t,e,n,r,i,o,a,u=0,s=.5,c=1,l=qh,f=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(t<e?r:i),l(f?Math.max(0,Math.min(1,t)):t))}return h.domain=function(a){return arguments.length?(t=o(u=+a[0]),e=o(s=+a[1]),n=o(c=+a[2]),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),h):[u,s,c]},h.clamp=function(t){return arguments.length?(f=!!t,h):f},h.interpolator=function(t){return arguments.length?(l=t,h):l},h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return o=a,t=a(u),e=a(s),n=a(c),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),h}}function Pg(){var t=td(Mg()(qh));return t.copy=function(){return Sg(t,Pg())},Ih.apply(t,arguments)}function jg(){var t=ld(Mg()).domain([.1,1,10]);return t.copy=function(){return Sg(t,jg()).base(t.base())},Ih.apply(t,arguments)}function Dg(){var t=pd(Mg());return t.copy=function(){return Sg(t,Dg()).constant(t.constant())},Ih.apply(t,arguments)}function Ig(){var t=bd(Mg());return t.copy=function(){return Sg(t,Ig()).exponent(t.exponent())},Ih.apply(t,arguments)}function Ng(){return Ig.apply(null,arguments).exponent(.5)}var Fg=n("oetV"),Rg=function(t){return function(){return t}},Lg=Math.abs,Bg=Math.atan2,zg=Math.cos,Vg=Math.max,Ug=Math.min,Hg=Math.sin,Wg=Math.sqrt,qg=1e-12,Gg=Math.PI,Yg=Gg/2,Xg=2*Gg;function Kg(t){return t>=1?Yg:t<=-1?-Yg:Math.asin(t)}function $g(t){return t.innerRadius}function Zg(t){return t.outerRadius}function Jg(t){return t.startAngle}function Qg(t){return t.endAngle}function ty(t){return t&&t.padAngle}function ey(t,e,n,r,i,o,a){var u=t-n,s=e-r,c=(a?o:-o)/Wg(u*u+s*s),l=c*s,f=-c*u,h=t+l,d=e+f,p=n+l,v=r+f,g=(h+p)/2,y=(d+v)/2,m=p-h,b=v-d,x=m*m+b*b,w=i-o,_=h*v-p*d,S=(b<0?-1:1)*Wg(Vg(0,w*w*x-_*_)),k=(_*b-m*S)/x,E=(-_*m-b*S)/x,O=(_*b+m*S)/x,C=(-_*m+b*S)/x,A=k-g,T=E-y,M=O-g,P=C-y;return A*A+T*T>M*M+P*P&&(k=O,E=C),{cx:k,cy:E,x01:-l,y01:-f,x11:k*(i/w-1),y11:E*(i/w-1)}}var ny=function(){var t=$g,e=Zg,n=Rg(0),r=null,i=Jg,o=Qg,a=ty,u=null;function s(){var s,c,l,f=+t.apply(this,arguments),h=+e.apply(this,arguments),d=i.apply(this,arguments)-Yg,p=o.apply(this,arguments)-Yg,v=Lg(p-d),g=p>d;if(u||(u=s=Kr()),h<f&&(c=h,h=f,f=c),h>qg)if(v>Xg-qg)u.moveTo(h*zg(d),h*Hg(d)),u.arc(0,0,h,d,p,!g),f>qg&&(u.moveTo(f*zg(p),f*Hg(p)),u.arc(0,0,f,p,d,g));else{var y,m,b=d,x=p,w=d,_=p,S=v,k=v,E=a.apply(this,arguments)/2,O=E>qg&&(r?+r.apply(this,arguments):Wg(f*f+h*h)),C=Ug(Lg(h-f)/2,+n.apply(this,arguments)),A=C,T=C;if(O>qg){var M=Kg(O/f*Hg(E)),P=Kg(O/h*Hg(E));(S-=2*M)>qg?(w+=M*=g?1:-1,_-=M):(S=0,w=_=(d+p)/2),(k-=2*P)>qg?(b+=P*=g?1:-1,x-=P):(k=0,b=x=(d+p)/2)}var j=h*zg(b),D=h*Hg(b),I=f*zg(_),N=f*Hg(_);if(C>qg){var F,R=h*zg(x),L=h*Hg(x),B=f*zg(w),z=f*Hg(w);if(v<Gg&&(F=function(t,e,n,r,i,o,a,u){var s=n-t,c=r-e,l=a-i,f=u-o,h=f*s-l*c;if(!(h*h<qg))return[t+(h=(l*(e-o)-f*(t-i))/h)*s,e+h*c]}(j,D,B,z,R,L,I,N))){var V=j-F[0],U=D-F[1],H=R-F[0],W=L-F[1],q=1/Hg(((l=(V*H+U*W)/(Wg(V*V+U*U)*Wg(H*H+W*W)))>1?0:l<-1?Gg:Math.acos(l))/2),G=Wg(F[0]*F[0]+F[1]*F[1]);A=Ug(C,(f-G)/(q-1)),T=Ug(C,(h-G)/(q+1))}}k>qg?T>qg?(y=ey(B,z,j,D,h,T,g),m=ey(R,L,I,N,h,T,g),u.moveTo(y.cx+y.x01,y.cy+y.y01),T<C?u.arc(y.cx,y.cy,T,Bg(y.y01,y.x01),Bg(m.y01,m.x01),!g):(u.arc(y.cx,y.cy,T,Bg(y.y01,y.x01),Bg(y.y11,y.x11),!g),u.arc(0,0,h,Bg(y.cy+y.y11,y.cx+y.x11),Bg(m.cy+m.y11,m.cx+m.x11),!g),u.arc(m.cx,m.cy,T,Bg(m.y11,m.x11),Bg(m.y01,m.x01),!g))):(u.moveTo(j,D),u.arc(0,0,h,b,x,!g)):u.moveTo(j,D),f>qg&&S>qg?A>qg?(y=ey(I,N,R,L,f,-A,g),m=ey(j,D,B,z,f,-A,g),u.lineTo(y.cx+y.x01,y.cy+y.y01),A<C?u.arc(y.cx,y.cy,A,Bg(y.y01,y.x01),Bg(m.y01,m.x01),!g):(u.arc(y.cx,y.cy,A,Bg(y.y01,y.x01),Bg(y.y11,y.x11),!g),u.arc(0,0,f,Bg(y.cy+y.y11,y.cx+y.x11),Bg(m.cy+m.y11,m.cx+m.x11),g),u.arc(m.cx,m.cy,A,Bg(m.y11,m.x11),Bg(m.y01,m.x01),!g))):u.arc(0,0,f,_,w,g):u.lineTo(I,N)}else u.moveTo(0,0);if(u.closePath(),s)return u=null,s+""||null}return s.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-Gg/2;return[zg(r)*n,Hg(r)*n]},s.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:Rg(+e),s):t},s.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Rg(+t),s):e},s.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Rg(+t),s):n},s.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Rg(+t),s):r},s.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Rg(+t),s):i},s.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Rg(+t),s):o},s.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:Rg(+t),s):a},s.context=function(t){return arguments.length?(u=null==t?null:t,s):u},s};function ry(t){this._context=t}ry.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var iy=function(t){return new ry(t)};function oy(t){return t[0]}function ay(t){return t[1]}var uy=function(){var t=oy,e=ay,n=Rg(!0),r=null,i=iy,o=null;function a(a){var u,s,c,l=a.length,f=!1;for(null==r&&(o=i(c=Kr())),u=0;u<=l;++u)!(u<l&&n(s=a[u],u,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(s,u,a),+e(s,u,a));if(c)return o=null,c+""||null}return a.x=function(e){return arguments.length?(t="function"==typeof e?e:Rg(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:Rg(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:Rg(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a},sy=function(){var t=oy,e=null,n=Rg(0),r=ay,i=Rg(!0),o=null,a=iy,u=null;function s(s){var c,l,f,h,d,p=s.length,v=!1,g=new Array(p),y=new Array(p);for(null==o&&(u=a(d=Kr())),c=0;c<=p;++c){if(!(c<p&&i(h=s[c],c,s))===v)if(v=!v)l=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),f=c-1;f>=l;--f)u.point(g[f],y[f]);u.lineEnd(),u.areaEnd()}v&&(g[c]=+t(h,c,s),y[c]=+n(h,c,s),u.point(e?+e(h,c,s):g[c],r?+r(h,c,s):y[c]))}if(d)return u=null,d+""||null}function c(){return uy().defined(i).curve(a).context(o)}return s.x=function(n){return arguments.length?(t="function"==typeof n?n:Rg(+n),e=null,s):t},s.x0=function(e){return arguments.length?(t="function"==typeof e?e:Rg(+e),s):t},s.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:Rg(+t),s):e},s.y=function(t){return arguments.length?(n="function"==typeof t?t:Rg(+t),r=null,s):n},s.y0=function(t){return arguments.length?(n="function"==typeof t?t:Rg(+t),s):n},s.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Rg(+t),s):r},s.lineX0=s.lineY0=function(){return c().x(t).y(n)},s.lineY1=function(){return c().x(t).y(r)},s.lineX1=function(){return c().x(e).y(n)},s.defined=function(t){return arguments.length?(i="function"==typeof t?t:Rg(!!t),s):i},s.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),s):a},s.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),s):o},s},cy=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},ly=function(t){return t},fy=function(){var t=ly,e=cy,n=null,r=Rg(0),i=Rg(Xg),o=Rg(0);function a(a){var u,s,c,l,f,h=a.length,d=0,p=new Array(h),v=new Array(h),g=+r.apply(this,arguments),y=Math.min(Xg,Math.max(-Xg,i.apply(this,arguments)-g)),m=Math.min(Math.abs(y)/h,o.apply(this,arguments)),b=m*(y<0?-1:1);for(u=0;u<h;++u)(f=v[p[u]=u]=+t(a[u],u,a))>0&&(d+=f);for(null!=e?p.sort(function(t,n){return e(v[t],v[n])}):null!=n&&p.sort(function(t,e){return n(a[t],a[e])}),u=0,c=d?(y-h*b)/d:0;u<h;++u,g=l)s=p[u],l=g+((f=v[s])>0?f*c:0)+b,v[s]={data:a[s],index:u,value:f,startAngle:g,endAngle:l,padAngle:m};return v}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:Rg(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Rg(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Rg(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Rg(+t),a):o},a},hy=py(iy);function dy(t){this._curve=t}function py(t){function e(e){return new dy(t(e))}return e._curve=t,e}function vy(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(py(t)):e()._curve},t}dy.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var gy=function(){return vy(uy().curve(hy))},yy=function(){var t=sy().curve(hy),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return vy(n())},delete t.lineX0,t.lineEndAngle=function(){return vy(r())},delete t.lineX1,t.lineInnerRadius=function(){return vy(i())},delete t.lineY0,t.lineOuterRadius=function(){return vy(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(py(t)):e()._curve},t},my=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]},by=Array.prototype.slice;function xy(t){return t.source}function wy(t){return t.target}function _y(t){var e=xy,n=wy,r=oy,i=ay,o=null;function a(){var a,u=by.call(arguments),s=e.apply(this,u),c=n.apply(this,u);if(o||(o=a=Kr()),t(o,+r.apply(this,(u[0]=s,u)),+i.apply(this,u),+r.apply(this,(u[0]=c,u)),+i.apply(this,u)),a)return o=null,a+""||null}return a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(t){return arguments.length?(n=t,a):n},a.x=function(t){return arguments.length?(r="function"==typeof t?t:Rg(+t),a):r},a.y=function(t){return arguments.length?(i="function"==typeof t?t:Rg(+t),a):i},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a}function Sy(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function ky(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function Ey(t,e,n,r,i){var o=my(e,n),a=my(e,n=(n+i)/2),u=my(r,n),s=my(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],u[0],u[1],s[0],s[1])}function Oy(){return _y(Sy)}function Cy(){return _y(ky)}function Ay(){var t=_y(Ey);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var Ty={draw:function(t,e){var n=Math.sqrt(e/Gg);t.moveTo(n,0),t.arc(0,0,n,0,Xg)}},My={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Py=Math.sqrt(1/3),jy=2*Py,Dy={draw:function(t,e){var n=Math.sqrt(e/jy),r=n*Py;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},Iy=Math.sin(Gg/10)/Math.sin(7*Gg/10),Ny=Math.sin(Xg/10)*Iy,Fy=-Math.cos(Xg/10)*Iy,Ry={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=Ny*n,i=Fy*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=Xg*o/5,u=Math.cos(a),s=Math.sin(a);t.lineTo(s*n,-u*n),t.lineTo(u*r-s*i,s*r+u*i)}t.closePath()}},Ly={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},By=Math.sqrt(3),zy={draw:function(t,e){var n=-Math.sqrt(e/(3*By));t.moveTo(0,2*n),t.lineTo(-By*n,-n),t.lineTo(By*n,-n),t.closePath()}},Vy=Math.sqrt(3)/2,Uy=1/Math.sqrt(12),Hy=3*(Uy/2+1),Wy={draw:function(t,e){var n=Math.sqrt(e/Hy),r=n/2,i=n*Uy,o=r,a=n*Uy+n,u=-o,s=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(u,s),t.lineTo(-.5*r-Vy*i,Vy*r+-.5*i),t.lineTo(-.5*o-Vy*a,Vy*o+-.5*a),t.lineTo(-.5*u-Vy*s,Vy*u+-.5*s),t.lineTo(-.5*r+Vy*i,-.5*i-Vy*r),t.lineTo(-.5*o+Vy*a,-.5*a-Vy*o),t.lineTo(-.5*u+Vy*s,-.5*s-Vy*u),t.closePath()}},qy=[Ty,My,Dy,Ly,Ry,zy,Wy],Gy=function(){var t=Rg(Ty),e=Rg(64),n=null;function r(){var r;if(n||(n=r=Kr()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(e){return arguments.length?(t="function"==typeof e?e:Rg(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:Rg(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r},Yy=function(){};function Xy(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Ky(t){this._context=t}Ky.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Xy(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Xy(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var $y=function(t){return new Ky(t)};function Zy(t){this._context=t}Zy.prototype={areaStart:Yy,areaEnd:Yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Xy(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var Jy=function(t){return new Zy(t)};function Qy(t){this._context=t}Qy.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Xy(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var tm=function(t){return new Qy(t)};function em(t,e){this._basis=new Ky(t),this._beta=e}em.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,u=e[n]-o,s=-1;++s<=n;)r=s/n,this._basis.point(this._beta*t[s]+(1-this._beta)*(i+r*a),this._beta*e[s]+(1-this._beta)*(o+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var nm=function t(e){function n(t){return 1===e?new Ky(t):new em(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function rm(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function im(t,e){this._context=t,this._k=(1-e)/6}im.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:rm(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:rm(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var om=function t(e){function n(t){return new im(t,e)}return n.tension=function(e){return t(+e)},n}(0);function am(t,e){this._context=t,this._k=(1-e)/6}am.prototype={areaStart:Yy,areaEnd:Yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:rm(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var um=function t(e){function n(t){return new am(t,e)}return n.tension=function(e){return t(+e)},n}(0);function sm(t,e){this._context=t,this._k=(1-e)/6}sm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:rm(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var cm=function t(e){function n(t){return new sm(t,e)}return n.tension=function(e){return t(+e)},n}(0);function lm(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>qg){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,i=(i*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>qg){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function fm(t,e){this._context=t,this._alpha=e}fm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:lm(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var hm=function t(e){function n(t){return e?new fm(t,e):new im(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function dm(t,e){this._context=t,this._alpha=e}dm.prototype={areaStart:Yy,areaEnd:Yy,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:lm(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var pm=function t(e){function n(t){return e?new dm(t,e):new am(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function vm(t,e){this._context=t,this._alpha=e}vm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:lm(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var gm=function t(e){function n(t){return e?new vm(t,e):new sm(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function ym(t){this._context=t}ym.prototype={areaStart:Yy,areaEnd:Yy,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};var mm=function(t){return new ym(t)};function bm(t){return t<0?-1:1}function xm(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),u=(o*i+a*r)/(r+i);return(bm(o)+bm(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(u))||0}function wm(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function _m(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*e,o-u,a-u*n,o,a)}function Sm(t){this._context=t}function km(t){this._context=new Em(t)}function Em(t){this._context=t}function Om(t){return new Sm(t)}function Cm(t){return new km(t)}function Am(t){this._context=t}function Tm(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}Sm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:_m(this,this._t0,wm(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,_m(this,wm(this,n=xm(this,t,e)),n);break;default:_m(this,this._t0,n=xm(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(km.prototype=Object.create(Sm.prototype)).point=function(t,e){Sm.prototype.point.call(this,e,t)},Em.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},Am.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=Tm(t),i=Tm(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Mm=function(t){return new Am(t)};function Pm(t,e){this._context=t,this._t=e}Pm.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var jm=function(t){return new Pm(t,.5)};function Dm(t){return new Pm(t,0)}function Im(t){return new Pm(t,1)}var Nm=function(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],u=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<u;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]},Fm=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n};function Rm(t,e){return t[e]}var Lm=function(){var t=Rg([]),e=Fm,n=Nm,r=Rm;function i(i){var o,a,u=t.apply(this,arguments),s=i.length,c=u.length,l=new Array(c);for(o=0;o<c;++o){for(var f,h=u[o],d=l[o]=new Array(s),p=0;p<s;++p)d[p]=f=[0,+r(i[p],h,p,i)],f.data=i[p];d.key=h}for(o=0,a=e(l);o<c;++o)l[a[o]].index=o;return n(l,a),l}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:Rg(by.call(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:Rg(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?Fm:"function"==typeof t?t:Rg(by.call(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?Nm:t,i):n},i},Bm=function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}Nm(t,e)}},zm=function(t,e){if((u=t.length)>0)for(var n,r,i,o,a,u,s=0,c=t[e[0]].length;s<c;++s)for(o=a=0,n=0;n<u;++n)(i=(r=t[e[n]][s])[1]-r[0])>=0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):r[0]=o},Vm=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,u=0;a<n;++a)u+=t[a][r][1]||0;i[r][1]+=i[r][0]=-u/2}Nm(t,e)}},Um=function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var u=0,s=0,c=0;u<i;++u){for(var l=t[e[u]],f=l[a][1]||0,h=(f-(l[a-1][1]||0))/2,d=0;d<u;++d){var p=t[e[d]];h+=(p[a][1]||0)-(p[a-1][1]||0)}s+=f,c+=h*f}n[a-1][1]+=n[a-1][0]=o,s&&(o-=c/s)}n[a-1][1]+=n[a-1][0]=o,Nm(t,e)}},Hm=function(t){var e=t.map(Wm);return Fm(t).sort(function(t,n){return e[t]-e[n]})};function Wm(t){for(var e,n=-1,r=0,i=t.length,o=-1/0;++n<i;)(e=+t[n][1])>o&&(o=e,r=n);return r}var qm=function(t){var e=t.map(Gm);return Fm(t).sort(function(t,n){return e[t]-e[n]})};function Gm(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}var Ym=function(t){return qm(t).reverse()},Xm=function(t){var e,n,r=t.length,i=t.map(Gm),o=Hm(t),a=0,u=0,s=[],c=[];for(e=0;e<r;++e)n=o[e],a<u?(a+=i[n],s.push(n)):(u+=i[n],c.push(n));return c.reverse().concat(s)},Km=function(t){return Fm(t).reverse()},$m=function(t){return function(){return t}};function Zm(t){return t[0]}function Jm(t){return t[1]}function Qm(){this._=null}function tb(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function eb(t,e){var n=e,r=e.R,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function nb(t,e){var n=e,r=e.L,i=n.U;i?i.L===n?i.L=r:i.R=r:t._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function rb(t){for(;t.L;)t=t.L;return t}Qm.prototype={constructor:Qm,insert:function(t,e){var n,r,i;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=rb(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.R&&(eb(this,n),n=(t=n).U),n.C=!1,r.C=!0,nb(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,t=r):(t===n.L&&(nb(this,n),n=(t=n).U),n.C=!1,r.C=!0,eb(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,i=t.U,o=t.L,a=t.R;if(n=o?a?rb(a):o:a,i?i.L===t?i.L=n:i.R=n:this._=n,o&&a?(r=n.C,n.C=t.C,n.L=o,o.U=n,n!==a?(i=n.U,n.U=t.U,t=n.R,i.L=t,n.R=a,a.U=n):(n.U=i,i=n,t=n.R)):(r=t.C,t=n),t&&(t.U=i),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===i.L){if((e=i.R).C&&(e.C=!1,i.C=!0,eb(this,i),e=i.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,nb(this,e),e=i.R),e.C=i.C,i.C=e.R.C=!1,eb(this,i),t=this._;break}}else if((e=i.L).C&&(e.C=!1,i.C=!0,nb(this,i),e=i.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,eb(this,e),e=i.L),e.C=i.C,i.C=e.L.C=!1,nb(this,i),t=this._;break}e.C=!0,t=i,i=i.U}while(!t.C);t&&(t.C=!1)}}};var ib=Qm;function ob(t,e,n,r){var i=[null,null],o=Tb.push(i)-1;return i.left=t,i.right=e,n&&ub(i,t,e,n),r&&ub(i,e,t,r),Cb[t.index].halfedges.push(o),Cb[e.index].halfedges.push(o),i}function ab(t,e,n){var r=[e,n];return r.left=t,r}function ub(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function sb(t,e,n,r,i){var o,a=t[0],u=t[1],s=a[0],c=a[1],l=0,f=1,h=u[0]-s,d=u[1]-c;if(o=e-s,h||!(o>0)){if(o/=h,h<0){if(o<l)return;o<f&&(f=o)}else if(h>0){if(o>f)return;o>l&&(l=o)}if(o=r-s,h||!(o<0)){if(o/=h,h<0){if(o>f)return;o>l&&(l=o)}else if(h>0){if(o<l)return;o<f&&(f=o)}if(o=n-c,d||!(o>0)){if(o/=d,d<0){if(o<l)return;o<f&&(f=o)}else if(d>0){if(o>f)return;o>l&&(l=o)}if(o=i-c,d||!(o<0)){if(o/=d,d<0){if(o>f)return;o>l&&(l=o)}else if(d>0){if(o<l)return;o<f&&(f=o)}return!(l>0||f<1)||(l>0&&(t[0]=[s+l*h,c+l*d]),f<1&&(t[1]=[s+f*h,c+f*d]),!0)}}}}}function cb(t,e,n,r,i){var o=t[1];if(o)return!0;var a,u,s=t[0],c=t.left,l=t.right,f=c[0],h=c[1],d=l[0],p=l[1],v=(f+d)/2,g=(h+p)/2;if(p===h){if(v<e||v>=r)return;if(f>d){if(s){if(s[1]>=i)return}else s=[v,n];o=[v,i]}else{if(s){if(s[1]<n)return}else s=[v,i];o=[v,n]}}else if(u=g-(a=(f-d)/(p-h))*v,a<-1||a>1)if(f>d){if(s){if(s[1]>=i)return}else s=[(n-u)/a,n];o=[(i-u)/a,i]}else{if(s){if(s[1]<n)return}else s=[(i-u)/a,i];o=[(n-u)/a,n]}else if(h<p){if(s){if(s[0]>=r)return}else s=[e,a*e+u];o=[r,a*r+u]}else{if(s){if(s[0]<e)return}else s=[r,a*r+u];o=[e,a*e+u]}return t[0]=s,t[1]=o,!0}function lb(t,e){var n=t.site,r=e.left,i=e.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=e[1],i=e[0]):(r=e[0],i=e[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function fb(t,e){return e[+(e.left!==t.site)]}function hb(t,e){return e[+(e.left===t.site)]}var db,pb=[];function vb(){tb(this),this.x=this.y=this.arc=this.site=this.cy=null}function gb(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,i=t.site,o=n.site;if(r!==o){var a=i[0],u=i[1],s=r[0]-a,c=r[1]-u,l=o[0]-a,f=o[1]-u,h=2*(s*f-c*l);if(!(h>=-Pb)){var d=s*s+c*c,p=l*l+f*f,v=(f*d-c*p)/h,g=(s*p-l*d)/h,y=pb.pop()||new vb;y.arc=t,y.site=i,y.x=v+a,y.y=(y.cy=g+u)+Math.sqrt(v*v+g*g),t.circle=y;for(var m=null,b=Ab._;b;)if(y.y<b.y||y.y===b.y&&y.x<=b.x){if(!b.L){m=b.P;break}b=b.L}else{if(!b.R){m=b;break}b=b.R}Ab.insert(m,y),m||(db=y)}}}}function yb(t){var e=t.circle;e&&(e.P||(db=e.N),Ab.remove(e),pb.push(e),tb(e),t.circle=null)}var mb=[];function bb(){tb(this),this.edge=this.site=this.circle=null}function xb(t){var e=mb.pop()||new bb;return e.site=t,e}function wb(t){yb(t),Ob.remove(t),mb.push(t),tb(t)}function _b(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],o=t.P,a=t.N,u=[t];wb(t);for(var s=o;s.circle&&Math.abs(n-s.circle.x)<Mb&&Math.abs(r-s.circle.cy)<Mb;)o=s.P,u.unshift(s),wb(s),s=o;u.unshift(s),yb(s);for(var c=a;c.circle&&Math.abs(n-c.circle.x)<Mb&&Math.abs(r-c.circle.cy)<Mb;)a=c.N,u.push(c),wb(c),c=a;u.push(c),yb(c);var l,f=u.length;for(l=1;l<f;++l)c=u[l],s=u[l-1],ub(c.edge,s.site,c.site,i);s=u[0],(c=u[f-1]).edge=ob(s.site,c.site,null,i),gb(s),gb(c)}function Sb(t){for(var e,n,r,i,o=t[0],a=t[1],u=Ob._;u;)if((r=kb(u,a)-o)>Mb)u=u.L;else{if(!((i=o-Eb(u,a))>Mb)){r>-Mb?(e=u.P,n=u):i>-Mb?(e=u,n=u.N):e=n=u;break}if(!u.R){e=u;break}u=u.R}!function(t){Cb[t.index]={site:t,halfedges:[]}}(t);var s=xb(t);if(Ob.insert(e,s),e||n){if(e===n)return yb(e),n=xb(e.site),Ob.insert(s,n),s.edge=n.edge=ob(e.site,s.site),gb(e),void gb(n);if(n){yb(e),yb(n);var c=e.site,l=c[0],f=c[1],h=t[0]-l,d=t[1]-f,p=n.site,v=p[0]-l,g=p[1]-f,y=2*(h*g-d*v),m=h*h+d*d,b=v*v+g*g,x=[(g*m-d*b)/y+l,(h*b-v*m)/y+f];ub(n.edge,c,p,x),s.edge=ob(c,t,null,x),n.edge=ob(t,p,null,x),gb(e),gb(n)}else s.edge=ob(e.site,s.site)}}function kb(t,e){var n=t.site,r=n[0],i=n[1],o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;var u=(n=a.site)[0],s=n[1],c=s-e;if(!c)return u;var l=u-r,f=1/o-1/c,h=l/c;return f?(-h+Math.sqrt(h*h-2*f*(l*l/(-2*c)-s+c/2+i-o/2)))/f+r:(r+u)/2}function Eb(t,e){var n=t.N;if(n)return kb(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var Ob,Cb,Ab,Tb,Mb=1e-6,Pb=1e-12;function jb(t,e){return e[1]-t[1]||e[0]-t[0]}function Db(t,e){var n,r,i,o=t.sort(jb).pop();for(Tb=[],Cb=new Array(t.length),Ob=new ib,Ab=new ib;;)if(i=db,o&&(!i||o[1]<i.y||o[1]===i.y&&o[0]<i.x))o[0]===n&&o[1]===r||(Sb(o),n=o[0],r=o[1]),o=t.pop();else{if(!i)break;_b(i.arc)}if(function(){for(var t,e,n,r,i=0,o=Cb.length;i<o;++i)if((t=Cb[i])&&(r=(e=t.halfedges).length)){var a=new Array(r),u=new Array(r);for(n=0;n<r;++n)a[n]=n,u[n]=lb(t,Tb[e[n]]);for(a.sort(function(t,e){return u[e]-u[t]}),n=0;n<r;++n)u[n]=e[a[n]];for(n=0;n<r;++n)e[n]=u[n]}}(),e){var a=+e[0][0],u=+e[0][1],s=+e[1][0],c=+e[1][1];!function(t,e,n,r){for(var i,o=Tb.length;o--;)cb(i=Tb[o],t,e,n,r)&&sb(i,t,e,n,r)&&(Math.abs(i[0][0]-i[1][0])>Mb||Math.abs(i[0][1]-i[1][1])>Mb)||delete Tb[o]}(a,u,s,c),function(t,e,n,r){var i,o,a,u,s,c,l,f,h,d,p,v,g=Cb.length,y=!0;for(i=0;i<g;++i)if(o=Cb[i]){for(a=o.site,u=(s=o.halfedges).length;u--;)Tb[s[u]]||s.splice(u,1);for(u=0,c=s.length;u<c;)p=(d=hb(o,Tb[s[u]]))[0],v=d[1],f=(l=fb(o,Tb[s[++u%c]]))[0],h=l[1],(Math.abs(p-f)>Mb||Math.abs(v-h)>Mb)&&(s.splice(u,0,Tb.push(ab(a,d,Math.abs(p-t)<Mb&&r-v>Mb?[t,Math.abs(f-t)<Mb?h:r]:Math.abs(v-r)<Mb&&n-p>Mb?[Math.abs(h-r)<Mb?f:n,r]:Math.abs(p-n)<Mb&&v-e>Mb?[n,Math.abs(f-n)<Mb?h:e]:Math.abs(v-e)<Mb&&p-t>Mb?[Math.abs(h-e)<Mb?f:t,e]:null))-1),++c);c&&(y=!1)}if(y){var m,b,x,w=1/0;for(i=0,y=null;i<g;++i)(o=Cb[i])&&(x=(m=(a=o.site)[0]-t)*m+(b=a[1]-e)*b)<w&&(w=x,y=o);if(y){var _=[t,e],S=[t,r],k=[n,r],E=[n,e];y.halfedges.push(Tb.push(ab(a=y.site,_,S))-1,Tb.push(ab(a,S,k))-1,Tb.push(ab(a,k,E))-1,Tb.push(ab(a,E,_))-1)}}for(i=0;i<g;++i)(o=Cb[i])&&(o.halfedges.length||delete Cb[i])}(a,u,s,c)}this.edges=Tb,this.cells=Cb,Ob=Ab=Tb=Cb=null}Db.prototype={constructor:Db,polygons:function(){var t=this.edges;return this.cells.map(function(e){var n=e.halfedges.map(function(n){return fb(e,t[n])});return n.data=e.site.data,n})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(n,r){if(o=(i=n.halfedges).length)for(var i,o,a,u,s,c,l=n.site,f=-1,h=e[i[o-1]],d=h.left===l?h.right:h.left;++f<o;)a=d,d=(h=e[i[f]]).left===l?h.right:h.left,a&&d&&r<a.index&&r<d.index&&(s=a,c=d,((u=l)[0]-c[0])*(s[1]-u[1])-(u[0]-s[0])*(c[1]-u[1])<0)&&t.push([l.data,a.data,d.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,e,n){for(var r,i,o=this,a=o._found||0,u=o.cells.length;!(i=o.cells[a]);)if(++a>=u)return null;var s=t-i.site[0],c=e-i.site[1],l=s*s+c*c;do{i=o.cells[r=a],a=null,i.halfedges.forEach(function(n){var r=o.edges[n],u=r.left;if(u!==i.site&&u||(u=r.right)){var s=t-u[0],c=e-u[1],f=s*s+c*c;f<l&&(l=f,a=u.index)}})}while(null!==a);return o._found=r,null==n||l<=n*n?i.site:null}};var Ib=function(){var t=Zm,e=Jm,n=null;function r(r){return new Db(r.map(function(n,i){var o=[Math.round(t(n,i,r)/Mb)*Mb,Math.round(e(n,i,r)/Mb)*Mb];return o.index=i,o.data=n,o}),n)}return r.polygons=function(t){return r(t).polygons()},r.links=function(t){return r(t).links()},r.triangles=function(t){return r(t).triangles()},r.x=function(e){return arguments.length?(t="function"==typeof e?e:$m(+e),r):t},r.y=function(t){return arguments.length?(e="function"==typeof t?t:$m(+t),r):e},r.extent=function(t){return arguments.length?(n=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],r):n&&[[n[0][0],n[0][1]],[n[1][0],n[1][1]]]},r.size=function(t){return arguments.length?(n=null==t?null:[[0,0],[+t[0],+t[1]]],r):n&&[n[1][0]-n[0][0],n[1][1]-n[0][1]]},r},Nb=function(t){return function(){return t}};function Fb(t,e,n){this.target=t,this.type=e,this.transform=n}function Rb(t,e,n){this.k=t,this.x=e,this.y=n}Rb.prototype={constructor:Rb,scale:function(t){return 1===t?this:new Rb(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Rb(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Lb=new Rb(1,0,0);function Bb(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Lb;return t.__zoom}function zb(){Wt.stopImmediatePropagation()}Bb.prototype=Rb.prototype;var Vb=function(){Wt.preventDefault(),Wt.stopImmediatePropagation()};function Ub(){return!Wt.ctrlKey&&!Wt.button}function Hb(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function Wb(){return this.__zoom||Lb}function qb(){return-Wt.deltaY*(1===Wt.deltaMode?.05:Wt.deltaMode?1:.002)}function Gb(){return navigator.maxTouchPoints||"ontouchstart"in this}function Yb(t,e,n){var r=t.invertX(e[0][0])-n[0][0],i=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var Xb=function(){var t,e,n=Ub,r=Hb,i=Yb,o=qb,a=Gb,u=[0,1/0],s=[[-1/0,-1/0],[1/0,1/0]],c=250,l=Ee.x,f=ht("start","zoom","end"),h=500,d=150,p=0;function v(t){t.property("__zoom",Wb).on("wheel.zoom",_).on("mousedown.zoom",S).on("dblclick.zoom",k).filter(a).on("touchstart.zoom",E).on("touchmove.zoom",O).on("touchend.zoom touchcancel.zoom",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function g(t,e){return(e=Math.max(u[0],Math.min(u[1],e)))===t.k?t:new Rb(e,t.x,t.y)}function y(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new Rb(t.k,r,i)}function m(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function b(t,e,n){t.on("start.zoom",function(){x(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){x(this,arguments).end()}).tween("zoom",function(){var t=arguments,i=x(this,t),o=r.apply(this,t),a=null==n?m(o):"function"==typeof n?n.apply(this,t):n,u=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),s=this.__zoom,c="function"==typeof e?e.apply(this,t):e,f=l(s.invert(a).concat(u/s.k),c.invert(a).concat(u/c.k));return function(t){if(1===t)t=c;else{var e=f(t),n=u/e[2];t=new Rb(n,a[0]-e[0]*n,a[1]-e[1]*n)}i.zoom(null,t)}})}function x(t,e,n){return!n&&t.__zooming||new w(t,e)}function w(t,e){this.that=t,this.args=e,this.active=0,this.extent=r.apply(t,e),this.taps=0}function _(){if(n.apply(this,arguments)){var t=x(this,arguments),e=this.__zoom,r=Math.max(u[0],Math.min(u[1],e.k*Math.pow(2,o.apply(this,arguments)))),a=se(this);if(t.wheel)t.mouse[0][0]===a[0]&&t.mouse[0][1]===a[1]||(t.mouse[1]=e.invert(t.mouse[0]=a)),clearTimeout(t.wheel);else{if(e.k===r)return;t.mouse=[a,e.invert(a)],on(this),t.start()}Vb(),t.wheel=setTimeout(function(){t.wheel=null,t.end()},d),t.zoom("mouse",i(y(g(e,r),t.mouse[0],t.mouse[1]),t.extent,s))}}function S(){if(!e&&n.apply(this,arguments)){var t=x(this,arguments,!0),r=ee(Wt.view).on("mousemove.zoom",function(){if(Vb(),!t.moved){var e=Wt.clientX-a,n=Wt.clientY-u;t.moved=e*e+n*n>p}t.zoom("mouse",i(y(t.that.__zoom,t.mouse[0]=se(t.that),t.mouse[1]),t.extent,s))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),ve(Wt.view,t.moved),Vb(),t.end()},!0),o=se(this),a=Wt.clientX,u=Wt.clientY;pe(Wt.view),zb(),t.mouse=[o,this.__zoom.invert(o)],on(this),t.start()}}function k(){if(n.apply(this,arguments)){var t=this.__zoom,e=se(this),o=t.invert(e),a=t.k*(Wt.shiftKey?.5:2),u=i(y(g(t,a),e,o),r.apply(this,arguments),s);Vb(),c>0?ee(this).transition().duration(c).call(b,u,e):ee(this).call(v.transform,u)}}function E(){if(n.apply(this,arguments)){var e,r,i,o,a=Wt.touches,u=a.length,s=x(this,arguments,Wt.changedTouches.length===u);for(zb(),r=0;r<u;++r)i=a[r],o=[o=le(this,a,i.identifier),this.__zoom.invert(o),i.identifier],s.touch0?s.touch1||s.touch0[2]===o[2]||(s.touch1=o,s.taps=0):(s.touch0=o,e=!0,s.taps=1+!!t);t&&(t=clearTimeout(t)),e&&(s.taps<2&&(t=setTimeout(function(){t=null},h)),on(this),s.start())}}function O(){if(this.__zooming){var e,n,r,o,a=x(this,arguments),u=Wt.changedTouches,c=u.length;for(Vb(),t&&(t=clearTimeout(t)),a.taps=0,e=0;e<c;++e)n=u[e],r=le(this,u,n.identifier),a.touch0&&a.touch0[2]===n.identifier?a.touch0[0]=r:a.touch1&&a.touch1[2]===n.identifier&&(a.touch1[0]=r);if(n=a.that.__zoom,a.touch1){var l=a.touch0[0],f=a.touch0[1],h=a.touch1[0],d=a.touch1[1],p=(p=h[0]-l[0])*p+(p=h[1]-l[1])*p,v=(v=d[0]-f[0])*v+(v=d[1]-f[1])*v;n=g(n,Math.sqrt(p/v)),r=[(l[0]+h[0])/2,(l[1]+h[1])/2],o=[(f[0]+d[0])/2,(f[1]+d[1])/2]}else{if(!a.touch0)return;r=a.touch0[0],o=a.touch0[1]}a.zoom("touch",i(y(n,r,o),a.extent,s))}}function C(){if(this.__zooming){var t,n,r=x(this,arguments),i=Wt.changedTouches,o=i.length;for(zb(),e&&clearTimeout(e),e=setTimeout(function(){e=null},h),t=0;t<o;++t)n=i[t],r.touch0&&r.touch0[2]===n.identifier?delete r.touch0:r.touch1&&r.touch1[2]===n.identifier&&delete r.touch1;if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0]);else if(r.end(),2===r.taps){var a=ee(this).on("dblclick.zoom");a&&a.apply(this,arguments)}}}return v.transform=function(t,e,n){var r=t.selection?t.selection():t;r.property("__zoom",Wb),t!==r?b(t,e,n):r.interrupt().each(function(){x(this,arguments).start().zoom(null,"function"==typeof e?e.apply(this,arguments):e).end()})},v.scaleBy=function(t,e,n){v.scaleTo(t,function(){return this.__zoom.k*("function"==typeof e?e.apply(this,arguments):e)},n)},v.scaleTo=function(t,e,n){v.transform(t,function(){var t=r.apply(this,arguments),o=this.__zoom,a=null==n?m(t):"function"==typeof n?n.apply(this,arguments):n,u=o.invert(a),c="function"==typeof e?e.apply(this,arguments):e;return i(y(g(o,c),a,u),t,s)},n)},v.translateBy=function(t,e,n){v.transform(t,function(){return i(this.__zoom.translate("function"==typeof e?e.apply(this,arguments):e,"function"==typeof n?n.apply(this,arguments):n),r.apply(this,arguments),s)})},v.translateTo=function(t,e,n,o){v.transform(t,function(){var t=r.apply(this,arguments),a=this.__zoom,u=null==o?m(t):"function"==typeof o?o.apply(this,arguments):o;return i(Lb.translate(u[0],u[1]).scale(a.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,s)},o)},w.prototype={start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){Kt(new Fb(v,t,this.that.__zoom),f.apply,f,[t,this.that,this.args])}},v.wheelDelta=function(t){return arguments.length?(o="function"==typeof t?t:Nb(+t),v):o},v.filter=function(t){return arguments.length?(n="function"==typeof t?t:Nb(!!t),v):n},v.touchable=function(t){return arguments.length?(a="function"==typeof t?t:Nb(!!t),v):a},v.extent=function(t){return arguments.length?(r="function"==typeof t?t:Nb([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):r},v.scaleExtent=function(t){return arguments.length?(u[0]=+t[0],u[1]=+t[1],v):[u[0],u[1]]},v.translateExtent=function(t){return arguments.length?(s[0][0]=+t[0][0],s[1][0]=+t[1][0],s[0][1]=+t[0][1],s[1][1]=+t[1][1],v):[[s[0][0],s[0][1]],[s[1][0],s[1][1]]]},v.constrain=function(t){return arguments.length?(i=t,v):i},v.duration=function(t){return arguments.length?(c=+t,v):c},v.interpolate=function(t){return arguments.length?(l=t,v):l},v.on=function(){var t=f.on.apply(f,arguments);return t===f?v:t},v.clickDistance=function(t){return arguments.length?(p=(t=+t)*t,v):Math.sqrt(p)},v};n.d(e,"version",function(){return"5.15.0"}),n.d(e,"bisect",function(){return s}),n.d(e,"bisectRight",function(){return a}),n.d(e,"bisectLeft",function(){return u}),n.d(e,"ascending",function(){return r}),n.d(e,"bisector",function(){return i}),n.d(e,"cross",function(){return f}),n.d(e,"descending",function(){return h}),n.d(e,"deviation",function(){return v}),n.d(e,"extent",function(){return g}),n.d(e,"histogram",function(){return M}),n.d(e,"thresholdFreedmanDiaconis",function(){return j}),n.d(e,"thresholdScott",function(){return D}),n.d(e,"thresholdSturges",function(){return T}),n.d(e,"max",function(){return I}),n.d(e,"mean",function(){return N}),n.d(e,"median",function(){return F}),n.d(e,"merge",function(){return R}),n.d(e,"min",function(){return L}),n.d(e,"pairs",function(){return c}),n.d(e,"permute",function(){return B}),n.d(e,"quantile",function(){return P}),n.d(e,"range",function(){return _}),n.d(e,"scan",function(){return z}),n.d(e,"shuffle",function(){return V}),n.d(e,"sum",function(){return U}),n.d(e,"ticks",function(){return O}),n.d(e,"tickIncrement",function(){return C}),n.d(e,"tickStep",function(){return A}),n.d(e,"transpose",function(){return H}),n.d(e,"variance",function(){return p}),n.d(e,"zip",function(){return q}),n.d(e,"axisTop",function(){return rt}),n.d(e,"axisRight",function(){return it}),n.d(e,"axisBottom",function(){return ot}),n.d(e,"axisLeft",function(){return at}),n.d(e,"brush",function(){return Dr}),n.d(e,"brushX",function(){return Pr}),n.d(e,"brushY",function(){return jr}),n.d(e,"brushSelection",function(){return Mr}),n.d(e,"chord",function(){return Vr}),n.d(e,"ribbon",function(){return ei}),n.d(e,"nest",function(){return oi}),n.d(e,"set",function(){return di}),n.d(e,"map",function(){return ii}),n.d(e,"keys",function(){return pi}),n.d(e,"values",function(){return vi}),n.d(e,"entries",function(){return gi}),n.d(e,"color",function(){return yi.a}),n.d(e,"rgb",function(){return yi.h}),n.d(e,"hsl",function(){return yi.e}),n.d(e,"lab",function(){return yi.f}),n.d(e,"hcl",function(){return yi.d}),n.d(e,"lch",function(){return yi.g}),n.d(e,"gray",function(){return yi.c}),n.d(e,"cubehelix",function(){return yi.b}),n.d(e,"contours",function(){return Ci}),n.d(e,"contourDensity",function(){return Di}),n.d(e,"dispatch",function(){return ht}),n.d(e,"drag",function(){return ke}),n.d(e,"dragDisable",function(){return pe}),n.d(e,"dragEnable",function(){return ve}),n.d(e,"dsvFormat",function(){return Hi}),n.d(e,"csvParse",function(){return qi}),n.d(e,"csvParseRows",function(){return Gi}),n.d(e,"csvFormat",function(){return Yi}),n.d(e,"csvFormatBody",function(){return Xi}),n.d(e,"csvFormatRows",function(){return Ki}),n.d(e,"tsvParse",function(){return Zi}),n.d(e,"tsvParseRows",function(){return Ji}),n.d(e,"tsvFormat",function(){return Qi}),n.d(e,"tsvFormatBody",function(){return to}),n.d(e,"tsvFormatRows",function(){return eo}),n.d(e,"autoType",function(){return no}),n.d(e,"easeLinear",function(){return gn}),n.d(e,"easeQuad",function(){return bn}),n.d(e,"easeQuadIn",function(){return yn}),n.d(e,"easeQuadOut",function(){return mn}),n.d(e,"easeQuadInOut",function(){return bn}),n.d(e,"easeCubic",function(){return _n}),n.d(e,"easeCubicIn",function(){return xn}),n.d(e,"easeCubicOut",function(){return wn}),n.d(e,"easeCubicInOut",function(){return _n}),n.d(e,"easePoly",function(){return En}),n.d(e,"easePolyIn",function(){return Sn}),n.d(e,"easePolyOut",function(){return kn}),n.d(e,"easePolyInOut",function(){return En}),n.d(e,"easeSin",function(){return Mn}),n.d(e,"easeSinIn",function(){return An}),n.d(e,"easeSinOut",function(){return Tn}),n.d(e,"easeSinInOut",function(){return Mn}),n.d(e,"easeExp",function(){return Dn}),n.d(e,"easeExpIn",function(){return Pn}),n.d(e,"easeExpOut",function(){return jn}),n.d(e,"easeExpInOut",function(){return Dn}),n.d(e,"easeCircle",function(){return Fn}),n.d(e,"easeCircleIn",function(){return In}),n.d(e,"easeCircleOut",function(){return Nn}),n.d(e,"easeCircleInOut",function(){return Fn}),n.d(e,"easeBounce",function(){return Xn}),n.d(e,"easeBounceIn",function(){return Yn}),n.d(e,"easeBounceOut",function(){return Xn}),n.d(e,"easeBounceInOut",function(){return Kn}),n.d(e,"easeBack",function(){return Jn}),n.d(e,"easeBackIn",function(){return $n}),n.d(e,"easeBackOut",function(){return Zn}),n.d(e,"easeBackInOut",function(){return Jn}),n.d(e,"easeElastic",function(){return er}),n.d(e,"easeElasticIn",function(){return tr}),n.d(e,"easeElasticOut",function(){return er}),n.d(e,"easeElasticInOut",function(){return nr}),n.d(e,"blob",function(){return io}),n.d(e,"buffer",function(){return ao}),n.d(e,"dsv",function(){return lo}),n.d(e,"csv",function(){return fo}),n.d(e,"tsv",function(){return ho}),n.d(e,"image",function(){return po}),n.d(e,"json",function(){return go}),n.d(e,"text",function(){return so}),n.d(e,"xml",function(){return mo}),n.d(e,"html",function(){return bo}),n.d(e,"svg",function(){return xo}),n.d(e,"forceCenter",function(){return wo}),n.d(e,"forceCollide",function(){return Io}),n.d(e,"forceLink",function(){return Ro}),n.d(e,"forceManyBody",function(){return Ho}),n.d(e,"forceRadial",function(){return Wo}),n.d(e,"forceSimulation",function(){return Uo}),n.d(e,"forceX",function(){return qo}),n.d(e,"forceY",function(){return Go}),n.d(e,"formatDefaultLocale",function(){return ca}),n.d(e,"format",function(){return ta}),n.d(e,"formatPrefix",function(){return ea}),n.d(e,"formatLocale",function(){return sa}),n.d(e,"formatSpecifier",function(){return $o}),n.d(e,"FormatSpecifier",function(){return Zo}),n.d(e,"precisionFixed",function(){return la}),n.d(e,"precisionPrefix",function(){return fa}),n.d(e,"precisionRound",function(){return ha}),n.d(e,"geoArea",function(){return ou}),n.d(e,"geoBounds",function(){return Zu}),n.d(e,"geoCentroid",function(){return cs}),n.d(e,"geoCircle",function(){return xs}),n.d(e,"geoClipAntimeridian",function(){return js}),n.d(e,"geoClipCircle",function(){return Ds}),n.d(e,"geoClipExtent",function(){return Vs}),n.d(e,"geoClipRectangle",function(){return Rs}),n.d(e,"geoContains",function(){return oc}),n.d(e,"geoDistance",function(){return $s}),n.d(e,"geoGraticule",function(){return sc}),n.d(e,"geoGraticule10",function(){return cc}),n.d(e,"geoInterpolate",function(){return pc}),n.d(e,"geoLength",function(){return Ys}),n.d(e,"geoPath",function(){return hl}),n.d(e,"geoAlbers",function(){return Pl}),n.d(e,"geoAlbersUsa",function(){return jl}),n.d(e,"geoAzimuthalEqualArea",function(){return Fl}),n.d(e,"geoAzimuthalEqualAreaRaw",function(){return Nl}),n.d(e,"geoAzimuthalEquidistant",function(){return Ll}),n.d(e,"geoAzimuthalEquidistantRaw",function(){return Rl}),n.d(e,"geoConicConformal",function(){return Wl}),n.d(e,"geoConicConformalRaw",function(){return Hl}),n.d(e,"geoConicEqualArea",function(){return Ml}),n.d(e,"geoConicEqualAreaRaw",function(){return Tl}),n.d(e,"geoConicEquidistant",function(){return Xl}),n.d(e,"geoConicEquidistantRaw",function(){return Yl}),n.d(e,"geoEqualEarth",function(){return ef}),n.d(e,"geoEqualEarthRaw",function(){return tf}),n.d(e,"geoEquirectangular",function(){return Gl}),n.d(e,"geoEquirectangularRaw",function(){return ql}),n.d(e,"geoGnomonic",function(){return rf}),n.d(e,"geoGnomonicRaw",function(){return nf}),n.d(e,"geoIdentity",function(){return af}),n.d(e,"geoProjection",function(){return Ol}),n.d(e,"geoProjectionMutator",function(){return Cl}),n.d(e,"geoMercator",function(){return zl}),n.d(e,"geoMercatorRaw",function(){return Bl}),n.d(e,"geoNaturalEarth1",function(){return sf}),n.d(e,"geoNaturalEarth1Raw",function(){return uf}),n.d(e,"geoOrthographic",function(){return lf}),n.d(e,"geoOrthographicRaw",function(){return cf}),n.d(e,"geoStereographic",function(){return hf}),n.d(e,"geoStereographicRaw",function(){return ff}),n.d(e,"geoTransverseMercator",function(){return pf}),n.d(e,"geoTransverseMercatorRaw",function(){return df}),n.d(e,"geoRotation",function(){return ys}),n.d(e,"geoStream",function(){return Za}),n.d(e,"geoTransform",function(){return dl}),n.d(e,"cluster",function(){return mf}),n.d(e,"hierarchy",function(){return xf}),n.d(e,"pack",function(){return Wf}),n.d(e,"packSiblings",function(){return Bf}),n.d(e,"packEnclose",function(){return Of}),n.d(e,"partition",function(){return $f}),n.d(e,"stratify",function(){return nh}),n.d(e,"tree",function(){return ch}),n.d(e,"treemap",function(){return ph}),n.d(e,"treemapBinary",function(){return vh}),n.d(e,"treemapDice",function(){return Kf}),n.d(e,"treemapSlice",function(){return lh}),n.d(e,"treemapSliceDice",function(){return gh}),n.d(e,"treemapSquarify",function(){return dh}),n.d(e,"treemapResquarify",function(){return yh}),n.d(e,"interpolate",function(){return Ee.a}),n.d(e,"interpolateArray",function(){return Ee.b}),n.d(e,"interpolateBasis",function(){return Ee.c}),n.d(e,"interpolateBasisClosed",function(){return Ee.d}),n.d(e,"interpolateDate",function(){return Ee.g}),n.d(e,"interpolateDiscrete",function(){return Ee.h}),n.d(e,"interpolateHue",function(){return Ee.m}),n.d(e,"interpolateNumber",function(){return Ee.o}),n.d(e,"interpolateObject",function(){return Ee.p}),n.d(e,"interpolateRound",function(){return Ee.t}),n.d(e,"interpolateString",function(){return Ee.u}),n.d(e,"interpolateTransformCss",function(){return Ee.v}),n.d(e,"interpolateTransformSvg",function(){return Ee.w}),n.d(e,"interpolateZoom",function(){return Ee.x}),n.d(e,"interpolateRgb",function(){return Ee.q}),n.d(e,"interpolateRgbBasis",function(){return Ee.r}),n.d(e,"interpolateRgbBasisClosed",function(){return Ee.s}),n.d(e,"interpolateHsl",function(){return Ee.k}),n.d(e,"interpolateHslLong",function(){return Ee.l}),n.d(e,"interpolateLab",function(){return Ee.n}),n.d(e,"interpolateHcl",function(){return Ee.i}),n.d(e,"interpolateHclLong",function(){return Ee.j}),n.d(e,"interpolateCubehelix",function(){return Ee.e}),n.d(e,"interpolateCubehelixLong",function(){return Ee.f}),n.d(e,"piecewise",function(){return Ee.y}),n.d(e,"quantize",function(){return Ee.z}),n.d(e,"path",function(){return Kr}),n.d(e,"polygonArea",function(){return mh}),n.d(e,"polygonCentroid",function(){return bh}),n.d(e,"polygonHull",function(){return Sh}),n.d(e,"polygonContains",function(){return kh}),n.d(e,"polygonLength",function(){return Eh}),n.d(e,"quadtree",function(){return Ao}),n.d(e,"randomUniform",function(){return Ch}),n.d(e,"randomNormal",function(){return Ah}),n.d(e,"randomLogNormal",function(){return Th}),n.d(e,"randomBates",function(){return Ph}),n.d(e,"randomIrwinHall",function(){return Mh}),n.d(e,"randomExponential",function(){return jh}),n.d(e,"scaleBand",function(){return zh}),n.d(e,"scalePoint",function(){return Vh}),n.d(e,"scaleIdentity",function(){return nd}),n.d(e,"scaleLinear",function(){return ed}),n.d(e,"scaleLog",function(){return fd}),n.d(e,"scaleSymlog",function(){return vd}),n.d(e,"scaleOrdinal",function(){return Bh}),n.d(e,"scaleImplicit",function(){return Lh}),n.d(e,"scalePow",function(){return xd}),n.d(e,"scaleSqrt",function(){return wd}),n.d(e,"scaleQuantile",function(){return _d}),n.d(e,"scaleQuantize",function(){return Sd}),n.d(e,"scaleThreshold",function(){return kd}),n.d(e,"scaleTime",function(){return fg}),n.d(e,"scaleUtc",function(){return wg}),n.d(e,"scaleSequential",function(){return kg}),n.d(e,"scaleSequentialLog",function(){return Eg}),n.d(e,"scaleSequentialPow",function(){return Cg}),n.d(e,"scaleSequentialSqrt",function(){return Ag}),n.d(e,"scaleSequentialSymlog",function(){return Og}),n.d(e,"scaleSequentialQuantile",function(){return Tg}),n.d(e,"scaleDiverging",function(){return Pg}),n.d(e,"scaleDivergingLog",function(){return jg}),n.d(e,"scaleDivergingPow",function(){return Ig}),n.d(e,"scaleDivergingSqrt",function(){return Ng}),n.d(e,"scaleDivergingSymlog",function(){return Dg}),n.d(e,"tickFormat",function(){return Qh}),n.d(e,"schemeCategory10",function(){return Fg.schemeCategory10}),n.d(e,"schemeAccent",function(){return Fg.schemeAccent}),n.d(e,"schemeDark2",function(){return Fg.schemeDark2}),n.d(e,"schemePaired",function(){return Fg.schemePaired}),n.d(e,"schemePastel1",function(){return Fg.schemePastel1}),n.d(e,"schemePastel2",function(){return Fg.schemePastel2}),n.d(e,"schemeSet1",function(){return Fg.schemeSet1}),n.d(e,"schemeSet2",function(){return Fg.schemeSet2}),n.d(e,"schemeSet3",function(){return Fg.schemeSet3}),n.d(e,"schemeTableau10",function(){return Fg.schemeTableau10}),n.d(e,"interpolateBrBG",function(){return Fg.interpolateBrBG}),n.d(e,"schemeBrBG",function(){return Fg.schemeBrBG}),n.d(e,"interpolatePRGn",function(){return Fg.interpolatePRGn}),n.d(e,"schemePRGn",function(){return Fg.schemePRGn}),n.d(e,"interpolatePiYG",function(){return Fg.interpolatePiYG}),n.d(e,"schemePiYG",function(){return Fg.schemePiYG}),n.d(e,"interpolatePuOr",function(){return Fg.interpolatePuOr}),n.d(e,"schemePuOr",function(){return Fg.schemePuOr}),n.d(e,"interpolateRdBu",function(){return Fg.interpolateRdBu}),n.d(e,"schemeRdBu",function(){return Fg.schemeRdBu}),n.d(e,"interpolateRdGy",function(){return Fg.interpolateRdGy}),n.d(e,"schemeRdGy",function(){return Fg.schemeRdGy}),n.d(e,"interpolateRdYlBu",function(){return Fg.interpolateRdYlBu}),n.d(e,"schemeRdYlBu",function(){return Fg.schemeRdYlBu}),n.d(e,"interpolateRdYlGn",function(){return Fg.interpolateRdYlGn}),n.d(e,"schemeRdYlGn",function(){return Fg.schemeRdYlGn}),n.d(e,"interpolateSpectral",function(){return Fg.interpolateSpectral}),n.d(e,"schemeSpectral",function(){return Fg.schemeSpectral}),n.d(e,"interpolateBuGn",function(){return Fg.interpolateBuGn}),n.d(e,"schemeBuGn",function(){return Fg.schemeBuGn}),n.d(e,"interpolateBuPu",function(){return Fg.interpolateBuPu}),n.d(e,"schemeBuPu",function(){return Fg.schemeBuPu}),n.d(e,"interpolateGnBu",function(){return Fg.interpolateGnBu}),n.d(e,"schemeGnBu",function(){return Fg.schemeGnBu}),n.d(e,"interpolateOrRd",function(){return Fg.interpolateOrRd}),n.d(e,"schemeOrRd",function(){return Fg.schemeOrRd}),n.d(e,"interpolatePuBuGn",function(){return Fg.interpolatePuBuGn}),n.d(e,"schemePuBuGn",function(){return Fg.schemePuBuGn}),n.d(e,"interpolatePuBu",function(){return Fg.interpolatePuBu}),n.d(e,"schemePuBu",function(){return Fg.schemePuBu}),n.d(e,"interpolatePuRd",function(){return Fg.interpolatePuRd}),n.d(e,"schemePuRd",function(){return Fg.schemePuRd}),n.d(e,"interpolateRdPu",function(){return Fg.interpolateRdPu}),n.d(e,"schemeRdPu",function(){return Fg.schemeRdPu}),n.d(e,"interpolateYlGnBu",function(){return Fg.interpolateYlGnBu}),n.d(e,"schemeYlGnBu",function(){return Fg.schemeYlGnBu}),n.d(e,"interpolateYlGn",function(){return Fg.interpolateYlGn}),n.d(e,"schemeYlGn",function(){return Fg.schemeYlGn}),n.d(e,"interpolateYlOrBr",function(){return Fg.interpolateYlOrBr}),n.d(e,"schemeYlOrBr",function(){return Fg.schemeYlOrBr}),n.d(e,"interpolateYlOrRd",function(){return Fg.interpolateYlOrRd}),n.d(e,"schemeYlOrRd",function(){return Fg.schemeYlOrRd}),n.d(e,"interpolateBlues",function(){return Fg.interpolateBlues}),n.d(e,"schemeBlues",function(){return Fg.schemeBlues}),n.d(e,"interpolateGreens",function(){return Fg.interpolateGreens}),n.d(e,"schemeGreens",function(){return Fg.schemeGreens}),n.d(e,"interpolateGreys",function(){return Fg.interpolateGreys}),n.d(e,"schemeGreys",function(){return Fg.schemeGreys}),n.d(e,"interpolatePurples",function(){return Fg.interpolatePurples}),n.d(e,"schemePurples",function(){return Fg.schemePurples}),n.d(e,"interpolateReds",function(){return Fg.interpolateReds}),n.d(e,"schemeReds",function(){return Fg.schemeReds}),n.d(e,"interpolateOranges",function(){return Fg.interpolateOranges}),n.d(e,"schemeOranges",function(){return Fg.schemeOranges}),n.d(e,"interpolateCividis",function(){return Fg.interpolateCividis}),n.d(e,"interpolateCubehelixDefault",function(){return Fg.interpolateCubehelixDefault}),n.d(e,"interpolateRainbow",function(){return Fg.interpolateRainbow}),n.d(e,"interpolateWarm",function(){return Fg.interpolateWarm}),n.d(e,"interpolateCool",function(){return Fg.interpolateCool}),n.d(e,"interpolateSinebow",function(){return Fg.interpolateSinebow}),n.d(e,"interpolateTurbo",function(){return Fg.interpolateTurbo}),n.d(e,"interpolateViridis",function(){return Fg.interpolateViridis}),n.d(e,"interpolateMagma",function(){return Fg.interpolateMagma}),n.d(e,"interpolateInferno",function(){return Fg.interpolateInferno}),n.d(e,"interpolatePlasma",function(){return Fg.interpolatePlasma}),n.d(e,"create",function(){return ne}),n.d(e,"creator",function(){return gt}),n.d(e,"local",function(){return ie}),n.d(e,"matcher",function(){return wt}),n.d(e,"mouse",function(){return se}),n.d(e,"namespace",function(){return vt}),n.d(e,"namespaces",function(){return pt}),n.d(e,"clientPoint",function(){return ue}),n.d(e,"select",function(){return ee}),n.d(e,"selectAll",function(){return ce}),n.d(e,"selection",function(){return te}),n.d(e,"selector",function(){return mt}),n.d(e,"selectorAll",function(){return xt}),n.d(e,"style",function(){return Tt}),n.d(e,"touch",function(){return le}),n.d(e,"touches",function(){return fe}),n.d(e,"window",function(){return At}),n.d(e,"event",function(){return Wt}),n.d(e,"customEvent",function(){return Kt}),n.d(e,"arc",function(){return ny}),n.d(e,"area",function(){return sy}),n.d(e,"line",function(){return uy}),n.d(e,"pie",function(){return fy}),n.d(e,"areaRadial",function(){return yy}),n.d(e,"radialArea",function(){return yy}),n.d(e,"lineRadial",function(){return gy}),n.d(e,"radialLine",function(){return gy}),n.d(e,"pointRadial",function(){return my}),n.d(e,"linkHorizontal",function(){return Oy}),n.d(e,"linkVertical",function(){return Cy}),n.d(e,"linkRadial",function(){return Ay}),n.d(e,"symbol",function(){return Gy}),n.d(e,"symbols",function(){return qy}),n.d(e,"symbolCircle",function(){return Ty}),n.d(e,"symbolCross",function(){return My}),n.d(e,"symbolDiamond",function(){return Dy}),n.d(e,"symbolSquare",function(){return Ly}),n.d(e,"symbolStar",function(){return Ry}),n.d(e,"symbolTriangle",function(){return zy}),n.d(e,"symbolWye",function(){return Wy}),n.d(e,"curveBasisClosed",function(){return Jy}),n.d(e,"curveBasisOpen",function(){return tm}),n.d(e,"curveBasis",function(){return $y}),n.d(e,"curveBundle",function(){return nm}),n.d(e,"curveCardinalClosed",function(){return um}),n.d(e,"curveCardinalOpen",function(){return cm}),n.d(e,"curveCardinal",function(){return om}),n.d(e,"curveCatmullRomClosed",function(){return pm}),n.d(e,"curveCatmullRomOpen",function(){return gm}),n.d(e,"curveCatmullRom",function(){return hm}),n.d(e,"curveLinearClosed",function(){return mm}),n.d(e,"curveLinear",function(){return iy}),n.d(e,"curveMonotoneX",function(){return Om}),n.d(e,"curveMonotoneY",function(){return Cm}),n.d(e,"curveNatural",function(){return Mm}),n.d(e,"curveStep",function(){return jm}),n.d(e,"curveStepAfter",function(){return Im}),n.d(e,"curveStepBefore",function(){return Dm}),n.d(e,"stack",function(){return Lm}),n.d(e,"stackOffsetExpand",function(){return Bm}),n.d(e,"stackOffsetDiverging",function(){return zm}),n.d(e,"stackOffsetNone",function(){return Nm}),n.d(e,"stackOffsetSilhouette",function(){return Vm}),n.d(e,"stackOffsetWiggle",function(){return Um}),n.d(e,"stackOrderAppearance",function(){return Hm}),n.d(e,"stackOrderAscending",function(){return qm}),n.d(e,"stackOrderDescending",function(){return Ym}),n.d(e,"stackOrderInsideOut",function(){return Xm}),n.d(e,"stackOrderNone",function(){return Fm}),n.d(e,"stackOrderReverse",function(){return Km}),n.d(e,"timeInterval",function(){return Cd}),n.d(e,"timeMillisecond",function(){return lp}),n.d(e,"timeMilliseconds",function(){return fp}),n.d(e,"utcMillisecond",function(){return lp}),n.d(e,"utcMilliseconds",function(){return fp}),n.d(e,"timeSecond",function(){return up}),n.d(e,"timeSeconds",function(){return sp}),n.d(e,"utcSecond",function(){return up}),n.d(e,"utcSeconds",function(){return sp}),n.d(e,"timeMinute",function(){return ip}),n.d(e,"timeMinutes",function(){return op}),n.d(e,"timeHour",function(){return ep}),n.d(e,"timeHours",function(){return np}),n.d(e,"timeDay",function(){return Jd}),n.d(e,"timeDays",function(){return Qd}),n.d(e,"timeWeek",function(){return Rd}),n.d(e,"timeWeeks",function(){return Wd}),n.d(e,"timeSunday",function(){return Rd}),n.d(e,"timeSundays",function(){return Wd}),n.d(e,"timeMonday",function(){return Ld}),n.d(e,"timeMondays",function(){return qd}),n.d(e,"timeTuesday",function(){return Bd}),n.d(e,"timeTuesdays",function(){return Gd}),n.d(e,"timeWednesday",function(){return zd}),n.d(e,"timeWednesdays",function(){return Yd}),n.d(e,"timeThursday",function(){return Vd}),n.d(e,"timeThursdays",function(){return Xd}),n.d(e,"timeFriday",function(){return Ud}),n.d(e,"timeFridays",function(){return Kd}),n.d(e,"timeSaturday",function(){return Hd}),n.d(e,"timeSaturdays",function(){return $d}),n.d(e,"timeMonth",function(){return jd}),n.d(e,"timeMonths",function(){return Dd}),n.d(e,"timeYear",function(){return Td}),n.d(e,"timeYears",function(){return Md}),n.d(e,"utcMinute",function(){return bg}),n.d(e,"utcMinutes",function(){return xg}),n.d(e,"utcHour",function(){return gg}),n.d(e,"utcHours",function(){return yg}),n.d(e,"utcDay",function(){return Ap}),n.d(e,"utcDays",function(){return Tp}),n.d(e,"utcWeek",function(){return dp}),n.d(e,"utcWeeks",function(){return xp}),n.d(e,"utcSunday",function(){return dp}),n.d(e,"utcSundays",function(){return xp}),n.d(e,"utcMonday",function(){return pp}),n.d(e,"utcMondays",function(){return wp}),n.d(e,"utcTuesday",function(){return vp}),n.d(e,"utcTuesdays",function(){return _p}),n.d(e,"utcWednesday",function(){return gp}),n.d(e,"utcWednesdays",function(){return Sp}),n.d(e,"utcThursday",function(){return yp}),n.d(e,"utcThursdays",function(){return kp}),n.d(e,"utcFriday",function(){return mp}),n.d(e,"utcFridays",function(){return Ep}),n.d(e,"utcSaturday",function(){return bp}),n.d(e,"utcSaturdays",function(){return Op}),n.d(e,"utcMonth",function(){return dg}),n.d(e,"utcMonths",function(){return pg}),n.d(e,"utcYear",function(){return Pp}),n.d(e,"utcYears",function(){return jp}),n.d(e,"timeFormatDefaultLocale",function(){return Jv}),n.d(e,"timeFormat",function(){return Lp}),n.d(e,"timeParse",function(){return Bp}),n.d(e,"utcFormat",function(){return zp}),n.d(e,"utcParse",function(){return Vp}),n.d(e,"timeFormatLocale",function(){return Fp}),n.d(e,"isoFormat",function(){return Qv}),n.d(e,"isoParse",function(){return tg}),n.d(e,"now",function(){return Ne}),n.d(e,"timer",function(){return Le}),n.d(e,"timerFlush",function(){return Be}),n.d(e,"timeout",function(){return He}),n.d(e,"interval",function(){return We}),n.d(e,"transition",function(){return dn}),n.d(e,"active",function(){return ar}),n.d(e,"interrupt",function(){return on}),n.d(e,"voronoi",function(){return Ib}),n.d(e,"zoom",function(){return Xb}),n.d(e,"zoomTransform",function(){return Bb}),n.d(e,"zoomIdentity",function(){return Lb})},"Vr+8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n("q1tI"),i=n("USEA"),o=n("vldo");function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function s(t){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=!("undefined"==typeof window||!window.document||!window.document.createElement),d=0,p=function(t){function e(){var t,n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,u=new Array(o),c=0;c<o;c++)u[c]=arguments[c];return r=this,n=!(i=(t=s(e)).call.apply(t,[this].concat(u)))||"object"!==a(i)&&"function"!=typeof i?l(r):i,f(l(l(n)),"originalStyles",{}),f(l(l(n)),"listenerOptions",{capture:!1,passive:!1}),n}var n,p,v;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,r.Component),n=e,(p=[{key:"componentDidMount",value:function(){var t=this;if(h){var e=this.props,n=e.accountForScrollbars,r=e.touchScrollTarget,a=document.body,u=a&&a.style;if(n&&i.STYLE_KEYS.forEach(function(e){var n=u&&u[e];t.originalStyles[e]=n}),n&&d<1){var s=parseInt(this.originalStyles.paddingRight,10)||0,c=document.body?document.body.clientWidth:0,l=window.innerWidth-c+s||0;Object.keys(i.LOCK_STYLES).forEach(function(t){var e=i.LOCK_STYLES[t];u&&(u[t]=e)}),u&&(u.paddingRight="".concat(l,"px"))}a&&(0,o.isTouchDevice)()&&(a.addEventListener("touchmove",o.preventTouchMove,this.listenerOptions),r&&(r.addEventListener("touchstart",o.preventInertiaScroll,this.listenerOptions),r.addEventListener("touchmove",o.allowTouchMove,this.listenerOptions))),d+=1}}},{key:"componentWillUnmount",value:function(){var t=this;if(h){var e=this.props,n=e.accountForScrollbars,r=e.touchScrollTarget,a=document.body,u=a&&a.style;d=Math.max(d-1,0),n&&d<1&&i.STYLE_KEYS.forEach(function(e){var n=t.originalStyles[e];u&&(u[e]=n)}),a&&(0,o.isTouchDevice)()&&(a.removeEventListener("touchmove",o.preventTouchMove,this.listenerOptions),r&&(r.removeEventListener("touchstart",o.preventInertiaScroll,this.listenerOptions),r.removeEventListener("touchmove",o.allowTouchMove,this.listenerOptions)))}}},{key:"render",value:function(){return null}}])&&u(n.prototype,p),v&&u(n,v),e}();e.default=p,f(p,"defaultProps",{accountForScrollbars:!0})},VsWn:function(t,e,n){n("7PI8"),t.exports=n("WEpk").global},W070:function(t,e,n){var r=n("NsO/"),i=n("tEej"),o=n("D8kY");t.exports=function(t){return function(e,n,a){var u,s=r(e),c=i(s.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}}},W0Ae:function(t,e,n){"use strict";n.d(e,"a",function(){return s});var r=n("mrSG"),i=n("isby"),o=n("IUTb"),a=n("MGBS"),u=n("zotm");function s(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(1===t.length){if(!Object(i.a)(t[0]))return t[0];t=t[0]}return Object(o.a)(t,void 0).lift(new c)}var c=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new l(t))},t}(),l=function(t){function e(e){var n=t.call(this,e)||this;return n.hasFirst=!1,n.observables=[],n.subscriptions=[],n}return r.__extends(e,t),e.prototype._next=function(t){this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{for(var n=0;n<e&&!this.hasFirst;n++){var r=t[n],i=Object(u.a)(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}},e.prototype.notifyNext=function(t,e,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var a=this.subscriptions[o];a.unsubscribe(),this.remove(a)}this.subscriptions=null}this.destination.next(e)},e}(a.a)},W3HW:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flattenNames=void 0;var r=u(n("4qC0")),i=u(n("Ag8Z")),o=u(n("YO3V")),a=u(n("3WF5"));function u(t){return t&&t.__esModule?t:{default:t}}var s=e.flattenNames=function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,a.default)(e,function(e){Array.isArray(e)?t(e).map(function(t){return n.push(t)}):(0,o.default)(e)?(0,i.default)(e,function(t,e){!0===t&&n.push(e),n.push(e+"-"+t)}):(0,r.default)(e)&&n.push(e)}),n};e.default=s},W9dy:function(t,e,n){n("ioFf"),n("hHhE"),n("HAE/"),n("WLL4"),n("mYba"),n("5Pf0"),n("RW0V"),n("JduL"),n("DW2E"),n("z2o2"),n("mura"),n("Zshi"),n("V/DX"),n("FlsD"),n("91GP"),n("25dN"),n("/SS/"),n("Btvt"),n("2Spj"),n("f3/d"),n("IXt9"),n("GNAe"),n("tyy+"),n("xfY5"),n("A2zW"),n("VKir"),n("Ljet"),n("/KAi"),n("fN96"),n("7h0T"),n("sbF8"),n("h/M4"),n("knhD"),n("XfKG"),n("BP8U"),n("fyVe"),n("U2t9"),n("2atp"),n("+auO"),n("MtdB"),n("Jcmo"),n("nzyx"),n("BC7C"),n("x8ZO"),n("9P93"),n("eHKK"),n("BJ/l"),n("pp/T"),n("CyHz"),n("bBoP"),n("x8Yj"),n("hLT2"),n("VpUO"),n("eI33"),n("Tze0"),n("XfO3"),n("oDIu"),n("rvZc"),n("L9s1"),n("FLlr"),n("9VmF"),n("hEkN"),n("nIY7"),n("+oPb"),n("SMB2"),n("0mN4"),n("bDcW"),n("nsiH"),n("0LDn"),n("tUrg"),n("84bF"),n("FEjr"),n("Zz4T"),n("JCqj"),n("eM6i"),n("AphP"),n("jqX0"),n("h7Nl"),n("yM4b"),n("LK8F"),n("HEwt"),n("6AQ9"),n("Nz9U"),n("I78e"),n("Vd3H"),n("8+KV"),n("bWfx"),n("0l/t"),n("dZ+Y"),n("YJVH"),n("DNiP"),n("SPin"),n("V+eJ"),n("mGWK"),n("dE+T"),n("bHtr"),n("dRSK"),n("INYr"),n("0E+W"),n("yt8O"),n("Oyvg"),n("sMXx"),n("a1Th"),n("OEbY"),n("SRfc"),n("pIFo"),n("OG14"),n("KKXr"),n("VRzm"),n("9AAn"),n("T39b"),n("EK0E"),n("wCsR"),n("xm80"),n("Ji/l"),n("sFw1"),n("NO8f"),n("aqI/"),n("Faw5"),n("r1bV"),n("tuSo"),n("nCnK"),n("Y9lz"),n("Tdpu"),n("3xty"),n("I5cv"),n("iMoV"),n("uhZd"),n("f/aN"),n("0YWM"),n("694e"),n("LTTk"),n("9rMk"),n("IlFx"),n("xpiv"),n("oZ/O"),n("klPD"),n("knU9"),t.exports=n("g3g5")},WEpk:function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},WFjJ:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CustomPicker=e.TwitterPicker=e.SwatchesPicker=e.SliderPicker=e.SketchPicker=e.PhotoshopPicker=e.MaterialPicker=e.HuePicker=e.GithubPicker=e.CompactPicker=e.ChromePicker=e.default=e.CirclePicker=e.BlockPicker=e.AlphaPicker=void 0;var r=n("qo7Q");Object.defineProperty(e,"AlphaPicker",{enumerable:!0,get:function(){return m(r).default}});var i=n("rJ8t");Object.defineProperty(e,"BlockPicker",{enumerable:!0,get:function(){return m(i).default}});var o=n("7dW+");Object.defineProperty(e,"CirclePicker",{enumerable:!0,get:function(){return m(o).default}});var a=n("JI00");Object.defineProperty(e,"ChromePicker",{enumerable:!0,get:function(){return m(a).default}});var u=n("oPLb");Object.defineProperty(e,"CompactPicker",{enumerable:!0,get:function(){return m(u).default}});var s=n("Lx/H");Object.defineProperty(e,"GithubPicker",{enumerable:!0,get:function(){return m(s).default}});var c=n("wkyg");Object.defineProperty(e,"HuePicker",{enumerable:!0,get:function(){return m(c).default}});var l=n("Jxpl");Object.defineProperty(e,"MaterialPicker",{enumerable:!0,get:function(){return m(l).default}});var f=n("FbP/");Object.defineProperty(e,"PhotoshopPicker",{enumerable:!0,get:function(){return m(f).default}});var h=n("HTXX");Object.defineProperty(e,"SketchPicker",{enumerable:!0,get:function(){return m(h).default}});var d=n("Pzom");Object.defineProperty(e,"SliderPicker",{enumerable:!0,get:function(){return m(d).default}});var p=n("t8r4");Object.defineProperty(e,"SwatchesPicker",{enumerable:!0,get:function(){return m(p).default}});var v=n("nW7/");Object.defineProperty(e,"TwitterPicker",{enumerable:!0,get:function(){return m(v).default}});var g=n("UGzO");Object.defineProperty(e,"CustomPicker",{enumerable:!0,get:function(){return m(g).default}});var y=m(a);function m(t){return t&&t.__esModule?t:{default:t}}e.default=y.default},WFqU:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("yLpj"))},WG1l:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(2),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default,t.exports=e.default},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=u;var i=n(3),o=r(n(4)),a=r(n(14));function u(t){var e=t.activeClassName,n=void 0===e?"":e,r=t.activeIndex,o=void 0===r?-1:r,u=t.activeStyle,s=t.autoEscape,c=t.caseSensitive,l=void 0!==c&&c,f=t.className,h=t.findChunks,d=t.highlightClassName,p=void 0===d?"":d,v=t.highlightStyle,g=void 0===v?{}:v,y=t.highlightTag,m=void 0===y?"mark":y,b=t.sanitize,x=t.searchWords,w=t.textToHighlight,_=t.unhighlightClassName,S=void 0===_?"":_,k=t.unhighlightStyle,E=(0,i.findAll)({autoEscape:s,caseSensitive:l,findChunks:h,sanitize:b,searchWords:x,textToHighlight:w}),O=m,C=-1,A="",T=void 0;return a.default.createElement("span",{className:f},E.map(function(t,e){var r=w.substr(t.start,t.end-t.start);if(t.highlight){var i=++C===+o;return A=p+" "+(i?n:""),T=!0===i&&null!=u?Object.assign({},g,u):g,a.default.createElement(O,{className:A,key:e,style:T},r)}return a.default.createElement("span",{className:S,key:e,style:k},r)}))}u.propTypes={activeClassName:o.default.string,activeIndex:o.default.number,activeStyle:o.default.object,autoEscape:o.default.bool,className:o.default.string,findChunks:o.default.func,highlightClassName:o.default.string,highlightStyle:o.default.object,highlightTag:o.default.oneOfType([o.default.node,o.default.func,o.default.string]),sanitize:o.default.func,searchWords:o.default.arrayOf(o.default.string).isRequired,textToHighlight:o.default.string.isRequired,unhighlightClassName:o.default.string,unhighlightStyle:o.default.object},t.exports=e.default},function(t,e){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(2);Object.defineProperty(e,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(e,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(e,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(e,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.findAll=function(t){var e=t.autoEscape,o=t.caseSensitive,a=void 0!==o&&o,u=t.findChunks,s=void 0===u?r:u,c=t.sanitize,l=t.searchWords,f=t.textToHighlight;return i({chunksToHighlight:n({chunks:s({autoEscape:e,caseSensitive:a,sanitize:c,searchWords:l,textToHighlight:f})}),totalLength:f?f.length:0})};var n=e.combineChunks=function(t){var e=t.chunks;return e=e.sort(function(t,e){return t.start-e.start}).reduce(function(t,e){if(0===t.length)return[e];var n=t.pop();if(e.start<=n.end){var r=Math.max(n.end,e.end);t.push({start:n.start,end:r})}else t.push(n,e);return t},[])},r=function(t){var e=t.autoEscape,n=t.caseSensitive,r=t.sanitize,i=void 0===r?o:r,a=t.searchWords,u=t.textToHighlight;return u=i(u),a.filter(function(t){return t}).reduce(function(t,r){r=i(r),e&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(r,n?"g":"gi"),a=void 0;a=o.exec(u);){var s=a.index,c=o.lastIndex;c>s&&t.push({start:s,end:c}),a.index==o.lastIndex&&o.lastIndex++}return t},[])};e.findChunks=r;var i=e.fillInChunks=function(t){var e=t.chunksToHighlight,n=t.totalLength,r=[],i=function(t,e,n){e-t>0&&r.push({start:t,end:e,highlight:n})};if(0===e.length)i(0,n,!1);else{var o=0;e.forEach(function(t){i(o,t.start,!1),i(t.start,t.end,!0),o=t.end}),i(o,n,!1)}return r};function o(t){return t}}])},function(t,e,n){(function(e){if("production"!==e.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=n(6)(function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},!0)}else t.exports=n(13)()}).call(e,n(5))},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var s,c=[],l=!1,f=-1;function h(){l&&s&&(l=!1,s.length?c=s.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=u(h);l=!0;for(var e=c.length;e;){for(s=c,c=[];++f<e;)s&&s[f].run();f=-1,e=c.length}s=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function v(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||l||u(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){(function(e){"use strict";var r=n(7),i=n(8),o=n(9),a=n(10),u=n(11),s=n(12);t.exports=function(t,n){var c="function"==typeof Symbol&&Symbol.iterator,l="@@iterator";var f="<<anonymous>>",h={array:g("array"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:v(r.thatReturnsNull),arrayOf:function(t){return v(function(e,n,r,i,o){if("function"!=typeof t)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var a=e[n];if(!Array.isArray(a)){var s=m(a);return new p("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c<a.length;c++){var l=t(a,c,r,i,o+"["+c+"]",u);if(l instanceof Error)return l}return null})},element:function(){return v(function(e,n,r,i,o){var a=e[n];if(!t(a)){var u=m(a);return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected a single ReactElement.")}return null})}(),instanceOf:function(t){return v(function(e,n,r,i,o){if(!(e[n]instanceof t)){var a=t.name||f,u=function(t){if(!t.constructor||!t.constructor.name)return f;return t.constructor.name}(e[n]);return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null})},node:function(){return v(function(t,e,n,r,i){if(!y(t[e]))return new p("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.");return null})}(),objectOf:function(t){return v(function(e,n,r,i,o){if("function"!=typeof t)return new p("Property `"+o+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var a=e[n],s=m(a);if("object"!==s)return new p("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected an object.");for(var c in a)if(a.hasOwnProperty(c)){var l=t(a,c,r,i,o+"."+c,u);if(l instanceof Error)return l}return null})},oneOf:function(t){if(!Array.isArray(t))return"production"!==e.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull;return v(function(e,n,r,i,o){for(var a=e[n],u=0;u<t.length;u++)if(d(a,t[u]))return null;var s=JSON.stringify(t);return new p("Invalid "+i+" `"+o+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+s+".")})},oneOfType:function(t){if(!Array.isArray(t))return"production"!==e.env.NODE_ENV&&o(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull;for(var n=0;n<t.length;n++){var i=t[n];if("function"!=typeof i)return o(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",x(i),n),r.thatReturnsNull}return v(function(e,n,r,i,o){for(var a=0;a<t.length;a++){var s=t[a];if(null==s(e,n,r,i,o,u))return null}return new p("Invalid "+i+" `"+o+"` supplied to `"+r+"`.")})},shape:function(t){return v(function(e,n,r,i,o){var a=e[n],s=m(a);if("object"!==s)return new p("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in t){var l=t[c];if(l){var f=l(a,c,r,i,o+"."+c,u);if(f)return f}}return null})},exact:function(t){return v(function(e,n,r,i,o){var s=e[n],c=m(s);if("object"!==c)return new p("Invalid "+i+" `"+o+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var l=a({},e[n],t);for(var f in l){var h=t[f];if(!h)return new p("Invalid "+i+" `"+o+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(e[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var d=h(s,f,r,i,o+"."+f,u);if(d)return d}return null})}};function d(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function p(t){this.message=t,this.stack=""}function v(t){if("production"!==e.env.NODE_ENV)var r={},a=0;function s(s,c,l,h,d,v,g){if(h=h||f,v=v||l,g!==u)if(n)i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!==e.env.NODE_ENV&&"undefined"!=typeof console){var y=h+":"+l;!r[y]&&a<3&&(o(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",v,h),r[y]=!0,a++)}return null==c[l]?s?null===c[l]?new p("The "+d+" `"+v+"` is marked as required in `"+h+"`, but its value is `null`."):new p("The "+d+" `"+v+"` is marked as required in `"+h+"`, but its value is `undefined`."):null:t(c,l,h,d,v)}var c=s.bind(null,!1);return c.isRequired=s.bind(null,!0),c}function g(t){return v(function(e,n,r,i,o,a){var u=e[n];return m(u)!==t?new p("Invalid "+i+" `"+o+"` of type `"+b(u)+"` supplied to `"+r+"`, expected `"+t+"`."):null})}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||t(e))return!0;var n=function(t){var e=t&&(c&&t[c]||t[l]);if("function"==typeof e)return e}(e);if(!n)return!1;var r,i=n.call(e);if(n!==e.entries){for(;!(r=i.next()).done;)if(!y(r.value))return!1}else for(;!(r=i.next()).done;){var o=r.value;if(o&&!y(o[1]))return!1}return!0;default:return!1}}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||"Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol}(e,t)?"symbol":e}function b(t){if(null==t)return""+t;var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function x(t){var e=b(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}return p.prototype=Error.prototype,h.checkPropTypes=s,h.PropTypes=h,h}}).call(e,n(5))},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){(function(e){"use strict";var n=function(t){};"production"!==e.env.NODE_ENV&&(n=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=function(t,e,r,i,o,a,u,s){if(n(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,i,o,a,u,s],f=0;(c=new Error(e.replace(/%s/g,function(){return l[f++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}}).call(e,n(5))},function(t,e,n){(function(e){"use strict";var r=n(7);if("production"!==e.env.NODE_ENV){r=function(t,e){if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==e.indexOf("Failed Composite propType: ")&&!t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];(function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.error(o);try{throw new Error(o)}catch(t){}}).apply(void 0,[e].concat(r))}}}t.exports=r}).call(e,n(5))},function(t,e){ /* object-assign (c) Sindre Sorhus @license MIT */ "use strict";var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var o,a,u=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;s<arguments.length;s++){for(var c in o=Object(arguments[s]))r.call(o,c)&&(u[c]=o[c]);if(n){a=n(o);for(var l=0;l<a.length;l++)i.call(o,a[l])&&(u[a[l]]=o[a[l]])}}return u}},function(t,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){(function(e){"use strict";if("production"!==e.env.NODE_ENV)var r=n(8),i=n(9),o=n(11),a={};t.exports=function(t,n,u,s,c){if("production"!==e.env.NODE_ENV)for(var l in t)if(t.hasOwnProperty(l)){var f;try{r("function"==typeof t[l],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",s||"React class",u,l,typeof t[l]),f=t[l](n,l,s,u,null,o)}catch(t){f=t}if(i(!f||f instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",u,l,typeof f),f instanceof Error&&!(f.message in a)){a[f.message]=!0;var h=c?c():"";i(!1,"Failed %s type: %s%s",u,f.message,null!=h?h:"")}}}}).call(e,n(5))},function(t,e,n){"use strict";var r=n(7),i=n(8),o=n(11);t.exports=function(){function t(t,e,n,r,a,u){u!==o&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,e){t.exports=n("q1tI")}])},WLL4:function(t,e,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperties:n("FJW5")})},WbBG:function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},WwFo:function(t,e,n){var r=n("juv8"),i=n("7GkX");t.exports=function(t,e){return t&&r(e,i(e),t)}},Wwog:function(t,e,n){"use strict";function r(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}n.r(e),e.default=function(t,e){var n;void 0===e&&(e=r);var i,o=[],a=!1;return function(){for(var r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];return a&&n===this&&e(r,o)?i:(i=t.apply(this,r),a=!0,n=this,o=r,i)}}},XGnz:function(t,e,n){var r=n("CH3K"),i=n("BiGR");t.exports=function t(e,n,o,a,u){var s=-1,c=e.length;for(o||(o=i),u||(u=[]);++s<c;){var l=e[s];n>0&&o(l)?n>1?t(l,n-1,o,a,u):r(u,l):a||(u[u.length]=l)}return u}},"XI+/":function(t,e,n){var r,i,o;/*! tether-drop 1.5.0 */i=[n("oB59")],void 0===(o="function"==typeof(r=function(t){"use strict";var e=Function.prototype.bind,n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;if(void 0===s)return;return s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return;t=c,e=o,n=a,r=!0,u=c=void 0}},o=t.Utils,a=o.extend,u=o.addClass,s=o.removeClass,c=o.hasClass,l=o.Evented;function f(t){var e=t.split(" "),r=n(e,2),i=r[0],o=r[1];if(["left","right"].indexOf(i)>=0){var a=[o,i];i=a[0],o=a[1]}return[i,o].join(" ")}function h(t,e){for(var n=void 0,r=[];-1!==(n=t.indexOf(e));)r.push(t.splice(n,1));return r}var d=["click"];"ontouchstart"in document.documentElement&&d.push("touchstart");var p={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},v="";for(var g in p)if({}.hasOwnProperty.call(p,g)){var y=document.createElement("p");void 0!==y.style[g]&&(v=p[g])}var m={left:"right",right:"left",top:"bottom",bottom:"top",middle:"middle",center:"center"},b={},x=function n(){var o=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],p=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new(e.apply(y,[null].concat(n)))};a(p,{createContext:n,drops:[],defaults:{}});var g={classPrefix:"drop",defaults:{position:"bottom left",openOn:"click",beforeClose:null,constrainToScrollParent:!0,constrainToWindow:!0,classes:"",remove:!1,openDelay:0,closeDelay:50,focusDelay:null,blurDelay:null,hoverOpenDelay:null,hoverCloseDelay:null,tetherOptions:{}}};a(p,g,o),a(p.defaults,g.defaults,o.defaults),void 0===b[p.classPrefix]&&(b[p.classPrefix]=[]),p.updateBodyClasses=function(){for(var t=!1,e=b[p.classPrefix],n=e.length,r=0;r<n;++r)if(e[r].isOpened()){t=!0;break}t?u(document.body,p.classPrefix+"-open"):s(document.body,p.classPrefix+"-open")};var y=function(e){function n(t){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),i(Object.getPrototypeOf(n.prototype),"constructor",this).call(this),this.options=a({},p.defaults,t),this.target=this.options.target,void 0===this.target)throw new Error("Drop Error: You must provide a target.");var e="data-"+p.classPrefix,r=this.target.getAttribute(e);r&&null==this.options.content&&(this.options.content=r);for(var o=["position","openOn"],s=0;s<o.length;++s){var c=this.target.getAttribute(e+"-"+o[s]);c&&null==this.options[o[s]]&&(this.options[o[s]]=c)}this.options.classes&&!1!==this.options.addTargetClasses&&u(this.target,this.options.classes),p.drops.push(this),b[p.classPrefix].push(this),this._boundEvents=[],this.bindMethods(),this.setupElements(),this.setupEvents(),this.setupTether()}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,e),r(n,[{key:"_on",value:function(t,e,n){this._boundEvents.push({element:t,event:e,handler:n}),t.addEventListener(e,n)}},{key:"bindMethods",value:function(){this.transitionEndHandler=this._transitionEndHandler.bind(this)}},{key:"setupElements",value:function(){var t=this;this.drop=document.createElement("div"),u(this.drop,p.classPrefix),this.options.classes&&u(this.drop,this.options.classes),this.content=document.createElement("div"),u(this.content,p.classPrefix+"-content"),"function"==typeof this.options.content?this.on("beforeOpen",function(){var e=t.options.content.call(t,t);if("string"==typeof e)t.content.innerHTML=e;else{if("object"!=typeof e)throw new Error("Drop Error: Content function should return a string or HTMLElement.");t.content.innerHTML="",t.content.appendChild(e)}}.bind(this)):"object"==typeof this.options.content?this.content.appendChild(this.options.content):this.content.innerHTML=this.options.content,this.drop.appendChild(this.content)}},{key:"setupTether",value:function(){var e=this.options.position.split(" ");e[0]=m[e[0]],e=e.join(" ");var n=[];this.options.constrainToScrollParent?n.push({to:"scrollParent",pin:"top, bottom",attachment:"together none"}):n.push({to:"scrollParent"}),!1!==this.options.constrainToWindow?n.push({to:"window",attachment:"together"}):n.push({to:"window"});var r={element:this.drop,target:this.target,attachment:f(e),targetAttachment:f(this.options.position),classPrefix:p.classPrefix,offset:"0 0",targetOffset:"0 0",enabled:!1,constraints:n,addTargetClasses:this.options.addTargetClasses};!1!==this.options.tetherOptions&&(this.tether=new t(a({},r,this.options.tetherOptions)))}},{key:"setupEvents",value:function(){var t=this;if(this.options.openOn)if("always"!==this.options.openOn){var e=this.options.openOn.split(" ");if(e.indexOf("click")>=0)for(var n=function(e){t.toggle(e),e.preventDefault()},r=function(e){t.isOpened()&&(e.target===t.drop||t.drop.contains(e.target)||e.target===t.target||t.target.contains(e.target)||t.close(e))},i=0;i<d.length;++i){var o=d[i];this._on(this.target,o,n),this._on(document,o,r)}var a=null,u=null,s=function(e){null!==u?clearTimeout(u):a=setTimeout(function(){t.open(e),a=null},("focus"===e.type?t.options.focusDelay:t.options.hoverOpenDelay)||t.options.openDelay)},c=function(e){null!==a?clearTimeout(a):u=setTimeout(function(){t.close(e),u=null},("blur"===e.type?t.options.blurDelay:t.options.hoverCloseDelay)||t.options.closeDelay)};e.indexOf("hover")>=0&&(this._on(this.target,"mouseover",s),this._on(this.drop,"mouseover",s),this._on(this.target,"mouseout",c),this._on(this.drop,"mouseout",c)),e.indexOf("focus")>=0&&(this._on(this.target,"focus",s),this._on(this.drop,"focus",s),this._on(this.target,"blur",c),this._on(this.drop,"blur",c))}else setTimeout(this.open.bind(this))}},{key:"isOpened",value:function(){if(this.drop)return c(this.drop,p.classPrefix+"-open")}},{key:"toggle",value:function(t){this.isOpened()?this.close(t):this.open(t)}},{key:"open",value:function(t){var e=this;this.isOpened()||(this.drop.parentNode||document.body.appendChild(this.drop),void 0!==this.tether&&this.tether.enable(),u(this.drop,p.classPrefix+"-open"),u(this.drop,p.classPrefix+"-open-transitionend"),setTimeout(function(){e.drop&&u(e.drop,p.classPrefix+"-after-open")}),this.trigger("beforeOpen"),void 0!==this.tether&&this.tether.position(),this.trigger("open"),p.updateBodyClasses())}},{key:"_transitionEndHandler",value:function(t){t.target===t.currentTarget&&(c(this.drop,p.classPrefix+"-open")||s(this.drop,p.classPrefix+"-open-transitionend"),this.drop.removeEventListener(v,this.transitionEndHandler))}},{key:"beforeCloseHandler",value:function(t){var e=!0;return this.isClosing||"function"!=typeof this.options.beforeClose||(this.isClosing=!0,e=!1!==this.options.beforeClose(t,this)),this.isClosing=!1,e}},{key:"close",value:function(t){this.isOpened()&&this.beforeCloseHandler(t)&&(s(this.drop,p.classPrefix+"-open"),s(this.drop,p.classPrefix+"-after-open"),this.drop.addEventListener(v,this.transitionEndHandler),this.trigger("close"),void 0!==this.tether&&this.tether.disable(),p.updateBodyClasses(),this.options.remove&&this.remove(t))}},{key:"remove",value:function(t){this.close(t),this.drop.parentNode&&this.drop.parentNode.removeChild(this.drop)}},{key:"position",value:function(){this.isOpened()&&void 0!==this.tether&&this.tether.position()}},{key:"destroy",value:function(){this.remove(),void 0!==this.tether&&this.tether.destroy();for(var t=0;t<this._boundEvents.length;++t){var e=this._boundEvents[t],n=e.element,r=e.event,i=e.handler;n.removeEventListener(r,i)}this._boundEvents=[],this.tether=null,this.drop=null,this.content=null,this.target=null,h(b[p.classPrefix],this),h(p.drops,this)}}]),n}(l);return p}();return document.addEventListener("DOMContentLoaded",function(){x.updateBodyClasses()}),x})?r.apply(e,i):r)||(t.exports=o)},XKAG:function(t,e,n){var r=n("ut/Y"),i=n("MMmD"),o=n("7GkX");t.exports=function(t){return function(e,n,a){var u=Object(e);if(!i(e)){var s=r(n,3);e=o(e),n=function(t){return s(u[t],t,u)}}var c=t(e,n,a);return c>-1?u[s?e[c]:c]:void 0}}},XKFU:function(t,e,n){var r=n("dyZX"),i=n("g3g5"),o=n("Mukb"),a=n("KroJ"),u=n("m0Pp"),s=function(t,e,n){var c,l,f,h,d=t&s.F,p=t&s.G,v=t&s.S,g=t&s.P,y=t&s.B,m=p?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=p?i:i[e]||(i[e]={}),x=b.prototype||(b.prototype={});for(c in p&&(n=e),n)f=((l=!d&&m&&void 0!==m[c])?m:n)[c],h=y&&l?u(f,r):g&&"function"==typeof f?u(Function.call,f):f,m&&a(m,c,f,t&s.U),b[c]!=f&&o(b,c,h),g&&x[c]!=f&&(x[c]=f)};r.core=i,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},XMVh:function(t,e,n){var r=n("K0xU")("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},XQvf:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.active=void 0;var r,i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r};function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var s=e.active=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,o,s;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);for(var c=arguments.length,l=Array(c),f=0;f<c;f++)l[f]=arguments[f];return o=s=u(this,(n=r.__proto__||Object.getPrototypeOf(r)).call.apply(n,[this].concat(l))),s.state={active:!1},s.handleMouseDown=function(){return s.setState({active:!0})},s.handleMouseUp=function(){return s.setState({active:!1})},s.render=function(){return a.default.createElement(e,{onMouseDown:s.handleMouseDown,onMouseUp:s.handleMouseUp},a.default.createElement(t,i({},s.props,s.state)))},u(s,o)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(r,a.default.Component),r}()};e.default=s},XYm9:function(t,e,n){var r=n("+K+b");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},Xbzi:function(t,e,n){var r=n("0/R4"),i=n("i5dc").set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},XcA1:function(t,e){!function(t){var e={},n=t.prototype.stopCallback;t.prototype.stopCallback=function(t,r,i,o){return!!this.paused||!e[i]&&!e[o]&&n.call(this,t,r,i)},t.prototype.bindGlobal=function(t,n,r){if(this.bind(t,n,r),t instanceof Array)for(var i=0;i<t.length;i++)e[t[i]]=!0;else e[t]=!0},t.prototype.unbindGlobal=function(t,n){if(this.unbind(t,n),t instanceof Array)for(var r=0;r<t.length;r++)e[t[r]]=!1;else e[t]=!1},t.init()}(Mousetrap)},XfKG:function(t,e,n){var r=n("XKFU"),i=n("11IZ");r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},XfO3:function(t,e,n){"use strict";var r=n("AvRE")(!0);n("Afnz")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},Xi7e:function(t,e,n){var r=n("KMkd"),i=n("adU4"),o=n("tMB7"),a=n("+6XX"),u=n("Z8oC");function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},Xjjk:function(t,e,n){var r=n("vaBj"),i=n("UOFQ"),o=n("OxZn");for(var a in(e=t.exports=function(t,e){return new o(e).process(t)}).FilterXSS=o,r)e[a]=r[a];for(var a in i)e[a]=i[a];"undefined"!=typeof window&&(window.filterXSS=t.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=t.exports)},XlPw:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("6blF");function i(t,e){return e?new r.a(function(n){return e.schedule(o,0,{error:t,subscriber:n})}):new r.a(function(e){return e.error(t)})}function o(t){var e=t.error;t.subscriber.error(e)}},"Xt/L":function(t,e){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},Xtr8:function(t,e,n){var r=n("XKFU"),i=n("g3g5"),o=n("eeVq");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},Xxuz:function(t,e,n){"use strict";var r=n("I8a+"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"Y+p1":function(t,e,n){var r=n("wF/u");t.exports=function(t,e){return r(t,e)}},Y0CH:function(t,e,n){var r=n("LXxW"),i=n("eUgh"),o=n("711d"),a=n("UNi/"),u=n("3L66"),s=Math.max;t.exports=function(t){if(!t||!t.length)return[];var e=0;return t=r(t,function(t){if(u(t))return e=s(t.length,e),!0}),a(e,function(e){return i(t,o(e))})}},Y62N:function(t,e,n){"use strict";function r(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,"b",function(){return r}),e.a=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},Y7ZC:function(t,e,n){var r=n("5T2Y"),i=n("WEpk"),o=n("2GTP"),a=n("NegM"),u=n("B+OT"),s=function(t,e,n){var c,l,f,h=t&s.F,d=t&s.G,p=t&s.S,v=t&s.P,g=t&s.B,y=t&s.W,m=d?i:i[e]||(i[e]={}),b=m.prototype,x=d?r:p?r[e]:(r[e]||{}).prototype;for(c in d&&(n=e),n)(l=!h&&x&&void 0!==x[c])&&u(m,c)||(f=l?x[c]:n[c],m[c]=d&&"function"!=typeof x[c]?n[c]:g&&l?o(f,r):y&&x[c]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?o(Function.call,f):f,v&&((m.virtual||(m.virtual={}))[c]=f,t&s.R&&b&&!b[c]&&a(b,c,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},Y9lz:function(t,e,n){n("7DDg")("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},YEIV:function(t,e,n){"use strict";e.__esModule=!0;var r,i=n("SEkw"),o=(r=i)&&r.__esModule?r:{default:r};e.default=function(t,e,n){return e in t?(0,o.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},YESw:function(t,e,n){var r=n("Cwc5")(Object,"create");t.exports=r},YJVH:function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(4);r(r.P+r.F*!n("LyE8")([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},YO3V:function(t,e,n){var r=n("NykK"),i=n("LcsW"),o=n("ExA7"),a="[object Object]",u=Function.prototype,s=Object.prototype,c=u.toString,l=s.hasOwnProperty,f=c.call(Object);t.exports=function(t){if(!o(t)||r(t)!=a)return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},YTCJ:function(t,e,n){n("y8zH"),t.exports="ang-drag-drop"},YTvA:function(t,e,n){var r=n("VTer")("keys"),i=n("ylqs");t.exports=function(t){return r[t]||(r[t]=i(t))}},YiAA:function(t,e,n){var r=n("sdKN"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isDate,u=a?i(a):r;t.exports=u},Ymqv:function(t,e,n){var r=n("LZWt");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},Yp8f:function(t,e,n){n("6VaU"),t.exports=n("g3g5").Array.flatMap},YqAc:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},YvDT:function(t,e,n){"use strict";n.d(e,"b",function(){return p}),n.d(e,"a",function(){return v}),n.d(e,"d",function(){return _}),n.d(e,"c",function(){return S});var r=n("Y62N"),i=n("FmoU"),o=n("Uwo/"),a=.96422,u=1,s=.82521,c=4/29,l=6/29,f=3*l*l,h=l*l*l;function d(t){if(t instanceof g)return new g(t.l,t.a,t.b,t.opacity);if(t instanceof k)return E(t);t instanceof i.b||(t=Object(i.h)(t));var e,n,r=x(t.r),o=x(t.g),c=x(t.b),l=y((.2225045*r+.7168786*o+.0606169*c)/u);return r===o&&o===c?e=n=l:(e=y((.4360747*r+.3850649*o+.1430804*c)/a),n=y((.0139322*r+.0971045*o+.7141733*c)/s)),new g(116*l-16,500*(e-l),200*(l-n),t.opacity)}function p(t,e){return new g(t,0,0,null==e?1:e)}function v(t,e,n,r){return 1===arguments.length?d(t):new g(t,e,n,null==r?1:r)}function g(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function y(t){return t>h?Math.pow(t,1/3):t/f+c}function m(t){return t>l?t*t*t:f*(t-c)}function b(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function x(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function w(t){if(t instanceof k)return new k(t.h,t.c,t.l,t.opacity);if(t instanceof g||(t=d(t)),0===t.a&&0===t.b)return new k(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*o.b;return new k(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function _(t,e,n,r){return 1===arguments.length?w(t):new k(n,e,t,null==r?1:r)}function S(t,e,n,r){return 1===arguments.length?w(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function E(t){if(isNaN(t.h))return new g(t.l,0,0,t.opacity);var e=t.h*o.a;return new g(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Object(r.a)(g,v,Object(r.b)(i.a,{brighter:function(t){return new g(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new g(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=a*m(e),t=u*m(t),n=s*m(n),new i.b(b(3.1338561*e-1.6168667*t-.4906146*n),b(-.9787684*e+1.9161415*t+.033454*n),b(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Object(r.a)(k,S,Object(r.b)(i.a,{brighter:function(t){return new k(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new k(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return E(this).rgb()}}))},Z0cm:function(t,e){var n=Array.isArray;t.exports=n},Z2Ku:function(t,e,n){"use strict";var r=n("XKFU"),i=n("w2a5")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")("includes")},Z6vF:function(t,e,n){var r=n("ylqs")("meta"),i=n("0/R4"),o=n("aagx"),a=n("hswa").f,u=0,s=Object.isExtensible||function(){return!0},c=!n("eeVq")(function(){return s(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!s(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!s(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return c&&f.NEED&&s(t)&&!o(t,r)&&l(t),t}}},Z8oC:function(t,e,n){var r=n("y1pI");t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},ZCgT:function(t,e,n){var r=n("tLB3"),i=1/0,o=1.7976931348623157e308;t.exports=function(t){return t?(t=r(t))===i||t===-i?(t<0?-1:1)*o:t==t?t:0:0===t?t:0}},ZCpW:function(t,e,n){var r=n("lm/5"),i=n("O7RO"),o=n("IOzZ");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},ZD67:function(t,e,n){"use strict";var r=n("3Lyj"),i=n("Z6vF").getWeak,o=n("y3w9"),a=n("0/R4"),u=n("9gX7"),s=n("SlkY"),c=n("CkkT"),l=n("aagx"),f=n("s5qY"),h=c(5),d=c(6),p=0,v=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},y=function(t,e){return h(t.a,function(t){return t[0]===e})};g.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var c=t(function(t,r){u(t,c,e,"_i"),t._t=e,t._i=p++,t._l=void 0,null!=r&&s(r,n,t[o],t)});return r(c.prototype,{delete:function(t){if(!a(t))return!1;var n=i(t);return!0===n?v(f(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=i(t);return!0===n?v(f(this,e)).has(t):n&&l(n,this._i)}}),c},def:function(t,e,n){var r=i(o(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},"ZQT/":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompactColor=void 0;var r=u(n("q1tI")),i=u(n("/FUP")),o=u(n("p8yl")),a=n("TM95");function u(t){return t&&t.__esModule?t:{default:t}}var s=e.CompactColor=function(t){var e=t.color,n=t.onClick,u=void 0===n?function(){}:n,s=t.onSwatchHover,c=t.active,l=(0,i.default)({default:{color:{background:e,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:o.default.getContrastingColor(e),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:c,"color-#FFFFFF":"#FFFFFF"===e,transparent:"transparent"===e});return r.default.createElement(a.Swatch,{style:l.color,color:e,onClick:u,onHover:s,focusStyle:{boxShadow:"0 0 4px "+e}},r.default.createElement("div",{style:l.dot}))};e.default=s},ZWtO:function(t,e,n){var r=n("4uTw"),i=n("9Nap");t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n<o;)t=t[i(e[n++])];return n&&n==o?t:void 0}},Zn8D:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("psW0"),i=n("mChF");function o(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),Object(r.a)(i.a,t)}},Zshi:function(t,e,n){var r=n("0/R4");n("Xtr8")("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},Zss7:function(t,e,n){var r;!function(i){var o=/^\s+/,a=/\s+$/,u=0,s=i.round,c=i.min,l=i.max,f=i.random;function h(t,e){if(e=e||{},(t=t||"")instanceof h)return t;if(!(this instanceof h))return new h(t,e);var n=function(t){var e={r:0,g:0,b:0},n=1,r=null,u=null,s=null,f=!1,h=!1;"string"==typeof t&&(t=function(t){t=t.replace(o,"").replace(a,"").toLowerCase();var e,n=!1;if(M[t])t=M[t],n=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};if(e=H.rgb.exec(t))return{r:e[1],g:e[2],b:e[3]};if(e=H.rgba.exec(t))return{r:e[1],g:e[2],b:e[3],a:e[4]};if(e=H.hsl.exec(t))return{h:e[1],s:e[2],l:e[3]};if(e=H.hsla.exec(t))return{h:e[1],s:e[2],l:e[3],a:e[4]};if(e=H.hsv.exec(t))return{h:e[1],s:e[2],v:e[3]};if(e=H.hsva.exec(t))return{h:e[1],s:e[2],v:e[3],a:e[4]};if(e=H.hex8.exec(t))return{r:N(e[1]),g:N(e[2]),b:N(e[3]),a:B(e[4]),format:n?"name":"hex8"};if(e=H.hex6.exec(t))return{r:N(e[1]),g:N(e[2]),b:N(e[3]),format:n?"name":"hex"};if(e=H.hex4.exec(t))return{r:N(e[1]+""+e[1]),g:N(e[2]+""+e[2]),b:N(e[3]+""+e[3]),a:B(e[4]+""+e[4]),format:n?"name":"hex8"};if(e=H.hex3.exec(t))return{r:N(e[1]+""+e[1]),g:N(e[2]+""+e[2]),b:N(e[3]+""+e[3]),format:n?"name":"hex"};return!1}(t));"object"==typeof t&&(W(t.r)&&W(t.g)&&W(t.b)?(d=t.r,p=t.g,v=t.b,e={r:255*D(d,255),g:255*D(p,255),b:255*D(v,255)},f=!0,h="%"===String(t.r).substr(-1)?"prgb":"rgb"):W(t.h)&&W(t.s)&&W(t.v)?(r=R(t.s),u=R(t.v),e=function(t,e,n){t=6*D(t,360),e=D(e,100),n=D(n,100);var r=i.floor(t),o=t-r,a=n*(1-e),u=n*(1-o*e),s=n*(1-(1-o)*e),c=r%6;return{r:255*[n,u,a,a,s,n][c],g:255*[s,n,n,u,a,a][c],b:255*[a,a,s,n,n,u][c]}}(t.h,r,u),f=!0,h="hsv"):W(t.h)&&W(t.s)&&W(t.l)&&(r=R(t.s),s=R(t.l),e=function(t,e,n){var r,i,o;function a(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}if(t=D(t,360),e=D(e,100),n=D(n,100),0===e)r=i=o=n;else{var u=n<.5?n*(1+e):n+e-n*e,s=2*n-u;r=a(s,u,t+1/3),i=a(s,u,t),o=a(s,u,t-1/3)}return{r:255*r,g:255*i,b:255*o}}(t.h,r,s),f=!0,h="hsl"),t.hasOwnProperty("a")&&(n=t.a));var d,p,v;return n=j(n),{ok:f,format:t.format||h,r:c(255,l(e.r,0)),g:c(255,l(e.g,0)),b:c(255,l(e.b,0)),a:n}}(t);this._originalInput=t,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=s(100*this._a)/100,this._format=e.format||n.format,this._gradientType=e.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=n.ok,this._tc_id=u++}function d(t,e,n){t=D(t,255),e=D(e,255),n=D(n,255);var r,i,o=l(t,e,n),a=c(t,e,n),u=(o+a)/2;if(o==a)r=i=0;else{var s=o-a;switch(i=u>.5?s/(2-o-a):s/(o+a),o){case t:r=(e-n)/s+(e<n?6:0);break;case e:r=(n-t)/s+2;break;case n:r=(t-e)/s+4}r/=6}return{h:r,s:i,l:u}}function p(t,e,n){t=D(t,255),e=D(e,255),n=D(n,255);var r,i,o=l(t,e,n),a=c(t,e,n),u=o,s=o-a;if(i=0===o?0:s/o,o==a)r=0;else{switch(o){case t:r=(e-n)/s+(e<n?6:0);break;case e:r=(n-t)/s+2;break;case n:r=(t-e)/s+4}r/=6}return{h:r,s:i,v:u}}function v(t,e,n,r){var i=[F(s(t).toString(16)),F(s(e).toString(16)),F(s(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function g(t,e,n,r){return[F(L(r)),F(s(t).toString(16)),F(s(e).toString(16)),F(s(n).toString(16))].join("")}function y(t,e){e=0===e?0:e||10;var n=h(t).toHsl();return n.s-=e/100,n.s=I(n.s),h(n)}function m(t,e){e=0===e?0:e||10;var n=h(t).toHsl();return n.s+=e/100,n.s=I(n.s),h(n)}function b(t){return h(t).desaturate(100)}function x(t,e){e=0===e?0:e||10;var n=h(t).toHsl();return n.l+=e/100,n.l=I(n.l),h(n)}function w(t,e){e=0===e?0:e||10;var n=h(t).toRgb();return n.r=l(0,c(255,n.r-s(-e/100*255))),n.g=l(0,c(255,n.g-s(-e/100*255))),n.b=l(0,c(255,n.b-s(-e/100*255))),h(n)}function _(t,e){e=0===e?0:e||10;var n=h(t).toHsl();return n.l-=e/100,n.l=I(n.l),h(n)}function S(t,e){var n=h(t).toHsl(),r=(n.h+e)%360;return n.h=r<0?360+r:r,h(n)}function k(t){var e=h(t).toHsl();return e.h=(e.h+180)%360,h(e)}function E(t){var e=h(t).toHsl(),n=e.h;return[h(t),h({h:(n+120)%360,s:e.s,l:e.l}),h({h:(n+240)%360,s:e.s,l:e.l})]}function O(t){var e=h(t).toHsl(),n=e.h;return[h(t),h({h:(n+90)%360,s:e.s,l:e.l}),h({h:(n+180)%360,s:e.s,l:e.l}),h({h:(n+270)%360,s:e.s,l:e.l})]}function C(t){var e=h(t).toHsl(),n=e.h;return[h(t),h({h:(n+72)%360,s:e.s,l:e.l}),h({h:(n+216)%360,s:e.s,l:e.l})]}function A(t,e,n){e=e||6,n=n||30;var r=h(t).toHsl(),i=360/n,o=[h(t)];for(r.h=(r.h-(i*e>>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(h(r));return o}function T(t,e){e=e||6;for(var n=h(t).toHsv(),r=n.h,i=n.s,o=n.v,a=[],u=1/e;e--;)a.push(h({h:r,s:i,v:o})),o=(o+u)%1;return a}h.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},getLuminance:function(){var t,e,n,r=this.toRgb();return t=r.r/255,e=r.g/255,n=r.b/255,.2126*(t<=.03928?t/12.92:i.pow((t+.055)/1.055,2.4))+.7152*(e<=.03928?e/12.92:i.pow((e+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:i.pow((n+.055)/1.055,2.4))},setAlpha:function(t){return this._a=j(t),this._roundA=s(100*this._a)/100,this},toHsv:function(){var t=p(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=p(this._r,this._g,this._b),e=s(360*t.h),n=s(100*t.s),r=s(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+r+"%)":"hsva("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var t=d(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=d(this._r,this._g,this._b),e=s(360*t.h),n=s(100*t.s),r=s(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+r+"%)":"hsla("+e+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(t){return v(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(t){return function(t,e,n,r,i){var o=[F(s(t).toString(16)),F(s(e).toString(16)),F(s(n).toString(16)),F(L(r))];if(i&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)&&o[3].charAt(0)==o[3].charAt(1))return o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0);return o.join("")}(this._r,this._g,this._b,this._a,t)},toHex8String:function(t){return"#"+this.toHex8(t)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(100*D(this._r,255))+"%",g:s(100*D(this._g,255))+"%",b:s(100*D(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+s(100*D(this._r,255))+"%, "+s(100*D(this._g,255))+"%, "+s(100*D(this._b,255))+"%)":"rgba("+s(100*D(this._r,255))+"%, "+s(100*D(this._g,255))+"%, "+s(100*D(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(P[v(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+g(this._r,this._g,this._b,this._a),n=e,r=this._gradientType?"GradientType = 1, ":"";if(t){var i=h(t);n="#"+g(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+e+",endColorstr="+n+")"},toString:function(t){var e=!!t;t=t||this._format;var n=!1,r=this._a<1&&this._a>=0;return e||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"hex4"!==t&&"hex8"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex4"===t&&(n=this.toHex8String(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),"hsv"===t&&(n=this.toHsvString()),n||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},clone:function(){return h(this.toString())},_applyModification:function(t,e){var n=t.apply(null,[this].concat([].slice.call(e)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(x,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(y,arguments)},saturate:function(){return this._applyModification(m,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification(S,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(A,arguments)},complement:function(){return this._applyCombination(k,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(E,arguments)},tetrad:function(){return this._applyCombination(O,arguments)}},h.fromRatio=function(t,e){if("object"==typeof t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]="a"===r?t[r]:R(t[r]));t=n}return h(t,e)},h.equals=function(t,e){return!(!t||!e)&&h(t).toRgbString()==h(e).toRgbString()},h.random=function(){return h.fromRatio({r:f(),g:f(),b:f()})},h.mix=function(t,e,n){n=0===n?0:n||50;var r=h(t).toRgb(),i=h(e).toRgb(),o=n/100;return h({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},h.readability=function(t,e){var n=h(t),r=h(e);return(i.max(n.getLuminance(),r.getLuminance())+.05)/(i.min(n.getLuminance(),r.getLuminance())+.05)},h.isReadable=function(t,e,n){var r,i,o=h.readability(t,e);switch(i=!1,(r=function(t){var e,n;e=((t=t||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(t.size||"small").toLowerCase(),"AA"!==e&&"AAA"!==e&&(e="AA");"small"!==n&&"large"!==n&&(n="small");return{level:e,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=o>=4.5;break;case"AAlarge":i=o>=3;break;case"AAAsmall":i=o>=7}return i},h.mostReadable=function(t,e,n){var r,i,o,a,u=null,s=0;i=(n=n||{}).includeFallbackColors,o=n.level,a=n.size;for(var c=0;c<e.length;c++)(r=h.readability(t,e[c]))>s&&(s=r,u=h(e[c]));return h.isReadable(t,u,{level:o,size:a})||!i?u:(n.includeFallbackColors=!1,h.mostReadable(t,["#fff","#000"],n))};var M=h.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},P=h.hexNames=function(t){var e={};for(var n in t)t.hasOwnProperty(n)&&(e[t[n]]=n);return e}(M);function j(t){return t=parseFloat(t),(isNaN(t)||t<0||t>1)&&(t=1),t}function D(t,e){(function(t){return"string"==typeof t&&-1!=t.indexOf(".")&&1===parseFloat(t)})(t)&&(t="100%");var n=function(t){return"string"==typeof t&&-1!=t.indexOf("%")}(t);return t=c(e,l(0,parseFloat(t))),n&&(t=parseInt(t*e,10)/100),i.abs(t-e)<1e-6?1:t%e/parseFloat(e)}function I(t){return c(1,l(0,t))}function N(t){return parseInt(t,16)}function F(t){return 1==t.length?"0"+t:""+t}function R(t){return t<=1&&(t=100*t+"%"),t}function L(t){return i.round(255*parseFloat(t)).toString(16)}function B(t){return N(t)/255}var z,V,U,H=(V="[\\s|\\(]+("+(z="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",U="[\\s|\\(]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")[,|\\s]+("+z+")\\s*\\)?",{CSS_UNIT:new RegExp(z),rgb:new RegExp("rgb"+V),rgba:new RegExp("rgba"+U),hsl:new RegExp("hsl"+V),hsla:new RegExp("hsla"+U),hsv:new RegExp("hsv"+V),hsva:new RegExp("hsva"+U),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function W(t){return!!H.CSS_UNIT.exec(t)}t.exports?t.exports=h:void 0===(r=function(){return h}.call(e,n,e,t))||(t.exports=r)}(Math)},Zxgi:function(t,e,n){var r=n("5T2Y"),i=n("WEpk"),o=n("uOPS"),a=n("zLkG"),u=n("2faE").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:a.f(t)})}},Zz4T:function(t,e,n){"use strict";n("OGtf")("sub",function(t){return function(){return t(this,"sub","","")}})},a0xu:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},a1Th:function(t,e,n){"use strict";n("OEbY");var r=n("y3w9"),i=n("C/va"),o=n("nh4g"),a=/./.toString,u=function(t){n("KroJ")(RegExp.prototype,"toString",t,!0)};n("eeVq")(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?u(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):"toString"!=a.name&&u(function(){return a.call(this)})},aBYM:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("mrSG"),i=n("q1tI"),o=r.__importDefault(n("51gB"));e.default=function(t,e){void 0===e&&(e=[]);var n=o.default(t,e,{loading:!0}),r=n[0],a=n[1];return i.useEffect(function(){a()},[a]),r}},aCFj:function(t,e,n){var r=n("Ymqv"),i=n("vhPU");t.exports=function(t){return r(i(t))}},aGNc:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("FFOo");function o(t){return function(e){return e.lift(new a(t))}}var a=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.value))},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.value=n,r}return r.__extends(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(i.a)},aLAa:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var r=s(n("q1tI")),i=s(n("17x9")),o=s(n("Jpgy")),a=n("ragC"),u=n("4UG0");function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function h(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var d="react-calendar__decade-view__years__year";function p(t){var e=t.classes,n=t.point,i=h(t,["classes","point"]);return r.default.createElement(o.default,f({},i,{classes:[].concat(e,d),maxDateTransform:a.getEndOfYear,minDateTransform:a.getBeginOfYear,view:"decade"}),n)}p.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(n,!0).forEach(function(e){l(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},u.tileProps,{point:i.default.number.isRequired})},aagx:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},acCH:function(t,e,n){"use strict";e.__esModule=!0;var r=n("q1tI"),i=(a(r),a(n("17x9"))),o=a(n("fZtv"));a(n("2mcs"));function a(t){return t&&t.__esModule?t:{default:t}}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l=1073741823;e.default=function(t,e){var n,a,f="__create-react-context-"+(0,o.default)()+"__",h=function(t){function n(){var e,r,i,o;u(this,n);for(var a=arguments.length,c=Array(a),l=0;l<a;l++)c[l]=arguments[l];return e=r=s(this,t.call.apply(t,[this].concat(c))),r.emitter=(i=r.props.value,o=[],{on:function(t){o.push(t)},off:function(t){o=o.filter(function(e){return e!==t})},get:function(){return i},set:function(t,e){i=t,o.forEach(function(t){return t(i,e)})}}),s(r,e)}return c(n,t),n.prototype.getChildContext=function(){var t;return(t={})[f]=this.emitter,t},n.prototype.componentWillReceiveProps=function(t){if(this.props.value!==t.value){var n=this.props.value,r=t.value,i=void 0;((o=n)===(a=r)?0!==o||1/o==1/a:o!=o&&a!=a)?i=0:(i="function"==typeof e?e(n,r):l,0!=(i|=0)&&this.emitter.set(t.value,i))}var o,a},n.prototype.render=function(){return this.props.children},n}(r.Component);h.childContextTypes=((n={})[f]=i.default.object.isRequired,n);var d=function(e){function n(){var t,r;u(this,n);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return t=r=s(this,e.call.apply(e,[this].concat(o))),r.state={value:r.getValue()},r.onUpdate=function(t,e){0!=((0|r.observedBits)&e)&&r.setState({value:r.getValue()})},s(r,t)}return c(n,e),n.prototype.componentWillReceiveProps=function(t){var e=t.observedBits;this.observedBits=null==e?l:e},n.prototype.componentDidMount=function(){this.context[f]&&this.context[f].on(this.onUpdate);var t=this.props.observedBits;this.observedBits=null==t?l:t},n.prototype.componentWillUnmount=function(){this.context[f]&&this.context[f].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[f]?this.context[f].get():t},n.prototype.render=function(){return(t=this.props.children,Array.isArray(t)?t[0]:t)(this.state.value);var t},n}(r.Component);return d.contextTypes=((a={})[f]=i.default.object,a),{Provider:h,Consumer:d}},t.exports=e.default},adOz:function(t,e,n){n("Zxgi")("asyncIterator")},adU4:function(t,e,n){var r=n("y1pI"),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.call(e,n,1),--this.size,0))}},ahDk:function(t,e,n){"use strict";n.r(e);var r=n("mrSG"),i=n("MGBS"),o=n("zotm");function a(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.durationSelector))},t}(),s=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return r.__extends(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=void 0;try{e=(0,this.durationSelector)(t)}catch(t){return this.destination.error(t)}var n=Object(o.a)(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(i.a),c=n("T1DM"),l=n("gI3B");function f(t,e){return void 0===e&&(e=c.a),a(function(){return Object(l.a)(t,e)})}function h(t){return function(e){return e.lift(new d(t))}}var d=function(){function t(t){this.closingNotifier=t}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.closingNotifier))},t}(),p=function(t){function e(e,n){var r=t.call(this,e)||this;return r.buffer=[],r.add(Object(o.a)(r,n)),r}return r.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.buffer;this.buffer=[],this.destination.next(o)},e}(i.a),v=n("FFOo");function g(t,e){return void 0===e&&(e=null),function(n){return n.lift(new y(t,e))}}var y=function(){function t(t,e){this.bufferSize=t,this.startBufferEvery=e,this.subscriberClass=e&&t!==e?b:m}return t.prototype.call=function(t,e){return e.subscribe(new this.subscriberClass(t,this.bufferSize,this.startBufferEvery))},t}(),m=function(t){function e(e,n){var r=t.call(this,e)||this;return r.bufferSize=n,r.buffer=[],r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.buffer;e.push(t),e.length==this.bufferSize&&(this.destination.next(e),this.buffer=[])},e.prototype._complete=function(){var e=this.buffer;e.length>0&&this.destination.next(e),t.prototype._complete.call(this)},e}(v.a),b=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.bufferSize=n,i.startBufferEvery=r,i.buffers=[],i.count=0,i}return r.__extends(e,t),e.prototype._next=function(t){var e=this.bufferSize,n=this.startBufferEvery,r=this.buffers,i=this.count;this.count++,i%n==0&&r.push([]);for(var o=r.length;o--;){var a=r[o];a.push(t),a.length===e&&(r.splice(o,1),this.destination.next(a))}},e.prototype._complete=function(){for(var e=this.buffers,n=this.destination;e.length>0;){var r=e.shift();r.length>0&&n.next(r)}t.prototype._complete.call(this)},e}(v.a),x=n("nkY7");function w(t){var e=arguments.length,n=c.a;Object(x.a)(arguments[arguments.length-1])&&(n=arguments[arguments.length-1],e--);var r=null;e>=2&&(r=arguments[1]);var i=Number.POSITIVE_INFINITY;return e>=3&&(i=arguments[2]),function(e){return e.lift(new _(t,r,i,n))}}var _=function(){function t(t,e,n,r){this.bufferTimeSpan=t,this.bufferCreationInterval=e,this.maxBufferSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new k(t,this.bufferTimeSpan,this.bufferCreationInterval,this.maxBufferSize,this.scheduler))},t}(),S=function(){return function(){this.buffer=[]}}(),k=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;a.bufferTimeSpan=n,a.bufferCreationInterval=r,a.maxBufferSize=i,a.scheduler=o,a.contexts=[];var u=a.openContext();if(a.timespanOnly=null==r||r<0,a.timespanOnly){var s={subscriber:a,context:u,bufferTimeSpan:n};a.add(u.closeAction=o.schedule(E,n,s))}else{var c={subscriber:a,context:u},l={bufferTimeSpan:n,bufferCreationInterval:r,subscriber:a,scheduler:o};a.add(u.closeAction=o.schedule(C,n,c)),a.add(o.schedule(O,r,l))}return a}return r.__extends(e,t),e.prototype._next=function(t){for(var e,n=this.contexts,r=n.length,i=0;i<r;i++){var o=n[i],a=o.buffer;a.push(t),a.length==this.maxBufferSize&&(e=o)}e&&this.onBufferFull(e)},e.prototype._error=function(e){this.contexts.length=0,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts,n=this.destination;e.length>0;){var r=e.shift();n.next(r.buffer)}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.contexts=null},e.prototype.onBufferFull=function(t){this.closeContext(t);var e=t.closeAction;if(e.unsubscribe(),this.remove(e),!this.closed&&this.timespanOnly){t=this.openContext();var n=this.bufferTimeSpan,r={subscriber:this,context:t,bufferTimeSpan:n};this.add(t.closeAction=this.scheduler.schedule(E,n,r))}},e.prototype.openContext=function(){var t=new S;return this.contexts.push(t),t},e.prototype.closeContext=function(t){this.destination.next(t.buffer);var e=this.contexts;(e?e.indexOf(t):-1)>=0&&e.splice(e.indexOf(t),1)},e}(v.a);function E(t){var e=t.subscriber,n=t.context;n&&e.closeContext(n),e.closed||(t.context=e.openContext(),t.context.closeAction=this.schedule(t,t.bufferTimeSpan))}function O(t){var e=t.bufferCreationInterval,n=t.bufferTimeSpan,r=t.subscriber,i=t.scheduler,o=r.openContext();r.closed||(r.add(o.closeAction=i.schedule(C,n,{subscriber:r,context:o})),this.schedule(t,e))}function C(t){var e=t.subscriber,n=t.context;e.closeContext(n)}var A=n("pugT");function T(t,e){return function(n){return n.lift(new M(t,e))}}var M=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new P(t,this.openings,this.closingSelector))},t}(),P=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(Object(o.a)(i,n)),i}return r.__extends(e,t),e.prototype._next=function(t){for(var e=this.contexts,n=e.length,r=0;r<n;r++)e[r].buffer.push(t)},e.prototype._error=function(e){for(var n=this.contexts;n.length>0;){var r=n.shift();r.subscription.unsubscribe(),r.buffer=null,r.subscription=null}this.contexts=null,t.prototype._error.call(this,e)},e.prototype._complete=function(){for(var e=this.contexts;e.length>0;){var n=e.shift();this.destination.next(n.buffer),n.subscription.unsubscribe(),n.buffer=null,n.subscription=null}this.contexts=null,t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){t?this.closeBuffer(t):this.openBuffer(e)},e.prototype.notifyComplete=function(t){this.closeBuffer(t.context)},e.prototype.openBuffer=function(t){try{var e=this.closingSelector.call(this,t);e&&this.trySubscribe(e)}catch(t){this._error(t)}},e.prototype.closeBuffer=function(t){var e=this.contexts;if(e&&t){var n=t.buffer,r=t.subscription;this.destination.next(n),e.splice(e.indexOf(t),1),this.remove(r),r.unsubscribe()}},e.prototype.trySubscribe=function(t){var e=this.contexts,n=new A.a,r={buffer:[],subscription:n};e.push(r);var i=Object(o.a)(this,t,r);!i||i.closed?this.closeBuffer(r):(i.context=r,this.add(i),n.add(i))},e}(i.a);function j(t){return function(e){return e.lift(new D(t))}}var D=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new I(t,this.closingSelector))},t}(),I=function(t){function e(e,n){var r=t.call(this,e)||this;return r.closingSelector=n,r.subscribing=!1,r.openBuffer(),r}return r.__extends(e,t),e.prototype._next=function(t){this.buffer.push(t)},e.prototype._complete=function(){var e=this.buffer;e&&this.destination.next(e),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.buffer=null,this.subscribing=!1},e.prototype.notifyNext=function(t,e,n,r,i){this.openBuffer()},e.prototype.notifyComplete=function(){this.subscribing?this.complete():this.openBuffer()},e.prototype.openBuffer=function(){var t=this.closingSubscription;t&&(this.remove(t),t.unsubscribe());var e,n=this.buffer;this.buffer&&this.destination.next(n),this.buffer=[];try{e=(0,this.closingSelector)()}catch(t){return this.error(t)}t=new A.a,this.closingSubscription=t,this.add(t),this.subscribing=!0,t.add(Object(o.a)(this,e)),this.subscribing=!1},e}(i.a),N=n("9Z1F"),F=n("dzgT");function R(t){return function(e){return e.lift(new F.a(t))}}var L=n("isby"),B=n("0/uQ");function z(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(L.a)(t[0])&&(t=t[0].slice()),function(e){return e.lift.call(Object(B.a)([e].concat(t)),new F.a(n))}}var V=n("dEwP");function U(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(V.a.apply(void 0,[e].concat(t)))}}var H=n("Txjg"),W=n("psW0");function q(t,e){return Object(W.a)(t,e,1)}function G(t,e){return q(function(){return t},e)}function Y(t){return function(e){return e.lift(new X(t,e))}}var X=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new K(t,this.predicate,this.source))},t}(),K=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.count=0,i.index=0,i}return r.__extends(e,t),e.prototype._next=function(t){this.predicate?this._tryPredicate(t):this.count++},e.prototype._tryPredicate=function(t){var e;try{e=this.predicate(t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e&&this.count++},e.prototype._complete=function(){this.destination.next(this.count),this.destination.complete()},e}(v.a);function $(t){return function(e){return e.lift(new Z(t))}}var Z=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new J(t,this.durationSelector))},t}(),J=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r.durationSubscription=null,r}return r.__extends(e,t),e.prototype._next=function(t){try{var e=this.durationSelector.call(this,t);e&&this._tryNext(t,e)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.emitValue(),this.destination.complete()},e.prototype._tryNext=function(t,e){var n=this.durationSubscription;this.value=t,this.hasValue=!0,n&&(n.unsubscribe(),this.remove(n)),(n=Object(o.a)(this,e))&&!n.closed&&this.add(this.durationSubscription=n)},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){if(this.hasValue){var e=this.value,n=this.durationSubscription;n&&(this.durationSubscription=null,n.unsubscribe(),this.remove(n)),this.value=null,this.hasValue=!1,t.prototype._next.call(this,e)}},e}(i.a);function Q(t,e){return void 0===e&&(e=c.a),function(n){return n.lift(new tt(t,e))}}var tt=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new et(t,this.dueTime,this.scheduler))},t}(),et=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return r.__extends(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(nt,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(v.a);function nt(t){t.debouncedNext()}function rt(t){return void 0===t&&(t=null),function(e){return e.lift(new it(t))}}var it=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new ot(t,this.defaultValue))},t}(),ot=function(t){function e(e,n){var r=t.call(this,e)||this;return r.defaultValue=n,r.isEmpty=!0,r}return r.__extends(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(v.a);function at(t){return t instanceof Date&&!isNaN(+t)}var ut=n("60iU");function st(t,e){void 0===e&&(e=c.a);var n=at(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new ct(n,e))}}var ct=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new lt(t,this.delay,this.scheduler))},t}(),lt=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return r.__extends(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else this.unsubscribe(),e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.destination.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new ft(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(ut.a.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.scheduleNotification(ut.a.createComplete()),this.unsubscribe()},e}(v.a),ft=function(){return function(t,e){this.time=t,this.notification=e}}(),ht=n("6blF");function dt(t,e){return e?function(n){return new gt(n,e).lift(new pt(t))}:function(e){return e.lift(new pt(t))}}var pt=function(){function t(t){this.delayDurationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new vt(t,this.delayDurationSelector))},t}(),vt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.delayDurationSelector=n,r.completed=!1,r.delayNotifierSubscriptions=[],r.index=0,r}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(t),this.removeSubscription(i),this.tryComplete()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){var e=this.removeSubscription(t);e&&this.destination.next(e),this.tryComplete()},e.prototype._next=function(t){var e=this.index++;try{var n=this.delayDurationSelector(t,e);n&&this.tryDelay(n,t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.completed=!0,this.tryComplete(),this.unsubscribe()},e.prototype.removeSubscription=function(t){t.unsubscribe();var e=this.delayNotifierSubscriptions.indexOf(t);return-1!==e&&this.delayNotifierSubscriptions.splice(e,1),t.outerValue},e.prototype.tryDelay=function(t,e){var n=Object(o.a)(this,t,e);n&&!n.closed&&(this.destination.add(n),this.delayNotifierSubscriptions.push(n))},e.prototype.tryComplete=function(){this.completed&&0===this.delayNotifierSubscriptions.length&&this.destination.complete()},e}(i.a),gt=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subscriptionDelay=n,r}return r.__extends(e,t),e.prototype._subscribe=function(t){this.subscriptionDelay.subscribe(new yt(t,this.source))},e}(ht.a),yt=function(t){function e(e,n){var r=t.call(this)||this;return r.parent=e,r.source=n,r.sourceSubscribed=!1,r}return r.__extends(e,t),e.prototype._next=function(t){this.subscribeToSource()},e.prototype._error=function(t){this.unsubscribe(),this.parent.error(t)},e.prototype._complete=function(){this.unsubscribe(),this.subscribeToSource()},e.prototype.subscribeToSource=function(){this.sourceSubscribed||(this.sourceSubscribed=!0,this.unsubscribe(),this.source.subscribe(this.parent))},e}(v.a);function mt(){return function(t){return t.lift(new bt)}}var bt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new xt(t))},t}(),xt=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.prototype._next=function(t){t.observe(this.destination)},e}(v.a);function wt(t,e){return function(n){return n.lift(new _t(t,e))}}var _t=function(){function t(t,e){this.keySelector=t,this.flushes=e}return t.prototype.call=function(t,e){return e.subscribe(new St(t,this.keySelector,this.flushes))},t}(),St=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=n,i.values=new Set,r&&i.add(Object(o.a)(i,r)),i}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values.clear()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype._next=function(t){this.keySelector?this._useKeySelector(t):this._finalizeNext(t,t)},e.prototype._useKeySelector=function(t){var e,n=this.destination;try{e=this.keySelector(t)}catch(t){return void n.error(t)}this._finalizeNext(e,t)},e.prototype._finalizeNext=function(t,e){var n=this.values;n.has(t)||(n.add(t),this.destination.next(e))},e}(i.a);function kt(t,e){return function(n){return n.lift(new Et(t,e))}}var Et=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Ot(t,this.compare,this.keySelector))},t}(),Ot=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return r.__extends(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(t){return this.destination.error(t)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(t){return this.destination.error(t)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))},e}(v.a);function Ct(t,e){return kt(function(n,r){return e?e(n[t],r[t]):n[t]===r[t]})}var At=n("b7mW"),Tt=n("VnD/"),Mt=n("xMyE"),Pt=n("3fWJ"),jt=function(t){return void 0===t&&(t=Dt),Object(Mt.a)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function Dt(){return new Pt.a}var It=n("G5J1");function Nt(t){return function(e){return 0===t?Object(It.b)():e.lift(new Ft(t))}}var Ft=function(){function t(t){if(this.total=t,this.total<0)throw new At.a}return t.prototype.call=function(t,e){return e.subscribe(new Rt(t,this.total))},t}(),Rt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(v.a);function Lt(t,e){if(t<0)throw new At.a;var n=arguments.length>=2;return function(r){return r.pipe(Object(Tt.a)(function(e,n){return n===t}),Nt(1),n?rt(e):jt(function(){return new At.a}))}}var Bt=n("IUTb"),zt=n("PU8L");function Vt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];Object(x.a)(n)?t.pop():n=null;var r=t.length;return 1!==r||n?r>0?Object(V.a)(e,Object(Bt.a)(t,n)):Object(V.a)(e,Object(It.b)(n)):Object(V.a)(e,Object(zt.a)(t[0]))}}function Ut(t,e){return function(n){return n.lift(new Ht(t,e,n))}}var Ht=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new Wt(t,this.predicate,this.thisArg,this.source))},t}(),Wt=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return r.__extends(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(v.a);function qt(){return function(t){return t.lift(new Gt)}}var Gt=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Yt(t))},t}(),Yt=function(t){function e(e){var n=t.call(this,e)||this;return n.hasCompleted=!1,n.hasSubscription=!1,n}return r.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||(this.hasSubscription=!0,this.add(Object(o.a)(this,t)))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.a),Xt=n("rPjj"),Kt=n("67Y/");function $t(t,e){return e?function(n){return n.pipe($t(function(n,r){return Object(B.a)(t(n,r)).pipe(Object(Kt.a)(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new Zt(t))}}var Zt=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Jt(t,this.project))},t}(),Jt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.hasSubscription=!1,r.hasCompleted=!1,r.index=0,r}return r.__extends(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new Xt.a(this,void 0,void 0);this.destination.add(r),Object(o.a)(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(i.a);function Qt(t,e,n){return void 0===e&&(e=Number.POSITIVE_INFINITY),void 0===n&&(n=void 0),e=(e||0)<1?Number.POSITIVE_INFINITY:e,function(r){return r.lift(new te(t,e,n))}}var te=function(){function t(t,e,n){this.project=t,this.concurrent=e,this.scheduler=n}return t.prototype.call=function(t,e){return e.subscribe(new ee(t,this.project,this.concurrent,this.scheduler))},t}(),ee=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.project=n,o.concurrent=r,o.scheduler=i,o.index=0,o.active=0,o.hasCompleted=!1,r<Number.POSITIVE_INFINITY&&(o.buffer=[]),o}return r.__extends(e,t),e.dispatch=function(t){var e=t.subscriber,n=t.result,r=t.value,i=t.index;e.subscribeToProjection(n,r,i)},e.prototype._next=function(t){var n=this.destination;if(n.closed)this._complete();else{var r=this.index++;if(this.active<this.concurrent){n.next(t);try{var i=(0,this.project)(t,r);if(this.scheduler){var o={subscriber:this,result:i,value:t,index:r};this.destination.add(this.scheduler.schedule(e.dispatch,0,o))}else this.subscribeToProjection(i,t,r)}catch(t){n.error(t)}}else this.buffer.push(t)}},e.prototype.subscribeToProjection=function(t,e,n){this.active++,this.destination.add(Object(o.a)(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,this.hasCompleted&&0===this.active&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this._next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e&&e.length>0&&this._next(e.shift()),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(i.a),ne=n("2WpN");function re(t,e){if("function"!=typeof t)throw new TypeError("predicate is not a function");return function(n){return n.lift(new ie(t,n,!1,e))}}var ie=function(){function t(t,e,n,r){this.predicate=t,this.source=e,this.yieldIndex=n,this.thisArg=r}return t.prototype.call=function(t,e){return e.subscribe(new oe(t,this.predicate,this.source,this.yieldIndex,this.thisArg))},t}(),oe=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.predicate=n,a.source=r,a.yieldIndex=i,a.thisArg=o,a.index=0,a}return r.__extends(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete(),this.unsubscribe()},e.prototype._next=function(t){var e=this.predicate,n=this.thisArg,r=this.index++;try{e.call(n||this,t,r,this.source)&&this.notifyComplete(this.yieldIndex?r:t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){this.notifyComplete(this.yieldIndex?-1:void 0)},e}(v.a);function ae(t,e){return function(n){return n.lift(new ie(t,n,!0,e))}}var ue=n("mChF");function se(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(Tt.a)(function(e,n){return t(e,n,r)}):ue.a,Nt(1),n?rt(e):jt(function(){return new Pt.a}))}}var ce=n("IxPp");function le(){return function(t){return t.lift(new fe)}}var fe=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new he(t))},t}(),he=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e.prototype._next=function(t){},e}(v.a);function de(){return function(t){return t.lift(new pe)}}var pe=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new ve(t))},t}(),ve=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.prototype.notifyComplete=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype._next=function(t){this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(v.a);function ge(t){return function(e){return 0===t?Object(It.b)():e.lift(new ye(t))}}var ye=function(){function t(t){if(this.total=t,this.total<0)throw new At.a}return t.prototype.call=function(t,e){return e.subscribe(new me(t,this.total))},t}(),me=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},e}(v.a);function be(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(Tt.a)(function(e,n){return t(e,n,r)}):ue.a,ge(1),n?rt(e):jt(function(){return new Pt.a}))}}var xe=n("aGNc");function we(){return function(t){return t.lift(new _e)}}var _e=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new Se(t))},t}(),Se=function(t){function e(e){return t.call(this,e)||this}return r.__extends(e,t),e.prototype._next=function(t){this.destination.next(ut.a.createNext(t))},e.prototype._error=function(t){var e=this.destination;e.next(ut.a.createError(t)),e.complete()},e.prototype._complete=function(){var t=this.destination;t.next(ut.a.createComplete()),t.complete()},e}(v.a);function ke(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Ee(t,e,n))}}var Ee=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new Oe(t,this.accumulator,this.seed,this.hasSeed))},t}(),Oe=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return r.__extends(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(v.a),Ce=n("y3By");function Ae(t,e){return arguments.length>=2?function(n){return Object(Ce.a)(ke(t,e),ge(1),rt(e))(n)}:function(e){return Object(Ce.a)(ke(function(e,n,r){return t(e,n,r+1)}),ge(1))(e)}}function Te(t){return Ae("function"==typeof t?function(e,n){return t(e,n)>0?e:n}:function(t,e){return t>e?t:e})}var Me=n("p0ib");function Pe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Me.a.apply(void 0,[e].concat(t)))}}var je=n("Zn8D");function De(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?Object(W.a)(function(){return t},e,n):("number"==typeof e&&(n=e),Object(W.a)(function(){return t},n))}function Ie(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return r.lift(new Ne(t,e,n))}}var Ne=function(){function t(t,e,n){this.accumulator=t,this.seed=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new Fe(t,this.accumulator,this.seed,this.concurrent))},t}(),Fe=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o.acc=r,o.concurrent=i,o.hasValue=!1,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.__extends(e,t),e.prototype._next=function(t){if(this.active<this.concurrent){var e=this.index++,n=this.destination,r=void 0;try{r=(0,this.accumulator)(this.acc,t,e)}catch(t){return n.error(t)}this.active++,this._innerSub(r,t,e)}else this.buffer.push(t)},e.prototype._innerSub=function(t,e,n){var r=new Xt.a(this,void 0,void 0);this.destination.add(r),Object(o.a)(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete()),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.destination;this.acc=e,this.hasValue=!0,o.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.destination.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&(!1===this.hasValue&&this.destination.next(this.acc),this.destination.complete())},e}(i.a);function Re(t){return Ae("function"==typeof t?function(e,n){return t(e,n)<0?e:n}:function(t,e){return t<e?t:e})}var Le=n("xlPZ"),Be=n("mZXl");function ze(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length&&Object(L.a)(t[0])&&(t=t[0]),function(e){return e.lift(new Ve(t))}}var Ve=function(){function t(t){this.nextSources=t}return t.prototype.call=function(t,e){return e.subscribe(new Ue(t,this.nextSources))},t}(),Ue=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.nextSources=n,r}return r.__extends(e,t),e.prototype.notifyError=function(t,e){this.subscribeToNextSource()},e.prototype.notifyComplete=function(t){this.subscribeToNextSource()},e.prototype._error=function(t){this.subscribeToNextSource(),this.unsubscribe()},e.prototype._complete=function(){this.subscribeToNextSource(),this.unsubscribe()},e.prototype.subscribeToNextSource=function(){var t=this.nextSources.shift();if(t){var e=new Xt.a(this,void 0,void 0);this.destination.add(e),Object(o.a)(this,t,void 0,void 0,e)}else this.destination.complete()},e}(i.a);function He(){return function(t){return t.lift(new We)}}var We=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new qe(t))},t}(),qe=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return r.__extends(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(v.a);function Ge(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}function Ye(t,e){return function(n){return[Object(Tt.a)(t,e)(n),Object(Tt.a)(Ge(t,e))(n)]}}function Xe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t.length;if(0===n)throw new Error("list of properties cannot be empty.");return function(e){return Object(Kt.a)(function(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=r[t[i]];if(void 0===o)return;r=o}return r}}(t,n))(e)}}var Ke=n("K9Ia");function $e(t){return t?Object(Le.a)(function(){return new Ke.b},t):Object(Le.a)(new Ke.b)}var Ze=n("26FU");function Je(t){return function(e){return Object(Le.a)(new Ze.a(t))(e)}}var Qe=n("svcd");function tn(){return function(t){return Object(Le.a)(new Qe.a)(t)}}var en=n("S5bw");function nn(t,e,n,r){n&&"function"!=typeof n&&(r=n);var i="function"==typeof n?n:void 0,o=new en.a(t,e,r);return function(t){return Object(Le.a)(function(){return o},i)(t)}}var rn=n("W0Ae");function on(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return 1===t.length&&Object(L.a)(t[0])&&(t=t[0]),e.lift.call(rn.a.apply(void 0,[e].concat(t)))}}function an(t){return void 0===t&&(t=-1),function(e){return 0===t?Object(It.b)():t<0?e.lift(new un(-1,e)):e.lift(new un(t-1,e))}}var un=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new sn(t,this.count,this.source))},t}(),sn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.__extends(e,t),e.prototype.complete=function(){if(!this.isStopped){var e=this.source,n=this.count;if(0===n)return t.prototype.complete.call(this);n>-1&&(this.count=n-1),e.subscribe(this._unsubscribeAndRecycle())}},e}(v.a);function cn(t){return function(e){return e.lift(new ln(t))}}var ln=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new fn(t,this.notifier,e))},t}(),fn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i.sourceIsBeingSubscribedTo=!0,i}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this.notifications,e=this.retriesSubscription;t&&(t.unsubscribe(),this.notifications=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this._unsubscribe;return this._unsubscribe=null,t.prototype._unsubscribeAndRecycle.call(this),this._unsubscribe=e,this},e.prototype.subscribeToRetries=function(){var e;this.notifications=new Ke.b;try{e=(0,this.notifier)(this.notifications)}catch(e){return t.prototype.complete.call(this)}this.retries=e,this.retriesSubscription=Object(o.a)(this,e)},e}(i.a);function hn(t){return void 0===t&&(t=-1),function(e){return e.lift(new dn(t,e))}}var dn=function(){function t(t,e){this.count=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new pn(t,this.count,this.source))},t}(),pn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.count=n,i.source=r,i}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.source,r=this.count;if(0===r)return t.prototype.error.call(this,e);r>-1&&(this.count=r-1),n.subscribe(this._unsubscribeAndRecycle())}},e}(v.a);function vn(t){return function(e){return e.lift(new gn(t,e))}}var gn=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new yn(t,this.notifier,this.source))},t}(),yn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.notifier=n,i.source=r,i}return r.__extends(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=this.errors,r=this.retries,i=this.retriesSubscription;if(r)this.errors=null,this.retriesSubscription=null;else{n=new Ke.b;try{r=(0,this.notifier)(n)}catch(e){return t.prototype.error.call(this,e)}i=Object(o.a)(this,r)}this._unsubscribeAndRecycle(),this.errors=n,this.retries=r,this.retriesSubscription=i,n.next(e)}},e.prototype._unsubscribe=function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,n,r,i){var o=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=o,this.source.subscribe(this)},e}(i.a),mn=n("yGWI");function bn(t){return function(e){return e.lift(new xn(t))}}var xn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new wn(t),r=e.subscribe(n);return r.add(Object(o.a)(n,this.notifier)),r},t}(),wn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return r.__extends(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,i){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}(i.a);function _n(t,e){return void 0===e&&(e=c.a),function(n){return n.lift(new Sn(t,e))}}var Sn=function(){function t(t,e){this.period=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new kn(t,this.period,this.scheduler))},t}(),kn=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.period=n,i.scheduler=r,i.hasValue=!1,i.add(r.schedule(En,n,{subscriber:i,period:n})),i}return r.__extends(e,t),e.prototype._next=function(t){this.lastValue=t,this.hasValue=!0},e.prototype.notifyNext=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.lastValue))},e}(v.a);function En(t){var e=t.subscriber,n=t.period;e.notifyNext(),this.schedule(t,n)}function On(t,e){return function(n){return n.lift(new Cn(t,e))}}var Cn=function(){function t(t,e){this.compareTo=t,this.comparator=e}return t.prototype.call=function(t,e){return e.subscribe(new An(t,this.compareTo,this.comparator))},t}(),An=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.compareTo=n,i.comparator=r,i._a=[],i._b=[],i._oneComplete=!1,i.destination.add(n.subscribe(new Tn(e,i))),i}return r.__extends(e,t),e.prototype._next=function(t){this._oneComplete&&0===this._b.length?this.emit(!1):(this._a.push(t),this.checkValues())},e.prototype._complete=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0,this.unsubscribe()},e.prototype.checkValues=function(){for(var t=this._a,e=this._b,n=this.comparator;t.length>0&&e.length>0;){var r=t.shift(),i=e.shift(),o=!1;try{o=n?n(r,i):r===i}catch(t){this.destination.error(t)}o||this.emit(!1)}},e.prototype.emit=function(t){var e=this.destination;e.next(t),e.complete()},e.prototype.nextB=function(t){this._oneComplete&&0===this._a.length?this.emit(!1):(this._b.push(t),this.checkValues())},e.prototype.completeB=function(){this._oneComplete?this.emit(0===this._a.length&&0===this._b.length):this._oneComplete=!0},e}(v.a),Tn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.parent=n,r}return r.__extends(e,t),e.prototype._next=function(t){this.parent.nextB(t)},e.prototype._error=function(t){this.parent.error(t),this.unsubscribe()},e.prototype._complete=function(){this.parent.completeB(),this.unsubscribe()},e}(v.a),Mn=n("S1nX");function Pn(t,e,n){var r;return r=t&&"object"==typeof t?t:{bufferSize:t,windowTime:e,refCount:!1,scheduler:n},function(t){return t.lift((o=(e=r).bufferSize,a=void 0===o?Number.POSITIVE_INFINITY:o,u=e.windowTime,s=void 0===u?Number.POSITIVE_INFINITY:u,c=e.refCount,l=e.scheduler,f=0,h=!1,d=!1,function(t){f++,n&&!h||(h=!1,n=new en.a(a,s,l),i=t.subscribe({next:function(t){n.next(t)},error:function(t){h=!0,n.error(t)},complete:function(){d=!0,n.complete()}}));var e=n.subscribe(this);this.add(function(){f--,e.unsubscribe(),i&&!d&&c&&0===f&&(i.unsubscribe(),i=void 0,n=void 0)})}));var e,n,i,o,a,u,s,c,l,f,h,d}}function jn(t){return function(e){return e.lift(new Dn(t,e))}}var Dn=function(){function t(t,e){this.predicate=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new In(t,this.predicate,this.source))},t}(),In=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.source=r,i.seenValue=!1,i.index=0,i}return r.__extends(e,t),e.prototype.applySingleValue=function(t){this.seenValue?this.destination.error("Sequence contains more than one element"):(this.seenValue=!0,this.singleValue=t)},e.prototype._next=function(t){var e=this.index++;this.predicate?this.tryNext(t,e):this.applySingleValue(t)},e.prototype.tryNext=function(t,e){try{this.predicate(t,e,this.source)&&this.applySingleValue(t)}catch(t){this.destination.error(t)}},e.prototype._complete=function(){var t=this.destination;this.index>0?(t.next(this.seenValue?this.singleValue:void 0),t.complete()):t.error(new Pt.a)},e}(v.a);function Nn(t){return function(e){return e.lift(new Fn(t))}}var Fn=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new Rn(t,this.total))},t}(),Rn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return r.__extends(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(v.a);function Ln(t){return function(e){return e.lift(new Bn(t))}}var Bn=function(){function t(t){if(this._skipCount=t,this._skipCount<0)throw new At.a}return t.prototype.call=function(t,e){return 0===this._skipCount?e.subscribe(new v.a(t)):e.subscribe(new zn(t,this._skipCount))},t}(),zn=function(t){function e(e,n){var r=t.call(this,e)||this;return r._skipCount=n,r._count=0,r._ring=new Array(n),r}return r.__extends(e,t),e.prototype._next=function(t){var e=this._skipCount,n=this._count++;if(n<e)this._ring[n]=t;else{var r=n%e,i=this._ring,o=i[r];i[r]=t,this.destination.next(o)}},e}(v.a);function Vn(t){return function(e){return e.lift(new Un(t))}}var Un=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new Hn(t,this.notifier))},t}(),Hn=function(t){function e(e,n){var r=t.call(this,e)||this;r.hasValue=!1;var i=new Xt.a(r,void 0,void 0);return r.add(i),r.innerSubscription=i,Object(o.a)(r,n,void 0,void 0,i),r}return r.__extends(e,t),e.prototype._next=function(e){this.hasValue&&t.prototype._next.call(this,e)},e.prototype.notifyNext=function(t,e,n,r,i){this.hasValue=!0,this.innerSubscription&&this.innerSubscription.unsubscribe()},e.prototype.notifyComplete=function(){},e}(i.a);function Wn(t){return function(e){return e.lift(new qn(t))}}var qn=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new Gn(t,this.predicate))},t}(),Gn=function(t){function e(e,n){var r=t.call(this,e)||this;return r.predicate=n,r.skipping=!0,r.index=0,r}return r.__extends(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(v.a);function Yn(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];Object(x.a)(n)?t.pop():n=null;var r=t.length;return 1!==r||n?r>0?Object(V.a)(Object(Bt.a)(t,n),e):Object(V.a)(Object(It.b)(n),e):Object(V.a)(Object(zt.a)(t[0]),e)}}var Xn=n("KQya"),Kn=n("/21U"),$n=function(t){function e(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Xn.a);var i=t.call(this)||this;return i.source=e,i.delayTime=n,i.scheduler=r,(!Object(Kn.a)(n)||n<0)&&(i.delayTime=0),r&&"function"==typeof r.schedule||(i.scheduler=Xn.a),i}return r.__extends(e,t),e.create=function(t,n,r){return void 0===n&&(n=0),void 0===r&&(r=Xn.a),new e(t,n,r)},e.dispatch=function(t){var e=t.source,n=t.subscriber;return this.add(e.subscribe(n))},e.prototype._subscribe=function(t){var n=this.delayTime,r=this.source;return this.scheduler.schedule(e.dispatch,n,{source:r,subscriber:t})},e}(ht.a);function Zn(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Jn(t,e))}}var Jn=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new $n(e,this.delay,this.scheduler).subscribe(t)},t}(),Qn=n("15JJ");function tr(){return Object(Qn.a)(ue.a)}function er(t,e){return e?Object(Qn.a)(function(){return t},e):Object(Qn.a)(function(){return t})}var nr=n("ny24");function rr(t,e){return void 0===e&&(e=!1),function(n){return n.lift(new ir(t,e))}}var ir=function(){function t(t,e){this.predicate=t,this.inclusive=e}return t.prototype.call=function(t,e){return e.subscribe(new or(t,this.predicate,this.inclusive))},t}(),or=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.predicate=n,i.inclusive=r,i.index=0,i}return r.__extends(e,t),e.prototype._next=function(t){var e,n=this.destination;try{e=this.predicate(t,this.index++)}catch(t){return void n.error(t)}this.nextOrComplete(t,e)},e.prototype.nextOrComplete=function(t,e){var n=this.destination;Boolean(e)?n.next(t):(this.inclusive&&n.next(t),n.complete())},e}(v.a),ar=n("+gEr"),ur=n("AJqF"),sr=n("lYZG");function cr(t){return void 0===t&&(t=c.a),function(e){return Object(sr.a)(function(){return e.pipe(ke(function(e,n){var r=e.current;return{value:n,current:t.now(),last:r}},{current:t.now(),value:void 0,last:void 0}),Object(Kt.a)(function(t){var e=t.current,n=t.last,r=t.value;return new lr(r,e-n)}))})}}var lr=function(){return function(t,e){this.value=t,this.interval=e}}(),fr=n("3U0i");function hr(t,e,n){return void 0===n&&(n=c.a),function(r){var i=at(t),o=i?+t-n.now():Math.abs(t);return r.lift(new dr(o,i,e,n))}}var dr=function(){function t(t,e,n,r){this.waitFor=t,this.absoluteTimeout=e,this.withObservable=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new pr(t,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))},t}(),pr=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;return a.absoluteTimeout=n,a.waitFor=r,a.withObservable=i,a.scheduler=o,a.action=null,a.scheduleTimeout(),a}return r.__extends(e,t),e.dispatchTimeout=function(t){var e=t.withObservable;t._unsubscribeAndRecycle(),t.add(Object(o.a)(t,e))},e.prototype.scheduleTimeout=function(){var t=this.action;t?this.action=t.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(e.dispatchTimeout,this.waitFor,this))},e.prototype._next=function(e){this.absoluteTimeout||this.scheduleTimeout(),t.prototype._next.call(this,e)},e.prototype._unsubscribe=function(){this.action=null,this.scheduler=null,this.withObservable=null},e}(i.a),vr=n("XlPw");function gr(t,e){return void 0===e&&(e=c.a),hr(t,Object(vr.a)(new fr.a),e)}function yr(t){return void 0===t&&(t=c.a),Object(Kt.a)(function(e){return new mr(e,t.now())})}var mr=function(){return function(t,e){this.value=t,this.timestamp=e}}();function br(t,e,n){return 0===n?[e]:(t.push(e),t)}function xr(){return Ae(br,[])}function wr(t){return function(e){return e.lift(new _r(t))}}var _r=function(){function t(t){this.windowBoundaries=t}return t.prototype.call=function(t,e){var n=new Sr(t),r=e.subscribe(n);return r.closed||n.add(Object(o.a)(n,this.windowBoundaries)),r},t}(),Sr=function(t){function e(e){var n=t.call(this,e)||this;return n.window=new Ke.b,e.next(n.window),n}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow()},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this._complete()},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t)},e.prototype._complete=function(){this.window.complete(),this.destination.complete()},e.prototype._unsubscribe=function(){this.window=null},e.prototype.openWindow=function(){var t=this.window;t&&t.complete();var e=this.destination,n=this.window=new Ke.b;e.next(n)},e}(i.a);function kr(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Er(t,e))}}var Er=function(){function t(t,e){this.windowSize=t,this.startWindowEvery=e}return t.prototype.call=function(t,e){return e.subscribe(new Or(t,this.windowSize,this.startWindowEvery))},t}(),Or=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.destination=e,i.windowSize=n,i.startWindowEvery=r,i.windows=[new Ke.b],i.count=0,e.next(i.windows[0]),i}return r.__extends(e,t),e.prototype._next=function(t){for(var e=this.startWindowEvery>0?this.startWindowEvery:this.windowSize,n=this.destination,r=this.windowSize,i=this.windows,o=i.length,a=0;a<o&&!this.closed;a++)i[a].next(t);var u=this.count-r+1;if(u>=0&&u%e==0&&!this.closed&&i.shift().complete(),++this.count%e==0&&!this.closed){var s=new Ke.b;i.push(s),n.next(s)}},e.prototype._error=function(t){var e=this.windows;if(e)for(;e.length>0&&!this.closed;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){var t=this.windows;if(t)for(;t.length>0&&!this.closed;)t.shift().complete();this.destination.complete()},e.prototype._unsubscribe=function(){this.count=0,this.windows=null},e}(v.a);function Cr(t){var e=c.a,n=null,r=Number.POSITIVE_INFINITY;return Object(x.a)(arguments[3])&&(e=arguments[3]),Object(x.a)(arguments[2])?e=arguments[2]:Object(Kn.a)(arguments[2])&&(r=arguments[2]),Object(x.a)(arguments[1])?e=arguments[1]:Object(Kn.a)(arguments[1])&&(n=arguments[1]),function(i){return i.lift(new Ar(t,n,r,e))}}var Ar=function(){function t(t,e,n,r){this.windowTimeSpan=t,this.windowCreationInterval=e,this.maxWindowSize=n,this.scheduler=r}return t.prototype.call=function(t,e){return e.subscribe(new Mr(t,this.windowTimeSpan,this.windowCreationInterval,this.maxWindowSize,this.scheduler))},t}(),Tr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._numberOfNextedValues=0,e}return r.__extends(e,t),e.prototype.next=function(e){this._numberOfNextedValues++,t.prototype.next.call(this,e)},Object.defineProperty(e.prototype,"numberOfNextedValues",{get:function(){return this._numberOfNextedValues},enumerable:!0,configurable:!0}),e}(Ke.b),Mr=function(t){function e(e,n,r,i,o){var a=t.call(this,e)||this;a.destination=e,a.windowTimeSpan=n,a.windowCreationInterval=r,a.maxWindowSize=i,a.scheduler=o,a.windows=[];var u=a.openWindow();if(null!==r&&r>=0){var s={subscriber:a,window:u,context:null},c={windowTimeSpan:n,windowCreationInterval:r,subscriber:a,scheduler:o};a.add(o.schedule(Dr,n,s)),a.add(o.schedule(jr,r,c))}else{var l={subscriber:a,window:u,windowTimeSpan:n};a.add(o.schedule(Pr,n,l))}return a}return r.__extends(e,t),e.prototype._next=function(t){for(var e=this.windows,n=e.length,r=0;r<n;r++){var i=e[r];i.closed||(i.next(t),i.numberOfNextedValues>=this.maxWindowSize&&this.closeWindow(i))}},e.prototype._error=function(t){for(var e=this.windows;e.length>0;)e.shift().error(t);this.destination.error(t)},e.prototype._complete=function(){for(var t=this.windows;t.length>0;){var e=t.shift();e.closed||e.complete()}this.destination.complete()},e.prototype.openWindow=function(){var t=new Tr;return this.windows.push(t),this.destination.next(t),t},e.prototype.closeWindow=function(t){t.complete();var e=this.windows;e.splice(e.indexOf(t),1)},e}(v.a);function Pr(t){var e=t.subscriber,n=t.windowTimeSpan,r=t.window;r&&e.closeWindow(r),t.window=e.openWindow(),this.schedule(t,n)}function jr(t){var e=t.windowTimeSpan,n=t.subscriber,r=t.scheduler,i=t.windowCreationInterval,o=n.openWindow(),a={action:this,subscription:null},u={subscriber:n,window:o,context:a};a.subscription=r.schedule(Dr,e,u),this.add(a.subscription),this.schedule(t,i)}function Dr(t){var e=t.subscriber,n=t.window,r=t.context;r&&r.action&&r.subscription&&r.action.remove(r.subscription),e.closeWindow(n)}function Ir(t,e){return function(n){return n.lift(new Nr(t,e))}}var Nr=function(){function t(t,e){this.openings=t,this.closingSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Fr(t,this.openings,this.closingSelector))},t}(),Fr=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.openings=n,i.closingSelector=r,i.contexts=[],i.add(i.openSubscription=Object(o.a)(i,n,n)),i}return r.__extends(e,t),e.prototype._next=function(t){var e=this.contexts;if(e)for(var n=e.length,r=0;r<n;r++)e[r].window.next(t)},e.prototype._error=function(e){var n=this.contexts;if(this.contexts=null,n)for(var r=n.length,i=-1;++i<r;){var o=n[i];o.window.error(e),o.subscription.unsubscribe()}t.prototype._error.call(this,e)},e.prototype._complete=function(){var e=this.contexts;if(this.contexts=null,e)for(var n=e.length,r=-1;++r<n;){var i=e[r];i.window.complete(),i.subscription.unsubscribe()}t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.contexts;if(this.contexts=null,t)for(var e=t.length,n=-1;++n<e;){var r=t[n];r.window.unsubscribe(),r.subscription.unsubscribe()}},e.prototype.notifyNext=function(t,e,n,r,i){if(t===this.openings){var a=void 0;try{a=(0,this.closingSelector)(e)}catch(t){return this.error(t)}var u=new Ke.b,s=new A.a,c={window:u,subscription:s};this.contexts.push(c);var l=Object(o.a)(this,a,c);l.closed?this.closeWindow(this.contexts.length-1):(l.context=c,s.add(l)),this.destination.next(u)}else this.closeWindow(this.contexts.indexOf(t))},e.prototype.notifyError=function(t){this.error(t)},e.prototype.notifyComplete=function(t){t!==this.openSubscription&&this.closeWindow(this.contexts.indexOf(t.context))},e.prototype.closeWindow=function(t){if(-1!==t){var e=this.contexts,n=e[t],r=n.window,i=n.subscription;e.splice(t,1),r.complete(),i.unsubscribe()}},e}(i.a);function Rr(t){return function(e){return e.lift(new Lr(t))}}var Lr=function(){function t(t){this.closingSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new Br(t,this.closingSelector))},t}(),Br=function(t){function e(e,n){var r=t.call(this,e)||this;return r.destination=e,r.closingSelector=n,r.openWindow(),r}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.openWindow(i)},e.prototype.notifyError=function(t,e){this._error(t)},e.prototype.notifyComplete=function(t){this.openWindow(t)},e.prototype._next=function(t){this.window.next(t)},e.prototype._error=function(t){this.window.error(t),this.destination.error(t),this.unsubscribeClosingNotification()},e.prototype._complete=function(){this.window.complete(),this.destination.complete(),this.unsubscribeClosingNotification()},e.prototype.unsubscribeClosingNotification=function(){this.closingNotification&&this.closingNotification.unsubscribe()},e.prototype.openWindow=function(t){void 0===t&&(t=null),t&&(this.remove(t),t.unsubscribe());var e=this.window;e&&e.complete();var n,r=this.window=new Ke.b;this.destination.next(r);try{n=(0,this.closingSelector)()}catch(t){return this.destination.error(t),void this.window.error(t)}this.add(this.closingNotification=Object(o.a)(this,n))},e}(i.a);function zr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var r=t;return e.lift(new Vr(r,n))}}var Vr=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new Ur(t,this.observables,this.project))},t}(),Ur=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var a=n.length;i.values=new Array(a);for(var u=0;u<a;u++)i.toRespond.push(u);for(u=0;u<a;u++){var s=n[u];i.add(Object(o.a)(i,s,s,u))}return i}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e;var o=this.toRespond;if(o.length>0){var a=o.indexOf(n);-1!==a&&o.splice(a,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.a),Hr=n("909l");function Wr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){return e.lift.call(Hr.b.apply(void 0,[e].concat(t)))}}function qr(t){return function(e){return e.lift(new Hr.a(t))}}n.d(e,"audit",function(){return a}),n.d(e,"auditTime",function(){return f}),n.d(e,"buffer",function(){return h}),n.d(e,"bufferCount",function(){return g}),n.d(e,"bufferTime",function(){return w}),n.d(e,"bufferToggle",function(){return T}),n.d(e,"bufferWhen",function(){return j}),n.d(e,"catchError",function(){return N.a}),n.d(e,"combineAll",function(){return R}),n.d(e,"combineLatest",function(){return z}),n.d(e,"concat",function(){return U}),n.d(e,"concatAll",function(){return H.a}),n.d(e,"concatMap",function(){return q}),n.d(e,"concatMapTo",function(){return G}),n.d(e,"count",function(){return Y}),n.d(e,"debounce",function(){return $}),n.d(e,"debounceTime",function(){return Q}),n.d(e,"defaultIfEmpty",function(){return rt}),n.d(e,"delay",function(){return st}),n.d(e,"delayWhen",function(){return dt}),n.d(e,"dematerialize",function(){return mt}),n.d(e,"distinct",function(){return wt}),n.d(e,"distinctUntilChanged",function(){return kt}),n.d(e,"distinctUntilKeyChanged",function(){return Ct}),n.d(e,"elementAt",function(){return Lt}),n.d(e,"endWith",function(){return Vt}),n.d(e,"every",function(){return Ut}),n.d(e,"exhaust",function(){return qt}),n.d(e,"exhaustMap",function(){return $t}),n.d(e,"expand",function(){return Qt}),n.d(e,"filter",function(){return Tt.a}),n.d(e,"finalize",function(){return ne.a}),n.d(e,"find",function(){return re}),n.d(e,"findIndex",function(){return ae}),n.d(e,"first",function(){return se}),n.d(e,"groupBy",function(){return ce.b}),n.d(e,"ignoreElements",function(){return le}),n.d(e,"isEmpty",function(){return de}),n.d(e,"last",function(){return be}),n.d(e,"map",function(){return Kt.a}),n.d(e,"mapTo",function(){return xe.a}),n.d(e,"materialize",function(){return we}),n.d(e,"max",function(){return Te}),n.d(e,"merge",function(){return Pe}),n.d(e,"mergeAll",function(){return je.a}),n.d(e,"mergeMap",function(){return W.a}),n.d(e,"flatMap",function(){return W.a}),n.d(e,"mergeMapTo",function(){return De}),n.d(e,"mergeScan",function(){return Ie}),n.d(e,"min",function(){return Re}),n.d(e,"multicast",function(){return Le.a}),n.d(e,"observeOn",function(){return Be.b}),n.d(e,"onErrorResumeNext",function(){return ze}),n.d(e,"pairwise",function(){return He}),n.d(e,"partition",function(){return Ye}),n.d(e,"pluck",function(){return Xe}),n.d(e,"publish",function(){return $e}),n.d(e,"publishBehavior",function(){return Je}),n.d(e,"publishLast",function(){return tn}),n.d(e,"publishReplay",function(){return nn}),n.d(e,"race",function(){return on}),n.d(e,"reduce",function(){return Ae}),n.d(e,"repeat",function(){return an}),n.d(e,"repeatWhen",function(){return cn}),n.d(e,"retry",function(){return hn}),n.d(e,"retryWhen",function(){return vn}),n.d(e,"refCount",function(){return mn.a}),n.d(e,"sample",function(){return bn}),n.d(e,"sampleTime",function(){return _n}),n.d(e,"scan",function(){return ke}),n.d(e,"sequenceEqual",function(){return On}),n.d(e,"share",function(){return Mn.a}),n.d(e,"shareReplay",function(){return Pn}),n.d(e,"single",function(){return jn}),n.d(e,"skip",function(){return Nn}),n.d(e,"skipLast",function(){return Ln}),n.d(e,"skipUntil",function(){return Vn}),n.d(e,"skipWhile",function(){return Wn}),n.d(e,"startWith",function(){return Yn}),n.d(e,"subscribeOn",function(){return Zn}),n.d(e,"switchAll",function(){return tr}),n.d(e,"switchMap",function(){return Qn.a}),n.d(e,"switchMapTo",function(){return er}),n.d(e,"take",function(){return Nt}),n.d(e,"takeLast",function(){return ge}),n.d(e,"takeUntil",function(){return nr.a}),n.d(e,"takeWhile",function(){return rr}),n.d(e,"tap",function(){return Mt.a}),n.d(e,"throttle",function(){return ar.b}),n.d(e,"throttleTime",function(){return ur.a}),n.d(e,"throwIfEmpty",function(){return jt}),n.d(e,"timeInterval",function(){return cr}),n.d(e,"timeout",function(){return gr}),n.d(e,"timeoutWith",function(){return hr}),n.d(e,"timestamp",function(){return yr}),n.d(e,"toArray",function(){return xr}),n.d(e,"window",function(){return wr}),n.d(e,"windowCount",function(){return kr}),n.d(e,"windowTime",function(){return Cr}),n.d(e,"windowToggle",function(){return Ir}),n.d(e,"windowWhen",function(){return Rr}),n.d(e,"withLatestFrom",function(){return zr}),n.d(e,"zip",function(){return Wr}),n.d(e,"zipAll",function(){return qr})},alwl:function(t,e,n){var r=n("eUgh"),i=n("ut/Y"),o=n("l9OW"),a=n("1LK5"),u=n("sEf8"),s=n("IWTy"),c=n("zZ0H");t.exports=function(t,e,n){var l=-1;e=r(e.length?e:[c],u(i));var f=o(t,function(t,n,i){return{criteria:r(e,function(e){return e(t)}),index:++l,value:t}});return a(f,function(t,e){return s(t,e,n)})}},amwb:function(t,e){var n=null,r=["Webkit","Moz","O","ms"];t.exports=function(t){n||(n=document.createElement("div"));var e=n.style;if(t in e)return t;for(var i=t.charAt(0).toUpperCase()+t.slice(1),o=r.length;o>=0;o--){var a=r[o]+i;if(a in e)return a}return!1}},apmT:function(t,e,n){var r=n("0/R4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"aq+q":function(t,e){ /** * @license AngularJS v1.6.6 * (c) 2010-2017 Google, Inc. http://angularjs.org * License: MIT */ !function(t,e){"use strict";var n,r,i,o,a,u=e.module("ngRoute",[]).info({angularVersion:"1.6.6"}).provider("$route",function(){function t(t,n){return e.extend(Object.create(t),n)}n=e.isArray,r=e.isObject,i=e.isDefined,o=e.noop;var u={};function c(t,e){var n=e.caseInsensitiveMatch,r={originalPath:t,regexp:t},i=r.keys=[];return t=t.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(t,e,n,r){var o="?"===r||"*?"===r?"?":null,a="*"===r||"*?"===r?"*":null;return i.push({name:n,optional:!!o}),e=e||"",(o?"":e)+"(?:"+(o?e:"")+(a?"(.+?)":"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([/$*])/g,"\\$1"),r.regexp=new RegExp("^"+t+"$",n?"i":""),r}this.when=function(t,i){var o=function(t,e){if(n(t)){e=e||[];for(var i=0,o=t.length;i<o;i++)e[i]=t[i]}else if(r(t))for(var a in e=e||{},t)"$"===a.charAt(0)&&"$"===a.charAt(1)||(e[a]=t[a]);return e||t}(i);if(e.isUndefined(o.reloadOnSearch)&&(o.reloadOnSearch=!0),e.isUndefined(o.caseInsensitiveMatch)&&(o.caseInsensitiveMatch=this.caseInsensitiveMatch),u[t]=e.extend(o,t&&c(t,o)),t){var a="/"===t[t.length-1]?t.substr(0,t.length-1):t+"/";u[a]=e.extend({redirectTo:t},c(a,o))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(t){return"string"==typeof t&&(t={redirectTo:t}),this.when(null,t),this},a=!0,this.eagerInstantiationEnabled=function(t){return i(t)?(a=t,this):a},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce","$browser",function(n,r,i,a,c,l,f,h){var d,p,v=!1,g={routes:u,reload:function(){v=!0;var t={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,v=!1}};n.$evalAsync(function(){y(t),t.defaultPrevented||m()})},updateParams:function(t){if(!this.current||!this.current.$$route)throw s("norout","Tried updating route when with no current route");t=e.extend({},this.current.params,t),r.path(_(this.current.$$route.originalPath,t)),r.search(t)}};return n.$on("$locationChangeStart",y),n.$on("$locationChangeSuccess",m),g;function y(i){var o,a,s=g.current;e.forEach(u,function(n,i){!a&&(o=function(t,e){var n=e.keys,r={};if(!e.regexp)return null;var i=e.regexp.exec(t);if(!i)return null;for(var o=1,a=i.length;o<a;++o){var u=n[o-1],s=i[o];u&&s&&(r[u.name]=s)}return r}(r.path(),n))&&((a=t(n,{params:e.extend({},r.search(),o),pathParams:o})).$$route=n)}),d=a||u.null&&t(u.null,{params:{},pathParams:{}}),(p=d&&s&&d.$$route===s.$$route&&e.equals(d.pathParams,s.pathParams)&&!d.reloadOnSearch&&!v)||!s&&!d||n.$broadcast("$routeChangeStart",d,s).defaultPrevented&&i&&i.preventDefault()}function m(){var t=g.current,r=d;if(p)t.params=r.params,e.copy(t.params,i),n.$broadcast("$routeUpdate",t);else if(r||t){v=!1,g.current=r;var u=a.resolve(r);h.$$incOutstandingRequestCount(),u.then(b).then(x).then(function(o){return o&&u.then(w).then(function(o){r===g.current&&(r&&(r.locals=o,e.copy(r.params,i)),n.$broadcast("$routeChangeSuccess",r,t))})}).catch(function(e){r===g.current&&n.$broadcast("$routeChangeError",r,t,e)}).finally(function(){h.$$completeOutstandingRequest(o)})}}function b(t){var n={route:t,hasRedirection:!1};if(t)if(t.redirectTo)if(e.isString(t.redirectTo))n.path=_(t.redirectTo,t.params),n.search=t.params,n.hasRedirection=!0;else{var i=r.path(),o=r.search(),u=t.redirectTo(t.pathParams,i,o);e.isDefined(u)&&(n.url=u,n.hasRedirection=!0)}else if(t.resolveRedirectTo)return a.resolve(c.invoke(t.resolveRedirectTo)).then(function(t){return e.isDefined(t)&&(n.url=t,n.hasRedirection=!0),n});return n}function x(t){var e=!0;if(t.route!==g.current)e=!1;else if(t.hasRedirection){var n=r.url(),i=t.url;i?r.url(i).replace():i=r.path(t.path).search(t.search).replace().url(),i!==n&&(e=!1)}return e}function w(t){if(t){var n=e.extend({},t.resolve);e.forEach(n,function(t,r){n[r]=e.isString(t)?c.get(t):c.invoke(t,null,null,r)});var r=function(t){var n,r;e.isDefined(n=t.template)?e.isFunction(n)&&(n=n(t.params)):e.isDefined(r=t.templateUrl)&&(e.isFunction(r)&&(r=r(t.params)),e.isDefined(r)&&(t.loadedTemplateUrl=f.valueOf(r),n=l(r)));return n}(t);return e.isDefined(r)&&(n.$template=r),a.all(n)}}function _(t,n){var r=[];return e.forEach((t||"").split(":"),function(t,e){if(0===e)r.push(t);else{var i=t.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}}),r.join("")}}]}).run(c),s=e.$$minErr("ngRoute");function c(t){a&&t.get("$route")}function l(t,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,a,u,s){var c,l,f,h=a.autoscroll,d=a.onload||"";function p(){f&&(r.cancel(f),f=null),c&&(c.$destroy(),c=null),l&&((f=r.leave(l)).done(function(t){!1!==t&&(f=null)}),l=null)}function v(){var a=t.current&&t.current.locals,u=a&&a.$template;if(e.isDefined(u)){var f=i.$new(),v=t.current,g=s(f,function(t){r.enter(t,null,l||o).done(function(t){!1===t||!e.isDefined(h)||h&&!i.$eval(h)||n()}),p()});l=g,(c=v.scope=f).$emit("$viewContentLoaded"),c.$eval(d)}else p()}i.$on("$routeChangeSuccess",v),v()}}}function f(t,e,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,a=o.locals;i.html(a.$template);var u=t(i.contents());if(o.controller){a.$scope=r;var s=e(o.controller,a);o.controllerAs&&(r[o.controllerAs]=s),i.data("$ngControllerController",s),i.children().data("$ngControllerController",s)}r[o.resolveAs||"$resolve"]=a,u(r)}}}c.$inject=["$injector"],u.provider("$routeParams",function(){this.$get=function(){return{}}}),u.directive("ngView",l),u.directive("ngView",f),l.$inject=["$route","$anchorScroll","$animate"],f.$inject=["$compile","$controller","$route"]}(window,window.angular)},"aqI/":function(t,e,n){n("7DDg")("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},"ar/p":function(t,e,n){var r=n("5vMV"),i=n("FpHa").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},awvh:function(t,e,n){"use strict";function r(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=t,this}n.d(e,"a",function(){return i}),r.prototype=Object.create(Error.prototype);var i=r},b2z7:function(t,e){var n=/\w*$/;t.exports=function(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}},b5q1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stripDiacritics=void 0;var r=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];e.stripDiacritics=function(t){for(var e=0;e<r.length;e++)t=t.replace(r[e].letters,r[e].base);return t}},b7mW:function(t,e,n){"use strict";function r(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}n.d(e,"a",function(){return i}),r.prototype=Object.create(Error.prototype);var i=r},b80T:function(t,e,n){var r=n("UNi/"),i=n("03A+"),o=n("Z0cm"),a=n("DSRE"),u=n("wJg7"),s=n("c6wG"),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=o(t),l=!n&&i(t),f=!n&&!l&&a(t),h=!n&&!l&&!f&&s(t),d=n||l||f||h,p=d?r(t.length,String):[],v=p.length;for(var g in t)!e&&!c.call(t,g)||d&&("length"==g||f&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||u(g,v))||p.push(g);return p}},bBoP:function(t,e,n){var r=n("XKFU"),i=n("LVwc"),o=Math.exp;r(r.S+r.F*n("eeVq")(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},bBy9:function(t,e,n){n("w2d+");for(var r=n("5T2Y"),i=n("NegM"),o=n("SBuE"),a=n("UWiX")("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],l=r[c],f=l&&l.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},bCCX:function(t,e,n){"use strict";(function(t,r){var i,o=n("SLVX");i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var a=Object(o.a)(i);e.a=a}).call(this,n("yLpj"),n("3UD+")(t))},bDcW:function(t,e,n){"use strict";n("OGtf")("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},bHtr:function(t,e,n){var r=n("XKFU");r(r.P,"Array",{fill:n("Nr18")}),n("nGyu")("fill")},bNQv:function(t,e,n){var r=n("gFfm"),i=n("SKAX"),o=n("EwQA"),a=n("Z0cm");t.exports=function(t,e){return(a(t)?r:i)(t,o(e))}},bQgK:function(t,e,n){(function(e){(function(){var n,r,i,o,a,u;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=e&&e.hrtime?(t.exports=function(){return(n()-a)/1e6},r=e.hrtime,o=(n=function(){var t;return 1e9*(t=r())[0]+t[1]})(),u=1e9*e.uptime(),a=o-u):Date.now?(t.exports=function(){return Date.now()-i},i=Date.now()):(t.exports=function(){return(new Date).getTime()-i},i=(new Date).getTime())}).call(this)}).call(this,n("8oxB"))},bWfx:function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(1);r(r.P+r.F*!n("LyE8")([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},bahg:function(t,e){t.exports=function(t){return t.split("")}},"bt/X":function(t,e,n){var r=n("hypo"),i=n("UMY1"),o=Object.prototype.hasOwnProperty,a=i(function(t,e,n){o.call(t,n)?t[n].push(e):r(t,n,[e])});t.exports=a},"c+Q5":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var r=arguments[2];var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];var o={value:r};if(!e(r))for(var a in o.children={},r){var u=i.concat(a);n.length&&-1!==n.indexOf(u.join("."))||(o.children[a]=t(e,n,r[a],u))}return o}(t,e,n);return{detectMutations:function(){return function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];var r=arguments[2];var i=arguments[3];var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];var u=r?r.value:void 0;var s=u===i;if(o&&!s&&!Number.isNaN(i))return{wasMutated:!0,path:a};if(e(u)||e(i))return{wasMutated:!1};var c={};Object.keys(r.children).forEach(function(t){c[t]=!0});Object.keys(i).forEach(function(t){c[t]=!0});var l=Object.keys(c);for(var f=0;f<l.length;f++){var h=l[f],d=a.concat(h);if(!n.length||-1===n.indexOf(d.join("."))){var p=t(e,n,r.children[h],i[h],s,d);if(p.wasMutated)return p}}return{wasMutated:!1}}(t,e,r,n)}}}},c6wG:function(t,e,n){var r=n("dD9F"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isTypedArray,u=a?i(a):r;t.exports=u},ccE7:function(t,e,n){var r=n("Ojgd"),i=n("Jes0");t.exports=function(t){return function(e,n){var o,a,u=String(i(e)),s=r(n),c=u.length;return s<0||s>=c?t?"":void 0:(o=u.charCodeAt(s))<55296||o>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?t?u.charAt(s):o:t?u.slice(s,s+2):a-56320+(o-55296<<10)+65536}}},ccyi:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Saturation=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n("q1tI"),o=c(i),a=c(n("/FUP")),u=c(n("DzJC")),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n("VVms"));function c(t){return t&&t.__esModule?t:{default:t}}var l=e.Saturation=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleChange=function(t,e){n.props.onChange&&n.throttle(n.props.onChange,s.calculateChange(t,e,n.props,n.container),t)},n.handleMouseDown=function(t){n.handleChange(t,!0),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.throttle=(0,u.default)(function(t,e,n){t(e,n)},50),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.PureComponent||i.Component),r(e,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var t=this,e=this.props.style||{},n=e.color,r=e.white,i=e.black,u=e.pointer,s=e.circle,c=(0,a.default)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:n,white:r,black:i,pointer:u,circle:s}},{custom:!!this.props.style});return o.default.createElement("div",{style:c.color,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},o.default.createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),o.default.createElement("div",{style:c.white,className:"saturation-white"},o.default.createElement("div",{style:c.black,className:"saturation-black"}),o.default.createElement("div",{style:c.pointer},this.props.pointer?o.default.createElement(this.props.pointer,this.props):o.default.createElement("div",{style:c.circle}))))}}]),e}();e.default=l},cegH:function(t,e,n){var r=n("amwb"),i=n("F39V"),o={float:"cssFloat"},a=n("z/Nc");function u(t,e,n){var u=o[e];if(void 0===u&&(u=function(t){var e=i(t),n=r(e);return o[e]=o[t]=o[n]=n,n}(e)),u){if(void 0===n)return t.style[u];t.style[u]=a(u,n)}}function s(){2===arguments.length?"string"==typeof arguments[1]?arguments[0].style.cssText=arguments[1]:function(t,e){for(var n in e)e.hasOwnProperty(n)&&u(t,n,e[n])}(arguments[0],arguments[1]):u(arguments[0],arguments[1],arguments[2])}t.exports=s,t.exports.set=s,t.exports.get=function(t,e){return Array.isArray(e)?e.reduce(function(e,n){return e[n]=u(t,n||""),e},{}):u(t,e||"")}},"cq/+":function(t,e,n){var r=n("mc0g")();t.exports=r},cvCv:function(t,e){t.exports=function(t){return function(){return t}}},czNK:function(t,e,n){"use strict";var r=n("nh4g"),i=n("DVgA"),o=n("JiEa"),a=n("UqcF"),u=n("S/j/"),s=n("Ymqv"),c=Object.assign;t.exports=!c||n("eeVq")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=u(t),c=arguments.length,l=1,f=o.f,h=a.f;c>l;)for(var d,p=s(arguments[l++]),v=f?i(p).concat(f(p)):i(p),g=v.length,y=0;g>y;)d=v[y++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:c},"d/Gc":function(t,e,n){var r=n("RYi7"),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},dATH:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SliderPointer=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.SliderPointer=function(){var t=(0,i.default)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return r.default.createElement("div",{style:t.picker})};e.default=a},dD9F:function(t,e,n){var r=n("NykK"),i=n("shjB"),o=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},"dE+T":function(t,e,n){var r=n("XKFU");r(r.P,"Array",{copyWithin:n("upKx")}),n("nGyu")("copyWithin")},dEwP:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("F/XL"),i=n("Txjg");function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Object(i.a)()(r.a.apply(void 0,t))}},dQpi:function(t,e,n){var r=n("yGk4"),i=n("vN+2"),o=n("rEGp"),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},dRSK:function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("nGyu")("find")},dTAl:function(t,e,n){var r=n("GoyQ"),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},"dZ+Y":function(t,e,n){"use strict";var r=n("XKFU"),i=n("CkkT")(3);r(r.P+r.F*!n("LyE8")([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},dasq:function(t,e,n){(function(t){!function(t){"use strict";var e,n=t.URLSearchParams&&t.URLSearchParams.prototype.get?t.URLSearchParams:null,r=n&&"a=1"===new n({a:1}).toString(),i=n&&"+"===new n("s=%2B").get("s"),o="__URLSearchParams__",a=!n||((e=new n).append("s"," &"),"s=+%26"===e.toString()),u=f.prototype,s=!(!t.Symbol||!t.Symbol.iterator);if(!(n&&r&&i&&a)){u.append=function(t,e){g(this[o],t,e)},u.delete=function(t){delete this[o][t]},u.get=function(t){var e=this[o];return t in e?e[t][0]:null},u.getAll=function(t){var e=this[o];return t in e?e[t].slice(0):[]},u.has=function(t){return t in this[o]},u.set=function(t,e){this[o][t]=[""+e]},u.toString=function(){var t,e,n,r,i=this[o],a=[];for(e in i)for(n=h(e),t=0,r=i[e];t<r.length;t++)a.push(n+"="+h(r[t]));return a.join("&")};var c=!!i&&n&&!r&&t.Proxy;Object.defineProperty(t,"URLSearchParams",{value:c?new Proxy(n,{construct:function(t,e){return new t(new f(e[0]).toString())}}):f});var l=t.URLSearchParams.prototype;l.polyfill=!0,l.forEach=l.forEach||function(t,e){var n=v(this.toString());Object.getOwnPropertyNames(n).forEach(function(r){n[r].forEach(function(n){t.call(e,n,r,this)},this)},this)},l.sort=l.sort||function(){var t,e,n,r=v(this.toString()),i=[];for(t in r)i.push(t);for(i.sort(),e=0;e<i.length;e++)this.delete(i[e]);for(e=0;e<i.length;e++){var o=i[e],a=r[o];for(n=0;n<a.length;n++)this.append(o,a[n])}},l.keys=l.keys||function(){var t=[];return this.forEach(function(e,n){t.push(n)}),p(t)},l.values=l.values||function(){var t=[];return this.forEach(function(e){t.push(e)}),p(t)},l.entries=l.entries||function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),p(t)},s&&(l[t.Symbol.iterator]=l[t.Symbol.iterator]||l.entries)}function f(t){((t=t||"")instanceof URLSearchParams||t instanceof f)&&(t=t.toString()),this[o]=v(t)}function h(t){var e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'\(\)~]|%20|%00/g,function(t){return e[t]})}function d(t){return t.replace(/[ +]/g,"%20").replace(/(%[a-f0-9]{2})+/gi,function(t){return decodeURIComponent(t)})}function p(e){var n={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return s&&(n[t.Symbol.iterator]=function(){return n}),n}function v(t){var e={};if("object"==typeof t)if(y(t))for(var n=0;n<t.length;n++){var r=t[n];if(!y(r)||2!==r.length)throw new TypeError("Failed to construct 'URLSearchParams': Sequence initializer must only contain pair elements");g(e,r[0],r[1])}else for(var i in t)t.hasOwnProperty(i)&&g(e,i,t[i]);else{0===t.indexOf("?")&&(t=t.slice(1));for(var o=t.split("&"),a=0;a<o.length;a++){var u=o[a],s=u.indexOf("=");-1<s?g(e,d(u.slice(0,s)),d(u.slice(s+1))):u&&g(e,d(u),"")}}return e}function g(t,e,n){var r="string"==typeof n?n:null!=n&&"function"==typeof n.toString?n.toString():JSON.stringify(n);e in t?t[e].push(r):t[e]=[r]}function y(t){return!!t&&"[object Array]"===Object.prototype.toString.call(t)}}(void 0!==t?t:"undefined"!=typeof window?window:this)}).call(this,n("yLpj"))},dl0q:function(t,e,n){n("Zxgi")("observable")},dqo8:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.optionCSS=void 0;var r,i=(r=n("q1tI"))&&r.__esModule?r:{default:r},o=n("PAeb");function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}e.optionCSS=function(t){var e=t.isDisabled,n=t.isFocused,r=t.isSelected,i=t.theme,o=i.spacing,a=i.colors;return{backgroundColor:r?a.primary:n?a.primary25:"transparent",color:e?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*o.baseUnit,"px ").concat(3*o.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:r?a.primary:a.primary50}}};var u=function(t){var e=t.children,n=t.className,r=t.cx,u=t.getStyles,s=t.isDisabled,c=t.isFocused,l=t.isSelected,f=t.innerRef,h=t.innerProps;return i.default.createElement("div",a({ref:f,className:r((0,o.css)(u("option",t)),{option:!0,"option--is-disabled":s,"option--is-focused":c,"option--is-selected":l},n)},h),e)};e.default=u},dt0z:function(t,e,n){var r=n("zoYe");t.exports=function(t){return null==t?"":r(t)}},dyZX:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},dzgT:function(t,e,n){"use strict";n.d(e,"b",function(){return l}),n.d(e,"a",function(){return f});var r=n("mrSG"),i=n("nkY7"),o=n("isby"),a=n("MGBS"),u=n("zotm"),s=n("IUTb"),c={};function l(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,r=null;return Object(i.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&Object(o.a)(t[0])&&(t=t[0]),Object(s.a)(t,r).lift(new f(n))}var f=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.resultSelector))},t}(),h=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return r.__extends(e,t),e.prototype._next=function(t){this.values.push(c),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(Object(u.a)(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,a=o[n],u=this.toRespond?a===c?--this.toRespond:this.toRespond:0;o[n]=e,0===u&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(a.a)},e4Nc:function(t,e,n){var r=n("fGT3"),i=n("k+1r"),o=n("JHgL"),a=n("pSRY"),u=n("H8j4");function s(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}s.prototype.clear=r,s.prototype.delete=i,s.prototype.get=o,s.prototype.has=a,s.prototype.set=u,t.exports=s},e5cp:function(t,e,n){var r=n("fmRc"),i=n("or5M"),o=n("HDyB"),a=n("seXi"),u=n("QqLw"),s=n("Z0cm"),c=n("DSRE"),l=n("c6wG"),f=1,h="[object Arguments]",d="[object Array]",p="[object Object]",v=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,y,m){var b=s(t),x=s(e),w=b?d:u(t),_=x?d:u(e),S=(w=w==h?p:w)==p,k=(_=_==h?p:_)==p,E=w==_;if(E&&c(t)){if(!c(e))return!1;b=!0,S=!1}if(E&&!S)return m||(m=new r),b||l(t)?i(t,e,n,g,y,m):o(t,e,w,n,g,y,m);if(!(n&f)){var O=S&&v.call(t,"__wrapped__"),C=k&&v.call(e,"__wrapped__");if(O||C){var A=O?t.value():t,T=C?e.value():e;return m||(m=new r),y(A,T,n,g,m)}}return!!E&&(m||(m=new r),a(t,e,n,g,y,m))}},e7Q0:function(t,e,n){(function(e,r,i,o){!function(){"use strict";function a(t){return Mt?Symbol():"@@"+t}function u(t,e){Ot||(e=e.replace(At?/file:\/\/\//g:/file:\/\//g,""));var n,r=(t.message||t)+"\n "+e;n=Dt&&t.fileName?new Error(r,t.fileName,t.lineNumber):new Error(r);var i=t.originalErr?t.originalErr.stack:t.stack;return n.stack=Ct?r+"\n "+i:i,n.originalErr=t.originalErr||t,n}function s(t,e){throw new RangeError('Unable to resolve "'+t+'" to '+e)}function c(t,e){t=t.trim();var n=e&&e.substr(0,e.indexOf(":")+1),r=t[0],i=t[1];if("/"===r&&"/"===i)return n||s(t,e),n+t;if("."===r&&("/"===i||"."===i&&("/"===t[2]||2===t.length&&(t+="/"))||1===t.length&&(t+="/"))||"/"===r){var o,a=!n||"/"!==e[n.length];if(a?(void 0===e&&s(t,e),o=e):o="/"===e[n.length+1]?"file:"!==n?(o=e.substr(n.length+2)).substr(o.indexOf("/")+1):e.substr(8):e.substr(n.length+1),"/"===r){if(!a)return e.substr(0,e.length-o.length-1)+t;s(t,e)}for(var u=o.substr(0,o.lastIndexOf("/")+1)+t,c=[],l=-1,f=0;f<u.length;f++)if(-1===l)if("."!==u[f])l=f;else{if("."!==u[f+1]||"/"!==u[f+2]&&f+2!==u.length){if("/"!==u[f+1]&&f+1!==u.length){l=f;continue}f+=1}else c.pop(),f+=2;a&&0===c.length&&s(t,e)}else"/"===u[f]&&(c.push(u.substring(l,f+1)),l=-1);return-1!==l&&c.push(u.substr(l)),e.substr(0,e.length-o.length)+c.join("")}return-1!==t.indexOf(":")?Ct&&":"===t[1]&&"\\"===t[2]&&t[0].match(/[a-z]/i)?"file:///"+t.replace(/\\/g,"/"):t:void 0}function l(t){if(t.values)return t.values();if("undefined"==typeof Symbol||!Symbol.iterator)throw new Error("Symbol.iterator not supported in this browser");var e={};return e[Symbol.iterator]=function(){var e=Object.keys(t),n=0;return{next:function(){return n<e.length?{value:t[e[n++]],done:!1}:{value:void 0,done:!0}}}},e}function f(){this.registry=new p}function h(t){if(!(t instanceof v))throw new TypeError("Module instantiation did not return a valid namespace object.");return t}function d(t){if(void 0===t)throw new RangeError("No resolution found.");return t}function p(){this[Lt]={}}function v(t){Object.defineProperty(this,Bt,{value:t}),Object.keys(t).forEach(g,this)}function g(t){Object.defineProperty(this,t,{enumerable:!0,get:function(){return this[Bt][t]}})}function y(){f.call(this);var t=this.registry.delete;this.registry.delete=function(n){var r=t.call(this,n);return e.hasOwnProperty(n)&&!e[n].linkRecord&&(delete e[n],r=!0),r};var e={};this[zt]={lastRegister:void 0,records:e},this.trace=!1}function m(t,e,n){return t.records[e]={key:e,registration:n,module:void 0,importerSetters:void 0,loadError:void 0,evalError:void 0,linkRecord:{instantiatePromise:void 0,dependencies:void 0,execute:void 0,executingRequire:!1,moduleObj:void 0,setters:void 0,depsInstantiatePromise:void 0,dependencyInstantiations:void 0}}}function b(t,e,n,r,i){return n.instantiatePromise||(n.instantiatePromise=(e.registration?Promise.resolve():Promise.resolve().then(function(){return i.lastRegister=void 0,t[Vt](e.key,t[Vt].length>1&&function(t,e,n){return function(){var t=n.lastRegister;return t?(n.lastRegister=void 0,e.registration=t,!0):!!e.registration}}(0,e,i))})).then(function(o){if(void 0!==o){if(!(o instanceof v))throw new TypeError("Instantiate did not return a valid Module object.");return delete i.records[e.key],t.trace&&w(t,e,n),r[e.key]=o}var a=e.registration;if(e.registration=void 0,!a)throw new TypeError("Module instantiation did not call an anonymous or correctly named System.register.");return n.dependencies=a[0],e.importerSetters=[],n.moduleObj={},a[2]?(n.moduleObj.default=n.moduleObj.__useDefault={},n.executingRequire=a[1],n.execute=a[2]):function(t,e,n,r){var i=n.moduleObj,o=e.importerSetters,a=!1,u=r.call(Tt,function(t,e){if("object"==typeof t){var n=!1;for(var r in t)e=t[r],"__useDefault"===r||r in i&&i[r]===e||(n=!0,i[r]=e);if(!1===n)return e}else{if((a||t in i)&&i[t]===e)return e;i[t]=e}for(var u=0;u<o.length;u++)o[u](i);return e},new S(t,e.key));n.setters=u.setters,n.execute=u.execute,u.exports&&(n.moduleObj=i=u.exports,a=!0)}(t,e,n,a[1]),e}).catch(function(t){throw e.linkRecord=void 0,e.loadError=e.loadError||u(t,"Instantiating "+e.key)}))}function x(t,e,n,r,i,o){return t.resolve(e,n).then(function(n){o&&(o[e]=n);var a=i.records[n],u=r[n];if(u&&(!a||a.module&&u!==a.module))return u;if(a&&a.loadError)throw a.loadError;(!a||!u&&a.module)&&(a=m(i,n,a&&a.registration));var s=a.linkRecord;return s?b(t,a,s,r,i):a})}function w(t,e,n){t.loads=t.loads||{},t.loads[e.key]={key:e.key,deps:n.dependencies,dynamicDeps:[],depMap:n.depMap||{}}}function _(t,e,n,r,i){if(n.depsInstantiatePromise)return n.depsInstantiatePromise;for(var o=Array(n.dependencies.length),a=0;a<n.dependencies.length;a++)o[a]=x(t,n.dependencies[a],e.key,r,i,t.trace&&n.depMap||(n.depMap={}));var s=Promise.all(o).then(function(t){if(n.dependencyInstantiations=t,n.setters)for(var r=0;r<t.length;r++){var i=n.setters[r];if(i){var o=t[r];if(o instanceof v)i(o);else{if(o.loadError)throw o.loadError;i(o.module||o.linkRecord.moduleObj),o.importerSetters&&o.importerSetters.push(i)}}}return e});return t.trace&&(s=s.then(function(){return w(t,e,n),e})),(s=s.catch(function(t){throw n.depsInstantiatePromise=void 0,u(t,"Loading "+e.key)})).catch(function(){}),n.depsInstantiatePromise=s}function S(t,e){this.loader=t,this.key=this.id=e,this.meta={url:e}}function k(t,e,n,r,i,o){if(e.module)return e.module;if(e.evalError)throw e.evalError;if(o&&-1!==o.indexOf(e))return e.linkRecord.moduleObj;var a=E(t,e,n,r,i,n.setters?[]:o||[]);if(a)throw a;return e.module}function E(t,e,n,r,i,o){var a;if(o.push(e),n.setters)for(var s,c,l=0;l<n.dependencies.length;l++)if(!((s=n.dependencyInstantiations[l])instanceof v)&&((c=s.linkRecord)&&-1===o.indexOf(s)&&(a=s.evalError?s.evalError:E(t,s,c,r,i,c.setters?o:[])),a))return e.linkRecord=void 0,e.evalError=u(a,"Evaluating "+e.key),e.evalError;if(n.execute)if(n.setters)a=function(t){try{t.call(Ut)}catch(t){return t}}(n.execute);else{var f={id:e.key},h=n.moduleObj;Object.defineProperty(f,"exports",{configurable:!0,set:function(t){h.default=h.__useDefault=t},get:function(){return h.__useDefault}});var d=function(t,e,n,r,i,o,a){return function(u){for(var s=0;s<n.length;s++)if(n[s]===u){var c,l=r[s];return"__useDefault"in(c=l instanceof v?l:k(t,l,l.linkRecord,i,o,a))?c.__useDefault:c}throw new Error("Module "+u+" not declared as a System.registerDynamic dependency of "+e)}}(t,e.key,n.dependencies,n.dependencyInstantiations,r,i,o);if(!n.executingRequire)for(l=0;l<n.dependencies.length;l++)d(n.dependencies[l]);a=function(t,e,n,r){try{var i=t.call(Tt,e,n,r);void 0!==i&&(r.exports=i)}catch(t){return t}}(n.execute,d,h.default,f),f.exports!==h.__useDefault&&(h.default=h.__useDefault=f.exports);var p=h.default;if(p&&p.__esModule)for(var g in p)Object.hasOwnProperty.call(p,g)&&(h[g]=p[g])}if(e.linkRecord=void 0,a)return e.evalError=u(a,"Evaluating "+e.key);if(r[e.key]=e.module=new v(n.moduleObj),!n.setters){if(e.importerSetters)for(l=0;l<e.importerSetters.length;l++)e.importerSetters[l](e.module);e.importerSetters=void 0}}function O(){}function C(t,e){(e||this.warnings&&"undefined"!=typeof console&&console.warn)&&console.warn(t)}function A(t,e){for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function T(t,e){for(var n in e)Object.hasOwnProperty.call(e,n)&&void 0===t[n]&&(t[n]=e[n]);return t}function M(t,e,n){for(var r in e)if(Object.hasOwnProperty.call(e,r)){var i=e[r];void 0===t[r]?t[r]=i:i instanceof Array&&t[r]instanceof Array?t[r]=[].concat(n?i:t[r]).concat(n?t[r]:i):"object"==typeof i&&null!==i&&"object"==typeof t[r]?t[r]=(n?T:A)(A({},t[r]),i):n||(t[r]=i)}}function P(t){if($t||Zt){var e=document.createElement("link");$t?(e.rel="preload",e.as="script"):e.rel="prefetch",e.href=t,document.head.appendChild(e)}else(new Image).src=t}function j(t,e,n,r,i){function o(){r(),u()}function a(e){u(),i(new Error("Fetching "+t))}function u(){for(var t=0;t<Jt.length;t++)if(Jt[t].err===a){Jt.splice(t,1);break}s.removeEventListener("load",o,!1),s.removeEventListener("error",a,!1),document.head.removeChild(s)}if(t=t.replace(/#/g,"%23"),Kt)return function(t,e,n){try{importScripts(t)}catch(t){n(t)}e()}(t,r,i);var s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,e&&(s.crossOrigin=e),n&&(s.integrity=n),s.addEventListener("load",o,!1),s.addEventListener("error",a,!1),s.src=t,document.head.appendChild(s)}function D(t,e){for(var n=t.split(".");n.length;)e=e[n.shift()];return e}function I(t,e,n){var r=F(e,n);if(r){var i=e[r]+n.substr(r.length),o=c(i,Et);return void 0!==o?o:t+i}return-1!==n.indexOf(":")?n:t+n}function N(t){var e=this.name;if(e.substr(0,t.length)===t&&(e.length===t.length||"/"===e[t.length]||"/"===t[t.length-1]||":"===t[t.length-1])){var n=t.split("/").length;n>this.len&&(this.match=t,this.len=n)}}function F(t,e){if(Object.hasOwnProperty.call(t,e))return e;var n={name:e,match:void 0,len:0};return Object.keys(t).forEach(N,n),n.match}function R(t,e,n,r){return new Promise(function(n,i){function o(){n(r?u.response:u.responseText)}function a(){i(new Error("XHR error: "+(u.status?" ("+u.status+(u.statusText?" "+u.statusText:"")+")":"")+" loading "+t))}t=t.replace(/#/g,"%23");var u=new XMLHttpRequest;r&&(u.responseType="arraybuffer"),u.onreadystatechange=function(){4===u.readyState&&(0==u.status?u.response?o():(u.addEventListener("error",a),u.addEventListener("load",o)):200===u.status?o():a())},u.open("GET",t,!0),u.setRequestHeader&&(u.setRequestHeader("Accept","application/x-es-module, */*"),e&&("string"==typeof e&&u.setRequestHeader("Authorization",e),u.withCredentials=!0)),u.send(null)})}function L(t,e,n){var r,i={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0};n&&(e.pluginFirst?-1!==(r=n.lastIndexOf("!"))&&(i.pluginArgument=i.pluginKey=n.substr(0,r)):-1!==(r=n.indexOf("!"))&&(i.pluginArgument=i.pluginKey=n.substr(r+1)),i.packageKey=F(e.packages,n),i.packageKey&&(i.packageConfig=e.packages[i.packageKey]));return i}function B(t,e){var n=H(t.pluginFirst,e);if(n){var r=B.call(this,t,n.plugin);return W(t.pluginFirst,z.call(this,t,n.argument,void 0,!1,!1),r)}return z.call(this,t,e,void 0,!1,!1)}function z(t,e,n,r,i){var o=c(e,n||Et);if(o)return I(t.baseURL,t.paths,o);if(r){var a=F(t.map,e);if(a&&(o=c(e=t.map[a]+e.substr(a.length),Et)))return I(t.baseURL,t.paths,o)}if(this.registry.has(e))return e;if("@node/"===e.substr(0,6))return e;var u=i&&"/"!==e[e.length-1],s=I(t.baseURL,t.paths,u?e+"/":e);return u?s.substr(0,s.length-1):s}function V(t,e,n,r,i,o){if(i&&i.packageConfig&&"."!==e[0]){var a=i.packageConfig.map,u=a&&F(a,e);if(u&&"string"==typeof a[u]){var s=Y(this,t,i.packageConfig,i.packageKey,u,e,r,o);if(s)return s}}var c=z.call(this,t,e,n,!0,!0),l=$(t,c);if(r.packageKey=l&&l.packageKey||F(t.packages,c),!r.packageKey)return c;if(-1!==t.packageConfigKeys.indexOf(c))return r.packageKey=void 0,c;r.packageConfig=t.packages[r.packageKey]||(t.packages[r.packageKey]={defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1});var f=c.substr(r.packageKey.length+1);return function(t,e,n,r,i,o,a){if(!i){if(!n.main)return r;i="./"===n.main.substr(0,2)?n.main.substr(2):n.main}if(n.map){var u="./"+i,s=F(n.map,u);if(s||(u="./"+q(e,n,r,i,a))!="./"+i&&(s=F(n.map,u)),s){var c=Y(t,e,n,r,s,u,o,a);if(c)return c}}return r+"/"+q(e,n,r,i,a)}(this,t,r.packageConfig,r.packageKey,f,r,o)}function U(t,e,n,r,i,o){var a=this;return qt.then(function(){if(i&&i.packageConfig&&"./"!==e.substr(0,2)){var n=i.packageConfig.map,u=n&&F(n,e);if(u)return X(a,t,i.packageConfig,i.packageKey,u,e,r,o)}return qt}).then(function(i){if(i)return i;var u=z.call(a,t,e,n,!0,!0),s=$(t,u);return r.packageKey=s&&s.packageKey||F(t.packages,u),r.packageKey?-1!==t.packageConfigKeys.indexOf(u)?(r.packageKey=void 0,r.load={extension:"",deps:void 0,format:void 0,loader:void 0,scriptLoad:void 0,globals:void 0,nonce:void 0,integrity:void 0,sourceMap:void 0,exports:void 0,encapsulateGlobal:!1,crossOrigin:void 0,cjsRequireDetection:!0,cjsDeferDepsExecute:!1,esModule:!1},r.load.format="json",r.load.loader="",Promise.resolve(u)):(r.packageConfig=t.packages[r.packageKey]||(t.packages[r.packageKey]={defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1}),(s&&!r.packageConfig.configured?Z(a,t,s.configPath,r):qt).then(function(){var e=u.substr(r.packageKey.length+1);return function(t,e,n,r,i,o,a){if(!i){if(!n.main)return Promise.resolve(r);i="./"===n.main.substr(0,2)?n.main.substr(2):n.main}var u,s;return n.map&&(u="./"+i,(s=F(n.map,u))||(u="./"+q(e,n,r,i,a))!="./"+i&&(s=F(n.map,u))),(s?X(t,e,n,r,s,u,o,a):qt).then(function(t){return t?Promise.resolve(t):Promise.resolve(r+"/"+q(e,n,r,i,a))})}(a,t,r.packageConfig,r.packageKey,e,r,o)})):Promise.resolve(u)})}function H(t,e){var n,r,i=t?e.indexOf("!"):e.lastIndexOf("!");if(-1!==i)return t?(n=e.substr(i+1),r=e.substr(0,i)):(n=e.substr(0,i),r=e.substr(i+1)||n.substr(n.lastIndexOf(".")+1)),{argument:n,plugin:r}}function W(t,e,n){return t?n+"!"+e:e+"!"+n}function q(t,e,n,r,i){if(!r||!e.defaultExtension||"/"===r[r.length-1]||i)return r;var o=!1;if(e.meta&&J(e.meta,r,function(t,e,n){if(0===n||t.lastIndexOf("*")!==t.length-1)return o=!0}),!o&&t.meta&&J(t.meta,n+"/"+r,function(t,e,n){if(0===n||t.lastIndexOf("*")!==t.length-1)return o=!0}),o)return r;var a="."+e.defaultExtension;return r.substr(r.length-a.length)!==a?r+a:r}function G(t,e,n){return!(e.substr(0,t.length)===t&&n.length>t.length)}function Y(t,e,n,r,i,o,a,u){"/"===o[o.length-1]&&(o=o.substr(0,o.length-1));var s=n.map[i];if("object"==typeof s)throw new Error("Synchronous conditional normalization not supported sync normalizing "+i+" in "+r);if(G(i,s,o)&&"string"==typeof s)return V.call(t,e,s+o.substr(i.length),r+"/",a,a,u)}function X(t,e,n,r,i,o,a,u){"/"===o[o.length-1]&&(o=o.substr(0,o.length-1));var s=n.map[i];if("string"==typeof s)return G(i,s,o)?U.call(t,e,s+o.substr(i.length),r+"/",a,a,u).then(function(e){return et.call(t,e,r+"/",a)}):qt;var c=[],l=[];for(var f in s){var h=Q(f);l.push({condition:h,map:s[f]}),c.push(y.prototype.import.call(t,h.module,r))}return Promise.all(c).then(function(t){for(var e=0;e<l.length;e++){var n=l[e].condition,r=D(n.prop,"__useDefault"in t[e]?t[e].__useDefault:t[e]);if(!n.negate&&r||n.negate&&!r)return l[e].map}}).then(function(n){if(n)return G(i,n,o)?U.call(t,e,n+o.substr(i.length),r+"/",a,a,u).then(function(e){return et.call(t,e,r+"/",a)}):qt})}function K(t){var e=t.lastIndexOf("*"),n=Math.max(e+1,t.lastIndexOf("/"));return{length:n,regEx:new RegExp("^("+t.substr(0,n).replace(/[.+?^${}()|[\]\\]/g,"\\$&").replace(/\*/g,"[^\\/]+")+")(\\/|$)"),wildcard:-1!==e}}function $(t,e){for(var n,r,i=!1,o=0;o<t.packageConfigPaths.length;o++){var a=t.packageConfigPaths[o],u=ie[a]||(ie[a]=K(a));if(!(e.length<u.length)){var s=e.match(u.regEx);!s||n&&(i&&u.wildcard||!(n.length<s[1].length))||(n=s[1],i=!u.wildcard,r=n+a.substr(u.length))}}if(n)return{packageKey:n,configPath:r}}function Z(t,e,n,r,i){var o=t.pluginLoader||t;return-1===e.packageConfigKeys.indexOf(n)&&e.packageConfigKeys.push(n),o.import(n).then(function(t){it(r.packageConfig,t,r.packageKey,!0,e),r.packageConfig.configured=!0}).catch(function(t){throw u(t,"Unable to fetch package configuration file "+n)})}function J(t,e,n){var r;for(var i in t){var o="./"===i.substr(0,2)?"./":"";if(o&&(i=i.substr(2)),-1!==(r=i.indexOf("*"))&&i.substr(0,r)===e.substr(0,r)&&i.substr(r+1)===e.substr(e.length-i.length+r+1)&&n(i,t[o+i],i.split("/").length))return}var a=t[e]&&Object.hasOwnProperty.call(t,e)?t[e]:t["./"+e];a&&n(a,a,0)}function Q(t){var e,n,r,i=t.lastIndexOf("|");return-1!==i?(e=t.substr(i+1),n=t.substr(0,i),"~"===e[0]&&(r=!0,e=e.substr(1))):(r="~"===t[0],e="default",n=t.substr(r),-1!==oe.indexOf(n)&&(e=n,n=null)),{module:n||"@system-env",prop:e,negate:r}}function tt(t,e,n){return y.prototype.import.call(this,t.module,e).then(function(e){var r=D(t.prop,e);if(n&&"boolean"!=typeof r)throw new TypeError("Condition did not resolve to a boolean.");return t.negate?!r:r})}function et(t,e,n){var r=t.match(ae);if(!r)return Promise.resolve(t);var i=Q.call(this,r[0].substr(2,r[0].length-3));return tt.call(this,i,e,!1).then(function(n){if("string"!=typeof n)throw new TypeError("The condition value for "+t+" doesn't resolve to a string.");if(-1!==n.indexOf("/"))throw new TypeError("Unabled to interpolate conditional "+t+(e?" in "+e:"")+"\n\tThe condition value "+n+' cannot contain a "/" separator.');return t.replace(ae,n)})}function nt(t,e,n){for(var r=0;r<ue.length;r++){var i=ue[r];e[i]&&Ie[i.substr(0,i.length-6)]&&n(e[i])}}function rt(t,e){var n=t[e];return n instanceof Array?t[e].concat([]):"object"==typeof n?function t(e,n){var r={};for(var i in e){var o=e[i];n>1?o instanceof Array?r[i]=[].concat(o):"object"==typeof o?r[i]=t(o,n-1):"packageConfig"!==i&&(r[i]=o):r[i]=o}return r}(n,3):t[e]}function it(t,e,n,r,i){for(var o in e)"main"===o||"format"===o||"defaultExtension"===o||"configured"===o?r&&void 0!==t[o]||(t[o]=e[o]):"map"===o?(r?T:A)(t.map=t.map||{},e.map):"meta"===o?(r?T:A)(t.meta=t.meta||{},e.meta):Object.hasOwnProperty.call(e,o)&&C.call(i,'"'+o+'" is not a valid package configuration option in package '+n);return void 0===t.defaultExtension&&(t.defaultExtension="js"),void 0===t.main&&t.map&&t.map["."]?(t.main=t.map["."],delete t.map["."]):"object"==typeof t.main&&(t.map=t.map||{},t.map["./@main"]=t.main,t.main.default=t.main.default||"./",t.main="@main"),t}function ot(t,n,r,i){var o=t.lastIndexOf("\n");if(n){if("object"!=typeof n)throw new TypeError("load.metadata.sourceMap must be set to an object.");n=JSON.stringify(n)}return(i?"(function(System, SystemJS) {":"")+t+(i?"\n})(System, System);":"")+("\n//# sourceURL="!=t.substr(o,15)?"\n//# sourceURL="+r+(n?"!transpiled":""):"")+(n&&function(t){return se?de+new e(t).toString("base64"):"undefined"!=typeof btoa?de+btoa(unescape(encodeURIComponent(t))):""}(n)||"")}function at(t){0==pe++&&(he=Tt.System),Tt.System=Tt.SystemJS=t}function ut(){0==--pe&&(Tt.System=Tt.SystemJS=he)}function st(t,e,n,r,i,o,a){if(e){if(o&&ve)return function(t,e,n,r,i){ce||(ce=document.head||document.body||document.documentElement);var o=document.createElement("script");o.text=ot(e,n,r,!1);var a,u=window.onerror;if(window.onerror=function(t){a=addToError(t,"Evaluating "+r),u&&u.apply(this,arguments)},at(t),i&&o.setAttribute("nonce",i),ce.appendChild(o),ce.removeChild(o),ut(),window.onerror=u,a)return a}(t,e,n,r,o);try{at(t),!le&&t._nodeRequire&&(le=t._nodeRequire("vm"),fe=le.runInThisContext("typeof System !== 'undefined' && System")===t),fe?le.runInThisContext(ot(e,n,r,!a),{filename:r+(n?"!transpiled":"")}):(0,eval)(ot(e,n,r,!a)),ut()}catch(t){return ut(),t}}}function ct(t){return"file:///"===t.substr(0,8)?t.substr(7+!!At):ge&&t.substr(0,ge.length)===ge?t.substr(ge.length):t}function lt(t,e){return ct(this.normalizeSync(t,e))}function ft(t){var e,n=t.lastIndexOf("!"),r=(e=-1!==n?t.substr(0,n):t).split("/");return r.pop(),r=r.join("/"),{filename:ct(e),dirname:ct(r)}}function ht(t){if(-1===ke.indexOf(t)){try{var e=Tt[t]}catch(e){ke.push(t)}this(t,e)}}function dt(t){if("string"==typeof t)return D(t,Tt);if(!(t instanceof Array))throw new Error("Global exports must be a string or array.");for(var e={},n=0;n<t.length;n++)e[t[n].split(".").pop()]=D(t[n],Tt);return e}function pt(t,e,n,r){var i,o=Tt.define;if(Tt.define=void 0,n)for(var a in i={},n)i[a]=Tt[a],Tt[a]=n[a];return e||(me={},Object.keys(Tt).forEach(ht,function(t,e){me[t]=e})),function(){var t,n=e?dt(e):{},a=!!e;if(e&&!r||Object.keys(Tt).forEach(ht,function(i,o){me[i]!==o&&void 0!==o&&(r&&(Tt[i]=void 0),e||(n[i]=o,void 0!==t?a||t===o||(a=!0):t=o))}),n=a?n:t,i)for(var u in i)Tt[u]=i[u];return Tt.define=o,n}}function vt(t){return function(e,n,r){t(e,n,r),"object"!=typeof(n=r.exports)&&"function"!=typeof n||"__esModule"in n||Object.defineProperty(r.exports,"__esModule",{value:!0})}}function gt(t,e){!t.load.esModule||"object"!=typeof e&&"function"!=typeof e||"__esModule"in e||Object.defineProperty(e,"__esModule",{value:!0})}function yt(t,e,n,r,i){return Promise.resolve(n).then(function(e){return"detect"===r.load.format&&(r.load.format=void 0),function(t,e){var n=t.match(Ve);if(n)for(var r=n[0].match(Ue),i=0;i<r.length;i++){var o=r[i],a=o.length,u=o.substr(0,1);if(";"==o.substr(a-1,1)&&a--,'"'==u||"'"==u){var s=o.substr(1,o.length-3),c=s.substr(0,s.indexOf(" "));if(c){var l=s.substr(c.length+1,s.length-c.length-1);"deps"===c&&(c="deps[]"),"[]"===c.substr(c.length-2,2)?(c=c.substr(0,c.length-2),e.load[c]=e.load[c]||[],e.load[c].push(l)):"use"!==c&&wt(e.load,c,l)}else e.load[s]=!0}}}(e,r),r.pluginModule?(r.pluginLoad.source=e,r.pluginModule.translate?Promise.resolve(r.pluginModule.translate.call(t,r.pluginLoad,r.traceOpts)).then(function(t){if(r.load.sourceMap){if("object"!=typeof r.load.sourceMap)throw new Error("metadata.load.sourceMap must be set to an object.");bt(r.pluginLoad.address,r.load.sourceMap)}return"string"==typeof t?t:r.pluginLoad.source}):e):e}).then(function(n){return r.load.format||'"bundle"'!==n.substring(0,8)?"register"===r.load.format||!r.load.format&&mt(n)?(r.load.format="register",n):"esm"===r.load.format||!r.load.format&&n.match(Fe)?(r.load.format="esm",xt(t,n,e,r,i)):n:(r.load.format="system",n)}).then(function(e){if("string"!=typeof e||!r.pluginModule||!r.pluginModule.instantiate)return e;var n=!1;return r.pluginLoad.source=e,Promise.resolve(r.pluginModule.instantiate.call(t,r.pluginLoad,function(t){if(e=t.source,r.load=t.metadata,n)throw new Error("Instantiate must only be called once.");n=!0})).then(function(t){return n?e:function(t){return t instanceof v?t:new v(t&&t.__esModule?t:{default:t,__useDefault:t})}(t)})}).then(function(n){if("string"!=typeof n)return n;r.load.format||(r.load.format=function(t){return t.match(Le)?"amd":(Be.lastIndex=0,ee.lastIndex=0,ee.exec(t)||Be.exec(t)?"cjs":"global")}(n));var o=!1;switch(r.load.format){case"esm":case"register":case"system":if(s=st(t,n,r.load.sourceMap,e,r.load.integrity,r.load.nonce,!1))throw s;return i()?void 0:Gt;case"json":var a=JSON.parse(n);return t.newModule({default:a,__useDefault:a});case"amd":var u=Tt.define;Tt.define=t.amdDefine,function(t,e){xe=t,Pe=e,be=void 0,Me=!1}(r.load.deps,r.load.esModule);var s=st(t,n,r.load.sourceMap,e,r.load.integrity,r.load.nonce,!1);if((o=i())||(function(t){be?t.registerDynamic(xe?be[0].concat(xe):be[0],!1,Pe?vt(be[1]):be[1]):Me&&t.registerDynamic([],!1,O)}(t),o=i()),Tt.define=u,s)throw s;break;case"cjs":var c=r.load.deps,l=(r.load.deps||[]).concat(r.load.cjsRequireDetection?function(t){function e(t,e){for(var n=0;n<t.length;n++)if(t[n][0]<e.index&&t[n][1]>e.index)return!0;return!1}ee.lastIndex=_e.lastIndex=Se.lastIndex=0;var n,r=[],i=[],o=[];if(t.length/t.split("\n").length<200){for(;n=Se.exec(t);)i.push([n.index,n.index+n[0].length]);for(;n=_e.exec(t);)e(i,n)||o.push([n.index+n[1].length,n.index+n[0].length-1])}for(;n=ee.exec(t);)if(!e(i,n)&&!e(o,n)){var a=n[1].substr(1,n[1].length-2);if(a.match(/"|'/))continue;r.push(a)}return r}(n):[]);for(var f in r.load.globals)r.load.globals[f]&&l.push(r.load.globals[f]);t.registerDynamic(l,!0,function(i,o,a){if(i.resolve=function(e){return lt.call(t,e,a.id)},a.paths=[],a.require=i,!r.load.cjsDeferDepsExecute&&c)for(var u=0;u<c.length;u++)i(c[u]);var s=ft(a.id),l={exports:o,args:[i,o,a,s.filename,s.dirname,Tt,Tt]},f="(function (require, exports, module, __filename, __dirname, global, GLOBAL";if(r.load.globals)for(var h in r.load.globals)l.args.push(i(r.load.globals[h])),f+=", "+h;var d=Tt.define;Tt.define=void 0,Tt.__cjsWrapper=l,n=f+") {"+n.replace(ze,"")+"\n}).apply(__cjsWrapper.exports, __cjsWrapper.args);";var p=st(t,n,r.load.sourceMap,e,r.load.integrity,r.load.nonce,!1);if(p)throw p;gt(r,o),Tt.__cjsWrapper=void 0,Tt.define=d}),o=i();break;case"global":for(var f in l=r.load.deps||[],r.load.globals){var h=r.load.globals[f];h&&l.push(h)}t.registerDynamic(l,!1,function(i,o,a){var u;if(r.load.globals)for(var s in u={},r.load.globals)r.load.globals[s]&&(u[s]=i(r.load.globals[s]));var c=r.load.exports;c&&(n+="\n"+Ne+'["'+c+'"] = '+c+";");var l=pt(a.id,c,u,r.load.encapsulateGlobal),f=st(t,n,r.load.sourceMap,e,r.load.integrity,r.load.nonce,!0);if(f)throw f;var h=l();return gt(r,h),h}),o=i();break;default:throw new TypeError('Unknown module format "'+r.load.format+'" for "'+e+'".'+("es6"===r.load.format?' Use "esm" instead here.':""))}if(!o)throw new Error("Module "+e+" detected as "+r.load.format+" but didn't execute correctly.")})}function mt(t){var e=t.match(Re);return e&&"System.register"===t.substr(e[0].length,15)}function bt(t,e){var n=t.split("!")[0];e.file&&e.file!=t||(e.file=n+"!transpiled"),(!e.sources||e.sources.length<=1&&(!e.sources[0]||e.sources[0]===t))&&(e.sources=[n])}function xt(t,e,n,r,i){if(!t.transpiler)throw new TypeError("Unable to dynamically transpile ES module\n A loader plugin needs to be configured via `SystemJS.config({ transpiler: 'transpiler-module' })`.");if(r.load.deps){for(var o="",a=0;a<r.load.deps.length;a++)o+='import "'+r.load.deps[a]+'"; ';e=o+e}return t.import.call(t,t.transpiler).then(function(i){if(!(i=i.__useDefault||i).translate)throw new Error(t.transpiler+" is not a valid transpiler plugin.");return i===r.pluginModule?e:("string"==typeof r.load.sourceMap&&(r.load.sourceMap=JSON.parse(r.load.sourceMap)),r.pluginLoad=r.pluginLoad||{name:n,address:n,source:e,metadata:r.load},r.load.deps=r.load.deps||[],Promise.resolve(i.translate.call(t,r.pluginLoad,r.traceOpts)).then(function(t){var e=r.load.sourceMap;return e&&"object"==typeof e&&bt(n,e),"esm"===r.load.format&&mt(t)&&(r.load.format="register"),t}))},function(t){throw u(t,"Unable to load transpiler to transpile "+n)})}function wt(t,e,n){for(var r,i=e.split(".");i.length>1;)t=t[r=i.shift()]=t[r]||{};void 0===t[r=i.shift()]&&(t[r]=n)}function _t(){y.call(this),this._loader={},this[Xt]={},this[Yt]={baseURL:Et,paths:{},packageConfigPaths:[],packageConfigKeys:[],map:{},packages:{},depCache:{},meta:{},bundles:{},production:!1,transpiler:void 0,loadedBundles:{},warnings:!1,pluginFirst:!1,wasm:!1},this.scriptSrc=De,this._nodeRequire=we,this.registry.set("@empty",Gt),St.call(this,!1,!1),ye(this)}function St(t,e){this[Yt].production=t,this.registry.set("@system-env",Ie=this.newModule({browser:Ot,node:!!this._nodeRequire,production:!e&&t,dev:e||!t,build:e,default:!0}))}function kt(t,e){C.call(t[Yt],"SystemJS."+e+" is deprecated for SystemJS.registry."+e)}var Et,Ot="undefined"!=typeof window&&"undefined"!=typeof document,Ct=void 0!==r&&r.versions&&r.versions.node,At=void 0!==r&&"string"==typeof r.platform&&r.platform.match(/^win/),Tt="undefined"!=typeof self?self:i,Mt="undefined"!=typeof Symbol;if("undefined"!=typeof document&&document.getElementsByTagName){if(!(Et=document.baseURI)){var Pt=document.getElementsByTagName("base");Et=Pt[0]&&Pt[0].href||window.location.href}}else"undefined"!=typeof location&&(Et=location.href);if(Et){var jt=(Et=Et.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==jt&&(Et=Et.substr(0,jt+1))}else{if(void 0===r||!r.cwd)throw new TypeError("No environment baseURI");Et="file://"+(At?"/":"")+r.cwd(),At&&(Et=Et.replace(/\\/g,"/"))}"/"!==Et[Et.length-1]&&(Et+="/");var Dt="_"==new Error(0,"_").fileName,It=Promise.resolve();f.prototype.constructor=f,f.prototype.import=function(t,e){if("string"!=typeof t)throw new TypeError("Loader import method must be passed a module key string");var n=this;return It.then(function(){return n[Ft](t,e)}).then(h).catch(function(n){throw u(n,"Loading "+t+(e?" from "+e:""))})};var Nt=f.resolve=a("resolve"),Ft=f.resolveInstantiate=a("resolveInstantiate");f.prototype[Ft]=function(t,e){var n=this;return n.resolve(t,e).then(function(t){return n.registry.get(t)})},f.prototype.resolve=function(t,e){var n=this;return It.then(function(){return n[Nt](t,e)}).then(d).catch(function(n){throw u(n,"Resolving "+t+(e?" to "+e:""))})};var Rt="undefined"!=typeof Symbol&&Symbol.iterator,Lt=a("registry");Rt&&(p.prototype[Symbol.iterator]=function(){return this.entries()[Symbol.iterator]()},p.prototype.entries=function(){var t=this[Lt];return l(Object.keys(t).map(function(e){return[e,t[e]]}))}),p.prototype.keys=function(){return l(Object.keys(this[Lt]))},p.prototype.values=function(){var t=this[Lt];return l(Object.keys(t).map(function(e){return t[e]}))},p.prototype.get=function(t){return this[Lt][t]},p.prototype.set=function(t,e){if(!(e instanceof v))throw new Error("Registry must be set with an instance of Module Namespace");return this[Lt][t]=e,this},p.prototype.has=function(t){return Object.hasOwnProperty.call(this[Lt],t)},p.prototype.delete=function(t){return!!Object.hasOwnProperty.call(this[Lt],t)&&(delete this[Lt][t],!0)};var Bt=a("baseObject");v.prototype=Object.create(null),"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(v.prototype,Symbol.toStringTag,{value:"Module"});var zt=a("register-internal");y.prototype=Object.create(f.prototype),y.prototype.constructor=y;var Vt=y.instantiate=a("instantiate");y.prototype[y.resolve=f.resolve]=function(t,e){return c(t,e||Et)},y.prototype[Vt]=function(t,e){},y.prototype[f.resolveInstantiate]=function(t,e){var n=this,r=this[zt],i=this.registry[Lt];return function(t,e,n,r,i){var o=r[e];if(o)return Promise.resolve(o);var a=i.records[e];return a&&!a.module?a.loadError?Promise.reject(a.loadError):b(t,a,a.linkRecord,r,i):t.resolve(e,n).then(function(e){if(o=r[e])return o;if((a=i.records[e])&&!a.module||(a=m(i,e,a&&a.registration)),a.loadError)return Promise.reject(a.loadError);var n=a.linkRecord;return n?b(t,a,n,r,i):a})}(n,t,e,i,r).then(function(t){if(t instanceof v)return t;var e=t.linkRecord;if(!e){if(t.module)return t.module;throw t.evalError}return function(t,e,n,r,i){return new Promise(function(n,o){function a(e){var n=e.linkRecord;n&&-1===s.indexOf(e)&&(s.push(e),c++,_(t,e,n,r,i).then(u,o))}function u(t){c--;var e=t.linkRecord;if(e)for(var r=0;r<e.dependencies.length;r++){var i=e.dependencyInstantiations[r];i instanceof v||a(i)}0===c&&n()}var s=[],c=0;a(e)})}(n,t,0,i,r).then(function(){return k(n,t,e,i,r,void 0)})})},y.prototype.register=function(t,e,n){var r=this[zt];void 0===n?r.lastRegister=[t,e,void 0]:(r.records[t]||m(r,t,void 0)).registration=[e,n,void 0]},y.prototype.registerDynamic=function(t,e,n,r){var i=this[zt];"string"!=typeof t?i.lastRegister=[t,e,n]:(i.records[t]||m(i,t,void 0)).registration=[e,n,r]},S.prototype.import=function(t){return this.loader.trace&&this.loader.loads[this.key].dynamicDeps.push(t),this.loader.import(t,this.key)};var Ut={};Object.freeze&&Object.freeze(Ut);var Ht,Wt,qt=Promise.resolve(),Gt=new v({}),Yt=a("loader-config"),Xt=a("metadata"),Kt="undefined"==typeof window&&"undefined"!=typeof self&&"undefined"!=typeof importScripts,$t=!1,Zt=!1;if(Ot&&function(){var t=document.createElement("link").relList;if(t&&t.supports){Zt=!0;try{$t=t.supports("preload")}catch(t){}}}(),Ot){var Jt=[],Qt=window.onerror;window.onerror=function(t,e){for(var n=0;n<Jt.length;n++)if(Jt[n].src===e)return void Jt[n].err(t);Qt&&Qt.apply(this,arguments)}}var te,ee=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF."'])require\s*\(\s*("[^"\\]*(?:\\.[^"\\]*)*"|'[^'\\]*(?:\\.[^'\\]*)*'|`[^`\\]*(?:\\.[^`\\]*)*`)\s*\)/g,ne="undefined"!=typeof XMLHttpRequest,re="undefined"!=typeof self&&void 0!==self.fetch?function(t,e,n,r){if("file:///"===t.substr(0,8)){if(ne)return R(t,e,0,r);throw new Error("Unable to fetch file URLs in this environment.")}t=t.replace(/#/g,"%23");var i={headers:{Accept:"application/x-es-module, */*"}};return n&&(i.integrity=n),e&&("string"==typeof e&&(i.headers.Authorization=e),i.credentials="include"),fetch(t,i).then(function(t){if(t.ok)return r?t.arrayBuffer():t.text();throw new Error("Fetch error: "+t.status+" "+t.statusText)})}:ne?R:void 0!==r?function(t,e,r,i){return"file:///"!=t.substr(0,8)?Promise.reject(new Error('Unable to fetch "'+t+'". Only file URLs of the form file:/// supported running in Node.')):(te=te||n("Po9p"),t=At?t.replace(/\//g,"\\").substr(8):t.substr(7),new Promise(function(e,n){te.readFile(t,function(t,r){if(t)return n(t);if(i)e(r);else{var o=r+"";"\ufeff"===o[0]&&(o=o.substr(1)),e(o)}})}))}:function(){throw new Error("No fetch method is defined for this environment.")},ie={},oe=["browser","node","dev","build","production","default"],ae=/#\{[^\}]+\}/,ue=["browserConfig","nodeConfig","devConfig","buildConfig","productionConfig"],se=void 0!==e;try{se&&"YQ=="!==new e("a").toString("base64")&&(se=!1)}catch(a){se=!1}var ce,le,fe,he,de="\n//# sourceMappingURL=data:application/json;base64,",pe=0,ve=!1;Ot&&"undefined"!=typeof document&&document.getElementsByTagName&&(window.chrome&&window.chrome.extension||navigator.userAgent.match(/^Node\.js/)||(ve=!0));var ge,ye=function(t){function e(n,r,i,o){if("object"==typeof n&&!(n instanceof Array))return e.apply(null,Array.prototype.splice.call(arguments,1,arguments.length-1));if("string"==typeof n&&"function"==typeof r&&(n=[n]),!(n instanceof Array)){if("string"==typeof n){var a=t.decanonicalize(n,o),u=t.get(a);if(!u)throw new Error('Module not already loaded loading "'+n+'" as '+a+(o?' from "'+o+'".':"."));return"__useDefault"in u?u.__useDefault:u}throw new TypeError("Invalid require")}for(var s=[],c=0;c<n.length;c++)s.push(t.import(n[c],o));Promise.all(s).then(function(t){r&&r.apply(null,t)},i)}function n(n,r,i){function o(n,o,c){for(var l=[],f=0;f<r.length;f++)l.push(n(r[f]));if(c.uri=c.id,c.config=O,-1!==s&&l.splice(s,0,c),-1!==u&&l.splice(u,0,o),-1!==a){var h=function(r,i,o){return"string"==typeof r&&"function"!=typeof i?n(r):e.call(t,r,i,o,c.id)};h.toUrl=function(e){return t.normalizeSync(e,c.id)},l.splice(a,0,h)}var d=Tt.require;Tt.require=e;var p=i.apply(-1===u?Tt:o,l);Tt.require=d,void 0!==p&&(c.exports=p)}var a,u,s;"string"!=typeof n&&(i=r,r=n,n=null),r instanceof Array||(r=["require","exports","module"].splice(0,(i=r).length)),"function"!=typeof i&&(i=function(t){return function(){return t}}(i)),n||xe&&(r=r.concat(xe),xe=void 0),-1!==(a=r.indexOf("require"))&&(r.splice(a,1),n||(r=r.concat(function(t,e){var n=((t=t.replace(_e,"")).match(Ce)[1].split(",")[e]||"require").replace(Ae,""),r=Te[n]||(Te[n]=new RegExp(Ee+n+Oe,"g"));r.lastIndex=0;for(var i,o=[];i=r.exec(t);)o.push(i[2]||i[3]);return o}(i.toString(),a)))),-1!==(u=r.indexOf("exports"))&&r.splice(u,1),-1!==(s=r.indexOf("module"))&&r.splice(s,1),n?(t.registerDynamic(n,r,!1,o),be?(be=void 0,Me=!0):Me||(be=[r,o])):t.registerDynamic(r,!1,Pe?vt(o):o)}t.set("@@cjs-helpers",t.newModule({requireResolve:lt.bind(t),getPathVars:ft})),t.set("@@global-helpers",t.newModule({prepareGlobal:pt})),n.amd={},t.amdDefine=n,t.amdRequire=e};"undefined"!=typeof window&&"undefined"!=typeof document&&window.location&&(ge=location.protocol+"//"+location.hostname+(location.port?":"+location.port:""));var me,be,xe,we,_e=/(^|[^\\])(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/gm,Se=/("[^"\\\n\r]*(\\.[^"\\\n\r]*)*"|'[^'\\\n\r]*(\\.[^'\\\n\r]*)*')/g,ke=["_g","sessionStorage","localStorage","clipboardData","frames","frameElement","external","mozAnimationStartTime","webkitStorageInfo","webkitIndexedDB","mozInnerScreenY","mozInnerScreenX"],Ee="(?:^|[^$_a-zA-Z\\xA0-\\uFFFF.])",Oe="\\s*\\(\\s*(\"([^\"]+)\"|'([^']+)')\\s*\\)",Ce=/\(([^\)]*)\)/,Ae=/^\s+|\s+$/g,Te={},Me=!1,Pe=!1,je=(Ot||Kt)&&"undefined"!=typeof navigator&&navigator.userAgent&&!navigator.userAgent.match(/MSIE (9|10).0/);void 0===r||r.browser||(we=void 0);var De,Ie,Ne="undefined"!=typeof self?"self":"global",Fe=/(^\s*|[}\);\n]\s*)(import\s*(['"]|(\*\s+as\s+)?(?!type)([^"'\(\)\n; ]+)\s*from\s*['"]|\{)|export\s+\*\s+from\s+["']|export\s*(\{|default|function|class|var|const|let|async\s+function))/,Re=/^(\s*\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)*\s*/,Le=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])define\s*\(\s*("[^"]+"\s*,\s*|'[^']+'\s*,\s*)?\s*(\[(\s*(("[^"]+"|'[^']+')\s*,|\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*(\s*("[^"]+"|'[^']+')\s*,?)?(\s*(\/\/.*\r?\n|\/\*(.|\s)*?\*\/))*\s*\]|function\s*|{|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*\))/,Be=/(?:^\uFEFF?|[^$_a-zA-Z\xA0-\uFFFF.])(exports\s*(\[['"]|\.)|module(\.exports|\['exports'\]|\["exports"\])\s*(\[['"]|[=,\.]))/,ze=/^\#\!.*/,Ve=/^(\s*\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\s*\/\/[^\n]*|\s*"[^"]+"\s*;?|\s*'[^']+'\s*;?)+/,Ue=/\/\*[^\*]*(\*(?!\/)[^\*]*)*\*\/|\/\/[^\n]*|"[^"]+"\s*;?|'[^']+'\s*;?/g;if("undefined"==typeof Promise)throw new Error("SystemJS needs a Promise polyfill.");if("undefined"!=typeof document){var He=document.getElementsByTagName("script"),We=He[He.length-1];document.currentScript&&(We.defer||We.async)&&(We=document.currentScript),De=We&&We.src}else if("undefined"!=typeof importScripts)try{throw new Error("_")}catch(a){a.stack.replace(/(?:at|@).*(http.+):[\d]+:[\d]+/,function(t,e){De=e})}else De=o;_t.prototype=Object.create(y.prototype),_t.prototype.constructor=_t,_t.prototype[_t.resolve=y.resolve]=_t.prototype.normalize=function(t,e){var n=this[Yt],r={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0},i=L(0,n,e),o=this;return Promise.resolve().then(function(){var n=t.lastIndexOf("#?");if(-1===n)return Promise.resolve(t);var r=Q.call(o,t.substr(n+2));return tt.call(o,r,e,!0).then(function(e){return e?t.substr(0,n):"@empty"})}).then(function(t){var a=H(n.pluginFirst,t);return a?(r.pluginKey=a.plugin,Promise.all([U.call(o,n,a.argument,i&&i.pluginArgument||e,r,i,!0),o.resolve(a.plugin,e)]).then(function(t){if(r.pluginArgument=t[0],r.pluginKey=t[1],r.pluginArgument===r.pluginKey)throw new Error("Plugin "+r.pluginArgument+" cannot load itself, make sure it is excluded from any wildcard meta configuration via a custom loader: false rule.");return W(n.pluginFirst,t[0],t[1])})):U.call(o,n,t,i&&i.pluginArgument||e,r,i,!1)}).then(function(t){return et.call(o,t,e,i)}).then(function(t){return function(t,e,n){n.load=n.load||{extension:"",deps:void 0,format:void 0,loader:void 0,scriptLoad:void 0,globals:void 0,nonce:void 0,integrity:void 0,sourceMap:void 0,exports:void 0,encapsulateGlobal:!1,crossOrigin:void 0,cjsRequireDetection:!0,cjsDeferDepsExecute:!1,esModule:!1};var r,i=0;for(var o in t.meta)if(-1!==(r=o.indexOf("*"))&&o.substr(0,r)===e.substr(0,r)&&o.substr(r+1)===e.substr(e.length-o.length+r+1)){var a=o.split("/").length;a>i&&(i=a),M(n.load,t.meta[o],i!==a)}if(t.meta[e]&&M(n.load,t.meta[e],!1),n.packageKey){var u=e.substr(n.packageKey.length+1),s={};n.packageConfig.meta&&(i=0,J(n.packageConfig.meta,u,function(t,e,n){n>i&&(i=n),M(s,e,n&&i>n)}),M(n.load,s,!1)),!n.packageConfig.format||n.pluginKey||n.load.loader||(n.load.format=n.load.format||n.packageConfig.format)}}.call(o,n,t,r),r.pluginKey||!r.load.loader?t:o.resolve(r.load.loader,t).then(function(e){return r.pluginKey=e,r.pluginArgument=t,t})}).then(function(t){return o[Xt][t]=r,t})},_t.prototype.load=function(t,e){return C.call(this[Yt],"System.load is deprecated."),this.import(t,e)},_t.prototype.decanonicalize=_t.prototype.normalizeSync=_t.prototype.resolveSync=function t(e,n){var r=this[Yt],i={pluginKey:void 0,pluginArgument:void 0,pluginModule:void 0,packageKey:void 0,packageConfig:void 0,load:void 0},o=o||L(0,r,n),a=H(r.pluginFirst,e);return a?(i.pluginKey=t.call(this,a.plugin,n),W(r.pluginFirst,V.call(this,r,a.argument,o.pluginArgument||n,i,o,!!i.pluginKey),i.pluginKey)):V.call(this,r,e,o.pluginArgument||n,i,o,!!i.pluginKey)},_t.prototype[_t.instantiate=y.instantiate]=function(t,e){var n=this,r=this[Yt];return(function(t,e,n){var r=t.depCache[n];if(r)for(a=0;a<r.length;a++)e.normalize(r[a],n).then(P);else{var i=!1;for(var o in t.bundles){for(var a=0;a<t.bundles[o].length;a++){var u=t.bundles[o][a];if(u===n){i=!0;break}if(-1!==u.indexOf("*")){var s=u.split("*");if(2!==s.length){t.bundles[o].splice(a--,1);continue}if(n.substr(0,s[0].length)===s[0]&&n.substr(n.length-s[1].length,s[1].length)===s[1]){i=!0;break}}}if(i)return e.import(o)}}}(r,this,t)||qt).then(function(){if(!e()){var i=n[Xt][t];if("@node/"===t.substr(0,6)){if(!n._nodeRequire)throw new TypeError("Error loading "+t+". Can only load node core modules in Node.");return n.registerDynamic([],!1,function(){return function(t,e){if("."===t[0])throw new Error("Node module "+t+" can't be loaded as it is not a package require.");if(!Wt){var n=this._nodeRequire("module"),r=decodeURI(e.substr(At?8:7));(Wt=new n(r)).paths=n._nodeModulePaths(r)}return Wt.require(t)}.call(n,t.substr(6),n.baseURL)}),void e()}return i.load.scriptLoad?!i.load.pluginKey&&je||(i.load.scriptLoad=!1,C.call(r,'scriptLoad not supported for "'+t+'"')):!1!==i.load.scriptLoad&&!i.load.pluginKey&&je&&(i.load.deps||i.load.globals||!("system"===i.load.format||"register"===i.load.format||"global"===i.load.format&&i.load.exports)||(i.load.scriptLoad=!0)),i.load.scriptLoad?new Promise(function(r,o){if("amd"===i.load.format&&Tt.define!==n.amdDefine)throw new Error("Loading AMD with scriptLoad requires setting the global `"+Ne+".define = SystemJS.amdDefine`");j(t,i.load.crossOrigin,i.load.integrity,function(){if(!e()){i.load.format="global";var t=i.load.exports&&dt(i.load.exports);n.registerDynamic([],!1,function(){return gt(i,t),t}),e()}r()},o)}):function(t,e,n){return n.pluginKey?t.import(n.pluginKey).then(function(t){n.pluginModule=t,n.pluginLoad={name:e,address:n.pluginArgument,source:void 0,metadata:n.load},n.load.deps=n.load.deps||[]}):qt}(n,t,i).then(function(){return function(t,e,n,r,i){return n.load.exports&&!n.load.format&&(n.load.format="global"),qt.then(function(){if(n.pluginModule&&n.pluginModule.locate)return Promise.resolve(n.pluginModule.locate.call(t,n.pluginLoad)).then(function(t){t&&(n.pluginLoad.address=t)})}).then(function(){return n.pluginModule?(i=!1,n.pluginModule.fetch?n.pluginModule.fetch.call(t,n.pluginLoad,function(t){return re(t.address,n.load.authorization,n.load.integrity,!1)}):re(n.pluginLoad.address,n.load.authorization,n.load.integrity,!1)):re(e,n.load.authorization,n.load.integrity,i)}).then(function(o){return i&&"string"!=typeof o?function(t,e,n){var r=new Uint8Array(e);return 0===r[0]&&97===r[1]&&115===r[2]?WebAssembly.compile(e).then(function(e){var r=[],i=[],o={};return WebAssembly.Module.imports&&WebAssembly.Module.imports(e).forEach(function(t){var e=t.module;i.push(function(t){o[e]=t}),-1===r.indexOf(e)&&r.push(e)}),t.register(r,function(t){return{setters:i,execute:function(){t(new WebAssembly.Instance(e,o).exports)}}}),n(),!0}):Promise.resolve(!1)}(t,o,r).then(function(i){if(!i){var a=Ot?new TextDecoder("utf-8").decode(new Uint8Array(o)):o.toString();return yt(t,e,a,n,r)}}):yt(t,e,o,n,r)})}(n,t,i,e,r.wasm)})}}).then(function(e){return delete n[Xt][t],e})},_t.prototype.config=function(t,e){var n,r=this,i=this[Yt];if("warnings"in t&&(i.warnings=t.warnings),"wasm"in t&&(i.wasm="undefined"!=typeof WebAssembly&&t.wasm),("production"in t||"build"in t)&&St.call(r,!!t.production,!!(t.build||Ie&&Ie.build)),!e)for(var o in nt(0,t,function(t){n=n||t.baseURL}),(n=n||t.baseURL)&&(i.baseURL=c(n,Et)||c("./"+n,Et),"/"!==i.baseURL[i.baseURL.length-1]&&(i.baseURL+="/")),t.paths&&A(i.paths,t.paths),nt(0,t,function(t){t.paths&&A(i.paths,t.paths)}),i.paths)-1!==i.paths[o].indexOf("*")&&(C.call(i,"Path config "+o+" -> "+i.paths[o]+" is no longer supported as wildcards are deprecated."),delete i.paths[o]);if(t.defaultJSExtensions&&C.call(i,"The defaultJSExtensions configuration option is deprecated.\n Use packages defaultExtension instead.",!0),"boolean"==typeof t.pluginFirst&&(i.pluginFirst=t.pluginFirst),t.map)for(var o in t.map){var a=t.map[o];if("string"==typeof a){var u=z.call(r,i,a,void 0,!1,!1);"/"===u[u.length-1]&&":"!==o[o.length-1]&&"/"!==o[o.length-1]&&(u=u.substr(0,u.length-1)),i.map[o]=u}else{g=(g=z.call(r,i,"/"!==o[o.length-1]?o+"/":o,void 0,!0,!0)).substr(0,g.length-1);var s=i.packages[g];s||((s=i.packages[g]={defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1}).defaultExtension=""),it(s,{map:a},g,!1,i)}}if(t.packageConfigPaths){for(var l=[],f=0;f<t.packageConfigPaths.length;f++){var h=t.packageConfigPaths[f],d=Math.max(h.lastIndexOf("*")+1,h.lastIndexOf("/")),p=z.call(r,i,h.substr(0,d),void 0,!1,!1);l[f]=p+h.substr(d)}i.packageConfigPaths=l}if(t.bundles)for(var o in t.bundles){var v=[];for(f=0;f<t.bundles[o].length;f++)v.push(r.normalizeSync(t.bundles[o][f]));i.bundles[o]=v}if(t.packages)for(var o in t.packages){if(o.match(/^([^\/]+:)?\/\/$/))throw new TypeError('"'+o+'" is not a valid package name.');var g=z.call(r,i,"/"!==o[o.length-1]?o+"/":o,void 0,!0,!0);g=g.substr(0,g.length-1),it(i.packages[g]=i.packages[g]||{defaultExtension:void 0,main:void 0,format:void 0,meta:void 0,map:void 0,packageConfig:void 0,configured:!1},t.packages[o],g,!1,i)}if(t.depCache)for(var o in t.depCache)i.depCache[r.normalizeSync(o)]=[].concat(t.depCache[o]);if(t.meta)for(var o in t.meta)if("*"===o[0])A(i.meta[o]=i.meta[o]||{},t.meta[o]);else{var y=z.call(r,i,o,void 0,!0,!0);A(i.meta[y]=i.meta[y]||{},t.meta[o])}for(var m in"transpiler"in t&&(i.transpiler=t.transpiler),t)-1===qe.indexOf(m)&&-1===ue.indexOf(m)&&(r[m]=t[m]);nt(0,t,function(t){r.config(t,!0)})},_t.prototype.getConfig=function(t){if(t){if(-1!==qe.indexOf(t))return rt(this[Yt],t);throw new Error('"'+t+'" is not a valid configuration name. Must be one of '+qe.join(", ")+".")}for(var e={},n=0;n<qe.length;n++){var r=qe[n],i=rt(this[Yt],r);void 0!==i&&(e[r]=i)}return e},_t.prototype.global=Tt,_t.prototype.import=function(){return y.prototype.import.apply(this,arguments).then(function(t){return"__useDefault"in t?t.__useDefault:t})};for(var qe=["baseURL","map","paths","packages","packageConfigPaths","depCache","meta","bundles","transpiler","warnings","pluginFirst","production","wasm"],Ge="undefined"!=typeof Proxy,Ye=0;Ye<qe.length;Ye++)!function(t){Object.defineProperty(_t.prototype,t,{get:function(){var e=rt(this[Yt],t);return Ge&&"object"==typeof e&&(e=new Proxy(e,{set:function(e,n){throw new Error("Cannot set SystemJS."+t+'["'+n+'"] directly. Use SystemJS.config({ '+t+': { "'+n+'": ... } }) rather.')}})),e},set:function(e){throw new Error("Setting `SystemJS."+t+"` directly is no longer supported. Use `SystemJS.config({ "+t+": ... })`.")}})}(qe[Ye]);_t.prototype.delete=function(t){return kt(this,"delete"),this.registry.delete(t)},_t.prototype.get=function(t){return kt(this,"get"),this.registry.get(t)},_t.prototype.has=function(t){return kt(this,"has"),this.registry.has(t)},_t.prototype.set=function(t,e){return kt(this,"set"),this.registry.set(t,e)},_t.prototype.newModule=function(t){return new v(t)},_t.prototype.isModule=function(t){return void 0===Ht&&(Ht="undefined"!=typeof Symbol&&!!Symbol.toStringTag),t instanceof v||Ht&&"[object Module]"==Object.prototype.toString.call(t)},_t.prototype.register=function(t,e,n){return"string"==typeof t&&(t=B.call(this,this[Yt],t)),y.prototype.register.call(this,t,e,n)},_t.prototype.registerDynamic=function(t,e,n,r){return"string"==typeof t&&(t=B.call(this,this[Yt],t)),y.prototype.registerDynamic.call(this,t,e,n,r)},_t.prototype.version="0.20.19 Dev";var Xe=new _t;(Ot||Kt)&&(Tt.SystemJS=Tt.System=Xe),t.exports&&(t.exports=Xe)}()}).call(this,n("tjlA").Buffer,n("8oxB"),n("yLpj"),"/index.js")},e7yV:function(t,e,n){var r=n("aCFj"),i=n("kJMx").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},e8zy:function(t,e){function n(){var t={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return t}var r=/javascript\s*\:/gim;e.whiteList=n(),e.getDefaultWhiteList=n,e.onAttr=function(t,e,n){},e.onIgnoreAttr=function(t,e,n){},e.safeAttrValue=function(t,e){return r.test(e)?"":e}},eHBW:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SketchPresetColors=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=s(n("q1tI")),o=s(n("17x9")),a=s(n("/FUP")),u=n("TM95");function s(t){return t&&t.__esModule?t:{default:t}}var c=e.SketchPresetColors=function(t){var e=t.colors,n=t.onClick,o=void 0===n?function(){}:n,s=t.onSwatchHover,c=(0,a.default)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!e||!e.length}),l=function(t,e){o({hex:t,source:"hex"},e)};return i.default.createElement("div",{style:c.colors,className:"flexbox-fix"},e.map(function(t){var e="string"==typeof t?{color:t}:t,n=""+e.color+(e.title||"");return i.default.createElement("div",{key:n,style:c.swatchWrap},i.default.createElement(u.Swatch,r({},e,{style:c.swatch,onClick:l,onHover:s,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+e.color}})))}))};c.propTypes={colors:o.default.arrayOf(o.default.oneOfType([o.default.string,o.default.shape({color:o.default.string,title:o.default.string})])).isRequired},e.default=c},eHKK:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},eI33:function(t,e,n){var r=n("XKFU"),i=n("aCFj"),o=n("ne8i");r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,a=[],u=0;n>u;)a.push(String(e[u++])),u<r&&a.push(String(arguments[u]));return a.join("")}})},eM6i:function(t,e,n){var r=n("XKFU");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},eM9k:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("mrSG"),i=n("q1tI"),o=r.__importDefault(n("n5OK"));e.default=function(t){var e=i.useRef(0),n=i.useState(t),r=n[0],a=n[1],u=i.useCallback(function(t){cancelAnimationFrame(e.current),e.current=requestAnimationFrame(function(){a(t)})},[]);return o.default(function(){cancelAnimationFrame(e.current)}),[r,u]}},eUgh:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}},eUtF:function(t,e,n){t.exports=!n("jmDH")&&!n("KUxP")(function(){return 7!=Object.defineProperty(n("Hsns")("div"),"a",{get:function(){return 7}}).a})},eYAL:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.clientHeight,n=getComputedStyle(t),r=n.paddingTop,i=n.paddingBottom;return e-parseFloat(r)-parseFloat(i)}},eZYK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"A11yText",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"DummyInput",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"NodeResolver",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ScrollBlock",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"ScrollCaptor",{enumerable:!0,get:function(){return u.default}});var r=s(n("f8dc")),i=s(n("EDp1")),o=s(n("VgJO")),a=s(n("oV1c")),u=s(n("ELae"));function s(t){return t&&t.__esModule?t:{default:t}}},eaoh:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},ebwN:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Map");t.exports=r},eeVq:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},ekgI:function(t,e,n){var r=n("YESw"),i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:i.call(e,t)}},elZq:function(t,e,n){"use strict";var r=n("dyZX"),i=n("hswa"),o=n("nh4g"),a=n("K0xU")("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},eyMr:function(t,e,n){var r=n("2OiF"),i=n("S/j/"),o=n("Ymqv"),a=n("ne8i");t.exports=function(t,e,n,u,s){r(e);var c=i(t),l=o(c),f=a(c.length),h=s?f-1:0,d=s?-1:1;if(n<2)for(;;){if(h in l){u=l[h],h+=d;break}if(h+=d,s?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;s?h>=0:f>h;h+=d)h in l&&(u=e(u,l[h],h,c));return u}},"f/aN":function(t,e,n){"use strict";var r=n("XKFU"),i=n("y3w9"),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n("QaDb")(o,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},"f3/d":function(t,e,n){var r=n("hswa").f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n("nh4g")&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},f8dc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=(r=n("q1tI"))&&r.__esModule?r:{default:r},o=n("PAeb");function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}var u=function(t){return i.default.createElement("span",a({className:(0,o.css)({zIndex:9999,border:0,clip:"rect(1px, 1px, 1px, 1px)",height:1,width:1,position:"absolute",overflow:"hidden",padding:0,whiteSpace:"nowrap",backgroundColor:"red",color:"blue"})},t))};e.default=u},fA63:function(t,e,n){"use strict";n("qncB")("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},fGT3:function(t,e,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},fN96:function(t,e,n){var r=n("XKFU");r(r.S,"Number",{isInteger:n("nBIS")})},"fR/l":function(t,e,n){var r=n("CH3K"),i=n("Z0cm");t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},fTiW:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var r=s(n("q1tI")),i=s(n("xv+5")),o=s(n("aLAa")),a=n("ragC"),u=n("4UG0");function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function h(t){var e=t.activeStartDate,n=(0,a.getBeginOfDecadeYear)(e),u=n+9;return r.default.createElement(i.default,f({},t,{className:"react-calendar__decade-view__years",dateTransform:function(t){return new Date(t,0,1)},dateType:"year",end:u,start:n,tile:o.default}))}h.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(n,!0).forEach(function(e){l(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},u.tileGroupProps)},fZtv:function(t,e,n){"use strict";(function(e){var n="__global_unique_id__";t.exports=function(){return e[n]=(e[n]||0)+1}}).call(this,n("yLpj"))},fcSX:function(t,e,n){"use strict";var r=n("q1tI"),i=n.n(r),o=n("i8i4"),a=n.n(o),u=n("17x9"),s=n.n(u),c=n("VCL8"),l=n("PIAm"),f=n("QC+M");function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var b=0,x=!("undefined"!=typeof window&&window.document&&window.document.createElement),w="createPortal"in a.a,_=function(t){function e(t){var n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,i=g(e).call(this,t),(n=!i||"object"!==p(i)&&"function"!=typeof i?y(r):i).getParent=function(){var t=n.props.getContainer;if(t){if("string"==typeof t)return document.querySelectorAll(t)[0];if("function"==typeof t)return t();if("object"===p(t)&&t instanceof window.HTMLElement)return t}return document.body},n.getContainer=function(){if(x)return null;n.container||(n.container=document.createElement("div"),n.getParent().appendChild(n.container));return n.setWrapperClassName(),n.container},n.setWrapperClassName=function(){var t=n.props.wrapperClassName;n.container&&t&&t!==n.container.className&&(n.container.className=t)},n.savePortal=function(t){n._component=t},n.removeCurrentContainer=function(t){n.container=null,n._component=null,w||(t?n.renderComponent({afterClose:n.removeContainer,onClose:function(){},visible:!1}):n.removeContainer())};var o=t.visible;return b=o?b+1:b,n.state={_self:y(n)},n}var n,r,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(e,i.a.Component),n=e,o=[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e._self,i=t.visible,o=t.getContainer;if(n){var a=n.visible,u=n.getContainer;i!==a&&(b=i&&!a?b+1:b-1),o!==u&&r.removeCurrentContainer(!1)}return{prevProps:t}}}],(r=[{key:"componentDidUpdate",value:function(){this.setWrapperClassName()}},{key:"componentWillUnmount",value:function(){var t=this.props.visible;b=t&&b?b-1:b,this.removeCurrentContainer(t)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,r=e.forceRender,o=e.visible,a=null,u={getOpenCount:function(){return b},getContainer:this.getContainer};return w?((r||o||this._component)&&(a=i.a.createElement(f.a,{getContainer:this.getContainer,ref:this.savePortal},n(u))),a):i.a.createElement(l.a,{parent:this,visible:o,autoDestroy:!1,getComponent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return n(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(n,!0).forEach(function(e){d(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},e,{},u,{ref:t.savePortal}))},getContainer:this.getContainer,forceRender:r},function(e){var n=e.renderComponent,r=e.removeContainer;return t.renderComponent=n,t.removeContainer=r,null})}}])&&v(n.prototype,r),o&&v(n,o),e}();_.propTypes={wrapperClassName:s.a.string,forceRender:s.a.bool,getContainer:s.a.any,children:s.a.func,visible:s.a.bool};var S,k=Object(c.polyfill)(_),E=n("TSYQ"),O=n.n(E);function C(t){if(t||void 0===S){var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var n=document.createElement("div"),r=n.style;r.position="absolute",r.top=0,r.left=0,r.pointerEvents="none",r.visibility="hidden",r.width="200px",r.height="150px",r.overflow="hidden",n.appendChild(e),document.body.appendChild(n);var i=e.offsetWidth;n.style.overflow="scroll";var o=e.offsetWidth;i===o&&(o=n.clientWidth),document.body.removeChild(n),S=i-o}return S}var A=n("4IlW"),T=function(t){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth){if(t)return document.body.style.position="",void(document.body.style.width="");var e=C();e&&(document.body.style.position="relative",document.body.style.width="calc(100% - ".concat(e,"px)"))}};var M={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend"},P=Object.keys(M).filter(function(t){if("undefined"==typeof document)return!1;var e=document.getElementsByTagName("html")[0];return t in(e?e.style:{})})[0],j=M[P];function D(t,e,n,r){t.addEventListener?t.addEventListener(e,n,r):t.attachEvent&&t.attachEvent("on".concat(e),n)}function I(t,e,n,r){t.removeEventListener?t.removeEventListener(e,n,r):t.attachEvent&&t.detachEvent("on".concat(e),n)}var N=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},F=!("undefined"!=typeof window&&window.document&&window.document.createElement),R=function t(e,n,r,i){if(!n||n===document||n instanceof Document)return!1;if(n===e.parentNode)return!0;var o=Math.max(Math.abs(r),Math.abs(i))===Math.abs(i),a=Math.max(Math.abs(r),Math.abs(i))===Math.abs(r),u=n.scrollHeight-n.clientHeight,s=n.scrollWidth-n.clientWidth,c=document.defaultView.getComputedStyle(n),l="auto"===c.overflowY||"scroll"===c.overflowY,f="auto"===c.overflowX||"scroll"===c.overflowX,h=u&&l,d=s&&f;return!!(o&&(!h||h&&(n.scrollTop>=u&&i<0||n.scrollTop<=0&&i>0))||a&&(!d||d&&(n.scrollLeft>=s&&s<0||n.scrollLeft<=0&&s>0)))&&t(e,n.parentNode,r,i)};function L(t){return(L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function B(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function z(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function V(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function H(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var q={},G=function(t){function e(t){var n,r,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=this,i=U(e).call(this,t),(n=!i||"object"!==L(i)&&"function"!=typeof i?H(r):i).domFocus=function(){n.dom&&n.dom.focus()},n.removeStartHandler=function(t){t.touches.length>1||(n.startPos={x:t.touches[0].clientX,y:t.touches[0].clientY})},n.removeMoveHandler=function(t){if(!(t.changedTouches.length>1)){var e=t.currentTarget,r=t.changedTouches[0].clientX-n.startPos.x,i=t.changedTouches[0].clientY-n.startPos.y;(e===n.maskDom||e===n.handlerDom||e===n.contentDom&&R(e,t.target,r,i))&&t.preventDefault()}},n.transitionEnd=function(t){var e=t.target;I(e,j,n.transitionEnd),e.style.transition=""},n.onKeyDown=function(t){if(t.keyCode===A.a.ESC){var e=n.props.onClose;t.stopPropagation(),e&&e(t)}},n.onWrapperTransitionEnd=function(t){var e=n.props,r=e.open,i=e.afterVisibleChange;t.target===n.contentWrapper&&t.propertyName.match(/transform$/)&&(n.dom.style.transition="",!r&&n.getCurrentDrawerSome()&&(document.body.style.overflowX="",n.maskDom&&(n.maskDom.style.left="",n.maskDom.style.width="")),i&&i(!!r))},n.openLevelTransition=function(){var t=n.props,e=t.open,r=t.width,i=t.height,o=n.getHorizontalBoolAndPlacementName(),a=o.isHorizontal,u=o.placementName,s=n.contentDom?n.contentDom.getBoundingClientRect()[a?"width":"height"]:0,c=(a?r:i)||s;n.setLevelAndScrolling(e,u,c)},n.setLevelTransform=function(t,e,r,i){var o=n.props,a=o.placement,u=o.levelMove,s=o.duration,c=o.ease,l=o.showMask;n.levelDom.forEach(function(o){o.style.transition="transform ".concat(s," ").concat(c),D(o,j,n.transitionEnd);var f,h,d,p=t?r:0;if(u){var v=(h={target:o,open:t},d="function"==typeof(f=u)?f(h):f,Array.isArray(d)?2===d.length?d:[d[0],d[1]]:[d]);p=t?v[0]:v[1]||0}var g="number"==typeof p?"".concat(p,"px"):p,y="left"===a||"top"===a?g:"-".concat(g);y=l&&"right"===a&&i?"calc(".concat(y," + ").concat(i,"px)"):y,o.style.transform=p?"".concat(e,"(").concat(y,")"):""})},n.setLevelAndScrolling=function(t,e,r){var i=n.props.onChange;if(!F){var o=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth?C(!0):0;n.setLevelTransform(t,e,r,o),n.toggleScrollingToDrawerAndBody(o)}i&&i(t)},n.toggleScrollingToDrawerAndBody=function(t){var e=n.props,r=e.getOpenCount,i=e.getContainer,o=e.showMask,a=e.open,u=i&&i(),s=r&&r();if(u&&u.parentNode===document.body&&o){var c=["touchstart"],l=[document.body,n.maskDom,n.handlerDom,n.contentDom];a&&"hidden"!==document.body.style.overflow?(t&&n.addScrollingEffect(t),1===s&&(document.body.style.overflow="hidden"),document.body.style.touchAction="none",l.forEach(function(t,e){t&&D(t,c[e]||"touchmove",e?n.removeMoveHandler:n.removeStartHandler,n.passive)})):n.getCurrentDrawerSome()&&(s||(document.body.style.overflow=""),document.body.style.touchAction="",t&&n.remScrollingEffect(t),l.forEach(function(t,e){t&&I(t,c[e]||"touchmove",e?n.removeMoveHandler:n.removeStartHandler,n.passive)}))}},n.addScrollingEffect=function(t){var e=n.props,r=e.placement,i=e.duration,o=e.ease,a=e.getOpenCount;1===(a&&a())&&T();var u="width ".concat(i," ").concat(o),s="transform ".concat(i," ").concat(o);switch(n.dom.style.transition="none",r){case"right":n.dom.style.transform="translateX(-".concat(t,"px)");break;case"top":case"bottom":n.dom.style.width="calc(100% - ".concat(t,"px)"),n.dom.style.transform="translateZ(0)"}clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.dom&&(n.dom.style.transition="".concat(s,",").concat(u),n.dom.style.width="",n.dom.style.transform="")})},n.remScrollingEffect=function(t){var e,r=n.props,i=r.placement,o=r.duration,a=r.ease,u=r.getOpenCount;u&&u()||T(!0),P&&(document.body.style.overflowX="hidden"),n.dom.style.transition="none";var s="width ".concat(o," ").concat(a),c="transform ".concat(o," ").concat(a);switch(i){case"left":n.dom.style.width="100%",s="width 0s ".concat(a," ").concat(o);break;case"right":n.dom.style.transform="translateX(".concat(t,"px)"),n.dom.style.width="100%",s="width 0s ".concat(a," ").concat(o),n.maskDom&&(n.maskDom.style.left="-".concat(t,"px"),n.maskDom.style.width="calc(100% + ".concat(t,"px)"));break;case"top":case"bottom":n.dom.style.width="calc(100% + ".concat(t,"px)"),n.dom.style.height="100%",n.dom.style.transform="translateZ(0)",e="height 0s ".concat(a," ").concat(o)}clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.dom&&(n.dom.style.transition="".concat(c,",").concat(e?"".concat(e,","):"").concat(s),n.dom.style.transform="",n.dom.style.width="",n.dom.style.height="")})},n.getCurrentDrawerSome=function(){return!Object.keys(q).some(function(t){return q[t]})},n.getLevelDom=function(t){var e=t.level,r=t.getContainer;if(!F){var i,o=r&&r(),a=o?o.parentNode:null;if(n.levelDom=[],"all"===e)(a?Array.prototype.slice.call(a.children):[]).forEach(function(t){"SCRIPT"!==t.nodeName&&"STYLE"!==t.nodeName&&"LINK"!==t.nodeName&&t!==o&&n.levelDom.push(t)});else e&&(i=e,Array.isArray(i)?i:[i]).forEach(function(t){document.querySelectorAll(t).forEach(function(t){n.levelDom.push(t)})})}},n.getHorizontalBoolAndPlacementName=function(){var t=n.props.placement,e="left"===t||"right"===t;return{isHorizontal:e,placementName:"translate".concat(e?"X":"Y")}},n.state={_self:H(n)},n}var n,i,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(e,r["Component"]),n=e,o=[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e._self,i={prevProps:t};if(void 0!==n){var o=t.placement,a=t.level;o!==n.placement&&(r.contentDom=null),a!==n.level&&r.getLevelDom(t)}return i}}],(i=[{key:"componentDidMount",value:function(){var t=this;if(!F){var e=!1;window.addEventListener("test",function(){},Object.defineProperty({},"passive",{get:function(){return e=!0,null}})),this.passive=!!e&&{passive:!1}}var n=this.props.open;this.drawerId="drawer_id_".concat(Number((Date.now()+Math.random()).toString().replace(".",Math.round(9*Math.random()).toString())).toString(16)),this.getLevelDom(this.props),n&&(q[this.drawerId]=n,this.openLevelTransition(),this.forceUpdate(function(){t.domFocus()}))}},{key:"componentDidUpdate",value:function(t){var e=this.props.open;e!==t.open&&(e&&this.domFocus(),q[this.drawerId]=!!e,this.openLevelTransition())}},{key:"componentWillUnmount",value:function(){var t=this.props,e=t.getOpenCount,n=t.open,r="function"==typeof e&&e();delete q[this.drawerId],n&&(this.setLevelTransform(!1),document.body.style.touchAction=""),r||(document.body.style.overflow="",T(!0))}},{key:"render",value:function(){var t,e=this,n=this.props,i=n.className,o=n.children,a=n.style,u=n.width,s=n.height,c=(n.defaultOpen,n.open),l=n.prefixCls,f=n.placement,h=(n.level,n.levelMove,n.ease,n.duration,n.getContainer,n.handler),d=(n.onChange,n.afterVisibleChange,n.showMask),p=n.maskClosable,v=n.maskStyle,g=n.onClose,y=n.onHandleClick,m=n.keyboard,b=(n.getOpenCount,z(n,["className","children","style","width","height","defaultOpen","open","prefixCls","placement","level","levelMove","ease","duration","getContainer","handler","onChange","afterVisibleChange","showMask","maskClosable","maskStyle","onClose","onHandleClick","keyboard","getOpenCount"])),x=!!this.dom&&c,w=O()(l,(B(t={},"".concat(l,"-").concat(f),!0),B(t,"".concat(l,"-open"),x),B(t,i||"",!!i),B(t,"no-mask",!d),t)),_=this.getHorizontalBoolAndPlacementName().placementName,S="left"===f||"top"===f?"-100%":"100%",k=x?"":"".concat(_,"(").concat(S,")"),E=h&&r.cloneElement(h,{onClick:function(t){h.props.onClick&&h.props.onClick(),y&&y(t)},ref:function(t){e.handlerDom=t}});return r.createElement("div",Object.assign({},b,{tabIndex:-1,className:w,style:a,ref:function(t){e.dom=t},onKeyDown:x&&m?this.onKeyDown:void 0,onTransitionEnd:this.onWrapperTransitionEnd}),d&&r.createElement("div",{className:"".concat(l,"-mask"),onClick:p?g:void 0,style:v,ref:function(t){e.maskDom=t}}),r.createElement("div",{className:"".concat(l,"-content-wrapper"),style:{transform:k,msTransform:k,width:N(u)?"".concat(u,"px"):u,height:N(s)?"".concat(s,"px"):s},ref:function(t){e.contentWrapper=t}},r.createElement("div",{className:"".concat(l,"-content"),ref:function(t){e.contentDom=t},onTouchStart:x&&d?this.removeStartHandler:void 0,onTouchMove:x&&d?this.removeMoveHandler:void 0},o),E))}}])&&V(n.prototype,i),o&&V(n,o),e}(),Y=Object(c.polyfill)(G);function X(t){return(X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function K(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function $(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Z(t,e){return!e||"object"!==X(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function J(t){return(J=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Q(t,e){return(Q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var tt=function(t){function e(t){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=Z(this,J(e).call(this,t))).onHandleClick=function(t){var e=n.props,r=e.onHandleClick,i=e.open;if(r&&r(t),void 0===i){var o=n.state.open;n.setState({open:!o})}},n.onClose=function(t){var e=n.props,r=e.onClose,i=e.open;r&&r(t),void 0===i&&n.setState({open:!1})};var r=void 0!==t.open?t.open:!!t.defaultOpen;return n.state={open:r},"onMaskClick"in t&&console.warn("`onMaskClick` are removed, please use `onClose` instead."),n}var n,i,o;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Q(t,e)}(e,r["Component"]),n=e,o=[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r={prevProps:t};return void 0!==n&&t.open!==n.open&&(r.open=t.open),r}}],(i=[{key:"render",value:function(){var t=this,e=this.props,n=(e.defaultOpen,e.getContainer),i=e.wrapperClassName,o=e.forceRender,a=e.handler,u=K(e,["defaultOpen","getContainer","wrapperClassName","forceRender","handler"]),s=this.state.open;if(!n)return r.createElement("div",{className:i,ref:function(e){t.dom=e}},r.createElement(Y,Object.assign({},u,{open:s,handler:a,getContainer:function(){return t.dom},onClose:this.onClose,onHandleClick:this.onHandleClick})));var c=!!a||o;return r.createElement(k,{visible:s,forceRender:c,getContainer:n,wrapperClassName:i},function(e){var n=e.visible,i=e.afterClose,o=K(e,["visible","afterClose"]);return r.createElement(Y,Object.assign({},u,o,{open:void 0!==n?n:s,afterVisibleChange:void 0!==i?i:u.afterVisibleChange,handler:a,onClose:t.onClose,onHandleClick:t.onHandleClick}))})}}])&&$(n.prototype,i),o&&$(n,o),e}();tt.defaultProps={prefixCls:"drawer",placement:"left",getContainer:"body",defaultOpen:!1,level:"all",duration:".3s",ease:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",onChange:function(){},afterVisibleChange:function(){},handler:r.createElement("div",{className:"drawer-handle"},r.createElement("i",{className:"drawer-handle-icon"})),showMask:!0,maskClosable:!0,maskStyle:{},wrapperClassName:"",className:"",keyboard:!0,forceRender:!1};var et=Object(c.polyfill)(tt);e.a=et},fmRc:function(t,e,n){var r=n("Xi7e"),i=n("77Zs"),o=n("L8xA"),a=n("gCq4"),u=n("VaNO"),s=n("0Cz8");function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=u,c.prototype.set=s,t.exports=c},fpC5:function(t,e,n){var r=n("2faE"),i=n("5K7Z"),o=n("w6GO");t.exports=n("jmDH")?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),u=a.length,s=0;u>s;)r.f(t,n=a[s++],e[n]);return t}},ftKO:function(t,e){var n="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,n),this}},fyDq:function(t,e,n){var r=n("hswa").f,i=n("aagx"),o=n("K0xU")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},fyVe:function(t,e,n){var r=n("XKFU"),i=n("1sa7"),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},g2aq:function(t,e,n){"use strict";n("W9dy"),n("FDph"),n("Yp8f"),n("wYy3"),n("QNwp"),n("Izvi"),n("ln0Z"),n("wDwx"),n("+Xmh"),n("zFFn"),n("JbTB"),n("TIpR"),n("FxUG"),n("ls82")},g3g5:function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},g4EE:function(t,e,n){"use strict";var r=n("y3w9"),i=n("apmT");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},g6HL:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},gCq4:function(t,e){t.exports=function(t){return this.__data__.get(t)}},gFfm:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},gG62:function(t,e,n){(function(e){t.exports=e.$=n("EVdn")}).call(this,n("yLpj"))},gHnn:function(t,e,n){var r=n("dyZX"),i=n("GZEu").set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,s="process"==n("LZWt")(a);t.exports=function(){var t,e,n,c=function(){var r,i;for(s&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(s)n=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var l=u.resolve(void 0);n=function(){l.then(c)}}else n=function(){i.call(r,c)};else{var f=!0,h=document.createTextNode("");new o(c).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},gI3B:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("6blF"),i=n("T1DM"),o=n("/21U"),a=n("nkY7");function u(t,e,n){void 0===t&&(t=0);var u=-1;return Object(o.a)(e)?u=Number(e)<1?1:Number(e):Object(a.a)(e)&&(n=e),Object(a.a)(n)||(n=i.a),new r.a(function(e){var r=Object(o.a)(t)?t:+t-n.now();return n.schedule(s,r,{index:0,period:u,subscriber:e})})}function s(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}},gQMU:function(t,e,n){var r=n("0ZTe")("toUpperCase");t.exports=r},gpbi:function(t,e,n){var r=n("ZWtO"),i=n("KxBF");t.exports=function(t,e){return e.length<2?t:r(t,i(e,0,-1))}},"h/M4":function(t,e,n){var r=n("XKFU");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},h1NE:function(t,e){t.exports={indexOf:function(t,e){var n,r;if(Array.prototype.indexOf)return t.indexOf(e);for(n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},forEach:function(t,e,n){var r,i;if(Array.prototype.forEach)return t.forEach(e,n);for(r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}}},h27F:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.renderViewDefault=function(t){return a.default.createElement("div",t)},e.renderTrackHorizontalDefault=function(t){var e=t.style,n=u(t,["style"]),i=r({},e,{right:2,bottom:2,left:2,borderRadius:3});return a.default.createElement("div",r({style:i},n))},e.renderTrackVerticalDefault=function(t){var e=t.style,n=u(t,["style"]),i=r({},e,{right:2,bottom:2,top:2,borderRadius:3});return a.default.createElement("div",r({style:i},n))},e.renderThumbHorizontalDefault=function(t){var e=t.style,n=u(t,["style"]),i=r({},e,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return a.default.createElement("div",r({style:i},n))},e.renderThumbVerticalDefault=function(t){var e=t.style,n=u(t,["style"]),i=r({},e,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return a.default.createElement("div",r({style:i},n))};var i,o=n("q1tI"),a=(i=o)&&i.__esModule?i:{default:i};function u(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},h7Nl:function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n("KroJ")(r,"toString",function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"})},h9Dq:function(t,e,n){"use strict";var r=n("mrSG"),i=function(t){function e(e,n){return t.call(this)||this}return r.__extends(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(n("pugT").a);n.d(e,"a",function(){return o});var o=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return r.__extends(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(i)},hDam:function(t,e){t.exports=function(){}},hEkN:function(t,e,n){"use strict";n("OGtf")("anchor",function(t){return function(e){return t(this,"a","name",e)}})},hHhE:function(t,e,n){var r=n("XKFU");r(r.S,"Object",{create:n("Kuth")})},hLT2:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},hOhr:function(t,e){t.exports=function t(e){if(r(e))return e;if(r(e.ownerDocument))return e.ownerDocument;if(r(e.document))return e.document;if(e.parentNode)return t(e.parentNode);if(e.commonAncestorContainer)return t(e.commonAncestorContainer);if(e.startContainer)return t(e.startContainer);if(e.anchorNode)return t(e.anchorNode)};var n=9;function r(t){return t&&t.nodeType===n}},hPIQ:function(t,e){t.exports={}},heNW:function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},hgQt:function(t,e,n){var r=n("Juji"),i=n("4sDh");t.exports=function(t,e){return null!=t&&i(t,e,r)}},hhXQ:function(t,e,n){var r=n("XKFU"),i=n("UExd")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},hsBP:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFilter=void 0;var r=n("b5q1");function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=function(t){return t.replace(/^\s+|\s+$/g,"")},a=function(t){return"".concat(t.label," ").concat(t.value)};e.createFilter=function(t){return function(e,n){var u=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){i(t,e,n[e])})}return t}({ignoreCase:!0,ignoreAccents:!0,stringify:a,trim:!0,matchFrom:"any"},t),s=u.ignoreCase,c=u.ignoreAccents,l=u.stringify,f=u.trim,h=u.matchFrom,d=f?o(n):n,p=f?o(l(e)):l(e);return s&&(d=d.toLowerCase(),p=p.toLowerCase()),c&&(d=(0,r.stripDiacritics)(d),p=(0,r.stripDiacritics)(p)),"start"===h?p.substr(0,d.length)===d:p.indexOf(d)>-1}}},hswa:function(t,e,n){var r=n("y3w9"),i=n("xpql"),o=n("apmT"),a=Object.defineProperty;e.f=n("nh4g")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},hypo:function(t,e,n){var r=n("O0oS");t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},"i/BV":function(t,e,n){t.exports=n("0P37")},i5dc:function(t,e,n){var r=n("0/R4"),i=n("y3w9"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n("m0Pp")(Function.call,n("EemH").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},i7Pf:function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"b",function(){return f}),n.d(e,"c",function(){return d});var r=n("ANjH"),i=n("V/h/"),o=(n("G4qV"),n("5HXA")),a=n("sINF");n("BQ0V");function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}var c=!0;function l(t){var e,n=t||{},i=n.reducer,l=void 0===i?void 0:i,f=n.middleware,h=void 0===f?function(t){void 0===t&&(t={});var e=t,n=e.thunk,r=void 0===n||n,i=(e.immutableCheck,e.serializableCheck,[]);return r&&("boolean"==typeof r?i.push(a.a):i.push(a.a.withExtraArgument(r.extraArgument))),i}():f,d=n.devTools,p=void 0===d||d,v=n.preloadedState,g=void 0===v?void 0:v,y=n.enhancers,m=void 0===y?void 0:y;if("function"==typeof l)e=l;else{if(!s(l))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');e=Object(r.combineReducers)(l)}var b=r.applyMiddleware.apply(void 0,h),x=r.compose;p&&(x=Object(o.composeWithDevTools)(u({trace:!c},"object"==typeof p&&p)));var w=[b];Array.isArray(m)?w=[b].concat(m):"function"==typeof m&&(w=m(w));var _=x.apply(void 0,w);return Object(r.createStore)(e,g,_)}function f(t,e){function n(){if(e){var n=e.apply(void 0,arguments);if(!n)throw new Error("prepareAction did not return an object");return u({type:t,payload:n.payload},"meta"in n&&{meta:n.meta},{},"error"in n&&{error:n.error})}return{type:t,payload:arguments.length<=0?void 0:arguments[0]}}return n.toString=function(){return""+t},n.type=t,n.match=function(e){return e.type===t},n}function h(t){var e={},n={addCase:function(t,r){var i="string"==typeof t?t:t.type;if(i in e)throw new Error("addCase cannot be called with two reducers for the same action type");return e[i]=r,n}};return t(n),e}function d(t){var e=t.name,n=t.initialState;if(!e)throw new Error("`name` is a required option for createSlice");var r=t.reducers||{},o=void 0===t.extraReducers?{}:"function"==typeof t.extraReducers?h(t.extraReducers):t.extraReducers,a=Object.keys(r),s={},c={},l={};a.forEach(function(t){var n,i,o=r[t],a=e+"/"+t;"reducer"in o?(n=o.reducer,i=o.prepare):n=o,s[t]=n,c[a]=n,l[t]=i?f(a,i):f(a)});var d=function(t,e){var n="function"==typeof e?h(e):e;return function(e,r){return void 0===e&&(e=t),Object(i.a)(e,function(t){var e=n[r.type];return e?e(t,r):void 0})}}(n,u({},o,{},c));return{name:e,reducer:d,actions:l,caseReducers:s}}},i8i4:function(t,e,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),t.exports=n("yl30")},iCc5:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},iF6m:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.GroupHeading=e.groupHeadingCSS=e.groupCSS=void 0;var r,i=(r=n("q1tI"))&&r.__esModule?r:{default:r},o=n("PAeb");function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){u(t,e,n[e])})}return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}e.groupCSS=function(t){var e=t.theme.spacing;return{paddingBottom:2*e.baseUnit,paddingTop:2*e.baseUnit}};e.groupHeadingCSS=function(t){var e=t.theme.spacing;return{color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*e.baseUnit,paddingRight:3*e.baseUnit,textTransform:"uppercase"}};e.GroupHeading=function(t){var e=t.className,n=t.cx,r=t.getStyles,u=t.theme,l=(t.selectProps,s(t,["className","cx","getStyles","theme","selectProps"]));return i.default.createElement("div",c({className:n((0,o.css)(r("groupHeading",a({theme:u},l))),{"group-heading":!0},e)},l))};var l=function(t){var e=t.children,n=t.className,r=t.cx,a=t.getStyles,u=t.Heading,s=t.headingProps,l=t.label,f=t.theme,h=t.selectProps;return i.default.createElement("div",{className:r((0,o.css)(a("group",t)),{group:!0},n)},i.default.createElement(u,c({},s,{selectProps:h,theme:f,getStyles:a,cx:r}),l),i.default.createElement("div",null,e))};e.default=l},iGDq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GithubSwatch=void 0;var r=u(n("q1tI")),i=n("/FUP"),o=u(i),a=n("TM95");function u(t){return t&&t.__esModule?t:{default:t}}var s=e.GithubSwatch=function(t){var e=t.hover,n=t.color,i=t.onClick,u=t.onSwatchHover,s={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},c=(0,o.default)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:s}},{hover:e});return r.default.createElement("div",{style:c.swatch},r.default.createElement(a.Swatch,{color:n,onClick:i,onHover:u,focusStyle:s}))};e.default=(0,i.handleHover)(s)},iIeY:function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){try{return function t(e,n){if(e===n)return!0;if(e&&n&&"object"==r(e)&&"object"==r(n)){var u,s,c,l=i(e),f=i(n);if(l&&f){if((s=e.length)!=n.length)return!1;for(u=s;0!=u--;)if(!t(e[u],n[u]))return!1;return!0}if(l!=f)return!1;var h=e instanceof Date,d=n instanceof Date;if(h!=d)return!1;if(h&&d)return e.getTime()==n.getTime();var p=e instanceof RegExp,v=n instanceof RegExp;if(p!=v)return!1;if(p&&v)return e.toString()==n.toString();var g=o(e);if((s=g.length)!==o(n).length)return!1;for(u=s;0!=u--;)if(!a.call(n,g[u]))return!1;for(u=s;0!=u--;)if(!("_owner"===(c=g[u])&&e.$$typeof||t(e[c],n[c])))return!1;return!0}return e!=e&&n!=n}(t,e)}catch(t){if(t.message&&t.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}};var i=Array.isArray,o=Object.keys,a=Object.prototype.hasOwnProperty},iLxQ:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){t&&(new Error).stack;r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},iMoV:function(t,e,n){var r=n("hswa"),i=n("XKFU"),o=n("y3w9"),a=n("apmT");i(i.S+i.F*n("eeVq")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},iR1w:function(t,e,n){"use strict";var r=n("wx14");function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function o(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var a=n("Wwog"),u=n("q1tI");n("zLVn");n.d(e,"a",function(){return v});var s="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function c(t){cancelAnimationFrame(t.id)}function l(t,e){var n=s();var r={id:requestAnimationFrame(function i(){s()-n>=e?t.call(null):r.id=requestAnimationFrame(i)})};return r}var f=150,h=function(t,e){return t};function d(t){var e,n,s=t.getItemOffset,d=t.getEstimatedTotalSize,v=t.getItemSize,g=t.getOffsetForIndexAndAlignment,y=t.getStartIndexForOffset,m=t.getStopIndexForStartIndex,b=t.initInstanceProps,x=t.shouldResetStyleCacheOnItemSizeChange,w=t.validateProps;return n=e=function(t){function e(e){var n;return(n=t.call(this,e)||this)._instanceProps=b(n.props,o(o(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:o(o(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Object(a.default)(function(t,e,r,i){return n.props.onItemsRendered({overscanStartIndex:t,overscanStopIndex:e,visibleStartIndex:r,visibleStopIndex:i})}),n._callOnScroll=void 0,n._callOnScroll=Object(a.default)(function(t,e,r){return n.props.onScroll({scrollDirection:t,scrollOffset:e,scrollUpdateWasRequested:r})}),n._getItemStyle=void 0,n._getItemStyle=function(t){var e,r=n.props,i=r.direction,o=r.itemSize,a=r.layout,u=n._getItemStyleCache(x&&o,x&&a,x&&i);if(u.hasOwnProperty(t))e=u[t];else{var c,l=s(n.props,t,n._instanceProps),f=v(n.props,t,n._instanceProps),h="horizontal"===i||"horizontal"===a;u[t]=((c={position:"absolute"})["rtl"===i?"right":"left"]=h?l:0,c.top=h?0:l,c.height=h?"100%":f,c.width=h?f:"100%",e=c)}return e},n._getItemStyleCache=void 0,n._getItemStyleCache=Object(a.default)(function(t,e,n){return{}}),n._onScrollHorizontal=function(t){var e=t.currentTarget,r=e.clientWidth,i=e.scrollLeft,o=e.scrollWidth;n.setState(function(t){if(t.scrollOffset===i)return null;var e=n.props.direction,a=i;return"rtl"===e&&(a=i<=0?-a:o-r-i),{isScrolling:!0,scrollDirection:t.scrollOffset<i?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}},n._resetIsScrollingDebounced)},n._onScrollVertical=function(t){var e=t.currentTarget.scrollTop;n.setState(function(t){return t.scrollOffset===e?null:{isScrolling:!0,scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!1}},n._resetIsScrollingDebounced)},n._outerRefSetter=function(t){var e=n.props.outerRef;n._outerRef=t,"function"==typeof e?e(t):null!=e&&"object"==typeof e&&e.hasOwnProperty("current")&&(e.current=t)},n._resetIsScrollingDebounced=function(){null!==n._resetIsScrollingTimeoutId&&c(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=l(n._resetIsScrolling,f)},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},function(){n._getItemStyleCache(-1,null)})},n}i(e,t),e.getDerivedStateFromProps=function(t,e){return p(t,e),w(t),null};var n=e.prototype;return n.scrollTo=function(t){this.setState(function(e){return{scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},n.scrollToItem=function(t,e){void 0===e&&(e="auto");var n=this.state.scrollOffset;this.scrollTo(g(this.props,t,e,n,this._instanceProps))},n.componentDidMount=function(){var t=this.props,e=t.direction,n=t.initialScrollOffset,r=t.layout;"number"==typeof n&&null!==this._outerRef&&("horizontal"===e||"horizontal"===r?this._outerRef.scrollLeft=n:this._outerRef.scrollTop=n),this._callPropsCallbacks()},n.componentDidUpdate=function(){var t=this.props,e=t.direction,n=t.layout,r=this.state,i=r.scrollOffset;r.scrollUpdateWasRequested&&null!==this._outerRef&&("horizontal"===e||"horizontal"===n?this._outerRef.scrollLeft=i:this._outerRef.scrollTop=i),this._callPropsCallbacks()},n.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&c(this._resetIsScrollingTimeoutId)},n.render=function(){var t=this.props,e=t.children,n=t.className,i=t.direction,o=t.height,a=t.innerRef,s=t.innerElementType,c=t.innerTagName,l=t.itemCount,f=t.itemData,p=t.itemKey,v=void 0===p?h:p,g=t.layout,y=t.outerElementType,m=t.outerTagName,b=t.style,x=t.useIsScrolling,w=t.width,_=this.state.isScrolling,S="horizontal"===i||"horizontal"===g,k=S?this._onScrollHorizontal:this._onScrollVertical,E=this._getRangeToRender(),O=E[0],C=E[1],A=[];if(l>0)for(var T=O;T<=C;T++)A.push(Object(u.createElement)(e,{data:f,key:v(T,f),index:T,isScrolling:x?_:void 0,style:this._getItemStyle(T)}));var M=d(this.props,this._instanceProps);return Object(u.createElement)(y||m||"div",{className:n,onScroll:k,ref:this._outerRefSetter,style:Object(r.a)({position:"relative",height:o,width:w,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:i},b)},Object(u.createElement)(s||c||"div",{children:A,ref:a,style:{height:S?"100%":M,pointerEvents:_?"none":"",width:S?M:"100%"}}))},n._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var t=this._getRangeToRender(),e=t[0],n=t[1],r=t[2],i=t[3];this._callOnItemsRendered(e,n,r,i)}if("function"==typeof this.props.onScroll){var o=this.state,a=o.scrollDirection,u=o.scrollOffset,s=o.scrollUpdateWasRequested;this._callOnScroll(a,u,s)}},n._getRangeToRender=function(){var t=this.props,e=t.itemCount,n=t.overscanCount,r=this.state,i=r.isScrolling,o=r.scrollDirection,a=r.scrollOffset;if(0===e)return[0,0,0,0];var u=y(this.props,a,this._instanceProps),s=m(this.props,u,a,this._instanceProps),c=i&&"backward"!==o?1:Math.max(1,n),l=i&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,u-c),Math.max(0,Math.min(e-1,s+l)),u,s]},e}(u.PureComponent),e.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var p=function(t,e){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,e.instance},v=d({getItemOffset:function(t,e){var n=t.itemSize;t.size;return e*n},getItemSize:function(t,e){var n=t.itemSize;t.size;return n},getEstimatedTotalSize:function(t){var e=t.itemCount;return t.itemSize*e},getOffsetForIndexAndAlignment:function(t,e,n,r){var i=t.direction,o=t.height,a=t.itemCount,u=t.itemSize,s=t.layout,c=t.width,l="horizontal"===i||"horizontal"===s?c:o,f=Math.max(0,Math.min(a*u-l,e*u)),h=Math.max(0,e*u-l+u);switch(n){case"start":return f;case"end":return h;case"center":return Math.round(h+(f-h)/2);case"auto":default:return r>=h&&r<=f?r:r-h<f-r?h:f}},getStartIndexForOffset:function(t,e){var n=t.itemCount,r=t.itemSize;return Math.max(0,Math.min(n-1,Math.floor(e/r)))},getStopIndexForStartIndex:function(t,e,n){var r=t.direction,i=t.height,o=t.itemCount,a=t.itemSize,u=t.layout,s=t.width,c=e*a,l="horizontal"===r||"horizontal"===u?s:i;return Math.max(0,Math.min(o-1,e+Math.floor((l+(n-c))/a)))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){t.itemSize}})},idmN:function(t,e,n){var r=n("ZWtO"),i=n("FZoo"),o=n("4uTw");t.exports=function(t,e,n){for(var a=-1,u=e.length,s={};++a<u;){var c=e[a],l=r(t,c);n(l,c)&&i(s,o(c,t),l)}return s}},ijCd:function(t,e,n){var r=n("R/W3"),i=n("MMmD"),o=n("4qC0"),a=n("Sxd8"),u=n("P/G1"),s=Math.max;t.exports=function(t,e,n,c){t=i(t)?t:u(t),n=n&&!c?a(n):0;var l=t.length;return n<0&&(n=s(l+n,0)),o(t)?n<=l&&t.indexOf(e,n)>-1:!!l&&r(t,e,n)>-1}},imBb:function(t,e,n){var r;!function(i,o,a){if(i){for(var u,s={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},c={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},l={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},f={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},h=1;h<20;++h)s[111+h]="f"+h;for(h=0;h<=9;++h)s[h+96]=h.toString();m.prototype.bind=function(t,e,n){return t=t instanceof Array?t:[t],this._bindMultiple.call(this,t,e,n),this},m.prototype.unbind=function(t,e){return this.bind.call(this,t,function(){},e)},m.prototype.trigger=function(t,e){return this._directMap[t+":"+e]&&this._directMap[t+":"+e]({},t),this},m.prototype.reset=function(){return this._callbacks={},this._directMap={},this},m.prototype.stopCallback=function(t,e){if((" "+e.className+" ").indexOf(" mousetrap ")>-1)return!1;if(function t(e,n){return null!==e&&e!==o&&(e===n||t(e.parentNode,n))}(e,this.target))return!1;if("composedPath"in t&&"function"==typeof t.composedPath){var n=t.composedPath()[0];n!==t.target&&(e=n)}return"INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable},m.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)},m.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(s[e]=t[e]);u=null},m.init=function(){var t=m(o);for(var e in t)"_"!==e.charAt(0)&&(m[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},m.init(),i.Mousetrap=m,t.exports&&(t.exports=m),void 0===(r=function(){return m}.call(e,n,e,t))||(t.exports=r)}function d(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)}function p(t){if("keypress"==t.type){var e=String.fromCharCode(t.which);return t.shiftKey||(e=e.toLowerCase()),e}return s[t.which]?s[t.which]:c[t.which]?c[t.which]:String.fromCharCode(t.which).toLowerCase()}function v(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function g(t,e,n){return n||(n=function(){if(!u)for(var t in u={},s)t>95&&t<112||s.hasOwnProperty(t)&&(u[s[t]]=t);return u}()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function y(t,e){var n,r,i,o=[];for(n=function(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus")).split("+")}(t),i=0;i<n.length;++i)r=n[i],f[r]&&(r=f[r]),e&&"keypress"!=e&&l[r]&&(r=l[r],o.push("shift")),v(r)&&o.push(r);return{key:r,modifiers:o,action:e=g(r,o,e)}}function m(t){var e=this;if(t=t||o,!(e instanceof m))return new m(t);e.target=t,e._callbacks={},e._directMap={};var n,r={},i=!1,a=!1,u=!1;function s(t){t=t||{};var e,n=!1;for(e in r)t[e]?n=!0:r[e]=0;n||(u=!1)}function c(t,n,i,o,a,u){var s,c,l,f,h=[],d=i.type;if(!e._callbacks[t])return[];for("keyup"==d&&v(t)&&(n=[t]),s=0;s<e._callbacks[t].length;++s)if(c=e._callbacks[t][s],(o||!c.seq||r[c.seq]==c.level)&&d==c.action&&("keypress"==d&&!i.metaKey&&!i.ctrlKey||(l=n,f=c.modifiers,l.sort().join(",")===f.sort().join(",")))){var p=!o&&c.combo==a,g=o&&c.seq==o&&c.level==u;(p||g)&&e._callbacks[t].splice(s,1),h.push(c)}return h}function l(t,n,r,i){e.stopCallback(n,n.target||n.srcElement,r,i)||!1===t(n,r)&&(function(t){t.preventDefault?t.preventDefault():t.returnValue=!1}(n),function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0}(n))}function f(t){"number"!=typeof t.which&&(t.which=t.keyCode);var n=p(t);n&&("keyup"!=t.type||i!==n?e.handleKey(n,function(t){var e=[];return t.shiftKey&&e.push("shift"),t.altKey&&e.push("alt"),t.ctrlKey&&e.push("ctrl"),t.metaKey&&e.push("meta"),e}(t),t):i=!1)}function h(t,e,o,a){function c(e){return function(){u=e,++r[t],clearTimeout(n),n=setTimeout(s,1e3)}}function f(e){l(o,e,t),"keyup"!==a&&(i=p(e)),setTimeout(s,10)}r[t]=0;for(var h=0;h<e.length;++h){var d=h+1===e.length?f:c(a||y(e[h+1]).action);g(e[h],d,a,t,h)}}function g(t,n,r,i,o){e._directMap[t+":"+r]=n;var a,u=(t=t.replace(/\s+/g," ")).split(" ");u.length>1?h(t,u,n,r):(a=y(t,r),e._callbacks[a.key]=e._callbacks[a.key]||[],c(a.key,a.modifiers,{type:a.action},i,t,o),e._callbacks[a.key][i?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:i,level:o,combo:t}))}e._handleKey=function(t,e,n){var r,i=c(t,e,n),o={},f=0,h=!1;for(r=0;r<i.length;++r)i[r].seq&&(f=Math.max(f,i[r].level));for(r=0;r<i.length;++r)if(i[r].seq){if(i[r].level!=f)continue;h=!0,o[i[r].seq]=1,l(i[r].callback,n,i[r].combo,i[r].seq)}else h||l(i[r].callback,n,i[r].combo);var d="keypress"==n.type&&a;n.type!=u||v(t)||d||s(o),a=h&&"keydown"==n.type},e._bindMultiple=function(t,e,n){for(var r=0;r<t.length;++r)g(t[r],e,n)},d(t,"keypress",f),d(t,"keydown",f),d(t,"keyup",f)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},ioFf:function(t,e,n){"use strict";var r=n("dyZX"),i=n("aagx"),o=n("nh4g"),a=n("XKFU"),u=n("KroJ"),s=n("Z6vF").KEY,c=n("eeVq"),l=n("VTer"),f=n("fyDq"),h=n("ylqs"),d=n("K0xU"),p=n("N8g3"),v=n("OnI7"),g=n("1MBn"),y=n("EWmC"),m=n("y3w9"),b=n("0/R4"),x=n("S/j/"),w=n("aCFj"),_=n("apmT"),S=n("RjD/"),k=n("Kuth"),E=n("e7yV"),O=n("EemH"),C=n("JiEa"),A=n("hswa"),T=n("DVgA"),M=O.f,P=A.f,j=E.f,D=r.Symbol,I=r.JSON,N=I&&I.stringify,F=d("_hidden"),R=d("toPrimitive"),L={}.propertyIsEnumerable,B=l("symbol-registry"),z=l("symbols"),V=l("op-symbols"),U=Object.prototype,H="function"==typeof D&&!!C.f,W=r.QObject,q=!W||!W.prototype||!W.prototype.findChild,G=o&&c(function(){return 7!=k(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=M(U,e);r&&delete U[e],P(t,e,n),r&&t!==U&&P(U,e,r)}:P,Y=function(t){var e=z[t]=k(D.prototype);return e._k=t,e},X=H&&"symbol"==typeof D.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof D},K=function(t,e,n){return t===U&&K(V,e,n),m(t),e=_(e,!0),m(n),i(z,e)?(n.enumerable?(i(t,F)&&t[F][e]&&(t[F][e]=!1),n=k(n,{enumerable:S(0,!1)})):(i(t,F)||P(t,F,S(1,{})),t[F][e]=!0),G(t,e,n)):P(t,e,n)},$=function(t,e){m(t);for(var n,r=g(e=w(e)),i=0,o=r.length;o>i;)K(t,n=r[i++],e[n]);return t},Z=function(t){var e=L.call(this,t=_(t,!0));return!(this===U&&i(z,t)&&!i(V,t))&&(!(e||!i(this,t)||!i(z,t)||i(this,F)&&this[F][t])||e)},J=function(t,e){if(t=w(t),e=_(e,!0),t!==U||!i(z,e)||i(V,e)){var n=M(t,e);return!n||!i(z,e)||i(t,F)&&t[F][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=j(w(t)),r=[],o=0;n.length>o;)i(z,e=n[o++])||e==F||e==s||r.push(e);return r},tt=function(t){for(var e,n=t===U,r=j(n?V:w(t)),o=[],a=0;r.length>a;)!i(z,e=r[a++])||n&&!i(U,e)||o.push(z[e]);return o};H||(u((D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===U&&e.call(V,n),i(this,F)&&i(this[F],t)&&(this[F][t]=!1),G(this,t,S(1,n))};return o&&q&&G(U,t,{configurable:!0,set:e}),Y(t)}).prototype,"toString",function(){return this._k}),O.f=J,A.f=K,n("kJMx").f=E.f=Q,n("UqcF").f=Z,C.f=tt,o&&!n("LQAc")&&u(U,"propertyIsEnumerable",Z,!0),p.f=function(t){return Y(d(t))}),a(a.G+a.W+a.F*!H,{Symbol:D});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)d(et[nt++]);for(var rt=T(d.store),it=0;rt.length>it;)v(rt[it++]);a(a.S+a.F*!H,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=D(t)},keyFor:function(t){if(!X(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!H,"Object",{create:function(t,e){return void 0===e?k(t):$(k(t),e)},defineProperty:K,defineProperties:$,getOwnPropertyDescriptor:J,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=c(function(){C.f(1)});a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return C.f(x(t))}}),I&&a(a.S+a.F*(!H||c(function(){var t=D();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!X(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!X(e))return e}),r[1]=e,N.apply(I,r)}}),D.prototype[R]||n("Mukb")(D.prototype,R,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},isby:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},itsj:function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},"j/1Z":function(t,e){t.exports=function(t){return t&&"object"==typeof t&&"function"==typeof t.copy&&"function"==typeof t.fill&&"function"==typeof t.readUInt8}},j2DC:function(t,e,n){"use strict";var r=n("oVml"),i=n("rr1i"),o=n("RfKB"),a={};n("NegM")(a,n("UWiX")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},j8Z3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var r=o(n("q1tI")),i=o(n("17x9"));function o(t){return t&&t.__esModule?t:{default:t}}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(n,!0).forEach(function(e){c(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function f(t){return"".concat(t,"%")}function h(t){var e=t.children,n=t.className,i=t.direction,o=t.count,u=t.offset,c=t.style,h=t.wrap,d=l(t,["children","className","direction","count","offset","style","wrap"]);return r.default.createElement("div",a({className:n,style:s({display:"flex",flexDirection:i,flexWrap:h?"wrap":"no-wrap"},c)},d),r.default.Children.map(e,function(t,e){return r.default.cloneElement(t,s({},t.props,{style:{flexBasis:f(100/o),maxWidth:f(100/o),overflow:"hidden",marginLeft:u&&0===e?f(100*u/o):null}}))}))}h.propTypes={children:i.default.node,className:i.default.string,count:i.default.number.isRequired,direction:i.default.string,offset:i.default.number,style:i.default.objectOf(i.default.oneOfType([i.default.string,i.default.number])),wrap:i.default.bool}},japM:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.handleFocus=void 0;var r,i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n("q1tI"),u=(r=a)&&r.__esModule?r:{default:r};function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}e.handleFocus=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var t,e,n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return e=n=s(this,(t=r.__proto__||Object.getPrototypeOf(r)).call.apply(t,[this].concat(o))),n.state={focus:!1},n.handleFocus=function(){return n.setState({focus:!0})},n.handleBlur=function(){return n.setState({focus:!1})},s(n,e)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(r,u.default.Component),o(r,[{key:"render",value:function(){return u.default.createElement(e,{onFocus:this.handleFocus,onBlur:this.handleBlur},u.default.createElement(t,i({},this.props,this.state)))}}]),r}()}},"jbM+":function(t,e,n){var r=n("R/W3");t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},jeLo:function(t,e,n){var r=n("juv8"),i=n("mTTR");t.exports=function(t){return r(t,i(t))}},jm62:function(t,e,n){var r=n("XKFU"),i=n("mQtv"),o=n("aCFj"),a=n("EemH"),u=n("8a7r");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=o(t),s=a.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=s(r,e=c[f++]))&&u(l,e,n);return l}})},jmDH:function(t,e,n){t.exports=!n("KUxP")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},jo6Y:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}},jqX0:function(t,e,n){var r=n("XKFU"),i=n("jtBr");r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},jtBr:function(t,e,n){"use strict";var r=n("eeVq"),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},juv8:function(t,e,n){var r=n("MrPd"),i=n("hypo");t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var u=-1,s=e.length;++u<s;){var c=e[u],l=o?o(n[c],t[c],c,n,t):void 0;void 0===l&&(l=t[c]),a?i(n,c,l):r(n,c,l)}return n}},"k+1r":function(t,e,n){var r=n("QkVE");t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},k4Da:function(t,e,n){var r=n("LXxW"),i=n("n3Sm"),o=n("ut/Y"),a=n("Z0cm");t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},k82f:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var r,i=n("J1sY"),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default,e.Scrollbars=o.default},kAMH:function(t,e,n){var r=n("a0xu");t.exports=Array.isArray||function(t){return"Array"==r(t)}},kJMx:function(t,e,n){var r=n("zhAb"),i=n("4R4u").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},kTiW:function(t,e,n){t.exports=n("NegM")},"kVK+":function(t,e){e.read=function(t,e,n,r,i){var o,a,u=8*i-r-1,s=(1<<u)-1,c=s>>1,l=-7,f=n?i-1:0,h=n?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=u;l>0;o=256*o+t[e+f],f+=h,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;l>0;a=256*a+t[e+f],f+=h,l-=8);if(0===o)o=1-c;else{if(o===s)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=c}return(d?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,u,s,c=8*o-i-1,l=(1<<c)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,a=l):(a=Math.floor(Math.log(e)/Math.LN2),e*(s=Math.pow(2,-a))<1&&(a--,s*=2),(e+=a+f>=1?h/s:h*Math.pow(2,1-f))*s>=2&&(a++,s/=2),a+f>=l?(u=0,a=l):a+f>=1?(u=(e*s-1)*Math.pow(2,i),a+=f):(u=e*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;t[n+d]=255&u,d+=p,u/=256,i-=8);for(a=a<<i|u,c+=i;c>0;t[n+d]=255&a,d+=p,a/=256,c-=8);t[n+d-p]|=128*v}},kcif:function(t,e,n){var r=n("KxBF"),i=n("mv/X"),o=n("Sxd8"),a=Math.ceil,u=Math.max;t.exports=function(t,e,n){e=(n?i(t,e,n):void 0===e)?1:u(o(e),0);var s=null==t?0:t.length;if(!s||e<1)return[];for(var c=0,l=0,f=Array(a(s/e));c<s;)f[l++]=r(t,c,c+=e);return f}},kcoS:function(t,e,n){var r=n("lvtm"),i=Math.pow,o=i(2,-52),a=i(2,-23),u=i(2,127)*(2-a),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),c=r(t);return i<s?c*(i/s/a+1/o-1/o)*s*a:(n=(e=(1+a/o)*i)-(e-i))>u||n!=n?c*(1/0):c*n}},kekF:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},klPD:function(t,e,n){var r=n("hswa"),i=n("EemH"),o=n("OP3Y"),a=n("aagx"),u=n("XKFU"),s=n("RjD/"),c=n("y3w9"),l=n("0/R4");u(u.S,"Reflect",{set:function t(e,n,u){var f,h,d=arguments.length<4?e:arguments[3],p=i.f(c(e),n);if(!p){if(l(h=o(e)))return t(h,n,u,d);p=s(0)}if(a(p,"value")){if(!1===p.writable||!l(d))return!1;if(f=i.f(d,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=u,r.f(d,n,f)}else r.f(d,n,s(0,u));return!0}return void 0!==p.set&&(p.set.call(d,u),!0)}})},knU9:function(t,e,n){var r=n("XKFU"),i=n("i5dc");i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},knhD:function(t,e,n){var r=n("XKFU");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},kwZ1:function(t,e,n){"use strict";var r=n("jmDH"),i=n("w6GO"),o=n("mqlF"),a=n("NV0k"),u=n("JB68"),s=n("M1xp"),c=Object.assign;t.exports=!c||n("KUxP")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=u(t),c=arguments.length,l=1,f=o.f,h=a.f;c>l;)for(var d,p=s(arguments[l++]),v=f?i(p).concat(f(p)):i(p),g=v.length,y=0;g>y;)d=v[y++],r&&!h.call(p,d)||(n[d]=p[d]);return n}:c},"l/sq":function(t,e,n){"use strict";n("oPTQ");var r=n("8SVD").css,i=n("8SVD").add,o=n("8SVD").rm;t.exports=function(t){var e,n,a={outside:"",inside:"",before:"",after:"",past:"",future:"",radius:0,minView:0},u=[],s=[],c=[],l=this.scroller,f=this.event,h=this;function d(t,u,s){var c=u,l=1==s?"pos":"oppos";n<(a.minView||0)&&(c=void 0),r(e[t],this.origin.pos,""),r(e[t],this.origin.oppos,""),o(e[t],a.outside),void 0!==c&&(c+="px",r(e[t],this.origin[l],c),i(e[t],a.outside))}function p(t){try{var e=document.createEvent("WheelEvent");e.initWebKitWheelEvent(t.originalEvent.wheelDeltaX,t.originalEvent.wheelDeltaY),l.dispatchEvent(e),t.preventDefault()}catch(t){}}function v(t){var i;for(var o in t)a[o]=t[o];if(a.elements instanceof HTMLElement?e=[a.elements]:"string"==typeof a.elements?e=this.scroller.querySelectorAll(a.elements):a.elements&&a.elements[0]instanceof HTMLElement&&(e=a.elements),e){n=this.scroller[this.origin.client];for(var l=0;l<e.length;l++)(i={})[this.origin.size]=e[l][this.origin.offset]+"px",e[l].parentNode!==this.scroller&&r(e[l].parentNode,i),(i={})[this.origin.crossSize]=e[l].parentNode[this.origin.crossClient]+"px",r(e[l],i),n-=e[l][this.origin.offset],c[l]=e[l].parentNode[this.origin.offsetPos],u[l]=u[l-1]||0,s[l]=s[l-1]||Math.min(c[l],0),e[l-1]&&(u[l]+=e[l-1][this.origin.offset],s[l]+=e[l-1][this.origin.offset]),0==l&&0==c[l]||(this.event(e[l],"mousewheel",p,"off"),this.event(e[l],"mousewheel",p));a.limiter&&e[0]&&(this.track&&this.track!=this.scroller?((i={})[this.origin.pos]=e[0].parentNode[this.origin.offset]+"px",r(this.track,i)):this.barTopLimit=e[0].parentNode[this.origin.offset],this.scroll()),!1===a.limiter&&(this.barTopLimit=0)}var d={element:e,handler:function(){for(var t,n=this.parentNode.offsetTop,r=0;r<e.length;r++)e[r]===this&&(t=r);var i=n-u[t];a.scroll?a.scroll({x1:h.scroller.scrollTop,x2:i}):h.scroller.scrollTop=i},type:"click"};if(a.clickable){this._eventHandlers.push(d);for(var v=0;v<d.element.length;v++)f(d.element[v],d.type,d.handler,"on")}}this.on("init",v,t);var g=[],y=[];return this.on("init scroll",function(){var t,r,l,f;if(e){var h;for(f=0;f<e.length;f++)t=0,c[f]-this.pos()<s[f]+a.radius?(t=1,r=u[f]):c[f]-this.pos()>s[f]+n-a.radius?(t=2,r=this.scroller[this.origin.client]-e[f][this.origin.offset]-u[f]-n):(t=3,r=void 0),l=!1,(c[f]-this.pos()<s[f]||c[f]-this.pos()>s[f]+n)&&(l=!0),t==g[f]&&l==y[f]||(d.call(this,f,r,t),g[f]=t,y[f]=l,h=!0);if(h)for(f=0;f<e.length;f++)1==g[f]&&a.past&&(i(e[f],a.past),o(e[f],a.future)),2==g[f]&&a.future&&(i(e[f],a.future),o(e[f],a.past)),3==g[f]&&(o(e[f],a.past),o(e[f],a.future),i(e[f],a.inside)),g[f]!=g[f+1]&&1==g[f]?(i(e[f],a.before),o(e[f],a.after)):g[f]!=g[f-1]&&2==g[f]?(i(e[f],a.after),o(e[f],a.before)):(o(e[f],a.before),o(e[f],a.after)),a.grad&&(y[f]?i(e[f],a.grad):o(e[f],a.grad))}}),this.on("resize upd",function(t){v.call(this,t&&t.fix)}),this}},l0Rn:function(t,e,n){"use strict";var r=n("RYi7"),i=n("vhPU");t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},l9OW:function(t,e,n){var r=n("SKAX"),i=n("MMmD");t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,function(t,r,i){o[++n]=e(t,r,i)}),o}},lCc8:function(t,e,n){var r=n("Y7ZC");r(r.S,"Object",{create:n("oVml")})},lQqw:function(t,e,n){var r=n("MMmD");t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,u=Object(n);(e?a--:++a<o)&&!1!==i(u[a],a,u););return n}}},lSCD:function(t,e,n){var r=n("NykK"),i=n("GoyQ"),o="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",s="[object Proxy]";t.exports=function(t){if(!i(t))return!1;var e=r(t);return e==a||e==u||e==o||e==s}},lSEo:function(t,e,n){"use strict";var r=n("q1tI"),i="object"==typeof window;e.a=function(t,e){void 0===e&&(e=!1);var n=Object(r.useState)(i?function(){return window.matchMedia(t).matches}:e),o=n[0],a=n[1];return Object(r.useEffect)(function(){var e=!0,n=window.matchMedia(t),r=function(){e&&a(!!n.matches)};return n.addListener(r),a(n.matches),function(){e=!1,n.removeListener(r)}},[t]),o}},lSNA:function(t,e){t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},lYZG:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("6blF"),i=n("0/uQ"),o=n("G5J1");function a(t){return new r.a(function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?Object(i.a)(n):Object(o.b)()).subscribe(e)})}},la6v:function(t,e,n){var r=n("EA7m"),i=n("ljhN"),o=n("mv/X"),a=n("mTTR"),u=Object.prototype,s=u.hasOwnProperty,c=r(function(t,e){t=Object(t);var n=-1,r=e.length,c=r>2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++n<r;)for(var l=e[n],f=a(l),h=-1,d=f.length;++h<d;){var p=f[h],v=t[p];(void 0===v||i(v,u[p])&&!s.call(t,p))&&(t[p]=l[p])}return t});t.exports=c},ljhN:function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},"lm/5":function(t,e,n){var r=n("fmRc"),i=n("wF/u"),o=1,a=2;t.exports=function(t,e,n,u){var s=n.length,c=s,l=!u;if(null==t)return!c;for(t=Object(t);s--;){var f=n[s];if(l&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++s<c;){var h=(f=n[s])[0],d=t[h],p=f[1];if(l&&f[2]){if(void 0===d&&!(h in t))return!1}else{var v=new r;if(u)var g=u(d,p,h,t,e,v);if(!(void 0===g?i(p,d,o|a,u,v):g))return!1}}return!0}},ln0Z:function(t,e,n){n("fA63"),t.exports=n("g3g5").String.trimRight},lreK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mergeClasses=void 0;var r=a(n("Ag8Z")),i=a(n("BkRI")),o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function a(t){return t&&t.__esModule?t:{default:t}}var u=e.mergeClasses=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=t.default&&(0,i.default)(t.default)||{};return e.map(function(e){var i=t[e];return i&&(0,r.default)(i,function(t,e){n[e]||(n[e]={}),n[e]=o({},n[e],i[e])}),e}),n};e.default=u},ls82:function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag",c="object"==typeof t,l=e.regeneratorRuntime;if(l)c&&(t.exports=l);else{(l=e.regeneratorRuntime=c?t.exports:{}).wrap=x;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={},g={};g[a]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(P([])));m&&m!==r&&i.call(m,a)&&(g=m);var b=k.prototype=_.prototype=Object.create(g);S.prototype=b.constructor=k,k.constructor=S,k[s]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(b),t},l.awrap=function(t){return{__await:t}},E(O.prototype),O.prototype[u]=function(){return this},l.AsyncIterator=O,l.async=function(t,e,n,r){var i=new O(x(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},E(b),b[s]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=P,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return u.type="throw",u.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function x(t,e,n,r){var i=e&&e.prototype instanceof _?e:_,o=Object.create(i.prototype),a=new M(r||[]);return o._invoke=function(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var u=C(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var s=w(t,e,n);if("normal"===s.type){if(r=n.done?p:h,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=p,n.method="throw",n.arg=s.arg)}}}(t,n,a),o}function w(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function _(){}function S(){}function k(){}function E(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function O(t){var e;this._invoke=function(n,r){function o(){return new Promise(function(e,o){!function e(n,r,o,a){var u=w(t[n],t,r);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(c).then(function(t){s.value=t,o(s)},function(t){return e("throw",t,o,a)})}a(u.arg)}(n,r,e,o)})}return e=e?e.then(o,o):o()}}function C(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,C(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=w(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:n,done:!0}}}(function(){return this||"object"==typeof self&&self}()||Function("return this")())},lukA:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.inputCSS=void 0;var r=a(n("q1tI")),i=n("PAeb"),o=a(n("FUBA"));function a(t){return t&&t.__esModule?t:{default:t}}function u(){return(u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}e.inputCSS=function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,i=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:e?"hidden":"visible",color:i.neutral80}};var f=function(t){return{background:0,border:0,fontSize:"inherit",opacity:t?0:1,outline:0,padding:0,color:"inherit"}},h=function(t){var e=t.className,n=t.cx,a=t.getStyles,c=t.innerRef,h=t.isHidden,d=t.isDisabled,p=t.theme,v=(t.selectProps,l(t,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return r.default.createElement("div",{className:(0,i.css)(a("input",s({theme:p},v)))},r.default.createElement(o.default,u({className:n(null,{input:!0},e),inputRef:c,inputStyle:f(h),disabled:d},v)))};e.default=h},lv48:function(t,e,n){var r;function i(t){function n(){if(n.enabled){var t=n,i=+new Date,o=i-(r||i);t.diff=o,t.prev=r,t.curr=i,r=i;for(var a=new Array(arguments.length),u=0;u<a.length;u++)a[u]=arguments[u];a[0]=e.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var s=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(n,r){if("%%"===n)return n;s++;var i=e.formatters[r];if("function"==typeof i){var o=a[s];n=i.call(t,o),a.splice(s,1),s--}return n}),e.formatArgs.call(t,a),(n.log||e.log||console.log.bind(console)).apply(t,a)}}return n.namespace=t,n.enabled=e.enabled(t),n.useColors=e.useColors(),n.color=function(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}(t),"function"==typeof e.init&&e.init(n),n}(e=t.exports=i.debug=i.default=i).coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){e.enable("")},e.enable=function(t){e.save(t),e.names=[],e.skips=[];for(var n=("string"==typeof t?t:"").split(/[\s,]+/),r=n.length,i=0;i<r;i++)n[i]&&("-"===(t=n[i].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.substr(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){var n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n("FGiv"),e.names=[],e.skips=[],e.formatters={}},lvtm:function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},m0Pp:function(t,e,n){var r=n("2OiF");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},mChF:function(t,e,n){"use strict";function r(t){return t}n.d(e,"a",function(){return r})},mEZQ:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("lYZG"),i=n("G5J1");function o(t,e,n){return void 0===e&&(e=i.a),void 0===n&&(n=i.a),Object(r.a)(function(){return t()?e:n})}},mGWK:function(t,e,n){"use strict";var r=n("XKFU"),i=n("aCFj"),o=n("RYi7"),a=n("ne8i"),u=[].lastIndexOf,s=!!u&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(s||!n("LyE8")(u)),"Array",{lastIndexOf:function(t){if(s)return u.apply(this,arguments)||0;var e=i(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},mNz5:function(t,e,n){var r=n("dt0z"),i=0;t.exports=function(t){var e=++i;return r(t)+e}},mQtv:function(t,e,n){var r=n("kJMx"),i=n("JiEa"),o=n("y3w9"),a=n("dyZX").Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},mRg0:function(t,e,n){"use strict";e.__esModule=!0;var r=a(n("s3Ml")),i=a(n("AyUB")),o=a(n("EJiy"));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,o.default)(e)));t.prototype=(0,i.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(r.default?(0,r.default)(t,e):t.__proto__=e)}},mRsi:function(t,e,n){var r=n("XGnz"),i=1/0;t.exports=function(t){return null!=t&&t.length?r(t,i):[]}},mTTR:function(t,e,n){var r=n("b80T"),i=n("QcOe"),o=n("MMmD");t.exports=function(t){return o(t)?r(t,!0):i(t)}},mYba:function(t,e,n){var r=n("aCFj"),i=n("EemH").f;n("Xtr8")("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},mZXl:function(t,e,n){"use strict";n.d(e,"b",function(){return a}),n.d(e,"a",function(){return s});var r=n("mrSG"),i=n("FFOo"),o=n("60iU");function a(t,e){return void 0===e&&(e=0),function(n){return n.lift(new u(t,e))}}var u=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.scheduler,this.delay))},t}(),s=function(t){function e(e,n,r){void 0===r&&(r=0);var i=t.call(this,e)||this;return i.scheduler=n,i.delay=r,i}return r.__extends(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.destination.add(this.scheduler.schedule(e.dispatch,this.delay,new c(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.a.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.a.createError(t)),this.unsubscribe()},e.prototype._complete=function(){this.scheduleMessage(o.a.createComplete()),this.unsubscribe()},e}(i.a),c=function(){return function(t,e){this.notification=t,this.destination=e}}()},mc0g:function(t,e){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),u=a.length;u--;){var s=a[t?u:++i];if(!1===n(o[s],s,o))break}return e}}},mdPL:function(t,e,n){(function(t){var r=n("WFqU"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,u=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=u}).call(this,n("YuTi")(t))},me9V:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.css=void 0;var r,i=(r=n("q1tI"))&&r.__esModule?r:{default:r},o=n("PAeb");function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}e.css=function(t){var e=t.isDisabled,n=t.isFocused,r=t.theme,i=r.colors,o=r.borderRadius,a=r.spacing;return{alignItems:"center",backgroundColor:e?i.neutral5:i.neutral0,borderColor:e?i.neutral10:n?i.primary:i.neutral20,borderRadius:o,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(i.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?i.primary:i.neutral30}}};var u=function(t){var e=t.children,n=t.cx,r=t.getStyles,u=t.className,s=t.isDisabled,c=t.isFocused,l=t.innerRef,f=t.innerProps,h=t.menuIsOpen;return i.default.createElement("div",a({ref:l,className:n((0,o.css)(r("control",t)),{control:!0,"control--is-disabled":s,"control--is-focused":c,"control--menu-is-open":h},u)},f),e)};e.default=u},mkUw:function(t,e,n){"use strict";var r=n("0aAt"),i=n("JPcv"),o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function a(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).delimiter,n=void 0===e?"\n":e;return"document"===t.object||"block"===t.object&&r.a.isBlockList(t.nodes)?t.nodes.map(a).join(n):t.text}var u={deserialize:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.defaultBlock,a=void 0===n?"line":n,u=e.defaultMarks,s=void 0===u?[]:u,c=e.delimiter,l=void 0===c?"\n":c,f=e.toJSON,h=void 0!==f&&f;i.Set.isSet(s)&&(s=s.toArray()),a=r.i.createProperties(a),s=s.map(r.h.createProperties);var d={object:"value",document:{object:"document",data:{},nodes:t.split(l).map(function(t){return o({},a,{object:"block",data:{},nodes:[{object:"text",text:t,marks:s}]})})}};return h?d:r.n.fromJSON(d)},serialize:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(t.document,e)}};e.a=u},mqlF:function(t,e){e.f=Object.getOwnPropertySymbols},mrSG:function(t,e,n){"use strict";n.r(e),n.d(e,"__extends",function(){return i}),n.d(e,"__assign",function(){return o}),n.d(e,"__rest",function(){return a}),n.d(e,"__decorate",function(){return u}),n.d(e,"__param",function(){return s}),n.d(e,"__metadata",function(){return c}),n.d(e,"__awaiter",function(){return l}),n.d(e,"__generator",function(){return f}),n.d(e,"__exportStar",function(){return h}),n.d(e,"__values",function(){return d}),n.d(e,"__read",function(){return p}),n.d(e,"__spread",function(){return v}),n.d(e,"__spreadArrays",function(){return g}),n.d(e,"__await",function(){return y}),n.d(e,"__asyncGenerator",function(){return m}),n.d(e,"__asyncDelegator",function(){return b}),n.d(e,"__asyncValues",function(){return x}),n.d(e,"__makeTemplateObject",function(){return w}),n.d(e,"__importStar",function(){return _}),n.d(e,"__importDefault",function(){return S}); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function a(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(t,r[i])&&(n[r[i]]=t[r[i]])}return n}function u(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(a=(o<3?i(a):o>3?i(e,n,a):i(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){return function(n,r){e(n,r,t)}}function c(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t,e,n,r){return new(n||(n=Promise))(function(i,o){function a(t){try{s(r.next(t))}catch(t){o(t)}}function u(t){try{s(r.throw(t))}catch(t){o(t)}}function s(t){t.done?i(t.value):new n(function(e){e(t.value)}).then(a,u)}s((r=r.apply(t,e||[])).next())})}function f(t,e){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function h(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function d(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}function g(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function y(t){return this instanceof y?(this.v=t,this):new y(t)}function m(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(t,e||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){i[t]&&(r[t]=function(e){return new Promise(function(n,r){o.push([t,e,n,r])>1||u(t,e)})})}function u(t,e){try{(n=i[t](e)).value instanceof y?Promise.resolve(n.value.v).then(s,c):l(o[0][2],n)}catch(t){l(o[0][3],t)}var n}function s(t){u("next",t)}function c(t){u("throw",t)}function l(t,e){t(e),o.shift(),o.length&&u(o[0][0],o[0][1])}}function b(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,i){e[r]=t[r]?function(e){return(n=!n)?{value:y(t[r](e)),done:"return"===r}:i?i(e):e}:i}}function x(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,i){(function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)})(r,i,(e=t[n](e)).done,e.value)})}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function _(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function S(t){return t&&t.__esModule?t:{default:t}}},mura:function(t,e,n){var r=n("0/R4"),i=n("Z6vF").onFreeze;n("Xtr8")("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},"mv/X":function(t,e,n){var r=n("ljhN"),i=n("MMmD"),o=n("wJg7"),a=n("GoyQ");t.exports=function(t,e,n){if(!a(n))return!1;var u=typeof e;return!!("number"==u?i(n)&&o(e,n.length):"string"==u&&e in n)&&r(n[e],t)}},mwIZ:function(t,e,n){var r=n("ZWtO");t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},n3Sm:function(t,e,n){var r=n("SKAX");t.exports=function(t,e){var n=[];return r(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}},n5OK:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("mrSG").__importDefault(n("0xIW"));e.default=function(t){r.default(function(){return t})}},nBIS:function(t,e,n){var r=n("0/R4"),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},nCnK:function(t,e,n){n("7DDg")("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},nGyu:function(t,e,n){var r=n("K0xU")("unscopables"),i=Array.prototype;null==i[r]&&n("Mukb")(i,r,{}),t.exports=function(t){i[r][t]=!0}},nICZ:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},nIY7:function(t,e,n){"use strict";n("OGtf")("big",function(t){return function(){return t(this,"big","","")}})},"nW7/":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Twitter=void 0;var r=l(n("q1tI")),i=l(n("17x9")),o=l(n("/FUP")),a=l(n("3WF5")),u=l(n("QkVN")),s=l(n("p8yl")),c=n("TM95");function l(t){return t&&t.__esModule?t:{default:t}}var f=e.Twitter=function(t){var e=t.onChange,n=t.onSwatchHover,i=t.hex,l=t.colors,f=t.width,h=t.triangle,d=t.styles,p=void 0===d?{}:d,v=t.className,g=void 0===v?"":v,y=(0,o.default)((0,u.default)({default:{card:{width:f,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},p),{"hide-triangle":"hide"===h,"top-left-triangle":"top-left"===h,"top-right-triangle":"top-right"===h}),m=function(t,n){s.default.isValidHex(t)&&e({hex:t,source:"hex"},n)};return r.default.createElement("div",{style:y.card,className:"twitter-picker "+g},r.default.createElement("div",{style:y.triangleShadow}),r.default.createElement("div",{style:y.triangle}),r.default.createElement("div",{style:y.body},(0,a.default)(l,function(t,e){return r.default.createElement(c.Swatch,{key:e,color:t,hex:t,style:y.swatch,onClick:m,onHover:n,focusStyle:{boxShadow:"0 0 4px "+t}})}),r.default.createElement("div",{style:y.hash},"#"),r.default.createElement(c.EditableInput,{style:{input:y.input},value:i.replace("#",""),onChange:m}),r.default.createElement("div",{style:y.clear})))};f.propTypes={width:i.default.oneOfType([i.default.string,i.default.number]),triangle:i.default.oneOf(["hide","top-left","top-right"]),colors:i.default.arrayOf(i.default.string),styles:i.default.object},f.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},e.default=(0,c.ColorWrap)(f)},ne8i:function(t,e,n){var r=n("RYi7"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},nh4g:function(t,e,n){t.exports=!n("eeVq")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},nkY7:function(t,e,n){"use strict";function r(t){return t&&"function"==typeof t.schedule}n.d(e,"a",function(){return r})},nmnc:function(t,e,n){var r=n("Kz5y").Symbol;t.exports=r},nsiH:function(t,e,n){"use strict";n("OGtf")("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},ny24:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),i=n("MGBS"),o=n("zotm");function a(t){return function(e){return e.lift(new u(t))}}var u=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new s(t),r=Object(o.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),s=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r.__extends(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(i.a)},nzyx:function(t,e,n){var r=n("XKFU"),i=n("LVwc");r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},o5BE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=o(n("q1tI")),i=o(n("17x9"));function o(t){return t&&t.__esModule?t:{default:t}}function a(t){var e=t.date,n=t.onClickWeekNumber,i=t.weekNumber;return n?r.default.createElement("button",{className:"react-calendar__tile",onClick:function(){return n(i,e)},style:{flexGrow:1},type:"button"},r.default.createElement("span",null,i)):r.default.createElement("div",{className:"react-calendar__tile",style:{flexGrow:1}},r.default.createElement("span",null,i))}a.propTypes={date:i.default.instanceOf(Date).isRequired,onClickWeekNumber:i.default.func,weekNumber:i.default.number.isRequired}},o8NH:function(t,e,n){var r=n("Y7ZC");r(r.S+r.F,"Object",{assign:n("kwZ1")})},oB59:function(t,e,n){var r,i,o;/*! tether 1.4.4 */i=[],void 0===(o="function"==typeof(r=function(){"use strict";var t=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n=void 0;void 0===n&&(n={modules:[]});var r=null;function i(t){var e=t.getBoundingClientRect(),n={};for(var r in e)n[r]=e[r];if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var a=i(o);n.top+=a.top,n.bottom+=a.top,n.left+=a.left,n.right+=a.left}}return n}function o(t){var e=getComputedStyle(t)||{},n=e.position,r=[];if("fixed"===n)return[t];for(var i=t;(i=i.parentNode)&&i&&1===i.nodeType;){var o=void 0;try{o=getComputedStyle(i)}catch(t){}if(null==o)return r.push(i),r;var a=o,u=a.overflow,s=a.overflowX,c=a.overflowY;/(auto|scroll|overlay)/.test(u+c+s)&&("absolute"!==n||["relative","absolute","fixed"].indexOf(o.position)>=0)&&r.push(i)}return r.push(t.ownerDocument.body),t.ownerDocument!==document&&r.push(t.ownerDocument.defaultView),r}var a,u=(a=0,function(){return++a}),s={},c=function(){var t=r;t&&document.body.contains(t)||((t=document.createElement("div")).setAttribute("data-tether-id",u()),v(t.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(t),r=t);var e=t.getAttribute("data-tether-id");return void 0===s[e]&&(s[e]=i(t),S(function(){delete s[e]})),s[e]};function l(){r&&document.body.removeChild(r),r=null}function f(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var n=e.documentElement,r=i(t),o=c();return r.top-=o.top,r.left-=o.left,void 0===r.width&&(r.width=document.body.scrollWidth-r.left-r.right),void 0===r.height&&(r.height=document.body.scrollHeight-r.top-r.bottom),r.top=r.top-n.clientTop,r.left=r.left-n.clientLeft,r.right=e.body.clientWidth-r.width-r.left,r.bottom=e.body.clientHeight-r.height-r.top,r}function h(t){return t.offsetParent||document.documentElement}var d=null;function p(){if(d)return d;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");v(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var r=t.offsetWidth;n===r&&(r=e.clientWidth),document.body.removeChild(e);var i=n-r;return d={width:i,height:i}}function v(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function g(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),r=b(t).replace(n," ");x(t,r)}}function y(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{g(t,e);var n=b(t)+" "+e;x(t,n)}}function m(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=b(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function b(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function x(t,e){t.setAttribute("class",e)}function w(t,e,n){n.forEach(function(n){-1===e.indexOf(n)&&m(t,n)&&g(t,n)}),e.forEach(function(e){m(t,e)||y(t,e)})}var _=[],S=function(t){_.push(t)},k=function(){for(var t=void 0;t=_.pop();)t()},E=function(){function n(){e(this,n)}return t(n,[{key:"on",value:function(t,e,n){var r=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:r})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){if(void 0!==this.bindings&&void 0!==this.bindings[t])if(void 0===e)delete this.bindings[t];else for(var n=0;n<this.bindings[t].length;)this.bindings[t][n].handler===e?this.bindings[t].splice(n,1):++n}},{key:"trigger",value:function(t){if(void 0!==this.bindings&&this.bindings[t]){for(var e=0,n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(;e<this.bindings[t].length;){var o=this.bindings[t][e],a=o.handler,u=o.ctx,s=o.once,c=u;void 0===c&&(c=this),a.apply(c,r),s?this.bindings[t].splice(e,1):++e}}}}]),n}();n.Utils={getActualBoundingClientRect:i,getScrollParents:o,getBounds:f,getOffsetParent:h,extend:v,addClass:y,removeClass:g,hasClass:m,updateClasses:w,defer:S,flush:k,uniqueId:u,Evented:E,getScrollBarSize:p,removeUtilElements:l};var O=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},t=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),C=function(t,e,n){for(var r=!0;r;){var i=t,o=e,a=n;r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;if(void 0===s)return;return s.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return;t=c,e=o,n=a,r=!0,u=c=void 0}};function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}if(void 0===n)throw new Error("You must include the utils.js file before tether.js");var o=(X=n.Utils).getScrollParents,f=X.getBounds,h=X.getOffsetParent,v=X.extend,y=X.addClass,g=X.removeClass,w=X.updateClasses,S=X.defer,k=X.flush,p=X.getScrollBarSize,l=X.removeUtilElements;function A(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}var T,M,P,j,D=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<e.length;++n){var r=e[n];if(void 0!==t.style[r])return r}}(),I=[],N=function(){I.forEach(function(t){t.position(!1)}),k()};function F(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}T=null,M=null,P=null,j=function t(){if(void 0!==M&&M>16)return M=Math.min(M-16,250),void(P=setTimeout(t,250));void 0!==T&&F()-T<10||(null!=P&&(clearTimeout(P),P=null),T=F(),N(),M=F()-T)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,j)});var R={center:"center",left:"right",right:"left"},L={middle:"middle",top:"bottom",bottom:"top"},B={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},z=function(t){var e=t.left,n=t.top;return void 0!==B[t.left]&&(e=B[t.left]),void 0!==B[t.top]&&(n=B[t.top]),{left:e,top:n}};function V(){for(var t={top:0,left:0},e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach(function(e){var n=e.top,r=e.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof r&&(r=parseFloat(r,10)),t.top+=n,t.left+=r}),t}function U(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t}var H=function(t){var e=t.split(" "),n=O(e,2),r=n[0],i=n[1];return{top:r,left:i}},W=H,q=function(r){function i(t){var r=this;e(this,i),C(Object.getPrototypeOf(i.prototype),"constructor",this).call(this),this.position=this.position.bind(this),I.push(this),this.history=[],this.setOptions(t,!1),n.modules.forEach(function(t){void 0!==t.initialize&&t.initialize.call(r)}),this.position()}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,r),t(i,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,n=arguments.length<=1||void 0===arguments[1]||arguments[1];this.options=v({offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"},t);var r=this.options,i=r.element,a=r.target,u=r.targetModifier;if(this.element=i,this.target=a,this.targetModifier=u,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),y(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&y(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=W(this.options.targetAttachment),this.attachment=W(this.options.attachment),this.offset=H(this.options.offset),this.targetOffset=H(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),!1!==this.options.enabled&&this.enable(n)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return f(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var t=f(this.target),e={height:t.height,width:t.width,top:t.top,left:t.left};return e.height=Math.min(e.height,t.height-(pageYOffset-t.top)),e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),e.height=Math.min(innerHeight,e.height),e.height-=2,e.width=Math.min(e.width,t.width-(pageXOffset-t.left)),e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),e.width=Math.min(innerWidth,e.width),e.width-=2,e.top<pageYOffset&&(e.top=pageYOffset),e.left<pageXOffset&&(e.left=pageXOffset),e}if("scroll-handle"===this.targetModifier){var t=void 0,n=this.target;n===document.body?(n=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=f(n);var r=getComputedStyle(n),i=n.scrollWidth>n.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body,o=0;i&&(o=15);var a=t.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-o,e={width:15,height:.975*a*(a/n.scrollHeight),left:t.left+t.width-parseFloat(r.borderLeftWidth)-15},u=0;a<408&&this.target===document.body&&(u=-11e-5*Math.pow(a,2)-.00727*a+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24));var s=this.target.scrollTop/(n.scrollHeight-a);return e.top=s*(a-e.height-u)+t.top+parseFloat(r.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&y(this.target,this.getClass("enabled")),y(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),I.forEach(function(e,n){e===t&&I.splice(n,1)}),0===I.length&&l()}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment,e=e||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var r=this._addAttachClasses;t.top&&r.push(this.getClass("element-attached")+"-"+t.top),t.left&&r.push(this.getClass("element-attached")+"-"+t.left),e.top&&r.push(this.getClass("target-attached")+"-"+e.top),e.left&&r.push(this.getClass("target-attached")+"-"+e.left);var i=[];["left","top","bottom","right","middle","center"].forEach(function(t){i.push(n.getClass("element-attached")+"-"+t),i.push(n.getClass("target-attached")+"-"+t)}),S(function(){void 0!==n._addAttachClasses&&(w(n.element,n._addAttachClasses,i),!1!==n.options.addTargetClasses&&w(n.target,n._addAttachClasses,i),delete n._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var r=function(t,e){var n=t.left,r=t.top;return"auto"===n&&(n=R[e.left]),"auto"===r&&(r=L[e.top]),{left:n,top:r}}(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,r);var i=this.cache("element-bounds",function(){return f(t.element)}),o=i.width,a=i.height;if(0===o&&0===a&&void 0!==this.lastSize){var u=this.lastSize;o=u.width,a=u.height}else this.lastSize={width:o,height:a};var s=this.cache("target-bounds",function(){return t.getTargetBounds()}),c=s,l=U(z(this.attachment),{width:o,height:a}),d=U(z(r),c),v=U(this.offset,{width:o,height:a}),g=U(this.targetOffset,c);l=V(l,v),d=V(d,g);for(var y=s.left+d.left-l.left,m=s.top+d.top-l.top,b=0;b<n.modules.length;++b){var x=n.modules[b],w=x.position.call(this,{left:y,top:m,targetAttachment:r,targetPos:s,elementPos:i,offset:l,targetOffset:d,manualOffset:v,manualTargetOffset:g,scrollbarSize:O,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(m=w.top,y=w.left)}var _={page:{top:m,left:y},viewport:{top:m-pageYOffset,bottom:pageYOffset-m-a+innerHeight,left:y-pageXOffset,right:pageXOffset-y-o+innerWidth}},S=this.target.ownerDocument,E=S.defaultView,O=void 0;return E.innerHeight>S.documentElement.clientHeight&&(O=this.cache("scrollbar-size",p),_.viewport.bottom-=O.height),E.innerWidth>S.documentElement.clientWidth&&(O=this.cache("scrollbar-size",p),_.viewport.right-=O.width),-1!==["","static"].indexOf(S.body.style.position)&&-1!==["","static"].indexOf(S.body.parentElement.style.position)||(_.page.bottom=S.body.scrollHeight-m-a,_.page.right=S.body.scrollWidth-y-o),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var e=t.cache("target-offsetparent",function(){return h(t.target)}),n=t.cache("target-offsetparent-bounds",function(){return f(e)}),r=getComputedStyle(e),i=n,o={};if(["Top","Left","Bottom","Right"].forEach(function(t){o[t.toLowerCase()]=parseFloat(r["border"+t+"Width"])}),n.right=S.body.scrollWidth-n.left-i.width+o.right,n.bottom=S.body.scrollHeight-n.top-i.height+o.bottom,_.page.top>=n.top+o.top&&_.page.bottom>=n.bottom&&_.page.left>=n.left+o.left&&_.page.right>=n.right){var a=e.scrollTop,u=e.scrollLeft;_.offset={top:_.page.top-n.top+a-o.top,left:_.page.left-n.left+u-o.left}}}(),this.move(_),this.history.unshift(_),this.history.length>3&&this.history.pop(),e&&k(),!0}}},{key:"move",value:function(t){var e,n,r=this;if(void 0!==this.element.parentNode){var i={};for(var o in t)for(var a in i[o]={},t[o]){for(var u=!1,s=0;s<this.history.length;++s){var c=this.history[s];if(void 0!==c[o]&&!A(c[o][a],t[o][a])){u=!0;break}}u||(i[o][a]=!0)}var l={top:"",left:"",right:"",bottom:""},f=function(t,e){var n=void 0!==r.options.optimizations,i=n?r.options.optimizations.gpu:null;if(!1!==i){var o=void 0,a=void 0;if(t.top?(l.top=0,o=e.top):(l.bottom=0,o=-e.bottom),t.left?(l.left=0,a=e.left):(l.right=0,a=-e.right),window.matchMedia){var u=window.matchMedia("only screen and (min-resolution: 1.3dppx)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 1.3)").matches;u||(a=Math.round(a),o=Math.round(o))}l[D]="translateX("+a+"px) translateY("+o+"px)","msTransform"!==D&&(l[D]+=" translateZ(0)")}else t.top?l.top=e.top+"px":l.bottom=e.bottom+"px",t.left?l.left=e.left+"px":l.right=e.right+"px"},d=!1;if((i.page.top||i.page.bottom)&&(i.page.left||i.page.right)?(l.position="absolute",f(i.page,t.page)):(i.viewport.top||i.viewport.bottom)&&(i.viewport.left||i.viewport.right)?(l.position="fixed",f(i.viewport,t.viewport)):void 0!==i.offset&&i.offset.top&&i.offset.left?function(){l.position="absolute";var e=r.cache("target-offsetparent",function(){return h(r.target)});h(r.element)!==e&&S(function(){r.element.parentNode.removeChild(r.element),e.appendChild(r.element)}),f(i.offset,t.offset),d=!0}():(l.position="absolute",f({top:!0,left:!0},t.page)),!d)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var p=!0,g=this.element.parentNode;g&&1===g.nodeType&&"BODY"!==g.tagName&&(n=void 0,((n=(e=g).ownerDocument).fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement)!==e);){if("static"!==getComputedStyle(g).position){p=!1;break}g=g.parentNode}p||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var y={},m=!1;for(var a in l){var b=l[a],x=this.element.style[a];x!==b&&(m=!0,y[a]=b)}m&&S(function(){v(r.element.style,y),r.trigger("repositioned")})}}}]),i}(E);q.modules=[],n.position=N;var G=v(q,n),O=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},f=(X=n.Utils).getBounds,v=X.extend,w=X.updateClasses,S=X.defer,Y=["left","top","right","bottom"];n.modules.push({position:function(t){var e=this,n=t.top,r=t.left,i=t.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",function(){return f(e.element)}),a=o.height,u=o.width;if(0===u&&0===a&&void 0!==this.lastSize){var s=this.lastSize;u=s.width,a=s.height}var c=this.cache("target-bounds",function(){return e.getTargetBounds()}),l=c.height,h=c.width,d=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass,n=t.pinnedClass;e&&d.push(e),n&&d.push(n)}),d.forEach(function(t){["left","top","right","bottom"].forEach(function(e){d.push(t+"-"+e)})});var p=[],g=v({},i),y=v({},this.attachment);return this.options.constraints.forEach(function(t){var o=t.to,s=t.attachment,c=t.pin;void 0===s&&(s="");var d=void 0,v=void 0;if(s.indexOf(" ")>=0){var m=s.split(" "),b=O(m,2);v=b[0],d=b[1]}else d=v=s;var x=function(t,e){return"scrollParent"===e?e=t.scrollParents[0]:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),void 0!==e.nodeType&&function(){var t=e,n=f(e),r=n,i=getComputedStyle(e);if(e=[r.left,r.top,n.width+r.left,n.height+r.top],t.ownerDocument!==document){var o=t.ownerDocument.defaultView;e[0]+=o.pageXOffset,e[1]+=o.pageYOffset,e[2]+=o.pageXOffset,e[3]+=o.pageYOffset}Y.forEach(function(t,n){"Top"===(t=t[0].toUpperCase()+t.substr(1))||"Left"===t?e[n]+=parseFloat(i["border"+t+"Width"]):e[n]-=parseFloat(i["border"+t+"Width"])})}(),e}(e,o);"target"!==v&&"both"!==v||(n<x[1]&&"top"===g.top&&(n+=l,g.top="bottom"),n+a>x[3]&&"bottom"===g.top&&(n-=l,g.top="top")),"together"===v&&("top"===g.top&&("bottom"===y.top&&n<x[1]?(n+=l,g.top="bottom",n+=a,y.top="top"):"top"===y.top&&n+a>x[3]&&n-(a-l)>=x[1]&&(n-=a-l,g.top="bottom",y.top="bottom")),"bottom"===g.top&&("top"===y.top&&n+a>x[3]?(n-=l,g.top="top",n-=a,y.top="bottom"):"bottom"===y.top&&n<x[1]&&n+(2*a-l)<=x[3]&&(n+=a-l,g.top="top",y.top="top")),"middle"===g.top&&(n+a>x[3]&&"top"===y.top?(n-=a,y.top="bottom"):n<x[1]&&"bottom"===y.top&&(n+=a,y.top="top"))),"target"!==d&&"both"!==d||(r<x[0]&&"left"===g.left&&(r+=h,g.left="right"),r+u>x[2]&&"right"===g.left&&(r-=h,g.left="left")),"together"===d&&(r<x[0]&&"left"===g.left?"right"===y.left?(r+=h,g.left="right",r+=u,y.left="left"):"left"===y.left&&(r+=h,g.left="right",r-=u,y.left="right"):r+u>x[2]&&"right"===g.left?"left"===y.left?(r-=h,g.left="left",r-=u,y.left="right"):"right"===y.left&&(r-=h,g.left="left",r+=u,y.left="left"):"center"===g.left&&(r+u>x[2]&&"left"===y.left?(r-=u,y.left="right"):r<x[0]&&"right"===y.left&&(r+=u,y.left="left"))),"element"!==v&&"both"!==v||(n<x[1]&&"bottom"===y.top&&(n+=a,y.top="top"),n+a>x[3]&&"top"===y.top&&(n-=a,y.top="bottom")),"element"!==d&&"both"!==d||(r<x[0]&&("right"===y.left?(r+=u,y.left="left"):"center"===y.left&&(r+=u/2,y.left="left")),r+u>x[2]&&("left"===y.left?(r-=u,y.left="right"):"center"===y.left&&(r-=u/2,y.left="right"))),"string"==typeof c?c=c.split(",").map(function(t){return t.trim()}):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var w,_,S=[],k=[];n<x[1]&&(c.indexOf("top")>=0?(n=x[1],S.push("top")):k.push("top")),n+a>x[3]&&(c.indexOf("bottom")>=0?(n=x[3]-a,S.push("bottom")):k.push("bottom")),r<x[0]&&(c.indexOf("left")>=0?(r=x[0],S.push("left")):k.push("left")),r+u>x[2]&&(c.indexOf("right")>=0?(r=x[2]-u,S.push("right")):k.push("right")),S.length&&(w=void 0,w=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),p.push(w),S.forEach(function(t){p.push(w+"-"+t)})),k.length&&(_=void 0,_=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),p.push(_),k.forEach(function(t){p.push(_+"-"+t)})),(S.indexOf("left")>=0||S.indexOf("right")>=0)&&(y.left=g.left=!1),(S.indexOf("top")>=0||S.indexOf("bottom")>=0)&&(y.top=g.top=!1),g.top===i.top&&g.left===i.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,g),e.trigger("update",{attachment:y,targetAttachment:g}))}),S(function(){!1!==e.options.addTargetClasses&&w(e.target,p,d),w(e.element,p,d)}),{top:n,left:r}}});var X,f=(X=n.Utils).getBounds,w=X.updateClasses,S=X.defer;n.modules.push({position:function(t){var e=this,n=t.top,r=t.left,i=this.cache("element-bounds",function(){return f(e.element)}),o=i.height,a=i.width,u=this.getTargetBounds(),s=n+o,c=r+a,l=[];n<=u.bottom&&s>=u.top&&["left","right"].forEach(function(t){var e=u[t];e!==r&&e!==c||l.push(t)}),r<=u.right&&c>=u.left&&["top","bottom"].forEach(function(t){var e=u[t];e!==n&&e!==s||l.push(t)});var h=[],d=[];return h.push(this.getClass("abutted")),["left","top","right","bottom"].forEach(function(t){h.push(e.getClass("abutted")+"-"+t)}),l.length&&d.push(this.getClass("abutted")),l.forEach(function(t){d.push(e.getClass("abutted")+"-"+t)}),S(function(){!1!==e.options.addTargetClasses&&w(e.target,d,h),w(e.element,d,h)}),!0}});var O=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};return n.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var r=this.options.shift;"function"==typeof this.options.shift&&(r=this.options.shift.call(this,{top:e,left:n}));var i=void 0,o=void 0;if("string"==typeof r){(r=r.split(" "))[1]=r[1]||r[0];var a=O(r,2);i=a[0],o=a[1],i=parseFloat(i,10),o=parseFloat(o,10)}else i=r.top,o=r.left;return{top:e+=i,left:n+=o}}}}),G})?r.apply(e,i):r)||(t.exports=o)},"oCl/":function(t,e,n){var r=n("CH3K"),i=n("LcsW"),o=n("MvSz"),a=n("0ycA"),u=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,o(t)),t=i(t);return e}:a;t.exports=u},oDIu:function(t,e,n){"use strict";var r=n("XKFU"),i=n("AvRE")(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},oMRN:function(t,e){t.exports=function(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var a=t[i];e(r,a,n(a),t)}return r}},oPLb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Compact=void 0;var r=h(n("q1tI")),i=h(n("17x9")),o=h(n("/FUP")),a=h(n("3WF5")),u=h(n("QkVN")),s=h(n("p8yl")),c=n("TM95"),l=h(n("ZQT/")),f=h(n("8J/B"));function h(t){return t&&t.__esModule?t:{default:t}}var d=e.Compact=function(t){var e=t.onChange,n=t.onSwatchHover,i=t.colors,h=t.hex,d=t.rgb,p=t.styles,v=void 0===p?{}:p,g=t.className,y=void 0===g?"":g,m=(0,o.default)((0,u.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},v)),b=function(t,n){t.hex?s.default.isValidHex(t.hex)&&e({hex:t.hex,source:"hex"},n):e(t,n)};return r.default.createElement(c.Raised,{style:m.Compact,styles:v},r.default.createElement("div",{style:m.compact,className:"compact-picker "+y},r.default.createElement("div",null,(0,a.default)(i,function(t){return r.default.createElement(l.default,{key:t,color:t,active:t.toLowerCase()===h,onClick:b,onSwatchHover:n})}),r.default.createElement("div",{style:m.clear})),r.default.createElement(f.default,{hex:h,rgb:d,onChange:b})))};d.propTypes={colors:i.default.arrayOf(i.default.string),styles:i.default.object},d.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},e.default=(0,c.ColorWrap)(d)},oPTQ:function(t,e){t.exports=function(t,e,n){var r=console[t]||console.log,i=["Baron: "+e,n];Function.prototype.apply.call(r,console,i)}},oV1c:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),i=n("PAeb"),o=u(n("VgJO")),a=u(n("Vr+8"));function u(t){return t&&t.__esModule?t:{default:t}}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var p=function(t){function e(){var t,n,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var o=arguments.length,a=new Array(o),u=0;u<o;u++)a[u]=arguments[u];return r=this,i=(t=l(e)).call.apply(t,[this].concat(a)),n=!i||"object"!==s(i)&&"function"!=typeof i?h(r):i,d(h(h(n)),"state",{touchScrollTarget:null}),d(h(h(n)),"getScrollTarget",function(t){t!==n.state.touchScrollTarget&&n.setState({touchScrollTarget:t})}),d(h(h(n)),"blurSelectInput",function(){document.activeElement&&document.activeElement.blur()}),n}var n,u,p;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(e,r.PureComponent),n=e,(u=[{key:"render",value:function(){var t=this.props,e=t.children,n=t.isEnabled,u=this.state.touchScrollTarget;return n?r.default.createElement("div",null,r.default.createElement("div",{onClick:this.blurSelectInput,className:(0,i.css)({position:"fixed",left:0,bottom:0,right:0,top:0})}),r.default.createElement(o.default,{innerRef:this.getScrollTarget},e),u?r.default.createElement(a.default,{touchScrollTarget:u}):null):e}}])&&c(n.prototype,u),p&&c(n,p),e}();e.default=p},oVml:function(t,e,n){var r=n("5K7Z"),i=n("fpC5"),o=n("FpHa"),a=n("VVlx")("IE_PROTO"),u=function(){},s=function(){var t,e=n("Hsns")("iframe"),r=o.length;for(e.style.display="none",n("MvwC").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;r--;)delete s.prototype[o[r]];return s()};t.exports=Object.create||function(t,e){var n;return null!==t?(u.prototype=r(t),n=new u,u.prototype=null,n[a]=t):n=s(),void 0===e?n:i(n,e)}},"oZ/O":function(t,e,n){var r=n("XKFU"),i=n("y3w9"),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},oetV:function(t,e,n){"use strict";n.r(e);var r=function(t){for(var e=t.length/6|0,n=new Array(e),r=0;r<e;)n[r]="#"+t.slice(6*r,6*++r);return n},i=r("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),o=r("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),a=r("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),u=r("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),s=r("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),c=r("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),l=r("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),f=r("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),h=r("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f"),d=r("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab"),p=n("pD2Y"),v=function(t){return Object(p.r)(t[t.length-1])},g=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(r),y=v(g),m=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(r),b=v(m),x=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(r),w=v(x),_=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(r),S=v(_),k=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(r),E=v(k),O=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(r),C=v(O),A=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(r),T=v(A),M=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(r),P=v(M),j=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(r),D=v(j),I=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(r),N=v(I),F=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(r),R=v(F),L=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(r),B=v(L),z=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(r),V=v(z),U=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(r),H=v(U),W=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(r),q=v(W),G=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(r),Y=v(G),X=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(r),K=v(X),$=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(r),Z=v($),J=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(r),Q=v(J),tt=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(r),et=v(tt),nt=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(r),rt=v(nt),it=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(r),ot=v(it),at=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(r),ut=v(at),st=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(r),ct=v(st),lt=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(r),ft=v(lt),ht=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(r),dt=v(ht),pt=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(r),vt=v(pt),gt=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-t*(35.34-t*(2381.73-t*(6402.7-t*(7024.72-2710.57*t)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+t*(170.73+t*(52.82-t*(131.46-t*(176.58-67.37*t)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+t*(442.36-t*(2482.43-t*(6167.24-t*(6614.94-2475.67*t)))))))+")"},yt=n("Faen"),mt=Object(p.f)(Object(yt.a)(300,.5,0),Object(yt.a)(-240,.5,1)),bt=Object(p.f)(Object(yt.a)(-100,.75,.35),Object(yt.a)(80,1.5,.8)),xt=Object(p.f)(Object(yt.a)(260,.75,.35),Object(yt.a)(80,1.5,.8)),wt=Object(yt.a)(),_t=function(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return wt.h=360*t-100,wt.s=1.5-1.5*e,wt.l=.8-.9*e,wt+""},St=n("FmoU"),kt=Object(St.g)(),Et=Math.PI/3,Ot=2*Math.PI/3,Ct=function(t){var e;return t=(.5-t)*Math.PI,kt.r=255*(e=Math.sin(t))*e,kt.g=255*(e=Math.sin(t+Et))*e,kt.b=255*(e=Math.sin(t+Ot))*e,kt+""},At=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function Tt(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var Mt=Tt(r("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Pt=Tt(r("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),jt=Tt(r("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Dt=Tt(r("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));n.d(e,"schemeCategory10",function(){return i}),n.d(e,"schemeAccent",function(){return o}),n.d(e,"schemeDark2",function(){return a}),n.d(e,"schemePaired",function(){return u}),n.d(e,"schemePastel1",function(){return s}),n.d(e,"schemePastel2",function(){return c}),n.d(e,"schemeSet1",function(){return l}),n.d(e,"schemeSet2",function(){return f}),n.d(e,"schemeSet3",function(){return h}),n.d(e,"schemeTableau10",function(){return d}),n.d(e,"interpolateBrBG",function(){return y}),n.d(e,"schemeBrBG",function(){return g}),n.d(e,"interpolatePRGn",function(){return b}),n.d(e,"schemePRGn",function(){return m}),n.d(e,"interpolatePiYG",function(){return w}),n.d(e,"schemePiYG",function(){return x}),n.d(e,"interpolatePuOr",function(){return S}),n.d(e,"schemePuOr",function(){return _}),n.d(e,"interpolateRdBu",function(){return E}),n.d(e,"schemeRdBu",function(){return k}),n.d(e,"interpolateRdGy",function(){return C}),n.d(e,"schemeRdGy",function(){return O}),n.d(e,"interpolateRdYlBu",function(){return T}),n.d(e,"schemeRdYlBu",function(){return A}),n.d(e,"interpolateRdYlGn",function(){return P}),n.d(e,"schemeRdYlGn",function(){return M}),n.d(e,"interpolateSpectral",function(){return D}),n.d(e,"schemeSpectral",function(){return j}),n.d(e,"interpolateBuGn",function(){return N}),n.d(e,"schemeBuGn",function(){return I}),n.d(e,"interpolateBuPu",function(){return R}),n.d(e,"schemeBuPu",function(){return F}),n.d(e,"interpolateGnBu",function(){return B}),n.d(e,"schemeGnBu",function(){return L}),n.d(e,"interpolateOrRd",function(){return V}),n.d(e,"schemeOrRd",function(){return z}),n.d(e,"interpolatePuBuGn",function(){return H}),n.d(e,"schemePuBuGn",function(){return U}),n.d(e,"interpolatePuBu",function(){return q}),n.d(e,"schemePuBu",function(){return W}),n.d(e,"interpolatePuRd",function(){return Y}),n.d(e,"schemePuRd",function(){return G}),n.d(e,"interpolateRdPu",function(){return K}),n.d(e,"schemeRdPu",function(){return X}),n.d(e,"interpolateYlGnBu",function(){return Z}),n.d(e,"schemeYlGnBu",function(){return $}),n.d(e,"interpolateYlGn",function(){return Q}),n.d(e,"schemeYlGn",function(){return J}),n.d(e,"interpolateYlOrBr",function(){return et}),n.d(e,"schemeYlOrBr",function(){return tt}),n.d(e,"interpolateYlOrRd",function(){return rt}),n.d(e,"schemeYlOrRd",function(){return nt}),n.d(e,"interpolateBlues",function(){return ot}),n.d(e,"schemeBlues",function(){return it}),n.d(e,"interpolateGreens",function(){return ut}),n.d(e,"schemeGreens",function(){return at}),n.d(e,"interpolateGreys",function(){return ct}),n.d(e,"schemeGreys",function(){return st}),n.d(e,"interpolatePurples",function(){return ft}),n.d(e,"schemePurples",function(){return lt}),n.d(e,"interpolateReds",function(){return dt}),n.d(e,"schemeReds",function(){return ht}),n.d(e,"interpolateOranges",function(){return vt}),n.d(e,"schemeOranges",function(){return pt}),n.d(e,"interpolateCividis",function(){return gt}),n.d(e,"interpolateCubehelixDefault",function(){return mt}),n.d(e,"interpolateRainbow",function(){return _t}),n.d(e,"interpolateWarm",function(){return bt}),n.d(e,"interpolateCool",function(){return xt}),n.d(e,"interpolateSinebow",function(){return Ct}),n.d(e,"interpolateTurbo",function(){return At}),n.d(e,"interpolateViridis",function(){return Mt}),n.d(e,"interpolateMagma",function(){return Pt}),n.d(e,"interpolateInferno",function(){return jt}),n.d(e,"interpolatePlasma",function(){return Dt})},ohE5:function(t,e,n){"use strict";function r(t){return function(){return t}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(t){return t},t.exports=i},oj4i:function(t,e,n){"use strict";var r=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}},i={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var o=function(t){for(var e,n=t.length,r=n^n,i=0;n>=4;)e=1540483477*(65535&(e=255&t.charCodeAt(i)|(255&t.charCodeAt(++i))<<8|(255&t.charCodeAt(++i))<<16|(255&t.charCodeAt(++i))<<24))+((1540483477*(e>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(e=1540483477*(65535&(e^=e>>>24))+((1540483477*(e>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&t.charCodeAt(i+2))<<16;case 2:r^=(255&t.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)};var a=function(t){function e(t,e,r){var i=e.trim().split(p);e=i;var o=i.length,a=t.length;switch(a){case 0:case 1:var u=0;for(t=0===a?"":t[0]+" ";u<o;++u)e[u]=n(t,e[u],r).trim();break;default:var s=u=0;for(e=[];u<o;++u)for(var c=0;c<a;++c)e[s++]=n(t[c]+" ",i[u],r).trim()}return e}function n(t,e,n){var r=e.charCodeAt(0);switch(33>r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(v,"$1"+t.trim());case 58:return t.trim()+e.replace(v,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(v,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function r(t,e,n,o){var a=t+";",u=2*e+3*n+4*o;if(944===u){t=a.indexOf(":",9)+1;var s=a.substring(t,a.length-1).trim();return s=a.substring(0,t).trim()+s+";",1===T||2===T&&i(s,1)?"-webkit-"+s+s:s}if(0===T||2===T&&!i(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(E,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(s=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+s+a;case 1005:return h.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(e=(s=a.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(e)){case 226:s=a.replace(b,"tb");break;case 232:s=a.replace(b,"tb-rl");break;case 220:s=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+s+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,u=(s=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(s,"-webkit-"+s)+";"+a.replace(s,"-ms-"+s+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return s=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+s+"-ms-flex-"+s+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(_,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(_,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===k.test(t))return 115===(s=t.substring(t.indexOf(":")+1)).charCodeAt(0)?r(t.replace("stretch","fill-available"),e,n,o).replace(":fill-available",":stretch"):a.replace(s,"-webkit-"+s)+a.replace(s,"-moz-"+s.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+o&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function i(t,e){var n=t.indexOf(1===e?":":"{"),r=t.substring(0,3!==e?n:10);return n=t.substring(n+1,t.length-1),D(2!==e?r:r.replace(S,"$1"),n,e)}function o(t,e){var n=r(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(w," or ($1)").substring(4):"("+e+")"}function a(t,e,n,r,i,o,a,u,c,l){for(var f,h=0,d=e;h<j;++h)switch(f=P[h].call(s,t,d,n,r,i,o,a,u,c,l)){case void 0:case!1:case!0:case null:break;default:d=f}if(d!==e)return d}function u(t){return void 0!==(t=t.prefix)&&(D=null,t?"function"!=typeof t?T=1:(T=2,D=t):T=0),u}function s(t,n){var u=t;if(33>u.charCodeAt(0)&&(u=u.trim()),u=[u],0<j){var s=a(-1,n,u,u,C,O,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var f=function t(n,u,s,f,h){for(var d,p,v,b,w,_=0,S=0,k=0,E=0,P=0,D=0,N=v=d=0,F=0,R=0,L=0,B=0,z=s.length,V=z-1,U="",H="",W="",q="";F<z;){if(p=s.charCodeAt(F),F===V&&0!==S+E+k+_&&(0!==S&&(p=47===S?10:47),E=k=_=0,z++,V++),0===S+E+k+_){if(F===V&&(0<R&&(U=U.replace(l,"")),0<U.trim().length)){switch(p){case 32:case 9:case 59:case 13:case 10:break;default:U+=s.charAt(F)}p=59}switch(p){case 123:for(d=(U=U.trim()).charCodeAt(0),v=1,B=++F;F<z;){switch(p=s.charCodeAt(F)){case 123:v++;break;case 125:v--;break;case 47:switch(p=s.charCodeAt(F+1)){case 42:case 47:t:{for(N=F+1;N<V;++N)switch(s.charCodeAt(N)){case 47:if(42===p&&42===s.charCodeAt(N-1)&&F+2!==N){F=N+1;break t}break;case 10:if(47===p){F=N+1;break t}}F=N}}break;case 91:p++;case 40:p++;case 34:case 39:for(;F++<V&&s.charCodeAt(F)!==p;);}if(0===v)break;F++}switch(v=s.substring(B,F),0===d&&(d=(U=U.replace(c,"").trim()).charCodeAt(0)),d){case 64:switch(0<R&&(U=U.replace(l,"")),p=U.charCodeAt(1)){case 100:case 109:case 115:case 45:R=u;break;default:R=M}if(B=(v=t(u,R,v,p,h+1)).length,0<j&&(w=a(3,v,R=e(M,U,L),u,C,O,B,p,h,f),U=R.join(""),void 0!==w&&0===(B=(v=w.trim()).length)&&(p=0,v="")),0<B)switch(p){case 115:U=U.replace(x,o);case 100:case 109:case 45:v=U+"{"+v+"}";break;case 107:v=(U=U.replace(g,"$1 $2"))+"{"+v+"}",v=1===T||2===T&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=U+v,112===f&&(H+=v,v="")}else v="";break;default:v=t(u,e(u,U,L),v,f,h+1)}W+=v,v=L=R=N=d=0,U="",p=s.charCodeAt(++F);break;case 125:case 59:if(1<(B=(U=(0<R?U.replace(l,""):U).trim()).length))switch(0===N&&(d=U.charCodeAt(0),45===d||96<d&&123>d)&&(B=(U=U.replace(" ",":")).length),0<j&&void 0!==(w=a(1,U,u,n,C,O,H.length,f,h,f))&&0===(B=(U=w.trim()).length)&&(U="\0\0"),d=U.charCodeAt(0),p=U.charCodeAt(1),d){case 0:break;case 64:if(105===p||99===p){q+=U+s.charAt(F);break}default:58!==U.charCodeAt(B-1)&&(H+=r(U,d,p,U.charCodeAt(2)))}L=R=N=d=0,U="",p=s.charCodeAt(++F)}}switch(p){case 13:case 10:47===S?S=0:0===1+d&&107!==f&&0<U.length&&(R=1,U+="\0"),0<j*I&&a(0,U,u,n,C,O,H.length,f,h,f),O=1,C++;break;case 59:case 125:if(0===S+E+k+_){O++;break}default:switch(O++,b=s.charAt(F),p){case 9:case 32:if(0===E+_+S)switch(P){case 44:case 58:case 9:case 32:b="";break;default:32!==p&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===E+S+_&&(R=L=1,b="\f"+b);break;case 108:if(0===E+S+_+A&&0<N)switch(F-N){case 2:112===P&&58===s.charCodeAt(F-3)&&(A=P);case 8:111===D&&(A=D)}break;case 58:0===E+S+_&&(N=F);break;case 44:0===S+k+E+_&&(R=1,b+="\r");break;case 34:case 39:0===S&&(E=E===p?0:0===E?p:E);break;case 91:0===E+S+k&&_++;break;case 93:0===E+S+k&&_--;break;case 41:0===E+S+_&&k--;break;case 40:if(0===E+S+_){if(0===d)switch(2*P+3*D){case 533:break;default:d=1}k++}break;case 64:0===S+k+E+_+N+v&&(v=1);break;case 42:case 47:if(!(0<E+_+k))switch(S){case 0:switch(2*p+3*s.charCodeAt(F+1)){case 235:S=47;break;case 220:B=F,S=42}break;case 42:47===p&&42===P&&B+2!==F&&(33===s.charCodeAt(B+2)&&(H+=s.substring(B,F+1)),b="",S=0)}}0===S&&(U+=b)}D=P,P=p,F++}if(0<(B=H.length)){if(R=u,0<j&&void 0!==(w=a(2,H,R,n,C,O,B,f,h,f))&&0===(H=w).length)return q+H+W;if(H=R.join(",")+"{"+H+"}",0!=T*A){switch(2!==T||i(H,2)||(A=0),A){case 111:H=H.replace(m,":-moz-$1")+H;break;case 112:H=H.replace(y,"::-webkit-input-$1")+H.replace(y,"::-moz-$1")+H.replace(y,":-ms-input-$1")+H}A=0}}return q+H+W}(M,u,n,0,0);return 0<j&&void 0!==(s=a(-2,f,u,u,C,O,f.length,0,0,0))&&(f=s),A=0,O=C=1,f}var c=/^\0+/g,l=/[\0\r\f]/g,f=/: */g,h=/zoo|gra/,d=/([,: ])(transform)/g,p=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,m=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,x=/\(\s*(.*)\s*\)/g,w=/([\s\S]*?);/g,_=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,E=/([^-])(image-set\()/,O=1,C=1,A=0,T=1,M=[],P=[],j=0,D=null,I=0;return s.use=function t(e){switch(e){case void 0:case null:j=P.length=0;break;default:switch(e.constructor){case Array:for(var n=0,r=e.length;n<r;++n)t(e[n]);break;case Function:P[j++]=e;break;case Boolean:I=0|!!e}}return t},s.set=u,void 0!==t&&u(t),s},u=n("TAZq"),s=n.n(u),c=/[A-Z]|^ms/g,l=r(function(t){return t.replace(c,"-$&").toLowerCase()}),f=function(t,e){return null==e||"boolean"==typeof e?"":1===i[t]||45===t.charCodeAt(1)||isNaN(e)||0===e?e:e+"px"},h=function t(e){for(var n=e.length,r=0,i="";r<n;r++){var o=e[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"function":0,a=t([o()]);break;case"object":if(Array.isArray(o))a=t(o);else for(var u in a="",o)o[u]&&u&&(a&&(a+=" "),a+=u);break;default:a=o}a&&(i&&(i+=" "),i+=a)}}return i},d="undefined"!=typeof document;function p(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key||""),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),(void 0!==t.container?t.container:document.head).appendChild(e),e}var v=function(){function t(t){this.isSpeedy=!0,this.tags=[],this.ctr=0,this.opts=t}var e=t.prototype;return e.inject=function(){if(this.injected)throw new Error("already injected!");this.tags[0]=p(this.opts),this.injected=!0},e.speedy=function(t){if(0!==this.ctr)throw new Error("cannot change speedy now");this.isSpeedy=!!t},e.insert=function(t,e){if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(this.tags[this.tags.length-1]);try{n.insertRule(t,n.cssRules.length)}catch(t){0}}else{var r=p(this.opts);this.tags.push(r),r.appendChild(document.createTextNode(t+(e||"")))}this.ctr++,this.ctr%65e3==0&&this.tags.push(p(this.opts))},e.flush=function(){this.tags.forEach(function(t){return t.parentNode.removeChild(t)}),this.tags=[],this.ctr=0,this.injected=!1},t}();e.a=function(t,e){if(void 0!==t.__SECRET_EMOTION__)return t.__SECRET_EMOTION__;void 0===e&&(e={});var n,r,i=e.key||"css",u=s()(function(t){n+=t,d&&p.insert(t,y)});void 0!==e.prefix&&(r={prefix:e.prefix});var c={registered:{},inserted:{},nonce:e.nonce,key:i},p=new v(e);d&&p.inject();var g=new a(r);g.use(e.stylisPlugins)(u);var y="";function m(t,e){if(null==t)return"";switch(typeof t){case"boolean":return"";case"function":if(void 0!==t.__emotion_styles){var n=t.toString();return n}return m.call(this,void 0===this?t():t(this.mergedProps,this.context),e);case"object":return function(t){if(w.has(t))return w.get(t);var e="";return Array.isArray(t)?t.forEach(function(t){e+=m.call(this,t,!1)},this):Object.keys(t).forEach(function(n){"object"!=typeof t[n]?void 0!==c.registered[t[n]]?e+=n+"{"+c.registered[t[n]]+"}":e+=l(n)+":"+f(n,t[n])+";":Array.isArray(t[n])&&"string"==typeof t[n][0]&&void 0===c.registered[t[n][0]]?t[n].forEach(function(t){e+=l(n)+":"+f(n,t)+";"}):e+=n+"{"+m.call(this,t[n],!1)+"}"},this),w.set(t,e),e}.call(this,t);default:var r=c.registered[t];return!1===e&&void 0!==r?r:t}}var b,x,w=new WeakMap,_=/label:\s*([^\s;\n{]+)\s*;/g,S=function(t){var e=!0,n="",r="";null==t||void 0===t.raw?(e=!1,n+=m.call(this,t,!1)):n+=t[0];for(var i=arguments.length,a=new Array(i>1?i-1:0),u=1;u<i;u++)a[u-1]=arguments[u];return a.forEach(function(r,i){n+=m.call(this,r,46===n.charCodeAt(n.length-1)),!0===e&&void 0!==t[i+1]&&(n+=t[i+1])},this),x=n,n=n.replace(_,function(t,e){return r+="-"+e,""}),b=function(t,e){return o(t+e)+e}(n,r),n};function k(t,e){void 0===c.inserted[b]&&(n="",g(t,e),c.inserted[b]=n)}var E=function(){var t=S.apply(this,arguments),e=i+"-"+b;return void 0===c.registered[e]&&(c.registered[e]=x),k("."+e,t),e};function O(t,e){var n="";return e.split(" ").forEach(function(e){void 0!==c.registered[e]?t.push(e):n+=e+" "}),n}function C(t,e){var n=[],r=O(n,t);return n.length<2?t:r+E(n,e)}function A(t){c.inserted[t]=!0}if(d){var T=document.querySelectorAll("[data-emotion-"+i+"]");Array.prototype.forEach.call(T,function(t){p.tags[0].parentNode.insertBefore(t,p.tags[0]),t.getAttribute("data-emotion-"+i).split(" ").forEach(A)})}var M={flush:function(){d&&(p.flush(),p.inject()),c.inserted={},c.registered={}},hydrate:function(t){t.forEach(A)},cx:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return C(h(e))},merge:C,getRegisteredStyles:O,injectGlobal:function(){k("",S.apply(this,arguments))},keyframes:function(){var t=S.apply(this,arguments),e="animation-"+b;return k("","@keyframes "+e+"{"+t+"}"),e},css:E,sheet:p,caches:c};return t.__SECRET_EMOTION__=M,M}},ol8x:function(t,e,n){var r=n("dyZX").navigator;t.exports=r&&r.userAgent||""},or5M:function(t,e,n){var r=n("1hJj"),i=n("QoRX"),o=n("xYSL"),a=1,u=2;t.exports=function(t,e,n,s,c,l){var f=n&a,h=t.length,d=e.length;if(h!=d&&!(f&&d>h))return!1;var p=l.get(t);if(p&&l.get(e))return p==e;var v=-1,g=!0,y=n&u?new r:void 0;for(l.set(t,e),l.set(e,t);++v<h;){var m=t[v],b=e[v];if(s)var x=f?s(b,m,v,e,t,l):s(m,b,v,t,e,l);if(void 0!==x){if(x)continue;g=!1;break}if(y){if(!i(e,function(t,e){if(!o(y,e)&&(m===t||c(m,t,n,s,l)))return y.push(e)})){g=!1;break}}else if(m!==b&&!c(m,b,n,s,l)){g=!1;break}}return l.delete(t),l.delete(e),g}},"otv/":function(t,e,n){var r=n("nmnc"),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;t.exports=function(t){return o?Object(o.call(t)):{}}},p0ib:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("6blF"),i=n("nkY7"),o=n("Zn8D"),a=n("IUTb");function u(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,u=null,s=t[t.length-1];return Object(i.a)(s)?(u=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof s&&(n=t.pop()),null===u&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(Object(a.a)(t,u))}},p8yl:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.red=void 0;var r=o(n("xkGU")),i=o(n("Zss7"));function o(t){return t&&t.__esModule?t:{default:t}}e.default={simpleCheckForValidColor:function(t){var e=0,n=0;return(0,r.default)(["r","g","b","a","h","s","l","v"],function(r){if(t[r]&&(e+=1,isNaN(t[r])||(n+=1),"s"===r||"l"===r)){/^\d+%$/.test(t[r])&&(n+=1)}}),e===n&&t},toState:function(t,e){var n=t.hex?(0,i.default)(t.hex):(0,i.default)(t),r=n.toHsl(),o=n.toHsv(),a=n.toRgb(),u=n.toHex();return 0===r.s&&(r.h=e||0,o.h=e||0),{hsl:r,hex:"000000"===u&&0===a.a?"transparent":"#"+u,rgb:a,hsv:o,oldHue:t.h||e||r.h,source:t.source}},isValidHex:function(t){var e="#"===String(t).charAt(0)?1:0;return t.length!==4+e&&t.length<7+e&&(0,i.default)(t).isValid()},getContrastingColor:function(t){if(!t)return"#fff";var e=this.toState(t);return"transparent"===e.hex?"rgba(0,0,0,0.4)":(299*e.rgb.r+587*e.rgb.g+114*e.rgb.b)/1e3>=128?"#000":"#fff"}};e.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},pD2Y:function(t,e,n){"use strict";var r=n("FmoU");function i(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}var o=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],a=t[r+1],u=r>0?t[r-1]:2*o-a,s=r<e-1?t[r+2]:2*a-o;return i((n-r/e)*e,u,o,a,s)}},a=function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],a=t[r%e],u=t[(r+1)%e],s=t[(r+2)%e];return i((n-r/e)*e,o,a,u,s)}},u=function(t){return function(){return t}};function s(t,e){return function(n){return t+n*e}}function c(t,e){var n=e-t;return n?s(t,n>180||n<-180?n-360*Math.round(n/360):n):u(isNaN(t)?e:t)}function l(t){return 1==(t=+t)?f:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):u(isNaN(e)?n:e)}}function f(t,e){var n=e-t;return n?s(t,n):u(isNaN(t)?e:t)}var h=function t(e){var n=l(e);function i(t,e){var i=n((t=Object(r.g)(t)).r,(e=Object(r.g)(e)).r),o=n(t.g,e.g),a=n(t.b,e.b),u=f(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=o(e),t.b=a(e),t.opacity=u(e),t+""}}return i.gamma=t,i}(1);function d(t){return function(e){var n,i,o=e.length,a=new Array(o),u=new Array(o),s=new Array(o);for(n=0;n<o;++n)i=Object(r.g)(e[n]),a[n]=i.r||0,u[n]=i.g||0,s[n]=i.b||0;return a=t(a),u=t(u),s=t(s),i.opacity=1,function(t){return i.r=a(t),i.g=u(t),i.b=s(t),i+""}}}var p=d(o),v=d(a),g=function(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=C(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}},y=function(t,e){var n=new Date;return e-=t=+t,function(r){return n.setTime(t+e*r),n}},m=function(t,e){return e-=t=+t,function(n){return t+e*n}},b=function(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=C(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}},x=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,w=new RegExp(x.source,"g");var _,S,k,E,O=function(t,e){var n,r,i,o=x.lastIndex=w.lastIndex=0,a=-1,u=[],s=[];for(t+="",e+="";(n=x.exec(t))&&(r=w.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(n=n[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:m(n,r)})),o=w.lastIndex;return o<e.length&&(i=e.slice(o),u[a]?u[a]+=i:u[++a]=i),u.length<2?s[0]?function(t){return function(e){return t(e)+""}}(s[0].x):function(t){return function(){return t}}(e):(e=s.length,function(t){for(var n,r=0;r<e;++r)u[(n=s[r]).i]=n.x(t);return u.join("")})},C=function(t,e){var n,i=typeof e;return null==e||"boolean"===i?u(e):("number"===i?m:"string"===i?(n=Object(r.e)(e))?(e=n,h):O:e instanceof r.e?h:e instanceof Date?y:Array.isArray(e)?g:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?b:m)(t,e)},A=function(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}},T=function(t,e){var n=c(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}},M=function(t,e){return e-=t=+t,function(n){return Math.round(t+e*n)}},P=180/Math.PI,j={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},D=function(t,e,n,r,i,o){var a,u,s;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(s=t*n+e*r)&&(n-=t*s,r-=e*s),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,s/=u),t*r<e*n&&(t=-t,e=-e,s=-s,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*P,skewX:Math.atan(s)*P,scaleX:a,scaleY:u}};function I(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var u=[],s=[];return o=t(o),a=t(a),function(t,r,i,o,a,u){if(t!==i||r!==o){var s=a.push("translate(",null,e,null,n);u.push({i:s-4,x:m(t,i)},{i:s-2,x:m(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,u,s),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:m(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,u,s),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:m(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,u,s),function(t,e,n,r,o,a){if(t!==n||e!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:m(t,n)},{i:u-2,x:m(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,u,s),o=a=null,function(t){for(var e,n=-1,r=s.length;++n<r;)u[(e=s[n]).i]=e.x(t);return u.join("")}}}var N=I(function(t){return"none"===t?j:(_||(_=document.createElement("DIV"),S=document.documentElement,k=document.defaultView),_.style.transform=t,t=k.getComputedStyle(S.appendChild(_),null).getPropertyValue("transform"),S.removeChild(_),t=t.slice(7,-1).split(","),D(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),F=I(function(t){return null==t?j:(E||(E=document.createElementNS("http://www.w3.org/2000/svg","g")),E.setAttribute("transform",t),(t=E.transform.baseVal.consolidate())?(t=t.matrix,D(t.a,t.b,t.c,t.d,t.e,t.f)):j)},", ",")",")"),R=Math.SQRT2;function L(t){return((t=Math.exp(t))+1/t)/2}var B=function(t,e){var n,r,i=t[0],o=t[1],a=t[2],u=e[0],s=e[1],c=e[2],l=u-i,f=s-o,h=l*l+f*f;if(h<1e-12)r=Math.log(c/a)/R,n=function(t){return[i+t*l,o+t*f,a*Math.exp(R*t*r)]};else{var d=Math.sqrt(h),p=(c*c-a*a+4*h)/(2*a*2*d),v=(c*c-a*a-4*h)/(2*c*2*d),g=Math.log(Math.sqrt(p*p+1)-p),y=Math.log(Math.sqrt(v*v+1)-v);r=(y-g)/R,n=function(t){var e,n=t*r,u=L(g),s=a/(2*d)*(u*(e=R*n+g,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(g));return[i+s*l,o+s*f,a*u/L(R*n+g)]}}return n.duration=1e3*r,n};function z(t){return function(e,n){var i=t((e=Object(r.f)(e)).h,(n=Object(r.f)(n)).h),o=f(e.s,n.s),a=f(e.l,n.l),u=f(e.opacity,n.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(t),e.opacity=u(t),e+""}}}var V=z(c),U=z(f),H=n("YvDT");function W(t,e){var n=f((t=Object(H.a)(t)).l,(e=Object(H.a)(e)).l),r=f(t.a,e.a),i=f(t.b,e.b),o=f(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=o(e),t+""}}function q(t){return function(e,n){var r=t((e=Object(H.c)(e)).h,(n=Object(H.c)(n)).h),i=f(e.c,n.c),o=f(e.l,n.l),a=f(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var G=q(c),Y=q(f),X=n("Faen");function K(t){return function e(n){function r(e,r){var i=t((e=Object(X.a)(e)).h,(r=Object(X.a)(r)).h),o=f(e.s,r.s),a=f(e.l,r.l),u=f(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=u(t),e+""}}return n=+n,r.gamma=e,r}(1)}var $=K(c),Z=K(f);function J(t,e){for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}var Q=function(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n};n.d(e,"a",function(){return C}),n.d(e,"b",function(){return g}),n.d(e,"c",function(){return o}),n.d(e,"d",function(){return a}),n.d(e,"g",function(){return y}),n.d(e,"h",function(){return A}),n.d(e,"m",function(){return T}),n.d(e,"o",function(){return m}),n.d(e,"p",function(){return b}),n.d(e,"t",function(){return M}),n.d(e,"u",function(){return O}),n.d(e,"v",function(){return N}),n.d(e,"w",function(){return F}),n.d(e,"x",function(){return B}),n.d(e,"q",function(){return h}),n.d(e,"r",function(){return p}),n.d(e,"s",function(){return v}),n.d(e,"k",function(){return V}),n.d(e,"l",function(){return U}),n.d(e,"n",function(){return W}),n.d(e,"i",function(){return G}),n.d(e,"j",function(){return Y}),n.d(e,"e",function(){return $}),n.d(e,"f",function(){return Z}),n.d(e,"y",function(){return J}),n.d(e,"z",function(){return Q})},pFRH:function(t,e,n){var r=n("cvCv"),i=n("O0oS"),o=n("zZ0H"),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o;t.exports=a},pHSZ:function(t,e,n){"use strict";var r={};Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){void 0===e&&(e={});var n=JSON.stringify({text:t,options:e});if(r[n])return r[n];e.font=e.font||"Times",e.fontSize=e.fontSize||"16px",e.fontWeight=e.fontWeight||"normal",e.width=e.width||"auto";var i=function(t,e){var n=document.createElement("div"),r=document.createTextNode(t);return n.appendChild(r),n.style.fontFamily=e.font,n.style.fontSize=e.fontSize,n.style.fontWeight=e.fontWeight,n.style.position="absolute",n.style.visibility="hidden",n.style.left="-999px",n.style.top="-999px",n.style.width=e.width,n.style.height="auto",document.body.appendChild(n),n}(t,e),o={width:i.offsetWidth,height:i.offsetHeight};return function(t){t.parentNode.removeChild(t)}(i),r[n]=o,o}},pIFo:function(t,e,n){"use strict";var r=n("y3w9"),i=n("S/j/"),o=n("ne8i"),a=n("RYi7"),u=n("A5AN"),s=n("Xxuz"),c=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n("IU+Z")("replace",2,function(t,e,n,p){return[function(r,i){var o=t(this),a=null==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=p(n,t,this,e);if(i.done)return i.value;var f=r(t),h=String(this),d="function"==typeof e;d||(e=String(e));var g=f.global;if(g){var y=f.unicode;f.lastIndex=0}for(var m=[];;){var b=s(f,h);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(f.lastIndex=u(h,o(f.lastIndex),y))}for(var x,w="",_=0,S=0;S<m.length;S++){b=m[S];for(var k=String(b[0]),E=c(l(a(b.index),h.length),0),O=[],C=1;C<b.length;C++)O.push(void 0===(x=b[C])?x:String(x));var A=b.groups;if(d){var T=[k].concat(O,E,h);void 0!==A&&T.push(A);var M=String(e.apply(void 0,T))}else M=v(k,h,E,O,A,e);E>=_&&(w+=h.slice(_,E)+M,_=E+k.length)}return w+h.slice(_)}];function v(t,e,r,o,a,u){var s=r+t.length,c=o.length,l=d;return void 0!==a&&(a=i(a),l=h),n.call(u,l,function(n,i){var u;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(s);case"<":u=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>c){var h=f(l/10);return 0===h?n:h<=c?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}u=o[l-1]}return void 0===u?"":u})}})},pSRY:function(t,e,n){var r=n("QkVE");t.exports=function(t){return r(this,t).has(t)}},pVnL:function(t,e){function n(){return t.exports=n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n.apply(this,arguments)}t.exports=n},pW3x:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("mrSG"),i=n("q1tI"),o=r.__importDefault(n("eM9k")),a=n("9+Sh");e.default=function(t,e){void 0===t&&(t=1/0),void 0===e&&(e=1/0);var n=o.default({width:a.isClient?window.innerWidth:t,height:a.isClient?window.innerHeight:e}),r=n[0],u=n[1];return i.useEffect(function(){if(a.isClient){var t=function(){u({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}}},[]),r}},pbhE:function(t,e,n){"use strict";var r=n("2OiF");function i(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},"pp/T":function(t,e,n){var r=n("XKFU");r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},psW0:function(t,e,n){"use strict";n.d(e,"a",function(){return c});var r=n("mrSG"),i=n("zotm"),o=n("MGBS"),a=n("rPjj"),u=n("67Y/"),s=n("0/uQ");function c(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(r){return r.pipe(c(function(n,r){return Object(s.a)(t(n,r)).pipe(Object(u.a)(function(t,i){return e(n,t,r,i)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new l(t,n))})}var l=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project,this.concurrent))},t}(),f=function(t){function e(e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=t.call(this,e)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return r.__extends(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=new a.a(this,void 0,void 0);this.destination.add(r),Object(i.a)(this,t,e,n,r)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.a)},pugT:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("isby"),i=n("McSo"),o=n("2Bdj"),a=n("awvh"),u=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,u=this._parents,c=this._unsubscribe,l=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,h=u?u.length:0;n;)n.remove(this),n=++f<h&&u[f]||null;if(Object(o.a)(c))try{c.call(this)}catch(n){e=!0,t=n instanceof a.a?s(n.errors):[n]}if(Object(r.a)(l))for(f=-1,h=l.length;++f<h;){var d=l[f];if(Object(i.a)(d))try{d.unsubscribe()}catch(n){e=!0,t=t||[],n instanceof a.a?t=t.concat(s(n.errors)):t.push(n)}}if(e)throw new a.a(t)}},t.prototype.add=function(e){var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof t)){var r=n;(n=new t)._subscriptions=[r]}break;default:if(!e)return t.EMPTY;throw new Error("unrecognized teardown "+e+" added to Subscription.")}if(n._addParent(this)){var i=this._subscriptions;i?i.push(n):this._subscriptions=[n]}return n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;return e!==t&&(e?n?-1===n.indexOf(t)&&(n.push(t),!0):(this._parents=[t],!0):(this._parent=t,!0))},t.EMPTY=((e=new t).closed=!0,e),t}();function s(t){return t.reduce(function(t,e){return t.concat(e instanceof a.a?e.errors:e)},[])}},pyGu:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMenuPlacement=x,e.MenuPortal=e.menuPortalCSS=e.LoadingMessage=e.NoOptionsMessage=e.loadingMessageCSS=e.noOptionsMessageCSS=e.MenuList=e.menuListCSS=e.default=e.MenuPlacer=e.menuCSS=void 0;var r,i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),o=n("PAeb"),a=n("i8i4"),u=(r=n("17x9"))&&r.__esModule?r:{default:r},s=n("2Qnb");function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function d(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}function p(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?m(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function g(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function b(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function x(t){var e=t.maxHeight,n=t.menuEl,r=t.minHeight,i=t.placement,o=t.shouldScroll,a=t.isFixedPosition,u=t.theme.spacing,c=(0,s.getScrollParent)(n),l={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return l;var f=c.getBoundingClientRect().height,h=n.getBoundingClientRect(),d=h.bottom,p=h.height,v=h.top,g=n.offsetParent.getBoundingClientRect().top,y=window.innerHeight,m=(0,s.getScrollTop)(c),b=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=g-x,_=y-v,S=w+m,k=f-m-v,E=d-y+m+b,O=m+v-x;switch(i){case"auto":case"bottom":if(_>=p)return{placement:"bottom",maxHeight:e};if(k>=p&&!a)return o&&(0,s.animatedScrollTo)(c,E,160),{placement:"bottom",maxHeight:e};if(!a&&k>=r||a&&_>=r)return o&&(0,s.animatedScrollTo)(c,E,160),{placement:"bottom",maxHeight:a?_-b:k-b};if("auto"===i||a){var C=e,A=a?w:S;return A>=r&&(C=Math.min(A-b-u.controlHeight,e)),{placement:"top",maxHeight:C}}if("bottom"===i)return o&&(0,s.scrollTo)(c,E),{placement:"bottom",maxHeight:e};break;case"top":if(w>=p)return{placement:"top",maxHeight:e};if(S>=p&&!a)return o&&(0,s.animatedScrollTo)(c,O,160),{placement:"top",maxHeight:e};if(!a&&S>=r||a&&w>=r){var T=e;return(!a&&S>=r||a&&w>=r)&&(T=a?w-x:S-x),o&&(0,s.animatedScrollTo)(c,O,160),{placement:"top",maxHeight:T}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return l}var w=function(t){return"auto"===t?"bottom":t};e.menuCSS=function(t){var e,n=t.placement,r=t.theme,i=r.borderRadius,o=r.spacing,a=r.colors;return b(e={},function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(n),"100%"),b(e,"backgroundColor",a.neutral0),b(e,"borderRadius",i),b(e,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),b(e,"marginBottom",o.menuGutter),b(e,"marginTop",o.menuGutter),b(e,"position","absolute"),b(e,"width","100%"),b(e,"zIndex",1),e};var _=function(t){function e(){var t,n;f(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(m(m(n=p(this,(t=v(e)).call.apply(t,[this].concat(i))))),"state",{maxHeight:n.props.maxMenuHeight,placement:null}),b(m(m(n)),"getPlacement",function(t){var e=n.props,r=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,u=e.menuShouldScrollIntoView,s=e.theme,c=n.context.getPortalPlacement;if(t){var l="fixed"===a,f=x({maxHeight:i,menuEl:t,minHeight:r,placement:o,shouldScroll:u&&!l,isFixedPosition:l,theme:s});c&&c(f),n.setState(f)}}),b(m(m(n)),"getUpdatedProps",function(){var t=n.props.menuPlacement,e=n.state.placement||w(t);return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){b(t,e,n[e])})}return t}({},n.props,{placement:e,maxHeight:n.state.maxHeight})}),n}return g(e,i.Component),d(e,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),e}();e.MenuPlacer=_,b(_,"contextTypes",{getPortalPlacement:u.default.func});var S=function(t){var e=t.children,n=t.className,r=t.cx,a=t.getStyles,u=t.innerRef,s=t.innerProps,c=r((0,o.css)(a("menu",t)),{menu:!0},n);return i.default.createElement("div",l({className:c},s,{ref:u}),e)};e.default=S;e.menuListCSS=function(t){var e=t.maxHeight,n=t.theme.spacing.baseUnit;return{maxHeight:e,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}};e.MenuList=function(t){var e=t.children,n=t.className,r=t.cx,a=t.getStyles,u=t.isMulti,s=t.innerRef;return i.default.createElement("div",{className:r((0,o.css)(a("menuList",t)),{"menu-list":!0,"menu-list--is-multi":u},n),ref:s},e)};var k=function(t){var e=t.theme,n=e.spacing.baseUnit;return{color:e.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},E=k;e.noOptionsMessageCSS=E;var O=k;e.loadingMessageCSS=O;var C=function(t){var e=t.children,n=t.className,r=t.cx,a=t.getStyles,u=t.innerProps;return i.default.createElement("div",l({className:r((0,o.css)(a("noOptionsMessage",t)),{"menu-notice":!0,"menu-notice--no-options":!0},n)},u),e)};e.NoOptionsMessage=C,C.defaultProps={children:"No options"};var A=function(t){var e=t.children,n=t.className,r=t.cx,a=t.getStyles,u=t.innerProps;return i.default.createElement("div",l({className:r((0,o.css)(a("loadingMessage",t)),{"menu-notice":!0,"menu-notice--loading":!0},n)},u),e)};e.LoadingMessage=A,A.defaultProps={children:"Loading..."};e.menuPortalCSS=function(t){var e=t.rect,n=t.offset,r=t.position;return{left:e.left,position:r,top:n,width:e.width,zIndex:1}};var T=function(t){function e(){var t,n;f(this,e);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return b(m(m(n=p(this,(t=v(e)).call.apply(t,[this].concat(i))))),"state",{placement:null}),b(m(m(n)),"getPortalPlacement",function(t){var e=t.placement;e!==w(n.props.menuPlacement)&&n.setState({placement:e})}),n}return g(e,i.Component),d(e,[{key:"getChildContext",value:function(){return{getPortalPlacement:this.getPortalPlacement}}},{key:"render",value:function(){var t=this.props,e=t.appendTo,n=t.children,r=t.controlElement,u=t.menuPlacement,c=t.menuPosition,l=t.getStyles,f="fixed"===c;if(!e&&!f||!r)return null;var h=this.state.placement||w(u),d=(0,s.getBoundingClientObj)(r),p=f?0:window.pageYOffset,v={offset:d[h]+p,position:c,rect:d},g=i.default.createElement("div",{className:(0,o.css)(l("menuPortal",v))},n);return e?(0,a.createPortal)(g,e):g}}]),e}();e.MenuPortal=T,b(T,"childContextTypes",{getPortalPlacement:u.default.func})},q1tI:function(t,e,n){"use strict";t.exports=n("viRO")},qDJ8:function(t,e,n){"use strict"; /*! * isobject <https://github.com/jonschlinkert/isobject> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},qPyV:function(t,e,n){var r=n("ut/Y"),i=n("LGYb");t.exports=function(t,e){return t&&t.length?i(t,r(e,2)):[]}},qT12:function(t,e,n){"use strict"; /** @license React v16.10.2 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case f:case h:case a:case s:case u:case p:return t;default:switch(t=t&&t.$$typeof){case l:case d:case c:return t;default:return e}}case y:case g:case o:return e}}}function _(t){return w(t)===h}e.typeOf=w,e.AsyncMode=f,e.ConcurrentMode=h,e.ContextConsumer=l,e.ContextProvider=c,e.Element=i,e.ForwardRef=d,e.Fragment=a,e.Lazy=y,e.Memo=g,e.Portal=o,e.Profiler=s,e.StrictMode=u,e.Suspense=p,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===h||t===s||t===u||t===p||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===c||t.$$typeof===l||t.$$typeof===d||t.$$typeof===m||t.$$typeof===b||t.$$typeof===x)},e.isAsyncMode=function(t){return _(t)||w(t)===f},e.isConcurrentMode=_,e.isContextConsumer=function(t){return w(t)===l},e.isContextProvider=function(t){return w(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return w(t)===d},e.isFragment=function(t){return w(t)===a},e.isLazy=function(t){return w(t)===y},e.isMemo=function(t){return w(t)===g},e.isPortal=function(t){return w(t)===o},e.isProfiler=function(t){return w(t)===s},e.isStrictMode=function(t){return w(t)===u},e.isSuspense=function(t){return w(t)===p}},qZTm:function(t,e,n){var r=n("fR/l"),i=n("MvSz"),o=n("7GkX");t.exports=function(t){return r(t,o,i)}},qbnB:function(t,e,n){var r=n("juv8"),i=n("LsHQ"),o=n("mTTR"),a=i(function(t,e){r(e,o(e),t)});t.exports=a},"ql/k":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=n("q1tI"),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(t){var e=t.fill,n=void 0===e?"currentColor":e,r=t.width,o=void 0===r?24:r,u=t.height,s=void 0===u?24:u,c=t.style,l=void 0===c?{}:c,f=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(t,["fill","width","height","style"]);return a.default.createElement("svg",i({viewBox:"0 0 24 24",style:i({fill:n,width:o,height:s},l)},f),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},qltg:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.makeAsyncSelect=e.defaultProps=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(t,n):{};r.get||r.set?Object.defineProperty(e,n,r):e[n]=t[n]}return e.default=t,e}(n("q1tI")),i=u(n("3NYF")),o=n("2Qnb"),a=u(n("NKFp"));function u(t){return t&&t.__esModule?t:{default:t}}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function f(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var g={cacheOptions:!1,defaultOptions:!1,filterOption:null};e.defaultProps=g;var y=function(t){var e,n;return n=e=function(e){function n(t){var e,r,i;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),r=this,i=h(n).call(this),e=!i||"object"!==s(i)&&"function"!=typeof i?p(r):i,v(p(p(e)),"select",void 0),v(p(p(e)),"lastRequest",void 0),v(p(p(e)),"mounted",!1),v(p(p(e)),"optionsCache",{}),v(p(p(e)),"handleInputChange",function(t,n){var r=e.props,i=r.cacheOptions,a=r.onInputChange,u=(0,o.handleInputChange)(t,n,a);if(!u)return delete e.lastRequest,void e.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(i&&e.optionsCache[u])e.setState({inputValue:u,loadedInputValue:u,loadedOptions:e.optionsCache[u],isLoading:!1,passEmptyOptions:!1});else{var s=e.lastRequest={};e.setState({inputValue:u,isLoading:!0,passEmptyOptions:!e.state.loadedInputValue},function(){e.loadOptions(u,function(t){e.mounted&&(t&&(e.optionsCache[u]=t),s===e.lastRequest&&(delete e.lastRequest,e.setState({isLoading:!1,loadedInputValue:u,loadedOptions:t||[],passEmptyOptions:!1})))})})}return u}),e.state={defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0,inputValue:void 0!==t.inputValue?t.inputValue:"",isLoading:!0===t.defaultOptions,loadedOptions:[],passEmptyOptions:!1},e}var i,a,u;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(n,r.Component),i=n,(a=[{key:"componentDidMount",value:function(){var t=this;this.mounted=!0;var e=this.props.defaultOptions,n=this.state.inputValue;!0===e&&this.loadOptions(n,function(e){if(t.mounted){var n=!!t.lastRequest;t.setState({defaultOptions:e||[],isLoading:n})}})}},{key:"componentWillReceiveProps",value:function(t){t.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),t.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(t.defaultOptions)?t.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(t,e){var n=this.props.loadOptions;if(!n)return e();var r=n(t,e);r&&"function"==typeof r.then&&r.then(e,function(){return e()})}},{key:"render",value:function(){var e=this,n=this.props,i=(n.loadOptions,l(n,["loadOptions"])),o=this.state,a=o.defaultOptions,u=o.inputValue,s=o.isLoading,f=o.loadedInputValue,h=o.loadedOptions,d=o.passEmptyOptions?[]:u&&f?h:a||[];return r.default.createElement(t,c({},i,{ref:function(t){e.select=t},options:d,isLoading:s,onInputChange:this.handleInputChange}))}}])&&f(i.prototype,a),u&&f(i,u),n}(),v(e,"defaultProps",g),n};e.makeAsyncSelect=y;var m=y((0,a.default)(i.default));e.default=m},qncB:function(t,e,n){var r=n("XKFU"),i=n("vhPU"),o=n("eeVq"),a=n("/e88"),u="["+a+"]",s=RegExp("^"+u+u+"*"),c=RegExp(u+u+"*$"),l=function(t,e,n){var i={},u=o(function(){return!!a[t]()||" "!=" "[t]()}),s=i[t]=u?e(f):a[t];n&&(i[n]=s),r(r.P+r.F*u,"String",i)},f=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(s,"")),2&e&&(t=t.replace(c,"")),t};t.exports=l},qo7Q:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlphaPicker=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=s(n("q1tI")),o=s(n("/FUP")),a=n("TM95"),u=s(n("Syy6"));function s(t){return t&&t.__esModule?t:{default:t}}var c=e.AlphaPicker=function(t){var e=t.rgb,n=t.hsl,u=t.width,s=t.height,c=t.onChange,l=t.direction,f=t.style,h=t.renderers,d=t.pointer,p=t.className,v=void 0===p?"":p,g=(0,o.default)({default:{picker:{position:"relative",width:u,height:s},alpha:{radius:"2px",style:f}}});return i.default.createElement("div",{style:g.picker,className:"alpha-picker "+v},i.default.createElement(a.Alpha,r({},g.alpha,{rgb:e,hsl:n,pointer:d,renderers:h,onChange:c,direction:l})))};c.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:u.default},e.default=(0,a.ColorWrap)(c)},qqsd:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return r.default.createElement("div",{className:"react-calendar__century-view"},r.default.createElement(i.default,t))};var r=o(n("q1tI")),i=o(n("CDs1"));function o(t){return t&&t.__esModule?t:{default:t}}},quPj:function(t,e,n){var r=n("0/R4"),i=n("LZWt"),o=n("K0xU")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},quyA:function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},r1bV:function(t,e,n){n("7DDg")("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},rE2o:function(t,e,n){n("OnI7")("asyncIterator")},rEGp:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},rGqo:function(t,e,n){for(var r=n("yt8O"),i=n("DVgA"),o=n("KroJ"),a=n("dyZX"),u=n("Mukb"),s=n("hPIQ"),c=n("K0xU"),l=c("iterator"),f=c("toStringTag"),h=s.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),v=0;v<p.length;v++){var g,y=p[v],m=d[y],b=a[y],x=b&&b.prototype;if(x&&(x[l]||u(x,l,h),x[f]||u(x,f,y),s[y]=h,m))for(g in r)x[g]||o(x,g,r[g],!0)}},rJ8t:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Block=void 0;var r=l(n("q1tI")),i=l(n("17x9")),o=l(n("/FUP")),a=l(n("QkVN")),u=l(n("p8yl")),s=n("TM95"),c=l(n("uDUr"));function l(t){return t&&t.__esModule?t:{default:t}}var f=e.Block=function(t){var e=t.onChange,n=t.onSwatchHover,i=t.hex,l=t.colors,f=t.width,h=t.triangle,d=t.styles,p=void 0===d?{}:d,v=t.className,g=void 0===v?"":v,y="transparent"===i,m=function(t,n){u.default.isValidHex(t)&&e({hex:t,source:"hex"},n)},b=(0,o.default)((0,a.default)({default:{card:{width:f,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:i,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:u.default.getContrastingColor(i),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+i+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},p),{"hide-triangle":"hide"===h});return r.default.createElement("div",{style:b.card,className:"block-picker "+g},r.default.createElement("div",{style:b.triangle}),r.default.createElement("div",{style:b.head},y&&r.default.createElement(s.Checkboard,{borderRadius:"6px 6px 0 0"}),r.default.createElement("div",{style:b.label},i)),r.default.createElement("div",{style:b.body},r.default.createElement(c.default,{colors:l,onClick:m,onSwatchHover:n}),r.default.createElement(s.EditableInput,{style:{input:b.input},value:i,onChange:m})))};f.propTypes={width:i.default.oneOfType([i.default.string,i.default.number]),colors:i.default.arrayOf(i.default.string),triangle:i.default.oneOf(["top","hide"]),styles:i.default.object},f.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},e.default=(0,s.ColorWrap)(f)},rPjj:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),i=function(t){function e(e,n,r){var i=t.call(this)||this;return i.parent=e,i.outerValue=n,i.outerIndex=r,i.index=0,i}return r.__extends(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(n("FFOo").a)},ragC:function(t,e,n){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,i=!1,o=void 0;try{for(var a,u=t[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){i=!0,o=t}finally{try{r||null==u.return||u.return()}finally{if(i)throw o}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(e,"__esModule",{value:!0}),e.getYear=c,e.getMonth=l,e.getMonthIndex=f,e.getDay=h,e.getDayOfWeek=d,e.getBeginOfCenturyYear=p,e.getBeginOfCentury=v,e.getEndOfCentury=g,e.getCenturyRange=y,e.getBeginOfPreviousCentury=m,e.getEndOfPreviousCentury=b,e.getBeginOfNextCentury=x,e.getBeginOfDecadeYear=w,e.getBeginOfDecade=_,e.getEndOfDecade=S,e.getDecadeRange=k,e.getBeginOfPreviousDecade=E,e.getEndOfPreviousDecade=O,e.getBeginOfNextDecade=C,e.getBeginOfYear=A,e.getEndOfYear=T,e.getYearRange=M,e.getBeginOfPreviousYear=P,e.getEndOfPreviousYear=j,e.getBeginOfNextYear=D,e.getBeginOfMonth=I,e.getEndOfMonth=N,e.getBeginOfWeek=F,e.getMonthRange=R,e.getBeginOfPreviousMonth=B,e.getEndOfPreviousMonth=z,e.getBeginOfNextMonth=V,e.getBeginOfDay=U,e.getEndOfDay=H,e.getDayRange=W,e.getWeekNumber=function(t){var e,n,r="US"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ISO 8601")?"US":"ISO 8601",i=F(t,r),o=c(t)+1;do{e=new Date(o,0,"ISO 8601"===r?4:1),n=F(e,r),o-=1}while(t-n<0);return Math.round((i-n)/6048e5)+1},e.getBegin=q,e.getBeginPrevious=function(t,e){switch(t){case"century":return m(e);case"decade":return E(e);case"year":return P(e);case"month":return B(e);default:throw new Error("Invalid rangeType: ".concat(t))}},e.getBeginNext=function(t,e){switch(t){case"century":return x(e);case"decade":return C(e);case"year":return D(e);case"month":return V(e);default:throw new Error("Invalid rangeType: ".concat(t))}},e.getEnd=G,e.getEndPrevious=function(t,e){switch(t){case"century":return b(e);case"decade":return O(e);case"year":return j(e);case"month":return z(e);default:throw new Error("Invalid rangeType: ".concat(t))}},e.getRange=function(t,e){switch(t){case"century":return y(e);case"decade":return k(e);case"year":return M(e);case"month":return R(e);case"day":return W(e);default:throw new Error("Invalid rangeType: ".concat(t))}},e.getValueRange=function(t,e,n){var r=[e,n].sort(function(t,e){return t-e});return[q(t,r[0]),G(t,r[1])]},e.getDaysInMonth=function(t){var e=c(t),n=f(t);return new Date(e,n+1,0).getDate()},e.getCenturyLabel=function(t){return Y(y(t))},e.getDecadeLabel=function(t){return Y(k(t))},e.isWeekend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ISO 8601",n=t.getDay();switch(e){case"Arabic":case"Hebrew":return n===u||n===s;case"ISO 8601":case"US":return n===s||n===a;default:throw new Error("Unsupported calendar type.")}},e.getISOLocalMonth=function(t){if(!t)return t;var e=new Date(t);if(isNaN(e.getTime()))throw new Error("Invalid date: ".concat(t));var n=c(e),r="0".concat(l(e)).slice(-2);return"".concat(n,"-").concat(r)},e.getISOLocalDate=function(t){if(!t)return t;var e=new Date(t);if(isNaN(e.getTime()))throw new Error("Invalid date: ".concat(t));var n=c(e),r="0".concat(l(e)).slice(-2),i="0".concat(h(e)).slice(-2);return"".concat(n,"-").concat(r,"-").concat(i)},e.getEndPrevious2=e.getBeginNext2=e.getBeginPrevious2=void 0;var i,o=r((i=Array(7),function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(i)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()).map(function(t,e){return e}),7),a=o[0],u=(o[1],o[2],o[3],o[4],o[5]),s=o[6];function c(t){if(t instanceof Date)return t.getFullYear();if("number"==typeof t)return t;var e=parseInt(t,10);if("string"==typeof t&&!isNaN(e))return e;throw new Error("Failed to get year from date: ".concat(t,"."))}function l(t){return t.getMonth()+1}function f(t){return t.getMonth()}function h(t){return t.getDate()}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ISO 8601",n=t.getDay();switch(e){case"ISO 8601":return(n+6)%7;case"Arabic":return(n+1)%7;case"Hebrew":case"US":return n;default:throw new Error("Unsupported calendar type.")}}function p(t){var e=c(t)-1;return e+-e%100+1}function v(t){var e=p(t);return new Date(e,0,1)}function g(t){var e=p(t);return new Date(e+100,0,1,0,0,0,-1)}function y(t){return[v(t),g(t)]}function m(t){return v(c(t)-100)}function b(t){return g(c(t)-100)}function x(t){return v(c(t)+100)}function w(t){var e=c(t)-1;return e+-e%10+1}function _(t){var e=w(t);return new Date(e,0,1)}function S(t){var e=w(t);return new Date(e+10,0,1,0,0,0,-1)}function k(t){return[_(t),S(t)]}function E(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return _(w(t)-e)}function O(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return S(w(t)-e)}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return _(w(t)+e)}function A(t){var e=c(t);return new Date(e,0,1)}function T(t){var e=c(t);return new Date(e+1,0,1,0,0,0,-1)}function M(t){return[A(t),T(t)]}function P(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return A(c(t)-e)}function j(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return T(c(t)-e)}function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return A(c(t)+e)}function I(t){var e=c(t),n=f(t);return new Date(e,n,1)}function N(t){var e=c(t),n=f(t);return new Date(e,n+1,1,0,0,0,-1)}function F(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ISO 8601",n=c(t),r=f(t),i=t.getDate()-d(t,e);return new Date(n,r,i)}function R(t){return[I(t),N(t)]}function L(t,e){var n=c(t),r=f(t)+e;return new Date(n,r,1)}function B(t){return I(L(t,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)))}function z(t){return N(L(t,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)))}function V(t){return I(L(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function U(t){var e=c(t),n=f(t),r=h(t);return new Date(e,n,r)}function H(t){var e=c(t),n=f(t),r=h(t);return new Date(e,n,r+1,0,0,0,-1)}function W(t){return[U(t),H(t)]}function q(t,e){switch(t){case"century":return v(e);case"decade":return _(e);case"year":return A(e);case"month":return I(e);case"day":return U(e);default:throw new Error("Invalid rangeType: ".concat(t))}}e.getBeginPrevious2=function(t,e){switch(t){case"decade":return E(e,100);case"year":return P(e,10);case"month":return B(e,12);default:throw new Error("Invalid rangeType: ".concat(t))}};function G(t,e){switch(t){case"century":return g(e);case"decade":return S(e);case"year":return T(e);case"month":return N(e);case"day":return H(e);default:throw new Error("Invalid rangeType: ".concat(t))}}e.getBeginNext2=function(t,e){switch(t){case"decade":return C(e,100);case"year":return D(e,10);case"month":return V(e,12);default:throw new Error("Invalid rangeType: ".concat(t))}};function Y(t){var e=r(t,2),n=e[0],i=e[1];return"".concat(c(n)," – ").concat(c(i))}e.getEndPrevious2=function(t,e){switch(t){case"decade":return O(e,100);case"year":return j(e,10);case"month":return z(e,12);default:throw new Error("Invalid rangeType: ".concat(t))}}},"rjQ/":function(t,e,n){var r=n("h1NE");t.exports=function(t,e){";"!==(t=r.trimRight(t))[t.length-1]&&(t+=";");var n=t.length,i=!1,o=0,a=0,u="";function s(){if(!i){var n=r.trim(t.slice(o,a)),s=n.indexOf(":");if(-1!==s){var c=r.trim(n.slice(0,s)),l=r.trim(n.slice(s+1));if(c){var f=e(o,u.length,c,l,n);f&&(u+=f+"; ")}}}o=a+1}for(;a<n;a++){var c=t[a];if("/"===c&&"*"===t[a+1]){var l=t.indexOf("*/",a+2);if(-1===l)break;o=(a=l+1)+1,i=!1}else"("===c?i=!0:")"===c?i=!1:";"===c?i||s():"\n"===c&&s()}return r.trim(u)}},rmCF:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=v;var r=c(n("q1tI")),i=c(n("17x9")),o=c(n("Jpgy")),a=n("ragC"),u=n("yMCc"),s=n("4UG0");function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(){return(h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function d(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var p="react-calendar__year-view__months__month";function v(t){var e=t.classes,n=t.date,i=t.formatMonth,s=t.locale,c=d(t,["classes","date","formatMonth","locale"]);return r.default.createElement(o.default,h({},c,{classes:[].concat(e,p),date:n,formatAbbr:u.formatMonthYear,locale:s,maxDateTransform:a.getEndOfMonth,minDateTransform:a.getBeginOfMonth,view:"year"}),i(s,n))}v.defaultProps={formatMonth:u.formatMonth},v.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(n,!0).forEach(function(e){f(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},s.tileProps,{formatMonth:i.default.func})},rr1i:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},rvZc:function(t,e,n){"use strict";var r=n("XKFU"),i=n("ne8i"),o=n("0sh+"),a="".endsWith;r(r.P+r.F*n("UUeW")("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),u=void 0===n?r:Math.min(i(n),r),s=String(t);return a?a.call(e,s,u):e.slice(u-s.length,u)===s}})},s3Ml:function(t,e,n){t.exports={default:n("JbBM"),__esModule:!0}},s5qY:function(t,e,n){var r=n("0/R4");t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},sEf8:function(t,e){t.exports=function(t){return function(e){return t(e)}}},sEfC:function(t,e,n){var r=n("GoyQ"),i=n("QIyF"),o=n("tLB3"),a="Expected a function",u=Math.max,s=Math.min;t.exports=function(t,e,n){var c,l,f,h,d,p,v=0,g=!1,y=!1,m=!0;if("function"!=typeof t)throw new TypeError(a);function b(e){var n=c,r=l;return c=l=void 0,v=e,h=t.apply(r,n)}function x(t){var n=t-p;return void 0===p||n>=e||n<0||y&&t-v>=f}function w(){var t=i();if(x(t))return _(t);d=setTimeout(w,function(t){var n=e-(t-p);return y?s(n,f-(t-v)):n}(t))}function _(t){return d=void 0,m&&c?b(t):(c=l=void 0,h)}function S(){var t=i(),n=x(t);if(c=arguments,l=this,p=t,n){if(void 0===d)return function(t){return v=t,d=setTimeout(w,e),g?b(t):h}(p);if(y)return clearTimeout(d),d=setTimeout(w,e),b(p)}return void 0===d&&(d=setTimeout(w,e)),h}return e=o(e)||0,r(n)&&(g=!!n.leading,f=(y="maxWait"in n)?u(o(n.maxWait)||0,e):f,m="trailing"in n?!!n.trailing:m),S.cancel=function(){void 0!==d&&clearTimeout(d),v=0,c=p=l=d=void 0},S.flush=function(){return void 0===d?h:_(i())},S}},sFw1:function(t,e,n){n("7DDg")("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},sINF:function(t,e,n){"use strict";function r(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(i){return"function"==typeof i?i(n,r,t):e(i)}}}}var i=r();i.withExtraArgument=r,e.a=i},sMXx:function(t,e,n){"use strict";var r=n("Ugos");n("XKFU")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},sO1s:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var r=c(n("q1tI")),i=c(n("17x9")),o=c(n("xv+5")),a=c(n("GqiD")),u=n("ragC"),s=n("4UG0");function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(){return(h=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function d(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function p(t){var e=t.activeStartDate,n=t.calendarType,i=t.showFixedNumberOfWeeks,s=t.showNeighboringMonth,c=d(t,["showFixedNumberOfWeeks","showNeighboringMonth"]),l=(0,u.getYear)(e),f=(0,u.getMonthIndex)(e),p=i||s,v=(0,u.getDayOfWeek)(e,n),g=p?0:v,y=1+(p?-v:0),m=function(){if(i)return y+42-1;var t=(0,u.getDaysInMonth)(e);if(s){var r=new Date(l,f,t);return t+(7-(0,u.getDayOfWeek)(r,n)-1)}return t}();return r.default.createElement(o.default,h({},c,{className:"react-calendar__month-view__days",count:7,currentMonthIndex:f,dateTransform:function(t){return new Date(l,f,t)},dateType:"day",end:m,offset:g,start:y,tile:a.default}))}p.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(n,!0).forEach(function(e){f(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({calendarType:s.isCalendarType.isRequired,showFixedNumberOfWeeks:i.default.bool,showNeighboringMonth:i.default.bool},s.tileGroupProps)},sQeT:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Calendar",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"CenturyView",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"DecadeView",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"YearView",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"MonthView",{enumerable:!0,get:function(){return u.default}}),e.default=void 0;var r=s(n("QbqK")),i=s(n("qqsd")),o=s(n("JHXx")),a=s(n("DUd0")),u=s(n("575g"));function s(t){return t&&t.__esModule?t:{default:t}}var c=r.default;e.default=c},sVjb:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PhotoshopPointerCircle=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.PhotoshopPointerCircle=function(){var t=(0,i.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return r.default.createElement("div",{style:t.pointer},r.default.createElement("div",{style:t.left},r.default.createElement("div",{style:t.leftInside})),r.default.createElement("div",{style:t.right},r.default.createElement("div",{style:t.rightInside})))};e.default=a},sbF8:function(t,e,n){var r=n("XKFU"),i=n("nBIS"),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},sdKN:function(t,e,n){var r=n("NykK"),i=n("ExA7"),o="[object Date]";t.exports=function(t){return i(t)&&r(t)==o}},seXi:function(t,e,n){var r=n("qZTm"),i=1,o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,a,u,s){var c=n&i,l=r(t),f=l.length;if(f!=r(e).length&&!c)return!1;for(var h=f;h--;){var d=l[h];if(!(c?d in e:o.call(e,d)))return!1}var p=s.get(t);if(p&&s.get(e))return p==e;var v=!0;s.set(t,e),s.set(e,t);for(var g=c;++h<f;){var y=t[d=l[h]],m=e[d];if(a)var b=c?a(m,y,d,e,t,s):a(y,m,d,t,e,s);if(!(void 0===b?y===m||u(y,m,n,a,s):b)){v=!1;break}g||(g="constructor"==d)}if(v&&!g){var x=t.constructor,w=e.constructor;x!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w)&&(v=!1)}return s.delete(t),s.delete(e),v}},shjB:function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},siIJ:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}()},srvI:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.calculateChange=function(t,e,n,r){t.preventDefault();var i=r.clientWidth,o=r.clientHeight,a="number"==typeof t.pageX?t.pageX:t.touches[0].pageX,u="number"==typeof t.pageY?t.pageY:t.touches[0].pageY,s=a-(r.getBoundingClientRect().left+window.pageXOffset),c=u-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var l=void 0;if(c<0)l=359;else if(c>o)l=0;else{l=360*(-100*c/o+100)/100}if(n.hsl.h!==l)return{h:l,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var f=void 0;if(s<0)f=0;else if(s>i)f=359;else{f=360*(100*s/i)/100}if(n.hsl.h!==f)return{h:f,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}return null}},svcd:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("mrSG"),i=n("K9Ia"),o=n("pugT"),a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.value=null,e.hasNext=!1,e.hasCompleted=!1,e}return r.__extends(e,t),e.prototype._subscribe=function(e){return this.hasError?(e.error(this.thrownError),o.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),o.a.EMPTY):t.prototype._subscribe.call(this,e)},e.prototype.next=function(t){this.hasCompleted||(this.value=t,this.hasNext=!0)},e.prototype.error=function(e){this.hasCompleted||t.prototype.error.call(this,e)},e.prototype.complete=function(){this.hasCompleted=!0,this.hasNext&&t.prototype.next.call(this,this.value),t.prototype.complete.call(this)},e}(i.b)},sxGJ:function(t,e,n){ /*! * clipboard.js v2.0.4 * https://zenorocha.github.io/clipboard.js * * Licensed MIT © Zeno Rocha */ var r;r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=s(n(1)),a=s(n(3)),u=s(n(4));function s(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.resolveOptions(n),r.listenClick(t),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,a.default),i(e,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===r(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,u.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return l("action",t)}},{key:"defaultTarget",value:function(t){var e=l("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return l("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}();function l(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}t.exports=c},function(t,e,n){"use strict";var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=n(2),u=(r=a)&&r.__esModule?r:{default:r};var s=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return o(t,[{key:"resolveOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,u.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,u.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":i(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=s},function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(t),r.removeAllRanges(),r.addRange(i),e=r.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var r=this.e||(this.e={});return(r[t]||(r[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var r=this;function i(){r.off(t,i),e.apply(n,arguments)}return i._=e,this.on(t,i,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],i=[];if(r&&e)for(var o=0,a=r.length;o<a;o++)r[o].fn!==e&&r[o].fn._!==e&&i.push(r[o]);return i.length?n[t]=i:delete n[t],this}},t.exports=n},function(t,e,n){var r=n(5),i=n(6);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!r.string(e))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(r.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}(t,e,n);if(r.string(t))return function(t,e,n){return i(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(7);function i(t,e,n,i,o){var a=function(t,e,n,i){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&i.call(t,n)}}.apply(this,arguments);return t.addEventListener(n,a,o),{destroy:function(){t.removeEventListener(n,a,o)}}}t.exports=function(t,e,n,r,o){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,r,o)}))}},function(t,e){var n=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=function(t,e){for(;t&&t.nodeType!==n;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}}])},t.exports=r()},t2Dn:function(t,e,n){var r=n("hypo"),i=n("ljhN");t.exports=function(t,e,n){(void 0===n||i(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}},t8r4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Swatches=void 0;var r=h(n("q1tI")),i=h(n("17x9")),o=h(n("/FUP")),a=h(n("3WF5")),u=h(n("QkVN")),s=h(n("p8yl")),c=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n("wME1")),l=n("TM95"),f=h(n("Efrf"));function h(t){return t&&t.__esModule?t:{default:t}}var d=e.Swatches=function(t){var e=t.width,n=t.height,i=t.onChange,c=t.onSwatchHover,h=t.colors,d=t.hex,p=t.styles,v=void 0===p?{}:p,g=t.className,y=void 0===g?"":g,m=(0,o.default)((0,u.default)({default:{picker:{width:e,height:n},overflow:{height:n,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},v)),b=function(t,e){s.default.isValidHex(t)&&i({hex:t,source:"hex"},e)};return r.default.createElement("div",{style:m.picker,className:"swatches-picker "+y},r.default.createElement(l.Raised,null,r.default.createElement("div",{style:m.overflow},r.default.createElement("div",{style:m.body},(0,a.default)(h,function(t){return r.default.createElement(f.default,{key:t.toString(),group:t,active:d,onClick:b,onSwatchHover:c})}),r.default.createElement("div",{style:m.clear})))))};d.propTypes={width:i.default.oneOfType([i.default.string,i.default.number]),height:i.default.oneOfType([i.default.string,i.default.number]),colors:i.default.arrayOf(i.default.arrayOf(i.default.string)),styles:i.default.object},d.defaultProps={width:320,height:240,colors:[[c.red[900],c.red[700],c.red[500],c.red[300],c.red[100]],[c.pink[900],c.pink[700],c.pink[500],c.pink[300],c.pink[100]],[c.purple[900],c.purple[700],c.purple[500],c.purple[300],c.purple[100]],[c.deepPurple[900],c.deepPurple[700],c.deepPurple[500],c.deepPurple[300],c.deepPurple[100]],[c.indigo[900],c.indigo[700],c.indigo[500],c.indigo[300],c.indigo[100]],[c.blue[900],c.blue[700],c.blue[500],c.blue[300],c.blue[100]],[c.lightBlue[900],c.lightBlue[700],c.lightBlue[500],c.lightBlue[300],c.lightBlue[100]],[c.cyan[900],c.cyan[700],c.cyan[500],c.cyan[300],c.cyan[100]],[c.teal[900],c.teal[700],c.teal[500],c.teal[300],c.teal[100]],["#194D33",c.green[700],c.green[500],c.green[300],c.green[100]],[c.lightGreen[900],c.lightGreen[700],c.lightGreen[500],c.lightGreen[300],c.lightGreen[100]],[c.lime[900],c.lime[700],c.lime[500],c.lime[300],c.lime[100]],[c.yellow[900],c.yellow[700],c.yellow[500],c.yellow[300],c.yellow[100]],[c.amber[900],c.amber[700],c.amber[500],c.amber[300],c.amber[100]],[c.orange[900],c.orange[700],c.orange[500],c.orange[300],c.orange[100]],[c.deepOrange[900],c.deepOrange[700],c.deepOrange[500],c.deepOrange[300],c.deepOrange[100]],[c.brown[900],c.brown[700],c.brown[500],c.brown[300],c.brown[100]],[c.blueGrey[900],c.blueGrey[700],c.blueGrey[500],c.blueGrey[300],c.blueGrey[100]],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},e.default=(0,l.ColorWrap)(d)},"tA+S":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultTheme=e.spacing=e.colors=void 0;var r={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"};e.colors=r;var i={baseUnit:4,controlHeight:38,menuGutter:8};e.spacing=i;var o={borderRadius:4,colors:r,spacing:i};e.defaultTheme=o},tEej:function(t,e,n){var r=n("Ojgd"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},tLB3:function(t,e,n){var r=n("GoyQ"),i=n("/9aa"),o=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return o;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=s.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):u.test(t)?o:+t}},tMB7:function(t,e,n){var r=n("y1pI");t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},tUFz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resultsAriaMessage=e.optionFocusAriaMessage=e.valueFocusAriaMessage=e.valueEventAriaMessage=e.instructionsAriaMessage=void 0;e.instructionsAriaMessage=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.isSearchable,r=e.isMulti,i=e.label;switch(t){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return"".concat(i||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}};e.valueEventAriaMessage=function(t,e){var n=e.value;if(n)switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,", selected.")}};e.valueFocusAriaMessage=function(t){var e=t.focusedValue,n=t.getOptionLabel,r=t.selectValue;return"value ".concat(n(e)," focused, ").concat(r.indexOf(e)+1," of ").concat(r.length,".")};e.optionFocusAriaMessage=function(t){var e=t.focusedOption,n=t.getOptionLabel,r=t.options;return"option ".concat(n(e)," focused, ").concat(r.indexOf(e)+1," of ").concat(r.length,".")};e.resultsAriaMessage=function(t){var e=t.inputValue,n=t.screenReaderMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}},tUrg:function(t,e,n){"use strict";n("OGtf")("link",function(t){return function(e){return t(this,"a","href",e)}})},tadb:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"DataView");t.exports=r},tjlA:function(t,e,n){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org> * @license MIT */ var r=n("H7XF"),i=n("kVK+"),o=n("49sm");function a(){return s.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function u(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return s.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=s.prototype:(null===t&&(t=new s(e)),t.length=e),t}function s(t,e,n){if(!(s.TYPED_ARRAY_SUPPORT||this instanceof s))return new s(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return f(this,t)}return c(this,t,e,n)}function c(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);s.TYPED_ARRAY_SUPPORT?(t=e).__proto__=s.prototype:t=h(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!s.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),i=(t=u(t,r)).write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(s.isBuffer(e)){var n=0|d(e.length);return 0===(t=u(t,n)).length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?u(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function f(t,e){if(l(e),t=u(t,e<0?0:0|d(e)),!s.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function h(t,e){var n=e.length<0?0:0|d(e.length);t=u(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function d(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return z(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(t).length;default:if(r)return z(t).length;e=(""+e).toLowerCase(),r=!0}}function v(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function g(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=s.from(e,r)),s.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return e&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,a=1,u=t.length,s=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,u/=2,s/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var l=-1;for(o=n;o<u;o++)if(c(t,o)===c(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===s)return l*a}else-1!==l&&(o-=o-l),l=-1}else for(n+s>u&&(n=u-s),o=n;o>=0;o--){for(var f=!0,h=0;h<s;h++)if(c(t,o+h)!==c(e,h)){f=!1;break}if(f)return o}return-1}function m(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var u=parseInt(e.substr(2*a,2),16);if(isNaN(u))return a;t[n+a]=u}return a}function b(t,e,n,r){return U(z(e,t.length-n),t,n,r)}function x(t,e,n,r){return U(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function w(t,e,n,r){return x(t,e,n,r)}function _(t,e,n,r){return U(V(e),t,n,r)}function S(t,e,n,r){return U(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function k(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function E(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,u,s,c=t[i],l=null,f=c>239?4:c>223?3:c>191?2:1;if(i+f<=n)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(o=t[i+1]))&&(s=(31&c)<<6|63&o)>127&&(l=s);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(s=(15&c)<<12|(63&o)<<6|63&a)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:o=t[i+1],a=t[i+2],u=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&u)&&(s=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&u)>65535&&s<1114112&&(l=s)}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return function(t){var e=t.length;if(e<=O)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=O));return n}(r)}e.Buffer=s,e.SlowBuffer=function(t){+t!=t&&(t=0);return s.alloc(+t)},e.INSPECT_MAX_BYTES=50,s.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),s.poolSize=8192,s._augment=function(t){return t.__proto__=s.prototype,t},s.from=function(t,e,n){return c(null,t,e,n)},s.TYPED_ARRAY_SUPPORT&&(s.prototype.__proto__=Uint8Array.prototype,s.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0})),s.alloc=function(t,e,n){return function(t,e,n,r){return l(e),e<=0?u(t,e):void 0!==n?"string"==typeof r?u(t,e).fill(n,r):u(t,e).fill(n):u(t,e)}(null,t,e,n)},s.allocUnsafe=function(t){return f(null,t)},s.allocUnsafeSlow=function(t){return f(null,t)},s.isBuffer=function(t){return!(null==t||!t._isBuffer)},s.compare=function(t,e){if(!s.isBuffer(t)||!s.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=s.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!s.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)v(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)v(this,e,e+3),v(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)v(this,e,e+7),v(this,e+1,e+6),v(this,e+2,e+5),v(this,e+3,e+4);return this},s.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?E(this,0,t):function(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return T(this,e,n);case"utf8":case"utf-8":return E(this,e,n);case"ascii":return C(this,e,n);case"latin1":case"binary":return A(this,e,n);case"base64":return k(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}.apply(this,arguments)},s.prototype.equals=function(t){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},s.prototype.compare=function(t,e,n,r,i){if(!s.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),u=Math.min(o,a),c=this.slice(r,i),l=t.slice(e,n),f=0;f<u;++f)if(c[f]!==l[f]){o=c[f],a=l[f];break}return o<a?-1:a<o?1:0},s.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},s.prototype.indexOf=function(t,e,n){return g(this,t,e,n,!0)},s.prototype.lastIndexOf=function(t,e,n){return g(this,t,e,n,!1)},s.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return m(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return x(this,t,e,n);case"latin1":case"binary":return w(this,t,e,n);case"base64":return _(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var O=4096;function C(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function A(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function T(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=B(t[o]);return i}function M(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function j(t,e,n,r,i,o){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function D(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function I(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function N(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(t,e,n,r,o){return o||N(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function R(t,e,n,r,o){return o||N(t,0,n,8),i.write(t,e,n,r,52,8),n+8}s.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),s.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=s.prototype;else{var i=e-t;n=new s(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},s.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},s.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},s.prototype.readUInt8=function(t,e){return e||P(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return e||P(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return e||P(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return e||P(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},s.prototype.readUInt32BE=function(t,e){return e||P(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},s.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||P(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},s.prototype.readInt8=function(t,e){return e||P(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},s.prototype.readInt16LE=function(t,e){e||P(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(t,e){e||P(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(t,e){return e||P(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return e||P(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return e||P(t,4,this.length),i.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return e||P(t,8,this.length),i.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||j(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},s.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||j(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},s.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,1,255,0),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},s.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,65535,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},s.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):I(this,t,e,!0),e+4},s.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,4294967295,0),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},s.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);j(this,t,e,n,i-1,-i)}var o=0,a=1,u=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===u&&0!==this[e+o-1]&&(u=1),this[e+o]=(t/a>>0)-u&255;return e+n},s.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);j(this,t,e,n,i-1,-i)}var o=n-1,a=1,u=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===u&&0!==this[e+o+1]&&(u=1),this[e+o]=(t/a>>0)-u&255;return e+n},s.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,1,127,-128),s.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},s.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,2,32767,-32768),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},s.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,2147483647,-2147483648),s.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):I(this,t,e,!0),e+4},s.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||j(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),s.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):I(this,t,e,!1),e+4},s.prototype.writeFloatLE=function(t,e,n){return F(this,t,e,!0,n)},s.prototype.writeFloatBE=function(t,e,n){return F(this,t,e,!1,n)},s.prototype.writeDoubleLE=function(t,e,n){return R(this,t,e,!0,n)},s.prototype.writeDoubleBE=function(t,e,n){return R(this,t,e,!1,n)},s.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!s.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},s.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=s.isBuffer(t)?t:z(new s(t,r).toString()),u=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%u]}return this};var L=/[^+\/0-9A-Za-z-_]/g;function B(t){return t<16?"0"+t.toString(16):t.toString(16)}function z(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function V(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(L,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function U(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n("yLpj"))},tm4R:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("q1tI"),i=n("9+Sh"),o=["mousedown","touchstart"];e.default=function(t,e,n){void 0===n&&(n=o);var a=r.useRef(e);r.useEffect(function(){a.current=e},[e]),r.useEffect(function(){for(var e=function(e){var n=t.current;n&&!n.contains(e.target)&&a.current(e)},r=0,o=n;r<o.length;r++){var u=o[r];i.on(document,u,e)}return function(){for(var t=0,r=n;t<r.length;t++){var o=r[t];i.off(document,o,e)}}},[n,t])}},tqrz:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LoadingIndicator=e.loadingIndicatorCSS=e.IndicatorSeparator=e.indicatorSeparatorCSS=e.ClearIndicator=e.clearIndicatorCSS=e.DropdownIndicator=e.dropdownIndicatorCSS=e.DownChevron=e.CrossIcon=void 0;var r,i=(r=n("q1tI"))&&r.__esModule?r:{default:r},o=n("PAeb");function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var s=function(t){var e=t.size,n=u(t,["size"]);return i.default.createElement("svg",a({height:e,width:e,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",className:(0,o.css)({display:"inline-block",fill:"currentColor",lineHeight:1,stroke:"currentColor",strokeWidth:0})},n))},c=function(t){return i.default.createElement(s,a({size:20},t),i.default.createElement("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))};e.CrossIcon=c;var l=function(t){return i.default.createElement(s,a({size:20},t),i.default.createElement("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))};e.DownChevron=l;var f=function(t){var e=t.isFocused,n=t.theme,r=n.spacing.baseUnit,i=n.colors;return{color:e?i.neutral60:i.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:e?i.neutral80:i.neutral40}}},h=f;e.dropdownIndicatorCSS=h;e.DropdownIndicator=function(t){var e=t.children,n=t.className,r=t.cx,u=t.getStyles,s=t.innerProps;return i.default.createElement("div",a({},s,{className:r((0,o.css)(u("dropdownIndicator",t)),{indicator:!0,"dropdown-indicator":!0},n)}),e||i.default.createElement(l,null))};var d=f;e.clearIndicatorCSS=d;e.ClearIndicator=function(t){var e=t.children,n=t.className,r=t.cx,u=t.getStyles,s=t.innerProps;return i.default.createElement("div",a({},s,{className:r((0,o.css)(u("clearIndicator",t)),{indicator:!0,"clear-indicator":!0},n)}),e||i.default.createElement(c,null))};e.indicatorSeparatorCSS=function(t){var e=t.isDisabled,n=t.theme,r=n.spacing.baseUnit,i=n.colors;return{alignSelf:"stretch",backgroundColor:e?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r,width:1}};e.IndicatorSeparator=function(t){var e=t.className,n=t.cx,r=t.getStyles,u=t.innerProps;return i.default.createElement("span",a({},u,{className:n((0,o.css)(r("indicatorSeparator",t)),{"indicator-separator":!0},e)}))};var p=!1;e.loadingIndicatorCSS=function(t){var e=t.isFocused,n=t.size,r=t.theme,i=r.colors,o=r.spacing.baseUnit;return{color:e?i.neutral60:i.neutral20,display:"flex",padding:2*o,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}};var v=function(t){var e=t.color,n=t.delay,r=t.offset;return i.default.createElement("span",{className:(0,o.css)({animationDuration:"1s",animationDelay:"".concat(n,"ms"),animationIterationCount:"infinite",animationName:"react-select-loading-indicator",animationTimingFunction:"ease-in-out",backgroundColor:e,borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":null,height:"1em",verticalAlign:"top",width:"1em"})})},g=function(t){var e=t.className,n=t.cx,r=t.getStyles,u=t.innerProps,s=t.isFocused,c=t.isRtl,l=t.theme.colors,f=s?l.neutral80:l.neutral20;return p||((0,o.injectGlobal)("@keyframes ","react-select-loading-indicator","{0%,80%,100%{opacity:0;}40%{opacity:1;}};"),p=!0),i.default.createElement("div",a({},u,{className:n((0,o.css)(r("loadingIndicator",t)),{indicator:!0,"loading-indicator":!0},e)}),i.default.createElement(v,{color:f,delay:0,offset:c}),i.default.createElement(v,{color:f,delay:160,offset:!0}),i.default.createElement(v,{color:f,delay:320,offset:!c}))};e.LoadingIndicator=g,g.defaultProps={size:4}},trA2:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SliderPointer=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.SliderPointer=function(t){var e=t.direction,n=(0,i.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===e});return r.default.createElement("div",{style:n.picker})};e.default=a},tu5P:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ChromePointerCircle=void 0;var r=o(n("q1tI")),i=o(n("/FUP"));function o(t){return t&&t.__esModule?t:{default:t}}var a=e.ChromePointerCircle=function(){var t=(0,i.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return r.default.createElement("div",{style:t.picker})};e.default=a},tuSo:function(t,e,n){n("7DDg")("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},"tyy+":function(t,e,n){var r=n("XKFU"),i=n("11IZ");r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},u67D:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("En8+"),i=function(t){return function(e){for(var n=t[r.a]();;){var i=n.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}}},u8Dt:function(t,e,n){var r=n("YESw"),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===i?void 0:n}return o.call(e,t)?e[t]:void 0}},uDUr:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlockSwatches=void 0;var r=u(n("q1tI")),i=u(n("/FUP")),o=u(n("3WF5")),a=n("TM95");function u(t){return t&&t.__esModule?t:{default:t}}var s=e.BlockSwatches=function(t){var e=t.colors,n=t.onClick,u=t.onSwatchHover,s=(0,i.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return r.default.createElement("div",{style:s.swatches},(0,o.default)(e,function(t){return r.default.createElement(a.Swatch,{key:t,color:t,style:s.swatch,onClick:n,onHover:u,focusStyle:{boxShadow:"0 0 4px "+t}})}),r.default.createElement("div",{style:s.clear}))};e.default=s},uK0f:function(t,e,n){t.exports=function(){"use strict";return function(t,e,n){(n=n||{}).childrenKeyName=n.childrenKeyName||"children";var r=t||[],i=[],o=0;do{var a=r.filter(function(t){return e(t,o)})[0];if(!a)break;i.push(a),r=a[n.childrenKeyName]||[],o+=1}while(r.length>0);return i}}()},uMaO:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("mrSG"),i=function(t){function e(e,n){var r=t.call(this)||this;return r.subject=e,r.subscriber=n,r.closed=!1,r}return r.__extends(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(n("pugT").a)},uOPS:function(t,e){t.exports=!0},uciX:function(t,e,n){"use strict";var r=n("QbLZ"),i=n.n(r),o=n("iCc5"),a=n.n(o),u=n("FYw3"),s=n.n(u),c=n("mRg0"),l=n.n(c),f=n("q1tI"),h=n.n(f),d=n("17x9"),p=n.n(d),v=n("i8i4"),g=n.n(v),y=n("VCL8");function m(t,e){for(var n=e;n;){if(n===t)return!0;n=n.parentNode}return!1}var b=n("LIAx"),x=n.n(b);function w(t,e,n,r){var i=g.a.unstable_batchedUpdates?function(t){g.a.unstable_batchedUpdates(n,t)}:n;return x()(t,e,i,r)}var _=n("PIAm"),S=n("QC+M"),k=n("TSYQ"),E=n.n(k);function O(t,e,n){return n?t[0]===e[0]:t[0]===e[0]&&t[1]===e[1]}function C(t,e){this[t]=e}var A,T=n("V7oC"),M=n.n(T);function P(t){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function D(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}var I={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function N(){if(void 0!==A)return A;A="";var t=document.createElement("p").style;for(var e in I)e+"Transform"in t&&(A=e);return A}function F(){return N()?"".concat(N(),"TransitionProperty"):"transitionProperty"}function R(){return N()?"".concat(N(),"Transform"):"transform"}function L(t,e){var n=F();n&&(t.style[n]=e,"transitionProperty"!==n&&(t.style.transitionProperty=e))}function B(t,e){var n=R();n&&(t.style[n]=e,"transform"!==n&&(t.style.transform=e))}var z,V=/matrix\((.*)\)/,U=/matrix3d\((.*)\)/;function H(t){var e=t.style.display;t.style.display="none",t.offsetHeight,t.style.display=e}function W(t,e,n){var r=n;if("object"!==P(e))return void 0!==r?("number"==typeof r&&(r="".concat(r,"px")),void(t.style[e]=r)):z(t,e);for(var i in e)e.hasOwnProperty(i)&&W(t,i,e[i])}function q(t,e){var n=t["page".concat(e?"Y":"X","Offset")],r="scroll".concat(e?"Top":"Left");if("number"!=typeof n){var i=t.document;"number"!=typeof(n=i.documentElement[r])&&(n=i.body[r])}return n}function G(t){return q(t)}function Y(t){return q(t,!0)}function X(t){var e=function(t){var e,n,r,i=t.ownerDocument,o=i.body,a=i&&i.documentElement;return n=(e=t.getBoundingClientRect()).left,r=e.top,{left:n-=a.clientLeft||o.clientLeft||0,top:r-=a.clientTop||o.clientTop||0}}(t),n=t.ownerDocument,r=n.defaultView||n.parentWindow;return e.left+=G(r),e.top+=Y(r),e}function K(t){return null!=t&&t==t.window}function $(t){return K(t)?t.document:9===t.nodeType?t:t.ownerDocument}var Z=new RegExp("^(".concat(/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,")(?!px)[a-z%]+$"),"i"),J=/^(top|right|bottom|left)$/,Q="currentStyle",tt="runtimeStyle",et="left",nt="px";function rt(t,e){return"left"===t?e.useCssRight?"right":t:e.useCssBottom?"bottom":t}function it(t){return"left"===t?"right":"right"===t?"left":"top"===t?"bottom":"bottom"===t?"top":void 0}function ot(t,e,n){"static"===W(t,"position")&&(t.style.position="relative");var r=-999,i=-999,o=rt("left",n),a=rt("top",n),u=it(o),s=it(a);"left"!==o&&(r=999),"top"!==a&&(i=999);var c,l="",f=X(t);("left"in e||"top"in e)&&(l=(c=t).style.transitionProperty||c.style[F()]||"",L(t,"none")),"left"in e&&(t.style[u]="",t.style[o]="".concat(r,"px")),"top"in e&&(t.style[s]="",t.style[a]="".concat(i,"px")),H(t);var h=X(t),d={};for(var p in e)if(e.hasOwnProperty(p)){var v=rt(p,n),g="left"===p?r:i,y=f[p]-h[p];d[v]=v===p?g+y:g-y}W(t,d),H(t),("left"in e||"top"in e)&&L(t,l);var m={};for(var b in e)if(e.hasOwnProperty(b)){var x=rt(b,n),w=e[b]-f[b];m[x]=b===x?d[x]+w:d[x]-w}W(t,m)}function at(t,e){var n=X(t),r=function(t){var e=window.getComputedStyle(t,null),n=e.getPropertyValue("transform")||e.getPropertyValue(R());if(n&&"none"!==n){var r=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(r[12]||r[4],0),y:parseFloat(r[13]||r[5],0)}}return{x:0,y:0}}(t),i={x:r.x,y:r.y};"left"in e&&(i.x=r.x+e.left-n.left),"top"in e&&(i.y=r.y+e.top-n.top),function(t,e){var n=window.getComputedStyle(t,null),r=n.getPropertyValue("transform")||n.getPropertyValue(R());if(r&&"none"!==r){var i,o=r.match(V);o?((i=(o=o[1]).split(",").map(function(t){return parseFloat(t,10)}))[4]=e.x,i[5]=e.y,B(t,"matrix(".concat(i.join(","),")"))):((i=r.match(U)[1].split(",").map(function(t){return parseFloat(t,10)}))[12]=e.x,i[13]=e.y,B(t,"matrix3d(".concat(i.join(","),")")))}else B(t,"translateX(".concat(e.x,"px) translateY(").concat(e.y,"px) translateZ(0)"))}(t,i)}function ut(t,e){for(var n=0;n<t.length;n++)e(t[n])}function st(t){return"border-box"===z(t,"boxSizing")}"undefined"!=typeof window&&(z=window.getComputedStyle?function(t,e,n){var r=n,i="",o=$(t);return(r=r||o.defaultView.getComputedStyle(t,null))&&(i=r.getPropertyValue(e)||r[e]),i}:function(t,e){var n=t[Q]&&t[Q][e];if(Z.test(n)&&!J.test(e)){var r=t.style,i=r[et],o=t[tt][et];t[tt][et]=t[Q][et],r[et]="fontSize"===e?"1em":n||0,n=r.pixelLeft+nt,r[et]=i,t[tt][et]=o}return""===n?"auto":n});var ct=["margin","border","padding"],lt=-1,ft=2,ht=1;function dt(t,e,n){var r,i,o,a=0;for(i=0;i<e.length;i++)if(r=e[i])for(o=0;o<n.length;o++){var u=void 0;u="border"===r?"".concat(r).concat(n[o],"Width"):r+n[o],a+=parseFloat(z(t,u))||0}return a}var pt={getParent:function(t){var e=t;do{e=11===e.nodeType&&e.host?e.host:e.parentNode}while(e&&1!==e.nodeType&&9!==e.nodeType);return e}};function vt(t,e,n){var r=n;if(K(t))return"width"===e?pt.viewportWidth(t):pt.viewportHeight(t);if(9===t.nodeType)return"width"===e?pt.docWidth(t):pt.docHeight(t);var i="width"===e?["Left","Right"]:["Top","Bottom"],o="width"===e?t.getBoundingClientRect().width:t.getBoundingClientRect().height,a=(z(t),st(t)),u=0;(null==o||o<=0)&&(o=void 0,(null==(u=z(t,e))||Number(u)<0)&&(u=t.style[e]||0),u=parseFloat(u)||0),void 0===r&&(r=a?ht:lt);var s=void 0!==o||a,c=o||u;return r===lt?s?c-dt(t,["border","padding"],i):u:s?r===ht?c:c+(r===ft?-dt(t,["border"],i):dt(t,["margin"],i)):u+dt(t,ct.slice(r),i)}ut(["Width","Height"],function(t){pt["doc".concat(t)]=function(e){var n=e.document;return Math.max(n.documentElement["scroll".concat(t)],n.body["scroll".concat(t)],pt["viewport".concat(t)](n))},pt["viewport".concat(t)]=function(e){var n="client".concat(t),r=e.document,i=r.body,o=r.documentElement[n];return"CSS1Compat"===r.compatMode&&o||i&&i[n]||o}});var gt={position:"absolute",visibility:"hidden",display:"block"};function yt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r,i=e[0];return 0!==i.offsetWidth?r=vt.apply(void 0,e):function(t,e,n){var r,i={},o=t.style;for(r in e)e.hasOwnProperty(r)&&(i[r]=o[r],o[r]=e[r]);for(r in n.call(t),e)e.hasOwnProperty(r)&&(o[r]=i[r])}(i,gt,function(){r=vt.apply(void 0,e)}),r}function mt(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}ut(["width","height"],function(t){var e=t.charAt(0).toUpperCase()+t.slice(1);pt["outer".concat(e)]=function(e,n){return e&&yt(e,t,n?0:ht)};var n="width"===t?["Left","Right"]:["Top","Bottom"];pt[t]=function(e,r){var i=r;if(void 0===i)return e&&yt(e,t,lt);if(e){z(e);return st(e)&&(i+=dt(e,["padding","border"],n)),W(e,t,i)}}});var bt={getWindow:function(t){if(t&&t.document&&t.setTimeout)return t;var e=t.ownerDocument||t;return e.defaultView||e.parentWindow},getDocument:$,offset:function(t,e,n){if(void 0===e)return X(t);!function(t,e,n){if(n.ignoreShake){var r=X(t),i=r.left.toFixed(0),o=r.top.toFixed(0),a=e.left.toFixed(0),u=e.top.toFixed(0);if(i===a&&o===u)return}n.useCssRight||n.useCssBottom?ot(t,e,n):n.useCssTransform&&R()in document.body.style?at(t,e):ot(t,e,n)}(t,e,n||{})},isWindow:K,each:ut,css:W,clone:function(t){var e,n={};for(e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);if(t.overflow)for(e in t)t.hasOwnProperty(e)&&(n.overflow[e]=t.overflow[e]);return n},mix:mt,getWindowScrollLeft:function(t){return G(t)},getWindowScrollTop:function(t){return Y(t)},merge:function(){for(var t={},e=0;e<arguments.length;e++)bt.mix(t,e<0||arguments.length<=e?void 0:arguments[e]);return t},viewportWidth:0,viewportHeight:0};mt(bt,pt);var xt=bt.getParent;function wt(t){if(bt.isWindow(t)||9===t.nodeType)return null;var e,n=bt.getDocument(t).body,r=bt.css(t,"position");if(!("fixed"===r||"absolute"===r))return"html"===t.nodeName.toLowerCase()?null:xt(t);for(e=xt(t);e&&e!==n;e=xt(e))if("static"!==(r=bt.css(e,"position")))return e;return null}var _t=bt.getParent;function St(t){for(var e={left:0,right:1/0,top:0,bottom:1/0},n=wt(t),r=bt.getDocument(t),i=r.defaultView||r.parentWindow,o=r.body,a=r.documentElement;n;){if(-1!==navigator.userAgent.indexOf("MSIE")&&0===n.clientWidth||n===o||n===a||"visible"===bt.css(n,"overflow")){if(n===o||n===a)break}else{var u=bt.offset(n);u.left+=n.clientLeft,u.top+=n.clientTop,e.top=Math.max(e.top,u.top),e.right=Math.min(e.right,u.left+n.clientWidth),e.bottom=Math.min(e.bottom,u.top+n.clientHeight),e.left=Math.max(e.left,u.left)}n=wt(n)}var s=null;bt.isWindow(t)||9===t.nodeType||(s=t.style.position,"absolute"===bt.css(t,"position")&&(t.style.position="fixed"));var c=bt.getWindowScrollLeft(i),l=bt.getWindowScrollTop(i),f=bt.viewportWidth(i),h=bt.viewportHeight(i),d=a.scrollWidth,p=a.scrollHeight,v=window.getComputedStyle(o);if("hidden"===v.overflowX&&(d=i.innerWidth),"hidden"===v.overflowY&&(p=i.innerHeight),t.style&&(t.style.position=s),function(t){if(bt.isWindow(t)||9===t.nodeType)return!1;var e=bt.getDocument(t).body,n=null;for(n=_t(t);n&&n!==e;n=_t(n))if("fixed"===bt.css(n,"position"))return!0;return!1}(t))e.left=Math.max(e.left,c),e.top=Math.max(e.top,l),e.right=Math.min(e.right,c+f),e.bottom=Math.min(e.bottom,l+h);else{var g=Math.max(d,c+f);e.right=Math.min(e.right,g);var y=Math.max(p,l+h);e.bottom=Math.min(e.bottom,y)}return e.top>=0&&e.left>=0&&e.bottom>e.top&&e.right>e.left?e:null}function kt(t){var e,n,r;if(bt.isWindow(t)||9===t.nodeType){var i=bt.getWindow(t);e={left:bt.getWindowScrollLeft(i),top:bt.getWindowScrollTop(i)},n=bt.viewportWidth(i),r=bt.viewportHeight(i)}else e=bt.offset(t),n=bt.outerWidth(t),r=bt.outerHeight(t);return e.width=n,e.height=r,e}function Et(t,e){var n=e.charAt(0),r=e.charAt(1),i=t.width,o=t.height,a=t.left,u=t.top;return"c"===n?u+=o/2:"b"===n&&(u+=o),"c"===r?a+=i/2:"r"===r&&(a+=i),{left:a,top:u}}function Ot(t,e,n,r,i){var o=Et(e,n[1]),a=Et(t,n[0]),u=[a.left-o.left,a.top-o.top];return{left:Math.round(t.left-u[0]+r[0]-i[0]),top:Math.round(t.top-u[1]+r[1]-i[1])}}function Ct(t,e,n){return t.left<n.left||t.left+e.width>n.right}function At(t,e,n){return t.top<n.top||t.top+e.height>n.bottom}function Tt(t,e,n){var r=[];return bt.each(t,function(t){r.push(t.replace(e,function(t){return n[t]}))}),r}function Mt(t,e){return t[e]=-t[e],t}function Pt(t,e){return(/%$/.test(t)?parseInt(t.substring(0,t.length-1),10)/100*e:parseInt(t,10))||0}function jt(t,e){t[0]=Pt(t[0],e.width),t[1]=Pt(t[1],e.height)}function Dt(t,e,n,r){var i=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,s=n.source||t;o=[].concat(o),a=[].concat(a),u=u||{};var c={},l=0,f=St(s),h=kt(s);jt(o,h),jt(a,e);var d=Ot(h,e,i,o,a),p=bt.merge(h,d);if(f&&(u.adjustX||u.adjustY)&&r){if(u.adjustX&&Ct(d,h,f)){var v=Tt(i,/[lr]/gi,{l:"r",r:"l"}),g=Mt(o,0),y=Mt(a,0);(function(t,e,n){return t.left>n.right||t.left+e.width<n.left})(Ot(h,e,v,g,y),h,f)||(l=1,i=v,o=g,a=y)}if(u.adjustY&&At(d,h,f)){var m=Tt(i,/[tb]/gi,{t:"b",b:"t"}),b=Mt(o,1),x=Mt(a,1);(function(t,e,n){return t.top>n.bottom||t.top+e.height<n.top})(Ot(h,e,m,b,x),h,f)||(l=1,i=m,o=b,a=x)}l&&(d=Ot(h,e,i,o,a),bt.mix(p,d));var w=Ct(d,h,f),_=At(d,h,f);(w||_)&&(i=n.points,o=n.offset||[0,0],a=n.targetOffset||[0,0]),c.adjustX=u.adjustX&&w,c.adjustY=u.adjustY&&_,(c.adjustX||c.adjustY)&&(p=function(t,e,n,r){var i=bt.clone(t),o={width:e.width,height:e.height};return r.adjustX&&i.left<n.left&&(i.left=n.left),r.resizeWidth&&i.left>=n.left&&i.left+o.width>n.right&&(o.width-=i.left+o.width-n.right),r.adjustX&&i.left+o.width>n.right&&(i.left=Math.max(n.right-o.width,n.left)),r.adjustY&&i.top<n.top&&(i.top=n.top),r.resizeHeight&&i.top>=n.top&&i.top+o.height>n.bottom&&(o.height-=i.top+o.height-n.bottom),r.adjustY&&i.top+o.height>n.bottom&&(i.top=Math.max(n.bottom-o.height,n.top)),bt.mix(i,o)}(d,h,f,c))}return p.width!==h.width&&bt.css(s,"width",bt.width(s)+p.width-h.width),p.height!==h.height&&bt.css(s,"height",bt.height(s)+p.height-h.height),bt.offset(s,{left:p.left,top:p.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:i,offset:o,targetOffset:a,overflow:c}}function It(t,e,n){var r=n.target||e;return Dt(t,kt(r),n,!function(t){var e=St(t),n=kt(t);return!e||n.left+n.width<=e.left||n.top+n.height<=e.top||n.left>=e.right||n.top>=e.bottom}(r))}function Nt(t,e,n){var r,i,o=bt.getDocument(t),a=o.defaultView||o.parentWindow,u=bt.getWindowScrollLeft(a),s=bt.getWindowScrollTop(a),c=bt.viewportWidth(a),l=bt.viewportHeight(a);r="pageX"in e?e.pageX:u+e.clientX,i="pageY"in e?e.pageY:s+e.clientY;var f=r>=0&&r<=u+c&&i>=0&&i<=s+l;return Dt(t,{left:r,top:i,width:0,height:0},function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?D(n,!0).forEach(function(e){j(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},n,{points:[n.points[0],"cc"]}),f)}It.__getOffsetParent=wt,It.__getVisibleRectForElement=St;function Ft(t){return t&&"object"==typeof t&&t.window===t}function Rt(t,e){var n=Math.floor(t),r=Math.floor(e);return Math.abs(n-r)<=1}function Lt(t){return"function"==typeof t&&t?t():null}function Bt(t){return"object"==typeof t&&t?t:null}var zt=function(t){function e(){var t,n,r,i;a()(this,e);for(var o=arguments.length,u=Array(o),c=0;c<o;c++)u[c]=arguments[c];return n=r=s()(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(u))),r.forceAlign=function(){var t=r.props,e=t.disabled,n=t.target,i=t.align,o=t.onAlign;if(!e&&n){var a=g.a.findDOMNode(r),u=void 0,s=Lt(n),c=Bt(n),l=document.activeElement;s?u=It(a,s,i):c&&(u=Nt(a,c,i)),function(t,e){t!==document.activeElement&&m(e,t)&&t.focus()}(l,a),o&&o(a,u)}},i=n,s()(r,i)}return l()(e,t),M()(e,[{key:"componentDidMount",value:function(){var t=this.props;this.forceAlign(),!t.disabled&&t.monitorWindowResize&&this.startMonitorWindowResize()}},{key:"componentDidUpdate",value:function(t){var e,n,r=!1,i=this.props;if(!i.disabled){var o=g.a.findDOMNode(this),a=o?o.getBoundingClientRect():null;if(t.disabled)r=!0;else{var u=Lt(t.target),s=Lt(i.target),c=Bt(t.target),l=Bt(i.target);Ft(u)&&Ft(s)?r=!1:(u!==s||u&&!s&&l||c&&l&&s||l&&!((e=c)===(n=l)||e&&n&&("pageX"in n&&"pageY"in n?e.pageX===n.pageX&&e.pageY===n.pageY:"clientX"in n&&"clientY"in n&&e.clientX===n.clientX&&e.clientY===n.clientY)))&&(r=!0);var f=this.sourceRect||{};r||!o||Rt(f.width,a.width)&&Rt(f.height,a.height)||(r=!0)}this.sourceRect=a}r&&this.forceAlign(),i.monitorWindowResize&&!i.disabled?this.startMonitorWindowResize():this.stopMonitorWindowResize()}},{key:"componentWillUnmount",value:function(){this.stopMonitorWindowResize()}},{key:"startMonitorWindowResize",value:function(){this.resizeHandler||(this.bufferMonitor=function(t,e){var n=void 0;function r(){n&&(clearTimeout(n),n=null)}function i(){r(),n=setTimeout(t,e)}return i.clear=r,i}(this.forceAlign,this.props.monitorBufferTime),this.resizeHandler=w(window,"resize",this.bufferMonitor))}},{key:"stopMonitorWindowResize",value:function(){this.resizeHandler&&(this.bufferMonitor.clear(),this.resizeHandler.remove(),this.resizeHandler=null)}},{key:"render",value:function(){var t=this,e=this.props,n=e.childrenProps,r=e.children,i=h.a.Children.only(r);if(n){var o={};return Object.keys(n).forEach(function(e){o[e]=t.props[n[e]]}),h.a.cloneElement(i,o)}return i}}]),e}(f.Component);zt.propTypes={childrenProps:p.a.object,align:p.a.object.isRequired,target:p.a.oneOfType([p.a.func,p.a.shape({clientX:p.a.number,clientY:p.a.number,pageX:p.a.number,pageY:p.a.number})]),onAlign:p.a.func,monitorBufferTime:p.a.number,monitorWindowResize:p.a.bool,disabled:p.a.bool,children:p.a.any},zt.defaultProps={target:function(){return window},monitorBufferTime:50,monitorWindowResize:!1,disabled:!1};var Vt=zt,Ut=n("YEIV"),Ht=n.n(Ut);function Wt(t){var e=[];return h.a.Children.forEach(t,function(t){e.push(t)}),e}function qt(t,e){var n=null;return t&&t.forEach(function(t){n||t&&t.key===e&&(n=t)}),n}function Gt(t,e,n){var r=null;return t&&t.forEach(function(t){if(t&&t.key===e&&t.props[n]){if(r)throw new Error("two child with same key for <rc-animate> children");r=t}}),r}var Yt=n("EJiy"),Xt=n.n(Yt),Kt={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},$t={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},Zt=[],Jt=[];function Qt(t,e,n){t.addEventListener(e,n,!1)}function te(t,e,n){t.removeEventListener(e,n,!1)}"undefined"!=typeof window&&"undefined"!=typeof document&&function(){var t=document.createElement("div").style;function e(e,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];for(var o in i)if(o in t){n.push(i[o]);break}}}"AnimationEvent"in window||(delete Kt.animationstart.animation,delete $t.animationend.animation),"TransitionEvent"in window||(delete Kt.transitionstart.transition,delete $t.transitionend.transition),e(Kt,Zt),e($t,Jt)}();var ee={startEvents:Zt,addStartEventListener:function(t,e){0!==Zt.length?Zt.forEach(function(n){Qt(t,n,e)}):window.setTimeout(e,0)},removeStartEventListener:function(t,e){0!==Zt.length&&Zt.forEach(function(n){te(t,n,e)})},endEvents:Jt,addEndEventListener:function(t,e){0!==Jt.length?Jt.forEach(function(n){Qt(t,n,e)}):window.setTimeout(e,0)},removeEndEventListener:function(t,e){0!==Jt.length&&Jt.forEach(function(n){te(t,n,e)})}},ne=n("PFWz"),re=n.n(ne),ie=0!==ee.endEvents.length,oe=["Webkit","Moz","O","ms"],ae=["-webkit-","-moz-","-o-","ms-",""];function ue(t,e){for(var n=window.getComputedStyle(t,null),r="",i=0;i<ae.length&&!(r=n.getPropertyValue(ae[i]+e));i++);return r}function se(t){if(ie){var e=parseFloat(ue(t,"transition-delay"))||0,n=parseFloat(ue(t,"transition-duration"))||0,r=parseFloat(ue(t,"animation-delay"))||0,i=parseFloat(ue(t,"animation-duration"))||0,o=Math.max(n+e,i+r);t.rcEndAnimTimeout=setTimeout(function(){t.rcEndAnimTimeout=null,t.rcEndListener&&t.rcEndListener()},1e3*o+200)}}function ce(t){t.rcEndAnimTimeout&&(clearTimeout(t.rcEndAnimTimeout),t.rcEndAnimTimeout=null)}var le=function(t,e,n){var r="object"===(void 0===e?"undefined":Xt()(e)),i=r?e.name:e,o=r?e.active:e+"-active",a=n,u=void 0,s=void 0,c=re()(t);return n&&"[object Object]"===Object.prototype.toString.call(n)&&(a=n.end,u=n.start,s=n.active),t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(e){e&&e.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),ce(t),c.remove(i),c.remove(o),ee.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,a&&a())},ee.addEndEventListener(t,t.rcEndListener),u&&u(),c.add(i),t.rcAnimTimeout=setTimeout(function(){t.rcAnimTimeout=null,c.add(o),s&&setTimeout(s,0),se(t)},30),{stop:function(){t.rcEndListener&&t.rcEndListener()}}};le.style=function(t,e,n){t.rcEndListener&&t.rcEndListener(),t.rcEndListener=function(e){e&&e.target!==t||(t.rcAnimTimeout&&(clearTimeout(t.rcAnimTimeout),t.rcAnimTimeout=null),ce(t),ee.removeEndEventListener(t,t.rcEndListener),t.rcEndListener=null,n&&n())},ee.addEndEventListener(t,t.rcEndListener),t.rcAnimTimeout=setTimeout(function(){for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);t.rcAnimTimeout=null,se(t)},0)},le.setTransition=function(t,e,n){var r=e,i=n;void 0===n&&(i=r,r=""),r=r||"",oe.forEach(function(e){t.style[e+"Transition"+r]=i})},le.isCssAnimationSupported=ie;var fe=le,he={isAppearSupported:function(t){return t.transitionName&&t.transitionAppear||t.animation.appear},isEnterSupported:function(t){return t.transitionName&&t.transitionEnter||t.animation.enter},isLeaveSupported:function(t){return t.transitionName&&t.transitionLeave||t.animation.leave},allowAppearCallback:function(t){return t.transitionAppear||t.animation.appear},allowEnterCallback:function(t){return t.transitionEnter||t.animation.enter},allowLeaveCallback:function(t){return t.transitionLeave||t.animation.leave}},de={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},pe=function(t){function e(){return a()(this,e),s()(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return l()(e,t),M()(e,[{key:"componentWillUnmount",value:function(){this.stop()}},{key:"componentWillEnter",value:function(t){he.isEnterSupported(this.props)?this.transition("enter",t):t()}},{key:"componentWillAppear",value:function(t){he.isAppearSupported(this.props)?this.transition("appear",t):t()}},{key:"componentWillLeave",value:function(t){he.isLeaveSupported(this.props)?this.transition("leave",t):t()}},{key:"transition",value:function(t,e){var n=this,r=g.a.findDOMNode(this),i=this.props,o=i.transitionName,a="object"==typeof o;this.stop();var u=function(){n.stopper=null,e()};if((ie||!i.animation[t])&&o&&i[de[t]]){var s=a?o[t]:o+"-"+t,c=s+"-active";a&&o[t+"Active"]&&(c=o[t+"Active"]),this.stopper=fe(r,{name:s,active:c},u)}else this.stopper=i.animation[t](r,u)}},{key:"stop",value:function(){var t=this.stopper;t&&(this.stopper=null,t.stop())}},{key:"render",value:function(){return this.props.children}}]),e}(h.a.Component);pe.propTypes={children:p.a.any,animation:p.a.any,transitionName:p.a.any};var ve=pe,ge="rc_animate_"+Date.now();function ye(t){var e=t.children;return h.a.isValidElement(e)&&!e.key?h.a.cloneElement(e,{key:ge}):e}function me(){}var be=function(t){function e(t){a()(this,e);var n=s()(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return xe.call(n),n.currentlyAnimatingKeys={},n.keysToEnter=[],n.keysToLeave=[],n.state={children:Wt(ye(t))},n.childrenRefs={},n}return l()(e,t),M()(e,[{key:"componentDidMount",value:function(){var t=this,e=this.props.showProp,n=this.state.children;e&&(n=n.filter(function(t){return!!t.props[e]})),n.forEach(function(e){e&&t.performAppear(e.key)})}},{key:"componentWillReceiveProps",value:function(t){var e=this;this.nextProps=t;var n=Wt(ye(t)),r=this.props;r.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(t){e.stop(t)});var i,o,a,u,s=r.showProp,c=this.currentlyAnimatingKeys,l=r.exclusive?Wt(ye(r)):this.state.children,f=[];s?(l.forEach(function(t){var e=t&&qt(n,t.key),r=void 0;(r=e&&e.props[s]||!t.props[s]?e:h.a.cloneElement(e||t,Ht()({},s,!0)))&&f.push(r)}),n.forEach(function(t){t&&qt(l,t.key)||f.push(t)})):(i=n,o=[],a={},u=[],l.forEach(function(t){t&&qt(i,t.key)?u.length&&(a[t.key]=u,u=[]):u.push(t)}),i.forEach(function(t){t&&Object.prototype.hasOwnProperty.call(a,t.key)&&(o=o.concat(a[t.key])),o.push(t)}),f=o=o.concat(u)),this.setState({children:f}),n.forEach(function(t){var n=t&&t.key;if(!t||!c[n]){var r=t&&qt(l,n);if(s){var i=t.props[s];if(r)!Gt(l,n,s)&&i&&e.keysToEnter.push(n);else i&&e.keysToEnter.push(n)}else r||e.keysToEnter.push(n)}}),l.forEach(function(t){var r=t&&t.key;if(!t||!c[r]){var i=t&&qt(n,r);if(s){var o=t.props[s];if(i)!Gt(n,r,s)&&o&&e.keysToLeave.push(r);else o&&e.keysToLeave.push(r)}else i||e.keysToLeave.push(r)}})}},{key:"componentDidUpdate",value:function(){var t=this.keysToEnter;this.keysToEnter=[],t.forEach(this.performEnter);var e=this.keysToLeave;this.keysToLeave=[],e.forEach(this.performLeave)}},{key:"isValidChildByKey",value:function(t,e){var n=this.props.showProp;return n?Gt(t,e,n):qt(t,e)}},{key:"stop",value:function(t){delete this.currentlyAnimatingKeys[t];var e=this.childrenRefs[t];e&&e.stop()}},{key:"render",value:function(){var t=this,e=this.props;this.nextProps=e;var n=this.state.children,r=null;n&&(r=n.map(function(n){if(null==n)return n;if(!n.key)throw new Error("must set key for <rc-animate> children");return h.a.createElement(ve,{key:n.key,ref:function(e){t.childrenRefs[n.key]=e},animation:e.animation,transitionName:e.transitionName,transitionEnter:e.transitionEnter,transitionAppear:e.transitionAppear,transitionLeave:e.transitionLeave},n)}));var o=e.component;if(o){var a=e;return"string"==typeof o&&(a=i()({className:e.className,style:e.style},e.componentProps)),h.a.createElement(o,a,r)}return r[0]||null}}]),e}(h.a.Component);be.isAnimate=!0,be.propTypes={className:p.a.string,style:p.a.object,component:p.a.any,componentProps:p.a.object,animation:p.a.object,transitionName:p.a.oneOfType([p.a.string,p.a.object]),transitionEnter:p.a.bool,transitionAppear:p.a.bool,exclusive:p.a.bool,transitionLeave:p.a.bool,onEnd:p.a.func,onEnter:p.a.func,onLeave:p.a.func,onAppear:p.a.func,showProp:p.a.string,children:p.a.node},be.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:me,onEnter:me,onLeave:me,onAppear:me};var xe=function(){var t=this;this.performEnter=function(e){t.childrenRefs[e]&&(t.currentlyAnimatingKeys[e]=!0,t.childrenRefs[e].componentWillEnter(t.handleDoneAdding.bind(t,e,"enter")))},this.performAppear=function(e){t.childrenRefs[e]&&(t.currentlyAnimatingKeys[e]=!0,t.childrenRefs[e].componentWillAppear(t.handleDoneAdding.bind(t,e,"appear")))},this.handleDoneAdding=function(e,n){var r=t.props;if(delete t.currentlyAnimatingKeys[e],!r.exclusive||r===t.nextProps){var i=Wt(ye(r));t.isValidChildByKey(i,e)?"appear"===n?he.allowAppearCallback(r)&&(r.onAppear(e),r.onEnd(e,!0)):he.allowEnterCallback(r)&&(r.onEnter(e),r.onEnd(e,!0)):t.performLeave(e)}},this.performLeave=function(e){t.childrenRefs[e]&&(t.currentlyAnimatingKeys[e]=!0,t.childrenRefs[e].componentWillLeave(t.handleDoneLeaving.bind(t,e)))},this.handleDoneLeaving=function(e){var n=t.props;if(delete t.currentlyAnimatingKeys[e],!n.exclusive||n===t.nextProps){var r,i,o,a,u=Wt(ye(n));if(t.isValidChildByKey(u,e))t.performEnter(e);else{var s=function(){he.allowLeaveCallback(n)&&(n.onLeave(e),n.onEnd(e,!1))};r=t.state.children,i=u,o=n.showProp,(a=r.length===i.length)&&r.forEach(function(t,e){var n=i[e];t&&n&&(t&&!n||!t&&n?a=!1:t.key!==n.key?a=!1:o&&t.props[o]!==n.props[o]&&(a=!1))}),a?s():t.setState({children:u},s)}}}},we=be,_e=n("jo6Y"),Se=n.n(_e),ke=function(t){function e(){return a()(this,e),s()(this,t.apply(this,arguments))}return l()(e,t),e.prototype.shouldComponentUpdate=function(t){return t.hiddenClassName||t.visible},e.prototype.render=function(){var t=this.props,e=t.hiddenClassName,n=t.visible,r=Se()(t,["hiddenClassName","visible"]);return e||h.a.Children.count(r.children)>1?(!n&&e&&(r.className+=" "+e),h.a.createElement("div",r)):h.a.Children.only(r.children)},e}(f.Component);ke.propTypes={children:p.a.any,className:p.a.string,visible:p.a.bool,hiddenClassName:p.a.string};var Ee=ke,Oe=function(t){function e(){return a()(this,e),s()(this,t.apply(this,arguments))}return l()(e,t),e.prototype.render=function(){var t=this.props,e=t.className;return t.visible||(e+=" "+t.hiddenClassName),h.a.createElement("div",{className:e,onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onMouseDown:t.onMouseDown,onTouchStart:t.onTouchStart,style:t.style},h.a.createElement(Ee,{className:t.prefixCls+"-content",visible:t.visible},t.children))},e}(f.Component);Oe.propTypes={hiddenClassName:p.a.string,className:p.a.string,prefixCls:p.a.string,onMouseEnter:p.a.func,onMouseLeave:p.a.func,onMouseDown:p.a.func,onTouchStart:p.a.func,children:p.a.any};var Ce=Oe,Ae=function(t){function e(n){a()(this,e);var r=s()(this,t.call(this,n));return Te.call(r),r.state={stretchChecked:!1,targetWidth:void 0,targetHeight:void 0},r.savePopupRef=C.bind(r,"popupInstance"),r.saveAlignRef=C.bind(r,"alignInstance"),r}return l()(e,t),e.prototype.componentDidMount=function(){this.rootNode=this.getPopupDomNode(),this.setStretchSize()},e.prototype.componentDidUpdate=function(){this.setStretchSize()},e.prototype.getPopupDomNode=function(){return g.a.findDOMNode(this.popupInstance)},e.prototype.getMaskTransitionName=function(){var t=this.props,e=t.maskTransitionName,n=t.maskAnimation;return!e&&n&&(e=t.prefixCls+"-"+n),e},e.prototype.getTransitionName=function(){var t=this.props,e=t.transitionName;return!e&&t.animation&&(e=t.prefixCls+"-"+t.animation),e},e.prototype.getClassName=function(t){return this.props.prefixCls+" "+this.props.className+" "+t},e.prototype.getPopupElement=function(){var t=this,e=this.savePopupRef,n=this.state,r=n.stretchChecked,o=n.targetHeight,a=n.targetWidth,u=this.props,s=u.align,c=u.visible,l=u.prefixCls,f=u.style,d=u.getClassNameFromAlign,p=u.destroyPopupOnHide,v=u.stretch,g=u.children,y=u.onMouseEnter,m=u.onMouseLeave,b=u.onMouseDown,x=u.onTouchStart,w=this.getClassName(this.currentAlignClassName||d(s)),_=l+"-hidden";c||(this.currentAlignClassName=null);var S={};v&&(-1!==v.indexOf("height")?S.height=o:-1!==v.indexOf("minHeight")&&(S.minHeight=o),-1!==v.indexOf("width")?S.width=a:-1!==v.indexOf("minWidth")&&(S.minWidth=a),r||(S.visibility="hidden",setTimeout(function(){t.alignInstance&&t.alignInstance.forceAlign()},0)));var k={className:w,prefixCls:l,ref:e,onMouseEnter:y,onMouseLeave:m,onMouseDown:b,onTouchStart:x,style:i()({},S,f,this.getZIndexStyle())};return p?h.a.createElement(we,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName()},c?h.a.createElement(Vt,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,align:s,onAlign:this.onAlign},h.a.createElement(Ce,i()({visible:!0},k),g)):null):h.a.createElement(we,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName(),showProp:"xVisible"},h.a.createElement(Vt,{target:this.getAlignTarget(),key:"popup",ref:this.saveAlignRef,monitorWindowResize:!0,xVisible:c,childrenProps:{visible:"xVisible"},disabled:!c,align:s,onAlign:this.onAlign},h.a.createElement(Ce,i()({hiddenClassName:_},k),g)))},e.prototype.getZIndexStyle=function(){var t={},e=this.props;return void 0!==e.zIndex&&(t.zIndex=e.zIndex),t},e.prototype.getMaskElement=function(){var t=this.props,e=void 0;if(t.mask){var n=this.getMaskTransitionName();e=h.a.createElement(Ee,{style:this.getZIndexStyle(),key:"mask",className:t.prefixCls+"-mask",hiddenClassName:t.prefixCls+"-mask-hidden",visible:t.visible}),n&&(e=h.a.createElement(we,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},e))}return e},e.prototype.render=function(){return h.a.createElement("div",null,this.getMaskElement(),this.getPopupElement())},e}(f.Component);Ae.propTypes={visible:p.a.bool,style:p.a.object,getClassNameFromAlign:p.a.func,onAlign:p.a.func,getRootDomNode:p.a.func,align:p.a.any,destroyPopupOnHide:p.a.bool,className:p.a.string,prefixCls:p.a.string,onMouseEnter:p.a.func,onMouseLeave:p.a.func,onMouseDown:p.a.func,onTouchStart:p.a.func,stretch:p.a.string,children:p.a.node,point:p.a.shape({pageX:p.a.number,pageY:p.a.number})};var Te=function(){var t=this;this.onAlign=function(e,n){var r=t.props,i=r.getClassNameFromAlign(n);t.currentAlignClassName!==i&&(t.currentAlignClassName=i,e.className=t.getClassName(i)),r.onAlign(e,n)},this.setStretchSize=function(){var e=t.props,n=e.stretch,r=e.getRootDomNode,i=e.visible,o=t.state,a=o.stretchChecked,u=o.targetHeight,s=o.targetWidth;if(n&&i){var c=r();if(c){var l=c.offsetHeight,f=c.offsetWidth;u===l&&s===f&&a||t.setState({stretchChecked:!0,targetHeight:l,targetWidth:f})}}else a&&t.setState({stretchChecked:!1})},this.getTargetElement=function(){return t.props.getRootDomNode()},this.getAlignTarget=function(){var e=t.props.point;return e||t.getTargetElement}},Me=Ae;function Pe(){}var je=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],De=!!v.createPortal,Ie={rcTrigger:p.a.shape({onPopupMouseDown:p.a.func})},Ne=function(t){function e(n){a()(this,e);var r=s()(this,t.call(this,n));Fe.call(r);var i=void 0;return i="popupVisible"in n?!!n.popupVisible:!!n.defaultPopupVisible,r.state={prevPopupVisible:i,popupVisible:i},je.forEach(function(t){r["fire"+t]=function(e){r.fireEvents(t,e)}}),r}return l()(e,t),e.prototype.getChildContext=function(){return{rcTrigger:{onPopupMouseDown:this.onPopupMouseDown}}},e.prototype.componentDidMount=function(){this.componentDidUpdate({},{popupVisible:this.state.popupVisible})},e.prototype.componentDidUpdate=function(t,e){var n=this.props,r=this.state;if(De||this.renderComponent(null,function(){e.popupVisible!==r.popupVisible&&n.afterPopupVisibleChange(r.popupVisible)}),r.popupVisible){var i=void 0;return this.clickOutsideHandler||!this.isClickToHide()&&!this.isContextMenuToShow()||(i=n.getDocument(),this.clickOutsideHandler=w(i,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(i=i||n.getDocument(),this.touchOutsideHandler=w(i,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(i=i||n.getDocument(),this.contextMenuOutsideHandler1=w(i,"scroll",this.onContextMenuClose)),void(!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=w(window,"blur",this.onContextMenuClose)))}this.clearOutsideHandler()},e.prototype.componentWillUnmount=function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout)},e.getDerivedStateFromProps=function(t,e){var n=t.popupVisible,r={};return void 0!==n&&e.popupVisible!==n&&(r.popupVisible=n,r.prevPopupVisible=e.popupVisible),r},e.prototype.getPopupDomNode=function(){return this._component&&this._component.getPopupDomNode?this._component.getPopupDomNode():null},e.prototype.getPopupAlign=function(){var t=this.props,e=t.popupPlacement,n=t.popupAlign,r=t.builtinPlacements;return e&&r?function(t,e,n){var r=t[e]||{};return i()({},r,n)}(r,e,n):n},e.prototype.setPopupVisible=function(t,e){var n=this.props.alignPoint,r=this.state.popupVisible;this.clearDelayTimer(),r!==t&&("popupVisible"in this.props||this.setState({popupVisible:t,prevPopupVisible:r}),this.props.onPopupVisibleChange(t)),n&&e&&this.setPoint(e)},e.prototype.delaySetPopupVisible=function(t,e,n){var r=this,i=1e3*e;if(this.clearDelayTimer(),i){var o=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=setTimeout(function(){r.setPopupVisible(t,o),r.clearDelayTimer()},i)}else this.setPopupVisible(t,n)},e.prototype.clearDelayTimer=function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},e.prototype.clearOutsideHandler=function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},e.prototype.createTwoChains=function(t){var e=this.props.children.props,n=this.props;return e[t]&&n[t]?this["fire"+t]:e[t]||n[t]},e.prototype.isClickToShow=function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")},e.prototype.isContextMenuToShow=function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")},e.prototype.isClickToHide=function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("click")||-1!==n.indexOf("click")},e.prototype.isMouseEnterToShow=function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseEnter")},e.prototype.isMouseLeaveToHide=function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("hover")||-1!==n.indexOf("mouseLeave")},e.prototype.isFocusToShow=function(){var t=this.props,e=t.action,n=t.showAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("focus")},e.prototype.isBlurToHide=function(){var t=this.props,e=t.action,n=t.hideAction;return-1!==e.indexOf("focus")||-1!==n.indexOf("blur")},e.prototype.forcePopupAlign=function(){this.state.popupVisible&&this._component&&this._component.alignInstance&&this._component.alignInstance.forceAlign()},e.prototype.fireEvents=function(t,e){var n=this.props.children.props[t];n&&n(e);var r=this.props[t];r&&r(e)},e.prototype.close=function(){this.setPopupVisible(!1)},e.prototype.render=function(){var t=this,e=this.state.popupVisible,n=this.props,r=n.children,i=n.forceRender,o=n.alignPoint,a=n.className,u=h.a.Children.only(r),s={key:"trigger"};this.isContextMenuToShow()?s.onContextMenu=this.onContextMenu:s.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(s.onClick=this.onClick,s.onMouseDown=this.onMouseDown,s.onTouchStart=this.onTouchStart):(s.onClick=this.createTwoChains("onClick"),s.onMouseDown=this.createTwoChains("onMouseDown"),s.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(s.onMouseEnter=this.onMouseEnter,o&&(s.onMouseMove=this.onMouseMove)):s.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?s.onMouseLeave=this.onMouseLeave:s.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(s.onFocus=this.onFocus,s.onBlur=this.onBlur):(s.onFocus=this.createTwoChains("onFocus"),s.onBlur=this.createTwoChains("onBlur"));var c=E()(u&&u.props&&u.props.className,a);c&&(s.className=c);var l=h.a.cloneElement(u,s);if(!De)return h.a.createElement(_.a,{parent:this,visible:e,autoMount:!1,forceRender:i,getComponent:this.getComponent,getContainer:this.getContainer},function(e){var n=e.renderComponent;return t.renderComponent=n,l});var f=void 0;return(e||this._component||i)&&(f=h.a.createElement(S.a,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),[l,f]},e}(h.a.Component);Ne.propTypes={children:p.a.any,action:p.a.oneOfType([p.a.string,p.a.arrayOf(p.a.string)]),showAction:p.a.any,hideAction:p.a.any,getPopupClassNameFromAlign:p.a.any,onPopupVisibleChange:p.a.func,afterPopupVisibleChange:p.a.func,popup:p.a.oneOfType([p.a.node,p.a.func]).isRequired,popupStyle:p.a.object,prefixCls:p.a.string,popupClassName:p.a.string,className:p.a.string,popupPlacement:p.a.string,builtinPlacements:p.a.object,popupTransitionName:p.a.oneOfType([p.a.string,p.a.object]),popupAnimation:p.a.any,mouseEnterDelay:p.a.number,mouseLeaveDelay:p.a.number,zIndex:p.a.number,focusDelay:p.a.number,blurDelay:p.a.number,getPopupContainer:p.a.func,getDocument:p.a.func,forceRender:p.a.bool,destroyPopupOnHide:p.a.bool,mask:p.a.bool,maskClosable:p.a.bool,onPopupAlign:p.a.func,popupAlign:p.a.object,popupVisible:p.a.bool,defaultPopupVisible:p.a.bool,maskTransitionName:p.a.oneOfType([p.a.string,p.a.object]),maskAnimation:p.a.string,stretch:p.a.string,alignPoint:p.a.bool},Ne.contextTypes=Ie,Ne.childContextTypes=Ie,Ne.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(){return window.document},onPopupVisibleChange:Pe,afterPopupVisibleChange:Pe,onPopupAlign:Pe,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[]};var Fe=function(){var t=this;this.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},this.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},this.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},this.onPopupMouseEnter=function(){t.clearDelayTimer()},this.onPopupMouseLeave=function(e){e.relatedTarget&&!e.relatedTarget.setTimeout&&t._component&&t._component.getPopupDomNode&&m(t._component.getPopupDomNode(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},this.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},this.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},this.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},this.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},this.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},this.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},this.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n=void 0;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},this.onPopupMouseDown=function(){var e=t.context.rcTrigger,n=void 0===e?{}:e;t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=setTimeout(function(){t.hasPopupMouseDown=!1},0),n.onPopupMouseDown&&n.onPopupMouseDown.apply(n,arguments)},this.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target;m(Object(v.findDOMNode)(t),n)||t.hasPopupMouseDown||t.close()}},this.getRootDomNode=function(){return Object(v.findDOMNode)(t)},this.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,i=r.popupPlacement,o=r.builtinPlacements,a=r.prefixCls,u=r.alignPoint,s=r.getPopupClassNameFromAlign;return i&&o&&n.push(function(t,e,n,r){var i=n.points;for(var o in t)if(t.hasOwnProperty(o)&&O(t[o].points,i,r))return e+"-placement-"+o;return""}(o,a,e,u)),s&&n.push(s(e)),n.join(" ")},this.getComponent=function(){var e=t.props,n=e.prefixCls,r=e.destroyPopupOnHide,o=e.popupClassName,a=e.action,u=e.onPopupAlign,s=e.popupAnimation,c=e.popupTransitionName,l=e.popupStyle,f=e.mask,d=e.maskAnimation,p=e.maskTransitionName,v=e.zIndex,g=e.popup,y=e.stretch,m=e.alignPoint,b=t.state,x=b.popupVisible,w=b.point,_=t.getPopupAlign(),S={};return t.isMouseEnterToShow()&&(S.onMouseEnter=t.onPopupMouseEnter),t.isMouseLeaveToHide()&&(S.onMouseLeave=t.onPopupMouseLeave),S.onMouseDown=t.onPopupMouseDown,S.onTouchStart=t.onPopupMouseDown,h.a.createElement(Me,i()({prefixCls:n,destroyPopupOnHide:r,visible:x,point:m&&w,className:o,action:a,align:_,onAlign:u,animation:s,getClassNameFromAlign:t.getPopupClassNameFromAlign},S,{stretch:y,getRootDomNode:t.getRootDomNode,style:l,mask:f,zIndex:v,transitionName:c,maskAnimation:d,maskTransitionName:p,ref:t.savePopup}),"function"==typeof g?g():g)},this.getContainer=function(){var e=t.props,n=document.createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",(e.getPopupContainer?e.getPopupContainer(Object(v.findDOMNode)(t)):e.getDocument().body).appendChild(n),n},this.setPoint=function(e){t.props.alignPoint&&e&&t.setState({point:{pageX:e.pageX,pageY:e.pageY}})},this.handlePortalUpdate=function(){t.state.prevPopupVisible!==t.state.popupVisible&&t.props.afterPopupVisibleChange(t.state.popupVisible)},this.savePopup=function(e){t._component=e}};Object(y.polyfill)(Ne);e.a=Ne},uhBA:function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,i="~";function o(){}function a(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function u(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(i=!1)),u.prototype.eventNames=function(){var t,e,n=[];if(0===this._eventsCount)return n;for(e in t=this._events)r.call(t,e)&&n.push(i?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},u.prototype.listeners=function(t,e){var n=i?i+t:t,r=this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var o=0,a=r.length,u=new Array(a);o<a;o++)u[o]=r[o].fn;return u},u.prototype.emit=function(t,e,n,r,o,a){var u=i?i+t:t;if(!this._events[u])return!1;var s,c,l=this._events[u],f=arguments.length;if(l.fn){switch(l.once&&this.removeListener(t,l.fn,void 0,!0),f){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,e),!0;case 3:return l.fn.call(l.context,e,n),!0;case 4:return l.fn.call(l.context,e,n,r),!0;case 5:return l.fn.call(l.context,e,n,r,o),!0;case 6:return l.fn.call(l.context,e,n,r,o,a),!0}for(c=1,s=new Array(f-1);c<f;c++)s[c-1]=arguments[c];l.fn.apply(l.context,s)}else{var h,d=l.length;for(c=0;c<d;c++)switch(l[c].once&&this.removeListener(t,l[c].fn,void 0,!0),f){case 1:l[c].fn.call(l[c].context);break;case 2:l[c].fn.call(l[c].context,e);break;case 3:l[c].fn.call(l[c].context,e,n);break;case 4:l[c].fn.call(l[c].context,e,n,r);break;default:if(!s)for(h=1,s=new Array(f-1);h<f;h++)s[h-1]=arguments[h];l[c].fn.apply(l[c].context,s)}}return!0},u.prototype.on=function(t,e,n){var r=new a(e,n||this),o=i?i+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},u.prototype.once=function(t,e,n){var r=new a(e,n||this,!0),o=i?i+t:t;return this._events[o]?this._events[o].fn?this._events[o]=[this._events[o],r]:this._events[o].push(r):(this._events[o]=r,this._eventsCount++),this},u.prototype.removeListener=function(t,e,n,r){var a=i?i+t:t;if(!this._events[a])return this;if(!e)return 0==--this._eventsCount?this._events=new o:delete this._events[a],this;var u=this._events[a];if(u.fn)u.fn!==e||r&&!u.once||n&&u.context!==n||(0==--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var s=0,c=[],l=u.length;s<l;s++)(u[s].fn!==e||r&&!u[s].once||n&&u[s].context!==n)&&c.push(u[s]);c.length?this._events[a]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new o:delete this._events[a]}return this},u.prototype.removeAllListeners=function(t){var e;return t?(e=i?i+t:t,this._events[e]&&(0==--this._eventsCount?this._events=new o:delete this._events[e])):(this._events=new o,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prototype.setMaxListeners=function(){return this},u.prefixed=i,u.EventEmitter=u,t.exports=u},uhZd:function(t,e,n){var r=n("XKFU"),i=n("EemH").f,o=n("y3w9");r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},uoTU:function(t,e,n){var r=n("R/W3"),i=n("Sxd8"),o=Math.max;t.exports=function(t,e,n){var a=null==t?0:t.length;if(!a)return-1;var u=null==n?0:i(n);return u<0&&(u=o(a+u,0)),r(t,e,u)}},upKx:function(t,e,n){"use strict";var r=n("S/j/"),i=n("d/Gc"),o=n("ne8i");t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),u=i(t,a),s=i(e,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:i(c,a))-s,a-u),f=1;for(s<u&&u<s+l&&(f=-1,s+=l-1,u+=l-1);l-- >0;)s in n?n[u]=n[s]:delete n[u],u+=f,s+=f;return n}},"ut/Y":function(t,e,n){var r=n("ZCpW"),i=n("GDhZ"),o=n("zZ0H"),a=n("Z0cm"),u=n("+c4W");t.exports=function(t){return"function"==typeof t?t:null==t?o:"object"==typeof t?a(t)?i(t[0],t[1]):r(t):u(t)}},v8eK:function(t,e,n){var r=n("XGnz"),i=n("EA7m"),o=n("LGYb"),a=n("3L66"),u=i(function(t){return o(r(t,1,a,!0))});t.exports=u},vGzR:function(t,e,n){var r=n("e8zy"),i=n("rjQ/");n("h1NE");function o(t){return null==t}function a(t){(t=function(t){var e={};for(var n in t)e[n]=t[n];return e}(t||{})).whiteList=t.whiteList||r.whiteList,t.onAttr=t.onAttr||r.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||r.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||r.safeAttrValue,this.options=t}a.prototype.process=function(t){if(!(t=(t=t||"").toString()))return"";var e=this.options,n=e.whiteList,r=e.onAttr,a=e.onIgnoreAttr,u=e.safeAttrValue;return i(t,function(t,e,i,s,c){var l=n[i],f=!1;if(!0===l?f=l:"function"==typeof l?f=l(s):l instanceof RegExp&&(f=l.test(s)),!0!==f&&(f=!1),s=u(i,s)){var h,d={position:e,sourcePosition:t,source:c,isWhite:f};return f?o(h=r(i,s,d))?i+":"+s:h:o(h=a(i,s,d))?void 0:h}})},t.exports=a},vKrd:function(t,e,n){var r=n("y3w9"),i=n("0/R4"),o=n("pbhE");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},"vN+2":function(t,e){t.exports=function(){}},vaBj:function(t,e,n){var r=n("GrKN").FilterCSS,i=n("GrKN").getDefaultWhiteList,o=n("63Hc");function a(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]}}var u=new r;function s(t){return t.replace(c,"<").replace(l,">")}var c=/</g,l=/>/g,f=/"/g,h=/"/g,d=/&#([a-zA-Z0-9]*);?/gim,p=/:?/gim,v=/&newline;?/gim,g=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,y=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,m=/u\s*r\s*l\s*\(.*/gi;function b(t){return t.replace(f,""")}function x(t){return t.replace(h,'"')}function w(t){return t.replace(d,function(t,e){return"x"===e[0]||"X"===e[0]?String.fromCharCode(parseInt(e.substr(1),16)):String.fromCharCode(parseInt(e,10))})}function _(t){return t.replace(p,":").replace(v," ")}function S(t){for(var e="",n=0,r=t.length;n<r;n++)e+=t.charCodeAt(n)<32?" ":t.charAt(n);return o.trim(e)}function k(t){return t=S(t=_(t=w(t=x(t))))}function E(t){return t=s(t=b(t))}var O=/<!--[\s\S]*?-->/g;e.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]},e.getDefaultWhiteList=a,e.onTag=function(t,e,n){},e.onIgnoreTag=function(t,e,n){},e.onTagAttr=function(t,e,n){},e.onIgnoreTagAttr=function(t,e,n){},e.safeAttrValue=function(t,e,n,r){if(n=k(n),"href"===e||"src"===e){if("#"===(n=o.trim(n)))return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===e){if(g.lastIndex=0,g.test(n))return""}else if("style"===e){if(y.lastIndex=0,y.test(n))return"";if(m.lastIndex=0,m.test(n)&&(g.lastIndex=0,g.test(n)))return"";!1!==r&&(n=(r=r||u).process(n))}return n=E(n)},e.escapeHtml=s,e.escapeQuote=b,e.unescapeQuote=x,e.escapeHtmlEntities=w,e.escapeDangerHtml5Entities=_,e.clearNonPrintableCharacter=S,e.friendlyAttrValue=k,e.escapeAttrValue=E,e.onIgnoreTagStripAll=function(){return""},e.StripTagBody=function(t,e){"function"!=typeof e&&(e=function(){});var n=!Array.isArray(t),r=[],i=!1;return{onIgnoreTag:function(a,u,s){if(function(e){return!!n||-1!==o.indexOf(t,e)}(a)){if(s.isClosing){var c="[/removed]",l=s.position+c.length;return r.push([!1!==i?i:s.position,l]),i=!1,c}return i||(i=s.position),"[removed]"}return e(a,u,s)},remove:function(t){var e="",n=0;return o.forEach(r,function(r){e+=t.slice(n,r[0]),n=r[1]}),e+=t.slice(n)}}},e.stripCommentTag=function(t){return t.replace(O,"")},e.stripBlankChar=function(t){var e=t.split("");return(e=e.filter(function(t){var e=t.charCodeAt(0);return!(127===e||e<=31&&10!==e&&13!==e)})).join("")},e.cssFilter=u,e.getDefaultCSSWhiteList=i},vhPU:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},viRO:function(t,e,n){"use strict"; /** @license React v16.12.0 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r=n("MgzW"),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,s=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,l=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.forward_ref"):60112,d=i?Symbol.for("react.suspense"):60113;i&&Symbol.for("react.suspense_list");var p=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116;i&&Symbol.for("react.fundamental"),i&&Symbol.for("react.responder"),i&&Symbol.for("react.scope");var g="function"==typeof Symbol&&Symbol.iterator;function y(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function x(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n||m}function w(){}function _(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n||m}x.prototype.isReactComponent={},x.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error(y(85));this.updater.enqueueSetState(this,t,e,"setState")},x.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},w.prototype=x.prototype;var S=_.prototype=new w;S.constructor=_,r(S,x.prototype),S.isPureReactComponent=!0;var k={current:null},E={current:null},O=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function A(t,e,n){var r,i={},a=null,u=null;if(null!=e)for(r in void 0!==e.ref&&(u=e.ref),void 0!==e.key&&(a=""+e.key),e)O.call(e,r)&&!C.hasOwnProperty(r)&&(i[r]=e[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var c=Array(s),l=0;l<s;l++)c[l]=arguments[l+2];i.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:o,type:t,key:a,ref:u,props:i,_owner:E.current}}function T(t){return"object"==typeof t&&null!==t&&t.$$typeof===o}var M=/\/+/g,P=[];function j(t,e,n,r){if(P.length){var i=P.pop();return i.result=t,i.keyPrefix=e,i.func=n,i.context=r,i.count=0,i}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function D(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>P.length&&P.push(t)}function I(t,e,n){return null==t?0:function t(e,n,r,i){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var s=!1;if(null===e)s=!0;else switch(u){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return r(i,e,""===n?"."+N(e,0):n),1;if(s=0,n=""===n?".":n+":",Array.isArray(e))for(var c=0;c<e.length;c++){var l=n+N(u=e[c],c);s+=t(u,l,r,i)}else if(l=null===e||"object"!=typeof e?null:"function"==typeof(l=g&&e[g]||e["@@iterator"])?l:null,"function"==typeof l)for(e=l.call(e),c=0;!(u=e.next()).done;)s+=t(u=u.value,l=n+N(u,c++),r,i);else if("object"===u)throw r=""+e,Error(y(31,"[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r,""));return s}(t,"",e,n)}function N(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}(t.key):e.toString(36)}function F(t,e){t.func.call(t.context,e,t.count++)}function R(t,e,n){var r=t.result,i=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?L(t,r,n,function(t){return t}):null!=t&&(T(t)&&(t=function(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,i+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(M,"$&/")+"/")+n)),r.push(t))}function L(t,e,n,r,i){var o="";null!=n&&(o=(""+n).replace(M,"$&/")+"/"),I(t,R,e=j(e,o,r,i)),D(e)}function B(){var t=k.current;if(null===t)throw Error(y(321));return t}var z={Children:{map:function(t,e,n){if(null==t)return t;var r=[];return L(t,r,null,e,n),r},forEach:function(t,e,n){if(null==t)return t;I(t,F,e=j(null,null,e,n)),D(e)},count:function(t){return I(t,function(){return null},null)},toArray:function(t){var e=[];return L(t,e,null,function(t){return t}),e},only:function(t){if(!T(t))throw Error(y(143));return t}},createRef:function(){return{current:null}},Component:x,PureComponent:_,createContext:function(t,e){return void 0===e&&(e=null),(t={$$typeof:f,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:l,_context:t},t.Consumer=t},forwardRef:function(t){return{$$typeof:h,render:t}},lazy:function(t){return{$$typeof:v,_ctor:t,_status:-1,_result:null}},memo:function(t,e){return{$$typeof:p,type:t,compare:void 0===e?null:e}},useCallback:function(t,e){return B().useCallback(t,e)},useContext:function(t,e){return B().useContext(t,e)},useEffect:function(t,e){return B().useEffect(t,e)},useImperativeHandle:function(t,e,n){return B().useImperativeHandle(t,e,n)},useDebugValue:function(){},useLayoutEffect:function(t,e){return B().useLayoutEffect(t,e)},useMemo:function(t,e){return B().useMemo(t,e)},useReducer:function(t,e,n){return B().useReducer(t,e,n)},useRef:function(t){return B().useRef(t)},useState:function(t){return B().useState(t)},Fragment:u,Profiler:c,StrictMode:s,Suspense:d,createElement:A,cloneElement:function(t,e,n){if(null==t)throw Error(y(267,t));var i=r({},t.props),a=t.key,u=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(u=e.ref,s=E.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(l in e)O.call(e,l)&&!C.hasOwnProperty(l)&&(i[l]=void 0===e[l]&&void 0!==c?c[l]:e[l])}var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){c=Array(l);for(var f=0;f<l;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:o,type:t.type,key:a,ref:u,props:i,_owner:s}},createFactory:function(t){var e=A.bind(null,t);return e.type=t,e},isValidElement:T,version:"16.12.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:k,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:r}},V={default:z},U=V&&z||V;t.exports=U.default||U},vldo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.preventTouchMove=function(t){t.preventDefault()},e.allowTouchMove=function(t){t.stopPropagation()},e.preventInertiaScroll=function(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;0===t?this.scrollTop=1:n===e&&(this.scrollTop=t-1)},e.isTouchDevice=function(){return"ontouchstart"in window||navigator.maxTouchPoints}},vvmO:function(t,e,n){var r=n("LZWt");t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},vwuL:function(t,e,n){var r=n("NV0k"),i=n("rr1i"),o=n("NsO/"),a=n("G8Mo"),u=n("B+OT"),s=n("eUtF"),c=Object.getOwnPropertyDescriptor;e.f=n("jmDH")?c:function(t,e){if(t=o(t),e=a(e,!0),s)try{return c(t,e)}catch(t){}if(u(t,e))return i(!r.f.call(t,e),t[e])}},"w/Xx":function(t,e,n){"use strict";var r=n("8SVD").qs;t.exports=function(t){var e,n,i,o=this;n=t.screen||.9,t.forward&&(i={element:r(t.forward,this.clipper),handler:function(){var e=o.pos()+(t.delta||30);o.pos(e)},type:"click"},this._eventHandlers.push(i),this.event(i.element,i.type,i.handler,"on")),t.backward&&(i={element:r(t.backward,this.clipper),handler:function(){var e=o.pos()-(t.delta||30);o.pos(e)},type:"click"},this._eventHandlers.push(i),this.event(i.element,i.type,i.handler,"on")),t.track&&(e=!0===t.track?this.track:r(t.track,this.clipper))&&(i={element:e,handler:function(t){if(t.target==e){var r=t["offset"+o.origin.x],i=o.bar[o.origin.offsetPos],a=0;r<i?a=-1:r>i+o.bar[o.origin.offset]&&(a=1);var u=o.pos()+a*n*o.scroller[o.origin.client];o.pos(u)}},type:"mousedown"},this._eventHandlers.push(i),this.event(i.element,i.type,i.handler,"on"))}},"w/wX":function(t,e,n){var r=n("QqLw"),i=n("ExA7"),o="[object Set]";t.exports=function(t){return i(t)&&r(t)==o}},w2a5:function(t,e,n){var r=n("aCFj"),i=n("ne8i"),o=n("d/Gc");t.exports=function(t){return function(e,n,a){var u,s=r(e),c=i(s.length),l=o(a,c);if(t&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}}},"w2d+":function(t,e,n){"use strict";var r=n("hDam"),i=n("UO39"),o=n("SBuE"),a=n("NsO/");t.exports=n("MPFp")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},w6GO:function(t,e,n){var r=n("5vMV"),i=n("FpHa");t.exports=Object.keys||function(t){return r(t,i)}},wCsR:function(t,e,n){"use strict";var r=n("ZD67"),i=n("s5qY");n("4LiD")("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},wDwx:function(t,e,n){n("rE2o"),t.exports=n("N8g3").f("asyncIterator")},"wF/u":function(t,e,n){var r=n("e5cp"),i=n("ExA7");t.exports=function t(e,n,o,a,u){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,u))}},wJg7:function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var i=typeof t;return!!(e=null==e?n:e)&&("number"==i||"symbol"!=i&&r.test(t))&&t>-1&&t%1==0&&t<e}},wME1:function(t,e,n){"use strict";n.r(e),n.d(e,"red",function(){return r}),n.d(e,"pink",function(){return i}),n.d(e,"purple",function(){return o}),n.d(e,"deepPurple",function(){return a}),n.d(e,"indigo",function(){return u}),n.d(e,"blue",function(){return s}),n.d(e,"lightBlue",function(){return c}),n.d(e,"cyan",function(){return l}),n.d(e,"teal",function(){return f}),n.d(e,"green",function(){return h}),n.d(e,"lightGreen",function(){return d}),n.d(e,"lime",function(){return p}),n.d(e,"yellow",function(){return v}),n.d(e,"amber",function(){return g}),n.d(e,"orange",function(){return y}),n.d(e,"deepOrange",function(){return m}),n.d(e,"brown",function(){return b}),n.d(e,"grey",function(){return x}),n.d(e,"blueGrey",function(){return w}),n.d(e,"darkText",function(){return _}),n.d(e,"lightText",function(){return S}),n.d(e,"darkIcons",function(){return k}),n.d(e,"lightIcons",function(){return E}),n.d(e,"white",function(){return O}),n.d(e,"black",function(){return C});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},i={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},o={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},u={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},s={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},c={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},l={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},f={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},h={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},d={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},p={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},v={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},g={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},y={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},m={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},b={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},x={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},w={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},_={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},S={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},k={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},E={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},O="#ffffff",C="#000000";e.default={red:r,pink:i,purple:o,deepPurple:a,indigo:u,blue:s,lightBlue:c,cyan:l,teal:f,green:h,lightGreen:d,lime:p,yellow:v,amber:g,orange:y,deepOrange:m,brown:b,grey:x,blueGrey:w,darkText:_,lightText:S,darkIcons:k,lightIcons:E,white:O,black:C}},wYy3:function(t,e,n){n("9XZr"),t.exports=n("g3g5").String.padStart},wZee:function(t,e,n){(function(e){var n=function(t){var e=/\blang(?:uage)?-([\w-]+)\b/i,n=0,r={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function(t){return t instanceof i?new i(t.type,r.util.encode(t.content),t.alias):Array.isArray(t)?t.map(r.util.encode):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++n}),t.__id},clone:function t(e,n){var i,o,a=r.util.type(e);switch(n=n||{},a){case"Object":if(o=r.util.objId(e),n[o])return n[o];for(var u in i={},n[o]=i,e)e.hasOwnProperty(u)&&(i[u]=t(e[u],n));return i;case"Array":return o=r.util.objId(e),n[o]?n[o]:(i=[],n[o]=i,e.forEach(function(e,r){i[r]=t(e,n)}),i);default:return e}}},languages:{extend:function(t,e){var n=r.util.clone(r.languages[t]);for(var i in e)n[i]=e[i];return n},insertBefore:function(t,e,n,i){var o=(i=i||r.languages)[t],a={};for(var u in o)if(o.hasOwnProperty(u)){if(u==e)for(var s in n)n.hasOwnProperty(s)&&(a[s]=n[s]);n.hasOwnProperty(u)||(a[u]=o[u])}var c=i[t];return i[t]=a,r.languages.DFS(r.languages,function(e,n){n===c&&e!=t&&(this[e]=a)}),a},DFS:function t(e,n,i,o){o=o||{};var a=r.util.objId;for(var u in e)if(e.hasOwnProperty(u)){n.call(e,u,e[u],i||u);var s=e[u],c=r.util.type(s);"Object"!==c||o[a(s)]?"Array"!==c||o[a(s)]||(o[a(s)]=!0,t(s,n,u,o)):(o[a(s)]=!0,t(s,n,null,o))}}},plugins:{},highlightAll:function(t,e){r.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var i={callback:n,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};r.hooks.run("before-highlightall",i);for(var o,a=i.elements||t.querySelectorAll(i.selector),u=0;o=a[u++];)r.highlightElement(o,!0===e,i.callback)},highlightElement:function(n,i,o){for(var a,u,s=n;s&&!e.test(s.className);)s=s.parentNode;s&&(a=(s.className.match(e)||[,""])[1].toLowerCase(),u=r.languages[a]),n.className=n.className.replace(e,"").replace(/\s+/g," ")+" language-"+a,n.parentNode&&(s=n.parentNode,/pre/i.test(s.nodeName)&&(s.className=s.className.replace(e,"").replace(/\s+/g," ")+" language-"+a));var c={element:n,language:a,grammar:u,code:n.textContent},l=function(t){c.highlightedCode=t,r.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,r.hooks.run("after-highlight",c),r.hooks.run("complete",c),o&&o.call(c.element)};if(r.hooks.run("before-sanity-check",c),c.code)if(r.hooks.run("before-highlight",c),c.grammar)if(i&&t.Worker){var f=new Worker(r.filename);f.onmessage=function(t){l(t.data)},f.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else l(r.highlight(c.code,c.grammar,c.language));else l(r.util.encode(c.code));else r.hooks.run("complete",c)},highlight:function(t,e,n){var o={code:t,grammar:e,language:n};return r.hooks.run("before-tokenize",o),o.tokens=r.tokenize(o.code,o.grammar),r.hooks.run("after-tokenize",o),i.stringify(r.util.encode(o.tokens),o.language)},matchGrammar:function(t,e,n,o,a,u,s){for(var c in n)if(n.hasOwnProperty(c)&&n[c]){if(c==s)return;var l=n[c];l="Array"===r.util.type(l)?l:[l];for(var f=0;f<l.length;++f){var h=l[f],d=h.inside,p=!!h.lookbehind,v=!!h.greedy,g=0,y=h.alias;if(v&&!h.pattern.global){var m=h.pattern.toString().match(/[imuy]*$/)[0];h.pattern=RegExp(h.pattern.source,m+"g")}h=h.pattern||h;for(var b=o,x=a;b<e.length;x+=e[b].length,++b){var w=e[b];if(e.length>t.length)return;if(!(w instanceof i)){if(v&&b!=e.length-1){if(h.lastIndex=x,!(C=h.exec(t)))break;for(var _=C.index+(p?C[1].length:0),S=C.index+C[0].length,k=b,E=x,O=e.length;k<O&&(E<S||!e[k].type&&!e[k-1].greedy);++k)_>=(E+=e[k].length)&&(++b,x=E);if(e[b]instanceof i)continue;A=k-b,w=t.slice(x,E),C.index-=x}else{h.lastIndex=0;var C=h.exec(w),A=1}if(C){p&&(g=C[1]?C[1].length:0);S=(_=C.index+g)+(C=C[0].slice(g)).length;var T=w.slice(0,_),M=w.slice(S),P=[b,A];T&&(++b,x+=T.length,P.push(T));var j=new i(c,d?r.tokenize(C,d):C,y,C,v);if(P.push(j),M&&P.push(M),Array.prototype.splice.apply(e,P),1!=A&&r.matchGrammar(t,e,n,b,x,!0,c),u)break}else if(u)break}}}}},tokenize:function(t,e){var n=[t],i=e.rest;if(i){for(var o in i)e[o]=i[o];delete e.rest}return r.matchGrammar(t,n,e,0,0,!1),n},hooks:{all:{},add:function(t,e){var n=r.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=r.hooks.all[t];if(n&&n.length)for(var i,o=0;i=n[o++];)i(e)}},Token:i};function i(t,e,n,r,i){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length,this.greedy=!!i}if(t.Prism=r,i.stringify=function(t,e,n){if("string"==typeof t)return t;if(Array.isArray(t))return t.map(function(n){return i.stringify(n,e,t)}).join("");var o={type:t.type,content:i.stringify(t.content,e,n),tag:"span",classes:["token",t.type],attributes:{},language:e,parent:n};if(t.alias){var a=Array.isArray(t.alias)?t.alias:[t.alias];Array.prototype.push.apply(o.classes,a)}r.hooks.run("wrap",o);var u=Object.keys(o.attributes).map(function(t){return t+'="'+(o.attributes[t]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+(u?" "+u:"")+">"+o.content+"</"+o.tag+">"},!t.document)return t.addEventListener?(r.disableWorkerMessageHandler||t.addEventListener("message",function(e){var n=JSON.parse(e.data),i=n.language,o=n.code,a=n.immediateClose;t.postMessage(r.highlight(o,r.languages[i],i)),a&&t.close()},!1),r):r;var o=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return o&&(r.filename=o.src,r.manual||o.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(r.highlightAll):window.setTimeout(r.highlightAll,16):document.addEventListener("DOMContentLoaded",r.highlightAll))),r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=n),void 0!==e&&(e.Prism=n),n.languages.markup={comment:/<!--[\s\S]*?-->/,prolog:/<\?[\s\S]+?\?>/,doctype:/<!DOCTYPE[\s\S]+?>/i,cdata:/<!\[CDATA\[[\s\S]*?]]>/i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.hooks.add("wrap",function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(t,e){var r={};r["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:n.languages[e]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};i["language-"+e]={pattern:/[\s\S]+/,inside:n.languages[e]};var o={};o[t]={pattern:RegExp(/(<__[\s\S]*?>)(?:<!\[CDATA\[[\s\S]*?\]\]>\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,t),"i"),lookbehind:!0,greedy:!0,inside:i},n.languages.insertBefore("markup","cdata",o)}}),n.languages.xml=n.languages.extend("markup",{}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,function(t){var e=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?[\s\S]*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:RegExp("url\\((?:"+e.source+"|.*?)\\)","i"),selector:RegExp("[^{}\\s](?:[^{};\"']|"+e.source+")*?(?=\\s*\\{)"),string:{pattern:e,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:t.languages.css}},alias:"language-css"}},n.tag))}(n),n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.])\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX][\dA-Fa-f]+|0[bB][01]+|0[oO][0-7]+)n?|\d+n|NaN|Infinity)\b|(?:\b\d+\.?\d*|\B\.\d+)(?:[Ee][+-]?\d+)?/,function:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/-[-=]?|\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\|[|=]?|\*\*?=?|\/=?|~|\^=?|%=?|\?|\.{3}/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})\]]))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${[^}]+}|[^\\`])*`/,greedy:!0,inside:{interpolation:{pattern:/\${[^}]+}/,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}}}),n.languages.markup&&n.languages.markup.tag.addInlined("script","javascript"),n.languages.js=n.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(t){t=t||document;var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(t.querySelectorAll("pre[data-src]")).forEach(function(t){if(!t.hasAttribute("data-src-loaded")){for(var r,i=t.getAttribute("data-src"),o=t,a=/\blang(?:uage)?-([\w-]+)\b/i;o&&!a.test(o.className);)o=o.parentNode;if(o&&(r=(t.className.match(a)||[,""])[1]),!r){var u=(i.match(/\.(\w+)$/)||[,""])[1];r=e[u]||u}var s=document.createElement("code");s.className="language-"+r,t.textContent="",s.textContent="Loading…",t.appendChild(s);var c=new XMLHttpRequest;c.open("GET",i,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?(s.textContent=c.responseText,n.highlightElement(s),t.setAttribute("data-src-loaded","")):c.status>=400?s.textContent="✖ Error "+c.status+" while fetching file: "+c.statusText:s.textContent="✖ Error: File does not exist or is empty")},c.send(null)}}),n.plugins.toolbar&&n.plugins.toolbar.registerButton("download-file",function(t){var e=t.element.parentNode;if(e&&/pre/i.test(e.nodeName)&&e.hasAttribute("data-src")&&e.hasAttribute("data-download-link")){var n=e.getAttribute("data-src"),r=document.createElement("a");return r.textContent=e.getAttribute("data-download-link-label")||"Download",r.setAttribute("download",""),r.href=n,r}})},document.addEventListener("DOMContentLoaded",function(){self.Prism.fileHighlight()}))}).call(this,n("yLpj"))},wclG:function(t,e,n){var r=n("pFRH"),i=n("88Gu")(r);t.exports=i},wgeU:function(t,e){},wkyg:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HuePicker=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=l(n("q1tI")),o=l(n("17x9")),a=l(n("/FUP")),u=l(n("QkVN")),s=n("TM95"),c=l(n("trA2"));function l(t){return t&&t.__esModule?t:{default:t}}var f=e.HuePicker=function(t){var e=t.width,n=t.height,o=t.onChange,c=t.hsl,l=t.direction,f=t.pointer,h=t.styles,d=void 0===h?{}:h,p=t.className,v=void 0===p?"":p,g=(0,a.default)((0,u.default)({default:{picker:{position:"relative",width:e,height:n},hue:{radius:"2px"}}},d));return i.default.createElement("div",{style:g.picker,className:"hue-picker "+v},i.default.createElement(s.Hue,r({},g.hue,{hsl:c,pointer:f,onChange:function(t){return o({a:1,h:t.h,l:.5,s:1})},direction:l})))};f.propTypes={styles:o.default.object},f.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:c.default,styles:{}},e.default=(0,s.ColorWrap)(f)},wmvG:function(t,e,n){"use strict";var r=n("hswa").f,i=n("Kuth"),o=n("3Lyj"),a=n("m0Pp"),u=n("9gX7"),s=n("SlkY"),c=n("Afnz"),l=n("1TsA"),f=n("elZq"),h=n("nh4g"),d=n("Z6vF").fastKey,p=n("s5qY"),v=h?"_s":"size",g=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,c){var l=t(function(t,r){u(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,null!=r&&s(r,n,t[c],t)});return o(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=p(this,e),r=g(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[v]--}return!!r},forEach:function(t){p(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!g(p(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return p(this,e)[v]}}),l},def:function(t,e,n){var r,i,o=g(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:g,setStrong:function(t,e,n){c(t,e,function(t,n){this._t=p(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},wmx0:function(t,e,n){n("LkIK"),t.exports="ngSanitize"},wrOu:function(t,e,n){"use strict";t.exports=function(t,e){if(t===e)return!0;if(!t||!e)return!1;var n=t.length;if(e.length!==n)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}},wrZu:function(t,e,n){var r=n("+K+b"),i=n("XYm9"),o=n("b2z7"),a=n("otv/"),u=n("yP5f"),s="[object Boolean]",c="[object Date]",l="[object Map]",f="[object Number]",h="[object RegExp]",d="[object Set]",p="[object String]",v="[object Symbol]",g="[object ArrayBuffer]",y="[object DataView]",m="[object Float32Array]",b="[object Float64Array]",x="[object Int8Array]",w="[object Int16Array]",_="[object Int32Array]",S="[object Uint8Array]",k="[object Uint8ClampedArray]",E="[object Uint16Array]",O="[object Uint32Array]";t.exports=function(t,e,n){var C=t.constructor;switch(e){case g:return r(t);case s:case c:return new C(+t);case y:return i(t,n);case m:case b:case x:case w:case _:case S:case k:case E:case O:return u(t,n);case l:return new C;case f:case p:return new C(t);case h:return o(t);case d:return new C;case v:return a(t)}}},wx14:function(t,e,n){"use strict";function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}n.d(e,"a",function(){return r})},wy8a:function(t,e,n){var r=n("KxBF");t.exports=function(t,e,n){var i=t.length;return n=void 0===n?i:n,!e&&n>=i?t:r(t,e,n)}},x8Yj:function(t,e,n){var r=n("XKFU"),i=n("LVwc"),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},x8ZO:function(t,e,n){var r=n("XKFU"),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,a=0,u=arguments.length,s=0;a<u;)s<(n=i(arguments[a++]))?(o=o*(r=s/n)*r+1,s=n):o+=n>0?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(o)}})},xBDI:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("q1tI");e.default=function(t){var e=r.useRef();return r.useEffect(function(){e.current=t}),e.current}},xEkU:function(t,e,n){(function(e){for(var r=n("bQgK"),i="undefined"==typeof window?e:window,o=["moz","webkit"],a="AnimationFrame",u=i["request"+a],s=i["cancel"+a]||i["cancelRequest"+a],c=0;!u&&c<o.length;c++)u=i[o[c]+"Request"+a],s=i[o[c]+"Cancel"+a]||i[o[c]+"CancelRequest"+a];if(!u||!s){var l=0,f=0,h=[];u=function(t){if(0===h.length){var e=r(),n=Math.max(0,1e3/60-(e-l));l=n+e,setTimeout(function(){var t=h.slice(0);h.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(l)}catch(t){setTimeout(function(){throw t},0)}},Math.round(n))}return h.push({handle:++f,callback:t,cancelled:!1}),f},s=function(t){for(var e=0;e<h.length;e++)h[e].handle===t&&(h[e].cancelled=!0)}}t.exports=function(t){return u.call(i,t)},t.exports.cancel=function(){s.apply(i,arguments)},t.exports.polyfill=function(t){t||(t=i),t.requestAnimationFrame=u,t.cancelAnimationFrame=s}}).call(this,n("yLpj"))},"xF/b":function(t,e,n){"use strict";var r=n("EWmC"),i=n("0/R4"),o=n("ne8i"),a=n("m0Pp"),u=n("K0xU")("isConcatSpreadable");t.exports=function t(e,n,s,c,l,f,h,d){for(var p,v,g=l,y=0,m=!!h&&a(h,d,3);y<c;){if(y in s){if(p=m?m(s[y],y,n):s[y],v=!1,i(p)&&(v=void 0!==(v=p[u])?!!v:r(p)),v&&f>0)g=t(e,n,p,o(p.length),g,f-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=p}g++}y++}return g}},xL6w:function(t,e){t.exports=function(t){var e=t.anchorNode,n=t.anchorOffset,r=t.focusNode,i=t.focusOffset,o=e.compareDocumentPosition(r);return!(4===o||0===o&&n<i)}},xMyE:function(t,e,n){"use strict";n.d(e,"a",function(){return u});var r=n("mrSG"),i=n("FFOo"),o=n("+umK"),a=n("2Bdj");function u(t,e,n){return function(r){return r.lift(new s(t,e,n))}}var s=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.nextOrObserver,this.error,this.complete))},t}(),c=function(t){function e(e,n,r,i){var u=t.call(this,e)||this;return u._tapNext=o.a,u._tapError=o.a,u._tapComplete=o.a,u._tapError=r||o.a,u._tapComplete=i||o.a,Object(a.a)(n)?(u._context=u,u._tapNext=n):n&&(u._context=n,u._tapNext=n.next||o.a,u._tapError=n.error||o.a,u._tapComplete=n.complete||o.a),u}return r.__extends(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(i.a)},xTla:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},xXU7:function(t,e,n){"use strict";n.d(e,"a",function(){return a});var r=n("6blF"),i=n("T1DM"),o=n("/21U");function a(t,e){return void 0===t&&(t=0),void 0===e&&(e=i.a),(!Object(o.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=i.a),new r.a(function(n){return n.add(e.schedule(u,t,{subscriber:n,counter:0,period:t})),n})}function u(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}},xYSL:function(t,e){t.exports=function(t,e){return t.has(e)}},xbjo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CircleSwatch=void 0;var r=u(n("q1tI")),i=n("/FUP"),o=u(i),a=n("TM95");function u(t){return t&&t.__esModule?t:{default:t}}var s=e.CircleSwatch=function(t){var e=t.color,n=t.onClick,i=t.onSwatchHover,u=t.hover,s=t.active,c=t.circleSize,l=t.circleSpacing,f=(0,o.default)({default:{swatch:{width:c,height:c,marginRight:l,marginBottom:l,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+c/2+"px "+e,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+e}}},{hover:u,active:s});return r.default.createElement("div",{style:f.swatch},r.default.createElement(a.Swatch,{style:f.Swatch,color:e,onClick:n,onHover:i,focusStyle:{boxShadow:f.Swatch.boxShadow+", 0 0 5px "+e}}))};s.defaultProps={circleSize:28,circleSpacing:14},e.default=(0,i.handleHover)(s)},xfY5:function(t,e,n){"use strict";var r=n("dyZX"),i=n("aagx"),o=n("LZWt"),a=n("Xbzi"),u=n("apmT"),s=n("eeVq"),c=n("kJMx").f,l=n("EemH").f,f=n("hswa").f,h=n("qncB").trim,d=r.Number,p=d,v=d.prototype,g="Number"==o(n("Kuth")(v)),y="trim"in String.prototype,m=function(t){var e=u(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=y?e.trim():h(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,s=e.slice(2),c=0,l=s.length;c<l;c++)if((a=s.charCodeAt(c))<48||a>i)return NaN;return parseInt(s,r)}}return+e};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof d&&(g?s(function(){v.valueOf.call(n)}):"Number"!=o(n))?a(new p(m(e)),n,d):m(e)};for(var b,x=n("nh4g")?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;x.length>w;w++)i(p,b=x[w])&&!i(d,b)&&f(d,b,l(p,b));d.prototype=v,v.constructor=d,n("KroJ")(r,"Number",d)}},xfxO:function(t,e,n){"use strict";e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0;var r;(r=n("17x9"))&&r.__esModule;e.timeoutsShape=null;e.classNamesShape=null},xkGU:function(t,e,n){t.exports=n("bNQv")},xlPZ:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("KhEm");function i(t,e){return function(n){var i;if(i="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new o(i,e));var a=Object.create(n,r.b);return a.source=n,a.subjectFactory=i,a}}var o=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}()},xm80:function(t,e,n){"use strict";var r=n("XKFU"),i=n("D4iV"),o=n("7Qtz"),a=n("y3w9"),u=n("d/Gc"),s=n("ne8i"),c=n("0/R4"),l=n("dyZX").ArrayBuffer,f=n("69bn"),h=o.ArrayBuffer,d=o.DataView,p=i.ABV&&l.isView,v=h.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return p&&p(t)||c(t)&&g in t}}),r(r.P+r.U+r.F*n("eeVq")(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(a(this),t);for(var n=a(this).byteLength,r=u(t,n),i=u(void 0===e?n:e,n),o=new(f(this,h))(s(i-r)),c=new d(this),l=new d(o),p=0;r<i;)l.setUint8(p++,c.getUint8(r++));return o}}),n("elZq")("ArrayBuffer")},xpiv:function(t,e,n){var r=n("XKFU");r(r.S,"Reflect",{ownKeys:n("mQtv")})},xpql:function(t,e,n){t.exports=!n("nh4g")&&!n("eeVq")(function(){return 7!=Object.defineProperty(n("Iw71")("div"),"a",{get:function(){return 7}}).a})},xrec:function(t,e,n){var r=n("EA7m")(n("Y0CH"));t.exports=r},"xs/l":function(t,e,n){var r=n("TYy9"),i=n("Ioao"),o=n("wclG");t.exports=function(t){return o(i(t,void 0,r),t+"")}},"xv+5":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var r=s(n("q1tI")),i=s(n("17x9")),o=s(n("j8Z3")),a=n("H++x"),u=n("4UG0");function s(t){return t&&t.__esModule?t:{default:t}}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(){return(f=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function h(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function d(t){for(var e=t.className,n=t.count,i=t.dateTransform,u=t.dateType,s=t.end,c=t.hover,l=t.offset,d=t.start,p=t.step,v=t.tile,g=t.value,y=t.valueType,m=h(t,["className","count","dateTransform","dateType","end","hover","offset","start","step","tile","value","valueType"]),b=[],x=d;x<=s;x+=p){var w=i(x);b.push(r.default.createElement(v,f({key:w.getTime(),classes:(0,a.getTileClasses)({value:g,valueType:y,date:w,dateType:u,hover:c}),date:w,point:x},m)))}return r.default.createElement(o.default,{className:e,count:n,offset:l,wrap:!0},b)}d.propTypes=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(n,!0).forEach(function(e){l(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},u.tileGroupProps,{activeStartDate:i.default.instanceOf(Date),count:i.default.number,dateTransform:i.default.func.isRequired,offset:i.default.number,step:i.default.number,tile:i.default.func.isRequired}),d.defaultProps={count:3,step:1}},xweI:function(t,e,n){var r=n("XGnz"),i=n("alwl"),o=n("EA7m"),a=n("mv/X"),u=o(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])});t.exports=u},y13m:function(t,e,n){"use strict";n.d(e,"a",function(){return mt}),n.d(e,"b",function(){return st}),n.d(e,"c",function(){return X});var r=n("q1tI"),i=n.n(r);function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function a(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}var u="Renderer Error",s={init:"init"},c={Cell:function(t){var e=t.cell.value;return void 0===e?"":e},width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function l(t,e,n){return[].concat(t).sort(function(t,r){for(var i=0;i<e.length;i+=1){var o=e[i],a=!1===n[i]||"desc"===n[i],u=o(t,r);if(0!==u)return a?-u:u}return n[0]?t.index-r.index:r.index-t.index})}function f(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(function(t,e){var n=e.style,r=e.className;return t=o({},t,{},a(e,["style","className"])),n&&(t.style=t.style?o({},t.style||{},{},n||{}):n),r&&(t.className=t.className?t.className+" "+r:r),""===t.className&&delete t.className,t},{})}var h=function(t,e){return void 0===e&&(e={}),function(n){return void 0===n&&(n={}),[].concat(t,[n]).reduce(function(t,r){return function t(e,n,r){return"function"==typeof n?t({},n(e,r)):Array.isArray(n)?f.apply(void 0,[e].concat(n)):f(e,n)}(t,r,o({},e,{userProps:n}))},{})}},d=function(t,e,n){return void 0===n&&(n={}),t.reduce(function(t,e){return e(t,n)},e)},p=function(t,e){return void 0===e&&(e={}),t.forEach(function(t){t(e)})};function v(t,e,n,r){t.findIndex(function(t){return t.pluginName===n});e.forEach(function(e){t.findIndex(function(t){return t.pluginName===e})}),r.forEach(function(e){t.findIndex(function(t){return t.pluginName===e})})}function g(t,e){return"function"==typeof t?t(e):t}function y(t){var e=i.a.useRef();return e.current=t,i.a.useCallback(function(){return e.current},[])}var m="undefined"!=typeof document?i.a.useLayoutEffect:i.a.useEffect;function b(t,e){var n=i.a.useRef(!1);m(function(){n.current&&t(),n.current=!0},e)}function x(t,e){var n=y(t[e]);return t[e]=void 0,n}function w(t,e,n){return void 0===n&&(n={}),function(r,a){void 0===a&&(a={});var s="string"==typeof r?e[r]:r;if(void 0===s)throw new Error(u);return function(t,e){return n=t,function(t){return"function"==typeof t&&!(!(e=Object.getPrototypeOf(t)).prototype||!e.prototype.isReactComponent);var e}(n)||function(t){return"function"==typeof t}(n)||function(t){return"object"==typeof t&&"symbol"==typeof t.$$typeof&&["react.memo","react.forward_ref"].includes(t.$$typeof.description)}(n)?i.a.createElement(t,e):t;var n}(s,o({},t,{column:e},n,{},a))}}function _(t,e,n,r,a){var u=t=o({},c,{},e,{},t),s=u.id,l=u.accessor,f=u.Header;if("string"==typeof l){s=s||l;var h=l.split(".");l=function(t){return function(t,e,n){if(!e)return t;var r,i="function"==typeof e?e:JSON.stringify(e),o=S.get(i)||function(){var t=function t(e,n){if(void 0===n&&(n=[]),Array.isArray(e))for(var r=0;r<e.length;r+=1)t(e[r],n);else n.push(e);return n}(e).map(function(t){return String(t).replace(".","_")}).join(".").replace(O,".").replace(C,"").split(".");return S.set(i,t),t}();try{r=o.reduce(function(t,e){return t[e]},t)}catch(t){}return void 0!==r?r:n}(t,h)}}if(!s&&"string"==typeof f&&f&&(s=f),!s&&t.columns)throw console.error(t),new Error('A column ID (or unique "Header" value) is required!');if(!s)throw console.error(t),new Error("A column ID (or string accessor) is required!");return t=o({Header:function(){return i.a.createElement(i.a.Fragment,null," ")},Footer:function(){return i.a.createElement(i.a.Fragment,null," ")}},t,{id:s,accessor:l,parent:n,depth:r,index:a})}var S=new Map;function k(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];for(var r=0;r<e.length;r+=1)if(void 0!==e[r])return e[r]}function E(t){if("function"==typeof t)return t}var O=/\[/g,C=/\]/g;var A=function(t){return t.filter(function(t){return t.column.isVisible})},T=function(t,e){var n=e.column;return o({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount},t)},M=function(t,e){var n=e.column;return o({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},t)},P=function(t,e){return o({key:"headerGroup_"+e.index},t)},j=function(t,e){return o({key:"footerGroup_"+e.index},t)},D=function(t,e){return o({key:"row_"+e.row.id},t)},I=function(t,e){var n=e.cell;return o({},t,{key:"cell_"+n.row.id+"_"+n.column.id})};s.resetHiddenColumns="resetHiddenColumns",s.toggleHideColumn="toggleHideColumn",s.setHiddenColumns="setHiddenColumns",s.toggleHideAllColumns="toggleHideAllColumns";var N=function(t){t.getToggleHiddenProps=[F],t.getToggleHideAllColumnsProps=[R],t.stateReducers.push(L),t.useInstanceBeforeDimensions.push(B),t.headerGroupsDeps.push(function(t,e){var n=e.instance;return[].concat(t,[n.state.hiddenColumns])}),t.useInstance.push(z)};N.pluginName="useColumnVisibility";var F=function(t,e){var n=e.column;return[t,{onChange:function(t){n.toggleHidden(!t.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},R=function(t,e){var n=e.instance;return[t,{onChange:function(t){n.toggleHideAllColumns(!t.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function L(t,e,n,r){if(e.type===s.init)return o({hiddenColumns:[]},t);if(e.type===s.resetHiddenColumns)return o({},t,{hiddenColumns:r.initialState.hiddenColumns||[]});if(e.type===s.toggleHideColumn){var i=(void 0!==e.value?e.value:!t.hiddenColumns.includes(e.columnId))?[].concat(t.hiddenColumns,[e.columnId]):t.hiddenColumns.filter(function(t){return t!==e.columnId});return o({},t,{hiddenColumns:i})}return e.type===s.setHiddenColumns?o({},t,{hiddenColumns:g(e.value,t.hiddenColumns)}):e.type===s.toggleHideAllColumns?o({},t,{hiddenColumns:(void 0!==e.value?e.value:!t.hiddenColumns.length)?r.flatColumns.map(function(t){return t.id}):[]}):void 0}function B(t){var e=t.headers,n=t.state.hiddenColumns;i.a.useRef(!1).current;var r=0;e.forEach(function(t){return r+=function t(e,r){e.isVisible=r&&!n.includes(e.id);var i=0;return e.headers&&e.headers.length?e.headers.forEach(function(n){return i+=t(n,e.isVisible)}):i=e.isVisible?1:0,e.totalVisibleHeaderCount=i,i}(t,!0)})}function z(t){var e=t.flatHeaders,n=t.dispatch,r=t.flatColumns,o=t.state.hiddenColumns,a=y(t),u=r.length===o.length,c=i.a.useCallback(function(t,e){return n({type:s.toggleHideColumn,columnId:t,value:e})},[n]),l=i.a.useCallback(function(t){return n({type:s.setHiddenColumns,value:t})},[n]),f=i.a.useCallback(function(t){return n({type:s.toggleHideAllColumns,value:t})},[n]),d=x(a().hooks,"getToggleHideAllColumnsProps"),p=h(d(),{instance:a()}),v=x(a().hooks,"getToggleHiddenProps");e.forEach(function(t){t.toggleHidden=function(e){n({type:s.toggleHideColumn,columnId:t.id,value:e})},t.getToggleHiddenProps=h(v(),{instance:a(),column:t})}),Object.assign(t,{allColumnsHidden:u,toggleHideColumn:c,setHiddenColumns:l,toggleHideAllColumns:f,getToggleHideAllColumnsProps:p})}var V={},U={},H=function(t,e,n){return t},W=function(t,e){return t.subRows||[]},q=function(t,e,n){return""+(n?[n.id,e].join("."):e)},G=function(t){return t};function Y(t){var e=t.initialState,n=void 0===e?V:e,r=t.defaultColumn,i=void 0===r?U:r,u=t.getSubRows,s=void 0===u?W:u,c=t.getRowId,l=void 0===c?q:c,f=t.stateReducer,h=void 0===f?H:f,d=t.useControlledState,p=void 0===d?G:d;return o({},a(t,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:i,getSubRows:s,getRowId:l,stateReducer:h,useControlledState:p})}var X=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];t=Y(t),n=[N].concat(n);var a=y(i.a.useRef({}).current);Object.assign(a(),o({},t,{plugins:n,hooks:{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],flatColumns:[],flatColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],useRows:[],cells:[A],prepareRow:[],getTableProps:[],getTableBodyProps:[],getHeaderGroupProps:[P],getFooterGroupProps:[j],getHeaderProps:[T],getFooterProps:[M],getRowProps:[D],getCellProps:[I],useFinalInstance:[]}})),n.filter(Boolean).forEach(function(t){t(a().hooks)});var u=x(a().hooks,"useOptions");Object.assign(a(),d(u(),Y(t)));var c=a(),l=c.data,f=c.columns,v=c.initialState,g=c.defaultColumn,m=c.getSubRows,b=c.getRowId,S=c.stateReducer,k=c.useControlledState,E=x(a().hooks,"stateReducers"),O=y(S),C=i.a.useCallback(function(t,e){if(!e.type)throw console.info({action:e}),new Error("Unknown Action 👆");return[].concat(E(),Array.isArray(O())?O():[O()]).reduce(function(n,r){return r(n,e,t,a())||n},t)},[E,O,a]),F=i.a.useReducer(C,void 0,function(){return C(v,{type:s.init})}),R=F[0],L=F[1],B=x(a().hooks,"useControlledState"),z=d([].concat(B(),[k]),R,{instance:a()});Object.assign(a(),{state:z,dispatch:L});var V=x(a().hooks,"columns"),U=x(a().hooks,"columnsDeps"),H=i.a.useMemo(function(){return function t(e,n,r,i){return void 0===i&&(i=0),e.map(function(e,o){return(e=_(e,n,r,i,o)).columns&&(e.columns=t(e.columns,n,e,i+1)),e})}(d(V(),f,{instance:a()}),g)},[g,V,a,f].concat(d(U(),[],{instance:a()})));a().columns=H;var W=i.a.useMemo(function(){return function(t,e){var n=[];return function t(r){r.forEach(function(r){r[e]?t(r[e]):n.push(r)})}(t),n}(H,"columns")},[H]);a().flatColumns=W;var q=i.a.useMemo(function(){var t=[];return[l.map(function(e,n){return function e(n,r,i,o){void 0===i&&(i=0);var a=n,u={id:b(n,r,o),original:a,index:r,depth:i,cells:[{}]};t.push(u);var s=m(n,r);s&&(u.subRows=s.map(function(t,n){return e(t,n,i+1,u)}));var c=function(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")};return u.cells.map=c,u.cells.filter=c,u.cells.forEach=c,u.cells[0].getCellProps=c,u.values={},W.forEach(function(t){var e=t.id,o=t.accessor;u.values[e]=o?o(n,r,{subRows:s,depth:i,data:l}):void 0}),u}(e,n)}),t]},[l,W,b,m]),G=q[0],X=q[1];a().rows=G,a().flatRows=X;var K=x(a().hooks,"flatColumns"),$=x(a().hooks,"flatColumnsDeps");W=i.a.useMemo(function(){return d(K(),W,{instance:a()})},[W,K,a].concat(d($(),[],{instance:a()}))),a().flatColumns=W;var Z=x(a().hooks,"headerGroups"),J=x(a().hooks,"headerGroupsDeps"),Q=i.a.useMemo(function(){return d(Z(),function(t,e){var n=[];return function t(r,i){var a={headers:[]},u=[],s=r.some(function(t){return t.parent});r.forEach(function(t){var n=!u.length,r=[].concat(u).reverse()[0];if(t.parent){var i=u.filter(function(e){return e.originalId===t.parent.id});(n||r.originalId!==t.parent.id)&&u.push(o({},t.parent,{originalId:t.parent.id,id:[t.parent.id,i.length].join("_")}))}else if(s){var c=[t.id,"placeholder"].join("_"),l=u.filter(function(t){return t.originalId===c}),f=_({originalId:c,id:[t.id,"placeholder",l.length].join("_"),placeholderOf:t},e);(n||r.originalId!==f.originalId)&&u.push(f)}(t.parent||s)&&((r=[].concat(u).reverse()[0]).headers=r.headers||[],r.headers.includes(t)||r.headers.push(t)),t.totalHeaderCount=t.headers?t.headers.reduce(function(t,e){return t+e.totalHeaderCount},0):1,a.headers.push(t)}),n.push(a),u.length&&t(u)}(t),n.reverse()}(W,g),a())},[g,W,Z,a].concat(d(J(),[],{instance:a()})));a().headerGroups=Q;var tt=i.a.useMemo(function(){return Q.length?Q[0].headers:[]},[Q]);a().headers=tt,a().flatHeaders=Q.reduce(function(t,e){return[].concat(t,e.headers)},[]);var et=x(a().hooks,"useInstanceBeforeDimensions");p(et(),a());var nt=function t(e,n){void 0===n&&(n=0);var r=0;var i=0;var o=0;e.forEach(function(e){var a=e.headers;if(e.totalLeft=n,a&&a.length){var u=t(a,n),s=u[0],c=u[1],l=u[2];e.totalMinWidth=s,e.totalWidth=c,e.totalMaxWidth=l}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth;e.isVisible&&(n+=e.totalWidth,r+=e.totalMinWidth,i+=e.totalWidth,o+=e.totalMaxWidth)});return[r,i,o]}(tt),rt=nt[0],it=nt[1],ot=nt[2];a().totalColumnsMinWidth=rt,a().totalColumnsWidth=it,a().totalColumnsMaxWidth=ot;var at=x(a().hooks,"useInstance");p(at(),a());var ut=x(a().hooks,"getHeaderProps"),st=x(a().hooks,"getFooterProps");[].concat(a().flatHeaders,a().flatColumns).forEach(function(t){t.render=w(a(),t),t.getHeaderProps=h(ut(),{instance:a(),column:t}),t.getFooterProps=h(st(),{instance:a(),column:t})});var ct=x(a().hooks,"getHeaderGroupProps"),lt=x(a().hooks,"getFooterGroupProps");a().headerGroups=a().headerGroups.filter(function(t,e){return t.headers=t.headers.filter(function(t){return t.headers?function t(e){return e.filter(function(e){return e.headers?t(e.headers):e.isVisible}).length}(t.headers):t.isVisible}),!!t.headers.length&&(t.getHeaderGroupProps=h(ct(),{instance:a(),headerGroup:t,index:e}),t.getFooterGroupProps=h(lt(),{instance:a(),headerGroup:t,index:e}),!0)}),a().footerGroups=[].concat(a().headerGroups).reverse();var ft=x(a().hooks,"useRows");a().rows=d(ft(),a().rows,{instance:a()});var ht=x(a().hooks,"prepareRow"),dt=x(a().hooks,"getRowProps"),pt=x(a().hooks,"getCellProps"),vt=x(a().hooks,"cells");a().prepareRow=i.a.useCallback(function(t){t.getRowProps=h(dt(),{instance:a(),row:t}),t.allCells=W.map(function(e){var n={column:e,row:t,value:t.values[e.id]};return n.getCellProps=h(pt(),{instance:a(),cell:n}),n.render=w(a(),e,{row:t,cell:n}),n}),t.cells=d(vt(),t.allCells,{instance:a()}),p(ht(),t,a())},[dt,a,W,vt,ht,pt]);var gt=x(a().hooks,"getTableProps");a().getTableProps=h(gt(),{instance:a()});var yt=x(a().hooks,"getTableBodyProps");a().getTableBodyProps=h(yt(),{instance:a()});var mt=x(a().hooks,"useFinalInstance");return p(mt(),a()),a()};s.toggleExpanded="toggleExpanded",s.toggleAllExpanded="toggleAllExpanded",s.setExpanded="setExpanded",s.resetExpanded="resetExpanded";var K=function(t,e,n){return t=t.filter(function(t){return e.some(function(e){var r=t.values[e];return String(r).toLowerCase().includes(String(n).toLowerCase())})})};K.autoRemove=function(t){return!t};var $=function(t,e,n){return t.filter(function(t){return e.some(function(e){var r=t.values[e];return void 0===r||String(r).toLowerCase()===String(n).toLowerCase()})})};$.autoRemove=function(t){return!t};var Z=function(t,e,n){return t.filter(function(t){return e.some(function(e){var r=t.values[e];return void 0===r||String(r)===String(n)})})};Z.autoRemove=function(t){return!t};var J=function(t,e,n){return t.filter(function(t){return e.some(function(e){var r=t.values[e];return n.includes(r)})})};J.autoRemove=function(t){return!t||!t.length};var Q=function(t,e,n){return t.filter(function(t){return e.some(function(e){var r=t.values[e];return r&&r.length&&n.every(function(t){return r.includes(t)})})})};Q.autoRemove=function(t){return!t||!t.length};var tt=function(t,e,n){return t.filter(function(t){return e.some(function(e){return t.values[e]===n})})};tt.autoRemove=function(t){return void 0===t};var et=function(t,e,n){return t.filter(function(t){return e.some(function(e){return t.values[e]==n})})};et.autoRemove=function(t){return null==t};var nt=function(t,e,n){var r=n||[],i=r[0],o=r[1];if((i="number"==typeof i?i:-1/0)>(o="number"==typeof o?o:1/0)){var a=i;i=o,o=a}return t.filter(function(t){return e.some(function(e){var n=t.values[e];return n>=i&&n<=o})})};nt.autoRemove=function(t){return!t||"number"!=typeof t[0]&&"number"!=typeof t[1]};s.resetFilters="resetFilters",s.setFilter="setFilter",s.setAllFilters="setAllFilters";s.resetGlobalFilter="resetGlobalFilter",s.setGlobalFilter="setGlobalFilter";s.resetGroupBy="resetGroupBy",s.toggleGroupBy="toggleGroupBy";var rt=/([0-9]+)/gm;function it(t,e){return t===e?0:t>e?1:-1}function ot(t,e){return t.values[e]}function at(t){return"number"==typeof t?isNaN(t)||t===1/0||t===-1/0?"":String(t):"string"==typeof t?t:""}var ut=Object.freeze({__proto__:null,alphanumeric:function(t,e,n){var r=ot(t,n),i=ot(e,n);for(r=at(r),i=at(i),r=r.split(rt).filter(Boolean),i=i.split(rt).filter(Boolean);r.length&&i.length;){var o=r.shift(),a=i.shift(),u=parseInt(o,10),s=parseInt(a,10),c=[u,s].sort();if(isNaN(c[0])){if(o>a)return 1;if(a>o)return-1}else{if(isNaN(c[1]))return isNaN(u)?-1:1;if(u>s)return 1;if(s>u)return-1}}return r.length-i.length},datetime:function(t,e,n){var r=ot(t,n),i=ot(e,n);return it(r=r.getTime(),i=i.getTime())},basic:function(t,e,n){return it(ot(t,n),ot(e,n))}});s.resetSortBy="resetSortBy",s.toggleSortBy="toggleSortBy",s.clearSortBy="clearSortBy",c.sortType="alphanumeric",c.sortDescFirst=!1;var st=function(t){t.getSortByToggleProps=[ct],t.stateReducers.push(lt),t.useInstance.push(ft)};st.pluginName="useSortBy";var ct=function(t,e){var n=e.instance,r=e.column,i=n.isMultiSortEvent,o=void 0===i?function(t){return t.shiftKey}:i;return[t,{onClick:r.canSort?function(t){t.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&o(t))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function lt(t,e,n,r){if(e.type===s.init)return o({sortBy:[]},t);if(e.type===s.resetSortBy)return o({},t,{sortBy:r.initialState.sortBy||[]});if(e.type===s.clearSortBy)return o({},t,{sortBy:t.sortBy.filter(function(t){return t.id!==e.columnId})});if(e.type===s.toggleSortBy){var i,a=e.columnId,u=e.desc,c=e.multi,l=r.flatColumns,f=r.disableMultiSort,h=r.disableSortRemove,d=r.disableMultiRemove,p=r.maxMultiSortColCount,v=void 0===p?Number.MAX_SAFE_INTEGER:p,g=t.sortBy,y=l.find(function(t){return t.id===a}).sortDescFirst,m=g.find(function(t){return t.id===a}),b=g.findIndex(function(t){return t.id===a}),x=null!=u,w=[];return"toggle"!==(i=!f&&c?m?"toggle":"add":b!==g.length-1?"replace":m?"toggle":"replace")||h||x||c&&d||!(m&&m.desc&&!y||!m.desc&&y)||(i="remove"),"replace"===i?w=[{id:a,desc:x?u:y}]:"add"===i?(w=[].concat(g,[{id:a,desc:x?u:y}])).splice(0,w.length-v):"toggle"===i?w=g.map(function(t){return t.id===a?o({},t,{desc:x?u:!m.desc}):t}):"remove"===i&&(w=g.filter(function(t){return t.id!==a})),o({},t,{sortBy:w})}}function ft(t){var e=t.data,n=t.rows,r=t.flatColumns,o=t.orderByFn,a=void 0===o?l:o,u=t.sortTypes,c=t.manualSortBy,f=t.defaultCanSort,d=t.disableSortBy,p=t.flatHeaders,g=t.state.sortBy,m=t.dispatch,w=t.plugins,_=t.autoResetSortBy,S=void 0===_||_;v(w,["useFilters"],"useSortBy",[]);var O=function(t,e,n){m({type:s.toggleSortBy,columnId:t,desc:e,multi:n})},C=y(t),A=x(C().hooks,"getSortByToggleProps");p.forEach(function(t){var e=t.accessor,n=t.canSort,r=t.disableSortBy,i=t.id,o=e?k(!0!==r&&void 0,!0!==d&&void 0,!0):k(f,n,!1);t.canSort=o,t.canSort&&(t.toggleSortBy=function(e,n){return O(t.id,e,n)},t.clearSortBy=function(){m({type:s.clearSortBy,columnId:t.id})}),t.getSortByToggleProps=h(A(),{instance:C(),column:t});var a=g.find(function(t){return t.id===i});t.isSorted=!!a,t.sortedIndex=g.findIndex(function(t){return t.id===i}),t.isSortedDesc=t.isSorted?a.desc:void 0});var T=i.a.useMemo(function(){if(c||!g.length)return n;var t=g.filter(function(t){return r.find(function(e){return e.id===t.id})});return function e(n){var i=a(n,t.map(function(t){var e=r.find(function(e){return e.id===t.id});if(!e)throw new Error("React-Table: Could not find a column with id: "+t.id+" while sorting");var n=e.sortType,i=E(n)||(u||{})[n]||ut[n];if(!i)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+t.id+"'.");return function(e,n){return i(e,n,t.id)}}),t.map(function(t){var e=r.find(function(e){return e.id===t.id});return e&&e.sortInverted?t.desc:!t.desc}));return i.forEach(function(t){!t.subRows||t.subRows.length<=1||(t.subRows=e(t.subRows))}),i}(n)},[c,g,n,r,a,u]),M=y(S);b(function(){M()&&m({type:s.resetSortBy})},[c?null:e]),Object.assign(t,{preSortedRows:n,sortedRows:T,rows:T,toggleSortBy:O})}s.resetPage="resetPage",s.gotoPage="gotoPage",s.setPageSize="setPageSize";s.resetSelectedRows="resetSelectedRows",s.toggleAllRowsSelected="toggleAllRowsSelected",s.toggleRowSelected="toggleRowSelected";s.setRowState="setRowState",s.resetRowState="resetRowState";s.resetColumnOrder="resetColumnOrder",s.setColumnOrder="setColumnOrder";c.canResize=!0,s.columnStartResizing="columnStartResizing",s.columnResizing="columnResizing",s.columnDoneResizing="columnDoneResizing";var ht={position:"absolute",top:0},dt=function(t){t.getTableBodyProps.push(pt),t.getRowProps.push(pt),t.getHeaderGroupProps.push(pt),t.useInstance.push(vt),t.getHeaderProps.push(function(t,e){var n=e.column;return[t,{style:o({},ht,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}),t.getCellProps.push(function(t,e){var n=e.cell;return[t,{style:o({},ht,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})};dt.pluginName="useAbsoluteLayout";var pt=function(t,e){return[t,{style:{position:"relative",width:e.instance.totalColumnsWidth+"px"}}]};function vt(t){v(t.plugins,[],dt.pluginName,["useResizeColumns"])}var gt={display:"inline-block",boxSizing:"border-box"},yt=function(t,e){return[t,{style:{display:"flex",width:e.instance.totalColumnsWidth+"px"}}]},mt=function(t){t.getRowProps.push(yt),t.getHeaderGroupProps.push(yt),t.getHeaderProps.push(function(t,e){var n=e.column;return[t,{style:o({},gt,{width:n.totalWidth+"px"})}]}),t.getCellProps.push(function(t,e){var n=e.cell;return[t,{style:o({},gt,{width:n.column.totalWidth+"px"})}]})};mt.pluginName="useBlockLayout"},y1pI:function(t,e,n){var r=n("ljhN");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},y3By:function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});var r=n("+umK");function i(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o(t)}function o(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:r.a}},y3w9:function(t,e,n){var r=n("0/R4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},y8zH:function(t,e){!function(t){"use strict";function e(t){t.originalEvent&&(t.dataTransfer=t.originalEvent.dataTransfer),void 0!==t.dataTransfer&&"none"===t.dataTransfer.dropEffect&&("copy"===t.dataTransfer.effectAllowed||"move"===t.dataTransfer.effectAllowed?t.dataTransfer.dropEffect=t.dataTransfer.effectAllowed:"copyMove"!==t.dataTransfer.effectAllowed&&"copymove"!==t.dataTransfer.effectAllowed||(t.dataTransfer.dropEffect=t.ctrlKey?"copy":"move"))}if("ondrag"in document.createElement("a")){var n=t.module("ang-drag-drop",[]);n.directive("uiDraggable",["$parse","$rootScope","$dragImage",function(n,r,i){return function(o,a,u){var s,c,l=!1,f=u.draggingClass||"on-dragging";function h(t){t.originalEvent&&(t.dataTransfer=t.originalEvent.dataTransfer),setTimeout(function(){a.unbind("$destroy",h)},0);var i=u.dragChannel||"defaultchannel";if(r.$broadcast("ANGULAR_DRAG_END",t,i),e(t),t.dataTransfer&&"none"!==t.dataTransfer.dropEffect){if(u.onDropSuccess){var s=n(u.onDropSuccess);o.$evalAsync(function(){s(o,{$event:t})})}}else if(t.dataTransfer&&"none"===t.dataTransfer.dropEffect&&u.onDropFailure){var c=n(u.onDropFailure);o.$evalAsync(function(){c(o,{$event:t})})}a.removeClass(f)}function d(e){if(e.originalEvent&&(e.dataTransfer=e.originalEvent.dataTransfer),!l||c.classList.contains(s)){var d=u.dragChannel||"defaultchannel",p="";u.drag&&(p=o.$eval(u.drag));var v=u.dragImage||null;a.addClass(f),a.bind("$destroy",h);var g=!(document.uniqueID||window.opera);if(v&&g){var y=n(u.dragImage);o.$apply(function(){var n=y(o,{$event:e});if(n&&(t.isString(n)&&(n=i.generate(n)),n.image)){var r=n.xOffset||0,a=n.yOffset||0;e.dataTransfer.setDragImage(n.image,r,a)}})}else u.dragImageElementId&&function(e,r){var i;e.originalEvent&&(e.dataTransfer=e.originalEvent.dataTransfer),i=n(r),o.$apply(function(){var n,r=i(o,{$event:e});r&&t.isString(r)&&(n=document.getElementById(r))&&e.dataTransfer.setDragImage(n,0,0)})}(e,u.dragImageElementId);var m={data:p,channel:d,offset:{x:e.offsetX,y:e.offsetY}},b=t.toJson(m);e.dataTransfer.setData("text",b),e.dataTransfer.effectAllowed="copyMove",r.$broadcast("ANGULAR_DRAG_START",e,d,m)}else e.preventDefault()}a.attr("draggable",!1),o.$watch(u.uiDraggable,function(t){t?(a.attr("draggable",t),a.bind("dragend",h),a.bind("dragstart",d)):(a.removeAttr("draggable"),a.unbind("dragend",h),a.unbind("dragstart",d))}),t.isString(u.dragHandleClass)&&(l=!0,s=u.dragHandleClass.trim()||"drag-handle",a.bind("mousedown",function(t){c=t.target}))}}]),n.directive("uiOnDrop",["$parse","$rootScope",function(n,r){return function(i,o,a){var u=0,s=a.dropChannel||"defaultchannel",c="",l=a.dragEnterClass||"on-drag-enter",f=a.dragHoverClass||"on-drag-hover",h=n(a.onDragEnter),d=n(a.onDragLeave);function p(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation();var e=n(a.uiOnDragOver);return i.$evalAsync(function(){e(i,{$event:t,$channel:s})}),!1}function v(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation(),0===--u&&(i.$evalAsync(function(){d(i,{$event:t,$channel:s})}),o.addClass(l),o.removeClass(f));var e=n(a.uiOnDragLeave);i.$evalAsync(function(){e(i,{$event:t,$channel:s})})}function g(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation(),0===u&&(i.$evalAsync(function(){h(i,{$event:t,$channel:s})}),o.removeClass(l),o.addClass(f)),u++;var e=n(a.uiOnDragEnter);i.$evalAsync(function(){e(i,{$event:t,$channel:s})}),r.$broadcast("ANGULAR_HOVER",c)}function y(r){r.originalEvent&&(r.dataTransfer=r.originalEvent.dataTransfer),r.preventDefault&&r.preventDefault(),r.stopPropagation&&r.stopPropagation();var s=r.dataTransfer.getData("text");s=t.fromJson(s);var c=function(t){for(var e={x:t.offsetX,y:t.offsetY},n=t.target;n!==o[0];)if(e.x=e.x+n.offsetLeft,e.y=e.y+n.offsetTop,!(n=n.offsetParent))return null;return e}(r),f=c?{x:c.x-s.offset.x,y:c.y-s.offset.y}:null;e(r);var h=n(a.uiOnDrop);i.$evalAsync(function(){h(i,{$data:s.data,$event:r,$channel:s.channel,$position:f})}),o.removeClass(l),u=0}function m(t){return t.originalEvent&&(t.dataTransfer=t.originalEvent.dataTransfer),t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation(),t.dataTransfer.dropEffect="none",!1}var b=r.$on("ANGULAR_DRAG_START",function(t,e,r,u){c=r;var f=!0;(function(t,e){return"*"===e||new RegExp("(\\s|[,])+("+t+")(\\s|[,])+","i").test(","+e+",")}(r,s)||(f=!1),f&&a.dropValidate)&&(f=n(a.dropValidate)(i,{$drop:{scope:i,element:o},$event:e,$data:u.data,$channel:u.channel}));f?(o.bind("dragover",p),o.bind("dragenter",g),o.bind("dragleave",v),o.bind("drop",y),o.addClass(l)):(o.bind("dragover",m),o.bind("dragenter",m),o.bind("dragleave",m),o.bind("drop",m),o.removeClass(l))}),x=r.$on("ANGULAR_DRAG_END",function(){o.unbind("dragover",p),o.unbind("dragenter",g),o.unbind("dragleave",v),o.unbind("drop",y),o.removeClass(f),o.removeClass(l),o.unbind("dragover",m),o.unbind("dragenter",m),o.unbind("dragleave",m),o.unbind("drop",m)});i.$on("$destroy",function(){b(),x()}),a.$observe("dropChannel",function(t){t&&(s=t)})}}]),n.constant("$dragImageConfig",{height:20,width:200,padding:10,font:"bold 11px Arial",fontColor:"#eee8d5",backgroundColor:"#93a1a1",xOffset:0,yOffset:0}),n.service("$dragImage",["$dragImageConfig",function(e){var n="…";this.generate=function(r,i){var o=t.extend({},e,i||{}),a=document.createElement("canvas");a.height=o.height,a.width=o.width;var u=a.getContext("2d");u.fillStyle=o.backgroundColor,u.fillRect(0,0,o.width,o.height),u.font=o.font,u.fillStyle=o.fontColor;var s=function(t,e,r){var i=t.measureText(e).width;if(i<r.width)return e;for(;i+r.padding>r.width;)e=e.substring(0,e.length-1),i=t.measureText(e+n).width;return e+n}(u,r,o);u.fillText(s,4,o.padding+4);var c=new Image;return c.src=a.toDataURL(),{image:c,xOffset:o.xOffset,yOffset:o.yOffset}}}])}else t.module("ang-drag-drop",[])}(angular)},yD6e:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},yGWI:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("mrSG"),i=n("FFOo");function o(){return function(t){return t.lift(new a(t))}}var a=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new u(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),u=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return r.__extends(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(i.a)},yGk4:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"Set");t.exports=r},yHx3:function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},yLpj:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},yM4b:function(t,e,n){var r=n("K0xU")("toPrimitive"),i=Date.prototype;r in i||n("Mukb")(i,r,n("g4EE"))},yMCc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatShortWeekday=e.formatWeekday=e.formatMonth=e.formatMonthYear=e.formatLongDate=e.formatDate=void 0;var r,i=(r=n("Sbde"))&&r.__esModule?r:{default:r};function o(t){return function(e,n){return function(t){return function(e,n){return n.toLocaleString(e||(0,i.default)(),t)}}(t)(e,function(t){var e=new Date(t);return new Date(e.setHours(12))}(n))}}var a=o({day:"numeric",month:"numeric",year:"numeric"});e.formatDate=a;var u=o({day:"numeric",month:"long",year:"numeric"});e.formatLongDate=u;var s=o({month:"long",year:"numeric"});e.formatMonthYear=s;var c=o({month:"long"});e.formatMonth=c;var l=o({weekday:"long"});e.formatWeekday=l;var f=o({weekday:"short"});e.formatShortWeekday=f},yOY4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Alpha=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n("q1tI"),a=l(o),u=l(n("/FUP")),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n("THLb")),c=l(n("Nq3d"));function l(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=e.Alpha=function(t){function e(){var t,n,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=f(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(o))),r.handleChange=function(t,e){var n=s.calculateChange(t,e,r.props,r.container);n&&r.props.onChange&&r.props.onChange(n,t)},r.handleMouseDown=function(t){r.handleChange(t,!0),window.addEventListener("mousemove",r.handleChange),window.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleChange),window.removeEventListener("mouseup",r.handleMouseUp)},f(r,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.PureComponent||o.Component),i(e,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var t=this,e=this.props.rgb,n=(0,u.default)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n rgba("+e.r+","+e.g+","+e.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*e.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+e.r+","+e.g+","+e.b+", 0) 0%,\n rgba("+e.r+","+e.g+","+e.b+", 1) 100%)"},pointer:{left:0,top:100*e.a+"%"}},overwrite:r({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return a.default.createElement("div",{style:n.alpha},a.default.createElement("div",{style:n.checkboard},a.default.createElement(c.default,{renderers:this.props.renderers})),a.default.createElement("div",{style:n.gradient}),a.default.createElement("div",{style:n.container,ref:function(e){return t.container=e},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},a.default.createElement("div",{style:n.pointer},this.props.pointer?a.default.createElement(this.props.pointer,this.props):a.default.createElement("div",{style:n.slider}))))}}]),e}();e.default=h},yP5f:function(t,e,n){var r=n("+K+b");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},"yP6+":function(t,e,n){var r;r=function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=544)}([function(t,e,n){var r=n(164),i=n(16),o=r.mix({},r,{assign:r.mix,merge:r.deepMix,cloneDeep:r.clone,isFinite:isFinite,isNaN:isNaN,snapEqual:r.isNumberEqual,remove:r.pull,inArray:r.contains,toAllPadding:function(t){var e=0,n=0,r=0,i=0;return o.isNumber(t)||o.isString(t)?e=n=r=i=t:o.isArray(t)?(e=t[0],r=o.isNil(t[1])?t[0]:t[1],i=o.isNil(t[2])?t[0]:t[2],n=o.isNil(t[3])?r:t[3]):o.isObject(t)&&(e=t.top||0,r=t.right||0,i=t.bottom||0,n=t.left||0),[e,r,i,n]},getClipByRange:function(t){var e=t.tl,n=t.br;return new i.Rect({attrs:{x:e.x,y:e.y,width:n.x-e.x,height:n.y-e.y}})}});o.Array={groupToMap:r.groupToMap,group:r.group,merge:r.merge,values:r.valuesOfKey,getRange:r.getRange,firstValue:r.firstValue,remove:r.pull},t.exports=o},function(t,e,n){var r=n(148),i={};r.merge(i,r,{mixin:function(t,e){var n=t.CFG?"CFG":"ATTRS";if(t&&e){t._mixins=e,t[n]=t[n]||{};var r={};i.each(e,function(e){i.augment(t,e);var o=e[n];o&&i.merge(r,o)}),t[n]=i.merge(r,t[n])}}}),t.exports=i},function(t,e,n){var r=n(39),i=n(4);t.exports=function(t,e){if(t)if(i(t))for(var n=0,o=t.length;n<o&&!1!==e(t[n],n);n++);else if(r(t))for(var a in t)if(t.hasOwnProperty(a)&&!1===e(t[a],a))break}},function(t,e,n){var r=n(36),i=n(164),o=i.mix({assign:i.mix,isFinite:isFinite,isNaN:isNaN,Group:r.Group,Event:r.Event},i);t.exports=o},function(t,e,n){var r=n(17),i=Array.isArray?Array.isArray:function(t){return r(t,"Array")};t.exports=i},function(t,e,n){var r=n(0),i=n(130),o={version:"3.5.8-beta.1",renderer:"canvas",trackingInfo:{},animate:!0,widthRatio:{column:.5,rose:.9999999,multiplePie:1/1.3},showSinglePoint:!1,connectNulls:!1,scales:{},registerTheme:function(t,e){i[t]=e},setTheme:function(t){var e={};e=r.isObject(t)?t:-1!==r.indexOf(Object.keys(i),t)?i[t]:i.default,r.deepMix(o,e)}};o.setTheme("default"),t.exports=o},function(t,e){t.exports=function(t){return null==t}},function(t,e,n){var r=n(1),i=n(330),o=n(131),a=n(76),u=function t(e){t.superclass.constructor.call(this,e)};u.ATTRS={},r.extend(u,o);var s={matrix:"matrix",path:"path",points:"points",lineDash:"lineDash"};r.augment(u,i,{isShape:!0,drawInner:function(t){var e=this._attrs;this.createPath(t);var n=t.globalAlpha;if(this.hasFill()){var i=e.fillOpacity;r.isNil(i)||1===i?t.fill():(t.globalAlpha=i,t.fill(),t.globalAlpha=n)}if(this.hasStroke()&&this._attrs.lineWidth>0){var o=e.strokeOpacity;r.isNil(o)||1===o||(t.globalAlpha=o),t.stroke()}this.afterPath(t)},afterPath:function(){},isHitBox:function(){return!0},isHit:function(t,e){var n=[t,e,1];if(this.invert(n),this.isHitBox()){var r=this.getBBox();if(r&&!a.box(r.minX,r.maxX,r.minY,r.maxY,n[0],n[1]))return!1}var i=this._attrs.clip;return i?(i.invert(n,this.get("canvas")),!!i.isPointInPath(n[0],n[1])&&this.isPointInPath(n[0],n[1])):this.isPointInPath(n[0],n[1])},calculateBox:function(){return null},getHitLineWidth:function(){var t=this._attrs,e=t.lineAppendWidth||0;return(t.lineWidth||0)+e},clearTotalMatrix:function(){this._cfg.totalMatrix=null,this._cfg.region=null},clearBBox:function(){this._cfg.box=null,this._cfg.region=null},getBBox:function(){var t=this._cfg.box;return t||((t=this.calculateBox())&&(t.x=t.minX,t.y=t.minY,t.width=t.maxX-t.minX,t.height=t.maxY-t.minY),this._cfg.box=t),t},clone:function(){var t=null,e=this._attrs,n={};return r.each(e,function(t,i){s[i]&&r.isArray(e[i])?n[i]=function(t){for(var e=[],n=0;n<t.length;n++)r.isArray(t[n])?e.push([].concat(t[n])):e.push(t[n]);return e}(e[i]):n[i]=e[i]}),t=new this.constructor({attrs:n}),t._cfg.zIndex=this._cfg.zIndex,t}}),t.exports=u},function(t,e,n){var r=n(65),i=n(226),o=n(119),a=n(0),u=n(5),s=n(293),c=n(9),l=n(299),f=n(297),h=n(298),d=n(312),p=["color","shape","size"];function v(t){return(a.isString(t)||a.isPlainObject(t))&&(t=[t]),a.each(t,function(e,n){a.isObject(e)||(t[n]={type:e})}),t}var g=function(t){var e,n;n=t,(e=g).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=g.prototype;function g(e){var n;return(n=t.call(this,e)||this).viewTheme=n.get("viewTheme"),a.assign(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n),l,f,h),n.get("container")&&n._initContainer(),n._initOptions(),n}return o.getDefaultCfg=function(){return{_id:null,type:"base",coord:null,attrs:{},view:null,data:[],scales:{},container:null,labelContainer:null,shapeContainer:null,attrOptions:{},styleOptions:null,selectedOptions:null,activedOptions:null,hasDefaultAdjust:!1,adjusts:null,shapeType:null,generatePoints:!1,sortable:!1,labelCfg:null,shareTooltip:!0,tooltipCfg:null,animate:!0,animateCfg:null,visible:!0}},o._initOptions=function(){var t=this.get("adjusts");t&&(t=v(t),this.set("adjusts",t))},o._createScale=function(t,e){var n=this.get("scales"),r=n[t];return r||(r=this.get("view").createScale(t,e),n[t]=r),r},o._setAttrOptions=function(t,e){this.get("attrOptions")[t]=e},o._createAttrOption=function(t,e,n,r){var i={};i.field=e,n?a.isFunction(n)?i.callback=n:i.values=n:"color"!==t&&(i.values=r),this._setAttrOptions(t,i)},o.position=function(t){return this._setAttrOptions("position",{field:t}),this},o.color=function(t,e){var n=this.viewTheme||u;return this._createAttrOption("color",t,e,n.colors),this},o.size=function(t,e){var n=this.viewTheme||u;return this._createAttrOption("size",t,e,n.sizes),this},o.shape=function(t,e){var n=this.viewTheme||u,r=this.get("type"),i=n.shapes[r]||[];return this._createAttrOption("shape",t,e,i),this},o.opacity=function(t,e){var n=this.viewTheme||u;return this._createAttrOption("opacity",t,e,n.opacities),this},o.style=function(t,e){var n,r=this.get("styleOptions");return r||(r={},this.set("styleOptions",r)),a.isObject(t)&&(e=t,t=null),t&&(n=d(t)),r.fields=n,r.style=e,this},o.label=function(t,e,n){var r,i=this.get("labelCfg");return i||(i={},this.set("labelCfg",i)),t&&(r=d(t)),i.fields=r,a.isFunction(e)?(n||(n={}),i.callback=e):a.isObject(e)&&(n=e),i.globalCfg=n,this},o.tooltip=function(t,e){var n,r=this.get("tooltipCfg");(r||(r={}),!1===t)?this.set("tooltipCfg",!1):(t&&(n=d(t)),r.fields=n,r.cfg=e);return this.set("tooltipCfg",r),this},o.animate=function(t){return this.set("animateCfg",t),this},o.active=function(t,e){return!1===t?this.set("allowActive",!1):a.isObject(t)?(this.set("allowActive",!0),this.set("activedOptions",t)):(this.set("allowActive",!0),this.set("activedOptions",e)),this},o.adjust=function(t){return this.get("hasDefaultAdjust")||(t&&(t=v(t)),this.set("adjusts",t)),this},o.select=function(t,e){return!1===t?this.set("allowSelect",!1):a.isObject(t)?(this.set("allowSelect",!0),this.set("selectedOptions",t)):(this.set("allowSelect",!0),this.set("selectedOptions",e)),this},o.hasAdjust=function(t){var e=this.get("adjusts");if(!t)return!1;var n=!1;return a.each(e,function(e){if(e.type===t)return n=!0,!1}),n},o.hasStack=function(){var t=this.get("isStacked");return a.isNil(t)&&(t=this.hasAdjust("stack"),this.set("isStacked",t)),t},o.isInCircle=function(){var t=this.get("coord");return t&&t.isPolar},o._initContainer=function(){var t=this.get("shapeContainer");if(!t){var e=this.get("container"),n=this.get("view"),r=n&&n.get("_id");t=e.addGroup({viewId:r,visible:this.get("visible")}),this.set("shapeContainer",t)}},o.init=function(){var t=this;if(t._initContainer(),t._initAttrs(),t.get("tooltipCfg")&&t.get("tooltipCfg").fields){var e=t.get("tooltipCfg").fields;a.each(e,function(e){t._createScale(e)})}var n=t._processData();t.get("adjusts")&&t._adjust(n),t.set("dataArray",n)},o._initAttrs=function(){var t=this.get("attrs"),e=this.get("attrOptions"),n=this.get("coord"),i=this.viewTheme||u,o=!1;for(var s in e)if(e.hasOwnProperty(s)){var c=e[s],l=a.upperFirst(s),f=d(c.field);"position"===s&&(c.coord=n,1===f.length&&"theta"===n.type&&(f.unshift("1"),o=!0));for(var h=[],p=0;p<f.length;p++){var v=f[p],g=this._createScale(v);"color"===s&&a.isNil(c.values)&&(g.values.length<=8?c.values=o?i.colors_pie:i.colors:g.values.length<=16?c.values=o?i.colors_pie_16:i.colors_16:c.values=i.colors_24,a.isNil(c.values)&&(c.values=i.colors)),h.push(g)}if("theta"===n.type&&"position"===s&&h.length>1){var y=h[1],m=Math.max.apply(null,y.values);isFinite(m)||(m=1),y.change({nice:!1,min:0,max:m})}c.scales=h;var b=new r[l](c);t[s]=b}},o._processData=function(){for(var t=this.get("data"),e=[],n=this._groupData(t),r=0;r<n.length;r++){var i=n[r],o=this._saveOrigin(i);this._numberic(o),e.push(o)}return e},o._groupData=function(t){var e=this._getGroupScales().map(function(t){return t.field});return a.Array.group(t,e)},o._saveOrigin=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n],i={};for(var o in r)i[o]=r[o];i._origin=r,e.push(i)}return e},o._numberic=function(t){for(var e=this.getAttr("position").scales,n=0;n<t.length;n++)for(var r=t[n],i=0;i<Math.min(2,e.length);i++){var o=e[i];if(o.isCategory){var a=o.field;r[a]=o.translate(r[a])}}},o._getGroupScales=function(){var t=this.get("groupScales");if(!t){t=[];var e=this.get("attrs");a.each(e,function(e){if(-1!==p.indexOf(e.type)){var n=e.scales;a.each(n,function(e){e.isCategory&&-1===a.indexOf(t,e)&&t.push(e)})}}),this.set("groupScales",t)}return t},o._updateStackRange=function(t,e,n){for(var r=a.Array.merge(n),i=e.min,o=e.max,u=0;u<r.length;u++){var s=r[u],c=Math.min.apply(null,s[t]),l=Math.max.apply(null,s[t]);c<i&&(i=c),l>o&&(o=l)}(i<e.min||o>e.max)&&e.change({min:i,max:o})},o._adjust=function(t){var e=this,n=e.get("adjusts"),r=this.viewTheme||u,o=e.getYScale(),s=e.getXScale(),c=s.field,l=o?o.field:null;a.each(n,function(n){var u=a.mix({xField:c,yField:l},n),f=a.upperFirst(n.type);if("Dodge"===f){var h=[];if(s.isCategory||s.isIdentity)h.push("x");else{if(o)throw new Error("dodge is not support linear attribute, please use category attribute!");h.push("y")}u.adjustNames=h,u.dodgeRatio=r.widthRatio.column}else if("Stack"===f){var d=e.get("coord");if(!o){u.height=d.getHeight();var p=e.getDefaultValue("size")||3;u.size=p}!d.isTransposed&&a.isNil(u.reverseOrder)&&(u.reverseOrder=!0)}new i[f](u).processAdjust(t),"Stack"===f&&o&&e._updateStackRange(l,o,t)})},o.setCoord=function(t){this.set("coord",t);var e=this.getAttr("position");this.get("shapeContainer").setMatrix(t.matrix),e&&(e.coord=t)},o.paint=function(){var t=this.get("dataArray"),e=[],n=this.getShapeFactory();n.setCoord(this.get("coord")),this.set("shapeFactory",n);var r=this.get("shapeContainer");this._beforeMapping(t);for(var i=0;i<t.length;i++){var o=t[i],u=i;o=this._mapping(o),e.push(o),this.draw(o,r,n,u)}this.get("labelCfg")&&this._addLabels(a.union.apply(null,e),r.get("children")),this.get("sortable")?this.set("dataArray",e):this._sort(e)},o._sort=function(t){var e=this.getXScale(),n=e.field;a.each(t,function(t){t.sort(function(t,r){return e.translate(t._origin[n])-e.translate(r._origin[n])})}),this.set("dataArray",t)},o._beforeMapping=function(t){var e=this;if(e.get("sortable")){var n=e.getXScale(),r=n.field;a.each(t,function(t){t.sort(function(t,e){return n.translate(t[r])-n.translate(e[r])})})}e.get("generatePoints")&&(a.each(t,function(t){e._generatePoints(t)}),a.each(t,function(e,n){var r=t[n+1];r&&(e[0].nextPoints=r[0].points)}))},o._addLabels=function(t,e){var n=this,r=n.get("type"),i=n.get("viewTheme")||u,o=n.get("coord"),c=s.getLabelsClass(o.type,r),l=n.get("container"),f=a.map(n.get("labelCfg").fields,function(t){return n._createScale(t)}),h=l.addGroup(c,{_id:this.get("_id"),labelCfg:a.mix({scales:f},n.get("labelCfg")),coord:o,geom:n,geomType:r,viewTheme:i,visible:n.get("visible")});h.showLabels(t,e),n.set("labelContainer",h)},o.getShapeFactory=function(){var t=this.get("shapeFactory");if(!t){var e=this.get("shapeType");t=c.getShapeFactory(e),this.set("shapeFactory",t)}return t},o._generatePoints=function(t){for(var e=this.getShapeFactory(),n=this.getAttr("shape"),r=0;r<t.length;r++){var i=t[r],o=this.createShapePointsCfg(i),a=n?this._getAttrValues(n,i):null,u=e.getShapePoints(a,o);i.points=u}},o.createShapePointsCfg=function(t){var e=this.getXScale(),n=this.getYScale();return{x:this._normalizeValues(t[e.field],e),y:n?this._normalizeValues(t[n.field],n):t.y?t.y:.1,y0:n?n.scale(this.getYMinValue()):void 0}},o.getYMinValue=function(){var t=this.getYScale(),e=t.min,n=t.max;return e>=0?e:n<=0?n:0},o._normalizeValues=function(t,e){var n=[];if(a.isArray(t))for(var r=0;r<t.length;r++){var i=t[r];n.push(e.scale(i))}else n=e.scale(t);return n},o._mapping=function(t){for(var e=this.get("attrs"),n=[],r=0;r<t.length;r++){var i=t[r],o={};for(var u in o._origin=i._origin,o.points=i.points,o.nextPoints=i.nextPoints,e)if(e.hasOwnProperty(u)){var s=e[u],c=s.names,l=this._getAttrValues(s,i);if(c.length>1)for(var f=0;f<l.length;f++){var h=l[f];o[c[f]]=a.isArray(h)&&1===h.length?h[0]:h}else o[c[0]]=1===l.length?l[0]:l}n.push(o)}return n},o._getAttrValues=function(t,e){for(var n=t.scales,r=[],i=0;i<n.length;i++){var o=n[i],a=o.field;"identity"===o.type?r.push(o.value):r.push(e[a])}return t.mapping.apply(t,r)},o.getAttrValue=function(t,e){var n=this.getAttr(t),r=null;n&&(r=this._getAttrValues(n,e)[0]);return r},o.getDefaultValue=function(t){var e=this.get(t),n=this.getAttr(t);if(n){var r=n.getScale(t);"identity"===r.type&&(e=r.value)}return e},o.draw=function(t,e,n,r){for(var i=0;i<t.length;i++){var o=t[i];this.drawPoint(o,e,n,r+i)}},o.getCallbackCfg=function(t,e,n){if(!t)return e;var r={},i=t.map(function(t){return n[t]});return a.each(e,function(t,e){a.isFunction(t)?r[e]=t.apply(null,i):r[e]=t}),r},o._getShapeId=function(t){var e=this.get("_id"),n=this.get("keyFields");if(n&&n.length>0)a.each(n,function(n){e+="-"+t[n]});else{var r,i=this.get("type"),o=this.getXScale(),u=this.getYScale(),s=o.field||"x",c=u.field||"y",l=t[c];r=o.isIdentity?o.value:t[s],e+="interval"===i||"schema"===i?"-"+r:"line"===i||"area"===i||"path"===i?"-"+i:"-"+r+"-"+l;var f=this._getGroupScales();a.isEmpty(f)||a.each(f,function(n){var r=n.field;"identity"!==n.type&&(e+="-"+t[r])})}return e},o.getDrawCfg=function(t){var e={origin:t,x:t.x,y:t.y,color:t.color,size:t.size,shape:t.shape,isInCircle:this.isInCircle(),opacity:t.opacity},n=this.get("styleOptions");return n&&n.style&&(e.style=this.getCallbackCfg(n.fields,n.style,t._origin)),this.get("generatePoints")&&(e.points=t.points,e.nextPoints=t.nextPoints),this.get("animate")&&(e._id=this._getShapeId(t._origin)),e},o.appendShapeInfo=function(t,e){t&&(t.setSilent("index",e),t.setSilent("coord",this.get("coord")),this.get("animate")&&this.get("animateCfg")&&t.setSilent("animateCfg",this.get("animateCfg")))},o._applyViewThemeShapeStyle=function(t,e,n){var r=this.viewTheme||u,i=n.name;e?e&&(e.indexOf("hollow")>-1||e.indexOf("liquid")>-1)&&(i="hollow"+a.upperFirst(i)):n.defaultShapeType.indexOf("hollow")>-1&&(i="hollow"+a.upperFirst(i));var o=r.shape[i]||{};t.style=a.mix({},o,t.style)},o.drawPoint=function(t,e,n,r){var i=t.shape,o=this.getDrawCfg(t);this._applyViewThemeShapeStyle(o,i,n);var a=n.drawShape(i,o,e);this.appendShapeInfo(a,r)},o.getAttr=function(t){return this.get("attrs")[t]},o.getXScale=function(){return this.getAttr("position").scales[0]},o.getYScale=function(){return this.getAttr("position").scales[1]},o.getShapes=function(){var t=[],e=this.get("shapeContainer").get("children");return a.each(e,function(e){e.get("origin")&&t.push(e)}),t},o.getAttrsForLegend=function(){var t=this.get("attrs"),e=[];return a.each(t,function(t){-1!==p.indexOf(t.type)&&e.push(t)}),e},o.getFieldsForLegend=function(){var t=[],e=this.get("attrOptions");return a.each(p,function(n){var r=e[n];r&&r.field&&a.isString(r.field)&&(t=t.concat(r.field.split("*")))}),a.uniq(t)},o.changeVisible=function(t,e){this.set("visible",t);var n=this.get("shapeContainer");n&&n.set("visible",t);var r=this.get("labelContainer");(r&&r.set("visible",t),!e&&n)&&n.get("canvas").draw()},o.reset=function(){this.set("attrOptions",{}),this.clearInner()},o.clearInner=function(){this.clearActivedShapes(),this.clearSelected();var t=this.get("shapeContainer");t&&t.clear();var e=this.get("labelContainer");e&&e.remove(),this.set("attrs",{}),this.set("groupScales",null),this.set("labelContainer",null),this.set("xDistance",null),this.set("isStacked",null)},o.clear=function(){this.clearInner(),this.set("scales",{})},o.destroy=function(){this.clear();var e=this.get("shapeContainer");e&&e.remove(),this.offEvents(),t.prototype.destroy.call(this)},o.bindEvents=function(){this.get("view")&&(this._bindActiveAction(),this._bindSelectedAction())},o.offEvents=function(){this.get("view")&&(this._offActiveAction(),this._offSelectedAction())},g}(o);t.exports=g},function(t,e,n){var r=n(0),i=n(25),o=r.PathUtil,a={},u={_coord:null,draw:function(t,e){return this.drawShape?this.drawShape(t,e):null},setCoord:function(t){this._coord=t},parsePath:function(t,e){var n=this._coord;return t=o.parsePathString(t),t=n.isPolar&&!1!==e?i.convertPolarPath(n,t):i.convertNormalPath(n,t)},parsePoint:function(t){return this._coord.convertPoint(t)},parsePoints:function(t){var e=this._coord,n=[];return r.each(t,function(t){n.push(e.convertPoint(t))}),n}},s={defaultShapeType:null,setCoord:function(t){this._coord=t},getShape:function(t){r.isArray(t)&&(t=t[0]);var e=this[t]||this[this.defaultShapeType];return e._coord=this._coord,e},getShapePoints:function(t,e){var n=this.getShape(t);return(n.getPoints||n.getShapePoints||this.getDefaultPoints)(e)},getDefaultPoints:function(){return[]},getMarkerCfg:function(t,e){var n=this.getShape(t);if(!n.getMarkerCfg){var r=this.defaultShapeType;n=this.getShape(r)}return n.getMarkerCfg(e)},getSelectedCfg:function(){return{}},drawShape:function(t,e,n){var r=this.getShape(t).draw(e,n);return r&&(r.setSilent("origin",e.origin),r._id=e.yIndex?e._id+e.yIndex:e._id,r.name=this.name),r}};a.registerFactory=function(t,e){var n=r.upperFirst(t),i=r.assign({},s,e);return a[n]=i,i.name=t,i},a.registerShape=function(t,e,n){var i=r.upperFirst(t),o=a[i],s=r.assign({},u,n);return o[e]=s,s},a.getShapeFactory=function(t){return t=t||"point",this[r.upperFirst(t)]},t.exports=a},function(t,e){function n(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}t.exports=function(t,e,r,i){return e&&n(t,e),r&&n(t,r),i&&n(t,i),t}},function(t,e,n){var r=n(17);t.exports=function(t){return r(t,"Number")}},function(t,e,n){"use strict";var r=n(89);n.d(e,"f",function(){return r.h}),n.d(e,"e",function(){return r.g}),n.d(e,"d",function(){return r.f});var i=n(440);n.d(e,"c",function(){return i.b}),n.d(e,"b",function(){return i.a});var o=n(439);n.d(e,"a",function(){return o.a})},function(t,e,n){"use strict";n.d(e,"d",function(){return s}),n.d(e,"a",function(){return c}),n.d(e,"b",function(){return h}),n.d(e,"c",function(){return d}),e.g=function(t,e){var n=p(t,e);if(n.state>u)throw new Error("too late; already scheduled");return n},e.e=function(t,e){var n=p(t,e);if(n.state>l)throw new Error("too late; already running");return n},e.f=p;var r=n(442),i=n(102),o=n.i(r.a)("start","end","cancel","interrupt"),a=[],u=0,s=1,c=2,l=3,f=4,h=5,d=6;function p(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}e.h=function(t,e,r,p,v,g){var y=t.__transition;if(y){if(r in y)return}else t.__transition={};!function(t,e,r){var o,a=t.__transition;function u(h){var g,y,m,b;if(r.state!==s)return v();for(g in a)if((b=a[g]).name===r.name){if(b.state===l)return n.i(i.timeout)(u);b.state===f?(b.state=d,b.timer.stop(),b.on.call("interrupt",t,t.__data__,b.index,b.group),delete a[g]):+g<e&&(b.state=d,b.timer.stop(),b.on.call("cancel",t,t.__data__,b.index,b.group),delete a[g])}if(n.i(i.timeout)(function(){r.state===l&&(r.state=f,r.timer.restart(p,r.delay,r.time),p(h))}),r.state=c,r.on.call("start",t,t.__data__,r.index,r.group),r.state===c){for(r.state=l,o=new Array(m=r.tween.length),g=0,y=-1;g<m;++g)(b=r.tween[g].value.call(t,t.__data__,r.index,r.group))&&(o[++y]=b);o.length=y+1}}function p(e){for(var n=e<r.duration?r.ease.call(null,e/r.duration):(r.timer.restart(v),r.state=h,1),i=-1,a=o.length;++i<a;)o[i].call(t,n);r.state===h&&(r.on.call("end",t,t.__data__,r.index,r.group),v())}function v(){for(var n in r.state=d,r.timer.stop(),delete a[e],a)return;delete t.__transition}a[e]=r,r.timer=n.i(i.timer)(function(t){r.state=s,r.timer.restart(u,r.delay,r.time),r.delay<=t&&u(t-r.delay)},0,r.time)}(t,r,{name:e,index:p,group:v,on:o,tween:a,time:g.time,delay:g.delay,duration:g.duration,ease:g.ease,timer:null,state:u})}},function(t,e,n){var r=n(17);t.exports=function(t){return r(t,"Function")}},function(t,e,n){var r=n(17);t.exports=function(t){return r(t,"String")}},function(t,e,n){var r=n(36);t.exports=r},function(t,e){var n={}.toString;t.exports=function(t,e){return n.call(t)==="[object "+e+"]"}},function(t,e,n){"use strict";n.d(e,"c",function(){return I}),e.b=N;var r=n(505),i=n(506),o=n(493),a=n(487),u=n(214),s=n(492),c=n(496),l=n(498),f=n(501),h=n(508),d=n(484),p=n(500),v=n(499),g=n(507),y=n(491),m=n(490),b=n(483),x=n(216),w=n(502),_=n(485),S=n(509),k=n(494),E=n(503),O=n(497),C=n(482),A=n(495),T=n(504),M=n(486),P=n(488),j=n(98),D=n(489),I=[null];function N(t,e){this._groups=t,this._parents=e}function F(){return new N([[document.documentElement]],I)}N.prototype=F.prototype={constructor:N,select:r.a,selectAll:i.a,filter:o.a,data:a.a,enter:u.a,exit:s.a,join:c.a,merge:l.a,order:f.a,sort:h.a,call:d.a,nodes:p.a,node:v.a,size:g.a,empty:y.a,each:m.a,attr:b.a,style:x.b,property:w.a,classed:_.a,text:S.a,html:k.a,raise:E.a,lower:O.a,append:C.a,insert:A.a,remove:T.a,clone:M.a,datum:P.a,on:j.c,dispatch:D.a},e.a=F},function(t,e){t.exports={FONT_FAMILY:'"-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",SimSun, "sans-serif"'}},function(t,e,n){var r=n(3),i=n(108),o=n(35),a=["min","max","median","start","end"],u=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=o.prototype;return u.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{xScales:null,yScales:null,el:null})},u.render=function(){},u.clear=function(){var t=this.get("el");t&&t.remove()},u.changeVisible=function(t){this.set("visible",t);var e=this.get("el");e&&(e.set?e.set("visible",t):e.style.display=t?"":"none")},u.parsePoint=function(t,e){var n,o,a=this.get("xScales"),u=this.get("yScales");if(r.isFunction(e)&&(e=e(a,u)),r.isArray(e)&&r.isString(e[0])&&-1!==e[0].indexOf("%"))return this._parsePercentPoint(t,e);if(r.isArray(e))n=this._getNormalizedValue(e[0],i.getFirstScale(a)),o=this._getNormalizedValue(e[1],i.getFirstScale(u));else for(var s in e){var c=e[s];a[s]&&(n=this._getNormalizedValue(c,a[s])),u[s]&&(o=this._getNormalizedValue(c,u[s],"y"))}return r.isNil(n)||r.isNil(o)?void 0:t.convert({x:n,y:o})},u._getNormalizedValue=function(t,e){var n,i;-1!==r.indexOf(a,t)?"start"===t?n=0:"end"===t?n=1:"median"===t?(i=e.isCategory?(e.values.length-1)/2:(e.min+e.max)/2,n=e.scale(i)):(i=e.isCategory?"min"===t?0:e.values.length-1:e[t],n=e.scale(i)):n=e.scale(t);return n},u._parsePercentPoint=function(t,e){var n=parseFloat(e[0])/100,r=parseFloat(e[1])/100,i=t.start,o=t.end,a=Math.min(i.x,o.x),u=Math.min(i.y,o.y);return{x:t.width*n+a,y:t.height*r+u}},o}(o);t.exports=u},function(t,e){t.exports=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(478);n.d(e,"create",function(){return r.a});var i=n(61);n.d(e,"creator",function(){return i.a});var o=n(479);n.d(e,"local",function(){return o.a});var a=n(212);n.d(e,"matcher",function(){return a.a});var u=n(480);n.d(e,"mouse",function(){return u.a});var s=n(96);n.d(e,"namespace",function(){return s.a});var c=n(97);n.d(e,"namespaces",function(){return c.a});var l=n(62);n.d(e,"clientPoint",function(){return l.a});var f=n(213);n.d(e,"select",function(){return f.a});var h=n(481);n.d(e,"selectAll",function(){return h.a});var d=n(18);n.d(e,"selection",function(){return d.a});var p=n(99);n.d(e,"selector",function(){return p.a});var v=n(217);n.d(e,"selectorAll",function(){return v.a});var g=n(216);n.d(e,"style",function(){return g.a});var y=n(510);n.d(e,"touch",function(){return y.a});var m=n(511);n.d(e,"touches",function(){return m.a});var b=n(101);n.d(e,"window",function(){return b.a});var x=n(98);n.d(e,"event",function(){return x.a}),n.d(e,"customEvent",function(){return x.b})},function(t,e,n){var r=n(0),i={splitPoints:function(t){var e=[],n=t.x,i=t.y;return i=r.isArray(i)?i:[i],r.each(i,function(t,i){var o={x:r.isArray(n)?n[i]:n,y:t};e.push(o)}),e},addFillAttrs:function(t,e){e.color&&(t.fill=e.color),r.isNumber(e.opacity)&&(t.opacity=t.fillOpacity=e.opacity)},addStrokeAttrs:function(t,e){e.color&&(t.stroke=e.color),r.isNumber(e.opacity)&&(t.opacity=t.strokeOpacity=e.opacity)}};t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(42),o=u(i),a=u(n(29));function u(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var f=function(t){function e(t,n){s(this,e);var r=c(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.getParentInfo=function(){return{id:r.id,name:r.name}},r.name=n,r}return l(e,i.Component),r(e,[{key:"getChildContext",value:function(){return{addElement:this.context.addElement,updateElement:this.context.updateElement,deleteElement:this.context.deleteElement,createId:this.context.createId,getParentInfo:this.getParentInfo,getViewId:this.context.getViewId}}},{key:"componentWillMount",value:function(){var t=this.context;this.id=t.createId(),t.addElement(this.name,this.id,this.props,t.getParentInfo(),t.getViewId())}},{key:"componentWillReceiveProps",value:function(t){this.context.updateElement(this.name,this.id,t,this.context.getParentInfo(),this.context.getViewId())}},{key:"componentWillUnmount",value:function(){this.context.deleteElement(this.name,this.id)}},{key:"render",value:function(){var t=this.props.children;return t?t.length&&(t=o.default.createElement("div",null,t)):t=null,t}}]),e}();f.contextTypes={addElement:a.default.func,updateElement:a.default.func,deleteElement:a.default.func,createId:a.default.func,getParentInfo:a.default.func,getViewId:a.default.func},f.childContextTypes={addElement:a.default.func,updateElement:a.default.func,deleteElement:a.default.func,createId:a.default.func,getParentInfo:a.default.func,getViewId:a.default.func},f.generateBaseTypedComponent=function(t){var e=function(e){function n(e){return s(this,n),c(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t))}return l(n,f),r(n,[{key:"getChildContext",value:function(){return{addElement:this.context.addElement,updateElement:this.context.updateElement,deleteElement:this.context.deleteElement,createId:this.context.createId,getParentInfo:this.getParentInfo,getViewId:this.context.getViewId}}}]),n}();return e.contextTypes={addElement:a.default.func,updateElement:a.default.func,deleteElement:a.default.func,createId:a.default.func,getParentInfo:a.default.func,getViewId:a.default.func},e.childContextTypes={addElement:a.default.func,updateElement:a.default.func,deleteElement:a.default.func,createId:a.default.func,getParentInfo:a.default.func,getViewId:a.default.func},e},e.default=f},function(t,e,n){var r=n(0),i=n(313);function o(t,e){var n=t.getCenter();return Math.sqrt(Math.pow(e.x-n.x,2)+Math.pow(e.y-n.y,2))}function a(t,e){for(var n=t.length,r=[t[0]],i=1;i<n;i+=2){var o=e.convertPoint({x:t[i],y:t[i+1]});r.push(o.x,o.y)}return r}var u={getLinePath:function(t,e){return function(t,e){if(!t.length)return[];for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r];0===r?n.push(["M",o.x,o.y]):n.push(["L",o.x,o.y])}return e&&n.push(["Z"]),n}(t,e)},getSplinePath:function(t,e,n){var o=[],a=t[0],s=null;if(t.length<=2)return u.getLinePath(t,e);r.each(t,function(t){s&&s.x===t.x&&s.y===t.y||(o.push(t.x),o.push(t.y),s=t)}),n=n||[[0,0],[1,1]];var c=i.catmullRom2bezier(o,e,n);return c.unshift(["M",a.x,a.y]),c},getPointRadius:function(t,e){return o(t,e)},getPointAngle:function(t,e){var n=t.getCenter();return Math.atan2(e.y-n.y,e.x-n.x)},convertNormalPath:function(t,e){var n=[];return r.each(e,function(e){switch(e[0].toLowerCase()){case"m":case"l":case"c":n.push(a(e,t));break;case"z":default:n.push(e)}}),n},convertPolarPath:function(t,e){var n,i,u,s=[];return r.each(e,function(r,c){switch(r[0].toLowerCase()){case"m":case"c":case"q":s.push(a(r,t));break;case"l":n=e[c-1],i=r,u=t.isTransposed,(u?n[n.length-2]===i[1]:n[n.length-1]===i[2])?s=s.concat(function(t,e,n){var r=n.isTransposed,i=n.startAngle,a=n.endAngle,u={x:t[1],y:t[2]},s={x:e[1],y:e[2]},c=[],l=r?"y":"x",f=Math.abs(s[l]-u[l])*(a-i),h=s[l]>=u[l]?1:0,d=f>Math.PI?1:0,p=n.convertPoint(s),v=o(n,p);if(v>=.5)if(f===2*Math.PI){var g={x:(s.x+u.x)/2,y:(s.y+u.y)/2},y=n.convertPoint(g);c.push(["A",v,v,0,d,h,y.x,y.y]),c.push(["A",v,v,0,d,h,p.x,p.y])}else c.push(["A",v,v,0,d,h,p.x,p.y]);return c}(n,i,t)):s.push(a(r,t));break;case"z":default:s.push(r)}}),function(t){r.each(t,function(e,n){if("a"===e[0].toLowerCase()){var r=t[n-1],i=t[n+1];i&&"a"===i[0].toLowerCase()?r&&"l"===r[0].toLowerCase()&&(r[0]="M"):r&&"a"===r[0].toLowerCase()&&i&&"l"===i[0].toLowerCase()&&(i[0]="M")}})}(s),s}};t.exports=u},function(t,e,n){var r=n(10),i=n(2),o=n(39),a=n(6),u=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),r(this,t),this.init()}return t._initDefaultCfg=function(){this.type="base",this.formatter=null,this.range=[0,1],this.ticks=null,this.values=[]},t.init=function(){},t.getTicks=function(){var t=this,e=t.ticks,n=[];return i(e,function(e){var r;r=o(e)?e:{text:t.getText(e),tickValue:e,value:t.scale(e)},n.push(r)}),n},t.getText=function(t,e){var n=this.formatter;return t=n?n(t,e):t,!a(t)&&t.toString||(t=""),t.toString()},t.rangeMin=function(){return this.range[0]},t.rangeMax=function(){var t=this.range;return t[t.length-1]},t.invert=function(t){return t},t.translate=function(t){return t},t.scale=function(t){return t},t.clone=function(){var t=this,e=t.constructor,n={};return i(t,function(e,r){n[r]=t[r]}),new e(n)},t.change=function(t){return this.ticks=null,r(this,t),this.init(),this},e}();t.exports=u},function(t,e,n){"use strict";e.b=S,e.a=k,e.c=function(){return++_};var r=n(22),i=n(519),o=n(520),a=n(521),u=n(522),s=n(523),c=n(525),l=n(526),f=n(527),h=n(528),d=n(529),p=n(530),v=n(531),g=n(532),y=n(533),m=n(534),b=n(535),x=n(63),w=n(524),_=0;function S(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function k(t){return n.i(r.selection)().transition(t)}var E=r.selection.prototype;S.prototype=k.prototype={constructor:S,select:d.a,selectAll:p.a,filter:c.a,merge:l.a,selection:v.a,transition:b.a,call:E.call,nodes:E.nodes,node:E.node,size:E.size,empty:E.empty,each:E.each,on:f.a,attr:i.a,attrTween:o.a,style:g.a,styleTween:y.a,text:m.a,remove:h.a,tween:x.a,delay:a.a,duration:u.a,ease:s.a,end:w.a}},function(t,e,n){var r=n(0),i=r.DomUtil,o=["start","process","end","reset"],a=function(){var t=e.prototype;function e(t,e){var n=this,i=n.getDefaultCfg();r.assign(n,i,t),n.view=n.chart=e,n.canvas=e.get("canvas"),n._bindEvents()}return t.getDefaultCfg=function(){return{startEvent:"mousedown",processEvent:"mousemove",endEvent:"mouseup",resetEvent:"dblclick"}},t._start=function(t){var e=this;e.preStart&&e.preStart(t),e.start(t),e.onStart&&e.onStart(t)},t._process=function(t){var e=this;e.preProcess&&e.preProcess(t),e.process(t),e.onProcess&&e.onProcess(t)},t._end=function(t){var e=this;e.preEnd&&e.preEnd(t),e.end(t),e.onEnd&&e.onEnd(t)},t._reset=function(t){var e=this;e.preReset&&e.preReset(t),e.reset(t),e.onReset&&e.onReset(t)},t.start=function(){},t.process=function(){},t.end=function(){},t.reset=function(){},t._bindEvents=function(){var t=this,e=t.canvas.get("canvasDOM");t._clearEvents(),r.each(o,function(n){var o=r.upperFirst(n);t["_on"+o+"Listener"]=i.addEventListener(e,t[n+"Event"],r.wrapBehavior(t,"_"+n))})},t._clearEvents=function(){var t=this;r.each(o,function(e){var n="_on"+r.upperFirst(e)+"Listener";t[n]&&t[n].remove()})},t.destroy=function(){this._clearEvents()},e}();t.exports=a},function(t,e,n){var r=n(222);t.exports=n(540)(r.isElement,!0)},function(t,e,n){t.exports={Axis:n(239),Component:n(66),Guide:n(247),Label:n(251),Legend:n(257),Tooltip:n(262)}},function(t,e,n){"use strict";e.b=function(t,e){var o=e-t;return o?i(t,o>180||o<-180?o-360*Math.round(o/360):o):n.i(r.a)(isNaN(t)?e:t)},e.c=function(t){return 1==(t=+t)?o:function(e,i){return i-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,i,t):n.i(r.a)(isNaN(e)?i:e)}},e.a=o;var r=n(207);function i(t,e){return function(n){return t+n*e}}function o(t,e){var o=e-t;return o?i(t,o):n.i(r.a)(isNaN(t)?e:t)}},function(t,e,n){var r=n(10),i=function(){var t=e.prototype;function e(t){this._initDefaultCfg(),r(this,t)}return t._initDefaultCfg=function(){this.adjustNames=["x","y"]},t.processAdjust=function(){},e}();t.exports=i},function(t,e,n){var r=n(15),i=n(4),o=n(6),a=n(10),u=n(2);function s(t,e){return r(e)?e:t.invert(t.scale(e))}var c=function(){function t(t){var e=this;this.type="base",this.name=null,this.method=null,this.values=[],this.scales=[],this.linear=null;var n=null,r=this.callback;if(t.callback){var i=t.callback;n=function(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var u=i.apply(void 0,n);return o(u)&&(u=r.apply(e,n)),u}}a(this,t),n&&a(this,{callback:n})}var e=t.prototype;return e._getAttrValue=function(t,e){var n=this.values;if(t.isCategory&&!this.linear)return n[t.translate(e)%n.length];var r=t.scale(e);return this.getLinearValue(r)},e.getLinearValue=function(t){var e=this.values,n=e.length-1,r=Math.floor(n*t),i=n*t-r,o=e[r];return o+((r===n?o:e[r+1])-o)*i},e.callback=function(t){var e=this.scales[0];return"identity"===e.type?e.value:this._getAttrValue(e,t)},e.getNames=function(){for(var t=this.scales,e=this.names,n=Math.min(t.length,e.length),r=[],i=0;i<n;i++)r.push(e[i]);return r},e.getFields=function(){var t=this.scales,e=[];return u(t,function(t){e.push(t.field)}),e},e.getScale=function(t){return this.scales[this.names.indexOf(t)]},e.mapping=function(){for(var t=this.scales,e=this.callback,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=r;if(e){for(var a=0,u=r.length;a<u;a++)r[a]=this._toOriginParam(r[a],t[a]);o=e.apply(this,r)}return o=[].concat(o)},e._toOriginParam=function(t,e){var n=t;if(!e.isLinear)if(i(t)){n=[];for(var r=0,o=t.length;r<o;r++)n.push(s(e,t[r]))}else n=s(e,t);return n},t}();t.exports=c},function(t,e,n){var r=n(35),i=n(3),o=n(107),a=n(109),u=n(19).FONT_FAMILY,s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=r.prototype;return s.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return i.mix({},e,{_id:null,zIndex:4,ticks:null,line:null,tickLine:null,subTickCount:0,subTickLine:null,grid:null,label:{offset:0,offsetX:0,offsetY:0,textStyle:{},autoRotate:!0,autoHide:!1,formatter:null},labelItems:[],title:{autoRotate:!0,textStyle:{}},autoPaint:!0})},s.beforeRender=function(){var t=this.get("title"),e=this.get("label"),n=this.get("grid");t&&this.set("title",i.deepMix({autoRotate:!0,textStyle:{fontSize:12,fill:"#ccc",textBaseline:"middle",fontFamily:u,textAlign:"center"},offset:48},t)),e&&this.set("label",i.deepMix({autoRotate:!0,autoHide:!0,textStyle:{fontSize:12,fill:"#ccc",textBaseline:"middle",fontFamily:u},offset:10},e)),n&&this.set("grid",i.deepMix({lineStyle:{lineWidth:1,stroke:"#C0D0E0"}},n))},s.render=function(){this.beforeRender(),this.get("label")&&this.renderLabels(),this.get("autoPaint")&&this.paint(),i.isNil(this.get("title"))||this.renderTitle(),this.get("group").sort()},s.renderLabels=function(){var t=this.get("group"),e=this.get("label"),n=new a({name:"axis-label"});this.set("labelRenderer",n),n.set("labelCfg",e);i.each(["formatter","htmlTemplate","labelLine","textStyle","useHtml"],function(t){e[t]&&n.set(t,e[t])}),n.set("coord",this.get("coord")),n.set("group",t.addGroup()),n.set("canvas",this.get("canvas"))},s._parseTicks=function(t){for(var e=(t=t||[]).length,n=0;n<e;n++){var r=t[n];i.isObject(r)||(t[n]=this.parseTick(r,n,e))}return this.set("ticks",t),t},s._addTickItem=function(t,e,n,r){void 0===r&&(r="");var i=this.get("tickItems"),o=this.get("subTickItems"),a=this.getTickEnd(e,n,t),u={x1:e.x,y1:e.y,x2:a.x,y2:a.y};i||(i=[]),o||(o=[]),"sub"===r?o.push(u):i.push(u),this.set("tickItems",i),this.set("subTickItems",o)},s._renderLine=function(){var t,e=this.get("line");if(e){t=this.getLinePath(),e=i.mix({path:t},e);var n=this.get("group").addShape("path",{attrs:e});n.name="axis-line",this.get("appendInfo")&&n.setSilent("appendInfo",this.get("appendInfo")),this.set("lineShape",n)}},s._processCatTicks=function(){var t=this.get("label"),e=this.get("tickLine"),n=this.get("ticks");n=this._parseTicks(n);for(var r=this._getNormalizedTicks(n),i=0;i<r.length;i+=3){var o=this.getTickPoint(r[i]),a=this.getTickPoint(r[i+1]),u=this.getTickPoint(r[i+2]),s=Math.floor(i/3),c=n[s];e&&(0===s&&this._addTickItem(s,a,e.length),this._addTickItem(s,u,e.length)),t&&this.addLabel(c,o,s)}},s._getNormalizedTicks=function(t){var e=0;t.length>1&&(e=(t[1].value-t[0].value)/2);for(var n=[],r=0;r<t.length;r++){var o=t[r],a=o.value,u=o.value-e,s=o.value+e;n.push(a,u,s)}var c=i.arrayUtil.getRange(n);return n.map(function(t){return(t-c.min)/(c.max-c.min)})},s.addLabel=function(t,e,n){var r=this.get("labelItems"),o=this.get("labelRenderer"),a=i.deepMix({},this.get("label"));if(o){var u=this.get("_labelOffset");i.isNil(this.get("label").offset)||(u=this.get("label").offset);var s=this.getSideVector(u,e,n);e={x:e.x+s[0]+a.offsetX,y:e.y+s[1]+a.offsetY},a.text=t.text,a.x=e.x,a.y=e.y,a.point=e,a.textAlign=this.getTextAnchor(s),e.rotate&&(a.rotate=e.rotate),r.push(a)}},s._processTicks=function(){var t=this,e=t.get("label"),n=t.get("subTickCount"),r=t.get("tickLine"),o=t.get("ticks");if(o=t._parseTicks(o),i.each(o,function(n,i){var o=t.getTickPoint(n.value,i);r&&t._addTickItem(i,o,r.length),e&&t.addLabel(n,o,i)}),n){var a=t.get("subTickLine");i.each(o,function(e,i){if(i>0){var u=e.value-o[i-1].value;u/=t.get("subTickCount")+1;for(var s=1;s<=n;s++){var c={text:"",value:i?o[i-1].value+s*u:s*u},l=t.getTickPoint(c.value),f=void 0;f=a&&a.length?a.length:parseInt(.6*r.length,10),t._addTickItem(s-1,l,f,"sub")}}})}},s._addTickLine=function(t,e){var n=i.mix({},e),r=[];i.each(t,function(t){r.push(["M",t.x1,t.y1]),r.push(["L",t.x2,t.y2])}),delete n.length,n.path=r;var o=this.get("group").addShape("path",{attrs:n});o.name="axis-ticks",o._id=this.get("_id")+"-ticks",o.set("coord",this.get("coord")),this.get("appendInfo")&&o.setSilent("appendInfo",this.get("appendInfo"))},s._renderTicks=function(){var t=this.get("tickItems"),e=this.get("subTickItems");if(!i.isEmpty(t)){var n=this.get("tickLine");this._addTickLine(t,n)}if(!i.isEmpty(e)){var r=this.get("subTickLine")||this.get("tickLine");this._addTickLine(e,r)}},s._renderGrid=function(){var t=this.get("grid");if(t){t.coord=this.get("coord"),t.appendInfo=this.get("appendInfo");var e=this.get("group");this.set("gridGroup",e.addGroup(o,t))}},s._renderLabels=function(){var t=this.get("labelRenderer"),e=this.get("labelItems");t&&(t.set("items",e),t._dryDraw())},s.paint=function(){var t=this.get("tickLine"),e=!0;t&&t.hasOwnProperty("alignWithLabel")&&(e=t.alignWithLabel),this._renderLine();var n=this.get("type");("cat"===n||"timeCat"===n)&&!1===e?this._processCatTicks():this._processTicks(),this._renderTicks(),this._renderGrid(),this._renderLabels();var r=this.get("label");r&&r.autoRotate&&this.autoRotateLabels(),r&&r.autoHide&&this.autoHideLabels()},s.parseTick=function(t,e,n){return{text:t,value:e/(n-1)}},s.getTextAnchor=function(t){return Math.abs(t[1]/t[0])>=1?"center":t[0]>0?"start":"end"},s.getMaxLabelWidth=function(t){var e=t.getLabels(),n=0;return i.each(e,function(t){var e=t.getBBox().width;n<e&&(n=e)}),n},s.getMaxLabelHeight=function(t){var e=t.getLabels(),n=0;return i.each(e,function(t){var e=t.getBBox().height;n<e&&(n=e)}),n},s.destroy=function(){if(!this.destroyed){t.prototype.destroy.call(this);var e=this.get("gridGroup");e&&e.remove();var n=this.get("labelRenderer");n&&n.destroy(),this.get("group").destroy(),this.destroyed=!0}},s.clear=function(){var t=this.get("group");if(!t.get("destroyed")&&t.get("children").length){var e=this.get("gridGroup");e&&e.clear();var n=this.get("labelRenderer");n&&n.clear(),this.get("group").clear()}},s.autoRotateLabels=function(){},s.autoHideLabels=function(){},s.renderTitle=function(){},s.getLinePath=function(){},s.getTickPoint=function(){},s.getTickEnd=function(){},s.getSideVector=function(){},r}(r);t.exports=s},function(t,e,n){var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getDefaultCfg=function(){return{_id:null,canvas:null,container:null,group:null,capture:!1,coord:null,offset:[0,0],plotRange:null,position:[0,0],visible:!0,zIndex:1}},i._init=function(){},i.clear=function(){},i.destroy=function(){},i.beforeRender=function(){},i.render=function(){},i.afterRender=function(){},i.beforeDraw=function(){},i.draw=function(){},i.afterDraw=function(){},i.show=function(){},i.hide=function(){},i.setOffset=function(){},i.setPosition=function(){},i.setVisible=function(){},i.setZIndex=function(){},r}(n(66));t.exports=r},function(t,e,n){t.exports={Canvas:n(327),Group:n(132),Shape:n(7),Arc:n(134),Circle:n(135),Dom:n(136),Ellipse:n(137),Fan:n(138),Image:n(139),Line:n(140),Marker:n(74),Path:n(143),Polygon:n(144),Polyline:n(145),Rect:n(146),Text:n(147),PathSegment:n(50),PathUtil:n(77),Event:n(133),version:"3.3.6"}},function(t,e,n){var r=n(1),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,o=/[^\s\,]+/gi,a={};t.exports={parseRadius:function(t){var e=0,n=0,i=0,o=0;return r.isArray(t)?1===t.length?e=n=i=o=t[0]:2===t.length?(e=i=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],o=t[3]):e=n=i=o=t,{r1:e,r2:n,r3:i,r4:o}},parsePath:function(t){return t=t||[],r.isArray(t)?t:r.isString(t)?(t=t.match(i),r.each(t,function(e,n){if((e=e.match(o))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}r.each(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0},numberToColor:function(t){var e=a[t];if(!e){for(var n=t.toString(16),r=n.length;r<6;r++)n="0"+n;e="#"+n,a[t]=e}return e}}},function(t,e,n){var r=n(6);t.exports=function(t){return r(t)?"":t.toString()}},function(t,e){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){var e=void 0===t?"undefined":n(t);return null!==t&&"object"===e||"function"===e}},function(t,e,n){var r=n(86),i=n(17);t.exports=function(t){if(!r(t)||!i(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){"use strict";e.b=function(t,e){var o=e-t;return o?i(t,o>180||o<-180?o-360*Math.round(o/360):o):n.i(r.a)(isNaN(t)?e:t)},e.c=function(t){return 1==(t=+t)?o:function(e,i){return i-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,i,t):n.i(r.a)(isNaN(e)?i:e)}},e.a=o;var r=n(200);function i(t,e){return function(n){return t+n*e}}function o(t,e){var o=e-t;return o?i(t,o):n.i(r.a)(isNaN(t)?e:t)}},function(e,n){e.exports=t},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}var o=n(56),a=n(10),u=o.mat3,s=o.vec3,c=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var n=this.getDefaultCfg();a(this,n,e),this.init()}return i(t,[{key:"getDefaultCfg",value:function(){return{isTransposed:!1,matrix:[1,0,0,0,1,0,0,0,1]}}}]),i(t,[{key:"init",value:function(){var t=this.start,e=this.end,n={x:(t.x+e.x)/2,y:(t.y+e.y)/2};this.center=n,this.width=Math.abs(e.x-t.x),this.height=Math.abs(e.y-t.y)}},{key:"_swapDim",value:function(t){var e=this[t];if(e){var n=e.start;e.start=e.end,e.end=n}}},{key:"getCenter",value:function(){return this.center}},{key:"getWidth",value:function(){return this.width}},{key:"getHeight",value:function(){return this.height}},{key:"convertDim",value:function(t,e){var n=this[e],r=n.start;return r+t*(n.end-r)}},{key:"invertDim",value:function(t,e){var n=this[e],r=n.start;return(t-r)/(n.end-r)}},{key:"convertPoint",value:function(t){return t}},{key:"invertPoint",value:function(t){return t}},{key:"applyMatrix",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.matrix,i=[t,e,n];return s.transformMat3(i,i,r),i}},{key:"invertMatrix",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=this.matrix,i=u.invert([],r),o=[t,e,n];return s.transformMat3(o,o,i),o}},{key:"convert",value:function(t){var e=this.convertPoint(t),n=e.x,r=e.y,i=this.applyMatrix(n,r,1);return{x:i[0],y:i[1]}}},{key:"invert",value:function(t){var e=this.invertMatrix(t.x,t.y,1);return this.invertPoint({x:e[0],y:e[1]})}},{key:"rotate",value:function(t){var e=this.matrix,n=this.center;return u.translate(e,e,[-n.x,-n.y]),u.rotate(e,e,t),u.translate(e,e,[n.x,n.y]),this}},{key:"reflect",value:function(t){switch(t){case"x":this._swapDim("x");break;case"y":this._swapDim("y");break;default:this._swapDim("y")}return this}},{key:"scale",value:function(t,e){var n=this.matrix,r=this.center;return u.translate(n,n,[-r.x,-r.y]),u.scale(n,n,[t,e]),u.translate(n,n,[r.x,r.y]),this}},{key:"translate",value:function(t,e){var n=this.matrix;return u.translate(n,n,[t,e]),this}},{key:"transpose",value:function(){return this.isTransposed=!this.isTransposed,this}}]),t}();t.exports=c},function(t,e,n){var r=n(0),i=n(278),o=n(16).Canvas,a=r.DomUtil,u=n(5),s=n(282),c=n(120),l=n(122),f=n(121),h=n(123);function d(t,e){return r.isEqualWith(t,e,function(t,e){return t===e})}var p=function(t){var e,n;function p(){return t.apply(this,arguments)||this}n=t,(e=p).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var v=p.prototype;return v.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix(e,{id:null,forceFit:!1,container:null,wrapperEl:null,canvas:null,width:500,height:500,pixelRatio:null,backPlot:null,frontPlot:null,plotBackground:null,padding:u.plotCfg.padding,background:null,autoPaddingAppend:5,limitInPlot:!1,renderer:u.renderer,views:[]})},v.init=function(){var e=this.get("viewTheme");this._initCanvas(),this._initPlot(),this._initEvents(),t.prototype.init.call(this);var n=new c.Tooltip({chart:this,viewTheme:e,options:{}});this.set("tooltipController",n);var r=new c.Legend({chart:this,viewTheme:e});this.set("legendController",r),this.set("_id","chart"),this.emit("afterinit")},v._isAutoPadding=function(){var t=this.get("padding");return r.isArray(t)?-1!==t.indexOf("auto"):"auto"===t},v._getAutoPadding=function(){for(var t=this.get("padding"),e=this.get("frontPlot").getBBox(),n=this.get("backPlot"),i=f(n,h(this.get("plotRange"))),o=l(e,i),a=[0-o.minY,o.maxX-this.get("width"),o.maxY-this.get("height"),0-o.minX],u=r.toAllPadding(t),s=0;s<u.length;s++)if("auto"===u[s]){var c=Math.max(0,a[s]);u[s]=c+this.get("autoPaddingAppend")}return u},v._initCanvas=function(){var t=this.get("container"),e=this.get("id");!t&&e&&(t=e,this.set("container",e));var n=this.get("width"),i=this.get("height");if(r.isString(t)){if(!(t=document.getElementById(t)))throw new Error("Please specify the container for the chart!");this.set("container",t)}var u=a.createDom('<div style="position:relative;"></div>');t.appendChild(u),this.set("wrapperEl",u),this.get("forceFit")&&(n=a.getWidth(t,n),this.set("width",n));var s=this.get("renderer"),c=new o({containerDOM:u,width:n,height:i,pixelRatio:"svg"===s?1:this.get("pixelRatio"),renderer:s});this.set("canvas",c)},v._initPlot=function(){this._initPlotBack();var t=this.get("canvas"),e=t.addGroup({zIndex:1}),n=t.addGroup({zIndex:0}),r=t.addGroup({zIndex:3});this.set("backPlot",e),this.set("middlePlot",n),this.set("frontPlot",r)},v._initPlotBack=function(){var t=this.get("canvas"),e=this.get("viewTheme"),n=t.addGroup(s,{padding:this.get("padding"),plotBackground:r.mix({},e.plotBackground,this.get("plotBackground")),background:r.mix({},e.background,this.get("background"))});this.set("plot",n),this.set("plotRange",n.get("plotRange"))},v._initEvents=function(){this.get("forceFit")&&window.addEventListener("resize",r.wrapBehavior(this,"_initForceFitEvent"))},v._initForceFitEvent=function(){var t=setTimeout(r.wrapBehavior(this,"forceFit"),200);clearTimeout(this.get("resizeTimer")),this.set("resizeTimer",t)},v._renderLegends=function(){var t=this.get("options").legends;if(r.isNil(t)||!1!==t){var e=this.get("legendController");if(e.options=t||{},e.plotRange=this.get("plotRange"),t&&t.custom)e.addCustomLegend();else{var n=this.getAllGeoms(),i=[];r.each(n,function(t){var n=t.get("view"),o=t.getAttrsForLegend();r.each(o,function(o){var a=o.type,u=o.getScale(a);if(u.field&&"identity"!==u.type&&!function(t,e){var n=!1;return r.each(t,function(t){var r=[].concat(t.values),i=[].concat(e.values);t.type!==e.type||t.field!==e.field||r.sort().toString()!==i.sort().toString()||(n=!0)}),n}(i,u)){i.push(u);var s=n.getFilteredOutValues(u.field);e.addLegend(u,o,t,s)}})});var o=this.getYScales();0===i.length&&o.length>1&&e.addMixedLegend(o,n)}e.alignLegends()}},v._renderTooltips=function(){var t=this.get("options");if(r.isNil(t.tooltip)||!1!==t.tooltip){var e=this.get("tooltipController");e.options=t.tooltip||{},e.renderTooltip()}},v.getAllGeoms=function(){var t=[];t=t.concat(this.get("geoms"));var e=this.get("views");return r.each(e,function(e){t=t.concat(e.get("geoms"))}),t},v.forceFit=function(){if(this&&!this.destroyed){var t=this.get("container"),e=this.get("width"),n=a.getWidth(t,e);if(0!==n&&n!==e){var r=this.get("height");this.changeSize(n,r)}return this}},v.resetPlot=function(){var t=this.get("plot"),e=this.get("padding");d(e,t.get("padding"))||(t.set("padding",e),t.repaint())},v.changeSize=function(t,e){this.get("canvas").changeSize(t,e);var n=this.get("plot");return this.set("width",t),this.set("height",e),n.repaint(),this.set("keepPadding",!0),this.repaint(),this.set("keepPadding",!1),this.emit("afterchangesize"),this},v.changeWidth=function(t){return this.changeSize(t,this.get("height"))},v.changeHeight=function(t){return this.changeSize(this.get("width"),t)},v.view=function(t){(t=t||{}).theme=this.get("theme"),t.parent=this,t.backPlot=this.get("backPlot"),t.middlePlot=this.get("middlePlot"),t.frontPlot=this.get("frontPlot"),t.canvas=this.get("canvas"),r.isNil(t.animate)&&(t.animate=this.get("animate")),t.options=r.mix({},this._getSharedOptions(),t.options);var e=new i(t);return e.set("_id","view"+this.get("views").length),this.get("views").push(e),this.emit("addview",{view:e}),e},v.removeView=function(t){var e=this.get("views");r.Array.remove(e,t),t.destroy()},v._getSharedOptions=function(){var t=this.get("options"),e={};return r.each(["scales","coord","axes"],function(n){e[n]=r.cloneDeep(t[n])}),e},v.getViewRegion=function(){var t=this.get("plotRange");return{start:t.bl,end:t.tr}},v.legend=function(t,e){var n=this.get("options");n.legends||(n.legends={});var i={};return!1===t?n.legends=!1:r.isObject(t)?i=t:r.isString(t)?i[t]=e:i=e,r.mix(n.legends,i),this},v.tooltip=function(t,e){var n=this.get("options");return n.tooltip||(n.tooltip={}),!1===t?n.tooltip=!1:r.isObject(t)?r.mix(n.tooltip,t):r.mix(n.tooltip,e),this},v.clear=function(){this.emit("beforeclear");for(var e=this.get("views");e.length>0;){e.shift().destroy()}t.prototype.clear.call(this);var n=this.get("canvas");return this.resetPlot(),n.draw(),this.emit("afterclear"),this},v.clearInner=function(){var e=this.get("views");r.each(e,function(t){t.clearInner()});var n=this.get("tooltipController");if(n&&n.clear(),!this.get("keepLegend")){var i=this.get("legendController");i&&i.clear()}t.prototype.clearInner.call(this)},v.drawComponents=function(){t.prototype.drawComponents.call(this),this.get("keepLegend")||this._renderLegends()},v.render=function(){if(!this.get("keepPadding")&&this._isAutoPadding()){this.beforeRender(),this.drawComponents();var e=this._getAutoPadding(),n=this.get("plot");d(n.get("padding"),e)||(n.set("padding",e),n.repaint())}var i=this.get("middlePlot");if(this.get("limitInPlot")&&!i.attr("clip")){var o=r.getClipByRange(this.get("plotRange"));i.attr("clip",o)}t.prototype.render.call(this),this._renderTooltips()},v.repaint=function(){this.get("keepPadding")||this.resetPlot(),t.prototype.repaint.call(this)},v.changeVisible=function(t){var e=t?"":"none";this.get("wrapperEl").style.display=e},v.toDataURL=function(){var t=this.get("canvas"),e=this.get("renderer"),n=t.get("el"),r="";if("svg"===e){var i=n.cloneNode(!0),o=document.implementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN","http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"),a=document.implementation.createDocument("http://www.w3.org/2000/svg","svg",o);a.replaceChild(i,a.documentElement);var u=(new XMLSerializer).serializeToString(a);r="data:image/svg+xml;charset=utf8,"+encodeURIComponent(u)}else"canvas"===e&&(r=n.toDataURL("image/png"));return r},v.downloadImage=function(t){var e=this,n=document.createElement("a"),r=e.get("renderer"),i=(t||"chart")+("svg"===r?".svg":".png");e.get("canvas").get("timeline").stopAllAnimations(),setTimeout(function(){var t=e.toDataURL();if(window.Blob&&window.URL&&"svg"!==r){for(var o=t.split(","),a=o[0].match(/:(.*?);/)[1],u=atob(o[1]),s=u.length,c=new Uint8Array(s);s--;)c[s]=u.charCodeAt(s);var l=new Blob([c],{type:a});window.navigator.msSaveBlob?window.navigator.msSaveBlob(l,i):n.addEventListener("click",function(){n.download=i,n.href=window.URL.createObjectURL(l)})}else n.addEventListener("click",function(){n.download=i,n.href=t});var f=document.createEvent("MouseEvents");f.initEvent("click",!1,!1),n.dispatchEvent(f)},16)},v.showTooltip=function(t){var e=this.getViewsByPoint(t);e.length&&this.get("tooltipController").showTooltip(t,e);return this},v.hideTooltip=function(){return this.get("tooltipController").hideTooltip(),this},v.getTooltipItems=function(t){var e=this.getViewsByPoint(t),n=[];return r.each(e,function(e){var i=e.get("geoms");r.each(i,function(e){var i=e.get("dataArray"),o=[];r.each(i,function(n){var r=e.findPoint(t,n);if(r){var i=e.getTipItems(r);o=o.concat(i)}}),n=n.concat(o)})}),n},v.destroy=function(){this.emit("beforedestroy"),clearTimeout(this.get("resizeTimer"));var e=this.get("canvas"),n=this.get("wrapperEl");n.parentNode.removeChild(n),t.prototype.destroy.call(this),e.destroy(),window.removeEventListener("resize",r.getWrapBehavior(this,"_initForceFitEvent")),this.emit("afterdestroy")},p}(i);t.exports=p},function(t,e,n){var r=n(152),i=n(16),o=n(118),a=n(44),u=n(5),s=n(9),c=n(0),l={version:u.version,Animate:o,Chart:a,Global:u,Scale:r,Shape:s,Util:c,G:i,DomUtil:c.DomUtil,MatrixUtil:c.MatrixUtil,PathUtil:c.PathUtil,track:function(){console.warn("G2 tracks nothing ;-)")}};"undefined"!=typeof window&&(window.G2?console.warn("There are multiple versions of G2. Version "+l.version+"'s reference is 'window.G2_3'"):window.G2=l),t.exports=l},function(t,e,n){var r=n(5),i=n(0),o=i.assign,a=i.isNil,u=i.isArray,s=i.cloneDeep,c=i.wrapBehavior,l=i.getWrapBehavior,f=function(){var t=e.prototype;function e(t){var e=this.getDefaultCfg();o(this,e,t),this.init()}return t.getDefaultCfg=function(){return{chart:null,group:null,showTitle:!0,autoSetAxis:!0,padding:10,eachView:null,fields:[],colTitle:{offsetY:-15,style:{fontSize:14,textAlign:"center",fill:"#666",fontFamily:r.fontFamily}},rowTitle:{offsetX:15,style:{fontSize:14,textAlign:"center",rotate:90,fill:"#666",fontFamily:r.fontFamily}}}},t.init=function(){if(!this.chart)throw new Error("Facets Error: please specify the chart!");this._bindEvent(),this.initContainer(),this.chart.get("data")&&this.initViews()},t.initContainer=function(){var t=this.chart.get("frontPlot").addGroup();this.group=t},t.initViews=function(){for(var t=this.chart,e=t.get("data"),n=this.eachView,r=this.generateFacets(e),i=0;i<r.length;i++){var o=r[i],a=o.region,u=t.view({start:a.start,end:a.end,padding:this.padding});u.source(o.data),this.beforeProcessView(u,o),n&&n(u,o),this.afterProcessView(u,o),o.view=u}this.facets=r},t.beforeProcessView=function(){},t.afterProcessView=function(t,e){this.autoSetAxis&&this.processAxis(t,e)},t.processAxis=function(t,e){var n=t.get("options"),r=t.get("geoms");if((!n.coord.type||"rect"===n.coord.type)&&r.length){var i=r[0].get("attrOptions").position.field,o=u(i)?i:i.split("*").map(function(t){return t.trim()}),s=o[0],c=o[1];a(n.axes)&&(n.axes={});var l=n.axes;!1!==l&&(s&&!1!==l[s]&&(l[s]=l[s]||{},this.setXAxis(s,l,e)),c&&!1!==l[c]&&(l[c]=l[c]||{},this.setYAxis(c,l,e)))}},t.setXAxis=function(){},t.setYAxis=function(){},t.renderTitle=function(t,e){this.drawColTitle(t,e)},t.getScaleText=function(t,e,n){var r;if(t){var i=n.get("scales")[t];i||(i=n.createScale(t)),r=i.getText(e)}else r=e;return r},t.drawColTitle=function(t,e){var n=this.getScaleText(e.colField,e.colValue,t),r=o({position:["50%","0%"],content:n},this.colTitle);t.guide().text(r)},t.drawRowTitle=function(t,e){var n=this.getScaleText(e.rowField,e.rowValue,t),r=o({position:["100%","50%"],content:n},s(this.rowTitle));t.guide().text(r)},t.getFilter=function(t){return function(e){var n=!0;return t.forEach(function(t){var r=t.field,i=t.value,o=!0;!a(i)&&r&&(o=e[r]===i),n=n&&o}),n}},t.getFieldValues=function(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i][t];a(o)||r[o]||(n.push(o),r[o]=!0)}return n},t.getRegion=function(t,e,n,r){var i=1/e,o=1/t,a={x:i*n,y:o*r};return{start:a,end:{x:a.x+i,y:a.y+o}}},t.generateFacets=function(){return[]},t._bindEvent=function(){var t=this.chart;t.on("afterchangedata",c(this,"onDataChange")),t.on("beforeclear",c(this,"onClear")),t.on("beforedestroy",c(this,"destroy")),t.on("beforepaint",c(this,"onPaint")),t.on("setdata",c(this,"onDataChange"))},t._clearEvent=function(){var t=this.chart;t&&(t.off("afterchangedata",l(this,"onDataChange")),t.off("beforeclear",l(this,"onClear")),t.off("beforedestroy",l(this,"destroy")),t.off("beforepaint",l(this,"onPaint")),t.off("setdata",l(this,"onDataChange")))},t._clearFacets=function(){var t=this.facets,e=this.chart;if(t)for(var n=0;n<t.length;n++){var r=t[n];e.removeView(r.view)}this.facets=null},t.onClear=function(){this.onRemove()},t.onPaint=function(){if(this.showTitle)for(var t=this.facets,e=0;e<t.length;e++){var n=t[e],r=n.view;this.renderTitle(r,n)}},t.onDataChange=function(){this._clearFacets(),this.initViews()},t.onRemove=function(){this._clearFacets(),this._clearEvent(),this.group&&this.group.remove(),this.chart=null,this.facets=null,this.group=null},t.destroy=function(){this.onRemove(),this.destroyed=!0},e}();t.exports=f},function(t,e,n){var r=n(1);function i(t,e,n,r){return{x:Math.cos(r)*n+t,y:Math.sin(r)*n+e}}function o(t,e,n,r){var i,o;return r?t<e?(i=e-t,o=2*Math.PI-n+t):t>n&&(i=2*Math.PI-t+e,o=t-n):(i=t-e,o=n-t),i>o?n:e}function a(t,e,n,i){var a=0;return n-e>=2*Math.PI&&(a=2*Math.PI),e=r.mod(e,2*Math.PI),n=r.mod(n,2*Math.PI)+a,t=r.mod(t,2*Math.PI),i?e>=n?t>n&&t<e?t:o(t,n,e,!0):t<e||t>n?t:o(t,e,n):e<=n?e<t&&t<n?t:o(t,e,n,!0):t>e||t<n?t:o(t,n,e)}function u(t,e,n,i,o,u,s,c,l){var f=[s,c],h=[t,e],d=r.vec2.subtract([],f,h),p=r.vec2.angleTo([1,0],d);p=a(p,i,o,u);var v=[n*Math.cos(p)+t,n*Math.sin(p)+e];return l&&(l.x=v[0],l.y=v[1]),r.vec2.distance(v,f)}t.exports={nearAngle:a,projectPoint:function(t,e,n,r,i,o,a,s){var c={};return u(t,e,n,r,i,o,a,s,c),c},pointDistance:u,box:function(t,e,n,o,u,s){var c=Math.PI/2,l=Math.PI,f=3*Math.PI/2,h=[],d=a(0,o,u,s);0===d&&h.push(i(t,e,n,0)),(d=a(c,o,u,s))===c&&h.push(i(t,e,n,c)),(d=a(l,o,u,s))===l&&h.push(i(t,e,n,l)),(d=a(f,o,u,s))===f&&h.push(i(t,e,n,f)),h.push(i(t,e,n,o)),h.push(i(t,e,n,u));var p=1/0,v=-1/0,g=1/0,y=-1/0;return r.each(h,function(t){p>t.x&&(p=t.x),v<t.x&&(v=t.x),g>t.y&&(g=t.y),y<t.y&&(y=t.y)}),{minX:p,minY:g,maxX:v,maxY:y}}}},function(t,e,n){var r=n(1).vec2;t.exports={at:function(t,e,n){return(e-t)*n+t},pointDistance:function(t,e,n,i,o,a){var u=[n-t,i-e];if(r.exactEquals(u,[0,0]))return NaN;var s=[-u[1],u[0]];r.normalize(s,s);var c=[o-t,a-e];return Math.abs(r.dot(c,s))},box:function(t,e,n,r,i){var o=i/2,a=Math.min(t,n),u=Math.max(t,n);return{minX:a-o,minY:Math.min(e,r)-o,maxX:u+o,maxY:Math.max(e,r)+o}},len:function(t,e,n,r){return Math.sqrt((n-t)*(n-t)+(r-e)*(r-e))}}},function(t,e,n){var r=n(37),i=n(50),o=Math.PI,a=Math.sin,u=Math.cos,s=Math.atan2,c=10,l=o/3;function f(t,e,n,r,i,f,h){var d,p,v,g,y,m,b;if(!e.fill){var x=e.arrowLength||c,w=e.arrowAngle?e.arrowAngle*o/180:l;b=s(r-f,n-i),y=Math.abs(e.lineWidth*u(b))/2,m=Math.abs(e.lineWidth*a(b))/2,h&&(y=-y,m=-m),d=i+x*u(b+w/2),p=f+x*a(b+w/2),v=i+x*u(b-w/2),g=f+x*a(b-w/2),t.beginPath(),t.moveTo(d-y,p-m),t.lineTo(i-y,f-m),t.lineTo(v-y,g-m),t.moveTo(i-y,f-m),t.lineTo(i+y,f+m),t.moveTo(i,f),t.stroke()}}function h(t,e,n,o,a,u,s){var c=s?e.startArrow:e.endArrow,l=c.d,f=0,h=a-n,d=u-o,p=Math.atan(h/d);0===d&&h<0?f=Math.PI:h>0&&d>0?f=Math.PI/2-p:h<0&&d<0?f=-Math.PI/2-p:h>=0&&d<0?f=-p-Math.PI/2:h<=0&&d>0&&(f=Math.PI/2-p);var v=function(t){var e,n=[],o=r.parsePath(t.path);if(!Array.isArray(o)||0===o.length||"M"!==o[0][0]&&"m"!==o[0][0])return!1;for(var a=o.length,u=0;u<o.length;u++){var s=o[u];e=new i(s,e,u===a-1),n.push(e)}return n}(c);if(v){l&&(s?(a+=Math.sin(Math.abs(p))*l,u=u+Math.cos(Math.abs(p))*l-.5*t.lineWidth):(a-=Math.sin(Math.abs(p))*l,u=u-Math.cos(Math.abs(p))*l+.5*t.lineWidth)),t.save(),t.beginPath(),t.translate(a,u),t.rotate(f);for(var g=0;g<v.length;g++)v[g].draw(t);t.setTransform(1,0,0,1,0,0),t.fillStyle=t.strokeStyle,t.fill(),t.restore()}}t.exports={addStartArrow:function(t,e,n,r,i,o){"object"==typeof e.startArrow?h(t,e,n,r,i,o,!0):e.startArrow&&f(t,e,n,r,i,o,!0)},addEndArrow:function(t,e,n,r,i,o){"object"==typeof e.endArrow?h(t,e,n,r,i,o,!1):e.endArrow&&f(t,e,n,r,i,o,!1)}}},function(t,e,n){var r=n(1),i=n(76),o=n(75),a=n(142),u=n(141),s=r.vec3,c=r.mat3,l=["m","l","c","a","q","h","v","t","s","z"];function f(t,e,n){return{x:n.x+t,y:n.y+e}}function h(t,e){return{x:e.x+(e.x-t.x),y:e.y+(e.y-t.y)}}function d(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function p(t,e){return(t[0]*e[0]+t[1]*e[1])/(d(t)*d(e))}function v(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(p(t,e))}var g=function(t,e,n){this.preSegment=e,this.isLast=n,this.init(t,e)};r.augment(g,{init:function(t,e){var n=t[0];e=e||{endPoint:{x:0,y:0}};var i,o,a,u,s=l.indexOf(n)>=0,c=s?n.toUpperCase():n,d=t,g=e.endPoint,y=d[1],m=d[2];switch(c){default:break;case"M":u=s?f(y,m,g):{x:y,y:m},this.command="M",this.params=[g,u],this.subStart=u,this.endPoint=u;break;case"L":u=s?f(y,m,g):{x:y,y:m},this.command="L",this.params=[g,u],this.subStart=e.subStart,this.endPoint=u,this.endTangent=function(){return[u.x-g.x,u.y-g.y]},this.startTangent=function(){return[g.x-u.x,g.y-u.y]};break;case"H":u=s?f(y,0,g):{x:y,y:g.y},this.command="L",this.params=[g,u],this.subStart=e.subStart,this.endPoint=u,this.endTangent=function(){return[u.x-g.x,u.y-g.y]},this.startTangent=function(){return[g.x-u.x,g.y-u.y]};break;case"V":u=s?f(0,y,g):{x:g.x,y:y},this.command="L",this.params=[g,u],this.subStart=e.subStart,this.endPoint=u,this.endTangent=function(){return[u.x-g.x,u.y-g.y]},this.startTangent=function(){return[g.x-u.x,g.y-u.y]};break;case"Q":s?(i=f(y,m,g),o=f(d[3],d[4],g)):(i={x:y,y:m},o={x:d[3],y:d[4]}),this.command="Q",this.params=[g,i,o],this.subStart=e.subStart,this.endPoint=o,this.endTangent=function(){return[o.x-i.x,o.y-i.y]},this.startTangent=function(){return[g.x-i.x,g.y-i.y]};break;case"T":o=s?f(y,m,g):{x:y,y:m},"Q"===e.command?(i=h(e.params[1],g),this.command="Q",this.params=[g,i,o],this.subStart=e.subStart,this.endPoint=o,this.endTangent=function(){return[o.x-i.x,o.y-i.y]},this.startTangent=function(){return[g.x-i.x,g.y-i.y]}):(this.command="TL",this.params=[g,o],this.subStart=e.subStart,this.endPoint=o,this.endTangent=function(){return[o.x-g.x,o.y-g.y]},this.startTangent=function(){return[g.x-o.x,g.y-o.y]});break;case"C":s?(i=f(y,m,g),o=f(d[3],d[4],g),a=f(d[5],d[6],g)):(i={x:y,y:m},o={x:d[3],y:d[4]},a={x:d[5],y:d[6]}),this.command="C",this.params=[g,i,o,a],this.subStart=e.subStart,this.endPoint=a,this.endTangent=function(){return[a.x-o.x,a.y-o.y]},this.startTangent=function(){return[g.x-i.x,g.y-i.y]};break;case"S":s?(o=f(y,m,g),a=f(d[3],d[4],g)):(o={x:y,y:m},a={x:d[3],y:d[4]}),"C"===e.command?(i=h(e.params[2],g),this.command="C",this.params=[g,i,o,a],this.subStart=e.subStart,this.endPoint=a,this.endTangent=function(){return[a.x-o.x,a.y-o.y]},this.startTangent=function(){return[g.x-i.x,g.y-i.y]}):(this.command="SQ",this.params=[g,o,a],this.subStart=e.subStart,this.endPoint=a,this.endTangent=function(){return[a.x-o.x,a.y-o.y]},this.startTangent=function(){return[g.x-o.x,g.y-o.y]});break;case"A":var b=y,x=m,w=d[3],_=d[4],S=d[5];u=s?f(d[6],d[7],g):{x:d[6],y:d[7]},this.command="A";var k=function(t,e,n,i,o,a,u){var s=r.mod(r.toRadian(u),2*Math.PI),c=t.x,l=t.y,f=e.x,h=e.y,d=Math.cos(s)*(c-f)/2+Math.sin(s)*(l-h)/2,g=-1*Math.sin(s)*(c-f)/2+Math.cos(s)*(l-h)/2,y=d*d/(o*o)+g*g/(a*a);y>1&&(o*=Math.sqrt(y),a*=Math.sqrt(y));var m=o*o*(g*g)+a*a*(d*d),b=Math.sqrt((o*o*(a*a)-m)/m);n===i&&(b*=-1),isNaN(b)&&(b=0);var x=b*o*g/a,w=b*-a*d/o,_=(c+f)/2+Math.cos(s)*x-Math.sin(s)*w,S=(l+h)/2+Math.sin(s)*x+Math.cos(s)*w,k=v([1,0],[(d-x)/o,(g-w)/a]),E=[(d-x)/o,(g-w)/a],O=[(-1*d-x)/o,(-1*g-w)/a],C=v(E,O);return p(E,O)<=-1&&(C=Math.PI),p(E,O)>=1&&(C=0),0===i&&C>0&&(C-=2*Math.PI),1===i&&C<0&&(C+=2*Math.PI),[t,_,S,o,a,k,C,s,i]}(g,u,_,S,b,x,w);this.params=k;var E=e.subStart;this.subStart=E,this.endPoint=u;var O=k[5]%(2*Math.PI);r.isNumberEqual(O,2*Math.PI)&&(O=0);var C=k[6]%(2*Math.PI);r.isNumberEqual(C,2*Math.PI)&&(C=0);var A=.001;this.startTangent=function(){0===S&&(A*=-1);var t=k[3]*Math.cos(O-A)+k[1],e=k[4]*Math.sin(O-A)+k[2];return[t-E.x,e-E.y]},this.endTangent=function(){var t=k[6];t-2*Math.PI<1e-4&&(t=0);var e=k[3]*Math.cos(O+t+A)+k[1],n=k[4]*Math.sin(O+t-A)+k[2];return[g.x-e,g.y-n]};break;case"Z":this.command="Z",this.params=[g,e.subStart],this.subStart=e.subStart,this.endPoint=e.subStart}},isInside:function(t,e,n){var r=this.command,o=this.params,a=this.box;if(a&&!i.box(a.minX,a.maxX,a.minY,a.maxY,t,e))return!1;switch(r){default:break;case"M":return!1;case"TL":case"L":case"Z":return i.line(o[0].x,o[0].y,o[1].x,o[1].y,n,t,e);case"SQ":case"Q":return i.quadraticline(o[0].x,o[0].y,o[1].x,o[1].y,o[2].x,o[2].y,n,t,e);case"C":return i.cubicline(o[0].x,o[0].y,o[1].x,o[1].y,o[2].x,o[2].y,o[3].x,o[3].y,n,t,e);case"A":var u=o,l=u[1],f=u[2],h=u[3],d=u[4],p=u[5],v=u[6],g=u[7],y=u[8],m=h>d?h:d,b=h>d?1:h/d,x=h>d?d/h:1;u=[t,e,1];var w=[1,0,0,0,1,0,0,0,1];return c.translate(w,w,[-l,-f]),c.rotate(w,w,-g),c.scale(w,w,[1/b,1/x]),s.transformMat3(u,u,w),i.arcline(0,0,m,p,p+v,1-y,n,u[0],u[1])}return!1},draw:function(t){var e,n,r,i=this.command,o=this.params;switch(i){default:break;case"M":t.moveTo(o[1].x,o[1].y);break;case"TL":case"L":t.lineTo(o[1].x,o[1].y);break;case"SQ":case"Q":e=o[1],n=o[2],t.quadraticCurveTo(e.x,e.y,n.x,n.y);break;case"C":e=o[1],n=o[2],r=o[3],t.bezierCurveTo(e.x,e.y,n.x,n.y,r.x,r.y);break;case"A":var a=o,u=a[1],s=a[2],c=a[3],l=a[4],f=a[5],h=a[6],d=a[7],p=a[8],v=c>l?c:l,g=c>l?1:c/l,y=c>l?l/c:1;t.translate(u,s),t.rotate(d),t.scale(g,y),t.arc(0,0,v,f,f+h,1-p),t.scale(1/g,1/y),t.rotate(-d),t.translate(-u,-s);break;case"Z":t.closePath()}},getBBox:function(t){var e,n,r,i,s=t/2,c=this.params;switch(this.command){default:case"M":case"Z":break;case"TL":case"L":this.box={minX:Math.min(c[0].x,c[1].x)-s,maxX:Math.max(c[0].x,c[1].x)+s,minY:Math.min(c[0].y,c[1].y)-s,maxY:Math.max(c[0].y,c[1].y)+s};break;case"SQ":case"Q":for(r=0,i=(n=a.extrema(c[0].x,c[1].x,c[2].x)).length;r<i;r++)n[r]=a.at(c[0].x,c[1].x,c[2].x,n[r]);for(n.push(c[0].x,c[2].x),r=0,i=(e=a.extrema(c[0].y,c[1].y,c[2].y)).length;r<i;r++)e[r]=a.at(c[0].y,c[1].y,c[2].y,e);e.push(c[0].y,c[2].y),this.box={minX:Math.min.apply(Math,n)-s,maxX:Math.max.apply(Math,n)+s,minY:Math.min.apply(Math,e)-s,maxY:Math.max.apply(Math,e)+s};break;case"C":for(r=0,i=(n=o.extrema(c[0].x,c[1].x,c[2].x,c[3].x)).length;r<i;r++)n[r]=o.at(c[0].x,c[1].x,c[2].x,c[3].x,n[r]);for(r=0,i=(e=o.extrema(c[0].y,c[1].y,c[2].y,c[3].y)).length;r<i;r++)e[r]=o.at(c[0].y,c[1].y,c[2].y,c[3].y,e[r]);n.push(c[0].x,c[3].x),e.push(c[0].y,c[3].y),this.box={minX:Math.min.apply(Math,n)-s,maxX:Math.max.apply(Math,n)+s,minY:Math.min.apply(Math,e)-s,maxY:Math.max.apply(Math,e)+s};break;case"A":var l=c,f=l[1],h=l[2],d=l[3],p=l[4],v=l[5],g=l[6],y=l[7],m=l[8],b=v,x=v+g,w=u.xExtrema(y,d,p),_=1/0,S=-1/0,k=[b,x];for(r=2*-Math.PI;r<=2*Math.PI;r+=Math.PI){var E=w+r;1===m?b<E&&E<x&&k.push(E):x<E&&E<b&&k.push(E)}for(r=0,i=k.length;r<i;r++){var O=u.xAt(y,d,p,f,k[r]);O<_&&(_=O),O>S&&(S=O)}var C=u.yExtrema(y,d,p),A=1/0,T=-1/0,M=[b,x];for(r=2*-Math.PI;r<=2*Math.PI;r+=Math.PI){var P=C+r;1===m?b<P&&P<x&&M.push(P):x<P&&P<b&&M.push(P)}for(r=0,i=M.length;r<i;r++){var j=u.yAt(y,d,p,h,M[r]);j<A&&(A=j),j>T&&(T=j)}this.box={minX:_-s,maxX:S+s,minY:A-s,maxY:T+s}}}}),t.exports=g},function(t,e,n){var r=n(6),i=n(2),o=n(26),a=n(350),u=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=o.prototype;return u._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this);this.type="linear",this.isLinear=!0,this.nice=!1,this.min=null,this.minLimit=null,this.max=null,this.maxLimit=null,this.tickCount=null,this.tickInterval=null,this.minTickInterval=null,this.snapArray=null},u.init=function(){if(this.ticks){var t=this.ticks,e=this.translate(t[0]),n=this.translate(t[t.length-1]);(r(this.min)||this.min>e)&&(this.min=e),(r(this.max)||this.max<n)&&(this.max=n)}else this.min=this.translate(this.min),this.max=this.translate(this.max),this.initTicks()},u.calculateTicks=function(){var t=this.min,e=this.max,n=this.minLimit,r=this.maxLimit,i=this.tickCount,o=this.tickInterval,u=this.minTickInterval,s=this.snapArray;if(1===i)throw new Error("linear scale'tickCount should not be 1");if(e<t)throw new Error("max: "+e+" should not be less than min: "+t);return a({min:t,max:e,minLimit:n,maxLimit:r,minCount:i,maxCount:i,interval:o,minTickInterval:u,snapArray:s}).ticks},u.initTicks=function(){var t=this,e=t.calculateTicks();if(t.nice)t.ticks=e,t.min=e[0],t.max=e[e.length-1];else{var n=[];i(e,function(e){e>=t.min&&e<=t.max&&n.push(e)}),n.length||(n.push(t.min),n.push(t.max)),t.ticks=n}},u.scale=function(t){if(r(t))return NaN;var e=this.max,n=this.min;if(e===n)return 0;var i=(t-n)/(e-n),o=this.rangeMin();return o+i*(this.rangeMax()-o)},u.invert=function(t){var e=(t-this.rangeMin())/(this.rangeMax()-this.rangeMin());return this.min+e*(this.max-this.min)},o}(o);o.Linear=u,t.exports=u},function(t,e,n){var r=n(15),i=n(190);t.exports={toTimeStamp:function(t){return r(t)&&(t=t.indexOf("T")>0?new Date(t).getTime():new Date(t.replace(/-/gi,"/")).getTime()),i(t)&&(t=t.getTime()),t}}},function(t,e,n){var r=n(21),i=Array.prototype.indexOf;t.exports=function(t,e){return!!r(t)&&i.call(t,e)>-1}},function(t,e){t.exports=function(t){for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e}},function(t,e){t.exports=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e-5;return Math.abs(t-e)<n}},function(t,e,n){t.exports={mat3:n(85),vec2:n(172),vec3:n(173),transform:n(171)}},function(t,e,n){var r=n(21);t.exports=function(t){return r(t)?Array.prototype.slice.call(t):[]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=n(45);function o(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function a(t){return i.Util.isArray(t)?t.length:i.Util.isObject(t)?Object.keys(t).length:0}e.default=i.Util.mix({},i.Util,{shallowEqual:function(t,e){if(o(t,e))return!0;if("object"!==(void 0===t?"undefined":r(t))||null===t||"object"!==(void 0===e?"undefined":r(e))||null===e)return!1;if(i.Util.isArray(t)!==i.Util.isArray(e))return!1;if(a(t)!==a(e))return!1;var n=!0;return i.Util.each(t,function(t,r){return!!o(t,e[r])||(n=!1)}),n},without:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n={};return i.Util.each(t,function(t,r){-1===i.Util.indexOf(e,r)&&(n[r]=t)}),n},length:a})},function(t,e,n){"use strict";e.a=function(t,e){return e-=t=+t,function(n){return t+e*n}}},function(t,e,n){"use strict";e.a=function(t,e){return e-=t=+t,function(n){return t+e*n}}},function(t,e,n){"use strict";var r=n(96),i=n(97);e.a=function(t){var e=n.i(r.a)(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.b&&e.documentElement.namespaceURI===i.b?e.createElement(t):e.createElementNS(n,t)}})(e)}},function(t,e,n){"use strict";e.a=function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}},function(t,e,n){"use strict";e.b=function(t,e,i){var o=t._id;return t.each(function(){var t=n.i(r.e)(this,o);(t.value||(t.value={}))[e]=i.apply(this,arguments)}),function(t){return n.i(r.f)(t,o).value[e]}};var r=n(13);e.a=function(t,e){var i=this._id;if(t+="",arguments.length<2){for(var o,a=n.i(r.f)(this.node(),i).tween,u=0,s=a.length;u<s;++u)if((o=a[u]).name===t)return o.value;return null}return this.each((null==e?function(t,e){var i,o;return function(){var a=n.i(r.e)(this,t),u=a.tween;if(u!==i)for(var s=0,c=(o=i=u).length;s<c;++s)if(o[s].name===e){(o=o.slice()).splice(s,1);break}a.tween=o}}:function(t,e,i){var o,a;if("function"!=typeof i)throw new Error;return function(){var u=n.i(r.e)(this,t),s=u.tween;if(s!==o){a=(o=s).slice();for(var c={name:e,value:i},l=0,f=a.length;l<f;++l)if(a[l].name===e){a[l]=c;break}l===f&&a.push(c)}u.tween=a}})(i,t,e))}},function(t,e,n){"use strict";var r=n(45),i=c(r),o=c(n(321)),a=c(n(58)),u=c(n(438)),s=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(432));function c(t){return t&&t.__esModule?t:{default:t}}var l=a.default.mix(s,{G2:i.default,Util:a.default,Shape:r.Shape,Animate:r.Animate,PathUtil:r.PathUtil,track:function(){},setTheme:function(t){var e=t;"string"==typeof t&&u.default[t]&&(e=u.default[t]),i.default.Global.setTheme(e)},Interactions:o.default});e.default=l,t.exports=l},function(t,e,n){t.exports={Position:n(234),Color:n(232),Shape:n(235),Size:n(236),Opacity:n(233),ColorUtil:n(106)}},function(t,e,n){function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var i=n(104),o=n(3),a=function(t){var e,n;n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=a.prototype;function a(e){var n,i=r(r(n=t.call(this)||this)),a={visible:!0},u=i.getDefaultCfg();return i._attrs=a,o.deepMix(a,u,e),n}return i.getDefaultCfg=function(){return{}},i.get=function(t){return this._attrs[t]},i.set=function(t,e){this._attrs[t]=e},i.changeVisible=function(){},i.destroy=function(){this._attrs={},this.removeAllListeners(),this.destroyed=!0},a}(i);t.exports=a},function(t,e,n){var r=n(3),i=n(111),o=n(260),a=n(19).FONT_FAMILY,u=r.Event,s=r.Group,c=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var c=i.prototype;return c.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"continuous-legend",items:null,layout:"vertical",width:20,height:156,textStyle:{fill:"#333",textAlign:"center",textBaseline:"middle",stroke:"#fff",lineWidth:5,fontFamily:a},hoverTextStyle:{fill:"rgba(0,0,0,0.25)"},slidable:!0,triggerAttr:{fill:"#fff",shadowBlur:10,shadowColor:"rgba(0,0,0,0.65)",radius:2},_range:[0,100],middleBackgroundStyle:{fill:"#D9D9D9"},textOffset:4,lineStyle:{lineWidth:1,stroke:"#fff"},pointerStyle:{fill:"rgb(230, 230, 230)"}})},c._calStartPoint=function(){var t={x:10,y:this.get("titleGap")-8},e=this.get("titleShape");if(e){var n=e.getBBox();t.y+=n.height}return t},c.beforeRender=function(){var e=this.get("items");r.isArray(e)&&!r.isEmpty(e)&&(t.prototype.beforeRender.call(this),this.set("firstItem",e[0]),this.set("lastItem",e[e.length-1]))},c._formatItemValue=function(t){var e=this.get("formatter")||this.get("itemFormatter");return e&&(t=e.call(this,t)),t},c.render=function(){t.prototype.render.call(this),this.get("slidable")?this._renderSlider():this._renderUnslidable()},c._renderSlider=function(){var t=new s,e=new s,n=new s,r=this._calStartPoint(),i=this.get("group").addGroup(o,{minHandleElement:t,maxHandleElement:e,backgroundElement:n,layout:this.get("layout"),range:this.get("_range"),width:this.get("width"),height:this.get("height")});i.translate(r.x,r.y),this.set("slider",i),this._renderSliderShape().attr("clip",i.get("middleHandleElement")),this._renderTrigger()},c._addMiddleBar=function(t,e,n){return t.addShape(e,{attrs:r.mix({},n,this.get("middleBackgroundStyle"))}),t.addShape(e,{attrs:n})},c._renderTrigger=function(){var t=this.get("firstItem"),e=this.get("lastItem"),n=this.get("layout"),i=this.get("textStyle"),o=this.get("triggerAttr"),a=r.mix({},o),u=r.mix({},o),s=r.mix({text:this._formatItemValue(t.value)+""},i),c=r.mix({text:this._formatItemValue(e.value)+""},i);"vertical"===n?(this._addVerticalTrigger("min",a,s),this._addVerticalTrigger("max",u,c)):(this._addHorizontalTrigger("min",a,s),this._addHorizontalTrigger("max",u,c))},c._addVerticalTrigger=function(t,e,n){var i=this.get("slider").get(t+"HandleElement"),o=this.get("width"),a=i.addShape("rect",{attrs:r.mix({x:o/2-8-2,y:"min"===t?0:-8,width:18,height:8},e)}),u=i.addShape("text",{attrs:r.mix(n,{x:o+this.get("textOffset"),y:"max"===t?-4:4,textAlign:"start",lineHeight:1,textBaseline:"middle"})}),s="vertical"===this.get("layout")?"ns-resize":"ew-resize";a.attr("cursor",s),u.attr("cursor",s),this.set(t+"ButtonElement",a),this.set(t+"TextElement",u)},c._addHorizontalTrigger=function(t,e,n){var i=this.get("slider").get(t+"HandleElement"),o=i.addShape("rect",{attrs:r.mix({x:"min"===t?-8:0,y:-8-this.get("height")/2,width:8,height:16},e)}),a=i.addShape("text",{attrs:r.mix(n,{x:"min"===t?-12:12,y:4+this.get("textOffset")+10,textAlign:"min"===t?"end":"start",textBaseline:"middle"})}),u="vertical"===this.get("layout")?"ns-resize":"ew-resize";o.attr("cursor",u),a.attr("cursor",u),this.set(t+"ButtonElement",o),this.set(t+"TextElement",a)},c._bindEvents=function(){var t=this;this.get("slidable")&&this.get("slider").on("sliderchange",function(e){var n=e.range,r=t.get("firstItem").value,i=t.get("lastItem").value,o=r+n[0]/100*(i-r),a=r+n[1]/100*(i-r);t._updateElement(o,a);var s=new u("itemfilter",e,!0,!0);s.range=[o,a],t.emit("itemfilter",s)});this.get("hoverable")&&(this.get("group").on("mousemove",r.wrapBehavior(this,"_onMouseMove")),this.get("group").on("mouseleave",r.wrapBehavior(this,"_onMouseLeave")))},c._updateElement=function(t,e){var n=this.get("minTextElement"),r=this.get("maxTextElement");e>1&&(t=parseInt(t,10),e=parseInt(e,10)),n.attr("text",this._formatItemValue(t)+""),r.attr("text",this._formatItemValue(e)+"")},c._onMouseLeave=function(){var t=this.get("group").findById("hoverPointer");t&&t.destroy();var e=this.get("group").findById("hoverText");e&&e.destroy(),this.get("canvas").draw()},c._onMouseMove=function(t){var e,n=this.get("height"),r=this.get("width"),i=this.get("items"),o=this.get("canvas").get("el").getBoundingClientRect(),a=this.get("group").getBBox();if("vertical"===this.get("layout")){var u=5;"color-legend"===this.get("type")&&(u=30);var s=this.get("titleGap"),c=this.get("titleShape");c&&(s+=c.getBBox().maxY-c.getBBox().minY);var l=t.clientY||t.event.clientY;l=l-o.y-this.get("group").attr("matrix")[7]+a.y-u+s,e=i[0].value+(1-l/n)*(i[i.length-1].value-i[0].value)}else{var f=t.clientX||t.event.clientX;f=f-o.x-this.get("group").attr("matrix")[6],e=i[0].value+f/r*(i[i.length-1].value-i[0].value)}e=e.toFixed(2),this.activate(e),this.emit("mousehover",{value:e})},c.activate=function(t){if(t){var e=this.get("group").findById("hoverPointer"),n=this.get("group").findById("hoverText"),i=this.get("items");if(!(t<i[0].value||t>i[i.length-1].value)){var o,a=this.get("height"),u=this.get("width"),s=this.get("titleShape"),c=this.get("titleGap"),l=[],f=(t-i[0].value)/(i[i.length-1].value-i[0].value);if("vertical"===this.get("layout")){var h=0,d=0;"color-legend"===this.get("type")&&(h=c,s&&(h+=s.getBBox().height)),this.get("slidable")&&("color-legend"===this.get("type")?h-=13:(h=c-15,s&&(h+=s.getBBox().height)),d+=10),l=[[d,(f=(1-f)*a)+h],[d-10,f+h-5],[d-10,f+h+5]],o=r.mix({},{x:u+this.get("textOffset")/2+d,y:f+h,text:this._formatItemValue(t)+""},this.get("textStyle"),{textAlign:"start"})}else{var p=0,v=0;"color-legend"===this.get("type")&&(p=c,s&&(p+=s.getBBox().height)),this.get("slidable")&&("color-legend"===this.get("type")?p-=7:(p=c,s||(p-=7)),v+=10),l=[[(f*=u)+v,p],[f+v-5,p-10],[f+v+5,p-10]],o=r.mix({},{x:f-5,y:a+this.get("textOffset")+p,text:this._formatItemValue(t)+""},this.get("textStyle"))}var g=r.mix(o,this.get("hoverTextStyle"));n?n.attr(g):(n=this.get("group").addShape("text",{attrs:g})).set("id","hoverText"),e?e.attr(r.mix({points:l},this.get("pointerStyle"))):(e=this.get("group").addShape("Polygon",{attrs:r.mix({points:l},this.get("pointerStyle"))})).set("id","hoverPointer"),this.get("canvas").draw()}}},c.deactivate=function(){var t=this.get("group").findById("hoverPointer");t&&t.destroy();var e=this.get("group").findById("hoverText");e&&e.destroy(),this.get("canvas").draw()},i}(i);t.exports=c},function(t,e,n){var r=n(66),i=n(3),o=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return i.mix({},e,{x:0,y:0,items:null,titleContent:null,showTitle:!0,plotRange:null,offset:10,timeStamp:0,inPlot:!0,crosshairs:null})},o.isContentChange=function(t,e){var n=this.get("titleContent"),r=this.get("items"),o=!(t===n&&r.length===e.length);return o||i.each(e,function(t,e){var n=r[e];for(var a in t)if(t.hasOwnProperty(a)&&!i.isObject(t[a])&&t[a]!==n[a]){o=!0;break}if(o)return!1}),o},o.setContent=function(t,e){var n=(new Date).valueOf();return this.set("items",e),this.set("titleContent",t),this.set("timeStamp",n),this.render(),this},o.setPosition=function(t,e){this.set("x",t),this.set("y",e)},o.render=function(){},o.clear=function(){},o.show=function(){this.set("visible",!0)},o.hide=function(){this.set("visible",!1)},o.destroy=function(){},r}(r);t.exports=o},function(t,e,n){var r=n(16).Group,i=n(30).Label,o=n(5),a=n(0),u=["line","point","path"];var s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=r.prototype;return s.getDefaultCfg=function(){return{label:o.label,labelCfg:null,coord:null,geomType:null,zIndex:6}},s._renderUI=function(){t.prototype._renderUI.call(this),this.initLabelsCfg();var e=this.addGroup(),n=this.addGroup({elCls:"x-line-group"}),r=this.get("labelRenderer");this.set("labelsGroup",e),this.set("lineGroup",n),this.get("labelRenderer").set("group",e),r.set("group",e),r.set("lineGroup",n)},s.initLabelsCfg=function(){var t=new i,e=this.getDefaultLabelCfg(),n=this.get("labelCfg");a.deepMix(e,n.globalCfg||n.cfg),t.set("config",!1),e.labelLine&&t.set("labelLine",e.labelLine),t.set("coord",this.get("coord")),this.set("labelRenderer",t),this.set("label",e)},s.getDefaultLabelCfg=function(){var t=this.get("labelCfg").cfg||this.get("labelCfg").globalCfg,e=this.get("geomType"),n=this.get("viewTheme")||o;return"polygon"===e||t&&t.offset<0&&-1===a.indexOf(u,e)?a.deepMix({},this.get("label"),n.innerLabels,t):a.deepMix({},this.get("label"),n.label,t)},s.getLabelsItems=function(t,e){var n=this,r=[],i=n.get("geom"),o=n.get("coord");n._getLabelCfgs(t,e);var u=n.get("labelItemCfgs");return a.each(t,function(t,e){var s=t._origin,c=u[e];if(c){a.isArray(c.text)||(c.text=[c.text]);var l=c.length;a.each(c.text,function(e,u){if(a.isNil(e)||""===e)r.push(null);else{var f=n.getLabelPoint(c,t,u);(f=a.mix({},c,f)).textAlign||(f.textAlign=n.getLabelAlign(f,u,l)),i&&(f._id=i._getShapeId(s)+"-glabel-"+u+"-"+f.text),f.coord=o,r.push(f)}})}else r.push(null)}),r},s.adjustItems=function(t){return a.each(t,function(t){t&&(t.offsetX&&(t.x+=t.offsetX),t.offsetY&&(t.y+=t.offsetY))}),t},s.drawLines=function(t){var e=this;a.each(t,function(t){t&&t.offset>0&&e.lineToLabel(t)})},s.lineToLabel=function(){},s.getLabelPoint=function(t,e,n){var r=this.get("coord"),i=t.text.length;function o(e,n){var r,i;return a.isArray(e)&&(1===t.text.length?e.length<=2?e=e[e.length-1]:(r=e,i=0,a.each(r,function(t){i+=t}),e=i/r.length):e=e[n]),e}var u={text:t.text[n]};if(e&&"polygon"===this.get("geomType")){var s=function(t,e){if(a.isNumber(t)&&a.isNumber(e))return[t,e];for(var n,r,i=-1,o=0,u=0,s=t.length-1,c=0;++i<t.length;)n=s,s=i,c+=r=t[n]*e[s]-t[s]*e[n],o+=(t[n]+t[s])*r,u+=(e[n]+e[s])*r;return[o/(c*=3),u/c]}(e.x,e.y);u.x=s[0],u.y=s[1]}else u.x=o(e.x,n),u.y=o(e.y,n);if(e&&e.nextPoints&&("funnel"===e.shape||"pyramid"===e.shape)){var c=-1/0;e.nextPoints.forEach(function(t){(t=r.convert(t)).x>c&&(c=t.x)}),u.x=(u.x+c)/2}"pyramid"===e.shape&&!e.nextPoints&&e.points&&e.points.forEach(function(t){t=r.convert(t),(a.isArray(t.x)&&-1===e.x.indexOf(t.x)||a.isNumber(t.x)&&e.x!==t.x)&&(u.x=(u.x+t.x)/2)}),t.position&&this.setLabelPosition(u,e,n,t.position);var l=this.getLabelOffset(t,n,i);return t.offsetX&&(l.x+=t.offsetX),t.offsetY&&(l.y+=t.offsetY),this.transLabelPoint(u),u.start={x:u.x,y:u.y},u.x+=l.x,u.y+=l.y,u.color=e.color,u},s.setLabelPosition=function(){},s.transLabelPoint=function(t){var e=this.get("coord").applyMatrix(t.x,t.y,1);t.x=e[0],t.y=e[1]},s.getOffsetVector=function(t){var e=t.offset||0,n=this.get("coord");return n.isTransposed?n.applyMatrix(e,0):n.applyMatrix(0,e)},s.getDefaultOffset=function(t){var e=this.get("coord"),n=this.getOffsetVector(t);return e.isTransposed?n[0]:n[1]},s.getLabelOffset=function(t,e,n){var r=this.getDefaultOffset(t),i=this.get("coord").isTransposed,o=i?"x":"y",a=i?1:-1,u={x:0,y:0};return u[o]=e>0||1===n?r*a:r*a*-1,u},s.getLabelAlign=function(t,e,n){var r="center";if(this.get("coord").isTransposed){var i=this.getDefaultOffset(t);r=i<0?"right":0===i?"center":"left",n>1&&0===e&&("right"===r?r="left":"left"===r&&(r="right"))}return r},s._getLabelValue=function(t,e){a.isArray(e)||(e=[e]);var n=[];return a.each(e,function(e){var r=t[e.field];if(a.isArray(r)){var i=[];a.each(r,function(t){i.push(e.getText(t))}),r=i}else r=e.getText(r);(a.isNil(r)||""===r)&&n.push(null),n.push(r)}),n},s._getLabelCfgs=function(t){var e=this,n=this.get("labelCfg"),r=n.scales,i=this.get("label"),u=e.get("viewTheme")||o,s=[];n.globalCfg&&n.globalCfg.type&&e.set("type",n.globalCfg.type),a.each(t,function(t,o){var c={},l=t._origin,f=e._getLabelValue(l,r);if(n.callback){var h=r.map(function(t){return l[t.field]});c=n.callback.apply(null,[].concat(h,[t,o]))}if(c||0===c){if(a.isString(c)||a.isNumber(c)?c={text:c}:(c.text=c.content||f[0],delete c.content),c=a.mix({},i,n.globalCfg||{},c),t.point=l,c.point=l,c.htmlTemplate&&(c.useHtml=!0,c.text=c.htmlTemplate.call(null,c.text,t,o),delete c.htmlTemplate),c.formatter&&(c.text=c.formatter.call(null,c.text,t,o),delete c.formatter),c.label){var d=c.label;delete c.label,c=a.mix(c,d)}if(c.textStyle){delete c.textStyle.offset;var p=c.textStyle;a.isFunction(p)&&(c.textStyle=p.call(null,c.text,t,o))}c.labelLine&&(c.labelLine=a.mix({},i.labelLine,c.labelLine)),c.textStyle=a.mix({},i.textStyle,u.label.textStyle,c.textStyle),delete c.items,s.push(c)}else s.push(null)}),this.set("labelItemCfgs",s)},s.showLabels=function(t,e){var n=this.get("labelRenderer"),r=this.getLabelsItems(t,e);e=[].concat(e);var i=this.get("type");r=this.adjustItems(r,e),this.drawLines(r),n.set("items",r.filter(function(t,n){return!!t||(e.splice(n,1),!1)})),i&&(n.set("shapes",e),n.set("type",i),n.set("points",t)),n.set("canvas",this.get("canvas")),n.draw()},s.destroy=function(){this.get("labelRenderer").destroy(),t.prototype.destroy.call(this)},r}(r);t.exports=s},function(t,e,n){var r=n(5),i=n(0);var o={getDefaultSize:function(){var t=this.get("defaultSize"),e=this.get("viewTheme")||r;if(!t){var n,o=this.get("coord"),a=this.getXScale(),u=a.values,s=this.get("dataArray");if(a.isLinear&&u.length>1){u.sort();var c=function(t,e){var n=t.length;i.isString(t[0])&&(t=t.map(function(t){return e.translate(t)}));for(var r=t[1]-t[0],o=2;o<n;o++){var a=t[o]-t[o-1];r>a&&(r=a)}return r}(u,a);n=(a.max-a.min)/c,u.length>n&&(n=u.length)}else n=u.length;var l=a.range,f=1/n,h=1;if(this.isInCircle()?h=o.isTransposed&&n>1?e.widthRatio.multiplePie:e.widthRatio.rose:(a.isLinear&&(f*=l[1]-l[0]),h=e.widthRatio.column),f*=h,this.hasAdjust("dodge"))f/=this._getDodgeCount(s);t=f,this.set("defaultSize",t)}return t},_getDodgeCount:function(t){var e,n=this.get("adjusts"),r=t.length;if(i.each(n,function(t){"dodge"===t.type&&(e=t.dodgeBy)}),e){var o=i.Array.merge(t);r=i.Array.values(o,e).length}return r},getDimWidth:function(t){var e=this.get("coord"),n=e.convertPoint({x:0,y:0}),r=e.convertPoint({x:"x"===t?1:0,y:"x"===t?0:1}),i=0;return n&&r&&(i=Math.sqrt(Math.pow(r.x-n.x,2)+Math.pow(r.y-n.y,2))),i},_getWidth:function(){var t=this.get("coord");return this.isInCircle()&&!t.isTransposed?(t.endAngle-t.startAngle)*t.radius:this.getDimWidth("x")},_toNormalizedSize:function(t){return t/this._getWidth()},_toCoordSize:function(t){return this._getWidth()*t},getNormalizedSize:function(t){var e=this.getAttrValue("size",t);return e=i.isNil(e)?this.getDefaultSize():this._toNormalizedSize(e)},getSize:function(t){var e=this.getAttrValue("size",t);if(i.isNil(e)){var n=this.getDefaultSize();e=this._toCoordSize(n)}return e}};t.exports=o},function(t,e,n){var r=n(72);t.exports=function(t,e){var n=r(t);if(n&&n[e])return n[e]}},function(t,e){t.exports=function(t){return(t.get("scaleController")||{}).defs}},function(t,e,n){var r=n(0),i=n(52);t.exports=function(t,e){var n,o=e.field,a=e.type,u=r.Array.values(t,o);return"linear"===a?(n=r.Array.getRange(u),e.min<n.min&&(n.min=e.min),e.max>n.max&&(n.max=e.max)):"timeCat"===a?(r.each(u,function(t,e){u[e]=i.toTimeStamp(t)}),u.sort(function(t,e){return t-e}),n=u):n=u,n}},function(t,e,n){var r=n(1),i=n(7),o=n(37),a=n(50),u=function t(e){t.superclass.constructor.call(this,e)};u.Symbols={circle:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},square:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e-n],["L",t+n,e+n],["L",t-n,e+n],["Z"]]},diamond:function(t,e,n){return[["M",t-n,e],["L",t,e-n],["L",t+n,e],["L",t,e+n],["Z"]]},triangle:function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e+r],["L",t,e-r],["L",t+n,e+r],["z"]]},"triangle-down":function(t,e,n){var r=n*Math.sin(1/3*Math.PI);return[["M",t-n,e-r],["L",t+n,e-r],["L",t,e+r],["Z"]]}},u.ATTRS={path:null,lineWidth:1},r.extend(u,i),r.augment(u,{type:"marker",canFill:!0,canStroke:!0,getDefaultAttrs:function(){return{x:0,y:0,lineWidth:1}},calculateBox:function(){var t=this._attrs,e=t.x,n=t.y,r=t.radius,i=this.getHitLineWidth()/2+r;return{minX:e-i,minY:n-i,maxX:e+i,maxY:n+i}},_getPath:function(){var t,e=this._attrs,n=e.x,i=e.y,o=e.radius||e.r,a=e.symbol||"circle";return(t=r.isFunction(a)?a:u.Symbols[a])?t(n,i,o):(console.warn(a+" marker is not supported."),null)},createPath:function(t){var e=this._cfg.segments;if(!e||this._cfg.hasUpdate){var n,r=o.parsePath(this._getPath());t.beginPath(),e=[];for(var i=0;i<r.length;i++){var u=r[i];n=new a(u,n,i===r.length-1),e.push(n),n.draw(t)}this._cfg.segments=e,this._cfg.hasUpdate=!1}else{t.beginPath();for(var s=0;s<e.length;s++)e[s].draw(t)}}}),t.exports=u},function(t,e,n){var r=n(1),i=r.vec2;function o(t,e,n,r,i){var o=1-i;return o*o*(o*r+3*i*n)+i*i*(i*t+3*o*e)}function a(t,e,n,r,a,u,s,c,l,f,h){var d,p,v,g,y,m,b,x,w=.005,_=1/0,S=[l,f];for(p=0;p<1;p+=.05)v=[o(t,n,a,s,p),o(e,r,u,c,p)],(g=i.squaredDistance(S,v))<_&&(d=p,_=g);_=1/0;for(var k=0;k<32&&!(w<1e-4);k++)x=d+w,v=[o(t,n,a,s,b=d-w),o(e,r,u,c,b)],g=i.squaredDistance(S,v),b>=0&&g<_?(d=b,_=g):(m=[o(t,n,a,s,x),o(e,r,u,c,x)],y=i.squaredDistance(S,m),x<=1&&y<_?(d=x,_=y):w*=.5);return h&&(h.x=o(t,n,a,s,d),h.y=o(e,r,u,c,d)),Math.sqrt(_)}function u(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n}t.exports={at:o,derivativeAt:function(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)},projectPoint:function(t,e,n,r,i,o,u,s,c,l){var f={};return a(t,e,n,r,i,o,u,s,c,l,f),f},pointDistance:a,extrema:function(t,e,n,i){var o,a,u,s=3*t-9*e+9*n-3*i,c=6*e-12*n+6*i,l=3*n-3*i,f=[];if(r.isNumberEqual(s,0))r.isNumberEqual(c,0)||(o=-l/c)>=0&&o<=1&&f.push(o);else{var h=c*c-4*s*l;r.isNumberEqual(h,0)?f.push(-c/(2*s)):h>0&&(a=(-c-(u=Math.sqrt(h)))/(2*s),(o=(-c+u)/(2*s))>=0&&o<=1&&f.push(o),a>=0&&a<=1&&f.push(a))}return f},len:function(t,e,n,i,o,a,s,c,l){r.isNil(l)&&(l=1);for(var f=(l=l>1?1:l<0?0:l)/2,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],p=0,v=0;v<12;v++){var g=f*h[v]+f,y=u(g,t,n,o,s),m=u(g,e,i,a,c),b=y*y+m*m;p+=d[v]*Math.sqrt(b)}return f*p}}},function(t,e,n){var r=n(48),i=n(142),o=n(75),a=n(47);t.exports={line:function(t,e,n,i,o,a,u){var s=r.box(t,e,n,i,o);if(!this.box(s.minX,s.maxX,s.minY,s.maxY,a,u))return!1;var c=r.pointDistance(t,e,n,i,a,u);return!isNaN(c)&&c<=o/2},polyline:function(t,e,n,r){var i=t.length-1;if(i<1)return!1;for(var o=0;o<i;o++){var a=t[o][0],u=t[o][1],s=t[o+1][0],c=t[o+1][1];if(this.line(a,u,s,c,e,n,r))return!0}return!1},cubicline:function(t,e,n,r,i,a,u,s,c,l,f){return o.pointDistance(t,e,n,r,i,a,u,s,l,f)<=c/2},quadraticline:function(t,e,n,r,o,a,u,s,c){return i.pointDistance(t,e,n,r,o,a,s,c)<=u/2},arcline:function(t,e,n,r,i,o,u,s,c){return a.pointDistance(t,e,n,r,i,o,s,c)<=u/2},rect:function(t,e,n,r,i,o){return t<=i&&i<=t+n&&e<=o&&o<=e+r},circle:function(t,e,n,r,i){return Math.pow(r-t,2)+Math.pow(i-e,2)<=Math.pow(n,2)},box:function(t,e,n,r,i,o){return t<=i&&i<=e&&n<=o&&o<=r}}},function(t,e,n){var r=n(148),i="\t\n\v\f\r \u2028\u2029",o=new RegExp("([a-z])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),a=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig"),u=function(t){if(!t)return null;if(typeof t==typeof[])return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},n=[];return String(t).replace(o,function(t,r,i){var o=[],u=r.toLowerCase();if(i.replace(a,function(t,e){e&&o.push(+e)}),"m"===u&&o.length>2&&(n.push([r].concat(o.splice(0,2))),u="l",r="m"===r?"l":"L"),"o"===u&&1===o.length&&n.push([r,o[0]]),"r"===u)n.push([r].concat(o));else for(;o.length>=e[u]&&(n.push([r].concat(o.splice(0,e[u]))),e[u]););}),n},s=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n},c=function(t,e,n,r,i){var o=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var a=Math.PI/180,u=t+n*Math.cos(-r*a),s=t+n*Math.cos(-i*a);o=[["M",u,e+n*Math.sin(-r*a)],["A",n,n,0,+(i-r>180),0,s,e+n*Math.sin(-i*a)]]}else o=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o},l=function(t){if(!(t=u(t))||!t.length)return[["M",0,0]];var e,n,r=[],i=0,o=0,a=0,l=0,f=0;"M"===t[0][0]&&(a=i=+t[0][1],l=o=+t[0][2],f++,r[0]=["M",i,o]);for(var h,d,p=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),v=f,g=t.length;v<g;v++){if(r.push(h=[]),(e=(d=t[v])[0])!==e.toUpperCase())switch(h[0]=e.toUpperCase(),h[0]){case"A":h[1]=d[1],h[2]=d[2],h[3]=d[3],h[4]=d[4],h[5]=d[5],h[6]=+d[6]+i,h[7]=+d[7]+o;break;case"V":h[1]=+d[1]+o;break;case"H":h[1]=+d[1]+i;break;case"R":for(var y=2,m=(n=[i,o].concat(d.slice(1))).length;y<m;y++)n[y]=+n[y]+i,n[++y]=+n[y]+o;r.pop(),r=r.concat(s(n,p));break;case"O":r.pop(),(n=c(i,o,d[1],d[2])).push(n[0]),r=r.concat(n);break;case"U":r.pop(),r=r.concat(c(i,o,d[1],d[2],d[3])),h=["U"].concat(r[r.length-1].slice(-2));break;case"M":a=+d[1]+i,l=+d[2]+o;break;default:for(var b=1,x=d.length;b<x;b++)h[b]=+d[b]+(b%2?i:o)}else if("R"===e)n=[i,o].concat(d.slice(1)),r.pop(),r=r.concat(s(n,p)),h=["R"].concat(d.slice(-2));else if("O"===e)r.pop(),(n=c(i,o,d[1],d[2])).push(n[0]),r=r.concat(n);else if("U"===e)r.pop(),r=r.concat(c(i,o,d[1],d[2],d[3])),h=["U"].concat(r[r.length-1].slice(-2));else for(var w=0,_=d.length;w<_;w++)h[w]=d[w];if("O"!==(e=e.toUpperCase()))switch(h[0]){case"Z":i=+a,o=+l;break;case"H":i=h[1];break;case"V":o=h[1];break;case"M":a=h[h.length-2],l=h[h.length-1];break;default:i=h[h.length-2],o=h[h.length-1]}}return r},f=function(t,e,n,r){return[t,e,n,r,n,r]},h=function(t,e,n,r,i,o){return[1/3*t+2/3*n,1/3*e+2/3*r,1/3*i+2/3*n,1/3*o+2/3*r,i,o]},d=function(t,e){var n,r=l(t),i=e&&l(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},u=[],s=[],c="",d="",p=function(t,e,n){var r,i;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(function t(e,n,r,i,o,a,u,s,c,l){r===i&&(r+=1);var f,h,d,p,v,g=120*Math.PI/180,y=Math.PI/180*(+o||0),m=[],b=function(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}};if(l)h=l[0],d=l[1],p=l[2],v=l[3];else{e=(f=b(e,n,-y)).x,n=f.y,s=(f=b(s,c,-y)).x,c=f.y,e===s&&n===c&&(s+=1,c+=1);var x=(e-s)/2,w=(n-c)/2,_=x*x/(r*r)+w*w/(i*i);_>1&&(r*=_=Math.sqrt(_),i*=_);var S=r*r,k=i*i,E=(a===u?-1:1)*Math.sqrt(Math.abs((S*k-S*w*w-k*x*x)/(S*w*w+k*x*x)));p=E*r*w/i+(e+s)/2,v=E*-i*x/r+(n+c)/2,h=Math.asin(((n-v)/i).toFixed(9)),d=Math.asin(((c-v)/i).toFixed(9)),h=e<p?Math.PI-h:h,d=s<p?Math.PI-d:d,h<0&&(h=2*Math.PI+h),d<0&&(d=2*Math.PI+d),u&&h>d&&(h-=2*Math.PI),!u&&d>h&&(d-=2*Math.PI)}var O=d-h;if(Math.abs(O)>g){var C=d,A=s,T=c;d=h+g*(u&&d>h?1:-1),m=t(s=p+r*Math.cos(d),c=v+i*Math.sin(d),r,i,o,0,u,A,T,[d,C,p,v])}O=d-h;var M=Math.cos(h),P=Math.sin(h),j=Math.cos(d),D=Math.sin(d),I=Math.tan(O/4),N=4/3*r*I,F=4/3*i*I,R=[e,n],L=[e+N*P,n-F*M],B=[s+N*D,c-F*j],z=[s,c];if(L[0]=2*R[0]-L[0],L[1]=2*R[1]-L[1],l)return[L,B,z].concat(m);for(var V=[],U=0,H=(m=[L,B,z].concat(m).join().split(",")).length;U<H;U++)V[U]=U%2?b(m[U-1],m[U],y).y:b(m[U],m[U+1],y).x;return V}.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"===n||"S"===n?(r=2*e.x-e.bx,i=2*e.y-e.by):(r=e.x,i=e.y),t=["C",r,i].concat(t.slice(1));break;case"T":"Q"===n||"T"===n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(h(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(h(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(f(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(f(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(f(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(f(e.x,e.y,e.X,e.Y))}return t},v=function(t,e){if(t[e].length>7){t[e].shift();for(var o=t[e];o.length;)u[e]="A",i&&(s[e]="A"),t.splice(e++,0,["C"].concat(o.splice(0,6)));t.splice(e,1),n=Math.max(r.length,i&&i.length||0)}},g=function(t,e,o,a,u){t&&e&&"M"===t[u][0]&&"M"!==e[u][0]&&(e.splice(u,0,["M",a.x,a.y]),o.bx=0,o.by=0,o.x=t[u][1],o.y=t[u][2],n=Math.max(r.length,i&&i.length||0))};n=Math.max(r.length,i&&i.length||0);for(var y=0;y<n;y++){r[y]&&(c=r[y][0]),"C"!==c&&(u[y]=c,y&&(d=u[y-1])),r[y]=p(r[y],o,d),"A"!==u[y]&&"C"===c&&(u[y]="C"),v(r,y),i&&(i[y]&&(c=i[y][0]),"C"!==c&&(s[y]=c,y&&(d=s[y-1])),i[y]=p(i[y],a,d),"A"!==s[y]&&"C"===c&&(s[y]="C"),v(i,y)),g(r,i,o,a,y),g(i,r,a,o,y);var m=r[y],b=i&&i[y],x=m.length,w=i&&b.length;o.x=m[x-2],o.y=m[x-1],o.bx=parseFloat(m[x-4])||o.x,o.by=parseFloat(m[x-3])||o.y,a.bx=i&&(parseFloat(b[w-4])||a.x),a.by=i&&(parseFloat(b[w-3])||a.y),a.x=i&&b[w-2],a.y=i&&b[w-1]}return i?[r,i]:r},p=/,?([a-z]),?/gi,v=function(t){return t.join(",").replace(p,"$1")},g=function(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n},y=function(t,e,n,r,i,o,a,u,s){null===s&&(s=1);for(var c=(s=s>1?1:s<0?0:s)/2,l=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,d=0;d<12;d++){var p=c*l[d]+c,v=g(p,t,n,i,a),y=g(p,e,r,o,u),m=v*v+y*y;h+=f[d]*Math.sqrt(m)}return c*h},m=function(t,e,n,r,i,o,a,u){if(!(Math.max(t,n)<Math.min(i,a)||Math.min(t,n)>Math.max(i,a)||Math.max(e,r)<Math.min(o,u)||Math.min(e,r)>Math.max(o,u))){var s=(t-n)*(o-u)-(e-r)*(i-a);if(s){var c=((t*r-e*n)*(i-a)-(t-n)*(i*u-o*a))/s,l=((t*r-e*n)*(o-u)-(e-r)*(i*u-o*a))/s,f=+c.toFixed(2),h=+l.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,a).toFixed(2)||f>+Math.max(i,a).toFixed(2)||h<+Math.min(e,r).toFixed(2)||h>+Math.max(e,r).toFixed(2)||h<+Math.min(o,u).toFixed(2)||h>+Math.max(o,u).toFixed(2)))return{x:c,y:l}}}},b=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},x=function(t,e,n,r,i){if(i)return[["M",+t+ +i,e],["l",n-2*i,0],["a",i,i,0,0,1,i,i],["l",0,r-2*i],["a",i,i,0,0,1,-i,i],["l",2*i-n,0],["a",i,i,0,0,1,-i,-i],["l",0,2*i-r],["a",i,i,0,0,1,i,-i],["z"]];var o=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return o.parsePathArray=v,o},w=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:x(t,e,n,r),vb:[t,e,n,r].join(" ")}},_=function(t,e,n,i,o,a,u,s){r.isArray(t)||(t=[t,e,n,i,o,a,u,s]);var c=function(t,e,n,r,i,o,a,u){for(var s,c,l,f,h=[],d=[[],[]],p=0;p<2;++p)if(0===p?(c=6*t-12*n+6*i,s=-3*t+9*n-9*i+3*a,l=3*n-3*t):(c=6*e-12*r+6*o,s=-3*e+9*r-9*o+3*u,l=3*r-3*e),Math.abs(s)<1e-12){if(Math.abs(c)<1e-12)continue;(f=-l/c)>0&&f<1&&h.push(f)}else{var v=c*c-4*l*s,g=Math.sqrt(v);if(!(v<0)){var y=(-c+g)/(2*s);y>0&&y<1&&h.push(y);var m=(-c-g)/(2*s);m>0&&m<1&&h.push(m)}}for(var b,x=h.length,w=x;x--;)b=1-(f=h[x]),d[0][x]=b*b*b*t+3*b*b*f*n+3*b*f*f*i+f*f*f*a,d[1][x]=b*b*b*e+3*b*b*f*r+3*b*f*f*o+f*f*f*u;return d[0][w]=t,d[1][w]=e,d[0][w+1]=a,d[1][w+1]=u,d[0].length=d[1].length=w+2,{min:{x:Math.min.apply(0,d[0]),y:Math.min.apply(0,d[1])},max:{x:Math.max.apply(0,d[0]),y:Math.max.apply(0,d[1])}}}.apply(null,t);return w(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)},S=function(t,e,n,r,i,o,a,u,s){var c=1-s,l=Math.pow(c,3),f=Math.pow(c,2),h=s*s,d=h*s,p=t+2*s*(n-t)+h*(i-2*n+t),v=e+2*s*(r-e)+h*(o-2*r+e),g=n+2*s*(i-n)+h*(a-2*i+n),y=r+2*s*(o-r)+h*(u-2*o+r);return{x:l*t+3*f*s*n+3*c*s*s*i+d*a,y:l*e+3*f*s*r+3*c*s*s*o+d*u,m:{x:p,y:v},n:{x:g,y:y},start:{x:c*t+s*n,y:c*e+s*r},end:{x:c*i+s*a,y:c*o+s*u},alpha:90-180*Math.atan2(p-g,v-y)/Math.PI}},k=function(t,e,n){if(!function(t,e){return t=w(t),e=w(e),b(e,t.x,t.y)||b(e,t.x2,t.y)||b(e,t.x,t.y2)||b(e,t.x2,t.y2)||b(t,e.x,e.y)||b(t,e.x2,e.y)||b(t,e.x,e.y2)||b(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}(_(t),_(e)))return n?0:[];for(var r=~~(y.apply(0,t)/8),i=~~(y.apply(0,e)/8),o=[],a=[],u={},s=n?0:[],c=0;c<r+1;c++){var l=S.apply(0,t.concat(c/r));o.push({x:l.x,y:l.y,t:c/r})}for(var f=0;f<i+1;f++){var h=S.apply(0,e.concat(f/i));a.push({x:h.x,y:h.y,t:f/i})}for(var d=0;d<r;d++)for(var p=0;p<i;p++){var v=o[d],g=o[d+1],x=a[p],k=a[p+1],E=Math.abs(g.x-v.x)<.001?"y":"x",O=Math.abs(k.x-x.x)<.001?"y":"x",C=m(v.x,v.y,g.x,g.y,x.x,x.y,k.x,k.y);if(C){if(u[C.x.toFixed(4)]===C.y.toFixed(4))continue;u[C.x.toFixed(4)]=C.y.toFixed(4);var A=v.t+Math.abs((C[E]-v[E])/(g[E]-v[E]))*(g.t-v.t),T=x.t+Math.abs((C[O]-x[O])/(k[O]-x[O]))*(k.t-x.t);A>=0&&A<=1&&T>=0&&T<=1&&(n?s++:s.push({x:C.x,y:C.y,t1:A,t2:T}))}}return s};function E(t,e){var n=[],r=[];return t.length&&function t(e,i){if(1===e.length)n.push(e[0]),r.push(e[0]);else{for(var o=[],a=0;a<e.length-1;a++)0===a&&n.push(e[0]),a===e.length-2&&r.push(e[a+1]),o[a]=[(1-i)*e[a][0]+i*e[a+1][0],(1-i)*e[a][1]+i*e[a+1][1]];t(o,i)}}(t,e),{left:n,right:r.reverse()}}var O=function(t,e,n){if(1===n)return[[].concat(t)];var r=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])r=r.concat(function(t,e,n){var r=[[t[1],t[2]]];n=n||2;var i=[];"A"===e[0]?(r.push(e[6]),r.push(e[7])):"C"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]]),r.push([e[5],e[6]])):"S"===e[0]||"Q"===e[0]?(r.push([e[1],e[2]]),r.push([e[3],e[4]])):r.push([e[1],e[2]]);for(var o=r,a=1/n,u=0;u<n-1;u++){var s=E(o,a/(1-a*u));i.push(s.left),o=s.right}return i.push(o),i.map(function(t){var e=[];return 4===t.length&&(e.push("C"),e=e.concat(t[2])),t.length>=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,n));else{var i=[].concat(t);"M"===i[0]&&(i[0]="L");for(var o=0;o<=n-1;o++)r.push(i)}return r},C=function(t,e){if(t.length!==e.length)return!1;var n=!0;return r.each(t,function(t,r){if(t!==e[r])return n=!1,!1}),n};function A(t,e,n){var r=null,i=n;return e<i&&(i=e,r="add"),t<i&&(i=t,r="del"),{type:r,min:i}}function T(t,e,n){for(var r,i=[].concat(t),o=1/(n+1),a=M(e)[0],u=1;u<=n;u++)o*=u,0===(r=Math.floor(t.length*o))?i.unshift([a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]):i.splice(r,0,[a[0]*o+t[r][0]*(1-o),a[1]*o+t[r][1]*(1-o)]);return i}function M(t){var e=[];switch(t[0]){case"M":case"L":e.push([t[1],t[2]]);break;case"A":e.push([t[6],t[7]]);break;case"Q":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"T":e.push([t[1],t[2]]);break;case"C":e.push([t[5],t[6]]),e.push([t[1],t[2]]),e.push([t[3],t[4]]);break;case"S":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"H":case"V":e.push([t[1],t[1]])}return e}t.exports={parsePathString:u,parsePathArray:v,pathTocurve:d,pathToAbsolute:l,catmullRomToBezier:s,rectPath:x,fillPath:function(t,e){if(1===t.length)return t;var n=t.length-1,r=e.length-1,i=n/r,o=[];if(1===t.length&&"M"===t[0][0]){for(var a=0;a<r-n;a++)t.push(t[0]);return t}for(var u=0;u<r;u++){var s=Math.floor(i*u);o[s]=(o[s]||0)+1}var c=o.reduce(function(e,r,i){return i===n?e.concat(t[n]):e.concat(O(t[i],t[i+1],r))},[]);return c.unshift(t[0]),"Z"!==e[r]&&"z"!==e[r]||c.push("Z"),c},fillPathByDiff:function(t,e){var n=function(t,e){var n,r,i=t.length,o=e.length,a=0;if(0===i||0===o)return null;for(var u=[],s=0;s<=i;s++)u[s]=[],u[s][0]={min:s};for(var c=0;c<=o;c++)u[0][c]={min:c};for(var l=1;l<=i;l++){n=t[l-1];for(var f=1;f<=o;f++){r=e[f-1],a=C(n,r)?0:1;var h=u[l-1][f].min+1,d=u[l][f-1].min+1,p=u[l-1][f-1].min+a;u[l][f]=A(h,d,p)}}return u}(t,e),r=t.length,i=e.length,o=[],a=1,u=1;if(n[r][i]!==r){for(var s=1;s<=r;s++){var c=n[s][s].min;u=s;for(var l=a;l<=i;l++)n[s][l].min<c&&(c=n[s][l].min,u=l);a=u,n[s][a].type&&o.push({index:s-1,type:n[s][a].type})}for(var f=o.length-1;f>=0;f--)a=o[f].index,"add"===o[f].type?t.splice(a,0,[].concat(t[a])):t.splice(a,1)}var h=i-(r=t.length);if(r<i)for(var d=0;d<h;d++)"z"===t[r-1][0]||"Z"===t[r-1][0]?t.splice(r-2,0,t[r-2]):t.push(t[r-1]),r+=1;return t},formatPath:function(t,e){if(t.length<=1)return t;for(var n,r=0;r<e.length;r++)if(t[r][0]!==e[r][0])switch(n=M(t[r]),e[r][0]){case"M":t[r]=["M"].concat(n[0]);break;case"L":t[r]=["L"].concat(n[0]);break;case"A":t[r]=[].concat(e[r]),t[r][6]=n[0][0],t[r][7]=n[0][1];break;case"Q":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=T(n,t[r-1],1)}t[r]=["Q"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[r]=["T"].concat(n[0]);break;case"C":if(n.length<3){if(!(r>0)){t[r]=e[r];break}n=T(n,t[r-1],2)}t[r]=["C"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(n.length<2){if(!(r>0)){t[r]=e[r];break}n=T(n,t[r-1],1)}t[r]=["S"].concat(n.reduce(function(t,e){return t.concat(e)},[]));break;default:t[r]=e[r]}return t},intersection:function(t,e){return function(t,e,n){var r,i,o,a,u,s,c,l,f,h;t=d(t),e=d(e);for(var p=n?0:[],v=0,g=t.length;v<g;v++){var y=t[v];if("M"===y[0])r=u=y[1],i=s=y[2];else{"C"===y[0]?(f=[r,i].concat(y.slice(1)),r=f[6],i=f[7]):(f=[r,i,r,i,u,s,u,s],r=u,i=s);for(var m=0,b=e.length;m<b;m++){var x=e[m];if("M"===x[0])o=c=x[1],a=l=x[2];else{"C"===x[0]?(h=[o,a].concat(x.slice(1)),o=h[6],a=h[7]):(h=[o,a,o,a,c,l,c,l],o=c,a=l);var w=k(f,h,n);if(n)p+=w;else{for(var _=0,S=w.length;_<S;_++)w[_].segment1=v,w[_].segment2=m,w[_].bez1=f,w[_].bez2=h;p=p.concat(w)}}}}}return p}(t,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setMatrixArrayType=function(t){e.ARRAY_TYPE=t},e.toRadian=function(t){return t*i},e.equals=function(t,e){return Math.abs(t-e)<=r*Math.max(1,Math.abs(t),Math.abs(e))};var r=e.EPSILON=1e-6;e.ARRAY_TYPE="undefined"!=typeof Float32Array?Float32Array:Array,e.RANDOM=Math.random;var i=Math.PI/180},function(t,e,n){var r=n(6),i=n(4),o=n(2);t.exports=function(t,e){for(var n=[],a={},u=0;u<t.length;u++){var s=t[u][e];r(s)||(i(s)||(s=[s]),o(s,function(t){a[t]||(n.push(t),a[t]=!0)}))}return n}},function(t,e,n){var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=n(4);t.exports=function t(e){if("object"!==(void 0===e?"undefined":r(e))||null===e)return e;var n=void 0;if(i(e)){n=[];for(var o=0,a=e.length;o<a;o++)"object"===r(e[o])&&null!=e[o]?n[o]=t(e[o]):n[o]=e[o]}else for(var u in n={},e)"object"===r(e[u])&&null!=e[u]?n[u]=t(e[u]):n[u]=e[u];return n}},function(t,e,n){var r=n(40),i=n(4),o=5;function a(t,e,n,u){for(var s in n=n||0,u=u||o,e)if(e.hasOwnProperty(s)){var c=e[s];null!==c&&r(c)?(r(t[s])||(t[s]={}),n<u?a(t[s],c,n+1,u):t[s]=e[s]):i(c)?(t[s]=[],t[s]=t[s].concat(c)):void 0!==c&&(t[s]=c)}}t.exports=function(){for(var t=new Array(arguments.length),e=t.length,n=0;n<e;n++)t[n]=arguments[n];for(var r=t[0],i=1;i<e;i++)a(r,t[i]);return r}},function(t,e,n){var r=n(2),i=n(21);t.exports=function(t,e){if(!i(t))return t;var n=[];return r(t,function(t,r){e(t,r)&&n.push(t)}),n}},function(t,e,n){var r=n(86),i=n(21),o=n(15);t.exports=function t(e,n){if(e===n)return!0;if(!e||!n)return!1;if(o(e)||o(n))return!1;if(i(e)||i(n)){if(e.length!==n.length)return!1;for(var a=!0,u=0;u<e.length&&(a=t(e[u],n[u]));u++);return a}if(r(e)||r(n)){var s=Object.keys(e),c=Object.keys(n);if(s.length!==c.length)return!1;for(var l=!0,f=0;f<s.length&&(l=t(e[s[f]],n[s[f]]));f++);return l}return!1}},function(t,e){t.exports=function(t,e,n){return t<e?e:t>n?n:t}},function(t,e,n){var r=n(347);r.translate=function(t,e,n){var i=new Array(9);return r.fromTranslation(i,n),r.multiply(t,i,e)},r.rotate=function(t,e,n){var i=new Array(9);return r.fromRotation(i,n),r.multiply(t,i,e)},r.scale=function(t,e,n){var i=new Array(9);return r.fromScaling(i,n),r.multiply(t,i,e)},t.exports=r},function(t,e){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){return"object"===(void 0===t?"undefined":n(t))&&null!==t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={Chart:"deleteChart",Coord:"deleteCoord",Geom:"deleteGeom",Axis:"deleteAxis",Tooltip:"deleteTooltip",Legend:"deleteLegend",Label:"deleteLabel",View:"deleteView",Guide:"deleteGuide",GuideLine:"deleteTypedGuide",GuideImage:"deleteTypedGuide",GuideText:"deleteTypedGuide",GuideRegion:"deleteTypedGuide",GuideHtml:"deleteTypedGuide",GuideArc:"deleteTypedGuide",GuideRegionFilter:"deleteTypedGuide",GuideDataMarker:"deleteTypedGuide",GuideDataRegion:"deleteTypedGuide",Facet:"deleteFacet"},i={merge:function(t,e,n,r){this.mergeDelete(t,e,n),this.mergeUpdate(t,r)},mergeDelete:function(t,e,n){var i=this;Object.keys(e).forEach(function(e){var o=r[n[e].name],a=t;n[e].viewId&&(a=t.views[n[e].viewId]),i[o]&&i[o](a,e,n[e].parentInfo.id)})},deleteAxis:function(t,e){t&&delete t.axises[e]},deleteTooltip:function(t){t&&delete t.tooltip},deleteCoord:function(t){t&&delete t.coord},deleteLegend:function(t,e){t&&delete t.legends[e]},deleteGuide:function(t){t&&delete t.guide},deleteGeom:function(t,e){t&&t.geoms&&delete t.geoms[e]},deleteLabel:function(t,e,n){t&&t.geoms&&t.geoms[n]&&delete t.geoms[n].label},deleteFacet:function(t){t&&delete t.facet},deleteTypedGuide:function(t,e){t&&t.guide&&delete t.guide.elements[e]},deleteView:function(t,e){t&&delete t.views[e]},mergeUpdate:function(t,e){this.mergeChart(t,e),this.mergeAxises(t,e),this.mergeCoord(t,e),this.mergeGeoms(t.geoms,e),this.mergeLegends(t.legends,e),this.mergeTooltip(t,e),this.mergeViews(t.views,e),this.mergeGuide(t.guide,e)},mergeChart:function(t,e){t.chart&&t.chart.updateProps&&(t.chart.props=t.chart.updateProps),e&&delete t.chart.g2Instance},mergeAxises:function(t,e){var n=t.axises;if(null!=!n)for(var r in n)n[r]&&n[r].updateProps&&(n[r].props=n[r].updateProps),e&&delete n[r].g2Instance},mergeTooltip:function(t,e){t.tooltip&&(e&&delete t.tooltip.g2Instance,t.tooltip.updateProps&&(t.tooltip.props=t.tooltip.updateProps))},mergeCoord:function(t,e){t.coord&&(e&&delete t.coord.g2Instance,t.coord.updateProps&&(t.coord.props=t.coord.updateProps))},mergeLegends:function(t,e){if(t)for(var n in t)if(t[n]){var r=t[n];e&&delete r.g2Instance,r.updateProps&&(r.props=r.updateProps)}},mergeGeoms:function(t,e){if(null!=t)for(var n in t)t[n]&&(e&&(delete t[n].g2Instance,t[n].label&&t[n].label.g2Instance&&(t[n].label.updateProps&&(t[n].label.props=t[n].label.updateProps),delete t[n].label.g2Instance)),t[n].updateProps&&(t[n].props=t[n].updateProps))},mergeGuide:function(t,e){if(null!=t){var n=t.elements;for(var r in n)n[r]&&(e&&delete n[r].g2Instance,n[r].updateProps&&(n[r].props=n[r].updateProps))}},mergeView:function(t,e){t&&(e&&t.g2Instance&&delete t.g2Instance,t.updateProps&&(t.props=t.updateProps),this.mergeCoord(t,e),this.mergeAxises(t,e),this.mergeGeoms(t.geoms,e),this.mergeGuide(t.guide,e))},mergeViews:function(t,e){if(null!=t)for(var n in t)t[n]&&this.mergeView(t[n],e)}};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Prop=e.Util=void 0;var r=o(n(58)),i=o(n(437));function o(t){return t&&t.__esModule?t:{default:t}}e.Util=r.default,e.Prop=i.default},function(t,e,n){"use strict";e.c=i,n.d(e,"e",function(){return o}),n.d(e,"d",function(){return a}),e.h=b,e.b=_,e.g=S,e.a=k,e.f=C;var r=n(90);function i(){}var o=.7,a=1/o,u="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3})$/,f=/^#([0-9a-f]{6})$/,h=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),d=new RegExp("^rgb\\("+[c,c,c]+"\\)$"),p=new RegExp("^rgba\\("+[u,u,u,s]+"\\)$"),v=new RegExp("^rgba\\("+[c,c,c,s]+"\\)$"),g=new RegExp("^hsl\\("+[s,c,c]+"\\)$"),y=new RegExp("^hsla\\("+[s,c,c,s]+"\\)$"),m={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function b(t){var e;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?new k((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=f.exec(t))?x(parseInt(e[1],16)):(e=h.exec(t))?new k(e[1],e[2],e[3],1):(e=d.exec(t))?new k(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=p.exec(t))?w(e[1],e[2],e[3],e[4]):(e=v.exec(t))?w(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?O(e[1],e[2]/100,e[3]/100,1):(e=y.exec(t))?O(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?x(m[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function x(t){return new k(t>>16&255,t>>8&255,255&t,1)}function w(t,e,n,r){return r<=0&&(t=e=n=NaN),new k(t,e,n,r)}function _(t){return t instanceof i||(t=b(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function S(t,e,n,r){return 1===arguments.length?_(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function E(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function O(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new A(t,e,n,r)}function C(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof A)return new A(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=b(t)),!t)return new A;if(t instanceof A)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),a=Math.max(e,n,r),u=NaN,s=a-o,c=(a+o)/2;return s?(u=e===a?(n-r)/s+6*(n<r):n===a?(r-e)/s+2:(e-n)/s+4,s/=c<.5?a+o:2-a-o,u*=60):s=c>0&&c<1?0:u,new A(u,s,c,t.opacity)}(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function T(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}n.i(r.a)(i,b,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),n.i(r.a)(k,S,n.i(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+E(this.r)+E(this.g)+E(this.b)},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),n.i(r.a)(A,C,n.i(r.b)(i,{brighter:function(t){return t=null==t?a:Math.pow(a,t),new A(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o:Math.pow(o,t),new A(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new k(T(t>=240?t-240:t+120,i,r),T(t,i,r),T(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(t,e,n){"use strict";e.b=function(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n},e.a=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},function(t,e,n){"use strict";function r(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}e.b=r,e.a=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[i],a=t[i+1],u=i>0?t[i-1]:2*o-a,s=i<e-1?t[i+2]:2*a-o;return r((n-i/e)*e,u,o,a,s)}}},function(t,e,n){"use strict";var r=n(12),i=n(203),o=n(198),a=n(201),u=n(59),s=n(202),c=n(204),l=n(200);e.a=function(t,e){var f,h=typeof e;return null==e||"boolean"===h?n.i(l.a)(e):("number"===h?u.a:"string"===h?(f=n.i(r.f)(e))?(e=f,i.a):c.a:e instanceof r.f?i.a:e instanceof Date?a.a:Array.isArray(e)?o.a:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?s.a:u.a)(t,e)}},function(t,e,n){"use strict";function r(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}e.b=r,e.a=function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[i],a=t[i+1],u=i>0?t[i-1]:2*o-a,s=i<e-1?t[i+2]:2*a-o;return r((n-i/e)*e,u,o,a,s)}}},function(t,e,n){"use strict";n(95),n(205),n(93),n(206),n(208),n(465),n(468);var r=n(60);n.d(e,"b",function(){return r.a});n(209),n(472);var i=n(211);n.d(e,"d",function(){return i.a});var o=n(474);n.d(e,"a",function(){return o.a}),n.d(e,"e",function(){return o.b});n(476);var a=n(210);n.d(e,"c",function(){return a.a});n(467),n(469),n(466),n(464),n(470),n(471)},function(t,e,n){"use strict";var r=n(12),i=n(210),o=n(205),a=n(208),u=n(60),s=n(209),c=n(211),l=n(207);e.a=function(t,e){var f,h=typeof e;return null==e||"boolean"===h?n.i(l.a)(e):("number"===h?u.a:"string"===h?(f=n.i(r.f)(e))?(e=f,i.a):c.a:e instanceof r.f?i.a:e instanceof Date?a.a:Array.isArray(e)?o.a:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?s.a:u.a)(t,e)}},function(t,e,n){"use strict";var r=n(97);e.a=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.a.hasOwnProperty(e)?{space:r.a[e],local:t}:t}},function(t,e,n){"use strict";n.d(e,"b",function(){return r});var r="http://www.w3.org/1999/xhtml";e.a={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),e.b=function(t,e,n,r){var o=i;t.sourceEvent=i,i=t;try{return e.apply(n,r)}finally{i=o}};var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function o(t,e,n){return t=a(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function a(t,e,n){return function(r){var o=i;i=r;try{t.call(this,this.__data__,e,n)}finally{i=o}}}function u(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function s(t,e,n){var i=r.hasOwnProperty(t.type)?o:a;return function(r,o,a){var u,s=this.__on,c=i(e,o,a);if(s)for(var l=0,f=s.length;l<f;++l)if((u=s[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=n),void(u.value=e);this.addEventListener(t.type,c,n),u={type:t.type,name:t.name,value:e,listener:c,capture:n},s?s.push(u):this.__on=[u]}}e.c=function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(c=e?s:u,null==n&&(n=!1),r=0;r<a;++r)this.each(c(o[r],e,n));return this}var c=this.node().__on;if(c)for(var l,f=0,h=c.length;f<h;++f)for(r=0,l=c[f];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value}},function(t,e,n){"use strict";function r(){}e.a=function(t){return null==t?r:function(){return this.querySelector(t)}}},function(t,e,n){"use strict";var r=n(98);e.a=function(){for(var t,e=r.a;t=e.sourceEvent;)e=t;return e}},function(t,e,n){"use strict";e.a=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(103);n.d(e,"now",function(){return r.a}),n.d(e,"timer",function(){return r.b}),n.d(e,"timerFlush",function(){return r.c});var i=n(513);n.d(e,"timeout",function(){return i.a});var o=n(512);n.d(e,"interval",function(){return o.a})},function(t,e,n){"use strict";e.a=p,e.d=g,e.b=y,e.c=m;var r,i,o=0,a=0,u=0,s=1e3,c=0,l=0,f=0,h="object"==typeof performance&&performance.now?performance:Date,d="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function p(){return l||(d(v),l=h.now()+f)}function v(){l=0}function g(){this._call=this._time=this._next=null}function y(t,e,n){var r=new g;return r.restart(t,e,n),r}function m(){p(),++o;for(var t,e=r;e;)(t=l-e._time)>=0&&e._call.call(null,t),e=e._next;--o}function b(){l=(c=h.now())+f,o=a=0;try{m()}finally{o=0,function(){var t,e,n=r,o=1/0;for(;n;)n._call?(o>n._time&&(o=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,w(o)}(),l=0}}function x(){var t=h.now(),e=t-c;e>s&&(f-=e,c=t)}function w(t){o||(a&&(a=clearTimeout(a)),t-l>24?(t<1/0&&(a=setTimeout(b,t-h.now()-f)),u&&(u=clearInterval(u))):(u||(c=h.now(),u=setInterval(x,s)),o=1,d(b)))}g.prototype=y.prototype={constructor:g,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?p():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,w()},stop:function(){this._call&&(this._call=null,this._time=1/0,w())}}},function(t,e,n){var r; /*! * EventEmitter v5.1.0 - git.io/ee * Unlicense - http://unlicense.org/ * Oliver Caldwell - http://oli.me.uk/ * @preserve */!function(e){"use strict";function i(){}var o=i.prototype,a=e.EventEmitter;function u(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function s(t){return function(){return this[t].apply(this,arguments)}}o.getListeners=function(t){var e,n,r=this._getEvents();if(t instanceof RegExp)for(n in e={},r)r.hasOwnProperty(n)&&t.test(n)&&(e[n]=r[n]);else e=r[t]||(r[t]=[]);return e},o.flattenListeners=function(t){var e,n=[];for(e=0;e<t.length;e+=1)n.push(t[e].listener);return n},o.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},o.addListener=function(t,e){if(!function t(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&t(e.listener)}(e))throw new TypeError("listener must be a function");var n,r=this.getListenersAsObject(t),i="object"==typeof e;for(n in r)r.hasOwnProperty(n)&&-1===u(r[n],e)&&r[n].push(i?e:{listener:e,once:!1});return this},o.on=s("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=s("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,e){var n,r,i=this.getListenersAsObject(t);for(r in i)i.hasOwnProperty(r)&&-1!==(n=u(i[r],e))&&i[r].splice(n,1);return this},o.off=s("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,n){var r,i,o=t?this.removeListener:this.addListener,a=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(r=n.length;r--;)o.call(this,e,n[r]);else for(r in e)e.hasOwnProperty(r)&&(i=e[r])&&("function"==typeof i?o.call(this,r,i):a.call(this,r,i));return this},o.removeEvent=function(t){var e,n=typeof t,r=this._getEvents();if("string"===n)delete r[t];else if(t instanceof RegExp)for(e in r)r.hasOwnProperty(e)&&t.test(e)&&delete r[e];else delete this._events;return this},o.removeAllListeners=s("removeEvent"),o.emitEvent=function(t,e){var n,r,i,o,a=this.getListenersAsObject(t);for(o in a)if(a.hasOwnProperty(o))for(n=a[o].slice(0),i=0;i<n.length;i++)!0===(r=n[i]).once&&this.removeListener(t,r.listener),r.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,r.listener);return this},o.trigger=s("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},o._getEvents=function(){return this._events||(this._events={})},i.noConflict=function(){return e.EventEmitter=a,i},void 0===(r=function(){return i}.call(e,n,e,t))||(t.exports=r)}(this||{})},function(t,e,n){var r=n(2),i={values:n(79)};t.exports={isAdjust:function(t){return this.adjustNames.indexOf(t)>=0},_getDimValues:function(t){var e={},n=[];if(this.xField&&this.isAdjust("x")&&n.push(this.xField),this.yField&&this.isAdjust("y")&&n.push(this.yField),r(n,function(n){var r=i.values(t,n);r.sort(function(t,e){return t-e}),e[n]=r}),!this.yField&&this.isAdjust("y")){var o=[0,1];e.y=o}return e},adjustData:function(t,e){var n=this,i=n._getDimValues(e);r(t,function(e,o){r(i,function(r,i){n.adjustDim(i,r,e,t.length,o)})})},getAdjustRange:function(t,e,n){var r,i,o=n.indexOf(e),a=n.length;return!this.yField&&this.isAdjust("y")?(r=0,i=1):a>1?(r=0===o?n[0]:n[o-1],i=o===a-1?n[a-1]:n[o+1],0!==o?r+=(e-r)/2:r-=(i-e)/2,o!==a-1?i-=(i-e)/2:i+=(e-n[a-2])/2):(r=0===e?0:e-.5,i=0===e?1:e+.5),{pre:r,next:i}},groupData:function(t,e){var n={};return r(t,function(t){var r=t[e];void 0===r&&(r=t[e]=0),n[r]||(n[r]=[]),n[r].push(t)}),n}}},function(t,e,n){var r=n(11),i=n(15),o=n(2),a=/rgba?\(([\s.,0-9]+)\)/;function u(t,e,n,r){return t[r]+(e[r]-t[r])*n}function s(t){return"#"+c(t[0])+c(t[1])+c(t[2])}function c(t){return 1===(t=(t=Math.round(t)).toString(16)).length&&(t="0"+t),t}function l(t){var e=[];return e.push(parseInt(t.substr(1,2),16)),e.push(parseInt(t.substr(3,2),16)),e.push(parseInt(t.substr(5,2),16)),e}var f={},h=null,d={toRGB:function(t){if("#"===t[0]&&7===t.length)return t;var e,n;(h||((e=document.createElement("i")).title="Web Colour Picker",e.style.display="none",document.body.appendChild(e),h=e),f[t])?n=f[t]:(h.style.color=t,n=document.defaultView.getComputedStyle(h,"").getPropertyValue("color"),n=s(a.exec(n)[1].split(/\s*,\s*/)),f[t]=n);return n},rgb2arr:l,gradient:function(t){var e=[];return i(t)&&(t=t.split("-")),o(t,function(t){-1===t.indexOf("#")&&(t=d.toRGB(t)),e.push(l(t))}),function(t){return function(t,e){(isNaN(e)||!r(e)||e<0)&&(e=0),e>1&&(e=1);var n=t.length-1,i=Math.floor(n*e),o=n*e-i,a=t[i],c=i===n?a:t[i+1];return s([u(a,c,o,0),u(a,c,o,1),u(a,c,o,2)])}(e,t)}}};t.exports=d},function(t,e,n){var r=n(36).Group,i=n(3),o=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getDefaultCfg=function(){return{zIndex:1,type:"line",lineStyle:null,items:null,alternateColor:null,matrix:null,hideFirstLine:!1,hideLastLine:!1,hightLightZero:!1,zeroLineStyle:{stroke:"#595959",lineDash:[0,0]}}},o._renderUI=function(){t.prototype._renderUI.call(this),this._drawLines()},o._drawLines=function(){var t=this.get("lineStyle"),e=this.get("items");e&&e.length&&(this._precessItems(e),this._drawGridLines(e,t))},o._precessItems=function(t){var e,n=this;i.each(t,function(t,r){e&&n.get("alternateColor")&&n._drawAlternativeBg(t,e,r),e=t})},o._drawGridLines=function(t,e){var n,r,o,a,u=this,s=this.get("type"),c=t.length;"line"===s||"polygon"===s?i.each(t,function(t,l){u.get("hideFirstLine")&&0===l||u.get("hideLastLine")&&l===c-1||(a=t.points,r=[],"line"===s?(r.push(["M",a[0].x,a[0].y]),r.push(["L",a[a.length-1].x,a[a.length-1].y])):i.each(a,function(t,e){0===e?r.push(["M",t.x,t.y]):r.push(["L",t.x,t.y])}),o=u._drawZeroLine(s,l)?i.mix({},u.get("zeroLineStyle"),{path:r}):i.mix({},e,{path:r}),(n=u.addShape("path",{attrs:o})).name="axis-grid",n._id=t._id,n.set("coord",u.get("coord")),u.get("appendInfo")&&n.setSilent("appendInfo",u.get("appendInfo")))}):i.each(t,function(t,s){u.get("hideFirstLine")&&0===s||u.get("hideLastLine")&&s===c-1||(a=t.points,r=[],i.each(a,function(t,e){var n=t.radius;0===e?r.push(["M",t.x,t.y]):r.push(["A",n,n,0,0,t.flag,t.x,t.y])}),o=i.mix({},e,{path:r}),(n=u.addShape("path",{attrs:o})).name="axis-grid",n._id=t._id,n.set("coord",u.get("coord")),u.get("appendInfo")&&n.setSilent("appendInfo",u.get("appendInfo")))})},o._drawZeroLine=function(t,e){var n=this.get("tickValues");return!("line"!==t||!n||0!==n[e]||!this.get("hightLightZero"))},o._drawAlternativeBg=function(t,e,n){var r,o,a,u=this.get("alternateColor");i.isString(u)?o=u:i.isArray(u)&&(o=u[0],a=u[1]),n%2==0?a&&(r=this._getBackItem(e.points,t.points,a)):o&&(r=this._getBackItem(e.points,t.points,o));var s=this.addShape("Path",{attrs:r});s.name="axis-grid-rect",s._id=t._id&&t._id.replace("grid","grid-rect"),s.set("coord",this.get("coord")),this.get("appendInfo")&&s.setSilent("appendInfo",this.get("appendInfo"))},o._getBackItem=function(t,e,n){var r=[],o=this.get("type");if("line"===o)r.push(["M",t[0].x,t[0].y]),r.push(["L",t[t.length-1].x,t[t.length-1].y]),r.push(["L",e[e.length-1].x,e[e.length-1].y]),r.push(["L",e[0].x,e[0].y]),r.push(["Z"]);else if("polygon"===o){i.each(t,function(t,e){0===e?r.push(["M",t.x,t.y]):r.push(["L",t.x,t.y])});for(var a=e.length-1;a>=0;a--)r.push(["L",e[a].x,e[a].y]);r.push(["Z"])}else{var u=t[0].flag;i.each(t,function(t,e){var n=t.radius;0===e?r.push(["M",t.x,t.y]):r.push(["A",n,n,0,0,t.flag,t.x,t.y])});for(var s=e.length-1;s>=0;s--){var c=e[s],l=c.radius;s===e.length-1?r.push(["M",c.x,c.y]):r.push(["A",l,l,0,0,1===u?0:1,c.x,c.y])}}return{fill:n,path:r}},r}(r);t.exports=o},function(t,e,n){var r=n(3);t.exports={getFirstScale:function(t){var e;return r.each(t,function(t){if(t)return e=t,!1}),e}}},function(t,e,n){var r=n(3),i=r.DomUtil,o=n(35),a={scatter:n(253),map:n(254),treemap:n(252)},u=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=o.prototype;return u.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"label",type:"default",textStyle:null,formatter:null,items:null,useHtml:!1,containerTpl:'<div class="g-labels" style="position:absolute;top:0;left:0;"></div>',itemTpl:'<div class="g-label" style="position:absolute;">{text}</div>',labelLine:!1,lineGroup:null,shapes:null,config:!0,capture:!0})},u.clear=function(){var e=this.get("group"),n=this.get("container");e&&!e.get("destroyed")&&e.clear(),n&&(n.innerHTML=""),t.prototype.clear.call(this)},u.destroy=function(){var t=this.get("group"),e=this.get("container");t.destroy||t.destroy(),e&&(e.innerHTML="")},u.render=function(){this.clear(),this._init(),this.beforeDraw(),this.draw(),this.afterDraw()},u._dryDraw=function(){var t=this,e=t.get("items"),n=t.getLabels(),i=n.length;r.each(e,function(e,r){if(r<i){var o=n[r];t.changeLabel(o,e)}else{var a=t._addLabel(e,r);a&&(a._id=e._id,a.set("coord",e.coord))}});for(var o=i-1;o>=e.length;o--)n[o].remove();t._adjustLabels(),!t.get("labelLine")&&t.get("config")||t.drawLines()},u.draw=function(){this._dryDraw(),this.get("canvas").draw()},u.changeLabel=function(t,e){if(t)if(t.tagName){var n=this._createDom(e);t.innerHTML=n.innerHTML,this._setCustomPosition(e,t)}else t._id=e._id,t.attr("text",e.text),t.attr("x")===e.x&&t.attr("y")===e.y||(t.resetMatrix(),e.textStyle.rotate&&(t.rotateAtStart(e.textStyle.rotate),delete e.textStyle.rotate),t.attr(e))},u.show=function(){var t=this.get("group"),e=this.get("container");t&&t.show(),e&&(e.style.opacity=1)},u.hide=function(){var t=this.get("group"),e=this.get("container");t&&t.hide(),e&&(e.style.opacity=0)},u.drawLines=function(){var t=this;"boolean"==typeof t.get("labelLine")&&t.set("labelLine",{});var e=t.get("lineGroup");!e||e.get("destroyed")?(e=t.get("group").addGroup({elCls:"x-line-group"}),t.set("lineGroup",e)):e.clear(),r.each(t.get("items"),function(n){t.lineToLabel(n,e)})},u.lineToLabel=function(t,e){if(this.get("config")||t.labelLine){var n=t.labelLine||this.get("labelLine"),i=void 0===t.capture?this.get("capture"):t.capture,o=n.path;if(o&&r.isFunction(n.path)&&(o=n.path(t)),!o){var a=t.start||{x:t.x-t._offset.x,y:t.y-t._offset.y};o=[["M",a.x,a.y],["L",t.x,t.y]]}var u=t.color;u||(u=t.textStyle&&t.textStyle.fill?t.textStyle.fill:"#000");var s=e.addShape("path",{attrs:r.mix({path:o,fill:null,stroke:u},n),capture:i});s.name=this.get("name"),s._id=t._id&&t._id.replace("glabel","glabelline"),s.set("coord",this.get("coord"))}},u._adjustLabels=function(){var t=this.get("type"),e=this.getLabels(),n=this.get("shapes"),r=a[t];"default"!==t&&r&&r(e,n)},u.getLabels=function(){var t=this.get("container");return t?r.toArray(t.childNodes):this.get("group").get("children")},u._addLabel=function(t,e){var n=t;return this.get("config")&&(n=this._getLabelCfg(t,e)),this._createText(n)},u._getLabelCfg=function(t,e){var n=this.get("textStyle")||{},i=this.get("formatter"),o=this.get("htmlTemplate");if(!r.isObject(t)){var a=t;(t={}).text=a}return r.isFunction(n)&&(n=n(t.text,t,e)),i&&(t.text=i(t.text,t,e)),o&&(t.useHtml=!0,r.isFunction(o)&&(t.text=o(t.text,t,e))),r.isNil(t.text)&&(t.text=""),t.text=t.text+"",r.mix({},t,{textStyle:n},{x:t.x||0,y:t.y||0})},u._init=function(){if(!this.get("group")){var t=this.get("canvas").addGroup({id:"label-group"});this.set("group",t)}},u.initHtmlContainer=function(){var t=this.get("container");if(t)r.isString(t)&&(t=document.getElementById(t))&&this.set("container",t);else{var e=this.get("containerTpl"),n=this.get("canvas").get("el").parentNode;t=i.createDom(e),n.style.position="relative",n.appendChild(t),this.set("container",t)}return t},u._createText=function(t){var e,n=r.deepMix({},t),i=this.get("container"),o=void 0===n.capture?this.get("capture"):n.capture;if(!n.useHtml&&!n.htmlTemplate){var a=this.get("name"),u=n.point,s=this.get("group");delete n.point;var c=n.rotate;return n.textStyle&&(n.textStyle.rotate&&(c=n.textStyle.rotate,delete n.textStyle.rotate),n=r.mix({x:n.x,y:n.y,textAlign:n.textAlign,text:n.text},n.textStyle)),e=s.addShape("text",{attrs:n,capture:o}),c&&(Math.abs(c)>2*Math.PI&&(c=c/180*Math.PI),e.transform([["t",-n.x,-n.y],["r",c],["t",n.x,n.y]])),e.setSilent("origin",u||n),e.name=a,this.get("appendInfo")&&e.setSilent("appendInfo",this.get("appendInfo")),e}i||(i=this.initHtmlContainer());var l=this._createDom(n);i.appendChild(l),this._setCustomPosition(n,l)},u._createDom=function(t){var e=this.get("itemTpl"),n=r.substitute(e,{text:t.text});return i.createDom(n)},u._setCustomPosition=function(t,e){var n=t.textAlign||"left",r=t.y,o=t.x,a=i.getOuterWidth(e);r-=i.getOuterHeight(e)/2,"center"===n?o-=a/2:"right"===n&&(o-=a),e.style.top=parseInt(r,10)+"px",e.style.left=parseInt(o,10)+"px"},o}(o);t.exports=u},function(t,e){var n=function(){function t(){this.bitmap=[]}var e=t.prototype;return e.hasGap=function(t){for(var e=!0,n=this.bitmap,r=Math.floor(t.minX),i=Math.ceil(t.maxX),o=Math.floor(t.minY),a=Math.ceil(t.maxY)-1,u=r;u<i;u++)if(n[u]){if(u===r||u===i-1){for(var s=o;s<=a;s++)if(n[u][s]){e=!1;break}}else if(n[u][o]||n[u][a]){e=!1;break}}else n[u]=[];return e},e.fillGap=function(t){for(var e=this.bitmap,n=Math.floor(t.minX),r=Math.ceil(t.maxX)-1,i=Math.floor(t.minY),o=Math.ceil(t.maxY)-1,a=n;a<=r;a++){for(var u=i;u<o;u+=8)e[a]||(e[a]=[]),e[a][u]=!0;e[a][o]=!0}for(var s=i;s<=o;s++)e[n][s]=!0,e[r][s]=!0},t}();t.exports=n},function(t,e,n){var r=n(3),i=n(35),o=n(19).FONT_FAMILY,a=function(t){var e,n;n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=a.prototype;function a(e){var n;return(n=t.call(this,e)||this)._init(),n.beforeRender(),n.render(),n._adjustPositionOffset(),n._bindEvents(),n}return i.getDefaultCfg=function(){return{container:null,title:null,formatter:null,hoverable:!0,titleGap:15,position:[0,0],offset:[0,0],offsetX:null,offsetY:null}},i._init=function(){var t=this.get("group"),e=this.get("container");this.set("canvas",e.get("canvas"));var n=this.get("position");t||(t=e.addGroup({x:0-n[0],y:0-n[1]})),this.set("group",t)},i._adjustPositionOffset=function(){var t=this.get("position"),e=this.get("offset"),n=this.get("offsetX"),i=this.get("offsetY");r.isArray(e)||(e="vertical"===this.get("layout")?[e,0]:[0,e]);n&&(e[0]=n),i&&(e[1]=i);var o=this.get("group").getBBox();this.move(-o.minX+t[0]+e[0],-o.minY+t[1]+e[1])},i.beforeRender=function(){var t=this.get("group").addGroup();this.set("itemsGroup",t)},i.render=function(){this._renderTitle()},i._renderTitle=function(){var t=this.get("title"),e=this.get("titleGap");if(e=e||0,t&&t.text){var n=this.get("group").addShape("text",{attrs:r.mix({x:0,y:0-e,fill:"#333",textBaseline:"middle",fontFamily:o},t)});n.name="legend-title",this.get("appendInfo")&&n.setSilent("appendInfo",this.get("appendInfo")),this.set("titleShape",n)}},i.getCheckedCount=function(){var t=this.get("itemsGroup").get("children");return r.filter(t,function(t){return t.get("checked")}).length},i.setItems=function(t){this.set("items",t),this.clear(),this.render()},i.addItem=function(t){this.get("items").push(t),this.clear(),this.render()},i.clear=function(){this.get("itemsGroup").clear(),this.get("group").clear(),this.beforeRender()},i.destroy=function(){this.get("group").destroy(),this._attrs={},this.removeAllListeners(),this.destroyed=!0},i.getWidth=function(){return this.get("group").getBBox().width},i.getHeight=function(){return this.get("group").getBBox().height},i.move=function(t,e){this.get("group").move(t,e)},i.draw=function(){this.get("canvas").draw()},a}(i);t.exports=a},function(t,e,n){var r=n(3),i=n(113),o=n(19).FONT_FAMILY,a=r.DomUtil,u=r.Group,s="g2-legend",c="g2-legend-list",l="g2-legend-list-item",f="g2-legend-marker";function h(t,e){return t.getElementsByClassName(e)[0]}function d(t,e){var n=t.className;return r.isNil(n)?t:(n=n.split(" ")).indexOf(e)>-1?t:t.parentNode?t.parentNode.className===s?t.parentNode:d(t.parentNode,e):null}function p(t,e){var n=null,i=e instanceof u?e.get("value"):e;return r.each(t,function(t){if(t.value===i)return n=t,!1}),n}var v=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=i.prototype;return u.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"category-legend",container:null,containerTpl:'<div class="'+s+'"><h4 class="g2-legend-title"></h4><ul class="'+c+'"></ul></div>',itemTpl:'<li class="'+l+' item-{index} {checked}" data-color="{originColor}" data-value="{originValue}"><i class="'+f+'" style="background-color:{color};"></i><span class="g2-legend-text">{value}</span></li>',legendStyle:{},textStyle:{fill:"#333",fontSize:12,textAlign:"middle",textBaseline:"top",fontFamily:o},abridgeText:!1,tipTpl:'<div class="textTip"></div>',tipStyle:{display:"none",fontSize:"12px",backgroundColor:"#fff",position:"absolute",width:"auto",height:"auto",padding:"3px",boxShadow:"2px 2px 5px #888"},autoPosition:!0})},u._init=function(){},u.beforeRender=function(){},u.render=function(){this._renderHTML()},u._bindEvents=function(){var t=this,e=h(this.get("legendWrapper"),c);this.get("hoverable")&&(e.onmousemove=function(e){return t._onMousemove(e)},e.onmouseout=function(e){return t._onMouseleave(e)}),this.get("clickable")&&(e.onclick=function(e){return t._onClick(e)})},u._onMousemove=function(t){var e=this.get("items"),n=t.target,r=n.className;if(!((r=r.split(" ")).indexOf(s)>-1||r.indexOf(c)>-1)){var i=d(n,l),o=p(e,i.getAttribute("data-value"));o?(this.deactivate(),this.activate(i.getAttribute("data-value")),this.emit("itemhover",{item:o,currentTarget:i,checked:o.checked})):o||(this.deactivate(),this.emit("itemunhover",t))}},u._onMouseleave=function(t){this.deactivate(),this.emit("itemunhover",t)},u._onClick=function(t){var e=this,n=h(this.get("legendWrapper"),c),i=this.get("unCheckColor"),o=this.get("items"),a=this.get("selectedMode"),u=n.childNodes,v=t.target,g=v.className;if(!((g=g.split(" ")).indexOf(s)>-1||g.indexOf(c)>-1)){var y=d(v,l),m=h(y,"g2-legend-text"),b=h(y,f),x=p(o,y.getAttribute("data-value"));if(x){var w=y.className,_=y.getAttribute("data-color");if("single"===a)x.checked=!0,r.each(u,function(t){t!==y?(h(t,f).style.backgroundColor=i,t.className=t.className.replace("checked","unChecked"),t.style.color=i,p(o,t.getAttribute("data-value")).checked=!1):(m&&(m.style.color=e.get("textStyle").fill),b&&(b.style.backgroundColor=_),y.className=w.replace("unChecked","checked"))});else{var S=-1!==w.indexOf("checked"),k=0;if(r.each(u,function(t){-1!==t.className.indexOf("checked")&&k++}),!this.get("allowAllCanceled")&&S&&1===k)return void this.emit("clicklastitem",{item:x,currentTarget:y,checked:"single"===a||x.checked});x.checked=!x.checked,S?(b&&(b.style.backgroundColor=i),y.className=w.replace("checked","unChecked"),y.style.color=i):(b&&(b.style.backgroundColor=_),y.className=w.replace("unChecked","checked"),y.style.color=this.get("textStyle").fill)}this.emit("itemclick",{item:x,currentTarget:y,checked:"single"===a||x.checked})}}},u.activate=function(t){var e=this,n=this,r=n.get("items"),i=p(r,t);h(n.get("legendWrapper"),c).childNodes.forEach(function(t){var o=h(t,f),a=p(r,t.getAttribute("data-value"));if(e.get("highlight")){if(a===i&&a.checked)return void(o.style.border="1px solid #333")}else a===i?o.style.opacity=n.get("activeOpacity"):a.checked&&(o.style.opacity=n.get("inactiveOpacity"))})},u.deactivate=function(){var t=this,e=this;h(e.get("legendWrapper"),c).childNodes.forEach(function(n){var r=h(n,f);t.get("highlight")?r.style.border="1px solid #fff":r.style.opacity=e.get("inactiveOpacity")})},u._renderHTML=function(){var t=this,e=this.get("container"),n=this.get("title"),i=this.get("containerTpl"),u=a.createDom(i),d=h(u,"g2-legend-title"),p=h(u,c),v=this.get("unCheckColor"),g=r.deepMix({},{CONTAINER_CLASS:{height:"auto",width:"auto",position:"absolute",overflowY:"auto",fontSize:"12px",fontFamily:o,lineHeight:"20px",color:"#8C8C8C"},TITLE_CLASS:{marginBottom:this.get("titleGap")+"px",fontSize:"12px",color:"#333",textBaseline:"middle",fontFamily:o},LIST_CLASS:{listStyleType:"none",margin:0,padding:0,textAlign:"center"},LIST_ITEM_CLASS:{cursor:"pointer",marginBottom:"5px",marginRight:"24px"},MARKER_CLASS:{width:"9px",height:"9px",borderRadius:"50%",display:"inline-block",marginRight:"4px",verticalAlign:"middle"}},this.get("legendStyle"));if(/^\#/.test(e)||"string"==typeof e&&e.constructor===String){var y=e.replace("#","");(e=document.getElementById(y)).appendChild(u)}else{var m=this.get("position"),b={};b="left"===m||"right"===m?{maxHeight:(this.get("maxLength")||e.offsetHeight)+"px"}:{maxWidth:(this.get("maxLength")||e.offsetWidth)+"px"},a.modifyCSS(u,r.mix({},g.CONTAINER_CLASS,b,this.get(s))),e.appendChild(u)}a.modifyCSS(p,r.mix({},g.LIST_CLASS,this.get(c))),d&&(n&&n.text?(d.innerHTML=n.text,a.modifyCSS(d,r.mix({},g.TITLE_CLASS,this.get("g2-legend-title"),n))):u.removeChild(d));var x=this.get("items"),w=this.get("itemTpl"),_=this.get("position"),S=this.get("layout"),k="right"===_||"left"===_||"vertical"===S?"block":"inline-block",E=r.mix({},g.LIST_ITEM_CLASS,{display:k},this.get(l)),O=r.mix({},g.MARKER_CLASS,this.get(f));if(r.each(x,function(e,n){var i,o=e.checked,s=t._formatItemValue(e.value),c=e.marker.fill||e.marker.stroke,l=o?c:v;i=r.isFunction(w)?w(s,l,o,n):w;var d=r.substitute(i,r.mix({},e,{index:n,checked:o?"checked":"unChecked",value:s,color:l,originColor:c,originValue:e.value.replace(/\"/g,""")})),g=a.createDom(d);g.style.color=t.get("textStyle").fill;var y=h(g,f),m=h(g,"g2-legend-text");if(a.modifyCSS(g,E),y&&a.modifyCSS(y,O),o||(g.style.color=v,y&&(y.style.backgroundColor=v)),p.appendChild(g),t.get("abridgeText")){var b=s,x=g.offsetWidth,_=t.get("textStyle").fontSize;isNaN(_)&&(-1!==_.indexOf("pt")?_=1*parseFloat(_.substr(0,_.length-2))/72*96:-1!==_.indexOf("px")&&(_=parseFloat(_.substr(0,_.length-2))));var S=_*b.length,k=Math.floor(x/_);x<2*_?b="":x<S&&k>1&&(b=b.substr(0,k-1)+"..."),m.innerText=b,g.addEventListener("mouseover",function(){var t=h(u.parentNode,"textTip");t.style.display="block",t.style.left=g.offsetLeft+g.offsetWidth+"px",t.style.top=g.offsetTop+15+"px",t.innerText=s}),g.addEventListener("mouseout",function(){h(u.parentNode,"textTip").style.display="none"})}}),this.get("abridgeText")){var C=this.get("tipTpl"),A=a.createDom(C),T=this.get("tipStyle");a.modifyCSS(A,T),u.parentNode.appendChild(A),A.addEventListener("mouseover",function(){A.style.display="none"})}this.set("legendWrapper",u)},u._adjustPositionOffset=function(){if(!1!==this.get("autoPosition")){var t=this.get("position"),e=this.get("offset"),n=this.get("offsetX"),r=this.get("offsetY");n&&(e[0]=n),r&&(e[1]=r);var i=this.get("legendWrapper");i.style.left=t[0]+"px",i.style.top=t[1]+"px",i.style.marginLeft=e[0]+"px",i.style.marginTop=e[1]+"px"}},u.getWidth=function(){return a.getOuterWidth(this.get("legendWrapper"))},u.getHeight=function(){return a.getOuterHeight(this.get("legendWrapper"))},u.move=function(e,n){/^\#/.test(this.get("container"))?t.prototype.move.call(this,e,n):(a.modifyCSS(this.get("legendWrapper"),{left:e+"px",top:n+"px"}),this.set("x",e),this.set("y",n))},u.destroy=function(){var t=this.get("legendWrapper");t&&t.parentNode&&t.parentNode.removeChild(t)},i}(i);t.exports=v},function(t,e,n){var r=n(3),i=n(111),o=n(19).FONT_FAMILY,a=r.Event,u=r.Group;function s(t,e){var n=null,i=e instanceof u||"legendGroup"===e.name?e.get("value"):e;return r.each(t,function(t){if(t.value===i)return n=t,!1}),n}function c(t,e){return t.findBy(function(t){return t.name===e})}var l=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=i.prototype;return u.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"category-legend",items:null,itemGap:5,itemMarginBottom:8,itemsGroup:null,layout:"horizontal",allowAllCanceled:!1,backPadding:[0,0,0,0],unCheckColor:"#ccc",background:{fill:"#fff",fillOpacity:0},itemWidth:null,textStyle:{fill:"#333",fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:o},_wordSpaceing:8,clickable:!0,selectedMode:"multiple",reversed:!1,autoWrap:!0,highlight:!1,activeOpacity:.7,inactiveOpacity:1})},u.render=function(){t.prototype.render.call(this),this._renderItems(),this.get("autoWrap")&&this._adjustItems()},u._bindEvents=function(){this.get("hoverable")&&(this.get("group").on("mousemove",r.wrapBehavior(this,"_onMousemove")),this.get("group").on("mouseleave",r.wrapBehavior(this,"_onMouseleave"))),this.get("clickable")&&this.get("group").on("click",r.wrapBehavior(this,"_onClick"))},u._getLegendItem=function(t){var e=t.get("parent");return e&&"legendGroup"===e.name?e:null},u.activate=function(t){var e=this,n=this,r=n.get("itemsGroup").get("children"),i=void 0;r.forEach(function(r){if(i=c(r,"legend-marker")){var o=r.get("checked");e.get("highlight")?r.get("value")===t&&o?i.attr("stroke","#333"):i.attr("stroke",null):r.get("value")===t&&i.attr("fillOpacity",n.get("activeOpacity"))}}),this.get("canvas").draw()},u.deactivate=function(){var t=this,e=this,n=e.get("itemsGroup").get("children"),r=void 0,i=this.get("unCheckColor");n.forEach(function(n){if(r=c(n,"legend-marker"))if(t.get("highlight")){var o=r.get("oriStroke"),a=n.get("checked");o=o&&!a?i:"",r.attr("stroke",o)}else r.attr("fillOpacity",e.get("inactiveOpacity"))}),this.get("canvas").draw()},u._onMousemove=function(t){var e=this._getLegendItem(t.currentTarget);if(e&&e.get("checked")){var n=this.get("items"),r=new a("itemhover",t,!0,!0);r.item=s(n,e),r.checked=e.get("checked"),r.currentTarget=t.currentTarget,this.deactivate(),this.activate(e.get("value")),this.emit("itemhover",r)}else this.deactivate(),this.emit("itemunhover",t);this.get("canvas").draw()},u._onMouseleave=function(t){this.deactivate(),this.get("canvas").draw(),this.emit("itemunhover",t)},u._onClick=function(t){var e=this._getLegendItem(t.currentTarget),n=this.get("items");if(e&&!e.get("destroyed")){var i=e.get("checked"),o=this.get("selectedMode"),u=s(n,e),l=new a("itemclick",t,!0,!0);if(l.item=u,l.currentTarget=e,l.appendInfo=t.currentTarget.get("appendInfo"),l.checked="single"===o||!i,!this.get("allowAllCanceled")&&i&&1===this.getCheckedCount())return void this.emit("clicklastitem",l);var f=this.get("unCheckColor"),h=this.get("textStyle").fill,d=void 0,p=void 0,v=void 0;if("single"===o){var g=this.get("itemsGroup").get("children");r.each(g,function(t){d=c(t,"legend-marker"),p=c(t,"legend-text"),v=c(t,"legend-item"),t!==e?(d.attr("fill")&&d.attr("fill",f),d.attr("stroke")&&d.attr("stroke",f),p.attr("fill",f),d.setSilent("checked",!1),p.setSilent("checked",!1),v.setSilent("checked",!1),t.setSilent("checked",!1)):(d.attr("fill")&&u&&u.marker&&d.attr("fill",u.marker.fill),d.attr("stroke")&&u&&u.marker&&d.attr("stroke",u.marker.stroke),p.attr("fill",h),d.setSilent("checked",!0),p.setSilent("checked",!0),v.setSilent("checked",!0),t.setSilent("checked",!0))})}else d=c(e,"legend-marker"),p=c(e,"legend-text"),v=c(e,"legend-item"),d.attr("fill")&&u&&u.marker&&d.attr("fill",i?f:u.marker.fill),d.attr("stroke")&&u&&u.marker&&d.attr("stroke",i?f:u.marker.stroke),p.attr("fill",i?f:h),e.setSilent("checked",!i),d.setSilent("checked",!i),p.setSilent("checked",!i),v.setSilent("checked",!i);this.emit("itemclick",l)}this.get("canvas").draw()},u._renderItems=function(){var t=this,e=this.get("items");if(this.get("reversed")&&e.reverse(),r.each(e,function(e,n){t._addItem(e,n)}),this.get("highlight")){var n=this.get("itemsGroup").get("children"),i=void 0;n.forEach(function(t){(i=c(t,"legend-marker")).get("oriStroke")||(i.attr("stroke")?i.set("oriStroke",i.attr("stroke")):i.set("oriStroke",""))})}},u._formatItemValue=function(t){var e=this.get("formatter")||this.get("itemFormatter");return e&&(t=e.call(this,t)),t},u._getNextX=function(){var t=this.get("layout"),e=this.get("itemGap"),n=this.get("itemsGroup"),i=this.get("itemWidth"),o=n.get("children"),a=0;return"horizontal"===t&&r.each(o,function(t){a+=(i||t.getBBox().width)+e}),a},u._getNextY=function(){var t=this.get("itemMarginBottom"),e=this.get("titleShape")?this.get("titleGap"):0,n=this.get("layout"),i=this.get("itemsGroup"),o=this.get("titleShape"),a=i.get("children"),u=e;return o&&(u+=o.getBBox().height),"vertical"===n&&r.each(a,function(e){u+=e.getBBox().height+t}),u},u._addItem=function(t){var e=this.get("itemsGroup"),n=this._getNextX(),i=this._getNextY(),a=this.get("unCheckColor"),u=e.addGroup({x:n,y:i,value:t.value,checked:t.checked});u.set("viewId",this.get("viewId"));var s=this.get("textStyle"),c=this.get("_wordSpaceing"),l=0;if(t.marker){var f=r.mix({},t.marker,{x:t.marker.radius+n,y:i});t.checked||(f.fill&&(f.fill=a),f.stroke&&(f.stroke=a));var h=u.addShape("marker",{type:"marker",attrs:f});h.attr("cursor","pointer"),h.name="legend-marker",l+=h.getBBox().width+c}var d=r.mix({},{fill:"#333",fontSize:12,textAlign:"start",textBaseline:"middle",fontFamily:o},s,{x:l+n,y:i,text:this._formatItemValue(t.value)});t.checked||r.mix(d,{fill:a});var p=u.addShape("text",{attrs:d});p.attr("cursor","pointer"),p.name="legend-text",this.get("appendInfo")&&p.setSilent("appendInfo",this.get("appendInfo"));var v=u.getBBox(),g=this.get("itemWidth"),y=u.addShape("rect",{attrs:{x:n,y:i-v.height/2,fill:"#fff",fillOpacity:0,width:g||v.width,height:v.height}});return y.attr("cursor","pointer"),y.setSilent("origin",t),y.name="legend-item",this.get("appendInfo")&&y.setSilent("appendInfo",this.get("appendInfo")),u.name="legendGroup",u},u._adjustHorizontal=function(){var t=this.get("itemsGroup"),e=t.get("children"),n=this.get("maxLength"),i=this.get("itemGap"),o=this.get("itemMarginBottom"),a=this.get("titleShape")?this.get("titleGap"):0,u=0,s=0,c=void 0,l=void 0,f=void 0,h=this.get("itemWidth");t.getBBox().width>n&&r.each(e,function(t){f=t.getBBox(),c=h||f.width,l=f.height+o,n-s<c&&(u++,s=0),t.move(s,u*l+a),s+=c+i})},u._adjustVertical=function(){var t=this.get("itemsGroup"),e=this.get("titleShape"),n=t.get("children"),i=this.get("maxLength"),o=this.get("itemGap"),a=this.get("itemMarginBottom"),u=this.get("titleGap"),s=e?e.getBBox().height+u:0,c=this.get("itemWidth"),l=s,f=void 0,h=void 0,d=void 0,p=0,v=0;t.getBBox().height>i&&r.each(n,function(t){d=t.getBBox(),f=d.width,h=d.height,c?p=c+o:f>p&&(p=f+o),i-l<h?(l=s,v+=p,t.move(v,s)):t.move(v,l),l+=h+a})},u._adjustItems=function(){"horizontal"===this.get("layout")?this._adjustHorizontal():this._adjustVertical()},u.getWidth=function(){return t.prototype.getWidth.call(this)},u.getHeight=function(){return t.prototype.getHeight.call(this)},u.move=function(e,n){t.prototype.move.call(this,e,n)},i}(i);t.exports=l},function(t,e,n){function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var i=n(36),o=n(115),a=n(116),u=n(117),s=n(68),c=n(3),l=n(19).FONT_FAMILY,f=c.DomUtil,h=c.MatrixUtil,d=function(t){var e,n;n=t,(e=d).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=d.prototype;function d(e){var n;n=t.call(this,e)||this,c.assign(r(r(n)),u),c.assign(r(r(n)),a);var i=n.get("crosshairs");if(i){var s="rect"===i.type?n.get("backPlot"):n.get("frontPlot"),l=new o(c.mix({plot:s,plotRange:n.get("plotRange"),canvas:n.get("canvas")},n.get("crosshairs")));l.hide(),n.set("crosshairGroup",l)}return n._init_(),n.get("items")&&n.render(),n}return s.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return c.mix({},e,{boardStyle:{x:0,y:0,width:100,height:100,fill:"rgba(255, 255, 255, 0.9)",radius:4,stroke:"#e2e2e2",lineWidth:1},titleStyle:{fontFamily:l,text:"",textBaseline:"top",fontSize:12,fill:"rgb(87, 87, 87)",lineHeight:20,padding:20},markerStyle:{radius:4},nameStyle:{fontFamily:l,fontSize:12,fill:"rgb(87, 87, 87)",textBaseline:"middle",textAlign:"start",padding:8},valueStyle:{fontFamily:l,fontSize:12,fill:"rgb(87, 87, 87)",textBaseline:"middle",textAlign:"start",padding:30},padding:{top:20,right:20,bottom:20,left:20},itemGap:10,animationDuration:200})},s._init_=function(){var t=this.get("padding"),e=this.get("frontPlot"),n=e.addGroup({capture:!1});this.set("markerGroup",n);var r=e.addGroup();r.hide(),this.set("container",r);var i=r.addShape("rect",{attrs:c.mix({},this.get("boardStyle"))});this.set("board",i);var o=this.get("titleStyle");if(this.get("showTitle")){var a=r.addShape("text",{attrs:c.mix({x:t.left,y:t.top},o)});this.set("titleShape",a),a.name="tooltip-title"}var u=r.addGroup();u.move(t.left,t.top+o.lineHeight+o.padding),this.set("itemsGroup",u)},s.render=function(){var t=this;t.clear();var e=t.get("container"),n=t.get("board"),r=t.get("showTitle"),i=t.get("titleContent"),o=this.get("titleShape"),a=this.get("itemsGroup"),u=t.get("items"),s=t.get("padding");if(o&&r&&o.attr("text",i),a){var l=t.get("itemGap"),f=0;c.each(u,function(e){var n=t._addItem(e);n.move(0,f),a.add(n);var r=n.getBBox().height;f+=r+l})}var h=e.getBBox(),d=h.width+s.right,p=h.height+s.bottom;n.attr("width",d),n.attr("height",p),t._alignToRight(d)},s.clear=function(){var t=this.get("titleShape"),e=this.get("itemsGroup"),n=this.get("board");t.text="",e.clear(),n.attr("width",0),n.attr("height",0)},s.show=function(){this.get("container").show();var e=this.get("crosshairGroup");e&&e.show();var n=this.get("markerGroup");n&&n.show(),t.prototype.show.call(this),this.get("canvas").draw()},s.hide=function(){this.get("container").hide();var e=this.get("crosshairGroup");e&&e.hide();var n=this.get("markerGroup");n&&n.hide(),t.prototype.hide.call(this),this.get("canvas").draw()},s.destroy=function(){var e=this.get("container"),n=this.get("crosshairGroup");n&&n.destroy();var r=this.get("markerGroup");r&&r.remove(),t.prototype.destroy.call(this),e.remove()},s.setPosition=function(e,n,r){var i,o=this.get("container"),a=this.get("canvas").get("el"),u=f.getWidth(a),s=f.getHeight(a),l=o.getBBox(),d=l.width,p=l.height,v=e,g=n;if(this.get("position")){var y=l.width,m=l.height;e=(i=this._calcTooltipPosition(e,n,this.get("position"),y,m,r))[0],n=i[1]}else e=(i=this._constraintPositionInBoundary(e,n,d,p,u,s))[0],n=i[1];if(this.get("inPlot")){var b=this.get("plotRange");e=(i=this._constraintPositionInPlot(e,n,d,p,b,this.get("enterable")))[0],n=i[1]}var x=this.get("markerItems");c.isEmpty(x)||(v=x[0].x,g=x[0].y);var w=h.transform([1,0,0,0,1,0,0,0,1],[["t",e,n]]);o.stopAnimate(),o.animate({matrix:w},this.get("animationDuration"));var _=this.get("crosshairGroup");if(_){var S=this.get("items");_.setPosition(v,g,S)}t.prototype.setPosition.call(this,e,n)},s._addItem=function(t){var e=new i.Group,n=this.get("markerStyle").radius;if(t.marker){var r=c.mix({},t.marker,{x:t.marker.radius/2,y:0});e.addShape("marker",{attrs:r}),n=t.marker.radius}var o=this.get("nameStyle");e.addShape("text",{attrs:c.mix({x:n+o.padding,y:0,text:t.name},o)});var a=this.get("valueStyle");return e.addShape("text",{attrs:c.mix({x:e.getBBox().width+a.padding,y:0,text:t.value},a)}),e},s._alignToRight=function(t){var e=this,n=this.get("itemsGroup").get("children");c.each(n,function(n){var r=n.get("children")[2],i=r.getBBox().width,o=t-i-2*e.get("padding").right;r.attr("x",o)})},d}(s);t.exports=d},function(t,e,n){var r=n(35),i=n(3),o=function(t){var e,n;n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=o.prototype;function o(e){var n;return(n=t.call(this,e)||this)._init_(),n.render(),n}return r.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return i.mix({},e,{type:null,plot:null,plotRange:null,rectStyle:{fill:"#CCD6EC",opacity:.3},lineStyle:{stroke:"rgba(0, 0, 0, 0.25)",lineWidth:1},isTransposed:!1})},r._init_=function(){var t,e=this.get("plot");t="rect"===this.type?e.addGroup({zIndex:0}):e.addGroup(),this.set("container",t)},r._addLineShape=function(t,e){var n=this.get("container").addShape("line",{capture:!1,attrs:t});return this.set("crossLineShape"+e,n),n},r._renderHorizontalLine=function(t,e){var n=i.mix(this.get("lineStyle"),this.get("style")),r=i.mix({x1:e?e.bl.x:t.get("width"),y1:0,x2:e?e.br.x:0,y2:0},n);this._addLineShape(r,"X")},r._renderVerticalLine=function(t,e){var n=i.mix(this.get("lineStyle"),this.get("style")),r=i.mix({x1:0,y1:e?e.bl.y:t.get("height"),x2:0,y2:e?e.tl.y:0},n);this._addLineShape(r,"Y")},r._renderBackground=function(t,e){var n=i.mix(this.get("rectStyle"),this.get("style")),r=this.get("container"),o=i.mix({x:e?e.tl.x:0,y:e?e.tl.y:t.get("height"),width:e?e.br.x-e.bl.x:t.get("width"),height:e?Math.abs(e.tl.y-e.bl.y):t.get("height")},n),a=r.addShape("rect",{attrs:o,capture:!1});return this.set("crosshairsRectShape",a),a},r._updateRectShape=function(t){var e,n=this.get("crosshairsRectShape"),r=this.get("isTransposed"),o=t[0],a=t[t.length-1],u=r?"y":"x",s=r?"height":"width",c=o[u];if(t.length>1&&o[u]>a[u]&&(c=a[u]),this.get("width"))n.attr(u,c-this.get("crosshairs").width/2),n.attr(s,this.get("width"));else if(i.isArray(o.point[u])&&!o.size){var l=o.point[u][1]-o.point[u][0];n.attr(u,o.point[u][0]),n.attr(s,l)}else e=3*o.size/4,n.attr(u,c-e),1===t.length?n.attr(s,3*o.size/2):n.attr(s,Math.abs(a[u]-o[u])+2*e)},r.render=function(){var t=this.get("canvas"),e=this.get("plotRange"),n=this.get("isTransposed");switch(this.clear(),this.get("type")){case"x":this._renderHorizontalLine(t,e);break;case"y":this._renderVerticalLine(t,e);break;case"cross":this._renderHorizontalLine(t,e),this._renderVerticalLine(t,e);break;case"rect":this._renderBackground(t,e);break;default:n?this._renderHorizontalLine(t,e):this._renderVerticalLine(t,e)}},r.show=function(){var e=this.get("container");t.prototype.show.call(this),e.show()},r.hide=function(){var e=this.get("container");t.prototype.hide.call(this),e.hide()},r.clear=function(){var e=this.get("container");this.set("crossLineShapeX",null),this.set("crossLineShapeY",null),this.set("crosshairsRectShape",null),t.prototype.clear.call(this),e.clear()},r.destroy=function(){var e=this.get("container");t.prototype.destroy.call(this),e.remove()},r.setPosition=function(t,e,n){var r=this.get("crossLineShapeX"),i=this.get("crossLineShapeY"),o=this.get("crosshairsRectShape");i&&!i.get("destroyed")&&i.move(t,0),r&&!r.get("destroyed")&&r.move(0,e),o&&!o.get("destroyed")&&this._updateRectShape(n)},o}(r);t.exports=o},function(t,e,n){var r=n(3),i={setMarkers:function(t,e){var n=this.get("markerGroup"),i=this.get("frontPlot");n?n.clear():(n=i.addGroup({zIndex:1,capture:!1}),this.set("markerGroup",n)),r.each(t,function(t){n.addShape("marker",{color:t.color,attrs:r.mix({fill:t.color,symbol:"circle",shadowColor:t.color},e,{x:t.x,y:t.y})})}),this.set("markerItems",t)},clearMarkers:function(){var t=this.get("markerGroup");t&&t.clear()}};t.exports=i},function(t,e){var n={_calcTooltipPosition:function(t,e,n,r,i,o){var a=0,u=0,s=20;if(o){var c=o.getBBox();a=c.width,u=c.height,t=c.x,e=c.y,s=5}switch(n){case"inside":t=t+a/2-r/2,e=e+u/2-i/2;break;case"top":t=t+a/2-r/2,e=e-i-s;break;case"left":t=t-r-s,e=e+u/2-i/2;break;case"right":t=t+a+s,e=e+u/2-i/2;break;case"bottom":default:t=t+a/2-r/2,e=e+u+s}return[t,e]},_constraintPositionInBoundary:function(t,e,n,r,i,o){return t+n+20>i?t=(t-=n+20)<0?0:t:t+20<0?t=20:t+=20,e+r+20>o?e=(e-=r+20)<0?0:e:e+20<0?e=20:e+=20,[t,e]},_constraintPositionInPlot:function(t,e,n,r,i,o){return t+n>i.tr.x&&(t-=n+40),t<i.tl.x&&(t=i.tl.x),o||(e+r>i.bl.y&&(e-=r+40),e<i.tl.y&&(e=i.tl.y)),[t,e]}};t.exports=n},function(t,e,n){var r=n(0),i=n(269),o={appear:{duration:450,easing:"easeQuadOut"},update:{duration:450,easing:"easeQuadInOut"},enter:{duration:400,easing:"easeQuadInOut",delay:100},leave:{duration:350,easing:"easeQuadIn"}},a={line:{appear:function(){return i.appear.clipIn},enter:function(){return i.enter.clipIn},leave:function(){return i.leave.lineWidthOut}},path:{appear:function(){return i.appear.clipIn},enter:function(){return i.enter.clipIn},leave:function(){return i.leave.lineWidthOut}},area:{appear:function(){return i.appear.clipIn},enter:function(){return i.enter.fadeIn},leave:function(){return i.leave.fadeOut},cfg:{appear:{duration:500,easing:"easeQuadOut"},update:{duration:450,easing:"easeQuadInOut"},enter:{duration:600,delay:150,easing:"easeQuadInOut"},leave:{easing:"easeQuadOut",duration:350}}},polygon:{appear:function(){return i.appear.zoomIn},enter:function(){return i.enter.zoomIn},leave:function(){return i.leave.zoomOut}},edge:{appear:function(){return i.appear.pathIn},enter:function(){return i.enter.pathIn},leave:function(){return i.leave.pathOut}},interval:{appear:function(t){var e;return t.isPolar?(e=i.appear.zoomIn,(t.isTransposed||"theta"===t.type)&&(e=i.appear.fanIn)):e=t.isRect?t.isTransposed?i.appear.scaleInX:i.appear.scaleInY:i.appear.zoomIn,e},enter:function(t){return t.isRect||t.isTransposed||"theta"===t.type?i.enter.fadeIn:i.enter.zoomIn},leave:function(){return i.leave.fadeOut},update:function(t){if("theta"===t.type)return i.update.fanIn}},point:{appear:function(){return i.appear.zoomIn},enter:function(){return i.enter.zoomIn},leave:function(){return i.leave.zoomOut}},schema:{appear:function(){return i.appear.clipIn},enter:function(){return i.enter.clipIn},leave:function(){return i.leave.lineWidthOut}},contour:null,heatmap:null,label:{appear:function(){return i.appear.fadeIn},enter:function(){return i.enter.fadeIn},leave:function(){return i.leave.fadeOut},cfg:{appear:{duration:900}}},"axis-label":{enter:function(){return i.appear.fadeIn},leave:function(){return i.leave.fadeOut},update:function(t){if(t.isPolar)return i.appear.fadeIn}},"axis-ticks":{enter:function(){return i.appear.fadeIn},leave:function(){return i.leave.fadeOut},update:function(t){if(t.isPolar)return i.appear.fadeIn}},"axis-grid":{enter:function(){return i.appear.fadeIn},leave:function(){return i.leave.fadeOut},update:function(t){if(t.isPolar)return i.appear.fadeIn}},"axis-grid-rect":{enter:function(){return i.appear.fadeIn},leave:function(){return i.leave.fadeOut},update:function(){return i.leave.fadeIn}},labelLine:{appear:function(){return i.appear.pathIn},enter:function(){return i.enter.pathIn},leave:function(){return i.leave.pathOut}}};a.Action=i,a.defaultCfg=o,a.getAnimation=function(t,e,n){var i=this[t];if(i){var o=i[n];if(r.isFunction(o))return o(e)}return!1},a.getAnimateCfg=function(t,e){var n=o[e];return this[t]&&this[t].cfg&&this[t].cfg[e]?r.deepMix({},n,this[t].cfg[e]):n},a.registerAnimation=function(t,e,n){this.Action[t]||(this.Action[t]={}),this.Action[t][e]=n},t.exports=a},function(t,e,n){var r=n(104),i=n(0),o=function(t){var e,n;n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=o.prototype;function o(e){var n,r={visible:!0},o=(n=t.call(this)||this).getDefaultCfg();return n._attrs=r,i.assign(r,o,e),n}return r.getDefaultCfg=function(){return{}},r.get=function(t){return this._attrs[t]},r.set=function(t,e){this._attrs[t]=e},r.show=function(){this.get("visible")||(this.set("visible",!0),this.changeVisible(!0))},r.hide=function(){this.get("visible")&&(this.set("visible",!1),this.changeVisible(!1))},r.changeVisible=function(){},r.destroy=function(){this._attrs={},this.removeAllListeners(),this.destroyed=!0},o}(r);t.exports=o},function(t,e,n){t.exports={Scale:n(276),Coord:n(272),Axis:n(271),Guide:n(274),Legend:n(275),Tooltip:n(277),Event:n(273)}},function(t,e,n){var r=n(16),i=n(0),o=n(122);function a(t,e,n){void 0===n&&(n=1);var r=[t.x,t.y,n];return i.vec3.transformMat3(r,r,e),{x:r[0],y:r[1]}}t.exports=function(t,e){var n=e;return i.each(t.get("children"),function(t){t instanceof r.Group&&i.each(t.get("children"),function(t){if(t instanceof r.Group&&t.get("children").length||t instanceof r.Path)n=o(n,t.getBBox());else if(t instanceof r.Text){var e=function(t){var e=t.getBBox(),n={x:e.minX,y:e.minY},r={x:e.maxX,y:e.maxY},i=t.attr("matrix");return n=a(n,i),r=a(r,i),{minX:n.x,minY:n.y,maxX:r.x,maxY:r.y}}(t),u=Math.abs(e.maxX-e.minX),s=Math.abs(e.maxY-e.minY);n=o(n,u<s?i.mix(n,{minX:Math.min(n.minX,e.minX),maxX:Math.max(n.maxX,e.maxX)}):i.mix(n,{minY:Math.min(n.minY,e.minY),maxY:Math.max(n.maxY,e.maxY)}))}})}),n}},function(t,e){t.exports=function(t,e){return{minX:Math.min(t.minX,e.minX),minY:Math.min(t.minY,e.minY),maxX:Math.max(t.maxX,e.maxX),maxY:Math.max(t.maxY,e.maxY)}}},function(t,e){t.exports=function(t){return{minX:t.tl.x,minY:t.tl.y,maxX:t.br.x,maxY:t.br.y}}},function(t,e,n){var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="list",e.cols=null,e},i.generateFacets=function(t){var e=this,n=e.fields[0];if(!n)throw"Please specify for the field for facet!";var r=e.getFieldValues(n,t),i=r.length,o=e.cols||i,a=parseInt((i+o-1)/o),u=[];return r.forEach(function(s,c){var l=parseInt(c/o),f=c%o,h=[{field:n,value:s,values:r}],d=e.getFilter(h),p=t.filter(d),v={type:e.type,count:i,colValue:s,colField:n,rowField:null,rowValue:s,colIndex:f,rowIndex:l,cols:o,rows:a,data:p,region:e.getRegion(a,o,f,l)};u.push(v)}),u},i.setXAxis=function(t,e,n){n.rowIndex!==n.rows-1&&n.cols*n.rowIndex+n.colIndex+1+n.cols<=n.count&&(e[t].label=null,e[t].title=null)},i.setYAxis=function(t,e,n){0!==n.colIndex&&(e[t].title=null,e[t].label=null)},r}(n(46));t.exports=r},function(t,e,n){var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="rect",e},i.generateFacets=function(t){var e=this,n=e.fields,r=[],i=1,o=1,a=n[0],u=n[1],s=[""],c=[""];return a&&(s=e.getFieldValues(a,t),o=s.length),u&&(c=e.getFieldValues(u,t),i=c.length),s.forEach(function(n,l){c.forEach(function(f,h){var d=[{field:a,value:n,values:s},{field:u,value:f,values:c}],p=e.getFilter(d),v=t.filter(p),g={type:e.type,colValue:n,rowValue:f,colField:a,rowField:u,colIndex:l,rowIndex:h,cols:o,rows:i,data:v,region:e.getRegion(i,o,l,h)};r.push(g)})}),r},i.setXAxis=function(t,e,n){n.rowIndex!==n.rows-1?(e[t].title=null,e[t].label=null):n.colIndex!==parseInt((n.cols-1)/2)&&(e[t].title=null)},i.setYAxis=function(t,e,n){0!==n.colIndex?(e[t].title=null,e[t].label=null):n.rowIndex!==parseInt((n.rows-1)/2)&&(e[t].title=null)},i.renderTitle=function(t,e){0===e.rowIndex&&this.drawColTitle(t,e),e.colIndex===e.cols-1&&this.drawRowTitle(t,e)},r}(n(46));t.exports=r},function(t,e,n){var r=n(69),i=n(25),o=n(0),a=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getPointRauis=function(t,e){return i.getPointRadius(t,e)},a.getCirclePoint=function(t,e,n){var r=this.get("coord"),i=r.getCenter(),o=this._isEmitLabels(),a=this.getPointRauis(r,n);if(0===a)return null;r.isTransposed&&a>e&&!o?t+=2*Math.asin(e/(2*a)):a+=e;return{x:i.x+a*Math.cos(t),y:i.y+a*Math.sin(t),angle:t,r:a}},a.getArcPoint=function(t,e){var n;return e=e||0,n=o.isArray(t.x)||o.isArray(t.y)?{x:o.isArray(t.x)?t.x[e]:t.x,y:o.isArray(t.y)?t.y[e]:t.y}:t,this.transLabelPoint(n),n},a.getPointAngle=function(t){var e=this.get("coord");return i.getPointAngle(e,t)},a.getMiddlePoint=function(t){var e=this.get("coord"),n=t.length,r={x:0,y:0};return o.each(t,function(t){r.x+=t.x,r.y+=t.y}),r.x/=n,r.y/=n,r=e.convert(r)},a._isToMiddle=function(t){return t.x.length>2},a.getLabelPoint=function(t,e,n){var r,i=t.text[n],o=1;this._isToMiddle(e)?r=this.getMiddlePoint(e.points):(1===t.text.length&&0===n?n=1:0===n&&(o=-1),r=this.getArcPoint(e,n));var a=this.getDefaultOffset(t);a*=o;var u=this.getPointAngle(r),s=this.getCirclePoint(u,a,r);if(s?(s.text=i,s.angle=u,s.color=e.color):s={text:""},t.autoRotate||void 0===t.autoRotate){var c=s.textStyle?s.textStyle.rotate:null;c||(c=s.rotate||this.getLabelRotate(u,a,e)),s.rotate=c}return s.start={x:r.x,y:r.y},s},a._isEmitLabels=function(){return this.get("label").labelEmit},a.getLabelRotate=function(t){var e;return e=180*t/Math.PI,e+=90,this._isEmitLabels()&&(e-=90),e&&(e>90?e-=180:e<-90&&(e+=180)),e/180*Math.PI},a.getLabelAlign=function(t){var e,n=this.get("coord");if(this._isEmitLabels())e=t.angle<=Math.PI/2&&t.angle>-Math.PI/2?"left":"right";else if(n.isTransposed){var r=n.getCenter(),i=this.getDefaultOffset(t);e=Math.abs(t.x-r.x)<1?"center":t.angle>Math.PI||t.angle<=0?i>0?"left":"right":i>0?"right":"left"}else e="center";return e},r}(r);t.exports=a},function(t,e,n){var r=n(0),i=n(5);t.exports={splitData:function(t){var e=this.get("viewTheme")||i;if(!t.length)return[];var n,o=[],a=[],u=this.getYScale().field;return r.each(t,function(t){n=t._origin?t._origin[u]:t[u],e.connectNulls?r.isNil(n)||a.push(t):r.isArray(n)&&r.isNil(n[0])||r.isNil(n)?a.length&&(o.push(a),a=[]):a.push(t)}),a.length&&o.push(a),o}}},function(t,e,n){var r=n(8),i=n(127),o=n(0),a=function(t){var e,n;n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=a.prototype;function a(e){var n;return n=t.call(this,e)||this,o.assign(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n),i),n}return r.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="path",e.shapeType="line",e},r.getDrawCfg=function(e){var n=t.prototype.getDrawCfg.call(this,e);return n.isStack=this.hasStack(),n},r.draw=function(t,e,n,r){var i=this,a=this.splitData(t),u=this.getDrawCfg(t[0]);i._applyViewThemeShapeStyle(u,u.shape,n),u.origin=t,o.each(a,function(t,a){if(!o.isEmpty(t)){u.splitedIndex=a,u.points=t;var s=n.drawShape(u.shape,u,e);i.appendShapeInfo(s,r+a)}})},a}(r);r.Path=a,t.exports=a},function(t,e){var n,r,i='"-apple-system", BlinkMacSystemFont, "Segoe UI", Roboto,"Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",SimSun, "sans-serif"',o={defaultColor:"#1890FF",plotCfg:{padding:[20,20,95,80]},fontFamily:i,defaultLegendPosition:"bottom",colors:["#1890FF","#2FC25B","#FACC14","#223273","#8543E0","#13C2C2","#3436C7","#F04864"],colors_16:["#1890FF","#41D9C7","#2FC25B","#FACC14","#E6965C","#223273","#7564CC","#8543E0","#5C8EE6","#13C2C2","#5CA3E6","#3436C7","#B381E6","#F04864","#D598D9"],colors_24:["#1890FF","#66B5FF","#41D9C7","#2FC25B","#6EDB8F","#9AE65C","#FACC14","#E6965C","#57AD71","#223273","#738AE6","#7564CC","#8543E0","#A877ED","#5C8EE6","#13C2C2","#70E0E0","#5CA3E6","#3436C7","#8082FF","#DD81E6","#F04864","#FA7D92","#D598D9"],colors_pie:["#1890FF","#13C2C2","#2FC25B","#FACC14","#F04864","#8543E0","#3436C7","#223273"],colors_pie_16:["#1890FF","#73C9E6","#13C2C2","#6CD9B3","#2FC25B","#9DD96C","#FACC14","#E6965C","#F04864","#D66BCA","#8543E0","#8E77ED","#3436C7","#737EE6","#223273","#7EA2E6"],shapes:{point:["hollowCircle","hollowSquare","hollowDiamond","hollowBowtie","hollowTriangle","hollowHexagon","cross","tick","plus","hyphen","line"],line:["line","dash","dot"],area:["area"]},sizes:[1,10],opacities:[.1,.9],axis:{top:{position:"top",title:null,label:{offset:16,textStyle:{fill:"#545454",fontSize:12,lineHeight:16,textBaseline:"middle",fontFamily:i},autoRotate:!0},line:{lineWidth:1,stroke:"#BFBFBF"},tickLine:{lineWidth:1,stroke:"#BFBFBF",length:4,alignWithLabel:!0}},bottom:{position:"bottom",title:null,label:{offset:16,autoRotate:!0,textStyle:{fill:"#545454",fontSize:12,lineHeight:16,textBaseline:"middle",fontFamily:i}},line:{lineWidth:1,stroke:"#BFBFBF"},tickLine:{lineWidth:1,stroke:"#BFBFBF",length:4,alignWithLabel:!0}},left:{position:"left",title:null,label:{offset:8,autoRotate:!0,textStyle:{fill:"#545454",fontSize:12,lineHeight:16,textBaseline:"middle",fontFamily:i}},line:null,tickLine:null,grid:{zIndex:-1,lineStyle:{stroke:"#E9E9E9",lineWidth:1,lineDash:[3,3]},hideFirstLine:!0}},right:{position:"right",title:null,label:{offset:8,autoRotate:!0,textStyle:{fill:"#545454",fontSize:12,lineHeight:16,textBaseline:"middle",fontFamily:i}},line:null,tickLine:null,grid:{lineStyle:{stroke:"#E9E9E9",lineWidth:1,lineDash:[3,3]},hideFirstLine:!0}},circle:{zIndex:1,title:null,label:{offset:8,textStyle:{fill:"#545454",fontSize:12,lineHeight:16,fontFamily:i}},line:{lineWidth:1,stroke:"#BFBFBF"},tickLine:{lineWidth:1,stroke:"#BFBFBF",length:4,alignWithLabel:!0},grid:{lineStyle:{stroke:"#E9E9E9",lineWidth:1,lineDash:[3,3]},hideFirstLine:!0}},radius:{zIndex:0,label:{offset:12,textStyle:{fill:"#545454",fontSize:12,textBaseline:"middle",lineHeight:16,fontFamily:i}},line:{lineWidth:1,stroke:"#BFBFBF"},tickLine:{lineWidth:1,stroke:"#BFBFBF",length:4,alignWithLabel:!0},grid:{lineStyle:{stroke:"#E9E9E9",lineWidth:1,lineDash:[3,3]},type:"circle"}},helix:{grid:null,label:null,title:null,line:{lineWidth:1,stroke:"#BFBFBF"},tickLine:{lineWidth:1,length:4,stroke:"#BFBFBF",alignWithLabel:!0}}},label:{offset:20,textStyle:{fill:"#545454",fontSize:12,textBaseline:"middle",fontFamily:i}},treemapLabels:{offset:10,textStyle:{fill:"#fff",fontSize:12,textBaseline:"top",fontStyle:"bold",fontFamily:i}},innerLabels:{textStyle:{fill:"#fff",fontSize:12,textBaseline:"middle",fontFamily:i}},thetaLabels:{labelHeight:14,offset:30},legend:{right:{position:"right",layout:"vertical",itemMarginBottom:8,width:16,height:156,title:null,legendStyle:{LIST_CLASS:{textAlign:"left"}},textStyle:{fill:"#8C8C8C",fontSize:12,textAlign:"start",textBaseline:"middle",lineHeight:0,fontFamily:i},unCheckColor:"#bfbfbf"},left:{position:"left",layout:"vertical",itemMarginBottom:8,width:16,height:156,title:null,textStyle:{fill:"#8C8C8C",fontSize:12,textAlign:"start",textBaseline:"middle",lineHeight:20,fontFamily:i},unCheckColor:"#bfbfbf"},top:{position:"top",offset:[0,6],layout:"horizontal",title:null,itemGap:10,width:156,height:16,textStyle:{fill:"#8C8C8C",fontSize:12,textAlign:"start",textBaseline:"middle",lineHeight:20,fontFamily:i},unCheckColor:"#bfbfbf"},bottom:{position:"bottom",offset:[0,6],layout:"horizontal",title:null,itemGap:10,width:156,height:16,textStyle:{fill:"#8C8C8C",fontSize:12,textAlign:"start",textBaseline:"middle",lineHeight:20,fontFamily:i},unCheckColor:"#bfbfbf"},html:(n={},n["g2-legend"]={height:"auto",width:"auto",position:"absolute",overflow:"auto",fontSize:"12px",fontFamily:i,lineHeight:"20px",color:"#8C8C8C"},n["g2-legend-title"]={marginBottom:"4px"},n["g2-legend-list"]={listStyleType:"none",margin:0,padding:0},n["g2-legend-list-item"]={cursor:"pointer",marginBottom:"5px",marginRight:"24px"},n["g2-legend-marker"]={width:"9px",height:"9px",borderRadius:"50%",display:"inline-block",marginRight:"8px",verticalAlign:"middle"},n),gradient:{textStyle:{fill:"#8C8C8C",fontSize:12,textAlign:"center",textBaseline:"middle",lineHeight:20,fontFamily:i},lineStyle:{lineWidth:1,stroke:"#fff"},unCheckColor:"#bfbfbf"},margin:[0,5,24,5],legendMargin:24},tooltip:(r={useHtml:!0,crosshairs:!1,offset:15},r["g2-tooltip"]={position:"absolute",visibility:"hidden",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:i,lineHeight:"20px",padding:"10px 10px 6px 10px"},r["g2-tooltip-title"]={marginBottom:"4px"},r["g2-tooltip-list"]={margin:0,listStyleType:"none",padding:0},r["g2-tooltip-list-item"]={marginBottom:"4px"},r["g2-tooltip-marker"]={width:"5px",height:"5px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},r["g2-tooltip-value"]={display:"inline-block",float:"right",marginLeft:"30px"},r),tooltipMarker:{symbol:function(t,e,n){return[["M",t,e],["m",-n,0],["a",n,n,0,1,0,2*n,0],["a",n,n,0,1,0,2*-n,0]]},stroke:"#fff",shadowBlur:10,shadowOffsetX:0,shadowOffSetY:0,shadowColor:"rgba(0,0,0,0.09)",lineWidth:2,radius:4},tooltipCrosshairsRect:{type:"rect",rectStyle:{fill:"#CCD6EC",opacity:.3}},tooltipCrosshairsLine:{lineStyle:{stroke:"rgba(0, 0, 0, 0.25)",lineWidth:1}},shape:{point:{lineWidth:1,fill:"#1890FF",radius:4},hollowPoint:{fill:"#fff",lineWidth:1,stroke:"#1890FF",radius:3},interval:{lineWidth:0,fill:"#1890FF",fillOpacity:.85},hollowInterval:{fill:"#fff",stroke:"#1890FF",fillOpacity:0,lineWidth:2},area:{lineWidth:0,fill:"#1890FF",fillOpacity:.6},polygon:{lineWidth:0,fill:"#1890FF",fillOpacity:1},hollowPolygon:{fill:"#fff",stroke:"#1890FF",fillOpacity:0,lineWidth:2},hollowArea:{fill:"#fff",stroke:"#1890FF",fillOpacity:0,lineWidth:2},line:{stroke:"#1890FF",lineWidth:2,fill:null},edge:{stroke:"#1890FF",lineWidth:1,fill:null},schema:{stroke:"#1890FF",lineWidth:1,fill:null}},guide:{line:{lineStyle:{stroke:"rgba(0, 0, 0, .65)",lineDash:[2,2],lineWidth:1},text:{position:"start",autoRotate:!0,style:{fill:"rgba(0, 0, 0, .45)",fontSize:12,textAlign:"start",fontFamily:i,textBaseline:"bottom"}}},text:{style:{fill:"rgba(0,0,0,.5)",fontSize:12,textBaseline:"middle",textAlign:"start",fontFamily:i}},region:{style:{lineWidth:0,fill:"#000",fillOpacity:.04}},html:{alignX:"middle",alignY:"middle"},dataRegion:{style:{region:{lineWidth:0,fill:"#000000",opacity:.04},text:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:"rgba(0, 0, 0, .65)"}}},dataMarker:{top:!0,style:{point:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2},line:{stroke:"#A3B1BF",lineWidth:1},text:{fill:"rgba(0, 0, 0, .65)",opacity:1,fontSize:12,textAlign:"start"}},display:{point:!0,line:!0,text:!0},lineLength:20,direction:"upward",autoAdjust:!0}},pixelRatio:null};t.exports=o},function(t,e,n){var r={default:n(129),dark:n(326)};t.exports=r},function(t,e,n){var r=n(1),i=n(329),o=n(332),a=n(328),u=n(104),s=function(t){this._cfg={zIndex:0,capture:!0,visible:!0,destroyed:!1},r.assign(this._cfg,this.getDefaultCfg(),t),this.initAttrs(this._cfg.attrs),this._cfg.attrs={},this.initTransform(),this.init()};s.CFG={id:null,zIndex:0,canvas:null,parent:null,capture:!0,context:null,visible:!0,destroyed:!1},r.augment(s,i,o,u,a,{init:function(){this.setSilent("animable",!0),this.setSilent("animating",!1)},getParent:function(){return this._cfg.parent},getDefaultCfg:function(){return{}},set:function(t,e){return"zIndex"===t&&this._beforeSetZIndex&&this._beforeSetZIndex(e),"loading"===t&&this._beforeSetLoading&&this._beforeSetLoading(e),this._cfg[t]=e,this},setSilent:function(t,e){this._cfg[t]=e},get:function(t){return this._cfg[t]},show:function(){return this._cfg.visible=!0,this},hide:function(){return this._cfg.visible=!1,this},remove:function(t,e){var n=this._cfg,i=n.parent,o=n.el;return i&&r.remove(i.get("children"),this),o&&(e?i&&i._cfg.tobeRemoved.push(o):o.parentNode.removeChild(o)),(t||void 0===t)&&this.destroy(),this},destroy:function(){this.get("destroyed")||(this._attrs=null,this.removeEvent(),this._cfg={destroyed:!0})},toFront:function(){var t=this._cfg,e=t.parent;if(e){var n=e._cfg.children,r=t.el,i=n.indexOf(this);n.splice(i,1),n.push(this),r&&(r.parentNode.removeChild(r),t.el=null)}},toBack:function(){var t=this._cfg,e=t.parent;if(e){var n=e._cfg.children,r=t.el,i=n.indexOf(this);if(n.splice(i,1),n.unshift(this),r){var o=r.parentNode;o.removeChild(r),o.insertBefore(r,o.firstChild)}}},_beforeSetZIndex:function(t){var e=this._cfg.parent;this._cfg.zIndex=t,r.isNil(e)||e.sort();var n=this._cfg.el;if(n){var i=e._cfg.children,o=i.indexOf(this),a=n.parentNode;a.removeChild(n),o===i.length-1?a.appendChild(n):a.insertBefore(n,a.childNodes[o])}return t},_setAttrs:function(t){return this.attr(t),t},setZIndex:function(t){return this._cfg.zIndex=t,this._beforeSetZIndex(t)},clone:function(){return r.clone(this)},getBBox:function(){}}),t.exports=s},function(t,e,n){var r=n(1),i=n(131),o=n(346),a={},u="_INDEX";function s(t,e,n){for(var r,i=t.length-1;i>=0;i--){var o=t[i];if(o._cfg.visible&&o._cfg.capture&&(o.isGroup?r=o.getShape(e,n):o.isHit(e,n)&&(r=o)),r)break}return r}var c=function t(e){t.superclass.constructor.call(this,e),this.set("children",[]),this.set("tobeRemoved",[]),this._beforeRenderUI(),this._renderUI(),this._bindUI()};r.extend(c,i),r.augment(c,{isGroup:!0,type:"group",canFill:!0,canStroke:!0,getDefaultCfg:function(){return function t(e){if(!e._cfg&&e!==c){var n=e.superclass.constructor;n&&!n._cfg&&t(n),e._cfg={},r.merge(e._cfg,n._cfg),r.merge(e._cfg,e.CFG)}}(this.constructor),r.merge({},this.constructor._cfg)},_beforeRenderUI:function(){},_renderUI:function(){},_bindUI:function(){},addShape:function(t,e){var n=this.get("canvas");e=e||{};var i=a[t];if(i||(i=r.upperFirst(t),a[t]=i),e.attrs&&n){var u=e.attrs;if("text"===t){var s=n.get("fontFamily");s&&(u.fontFamily=u.fontFamily?u.fontFamily:s)}}e.canvas=n,e.type=t;var c=new o[i](e);return this.add(c),c},addGroup:function(t,e){var n,i=this.get("canvas");if(e=r.merge({},e),r.isFunction(t))e?(e.canvas=i,e.parent=this,n=new t(e)):n=new t({canvas:i,parent:this}),this.add(n);else if(r.isObject(t))t.canvas=i,n=new c(t),this.add(n);else{if(void 0!==t)return!1;n=new c,this.add(n)}return n},renderBack:function(t,e){var n=this.get("backShape"),i=this.getBBox();return r.merge(e,{x:i.minX-t[3],y:i.minY-t[0],width:i.width+t[1]+t[3],height:i.height+t[0]+t[2]}),n?n.attr(e):n=this.addShape("rect",{zIndex:-1,attrs:e}),this.set("backShape",n),this.sort(),n},removeChild:function(t,e){if(arguments.length>=2)this.contain(t)&&t.remove(e);else{if(1===arguments.length){if(!r.isBoolean(t))return this.contain(t)&&t.remove(!0),this;e=t}0===arguments.length&&(e=!0),c.superclass.remove.call(this,e)}return this},add:function(t){var e=this,n=e.get("children");if(r.isArray(t))r.each(t,function(t){var n=t.get("parent");n&&n.removeChild(t,!1),e._setCfgProperty(t)}),e._cfg.children=n.concat(t);else{var i=t,o=i.get("parent");o&&o.removeChild(i,!1),e._setCfgProperty(i),n.push(i)}return e},_setCfgProperty:function(t){var e=this._cfg;t.set("parent",this),t.set("canvas",e.canvas),e.timeline&&t.set("timeline",e.timeline)},contain:function(t){return this.get("children").indexOf(t)>-1},getChildByIndex:function(t){return this.get("children")[t]},getFirst:function(){return this.getChildByIndex(0)},getLast:function(){var t=this.get("children").length-1;return this.getChildByIndex(t)},getBBox:function(){var t=1/0,e=-1/0,n=1/0,i=-1/0,o=this.get("children");o.length>0?r.each(o,function(r){if(r.get("visible")){if(r.isGroup&&0===r.get("children").length)return;var o=r.getBBox();if(!o)return!0;var a=[o.minX,o.minY,1],u=[o.minX,o.maxY,1],s=[o.maxX,o.minY,1],c=[o.maxX,o.maxY,1];r.apply(a),r.apply(u),r.apply(s),r.apply(c);var l=Math.min(a[0],u[0],s[0],c[0]),f=Math.max(a[0],u[0],s[0],c[0]),h=Math.min(a[1],u[1],s[1],c[1]),d=Math.max(a[1],u[1],s[1],c[1]);l<t&&(t=l),f>e&&(e=f),h<n&&(n=h),d>i&&(i=d)}}):(t=0,e=0,n=0,i=0);var a={minX:t,minY:n,maxX:e,maxY:i};return a.x=a.minX,a.y=a.minY,a.width=a.maxX-a.minX,a.height=a.maxY-a.minY,a},getCount:function(){return this.get("children").length},sort:function(){var t,e=this.get("children");return r.each(e,function(t,e){return t[u]=e,t}),e.sort((t=function(t,e){return t.get("zIndex")-e.get("zIndex")},function(e,n){var r=t(e,n);return 0===r?e[u]-n[u]:r})),this},findById:function(t){return this.find(function(e){return e.get("id")===t})},find:function(t){if(r.isString(t))return this.findById(t);var e=this.get("children"),n=null;return r.each(e,function(e){if(t(e)?n=e:e.find&&(n=e.find(t)),n)return!1}),n},findAll:function(t){var e=this.get("children"),n=[],i=[];return r.each(e,function(e){t(e)&&n.push(e),e.findAllBy&&(i=e.findAllBy(t),n=n.concat(i))}),n},findBy:function(t){var e=this.get("children"),n=null;return r.each(e,function(e){if(t(e)?n=e:e.findBy&&(n=e.findBy(t)),n)return!1}),n},findAllBy:function(t){var e=this.get("children"),n=[],i=[];return r.each(e,function(e){t(e)&&n.push(e),e.findAllBy&&(i=e.findAllBy(t),n=n.concat(i))}),n},getShape:function(t,e){var n,r=this._attrs.clip,i=this._cfg.children;if(r){var o=[t,e,1];r.invert(o,this.get("canvas")),r.isPointInPath(o[0],o[1])&&(n=s(i,t,e))}else n=s(i,t,e);return n},clearTotalMatrix:function(){if(this.get("totalMatrix")){this.setSilent("totalMatrix",null);for(var t=this._cfg.children,e=0;e<t.length;e++){t[e].clearTotalMatrix()}}},clear:function(t){for(var e=this._cfg.children,n=e.length-1;n>=0;n--)e[n].remove(!0,t);return this._cfg.children=[],this},destroy:function(){this.get("destroyed")||(this.clear(),c.superclass.destroy.call(this))},clone:function(){var t=this._cfg.children,e=new c;return r.each(t,function(t){e.add(t.clone())}),e}}),t.exports=c},function(t,e,n){var r=n(1),i=function(t,e,n,r){this.type=t,this.target=null,this.currentTarget=null,this.bubbles=n,this.cancelable=r,this.timeStamp=(new Date).getTime(),this.defaultPrevented=!1,this.propagationStopped=!1,this.removed=!1,this.event=e};r.augment(i,{preventDefault:function(){this.defaultPrevented=this.cancelable&&!0},stopPropagation:function(){this.propagationStopped=!0},remove:function(){this.remove=!0},clone:function(){return r.clone(this)},toString:function(){return"[Event (type="+this.type+")]"}}),t.exports=i},function(t,e,n){var r=n(1),i=n(7),o=n(47),a=n(49);function u(t,e,n){return t+e*Math.cos(n)}function s(t,e,n){return t+e*Math.sin(n)}var c=function t(e){t.superclass.constructor.call(this,e)};c.ATTRS={x:0,y:0,r:0,startAngle:0,endAngle:0,clockwise:!1,lineWidth:1,startArrow:!1,endArrow:!1},r.extend(c,i),r.augment(c,{canStroke:!0,type:"arc",getDefaultAttrs:function(){return{x:0,y:0,r:0,startAngle:0,endAngle:0,clockwise:!1,lineWidth:1,startArrow:!1,endArrow:!1}},calculateBox:function(){var t=this._attrs,e=t.x,n=t.y,r=t.r,i=t.startAngle,a=t.endAngle,u=t.clockwise,s=this.getHitLineWidth()/2,c=o.box(e,n,r,i,a,u);return c.minX-=s,c.minY-=s,c.maxX+=s,c.maxY+=s,c},getStartTangent:function(){var t=this._attrs,e=t.x,n=t.y,r=t.startAngle,i=t.r,o=t.clockwise,a=Math.PI/180;o&&(a*=-1);var c=[],l=u(e,i,r+a),f=s(n,i,r+a),h=u(e,i,r),d=s(n,i,r);return c.push([l,f]),c.push([h,d]),c},getEndTangent:function(){var t=this._attrs,e=t.x,n=t.y,r=t.endAngle,i=t.r,o=t.clockwise,a=Math.PI/180,c=[];o&&(a*=-1);var l=u(e,i,r+a),f=s(n,i,r+a),h=u(e,i,r),d=s(n,i,r);return c.push([h,d]),c.push([l,f]),c},createPath:function(t){var e=this._attrs,n=e.x,r=e.y,i=e.r,o=e.startAngle,a=e.endAngle,u=e.clockwise;(t=t||self.get("context")).beginPath(),t.arc(n,r,i,o,a,u)},afterPath:function(t){var e=this._attrs;if(t=t||this.get("context"),e.startArrow){var n=this.getStartTangent();a.addStartArrow(t,e,n[0][0],n[0][1],n[1][0],n[1][1])}if(e.endArrow){var r=this.getEndTangent();a.addEndArrow(t,e,r[0][0],r[0][1],r[1][0],r[1][1])}}}),t.exports=c},function(t,e,n){var r=n(1),i=n(7),o=function t(e){t.superclass.constructor.call(this,e)};o.ATTRS={x:0,y:0,r:0,lineWidth:1},r.extend(o,i),r.augment(o,{canFill:!0,canStroke:!0,type:"circle",getDefaultAttrs:function(){return{lineWidth:1}},calculateBox:function(){var t=this._attrs,e=t.x,n=t.y,r=t.r,i=this.getHitLineWidth()/2+r;return{minX:e-i,minY:n-i,maxX:e+i,maxY:n+i}},createPath:function(t){var e=this._attrs,n=e.x,r=e.y,i=e.r;t.beginPath(),t.arc(n,r,i,0,2*Math.PI,!1),t.closePath()}}),t.exports=o},function(t,e,n){var r=n(1),i=n(7),o=function t(e){t.superclass.constructor.call(this,e)};r.extend(o,i),r.augment(o,{canFill:!0,canStroke:!0,type:"dom",calculateBox:function(){var t=this._attrs,e=t.x,n=t.y,r=t.width,i=t.height,o=this.getHitLineWidth()/2;return{minX:e-o,minY:n-o,maxX:e+r+o,maxY:n+i+o}}}),t.exports=o},function(t,e,n){var r=n(1),i=n(7),o=function t(e){t.superclass.constructor.call(this,e)};o.ATTRS={x:0,y:0,rx:1,ry:1,lineWidth:1},r.extend(o,i),r.augment(o,{canFill:!0,canStroke:!0,type:"ellipse",getDefaultAttrs:function(){return{lineWidth:1}},calculateBox:function(){var t=this._attrs,e=t.x,n=t.y,r=t.rx,i=t.ry,o=this.getHitLineWidth(),a=r+o/2,u=i+o/2;return{minX:e-a,minY:n-u,maxX:e+a,maxY:n+u}},createPath:function(t){var e=this._attrs,n=e.x,i=e.y,o=e.rx,a=e.ry;t=t||self.get("context");var u=o>a?o:a,s=o>a?1:o/a,c=o>a?a/o:1,l=[1,0,0,0,1,0,0,0,1];r.mat3.scale(l,l,[s,c]),r.mat3.translate(l,l,[n,i]),t.beginPath(),t.save(),t.transform(l[0],l[1],l[3],l[4],l[6],l[7]),t.arc(0,0,u,0,2*Math.PI),t.restore(),t.closePath()}}),t.exports=o},function(t,e,n){var r=n(1),i=n(7),o=n(47),a=function t(e){t.superclass.constructor.call(this,e)};a.ATTRS={x:0,y:0,rs:0,re:0,startAngle:0,endAngle:0,clockwise:!1,lineWidth:1},r.extend(a,i),r.augment(a,{canFill:!0,canStroke:!0,type:"fan",getDefaultAttrs:function(){return{clockwise:!1,lineWidth:1,rs:0,re:0}},calculateBox:function(){var t=this._attrs,e=t.x,n=t.y,r=t.rs,i=t.re,a=t.startAngle,u=t.endAngle,s=t.clockwise,c=this.getHitLineWidth(),l=o.box(e,n,r,a,u,s),f=o.box(e,n,i,a,u,s),h=c/2;return{minX:Math.min(l.minX,f.minX)-h,minY:Math.min(l.minY,f.minY)-h,maxX:Math.max(l.maxX,f.maxX)+h,maxY:Math.max(l.maxY,f.maxY)+h}},createPath:function(t){var e=this._attrs,n=e.x,r=e.y,i=e.rs,o=e.re,a=e.startAngle,u=e.endAngle,s=e.clockwise,c={x:Math.cos(a)*i+n,y:Math.sin(a)*i+r},l={x:Math.cos(a)*o+n,y:Math.sin(a)*o+r},f={x:Math.cos(u)*i+n,y:Math.sin(u)*i+r};(t=t||self.get("context")).beginPath(),t.moveTo(c.x,c.y),t.lineTo(l.x,l.y),t.arc(n,r,o,a,u,s),t.lineTo(f.x,f.y),t.arc(n,r,i,u,a,!s),t.closePath()}}),t.exports=a},function(t,e,n){var r=n(1),i=n(7),o=function t(e){t.superclass.constructor.call(this,e)};o.ATTRS={x:0,y:0,img:void 0,width:0,height:0,sx:null,sy:null,swidth:null,sheight:null},r.extend(o,i),r.augment(o,{type:"image",isHitBox:function(){return!1},calculateBox:function(){var t=this._attrs;this._cfg.attrs&&this._cfg.attrs.img===t.img||this._setAttrImg();var e=t.x,n=t.y;return{minX:e,minY:n,maxX:e+t.width,maxY:n+t.height}},_beforeSetLoading:function(t){var e=this.get("canvas");return!1===t&&!0===this.get("toDraw")&&(this._cfg.loading=!1,e.draw()),t},_setAttrImg:function(){var t=this,e=t._attrs,n=e.img;if(!r.isString(n))return n instanceof Image?(e.width||t.attr("width",n.width),e.height||t.attr("height",n.height),n):n instanceof HTMLElement&&r.isString(n.nodeName)&&"CANVAS"===n.nodeName.toUpperCase()?(e.width||t.attr("width",Number(n.getAttribute("width"))),e.height||t.attr("height",Number(n.getAttribute("height"))),n):n instanceof ImageData?(e.width||t.attr("width",n.width),e.height||t.attr("height",n.height),n):null;var i=new Image;i.onload=function(){if(t.get("destroyed"))return!1;t.attr("imgSrc",n),t.attr("img",i);var e=t.get("callback");e&&e.call(t),t.set("loading",!1)},i.src=n,i.crossOrigin="Anonymous",t.set("loading",!0)},drawInner:function(t){this._cfg.hasUpdate&&this._setAttrImg(),this.get("loading")?this.set("toDraw",!0):(this._drawImage(t),this._cfg.hasUpdate=!1)},_drawImage:function(t){var e=this._attrs,n=e.x,i=e.y,o=e.img,a=e.width,u=e.height,s=e.sx,c=e.sy,l=e.swidth,f=e.sheight;this.set("toDraw",!1);var h=o;if(h instanceof ImageData&&((h=new Image).src=o),h instanceof Image||h instanceof HTMLElement&&r.isString(h.nodeName)&&"CANVAS"===h.nodeName.toUpperCase()){if(r.isNil(s)||r.isNil(c)||r.isNil(l)||r.isNil(f))return void t.drawImage(h,n,i,a,u);if(!(r.isNil(s)||r.isNil(c)||r.isNil(l)||r.isNil(f)))return void t.drawImage(h,s,c,l,f,n,i,a,u)}}}),t.exports=o},function(t,e,n){var r=n(1),i=n(7),o=n(49),a=n(48),u=function t(e){t.superclass.constructor.call(this,e)};u.ATTRS={x1:0,y1:0,x2:0,y2:0,lineWidth:1,startArrow:!1,endArrow:!1},r.extend(u,i),r.augment(u,{canStroke:!0,type:"line",getDefaultAttrs:function(){return{lineWidth:1,startArrow:!1,endArrow:!1}},calculateBox:function(){var t=this._attrs,e=t.x1,n=t.y1,r=t.x2,i=t.y2,o=this.getHitLineWidth();return a.box(e,n,r,i,o)},createPath:function(t){var e=this._attrs,n=e.x1,r=e.y1,i=e.x2,o=e.y2;(t=t||self.get("context")).beginPath(),t.moveTo(n,r),t.lineTo(i,o)},afterPath:function(t){var e=this._attrs,n=e.x1,r=e.y1,i=e.x2,a=e.y2;t=t||this.get("context"),e.startArrow&&o.addStartArrow(t,e,i,a,n,r),e.endArrow&&o.addEndArrow(t,e,n,r,i,a)},getPoint:function(t){var e=this._attrs;return{x:a.at(e.x1,e.x2,t),y:a.at(e.y1,e.y2,t)}}}),t.exports=u},function(t,e){t.exports={xAt:function(t,e,n,r,i){return e*Math.cos(t)*Math.cos(i)-n*Math.sin(t)*Math.sin(i)+r},yAt:function(t,e,n,r,i){return e*Math.sin(t)*Math.cos(i)+n*Math.cos(t)*Math.sin(i)+r},xExtrema:function(t,e,n){return Math.atan(-n/e*Math.tan(t))},yExtrema:function(t,e,n){return Math.atan(n/(e*Math.tan(t)))}}},function(t,e,n){var r=n(1),i=r.vec2;function o(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}function a(t,e,n,r,a,u,s,c,l){var f,h,d,p,v,g,y,m=.005,b=1/0,x=[s,c];for(v=0;v<1;v+=.05)d=[o(t,n,a,v),o(e,r,u,v)],(h=i.squaredDistance(x,d))<b&&(f=v,b=h);for(b=1/0,y=0;y<32&&!(m<1e-4);y++){var w=f-m,_=f+m;d=[o(t,n,a,w),o(e,r,u,w)],h=i.squaredDistance(x,d),w>=0&&h<b?(f=w,b=h):(p=[o(t,n,a,_),o(e,r,u,_)],g=i.squaredDistance(x,p),_<=1&&g<b?(f=_,b=g):m*=.5)}return l&&(l.x=o(t,n,a,f),l.y=o(e,r,u,f)),Math.sqrt(b)}t.exports={at:o,projectPoint:function(t,e,n,r,i,o,u,s){var c={};return a(t,e,n,r,i,o,u,s,c),c},pointDistance:a,extrema:function(t,e,n){var i=t+n-2*e;if(r.isNumberEqual(i,0))return[.5];var o=(t-e)/i;return o<=1&&o>=0?[o]:[]}}},function(t,e,n){var r=n(1),i=n(7),o=n(50),a=n(37),u=n(49),s=n(77),c=n(75),l=function t(e){t.superclass.constructor.call(this,e)};l.ATTRS={path:null,lineWidth:1,startArrow:!1,endArrow:!1},r.extend(l,i),r.augment(l,{canFill:!0,canStroke:!0,type:"path",getDefaultAttrs:function(){return{lineWidth:1,startArrow:!1,endArrow:!1}},_afterSetAttrPath:function(t){if(r.isNil(t))return this.setSilent("segments",null),void this.setSilent("box",void 0);var e,n=a.parsePath(t),i=[];if(r.isArray(n)&&0!==n.length&&("M"===n[0][0]||"m"===n[0][0])){for(var u=n.length,s=0;s<n.length;s++){var c=n[s];e=new o(c,e,s===u-1),i.push(e)}this.setSilent("segments",i),this.setSilent("tCache",null),this.setSilent("box",null)}},calculateBox:function(){var t=this.get("segments");if(!t)return null;var e=this.getHitLineWidth(),n=1/0,i=-1/0,o=1/0,a=-1/0;return r.each(t,function(t){t.getBBox(e);var r=t.box;r&&(r.minX<n&&(n=r.minX),r.maxX>i&&(i=r.maxX),r.minY<o&&(o=r.minY),r.maxY>a&&(a=r.maxY))}),n===1/0||o===1/0?{minX:0,minY:0,maxX:0,maxY:0}:{minX:n,minY:o,maxX:i,maxY:a}},_setTcache:function(){var t,e,n,i,o=0,a=0,u=[],s=this._cfg.curve;s&&(r.each(s,function(t,e){n=s[e+1],i=t.length,n&&(o+=c.len(t[i-2],t[i-1],n[1],n[2],n[3],n[4],n[5],n[6]))}),r.each(s,function(r,l){n=s[l+1],i=r.length,n&&((t=[])[0]=a/o,e=c.len(r[i-2],r[i-1],n[1],n[2],n[3],n[4],n[5],n[6]),a+=e,t[1]=a/o,u.push(t))}),this._cfg.tCache=u)},_calculateCurve:function(){var t=this._attrs.path;this._cfg.curve=s.pathTocurve(t)},getStartTangent:function(){var t,e,n,i,o=this.get("segments");if(o.length>1)if(t=o[0].endPoint,e=o[1].endPoint,n=o[1].startTangent,i=[],r.isFunction(n)){var a=n();i.push([t.x-a[0],t.y-a[1]]),i.push([t.x,t.y])}else i.push([e.x,e.y]),i.push([t.x,t.y]);return i},getEndTangent:function(){var t,e,n,i,o=this.get("segments"),a=o.length;if(a>1)if(t=o[a-2].endPoint,e=o[a-1].endPoint,n=o[a-1].endTangent,i=[],r.isFunction(n)){var u=n();i.push([e.x-u[0],e.y-u[1]]),i.push([e.x,e.y])}else i.push([t.x,t.y]),i.push([e.x,e.y]);return i},getPoint:function(t){var e,n,i=this._cfg.tCache;i||(this._calculateCurve(),this._setTcache(),i=this._cfg.tCache);var o=this._cfg.curve;if(!i)return o?{x:o[0][1],y:o[0][2]}:null;r.each(i,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)});var a=o[n];if(r.isNil(a)||r.isNil(n))return null;var u=a.length,s=o[n+1];return{x:c.at(a[u-2],s[1],s[3],s[5],1-e),y:c.at(a[u-1],s[2],s[4],s[6],1-e)}},createPath:function(t){var e=this.get("segments");if(r.isArray(e)){(t=t||this.get("context")).beginPath();for(var n=e.length,i=0;i<n;i++)e[i].draw(t)}},afterPath:function(t){var e=this._attrs,n=this.get("segments"),i=e.path;if(t=t||this.get("context"),r.isArray(n)&&1!==n.length&&(e.startArrow||e.endArrow)&&"z"!==i[i.length-1]&&"Z"!==i[i.length-1]&&!e.fill){var o=this.getStartTangent();u.addStartArrow(t,e,o[0][0],o[0][1],o[1][0],o[1][1]);var a=this.getEndTangent();u.addEndArrow(t,e,a[0][0],a[0][1],a[1][0],a[1][1])}}}),t.exports=l},function(t,e,n){var r=n(1),i=n(7),o=function t(e){t.superclass.constructor.call(this,e)};o.ATTRS={points:null,lineWidth:1},r.extend(o,i),r.augment(o,{canFill:!0,canStroke:!0,type:"polygon",getDefaultAttrs:function(){return{lineWidth:1}},calculateBox:function(){var t=this._attrs.points,e=this.getHitLineWidth();if(!t||0===t.length)return null;var n=1/0,i=1/0,o=-1/0,a=-1/0;r.each(t,function(t){var e=t[0],r=t[1];e<n&&(n=e),e>o&&(o=e),r<i&&(i=r),r>a&&(a=r)});var u=e/2;return{minX:n-u,minY:i-u,maxX:o+u,maxY:a+u}},createPath:function(t){var e=this._attrs.points;e.length<2||((t=t||this.get("context")).beginPath(),r.each(e,function(e,n){0===n?t.moveTo(e[0],e[1]):t.lineTo(e[0],e[1])}),t.closePath())}}),t.exports=o},function(t,e,n){var r=n(1),i=n(7),o=n(49),a=n(48),u=function t(e){t.superclass.constructor.call(this,e)};u.ATTRS={points:null,lineWidth:1,startArrow:!1,endArrow:!1,tCache:null},r.extend(u,i),r.augment(u,{canStroke:!0,type:"polyline",tCache:null,getDefaultAttrs:function(){return{lineWidth:1,startArrow:!1,endArrow:!1}},calculateBox:function(){var t=this._attrs,e=this.getHitLineWidth(),n=t.points;if(!n||0===n.length)return null;var i=1/0,o=1/0,a=-1/0,u=-1/0;r.each(n,function(t){var e=t[0],n=t[1];e<i&&(i=e),e>a&&(a=e),n<o&&(o=n),n>u&&(u=n)});var s=e/2;return{minX:i-s,minY:o-s,maxX:a+s,maxY:u+s}},_setTcache:function(){var t,e,n=this._attrs.points,i=0,o=0,u=[];n&&0!==n.length&&(r.each(n,function(t,e){n[e+1]&&(i+=a.len(t[0],t[1],n[e+1][0],n[e+1][1]))}),i<=0||(r.each(n,function(r,s){n[s+1]&&((t=[])[0]=o/i,e=a.len(r[0],r[1],n[s+1][0],n[s+1][1]),o+=e,t[1]=o/i,u.push(t))}),this.tCache=u))},createPath:function(t){var e,n,r=this._attrs.points;if(!(r.length<2)){for((t=t||this.get("context")).beginPath(),t.moveTo(r[0][0],r[0][1]),n=1,e=r.length-1;n<e;n++)t.lineTo(r[n][0],r[n][1]);t.lineTo(r[e][0],r[e][1])}},getStartTangent:function(){var t=this.__attrs.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e},getEndTangent:function(){var t=this.__attrs.points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n},afterPath:function(t){var e=this._attrs,n=e.points,r=n.length-1;t=t||this.get("context"),e.startArrow&&o.addStartArrow(t,e,n[1][0],n[1][1],n[0][0],n[0][1]),e.endArrow&&o.addEndArrow(t,e,n[r-1][0],n[r-1][1],n[r][0],n[r][1])},getPoint:function(t){var e,n,i=this._attrs.points,o=this.tCache;return o||(this._setTcache(),o=this.tCache),r.each(o,function(r,i){t>=r[0]&&t<=r[1]&&(e=(t-r[0])/(r[1]-r[0]),n=i)}),{x:a.at(i[n][0],i[n+1][0],e),y:a.at(i[n][1],i[n+1][1],e)}}}),t.exports=u},function(t,e,n){var r=n(1),i=n(37).parseRadius,o=n(7),a=function t(e){t.superclass.constructor.call(this,e)};a.ATTRS={x:0,y:0,width:0,height:0,radius:0,lineWidth:1},r.extend(a,o),r.augment(a,{canFill:!0,canStroke:!0,type:"rect",getDefaultAttrs:function(){return{lineWidth:1,radius:0}},calculateBox:function(){var t=this._attrs,e=t.x,n=t.y,r=t.width,i=t.height,o=this.getHitLineWidth()/2;return{minX:e-o,minY:n-o,maxX:e+r+o,maxY:n+i+o}},createPath:function(t){var e=this._attrs,n=e.x,r=e.y,o=e.width,a=e.height,u=e.radius;if((t=t||this.get("context")).beginPath(),0===u)t.rect(n,r,o,a);else{var s=i(u);t.moveTo(n+s.r1,r),t.lineTo(n+o-s.r2,r),0!==s.r2&&t.arc(n+o-s.r2,r+s.r2,s.r2,-Math.PI/2,0),t.lineTo(n+o,r+a-s.r3),0!==s.r3&&t.arc(n+o-s.r3,r+a-s.r3,s.r3,0,Math.PI/2),t.lineTo(n+s.r4,r+a),0!==s.r4&&t.arc(n+s.r4,r+a-s.r4,s.r4,Math.PI/2,Math.PI),t.lineTo(n,r+s.r1),0!==s.r1&&t.arc(n+s.r1,r+s.r1,s.r1,Math.PI,1.5*Math.PI),t.closePath()}}}),t.exports=a},function(t,e,n){var r=n(1),i=n(7),o=function t(e){t.superclass.constructor.call(this,e)};o.ATTRS={x:0,y:0,text:null,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom",lineHeight:null,textArr:null},r.extend(o,i),r.augment(o,{canFill:!0,canStroke:!0,type:"text",getDefaultAttrs:function(){return{lineWidth:1,lineCount:1,fontSize:12,fontFamily:"sans-serif",fontStyle:"normal",fontWeight:"normal",fontVariant:"normal",textAlign:"start",textBaseline:"bottom"}},initTransform:function(){var t=this._attrs.fontSize;t&&+t<12&&this.transform([["t",-1*this._attrs.x,-1*this._attrs.y],["s",+t/12,+t/12],["t",this._attrs.x,this._attrs.y]])},_assembleFont:function(){var t=this._attrs,e=t.fontSize,n=t.fontFamily,r=t.fontWeight,i=t.fontStyle,o=t.fontVariant;t.font=[i,o,r,e+"px",n].join(" ")},_setAttrText:function(){var t=this._attrs,e=t.text,n=null;if(r.isString(e)&&-1!==e.indexOf("\n")){var i=(n=e.split("\n")).length;t.lineCount=i}t.textArr=n},_getTextHeight:function(){var t=this._attrs,e=t.lineCount,n=1*t.fontSize;return e>1?n*e+this._getSpaceingY()*(e-1):n},isHitBox:function(){return!1},calculateBox:function(){var t=this._attrs,e=this._cfg;e.attrs&&!e.hasUpdate||(this._assembleFont(),this._setAttrText()),t.textArr||this._setAttrText();var n=t.x,r=t.y,i=this.measureText();if(!i)return{minX:n,minY:r,maxX:n,maxY:r};var o=this._getTextHeight(),a=t.textAlign,u=t.textBaseline,s=this.getHitLineWidth(),c={x:n,y:r-o};a&&("end"===a||"right"===a?c.x-=i:"center"===a&&(c.x-=i/2)),u&&("top"===u?c.y+=o:"middle"===u&&(c.y+=o/2)),this.set("startPoint",c);var l=s/2;return{minX:c.x-l,minY:c.y-l,maxX:c.x+i+l,maxY:c.y+o+l}},_getSpaceingY:function(){var t=this._attrs,e=t.lineHeight,n=1*t.fontSize;return e?e-n:.14*n},drawInner:function(t){var e=this._attrs,n=this._cfg;n.attrs&&!n.hasUpdate||(this._assembleFont(),this._setAttrText()),t.font=e.font;var i=e.text;if(i){var o=e.textArr,a=e.x,u=e.y;if(t.beginPath(),this.hasStroke()){var s=e.strokeOpacity;r.isNil(s)||1===s||(t.globalAlpha=s),o?this._drawTextArr(t,!1):t.strokeText(i,a,u),t.globalAlpha=1}if(this.hasFill()){var c=e.fillOpacity;r.isNil(c)||1===c||(t.globalAlpha=c),o?this._drawTextArr(t,!0):t.fillText(i,a,u)}n.hasUpdate=!1}},_drawTextArr:function(t,e){var n,i=this._attrs.textArr,o=this._attrs.textBaseline,a=1*this._attrs.fontSize,u=this._getSpaceingY(),s=this._attrs.x,c=this._attrs.y,l=this.getBBox(),f=l.maxY-l.minY;r.each(i,function(r,i){n=c+i*(u+a)-f+a,"middle"===o&&(n+=f-a-(f-a)/2),"top"===o&&(n+=f-a),e?t.fillText(r,s,n):t.strokeText(r,s,n)})},measureText:function(){var t,e=this._attrs,n=e.text,i=e.font,o=e.textArr,a=0;if(!r.isNil(n)){var u=document.createElement("canvas").getContext("2d");return u.save(),u.font=i,o?r.each(o,function(e){t=u.measureText(e).width,a<t&&(a=t),u.restore()}):(a=u.measureText(n).width,u.restore()),a}}}),t.exports=o},function(t,e,n){t.exports={isFunction:n(14),isObject:n(39),isBoolean:n(189),isNil:n(6),isString:n(15),isArray:n(4),isNumber:n(11),isEmpty:n(165),uniqueId:n(192),clone:n(80),deepMix:n(81),assign:n(10),merge:n(81),upperFirst:n(187),each:n(2),isEqual:n(83),toArray:n(57),extend:n(160),augment:n(156),remove:n(154),isNumberEqual:n(55),toRadian:n(170),toDegree:n(168),mod:n(167),clamp:n(84),createDom:n(157),modifyCSS:n(158),requestAnimationFrame:n(159),getRatio:function(){return window.devicePixelRatio?window.devicePixelRatio:2},mat3:n(85),vec2:n(172),vec3:n(173),transform:n(171)}},function(t,e,n){var r=n(2);t.exports=function(t){var e,n,i,o={},a=[],u=t.isRounding,s=(e=t.data,n=[],r(e,function(t){n=n.concat(t)}),n),c=s.length,l=t.maxCount||8;if(u?2===(i=function(t,e){var n;for(n=e;n>0&&t%n!=0;n--);if(1===n)for(n=e;n>0&&(t-1)%n!=0;n--);return n}(c-1,l-1)+1)?i=l:i<l-4&&(i=l-4):i=l,!u&&c<=i+i/2)a=[].concat(s);else{for(var f=parseInt(c/(i-1),10),h=s.map(function(t,e){return e%f==0?s.slice(e,e+f):null}).filter(function(t){return t}),d=1,p=h.length;d<p&&(u?d*f<c-f:d<i-1);d++)a.push(h[d][0]);if(s.length){a.unshift(s[0]);var v=s[c-1];-1===a.indexOf(v)&&a.push(v)}}return o.categories=s,o.ticks=a,o}},function(t,e){var n=12;function r(t,e){var n=t.length;if(0===n)return NaN;var r=t[0];if(e<t[0])return NaN;if(e>=t[n-1])return t[n-1];for(var i=1;i<t.length&&!(e<t[i]);i++)r=t[i];return r}function i(t,e){var n,r=t.length;if(0===r)return NaN;if(e>t[r-1])return NaN;if(e<t[0])return t[0];for(var i=1;i<t.length;i++)if(e<=t[i]){n=t[i];break}return n}var o={snapFactorTo:function(t,e,r){if(isNaN(t))return NaN;var i=1;if(0!==t){t<0&&(i=-1);var a=function(t){var e=1;if(t===1/0||t===-1/0)throw new Error("Not support Infinity!");if(t<1){for(var r=0;t<1;)e/=10,t*=10,r++;e.toString().length>n&&(e=parseFloat(e.toFixed(r)))}else for(;t>10;)e*=10,t/=10;return e}(t*=i);i*=a,t/=a}t="floor"===r?o.snapFloor(e,t):"ceil"===r?o.snapCeiling(e,t):o.snapTo(e,t);var u=parseFloat((t*i).toPrecision(n));Math.abs(i)<1&&u.toString().length>n&&(u=t/parseInt(1/i)*(i>0?1:-1));return u},snapMultiple:function(t,e,n){return("ceil"===n?Math.ceil(t/e):"floor"===n?Math.floor(t/e):Math.round(t/e))*e},snapTo:function(t,e){var n=r(t,e),o=i(t,e);if(isNaN(n)||isNaN(o)){if(t[0]>=e)return t[0];var a=t[t.length-1];if(a<=e)return a}return Math.abs(e-n)<Math.abs(o-e)?n:o},snapFloor:function(t,e){return r(t,e)},snapCeiling:function(t,e){return i(t,e)},fixedBase:function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}};t.exports=o},function(t,e,n){var r=n(26),i=n(149),o=n(2),a=n(11),u=n(15),s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=r.prototype;return s._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.type="cat",this.isCategory=!0,this.isRounding=!0},s.init=function(){var t=this.values,e=this.tickCount;if(o(t,function(e,n){t[n]=e.toString()}),!this.ticks){var n=t;if(e)n=i({maxCount:e,data:t,isRounding:this.isRounding}).ticks;this.ticks=n}},s.getText=function(e){return-1===this.values.indexOf(e)&&a(e)&&(e=this.values[Math.round(e)]),t.prototype.getText.call(this,e)},s.translate=function(t){var e=this.values.indexOf(t);return-1===e&&a(t)?e=t:-1===e&&(e=NaN),e},s.scale=function(t){var e=this.rangeMin(),n=this.rangeMax();return(u(t)||-1!==this.values.indexOf(t))&&(t=this.translate(t)),e+(this.values.length>1?t/(this.values.length-1):t)*(n-e)},s.invert=function(t){if(u(t))return t;var e=this.rangeMin(),n=this.rangeMax();t<e&&(t=e),t>n&&(t=n);var r=(t-e)/(n-e),i=Math.round(r*(this.values.length-1))%this.values.length;return i=i||0,this.values[i]},r}(r);r.Cat=s,t.exports=s},function(t,e,n){var r=n(185),i=n(26);i.Linear=n(51),i.Identity=n(352),i.Cat=n(151),i.Time=n(356),i.TimeCat=n(355),i.Log=n(353),i.Pow=n(354);var o=function(t){if(i.hasOwnProperty(t)){var e=r(t);i[e]=function(e){return new i[t](e)}}};for(var a in i)o(a);var u=["cat","timeCat"];i.isCategory=function(t){return u.indexOf(t)>=0},t.exports=i},function(t,e,n){var r=n(21),i=Array.prototype.splice;t.exports=function(t,e){if(!r(t))return[];for(var n=t?e.length:0,o=n-1;n--;){var a=void 0,u=e[n];n!==o&&u===a||(a=u,i.call(t,u,1))}return t}},function(t,e){var n=Array.prototype,r=n.splice,i=n.indexOf,o=n.slice;t.exports=function(t){for(var e=o.call(arguments,1),n=0;n<e.length;n++)for(var a=e[n],u=-1;(u=i.call(t,a))>-1;)r.call(t,u,1);return t}},function(t,e,n){var r=n(2),i=n(53);t.exports=function(t){var e=[];return r(t,function(t){i(e,t)||e.push(t)}),e}},function(t,e,n){var r=n(14),i=n(57),o=n(10);t.exports=function(t){for(var e=i(arguments),n=1;n<e.length;n++){var a=e[n];r(a)&&(a=a.prototype),o(t.prototype,a)}}},function(t,e){var n=document.createElement("table"),r=document.createElement("tr"),i=/^\s*<(\w+|!)[^>]*>/,o={tr:document.createElement("tbody"),tbody:n,thead:n,tfoot:n,td:r,th:r,"*":document.createElement("div")};t.exports=function(t){var e=i.test(t)&&RegExp.$1;e in o||(e="*");var n=o[e];t=t.replace(/(^\s*)|(\s*$)/g,""),n.innerHTML=""+t;var r=n.childNodes[0];return n.removeChild(r),r}},function(t,e){t.exports=function(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}},function(t,e){t.exports=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return setTimeout(t,16)})(t)}},function(t,e,n){var r=n(14),i=n(10);t.exports=function(t,e,n,o){r(e)||(n=e,e=t,t=function(){});var a=Object.create?function(t,e){return Object.create(t,{constructor:{value:e}})}:function(t,e){function n(){}n.prototype=t;var r=new n;return r.constructor=e,r},u=a(e.prototype,t);return t.prototype=i(u,t.prototype),t.superclass=a(e.prototype,e),i(u,n),i(t,o),t}},function(t,e,n){var r=n(2),i=n(4),o=Object.prototype.hasOwnProperty;t.exports=function(t,e){if(!e||!i(t))return t;var n={},a=null;return r(t,function(t){a=e(t),o.call(n,a)?n[a].push(t):n[a]=[t]}),n}},function(t,e,n){var r=n(14),i=n(4),o=n(161);t.exports=function(t,e){if(!e)return{0:t};if(!r(e)){var n=i(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="_",r=0,i=n.length;r<i;r++)e+=t[n[r]]&&t[n[r]].toString();return e}}return o(t,e)}},function(t,e,n){var r=n(162);t.exports=function(t,e){if(!e)return[t];var n=r(t,e),i=[];for(var o in n)i.push(n[o]);return i}},function(t,e,n){var r=n(2),i=n(10),o=n(377),a=n(363),u=n(379),s=n(381),c=n(389),l=n(56),f=n(400),h=n(404),d=n(408),p=n(413),v={DOMUtil:o,DomUtil:o,MatrixUtil:l,PathUtil:h,arrayUtil:a,domUtil:o,eventUtil:u,formatUtil:s,mathUtil:c,matrixUtil:l,objectUtil:f,stringUtil:d,pathUtil:h,typeUtil:p,augment:n(156),clone:n(80),debounce:n(368),deepMix:n(81),each:r,extend:n(160),filter:n(82),group:n(163),groupBy:n(161),groupToMap:n(162),indexOf:n(385),isEmpty:n(165),isEqual:n(83),isEqualWith:n(386),map:n(387),mix:i,pick:n(407),throttle:n(412),toArray:n(57),toString:n(38),uniqueId:n(192)};r([o,a,u,s,c,l,f,h,d,p],function(t){i(v,t)}),t.exports=v},function(t,e,n){var r=n(6),i=n(21),o=n(188),a=n(191),u=Object.prototype.hasOwnProperty;t.exports=function(t){if(r(t))return!0;if(i(t))return!t.length;var e=o(t);if("Map"===e||"Set"===e)return!t.size;if(a(t))return!Object.keys(t).length;for(var n in t)if(u.call(t,n))return!1;return!0}},function(t,e,n){var r=n(4),i=n(14),o=n(2);t.exports=function(t,e){if(r(t)){var n=t[0],a=void 0;a=i(e)?e(t[0]):t[0][e];var u=void 0;return o(t,function(t){(u=i(e)?e(t):t[e])>a&&(n=t,a=u)}),n}}},function(t,e){t.exports=function(t,e){return(t%e+e)%e}},function(t,e){var n=180/Math.PI;t.exports=function(t){return n*t}},function(t,e){t.exports=parseInt},function(t,e){var n=Math.PI/180;t.exports=function(t){return n*t}},function(t,e,n){var r=n(80),i=n(2),o=n(85);t.exports=function(t,e){return t=r(t),i(e,function(e){switch(e[0]){case"t":o.translate(t,t,[e[1],e[2]]);break;case"s":o.scale(t,t,[e[1],e[2]]);break;case"r":o.rotate(t,t,e[1]);break;case"m":o.multiply(t,t,e[1]);break;default:return!1}}),t}},function(t,e,n){var r=n(348),i=n(84);r.angle=function(t,e){var n=r.dot(t,e)/(r.length(t)*r.length(e));return Math.acos(i(n,-1,1))},r.direction=function(t,e){return t[0]*e[1]-e[0]*t[1]},r.angleTo=function(t,e,n){var i=r.angle(t,e),o=r.direction(t,e)>=0;return n?o?2*Math.PI-i:i:o?i:2*Math.PI-i},r.vertical=function(t,e,n){return n?(t[0]=e[1],t[1]=-1*e[0]):(t[0]=-1*e[1],t[1]=e[0]),t},t.exports=r},function(t,e,n){var r=n(349);t.exports=r},function(t,e){t.exports=function(t,e){return t.hasOwnProperty(e)}},function(t,e,n){var r=n(176),i=n(6);t.exports=function(t,e){var n=r(e),o=n.length;if(i(t))return!o;for(var a=0;a<o;a+=1){var u=n[a];if(e[u]!==t[u]||!(u in t))return!1}return!0}},function(t,e,n){var r=n(2),i=n(14),o=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return r(t,function(n,r){i(t)&&"prototype"===r||e.push(r)}),e};t.exports=o},function(t,e,n){var r=n(2),i=n(14),o=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return r(t,function(n,r){i(t)&&"prototype"===r||e.push(n)}),e};t.exports=o},function(t,e){t.exports=function(t,e){for(var n=[],r=0,i=t.length;i-2*!e>r;r+=2){var o=[{x:+t[r-2],y:+t[r-1]},{x:+t[r],y:+t[r+1]},{x:+t[r+2],y:+t[r+3]},{x:+t[r+4],y:+t[r+5]}];e?r?i-4===r?o[3]={x:+t[0],y:+t[1]}:i-2===r&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[i-2],y:+t[i-1]}:i-4===r?o[3]=o[2]:r||(o[0]={x:+t[r],y:+t[r+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}},function(t,e){var n=/,?([a-z]),?/gi;t.exports=function(t){return t.join(",").replace(n,"$1")}},function(t,e){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r="\t\n\v\f\r \u2028\u2029",i=new RegExp("([a-z])["+r+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+r+"]*,?["+r+"]*)+)","ig"),o=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+r+"]*,?["+r+"]*","ig");t.exports=function(t){if(!t)return null;if((void 0===t?"undefined":n(t))===n([]))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},r=[];return String(t).replace(i,function(t,n,i){var a=[],u=n.toLowerCase();if(i.replace(o,function(t,e){e&&a.push(+e)}),"m"===u&&a.length>2&&(r.push([n].concat(a.splice(0,2))),u="l",n="m"===n?"l":"L"),"o"===u&&1===a.length&&r.push([n,a[0]]),"r"===u)r.push([n].concat(a));else for(;a.length>=e[u]&&(r.push([n].concat(a.splice(0,e[u]))),e[u]););}),r}},function(t,e,n){var r=n(180),i=n(178);function o(t,e,n,r,i){var o=[];if(null===i&&null===r&&(r=n),t=+t,e=+e,n=+n,r=+r,null!==i){var a=Math.PI/180,u=t+n*Math.cos(-r*a),s=t+n*Math.cos(-i*a);o=[["M",u,e+n*Math.sin(-r*a)],["A",n,n,0,+(i-r>180),0,s,e+n*Math.sin(-i*a)]]}else o=[["M",t,e],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]];return o}t.exports=function(t){if(!(t=r(t))||!t.length)return[["M",0,0]];var e=[],n=0,a=0,u=0,s=0,c=0,l=void 0,f=void 0;"M"===t[0][0]&&(u=n=+t[0][1],s=a=+t[0][2],c++,e[0]=["M",n,a]);for(var h,d,p=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),v=c,g=t.length;v<g;v++){if(e.push(h=[]),(l=(d=t[v])[0])!==l.toUpperCase())switch(h[0]=l.toUpperCase(),h[0]){case"A":h[1]=d[1],h[2]=d[2],h[3]=d[3],h[4]=d[4],h[5]=d[5],h[6]=+d[6]+n,h[7]=+d[7]+a;break;case"V":h[1]=+d[1]+a;break;case"H":h[1]=+d[1]+n;break;case"R":for(var y=2,m=(f=[n,a].concat(d.slice(1))).length;y<m;y++)f[y]=+f[y]+n,f[++y]=+f[y]+a;e.pop(),e=e.concat(i(f,p));break;case"O":e.pop(),(f=o(n,a,d[1],d[2])).push(f[0]),e=e.concat(f);break;case"U":e.pop(),e=e.concat(o(n,a,d[1],d[2],d[3])),h=["U"].concat(e[e.length-1].slice(-2));break;case"M":u=+d[1]+n,s=+d[2]+a;break;default:for(var b=1,x=d.length;b<x;b++)h[b]=+d[b]+(b%2?n:a)}else if("R"===l)f=[n,a].concat(d.slice(1)),e.pop(),e=e.concat(i(f,p)),h=["R"].concat(d.slice(-2));else if("O"===l)e.pop(),(f=o(n,a,d[1],d[2])).push(f[0]),e=e.concat(f);else if("U"===l)e.pop(),e=e.concat(o(n,a,d[1],d[2],d[3])),h=["U"].concat(e[e.length-1].slice(-2));else for(var w=0,_=d.length;w<_;w++)h[w]=d[w];if("O"!==(l=l.toUpperCase()))switch(h[0]){case"Z":n=+u,a=+s;break;case"H":n=h[1];break;case"V":a=h[1];break;case"M":u=h[h.length-2],s=h[h.length-1];break;default:n=h[h.length-2],a=h[h.length-1]}}return e}},function(t,e,n){var r=n(181),i=function(t,e,n,r){return[t,e,n,r,n,r]},o=function(t,e,n,r,i,o){return[1/3*t+2/3*n,1/3*e+2/3*r,1/3*i+2/3*n,1/3*o+2/3*r,i,o]};t.exports=function(t,e){var n=r(t),a=e&&r(e),u={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},c=[],l=[],f="",h="",d=void 0,p=function(t,e,n){var r=void 0,a=void 0;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(function t(e,n,r,i,o,a,u,s,c,l){r===i&&(r+=1);var f=120*Math.PI/180,h=Math.PI/180*(+o||0),d=[],p=void 0,v=void 0,g=void 0,y=void 0,m=void 0,b=function(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}};if(l)v=l[0],g=l[1],y=l[2],m=l[3];else{e=(p=b(e,n,-h)).x,n=p.y,s=(p=b(s,c,-h)).x,c=p.y,e===s&&n===c&&(s+=1,c+=1);var x=(e-s)/2,w=(n-c)/2,_=x*x/(r*r)+w*w/(i*i);_>1&&(r*=_=Math.sqrt(_),i*=_);var S=r*r,k=i*i,E=(a===u?-1:1)*Math.sqrt(Math.abs((S*k-S*w*w-k*x*x)/(S*w*w+k*x*x)));y=E*r*w/i+(e+s)/2,m=E*-i*x/r+(n+c)/2,v=Math.asin(((n-m)/i).toFixed(9)),g=Math.asin(((c-m)/i).toFixed(9)),v=e<y?Math.PI-v:v,g=s<y?Math.PI-g:g,v<0&&(v=2*Math.PI+v),g<0&&(g=2*Math.PI+g),u&&v>g&&(v-=2*Math.PI),!u&&g>v&&(g-=2*Math.PI)}var O=g-v;if(Math.abs(O)>f){var C=g,A=s,T=c;g=v+f*(u&&g>v?1:-1),d=t(s=y+r*Math.cos(g),c=m+i*Math.sin(g),r,i,o,0,u,A,T,[g,C,y,m])}O=g-v;var M=Math.cos(v),P=Math.sin(v),j=Math.cos(g),D=Math.sin(g),I=Math.tan(O/4),N=4/3*r*I,F=4/3*i*I,R=[e,n],L=[e+N*P,n-F*M],B=[s+N*D,c-F*j],z=[s,c];if(L[0]=2*R[0]-L[0],L[1]=2*R[1]-L[1],l)return[L,B,z].concat(d);for(var V=[],U=0,H=(d=[L,B,z].concat(d).join().split(",")).length;U<H;U++)V[U]=U%2?b(d[U-1],d[U],h).y:b(d[U],d[U+1],h).x;return V}.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"===n||"S"===n?(r=2*e.x-e.bx,a=2*e.y-e.by):(r=e.x,a=e.y),t=["C",r,a].concat(t.slice(1));break;case"T":"Q"===n||"T"===n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(o(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(o(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(i(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(i(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(i(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(i(e.x,e.y,e.X,e.Y))}return t},v=function(t,e){if(t[e].length>7){t[e].shift();for(var r=t[e];r.length;)c[e]="A",a&&(l[e]="A"),t.splice(e++,0,["C"].concat(r.splice(0,6)));t.splice(e,1),d=Math.max(n.length,a&&a.length||0)}},g=function(t,e,r,i,o){t&&e&&"M"===t[o][0]&&"M"!==e[o][0]&&(e.splice(o,0,["M",i.x,i.y]),r.bx=0,r.by=0,r.x=t[o][1],r.y=t[o][2],d=Math.max(n.length,a&&a.length||0))};d=Math.max(n.length,a&&a.length||0);for(var y=0;y<d;y++){n[y]&&(f=n[y][0]),"C"!==f&&(c[y]=f,y&&(h=c[y-1])),n[y]=p(n[y],u,h),"A"!==c[y]&&"C"===f&&(c[y]="C"),v(n,y),a&&(a[y]&&(f=a[y][0]),"C"!==f&&(l[y]=f,y&&(h=l[y-1])),a[y]=p(a[y],s,h),"A"!==l[y]&&"C"===f&&(l[y]="C"),v(a,y)),g(n,a,u,s,y),g(a,n,s,u,y);var m=n[y],b=a&&a[y],x=m.length,w=a&&b.length;u.x=m[x-2],u.y=m[x-1],u.bx=parseFloat(m[x-4])||u.x,u.by=parseFloat(m[x-3])||u.y,s.bx=a&&(parseFloat(b[w-4])||s.x),s.by=a&&(parseFloat(b[w-3])||s.y),s.x=a&&b[w-2],s.y=a&&b[w-1]}return a?[n,a]:n}},function(t,e,n){var r=n(179);t.exports=function(t,e,n,i,o){if(o)return[["M",+t+ +o,e],["l",n-2*o,0],["a",o,o,0,0,1,o,o],["l",0,i-2*o],["a",o,o,0,0,1,-o,o],["l",2*o-n,0],["a",o,o,0,0,1,-o,-o],["l",0,2*o-i],["a",o,o,0,0,1,o,-o],["z"]];var a=[["M",t,e],["l",n,0],["l",0,i],["l",-n,0],["z"]];return a.parsePathArray=r,a}},function(t,e,n){var r=n(38);t.exports=function(t){return r(t).toLowerCase()}},function(t,e,n){var r=n(38);t.exports=function(t){var e=r(t);return e.charAt(0).toLowerCase()+e.substring(1)}},function(t,e,n){var r=n(38);t.exports=function(t){return r(t).toUpperCase()}},function(t,e,n){var r=n(38);t.exports=function(t){var e=r(t);return e.charAt(0).toUpperCase()+e.substring(1)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).replace(/^\[object /,"").replace(/\]$/,"")}},function(t,e,n){var r=n(17);t.exports=function(t){return r(t,"Boolean")}},function(t,e,n){var r=n(17);t.exports=function(t){return r(t,"Date")}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e){var n,r=(n={},function(t){return n[t=t||"g"]?n[t]+=1:n[t]=1,t+n[t]});t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={COORD_FUNC_PROPS:["rotate","scale","reflect","transpose"],GEOM_FUNC_PROPS:["position","color","size","shape","opacity","tooltip","style","animate","active","select","sets"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(29)),i=o(n(58));function o(t){return t&&t.__esModule?t:{default:t}}for(var a=["mouseenter","mousemove","mouseleave","click","dblclick","mousedown","mouseup","touchstart","touchmove","touchend"],u=["Mouseenter","Mousemove","Mouseleave","Click","Dblclick","Mousedown","Mouseup","Touchstart","Touchmove","Touchend"],s=["point","area","line","path","interval","schema","polygon","edge","axis-title","axis-label","axis-ticks","axis-line","axis-grid","legend-title","legend-item","legend-marker","legend-text","guide-text","guide-region","guide-line","guide-image","label"],c=["onPoint","onArea","onLine","onPath","onInterval","onSchema","onPolygon","onEdge","onAxisTitle","onAxisLabel","onAxisTicks","onAxisLine","onAxisGrid","onLegendTitle","onLegendItem","onLegendMarker","onLegendText","onGuideText","onGuideRegion","onGuideLine","onGuideImage","onLabel"],l=[],f=0;f<s.length;f+=1)for(var h=0;h<a.length;h+=1)l.push({prop:""+c[f]+u[h],event:s[f]+":"+a[h]});var d=[{prop:"onPlotMove",event:"plotmove"},{prop:"onPlotEnter",event:"plotenter"},{prop:"onPlotLeave",event:"plotleave"},{prop:"onPlotClick",event:"plotclick"},{prop:"onPlotDblClick",event:"plotdblclick"},{prop:"onItemSelected",event:"itemselected"},{prop:"onItemUnselected",event:"itemunselected"},{prop:"onItemSelectedChange",event:"itemselectedchange"},{prop:"onTooltipChange",event:"tooltip:change"},{prop:"onTooltipShow",event:"tooltip:show"},{prop:"onTooltipHide",event:"tooltip:hide"}].concat(l);function p(){return[{prop:"onMouseEnter",event:"mouseenter"},{prop:"onMouseMove",event:"mousemove"},{prop:"onMouseLeave",event:"mouseleave"},{prop:"onClick",event:"click"},{prop:"onDblClick",event:"dblclick"},{prop:"onMouseDown",event:"mousedown"},{prop:"onMouseUp",event:"mouseup"},{prop:"onTouchStart",event:"touchstart"},{prop:"onTouchMove",event:"touchmove"},{prop:"onTouchEnd",event:"touchend"}]}var v=[{prop:"onMouseEnter",event:"mouseenter"},{prop:"onMouseMove",event:"mousemove"},{prop:"onMouseLeave",event:"mouseleave"},{prop:"onClick",event:"click"},{prop:"onDblClick",event:"dblclick"},{prop:"onMouseDown",event:"mousedown"},{prop:"onMouseUp",event:"mouseup"},{prop:"onTouchStart",event:"touchstart"},{prop:"onTouchMove",event:"touchmove"},{prop:"onTouchEnd",event:"touchend"}],g={onMouseEnter:r.default.object,onMouseMove:r.default.object,onMouseLeave:r.default.object,onClick:r.default.oneOfType([r.default.object,r.default.func]),onDblClick:r.default.object,onMouseDown:r.default.object,onMouseUp:r.default.object,onTouchStart:r.default.object,onTouchMove:r.default.object,onTouchEnd:r.default.object},y={onMouseEnter:r.default.func,onMouseMove:r.default.func,onMouseLeave:r.default.func,onClick:r.default.func,onDblClick:r.default.func,onMouseDown:r.default.func,onMouseUp:r.default.func,onTouchStart:r.default.func,onTouchMove:r.default.func,onTouchEnd:r.default.func};function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];i.default.each(e,function(e){var r=e.prop,o=e.event,a=n[r];if(i.default.isFunction(a))t.on(o,a);else if(i.default.isObject(a))for(var u in a)void 0!==a[u]&&t.on(u+":"+o,a[u])})}function b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2],r=arguments[3];i.default.each(e,function(e){var o=e.prop,a=e.event,u=n[o],s=r[o],c=void 0;if(!i.default.shallowEqual(u,s))if(i.default.isFunction(u)&&i.default.isFunction(s))t.off(a,u),t.on(a,s);else if(i.default.isObject(u)&&i.default.isObject(s)){for(c in u)Object.prototype.hasOwnProperty.call(u,c)&&t.off(c+":"+a,u[c]);for(c in s)Object.prototype.hasOwnProperty.call(s,c)&&t.on(c+":"+a,s[c])}})}function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];i.default.each(e,function(e){var r=e.prop,o=e.event,a=n[r];if(i.default.isFunction(a))t.off(o,a);else if(i.default.isObject(a))for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&t.off(u+":"+o,a[u])})}e.default={baseEventObjectTypes:g,baseEventFuncTypes:y,genBaseEvents:p,genItemBaseEvents:function(t){var e=[{prop:"onMouseEnter",event:"mouseenter"},{prop:"onMouseMove",event:"mousemove"},{prop:"onMouseLeave",event:"mouseleave"},{prop:"onClick",event:"click"},{prop:"onDblClick",event:"dblclick"},{prop:"onMouseDown",event:"mousedown"},{prop:"onMouseUp",event:"mouseup"},{prop:"onTouchStart",event:"touchstart"},{prop:"onTouchMove",event:"touchmove"},{prop:"onTouchEnd",event:"touchend"}];return i.default.map(e,function(e){var n=e.event;return e.event=t+":"+n,e}),e},bindEvents:m,bindBaseEvents:function(t,e){m(t,v,e)},updateEvents:b,updateBaseEvents:function(t,e,n){b(t,v,e,n)},unbindEvents:x,unbindBaseEvents:function(t,e){x(t,v,e)},chartEvents:d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(45)),o=n(88),a=c(n(193)),u=c(n(194)),s=c(n(87));function c(t){return t&&t.__esModule?t:{default:t}}function l(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function f(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}var h=a.default.COORD_FUNC_PROPS,d=a.default.GEOM_FUNC_PROPS;e.default={createChart:function(t){var e=t.chart;e.props.forceFit=!1;var n=new i.Chart(e.props);return e.g2Instance=n,n},executeChartConfig:function(t,e){var n=e.chart.props;t.coord("rect",{}),t.source(n.data,n.scale),(e.facet||n.axis)&&e.facet&&!1!==n.axis||t.axis(!1),t.legend(!1),t.tooltip(!1),n.filter&&n.filter.forEach(function(e){t.filter(e[0],e[1])}),u.default.bindEvents(t,u.default.chartEvents,n),u.default.bindBaseEvents(t,n)},coord:function(t,e){var n=e.coord;if(n&&!n.g2Instance){var r=n.props,i=r.type,a=f(r,["type"]),u=t.coord(i||"rect",o.Util.without(a,h));o.Prop.init(h,a,function(t,e){"reflect"===e?o.Util.each(t,function(t){return u[e](t)}):"transpose"===e?!0===t[0]&&u[e].apply(u,l(t)):u[e].apply(u,l(t))}),n.g2Instance=u}},createLabel:function(t,e){if(e&&!e.g2Instance){var n=e.props,r=n.content,i=f(n,["content"]);r&&(o.Util.isArray(r)?e.g2Instance=t.label(r[0],r[1],i):e.g2Instance=t.label(r,i))}},createGeom:function(t,e){if(e.g2Instance)e.label&&this.createLabel(e.g2Instance,e.label);else{var n=e.props,r=t[n.type||"interval"]();n.adjust&&r.adjust(n.adjust),o.Prop.init(d,n,function(t,e){r[e].apply(r,l(t))}),e.g2Instance=r,this.createLabel(r,e.label)}},geoms:function(t,e){var n=e.geoms;if(n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&this.createGeom(t,n[r])},legends:function(t,e){var n=e.legends;for(var r in n)if(n[r]){var i=n[r];if(i.g2Instance)return;var o=i.props,a=o.name,u=o.visible,s=f(o,["name","visible"]),c=u;Object.prototype.hasOwnProperty.call(i.props,"visible")||(c=!0);var h=c?s:c;i.g2Instance=t.legend.apply(t,l(a?[a,h]:[h]))}},tooltip:function(t,e){var n=e.tooltip;n&&!n.g2Instance&&(n.g2Instance=t.tooltip(r({},n.props)))},createAxis:function(t,e){if(!e.g2Instance){var n=e.props,r=n.name,i=n.visible,o=f(n,["name","visible"]);i||!Object.prototype.hasOwnProperty.call(e.props,"visible")?e.g2Instance=t.axis(r,o):e.g2Instance=t.axis(r,!1)}},axises:function(t,e){var n=e.axises;for(var r in n)n[r]&&this.createAxis(t,n[r])},views:function(t,e){var n=e.views;for(var r in n)n[r]&&this.createView(t,n[r])},createView:function(t,e){if("Facet"!==e.parentInfo.name){if(e.g2Instance)return e.filter&&e.filter.forEach(function(t){e.g2Instance.filter(t[0],t[1])}),this.coord(e.g2Instance,e),this.axises(e.g2Instance,e),this.geoms(e.g2Instance,e),void this.guide(e.g2Instance,e.guide);var n=e.props,i=n.scale,o=n.data,a=n.instance,u=n.axis,s=n.filter,c=(n.geoms,f(n,["scale","data","instance","axis","filter","geoms"])),l=void 0;l=a||t.view(r({},c)),o&&l.source(o,i),i&&l.scale(i),s&&s.forEach(function(t){l.filter(t[0],t[1])}),!0===u||a||l.axis(!1),e.g2Instance=l,this.coord(l,e),this.axises(l,e),this.geoms(l,e),this.guide(l,e.guide)}},facetView:function(t,e){var n=e.props,r=n.scale,i=n.data,o=n.axis;n.geoms,f(n,["scale","data","axis","geoms"]);i&&t.source(i,r),r&&t.scale(r),!1===o&&t.axis(!1),this.coord(t,e),this.axises(t,e),this.geoms(t,e),this.guide(t,e.guide),s.default.mergeView(e,!0)},guide:function(t,e){if(e){var n=e.elements;for(var r in n)if(n[r]){var i=n[r];if(!i.g2Instance){var o=i.props,a=(o.type,f(o,["type"]));i.g2Instance=t.guide()[i.type](a)}}}},facet:function(t,e){var n=this,r=e.facet;if(r&&!r.g2Instance){var i=r.props,o=i.children,a=i.type,u=f(i,["children","type"]);if(o){var c=e.views,l=null;for(var h in c)if(c[h]&&"Facet"===c[h].parentInfo.name&&c[h].parentInfo.id===r.id){l=c[h];break}l&&(s.default.mergeView(l,!0),u.eachView=function(t){n.facetView(t,l)},t.facet(a,u))}else t.facet(a,u)}},synchronizeG2Add:function(t,e){this.coord(t,e),this.axises(t,e),this.legends(t,e),this.tooltip(t,e),this.geoms(t,e),this.facet(t,e),this.views(t,e),this.guide(t,e.guide)},synchronizeG2Views:function(t,e){var n=e.views;for(var r in n)n[r]&&this.synchronizeG2View(n[r].g2Instance,n[r])},synchronizeG2View:function(t,e){t.clear(),this.clearViewG2Instance(e);var n=e.props,r=n.scale,i=n.data,o=n.instance,a=n.axis;n.geoms,f(n,["scale","data","instance","axis","geoms"]);i&&t.source(i,r),r&&t.scale(r),!0===a||o||t.axis(!1),this.coord(t,e),this.axises(t,e),this.geoms(t,e),this.guide(t,e.guide)},clearViewG2Instance:function(t){t.coord&&delete t.coord.g2Instance,t.axises&&Object.keys(t.axises).forEach(function(e){delete t.axises[e].g2Instance}),t.geoms&&Object.keys(t.geoms).forEach(function(e){delete t.geoms[e].g2Instance,t.geoms[e].label&&delete t.geoms[e].label.g2Instance}),t.guide&&t.guide.elements&&Object.keys(t.guide.elements).forEach(function(e){delete t.guide.elements[e].g2Instance})}}},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i});var r=Math.PI/180,i=180/Math.PI},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(449);n.d(e,"easeLinear",function(){return r.a});var i=n(451);n.d(e,"easeQuad",function(){return i.a}),n.d(e,"easeQuadIn",function(){return i.b}),n.d(e,"easeQuadOut",function(){return i.c}),n.d(e,"easeQuadInOut",function(){return i.a});var o=n(446);n.d(e,"easeCubic",function(){return o.a}),n.d(e,"easeCubicIn",function(){return o.b}),n.d(e,"easeCubicOut",function(){return o.c}),n.d(e,"easeCubicInOut",function(){return o.a});var a=n(450);n.d(e,"easePoly",function(){return a.a}),n.d(e,"easePolyIn",function(){return a.b}),n.d(e,"easePolyOut",function(){return a.c}),n.d(e,"easePolyInOut",function(){return a.a});var u=n(452);n.d(e,"easeSin",function(){return u.a}),n.d(e,"easeSinIn",function(){return u.b}),n.d(e,"easeSinOut",function(){return u.c}),n.d(e,"easeSinInOut",function(){return u.a});var s=n(448);n.d(e,"easeExp",function(){return s.a}),n.d(e,"easeExpIn",function(){return s.b}),n.d(e,"easeExpOut",function(){return s.c}),n.d(e,"easeExpInOut",function(){return s.a});var c=n(445);n.d(e,"easeCircle",function(){return c.a}),n.d(e,"easeCircleIn",function(){return c.b}),n.d(e,"easeCircleOut",function(){return c.c}),n.d(e,"easeCircleInOut",function(){return c.a});var l=n(444);n.d(e,"easeBounce",function(){return l.a}),n.d(e,"easeBounceIn",function(){return l.b}),n.d(e,"easeBounceOut",function(){return l.a}),n.d(e,"easeBounceInOut",function(){return l.c});var f=n(443);n.d(e,"easeBack",function(){return f.a}),n.d(e,"easeBackIn",function(){return f.b}),n.d(e,"easeBackOut",function(){return f.c}),n.d(e,"easeBackInOut",function(){return f.a});var h=n(447);n.d(e,"easeElastic",function(){return h.a}),n.d(e,"easeElasticIn",function(){return h.b}),n.d(e,"easeElasticOut",function(){return h.a}),n.d(e,"easeElasticInOut",function(){return h.c})},function(t,e,n){"use strict";var r=n(92);e.a=function(t,e){var i,o=e?e.length:0,a=t?Math.min(o,t.length):0,u=new Array(a),s=new Array(o);for(i=0;i<a;++i)u[i]=n.i(r.a)(t[i],e[i]);for(;i<o;++i)s[i]=e[i];return function(t){for(i=0;i<a;++i)s[i]=u[i](t);return s}}},function(t,e,n){"use strict";var r=n(91);e.a=function(t){var e=t.length;return function(i){var o=Math.floor(((i%=1)<0?++i:i)*e),a=t[(o+e-1)%e],u=t[o%e],s=t[(o+1)%e],c=t[(o+2)%e];return n.i(r.b)((i-o/e)*e,a,u,s,c)}}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";e.a=function(t,e){var n=new Date;return e-=t=+t,function(r){return n.setTime(t+e*r),n}}},function(t,e,n){"use strict";var r=n(92);e.a=function(t,e){var i,o={},a={};for(i in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)i in t?o[i]=n.i(r.a)(t[i],e[i]):a[i]=e[i];return function(t){for(i in o)a[i]=o[i](t);return a}}},function(t,e,n){"use strict";n.d(e,"b",function(){return s}),n.d(e,"c",function(){return c});var r=n(12),i=n(91),o=n(199),a=n(41);function u(t){return function(e){var i,o,a=e.length,u=new Array(a),s=new Array(a),c=new Array(a);for(i=0;i<a;++i)o=n.i(r.e)(e[i]),u[i]=o.r||0,s[i]=o.g||0,c[i]=o.b||0;return u=t(u),s=t(s),c=t(c),o.opacity=1,function(t){return o.r=u(t),o.g=s(t),o.b=c(t),o+""}}}e.a=function t(e){var i=n.i(a.c)(e);function o(t,e){var o=i((t=n.i(r.e)(t)).r,(e=n.i(r.e)(e)).r),u=i(t.g,e.g),s=i(t.b,e.b),c=n.i(a.a)(t.opacity,e.opacity);return function(e){return t.r=o(e),t.g=u(e),t.b=s(e),t.opacity=c(e),t+""}}return o.gamma=t,o}(1);var s=u(i.a),c=u(o.a)},function(t,e,n){"use strict";var r=n(59),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");e.a=function(t,e){var a,u,s,c=i.lastIndex=o.lastIndex=0,l=-1,f=[],h=[];for(t+="",e+="";(a=i.exec(t))&&(u=o.exec(e));)(s=u.index)>c&&(s=e.slice(c,s),f[l]?f[l]+=s:f[++l]=s),(a=a[0])===(u=u[0])?f[l]?f[l]+=u:f[++l]=u:(f[++l]=null,h.push({i:l,x:n.i(r.a)(a,u)})),c=o.lastIndex;return c<e.length&&(s=e.slice(c),f[l]?f[l]+=s:f[++l]=s),f.length<2?h[0]?function(t){return function(e){return t(e)+""}}(h[0].x):function(t){return function(){return t}}(e):(e=h.length,function(t){for(var n,r=0;r<e;++r)f[(n=h[r]).i]=n.x(t);return f.join("")})}},function(t,e,n){"use strict";var r=n(95);e.a=function(t,e){var i,o=e?e.length:0,a=t?Math.min(o,t.length):0,u=new Array(a),s=new Array(o);for(i=0;i<a;++i)u[i]=n.i(r.a)(t[i],e[i]);for(;i<o;++i)s[i]=e[i];return function(t){for(i=0;i<a;++i)s[i]=u[i](t);return s}}},function(t,e,n){"use strict";var r=n(93);e.a=function(t){var e=t.length;return function(i){var o=Math.floor(((i%=1)<0?++i:i)*e),a=t[(o+e-1)%e],u=t[o%e],s=t[(o+1)%e],c=t[(o+2)%e];return n.i(r.b)((i-o/e)*e,a,u,s,c)}}},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";e.a=function(t,e){var n=new Date;return e-=t=+t,function(r){return n.setTime(t+e*r),n}}},function(t,e,n){"use strict";var r=n(95);e.a=function(t,e){var i,o={},a={};for(i in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)i in t?o[i]=n.i(r.a)(t[i],e[i]):a[i]=e[i];return function(t){for(i in o)a[i]=o[i](t);return a}}},function(t,e,n){"use strict";var r=n(12),i=n(93),o=n(206),a=n(31);function u(t){return function(e){var i,o,a=e.length,u=new Array(a),s=new Array(a),c=new Array(a);for(i=0;i<a;++i)o=n.i(r.e)(e[i]),u[i]=o.r||0,s[i]=o.g||0,c[i]=o.b||0;return u=t(u),s=t(s),c=t(c),o.opacity=1,function(t){return o.r=u(t),o.g=s(t),o.b=c(t),o+""}}}e.a=function t(e){var i=n.i(a.c)(e);function o(t,e){var o=i((t=n.i(r.e)(t)).r,(e=n.i(r.e)(e)).r),u=i(t.g,e.g),s=i(t.b,e.b),c=n.i(a.a)(t.opacity,e.opacity);return function(e){return t.r=o(e),t.g=u(e),t.b=s(e),t.opacity=c(e),t+""}}return o.gamma=t,o}(1);u(i.a),u(o.a)},function(t,e,n){"use strict";var r=n(60),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=new RegExp(i.source,"g");e.a=function(t,e){var a,u,s,c=i.lastIndex=o.lastIndex=0,l=-1,f=[],h=[];for(t+="",e+="";(a=i.exec(t))&&(u=o.exec(e));)(s=u.index)>c&&(s=e.slice(c,s),f[l]?f[l]+=s:f[++l]=s),(a=a[0])===(u=u[0])?f[l]?f[l]+=u:f[++l]=u:(f[++l]=null,h.push({i:l,x:n.i(r.a)(a,u)})),c=o.lastIndex;return c<e.length&&(s=e.slice(c),f[l]?f[l]+=s:f[++l]=s),f.length<2?h[0]?function(t){return function(e){return t(e)+""}}(h[0].x):function(t){return function(){return t}}(e):(e=h.length,function(t){for(var n,r=0;r<e;++r)f[(n=h[r]).i]=n.x(t);return f.join("")})}},function(t,e,n){"use strict";e.a=function(t){return function(){return this.matches(t)}}},function(t,e,n){"use strict";var r=n(18);e.a=function(t){return"string"==typeof t?new r.b([[document.querySelector(t)]],[document.documentElement]):new r.b([[t]],r.c)}},function(t,e,n){"use strict";e.b=o;var r=n(215),i=n(18);function o(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}e.a=function(){return new i.b(this._enter||this._groups.map(r.a),this._parents)},o.prototype={constructor:o,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}}},function(t,e,n){"use strict";e.a=function(t){return new Array(t.length)}},function(t,e,n){"use strict";e.a=i;var r=n(101);function i(t,e){return t.style.getPropertyValue(e)||n.i(r.a)(t).getComputedStyle(t,null).getPropertyValue(e)}e.b=function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):i(this.node(),t)}},function(t,e,n){"use strict";function r(){return[]}e.a=function(t){return null==t?r:function(){return this.querySelectorAll(t)}}},function(t,e,n){"use strict";var r=n(13);e.a=function(t,e){var n,i,o,a=t.__transition,u=!0;if(a){for(o in e=null==e?null:e+"",a)(n=a[o]).name===e?(i=n.state>r.a&&n.state<r.b,n.state=r.c,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[o]):u=!1;u&&delete t.__transition}}},function(t,e,n){"use strict";var r=n(12),i=n(94);e.a=function(t,e){var o;return("number"==typeof e?i.b:e instanceof r.f?i.c:(o=n.i(r.f)(e))?(e=o,i.c):i.d)(t,e)}},function(t,e,n){var r;!function(i){"use strict";var o={},a=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,u=/\d\d?/,s=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,c=/\[([^]*?)\]/gm,l=function(){};function f(t,e){for(var n=[],r=0,i=t.length;r<i;r++)n.push(t[r].substr(0,e));return n}function h(t){return function(e,n,r){var i=r[t].indexOf(n.charAt(0).toUpperCase()+n.substr(1).toLowerCase());~i&&(e.month=i)}}function d(t,e){for(t=String(t),e=e||2;t.length<e;)t="0"+t;return t}var p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],v=["January","February","March","April","May","June","July","August","September","October","November","December"],g=f(v,3),y=f(p,3);o.i18n={dayNamesShort:y,dayNames:p,monthNamesShort:g,monthNames:v,amPm:["am","pm"],DoFn:function(t){return t+["th","st","nd","rd"][t%10>3?0:(t-t%10!=10)*t%10]}};var m={D:function(t){return t.getDate()},DD:function(t){return d(t.getDate())},Do:function(t,e){return e.DoFn(t.getDate())},d:function(t){return t.getDay()},dd:function(t){return d(t.getDay())},ddd:function(t,e){return e.dayNamesShort[t.getDay()]},dddd:function(t,e){return e.dayNames[t.getDay()]},M:function(t){return t.getMonth()+1},MM:function(t){return d(t.getMonth()+1)},MMM:function(t,e){return e.monthNamesShort[t.getMonth()]},MMMM:function(t,e){return e.monthNames[t.getMonth()]},YY:function(t){return String(t.getFullYear()).substr(2)},YYYY:function(t){return d(t.getFullYear(),4)},h:function(t){return t.getHours()%12||12},hh:function(t){return d(t.getHours()%12||12)},H:function(t){return t.getHours()},HH:function(t){return d(t.getHours())},m:function(t){return t.getMinutes()},mm:function(t){return d(t.getMinutes())},s:function(t){return t.getSeconds()},ss:function(t){return d(t.getSeconds())},S:function(t){return Math.round(t.getMilliseconds()/100)},SS:function(t){return d(Math.round(t.getMilliseconds()/10),2)},SSS:function(t){return d(t.getMilliseconds(),3)},a:function(t,e){return t.getHours()<12?e.amPm[0]:e.amPm[1]},A:function(t,e){return t.getHours()<12?e.amPm[0].toUpperCase():e.amPm[1].toUpperCase()},ZZ:function(t){var e=t.getTimezoneOffset();return(e>0?"-":"+")+d(100*Math.floor(Math.abs(e)/60)+Math.abs(e)%60,4)}},b={D:[u,function(t,e){t.day=e}],Do:[new RegExp(u.source+s.source),function(t,e){t.day=parseInt(e,10)}],M:[u,function(t,e){t.month=e-1}],YY:[u,function(t,e){var n=+(""+(new Date).getFullYear()).substr(0,2);t.year=""+(e>68?n-1:n)+e}],h:[u,function(t,e){t.hour=e}],m:[u,function(t,e){t.minute=e}],s:[u,function(t,e){t.second=e}],YYYY:[/\d{4}/,function(t,e){t.year=e}],S:[/\d/,function(t,e){t.millisecond=100*e}],SS:[/\d{2}/,function(t,e){t.millisecond=10*e}],SSS:[/\d{3}/,function(t,e){t.millisecond=e}],d:[u,l],ddd:[s,l],MMM:[s,h("monthNamesShort")],MMMM:[s,h("monthNames")],a:[s,function(t,e,n){var r=e.toLowerCase();r===n.amPm[0]?t.isPm=!1:r===n.amPm[1]&&(t.isPm=!0)}],ZZ:[/([\+\-]\d\d:?\d\d|Z)/,function(t,e){"Z"===e&&(e="+00:00");var n,r=(e+"").match(/([\+\-]|\d\d)/gi);r&&(n=60*r[1]+parseInt(r[2],10),t.timezoneOffset="+"===r[0]?n:-n)}]};b.dd=b.d,b.dddd=b.ddd,b.DD=b.D,b.mm=b.m,b.hh=b.H=b.HH=b.h,b.MM=b.M,b.ss=b.s,b.A=b.a,o.masks={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},o.format=function(t,e,n){var r=n||o.i18n;if("number"==typeof t&&(t=new Date(t)),"[object Date]"!==Object.prototype.toString.call(t)||isNaN(t.getTime()))throw new Error("Invalid Date in fecha.format");e=o.masks[e]||e||o.masks.default;var i=[];return(e=(e=e.replace(c,function(t,e){return i.push(e),"??"})).replace(a,function(e){return e in m?m[e](t,r):e.slice(1,e.length-1)})).replace(/\?\?/g,function(){return i.shift()})},o.parse=function(t,e,n){var r=n||o.i18n;if("string"!=typeof e)throw new Error("Invalid format in fecha.parse");if(e=o.masks[e]||e,t.length>1e3)return!1;var i=!0,u={};if(e.replace(a,function(e){if(b[e]){var n=b[e],o=t.search(n[0]);~o?t.replace(n[0],function(e){return n[1](u,e,r),t=t.substr(o+e.length),e}):i=!1}return b[e]?"":e.slice(1,e.length-1)}),!i)return!1;var s,c=new Date;return!0===u.isPm&&null!=u.hour&&12!=+u.hour?u.hour=+u.hour+12:!1===u.isPm&&12==+u.hour&&(u.hour=0),null!=u.timezoneOffset?(u.minute=+(u.minute||0)-+u.timezoneOffset,s=new Date(Date.UTC(u.year||c.getFullYear(),u.month||0,u.day||1,u.hour||0,u.minute||0,u.second||0,u.millisecond||0))):s=new Date(u.year||c.getFullYear(),u.month||0,u.day||1,u.hour||0,u.minute||0,u.second||0,u.millisecond||0),s},void 0!==t&&t.exports?t.exports=o:void 0===(r=function(){return o}.call(e,n,e,t))||(t.exports=r)}()},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";t.exports=n(541)},function(t,e,n){"use strict";var r=function(){};r=function(t,e,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var i=2;i<r;i++)n[i-2]=arguments[i];if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(e.length<10||/^[s\W]*$/.test(e))throw new Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+e);if(!t){var o=0,a="Warning: "+e.replace(/%s/g,function(){return n[o++]});"undefined"!=typeof console&&console.error(a);try{throw new Error(a)}catch(t){}}},t.exports=r},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(32),i=n(2),o=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o._initDefaultCfg=function(){this.marginRatio=.5,this.dodgeRatio=.5,this.adjustNames=["x","y"]},o.getDodgeOffset=function(t,e,n){var r=t.pre,i=t.next,o=i-r,a=o*this.dodgeRatio/n,u=this.marginRatio*a;return(r+i)/2+(.5*(o-n*a-(n-1)*u)+((e+1)*a+e*u)-.5*a-.5*o)},o.processAdjust=function(t){var e=this,n=t.length,r=e.xField;i(t,function(t,i){for(var o=0,a=t.length;o<a;o++){var u=t[o],s=u[r],c={pre:1===a?s-1:s-.5,next:1===a?s+1:s+.5},l=e.getDodgeOffset(c,i,n);u[r]=l}})},r}(r);r.Dodge=o,t.exports=o},function(t,e,n){var r=n(10),i=n(32),o=n(225),a=n(230),u=n(105),s=n(228),c=n(229);r(i.prototype,u),r(o.prototype,u,s),r(a.prototype,c),i.Jitter=n(227),i.Symmetric=n(231),i.Dodge=o,i.Stack=a,t.exports=i},function(t,e,n){var r=n(2),i=n(10),o={merge:n(54)},a=n(32),u=n(105),s=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a._initDefaultCfg=function(){this.xField=null,this.yField=null,this.adjustNames=["x","y"],this.groupFields=null},a.processAdjust=function(t){var e=o.merge(t);this.adjDataArray=t,this.mergeData=e,this.adjustData(t,e),this.adjFrames=null,this.mergeData=null},a.getAdjustOffset=function(t,e){var n=e-t;return t+.05*n+.9*n*Math.random()},a._adjustGroup=function(t,e,n,i){var o=this,a=o.getAdjustRange(e,n,i);r(t,function(t){t[e]=o.getAdjustOffset(a.pre,a.next)})},a.adjustDim=function(t,e,n){var i=this,o=i.groupData(n,t);r(o,function(n,r){r=parseFloat(r),i._adjustGroup(n,t,r,e)})},i}(a);i(s.prototype,u),a.Jitter=s,t.exports=s},function(t,e,n){var r={merge:n(54),values:n(79)},i=n(163),o=n(2);t.exports={processAdjust:function(t){var e=r.merge(t),n=this.dodgeBy,o=t;n&&(o=i(e,n)),this.cacheMap={},this.adjDataArray=o,this.mergeData=e,this.adjustData(o,e),this.adjDataArray=null,this.mergeData=null},getDistribution:function(t){var e=this.adjDataArray,n=this.cacheMap,i=n[t];return i||(i={},o(e,function(e,n){var a=r.values(e,t);a.length||a.push(0),o(a,function(t){i[t]||(i[t]=[]),i[t].push(n)})}),n[t]=i),i},adjustDim:function(t,e,n,r,i){var a=this,u=a.getDistribution(t),s=a.groupData(n,t);o(s,function(n,r){var s;r=parseFloat(r),s=1===e.length?{pre:e[0]-1,next:e[0]+1}:a.getAdjustRange(t,r,e),o(n,function(e){var n=e[t],r=u[n],o=r.indexOf(i);e[t]=a.getDodgeOffset(s,o,r.length)})})}}},function(t,e){t.exports={_initDefaultCfg:function(){this.xField=null,this.yField=null,this.height=null,this.size=10,this.reverseOrder=!1,this.adjustNames=["y"]},processOneDimStack:function(t){var e=this.xField,n=this.yField||"y",r=this.height,i={};this.reverseOrder&&(t=t.slice(0).reverse());for(var o=0,a=t.length;o<a;o++)for(var u=t[o],s=0,c=u.length;s<c;s++){var l=u[s],f=2*(l.size||this.size)/r,h=l[e];i[h]||(i[h]=f/2),l[n]=i[h],i[h]+=f}},processAdjust:function(t){this.yField?this.processStack(t):this.processOneDimStack(t)}}},function(t,e,n){var r=n(4),i=n(6),o=n(32),a=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a._initDefaultCfg=function(){this.xField=null,this.yField=null},a.processAdjust=function(t){this.processStack(t)},a.processStack=function(t){var e=this.xField,n=this.yField,o=t.length,a={positive:{},negative:{}};this.reverseOrder&&(t=t.slice(0).reverse());for(var u=0;u<o;u++)for(var s=t[u],c=0,l=s.length;c<l;c++){var f=s[c],h=f[e]||0,d=f[n],p=h.toString();if(d=r(d)?d[1]:d,!i(d)){var v=d>=0?"positive":"negative";a[v][p]||(a[v][p]=0),f[n]=[a[v][p],d+a[v][p]],a[v][p]+=d}}},o}(o);o.Stack=a,t.exports=a},function(t,e,n){var r=n(2),i=n(166),o=n(4),a={merge:n(54)},u=n(32),s=function(t){var e,n;function u(){return t.apply(this,arguments)||this}n=t,(e=u).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=u.prototype;return s._initDefaultCfg=function(){this.xField=null,this.yField=null,this.cacheMax=null,this.adjustNames=["y"],this.groupFields=null},s._getMax=function(t){var e=this.mergeData,n=i(e,function(e){var n=e[t];return o(n)?Math.max.apply(null,n):n})[t];return o(n)?Math.max.apply(null,n):n},s._getXValuesMax=function(){var t=this.yField,e=this.xField,n={},i=this.mergeData;return r(i,function(r){var i=r[e],a=r[t],u=o(a)?Math.max.apply(null,a):a;n[i]=n[i]||0,n[i]<u&&(n[i]=u)}),n},s.processAdjust=function(t){var e=a.merge(t);this.mergeData=e,this._processSymmetric(t),this.mergeData=null},s._processSymmetric=function(t){var e,n=this.xField,i=this.yField,a=this._getMax(i),u=t[0][0];u&&o(u[i])&&(e=this._getXValuesMax()),r(t,function(t){r(t,function(t){var u,s=t[i];if(o(s)){var c=t[n],l=e[c];u=(a-l)/2;var f=[];r(s,function(t){f.push(u+t)}),t[i]=f}else u=(a-s)/2,t[i]=[u,s+u]})})},u}(u);u.Symmetric=s,t.exports=s},function(t,e,n){var r=n(15),i=n(106),o=function(t){var e,n;function o(e){var n;return(n=t.call(this,e)||this).names=["color"],n.type="color",n.gradient=null,r(n.values)&&(n.linear=!0),n}return n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,o.prototype.getLinearValue=function(t){var e=this.gradient;if(!e){var n=this.values;e=i.gradient(n),this.gradient=e}return e(t)},o}(n(33));t.exports=o},function(t,e,n){var r=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).names=["opacity"],n.type="opacity",n.gradient=null,n}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r}(n(33));t.exports=r},function(t,e,n){var r=n(6),i=n(4),o=n(2),a=function(t){var e,n;function a(e){var n;return(n=t.call(this,e)||this).names=["x","y"],n.type="position",n}return n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,a.prototype.mapping=function(t,e){var n,a,u,s=this.scales,c=this.coord,l=s[0],f=s[1];if(r(t)||r(e))return[];if(i(e)&&i(t)){n=[],a=[];for(var h=0,d=0,p=t.length,v=e.length;h<p&&d<v;h++,d++)u=c.convertPoint({x:l.scale(t[h]),y:f.scale(e[d])}),n.push(u.x),a.push(u.y)}else if(i(e))t=l.scale(t),a=[],o(e,function(e){e=f.scale(e),u=c.convertPoint({x:t,y:e}),n&&n!==u.x?(i(n)||(n=[n]),n.push(u.x)):n=u.x,a.push(u.y)});else if(i(t))e=f.scale(e),n=[],o(t,function(t){t=l.scale(t),u=c.convertPoint({x:t,y:e}),a&&a!==u.y?(i(a)||(a=[a]),a.push(u.y)):a=u.y,n.push(u.x)});else{t=l.scale(t),e=f.scale(e);var g=c.convertPoint({x:t,y:e});n=g.x,a=g.y}return[n,a]},a}(n(33));t.exports=a},function(t,e,n){var r=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).names=["shape"],n.type="shape",n.gradient=null,n}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.getLinearValue=function(t){var e=this.values;return e[Math.round((e.length-1)*t)]},r}(n(33));t.exports=r},function(t,e,n){var r=function(t){var e,n;function r(e){var n;return(n=t.call(this,e)||this).names=["size"],n.type="size",n.gradient=null,n}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r}(n(33));t.exports=r},function(t,e,n){var r=n(3),i=n(34),o=r.MatrixUtil.vec2,a=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"circle",tickInterval:null,startAngle:-Math.PI/2,endAngle:3*Math.PI/2,line:{lineWidth:1,stroke:"#C0D0E0"},tickLine:{lineWidth:1,stroke:"#C0D0E0",length:5},_labelOffset:5})},a.parseTick=function(t,e,n){return{text:t,value:e/n}},a._getCirclePoint=function(t,e){var n=this.get("center");return e=e||this.get("radius"),{x:n.x+Math.cos(t)*e,y:n.y+Math.sin(t)*e}},a.getTickPoint=function(t){var e=this.get("startAngle"),n=e+(this.get("endAngle")-e)*t;return this._getCirclePoint(n)},a.getSideVector=function(t,e){var n=this.get("center"),i=[e.x-n.x,e.y-n.y];if(!r.isNil(t)){var a=o.length(i);o.scale(i,i,t/a)}return i},a.getSidePoint=function(t,e){var n=this.getSideVector(e,t);return{x:t.x+n[0],y:t.y+n[1]}},a.getTickEnd=function(t,e){var n=this.get("tickLine");return e=e||n.length,this.getSidePoint(t,e)},a.getTextAnchor=function(t){var e;return r.snapEqual(t[0],0)?e="center":t[0]>0?e="left":t[0]<0&&(e="right"),e},a.getLinePath=function(){var t=this.get("center"),e=t.x,n=t.y,r=this.get("radius"),i=r,o=this.get("startAngle"),a=this.get("endAngle"),u=this.get("inner"),s=[];if(Math.abs(a-o)===2*Math.PI)s=[["M",e,n],["m",0,-i],["a",r,i,0,1,1,0,2*i],["a",r,i,0,1,1,0,-2*i],["z"]];else{var c=this._getCirclePoint(o),l=this._getCirclePoint(a),f=Math.abs(a-o)>Math.PI?1:0,h=o>a?0:1;if(u){var d=this.getSideVector(u*r,c),p=this.getSideVector(u*r,l),v={x:d[0]+e,y:d[1]+n},g={x:p[0]+e,y:p[1]+n};s=[["M",v.x,v.y],["L",c.x,c.y],["A",r,i,0,f,h,l.x,l.y],["L",g.x,g.y],["A",r*u,i*u,0,f,Math.abs(h-1),v.x,v.y]]}else s=[["M",e,n],["L",c.x,c.y],["A",r,i,0,f,h,l.x,l.y],["L",e,n]]}return s},a.addLabel=function(e,n,r){var i=this.get("label").offset||this.get("_labelOffset")||.001;n=this.getSidePoint(n,i),t.prototype.addLabel.call(this,e,n,r)},a.autoRotateLabels=function(){var t=this.get("ticks"),e=this.get("labelRenderer");if(e&&t.length>12){var n=this.get("radius"),i=this.get("startAngle"),o=this.get("endAngle")-i,a=o/(t.length-1),u=Math.sin(a/2)*n*2,s=this.getMaxLabelWidth(e);r.each(e.get("group").get("children"),function(e,n){var r=t[n].value*o+i,a=r%(2*Math.PI);s<u?(a<=0&&(r+=Math.PI),a>Math.PI&&(r-=Math.PI),r-=Math.PI/2,e.attr("textAlign","center")):a>Math.PI/2?r-=Math.PI:a<Math.PI/2*-1&&(r+=Math.PI),e.rotateAtStart(r)})}},i}(i);t.exports=a},function(t,e,n){var r=n(3),i=n(34),o=r.MatrixUtil,a=r.PathUtil,u=o.vec2,s=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{inner:0,type:"helix",line:{lineWidth:1,stroke:"#C0D0E0"},tickLine:{lineWidth:1,stroke:"#C0D0E0",length:5},startAngle:1.25*Math.PI,endAngle:7.25*Math.PI,a:0,center:null,axisStart:null,crp:[]})},o.getLinePath=function(){var t=this.get("crp"),e=this.get("axisStart"),n=a.catmullRomToBezier(t);return n.unshift(["M",e.x,e.y]),n},o.getTickPoint=function(t){var e=this.get("startAngle"),n=e+(this.get("endAngle")-e)*t;return this._getHelixPoint(n)},o._getHelixPoint=function(t){var e=this.get("center"),n=this.get("a")*t+this.get("inner");return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},o.getSideVector=function(t,e){var n=this.get("center"),r=[e.x-n.x,e.y-n.y];if(t){var i=u.length(r);u.scale(r,r,t/i)}return r},o.getSidePoint=function(t,e){var n=this.getSideVector(e,t);return{x:t.x+n[0],y:t.y+n[1]}},o.getTickEnd=function(t,e){var n=this.get("tickLine");return e=e||n.length,this.getSidePoint(t,e)},i}(i);t.exports=s},function(t,e,n){var r=n(34);r.Base=r,r.Circle=n(237),r.Grid=n(107),r.Helix=n(238),r.Line=n(240),r.Polyline=n(241),t.exports=r},function(t,e,n){var r=n(34),i=n(3),o=i.MatrixUtil.vec2,a=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=r.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return i.mix({},e,{x:null,y:null,line:{lineWidth:1,stroke:"#C0D0E0"},tickLine:{lineWidth:1,stroke:"#C0D0E0",length:5},isVertical:!1,start:null,end:null})},a._getAvgLabelLength=function(t){var e=t.get("group").get("children");return e[1].attr("x")-e[0].attr("x")},a._getAvgLabelHeightSpace=function(t){var e=t.get("group").get("children");return e[1].attr("y")-e[0].attr("y")},a.getSideVector=function(t){var e=this.get("isVertical"),n=this.get("factor");if(!i.isNumber(t))return[0,0];var r=this.get("start"),a=this.get("end"),u=this.getAxisVector(),s=o.normalize([],u),c=!1;(e&&r.y<a.y||!e&&r.x>a.x)&&(c=!0);var l=o.vertical([],s,c);return o.scale([],l,t*n)},a.getAxisVector=function(){var t=this.get("start"),e=this.get("end");return[e.x-t.x,e.y-t.y]},a.getLinePath=function(){var t=this.get("start"),e=this.get("end"),n=[];return n.push(["M",t.x,t.y]),n.push(["L",e.x,e.y]),n},a.getTickEnd=function(t,e){var n=this.getSideVector(e);return{x:t.x+n[0],y:t.y+n[1]}},a.getTickPoint=function(t){var e=this.get("start"),n=this.get("end"),r=n.x-e.x,i=n.y-e.y;return{x:e.x+r*t,y:e.y+i*t}},a.renderTitle=function(){var t=this.get("title"),e=this.getTickPoint(.5),n=t.offset;if(i.isNil(n)){n=20;var r=this.get("labelsGroup");if(r)n+=this.getMaxLabelWidth(r)+(this.get("label").offset||this.get("_labelOffset"))}var a=t.textStyle,u=i.mix({},a);if(t.text){var s=this.getAxisVector();if(t.autoRotate&&i.isNil(a.rotate)){var c=0;if(!i.snapEqual(s[1],0)){var l=[s[0],s[1]];c=o.angleTo(l,[1,0],!0)}u.rotate=c*(180/Math.PI)}else i.isNil(a.rotate)||(u.rotate=a.rotate/180*Math.PI);var f,h=this.getSideVector(n),d=t.position;f="start"===d?{x:this.get("start").x+h[0],y:this.get("start").y+h[1]}:"end"===d?{x:this.get("end").x+h[0],y:this.get("end").y+h[1]}:{x:e.x+h[0],y:e.y+h[1]},u.x=f.x,u.y=f.y,u.text=t.text;var p=this.get("group").addShape("Text",{zIndex:2,attrs:u});p.name="axis-title",this.get("appendInfo")&&p.setSilent("appendInfo",this.get("appendInfo"))}},a.autoRotateLabels=function(){var t=this.get("labelRenderer"),e=this.get("title");if(t){var n=t.get("group").get("children"),r=this.get("label").offset,o=e?e.offset:48;if(o<0)return;var a,u,s=this.getAxisVector();if(i.snapEqual(s[0],0)&&e&&e.text)(u=this.getMaxLabelWidth(t))>o-r-12&&(a=-1*Math.acos((o-r-12)/u));else if(i.snapEqual(s[1],0)&&n.length>1){var c=Math.abs(this._getAvgLabelLength(t));(u=this.getMaxLabelWidth(t))>c&&(a=Math.asin(1.25*(o-r-12)/u))}if(a){var l=this.get("factor");i.each(n,function(t){t.rotateAtStart(a),i.snapEqual(s[1],0)&&(l>0?t.attr("textAlign","left"):t.attr("textAlign","right"))})}}},a.autoHideLabels=function(){var t,e,n=this.get("labelRenderer");if(n){var r=n.get("group").get("children"),o=this.getAxisVector();if(r.length<2)return;if(i.snapEqual(o[0],0)){var a=this.getMaxLabelHeight(n)+8,u=Math.abs(this._getAvgLabelHeightSpace(n));a>u&&(t=a,e=u)}else if(i.snapEqual(o[1],0)&&r.length>1){var s=this.getMaxLabelWidth(n)+8,c=Math.abs(this._getAvgLabelLength(n));s>c&&(t=s,e=c)}if(t&&e){var l=Math.ceil(t/e);i.each(r,function(t,e){e%l!=0&&t.attr("text","")})}}},r}(r);t.exports=a},function(t,e,n){var r=n(3),i=n(34),o=r.MatrixUtil,a=r.PathUtil,u=o.vec2,s=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"polyline"})},o.getLinePath=function(){var t=this.get("tickPoints"),e=this.get("start"),n=this.get("end"),i=[];i.push(e.x),i.push(e.y),r.each(t,function(t){i.push(t.x),i.push(t.y)}),i.push(n.x),i.push(n.y);var o=a.catmullRomToBezier(i);return o.unshift(["M",e.x,e.y]),o},o.getTickPoint=function(t,e){return this.get("tickPoints")[e]},o.getTickEnd=function(t,e,n){var r=this.get("tickLine"),i=e||r.length,o=this.getSideVector(i,t,n);return{x:t.x+o[0],y:t.y+o[1]}},o.getSideVector=function(t,e,n){var r;if(0===n){if((r=this.get("start")).x===e.x&&r.y===e.y)return[0,0]}else r=this.get("tickPoints")[n-1];var i=[e.x-r.x,e.y-r.y],o=u.normalize([],i),a=u.vertical([],o,!1);return u.scale([],a,t)},i}(i);t.exports=s},function(t,e,n){var r=n(3),i=n(20),o=Math.PI,a=Math.atan;function u(t,e){var n,r=t.x-e.x,i=t.y-e.y;return 0===i?n=r<0?o/2:270*o/180:r>=0&&i>0?n=2*o-a(r/i):r<=0&&i<0?n=o-a(r/i):r>0&&i<0?n=o+a(-r/i):r<0&&i>0&&(n=a(r/-i)),n}var s=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"arc",start:null,end:null,style:{stroke:"#999",lineWidth:1}})},a.render=function(t,e){var n,i=this.parsePoint(t,this.get("start")),a=this.parsePoint(t,this.get("end")),s=t.getCenter(),c=Math.sqrt((i.x-s.x)*(i.x-s.x)+(i.y-s.y)*(i.y-s.y)),l=u(i,s),f=u(a,s);if(f<l&&(f+=2*o),r.isNumberEqual(i.x,a.x)&&r.isNumberEqual(i.y,a.y)&&(this.get("start")[0]!==this.get("end")[0]||this.get("start")[1]!==this.get("end")[1]))n=[["M",i.x,i.y],["A",c,c,0,1,1,2*s.x-i.x,2*s.y-i.y],["A",c,c,0,1,1,i.x,i.y]];else{var h=(f-l)%(2*o)>o?1:0;n=[["M",i.x,i.y],["A",c,c,0,h,1,a.x,a.y]]}var d=e.addShape("path",{zIndex:this.get("zIndex"),attrs:r.mix({path:n},this.get("style"))});d.name="guide-arc",this.get("appendInfo")&&d.setSilent("appendInfo",this.get("appendInfo")),this.set("el",d)},i}(i);t.exports=s},function(t,e,n){var r=n(3),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"dataMarker",zIndex:1,top:!0,position:null,style:{point:{r:3,fill:"#FFFFFF",stroke:"#1890FF",lineWidth:2},line:{stroke:"#A3B1BF",lineWidth:1},text:{fill:"#000000",opacity:.65,fontSize:12,textAlign:"start"}},display:{point:!0,line:!0,text:!0},lineLength:20,direction:"upward",autoAdjust:!0})},o.render=function(t,e){var n=this.parsePoint(t,this.get("position")),r=e.addGroup();r.name="guide-data-marker";var i,o,a=this._getElementPosition(n),u=this.get("display");if(u.line){var s=a.line;i=this._drawLine(s,r)}if(u.text&&this.get("content")){var c=a.text;o=this._drawText(c,r)}if(u.point){var l=a.point;this._drawPoint(l,r)}if(this.get("autoAdjust")){var f=r.getBBox(),h=f.minX,d=f.minY,p=f.maxX,v=f.maxY,g=t.start,y=t.end;if(o){h<=g.x&&o.attr("textAlign","start"),p>=y.x&&o.attr("textAlign","end");var m=this.get("direction");if("upward"===m&&d<=y.y||"upward"!==m&&v>=g.y){var b,x;"upward"===m&&d<=y.y?(b="top",x=1):(b="bottom",x=-1),o.attr("textBaseline",b);var w=0;if(this.get("display").line){w=this.get("lineLength");var _=[["M",n.x,n.y],["L",n.x,n.y+w*x]];i.attr("path",_)}var S=n.y+(w+2)*x;o.attr("y",S)}}}this.get("appendInfo")&&r.setSilent("appendInfo",this.get("appendInfo")),this.set("el",r)},o._getElementPosition=function(t){var e=t.x,n=t.y,r=this.get("display").line?this.get("lineLength"):0,i=this.get("direction");this.get("style").text.textBaseline="upward"===i?"bottom":"top";var o="upward"===i?-1:1;return{point:{x:e,y:n},line:[{x:e,y:n},{x:e,y:r*o+n}],text:{x:e,y:(r+2)*o+n}}},o._drawLine=function(t,e){var n=this.get("style").line,i=[["M",t[0].x,t[0].y],["L",t[1].x,t[1].y]];return e.addShape("path",{attrs:r.mix({path:i},n)})},o._drawText=function(t,e){var n=this.get("style").text;return e.addShape("text",{attrs:r.mix({text:this.get("content")},n,t)})},o._drawPoint=function(t,e){var n=this.get("style").point;return e.addShape("circle",{attrs:r.mix({},n,t)})},i}(n(20));t.exports=i},function(t,e,n){var r=n(3),i=n(108),o=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"dataRegion",start:null,end:null,content:"",style:{region:{lineWidth:0,fill:"#000000",opacity:.04},text:{textAlign:"center",textBaseline:"bottom",fontSize:12,fill:"rgba(0, 0, 0, .65)"}}})},a.render=function(t,e,n){var i=this.get("lineLength")||0,o=this._getRegionData(t,n);if(o.length){var a=this._getBBox(o),u=[];u.push(["M",o[0].x,a.yMin-i]);for(var s=0,c=o.length;s<c;s++){var l=["L",o[s].x,o[s].y];u.push(l)}u.push(["L",o[o.length-1].x,a.yMin-i]);var f=this.get("style"),h=f.region,d=f.text,p=e.addGroup();p.name="guide-data-region",p.addShape("path",{attrs:r.mix({path:u},h)});var v=this.get("content");v&&p.addShape("Text",{attrs:r.mix({x:(a.xMin+a.xMax)/2,y:a.yMin-i,text:v},d)}),this.get("appendInfo")&&p.setSilent("appendInfo",this.get("appendInfo")),this.set("el",p)}},a._getRegionData=function(t,e){for(var n,o=this.get("start"),a=this.get("end"),u=i.getFirstScale(this.get("xScales")).field,s=i.getFirstScale(this.get("yScales")).field,c=r.isArray(o)?o[0]:o[u],l=r.isArray(a)?a[0]:a[u],f=[],h=0,d=e.length;h<d;h++){var p=e[h];if(p[u]===c&&(n=h),h>=n&&f.push(this.parsePoint(t,[p[u],p[s]])),p[u]===l)break}return f},a._getBBox=function(t){for(var e=[],n=[],i=0;i<t.length;i++)e.push(t[i].x),n.push(t[i].y);var o=r.arrayUtil.getRange(e),a=r.arrayUtil.getRange(n);return{xMin:o.min,xMax:o.max,yMin:a.min,yMax:a.max}},o}(n(20));t.exports=o},function(t,e,n){var r=n(3),i=r.DomUtil,o=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"html",zIndex:7,position:null,alignX:"middle",alignY:"middle",offsetX:null,offsetY:null,html:null})},a.render=function(t,e){var n=this.parsePoint(t,this.get("position")),o=e.get("canvas").get("el").parentNode,a=i.createDom('<div class="g-guide"></div>');o.appendChild(a);var u=this.get("htmlContent")||this.get("html");r.isFunction(u)&&(u=u(this.get("xScales"),this.get("yScales")));var s=i.createDom(u);a.appendChild(s),i.modifyCSS(a,{position:"absolute"}),this._setDomPosition(a,s,n),this.set("el",a)},a._setDomPosition=function(t,e,n){var r=this.get("alignX"),o=this.get("alignY"),a=i.getOuterWidth(e),u=i.getOuterHeight(e),s={x:n.x,y:n.y};"middle"===r&&"top"===o?s.x-=Math.round(a/2):"middle"===r&&"bottom"===o?(s.x-=Math.round(a/2),s.y-=Math.round(u)):"left"===r&&"bottom"===o?s.y-=Math.round(u):"left"===r&&"middle"===o?s.y-=Math.round(u/2):"left"===r&&"top"===o?(s.x=n.x,s.y=n.y):"right"===r&&"bottom"===o?(s.x-=Math.round(a),s.y-=Math.round(u)):"right"===r&&"middle"===o?(s.x-=Math.round(a),s.y-=Math.round(u/2)):"right"===r&&"top"===o?s.x-=Math.round(a):(s.x-=Math.round(a/2),s.y-=Math.round(u/2));var c=this.get("offsetX");c&&(s.x+=c);var l=this.get("offsetY");l&&(s.y+=l),i.modifyCSS(t,{top:Math.round(s.y)+"px",left:Math.round(s.x)+"px",visibility:"visible",zIndex:this.get("zIndex")})},a.clear=function(){var t=this.get("el");t&&t.parentNode&&t.parentNode.removeChild(t)},o}(n(20));t.exports=o},function(t,e,n){var r=n(3),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"image",start:null,end:null,src:null,offsetX:null,offsetY:null})},o.render=function(t,e){var n=this.parsePoint(t,this.get("start")),r={x:n.x,y:n.y};if(r.img=this.get("src"),this.get("end")){var i=this.parsePoint(t,this.get("end"));r.width=i.x-n.x,r.height=i.y-n.y}else r.width=this.get("width")||32,r.height=this.get("height")||32;this.get("offsetX")&&(r.x+=this.get("offsetX")),this.get("offsetY")&&(r.y+=this.get("offsetY"));var o=e.addShape("Image",{zIndex:1,attrs:r});o.name="guide-image",this.get("appendInfo")&&o.setSilent("appendInfo",this.get("appendInfo")),this.set("el",o)},i}(n(20));t.exports=i},function(t,e,n){t.exports={Guide:n(20),Arc:n(242),DataMarker:n(243),DataRegion:n(244),Html:n(245),Image:n(246),Line:n(248),Region:n(249),Text:n(250)}},function(t,e,n){var r=n(3),i=n(20),o=r.MatrixUtil.vec2,a=n(19).FONT_FAMILY,u=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var u=i.prototype;return u.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"line",start:null,end:null,lineStyle:{stroke:"#000",lineWidth:1},text:{position:"end",autoRotate:!0,style:{fill:"#999",fontSize:12,fontWeight:500,fontFamily:a},content:null}})},u.render=function(t,e){var n=this.parsePoint(t,this.get("start")),r=this.parsePoint(t,this.get("end")),i=e.addGroup({viewId:e.get("viewId")});this._drawLines(n,r,i);var o=this.get("text");o&&o.content&&this._drawText(n,r,i),this.set("el",i)},u._drawLines=function(t,e,n){var i=[["M",t.x,t.y],["L",e.x,e.y]],o=n.addShape("Path",{attrs:r.mix({path:i},this.get("lineStyle"))});o.name="guide-line",this.get("appendInfo")&&o.setSilent("appendInfo",this.get("appendInfo"))},u._drawText=function(t,e,n){var i,a=this.get("text"),u=a.position,s=a.style||{};((i="start"===u?0:"center"===u?.5:r.isString(u)&&-1!==u.indexOf("%")?parseInt(u,10)/100:r.isNumber(u)?u:1)>1||i<0)&&(i=1);var c={x:t.x+(e.x-t.x)*i,y:t.y+(e.y-t.y)*i};if(a.offsetX&&(c.x+=a.offsetX),a.offsetY&&(c.y+=a.offsetY),c.text=a.content,c=r.mix({},c,s),a.autoRotate&&r.isNil(s.rotate)){var l=o.angleTo([e.x-t.x,e.y-t.y],[1,0],1);c.rotate=l}else r.isNil(s.rotate)||(c.rotate=s.rotate*Math.PI/180);var f=n.addShape("Text",{attrs:c});f.name="guide-line-text",this.get("appendInfo")&&f.setSilent("appendInfo",this.get("appendInfo"))},i}(i);t.exports=u},function(t,e,n){var r=n(3),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"region",zIndex:1,start:null,end:null,style:{lineWidth:0,fill:"#CCD7EB",opacity:.4}})},o.render=function(t,e){var n=this.get("style"),i=this._getPath(t),o=e.addShape("path",{zIndex:this.get("zIndex"),attrs:r.mix({path:i},n)});o.name="guide-region",this.get("appendInfo")&&o.setSilent("appendInfo",this.get("appendInfo")),this.set("el",o)},o._getPath=function(t){var e=this.parsePoint(t,this.get("start")),n=this.parsePoint(t,this.get("end"));return[["M",e.x,e.y],["L",n.x,e.y],["L",n.x,n.y],["L",e.x,n.y],["z"]]},i}(n(20));t.exports=i},function(t,e,n){var r=n(3),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"text",position:null,content:null,style:{fill:"#999",fontSize:12,fontWeight:500,textAlign:"center"},offsetX:null,offsetY:null,top:!0})},o.render=function(t,e){var n=this.parsePoint(t,this.get("position")),i=r.mix({},this.get("style")),o=this.get("offsetX"),a=this.get("offsetY");o&&(n.x+=o),a&&(n.y+=a),i.rotate&&(i.rotate=i.rotate*Math.PI/180);var u=e.addShape("Text",{zIndex:this.get("zIndex"),attrs:r.mix({text:this.get("content")},i,n)});u.name="guide-text",this.get("appendInfo")&&u.setSilent("appendInfo",this.get("appendInfo")),this.set("el",u)},i}(n(20));t.exports=i},function(t,e,n){var r=n(109);t.exports=r},function(t,e){t.exports=function(t,e){for(var n,r,i=[],o=0;o<t.length;o++)n=t[o].getBBox(),r=e[o].getBBox(),n.width>r.width||n.height>r.height?i.push(t[o]):n.width*n.height>r.width*r.height&&i.push(t[o]);for(var a=0;a<i.length;a++)i[a].remove()}},function(t,e,n){var r=n(110);function i(t,e,n,r){var i=t.getBBox(),o=i.width,a=i.height,u={x:e,y:n,textAlign:"center"};switch(r){case 0:u.y-=a/2,u.textAlign="left";break;case 1:u.y-=a/2,u.textAlign="right";break;case 2:u.y+=a/2,u.textAlign="right";break;case 3:u.y+=a/2,u.textAlign="left";break;case 5:u.y-=a/2;break;case 6:u.y+=a/2;break;case 7:u.x+=o/2,u.textAlign="left";break;case 8:u.x-=o/2,u.textAlign="right"}return t.attr(u),t.getBBox()}t.exports=function(t){for(var e,n,o,a,u,s=new r,c=[],l=0;l<t.length;l++){o=(n=t[l]).attr("x"),a=n.attr("y"),u=!1;for(var f=0;f<8;f++)if(e=i(n,o,a,f),s.hasGap(e)){s.fillGap(e),u=!0;break}u||c.push(n)}for(var h=0;h<c.length;h++)c[h].remove();return u}},function(t,e,n){var r=n(110),i=20;function o(t,e){var n,r=t.attr("x"),o=t.attr("y"),a=t.getBBox(),u=Math.sqrt(a.width*a.width+a.height*a.height),s=1,c=0,l=0,f=function(t){return[(t*=.1)*Math.cos(t),t*Math.sin(t)]};if(e.hasGap(a))return e.fillGap(a),!0;for(var h=!1,d=0;Math.min(Math.abs(c),Math.abs(l))<u&&d<i;)if(c=~~(n=f(s+=-1))[0],l=~~n[1],t.attr({x:r+c,y:o+l}),d++,e.hasGap(t.getBBox())){e.fillGap(a),h=!0;break}return h}t.exports=function(t){for(var e,n=new r,i=[],a=0;a<t.length;a++)o(e=t[a],n)||i.push(e);for(var u=0;u<i.length;u++)i[u].remove()}},function(t,e,n){var r=n(3),i=n(112),o=n(19).FONT_FAMILY,a=r.DomUtil;function u(t,e){return t.getElementsByClassName(e)[0]}var s=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"category-page-legend",container:null,caretStyle:{fill:"rgba(0,0,0,0.65)"},pageNumStyle:{display:"inline-block",fontSize:"12px",fontFamily:o,cursor:"default"},slipDomStyle:{width:"auto",height:"auto",position:"absolute"},slipTpl:'<div class="g2-slip" ><svg viewBox="64 64 896 896" class="g2-caret-up" data-icon="left" width="1em" height="1em" aria-hidden="true"><path d="M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 0 0 0 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"></path></svg><p class="cur-pagenum" style = "display:inline-block;">1</p><p class="next-pagenum" style = "display:inline-block;">/2</p><svg viewBox="64 64 896 896" class="g2-caret-down" data-icon="right" width="1em" height="1em" aria-hidden="true"><path d="M765.7 486.8L314.9 134.7A7.97 7.97 0 0 0 302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 0 0 0-50.4z"></path></svg></div>',slipWidth:65,legendOverflow:"unset"})},s.render=function(){t.prototype._renderHTML.call(this),this._renderFlipPage()},s._renderFlipPage=function(){var t=document.getElementsByClassName("g2-legend")[0],e=u(t,"g2-legend-list"),n=this.get("position"),i=this.get("layout"),o="right"===n||"left"===n||"vertical"===i?"block":"inline-block";if(t.scrollHeight>t.offsetHeight){var s=this.get("slipTpl"),c=a.createDom(s),l=u(c,"g2-caret-up"),f=u(c,"g2-caret-down");a.modifyCSS(l,this.get("caretStyle")),a.modifyCSS(l,{fill:"rgba(0,0,0,0.25)"}),a.modifyCSS(f,this.get("caretStyle"));var h=u(c,"cur-pagenum"),d=u(c,"next-pagenum"),p=this.get("pageNumStyle");a.modifyCSS(h,r.mix({},p,{paddingLeft:"10px"})),a.modifyCSS(d,r.mix({},p,{opacity:.3,paddingRight:"10px"})),a.modifyCSS(c,r.mix({},this.get("slipDomStyle"),{top:t.offsetHeight+"px"})),t.style.overflow=this.get("legendOverflow"),t.appendChild(c);for(var v=e.childNodes,g=0,y=1,m=[],b=0;b<v.length;b++)v[b].style.display=o,(g=v[b].offsetTop+v[b].offsetHeight)>=t.offsetHeight&&(y++,m.forEach(function(t){t.style.display="none"}),m=[]),m.push(v[b]);d.innerText="/"+y,v.forEach(function(e){e.style.display=o,(g=e.offsetTop+e.offsetHeight)>t.offsetHeight&&(e.style.display="none")}),l.addEventListener("click",function(){if(v[0].style.display!==o){var e=-1;v.forEach(function(t,n){t.style.display===o&&(e=-1===e?n:e,t.style.display="none")});for(var n=e-1;n>=0&&(v[n].style.display=o,g=v[e-1].offsetTop+v[e-1].offsetHeight,v[n].style.display="none",g<t.offsetHeight);n--)v[n].style.display=o;var r=Number.parseInt(h.innerText,10)-1;l.style.fill=1===r?"rgba(0,0,0,0.25)":"rgba(0,0,0,0.65)",f.style.fill="rgba(0,0,0,0.65)",h.innerText=r}}),f.addEventListener("click",function(){if(v[v.length-1].style.display!==o){var e=-1;v.forEach(function(t,n){t.style.display===o&&(e=n,t.style.display="none")});for(var n=e+1;n<v.length&&(v[n].style.display=o,g=v[n].offsetTop+v[n].offsetHeight,v[n].style.display="none",g<t.offsetHeight);n++)v[n].style.display=o;var r=Number.parseInt(h.innerText,10)+1;f.style.fill=r===o?"rgba(0,0,0,0.25)":"rgba(0,0,0,0.65)",l.style.fill="rgba(0,0,0,0.65)",h.innerText=r}}),this.set("slipDom",c)}},s.destroy=function(){t.prototype.destroy.call(this);var e=this.get("slipDom");e&&e.parentNode&&e.parentNode.removeChild(e)},i}(i);t.exports=s},function(t,e,n){var r=n(65).ColorUtil,i=n(3),o=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return i.mix({},e,{type:"color-legend",layout:"vertical",triggerAttr:{fill:"#fff",shadowOffsetX:-2,shadowOffsetY:2,shadowBlur:10,shadowColor:"#ccc",radius:3},isSegment:!1})},a._setPercentage=function(){var t=this.get("items");if(!t[0].percentage){var e=t[0].value,n=t[t.length-1].value;i.each(t,function(t){t.percentage=(t.value-e)/(n-e)})}},a._renderSliderShape=function(){this._setPercentage();var t,e=this.get("slider").get("backgroundElement"),n=this.get("width"),o=this.get("height"),a=this.get("layout"),u=this.get("items"),s="";return"vertical"===a?(s+="l (90) ",i.each(u,function(e){t=r.toRGB(e.color),s+=1-e.percentage+":"+t+" "})):(s+="l (0) ",i.each(u,function(e){t=r.toRGB(e.color),s+=e.percentage+":"+t+" "})),this._addMiddleBar(e,"Rect",{x:0,y:0,width:n,height:o,fill:s,strokeOpacity:0})},a._renderUnslidable=function(){this._setPercentage();var t=this.get("titleShape"),e=this.get("titleGap");e=t?t.getBBox().height+e:e;var n,o=this.get("width"),a=this.get("height"),u=this.get("layout"),s=this.get("items"),c="",l=[],f=this.get("group").addGroup(),h=s.length;if("vertical"===u){c+="l (90) ";for(var d=0;d<h;d+=1){if(0!==d&&d!==h-1&&(l.push(["M",0,a-s[d].percentage*a]),l.push(["L",o,a-s[d].percentage*a])),n=r.toRGB(s[d].color),c+=1-s[d].percentage+":"+n+" ",this.get("isSegment")&&d>0){var p=r.toRGB(s[d-1].color);c+=1-s[d].percentage+":"+p+" "}f.addShape("text",{attrs:i.mix({},{x:o+this.get("textOffset")/2,y:a-s[d].percentage*a,text:this._formatItemValue(s[d].value)+""},this.get("textStyle"),{textAlign:"start"})})}}else{c+="l (0) ";for(var v=0;v<h;v+=1){if(0!==v&&v!==h-1&&(l.push(["M",s[v].percentage*o,0]),l.push(["L",s[v].percentage*o,a])),n=r.toRGB(s[v].color),this.get("isSegment")&&v>0){var g=r.toRGB(s[v-1].color);c+=s[v].percentage+":"+g+" "}c+=s[v].percentage+":"+n+" ",f.addShape("text",{attrs:i.mix({},{x:s[v].percentage*o,y:a+5+this.get("textOffset"),text:this._formatItemValue(s[v].value)+""},this.get("textStyle"))})}}f.addShape("rect",{attrs:{x:0,y:0,width:o,height:a,fill:c,strokeOpacity:0}}),f.addShape("path",{attrs:i.mix({path:l},this.get("lineStyle"))}),f.move(0,e)},o}(n(67));t.exports=o},function(t,e,n){t.exports={Category:n(113),CatHtml:n(112),CatPageHtml:n(255),Color:n(256),Size:n(259),CircleSize:n(258)}},function(t,e,n){var r=n(3),i=n(67),o=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"size-circle-legend",width:100,height:200,_unslidableCircleStyle:{stroke:"rgb(99, 161, 248)",fill:"rgb(99, 161, 248)",fillOpacity:.3,lineWidth:1.5},triggerAttr:{fill:"white",shadowOffsetX:-2,shadowOffsetY:2,shadowBlur:10,shadowColor:"#ccc"},frontMiddleBarStyle:{fill:"rgb(64, 141, 251)"}})},o._renderSliderShape=function(){var t=this.get("slider").get("backgroundElement"),e=this.get("layout"),n="vertical"===e?2:this.get("width"),i="vertical"===e?this.get("height"):2,o=this.get("height")/2,a=this.get("frontMiddleBarStyle"),u="vertical"===e?[[0,0],[n,0],[n,i],[0,i]]:[[0,o+i],[0,o-i],[5+n-4,o-i],[5+n-4,o+i]];return this._addMiddleBar(t,"Polygon",r.mix({points:u},a))},o._addHorizontalTrigger=function(t,e,n,i){var o=this.get("slider").get(t+"HandleElement"),a=-this.get("height")/2,u=o.addShape("circle",{attrs:r.mix({x:0,y:a,r:i},e)}),s=o.addShape("text",{attrs:r.mix(n,{x:0,y:a+i+10,textAlign:"center",textBaseline:"middle"})}),c="vertical"===this.get("layout")?"ns-resize":"ew-resize";u.attr("cursor",c),s.attr("cursor",c),this.set(t+"ButtonElement",u),this.set(t+"TextElement",s)},o._addVerticalTrigger=function(t,e,n,i){var o=this.get("slider").get(t+"HandleElement"),a=o.addShape("circle",{attrs:r.mix({x:0,y:0,r:i},e)}),u=o.addShape("text",{attrs:r.mix(n,{x:i+10,y:0,textAlign:"start",textBaseline:"middle"})}),s="vertical"===this.get("layout")?"ns-resize":"ew-resize";a.attr("cursor",s),u.attr("cursor",s),this.set(t+"ButtonElement",a),this.set(t+"TextElement",u)},o._renderTrigger=function(){var t=this.get("firstItem"),e=this.get("lastItem"),n=this.get("layout"),i=this.get("textStyle"),o=this.get("triggerAttr"),a=r.mix({},o),u=r.mix({},o),s=r.mix({text:this._formatItemValue(t.value)+""},i),c=r.mix({text:this._formatItemValue(e.value)+""},i);"vertical"===n?(this._addVerticalTrigger("min",a,s,5),this._addVerticalTrigger("max",u,c,16)):(this._addHorizontalTrigger("min",a,s,5),this._addHorizontalTrigger("max",u,c,16))},o._bindEvents=function(){var t=this;this.get("slidable")&&this.get("slider").on("sliderchange",function(e){var n=e.range,r=t.get("firstItem").value,i=t.get("lastItem").value,o=r+n[0]/100*(i-r),a=r+n[1]/100*(i-r),u=5+n[0]/100*11,s=5+n[1]/100*11;t._updateElement(o,a,u,s);var c=new Event("itemfilter",e,!0,!0);c.range=[o,a],t.emit("itemfilter",c)})},o._updateElement=function(e,n,r,i){t.prototype._updateElement.call(this,e,n);var o=this.get("minTextElement"),a=this.get("maxTextElement"),u=this.get("minButtonElement"),s=this.get("maxButtonElement");if(u.attr("r",r),s.attr("r",i),"vertical"===this.get("layout"))o.attr("x",r+10),a.attr("x",i+10);else{var c=-this.get("height")/2;o.attr("y",c+r+10),a.attr("y",c+i+10)}},o._addCircle=function(t,e,n,i,o){var a=this.get("group").addGroup(),u=this.get("_unslidableCircleStyle"),s=this.get("textStyle"),c=this.get("titleShape"),l=this.get("titleGap");c&&(l+=c.getBBox().height),a.addShape("circle",{attrs:r.mix({x:t,y:e+l,r:0===n?1:n},u)}),"vertical"===this.get("layout")?a.addShape("text",{attrs:r.mix({x:o+20+this.get("textOffset"),y:e+l,text:0===i?"0":i},s)}):a.addShape("text",{attrs:r.mix({x:t,y:e+l+o+13+this.get("textOffset"),text:0===i?"0":i},s)})},o._renderUnslidable=function(){var t=this.get("firstItem").value,e=this.get("lastItem").value;if(t>e){var n=e;e=t,t=n}var r=this._formatItemValue(t),i=this._formatItemValue(e),o=t<5?5:t,a=e>16?16:e;o>a&&(o=5,a=16),"vertical"===this.get("layout")?(this._addCircle(a,a,o,r,2*a),this._addCircle(a,2*a+16+o,a,i,2*a)):(this._addCircle(a,a,o,r,2*a),this._addCircle(2*a+16+o,a,a,i,2*a))},o.activate=function(e){this.get("slidable")&&t.prototype.activate.call(this,e)},i}(i);t.exports=o},function(t,e,n){var r=n(3),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"size-legend",width:100,height:200,_unslidableElementStyle:{fill:"#4E7CCC",fillOpacity:1},frontMiddleBarStyle:{fill:"rgb(64, 141, 251)"}})},o._renderSliderShape=function(){var t=this.get("slider").get("backgroundElement"),e=this.get("layout"),n=this.get("width"),i=this.get("height"),o=this.get("height")/2,a=this.get("frontMiddleBarStyle"),u="vertical"===e?[[0,0],[n,0],[n,i],[n-4,i]]:[[0,o+i/2],[0,o+i/2-4],[n,o-i/2],[n,o+i/2]];return this._addMiddleBar(t,"Polygon",r.mix({points:u},a))},o._renderUnslidable=function(){var t=this.get("layout"),e=this.get("width"),n=this.get("height"),i=this.get("frontMiddleBarStyle"),o="vertical"===t?[[0,0],[e,0],[e,n],[e-4,n]]:[[0,n],[0,n-4],[e,0],[e,n]];this.get("group").addGroup().addShape("Polygon",{attrs:r.mix({points:o},i)});var a=this._formatItemValue(this.get("firstItem").value),u=this._formatItemValue(this.get("lastItem").value);"vertical"===this.get("layout")?(this._addText(e+10,n-3,a),this._addText(e+10,3,u)):(this._addText(0,n,a),this._addText(e,n,u))},o._addText=function(t,e,n){var i=this.get("group").addGroup(),o=this.get("textStyle"),a=this.get("titleShape"),u=this.get("titleGap");a&&(u+=a.getBBox().height),"vertical"===this.get("layout")?i.addShape("text",{attrs:r.mix({x:t+this.get("textOffset"),y:e,text:0===n?"0":n},o)}):(e+=u+this.get("textOffset")-20,a||(e+=10),i.addShape("text",{attrs:r.mix({x:t,y:e,text:0===n?"0":n},o)}))},i}(n(67));t.exports=i},function(t,e,n){var r=n(3),i=r.DomUtil,o=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.getDefaultCfg=function(){return{range:null,middleAttr:{fill:"#fff",fillOpacity:0},backgroundElement:null,minHandleElement:null,maxHandleElement:null,middleHandleElement:null,currentTarget:null,layout:"vertical",width:null,height:null,pageX:null,pageY:null}},a._beforeRenderUI=function(){var t=this.get("layout"),e=this.get("backgroundElement"),n=this.get("minHandleElement"),r=this.get("maxHandleElement"),i=this.addShape("rect",{attrs:this.get("middleAttr")}),o="vertical"===t?"ns-resize":"ew-resize";this.add([e,n,r]),this.set("middleHandleElement",i),e.set("zIndex",0),i.set("zIndex",1),n.set("zIndex",2),r.set("zIndex",2),i.attr("cursor","move"),n.attr("cursor",o),r.attr("cursor",o),this.sort()},a._renderUI=function(){"horizontal"===this.get("layout")?this._renderHorizontal():this._renderVertical()},a._transform=function(t){var e=this.get("range"),n=e[0]/100,r=e[1]/100,i=this.get("width"),o=this.get("height"),a=this.get("minHandleElement"),u=this.get("maxHandleElement"),s=this.get("middleHandleElement");a.resetMatrix(),u.resetMatrix(),"horizontal"===t?(s.attr({x:i*n,y:0,width:(r-n)*i,height:o}),a.translate(n*i,o),u.translate(r*i,o)):(s.attr({x:0,y:o*(1-r),width:i,height:(r-n)*o}),a.translate(1,(1-n)*o),u.translate(1,(1-r)*o))},a._renderHorizontal=function(){this._transform("horizontal")},a._renderVertical=function(){this._transform("vertical")},a._bindUI=function(){this.on("mousedown",r.wrapBehavior(this,"_onMouseDown"))},a._isElement=function(t,e){var n=this.get(e);return t===n||!!n.isGroup&&n.get("children").indexOf(t)>-1},a._getRange=function(t,e){var n=t+e;return n=(n=n>100?100:n)<0?0:n},a._updateStatus=function(t,e){var n="x"===t?this.get("width"):this.get("height");t=r.upperFirst(t);var i,o=this.get("range"),a=this.get("page"+t),u=this.get("currentTarget"),s=this.get("rangeStash"),c="vertical"===this.get("layout")?-1:1,l=e["page"+t],f=(l-a)/n*100*c;o[1]<=o[0]?(this._isElement(u,"minHandleElement")||this._isElement(u,"maxHandleElement"))&&(o[0]=this._getRange(f,o[0]),o[1]=this._getRange(f,o[0])):(this._isElement(u,"minHandleElement")&&(o[0]=this._getRange(f,o[0])),this._isElement(u,"maxHandleElement")&&(o[1]=this._getRange(f,o[1]))),this._isElement(u,"middleHandleElement")&&(i=s[1]-s[0],o[0]=this._getRange(f,o[0]),o[1]=o[0]+i,o[1]>100&&(o[1]=100,o[0]=o[1]-i)),this.emit("sliderchange",{range:o}),this.set("page"+t,l),this._renderUI(),this.get("canvas").draw()},a._onMouseDown=function(t){var e=t.currentTarget,n=t.event,r=this.get("range");n.stopPropagation(),n.preventDefault(),this.set("pageX",n.pageX),this.set("pageY",n.pageY),this.set("currentTarget",e),this.set("rangeStash",[r[0],r[1]]),this._bindCanvasEvents()},a._bindCanvasEvents=function(){var t=this.get("canvas").get("containerDOM");this.onMouseMoveListener=i.addEventListener(t,"mousemove",r.wrapBehavior(this,"_onCanvasMouseMove")),this.onMouseUpListener=i.addEventListener(t,"mouseup",r.wrapBehavior(this,"_onCanvasMouseUp")),this.onMouseLeaveListener=i.addEventListener(t,"mouseleave",r.wrapBehavior(this,"_onCanvasMouseUp"))},a._onCanvasMouseMove=function(t){this._mouseOutArea(t)||("horizontal"===this.get("layout")?this._updateStatus("x",t):this._updateStatus("y",t))},a._onCanvasMouseUp=function(){this._removeDocumentEvents()},a._removeDocumentEvents=function(){this.onMouseMoveListener.remove(),this.onMouseUpListener.remove()},a._mouseOutArea=function(t){var e=this.get("canvas").get("el").getBoundingClientRect(),n=this.get("parent"),r=n.getBBox(),i=n.attr("matrix")[6],o=n.attr("matrix")[7],a=i+r.width,u=o+r.height,s=t.clientX-e.x,c=t.clientY-e.y;return s<i||s>a||c<o||c>u},o}(r.Group);t.exports=o},function(t,e,n){function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var i=n(68),o=n(3),a=o.DomUtil,u=n(264),s=n(115),c=n(117),l=n(116);function f(t,e){return t.getElementsByClassName(e)[0]}var h=function(t){var e,n;n=t,(e=h).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=h.prototype;function h(e){var n;n=t.call(this,e)||this,o.assign(r(r(n)),c),o.assign(r(r(n)),l);var i=u;n.style=function(t,e){return Object.keys(t).forEach(function(n){e[n]&&(t[n]=o.mix(t[n],e[n]))}),t}(i,e),n._init_(),n.get("items")&&n.render();var a=n.get("crosshairs");if(a){var f="rect"===a.type?n.get("backPlot"):n.get("frontPlot"),h=new s(o.mix({plot:f,plotRange:n.get("plotRange"),canvas:n.get("canvas")},n.get("crosshairs")));h.hide(),n.set("crosshairGroup",h)}return n}return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return o.mix({},e,{containerTpl:' <div class="g2-tooltip"> <div class="g2-tooltip-title"></div><ul class="g2-tooltip-list"></ul></div>',itemTpl:'<li data-index={index}><span style="background-color:{color};" class=g2-tooltip-marker></span>{name}<span class=g2-tooltip-value>{value}</span></li>',htmlContent:null,follow:!0,enterable:!1})},i._init_=function(){var t,e=this.get("containerTpl"),n=this.get("canvas").get("el").parentNode;if(!this.get("htmlContent")){if(/^\#/.test(e)){var r=e.replace("#","");t=document.getElementById(r)}else t=a.createDom(e),a.modifyCSS(t,this.style["g2-tooltip"]),n.appendChild(t),n.style.position="relative";this.set("container",t)}},i.render=function(){if(this.clear(),this.get("htmlContent")){var t=this.get("canvas").get("el").parentNode,e=this._getHtmlContent();t.appendChild(e),this.set("container",e)}else this._renderTpl()},i._renderTpl=function(){var t=this,e=t.get("showTitle"),n=t.get("titleContent"),r=t.get("container"),i=f(r,"g2-tooltip-title"),u=f(r,"g2-tooltip-list"),s=t.get("items");i&&e&&(a.modifyCSS(i,t.style["g2-tooltip-title"]),i.innerHTML=n),u&&(a.modifyCSS(u,t.style["g2-tooltip-list"]),o.each(s,function(e,n){u.appendChild(t._addItem(e,n))}))},i.clear=function(){var t=this.get("container");if(this.get("htmlContent"))t&&t.remove();else{var e=f(t,"g2-tooltip-title"),n=f(t,"g2-tooltip-list");e&&(e.innerHTML=""),n&&(n.innerHTML="")}},i.show=function(){var e=this.get("container");if(e){e.style.visibility="visible",e.style.display="block";var n=this.get("crosshairGroup");n&&n.show();var r=this.get("markerGroup");r&&r.show(),t.prototype.show.call(this),this.get("canvas").draw()}},i.hide=function(){var e=this.get("container");if(e){e.style.visibility="hidden",e.style.display="none";var n=this.get("crosshairGroup");n&&n.hide();var r=this.get("markerGroup");r&&r.hide(),t.prototype.hide.call(this),this.get("canvas").draw()}},i.destroy=function(){var e=this.get("container"),n=this.get("containerTpl");e&&!/^\#/.test(n)&&e.parentNode.removeChild(e);var r=this.get("crosshairGroup");r&&r.destroy();var i=this.get("markerGroup");i&&i.remove(),t.prototype.destroy.call(this)},i._addItem=function(t,e){var n=this.get("itemTpl"),r=o.substitute(n,o.mix({index:e},t)),i=a.createDom(r);a.modifyCSS(i,this.style["g2-tooltip-list-item"]);var u=f(i,"g2-tooltip-marker");u&&a.modifyCSS(u,this.style["g2-tooltip-marker"]);var s=f(i,"g2-tooltip-value");return s&&a.modifyCSS(s,this.style["g2-tooltip-value"]),i},i._getHtmlContent=function(){var t=this.get("htmlContent")(this.get("titleContent"),this.get("items"));return a.createDom(t)},i.setPosition=function(e,n,r){var i,u=this.get("container"),s=this.get("canvas").get("el"),c=a.getWidth(s),l=a.getHeight(s),f=u.clientWidth,h=u.clientHeight,d=e,p=n,v=this.get("prePosition")||{x:0,y:0};if(this.get("enterable"))i=[e,n-=u.clientHeight/2],v&&e-v.x>0?e-=u.clientWidth+1:e+=1;else if(this.get("position")){var g=u.clientWidth,y=u.clientHeight;e=(i=this._calcTooltipPosition(e,n,this.get("position"),g,y,r))[0],n=i[1]}else e=(i=this._constraintPositionInBoundary(e,n,f,h,c,l))[0],n=i[1];if(this.get("inPlot")){var m=this.get("plotRange");e=(i=this._constraintPositionInPlot(e,n,f,h,m,this.get("enterable")))[0],n=i[1]}var b=this.get("markerItems");o.isEmpty(b)||(d=b[0].x,p=b[0].y),this.set("prePosition",i),this.get("follow")&&(u.style.left=e+"px",u.style.top=n+"px");var x=this.get("crosshairGroup");if(x){var w=this.get("items");x.setPosition(d,p,w)}t.prototype.setPosition.call(this,e,n)},h}(i);t.exports=h},function(t,e,n){var r=n(68);r.Html=n(261),r.Canvas=n(114),r.Mini=n(263),t.exports=r},function(t,e,n){var r=n(3),i=n(114),o=n(19).FONT_FAMILY,a=r.DomUtil,u=r.MatrixUtil,s=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{boardStyle:{x:0,y:0,width:0,height:0,radius:3},valueStyle:{x:0,y:0,text:"",fontFamily:o,fontSize:12,stroke:"#fff",lineWidth:2,fill:"black",textBaseline:"top",textAlign:"start"},padding:{top:5,right:5,bottom:0,left:5},triangleWidth:10,triangleHeight:4})},s._init_=function(){var t=this.get("padding"),e=this.get("frontPlot").addGroup();this.set("container",e);var n=e.addShape("rect",{attrs:r.mix({},this.get("boardStyle"))});this.set("board",n);var i=e.addShape("path",{attrs:{fill:this.get("boardStyle").fill}});this.set("triangleShape",i);var o=e.addGroup();o.move(t.left,t.top);var a=o.addShape("text",{attrs:r.mix({},this.get("valueStyle"))});this.set("valueShape",a)},s.render=function(){this.clear();var t=this.get("board"),e=this.get("valueShape"),n=this.get("padding"),r=this.get("items")[0];e&&e.attr("text",r.value);var i=e?e.getBBox():{width:80,height:30},o=n.left+i.width+n.right,a=n.top+i.height+n.bottom;t.attr("width",o),t.attr("height",a),this._centerTriangleShape()},s.clear=function(){this.get("valueShape").attr("text","")},s.setPosition=function(t,e,n){var r=this.get("container"),i=this.get("plotRange"),o=r.getBBox(),s=o.width,c=o.height;(t-=s/2,!n||"point"!==n.name&&"interval"!==n.name)||(e=n.getBBox().y);if(e-=c,this.get("inPlot"))t<i.tl.x?(t=i.tl.x,this._leftTriangleShape()):t+s/2>i.tr.x?(t=i.tr.x-s,this._rightTriangleShape()):this._centerTriangleShape(),e<i.tl.y?e=i.tl.y:e+c>i.bl.y&&(e=i.bl.y-c);else{var l=this.get("canvas").get("el"),f=a.getWidth(l),h=a.getHeight(l);t<0?(t=0,this._leftTriangleShape()):t+s/2>f?(t=f-s,this._rightTriangleShape()):this._centerTriangleShape(),e<0?e=0:e+c>h&&(e=h-c)}var d=u.transform([1,0,0,0,1,0,0,0,1],[["t",t,e]]);r.stopAnimate(),r.animate({matrix:d},this.get("animationDuration"))},s._centerTriangleShape=function(){var t=this.get("triangleShape"),e=this.get("triangleWidth"),n=this.get("triangleHeight"),r=this.get("board").getBBox(),i=r.width,o=r.height,a=[["M",0,0],["L",e,0],["L",e/2,n],["L",0,0],["Z"]];t.attr("path",a),t.move(i/2-e/2,o-1)},s._leftTriangleShape=function(){var t=this.get("triangleShape"),e=this.get("triangleWidth"),n=this.get("triangleHeight"),r=this.get("board").getBBox().height,i=[["M",0,0],["L",e,0],["L",0,n+3],["L",0,0],["Z"]];t.attr("path",i),t.move(0,r-3)},s._rightTriangleShape=function(){var t=this.get("triangleShape"),e=this.get("triangleWidth"),n=this.get("triangleHeight"),r=this.get("board").getBBox(),i=r.width,o=r.height,a=[["M",0,0],["L",e,0],["L",e,n+4],["L",0,0],["Z"]];t.attr("path",a),t.move(i-e-1,o-4)},i}(i);t.exports=s},function(t,e,n){var r,i=n(19).FONT_FAMILY,o=((r={crosshairs:!1,offset:15})["g2-tooltip"]={position:"absolute",visibility:"hidden",zIndex:8,transition:"visibility 0.2s cubic-bezier(0.23, 1, 0.32, 1), left 0.4s cubic-bezier(0.23, 1, 0.32, 1), top 0.4s cubic-bezier(0.23, 1, 0.32, 1)",backgroundColor:"rgba(255, 255, 255, 0.9)",boxShadow:"0px 0px 10px #aeaeae",borderRadius:"3px",color:"rgb(87, 87, 87)",fontSize:"12px",fontFamily:i,lineHeight:"20px",padding:"10px 10px 6px 10px"},r["g2-tooltip-title"]={marginBottom:"4px"},r["g2-tooltip-list"]={margin:0,listStyleType:"none",padding:0},r["g2-tooltip-list-item"]={marginBottom:"4px"},r["g2-tooltip-marker"]={width:"5px",height:"5px",borderRadius:"50%",display:"inline-block",marginRight:"8px"},r["g2-tooltip-value"]={display:"inline-block",float:"right",marginLeft:"30px"},r);t.exports=o},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=n(10),f=n(43),h=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=i(this,c(e).call(this,t)))._init(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,f),a(e,[{key:"getDefaultCfg",value:function(){var t=s(c(e.prototype),"getDefaultCfg",this).call(this);return l({},t,{start:{x:0,y:0},end:{x:0,y:0},type:"cartesian",isRect:!0})}}]),a(e,[{key:"_init",value:function(){var t=this.start,e=this.end,n={start:t.x,end:e.x},r={start:t.y,end:e.y};this.x=n,this.y=r}},{key:"convertPoint",value:function(t){var e,n;return this.isTransposed?(e=t.y,n=t.x):(e=t.x,n=t.y),{x:this.convertDim(e,"x"),y:this.convertDim(n,"y")}}},{key:"invertPoint",value:function(t){var e=this.invertDim(t.x,"x"),n=this.invertDim(t.y,"y");return this.isTransposed?{x:n,y:e}:{x:e,y:n}}}]),e}();t.exports=h},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=n(56),f=n(55),h=n(10),d=n(43),p=l.vec2,v=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=i(this,c(e).call(this,t)))._init(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,d),a(e,[{key:"getDefaultCfg",value:function(){var t=s(c(e.prototype),"getDefaultCfg",this).call(this);return h({},t,{startAngle:1.25*Math.PI,endAngle:7.25*Math.PI,innerRadius:0,type:"helix",isHelix:!0})}}]),a(e,[{key:"_init",value:function(){var t=this.width,e=this.height,n=this.radius,r=this.innerRadius,i=this.startAngle,o=this.endAngle,a=(o-i)/(2*Math.PI)+1,u=Math.min(t,e)/2;n&&n>=0&&n<=1&&(u*=n);var s=Math.floor(u*(1-r)/a),c=s/(2*Math.PI),l={start:i,end:o},f={start:r*u,end:r*u+.99*s};this.a=c,this.d=s,this.x=l,this.y=f}},{key:"getCenter",value:function(){return this.center}},{key:"convertPoint",value:function(t){var e,n,r=this.a,i=this.center;this.isTransposed?(e=t.y,n=t.x):(e=t.x,n=t.y);var o=this.convertDim(e,"x"),a=r*o,u=this.convertDim(n,"y");return{x:i.x+Math.cos(o)*(a+u),y:i.y+Math.sin(o)*(a+u)}}},{key:"invertPoint",value:function(t){var e=this.center,n=this.a,r=this.d+this.y.start,i=p.subtract([],[t.x,t.y],[e.x,e.y]),o=p.angleTo(i,[1,0],!0),a=o*n;p.length(i)<a&&(a=p.length(i));var u=n*(o=2*Math.floor((p.length(i)-a)/r)*Math.PI+o),s=p.length(i)-u;s=f(s,0)?0:s;var c=this.invertDim(o,"x"),l=this.invertDim(s,"y");c=f(c,0)?0:c,l=f(l,0)?0:l;var h={};return h.x=this.isTransposed?l:c,h.y=this.isTransposed?c:l,h}}]),e}();t.exports=v},function(t,e,n){"use strict";var r=n(43);r.Cartesian=n(265),r.Rect=r.Cartesian,r.Polar=n(268),r.Helix=n(266),t.exports=r},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function a(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=c(t)););return t}(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var l=n(56),f=n(55),h=n(10),d=n(43),p=l.mat3,v=l.vec2,g=l.vec3,y=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(n=i(this,c(e).call(this,t)))._init(),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,d),a(e,[{key:"getDefaultCfg",value:function(){var t=s(c(e.prototype),"getDefaultCfg",this).call(this);return h({},t,{startAngle:-Math.PI/2,endAngle:3*Math.PI/2,innerRadius:0,type:"polar",isPolar:!0})}}]),a(e,[{key:"_init",value:function(){for(var t=this.radius,e=this.innerRadius,n=this.center,r=this.startAngle,i=this.endAngle;i<r;)i+=2*Math.PI;this.endAngle=i;var o,a,u=this.getOneBox(),s=u.maxX-u.minX,c=u.maxY-u.minY,l=Math.abs(u.minX)/s,f=Math.abs(u.minY)/c,h=this.width,d=this.height;d/c>h/s?(o=h/s,a={x:n.x-(.5-l)*h,y:n.y-(.5-f)*o*c}):(o=d/c,a={x:n.x-(.5-l)*o*s,y:n.y-(.5-f)*d}),t?t>0&&t<=1?t*=o:(t<=0||t>o)&&(t=o):t=o;var p={start:r,end:i},v={start:e*t,end:t};this.x=p,this.y=v,this.radius=t,this.circleCentre=a,this.center=a}},{key:"getCenter",value:function(){return this.circleCentre}},{key:"getOneBox",value:function(){var t=this.startAngle,e=this.endAngle;if(Math.abs(e-t)>=2*Math.PI)return{minX:-1,maxX:1,minY:-1,maxY:1};for(var n=[0,Math.cos(t),Math.cos(e)],r=[0,Math.sin(t),Math.sin(e)],i=Math.min(t,e);i<Math.max(t,e);i+=Math.PI/18)n.push(Math.cos(i)),r.push(Math.sin(i));return{minX:Math.min.apply(Math,n),maxX:Math.max.apply(Math,n),minY:Math.min.apply(Math,r),maxY:Math.max.apply(Math,r)}}},{key:"getRadius",value:function(){return this.radius}},{key:"convertPoint",value:function(t){var e=this.getCenter(),n=this.isTransposed?t.y:t.x,r=this.isTransposed?t.x:t.y;return n=this.convertDim(n,"x"),r=this.convertDim(r,"y"),{x:e.x+Math.cos(n)*r,y:e.y+Math.sin(n)*r}}},{key:"invertPoint",value:function(t){var e=this.getCenter(),n=[t.x-e.x,t.y-e.y],r=this.x,i=[1,0,0,0,1,0,0,0,1];p.rotate(i,i,r.start);var o=[1,0,0];g.transformMat3(o,o,i),o=[o[0],o[1]];var a=v.angleTo(o,n,r.end<r.start);f(a,2*Math.PI)&&(a=0);var u=v.length(n),s=a/(r.end-r.start);s=r.end-r.start>0?s:-s;var c=this.invertDim(u,"y"),l={};return l.x=this.isTransposed?c:s,l.y=this.isTransposed?s:c,l}}]),e}();t.exports=y},function(t,e,n){var r=n(0),i=n(16),o=r.PathUtil;function a(t,e){var n,i,o=function(t){if(r.isEmpty(t))return null;var e=t[0].x,n=t[0].x,i=t[0].y,o=t[0].y;return r.each(t,function(t){e=e>t.x?t.x:e,n=n<t.x?t.x:n,i=i>t.y?t.y:i,o=o<t.y?t.y:o}),{minX:e,maxX:n,minY:i,maxY:o,centerX:(e+n)/2,centerY:(i+o)/2}}(t.points||t.get("origin").points),a=e.startAngle,u=e.endAngle-a;return e.isTransposed?(n=o.maxY*u,i=o.minY*u):(n=o.maxX*u,i=o.minX*u),{startAngle:i+=a,endAngle:n+=a}}function u(t,e,n){var i={};return t.delay&&(i.delay=r.isFunction(t.delay)?t.delay(e,n):t.delay),i.easing=r.isFunction(t.easing)?t.easing(e,n):t.easing,i.duration=r.isFunction(t.duration)?t.duration(e,n):t.duration,i.callback=t.callback,i}function s(t,e){var n,r=t._id,i=t.get("index"),o=t.getBBox(),a=t.get("origin").points,s=(o.minX+o.maxX)/2,c=[s,n=a[0].y-a[1].y<=0?o.maxY:o.minY,1];t.apply(c),t.attr("transform",[["t",-s,-n],["s",1,.01],["t",s,n]]);var l={transform:[["t",-s,-n],["s",1,100],["t",s,n]]},f=u(e,i,r);t.animate(l,f.duration,f.easing,f.callback,f.delay)}function c(t,e){var n,r=t._id,i=t.get("index"),o=t.getBBox(),a=t.get("origin").points,s=(o.minY+o.maxY)/2,c=[n=a[0].y-a[1].y>0?o.maxX:o.minX,s,1];t.apply(c),t.attr({transform:[["t",-n,-s],["s",.01,1],["t",n,s]]});var l={transform:[["t",-n,-s],["s",100,1],["t",n,s]]},f=u(e,i,r);t.animate(l,f.duration,f.easing,f.callback,f.delay)}function l(t,e,n){var r,i,o=t._id,a=t.get("index");if(n.isPolar&&"point"!==t.name)r=n.getCenter().x,i=n.getCenter().y;else{var s=t.getBBox();r=(s.minX+s.maxX)/2,i=(s.minY+s.maxY)/2}var c=[r,i,1];t.apply(c),t.attr({transform:[["t",-r,-i],["s",.01,.01],["t",r,i]]});var l={transform:[["t",-r,-i],["s",100,100],["t",r,i]]},f=u(e,a,o);t.animate(l,f.duration,f.easing,f.callback,f.delay)}function f(t,e){if("path"===t.get("type")){var n=t._id,r=t.get("index"),i=o.pathToAbsolute(t.attr("path"));t.attr("path",[i[0]]);var a={path:i},s=u(e,r,n);t.animate(a,s.duration,s.easing,s.callback,s.delay)}}function h(t,e,n,r,o){var a,s=function(t){var e,n,r,o,a,u=t.start,s=t.end,c=t.getWidth(),l=t.getHeight();return t.isPolar?(o=t.getRadius(),r=t.getCenter(),e=t.startAngle,n=t.endAngle,(a=new i.Fan({attrs:{x:r.x,y:r.y,rs:0,re:o+200,startAngle:e,endAngle:e}})).endState={endAngle:n}):(a=new i.Rect({attrs:{x:u.x-200,y:s.y-200,width:t.isTransposed?c+400:0,height:t.isTransposed?0:l+400}}),t.isTransposed?a.endState={height:l+400}:a.endState={width:c+400}),a.isClip=!0,a}(n),c=t.get("canvas"),l=t._id,f=t.get("index");r?(s.attr("startAngle",r),s.attr("endAngle",r),a={endAngle:o}):a=s.endState,s.set("canvas",c),t.attr("clip",s),t.setSilent("animating",!0);var h=u(e,f,l);s.animate(a,h.duration,h.easing,function(){t&&!t.get("destroyed")&&(t.attr("clip",null),t.setSilent("cacheShape",null),t.setSilent("animating",!1),s.remove())},h.delay)}function d(t,e){var n=t._id,i=t.get("index"),o=r.isNil(t.attr("fillOpacity"))?1:t.attr("fillOpacity"),a=r.isNil(t.attr("strokeOpacity"))?1:t.attr("strokeOpacity");t.attr("fillOpacity",0),t.attr("strokeOpacity",0);var s={fillOpacity:o,strokeOpacity:a},c=u(e,i,n);t.animate(s,c.duration,c.easing,c.callback,c.delay)}function p(t,e,n){var r=a(t,n),i=r.endAngle;h(t,e,n,r.startAngle,i)}t.exports={enter:{clipIn:h,zoomIn:l,pathIn:f,scaleInY:s,scaleInX:c,fanIn:p,fadeIn:d},leave:{lineWidthOut:function(t,e){var n={lineWidth:0,opacity:0},r=t._id,i=u(e,t.get("index"),r);t.animate(n,i.duration,i.easing,function(){t.remove()},i.delay)},zoomOut:function(t,e,n){var r,i,o=t._id,a=t.get("index");if(n.isPolar&&"point"!==t.name)r=n.getCenter().x,i=n.getCenter().y;else{var s=t.getBBox();r=(s.minX+s.maxX)/2,i=(s.minY+s.maxY)/2}var c=[r,i,1];t.apply(c);var l={transform:[["t",-r,-i],["s",.01,.01],["t",r,i]]},f=u(e,a,o);t.animate(l,f.duration,f.easing,function(){t.remove()},f.delay)},pathOut:function(t,e){if("path"===t.get("type")){var n=t._id,r=t.get("index"),i={path:[o.pathToAbsolute(t.attr("path"))[0]]},a=u(e,r,n);t.animate(i,a.duration,a.easing,function(){t.remove()},a.delay)}},fadeOut:function(t,e){var n=t._id,r={fillOpacity:0,strokeOpacity:0},i=u(e,t.get("index"),n);t.animate(r,i.duration,i.easing,function(){t.remove()},i.delay)}},appear:{clipIn:h,zoomIn:l,pathIn:f,scaleInY:s,scaleInX:c,fanIn:p,fadeIn:d},update:{fadeIn:d,fanIn:p}}},function(t,e,n){var r=n(0),i=n(118),o=r.MatrixUtil.mat3;function a(t,e){var n=[];if(!1===t.get("animate"))return[];var i=t.get("children");return r.each(i,function(t){if(t.isGroup)n=n.concat(a(t,e));else if(t.isShape&&t._id){var r=t._id;(r=r.split("-")[0])===e&&n.push(t)}}),n}function u(t,e,n,r){return r?i.Action[n][r]:i.getAnimation(t,e,n)}function s(t,e,n){var o=i.getAnimateCfg(t,e);return n&&n[e]?r.deepMix({},o,n[e]):o}function c(t,e,n,i){var a,c,l=!1;if(i){var f=[],h=[];r.each(e,function(e){var n=t[e._id];n?(e.setSilent("cacheShape",n),f.push(e),delete t[e._id]):h.push(e)}),r.each(t,function(t){var e=t.name,i=t.coord,f=t._id,h=t.attrs,d=t.index,p=t.type;if(c=s(e,"leave",t.animateCfg),a=u(e,i,"leave",c.animation),r.isFunction(a)){var v=n.addShape(p,{attrs:h,index:d});if(v._id=f,v.name=e,i&&"label"!==e){var g=v.getMatrix(),y=o.multiply([],g,i.matrix);v.setMatrix(y)}l=!0,a(v,c,i)}}),r.each(f,function(t){var e=t.name,n=t.get("coord"),i=t.get("cacheShape").attrs;if(!r.isEqual(i,t.attr())){if(c=s(e,"update",t.get("animateCfg")),a=u(e,n,"update",c.animation),r.isFunction(a))a(t,c,n);else{var o=r.cloneDeep(t.attr());t.attr(i),t.animate(o,c.duration,c.easing,function(){t.setSilent("cacheShape",null)})}l=!0}}),r.each(h,function(t){var e=t.name,n=t.get("coord");c=s(e,"enter",t.get("animateCfg")),a=u(e,n,"enter",c.animation),r.isFunction(a)&&(a(t,c,n),l=!0)})}else r.each(e,function(t){var e=t.name,n=t.get("coord");c=s(e,"appear",t.get("animateCfg")),a=u(e,n,"appear",c.animation),r.isFunction(a)&&(a(t,c,n),l=!0)});return l}t.exports={execAnimation:function(t,e){var n=t.get("middlePlot"),i=t.get("backPlot"),o=t.get("_id"),u=t.get("canvas"),s=u.get(o+"caches")||[];0===s.length&&(e=!1);var l=a(n,o),f=a(i,o),h=l.concat(f);u.setSilent(o+"caches",function(t){var e={};return r.each(t,function(t){if(t._id&&!t.isClip){var n=t._id;e[n]={_id:n,type:t.get("type"),attrs:r.cloneDeep(t.attr()),name:t.name,index:t.get("index"),animateCfg:t.get("animateCfg"),coord:t.get("coord")}}}),e}(h)),c(s,e?h:l,u,e)||u.draw()}}},function(t,e,n){var r=n(0),i=n(30).Axis,o=r.MatrixUtil.vec2;function a(t,e){return void 0===e&&(e=0),"middle"===t&&(e=.5),-1!==t.indexOf("%")&&(e=parseInt(t,10)/100),e}var u=function(){function t(t){this.visible=!0,this.canvas=null,this.container=null,this.coord=null,this.options=null,this.axes=[],r.mix(this,t)}var e=t.prototype;return e._isHide=function(t){var e=this.options;return!(!e||!1!==e[t])},e._getMiddleValue=function(t,e,n,r){if(0===t&&!r)return 0;if(1===t)return 1;var i=e[n+1].value;return r||1!==i?(t+i)/2:1},e._getLineRange=function(t,e,n,r){var i,o,u,s=e.field,c=this.options,l="";if(c[s]&&c[s].position&&(l=c[s].position),"x"===n){var f="top"===l?1:0;i={x:0,y:f=a(l,f)},o={x:1,y:f},u=!1}else{if(r){var h="left"===l?0:1;i={x:h=a(l,h),y:0},o={x:h,y:1}}else{var d="right"===l?1:0;i={x:d=a(l,d),y:0},o={x:d,y:1}}u=!0}return{start:i=t.convert(i),end:o=t.convert(o),isVertical:u}},e._getLineCfg=function(t,e,n,r){var i=this._getLineRange(t,e,n,r),o=i.isVertical,a=i.start,u=i.end,s=t.center;return t.isTransposed&&(o=!o),{isVertical:o,factor:o&&a.x>s.x||!o&&a.y>s.y?1:-1,start:a,end:u}},e._getCircleCfg=function(t){var e,n={},r=t.x,i=t.y,a=i.start>i.end;e=t.isTransposed?{x:a?0:1,y:0}:{x:0,y:a?0:1},e=t.convert(e);var u,s=t.circleCentre,c=[e.x-s.x,e.y-s.y],l=[1,0],f=(u=e.y>s.y?o.angle(c,l):-1*o.angle(c,l))+(r.end-r.start);return n.startAngle=u,n.endAngle=f,n.center=s,n.radius=Math.sqrt(Math.pow(e.x-s.x,2)+Math.pow(e.y-s.y,2)),n.inner=t.innerRadius||0,n},e._getRadiusCfg=function(t){var e,n,r=t.x.start<0?-1:1;return t.isTransposed?(e={x:0,y:0},n={x:1,y:0}):(e={x:0,y:0},n={x:0,y:1}),{factor:r,start:t.convert(e),end:t.convert(n)}},e._getAxisPosition=function(t,e,n,r){var i="",o=this.options;if(o[r]&&o[r].position)i=o[r].position;else{var a=t.type;t.isRect?"x"===e?i="bottom":"y"===e&&(i=n?"right":"left"):i="helix"===a?"helix":"x"===e?t.isTransposed?"radius":"circle":t.isTransposed?"circle":"radius"}return i},e._getAxisDefaultCfg=function(t,e,n,i){var o=this.viewTheme,a={},u=this.options,s=e.field;if((a=r.deepMix({},o.axis[i],a,u[s])).viewTheme=o,a.title){var c=r.isPlainObject(a.title)?a.title:{};c.text=c.text||e.alias||s,r.deepMix(a,{title:c})}return a.ticks=e.getTicks(),t.isPolar&&!e.isCategory&&"x"===n&&Math.abs(t.endAngle-t.startAngle)===2*Math.PI&&a.ticks.pop(),a.coord=t,a.label&&r.isNil(a.label.autoRotate)&&(a.label.autoRotate=!0),u.hasOwnProperty("xField")&&u.xField.hasOwnProperty("grid")&&"left"===a.position&&r.deepMix(a,u.xField),a},e._getAxisCfg=function(t,e,n,i,o,a){void 0===o&&(o="");var u=this,s=u._getAxisPosition(t,i,o,e.field),c=u._getAxisDefaultCfg(t,e,i,s);if(!r.isEmpty(c.grid)&&n){var l=[],f=[],h=function(t){var e=[];if(t.length>0){var n=(e=t.slice(0))[0],r=e[e.length-1];0!==n.value&&e.unshift({value:0}),1!==r.value&&e.push({value:1})}return e}(n.getTicks());if(h.length){var d=function(t,e,n){var r=[];return t.length<1?r:(t.length>=2&&e&&n&&r.push({text:"",tickValue:"",value:0}),0!==t[0].value&&r.push({text:"",tickValue:"",value:0}),1!==(r=r.concat(t))[r.length-1].value&&r.push({text:"",tickValue:"",value:1}),r)}(c.ticks,e.isLinear,"center"===c.grid.align);r.each(d,function(n,s){f.push(n.tickValue);var p=[],v=n.value;if("center"===c.grid.align&&(v=u._getMiddleValue(v,d,s,e.isLinear)),!r.isNil(v)){var g=t.x,y=t.y;r.each(h,function(e){var n="x"===i?v:e.value,r="x"===i?e.value:v,o=t.convert({x:n,y:r});if(t.isPolar){var a=t.circleCentre;y.start>y.end&&(r=1-r),o.flag=g.start>g.end?0:1,o.radius=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2))}p.push(o)}),l.push({_id:a+"-"+i+o+"-grid-"+n.tickValue,points:p})}})}c.grid.items=l,c.grid.tickValues=f}return c.type=e.type,c},e._getHelixCfg=function(t){for(var e={},n=t.a,r=t.startAngle,i=t.endAngle,o=[],a=0;a<=100;a++){var u=t.convert({x:a/100,y:0});o.push(u.x),o.push(u.y)}var s=t.convert({x:0,y:0});return e.a=n,e.startAngle=r,e.endAngle=i,e.crp=o,e.axisStart=s,e.center=t.center,e.inner=t.y.start,e},e._drawAxis=function(t,e,n,o,a,u,s){var c,l,f=this.container,h=this.canvas;"cartesian"===t.type?(c=i.Line,l=this._getLineCfg(t,e,o,s)):"helix"===t.type&&"x"===o?(c=i.Helix,l=this._getHelixCfg(t)):"x"===o?(c=i.Circle,l=this._getCircleCfg(t)):(c=i.Line,l=this._getRadiusCfg(t));var d=this._getAxisCfg(t,e,n,o,s,a);d=r.mix({},d,l),"y"===o&&u&&"circle"===u.get("type")&&(d.circle=u),d._id=a+"-"+o,r.isNil(s)||(d._id=a+"-"+o+s),r.mix(d,{canvas:h,group:f.addGroup({viewId:a})});var p=new c(d);return p.render(),this.axes.push(p),p},e.createAxis=function(t,e,n){var i,o=this,a=this.coord,u=a.type;"theta"===u||"polar"===u&&a.isTransposed||(t&&!o._isHide(t.field)&&(i=o._drawAxis(a,t,e[0],"x",n)),r.isEmpty(e)||"helix"===u||r.each(e,function(e,r){o._isHide(e.field)||o._drawAxis(a,e,t,"y",n,i,r)}))},e.changeVisible=function(t){var e=this.axes;r.each(e,function(e){e.set("visible",t)})},e.clear=function(){var t=this.axes;r.each(t,function(t){t.clear()}),this.axes=[]},t}();t.exports=u},function(t,e,n){var r=n(0),i=n(267),o=function(){function t(t){this.type="rect",this.actions=[],this.cfg={},r.mix(this,t),this.option=t||{}}var e=t.prototype;return e.reset=function(t){return this.actions=t.actions||[],this.type=t.type,this.cfg=t.cfg,this.option.actions=this.actions,this.option.type=this.type,this.option.cfg=this.cfg,this},e._execActions=function(t){var e=this.actions;r.each(e,function(e){var n=e[0];t[n](e[1],e[2])})},e.hasAction=function(t){var e=this.actions,n=!1;return r.each(e,function(e){if(t===e[0])return n=!0,!1}),n},e.createCoord=function(t,e){var n,o,a=this.type,u=this.cfg,s=r.mix({start:t,end:e},u);return"theta"===a?(n=i.Polar,this.hasAction("transpose")||this.transpose(),(o=new n(s)).type=a):o=new(n=i[r.upperFirst(a||"")]||i.Rect)(s),this._execActions(o),o},e.rotate=function(t){return t=t*Math.PI/180,this.actions.push(["rotate",t]),this},e.reflect=function(t){return this.actions.push(["reflect",t]),this},e.scale=function(t,e){return this.actions.push(["scale",t,e]),this},e.transpose=function(){return this.actions.push(["transpose"]),this},t}();t.exports=o},function(t,e,n){var r=n(0);function i(t,e){if(r.isNil(t)||r.isNil(e))return!1;var n=t.get("origin"),i=e.get("origin");return r.isNil(n)&&r.isNil(i)?r.isEqual(t,e):r.isEqual(n,i)}function o(t){t.shape&&t.shape.get("origin")&&(t.data=t.shape.get("origin"))}var a=function(){function t(t){this.view=null,this.canvas=null,r.assign(this,t),this._init()}var e=t.prototype;return e._init=function(){this.pixelRatio=this.canvas.get("pixelRatio")},e._getShapeEventObj=function(t){return{x:t.x/this.pixelRatio,y:t.y/this.pixelRatio,target:t.target,toElement:t.event.toElement||t.event.relatedTarget}},e._getShape=function(t,e){return this.view.get("canvas").getShape(t,e)},e._getPointInfo=function(t){var e=this.view,n={x:t.x/this.pixelRatio,y:t.y/this.pixelRatio},r=e.getViewsByPoint(n);return n.views=r,n},e._getEventObj=function(t,e,n){return{x:e.x,y:e.y,target:t.target,toElement:t.event.toElement||t.event.relatedTarget,views:n}},e.bindEvents=function(){var t=this.canvas;t.on("mousedown",r.wrapBehavior(this,"onDown")),t.on("mousemove",r.wrapBehavior(this,"onMove")),t.on("mouseleave",r.wrapBehavior(this,"onOut")),t.on("mouseup",r.wrapBehavior(this,"onUp")),t.on("click",r.wrapBehavior(this,"onClick")),t.on("dblclick",r.wrapBehavior(this,"onClick")),t.on("touchstart",r.wrapBehavior(this,"onTouchstart")),t.on("touchmove",r.wrapBehavior(this,"onTouchmove")),t.on("touchend",r.wrapBehavior(this,"onTouchend"))},e._triggerShapeEvent=function(t,e,n){if(t&&t.name&&!t.get("destroyed")){var r=this.view;if(r.isShapeInView(t)){var i=t.name+":"+e;n.view=r,n.appendInfo=t.get("appendInfo"),r.emit(i,n);var o=r.get("parent");o&&o.emit(i,n)}}},e.onDown=function(t){var e=this.view,n=this._getShapeEventObj(t);n.shape=this.currentShape,o(n),e.emit("mousedown",n),this._triggerShapeEvent(this.currentShape,"mousedown",n)},e.onMove=function(t){var e=this.view,n=this.currentShape;n&&n.get("destroyed")&&(n=null,this.currentShape=null);var r=this._getShape(t.x,t.y)||t.currentTarget,a=this._getShapeEventObj(t);if(a.shape=r,o(a),e.emit("mousemove",a),this._triggerShapeEvent(r,"mousemove",a),n&&!i(n,r)){var u=this._getShapeEventObj(t);u.shape=n,u.toShape=r,o(u),this._triggerShapeEvent(n,"mouseleave",u)}if(r&&!i(n,r)){var s=this._getShapeEventObj(t);s.shape=r,s.fromShape=n,o(s),this._triggerShapeEvent(r,"mouseenter",s)}this.currentShape=r;var c=this._getPointInfo(t),l=this.curViews||[];0===l.length&&c.views.length&&e.emit("plotenter",this._getEventObj(t,c,c.views)),l.length&&0===c.views.length&&e.emit("plotleave",this._getEventObj(t,c,l)),c.views.length&&((a=this._getEventObj(t,c,c.views)).shape=r,o(a),e.emit("plotmove",a)),this.curViews=c.views},e.onOut=function(t){var e=this.view,n=this._getPointInfo(t),r=this.curViews||[],i=this._getEventObj(t,n,r);!this.curViews||0===this.curViews.length||i.toElement&&"CANVAS"===i.toElement.tagName||(e.emit("plotleave",i),this.curViews=[])},e.onUp=function(t){var e=this.view,n=this._getShapeEventObj(t);n.shape=this.currentShape,e.emit("mouseup",n),this._triggerShapeEvent(this.currentShape,"mouseup",n)},e.onClick=function(t){var e=this.view,n=this._getShape(t.x,t.y)||t.currentTarget,i=this._getShapeEventObj(t);i.shape=n,o(i),e.emit("click",i),this._triggerShapeEvent(n,t.type,i),this.currentShape=n;var a=this._getPointInfo(t),u=a.views;if(!r.isEmpty(u)){var s=this._getEventObj(t,a,u);if(this.currentShape){var c=this.currentShape;s.shape=c,o(s)}"dblclick"===t.type?(e.emit("plotdblclick",s),e.emit("dblclick",i)):e.emit("plotclick",s)}},e.onTouchstart=function(t){var e=this.view,n=this._getShape(t.x,t.y)||t.currentTarget,r=this._getShapeEventObj(t);r.shape=n,o(r),e.emit("touchstart",r),this._triggerShapeEvent(n,"touchstart",r),this.currentShape=n},e.onTouchmove=function(t){var e=this.view,n=this._getShape(t.x,t.y)||t.currentTarget,r=this._getShapeEventObj(t);r.shape=n,o(r),e.emit("touchmove",r),this._triggerShapeEvent(n,"touchmove",r),this.currentShape=n},e.onTouchend=function(t){var e=this.view,n=this._getShapeEventObj(t);n.shape=this.currentShape,o(n),e.emit("touchend",n),this._triggerShapeEvent(this.currentShape,"touchend",n)},e.clearEvents=function(){var t=this.canvas;t.off("mousemove",r.getWrapBehavior(this,"onMove")),t.off("mouseleave",r.getWrapBehavior(this,"onOut")),t.off("mousedown",r.getWrapBehavior(this,"onDown")),t.off("mouseup",r.getWrapBehavior(this,"onUp")),t.off("click",r.getWrapBehavior(this,"onClick")),t.off("dblclick",r.getWrapBehavior(this,"onClick")),t.off("touchstart",r.getWrapBehavior(this,"onTouchstart")),t.off("touchmove",r.getWrapBehavior(this,"onTouchmove")),t.off("touchend",r.getWrapBehavior(this,"onTouchend"))},t}();t.exports=a},function(t,e,n){var r=n(0),i=n(279),o=function(){function t(t){this.guides=[],this.options=[],this.xScales=null,this.yScales=null,this.view=null,this.viewTheme=null,this.frontGroup=null,this.backGroup=null,r.mix(this,t)}var e=t.prototype;return e._creatGuides=function(){var t=this,e=this.options,n=this.xScales,o=this.yScales,a=this.view,u=this.viewTheme;return this.backContainer&&a&&(this.backGroup=this.backContainer.addGroup({viewId:a.get("_id")})),this.frontContainer&&a&&(this.frontGroup=this.frontContainer.addGroup({viewId:a.get("_id")})),e.forEach(function(e){var a=e.type,s=r.deepMix({xScales:n,yScales:o,viewTheme:u},u?u.guide[a]:{},e);a=r.upperFirst(a);var c=new i[a](s);t.guides.push(c)}),t.guides},e.line=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"line"},t)),this},e.arc=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"arc"},t)),this},e.text=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"text"},t)),this},e.image=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"image"},t)),this},e.region=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"region"},t)),this},e.regionFilter=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"regionFilter"},t)),this},e.dataMarker=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"dataMarker"},t)),this},e.dataRegion=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"dataRegion"},t)),this},e.html=function(t){return void 0===t&&(t={}),this.options.push(r.mix({type:"html"},t)),this},e.render=function(t){var e=this,n=e.view,i=n&&n.get("data"),o=e._creatGuides();r.each(o,function(r){var o;o=r.get("top")?e.frontGroup||e.frontContainer:e.backGroup||e.backContainer,r.render(t,o,i,n)})},e.clear=function(){this.options=[],this.reset()},e.changeVisible=function(t){var e=this.guides;r.each(e,function(e){e.changeVisible(t)})},e.reset=function(){var t=this.guides;r.each(t,function(t){t.clear()}),this.guides=[],this.backGroup&&this.backGroup.remove(),this.frontGroup&&this.frontGroup.remove()},t}();t.exports=o},function(t,e,n){var r=n(0),i=n(30).Legend,o=n(281),a=n(9),u=n(121),s=n(123),c=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,l=["cross","tick","plus","hyphen","line","hollowCircle","hollowSquare","hollowDiamond","hollowTriangle","hollowTriangleDown","hollowHexagon","hollowBowtie"];var f=function(){function t(t){this.options={},r.mix(this,t),this.clear();var e=this.chart;this.container=e.get("frontPlot"),this.plotRange=e.get("plotRange")}var e=t.prototype;return e.clear=function(){var t=this.legends;this.backRange=null,r.each(t,function(t){r.each(t,function(t){t.destroy()})}),this.legends={}},e.getBackRange=function(){var t=this.backRange;if(!t){var e=this.chart.get("backPlot");t=u(e,s(this.chart.get("plotRange")));var n=this.plotRange;t.maxX-t.minX<n.br.x-n.tl.x&&t.maxY-t.minY<n.br.y-n.tl.y&&(t={minX:n.tl.x,minY:n.tl.y,maxX:n.br.x,maxY:n.br.y}),this.backRange=t}return t},e._isFieldInView=function(t,e,n){var i=!1,o=n.get("scales")[t];return o&&o.values&&(i=r.inArray(o.values,e)),i},e._bindClickEvent=function(t,e,n){var i=this,o=i.chart,a=o.get("views"),u=e.field,s=i.options;t.on("itemclick",function(e){if(s.onClick&&!0!==s.defaultClickHandlerEnabled)s.onClick(e);else{var c=e.item,l=e.checked,f="single"===t.get("selectedMode"),h=c.dataValue;l?(r.Array.remove(n,h),i._isFieldInView(u,h,o)&&o.filter(u,function(t){return f?t===h:!r.inArray(n,t)}),r.each(a,function(t){i._isFieldInView(u,h,t)&&t.filter(u,function(t){return f?t===h:!r.inArray(n,t)})})):f||(n.push(h),i._isFieldInView(u,h,o)&&o.filter(u,function(t){return!r.inArray(n,t)}),r.each(a,function(t){i._isFieldInView(u,h,t)&&t.filter(u,function(t){return!r.inArray(n,t)})})),s.onClick&&s.onClick(e),o.set("keepLegend",!0),o.set("keepPadding",!0),o.repaint(),o.set("keepPadding",!1),o.set("keepLegend",!1)}})},e._bindClickEventForMix=function(t){var e=this.chart.getAllGeoms();t.on("itemclick",function(t){var n=t.item.field;t.checked?r.each(e,function(t){t.getYScale().field===n&&t.show()}):r.each(e,function(t){t.getYScale().field===n&&t.hide()})})},e._filterLabels=function(t,e,n){if(t.get("gLabel"))t.get("gLabel").set("visible",n);else{var i=e.get("labelCfg");if(i&&i.fields&&i.fields.length>0){var o=e.getXScale(),a=e.getYScale(),u=o.field,s=a.field,c=t.get("origin")._origin,l=e.get("labelContainer").get("labelsGroup").get("children");r.each(l,function(e){var r=e.get("origin")||[];r[u]===c[u]&&r[s]===c[s]&&(e.set("visible",n),t.set("gLabel",e))})}}},e._bindFilterEvent=function(t,e){var n=this,i=this.chart,o=e.field;t.on("itemfilter",function(t){var e=t.range;i.filterShape(function(t,i,a){if(!r.isNil(t[o])){var u=t[o]>=e[0]&&t[o]<=e[1];return n._filterLabels(i,a,u),u}return!0});for(var a=i.getAllGeoms()||[],u=function(t){var n=a[t];"heatmap"===n.get("type")&&c(function(){n.drawWithRange(e)})},s=0;s<a.length;s++)u(s)})},e._getShapeData=function(t){var e=t.get("origin");return r.isArray(e)&&(e=e[0]),e._origin},e._bindHoverEvent=function(t,e){var n=this,i=n.chart,o=i.getAllGeoms(),a=n.options,u=i.get("canvas");t.on("itemhover",function(t){var i=t.item.value,s=n.pre;if(s){if(s===i)return}else r.each(o,function(o){var s=o.get("shapeContainer"),c=o.getShapes(),l=[];if(e){var f=o.get("scales")[e];r.each(c,function(t){var o=n._getShapeData(t);o&&function(t,e,n){return!r.isNil(n)&&(t=n.translate(t),e=n.translate(e),n.isCategory?t===e:Math.abs(t-e)<=1)}(o[e],i,f)&&l.push(t)})}else o.getYScale().field===i&&(l=c);r.isEmpty(l)||(t.shapes=l,t.geom=o,a.onHover?(a.onHover(t),s.sort(),u.draw()):o.setShapesActived(l))}),n.pre=i}),t.on("itemunhover",function(t){n.pre=null,a.onUnhover&&a.onUnhover(t),r.each(o,function(t){t.get("activeShapes")&&(t.clearActivedShapes(),u.draw())})})},e._isFiltered=function(t,e,n){if(!t.isCategory)return!0;var i=!0;return n=t.invert(n),r.each(e,function(e){if(t.getText(e)===t.getText(n))return i=!1,!1}),i},e._alignLegend=function(t,e,n,r){var i=this.viewTheme,o=this.container.get("canvas"),a=o.get("width"),u=o.get("height"),s=this.totalRegion,c=this.plotRange,l=this.getBackRange(),f=t.get("offset")[0]||0,h=t.get("offset")[1]||0,d=t.getHeight(),p=t.getWidth(),v=i.legend.margin,g=i.legend.legendMargin,y=this.legends[r].length,m=r.split("-"),b=0,x=0,w=y>1?s:n;if("left"===m[0]||"right"===m[0])u=c.br.y,b=this._getXAlign(m[0],a,n,l,p,v),x=e?(e.get("y")||e.get("group").get("y"))+e.getHeight()+g:this._getYAlignVertical(m[1],u,w,l,0,v,o.get("height"));else if("top"===m[0]||"bottom"===m[0])if(x=this._getYAlignHorizontal(m[0],u,n,l,d,v),e){var _=e.getWidth();b=(e.get("x")||e.get("group").get("x"))+_+g}else b=this._getXAlign(m[1],a,w,l,0,v),"right"===m[1]&&(b=c.br.x-w.totalWidth);t.move(b+f,x+h)},e._getXAlign=function(t,e,n,r,i,o){var a="left"===t?r.minX-i-o[3]:r.maxX+o[1];return"center"===t&&(a=(e-n.totalWidth)/2),a},e._getYAlignHorizontal=function(t,e,n,r,i,o){return"top"===t?r.minY-i-o[0]:r.maxY+o[2]},e._getYAlignVertical=function(t,e,n,r,i,o,a){var u="top"===t?r.minY-i-o[0]:e-n.totalHeight;return"center"===t&&(u=(a-n.totalHeight)/2),u},e._getSubRegion=function(t){var e=0,n=0,i=0,o=0;return r.each(t,function(t){var r=t.getWidth(),a=t.getHeight();e<r&&(e=r),i+=r,n<a&&(n=a),o+=a}),{maxWidth:e,totalWidth:i,maxHeight:n,totalHeight:o}},e._getRegion=function(){var t=this,e=t.viewTheme,n=t.legends,i=e.legend.legendMargin,o=[],a=0,u=0;return r.each(n,function(e){var n=t._getSubRegion(e);o.push(n),a+=n.totalWidth+i,u+=n.totalHeight+i}),{totalWidth:a,totalHeight:u,subs:o}},e._addCategoryLegend=function(t,e,n,u,s){var c=this,l=t.field,f=c.options,h=f[l];h&&(f=h);var d=c.legends;d[s]=d[s]||[];var p=c.container,v=[],g=t.getTicks(),y=!0,m=n.get("shapeType")||"point",b=n.getDefaultValue("shape")||"circle";f[l]&&f[l].marker?(b=f[l].marker,m="point",y=!1):f.marker&&(b=f.marker,m="point",y=!1);var x=c.chart,w=c.viewTheme,_=x.get("canvas"),S=c.plotRange,k=s.split("-"),E="right"===k[0]||"left"===k[0]?S.bl.y-S.tr.y:_.get("width");r.each(g,function(e){var i=e.text,o=e.value,s=t.invert(o),l={isInCircle:n.isInCircle()},f=!u||c._isFiltered(t,u,o),h=n.getAttr("color"),d=n.getAttr("shape");if(h)if(h.callback&&h.callback.length>1){var p=Array(h.callback.length-1).fill("");l.color=h.mapping.apply(h,[s].concat(p)).join("")||w.defaultColor}else l.color=h.mapping(s).join("")||w.defaultColor;if(y&&d)if(d.callback&&d.callback.length>1){var g=Array(d.callback.length-1).fill("");b=d.mapping.apply(d,[s].concat(g)).join("")}else b=d.mapping(s).join("");var x=a.getShapeFactory(m).getMarkerCfg(b,l);r.isFunction(b)&&(x.symbol=b),v.push({value:i,dataValue:s,checked:f,marker:x})});var O,C=r.deepMix({},w.legend[k[0]],f[l]||f,{viewId:x.get("_id"),maxLength:E,items:v,container:p,position:[0,0]});if(C.title&&r.deepMix(C,{title:{text:t.alias||t.field}}),c._isTailLegend(f,n))C.chart=c.chart,C.geom=n,O=new o(C);else if(f.useHtml){var A=p.get("canvas").get("el");if(p=f.container,r.isString(p)&&/^\#/.test(p)){var T=p.replace("#","");p=document.getElementById(T)}p||(p=A.parentNode),C.container=p,void 0===C.legendStyle&&(C.legendStyle={}),C.legendStyle.CONTAINER_CLASS={position:"absolute",overflow:"auto","z-index":""===A.style.zIndex?1:parseInt(A.style.zIndex,10)+1},f.flipPage?(C.legendStyle.CONTAINER_CLASS.height="right"===k[0]||"left"===k[0]?E+"px":"auto",C.legendStyle.CONTAINER_CLASS.width="right"!==k[0]&&"left"!==k[0]?E+"px":"auto",O=new i.CatPageHtml(C)):O=new i.CatHtml(C)}else O=new i.Category(C);return c._bindClickEvent(O,t,u),d[s].push(O),O},e._bindChartMove=function(t){var e=this.chart,n=this.legends;e.on("plotmove",function(e){var i=!1;if(e.target){var o=e.target.get("origin");if(o){var a=o._origin||o[0]._origin,u=t.field;if(a){var s=a[u];r.each(n,function(t){r.each(t,function(t){i=!0,!t.destroyed&&t.activate(s)})})}}}i||r.each(n,function(t){r.each(t,function(t){!t.destroyed&&t.deactivate()})})})},e._addContinuousLegend=function(t,e,n){var o=this.legends;o[n]=o[n]||[];var a,u,s,c=this.container,l=t.field,f=t.getTicks(),h=[],d=this.viewTheme;r.each(f,function(n){var r=n.value,i=t.invert(r),o=e.mapping(i).join("");h.push({value:n.tickValue,attrValue:o,color:o,scaleValue:r}),0===r&&(u=!0),1===r&&(s=!0)}),u||h.push({value:t.min,attrValue:e.mapping(0).join(""),color:e.mapping(0).join(""),scaleValue:0}),s||h.push({value:t.max,attrValue:e.mapping(1).join(""),color:e.mapping(1).join(""),scaleValue:1});var p=this.options,v=n.split("-"),g=d.legend[v[0]];(p&&!1===p.slidable||p[l]&&!1===p[l].slidable)&&(g=r.mix({},g,d.legend.gradient));var y=r.deepMix({},g,p[l]||p,{items:h,attr:e,formatter:t.formatter,container:c,position:[0,0]});if(y.title&&r.deepMix(y,{title:{text:t.alias||t.field}}),"color"===e.type)a=new i.Color(y);else{if("size"!==e.type)return;a=p&&"circle"===p.sizeType?new i.CircleSize(y):new i.Size(y)}return this._bindFilterEvent(a,t),o[n].push(a),a},e._isTailLegend=function(t,e){if(t.hasOwnProperty("attachLast")&&t.attachLast){var n=e.get("type");if("line"===n||"lineStack"===n||"area"===n||"areaStack"===n)return!0}return!1},e._adjustPosition=function(t,e){var n;if(e)n="right-top";else if(r.isArray(t))n=String(t[0])+"-"+String(t[1]);else{var i=t.split("-");1===i.length?("left"===i[0]&&(n="left-bottom"),"right"===i[0]&&(n="right-bottom"),"top"===i[0]&&(n="top-center"),"bottom"===i[0]&&(n="bottom-center")):n=t}return n},e.addLegend=function(t,e,n,r){var i=this.options,o=t.field,a=i[o],u=this.viewTheme;if(!1===a)return null;if(a&&a.custom)this.addCustomLegend(o);else{var s,c=i.position||u.defaultLegendPosition;c=this._adjustPosition(c,this._isTailLegend(i,n)),a&&a.position&&(c=this._adjustPosition(a.position,this._isTailLegend(a,n))),(s=t.isLinear?this._addContinuousLegend(t,e,c):this._addCategoryLegend(t,e,n,r,c))&&(this._bindHoverEvent(s,o),i.reactive&&this._bindChartMove(t))}},e.addCustomLegend=function(t){var e=this.chart,n=this.viewTheme,o=this.container,a=this.options;t&&(a=a[t]);var u=a.position||n.defaultLegendPosition;u=this._adjustPosition(u);var s=this.legends;s[u]=s[u]||[];var c=a.items;if(c){var f=e.getAllGeoms();r.each(c,function(t){var e=function(t,e){var n;return r.each(t,function(t){t.get("visible")&&t.getYScale().field===e&&(n=t)}),n}(f,t.value);r.isPlainObject(t.marker)?t.marker.radius=t.marker.radius||4.5:(t.marker={symbol:t.marker||"circle",radius:4.5},-1!==r.indexOf(l,t.marker.symbol)?t.marker.stroke=t.fill:t.marker.fill=t.fill);var n=t.marker.symbol;r.isString(n)&&-1!==n.indexOf("hollow")&&(t.marker.symbol=r.lowerFirst(n.substr(6))),t.checked=!!r.isNil(t.checked)||t.checked,t.geom=e});var h,d=e.get("canvas"),p=this.plotRange,v=u.split("-"),g="right"===v[0]||"left"===v[0]?p.bl.y-p.tr.y:d.get("width"),y=r.deepMix({},n.legend[v[0]],a,{maxLength:g,items:c,container:o,position:[0,0]});if(a.useHtml){var m=a.container;if(/^\#/.test(o)){var b=m.replace("#","");m=document.getElementById(b)}else m||(m=o.get("canvas").get("el").parentNode);y.container=m,void 0===y.legendStyle&&(y.legendStyle={}),y.legendStyle.CONTAINER_CLASS||(y.legendStyle.CONTAINER_CLASS={height:"right"===v[0]||"left"===v[0]?g+"px":"auto",width:"right"!==v[0]&&"left"!==v[0]?g+"px":"auto",position:"absolute",overflow:"auto"}),h=a.flipPage?new i.CatPageHtml(y):new i.CatHtml(y)}else h=new i.Category(y);return s[u].push(h),h.on("itemclick",function(t){a.onClick&&a.onClick(t)}),this._bindHoverEvent(h),h}},e.addMixedLegend=function(t,e){var n=[];r.each(t,function(t){var i=t.alias||t.field;r.each(e,function(e){if(e.getYScale()===t&&t.values&&t.values.length>0){var r=e.get("shapeType")||"point",o=e.getDefaultValue("shape")||"circle",u=a.getShapeFactory(r),s={color:e.getDefaultValue("color")},c=u.getMarkerCfg(o,s),l={value:i,marker:c,field:t.field};n.push(l)}})});var i={custom:!0,items:n};this.options=r.deepMix({},i,this.options);var o=this.addCustomLegend();this._bindClickEventForMix(o)},e.alignLegends=function(){var t=this,e=t.legends,n=t._getRegion(e);t.totalRegion=n;var i=0;return r.each(e,function(e,o){var a=n.subs[i];r.each(e,function(n,r){var i=e[r-1];n.get("useHtml")&&!n.get("autoPosition")||t._alignLegend(n,i,a,o)}),i++}),this},t}();t.exports=f},function(t,e,n){var r=n(152),i=n(0),o=/^(?:(?!0000)[0-9]{4}([-/.]+)(?:(?:0?[1-9]|1[0-2])\1(?:0?[1-9]|1[0-9]|2[0-8])|(?:0?[13-9]|1[0-2])\1(?:29|30)|(?:0?[13578]|1[02])\1(?:31))|(?:[0-9]{2}(?:0[48]|[2468][048]|[13579][26])|(?:0[48]|[2468][048]|[13579][26])00)([-/.]?)0?2\2(?:29))(\s+([01]|([01][0-9]|2[0-3])):([0-9]|[0-5][0-9]):([0-9]|[0-5][0-9]))?$/,a="linear",u="cat",s="time",c=function(){function t(t){this.defs={},this.viewTheme={scales:{}},this.filters={},i.assign(this,t)}var e=t.prototype;return e._getDef=function(t){var e=this.defs,n=this.viewTheme,r=null;return(n.scales[t]||e[t])&&(r=i.mix({},n.scales[t]),i.each(e[t],function(t,e){i.isNil(t)?delete r[e]:r[e]=t}),this.filters[t]&&(delete r.min,delete r.max)),r},e._getDefaultType=function(t,e){var n=a,r=i.Array.firstValue(e,t);return i.isArray(r)&&(r=r[0]),o.test(r)?n=s:i.isString(r)&&(n=u),n},e._getScaleCfg=function(t,e,n){var o={field:e},a=i.Array.values(n,e);if(o.values=a,!r.isCategory(t)&&"time"!==t){var u=i.Array.getRange(a);o.min=u.min,o.max=u.max,o.nice=!0}return"time"===t&&(o.nice=!1),o},e.createScale=function(t,e){var n,o=this._getDef(t),a=e||[],u=i.Array.firstValue(a,t);if(i.isNumber(t)||i.isNil(u)&&!o)n=r.identity({value:t,field:t.toString(),values:[t]});else{var s;o&&(s=o.type),s=s||this._getDefaultType(t,a);var c=this._getScaleCfg(s,t,a);o&&i.mix(c,o),n=r[s](c)}return n},t}();t.exports=c},function(t,e,n){var r=n(0),i=n(9),o=n(30).Tooltip,a=r.MatrixUtil.vec2,u=["line","area","path","areaStack"],s=["line","area"],c=["marker","showMarker"];function l(t,e){if(!t)return!1;return!!t.className&&-1!==(r.isNil(t.className.baseVal)?t.className:t.className.baseVal).indexOf(e)}function f(t){var e=[];return r.each(t,function(t){var n=function(t,e){var n=-1;return r.each(t,function(t,i){var o=!0;for(var a in e)if(e.hasOwnProperty(a)&&-1===c.indexOf(a)&&!r.isObject(e[a])&&e[a]!==t[a]){o=!1;break}if(o)return n=i,!1}),n}(e,t);-1===n?e.push(t):e[n]=t}),e}var h=function(){function t(t){r.assign(this,t),this.timeStamp=0}var e=t.prototype;return e._normalizeEvent=function(t){var e=this.chart,n=this._getCanvas(),r=n.getPointByClient(t.clientX,t.clientY),i=n.get("pixelRatio");r.x=r.x/i,r.y=r.y/i;var o=e.getViewsByPoint(r);return r.views=o,r},e._getCanvas=function(){return this.chart.get("canvas")},e._getTriggerEvent=function(){var t,e=this.options.triggerOn;return e&&"mousemove"!==e?"click"===e?t="plotclick":"none"===e&&(t=null):t="plotmove",t},e._getDefaultTooltipCfg=function(){var t=this.chart,e=this.viewTheme,n=this.options,i=r.mix({},e.tooltip),o=t.getAllGeoms().filter(function(t){return t.get("visible")}),a=[];r.each(o,function(t){var e=t.get("type"),n=t.get("adjusts"),i=!1;n&&r.each(n,function(t){if("symmetric"===t.type||"Symmetric"===t.type)return i=!0,!1}),-1!==r.indexOf(a,e)||i||a.push(e)});var u,c=!(!o.length||!o[0].get("coord"))&&o[0].get("coord").isTransposed;if(o.length&&o[0].get("coord")&&"cartesian"===o[0].get("coord").type)if("interval"===a[0]&&!1!==n.shared){var l=r.mix({},e.tooltipCrosshairsRect);l.isTransposed=c,u={zIndex:0,crosshairs:l}}else if(r.indexOf(s,a[0])>-1){var f=r.mix({},e.tooltipCrosshairsLine);f.isTransposed=c,u={crosshairs:f}}return r.mix(i,u,{})},e._bindEvent=function(){var t=this.chart,e=this._getTriggerEvent();e&&(t.on(e,r.wrapBehavior(this,"onMouseMove")),t.on("plotleave",r.wrapBehavior(this,"onMouseOut")))},e._offEvent=function(){var t=this.chart,e=this._getTriggerEvent();e&&(t.off(e,r.getWrapBehavior(this,"onMouseMove")),t.off("plotleave",r.getWrapBehavior(this,"onMouseOut")))},e._setTooltip=function(t,e,n,i){var o=this.tooltip,a=this.prePoint;if(!a||a.x!==t.x||a.y!==t.y){e=f(e),this.prePoint=t;var u=this.chart,s=this.viewTheme,c=r.isArray(t.x)?t.x[t.x.length-1]:t.x,l=r.isArray(t.y)?t.y[t.y.length-1]:t.y;o.get("visible")||u.emit("tooltip:show",{x:c,y:l,tooltip:o});var h=e[0],d=h.title||h.name;o.isContentChange(d,e)&&(u.emit("tooltip:change",{tooltip:o,x:c,y:l,items:e}),d=e[0].title||e[0].name,o.setContent(d,e),r.isEmpty(n)?(o.clearMarkers(),o.set("markerItems",[])):!0===this.options.hideMarkers?o.set("markerItems",n):o.setMarkers(n,s.tooltipMarker)),i===this._getCanvas()&&"mini"===o.get("type")?o.hide():(o.setPosition(c,l,i),o.show())}},e.hideTooltip=function(){var t=this.tooltip,e=this.chart,n=this._getCanvas();this.prePoint=null,t.hide(),e.emit("tooltip:hide",{tooltip:t}),n.draw()},e.onMouseMove=function(t){if(!r.isEmpty(t.views)){var e=this.timeStamp,n=+new Date,i={x:t.x,y:t.y};n-e>16&&!this.chart.get("stopTooltip")&&(this.showTooltip(i,t.views,t.shape),this.timeStamp=n)}},e.onMouseOut=function(t){var e=this.tooltip;e.get("visible")&&e.get("follow")&&(t&&t.toElement&&(l(t.toElement,"g2-tooltip")||function(t,e){for(var n=t.parentNode,r=!1;n&&n!==document.body;){if(l(n,e)){r=!0;break}n=n.parentNode}return r}(t.toElement,"g2-tooltip"))||this.hideTooltip())},e.renderTooltip=function(){var t=this;if(!t.tooltip){var e,n=t.chart,i=t.viewTheme,a=t._getCanvas(),u=t._getDefaultTooltipCfg(),s=t.options;(s=r.deepMix({plotRange:n.get("plotRange"),capture:!1,canvas:a,frontPlot:n.get("frontPlot"),viewTheme:i.tooltip,backPlot:n.get("backPlot")},u,s)).crosshairs&&"rect"===s.crosshairs.type&&(s.zIndex=0),s.visible=!1,"mini"===s.type?(s.crosshairs=!1,s.position="top",e=new o.Mini(s)):e=s.useHtml?new o.Html(s):new o.Canvas(s),t.tooltip=e;var c=t._getTriggerEvent();if(!e.get("enterable")&&"plotmove"===c){var l=e.get("container");l&&(l.onmousemove=function(e){var r=t._normalizeEvent(e);n.emit(c,r)})}t._bindEvent()}},e.showTooltip=function(t,e,n){var i=this;if(!r.isEmpty(e)&&t){this.tooltip||this.renderTooltip();var o=i.options,s=[],c=[];if(r.each(e,function(e){if(!e.get("tooltipEnable"))return!0;var n=e.get("geoms"),a=e.get("coord");r.each(n,function(e){var n=e.get("type");if(e.get("visible")&&!1!==e.get("tooltipCfg")){var l=e.get("dataArray");if(e.isShareTooltip()||!1===o.shared&&r.inArray(["area","line","path","polygon"],n))r.each(l,function(l){var f=e.findPoint(t,l);if(f){var h=e.getTipItems(f,o.title);r.each(h,function(t){var o=t.point;if(o&&o.x&&o.y){var c=r.isArray(o.x)?o.x[o.x.length-1]:o.x,l=r.isArray(o.y)?o.y[o.y.length-1]:o.y;o=a.applyMatrix(c,l,1),t.x=o[0],t.y=o[1],t.showMarker=!0;var f=i._getItemMarker(e,t.color);t.marker=f,-1!==r.indexOf(u,n)&&s.push(t)}}),c=c.concat(h)}});else{var f=e.get("shapeContainer"),h=f.get("canvas").get("pixelRatio"),d=f.getShape(t.x*h,t.y*h);d&&d.get("visible")&&d.get("origin")&&(c=e.getTipItems(d.get("origin"),o.title))}}}),r.each(c,function(t){var e=t.point,n=r.isArray(e.x)?e.x[e.x.length-1]:e.x,i=r.isArray(e.y)?e.y[e.y.length-1]:e.y;e=a.applyMatrix(n,i,1),t.x=e[0],t.y=e[1]})}),c.length){var l=c[0];if(!c.every(function(t){return t.title===l.title})){var f=l,h=1/0;c.forEach(function(e){var n=a.distance([t.x,t.y],[e.x,e.y]);n<h&&(h=n,f=e)}),c=c.filter(function(t){return t.title===f.title}),s=s.filter(function(t){return t.title===f.title})}if(!1===o.shared&&c.length>1){var d=c[0],p=Math.abs(t.y-d.y);r.each(c,function(e){Math.abs(t.y-e.y)<=p&&(d=e,p=Math.abs(t.y-e.y))}),d&&d.x&&d.y&&(s=[d]),c=[d]}i._setTooltip(t,c,s,n)}else i.hideTooltip()}},e.clear=function(){var t=this.tooltip;t&&t.destroy(),this.tooltip=null,this.prePoint=null,this._offEvent()},e._getItemMarker=function(t,e){var n=t.get("shapeType")||"point",r=t.getDefaultValue("shape")||"circle",o={color:e};return i.getShapeFactory(n).getMarkerCfg(r,o)},t}();t.exports=h},function(t,e,n){var r=n(119),i=n(8),o=n(0),a=n(120),u=n(5),s=n(130),c=n(270);function l(t,e,n){var r=(t-e)/(n-e);return r>=0&&r<=1}function f(t,e){var n=!1;if(t)if("theta"===t.type){var r=t.start,i=t.end;n=l(e.x,r.x,i.x)&&l(e.y,r.y,i.y)}else{var o=t.invert(e);n=o.x>=0&&o.y>=0&&o.x<=1&&o.y<=1}return n}var h={};o.each(i,function(t,e){var n=o.lowerFirst(e);h[n]=function(e){var n=new t(e);return this.addGeom(n),n}});var d=function(t){var e,n;n=t,(e=l).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=l.prototype;function l(e){var n,r=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n=t.call(this,e)||this);return r._setTheme(),o.each(i,function(t,e){var n=o.lowerFirst(e);r[n]=function(e){void 0===e&&(e={}),e.viewTheme=r.get("viewTheme");var n=new t(e);return r.addGeom(n),n}}),r.init(),n}return r.getDefaultCfg=function(){return{viewContainer:null,coord:null,start:{x:0,y:0},end:{x:1,y:1},geoms:[],scales:{},options:{},scaleController:null,padding:0,theme:null,parent:null,tooltipEnable:!0,animate:u.animate,visible:!0}},r._setTheme=function(){var t=this.get("theme"),e={},n={};o.isObject(t)?n=t:-1!==o.indexOf(Object.keys(s),t)&&(n=s[t]),o.deepMix(e,u,n),this.set("viewTheme",e)},r.init=function(){this._initViewPlot(),this.get("data")&&this._initData(this.get("data")),this._initOptions(),this._initControllers(),this._bindEvents()},r._initOptions=function(){var t=this,e=o.mix({},t.get("options"));e.scales||(e.scales={}),e.coord||(e.coord={}),!1===e.animate&&this.set("animate",!1),(!1===e.tooltip||o.isNull(e.tooltip))&&this.set("tooltipEnable",!1),e.geoms&&e.geoms.length&&o.each(e.geoms,function(e){t._createGeom(e)});var n=t.get("scaleController");n&&(n.defs=e.scales);var r=t.get("coordController");r&&r.reset(e.coord),this.set("options",e)},r._createGeom=function(t){var e,n=t.type;this[n]&&(e=this[n](),o.each(t,function(t,n){var r;e[n]&&(o.isObject(t)&&t.field?"label"===t?e[n](t.field,t.callback,t.cfg):(o.each(t,function(t,e){"field"!==e&&(r=t)}),e[n](t.field,r)):e[n](t))}))},r._initControllers=function(){var t=this.get("options"),e=this.get("viewTheme"),n=this.get("canvas"),r=new a.Scale({viewTheme:e,defs:t.scales}),i=new a.Coord(t.coord);this.set("scaleController",r),this.set("coordController",i);var o=new a.Axis({canvas:n,viewTheme:e});this.set("axisController",o);var u=new a.Guide({viewTheme:e,options:t.guides||[]});this.set("guideController",u)},r._initViewPlot=function(){this.get("viewContainer")||this.set("viewContainer",this.get("middlePlot"))},r._initGeoms=function(){for(var t=this.get("geoms"),e=this.get("filteredData"),n=this.get("coord"),r=this.get("_id"),i=0;i<t.length;i++){var o=t[i];o.set("data",e),o.set("coord",n),o.set("_id",r+"-geom"+i),o.set("keyFields",this.get("keyFields")),o.init()}},r._clearGeoms=function(){for(var t=this.get("geoms"),e=0;e<t.length;e++){t[e].clear()}},r._removeGeoms=function(){for(var t=this.get("geoms");t.length>0;){t.shift().destroy()}},r._drawGeoms=function(){this.emit("beforedrawgeoms");for(var t=this.get("geoms"),e=this.get("coord"),n=0;n<t.length;n++){var r=t[n];r.setCoord(e),r.paint()}this.emit("afterdrawgeoms")},r.isShapeInView=function(t){var e=this.get("_id"),n=t._id;if(n)return n.split("-")[0]===e;for(var r=t;r;){if(r.get("viewId")===e)return!0;r=r.get("parent")}return!1},r.getViewRegion=function(){var t,e,n=this.get("parent");if(n){var r=n.getViewRegion(),i=this._getViewRegion(r.start,r.end);t=i.start,e=i.end}else t=this.get("start"),e=this.get("end");return{start:t,end:e}},r._getViewRegion=function(t,e){var n=this.get("start"),r=this.get("end"),i=n.x,a=1-r.y,u=r.x,s=1-n.y,c=this.get("padding"),l=o.toAllPadding(c),f=l[0],h=l[1],d=l[2],p=l[3];return{start:{x:i*(e.x-t.x)+t.x+p,y:a*(e.y-t.y)+t.y-d},end:{x:u*(e.x-t.x)+t.x-h,y:s*(e.y-t.y)+t.y+f}}},r._createCoord=function(){var t=this.get("coordController"),e=this.getViewRegion(),n=t.createCoord(e.start,e.end);this.set("coord",n)},r._renderAxes=function(){var t=this.get("options").axes;if(!1!==t){var e=this.get("axisController");e.container=this.get("backPlot"),e.coord=this.get("coord"),e.options=t||{};var n=this.getXScale(),r=this.getYScales(),i=this.get("_id");e.createAxis(n,r,i)}},r._renderGuides=function(){var t=this.get("guideController");if(!o.isEmpty(t.options)){var e=this.get("coord");t.view=this,t.backContainer=this.get("backPlot"),t.frontContainer=this.get("frontPlot"),t.xScales=this._getScales("x"),t.yScales=this._getScales("y"),t.render(e)}},r._bindEvents=function(){var t=new a.Event({view:this,canvas:this.get("canvas")});t.bindEvents(),this.set("eventController",t)},r._clearEvents=function(){var t=this.get("eventController");t&&t.clearEvents()},r._getScales=function(t){for(var e=this.get("geoms"),n={},r=0;r<e.length;r++){var i=e[r],o="x"===t?i.getXScale():i.getYScale();o&&!n[o.field]&&(n[o.field]=o)}return n},r._adjustScale=function(){this._setCatScalesRange();for(var t=this.get("geoms"),e=this.get("scaleController").defs,n=0;n<t.length;n++){var r=t[n];if("interval"===r.get("type")){var i=r.getYScale(),o=i.field,a=i.min,u=i.max,s=i.type;e[o]&&e[o].min||"time"===s||(a>0?i.change({min:0}):u<=0&&i.change({max:0}))}}},r._setCatScalesRange=function(){var t=this.get("coord"),e=this.get("viewTheme"),n=this.getXScale(),r=this.getYScales(),i=[];n&&i.push(n),i=i.concat(r);var a=t.isPolar&&function(t){var e=t.startAngle,n=t.endAngle;return!(!o.isNil(e)&&!o.isNil(n)&&n-e<2*Math.PI)}(t),u=this.get("scaleController").defs;o.each(i,function(n){if((n.isCategory||n.isIdentity)&&n.values&&(!u[n.field]||!u[n.field].range)){var r,i=n.values.length;if(1===i)r=[.5,1];else{var o=0;r=a?t.isTransposed?[(o=1/i*e.widthRatio.multiplePie)/2,1-o/2]:[0,1-1/i]:[o=1/i*1/2,1-o]}n.range=r}})},r.getXScale=function(){var t=this.get("geoms"),e=null;return o.isEmpty(t)||(e=t[0].getXScale()),e},r.getYScales=function(){for(var t=this.get("geoms"),e=[],n=0;n<t.length;n++){var r=t[n].getYScale();r&&-1===o.indexOf(e,r)&&e.push(r)}return e},r.getXY=function(t){var e,n,r=this.get("coord"),i=this._getScales("x"),a=this._getScales("y");for(var u in t)i[u]&&(e=i[u].scale(t[u])),a[u]&&(n=a[u].scale(t[u]));return o.isNil(e)||o.isNil(n)?null:r.convert({x:e,y:n})},r.getSnapRecords=function(t){var e=this.get("geoms"),n=[];return o.each(e,function(e){var r,i=e.get("dataArray");o.each(i,function(i){(r=e.findPoint(t,i))&&n.push(r)})}),n},r.addGeom=function(t){this.get("geoms").push(t),t.set("view",this);var e=this.get("viewContainer");t.set("container",e),t.set("animate",this.get("animate")),t.bindEvents()},r.removeGeom=function(t){var e=this.get("geoms");o.Array.remove(e,t),t.destroy()},r.createScale=function(t,e){var n=this.get("scales"),r=this.get("parent"),i=n[t];if(!e){var o=this.get("filteredData"),a=this._getFieldsForLegend();e=o.length&&-1===a.indexOf(t)?o:this.get("data")}var u=this.get("scaleController");if(i){if(i.sync){var s=u.createScale(t,e);this._syncScale(i,s)}}else{if((i=u.createScale(t,e)).sync&&r){var c=r.createScale(t,e);i=this._getSyncScale(c,i)}n[t]=i}return i},r._getFieldsForLegend=function(){var t=[],e=this.get("geoms");return o.each(e,function(e){var n=e.getFieldsForLegend();t=t.concat(n)}),o.uniq(t)},r._getSyncScale=function(t,e){return t.type!==e.type?e:(this._syncScale(t,e),t)},r._syncScale=function(t,e){var n=o.union(t.values,e.values);if(e.isLinear){var r=Math.max(t.max,e.max),i=Math.min(t.min,e.min);t.max===r&&t.min===i||t.change({min:i,max:r,values:n})}n.length!==t.values.length&&t.change({values:n})},r.getFilteredValues=function(t){var e=this.get("scales")[t].values,n=this._getFilters();return n&&n[t]?e.filter(n[t]):e.slice(0)},r.getFilteredOutValues=function(t){var e=this.get("scales")[t].values,n=this._getFilters();return n&&n[t]?e.filter(function(e){return!n[t](e)}):[]},r.filter=function(t,e){var n=this.get("options");n.filters||(n.filters={}),n.filters[t]=e,this.get("scaleController").filters=n.filters},r._getFilters=function(){return this.get("options").filters},r.execFilter=function(t){var e=this._getFilters();return e&&(t=t.filter(function(t){var n=!0;return o.each(e,function(e,r){if(e&&!(n=e(t[r],t)))return!1}),n})),t},r.axis=function(t,e){var n=this.get("options");!1===t?n.axes=!1:(n.axes||(n.axes={}),n.axes[t]=e);return this},r.guide=function(){return this.get("guideController")},r._getKeyFields=function(t){var e=[];o.each(t,function(t,n){t.key&&e.push(n)}),this.set("keyFields",e)},r.scale=function(t,e){var n=this.get("options").scales;return o.isObject(t)?o.mix(n,t):n[t]=e,this._getKeyFields(n),this},r.tooltip=function(t){return this.set("tooltipEnable",t),this},r.animate=function(t){return this.get("options").animate=t,this.set("animate",t),this},r.changeOptions=function(t){return this.set("options",t),this._initOptions(t),this},r.getViewsByPoint=function(t){var e=[],n=this.get("views");return f(this.get("coord"),t)&&e.push(this),o.each(n,function(n){n.get("visible")&&f(n.get("coord"),t)&&e.push(n)}),e},r.eachShape=function(t){var e=this,n=e.get("views"),r=e.get("canvas");o.each(n,function(e){e.eachShape(t)});var i=this.get("geoms");return o.each(i,function(n){var r=n.getShapes();o.each(r,function(r){var i=r.get("origin");if(o.isArray(i)){var a=i.map(function(t){return t._origin});t(a,r,n,e)}else{var u=i._origin;t(u,r,n,e)}})}),r.draw(),this},r.filterShape=function(t){return this.eachShape(function(e,n,r,i){t(e,n,r,i)?n.show():n.hide()}),this},r.clearInner=function(){this.set("scales",{}),this.emit("beforeclearinner"),this.get("options").geoms=null,this._clearGeoms(),this.get("guideController")&&this.get("guideController").reset(),this.get("axisController")&&this.get("axisController").clear(),this.emit("afterclearinner")},r.clear=function(){return this.get("options").filters=null,this._removeGeoms(),this.clearInner(),this.get("guideController")&&this.get("guideController").clear(),this.set("isUpdate",!1),this.set("keyFields",[]),this},r.coord=function(t,e){var n=this.get("coordController");return n.reset({type:t,cfg:e}),n},r.resetCoord=function(){this._createCoord()},r.source=function(t,e){return this._initData(t),e&&this.scale(e),this.emit("setdata"),this},r.changeData=function(t){return this.emit("beforechangedata"),this._initData(t),this.emit("afterchangedata"),this.repaint(),this},r._initData=function(t){var e=this.get("dataView");e&&(e.off("change",o.getWrapBehavior(this,"_onViewChange")),this.set("dataView",null)),t&&t.isDataView&&(t.on("change",o.wrapBehavior(this,"_onViewChange")),this.set("dataView",t),t=t.rows),this.set("data",t)},r._onViewChange=function(){this.emit("beforechangedata");var t=this.get("dataView").rows;this.set("data",t),this.emit("afterchangedata"),this.repaint()},r.beforeRender=function(){var t=this.get("views");o.each(t,function(t){t.beforeRender()}),this.initView()},r.drawComponents=function(){var t=this.get("views");o.each(t,function(t){t.drawComponents()}),this._renderAxes(),this._renderGuides()},r.drawCanvas=function(t){if(!t){var e=this.get("views");this.get("backPlot").sort();var n=this.get("canvas");if(this.get("animate")){var r=this.get("isUpdate");o.each(e,function(t){c.execAnimation(t,r)}),c.execAnimation(this,r)}else n.draw()}},r.render=function(t){return this.clearInner(),this.emit("beforerender"),this.beforeRender(),this.emit("beforepaint"),this.drawComponents(),this.paint(),this.emit("afterpaint"),this.drawCanvas(t),this.emit("afterrender"),this.set("rendered",!0),this},r.initView=function(){var t=this.get("data")||[],e=this.execFilter(t);this.set("filteredData",e),this._createCoord(),this.emit("beforeinitgeoms"),this._initGeoms(),this._adjustScale()},r.paint=function(){var t=this.get("views");o.each(t,function(t){t.paint()});var e=this.get("data");o.isEmpty(e)||this._drawGeoms(),this.get("visible")||this.changeVisible(!1,!0)},r.changeVisible=function(t,e){var n=this.get("geoms");(o.each(n,function(e){e.changeVisible(t,!0)}),this.get("axisController")&&this.get("axisController").changeVisible(t),this.get("guideController")&&this.get("guideController").changeVisible(t),e)||this.get("canvas").draw()},r.repaint=function(){this.set("isUpdate",!0),this.clearInner(),this.render()},r.destroy=function(){this._clearEvents();var e=this.get("dataView");e&&e.off("change",o.getWrapBehavior(this,"_onViewChange")),this.clear(),t.prototype.destroy.call(this)},l}(r);t.exports=d},function(t,e,n){var r=n(30).Guide,i=n(280);r.RegionFilter=i,t.exports=r},function(t,e,n){var r=n(0),i=n(20),o=n(36).Path,a=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{name:"regionFilter",zIndex:1,top:!0,start:null,end:null,color:null,apply:null,style:{opacity:1}})},a.render=function(t,e,n,r){var i=this,o=e.addGroup();o.name="guide-region-filter",r.once("afterpaint",function(){if(!o.get("destroyed")){i._drawShapes(r,o);var e=i._drawClip(t);o.attr({clip:e}),i.set("clip",e),i.get("appendInfo")&&o.setSilent("appendInfo",i.get("appendInfo")),i.set("el",o)}})},a._drawShapes=function(t,e){var n=this,i=[];return t.getAllGeoms().map(function(t){var o=t.getShapes(),a=t.get("type");return n._geomFilter(a)&&o.map(function(t){var o=t.type,a=r.cloneDeep(t.attr());n._adjustDisplay(a);var u=e.addShape(o,{attrs:a});return i.push(u),t}),t}),i},a._drawClip=function(t){var e=this.parsePoint(t,this.get("start")),n=this.parsePoint(t,this.get("end")),r=[["M",e.x,e.y],["L",n.x,e.y],["L",n.x,n.y],["L",e.x,n.y],["z"]];return new o({attrs:{path:r,opacity:1}})},a._adjustDisplay=function(t){var e=this.get("color");t.fill&&(t.fill=t.fillStyle=e),t.stroke=t.strokeStyle=e},a._geomFilter=function(t){var e=this.get("apply");return!e||r.contains(e,t)},a.clear=function(){t.prototype.clear.call(this);var e=this.get("clip");e&&e.remove()},i}(i);t.exports=a},function(t,e,n){var r=n(0),i=n(30),o=n(5),a=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:"tail-legend",layout:"vertical",autoLayout:!0})},a._addItem=function(t){var e=this.get("itemsGroup"),n=this._getNextX(),i=this.get("unCheckColor"),o=e.addGroup({x:0,y:0,value:t.value,scaleValue:t.scaleValue,checked:t.checked});o.translate(n,0),o.set("viewId",e.get("viewId"));var a=this.get("textStyle"),u=this.get("_wordSpaceing"),s=0;if(t.marker){var c=r.mix({},t.marker,{x:t.marker.radius,y:0});t.checked||(c.fill&&(c.fill=i),c.stroke&&(c.stroke=i));var l=o.addShape("marker",{type:"marker",attrs:c});l.attr("cursor","pointer"),l.name="legend-marker",s+=l.getBBox().width+u}var f=r.mix({},a,{x:s,y:0,text:this._formatItemValue(t.value)});t.checked||r.mix(f,{fill:i});var h=o.addShape("text",{attrs:f});h.attr("cursor","pointer"),h.name="legend-text",this.get("appendInfo")&&h.setSilent("appendInfo",this.get("appendInfo"));var d=o.getBBox(),p=this.get("itemWidth"),v=o.addShape("rect",{attrs:{x:n,y:0-d.height/2,fill:"#fff",fillOpacity:0,width:p||d.width,height:d.height}});return v.attr("cursor","pointer"),v.setSilent("origin",t),v.name="legend-item",this.get("appendInfo")&&v.setSilent("appendInfo",this.get("appendInfo")),o.name="legendGroup",o},a._adjust=function(){if(this.get("geom")){this.get("group").attr("matrix")[7]=0;var t=this.get("geom").get("dataArray"),e=this.get("itemsGroup").get("children"),n=0;r.each(e,function(e){var i=t[n],o=i[i.length-1].y;r.isArray(o)&&(o=o[1]);var a=e.getBBox().height,u=e.get("x"),s=o-a/2;e.translate(u,s),n++}),this.get("autoLayout")&&this._antiCollision(e)}},a.render=function(){var e=this;t.prototype.render.call(this),this.get("chart").once("afterpaint",function(){e._adjust()})},a._getPreviousY=function(t){return t.attr("matrix")[7]+t.getBBox().height},a._adjustDenote=function(t,e,n){var r=2*-o.legend.legendMargin;t.addShape("path",{attrs:{path:"M-2,"+e+"L"+r+","+(n+3),lineWidth:1,lineDash:[2,2],stroke:"#999999"}})},a._antiCollision=function(t){if(void 0===t&&(t=[]),t.length){var e=this;t.sort(function(t,e){return t.attr("matrix")[7]-e.attr("matrix")[7]});var n=!0,r=e.get("chart").get("plotRange"),i=r.tl.y,o=Math.abs(i-r.bl.y),a=t[0].getBBox().height,u=Number.MIN_VALUE,s=0,c=t.map(function(t){var e=t.attr("matrix")[7];return e>s&&(s=e),e<u&&(u=e),{size:t.getBBox().height,targets:[e-i]}});u-=i;for(var l=0;n;){for(var f=0;f<c.length;f++){var h=c[f],d=(Math.min.apply(u,h.targets)+Math.max.apply(u,h.targets))/2;h.pos=Math.min(Math.max(u,d-h.size/2),o-h.size)}for(n=!1,l=c.length;l--;)if(l>0){var p=c[l-1],v=c[l];p.pos+p.size>v.pos&&(p.size+=v.size,p.targets=p.targets.concat(v.targets),c.splice(l,1),n=!0)}}l=0;var g=this.get("itemsGroup").addGroup();c.forEach(function(n){var r=i+a;n.targets.forEach(function(){var i=t[l].attr("matrix")[7],o=n.pos+r-a/2;Math.abs(i-o)>a/2&&e._adjustDenote(g,o,i-e.get("group").attr("matrix")[7]/2),t[l].translate(0,-i),t[l].translate(0,o),r+=a,l++})})}},i}(i.Legend.Category);t.exports=a},function(t,e,n){var r=n(0),i=n(16).Group,o=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){return{type:"plotBack",padding:null,background:null,plotRange:null,plotBackground:null}},o._beforeRenderUI=function(){this._calculateRange()},o._renderUI=function(){this._renderBackground(),this._renderPlotBackground()},o._renderBackground=function(){var t=this.get("background");if(t){var e=this.get("canvas"),n={x:0,y:0,width:this.get("width")||e.get("width"),height:this.get("height")||e.get("height")},i=this.get("backgroundShape");i?i.attr(n):(i=this.addShape("rect",{attrs:r.mix(n,t)}),this.set("backgroundShape",i))}},o._renderPlotBackground=function(){var t=this.get("plotBackground");if(t){var e=this.get("plotRange"),n=e.br.x-e.bl.x,i=e.br.y-e.tr.y,o=e.tl,a={x:o.x,y:o.y,width:n,height:i},u=this.get("plotBackShape");u?u.attr(a):(t.image?(a.img=t.image,u=this.addShape("image",{attrs:a})):(r.mix(a,t),u=this.addShape("rect",{attrs:a})),this.set("plotBackShape",u))}},o._convert=function(t,e){if(r.isString(t))if("auto"===t)t=0;else if(-1!==t.indexOf("%")){var n=this.get("canvas"),i=this.get("width")||n.get("width"),o=this.get("height")||n.get("height");t=parseInt(t,10)/100,t=e?t*i:t*o}return t},o._calculateRange=function(){var t=this.get("plotRange");r.isNil(t)&&(t={});var e=this.get("padding"),n=this.get("canvas"),i=this.get("width")||n.get("width"),o=this.get("height")||n.get("height"),a=r.toAllPadding(e),u=this._convert(a[0],!1),s=this._convert(a[1],!0),c=this._convert(a[2],!1),l=this._convert(a[3],!0),f=Math.min(l,i-s),h=Math.max(l,i-s),d=Math.min(o-c,u),p=Math.max(o-c,u);t.tl={x:f,y:d},t.tr={x:h,y:d},t.bl={x:f,y:p},t.br={x:h,y:p},t.cc={x:(h+f)/2,y:(p+d)/2},this.set("plotRange",t)},o.repaint=function(){return this._calculateRange(),this._renderBackground(),this._renderPlotBackground(),this},i}(i);t.exports=o},function(t,e,n){function r(t,e,n){return{x:t.x+e*Math.cos(n),y:t.y+e*Math.sin(n)}}var i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=i.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="circle",e},o.getRegion=function(t,e){var n=2*Math.PI/t,i=-1*Math.PI/2+n*e,o=.5/(1+1/Math.sin(n/2)),a=r({x:.5,y:.5},.5-o,i),u=5*Math.PI/4,s=1*Math.PI/4;return{start:r(a,o,u),end:r(a,o,s)}},o.generateFacets=function(t){var e=this,n=e.fields[0];if(!n)throw"Please specify for the field for facet!";var r=e.getFieldValues(n,t),i=r.length,o=[];return r.forEach(function(a,u){var s=[{field:n,value:a,values:r}],c=e.getFilter(s),l=t.filter(c),f={type:e.type,colValue:a,colField:n,colIndex:u,cols:i,rows:1,rowIndex:0,data:l,region:e.getRegion(i,u)};o.push(f)}),o},i}(n(46));t.exports=i},function(t,e,n){var r=n(0),i=n(44),o={};o.Rect=n(125),o.List=n(124),o.Circle=n(283),o.Tree=n(287),o.Mirror=n(286),o.Matrix=n(285),i.prototype.facet=function(t,e){var n=o[r.upperFirst(t)];if(!n)throw new Error("Not support such type of facets as: "+t);var i=this.get("facets");i&&i.destroy(),e.chart=this;var a=new n(e);this.set("facets",a)},t.exports=o},function(t,e,n){var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="matrix",e.showTitle=!1,e},i.generateFacets=function(t){for(var e=this.fields,n=e.length,r=n,i=[],o=0;o<r;o++)for(var a=e[o],u=0;u<n;u++){var s=e[u],c={type:this.type,colValue:a,rowValue:s,colField:a,rowField:s,colIndex:o,rowIndex:u,cols:r,rows:n,data:t,region:this.getRegion(n,r,o,u)};i.push(c)}return i},i.setXAxis=function(t,e,n){n.rowIndex!==n.rows-1&&(e[t].title=null,e[t].label=null)},i.setYAxis=function(t,e,n){0!==n.colIndex&&(e[t].title=null,e[t].label=null)},r}(n(125));t.exports=r},function(t,e,n){var r=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="mirror",this.transpose=!1,e},i.init=function(){this.transpose?(this.cols=2,this.rows=1):(this.cols=1,this.rows=2),t.prototype.init.call(this)},i.beforeProcessView=function(t,e){this.transpose?e.colIndex%2==0?t.coord().transpose().scale(-1,1):t.coord().transpose():e.rowIndex%2!=0&&t.coord().scale(1,-1)},i.renderTitle=function(t,e){this.transpose?this.drawColTitle(t,e):this.drawRowTitle(t,e)},i.setXAxis=function(t,e,n){1!==n.colIndex&&1!==n.rowIndex||(e[t].label=null,e[t].title=null)},i.setYAxis=function(){},r}(n(124));t.exports=r},function(t,e,n){var r=n(46),i=n(0).assign,o=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="tree",e.line={lineWidth:1,stroke:"#ddd"},e.lineSmooth=!1,e},o.generateFacets=function(t){if(!this.fields.length)throw"Please specify for the fields for facet!";var e=[],n=this.getRootFacet(t);return e.push(n),n.children=this.getChildFacets(t,1,e),this.setRegion(e),e},o.getRootFacet=function(t){return{type:this.type,rows:this.getRows(),rowIndex:0,colIndex:0,colValue:this.rootTitle,data:t}},o.getRows=function(){return this.fields.length+1},o.getChildFacets=function(t,e,n){var r=this,i=r.fields;if(!(i.length<e)){var o=[],a=i[e-1],u=r.getFieldValues(a,t);return u.forEach(function(i,s){var c=[{field:a,value:i,values:u}],l=r.getFilter(c),f=t.filter(l);if(f.length){var h={type:r.type,colValue:i,colField:a,colIndex:s,rows:r.getRows(),rowIndex:e,data:f,children:r.getChildFacets(f,e+1,n)};o.push(h),n.push(h)}}),o}},o.setRegion=function(t){var e=this;e.forceColIndex(t),t.forEach(function(t){t.region=e.getRegion(t.rows,t.cols,t.colIndex,t.rowIndex)})},o.forceColIndex=function(t){var e=this,n=[],r=0;t.forEach(function(t){e.isLeaf(t)&&(n.push(t),t.colIndex=r,r++)}),n.forEach(function(t){t.cols=n.length});for(var i=e.fields.length-1;i>=0;i--)for(var o=e.getFacetsByLevel(t,i),a=0;a<o.length;a++){var u=o[a];e.isLeaf(u)||(u.originColIndex=u.colIndex,u.colIndex=e.getRegionIndex(u.children),u.cols=n.length)}},o.getFacetsByLevel=function(t,e){var n=[];return t.forEach(function(t){t.rowIndex===e&&n.push(t)}),n},o.getRegion=function(t,e,n,r){var i=1/e,o=1/t,a={x:i*n,y:o*r};return{start:a,end:{x:a.x+i,y:a.y+2*o/3}}},o.getRegionIndex=function(t){var e=t[0];return(t[t.length-1].colIndex-e.colIndex)/2+e.colIndex},o.isLeaf=function(t){return!t.children||!t.children.length},o.setXAxis=function(t,e,n){n.rowIndex!==n.rows-1&&(e[t].label=null,e[t].title=null)},o.setYAxis=function(t,e,n){0!==n.originColIndex&&0!==n.colIndex&&(e[t].title=null,e[t].label=null)},o.onPaint=function(){t.prototype.onPaint.call(this),this.group.clear(),this.facets&&this.line&&this.drawLines(this.facets,this.group)},o.drawLines=function(t,e){var n=this,r=e.addGroup();t.forEach(function(t){if(!n.isLeaf(t)){var e=t.children;n._addFacetLines(t,e,r)}})},o._addFacetLines=function(t,e,n){var r=this,i=t.view.getViewRegion(),o={x:i.start.x+(i.end.x-i.start.x)/2,y:i.start.y};e.forEach(function(t){var e=t.view.getViewRegion(),i={x:e.start.x+(e.end.x-e.start.x)/2,y:e.end.y},a={x:o.x,y:o.y+(i.y-o.y)/2},u={x:i.x,y:a.y};r._drawLine([o,a,u,i],n)})},o._getPath=function(t){var e=[];return this.lineSmooth?(e.push(["M",t[0].x,t[0].y]),e.push(["C",t[1].x,t[1].y,t[2].x,t[2].y,t[3].x,t[3].y])):t.forEach(function(t,n){0===n?e.push(["M",t.x,t.y]):e.push(["L",t.x,t.y])}),e},o._drawLine=function(t,e){var n=this._getPath(t),r=this.line;e.addShape("path",{attrs:i({path:n},r)})},r}(r);t.exports=o},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var i=n(8),o=n(127),a=n(0);n(303);var u=function(t){r(n,t);var e=n.prototype;function n(e){var n;return n=t.call(this,e)||this,a.assign(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n),o),n}return e.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="area",e.shapeType="area",e.generatePoints=!0,e.sortable=!0,e},e.draw=function(t,e,n,r){var i=this,o=this.getDrawCfg(t[0]);i._applyViewThemeShapeStyle(o,o.shape,n);var u=this.splitData(t);o.origin=t,a.each(u,function(t,a){o.splitedIndex=a;var u=t.map(function(t){return t.points});o.points=u;var s=n.drawShape(o.shape,o,e);i.appendShapeInfo(s,r+a)})},n}(i),s=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"stack"}],e},e}(u);u.Stack=s,i.Area=u,i.AreaStack=s,t.exports=u},function(t,e,n){var r=n(8);n(304);var i=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="edge",e.shapeType="edge",e.generatePoints=!0,e},r}(r);r.Edge=i,t.exports=i},function(t,e,n){var r=n(65).ColorUtil,i=n(8),o=n(0),a=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="heatmap",e.paletteCache={},e},a._prepareRange=function(){var t=this.get("mappedData"),e=this.getAttr("color").field,n=1/0,r=-1/0;t.forEach(function(t){var i=t._origin[e];i>r&&(r=i),i<n&&(n=i)}),n===r&&(n=r-1);var i=[n,r];this.set("valueRange",i)},a._prepareSize=function(){var t=this.getDefaultValue("size");o.isNumber(t)||(t=this._getDefaultSize());var e=this.get("styleOptions"),n=e&&o.isObject(e.style)?e.style.blur:null;o.isFinite(n)&&null!==n||(n=t/2),this.set("heatmapSize",{blur:n,radius:t})},a._getDefaultSize=function(){var t=this.getAttr("position"),e=this.get("coord");return Math.min(e.width/(4*t.scales[0].ticks.length),e.height/(4*t.scales[1].ticks.length))},a._colorize=function(t){for(var e=this.getAttr("color"),n=t.data,i=this.get("paletteCache"),o=3;o<n.length;o+=4){var a=n[o];if(a){var u=void 0;i[a]?u=i[a]:(u=r.rgb2arr(e.gradient(a/256)),i[a]=u),n[o-3]=u[0],n[o-2]=u[1],n[o-1]=u[2],n[o]=a}}},a._prepareGreyScaleBlurredCircle=function(t,e){var n=this.get("grayScaleBlurredCanvas");n||(n=document.createElement("canvas"),this.set("grayScaleBlurredCanvas",n));var r=t+e,i=n.getContext("2d");n.width=n.height=2*r,i.clearRect(0,0,n.width,n.height),i.shadowOffsetX=i.shadowOffsetY=2*r,i.shadowBlur=e,i.shadowColor="black",i.beginPath(),i.arc(-r,-r,t,0,2*Math.PI,!0),i.closePath(),i.fill()},a._drawGrayScaleBlurredCircle=function(t,e,n,r,i){var o=this.get("grayScaleBlurredCanvas");i.globalAlpha=r,i.drawImage(o,t-n,e-n)},a._getShadowCanvasCtx=function(){var t=this.get("shadowCanvas");t||(t=document.createElement("canvas"),this.set("shadowCanvas",t));var e=this.get("coord");return e&&(t.width=e.width,t.height=e.height),t.getContext("2d")},a._clearShadowCanvasCtx=function(){var t=this._getShadowCanvasCtx();t.clearRect(0,0,t.canvas.width,t.canvas.height)},a._getImageShape=function(){var t=this.get("imageShape");return t||(t=this.get("container").addShape("Image",{}),this.set("imageShape",t),t)},a.clear=function(){this._clearShadowCanvasCtx(),t.prototype.clear.call(this)},a.drawWithRange=function(t){var e=this.get("coord"),n=e.start,r=e.end,i=e.width,o=e.height,a=this.getAttr("color").field,u=this.get("heatmapSize");this._clearShadowCanvasCtx();var s=this._getShadowCanvasCtx(),c=this.get("mappedData");t&&(c=c.filter(function(e){return e._origin[a]<=t[1]&&e._origin[a]>=t[0]}));for(var l=this._getScale(a),f=0;f<c.length;f++){var h=c[f],d=this.getDrawCfg(h),p=l.scale(h._origin[a]);this._drawGrayScaleBlurredCircle(d.x-n.x,d.y-r.y,u.radius+u.blur,p,s)}var v=s.getImageData(0,0,i,o);this._clearShadowCanvasCtx(),this._colorize(v),s.putImageData(v,0,0);var g=this._getImageShape();g.attr("x",n.x),g.attr("y",r.y),g.attr("width",i),g.attr("height",o),g.attr("img",s.canvas)},a.draw=function(t){this.set("mappedData",t),this._prepareRange(),this._prepareSize();var e=this.get("heatmapSize");this._prepareGreyScaleBlurredCircle(e.radius,e.blur);var n=this.get("valueRange");this.drawWithRange(n)},i}(i);i.Heatmap=a,t.exports=a},function(t,e,n){var r=n(8);r.Point=n(300),r.PointJitter=r.Point.Jitter,r.PointStack=r.Point.Stack,r.Path=n(128),r.Line=n(296),r.LineStack=r.Line.Stack,r.Interval=n(292),r.IntervalStack=r.Interval.Stack,r.IntervalDodge=r.Interval.Dodge,r.IntervalSymmetric=r.Interval.Symmetric,r.Area=n(288),r.AreaStack=r.Area.Stack,r.Polygon=n(301),r.Schema=n(302),r.SchemaDodge=r.Schema.Dodge,r.Edge=n(289),r.Heatmap=n(290),r.Venn=n(314),r.Violin=n(315),t.exports=r},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var i=n(8),o=n(0),a=n(70);n(305);var u=function(t){r(n,t);var e=n.prototype;function n(e){var n;return n=t.call(this,e)||this,o.assign(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n),a),n}return e.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="interval",e.shapeType="interval",e.generatePoints=!0,e},e.createShapePointsCfg=function(e){var n=t.prototype.createShapePointsCfg.call(this,e);return n.size=this.getNormalizedSize(e),n},e.clearInner=function(){t.prototype.clearInner.call(this),this.set("defaultSize",null)},n}(i),s=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"stack"}],e},e}(u),c=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"dodge"}],e},e}(u),l=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"symmetric"}],e},e}(u);u.Stack=s,u.Dodge=c,u.Symmetric=l,i.Interval=u,i.IntervalStack=s,i.IntervalDodge=c,i.IntervalSymmetric=l,t.exports=u},function(t,e,n){var r=n(69),i=n(126),o=n(295),a=n(294),u={getLabelsClass:function(t,e){var n=r;return"polar"===t?n=i:"theta"===t?n=o:"interval"!==e&&"polygon"!==e||(n=a),n}};t.exports=u},function(t,e,n){var r=n(0),i=function(t){var e,n;function i(){return t.apply(this,arguments)||this}return n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,i.prototype.setLabelPosition=function(t,e,n,i){r.isFunction(i)&&(i=i(t.text,e._origin,n));var o=this.get("coord"),a=o.isTransposed,u=o.convertPoint(e.points[0]),s=o.convertPoint(e.points[2]),c=(u.x-s.x)/2*(a?-1:1),l=(u.y-s.y)/2*(a?-1:1);switch(i){case"right":a?(t.x-=c,t.y+=l,t.textAlign=t.textAlign||"center"):(t.x-=c,t.y+=l,t.textAlign=t.textAlign||"left");break;case"left":a?(t.x-=c,t.y-=l,t.textAlign=t.textAlign||"center"):(t.x+=c,t.y+=l,t.textAlign=t.textAlign||"right");break;case"bottom":a?(t.x-=2*c,t.textAlign=t.textAlign||"left"):(t.y+=2*l,t.textAlign=t.textAlign||"center");break;case"middle":a?t.x-=c:t.y+=l,t.textAlign=t.textAlign||"center";break;case"top":t.textAlign=a?t.textAlign||"left":t.textAlign||"center"}},i}(n(69));t.exports=i},function(t,e,n){var r=n(0),i=n(126),o=n(25),a=n(5);function u(t,e,n){return{x:t.x+n*Math.cos(e),y:t.y+n*Math.sin(e)}}var s=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=i.prototype;return s.getDefaultCfg=function(){return{label:a.thetaLabels}},s.getDefaultOffset=function(t){return t.offset||0},s.adjustItems=function(e){var n=e[0]?e[0].offset:0;return n>0&&(e=this._distribute(e,n)),t.prototype.adjustItems.call(this,e)},s._distribute=function(t,e){var n=this.get("coord"),r=n.getRadius(),i=this.get("label").labelHeight,o=n.getCenter(),a=2*(r+e)+2*i,u={start:n.start,end:n.end},s=this.get("geom");if(s){var c=s.get("view");u=c.getViewRegion()}var l=[[],[]];return t.forEach(function(t){t&&("right"===t.textAlign?l[0].push(t):l[1].push(t))}),l.forEach(function(t,e){var n=parseInt(a/i,10);t.length>n&&(t.sort(function(t,e){return e["..percent"]-t["..percent"]}),t.splice(n,t.length-n)),t.sort(function(t,e){return t.y-e.y}),function(t,e,n,r,i){var o,a=!0,u=n.start,s=n.end,c=Math.min(u.y,s.y),l=Math.abs(u.y-s.y),f=0,h=Number.MIN_VALUE,d=t.map(function(t){return t.y>f&&(f=t.y),t.y<h&&(h=t.y),{size:e,targets:[t.y-c]}});for(h-=c,f-c>l&&(l=f-c);a;)for(d.forEach(function(t){var e=(Math.min.apply(h,t.targets)+Math.max.apply(h,t.targets))/2;t.pos=Math.min(Math.max(h,e-t.size/2),l-t.size)}),a=!1,o=d.length;o--;)if(o>0){var p=d[o-1],v=d[o];p.pos+p.size>v.pos&&(p.size+=v.size,p.targets=p.targets.concat(v.targets),p.pos+p.size>l&&(p.pos=l-p.size),d.splice(o,1),a=!0)}o=0,d.forEach(function(n){var r=c+e/2;n.targets.forEach(function(){t[o].y=n.pos+r,r+=e,o++})}),t.forEach(function(t){var e=t.r*t.r,n=Math.pow(Math.abs(t.y-r.y),2);if(e<n)t.x=r.x;else{var o=Math.sqrt(e-n);t.x=i?r.x+o:r.x-o}})}(t,i,u,o,e)}),l[0].concat(l[1])},s.lineToLabel=function(t){var e=this.get("coord"),n=e.getRadius(),r=t.offset,i=t.orignAngle||t.angle,o=e.getCenter(),a=u(o,i,n+2.5),s=u(o,i,n+r/2);t.labelLine||(t.labelLine=this.get("label").labelLine||{}),t.labelLine.path=["M"+a.x,a.y+" Q"+s.x,s.y+" "+t.x,t.y].join(",")},s.getLabelRotate=function(t,e){var n;return e<0&&((n=180*t/Math.PI)>90&&(n-=180),n<-90&&(n+=180)),n/180*Math.PI},s.getLabelAlign=function(t){var e,n=this.get("coord").getCenter();return e=t.angle<=Math.PI/2&&t.x>=n.x?"left":"right",this.getDefaultOffset(t)<=0&&(e="right"===e?"left":"right"),e},s.getArcPoint=function(t){return t},s.getPointAngle=function(t){var e=this.get("coord"),n={x:r.isArray(t.x)?t.x[0]:t.x,y:t.y[0]};this.transLabelPoint(n);var i,a={x:r.isArray(t.x)?t.x[1]:t.x,y:t.y[1]};this.transLabelPoint(a);var u=o.getPointAngle(e,n);if(t.points&&t.points[0].y===t.points[1].y)i=u;else{var s=o.getPointAngle(e,a);u>=s&&(s+=2*Math.PI),i=u+(s-u)/2}return i},s.getCirclePoint=function(t,e){var n=this.get("coord"),r=n.getCenter(),i=n.getRadius()+e,o=u(r,t,i);return o.angle=t,o.r=i,o},i}(i);t.exports=s},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var i=n(8),o=n(128);n(306);var a=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="line",e.sortable=!0,e},e}(o),u=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"stack"}],e},e}(a);a.Stack=u,i.Line=a,i.LineStack=u,t.exports=a},function(t,e,n){var r=n(0);function i(t,e){if(!t)return!0;if(t.length!==e.length)return!0;var n=!1;return r.each(e,function(e,i){if(!function(t,e){if(r.isNil(t)||r.isNil(e))return!1;var n=t.get("origin"),i=e.get("origin");return r.isEqual(n,i)}(e,t[i]))return n=!0,!1}),n}function o(t,e){var n={};return r.each(t,function(t,i){var o=e.attr(i);r.isArray(o)&&(o=r.cloneDeep(o)),n[i]=o}),n}var a={_isAllowActive:function(){var t=this.get("allowActive");if(!r.isNil(t))return t;var e=this.get("view"),n=this.isShareTooltip();return!1===e.get("options").tooltip||!n},_onMouseenter:function(t){var e=t.shape,n=this.get("shapeContainer");e&&n.contain(e)&&this._isAllowActive()&&this.setShapesActived(e)},_onMouseleave:function(){var t=this.get("view").get("canvas");this.get("activeShapes")&&(this.clearActivedShapes(),t.draw())},_bindActiveAction:function(){var t=this.get("view"),e=this.get("type");t.on(e+":mouseenter",r.wrapBehavior(this,"_onMouseenter")),t.on(e+":mouseleave",r.wrapBehavior(this,"_onMouseleave"))},_offActiveAction:function(){var t=this.get("view"),e=this.get("type");t.off(e+":mouseenter",r.getWrapBehavior(this,"_onMouseenter")),t.off(e+":mouseleave",r.getWrapBehavior(this,"_onMouseleave"))},_setActiveShape:function(t){var e=this.get("activedOptions")||{},n=t.get("origin"),i=n.shape||this.getDefaultValue("shape");r.isArray(i)&&(i=i[0]);var a=this.get("shapeFactory"),u=r.mix({},t.attr(),{origin:n}),s=a.getActiveCfg(i,u);e.style&&r.mix(s,e.style);var c=o(s,t);t.setSilent("_originAttrs",c),e.animate?t.animate(s,300):t.attr(s),t.set("zIndex",1)},setShapesActived:function(t){var e=this;r.isArray(t)||(t=[t]);var n=e.get("activeShapes");if(i(n,t)){var o=e.get("view").get("canvas"),a=e.get("shapeContainer"),u=e.get("activedOptions");u&&u.highlight?(r.each(t,function(t){t.get("animating")&&t.stopAnimate()}),e.highlightShapes(t)):(n&&e.clearActivedShapes(),r.each(t,function(t){t.get("animating")&&t.stopAnimate(),t.get("visible")&&!t.get("selected")&&e._setActiveShape(t)})),e.set("activeShapes",t),a.sort(),o.draw()}},clearActivedShapes:function(){var t=this.get("shapeContainer"),e=this.get("activedOptions"),n=e&&e.animate;if(t&&!t.get("destroyed")){var i=this.get("activeShapes");if(r.each(i,function(t){if(!t.get("selected")){var e=t.get("_originAttrs");n?(t.stopAnimate(),t.animate(e,300)):t.attr(e),t.setZIndex(0),t.set("_originAttrs",null)}}),this.get("preHighlightShapes")){var o=t.get("children");r.each(o,function(t){if(!t.get("selected")){var e=t.get("_originAttrs");e&&(n?(t.stopAnimate(),t.animate(e,300)):t.attr(e),t.setZIndex(0),t.set("_originAttrs",null))}})}t.get("children").sort(function(t,e){return t._INDEX-e._INDEX}),this.set("activeShapes",null),this.set("preHighlightShapes",null)}},getGroupShapesByPoint:function(t){var e=this.get("shapeContainer"),n=[];if(e){var i=this.getXScale().field,o=this.getShapes(),a=this._getOriginByPoint(t);r.each(o,function(t){var e=t.get("origin");t.get("visible")&&e&&(e._origin[i]===a[i]&&n.push(t))})}return n},getSingleShapeByPoint:function(t){var e,n=this.get("shapeContainer"),r=n.get("canvas").get("pixelRatio");if(n&&(e=n.getShape(t.x*r,t.y*r)),e&&e.get("origin"))return e},highlightShapes:function(t,e){r.isArray(t)||(t=[t]);var n=this.get("activeShapes");if(i(n,t)){n&&this.clearActivedShapes();var a=this.getShapes(),u=this.get("activedOptions"),s=u&&u.animate,c=u&&u.style;r.each(a,function(n){var i={};n.stopAnimate(),-1!==r.indexOf(t,n)?(r.mix(i,c,e),n.setZIndex(1)):(r.mix(i,{fillOpacity:.3,opacity:.3}),n.setZIndex(0));var a=o(i,n);n.setSilent("_originAttrs",a),s?n.animate(i,300):n.attr(i)}),this.set("preHighlightShapes",t),this.set("activeShapes",t)}}};t.exports=a},function(t,e,n){var r=n(0);function i(t,e){if(r.isNil(t)||r.isNil(e))return!1;var n=t.get("origin"),i=e.get("origin");return r.isEqual(n,i)}var o={_isAllowSelect:function(){var t=this.get("allowSelect");if(!r.isNil(t))return t;var e=this.get("type"),n=this.get("coord"),i=n&&n.type;return"interval"===e&&"theta"===i},_onClick:function(t){if(this._isAllowSelect()){this.clearActivedShapes();var e=t.shape,n=this.get("shapeContainer");e&&!e.get("animating")&&n.contain(e)&&this.setShapeSelected(e)}},_bindSelectedAction:function(){var t=this.get("view"),e=this.get("type");t.on(e+":click",r.wrapBehavior(this,"_onClick"))},_offSelectedAction:function(){var t=this.get("view"),e=this.get("type");t.off(e+":click",r.getWrapBehavior(this,"_onClick"))},_setShapeStatus:function(t,e){var n=this.get("view"),i=this.get("selectedOptions")||{},o=!1!==i.animate,a=n.get("canvas");t.set("selected",e);var u=t.get("origin");if(e){var s=u.shape||this.getDefaultValue("shape");r.isArray(s)&&(s=s[0]);var c=this.get("shapeFactory"),l=r.mix({geom:this,point:u},i),f=c.getSelectedCfg(s,l);r.mix(f,l.style),t.get("_originAttrs")||(t.get("animating")&&t.stopAnimate(),t.set("_originAttrs",function(t,e){var n={};return r.each(t,function(t,i){"transform"===i&&(i="matrix");var o=e.attr(i);r.isArray(o)&&(o=r.cloneDeep(o)),n[i]=o}),n}(f,t))),o?t.animate(f,300):(t.attr(f),a.draw())}else{var h=t.get("_originAttrs");t.set("_originAttrs",null),o?t.animate(h,300):(t.attr(h),a.draw())}},setShapeSelected:function(t){var e=this._getSelectedShapes(),n=this.get("selectedOptions")||{},o=!1!==n.cancelable;if("multiple"===n.mode)-1===r.indexOf(e,t)?(e.push(t),this._setShapeStatus(t,!0)):o&&(r.Array.remove(e,t),this._setShapeStatus(t,!1));else{var a=e[0];o&&(t=i(a,t)?null:t),i(a,t)||(a&&this._setShapeStatus(a,!1),t&&this._setShapeStatus(t,!0))}},clearSelected:function(){var t=this,e=t.get("shapeContainer");if(e&&!e.get("destroyed")){var n=t._getSelectedShapes();r.each(n,function(e){t._setShapeStatus(e,!1),e.set("_originAttrs",null)})}},setSelected:function(t){var e=this,n=e.getShapes();return r.each(n,function(n){var r=n.get("origin");r&&r._origin===t&&e.setShapeSelected(n)}),this},_getSelectedShapes:function(){var t=this.getShapes(),e=[];return r.each(t,function(t){t.get("selected")&&e.push(t)}),this.set("selectedShapes",e),e}};t.exports=o},function(t,e,n){var r=n(0),i=n(5).defaultColor;function o(t){return t.alias||t.field}var a={_getIntervalSize:function(t){var e=null,n=this.get("type"),i=this.get("coord");if(i.isRect&&("interval"===n||"schema"===n)){e=this.getSize(t._origin);var o=i.isTransposed?"y":"x";if(r.isArray(t[o]))e=e<Math.abs(t[o][1]-t[o][0])?null:e}return e},_snapEqual:function(t,e,n){return t=n.translate(t),e=n.translate(e),n.isCategory?t===e:r.snapEqual(t,e)},_getScaleValueByPoint:function(t){var e=0,n=this.get("coord"),r=this.getXScale(),i=n.invert(t).x;return this.isInCircle()&&i>(1+r.rangeMax())/2&&(i=r.rangeMin()),e=r.invert(i),r.isCategory&&(e=r.translate(e)),e},_getOriginByPoint:function(t){var e=this.getXScale(),n=this.getYScale(),r=e.field,i=n.field,o=this.get("coord").invert(t),a=e.invert(o.x),u=n.invert(o.y),s={};return s[r]=a,s[i]=u,s},_getScale:function(t){var e=this.get("scales"),n=null;return r.each(e,function(e){if(e.field===t)return n=e,!1}),n},_getTipValueScale:function(){var t,e=this.getAttrsForLegend();r.each(e,function(e){var n=e.getScale(e.type);if(n.isLinear)return t=n,!1});var n=this.getXScale(),i=this.getYScale();return!t&&i&&"..y"===i.field?n:t||i||n},_getTipTitleScale:function(t){if(t)return this._getScale(t);var e,n=this.getAttr("position").getFields();return r.each(n,function(t){if(-1===t.indexOf(".."))return e=t,!1}),this._getScale(e)},_filterValue:function(t,e){var n=this.get("coord"),i=this.getYScale(),o=i.field,a=n.invert(e).y;a=i.invert(a);var u=t[t.length-1];return r.each(t,function(t){var e=t._origin;if(e[o][0]<=a&&e[o][1]>=a)return u=t,!1}),u},getXDistance:function(){var t=this.get("xDistance");if(!t){var e=this.getXScale();if(e.isCategory)t=1;else{var n=e.values,i=e.translate(n[0]),o=i;r.each(n,function(t){(t=e.translate(t))<i&&(i=t),t>o&&(o=t)});var a=n.length;t=(o-i)/(a-1)}this.set("xDistance",t)}return t},findPoint:function(t,e){var n=this,i=n.get("type"),o=n.getXScale(),a=n.getYScale(),u=o.field,s=a.field,c=null;if(r.indexOf(["heatmap","point"],i)>-1){var l=n.get("coord").invert(t),f=o.invert(l.x),h=a.invert(l.y),d=1/0;return r.each(e,function(t){var e=Math.pow(t._origin[u]-f,2)+Math.pow(t._origin[s]-h,2);e<d&&(d=e,c=t)}),c}var p=e[0],v=e[e.length-1];if(!p)return c;var g=n._getScaleValueByPoint(t),y=p._origin[u],m=p._origin[s],b=v._origin[u],x=a.isLinear&&r.isArray(m);if(r.isArray(y))r.each(e,function(t){var e=t._origin;if(o.translate(e[u][0])<=g&&o.translate(e[u][1])>=g){if(!x)return c=t,!1;r.isArray(c)||(c=[]),c.push(t)}}),r.isArray(c)&&(c=this._filterValue(c,t));else{var w;if(o.isLinear||"timeCat"===o.type){if((g>o.translate(b)||g<o.translate(y))&&(g>o.max||g<o.min))return null;for(var _,S=0,k=e.length-1;S<=k;){_=Math.floor((S+k)/2);var E=e[_]._origin[u];if(n._snapEqual(E,g,o))return e[_];o.translate(E)<=o.translate(g)?(S=_+1,v=e[_],w=e[_+1]):(0===k&&(v=e[0]),k=_-1)}}else r.each(e,function(t,i){var a=t._origin;if(n._snapEqual(a[u],g,o)){if(!x)return c=t,!1;r.isArray(c)||(c=[]),c.push(t)}else o.translate(a[u])<=g&&(v=t,w=e[i+1])}),r.isArray(c)&&(c=this._filterValue(c,t));v&&w&&Math.abs(o.translate(v._origin[u])-g)>Math.abs(o.translate(w._origin[u])-g)&&(v=w)}var O=n.getXDistance();return!c&&Math.abs(o.translate(v._origin[u])-g)<=O/2&&(c=v),c},getTipTitle:function(t,e){var n="",r=this._getTipTitleScale(e);if(r){var i=t[r.field];n=r.getText(i)}else if("heatmap"===this.get("type")){var o=this.getXScale(),a=this.getYScale();n="( "+o.getText(t[o.field])+", "+a.getText(t[a.field])+" )"}return n},getTipValue:function(t,e){var n,i=e.field,o=t.key;if(n=t[i],r.isArray(n)){var a=[];r.each(n,function(t){a.push(e.getText(t))}),n=a.join("-")}else n=e.getText(n,o);return n},getTipName:function(t){var e,n,i=this._getGroupScales();if(i.length&&r.each(i,function(t){return n=t,!1}),n){var a=n.field;e=n.getText(t[a])}else{e=o(this._getTipValueScale())}return e},getTipItems:function(t,e){var n,a,u=this,s=t._origin,c=u.getTipTitle(s,e),l=u.get("tooltipCfg"),f=[];function h(e,n,o){if(!r.isNil(n)&&""!==n){var a={title:c,point:t,name:e||c,value:n,color:t.color||i,marker:!0};a.size=u._getIntervalSize(t),f.push(r.mix({},a,o))}}if(l){var d=l.fields,p=l.cfg,v=[];if(r.each(d,function(t){v.push(s[t])}),p){r.isFunction(p)&&(p=p.apply(null,v));var g=r.mix({},{point:t,title:c,color:t.color||i,marker:!0},p);g.size=u._getIntervalSize(t),f.push(g)}else r.each(d,function(t){if(!r.isNil(s[t])){var e=u._getScale(t);n=o(e),a=e.getText(s[t]),h(n,a)}})}else{var y=u._getTipValueScale();r.isNil(s[y.field])||(a=u.getTipValue(s,y),h(n=u.getTipName(s),a))}return f},isShareTooltip:function(){var t,e=this.get("shareTooltip"),n=this.get("type"),i=this.get("view");if(t=i.get("parent")?i.get("parent").get("options"):i.get("options"),"interval"===n){var o=this.get("coord"),a=o.type;("theta"===a||"polar"===a&&o.isTransposed)&&(e=!1)}else this.getYScale()&&!r.inArray(["contour","point","polygon","edge"],n)||(e=!1);return t.tooltip&&r.isBoolean(t.tooltip.shared)&&(e=t.tooltip.shared),e}};t.exports=a},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var i=n(8),o=n(0);n(307);var a=function(t){function e(){return t.apply(this,arguments)||this}r(e,t);var n=e.prototype;return n.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="point",e.shapeType="point",e.generatePoints=!0,e},n.drawPoint=function(t,e,n,r){var i,a=this,u=t.shape,s=a.getDrawCfg(t);if(a._applyViewThemeShapeStyle(s,u,n),o.isArray(t.y)){var c=a.hasStack();o.each(t.y,function(t,o){s.y=t,s.yIndex=o,c&&0===o||(i=n.drawShape(u,s,e),a.appendShapeInfo(i,r+o))})}else o.isNil(t.y)||(i=n.drawShape(u,s,e),a.appendShapeInfo(i,r))},e}(i),u=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"jitter"}],e},e}(a),s=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"stack"}],e},e}(a);a.Jitter=u,a.Stack=s,i.Point=a,i.PointJitter=u,i.PointStack=s,t.exports=a},function(t,e,n){var r=n(8),i=n(0);n(308);var o=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="polygon",e.shapeType="polygon",e.generatePoints=!0,e},o.createShapePointsCfg=function(e){var n,r=t.prototype.createShapePointsCfg.call(this,e),o=r.x,a=r.y;if(!i.isArray(o)||!i.isArray(a)){var u=this.getXScale(),s=this.getYScale(),c=.5/(u.values?u.values.length:u.ticks.length),l=.5/(s.values?s.values.length:s.ticks.length);u.isCategory&&s.isCategory?(o=[o-c,o-c,o+c,o+c],a=[a-l,a+l,a+l,a-l]):i.isArray(o)?(o=[(n=o)[0],n[0],n[1],n[1]],a=[a-l/2,a+l/2,a+l/2,a-l/2]):i.isArray(a)&&(a=[(n=a)[0],n[1],n[1],n[0]],o=[o-c/2,o-c/2,o+c/2,o+c/2]),r.x=o,r.y=a}return r},r}(r);r.Polygon=o,t.exports=o},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var i=n(8),o=n(0),a=n(70);n(309);var u=function(t){r(n,t);var e=n.prototype;function n(e){var n;return n=t.call(this,e)||this,o.assign(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n),a),n}return e.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="schema",e.shapeType="schema",e.generatePoints=!0,e},e.createShapePointsCfg=function(e){var n=t.prototype.createShapePointsCfg.call(this,e);return n.size=this.getNormalizedSize(e),n},n}(i),s=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"dodge"}],e},e}(u);u.Dodge=s,i.Schema=u,i.SchemaDodge=s,t.exports=u},function(t,e,n){var r=n(0),i=n(9),o=n(25),a=n(23),u=n(5);function s(t){var e=u.shape.hollowArea,n=r.mix({},e,t.style);return a.addStrokeAttrs(n,t),r.isNumber(t.size)&&(n.lineWidth=t.size),n}function c(t){var e=u.shape.area,n=r.mix({},e,t.style);return a.addFillAttrs(n,t),t.color&&(n.stroke=n.stroke||t.color),r.isNumber(t.size)&&(n.lineWidth=t.size),n}function l(t,e,n){var i=[],a=[],u=[],s=[],c=t.isInCircle;return r.each(t.points,function(t){u.push(t[1]),s.push(t[0])}),s=s.reverse(),a.push(u,s),r.each(a,function(r,a){var u=[],s=(r=n.parsePoints(r))[0];c&&r.push({x:s.x,y:s.y}),u=e?o.getSplinePath(r,!1,t.constraint):o.getLinePath(r,!1),a>0&&(u[0][0]="L"),i=i.concat(u)}),i.push(["Z"]),i}function f(t){return{symbol:function(t,e){return[["M",t-5.5,e-4],["L",t+5.5,e-4],["L",t+5.5,e+4],["L",t-5.5,e+4],["Z"]]},radius:5,fill:t.color,fillOpacity:.6}}var h=i.registerFactory("area",{defaultShapeType:"area",getDefaultPoints:function(t){var e=[],n=t.x,i=t.y,o=t.y0;return i=r.isArray(i)?i:[o,i],r.each(i,function(t){e.push({x:n,y:t})}),e},getActiveCfg:function(t,e){return function(t,e){if("line"===t||"smoothLine"===t)return{lineWidth:(e.lineWidth||0)+1};var n=e.fillOpacity||e.opacity||1;return{fillOpacity:n-.15,strokeOpacity:n-.15}}(t,e)},drawShape:function(t,e,n){var i,o=this.getShape(t);return(i=1===e.points.length&&u.showSinglePoint?function(t,e,n){var i=t._coord.convertPoint(e.points[0][1]);return n.addShape("circle",{attrs:r.mix({x:i.x,y:i.y,r:2,fill:e.color},e.style)})}(this,e,n):o.draw(e,n))&&(i.set("origin",e.origin),i._id=e.splitedIndex?e._id+e.splitedIndex:e._id,i.name=this.name),i},getSelectedCfg:function(t,e){return e&&e.style?e.style:this.getActiveCfg(t,e)}});i.registerShape("area","area",{draw:function(t,e){var n=c(t),i=l(t,!1,this);return e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return f(t)}}),i.registerShape("area","smooth",{draw:function(t,e){var n=c(t),i=this._coord;t.constraint=[[i.start.x,i.end.y],[i.end.x,i.start.y]];var o=l(t,!0,this);return e.addShape("path",{attrs:r.mix(n,{path:o})})},getMarkerCfg:function(t){return f(t)}}),i.registerShape("area","line",{draw:function(t,e){var n=s(t),i=l(t,!1,this);return e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return f(t)}}),i.registerShape("area","smoothLine",{draw:function(t,e){var n=s(t),i=l(t,!0,this);return e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return f(t)}}),h.spline=h.smooth,t.exports=h},function(t,e,n){var r=n(0),i=n(9),o=n(23),a=n(5),u=n(25),s=1/3;function c(t){var e=a.shape.edge,n=r.mix({},e,t.style);return o.addStrokeAttrs(n,t),n}var l=i.registerFactory("edge",{defaultShapeType:"line",getDefaultPoints:function(t){return o.splitPoints(t)},getActiveCfg:function(t,e){return{lineWidth:(e.lineWidth||0)+1}}});function f(t,e){var n=[];n.push({x:t.x,y:.5*t.y+1*e.y/2}),n.push({y:.5*t.y+1*e.y/2,x:e.x}),n.push(e);var i=["C"];return r.each(n,function(t){i.push(t.x,t.y)}),i}function h(t,e){var n=[];n.push({x:e.x,y:e.y}),n.push(t);var i=["Q"];return r.each(n,function(t){i.push(t.x,t.y)}),i}i.registerShape("edge","line",{draw:function(t,e){var n=this.parsePoints(t.points),i=c(t),o=u.getLinePath(n);return e.addShape("path",{attrs:r.mix(i,{path:o})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4.5},c(t))}}),i.registerShape("edge","vhv",{draw:function(t,e){var n=t.points,i=c(t),o=function(t,e){var n=[];n.push({y:t.y*(1-s)+e.y*s,x:t.x}),n.push({y:t.y*(1-s)+e.y*s,x:e.x}),n.push(e);var i=[["M",t.x,t.y]];return r.each(n,function(t){i.push(["L",t.x,t.y])}),i}(n[0],n[1]);return o=this.parsePath(o),e.addShape("path",{attrs:r.mix(i,{path:o})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4.5},c(t))}}),i.registerShape("edge","smooth",{draw:function(t,e){var n=t.points,i=c(t),o=function(t,e){var n=f(t,e),r=[["M",t.x,t.y]];return r.push(n),r}(n[0],n[1]);return o=this.parsePath(o),e.addShape("path",{attrs:r.mix(i,{path:o})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4.5},c(t))}}),i.registerShape("edge","arc",{draw:function(t,e){var n,i,o=t.points,a=o.length>2?"weight":"normal",u=c(t);if(t.isInCircle){var s={x:0,y:1};"normal"===a?i=function(t,e,n){var r=h(e,n),i=[["M",t.x,t.y]];return i.push(r),i}(o[0],o[1],s):(u.fill=u.stroke,i=function(t,e){var n=h(t[1],e),r=h(t[3],e),i=[["M",t[0].x,t[0].y]];return i.push(r),i.push(["L",t[3].x,t[3].y]),i.push(["L",t[2].x,t[2].y]),i.push(n),i.push(["L",t[1].x,t[1].y]),i.push(["L",t[0].x,t[0].y]),i.push(["Z"]),i}(o,s)),i=this.parsePath(i),n=e.addShape("path",{attrs:r.mix(u,{path:i})})}else if("normal"===a)o=this.parsePoints(o),n=e.addShape("arc",{attrs:r.mix(u,{x:(o[1].x+o[0].x)/2,y:o[0].y,r:Math.abs(o[1].x-o[0].x)/2,startAngle:Math.PI,endAngle:2*Math.PI})});else{i=[["M",o[0].x,o[0].y],["L",o[1].x,o[1].y]];var l=f(o[1],o[3]),d=f(o[2],o[0]);i.push(l),i.push(["L",o[3].x,o[3].y]),i.push(["L",o[2].x,o[2].y]),i.push(d),i.push(["Z"]),i=this.parsePath(i),u.fill=u.stroke,n=e.addShape("path",{attrs:r.mix(u,{path:i})})}return n},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4.5},c(t))}}),t.exports=l},function(t,e,n){var r=n(0),i=n(9),o=n(25),a=n(23),u=n(5),s=n(16),c=r.PathUtil;function l(t,e){var n,i,o=t.x,a=t.y,u=t.y0,s=t.size,c=u,l=a;r.isArray(a)&&(l=a[1],c=a[0]),r.isArray(o)?(n=o[0],i=o[1]):(n=o-s/2,i=o+s/2);var f=[];return f.push({x:n,y:c},{x:n,y:l}),e?f.push({x:i,y:(l+c)/2}):f.push({x:i,y:l},{x:i,y:c}),f}function f(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r){var i=0===n?"M":"L";e.push([i,r.x,r.y])}}var o=t[0];return e.push(["L",o.x,o.y]),e.push(["z"]),e}function h(t){var e=u.shape.interval,n=r.mix({},e,t.style);return a.addFillAttrs(n,t),t.color&&(n.stroke=n.stroke||t.color),n}function d(t){var e=u.shape.hollowInterval,n=r.mix({},e,t.style);return a.addStrokeAttrs(n,t),n}function p(t,e){var n=[],i=t.points,o=t.nextPoints;return r.isNil(o)?e?n.push(["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],["L",i[2].x,i[2].y],["L",i[3].x,i[3].y],["Z"]):n.push(["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],["L",i[2].x,i[2].y],["L",i[2].x,i[2].y],["Z"]):n.push(["M",i[0].x,i[0].y],["L",i[1].x,i[1].y],["L",o[1].x,o[1].y],["L",o[0].x,o[0].y],["Z"]),n}function v(t,e){var n,i=e.geom.get("coord"),a=e.point;if(i&&"theta"===i.type){var u=function(t,e){var n,i,a,u,s=e.getRadius(),c=s*e.innerRadius;return!r.isArray(t.x)&&r.isArray(t.y)&&(t.x=[t.x,t.x]),r.isArray(t.x)?(a={x:t.x[0],y:t.y[0]},u={x:t.x[1],y:t.y[1]},n=o.getPointAngle(e,a),(i=o.getPointAngle(e,u))<=n&&(i+=2*Math.PI)):(u=t,n=e.startAngle,i=o.getPointAngle(e,u)),{r:s,ir:c,startAngle:n,endAngle:i}}(a,i),s=(u.endAngle-u.startAngle)/2+u.startAngle;n={transform:[["t",7.5*Math.cos(s),7.5*Math.sin(s)]]}}return r.mix({},n)}var g=i.registerFactory("interval",{defaultShapeType:"rect",getActiveCfg:function(t,e){return!t||r.inArray(["rect","funnel","pyramid"],t)?{fillOpacity:(e.fillOpacity||e.opacity||1)-.15}:{lineWidth:(e.lineWidth||0)+1}},getDefaultPoints:function(t){return l(t)},getSelectedCfg:function(t,e){return v(0,e)}});function y(t,e,n,r){return 0===e?[[t+.5*n/Math.PI/2,r/2],[t+.5*n/Math.PI,r],[t+n/4,r]]:1===e?[[t+.5*n/Math.PI/2*(Math.PI-2),r],[t+.5*n/Math.PI/2*(Math.PI-1),r/2],[t+n/4,0]]:2===e?[[t+.5*n/Math.PI/2,-r/2],[t+.5*n/Math.PI,-r],[t+n/4,-r]]:[[t+.5*n/Math.PI/2*(Math.PI-2),-r],[t+.5*n/Math.PI/2*(Math.PI-1),-r/2],[t+n/4,0]]}function m(t,e,n,r,i,o,a){for(var u=2*Math.ceil(2*t/n*4),s=[];r<2*-Math.PI;)r+=2*Math.PI;for(;r>0;)r-=2*Math.PI;var c=o-t+(r=r/Math.PI/2*n)-2*t;s.push(["M",c,e]);for(var l=0,f=0;f<u;++f){var h=y(f*n/4,f%4,n,i);s.push(["C",h[0][0]+c,-h[0][1]+e,h[1][0]+c,-h[1][1]+e,h[2][0]+c,-h[2][1]+e]),f===u-1&&(l=h[2][0])}return s.push(["L",l+c,a+t]),s.push(["L",c,a+t]),s.push(["L",c,e]),s}function b(t,e,n,r,i,o,a,s){for(var c=a.getBBox(),l=c.maxX-c.minX,f=c.maxY-c.minY,h=0;h<r;h++){var d=o.addShape("path",{attrs:{path:m(s,c.minY+f*n,l/4,0,l/64,t,e),fill:i[h],clip:a}});"canvas"===u.renderer&&d.animate({transform:[["t",l/2,0]],repeat:!0},5e3-300*h)}}i.registerShape("interval","rect",{draw:function(t,e){var n=h(t),i=f(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){var e=h(t),n=t.isInCircle;return r.mix({symbol:n?"circle":"square",radius:n?4.5:4},e)}}),i.registerShape("interval","hollowRect",{draw:function(t,e){var n=d(t),i=f(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){var e=d(t),n=t.isInCircle;return r.mix({symbol:n?"circle":"square",radius:n?4.5:4},e)}}),i.registerShape("interval","line",{getPoints:function(t){return n=(e=t).x,i=e.y,o=e.y0,a=[],r.isArray(i)?r.each(i,function(t,e){a.push({x:r.isArray(n)?n[e]:n,y:t})}):a.push({x:n,y:i},{x:n,y:o}),a;var e,n,i,o,a},draw:function(t,e){var n=d(t);n.lineWidth=t.size||1;var i=f(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){var e=d(t);return r.mix({symbol:"line",radius:5},e)}}),i.registerShape("interval","tick",{getPoints:function(t){return n=(e=t).x,i=r.isArray(e.y)?e.y[1]:e.y,o=r.isArray(e.y)?e.y[0]:e.y0,a=e.size,(u=[]).push({x:n-a/2,y:i},{x:n+a/2,y:i},{x:n,y:i},{x:n,y:o},{x:n-a/2,y:o},{x:n+a/2,y:o}),u;var e,n,i,o,a,u},draw:function(t,e){var n=d(t);n.lineWidth||(n.lineWidth=2);var i=function(t){var e=[];return e.push(["M",t[0].x,t[0].y],["L",t[1].x,t[1].y],["M",t[2].x,t[2].y],["L",t[3].x,t[3].y],["M",t[4].x,t[4].y],["L",t[5].x,t[5].y]),e}(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){var e=d(t);return r.mix({symbol:"tick",radius:5},e)}}),i.registerShape("interval","funnel",{getPoints:function(t){return t.size=2*t.size,l(t)},draw:function(t,e){var n=h(t),i=p(t,!0);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){var e=h(t);return r.mix({symbol:"square",radius:4},e)}}),i.registerShape("interval","pyramid",{getPoints:function(t){return t.size=2*t.size,l(t,!0)},draw:function(t,e){var n=h(t),i=p(t,!1);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){var e=h(t);return r.mix({symbol:"square",radius:4},e)}}),i.registerShape("interval","liquid-fill-gauge",{draw:function(t,e){var n=0,i=1/0;r.each(t.points,function(t){t.x<i&&(i=t.x),n+=t.x});var o=n/t.points.length,a=this.parsePoint({x:o,y:.5}),u=this.parsePoint({x:i,y:.5}),c=a.x-u.x,l=Math.min(c,u.y),f=h(t),p=new s.Circle({attrs:{x:a.x,y:a.y,r:l}});return b(a.x,a.y,t.y/(2*a.y),1,[f.fill],e,p,4*l),e.addShape("circle",{attrs:r.mix(d(t),{x:a.x,y:a.y,r:l+l/8})})}});var x={};i.registerShape("interval","liquid-fill-path",{draw:function(t,e){var n=r.mix({},h(t)),i=t.shape[1],o=0,a=1/0;r.each(t.points,function(t){t.x<a&&(a=t.x),o+=t.x});var u,s=o/t.points.length,l=this.parsePoint({x:s,y:.5}),f=this.parsePoint({x:a,y:.5}),p=l.x-f.x,v=Math.min(p,f.y);if(x[i])u=x[i];else{var g=c.parsePathString(i);x[i]=u={segments:g}}var y=[];n.rotate&&(y.push(["r",n.rotate/180*Math.PI]),delete n.rotate);var m=e.addShape("path",{attrs:r.mix(n,{fillOpacity:0,path:u.segments})}),w=r.cloneDeep(m.getBBox()),_=w.maxX-w.minX,S=w.maxY-w.minY,k=2*v/Math.max(_,S);m.transform(y.concat([["s",k,k]]));var E=k*_/2,O=k*S/2;m.transform([["t",l.x-E,l.y-O]]),b(l.x,l.y,t.y/(2*l.y),1,[n.fill],e,m,4*f.y);var C=e.addShape("path",{attrs:r.mix(d(t),{path:u.segments})});return C.transform(y.concat([["s",k,k],["t",l.x-E,l.y-O]])),C}}),i.registerShape("interval","top-line",{draw:function(t,e){var n=h(t),i=t.style||{},o=[["M",t.points[1].x,t.points[1].y],["L",t.points[2].x,t.points[2].y]],a={stroke:i.stroke||"white",lineWidth:i.lineWidth||1,path:this.parsePath(o)},u=f(t.points);u=this.parsePath(u),delete n.stroke;var s=e.addShape("path",{attrs:r.mix(n,{zIndex:0,path:u})});return e.addShape("path",{zIndex:1,attrs:a}),s},getMarkerCfg:function(t){var e=h(t),n=t.isInCircle;return r.mix({symbol:n?"circle":"square",radius:n?4.5:4},e)}}),t.exports=g},function(t,e,n){var r=n(0),i=n(25),o=n(23),a=n(9),u=n(5),s=[1,1],c=[5.5,1];function l(t){var e=u.shape.line,n=r.mix({},e,t.style);return o.addStrokeAttrs(n,t),t.size&&(n.lineWidth=t.size),n}function f(t){var e=u.shape.line,n=r.mix({lineWidth:2,radius:6},e,t.style);return o.addStrokeAttrs(n,t),n}function h(t,e,n,r){var o;if(e){var a=r.constraint;n&&t.length&&t.push({x:t[0].x,y:t[0].y}),o=i.getSplinePath(t,!1,a)}else o=i.getLinePath(t,!1),n&&o.push(["Z"]);return o}function d(t,e){var n=t.points,i=t.isInCircle,a=n[0];return r.isArray(a.y)?function(t,e,n,r){for(var i=[],a=r.isStack,u=[],s=0;s<t.length;s++){var c=t[s],l=o.splitPoints(c);u.push(l[0]),i.push(l[1])}var f=h(i,e,n,r),d=h(u,e,n,r);return a?f:f.concat(d)}(n,e,i,t):h(n,e,i,t)}function p(t,e){return function(t){var e=[];return r.each(t,function(t,n){var r=0===n?["M",t.x,t.y]:["L",t.x,t.y];e.push(r)}),e}(function(t,e){var n=[];return r.each(t,function(r,i){var o=t[i+1];n.push(r),o&&(n=n.concat(e(r,o)))}),n}(t.points,e))}function v(t,e,n){return[["M",t-n,e],["L",t+n,e]]}function g(t,e,n){return[["M",t-n,e],["A",n/2,n/2,0,1,1,t,e],["A",n/2,n/2,0,1,0,t+n,e]]}function y(t,e){return r.mix({symbol:e?g:v},f(t))}function m(t,e){return r.mix({symbol:e},f(t))}var b=a.registerFactory("line",{defaultShapeType:"line",getActiveCfg:function(t,e){return{lineWidth:(e.lineWidth||0)+1}},getDefaultPoints:function(t){return o.splitPoints(t)},drawShape:function(t,e,n){var i,o=this.getShape(t);return(i=1===e.points.length&&u.showSinglePoint?function(t,e,n){var i=e.points[0];return n.addShape("circle",{attrs:r.mix({x:i.x,y:i.y,r:2,fill:e.color},e.style)})}(0,e,n):o.draw(e,n))&&(i.set("origin",e.origin),i._id=e.splitedIndex?e._id+e.splitedIndex:e._id,i.name=this.name),i}});a.registerShape("line","line",{draw:function(t,e){var n=l(t),i=d(t,!1);return e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return y(t)}}),a.registerShape("line","dot",{draw:function(t,e){var n=l(t),i=d(t,!1);return e.addShape("path",{attrs:r.mix(n,{path:i,lineDash:s})})},getMarkerCfg:function(t){var e=y(t,!1);return e.lineDash=s,e}}),a.registerShape("line","dash",{draw:function(t,e){var n=l(t),i=d(t,!1);return e.addShape("path",{attrs:r.mix({path:i,lineDash:c},n)})},getMarkerCfg:function(t){var e=y(t,!1);return e.lineDash=e.lineDash||c,e}}),a.registerShape("line","smooth",{draw:function(t,e){var n=l(t),i=this._coord;t.constraint=[[i.start.x,i.end.y],[i.end.x,i.start.y]];var o=d(t,!0);return e.addShape("path",{attrs:r.mix(n,{path:o})})},getMarkerCfg:function(t){return y(t,!0)}}),a.registerShape("line","hv",{draw:function(t,e){var n=l(t),i=p(t,function(t,e){var n=[];return n.push({x:e.x,y:t.y}),n});return e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return m(t,function(t,e,n){return[["M",t-n-1,e-2.5],["L",t,e-2.5],["L",t,e+2.5],["L",t+n+1,e+2.5]]})}}),a.registerShape("line","vh",{draw:function(t,e){var n=l(t),i=p(t,function(t,e){var n=[];return n.push({x:t.x,y:e.y}),n});return e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return m(t,function(t,e,n){return[["M",t-n-1,e+2.5],["L",t,e+2.5],["L",t,e-2.5],["L",t+n+1,e-2.5]]})}}),a.registerShape("line","hvh",{draw:function(t,e){var n=l(t),i=p(t,function(t,e){var n=[],r=(e.x-t.x)/2+t.x;return n.push({x:r,y:t.y}),n.push({x:r,y:e.y}),n});return e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return m(t,function(t,e,n){return[["M",t-(n+1),e+2.5],["L",t-n/2,e+2.5],["L",t-n/2,e-2.5],["L",t+n/2,e-2.5],["L",t+n/2,e+2.5],["L",t+n+1,e+2.5]]})}}),a.registerShape("line","vhv",{draw:function(t,e){var n=l(t),i=p(t,function(t,e){var n=[],r=(e.y-t.y)/2+t.y;return n.push({x:t.x,y:r}),n.push({x:e.x,y:r}),n});return e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return m(t,function(t,e){return[["M",t-5,e+2.5],["L",t-5,e],["L",t,e],["L",t,e-3],["L",t,e+3],["L",t+6.5,e+3]]})}}),b.spline=b.smooth,t.exports=b},function(t,e,n){var r=n(0),i=n(23),o=n(5),a=n(9),u=n(16).Marker,s=r.PathUtil,c=["cross","tick","plus","hyphen","line","pointerLine","pointerArrow"],l=Math.sqrt(3);function f(t){var e=o.shape.point,n=r.mix({},e,t.style);return i.addFillAttrs(n,t),r.isNumber(t.size)&&(n.radius=t.size),n}function h(t){var e=o.shape.hollowPoint,n=r.mix({},e,t.style);return i.addStrokeAttrs(n,t),r.isNumber(t.size)&&(n.radius=t.size),n}r.mix(u.Symbols,{hexagon:function(t,e,n){var r=n/2*l;return[["M",t,e-n],["L",t+r,e-n/2],["L",t+r,e+n/2],["L",t,e+n],["L",t-r,e+n/2],["L",t-r,e-n/2],["Z"]]},bowtie:function(t,e,n){var r=n-1.5;return[["M",t-n,e-r],["L",t+n,e+r],["L",t+n,e-r],["L",t-n,e+r],["Z"]]},cross:function(t,e,n){return[["M",t-n,e-n],["L",t+n,e+n],["M",t+n,e-n],["L",t-n,e+n]]},tick:function(t,e,n){return[["M",t-n/2,e-n],["L",t+n/2,e-n],["M",t,e-n],["L",t,e+n],["M",t-n/2,e+n],["L",t+n/2,e+n]]},plus:function(t,e,n){return[["M",t-n,e],["L",t+n,e],["M",t,e-n],["L",t,e+n]]},hyphen:function(t,e,n){return[["M",t-n,e],["L",t+n,e]]},line:function(t,e,n){return[["M",t,e-n],["L",t,e+n]]}});var d=a.registerFactory("point",{defaultShapeType:"hollowCircle",getActiveCfg:function(t,e){var n,i=e.radius;return{radius:i+1,shadowBlur:i,shadowColor:n=t&&(0===t.indexOf("hollow")||-1!==r.indexOf(c,t))||!t?e.stroke||e.strokeStyle:e.fill||e.fillStyle,stroke:n,strokeOpacity:1,lineWidth:1}},getDefaultPoints:function(t){return i.splitPoints(t)}});a.registerShape("point","rect",{draw:function(t,e){var n=f(t),i=function(t){var e=t.points[0].x,n=t.points[0].y,r=t.size[0],i=t.size[1];return[["M",e-.5*r,n-.5*i],["L",e+.5*r,n-.5*i],["L",e+.5*r,n+.5*i],["L",e-.5*r,n+.5*i],["z"]]}(t);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){var e=f(t);return e.symbol="rect",e.radius=4.5,e}}),r.each(["circle","square","bowtie","diamond","hexagon","triangle","triangle-down"],function(t){a.registerShape("point",t,{draw:function(e,n){var i=f(e);return n.addShape("Marker",{attrs:r.mix(i,{symbol:t,x:e.x,y:e.y})})},getMarkerCfg:function(e){var n=f(e);return n.symbol=t,n.radius=4.5,n}}),a.registerShape("point","hollow"+r.upperFirst(t),{draw:function(e,n){var i=h(e);return n.addShape("Marker",{attrs:r.mix(i,{symbol:t,x:e.x,y:e.y})})},getMarkerCfg:function(e){var n=h(e);return n.symbol=t,n.radius=4.5,n}})}),r.each(c,function(t){a.registerShape("point",t,{draw:function(e,n){var i=h(e);return n.addShape("Marker",{attrs:r.mix(i,{symbol:t,x:e.x,y:e.y})})},getMarkerCfg:function(e){var n=h(e);return n.symbol=t,n.radius=4.5,n}})}),a.registerShape("point","image",{draw:function(t,e){return t.points=this.parsePoints(t.points),e.addShape("image",{attrs:{x:t.points[0].x-t.size/2,y:t.points[0].y-t.size,width:t.size,height:t.size,img:t.shape[1]}})}});var p={};a.registerShape("point","path",{draw:function(t,e){var n,i=r.mix({},h(t),f(t)),o=t.shape[1],a=t.size||10;if(p[o])n=p[o];else{var u=s.parsePathString(o),c=r.flatten(u).filter(function(t){return r.isNumber(t)});p[o]=n={range:Math.max.apply(null,c)-Math.min.apply(null,c),segments:u}}var l=a/n.range,d=[];i.rotate&&(d.push(["r",i.rotate/180*Math.PI]),delete i.rotate);var v=e.addShape("path",{attrs:r.mix(i,{path:n.segments})});return d.push(["s",l,l],["t",t.x,t.y]),v.transform(d),v}}),t.exports=d},function(t,e,n){var r=n(0),i=n(9),o=n(23),a=n(5);function u(t){var e=a.shape.polygon,n=r.mix({},e,t.style);return o.addFillAttrs(n,t),n}function s(t){for(var e=t[0],n=1,i=[["M",e.x,e.y]];n<t.length;){var o=t[n];o.x===t[n-1].x&&o.y===t[n-1].y||(i.push(["L",o.x,o.y]),o.x===e.x&&o.y===e.y&&n<t.length-1&&(e=t[n+1],i.push(["Z"]),i.push(["M",e.x,e.y]),n++)),n++}return r.isEqual(i[i.length-1],e)||i.push(["L",e.x,e.y]),i.push(["Z"]),i}var c=i.registerFactory("polygon",{defaultShapeType:"polygon",getDefaultPoints:function(t){var e=[];return r.each(t.x,function(n,r){var i=t.y[r];e.push({x:n,y:i})}),e},getActiveCfg:function(t,e){var n=e.lineWidth||1;return"hollow"===t?{lineWidth:n+1}:{fillOpacity:(e.fillOpacity||e.opacity||1)-.08}},getSelectedCfg:function(t,e){return e&&e.style?e.style:this.getActiveCfg(t,e)}});i.registerShape("polygon","polygon",{draw:function(t,e){if(!r.isEmpty(t.points)){var n=u(t),i=s(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})}},getMarkerCfg:function(t){return r.mix({symbol:"square",radius:4},u(t))}}),i.registerShape("polygon","hollow",{draw:function(t,e){if(!r.isEmpty(t.points)){var n=function(t){var e=a.shape.hollowPolygon,n=r.mix({},e,t.style);return o.addStrokeAttrs(n,t),n}(t),i=s(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})}},getMarkerCfg:function(t){return r.mix({symbol:"square",radius:4},u(t))}}),t.exports=c},function(t,e,n){var r=n(0),i=n(9),o=n(23),a=n(5);function u(t){r.isArray(t)||(t=[t]);var e=t[0],n=t[t.length-1],i=t.length>1?t[1]:e;return{min:e,max:n,min1:i,max1:t.length>3?t[3]:n,median:t.length>2?t[2]:i}}function s(t,e,n){var i,o,a,s,c=[];return r.isArray(e)?i=[[t-n/2,(o=u(e)).max],[t+n/2,o.max],[t,o.max],[t,o.max1],[t-n/2,o.min1],[t-n/2,o.max1],[t+n/2,o.max1],[t+n/2,o.min1],[t,o.min1],[t,o.min],[t-n/2,o.min],[t+n/2,o.min],[t-n/2,o.median],[t+n/2,o.median]]:(e=e||.5,i=[[(o=u(t)).min,e-n/2],[o.min,e+n/2],[o.min,e],[o.min1,e],[o.min1,e-n/2],[o.min1,e+n/2],[o.max1,e+n/2],[o.max1,e-n/2],[o.max1,e],[o.max,e],[o.max,e-n/2],[o.max,e+n/2],[o.median,e-n/2],[o.median,e+n/2]]),a=i,s=c,r.each(a,function(t){s.push({x:t[0],y:t[1]})}),c}function c(t,e,n){var i=function(t){r.isArray(t)||(t=[t]);var e=t.sort(function(t,e){return t<e?1:-1}),n=e.length;if(n<4)for(var i=e[n-1],o=0;o<4-n;o++)e.push(i);return e}(e);return[{x:t,y:i[0]},{x:t,y:i[1]},{x:t-n/2,y:i[2]},{x:t-n/2,y:i[1]},{x:t+n/2,y:i[1]},{x:t+n/2,y:i[2]},{x:t,y:i[2]},{x:t,y:i[3]}]}var l=i.registerFactory("schema",{defaultShapeType:"",getActiveCfg:function(t,e){if("box"===t)return{lineWidth:(e.lineWidth||1)+1};var n=e.fillOpacity||e.opacity||1;return{fillOpacity:n-.15,strokeOpacity:n-.15}},getSelectedCfg:function(t,e){return e&&e.style?e.style:this.getActiveCfg(t,e)}});i.registerShape("schema","box",{getPoints:function(t){return s(t.x,t.y,t.size)},draw:function(t,e){var n,i=function(t){var e=a.shape.schema,n=r.mix({},e,t.style);return o.addStrokeAttrs(n,t),n}(t),u=[["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["M",n[4].x,n[4].y],["L",n[5].x,n[5].y],["L",n[6].x,n[6].y],["L",n[7].x,n[7].y],["L",n[4].x,n[4].y],["Z"],["M",n[8].x,n[8].y],["L",n[9].x,n[9].y],["M",n[10].x,n[10].y],["L",n[11].x,n[11].y],["M",n[12].x,n[12].y],["L",n[13].x,n[13].y]];return u=this.parsePath(u),e.addShape("path",{attrs:r.mix(i,{path:u})})},getMarkerCfg:function(t){return{symbol:function(t,e,n){var r=s(t,[e-6,e-3,e,e+3,e+6],n);return[["M",r[0].x+1,r[0].y],["L",r[1].x-1,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["M",r[4].x,r[4].y],["L",r[5].x,r[5].y],["L",r[6].x,r[6].y],["L",r[7].x,r[7].y],["L",r[4].x,r[4].y],["Z"],["M",r[8].x,r[8].y],["L",r[9].x,r[9].y],["M",r[10].x+1,r[10].y],["L",r[11].x-1,r[11].y],["M",r[12].x,r[12].y],["L",r[13].x,r[13].y]]},radius:6,lineWidth:1,stroke:t.color}}}),i.registerShape("schema","candle",{getPoints:function(t){return c(t.x,t.y,t.size)},draw:function(t,e){var n,i=function(t){var e=a.shape.schema,n=r.mix({},e,t.style);return o.addFillAttrs(n,t),t.color&&(n.stroke=t.color||n.stroke),n}(t),u=[["M",(n=t.points)[0].x,n[0].y],["L",n[1].x,n[1].y],["M",n[2].x,n[2].y],["L",n[3].x,n[3].y],["L",n[4].x,n[4].y],["L",n[5].x,n[5].y],["Z"],["M",n[6].x,n[6].y],["L",n[7].x,n[7].y]];return u=this.parsePath(u),e.addShape("path",{attrs:r.mix(i,{path:u})})},getMarkerCfg:function(t){return{symbol:function(t,e,n){var r=c(t,e=[e+7.5,e+3,e-3,e-7.5],n);return[["M",r[0].x,r[0].y],["L",r[1].x,r[1].y],["M",r[2].x,r[2].y],["L",r[3].x,r[3].y],["L",r[4].x,r[4].y],["L",r[5].x,r[5].y],["Z"],["M",r[6].x,r[6].y],["L",r[7].x,r[7].y]]},lineWidth:1,stroke:t.color,fill:t.color,radius:6}}}),t.exports=l},function(t,e,n){var r=n(0),i=n(9),o=n(23),a=n(5),u=r.PathUtil;function s(t){var e=a.shape.venn,n=r.mix({},e,t.style);return o.addFillAttrs(n,t),n}var c=i.registerFactory("venn",{defaultShapeType:"venn",getActiveCfg:function(t,e){var n=e.lineWidth||1;return"hollow"===t?{lineWidth:n+1}:{fillOpacity:(e.fillOpacity||e.opacity||1)-.08}},getSelectedCfg:function(t,e){return e&&e.style?e.style:this.getActiveCfg(t,e)}});i.registerShape("venn","venn",{draw:function(t,e){var n=t.origin._origin.path,i=s(t),o=u.parsePathString(n);return e.addShape("path",{attrs:r.mix(i,{path:o})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4},s(t))}}),i.registerShape("venn","hollow",{draw:function(t,e){var n=t.origin._origin.path,i=function(t){var e=a.shape.hollowVenn,n=r.mix({},e,t.style);return o.addStrokeAttrs(n,t),n}(t),s=u.parsePathString(n);return e.addShape("path",{attrs:r.mix(i,{path:s})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4},s(t))}}),t.exports=c},function(t,e,n){var r=n(0),i=n(9),o=n(23),a=n(5),u=n(25);function s(t){var e=a.shape.venn,n=r.mix({},e,t.style);return o.addFillAttrs(n,t),t.color&&(n.stroke=n.stroke||t.color),n}function c(t){var e=a.shape.hollowVenn,n=r.mix({},e,t.style);return o.addStrokeAttrs(n,t),n}function l(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r){var i=0===n?"M":"L";e.push([i,r.x,r.y])}}var o=t[0];return o&&(e.push(["L",o.x,o.y]),e.push(["z"])),e}function f(t){for(var e=t.length/2,n=[],r=[],i=0;i<t.length;i++)i<e?n.push(t[i]):r.push(t[i]);var o=u.getSplinePath(n,!1),a=u.getSplinePath(r,!1);r.length&&o.push(["L",r[0].x,r[0].y]),a.shift();var s=o.concat(a);return n.length&&s.push(["L",n[0].x,n[0].y]),s.push(["z"]),s}var h=i.registerFactory("violin",{defaultShapeType:"violin",getDefaultPoints:function(t){var e,n,i=t.size/2,o=[],a=(e=t._size,n=Math.max.apply(null,e),e.map(function(t){return t/n}));return r.each(t.y,function(e,n){var r=a[n]*i,u=0===n,s=n===t.y.length-1;o.push({isMin:u,isMax:s,x:t.x-r,y:e}),o.unshift({isMin:u,isMax:s,x:t.x+r,y:e})}),o},getActiveCfg:function(t,e){var n=e.lineWidth||1;return"hollow"===t?{lineWidth:n+1}:{fillOpacity:(e.fillOpacity||e.opacity||1)-.08}},getSelectedCfg:function(t,e){return e&&e.style?e.style:this.getActiveCfg(t,e)}});i.registerShape("violin","violin",{draw:function(t,e){var n=s(t),i=l(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4},s(t))}}),i.registerShape("violin","smooth",{draw:function(t,e){var n=s(t),i=f(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4},s(t))}}),i.registerShape("violin","hollow",{draw:function(t,e){var n=c(t),i=l(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4},c(t))}}),i.registerShape("violin","smoothHollow",{draw:function(t,e){var n=c(t),i=f(t.points);return i=this.parsePath(i),e.addShape("path",{attrs:r.mix(n,{path:i})})},getMarkerCfg:function(t){return r.mix({symbol:"circle",radius:4},c(t))}}),t.exports=h},function(t,e,n){var r=n(0);t.exports=function(t){return r.isArray(t)?t:r.isString(t)?t.split("*"):[t]}},function(t,e,n){var r=n(0).MatrixUtil.vec2;t.exports={catmullRom2bezier:function(t,e,n){for(var i=!!e,o=[],a=0,u=t.length;a<u;a+=2)o.push([t[a],t[a+1]]);for(var s,c,l,f=function(t,e,n,i){var o,a,u,s,c=[],l=!!i;if(l){u=[1/0,1/0],s=[-1/0,-1/0];for(var f=0,h=t.length;f<h;f++){var d=t[f];u=r.min([],u,d),s=r.max([],s,d)}u=r.min([],u,i[0]),s=r.max([],s,i[1])}for(var p=0,v=t.length;p<v;p++){var g=t[p];if(n)o=t[p?p-1:v-1],a=t[(p+1)%v];else{if(0===p||p===v-1){c.push(g);continue}o=t[p-1],a=t[p+1]}var y=[];y=r.sub(y,a,o),y=r.scale(y,y,e);var m=r.distance(g,o),b=r.distance(g,a),x=m+b;0!==x&&(m/=x,b/=x);var w=r.scale([],y,-m),_=r.scale([],y,b),S=r.add([],g,w),k=r.add([],g,_);l&&(S=r.max([],S,u),S=r.min([],S,s),k=r.max([],k,u),k=r.min([],k,s)),c.push(S),c.push(k)}return n&&c.push(c.shift()),c}(o,.4,i,n),h=o.length,d=[],p=0;p<h-1;p++)s=f[2*p],c=f[2*p+1],l=o[p+1],d.push(["C",s[0],s[1],c[0],c[1],l[0],l[1]]);return i&&(s=f[h],c=f[h+1],l=o[0],d.push(["C",s[0],s[1],c[0],c[1],l[0],l[1]])),d}}},function(t,e,n){var r=n(8),i=n(0),o=n(543),a=o.venn,u=o.scaleSolution,s=o.circlePath,c=o.intersectionAreaPath,l=o.computeTextCentres;n(310);var f=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="venn",e.shapeType="venn",e.generatePoints=!1,e},o._getAttrValues=function(e,n){return"position"===e.type?[n.x,n.y]:t.prototype._getAttrValues.call(this,e,n)},o.sets=function(t){return this.set("setsField",t),this},o._initAttrs=function(){t.prototype._initAttrs.call(this);var e=this.get("attrOptions"),n=this.get("setsField")||"sets",r=this.get("data"),o=e.size?e.size.field:"size";r.forEach(function(t){t.sets=t[n],t._sets=t[n].join("&"),t.size=t[o]});var f=a(r),h=this.get("coord"),d=[Math.min(h.x.end,h.x.start),Math.max(h.x.end,h.x.start)],p=[Math.min(h.y.end,h.y.start),Math.max(h.y.end,h.y.start)],v=d[1]-d[0],g=p[1]-p[0],y=this.get("styleOptions"),m=y&&i.isObject(y.style)?y.style.padding:0;i.isFinite(m)||(m=0);var b=u(f,v,g,m),x=l(b,r);r.forEach(function(t){var e=t.sets,n=e.join(",");if(t.id=n,1===e.length){var r=b[n];t.path=s(r.x,r.y,r.radius),i.assign(t,r)}else{var o=e.map(function(t){return b[t]}),a=c(o);/[zZ]$/.test(a)||(a+="Z"),t.path=a;var u=x[n]||{x:0,y:0};i.assign(t,u)}})},r}(r);r.Venn=f,t.exports=f},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var i=n(8),o=n(0),a=n(70);n(311);var u=function(t){r(n,t);var e=n.prototype;function n(e){var n;return n=t.call(this,e)||this,o.assign(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n),a),n}return e.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.type="violin",e.shapeType="violin",e.generatePoints=!0,e},e.createShapePointsCfg=function(e){var n=t.prototype.createShapePointsCfg.call(this,e);n.size=this.getNormalizedSize(e);var r=this.get("_sizeField");return n._size=e._origin[r],n},e.clearInner=function(){t.prototype.clearInner.call(this),this.set("defaultSize",null)},e._initAttrs=function(){var e=this.get("attrOptions"),n=e.size?e.size.field:this.get("_sizeField")?this.get("_sizeField"):"size";this.set("_sizeField",n),delete e.size,t.prototype._initAttrs.call(this)},n}(i),s=function(t){function e(){return t.apply(this,arguments)||this}return r(e,t),e.prototype.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return e.hasDefaultAdjust=!0,e.adjusts=[{type:"dodge"}],e},e}(u);u.Dodge=s,i.Violin=u,i.ViolinDodge=s,t.exports=u},function(t,e,n){var r=n(0),i=n(28),o=["X","Y","XY","POLYGON"],a="XY",u=function(t){var e,n;n=t,(e=u).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=u.prototype;function u(e,n){var r,i=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r=t.call(this,e,n)||this);i.filter=!i.draggable,i.type=i.type.toUpperCase(),i.chart=n,-1===o.indexOf(i.type)&&(i.type=a);var u,s=i.canvas;s&&(s.get("children").map(function(t){return"plotBack"===t.get("type")?(u=t.get("plotRange"),!1):t}),i.plot={start:u.bl,end:u.tr});if(n){var c=n.get("coord");i.plot={start:c.start,end:c.end};var l=n._getScales("x"),f=n._getScales("y");i.xScale=i.xField?l[i.xField]:n.getXScale(),i.yScale=i.yField?f[i.yField]:n.getYScales()[0]}return r}return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:a,startPoint:null,brushing:!1,dragging:!1,brushShape:null,container:null,polygonPath:null,style:{fill:"#C5D4EB",opacity:.3,lineWidth:1,stroke:"#82A6DD"},draggable:!1,dragOffX:0,dragOffY:0,inPlot:!0,xField:null,yField:null})},i.start=function(t){var e=this,n=e.canvas,r=e.type,i=e.brushShape;if(r){var o={x:t.offsetX,y:t.offsetY};if(o.x){var a=e.plot&&e.inPlot,u=n.get("canvasDOM"),s=n.get("pixelRatio");if(e.selection&&(e.selection=null),e.draggable&&i&&!i.get("destroyed")){if(i.isHit(o.x*s,o.y*s)){if(u.style.cursor="move",e.selection=i,e.dragging=!0,"X"===r)e.dragoffX=o.x-i.attr("x"),e.dragoffY=0;else if("Y"===r)e.dragoffX=0,e.dragoffY=o.y-i.attr("y");else if("XY"===r)e.dragoffX=o.x-i.attr("x"),e.dragoffY=o.y-i.attr("y");else if("POLYGON"===r){var c=i.getBBox();e.dragoffX=o.x-c.minX,e.dragoffY=o.y-c.minY}e.onDragstart&&e.onDragstart(t)}e.prePoint=o}if(!e.dragging){e.onBrushstart&&e.onBrushstart(o);var l=e.container;if(a){var f=e.plot,h=f.start,d=f.end;if(o.x<h.x||o.x>d.x||o.y<d.y||o.y>h.y)return}u.style.cursor="crosshair",e.startPoint=o,e.brushShape=null,e.brushing=!0,l?l.clear():(l=n.addGroup({zIndex:5})).initTransform(),e.container=l,"POLYGON"===r&&(e.polygonPath="M "+o.x+" "+o.y)}}}},i.process=function(t){var e=this,n=e.brushing,i=e.dragging,o=e.type,a=e.plot,u=e.startPoint,s=e.xScale,c=e.yScale,l=e.canvas;if(n||i){var f={x:t.offsetX,y:t.offsetY},h=l.get("canvasDOM");if(n){h.style.cursor="crosshair";var d,p,v,g,y=a.start,m=a.end,b=e.polygonPath,x=e.brushShape,w=e.container;e.plot&&e.inPlot&&(f=e._limitCoordScope(f)),"Y"===o?(d=y.x,p=f.y>=u.y?u.y:f.y,v=Math.abs(y.x-m.x),g=Math.abs(u.y-f.y)):"X"===o?(d=f.x>=u.x?u.x:f.x,p=m.y,v=Math.abs(u.x-f.x),g=Math.abs(m.y-y.y)):"XY"===o?(f.x>=u.x?(d=u.x,p=f.y>=u.y?u.y:f.y):(d=f.x,p=f.y>=u.y?u.y:f.y),v=Math.abs(u.x-f.x),g=Math.abs(u.y-f.y)):"POLYGON"===o&&(b+="L "+f.x+" "+f.y,e.polygonPath=b,x?!x.get("destroyed")&&x.attr(r.mix({},x._attrs,{path:b})):x=w.addShape("path",{attrs:r.mix(e.style,{path:b})})),"POLYGON"!==o&&(x?!x.get("destroyed")&&x.attr(r.mix({},x._attrs,{x:d,y:p,width:v,height:g})):x=w.addShape("rect",{attrs:r.mix(e.style,{x:d,y:p,width:v,height:g})})),e.brushShape=x}else if(i){h.style.cursor="move";var _=e.selection;if(_&&!_.get("destroyed"))if("POLYGON"===o){var S=e.prePoint;e.selection.translate(f.x-S.x,f.y-S.y)}else e.dragoffX&&_.attr("x",f.x-e.dragoffX),e.dragoffY&&_.attr("y",f.y-e.dragoffY)}e.prePoint=f,l.draw();var k=e._getSelected(),E=k.data,O=k.shapes,C=k.xValues,A=k.yValues,T={data:E,shapes:O,x:f.x,y:f.y};s&&(T[s.field]=C),c&&(T[c.field]=A),e.onDragmove&&e.onDragmove(T),e.onBrushmove&&e.onBrushmove(T)}},i.end=function(t){var e=this,n=e.data,i=e.shapes,o=e.xValues,a=e.yValues,u=e.canvas,s=e.type,c=e.startPoint,l=e.chart,f=e.container,h=e.xScale,d=e.yScale,p=t.offsetX,v=t.offsetY;if(u.get("canvasDOM").style.cursor="default",Math.abs(c.x-p)<=1&&Math.abs(c.y-v)<=1)return e.brushing=!1,void(e.dragging=!1);var g={data:n,shapes:i,x:p,y:v};if(h&&(g[h.field]=o),d&&(g[d.field]=a),e.dragging)e.dragging=!1,e.onDragend&&e.onDragend(g);else if(e.brushing){e.brushing=!1;var y=e.brushShape,m=e.polygonPath;"POLYGON"===s&&(m+="z",y&&!y.get("destroyed")&&y.attr(r.mix({},y._attrs,{path:m})),e.polygonPath=m,u.draw()),e.onBrushend?e.onBrushend(g):l&&e.filter&&(f.clear(),"X"===s?h&&l.filter(h.field,function(t){return o.indexOf(t)>-1}):"Y"===s?d&&l.filter(d.field,function(t){return a.indexOf(t)>-1}):(h&&l.filter(h.field,function(t){return o.indexOf(t)>-1}),d&&l.filter(d.field,function(t){return a.indexOf(t)>-1})),l.repaint())}},i.reset=function(){var t=this.chart,e=this.filter,n=this.brushShape,r=this.canvas;t&&e&&(t.get("options").filters={},t.repaint()),n&&(n.destroy(),r.draw())},i._limitCoordScope=function(t){var e=this.plot,n=e.start,r=e.end;return t.x<n.x&&(t.x=n.x),t.x>r.x&&(t.x=r.x),t.y<r.y&&(t.y=r.y),t.y>n.y&&(t.y=n.y),t},i._getSelected=function(){var t=this,e=t.chart,n=t.xScale,r=t.yScale,i=t.brushShape,o=t.canvas,a=o.get("pixelRatio"),u=[],s=[],c=[],l=[];e&&e.get("geoms").map(function(t){return t.getShapes().map(function(t){var e=t.get("origin");return Array.isArray(e)||(e=[e]),e.map(function(e){if(i.isHit(e.x*a,e.y*a)){u.push(t);var o=e._origin;l.push(o),n&&s.push(o[n.field]),r&&c.push(o[r.field])}return e}),t}),t});return t.shapes=u,t.xValues=s,t.yValues=c,t.data=l,o.draw(),{data:l,xValues:s,yValues:c,shapes:u}},u}(i);t.exports=u},function(t,e,n){var r=n(0),i=n(16).Group,o=r.DomUtil,a=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.getDefaultCfg=function(){return{range:null,middleAttr:null,backgroundElement:null,minHandleElement:null,maxHandleElement:null,middleHandleElement:null,currentTarget:null,layout:"vertical",width:null,height:null,pageX:null,pageY:null}},a._initHandle=function(t){var e,n,i,o=this.addGroup(),a=this.get("layout"),u=this.get("handleStyle"),s=u.img,c=u.width,l=u.height;if("horizontal"===a){var f=u.width;i="ew-resize",n=o.addShape("Image",{attrs:{x:-f/2,y:0,width:f,height:l,img:s,cursor:i}}),e=o.addShape("Text",{attrs:r.mix({x:"min"===t?-(f/2+5):f/2+5,y:l/2,textAlign:"min"===t?"end":"start",textBaseline:"middle",text:"min"===t?this.get("minText"):this.get("maxText"),cursor:i},this.get("textStyle"))})}else i="ns-resize",n=o.addShape("Image",{attrs:{x:0,y:-l/2,width:c,height:l,img:s,cursor:i}}),e=o.addShape("Text",{attrs:r.mix({x:c/2,y:"min"===t?l/2+5:-(l/2+5),textAlign:"center",textBaseline:"middle",text:"min"===t?this.get("minText"):this.get("maxText"),cursor:i},this.get("textStyle"))});return this.set(t+"TextElement",e),this.set(t+"IconElement",n),o},a._initSliderBackground=function(){var t=this.addGroup();return t.initTransform(),t.translate(0,0),t.addShape("Rect",{attrs:r.mix({x:0,y:0,width:this.get("width"),height:this.get("height")},this.get("backgroundStyle"))}),t},a._beforeRenderUI=function(){var t=this._initSliderBackground(),e=this._initHandle("min"),n=this._initHandle("max"),r=this.addShape("rect",{attrs:this.get("middleAttr")});this.set("middleHandleElement",r),this.set("minHandleElement",e),this.set("maxHandleElement",n),this.set("backgroundElement",t),t.set("zIndex",0),r.set("zIndex",1),e.set("zIndex",2),n.set("zIndex",2),r.attr("cursor","move"),this.sort()},a._renderUI=function(){"horizontal"===this.get("layout")?this._renderHorizontal():this._renderVertical()},a._transform=function(t){var e=this.get("range"),n=e[0]/100,r=e[1]/100,i=this.get("width"),o=this.get("height"),a=this.get("minHandleElement"),u=this.get("maxHandleElement"),s=this.get("middleHandleElement");a.resetMatrix?(a.resetMatrix(),u.resetMatrix()):(a.initTransform(),u.initTransform()),"horizontal"===t?(s.attr({x:i*n,y:0,width:(r-n)*i,height:o}),a.translate(n*i,0),u.translate(r*i,0)):(s.attr({x:0,y:o*(1-r),width:i,height:(r-n)*o}),a.translate(0,(1-n)*o),u.translate(0,(1-r)*o))},a._renderHorizontal=function(){this._transform("horizontal")},a._renderVertical=function(){this._transform("vertical")},a._bindUI=function(){this.on("mousedown",r.wrapBehavior(this,"_onMouseDown"))},a._isElement=function(t,e){var n=this.get(e);return t===n||!!n.isGroup&&n.get("children").indexOf(t)>-1},a._getRange=function(t,e){var n=t+e;return n=(n=n>100?100:n)<0?0:n},a._limitRange=function(t,e,n){n[0]=this._getRange(t,n[0]),n[1]=n[0]+e,n[1]>100&&(n[1]=100,n[0]=n[1]-e)},a._updateStatus=function(t,e){var n="x"===t?this.get("width"):this.get("height");t=r.upperFirst(t);var i,o=this.get("range"),a=this.get("page"+t),u=this.get("currentTarget"),s=this.get("rangeStash"),c="vertical"===this.get("layout")?-1:1,l=e["page"+t],f=(l-a)/n*100*c,h=this.get("minRange"),d=this.get("maxRange");o[1]<=o[0]?(this._isElement(u,"minHandleElement")||this._isElement(u,"maxHandleElement"))&&(o[0]=this._getRange(f,o[0]),o[1]=this._getRange(f,o[0])):(this._isElement(u,"minHandleElement")&&(o[0]=this._getRange(f,o[0]),h&&o[1]-o[0]<=h&&this._limitRange(f,h,o),d&&o[1]-o[0]>=d&&this._limitRange(f,d,o)),this._isElement(u,"maxHandleElement")&&(o[1]=this._getRange(f,o[1]),h&&o[1]-o[0]<=h&&this._limitRange(f,h,o),d&&o[1]-o[0]>=d&&this._limitRange(f,d,o))),this._isElement(u,"middleHandleElement")&&(i=s[1]-s[0],this._limitRange(f,i,o)),this.emit("sliderchange",{range:o}),this.set("page"+t,l),this._renderUI(),this.get("canvas").draw()},a._onMouseDown=function(t){var e=t.currentTarget,n=t.event,r=this.get("range");n.stopPropagation(),n.preventDefault(),this.set("pageX",n.pageX),this.set("pageY",n.pageY),this.set("currentTarget",e),this.set("rangeStash",[r[0],r[1]]),this._bindCanvasEvents()},a._bindCanvasEvents=function(){var t=this.get("canvas").get("containerDOM");this.onMouseMoveListener=o.addEventListener(t,"mousemove",r.wrapBehavior(this,"_onCanvasMouseMove")),this.onMouseUpListener=o.addEventListener(t,"mouseup",r.wrapBehavior(this,"_onCanvasMouseUp")),this.onMouseLeaveListener=o.addEventListener(t,"mouseleave",r.wrapBehavior(this,"_onCanvasMouseUp"))},a._onCanvasMouseMove=function(t){"horizontal"===this.get("layout")?this._updateStatus("x",t):this._updateStatus("y",t)},a._onCanvasMouseUp=function(){this._removeDocumentEvents()},a._removeDocumentEvents=function(){this.onMouseMoveListener.remove(),this.onMouseUpListener.remove(),this.onMouseLeaveListener.remove()},i}(i);t.exports=a},function(t,e,n){var r=n(0),i=n(28),o=n(319),a=n(71),u=n(73),s=["X","Y","XY"],c="X",l=function(t){var e,n;n=t,(e=l).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=l.prototype;function l(e,n){var i,a=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i=t.call(this,e,n)||this);a.type=a.type.toUpperCase(),a.chart=n,a.coord=n.get("coord");var l=a.data=n.get("data");o(n);var f=n.getYScales(),h=n.getXScale();f.push(h);var d=n.get("scaleController");return f.forEach(function(t){var e=t.field;a.limitRange[e]=u(l,t);var n=d.defs[e]||{};a.originScaleDefsByField[e]=r.mix(n,{nice:!!n.nice}),t.isLinear&&(a.stepByField[e]=(t.max-t.min)*a.stepRatio)}),-1===s.indexOf(a.type)&&(a.type=c),a._disableTooltip(),i}return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{type:c,stepRatio:.05,limitRange:{},stepByField:{},threshold:20,originScaleDefsByField:{},previousPoint:null,isDragging:!1})},i._disableTooltip=function(){var t=this.chart;t.get("tooltipController")&&(this._showTooltip=!0,t.tooltip(!1))},i._enableTooltip=function(t){var e=this.chart;this._showTooltip&&(e.tooltip(!0),e.showTooltip(t))},i._applyTranslate=function(t,e,n){void 0===e&&(e=0);t.isLinear?this._translateLinearScale(t,e,n):this._translateCatScale(t,e,n)},i._translateCatScale=function(t,e,n){var i=this.chart,o=t.type,u=t.field,s=t.values,c=t.ticks,l=a(i,u),f=this.limitRange[u],h=e/n,d=s.length,p=Math.max(1,Math.abs(parseInt(h*d))),v=f.indexOf(s[0]),g=f.indexOf(s[d-1]);if(e>0&&v>=0){for(var y=0;y<p&&v>0;y++)v-=1,g-=1;var m=f.slice(v,g+1),b=null;if("timeCat"===o){for(var x=c.length>2?c[1]-c[0]:864e5,w=c[0]-x;w>=m[0];w-=x)c.unshift(w);b=c}i.scale(u,r.mix({},l,{values:m,ticks:b}))}else if(e<0&&g<=f.length-1){for(var _=0;_<p&&g<f.length-1;_++)v+=1,g+=1;var S=f.slice(v,g+1),k=null;if("timeCat"===o){for(var E=c.length>2?c[1]-c[0]:864e5,O=c[c.length-1]+E;O<=S[S.length-1];O+=E)c.push(O);k=c}i.scale(u,r.mix({},l,{values:S,ticks:k}))}},i._translateLinearScale=function(t,e,n){var i=this.chart,o=this.limitRange,u=t.min,s=t.max,c=t.field;if(u!==o[c].min||s!==o[c].max){var l=e/n,f=s-u,h=a(i,c);i.scale(c,r.mix({},h,{nice:!1,min:u+l*f,max:s+l*f}))}},i.start=function(t){this.canvas.get("canvasDOM").style.cursor="pointer",this.isDragging=!0,this.previousPoint={x:t.x,y:t.y},this._disableTooltip()},i.process=function(t){var e=this;if(e.isDragging){var n=e.chart,r=e.type,i=e.canvas,o=e.coord,a=e.threshold;i.get("canvasDOM").style.cursor="move";var u=e.previousPoint,s=t,c=s.x-u.x,l=s.y-u.y,f=!1;if(Math.abs(c)>a&&r.indexOf("X")>-1){f=!0;var h=n.getXScale();e._applyTranslate(h,h.isLinear?-c:c,o.width)}if(Math.abs(l)>a&&r.indexOf("Y")>-1)f=!0,n.getYScales().forEach(function(t){e._applyTranslate(t,s.y-u.y,o.height)});f&&(e.previousPoint=s,n.repaint())}},i.end=function(t){this.isDragging=!1,this.canvas.get("canvasDOM").style.cursor="default",this._enableTooltip(t)},i.reset=function(){var t=this.view,e=this.originScaleDefsByField,n=t.getYScales(),r=t.getXScale();n.push(r),n.forEach(function(n){if(n.isLinear){var r=n.field;t.scale(r,e[r])}}),t.repaint(),this._disableTooltip()},l}(i);t.exports=l},function(t,e,n){var r=n(0),i=n(52),o=n(72);t.exports=function(t){t.on("beforeinitgeoms",function(){t.set("limitInPlot",!0);var e=t.get("data"),n=o(t);if(!n)return e;var a=t.get("geoms"),u=!1;r.each(a,function(t){if(-1!==["area","line","path"].indexOf(t.get("type")))return u=!0,!1});var s=[];if(r.each(n,function(t,e){!u&&t&&(t.values||t.min||t.max)&&s.push(e)}),0===s.length)return e;var c=[];r.each(e,function(t){var e=!0;r.each(s,function(o){var a=t[o];if(a){var u=n[o];if("timeCat"===u.type){var s=u.values;r.isNumber(s[0])&&(a=i.toTimeStamp(a))}(u.values&&-1===u.values.indexOf(a)||u.min&&a<u.min||u.max&&a>u.max)&&(e=!1)}}),e&&c.push(t)}),t.set("filteredData",c)})}},function(t,e){t.exports=function(t,e,n){if(!t)return[0,1];var r=0,i=0;if("linear"===n){var o=e.min,a=e.max-o;r=(t.min-o)/a,i=(t.max-o)/a}else{var u=e,s=t.values,c=u.indexOf(s[0]),l=u.indexOf(s[s.length-1]);r=c/(u.length-1),i=l/(u.length-1)}return[r,i]}},function(t,e,n){var r=n(45),i=n(44),o=n(0),a={Base:n(28),Brush:n(316),Drag:n(318),ScrollBar:n(322),ShapeSelect:n(323),Slider:n(324),Zoom:n(325)};r._Interactions={},r.registerInteraction=function(t,e){r._Interactions[t]=e},r.getInteraction=function(t){return r._Interactions[t]},i.prototype.getInteractions=function(){return this._interactions||(this._interactions={}),this._interactions},i.prototype._setInteraction=function(t,e){var n=this.getInteractions();n[t]&&n[t]!==e&&n[t].destroy(),n[t]=e},i.prototype.clearInteraction=function(t){var e=this.getInteractions();t?(e[t]&&(e[t]._reset(),e[t].destroy()),delete e[t]):o.each(e,function(t,n){t._reset(),t.destroy(),delete e[n]})},i.prototype.interact=i.prototype.interaction=function(t,e){var n=new(r.getInteraction(t))(e,this);return this._setInteraction(t,n),this},r.registerInteraction("brush",a.Brush),r.registerInteraction("Brush",a.Brush),r.registerInteraction("drag",a.Drag),r.registerInteraction("Drag",a.Drag),r.registerInteraction("zoom",a.Zoom),r.registerInteraction("Zoom",a.Zoom),r.registerInteraction("scroll-bar",a.ScrollBar),r.registerInteraction("ScrollBar",a.ScrollBar),r.registerInteraction("shape-select",a.ShapeSelect),r.registerInteraction("ShapeSelect",a.ShapeSelect),r.registerInteraction("slider",a.Slider),r.registerInteraction("Slider",a.Slider),t.exports=a},function(t,e,n){var r=n(0),i=n(28),o=n(320),a=n(73),u=function(t){var e,n;n=t,(e=u).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=u.prototype;function u(e,n){var i,o=(i=t.call(this,e,n)||this).getDefaultCfg();return n.set("_scrollBarCfg",r.deepMix({},o,e)),n.set("_limitRange",{}),n.get("_horizontalBar")||n.get("_verticalBar")||i._renderScrollBars(),i}return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{startEvent:null,processEvent:null,endEvent:null,resetEvent:null,type:"X",xStyle:{backgroundColor:"rgba(202, 215, 239, .2)",fillerColor:"rgba(202, 215, 239, .75)",size:4,lineCap:"round",offsetX:0,offsetY:-10},yStyle:{backgroundColor:"rgba(202, 215, 239, .2)",fillerColor:"rgba(202, 215, 239, .75)",size:4,lineCap:"round",offsetX:8,offsetY:0}})},i._renderScrollBars=function(){var t=this.chart,e=t.get("_scrollBarCfg");if(e){var n=t.get("data"),r=t.get("plotRange");r.width=Math.abs(r.br.x-r.bl.x),r.height=Math.abs(r.tl.y-r.bl.y);var i=t.get("backPlot"),u=t.get("canvas").get("height"),s=t.get("_limitRange"),c=e.type;if(c.indexOf("X")>-1){var l=e.xStyle,f=l.offsetX,h=l.offsetY,d=l.lineCap,p=l.backgroundColor,v=l.fillerColor,g=l.size,y=t.getXScale(),m=s[y.field];m||(m=a(n,y),s[y.field]=m);var b=o(y,m,y.type),x=t.get("_horizontalBar"),w=u-g/2+h;if(x)x.get("children")[1].attr({x1:Math.max(r.bl.x+r.width*b[0]+f,r.bl.x),x2:Math.min(r.bl.x+r.width*b[1]+f,r.br.x)});else(x=i.addGroup({className:"horizontalBar"})).addShape("line",{attrs:{x1:r.bl.x+f,y1:w,x2:r.br.x+f,y2:w,lineWidth:g,stroke:p,lineCap:d}}),x.addShape("line",{attrs:{x1:Math.max(r.bl.x+r.width*b[0]+f,r.bl.x),y1:w,x2:Math.min(r.bl.x+r.width*b[1]+f,r.br.x),y2:w,lineWidth:g,stroke:v,lineCap:d}}),t.set("_horizontalBar",x)}if(c.indexOf("Y")>-1){var _=e.yStyle,S=_.offsetX,k=_.offsetY,E=_.lineCap,O=_.backgroundColor,C=_.fillerColor,A=_.size,T=t.getYScales()[0],M=s[T.field];M||(M=a(n,T),s[T.field]=M);var P=o(T,M,T.type),j=t.get("_verticalBar"),D=A/2+S;if(j)j.get("children")[1].attr({y1:Math.max(r.tl.y+r.height*P[0]+k,r.tl.y),y2:Math.min(r.tl.y+r.height*P[1]+k,r.bl.y)});else(j=i.addGroup({className:"verticalBar"})).addShape("line",{attrs:{x1:D,y1:r.tl.y+k,x2:D,y2:r.bl.y+k,lineWidth:A,stroke:O,lineCap:E}}),j.addShape("line",{attrs:{x1:D,y1:Math.max(r.tl.y+r.height*P[0]+k,r.tl.y),x2:D,y2:Math.min(r.tl.y+r.height*P[1]+k,r.bl.y),lineWidth:A,stroke:C,lineCap:E}}),t.set("_verticalBar",j)}}},i._clear=function(){var t=this.chart;if(t){var e=t.get("_horizontalBar"),n=t.get("_verticalBar");e&&e.remove(!0),n&&n.remove(!0),t.set("_horizontalBar",null),t.set("_verticalBar",null)}},i._bindEvents=function(){this._onAfterclearOrBeforechangedata=this._onAfterclearOrBeforechangedata.bind(this),this._onAfterclearinner=this._onAfterclearinner.bind(this),this._onAfterdrawgeoms=this._onAfterdrawgeoms.bind(this);var t=this.chart;t.on("afterclear",this._onAfterclearOrBeforechangedata),t.on("beforechangedata",this._onAfterclearOrBeforechangedata),t.on("afterclearinner",this._onAfterclearinner),t.on("afterdrawgeoms",this._onAfterdrawgeoms)},i._onAfterclearOrBeforechangedata=function(){this.chart&&this.chart.set("_limitRange",{})},i._onAfterclearinner=function(){this._clear()},i._onAfterdrawgeoms=function(){this._renderScrollBars()},i._clearEvents=function(){var t=this.chart;t&&(t.off("afterclear",this._onAfterclearOrBeforechangedata),t.off("beforechangedata",this._onAfterclearOrBeforechangedata),t.off("afterclearinner",this._onAfterclearinner),t.off("afterdrawgeoms",this._onAfterdrawgeoms))},i.destroy=function(){this._clearEvents(),this._clear(),this.canvas.draw()},u}(i);t.exports=u},function(t,e,n){var r=n(0);function i(t,e){var n={};for(var r in e)n[r]=t[r];return n}var o=function(t){var e,n;function o(){return t.apply(this,arguments)||this}n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=o.prototype;return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{startEvent:"mouseup",processEvent:null,selectStyle:{fillOpacity:1},unSelectStyle:{fillOpacity:.1},cancelable:!0})},a.start=function(t){var e,n=this.view,o=[];if(n.eachShape(function(n,r){r.isPointInPath(t.x,t.y)?e=r:o.push(r)}),e)if(e.get("_selected")){if(!this.cancelable)return;this.reset()}else{var a=this.selectStyle,u=this.unSelectStyle,s=i(e.attr(),e);e.set("_originAttrs",s),e.attr(a),r.each(o,function(t){var e=t.get("_originAttrs");e&&t.attr(e),t.set("_selected",!1),u&&(e=i(t.attr(),u),t.set("_originAttrs",e),t.attr(u))}),e.set("_selected",!0),this.selectedShape=e,this.canvas.draw()}else this.reset()},a.end=function(t){var e=this.selectedShape;e&&!e.get("destroyed")&&e.get("origin")&&(t.data=e.get("origin")._origin,t.shapeInfo=e.get("origin"),t.shape=e,t.selected=!!e.get("_selected"))},a.reset=function(){if(this.selectedShape){var t=this.view.get("geoms")[0].get("container").get("children")[0].get("children");r.each(t,function(t){var e=t.get("_originAttrs");e&&(t._attrs=e,t.set("_originAttrs",null)),t.set("_selected",!1)}),this.canvas.draw()}},o}(n(28));t.exports=o},function(t,e,n){var r=n(317),i=n(44),o=n(0),a=n(16),u=n(5),s=n(28),c=n(71),l=n(72),f=a.Canvas,h=o.DomUtil,d=o.isNumber,p=function(t){var e,n;n=t,(e=s).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=s.prototype;function s(e,n){var r,i=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r=t.call(this,e,n)||this);return i._initContainer(),i._initStyle(),i.render(),r}return a.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return o.mix({},e,{startEvent:null,processEvent:null,endEvent:null,resetEvent:null,height:26,width:"auto",padding:u.plotCfg.padding,container:null,xAxis:null,yAxis:null,fillerStyle:{fill:"#BDCCED",fillOpacity:.3},backgroundStyle:{stroke:"#CCD6EC",fill:"#CCD6EC",fillOpacity:.3,lineWidth:1},range:[0,100],layout:"horizontal",textStyle:{fill:"#545454"},handleStyle:{img:"https://gw.alipayobjects.com/zos/rmsportal/QXtfhORGlDuRvLXFzpsQ.png",width:5},backgroundChart:{type:["area"],color:"#CCD6EC"}})},a._initContainer=function(){var t=this.container;if(!t)throw new Error("Please specify the container for the Slider!");o.isString(t)?this.domContainer=document.getElementById(t):this.domContainer=t},a.forceFit=function(){var t=this;if(t&&!t.destroyed){var e=h.getWidth(t.domContainer),n=t.height;if(e!==t.domWidth){var r=t.canvas;r.changeSize(e,n),t.bgChart&&t.bgChart.changeWidth(e),r.clear(),t._initWidth(),t._initSlider(),t._bindEvent(),r.draw()}}},a._initForceFitEvent=function(){var t=setTimeout(o.wrapBehavior(this,"forceFit"),200);clearTimeout(this.resizeTimer),this.resizeTimer=t},a._initStyle=function(){var t=this;t.handleStyle=o.mix({width:t.height,height:t.height},t.handleStyle),"auto"===t.width&&window.addEventListener("resize",o.wrapBehavior(t,"_initForceFitEvent"))},a._initWidth=function(){var t,e=this;t="auto"===e.width?h.getWidth(e.domContainer):e.width,e.domWidth=t;var n=o.toAllPadding(e.padding);"horizontal"===e.layout?(e.plotWidth=t-n[1]-n[3],e.plotPadding=n[3],e.plotHeight=e.height):"vertical"===e.layout&&(e.plotWidth=e.width,e.plotHeight=e.height-n[0]-n[2],e.plotPadding=n[0])},a._initCanvas=function(){var t=this.domWidth,e=this.height,n=new f({width:t,height:e,containerDOM:this.domContainer,capture:!1}),r=n.get("el");r.style.position="absolute",r.style.top=0,r.style.left=0,r.style.zIndex=3,this.canvas=n},a._initBackground=function(){var t,e=this,n=this.chart,r=n.getAllGeoms[0],a=e.data=e.data||n.get("data"),u=n.getXScale(),s=e.xAxis||u.field,c=e.yAxis||n.getYScales()[0].field,f=o.deepMix(((t={})[""+s]={range:[0,1]},t),l(n),e.scales);if(delete f[s].min,delete f[s].max,!a)throw new Error("Please specify the data!");if(!s)throw new Error("Please specify the xAxis!");if(!c)throw new Error("Please specify the yAxis!");var h=e.backgroundChart,d=h.type||r.get("type"),p=h.color||"grey",v=h.shape;o.isArray(d)||(d=[d]);var g=o.toAllPadding(e.padding),y=new i({container:e.container,width:e.domWidth,height:e.height,padding:[0,g[1],0,g[3]],animate:!1});y.source(a),y.scale(f),y.axis(!1),y.tooltip(!1),y.legend(!1),o.each(d,function(t,e){var n=y[t]().position(s+"*"+c).opacity(1),r=o.isArray(p)?p[e]:p;r&&(o.isObject(r)?r.field&&n.color(r.field,r.colors):n.color(r));var i=o.isArray(v)?v[e]:v;i&&(o.isObject(i)?i.field&&n.shape(i.field,i.callback||i.shapes):n.shape(i))}),y.render(),e.bgChart=y,e.scale="horizontal"===e.layout?y.getXScale():y.getYScales()[0],"vertical"===e.layout&&y.destroy()},a._initRange=function(){var t=this,e=t.startRadio,n=t.endRadio,r=t._startValue,i=t._endValue,o=t.scale,a=0,u=1;d(e)?a=e:r&&(a=o.scale(o.translate(r))),d(n)?u=n:i&&(u=o.scale(o.translate(i)));var s=t.minSpan,c=t.maxSpan,l=0;if("time"===o.type||"timeCat"===o.type){var f=o.values,h=f[0];l=f[f.length-1]-h}else o.isLinear&&(l=o.max-o.min);l&&s&&(t.minRange=s/l*100),l&&c&&(t.maxRange=c/l*100);var p=[100*a,100*u];return t.range=p,p},a._getHandleValue=function(t){var e=this,n=e.range,r=n[0]/100,i=n[1]/100,o=e.scale;return"min"===t?e._startValue?e._startValue:o.invert(r):e._endValue?e._endValue:o.invert(i)},a._initSlider=function(){var t=this,e=t.canvas,n=t._initRange(),i=t.scale,o=e.addGroup(r,{middleAttr:t.fillerStyle,range:n,minRange:t.minRange,maxRange:t.maxRange,layout:t.layout,width:t.plotWidth,height:t.plotHeight,backgroundStyle:t.backgroundStyle,textStyle:t.textStyle,handleStyle:t.handleStyle,minText:i.getText(t._getHandleValue("min")),maxText:i.getText(t._getHandleValue("max"))});"horizontal"===t.layout?o.translate(t.plotPadding,0):"vertical"===t.layout&&o.translate(0,t.plotPadding),t.rangeElement=o},a._updateElement=function(t,e){var n=this,r=n.chart,i=n.scale,a=n.rangeElement,u=i.field,s=a.get("minTextElement"),l=a.get("maxTextElement"),f=i.invert(t),h=i.invert(e),d=i.getText(f),p=i.getText(h);s.attr("text",d),l.attr("text",p),n._startValue=d,n._endValue=p,n.onChange&&n.onChange({startText:d,endText:p,startValue:f,endValue:h,startRadio:t,endRadio:e}),r.scale(u,o.mix({},c(r,u),{nice:!1,min:f,max:h})),r.repaint()},a._bindEvent=function(){var t=this;t.rangeElement.on("sliderchange",function(e){var n=e.range,r=n[0]/100,i=n[1]/100;t._updateElement(r,i)})},a.clear=function(){var t=this;t.canvas.clear(),t.bgChart&&t.bgChart.destroy(),t.bgChart=null,t.scale=null,t.canvas.draw()},a.repaint=function(){this.clear(),this.render()},a.render=function(){var t=this;t._initWidth(),t._initCanvas(),t._initBackground(),t._initSlider(),t._bindEvent(),t.canvas.draw()},a.destroy=function(){var t=this;clearTimeout(t.resizeTimer),t.rangeElement.off("sliderchange"),t.bgChart&&t.bgChart.destroy(),t.canvas.destroy();for(var e=t.domContainer;e.hasChildNodes();)e.removeChild(e.firstChild);window.removeEventListener("resize",o.getWrapBehavior(t,"_initForceFitEvent")),t.destroyed=!0},s}(s);t.exports=p},function(t,e,n){var r=n(0),i=n(28),o=n(71),a=n(73),u=["X","Y","XY"],s="X",c=function(t){var e,n;n=t,(e=c).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=c.prototype;function c(e,n){var i,o=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(i=t.call(this,e,n)||this);o.chart=n,o.type=o.type.toUpperCase();var c=o.data=n.get("data"),l=n.getYScales(),f=n.getXScale();l.push(f);var h=n.get("scaleController");return l.forEach(function(t){var e=t.field,n=h.defs[e]||{};o.limitRange[e]=a(c,t),o.originScaleDefsByField[e]=r.mix(n,{nice:!!n.nice}),t.isLinear?o.stepByField[e]=(t.max-t.min)*o.stepRatio:o.stepByField[e]=o.catStep}),-1===u.indexOf(o.type)&&(o.type=s),i}return i.getDefaultCfg=function(){var e=t.prototype.getDefaultCfg.call(this);return r.mix({},e,{processEvent:"mousewheel",type:s,stepRatio:.05,stepByField:{},minScale:1,maxScale:4,catStep:2,limitRange:{},originScaleDefsByField:{}})},i._applyScale=function(t,e,n,i){void 0===n&&(n=0);var a=this,u=a.chart,s=a.stepByField;if(t.isLinear){var c=t.min,l=t.max,f=t.field,h=1-n,d=s[f]*e,p=c+d*n,v=l-d*h;if(v>p){var g=o(u,f);u.scale(f,r.mix({},g,{nice:!1,min:p,max:v}))}}else{var y=t.field,m=t.values,b=a.chart,x=b.get("coord"),w=o(b,y),_=a.limitRange[y],S=_.length,k=S/a.maxScale,E=S/a.minScale,O=m.length,C=x.invertPoint(i).x,A=O-e*this.catStep,T=parseInt(A*C),M=A+T;if(e>0&&O>=k){var P=T,j=M;M>O&&(j=O-1,P=O-A);var D=m.slice(P,j);b.scale(y,r.mix({},w,{values:D}))}else if(e<0&&O<=E){var I=_.indexOf(m[0]),N=_.indexOf(m[O-1]),F=Math.max(0,I-T),R=Math.min(N+M,S),L=_.slice(F,R);b.scale(y,r.mix({},w,{values:L}))}}},i.process=function(t){var e=this,n=e.chart,r=e.type,i=n.get("coord"),o=t.deltaY,a=i.invertPoint(t);if(o){e.onZoom&&e.onZoom(o,a,e),o>0?e.onZoomin&&e.onZoomin(o,a,e):e.onZoomout&&e.onZoomout(o,a,e);var u=o/Math.abs(o);if(r.indexOf("X")>-1&&e._applyScale(n.getXScale(),u,a.x,t),r.indexOf("Y")>-1)n.getYScales().forEach(function(n){e._applyScale(n,u,a.y,t)})}n.repaint()},i.reset=function(){var t=this.view,e=this.originScaleDefsByField,n=t.getYScales(),r=t.getXScale();n.push(r),n.forEach(function(n){if(n.isLinear){var r=n.field;t.scale(r,e[r])}}),t.repaint()},c}(i);t.exports=c},function(t,e,n){var r,i,o=n(0),a=n(129),u=o.deepMix({},a,{background:{fill:"#1F1F1F",radius:2},plotBackground:{fill:"#1F1F1F"},axis:{top:{label:{textStyle:{fill:"#A6A6A6"}},line:{stroke:"#737373"},tickLine:{stroke:"#737373"}},bottom:{label:{textStyle:{fill:"#A6A6A6"}},line:{stroke:"#737373"},tickLine:{stroke:"#737373"}},left:{label:{textStyle:{fill:"#A6A6A6"}},grid:{lineStyle:{stroke:"#404040"}}},right:{label:{textStyle:{fill:"#A6A6A6"}},grid:{lineStyle:{stroke:"#404040"}}},circle:{label:{textStyle:{fill:"#A6A6A6"}},line:{stroke:"#737373"},tickLine:{stroke:"#737373"},grid:{lineStyle:{stroke:"#404040"}}},radius:{label:{textStyle:{fill:"#A6A6A6"}},line:{stroke:"#737373"},tickLine:{stroke:"#737373"},grid:{lineStyle:{stroke:"#404040"}}},helix:{line:{stroke:"#737373"},tickLine:{stroke:"#737373"}}},label:{textStyle:{fill:"#A6A6A6"}},legend:{right:{textStyle:{fill:"#737373"},unCheckColor:"#bfbfbf"},left:{textStyle:{fill:"#737373"},unCheckColor:"#bfbfbf"},top:{textStyle:{fill:"#737373"},unCheckColor:"#bfbfbf"},bottom:{textStyle:{fill:"#737373"},unCheckColor:"#bfbfbf"},html:(r={},r["g2-legend"]={color:"#D9D9D9"},r),gradient:{textStyle:{fill:"#D9D9D9"},lineStyle:{stroke:"#404040"}}},tooltip:(i={},i["g2-tooltip"]={color:"#D9D9D9",backgroundColor:"rgba(0, 0, 0, 0.5)",boxShadow:"0px 0px 2px #000"},i),tooltipCrosshairsRect:{type:"rect",rectStyle:{fill:"#fff",opacity:.1}},tooltipCrosshairsLine:{lineStyle:{stroke:"rgba(255, 255, 255, 0.45)"}},guide:{line:{text:{style:{fill:"#A6A6A6"}}},text:{style:{fill:"#A6A6A6"}},region:{style:{lineWidth:0,fill:"#000",fillOpacity:.04}}}});t.exports=u},function(t,e,n){var r=n(1),i=n(133),o=n(132),a=n(331),u=n(336),s=function t(e){t.superclass.constructor.call(this,e)};s.CFG={eventEnable:!0,width:null,height:null,widthCanvas:null,heightCanvas:null,widthStyle:null,heightStyle:null,containerDOM:null,canvasDOM:null,pixelRatio:null,renderer:"canvas"},r.extend(s,o),r.augment(s,{init:function(){s.superclass.init.call(this),this._setGlobalParam(),this._setContainer(),this._initPainter(),this._scale(),this.get("eventEnable")&&this._registEvents()},getEmitter:function(t,e){if(t){if(!r.isEmpty(t._getEvents()))return t;var n=t.get("parent");if(n&&!e.propagationStopped)return this.getEmitter(n,e)}},_getEventObj:function(t,e,n,r){var o=new i(t,e,!0,!0);return o.x=n.x,o.y=n.y,o.clientX=e.clientX,o.clientY=e.clientY,o.currentTarget=r,o.target=r,o},_triggerEvent:function(t,e){var n,r=this.getPointByClient(e.clientX,e.clientY),i=this.getShape(r.x,r.y,e),o=this.get("el");if("mousemove"===t){var a=this.get("preShape");if(a&&a!==i){var u=this._getEventObj("mouseleave",e,r,a);(n=this.getEmitter(a,e))&&n.emit("mouseleave",u),o.style.cursor="default"}if(i){var s=this._getEventObj("mousemove",e,r,i);if((n=this.getEmitter(i,e))&&n.emit("mousemove",s),a!==i){var c=this._getEventObj("mouseenter",e,r,i);n&&n.emit("mouseenter",c,e)}}else{var l=this._getEventObj("mousemove",e,r,this);this.emit("mousemove",l)}this.set("preShape",i)}else{var f=this._getEventObj(t,e,r,i||this);(n=this.getEmitter(i,e))&&n!==this&&n.emit(t,f),this.emit(t,f)}i&&!i.get("destroyed")&&(o.style.cursor=i.attr("cursor")||"default")},_registEvents:function(){var t=this,e=t.get("el");r.each(["mouseout","mouseover","mousemove","mousedown","mouseleave","mouseup","click","dblclick"],function(n){e.addEventListener(n,function(e){t._triggerEvent(n,e)},!1)}),e.addEventListener("touchstart",function(e){r.isEmpty(e.touches)||t._triggerEvent("touchstart",e.touches[0])},!1),e.addEventListener("touchmove",function(e){r.isEmpty(e.touches)||t._triggerEvent("touchmove",e.touches[0])},!1),e.addEventListener("touchend",function(e){r.isEmpty(e.changedTouches)||t._triggerEvent("touchend",e.changedTouches[0])},!1)},_scale:function(){var t=this.get("pixelRatio");this.scale(t,t)},_setGlobalParam:function(){this.get("pixelRatio")||this.set("pixelRatio",r.getRatio());var t=u[this.get("renderer")||"canvas"];this._cfg.renderer=t,this._cfg.canvas=this;var e=new a(this);this._cfg.timeline=e},_setContainer:function(){var t=this.get("containerId"),e=this.get("containerDOM");e||(e=document.getElementById(t),this.set("containerDOM",e)),r.modifyCSS(e,{position:"relative"})},_initPainter:function(){var t=this.get("containerDOM"),e=new this._cfg.renderer.painter(t);this._cfg.painter=e,this._cfg.canvasDOM=this._cfg.el=e.canvas,this.changeSize(this.get("width"),this.get("height"))},_resize:function(){var t=this.get("canvasDOM"),e=this.get("widthCanvas"),n=this.get("heightCanvas"),r=this.get("widthStyle"),i=this.get("heightStyle");t.style.width=r,t.style.height=i,t.setAttribute("width",e),t.setAttribute("height",n)},getWidth:function(){var t=this.get("pixelRatio");return this.get("width")*t},getHeight:function(){var t=this.get("pixelRatio");return this.get("height")*t},changeSize:function(t,e){var n=this.get("pixelRatio"),r=t*n,i=e*n;this.set("widthCanvas",r),this.set("heightCanvas",i),this.set("widthStyle",t+"px"),this.set("heightStyle",e+"px"),this.set("width",t),this.set("height",e),this._resize()},getPointByClient:function(t,e){var n=this.get("el"),r=this.get("pixelRatio")||1,i=n.getBoundingClientRect();return{x:(t-i.left)*r,y:(e-i.top)*r}},getClientByPoint:function(t,e){var n=this.get("el").getBoundingClientRect(),r=this.get("pixelRatio")||1;return{clientX:t/r+n.left,clientY:e/r+n.top}},draw:function(){this._cfg.painter.draw(this)},getShape:function(t,e,n){return 3===arguments.length&&this._cfg.renderer.getShape?this._cfg.renderer.getShape.call(this,t,e,n):s.superclass.getShape.call(this,t,e)},_drawSync:function(){this._cfg.painter.drawSync(this)},destroy:function(){var t=this._cfg,e=t.containerDOM,n=t.canvasDOM;n&&e&&e.removeChild(n),t.timeline.stop(),s.superclass.destroy.call(this)}}),t.exports=s},function(t,e,n){var r=n(1),i={delay:"delay",rotate:"rotate"},o={fill:"fill",stroke:"stroke",fillStyle:"fillStyle",strokeStyle:"strokeStyle"};function a(t,e){var n={},r=e._attrs;for(var i in t.attrs)n[i]=r[i];return n}t.exports={animate:function(t,e,n,u,s){void 0===s&&(s=0);this.set("animating",!0);var c=this.get("timeline");c||(c=this.get("canvas").get("timeline"),this.setSilent("timeline",c));var l=this.get("animators")||[];c._timer||c.initTimer(),r.isNumber(u)&&(s=u,u=null),r.isFunction(n)?(u=n,n="easeLinear"):n=n||"easeLinear";var f=function(t,e){var n={matrix:null,attrs:{}},a=e._attrs;for(var u in t)if("transform"===u)n.matrix=r.transform(e.getMatrix(),t[u]);else if("rotate"===u)n.matrix=r.transform(e.getMatrix(),[["r",t[u]]]);else if("matrix"===u)n.matrix=t[u];else{if(o[u]&&/^[r,R,L,l]{1}[\s]*\(/.test(t[u]))continue;i[u]||a[u]===t[u]||(n.attrs[u]=t[u])}return n}(t,this),h={fromAttrs:a(f,this),toAttrs:f.attrs,fromMatrix:r.clone(this.getMatrix()),toMatrix:f.matrix,duration:e,easing:n,callback:u,delay:s,startTime:c.getTime(),id:r.uniqueId()};l.length>0?l=function(t,e){var n=e.delay,i=Object.prototype.hasOwnProperty;return r.each(e.toAttrs,function(e,o){r.each(t,function(t){n<t.startTime+t.duration&&i.call(t.toAttrs,o)&&(delete t.toAttrs[o],delete t.fromAttrs[o])})}),e.toMatrix&&r.each(t,function(t){n<t.startTime+t.duration&&t.toMatrix&&delete t.toMatrix}),t}(l,h):c.addAnimator(this),l.push(h),this.setSilent("animators",l),this.setSilent("pause",{isPaused:!1})},stopAnimate:function(){var t=this,e=this.get("animators");r.each(e,function(e){t.attr(e.toAttrs),e.toMatrix&&t.attr("matrix",e.toMatrix),e.callback&&e.callback()}),this.setSilent("animating",!1),this.setSilent("animators",[])},pauseAnimate:function(){var t=this.get("timeline");return this.setSilent("pause",{isPaused:!0,pauseTime:t.getTime()}),this},resumeAnimate:function(){var t=this.get("timeline").getTime(),e=this.get("animators"),n=this.get("pause").pauseTime;return r.each(e,function(e){e.startTime=e.startTime+(t-n),e._paused=!1,e._pauseTime=null}),this.setSilent("pause",{isPaused:!1}),this.setSilent("animators",e),this}}},function(t,e,n){var r=n(1);t.exports={canFill:!1,canStroke:!1,initAttrs:function(t){return this._attrs={opacity:1,fillOpacity:1,strokeOpacity:1,matrix:[1,0,0,0,1,0,0,0,1]},this.attr(r.assign(this.getDefaultAttrs(),t)),this},getDefaultAttrs:function(){return{}},attr:function(t,e){if(0===arguments.length)return this._attrs;if(r.isObject(t)){for(var n in t)this._setAttr(n,t[n]);return this.clearBBox(),this._cfg.hasUpdate=!0,this}return 2===arguments.length?(this._setAttr(t,e),this.clearBBox(),this._cfg.hasUpdate=!0,this):this._attrs[t]},_setAttr:function(t,e){var n=this._attrs;n[t]=e,"fill"!==t&&"stroke"!==t?"opacity"!==t?"clip"===t&&e?this._setClip(e):"path"===t&&this._afterSetAttrPath?this._afterSetAttrPath(e):"transform"!==t?"rotate"===t&&this.rotateAtStart(e):this.transform(e):n.globalAlpha=e:n[t+"Style"]=e},clearBBox:function(){this.setSilent("box",null)},hasFill:function(){return this.canFill&&this._attrs.fillStyle},hasStroke:function(){return this.canStroke&&this._attrs.strokeStyle},_setClip:function(t){t._cfg.renderer=this._cfg.renderer,t._cfg.canvas=this._cfg.canvas,t._cfg.parent=this._cfg.parent,t.hasFill=function(){return!0}}}},function(t,e,n){var r=n(1),i=n(76),o={arc:n(47),ellipse:n(141),line:n(48)},a=r.createDom('<canvas width="500" height="500"></canvas>').getContext("2d");function u(t,e,n){return n.createPath(a),a.isPointInPath(t,e)}var s={arc:function(t,e){var n=this._attrs,r=n.x,o=n.y,a=n.r,u=n.startAngle,s=n.endAngle,c=n.clockwise,l=this.getHitLineWidth();return!!this.hasStroke()&&i.arcline(r,o,a,u,s,c,l,t,e)},circle:function(t,e){var n=this._attrs,r=n.x,o=n.y,a=n.r,u=this.getHitLineWidth(),s=this.hasFill(),c=this.hasStroke();return s&&c?i.circle(r,o,a,t,e)||i.arcline(r,o,a,0,2*Math.PI,!1,u,t,e):s?i.circle(r,o,a,t,e):!!c&&i.arcline(r,o,a,0,2*Math.PI,!1,u,t,e)},dom:function(t,e){if(!this._cfg.el)return!1;var n=this._cfg.el.getBBox();return i.box(n.x,n.x+n.width,n.y,n.y+n.height,t,e)},ellipse:function(t,e){var n=this._attrs,o=this.hasFill(),a=this.hasStroke(),u=n.x,s=n.y,c=n.rx,l=n.ry,f=this.getHitLineWidth(),h=c>l?c:l,d=c>l?1:c/l,p=c>l?l/c:1,v=[t,e,1],g=[1,0,0,0,1,0,0,0,1];r.mat3.scale(g,g,[d,p]),r.mat3.translate(g,g,[u,s]);var y=r.mat3.invert([],g);return r.vec3.transformMat3(v,v,y),o&&a?i.circle(0,0,h,v[0],v[1])||i.arcline(0,0,h,0,2*Math.PI,!1,f,v[0],v[1]):o?i.circle(0,0,h,v[0],v[1]):!!a&&i.arcline(0,0,h,0,2*Math.PI,!1,f,v[0],v[1])},fan:function(t,e){var n=this,a=n.hasFill(),u=n.hasStroke(),s=n._attrs,c=s.x,l=s.y,f=s.rs,h=s.re,d=s.startAngle,p=s.endAngle,v=s.clockwise,g=[t-c,e-l],y=r.vec2.angleTo([1,0],g);function m(){var t=o.arc.nearAngle(y,d,p,v);if(r.isNumberEqual(y,t)){var e=r.vec2.squaredLength(g);if(f*f<=e&&e<=h*h)return!0}return!1}function b(){var r=n.getHitLineWidth(),o={x:Math.cos(d)*f+c,y:Math.sin(d)*f+l},a={x:Math.cos(d)*h+c,y:Math.sin(d)*h+l},u={x:Math.cos(p)*f+c,y:Math.sin(p)*f+l},s={x:Math.cos(p)*h+c,y:Math.sin(p)*h+l};return!!(i.line(o.x,o.y,a.x,a.y,r,t,e)||i.line(u.x,u.y,s.x,s.y,r,t,e)||i.arcline(c,l,f,d,p,v,r,t,e)||i.arcline(c,l,h,d,p,v,r,t,e))}return a&&u?m()||b():a?m():!!u&&b()},image:function(t,e){var n=this._attrs;if(this.get("toDraw")||!n.img)return!1;this._cfg.attrs&&this._cfg.attrs.img===n.img||this._setAttrImg();var r=n.x,o=n.y,a=n.width,u=n.height;return i.rect(r,o,a,u,t,e)},line:function(t,e){var n=this._attrs,r=n.x1,o=n.y1,a=n.x2,u=n.y2,s=this.getHitLineWidth();return!!this.hasStroke()&&i.line(r,o,a,u,s,t,e)},path:function(t,e){var n=this,i=n.get("segments"),o=n.hasFill(),a=n.hasStroke();function s(){if(!r.isEmpty(i)){for(var o=n.getHitLineWidth(),a=0,u=i.length;a<u;a++)if(i[a].isInside(t,e,o))return!0;return!1}}return o&&a?u(t,e,n)||s():o?u(t,e,n):!!a&&s()},marker:function(t,e){var n=this._attrs,r=n.x,o=n.y,a=n.radius||n.r,u=this.getHitLineWidth();return i.circle(r,o,a+u/2,t,e)},polygon:function(t,e){var n=this,r=n.hasFill(),o=n.hasStroke();function a(){var r=n._attrs.points;if(r.length<2)return!1;var o=n.getHitLineWidth(),a=r.slice(0);return r.length>=3&&a.push(r[0]),i.polyline(a,o,t,e)}return r&&o?u(t,e,n)||a():r?u(t,e,n):!!o&&a()},polyline:function(t,e){var n=this._attrs;if(this.hasStroke()){var r=n.points;if(r.length<2)return!1;var o=n.lineWidth;return i.polyline(r,o,t,e)}return!1},rect:function(t,e){var n=this,r=n.hasFill(),o=n.hasStroke();function a(){var r=n._attrs,o=r.x,a=r.y,u=r.width,s=r.height,c=r.radius,l=n.getHitLineWidth();if(0===c){var f=l/2;return i.line(o-f,a,o+u+f,a,l,t,e)||i.line(o+u,a-f,o+u,a+s+f,l,t,e)||i.line(o+u+f,a+s,o-f,a+s,l,t,e)||i.line(o,a+s+f,o,a-f,l,t,e)}return i.line(o+c,a,o+u-c,a,l,t,e)||i.line(o+u,a+c,o+u,a+s-c,l,t,e)||i.line(o+u-c,a+s,o+c,a+s,l,t,e)||i.line(o,a+s-c,o,a+c,l,t,e)||i.arcline(o+u-c,a+c,c,1.5*Math.PI,2*Math.PI,!1,l,t,e)||i.arcline(o+u-c,a+s-c,c,0,.5*Math.PI,!1,l,t,e)||i.arcline(o+c,a+s-c,c,.5*Math.PI,Math.PI,!1,l,t,e)||i.arcline(o+c,a+c,c,Math.PI,1.5*Math.PI,!1,l,t,e)}return r&&o?u(t,e,n)||a():r?u(t,e,n):!!o&&a()},text:function(t,e){var n=this.getBBox();if(this.hasFill()||this.hasStroke())return i.box(n.minX,n.maxX,n.minY,n.maxY,t,e)}};t.exports={isPointInPath:function(t,e){var n=s[this.type];return!!n&&n.call(this,t,e)}}},function(t,e,n){var r=n(1),i=n(77),o=n(102),a=n(197),u=n(453),s=u.interpolate,c=u.interpolateArray,l=function(t){this._animators=[],this._current=0,this._timer=null,this.canvas=t};function f(t,e,n){var o,u=e.startTime;if(n<u+e.delay||e.isPaused)return!1;var l=e.duration,f=e.easing;if(n=n-u-e.delay,e.toAttrs.repeat)o=n%l/l,o=a[f](o);else{if(!((o=n/l)<1))return t.attr(e.toAttrs),e.toMatrix&&t.setMatrix(e.toMatrix),!0;o=a[f](o)}return function(t,e,n){var o={},a=e.toAttrs,u=e.fromAttrs,l=e.toMatrix;if(!t.get("destroyed")){var f;for(var h in a)if(!r.isEqual(u[h],a[h]))if("path"===h){var d=a[h],p=u[h];d.length>p.length?(d=i.parsePathString(a[h]),p=i.parsePathString(u[h]),p=i.fillPathByDiff(p,d),p=i.formatPath(p,d),e.fromAttrs.path=p,e.toAttrs.path=d):e.pathFormatted||(d=i.parsePathString(a[h]),p=i.parsePathString(u[h]),p=i.formatPath(p,d),e.fromAttrs.path=p,e.toAttrs.path=d,e.pathFormatted=!0),o[h]=[];for(var v=0;v<d.length;v++){for(var g=d[v],y=p[v],m=[],b=0;b<g.length;b++)r.isNumber(g[b])&&y&&r.isNumber(y[b])?(f=s(y[b],g[b]),m.push(f(n))):m.push(g[b]);o[h].push(m)}}else f=s(u[h],a[h]),o[h]=f(n);if(l){var x=c(e.fromMatrix,l)(n);t.setMatrix(x)}t.attr(o)}}(t,e,o),!1}r.augment(l,{initTimer:function(){var t,e,n,r=this,i=this;i._timer=o.timer(function(o){if(i._current=o,r._animators.length>0){for(var a=r._animators.length-1;a>=0;a--)if((t=r._animators[a]).get("destroyed"))i.removeAnimator(a);else{if(!t.get("pause").isPaused)for(var u=(e=t.get("animators")).length-1;u>=0;u--)n=e[u],f(t,n,o)&&(e.splice(u,1),!1,n.callback&&n.callback());0===e.length&&i.removeAnimator(a)}r.canvas.draw()}})},addAnimator:function(t){this._animators.push(t)},removeAnimator:function(t){this._animators.splice(t,1)},isAnimating:function(){return!!this._animators.length},stop:function(){this._timer&&this._timer.stop()},stopAllAnimations:function(){this._animators.forEach(function(t){t.stopAnimate()}),this._animators=[],this.canvas.draw()},getTime:function(){return this._current}}),t.exports=l},function(t,e,n){var r=n(1);function i(t){return 1===t[0]&&0===t[1]&&0===t[3]&&1===t[4]&&0===t[6]&&0===t[7]}function o(t){return 0===t[1]&&0===t[3]&&0===t[6]&&0===t[7]}function a(t,e){i(e)||(o(e)?(t[0]*=e[0],t[4]*=e[4]):r.mat3.multiply(t,t,e))}t.exports={initTransform:function(){},resetMatrix:function(){this.attr("matrix",[1,0,0,0,1,0,0,0,1])},translate:function(t,e){var n=this._attrs.matrix;return r.mat3.translate(n,n,[t,e]),this.clearTotalMatrix(),this.attr("matrix",n),this},rotate:function(t){var e=this._attrs.matrix;return r.mat3.rotate(e,e,t),this.clearTotalMatrix(),this.attr("matrix",e),this},scale:function(t,e){var n=this._attrs.matrix;return r.mat3.scale(n,n,[t,e]),this.clearTotalMatrix(),this.attr("matrix",n),this},rotateAtStart:function(t){var e=this._attrs.x||this._cfg.attrs.x,n=this._attrs.y||this._cfg.attrs.y;return Math.abs(t)>2*Math.PI&&(t=t/180*Math.PI),this.transform([["t",-e,-n],["r",t],["t",e,n]])},move:function(t,e){var n=this.get("x")||0,r=this.get("y")||0;return this.translate(t-n,e-r),this.set("x",t),this.set("y",e),this},transform:function(t){var e=this,n=this._attrs.matrix;return r.each(t,function(t){switch(t[0]){case"t":e.translate(t[1],t[2]);break;case"s":e.scale(t[1],t[2]);break;case"r":e.rotate(t[1]);break;case"m":e.attr("matrix",r.mat3.multiply([],n,t[1])),e.clearTotalMatrix()}}),e},setTransform:function(t){return this.attr("matrix",[1,0,0,0,1,0,0,0,1]),this.transform(t)},getMatrix:function(){return this.attr("matrix")},setMatrix:function(t){return this.attr("matrix",t),this.clearTotalMatrix(),this},apply:function(t,e){var n;return n=e?this._getMatrixByRoot(e):this.attr("matrix"),r.vec3.transformMat3(t,t,n),this},_getMatrixByRoot:function(t){t=t||this;for(var e=this,n=[];e!==t;)n.unshift(e),e=e.get("parent");n.unshift(e);var i=[1,0,0,0,1,0,0,0,1];return r.each(n,function(t){r.mat3.multiply(i,t.attr("matrix"),i)}),i},getTotalMatrix:function(){var t=this._cfg.totalMatrix;if(!t){t=[1,0,0,0,1,0,0,0,1];var e=this._cfg.parent;if(e)a(t,e.getTotalMatrix());a(t,this.attr("matrix")),this._cfg.totalMatrix=t}return t},clearTotalMatrix:function(){},invert:function(t){var e=this.getTotalMatrix();if(o(e))t[0]/=e[0],t[1]/=e[4];else{var n=r.mat3.invert([],e);n&&r.vec3.transformMat3(t,t,n)}return this},resetTransform:function(t){var e=this.attr("matrix");i(e)||t.transform(e[0],e[1],e[3],e[4],e[6],e[7])}}},function(t,e,n){t.exports={painter:n(334)}},function(t,e,n){var r=n(1),i=n(335),o=["fillStyle","font","globalAlpha","lineCap","lineWidth","lineJoin","miterLimit","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","strokeStyle","textAlign","textBaseline","lineDash","lineDashOffset"],a=function(){function t(t){if(!t)return null;var e=r.uniqueId("canvas_"),n=r.createDom('<canvas id="'+e+'"></canvas>');return t.appendChild(n),this.type="canvas",this.canvas=n,this.context=n.getContext("2d"),this.toDraw=!1,this}var e=t.prototype;return e.beforeDraw=function(){var t=this.canvas;this.context&&this.context.clearRect(0,0,t.width,t.height)},e.draw=function(t){var e=this;e.animateHandler?e.toDraw=!0:function n(){e.animateHandler=r.requestAnimationFrame(function(){e.animateHandler=void 0,e.toDraw&&n()}),e.beforeDraw();try{e._drawGroup(t)}catch(t){console.warn("error in draw canvas, detail as:"),console.warn(t),e.toDraw=!1}e.toDraw=!1}()},e.drawSync=function(t){this.beforeDraw(),this._drawGroup(t)},e._drawGroup=function(t){if(!t._cfg.removed&&!t._cfg.destroyed&&t._cfg.visible){var e=t._cfg.children,n=null;this.setContext(t);for(var r=0;r<e.length;r++)n=e[r],e[r].isGroup?this._drawGroup(n):this._drawShape(n);this.restoreContext(t)}},e._drawShape=function(t){t._cfg.removed||t._cfg.destroyed||!t._cfg.visible||(this.setContext(t),t.drawInner(this.context),this.restoreContext(t),t._cfg.attrs=t._attrs,t._cfg.hasUpdate=!1)},e.setContext=function(t){var e=this.context,n=t._attrs.clip;e.save(),n&&(n.resetTransform(e),n.createPath(e),e.clip()),this.resetContext(t),t.resetTransform(e)},e.restoreContext=function(){this.context.restore()},e.resetContext=function(t){var e=this.context,n=t._attrs;if(!t.isGroup)for(var a in n)if(o.indexOf(a)>-1){var u=n[a];"fillStyle"===a&&(u=i.parseStyle(u,t,e)),"strokeStyle"===a&&(u=i.parseStyle(u,t,e)),"lineDash"===a&&e.setLineDash?r.isArray(u)?e.setLineDash(u):r.isString(u)&&e.setLineDash(u.split(" ")):e[a]=u}},t}();t.exports=a},function(t,e,n){var r=n(1),i=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,o=/[^\s\,]+/gi,a=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,u=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,s=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,c=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,l={};function f(t,e){var n=t.match(c);r.each(n,function(t){t=t.split(":"),e.addColorStop(t[0],t[1])})}t.exports={parsePath:function(t){return t=t||[],r.isArray(t)?t:r.isString(t)?(t=t.match(i),r.each(t,function(e,n){if((e=e.match(o))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}r.each(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0},parseStyle:function(t,e,n){if(r.isString(t)){if("("===t[1]||"("===t[2]){if("l"===t[0])return function(t,e,n){var i,o,u=a.exec(t),s=r.mod(r.toRadian(parseFloat(u[1])),2*Math.PI),c=u[2],l=e.getBBox();s>=0&&s<.5*Math.PI?(i={x:l.minX,y:l.minY},o={x:l.maxX,y:l.maxY}):.5*Math.PI<=s&&s<Math.PI?(i={x:l.maxX,y:l.minY},o={x:l.minX,y:l.maxY}):Math.PI<=s&&s<1.5*Math.PI?(i={x:l.maxX,y:l.maxY},o={x:l.minX,y:l.minY}):(i={x:l.minX,y:l.maxY},o={x:l.maxX,y:l.minY});var h=Math.tan(s),d=h*h,p=(o.x-i.x+h*(o.y-i.y))/(d+1)+i.x,v=h*(o.x-i.x+h*(o.y-i.y))/(d+1)+i.y,g=n.createLinearGradient(i.x,i.y,p,v);return f(c,g),g}(t,e,n);if("r"===t[0])return function(t,e,n){var r=u.exec(t),i=parseFloat(r[1]),o=parseFloat(r[2]),a=parseFloat(r[3]),s=r[4];if(0===a){var l=s.match(c);return l[l.length-1].split(":")[1]}var h=e.getBBox(),d=h.maxX-h.minX,p=h.maxY-h.minY,v=Math.sqrt(d*d+p*p)/2,g=n.createRadialGradient(h.minX+d*i,h.minY+p*o,a*v,h.minX+d/2,h.minY+p/2,v);return f(s,g),g}(t,e,n);if("p"===t[0])return function(t,e,n){if(e.get("patternSource")&&e.get("patternSource")===t)return e.get("pattern");var r,i,o=s.exec(t),a=o[1],u=o[2];function c(){r=n.createPattern(i,a),e.setSilent("pattern",r),e.setSilent("patternSource",t)}switch(a){case"a":a="repeat";break;case"x":a="repeat-x";break;case"y":a="repeat-y";break;case"n":a="no-repeat";break;default:a="no-repeat"}return i=new Image,u.match(/^data:/i)||(i.crossOrigin="Anonymous"),i.src=u,i.complete?c():(i.onload=c,i.src=i.src),r}(t,e,n)}return t}},numberToColor:function(t){var e=l[t];if(!e){for(var n=t.toString(16),r=n.length;r<6;r++)n="0"+n;e="#"+n,l[t]=e}return e}}},function(t,e,n){t.exports={canvas:n(333),svg:n(344)}},function(t,e,n){var r=n(1),i=n(340),o=n(342),a=n(338),u=n(339),s=n(341),c=function(){function t(t){var e=document.createElementNS("http://www.w3.org/2000/svg","defs"),n=r.uniqueId("defs_");e.id=n,t.appendChild(e),this.children=[],this.defaultArrow={},this.el=e,this.canvas=t}var e=t.prototype;return e.find=function(t,e){for(var n=this.children,r=null,i=0;i<n.length;i++)if(n[i].match(t,e)){r=n[i].id;break}return r},e.findById=function(t){for(var e=this.children,n=null,r=0;r<e.length;r++)if(e[r].id===t){n=e[r];break}return n},e.add=function(t){this.children.push(t),t.canvas=this.canvas,t.parent=this},e.getDefaultArrow=function(t,e){var n=t.stroke||t.strokeStyle;if(this.defaultArrow[n])return this.defaultArrow[n].id;var r=new a(t,e);return this.defaultArrow[n]=r,this.el.appendChild(r.el),r.id},e.addGradient=function(t){var e=new i(t);return this.el.appendChild(e.el),this.add(e),e.id},e.addArrow=function(t,e){var n=new a(t,e);return this.el.appendChild(n.el),n.id},e.addShadow=function(t){var e=new o(t);return this.el.appendChild(e.el),this.add(e),e.id},e.addPattern=function(t){var e=new s(t);return this.el.appendChild(e.el),this.add(e),e.id},e.addClip=function(t){var e=new u(t);return this.el.appendChild(e.el),this.add(e),e.id},t}();t.exports=c},function(t,e,n){var r=n(1),i=function(){function t(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg","marker"),i=r.uniqueId("marker_");n.setAttribute("id",i);var o=document.createElementNS("http://www.w3.org/2000/svg","path");return o.setAttribute("stroke","none"),o.setAttribute("fill",t.stroke||"#000"),n.appendChild(o),n.setAttribute("overflow","visible"),n.setAttribute("orient","auto-start-reverse"),this.el=n,this.child=o,this.id=i,this.cfg=t["marker-start"===e?"startArrow":"endArrow"],this.stroke=t.stroke||"#000",!0===this.cfg?this._setDefaultPath(e,o):this._setMarker(t.lineWidth,o),this}var e=t.prototype;return e.match=function(){return!1},e._setDefaultPath=function(t,e){var n=this.el;e.setAttribute("d","M0,0 L6,3 L0,6 L3,3Z"),n.setAttribute("refX",3),n.setAttribute("refY",3)},e._setMarker=function(t,e){var n=this.el,i=this.cfg.path,o=this.cfg.d;r.isArray(i)&&(i=i.map(function(t){return t.join(" ")}).join("")),e.setAttribute("d",i),n.appendChild(e),o&&n.setAttribute("refX",o/t)},e.update=function(t){var e=this.child;e.attr?e.attr("fill",t):e.setAttribute("fill",t)},t}();t.exports=i},function(t,e,n){var r=n(1),i=function(){function t(t){this.type="clip";var e=document.createElementNS("http://www.w3.org/2000/svg","clipPath");this.el=e,this.id=r.uniqueId("clip_"),e.id=this.id;var n=t._cfg.el;return e.appendChild(n.cloneNode(!0)),this.cfg=t,this}var e=t.prototype;return e.match=function(){return!1},e.remove=function(){var t=this.el;t.parentNode.removeChild(t)},t}();t.exports=i},function(t,e,n){var r=n(1),i=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,o=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,a=/[\d.]+:(#[^\s]+|[^\)]+\))/gi;function u(t){var e=t.match(a);if(!e)return"";var n="";return e.sort(function(t,e){return t=t.split(":"),e=e.split(":"),Number(t[0])-Number(e[0])}),r.each(e,function(t){t=t.split(":"),n+='<stop offset="'+t[0]+'" stop-color="'+t[1]+'"></stop>'}),n}var s=function(){function t(t){var e,n,a,s,c,l,f,h=null,d=r.uniqueId("gradient_");return"l"===t.toLowerCase()[0]?function(t,e){var n,o,a=i.exec(t),s=r.mod(r.toRadian(parseFloat(a[1])),2*Math.PI),c=a[2];s>=0&&s<.5*Math.PI?(n={x:0,y:0},o={x:1,y:1}):.5*Math.PI<=s&&s<Math.PI?(n={x:1,y:0},o={x:0,y:1}):Math.PI<=s&&s<1.5*Math.PI?(n={x:1,y:1},o={x:0,y:0}):(n={x:0,y:1},o={x:1,y:0});var l=Math.tan(s),f=l*l,h=(o.x-n.x+l*(o.y-n.y))/(f+1)+n.x,d=l*(o.x-n.x+l*(o.y-n.y))/(f+1)+n.y;e.setAttribute("x1",n.x),e.setAttribute("y1",n.y),e.setAttribute("x2",h),e.setAttribute("y2",d),e.innerHTML=u(c)}(t,h=document.createElementNS("http://www.w3.org/2000/svg","linearGradient")):(h=document.createElementNS("http://www.w3.org/2000/svg","radialGradient"),e=t,n=h,a=o.exec(e),s=parseFloat(a[1]),c=parseFloat(a[2]),l=parseFloat(a[3]),f=a[4],n.setAttribute("cx",s),n.setAttribute("cy",c),n.setAttribute("r",l),n.innerHTML=u(f)),h.setAttribute("id",d),this.el=h,this.id=d,this.cfg=t,this}return t.prototype.match=function(t,e){return this.cfg===e},t}();t.exports=s},function(t,e,n){var r=n(1),i=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,o=function(){function t(t){var e=document.createElementNS("http://www.w3.org/2000/svg","pattern");e.setAttribute("patternUnits","userSpaceOnUse");var n=document.createElementNS("http://www.w3.org/2000/svg","image");e.appendChild(n);var o=r.uniqueId("pattern_");e.id=o,this.el=e,this.id=o,this.cfg=t;var a=i.exec(t)[2];n.setAttribute("href",a);var u=new Image;function s(){console.log(u.width,u.height),e.setAttribute("width",u.width),e.setAttribute("height",u.height)}return a.match(/^data:/i)||(u.crossOrigin="Anonymous"),u.src=a,u.complete?s():(u.onload=s,u.src=u.src),this}return t.prototype.match=function(t,e){return this.cfg===e},t}();t.exports=o},function(t,e,n){var r=n(1),i={shadowColor:"color",shadowOpacity:"opacity",shadowBlur:"blur",shadowOffsetX:"dx",shadowOffsetY:"dy"},o={x:"-40%",y:"-40%",width:"200%",height:"200%"},a=function(){function t(t){this.type="filter";var e=document.createElementNS("http://www.w3.org/2000/svg","filter");return r.each(o,function(t,n){e.setAttribute(n,t)}),this.el=e,this.id=r.uniqueId("filter_"),this.el.id=this.id,this.cfg=t,this._parseShadow(t,e),this}var e=t.prototype;return e.match=function(t,e){if(this.type!==t)return!1;var n=!0,i=this.cfg;return r.each(Object.keys(i),function(t){if(i[t]!==e[t])return n=!1,!1}),n},e.update=function(t,e){var n=this.cfg;return n[i[t]]=e,this._parseShadow(n,this.el),this},e._parseShadow=function(t,e){var n='<feDropShadow \n dx="'+(t.dx||0)+'" \n dy="'+(t.dy||0)+'" \n stdDeviation="'+(t.blur?t.blur/10:0)+'"\n flood-color="'+(t.color?t.color:"#000")+'"\n flood-opacity="'+(t.opacity?t.opacity:1)+'"\n />';e.innerHTML=n},t}();t.exports=a},function(t,e){var n={svg:"svg",circle:"circle",rect:"rect",text:"text",path:"path",foreignObject:"foreignObject",polygon:"polygon",ellipse:"ellipse",image:"image"};t.exports=function(t,e,r){var i=r.target||r.srcElement;if(!n[i.tagName]){for(var o=i.parentNode;o&&!n[o.tagName];)o=o.parentNode;i=o}return this._cfg.el===i?this:this.find(function(t){return t._cfg&&t._cfg.el===i})}},function(t,e,n){t.exports={painter:n(345),getShape:n(343)}},function(t,e,n){var r=n(1),i=n(37).parseRadius,o=n(74),a=n(337),u={rect:"path",circle:"circle",line:"line",path:"path",marker:"path",text:"text",polygon:"polygon",image:"image",ellipse:"ellipse",dom:"foreignObject",fan:"path",group:"g"},s={opacity:"opacity",fillStyle:"fill",strokeOpacity:"stroke-opacity",fillOpacity:"fill-opacity",strokeStyle:"stroke",x:"x",y:"y",r:"r",width:"width",height:"height",x1:"x1",x2:"x2",y1:"y1",y2:"y2",lineCap:"stroke-linecap",lineJoin:"stroke-linejoin",lineWidth:"stroke-width",lineDash:"stroke-dasharray",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"preserveAspectRatio"},c={top:"before-edge",middle:"central",bottom:"after-edge",alphabetic:"baseline",hanging:"hanging"},l={left:"left",start:"left",center:"middle",right:"end",end:"end"},f=function(){function t(t){if(!t)return null;var e=r.uniqueId("canvas_"),n=r.createDom('<svg id="'+e+'"></svg>');return t.appendChild(n),this.type="svg",this.canvas=n,this.context=new a(n),this.toDraw=!1,this}var e=t.prototype;return e.draw=function(t){var e=this;e.animateHandler?e.toDraw=!0:function n(){e.animateHandler=r.requestAnimationFrame(function(){e.animateHandler=void 0,e.toDraw&&n()});try{t.resetMatrix(),e._drawGroup(t,!1)}catch(t){console.warn("error in draw canvas, detail as:"),console.warn(t),e.toDraw=!1}e.toDraw=!1}()},e.drawSync=function(t){this._drawChildren(t,!1)},e._drawGroup=function(t,e){var n=t._cfg;n.removed||n.destroyed||(!n.el&&n.attrs&&(e=!0),n.tobeRemoved&&(r.each(n.tobeRemoved,function(t){t.parentNode&&t.parentNode.removeChild(t)}),n.tobeRemoved=[]),this._drawShape(t,e),n.children&&n.children.length>0&&this._drawChildren(t,e))},e._drawChildren=function(t,e){var n,r=t._cfg.children;if(r){if(t._cfg.el&&!e){var i=t._cfg.el.childNodes.length+1;0!==i&&i!==r.length&&(e=!0)}for(var o=0;o<r.length;o++)(n=r[o]).isGroup?this._drawGroup(n,e):this._drawShape(n,e)}},e._drawShape=function(t,e){var n=t._attrs,r=t._cfg,i=r.el;r.removed||r.destroyed?i&&i.parentNode.removeChild(r.el):(e&&i&&(i.parentNode&&i.parentNode.removeChild(i),i=null),!i&&r.parent&&(this._createDom(t),this._updateShape(t)),i=r.el,!1!==r.visible?(r.visible&&i.hasAttribute("visibility")&&i.removeAttribute("visibility"),r.hasUpdate&&this._updateShape(t),n.clip&&n.clip._cfg.hasUpdate&&this._updateShape(n.clip)):i.setAttribute("visibility","hidden"))},e._updateShape=function(t){var e=t._attrs,n=t._cfg.attrs;if(n)if(t._cfg.el||this._createDom(t),"clip"in e&&this._setClip(t,e.clip),("shadowOffsetX"in e||"shadowOffsetY"in e||"shadowBlur"in e||"shadowColor"in e)&&this._setShadow(t),"text"!==t.type){for(var i in"fan"===t.type&&this._updateFan(t),"marker"===t.type&&t._cfg.el.setAttribute("d",this._assembleMarker(e)),"rect"===t.type&&t._cfg.el.setAttribute("d",this._assembleRect(e)),e)e[i]!==n[i]&&this._setAttribute(t,i,e[i]);t._cfg.attrs=r.deepMix({},t._attrs),t._cfg.hasUpdate=!1}else this._updateText(t)},e._setAttribute=function(t,e,n){var i=t.type,o=t._attrs,a=t._cfg.el,u=this.context;if("marker"!==i&&"rect"!==i||!~["x","y","radius","r"].indexOf(e))if(~["circle","ellipse"].indexOf(i)&&~["x","y"].indexOf(e))a.setAttribute("c"+e,parseInt(n,10));else{if("polygon"===i&&"points"===e)return n&&0!==n.length||(n=""),r.isArray(n)&&(n=(n=n.map(function(t){return t[0]+","+t[1]})).join(" ")),void a.setAttribute("points",n);if("path"===e&&r.isArray(n))a.setAttribute("d",this._formatPath(n));else if("img"!==e){if("transform"===e)return n?void this._setTransform(t):void a.removeAttribute("transform");if("rotate"===e)return n?void this._setTransform(t):void a.removeAttribute("transform");if("matrix"!==e)if("fillStyle"!==e&&"strokeStyle"!==e){if("clip"!==e)if(~e.indexOf("Arrow"))if(e=s[e],n){var c=null;c="boolean"==typeof n?u.getDefaultArrow(o,e):u.addArrow(o,e),a.setAttribute(e,"url(#"+c+")"),t._cfg[e]=c}else t._cfg[e]=null,a.removeAttribute(e);else"html"===e&&("string"==typeof n?a.innerHTML=n:(a.innerHTML="",a.appendChild(n))),s[e]&&a.setAttribute(s[e],n)}else this._setColor(t,e,n);else this._setTransform(t)}else this._setImage(t,n)}},e._createDom=function(t){var e=u[t.type],n=t._attrs;if(!e)throw new Error("the type"+t.type+"is not supported by svg");var r=document.createElementNS("http://www.w3.org/2000/svg",e);return t._cfg.el=r,t._cfg.parent&&t._cfg.parent.get("el").appendChild(r),t._cfg.attrs={},"text"===t.type?(r.setAttribute("paint-order","stroke"),r.setAttribute("style","stroke-linecap:butt; stroke-linejoin:miter;")):(n.stroke||n.strokeStyle||r.setAttribute("stroke","none"),n.fill||n.fillStyle||r.setAttribute("fill","none")),r},e._assembleMarker=function(t){var e=t.r;if(void 0===t.r&&(e=t.radius),isNaN(Number(t.x))||isNaN(Number(t.y))||isNaN(Number(e)))return"";var n="";return n="function"==typeof t.symbol?t.symbol(t.x,t.y,e):o.Symbols[t.symbol||"circle"](t.x,t.y,e),r.isArray(n)&&(n=n.map(function(t){return t.join(" ")}).join("")),n},e._assembleRect=function(t){var e=t.x,n=t.y,o=t.width,a=t.height,u=t.radius;if(!u)return"M "+e+","+n+" l "+o+",0 l 0,"+a+" l"+-o+" 0 z";var s=i(u);return r.isArray(u)?1===u.length?s.r1=s.r2=s.r3=s.r4=u[0]:2===u.length?(s.r1=s.r3=u[0],s.r2=s.r4=u[1]):3===u.length?(s.r1=u[0],s.r2=s.r4=u[1],s.r3=u[2]):(s.r1=u[0],s.r2=u[1],s.r3=u[2],s.r4=u[3]):s.r1=s.r2=s.r3=s.r4=u,[["M "+(e+s.r1)+","+n],["l "+(o-s.r1-s.r2)+",0"],["a "+s.r2+","+s.r2+",0,0,1,"+s.r2+","+s.r2],["l 0,"+(a-s.r2-s.r3)],["a "+s.r3+","+s.r3+",0,0,1,"+-s.r3+","+s.r3],["l "+(s.r3+s.r4-o)+",0"],["a "+s.r4+","+s.r4+",0,0,1,"+-s.r4+","+-s.r4],["l 0,"+(s.r4+s.r1-a)],["a "+s.r1+","+s.r1+",0,0,1,"+s.r1+","+-s.r1],["z"]].join(" ")},e._formatPath=function(t){return~(t=t.map(function(t){return t.join(" ")}).join("")).indexOf("NaN")?"":t},e._setTransform=function(t){for(var e=t._attrs.matrix,n=t._cfg.el,r=[],i=0;i<9;i+=3)r.push(e[i]+","+e[i+1]);-1===(r=r.join(",")).indexOf("NaN")?n.setAttribute("transform","matrix("+r+")"):console.warn("invalid matrix:",e)},e._setImage=function(t,e){var n=t._attrs,i=t._cfg.el;if(r.isString(e))i.setAttribute("href",e);else if(e instanceof Image)n.width||(i.setAttribute("width",e.width),t._attrs.width=e.width),n.height||(i.setAttribute("height",e.height),t._attrs.height=e.height),i.setAttribute("href",e.src);else if(e instanceof HTMLElement&&r.isString(e.nodeName)&&"CANVAS"===e.nodeName.toUpperCase())i.setAttribute("href",e.toDataURL());else if(e instanceof ImageData){var o=document.createElement("canvas");o.setAttribute("width",e.width),o.setAttribute("height",e.height),o.getContext("2d").putImageData(e,0,0),n.width||(i.setAttribute("width",e.width),t._attrs.width=e.width),n.height||(i.setAttribute("height",e.height),t._attrs.height=e.height),i.setAttribute("href",o.toDataURL())}},e._updateFan=function(t){function e(t,e,n){return{x:e*Math.cos(t)+n.x,y:e*Math.sin(t)+n.y}}var n=t._attrs,i=t._cfg,o={x:n.x,y:n.y},a=[],u=n.startAngle,s=n.endAngle;r.isNumberEqual(s-u,2*Math.PI)&&(s-=1e-5);var c=e(u,n.re,o),l=e(s,n.re,o),f=s>u?1:0,h=Math.abs(s-u)>Math.PI?1:0,d=n.rs,p=n.re,v=e(u,n.rs,o),g=e(s,n.rs,o);n.rs>0?(a.push("M "+l.x+","+l.y),a.push("L "+g.x+","+g.y),a.push("A "+d+","+d+",0,"+h+","+(1===f?0:1)+","+v.x+","+v.y),a.push("L "+c.x+" "+c.y)):(a.push("M "+o.x+","+o.y),a.push("L "+c.x+","+c.y)),a.push("A "+p+","+p+",0,"+h+","+f+","+l.x+","+l.y),n.rs>0?a.push("L "+g.x+","+g.y):a.push("Z"),i.el.setAttribute("d",a.join(" "))},e._updateText=function(t){var e=t._attrs,n=t._cfg.attrs,r=t._cfg.el;for(var i in this._setFont(t),e)if(e[i]!==n[i]){if("text"===i){this._setText(t,""+e[i]);continue}if("fillStyle"===i||"strokeStyle"===i){this._setColor(t,i,e[i]);continue}if("matrix"===i){this._setTransform(t);continue}s[i]&&r.setAttribute(s[i],e[i])}t._cfg.attrs=Object.assign({},t._attrs),t._cfg.hasUpdate=!1},e._setFont=function(t){var e=t.get("el"),n=t._attrs,r=n.fontSize;e.setAttribute("alignment-baseline",c[n.textBaseline]||"baseline"),e.setAttribute("text-anchor",l[n.textAlign]||"left"),r&&+r<12&&(n.matrix=[1,0,0,0,1,0,0,0,1],t.transform([["t",-n.x,-n.y],["s",+r/12,+r/12],["t",n.x,n.y]]))},e._setText=function(t,e){var n=t._cfg.el,i=t._attrs.textBaseline||"bottom";if(e)if(~e.indexOf("\n")){var o=t._attrs.x,a=e.split("\n"),u=a.length-1,s="";r.each(a,function(t,e){0===e?"alphabetic"===i?s+='<tspan x="'+o+'" dy="'+-u+'em">'+t+"</tspan>":"top"===i?s+='<tspan x="'+o+'" dy="0.9em">'+t+"</tspan>":"middle"===i?s+='<tspan x="'+o+'" dy="'+-(u-1)/2+'em">'+t+"</tspan>":"bottom"===i?s+='<tspan x="'+o+'" dy="-'+(u+.3)+'em">'+t+"</tspan>":"hanging"===i&&(s+='<tspan x="'+o+'" dy="'+(-(u-1)-.3)+'em">'+t+"</tspan>"):s+='<tspan x="'+o+'" dy="1em">'+t+"</tspan>"}),n.innerHTML=s}else n.innerHTML=e;else n.innerHTML=""},e._setClip=function(t,e){var n=t._cfg.el;if(e)if(n.hasAttribute("clip-path"))e._cfg.hasUpdate&&this._updateShape(e);else{this._createDom(e),this._updateShape(e);var r=this.context.addClip(e);n.setAttribute("clip-path","url(#"+r+")")}else n.removeAttribute("clip-path")},e._setColor=function(t,e,n){var r=t._cfg.el,i=this.context;if(n)if(n=n.trim(),/^[r,R,L,l]{1}[\s]*\(/.test(n)){var o=i.find("gradient",n);o||(o=i.addGradient(n)),r.setAttribute(s[e],"url(#"+o+")")}else if(/^[p,P]{1}[\s]*\(/.test(n)){var a=i.find("pattern",n);a||(a=i.addPattern(n)),r.setAttribute(s[e],"url(#"+a+")")}else r.setAttribute(s[e],n);else r.setAttribute(s[e],"none")},e._setShadow=function(t){var e=t._cfg.el,n=t._attrs,r={dx:n.shadowOffsetX,dy:n.shadowOffsetY,blur:n.shadowBlur,color:n.shadowColor};if(r.dx||r.dy||r.blur||r.color){var i=this.context.find("filter",r);i||(i=this.context.addShadow(r,this)),e.setAttribute("filter","url(#"+i+")")}else e.removeAttribute("filter")},t}();t.exports=f},function(t,e,n){var r=n(7);r.Arc=n(134),r.Circle=n(135),r.Dom=n(136),r.Ellipse=n(137),r.Fan=n(138),r.Image=n(139),r.Line=n(140),r.Marker=n(74),r.Path=n(143),r.Polygon=n(144),r.Polyline=n(145),r.Rect=n(146),r.Text=n(147),t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sub=e.mul=void 0,e.create=function(){var t=new r.ARRAY_TYPE(9);r.ARRAY_TYPE!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0);return t[0]=1,t[4]=1,t[8]=1,t},e.fromMat4=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t},e.clone=function(t){var e=new r.ARRAY_TYPE(9);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},e.fromValues=function(t,e,n,i,o,a,u,s,c){var l=new r.ARRAY_TYPE(9);return l[0]=t,l[1]=e,l[2]=n,l[3]=i,l[4]=o,l[5]=a,l[6]=u,l[7]=s,l[8]=c,l},e.set=function(t,e,n,r,i,o,a,u,s,c){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=o,t[5]=a,t[6]=u,t[7]=s,t[8]=c,t},e.identity=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},e.transpose=function(t,e){if(t===e){var n=e[1],r=e[2],i=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=i}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t},e.invert=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],u=e[5],s=e[6],c=e[7],l=e[8],f=l*a-u*c,h=-l*o+u*s,d=c*o-a*s,p=n*f+r*h+i*d;if(!p)return null;return p=1/p,t[0]=f*p,t[1]=(-l*r+i*c)*p,t[2]=(u*r-i*a)*p,t[3]=h*p,t[4]=(l*n-i*s)*p,t[5]=(-u*n+i*o)*p,t[6]=d*p,t[7]=(-c*n+r*s)*p,t[8]=(a*n-r*o)*p,t},e.adjoint=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],u=e[5],s=e[6],c=e[7],l=e[8];return t[0]=a*l-u*c,t[1]=i*c-r*l,t[2]=r*u-i*a,t[3]=u*s-o*l,t[4]=n*l-i*s,t[5]=i*o-n*u,t[6]=o*c-a*s,t[7]=r*s-n*c,t[8]=n*a-r*o,t},e.determinant=function(t){var e=t[0],n=t[1],r=t[2],i=t[3],o=t[4],a=t[5],u=t[6],s=t[7],c=t[8];return e*(c*o-a*s)+n*(-c*i+a*u)+r*(s*i-o*u)},e.multiply=i,e.translate=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],u=e[4],s=e[5],c=e[6],l=e[7],f=e[8],h=n[0],d=n[1];return t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=u,t[5]=s,t[6]=h*r+d*a+c,t[7]=h*i+d*u+l,t[8]=h*o+d*s+f,t},e.rotate=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],u=e[4],s=e[5],c=e[6],l=e[7],f=e[8],h=Math.sin(n),d=Math.cos(n);return t[0]=d*r+h*a,t[1]=d*i+h*u,t[2]=d*o+h*s,t[3]=d*a-h*r,t[4]=d*u-h*i,t[5]=d*s-h*o,t[6]=c,t[7]=l,t[8]=f,t},e.scale=function(t,e,n){var r=n[0],i=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=i*e[3],t[4]=i*e[4],t[5]=i*e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},e.fromTranslation=function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},e.fromRotation=function(t,e){var n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},e.fromScaling=function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},e.fromMat2d=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},e.fromQuat=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=n+n,u=r+r,s=i+i,c=n*a,l=r*a,f=r*u,h=i*a,d=i*u,p=i*s,v=o*a,g=o*u,y=o*s;return t[0]=1-f-p,t[3]=l-y,t[6]=h+g,t[1]=l+y,t[4]=1-c-p,t[7]=d-v,t[2]=h-g,t[5]=d+v,t[8]=1-c-f,t},e.normalFromMat4=function(t,e){var n=e[0],r=e[1],i=e[2],o=e[3],a=e[4],u=e[5],s=e[6],c=e[7],l=e[8],f=e[9],h=e[10],d=e[11],p=e[12],v=e[13],g=e[14],y=e[15],m=n*u-r*a,b=n*s-i*a,x=n*c-o*a,w=r*s-i*u,_=r*c-o*u,S=i*c-o*s,k=l*v-f*p,E=l*g-h*p,O=l*y-d*p,C=f*g-h*v,A=f*y-d*v,T=h*y-d*g,M=m*T-b*A+x*C+w*O-_*E+S*k;if(!M)return null;return M=1/M,t[0]=(u*T-s*A+c*C)*M,t[1]=(s*O-a*T-c*E)*M,t[2]=(a*A-u*O+c*k)*M,t[3]=(i*A-r*T-o*C)*M,t[4]=(n*T-i*O+o*E)*M,t[5]=(r*O-n*A-o*k)*M,t[6]=(v*S-g*_+y*w)*M,t[7]=(g*x-p*S-y*b)*M,t[8]=(p*_-v*x+y*m)*M,t},e.projection=function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},e.str=function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},e.frob=function(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2)+Math.pow(t[2],2)+Math.pow(t[3],2)+Math.pow(t[4],2)+Math.pow(t[5],2)+Math.pow(t[6],2)+Math.pow(t[7],2)+Math.pow(t[8],2))},e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t},e.subtract=o,e.multiplyScalar=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t},e.multiplyScalarAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t},e.exactEquals=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]},e.equals=function(t,e){var n=t[0],i=t[1],o=t[2],a=t[3],u=t[4],s=t[5],c=t[6],l=t[7],f=t[8],h=e[0],d=e[1],p=e[2],v=e[3],g=e[4],y=e[5],m=e[6],b=e[7],x=e[8];return Math.abs(n-h)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(h))&&Math.abs(i-d)<=r.EPSILON*Math.max(1,Math.abs(i),Math.abs(d))&&Math.abs(o-p)<=r.EPSILON*Math.max(1,Math.abs(o),Math.abs(p))&&Math.abs(a-v)<=r.EPSILON*Math.max(1,Math.abs(a),Math.abs(v))&&Math.abs(u-g)<=r.EPSILON*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(s-y)<=r.EPSILON*Math.max(1,Math.abs(s),Math.abs(y))&&Math.abs(c-m)<=r.EPSILON*Math.max(1,Math.abs(c),Math.abs(m))&&Math.abs(l-b)<=r.EPSILON*Math.max(1,Math.abs(l),Math.abs(b))&&Math.abs(f-x)<=r.EPSILON*Math.max(1,Math.abs(f),Math.abs(x))};var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(78));function i(t,e,n){var r=e[0],i=e[1],o=e[2],a=e[3],u=e[4],s=e[5],c=e[6],l=e[7],f=e[8],h=n[0],d=n[1],p=n[2],v=n[3],g=n[4],y=n[5],m=n[6],b=n[7],x=n[8];return t[0]=h*r+d*a+p*c,t[1]=h*i+d*u+p*l,t[2]=h*o+d*s+p*f,t[3]=v*r+g*a+y*c,t[4]=v*i+g*u+y*l,t[5]=v*o+g*s+y*f,t[6]=m*r+b*a+x*c,t[7]=m*i+b*u+x*l,t[8]=m*o+b*s+x*f,t}function o(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}e.mul=i,e.sub=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.forEach=e.sqrLen=e.sqrDist=e.dist=e.div=e.mul=e.sub=e.len=void 0,e.create=i,e.clone=function(t){var e=new r.ARRAY_TYPE(2);return e[0]=t[0],e[1]=t[1],e},e.fromValues=function(t,e){var n=new r.ARRAY_TYPE(2);return n[0]=t,n[1]=e,n},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t},e.set=function(t,e,n){return t[0]=e,t[1]=n,t},e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},e.subtract=o,e.multiply=a,e.divide=u,e.ceil=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t},e.floor=function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t},e.distance=s,e.squaredDistance=c,e.length=l,e.squaredLength=f,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t},e.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t},e.normalize=function(t,e){var n=e[0],r=e[1],i=n*n+r*r;i>0&&(i=1/Math.sqrt(i),t[0]=e[0]*i,t[1]=e[1]*i);return t},e.dot=function(t,e){return t[0]*e[0]+t[1]*e[1]},e.cross=function(t,e,n){var r=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=r,t},e.lerp=function(t,e,n,r){var i=e[0],o=e[1];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t},e.random=function(t,e){e=e||1;var n=2*r.RANDOM()*Math.PI;return t[0]=Math.cos(n)*e,t[1]=Math.sin(n)*e,t},e.transformMat2=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i,t[1]=n[1]*r+n[3]*i,t},e.transformMat2d=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t},e.transformMat3=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[3]*i+n[6],t[1]=n[1]*r+n[4]*i+n[7],t},e.transformMat4=function(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[4]*i+n[12],t[1]=n[1]*r+n[5]*i+n[13],t},e.rotate=function(t,e,n,r){var i=e[0]-n[0],o=e[1]-n[1],a=Math.sin(r),u=Math.cos(r);return t[0]=i*u-o*a+n[0],t[1]=i*a+o*u+n[1],t},e.angle=function(t,e){var n=t[0],r=t[1],i=e[0],o=e[1],a=n*n+r*r;a>0&&(a=1/Math.sqrt(a));var u=i*i+o*o;u>0&&(u=1/Math.sqrt(u));var s=(n*i+r*o)*a*u;return s>1?0:s<-1?Math.PI:Math.acos(s)},e.str=function(t){return"vec2("+t[0]+", "+t[1]+")"},e.exactEquals=function(t,e){return t[0]===e[0]&&t[1]===e[1]},e.equals=function(t,e){var n=t[0],i=t[1],o=e[0],a=e[1];return Math.abs(n-o)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(i-a)<=r.EPSILON*Math.max(1,Math.abs(i),Math.abs(a))};var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(78));function i(){var t=new r.ARRAY_TYPE(2);return r.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0),t}function o(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function a(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t}function u(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t}function s(t,e){var n=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(n*n+r*r)}function c(t,e){var n=e[0]-t[0],r=e[1]-t[1];return n*n+r*r}function l(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)}function f(t){var e=t[0],n=t[1];return e*e+n*n}var h;e.len=l,e.sub=o,e.mul=a,e.div=u,e.dist=s,e.sqrDist=c,e.sqrLen=f,e.forEach=(h=i(),function(t,e,n,r,i,o){var a=void 0,u=void 0;for(e||(e=2),n||(n=0),u=r?Math.min(r*e+n,t.length):t.length,a=n;a<u;a+=e)h[0]=t[a],h[1]=t[a+1],i(h,h,o),t[a]=h[0],t[a+1]=h[1];return t})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.forEach=e.sqrLen=e.len=e.sqrDist=e.dist=e.div=e.mul=e.sub=void 0,e.create=i,e.clone=function(t){var e=new r.ARRAY_TYPE(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},e.length=o,e.fromValues=a,e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},e.set=function(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t},e.add=function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t},e.subtract=u,e.multiply=s,e.divide=c,e.ceil=function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},e.floor=function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},e.min=function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t},e.max=function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t},e.round=function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t},e.scale=function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t},e.scaleAndAdd=function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t},e.distance=l,e.squaredDistance=f,e.squaredLength=h,e.negate=function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t},e.inverse=function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t},e.normalize=d,e.dot=p,e.cross=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[0],u=n[1],s=n[2];return t[0]=i*s-o*u,t[1]=o*a-r*s,t[2]=r*u-i*a,t},e.lerp=function(t,e,n,r){var i=e[0],o=e[1],a=e[2];return t[0]=i+r*(n[0]-i),t[1]=o+r*(n[1]-o),t[2]=a+r*(n[2]-a),t},e.hermite=function(t,e,n,r,i,o){var a=o*o,u=a*(2*o-3)+1,s=a*(o-2)+o,c=a*(o-1),l=a*(3-2*o);return t[0]=e[0]*u+n[0]*s+r[0]*c+i[0]*l,t[1]=e[1]*u+n[1]*s+r[1]*c+i[1]*l,t[2]=e[2]*u+n[2]*s+r[2]*c+i[2]*l,t},e.bezier=function(t,e,n,r,i,o){var a=1-o,u=a*a,s=o*o,c=u*a,l=3*o*u,f=3*s*a,h=s*o;return t[0]=e[0]*c+n[0]*l+r[0]*f+i[0]*h,t[1]=e[1]*c+n[1]*l+r[1]*f+i[1]*h,t[2]=e[2]*c+n[2]*l+r[2]*f+i[2]*h,t},e.random=function(t,e){e=e||1;var n=2*r.RANDOM()*Math.PI,i=2*r.RANDOM()-1,o=Math.sqrt(1-i*i)*e;return t[0]=Math.cos(n)*o,t[1]=Math.sin(n)*o,t[2]=i*e,t},e.transformMat4=function(t,e,n){var r=e[0],i=e[1],o=e[2],a=n[3]*r+n[7]*i+n[11]*o+n[15];return a=a||1,t[0]=(n[0]*r+n[4]*i+n[8]*o+n[12])/a,t[1]=(n[1]*r+n[5]*i+n[9]*o+n[13])/a,t[2]=(n[2]*r+n[6]*i+n[10]*o+n[14])/a,t},e.transformMat3=function(t,e,n){var r=e[0],i=e[1],o=e[2];return t[0]=r*n[0]+i*n[3]+o*n[6],t[1]=r*n[1]+i*n[4]+o*n[7],t[2]=r*n[2]+i*n[5]+o*n[8],t},e.transformQuat=function(t,e,n){var r=n[0],i=n[1],o=n[2],a=n[3],u=e[0],s=e[1],c=e[2],l=i*c-o*s,f=o*u-r*c,h=r*s-i*u,d=i*h-o*f,p=o*l-r*h,v=r*f-i*l,g=2*a;return l*=g,f*=g,h*=g,d*=2,p*=2,v*=2,t[0]=u+l+d,t[1]=s+f+p,t[2]=c+h+v,t},e.rotateX=function(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0],o[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),o[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},e.rotateY=function(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),o[1]=i[1],o[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},e.rotateZ=function(t,e,n,r){var i=[],o=[];return i[0]=e[0]-n[0],i[1]=e[1]-n[1],i[2]=e[2]-n[2],o[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),o[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),o[2]=i[2],t[0]=o[0]+n[0],t[1]=o[1]+n[1],t[2]=o[2]+n[2],t},e.angle=function(t,e){var n=a(t[0],t[1],t[2]),r=a(e[0],e[1],e[2]);d(n,n),d(r,r);var i=p(n,r);return i>1?0:i<-1?Math.PI:Math.acos(i)},e.str=function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},e.exactEquals=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]},e.equals=function(t,e){var n=t[0],i=t[1],o=t[2],a=e[0],u=e[1],s=e[2];return Math.abs(n-a)<=r.EPSILON*Math.max(1,Math.abs(n),Math.abs(a))&&Math.abs(i-u)<=r.EPSILON*Math.max(1,Math.abs(i),Math.abs(u))&&Math.abs(o-s)<=r.EPSILON*Math.max(1,Math.abs(o),Math.abs(s))};var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(78));function i(){var t=new r.ARRAY_TYPE(3);return r.ARRAY_TYPE!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0),t}function o(t){var e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function a(t,e,n){var i=new r.ARRAY_TYPE(3);return i[0]=t,i[1]=e,i[2]=n,i}function u(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function s(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function c(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function l(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return Math.sqrt(n*n+r*r+i*i)}function f(t,e){var n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2];return n*n+r*r+i*i}function h(t){var e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function d(t,e){var n=e[0],r=e[1],i=e[2],o=n*n+r*r+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o,t[2]=e[2]*o),t}function p(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}var v;e.sub=u,e.mul=s,e.div=c,e.dist=l,e.sqrDist=f,e.len=o,e.sqrLen=h,e.forEach=(v=i(),function(t,e,n,r,i,o){var a=void 0,u=void 0;for(e||(e=3),n||(n=0),u=r?Math.min(r*e+n,t.length):t.length,a=n;a<u;a+=e)v[0]=t[a],v[1]=t[a+1],v[2]=t[a+2],i(v,v,o),t[a]=v[0],t[a+1]=v[1],t[a+2]=v[2];return t})},function(t,e,n){var r=n(6),i=n(11),o=n(150),a=[0,1,1.2,1.5,1.6,2,2.2,2.4,2.5,3,4,5,6,7.5,8,10],u=[0,1,2,4,5,10];t.exports=function(t){var e=t.min,n=t.max,s=t.interval,c=t.minTickInterval,l=[],f=t.minCount||5,h=t.maxCount||7,d=f===h,p=r(t.minLimit)?-1/0:t.minLimit,v=r(t.maxLimit)?1/0:t.maxLimit,g=(f+h)/2,y=g,m=t.snapArray?t.snapArray:d?a:u;if(e===p&&n===v&&d&&(s=(n-e)/(y-1)),r(e)&&(e=0),r(n)&&(n=0),n===e&&(0===e?n=1:e>0?e=0:n=0,n-e<5&&!s&&n-e>=1&&(s=1)),r(s)){var b=(n-e)/(g-1);s=o.snapFactorTo(b,m,"ceil"),h!==f&&((y=parseInt((n-e)/s,10))>h&&(y=h),y<f&&(y=f),s=o.snapFactorTo((n-e)/(y-1),m,"floor"))}if(i(c)&&s<c&&(s=c),t.interval||h!==f)n=Math.min(o.snapMultiple(n,s,"ceil"),v),e=Math.max(o.snapMultiple(e,s,"floor"),p),y=Math.round((n-e)/s),e=o.fixedBase(e,s),n=o.fixedBase(n,s);else{g=parseInt(g,10);var x,w=(n+e)/2,_=o.snapMultiple(w,s,"ceil"),S=Math.floor((g-2)/2),k=_+S*s;for(x=g%2==0?_-S*s:_-(S+1)*s;k<n;)k=o.fixedBase(k+s,s);for(;x>e;)x=o.fixedBase(x-s,s);n=k,e=x}n=Math.min(n,v),e=Math.max(e,p),l.push(e);for(var E=1;E<y;E++){var O=o.fixedBase(s*E+e,s);O<n&&l.push(O)}return l[l.length-1]<n&&l.push(n),{min:e,max:n,interval:s,count:y,ticks:l}}},function(t,e,n){var r=n(150),i=n(6),o=[1,2,4,6,8,12],a=36e5,u=864e5;function s(t){return new Date(t).getFullYear()}function c(t){return new Date(t,0,1).getTime()}function l(t){return new Date(t).getMonth()}function f(t,e){return new Date(t,e,1).getTime()}t.exports=function(t){var e,n=t.minInterval,h=[],d=t.min,p=t.max,v=t.interval;if(p===d&&(p=d+u),i(v)){var g=u,y=365*g;v=parseInt((p-d)/(t.maxCount||6),10),n&&n>v&&(v=n);var m=v/y,b=s(d);if(m>.51){for(var x=Math.ceil(m),w=s(p),_=b;_<=w+x;_+=x)h.push(c(_));v=null}else if(m>.0834){for(var S=Math.ceil(m/.0834),k=l(d),E=function(t,e){var n=s(t),r=s(e),i=l(t);return 12*(r-n)+(l(e)-i)%12}(d,p),O=0;O<=E+S;O+=S)h.push(f(b,O+k));v=null}else if(v>.5*g){var C=new Date(d),A=C.getFullYear(),T=C.getMonth(d),M=C.getDate(),P=Math.ceil(v/g),j=function(t,e){return Math.ceil((e-t)/u)}(d,p);v=P*g;for(var D=0;D<j+P;D+=P)h.push(new Date(A,T,M+D).getTime())}else if(v>a){var I=new Date(d),N=I.getFullYear(),F=I.getMonth(d),R=I.getDate(),L=I.getHours(),B=r.snapTo(o,Math.ceil(v/a)),z=function(t,e){return Math.ceil((e-t)/a)}(d,p);v=B*a;for(var V=0;V<=z+B;V+=B)h.push(new Date(N,F,R,L+V).getTime())}else if(v>6e4){var U=function(t,e){return Math.ceil((e-t)/6e4)}(d,p),H=Math.ceil(v/6e4);v=6e4*H;for(var W=0;W<=U+H;W+=H)h.push(d+6e4*W)}else{v<1e3&&(v=1e3),d=1e3*Math.floor(d/1e3);var q=Math.ceil((p-d)/1e3),G=Math.ceil(v/1e3);v=1e3*G;for(var Y=0;Y<q+G;Y+=G)h.push(d+1e3*Y)}}if(!h.length){d=1e3*Math.floor(d/1e3),e=((p=1e3*Math.ceil(p/1e3))-d)/v;for(var X=0;X<=e;X++)h.push(r.fixedBase(v*X+d,v))}return{max:p,min:d,interval:v,ticks:h,count:h.length}}},function(t,e,n){var r=n(26),i=n(11),o=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.isIdentity=!0,this.type="identity",this.value=null},o.getText=function(){return this.value.toString()},o.scale=function(t){return this.value!==t&&i(t)?t:this.range[0]},o.invert=function(){return this.value},r}(r);r.Identity=o,t.exports=o},function(t,e,n){var r=n(2),i=n(26);function o(t,e){return 1===t?1:Math.log(e)/Math.log(t)}var a=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.type="log",this.tickCount=10,this.base=2,this._minTick=null},a.calculateTicks=function(){var t,e=this.base;if(this.min<0)throw new Error("The minimum value must be greater than zero!");var n=o(e,this.max);if(this.min>0)t=Math.floor(o(e,this.min));else{var i=this.values,a=this.max;r(i,function(t){t>0&&t<a&&(a=t)}),a===this.max&&(a=this.max/e),a>1&&(a=1),t=Math.floor(o(e,a)),this._minTick=t,this.positiveMin=a}for(var u=n-t,s=this.tickCount,c=Math.ceil(u/s),l=[],f=t;f<n+c;f+=c)l.push(Math.pow(e,f));return 0===this.min&&l.unshift(0),l},a._getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;if(t<=0)return 0;var r=this.base,i=this.positiveMin;return i&&(n=1*i/r),t<i?t/i/(o(r,e)-o(r,n)):(o(r,t)-o(r,n))/(o(r,e)-o(r,n))},a.scale=function(t){var e=this._getScalePercent(t),n=this.rangeMin();return n+e*(this.rangeMax()-n)},a.invert=function(t){var e,n=this.base,r=o(n,this.max),i=this.rangeMin(),a=this.rangeMax()-i,u=this.positiveMin;if(u){if(0===t)return 0;var s=1/(r-(e=o(n,u/n)))*a;if(t<s)return t/s*u}else e=o(n,this.min);var c=(t-i)/a*(r-e)+e;return Math.pow(n,c)},i}(n(51));i.Log=a,t.exports=a},function(t,e,n){var r=n(26);function i(t,e){var n=Math.E;return Math.pow(n,Math.log(e)/t)}var o=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.type="pow",this.tickCount=10,this.exponent=2},o.calculateTicks=function(){var t,e=this.exponent,n=Math.ceil(i(e,this.max));if((t=this.min>=0?Math.floor(i(e,this.min)):0)>n){var r=n;n=t,t=r}for(var o=n-t,a=this.tickCount,u=Math.ceil(o/a),s=[],c=t;c<n+u;c+=u)s.push(Math.pow(c,e));return s},o._getScalePercent=function(t){var e=this.max,n=this.min;if(e===n)return 0;var r=this.exponent;return(i(r,t)-i(r,n))/(i(r,e)-i(r,n))},o.scale=function(t){var e=this._getScalePercent(t),n=this.rangeMin();return n+e*(this.rangeMax()-n)},o.invert=function(t){var e=(t-this.rangeMin())/(this.rangeMax()-this.rangeMin()),n=this.exponent,r=i(n,this.max),o=i(n,this.min),a=e*(r-o)+o;return Math.pow(a,n)},r}(n(51));r.Pow=o,t.exports=o},function(t,e,n){var r=n(26),i=n(151),o=n(220),a=n(149),u=n(52),s=n(2),c=n(11),l=n(39),f=n(15),h=function(t){var e,n;function r(){return t.apply(this,arguments)||this}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.type="timeCat",this.sortable=!0,this.tickCount=5,this.mask="YYYY-MM-DD"},i.init=function(){var t=this,e=this.values;s(e,function(n,r){e[r]=t._toTimeStamp(n)}),this.sortable&&e.sort(function(t,e){return t-e}),t.ticks||(t.ticks=this.calculateTicks())},i.calculateTicks=function(){var t,e=this.tickCount;e?t=a({maxCount:e,data:this.values,isRounding:this.isRounding}).ticks:t=this.values;return t},i.translate=function(t){t=this._toTimeStamp(t);var e=this.values.indexOf(t);return-1===e&&(e=c(t)&&t<this.values.length?t:NaN),e},i.scale=function(t){var e=this.rangeMin(),n=this.rangeMax(),r=this.translate(t);return e+(1===this.values.length||isNaN(r)?r:r>-1?r/(this.values.length-1):0)*(n-e)},i.getText=function(t){var e="",n=this.translate(t);e=n>-1?this.values[n]:t;var r=this.formatter;return e=parseInt(e,10),e=r?r(e):o.format(e,this.mask)},i.getTicks=function(){var t=this,e=this.ticks,n=[];return s(e,function(e){var r;r=l(e)?e:{text:f(e)?e:t.getText(e),value:t.scale(e),tickValue:e},n.push(r)}),n},i._toTimeStamp=function(t){return u.toTimeStamp(t)},r}(i);r.TimeCat=h,t.exports=h},function(t,e,n){var r=n(220),i=n(2),o=n(6),a=n(15),u=n(26),s=n(51),c=n(351),l=n(52),f=function(t){var e,n;function u(){return t.apply(this,arguments)||this}n=t,(e=u).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var s=u.prototype;return s._initDefaultCfg=function(){t.prototype._initDefaultCfg.call(this),this.type="time",this.mask="YYYY-MM-DD"},s.init=function(){var e=this,n=e.values;if(n&&n.length){var r=[],a=1/0,u=a,s=0;i(n,function(t){var n=e._toTimeStamp(t);if(isNaN(n))throw new TypeError("Invalid Time: "+t);a>n?(u=a,a=n):u>n&&(u=n),s<n&&(s=n),r.push(n)}),n.length>1&&(e.minTickInterval=u-a),(o(e.min)||e._toTimeStamp(e.min)>a)&&(e.min=a),(o(e.max)||e._toTimeStamp(e.max)<s)&&(e.max=s)}t.prototype.init.call(this)},s.calculateTicks=function(){var t=this.min,e=this.max,n=this.tickCount,r=this.tickInterval;return c({min:t,max:e,minCount:n,maxCount:n,interval:r,minInterval:this.minTickInterval}).ticks},s.getText=function(t){var e=this.formatter;return t=this.translate(t),t=e?e(t):r.format(t,this.mask)},s.scale=function(e){return a(e)&&(e=this.translate(e)),t.prototype.scale.call(this,e)},s.translate=function(t){return this._toTimeStamp(t)},s._toTimeStamp=function(t){return l.toTimeStamp(t)},u}(s);u.Time=f,t.exports=f},function(t,e,n){var r=n(82),i=n(53);t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return r(t,function(t){return!i(e,t)})}},function(t,e,n){var r=n(14),i=n(40),o=n(175);t.exports=function(t,e){var n=void 0;if(r(e)&&(n=e),i(e)&&(n=function(t){return o(t,e)}),n)for(var a=0;a<t.length;a+=1)if(n(t[a]))return t[a];return null}},function(t,e,n){var r=n(6),i=n(4);t.exports=function(t,e){for(var n=null,o=0;o<t.length;o++){var a=t[o][e];if(!r(a)){n=i(a)?a[0]:a;break}}return n}},function(t,e,n){var r=n(4);t.exports=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(r(e))for(var i=0;i<e.length;i+=1)t(e[i],n);else n.push(e);return n}},function(t,e,n){var r=n(4),i=n(2);t.exports=function(t){if(!r(t))return t;var e=[];return i(t,function(t){r(t)?i(t,function(t){e.push(t)}):e.push(t)}),e}},function(t,e,n){var r=n(82),i=n(4);t.exports=function(t){if(!(t=r(t,function(t){return!isNaN(t)})).length)return{min:0,max:0};if(i(t[0])){for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);t=e}var o=Math.max.apply(null,t);return{min:Math.min.apply(null,t),max:o}}},function(t,e,n){t.exports={contains:n(53),difference:n(357),find:n(358),firstValue:n(359),flatten:n(361),flattenDeep:n(360),getRange:n(362),merge:n(54),pull:n(154),pullAt:n(153),reduce:n(364),remove:n(365),sortBy:n(366),union:n(367),uniq:n(155),valuesOfKey:n(79)}},function(t,e,n){var r=n(4),i=n(40),o=n(2);t.exports=function(t,e,n){if(!r(t)&&!i(t))return t;var a=n;return o(t,function(t,n){a=e(a,t,n)}),a}},function(t,e,n){var r=n(21),i=n(153);t.exports=function(t,e){var n=[];if(!r(t))return n;for(var o=-1,a=[],u=t.length;++o<u;){var s=t[o];e(s,o,t)&&(n.push(s),a.push(o))}return i(t,a),n}},function(t,e,n){var r=n(15),i=n(14),o=n(4);t.exports=function(t,e){var n=void 0;if(i(e))n=function(t,n){return e(t)-e(n)};else{var a=[];r(e)?a.push(e):o(e)&&(a=e),n=function(t,e){for(var n=0;n<a.length;n+=1){var r=a[n];if(t[r]>e[r])return 1;if(t[r]<e[r])return-1}return 0}}return t.sort(n),t}},function(t,e,n){var r=n(2),i=n(57),o=n(155);t.exports=function(){var t=[],e=i(arguments);return r(e,function(e){t=t.concat(e)}),o(t)}},function(t,e){t.exports=function(t,e,n){var r=void 0;return function(){var i=this,o=arguments,a=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(i,o)},e),a&&t.apply(i,o)}}},function(t,e){t.exports=function(t,e,n){if(t){if(t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if(t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}},function(t,e){t.exports=function(t,e){if(t&&t.getBoundingClientRect){var n=t.getBoundingClientRect(),r=document.documentElement.clientTop,i=document.documentElement.clientLeft;return{top:n.top-r,bottom:n.bottom-r,left:n.left-i,right:n.right-i}}return e||null}},function(t,e){t.exports=function(t,e){var n=this.getStyle(t,"height",e);return"auto"===n&&(n=t.offsetHeight),parseFloat(n)}},function(t,e){t.exports=function(t,e){var n=this.getHeight(t,e),r=parseFloat(this.getStyle(t,"borderTopWidth"))||0,i=parseFloat(this.getStyle(t,"paddingTop"))||0,o=parseFloat(this.getStyle(t,"paddingBottom"))||0;return n+r+(parseFloat(this.getStyle(t,"borderBottomWidth"))||0)+i+o}},function(t,e){t.exports=function(t,e){var n=this.getWidth(t,e),r=parseFloat(this.getStyle(t,"borderLeftWidth"))||0,i=parseFloat(this.getStyle(t,"paddingLeft"))||0,o=parseFloat(this.getStyle(t,"paddingRight"))||0;return n+r+(parseFloat(this.getStyle(t,"borderRightWidth"))||0)+i+o}},function(t,e){t.exports=function(){return window.devicePixelRatio?window.devicePixelRatio:2}},function(t,e,n){var r=n(6);t.exports=function(t,e,n){try{return window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.currentStyle[e]}catch(t){return r(n)?null:n}}},function(t,e){t.exports=function(t,e){var n=this.getStyle(t,"width",e);return"auto"===n&&(n=t.offsetWidth),parseFloat(n)}},function(t,e,n){t.exports={addEventListener:n(369),createDom:n(157),getBoundingClientRect:n(370),getHeight:n(371),getOuterHeight:n(372),getOuterWidth:n(373),getRatio:n(374),getStyle:n(375),getWidth:n(376),modifyCSS:n(158),requestAnimationFrame:n(159)}},function(t,e){t.exports=function(t,e){return t["_wrap_"+e]}},function(t,e,n){t.exports={getWrapBehavior:n(378),wrapBehavior:n(380)}},function(t,e){t.exports=function(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}},function(t,e,n){var r=n(382);t.exports={number2color:r,numberToColor:r,parsePath:n(383),parseRadius:n(384)}},function(t,e){var n={};t.exports=function(t){var e=n[t];if(!e){for(var r=t.toString(16),i=r.length;i<6;i++)r="0"+r;e="#"+r,n[t]=e}return e}},function(t,e,n){var r=n(4),i=n(15),o=n(2),a=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,u=/[^\s\,]+/gi;t.exports=function(t){return r(t=t||[])?t:i(t)?(t=t.match(a),o(t,function(e,n){if((e=e.match(u))[0].length>1){var r=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=r}o(e,function(t,n){isNaN(t)||(e[n]=+t)}),t[n]=e}),t):void 0}},function(t,e,n){var r=n(4);t.exports=function(t){var e=0,n=0,i=0,o=0;return r(t)?1===t.length?e=n=i=o=t[0]:2===t.length?(e=i=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],o=t[3]):e=n=i=o=t,{r1:e,r2:n,r3:i,r4:o}}},function(t,e,n){var r=n(21);t.exports=function(t,e){if(!r(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var i=-1,o=0;o<t.length;o++)if(t[o]===e){i=o;break}return i}},function(t,e,n){var r=n(14),i=n(83);t.exports=function(t,e,n){return r(n)?!!n(t,e):i(t,e)}},function(t,e,n){var r=n(2),i=n(21);t.exports=function(t,e){if(!i(t))return t;var n=[];return r(t,function(t,r){n.push(e(t,r))}),n}},function(t,e){t.exports=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var i=n.substr(r+1).length;return i>20&&(i=20),parseFloat(t.toFixed(i))}},function(t,e,n){var r=n(55);t.exports={clamp:n(84),fixedBase:n(388),isDecimal:n(390),isEven:n(391),isInteger:n(392),isNegative:n(393),isNumberEqual:r,isOdd:n(394),isPositive:n(395),maxBy:n(166),minBy:n(396),mod:n(167),snapEqual:r,toDegree:n(168),toInt:n(169),toInteger:n(169),toRadian:n(170)}},function(t,e,n){var r=n(11);t.exports=function(t){return r(t)&&t%1!=0}},function(t,e,n){var r=n(11);t.exports=function(t){return r(t)&&t%2==0}},function(t,e,n){var r=n(11),i=Number.isInteger?Number.isInteger:function(t){return r(t)&&t%1==0};t.exports=i},function(t,e,n){var r=n(11);t.exports=function(t){return r(t)&&t<0}},function(t,e,n){var r=n(11);t.exports=function(t){return r(t)&&t%2!=0}},function(t,e,n){var r=n(11);t.exports=function(t){return r(t)&&t>0}},function(t,e,n){var r=n(4),i=n(14),o=n(2);t.exports=function(t,e){if(r(t)){var n=t[0],a=void 0;a=i(e)?e(t[0]):t[0][e];var u=void 0;return o(t,function(t){(u=i(e)?e(t):t[e])<a&&(n=t,a=u)}),n}}},function(t,e,n){t.exports=n(2)},function(t,e,n){t.exports=n(174)},function(t,e,n){var r=n(53),i=n(177);t.exports=function(t,e){return r(i(t),e)}},function(t,e,n){t.exports={forIn:n(397),has:n(174),hasKey:n(398),hasValue:n(399),keys:n(176),isMatch:n(175),values:n(177)}},function(t,e,n){var r=n(405);function i(t,e,n){var r=null,i=n;return e<i&&(i=e,r="add"),t<i&&(i=t,r="del"),{type:r,min:i}}t.exports=function(t,e){var n=function(t,e){var n=t.length,o=e.length,a=void 0,u=void 0,s=0;if(0===n||0===o)return null;for(var c=[],l=0;l<=n;l++)c[l]=[],c[l][0]={min:l};for(var f=0;f<=o;f++)c[0][f]={min:f};for(var h=1;h<=n;h++){a=t[h-1];for(var d=1;d<=o;d++){u=e[d-1],s=r(a,u)?0:1;var p=c[h-1][d].min+1,v=c[h][d-1].min+1,g=c[h-1][d-1].min+s;c[h][d]=i(p,v,g)}}return c}(t,e),o=t.length,a=e.length,u=[],s=1,c=1;if(n[o][a]!==o){for(var l=1;l<=o;l++){var f=n[l][l].min;c=l;for(var h=s;h<=a;h++)n[l][h].min<f&&(f=n[l][h].min,c=h);s=c,n[l][s].type&&u.push({index:l-1,type:n[l][s].type})}for(var d=u.length-1;d>=0;d--)s=u[d].index,"add"===u[d].type?t.splice(s,0,[].concat(t[s])):t.splice(s,1)}if((o=t.length)<a)for(var p=0;p<a-o;p++)"z"===t[o-1][0]||"Z"===t[o-1][0]?t.splice(o-2,0,t[o-2]):t.push(t[o-1]);return t}},function(t,e){function n(t,e){var n=[],r=[];return t.length&&function t(e,i){if(1===e.length)n.push(e[0]),r.push(e[0]);else{for(var o=[],a=0;a<e.length-1;a++)0===a&&n.push(e[0]),a===e.length-2&&r.push(e[a+1]),o[a]=[(1-i)*e[a][0]+i*e[a+1][0],(1-i)*e[a][1]+i*e[a+1][1]];t(o,i)}}(t,e),{left:n,right:r.reverse()}}function r(t,e,r){if(1===r)return[[].concat(t)];var i=[];if("L"===e[0]||"C"===e[0]||"Q"===e[0])i=i.concat(function(t,e,r){var i=[[t[1],t[2]]];r=r||2;var o=[];"A"===e[0]?(i.push(e[6]),i.push(e[7])):"C"===e[0]?(i.push([e[1],e[2]]),i.push([e[3],e[4]]),i.push([e[5],e[6]])):"S"===e[0]||"Q"===e[0]?(i.push([e[1],e[2]]),i.push([e[3],e[4]])):i.push([e[1],e[2]]);for(var a=i,u=1/r,s=0;s<r-1;s++){var c=n(a,u/(1-u*s));o.push(c.left),a=c.right}return o.push(a),o.map(function(t){var e=[];return 4===t.length&&(e.push("C"),e=e.concat(t[2])),t.length>=3&&(3===t.length&&e.push("Q"),e=e.concat(t[1])),2===t.length&&e.push("L"),e=e.concat(t[t.length-1])})}(t,e,r));else{var o=[].concat(t);"M"===o[0]&&(o[0]="L");for(var a=0;a<=r-1;a++)i.push(o)}return i}t.exports=function(t,e){if(1===t.length)return t;var n=t.length-1,i=e.length-1,o=n/i,a=[];if(1===t.length&&"M"===t[0][0]){for(var u=0;u<i-n;u++)t.push(t[0]);return t}for(var s=0;s<i;s++){var c=Math.floor(o*s);a[c]=(a[c]||0)+1}var l=a.reduce(function(e,i,o){return o===n?e.concat(t[n]):e.concat(r(t[o],t[o+1],i))},[]);return l.unshift(t[0]),"Z"!==e[i]&&"z"!==e[i]||l.push("Z"),l}},function(t,e){function n(t){var e=[];switch(t[0]){case"M":case"L":e.push([t[1],t[2]]);break;case"A":e.push([t[6],t[7]]);break;case"Q":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"T":e.push([t[1],t[2]]);break;case"C":e.push([t[5],t[6]]),e.push([t[1],t[2]]),e.push([t[3],t[4]]);break;case"S":e.push([t[3],t[4]]),e.push([t[1],t[2]]);break;case"H":case"V":e.push([t[1],t[1]])}return e}function r(t,e,r){for(var i=[].concat(t),o=void 0,a=1/(r+1),u=n(e)[0],s=1;s<=r;s++)a*=s,0===(o=Math.floor(t.length*a))?i.unshift([u[0]*a+t[o][0]*(1-a),u[1]*a+t[o][1]*(1-a)]):i.splice(o,0,[u[0]*a+t[o][0]*(1-a),u[1]*a+t[o][1]*(1-a)]);return i}t.exports=function(t,e){if(t.length<=1)return t;for(var i=void 0,o=0;o<e.length;o++)if(t[o][0]!==e[o][0])switch(i=n(t[o]),e[o][0]){case"M":t[o]=["M"].concat(i[0]);break;case"L":t[o]=["L"].concat(i[0]);break;case"A":t[o]=[].concat(e[o]),t[o][6]=i[0][0],t[o][7]=i[0][1];break;case"Q":if(i.length<2){if(!(o>0)){t[o]=e[o];break}i=r(i,t[o-1],1)}t[o]=["Q"].concat(i.reduce(function(t,e){return t.concat(e)},[]));break;case"T":t[o]=["T"].concat(i[0]);break;case"C":if(i.length<3){if(!(o>0)){t[o]=e[o];break}i=r(i,t[o-1],2)}t[o]=["C"].concat(i.reduce(function(t,e){return t.concat(e)},[]));break;case"S":if(i.length<2){if(!(o>0)){t[o]=e[o];break}i=r(i,t[o-1],1)}t[o]=["S"].concat(i.reduce(function(t,e){return t.concat(e)},[]));break;default:t[o]=e[o]}return t}},function(t,e,n){var r=n(406),i=n(181),o=n(182),a=n(178);t.exports={catmullRom2Bezier:a,catmullRomToBezier:a,fillPath:n(402),fillPathByDiff:n(401),formatPath:n(403),intersection:r,pathIntersection:r,parsePathArray:n(179),parsePathString:n(180),pathToAbsolute:i,path2absolute:i,pathTocurve:o,path2curve:o,rectPath:n(183)}},function(t,e,n){var r=n(2);t.exports=function(t,e){if(t.length!==e.length)return!1;var n=!0;return r(t,function(t,r){if(t!==e[r])return n=!1,!1}),n}},function(t,e,n){var r=n(4),i=n(183),o=n(182),a=function(t,e,n,r,i){return t*(t*(-3*e+9*n-9*r+3*i)+6*e-12*n+6*r)-3*e+3*n},u=function(t,e,n,r,i,o,u,s,c){null===c&&(c=1);for(var l=(c=c>1?1:c<0?0:c)/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],h=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],d=0,p=0;p<12;p++){var v=l*f[p]+l,g=a(v,t,n,i,u),y=a(v,e,r,o,s),m=g*g+y*y;d+=h[p]*Math.sqrt(m)}return l*d},s=function(t,e,n,r,i,o,a,u){if(!(Math.max(t,n)<Math.min(i,a)||Math.min(t,n)>Math.max(i,a)||Math.max(e,r)<Math.min(o,u)||Math.min(e,r)>Math.max(o,u))){var s=(t-n)*(o-u)-(e-r)*(i-a);if(s){var c=((t*r-e*n)*(i-a)-(t-n)*(i*u-o*a))/s,l=((t*r-e*n)*(o-u)-(e-r)*(i*u-o*a))/s,f=+c.toFixed(2),h=+l.toFixed(2);if(!(f<+Math.min(t,n).toFixed(2)||f>+Math.max(t,n).toFixed(2)||f<+Math.min(i,a).toFixed(2)||f>+Math.max(i,a).toFixed(2)||h<+Math.min(e,r).toFixed(2)||h>+Math.max(e,r).toFixed(2)||h<+Math.min(o,u).toFixed(2)||h>+Math.max(o,u).toFixed(2)))return{x:c,y:l}}}},c=function(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height},l=function(t,e,n,r){return null===t&&(t=e=n=r=0),null===e&&(e=t.y,n=t.width,r=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:r,h:r,x2:t+n,y2:e+r,cx:t+n/2,cy:e+r/2,r1:Math.min(n,r)/2,r2:Math.max(n,r)/2,r0:Math.sqrt(n*n+r*r)/2,path:i(t,e,n,r),vb:[t,e,n,r].join(" ")}},f=function(t,e,n,i,o,a,u,s){r(t)||(t=[t,e,n,i,o,a,u,s]);var c=function(t,e,n,r,i,o,a,u){for(var s=[],c=[[],[]],l=void 0,f=void 0,h=void 0,d=void 0,p=0;p<2;++p)if(0===p?(f=6*t-12*n+6*i,l=-3*t+9*n-9*i+3*a,h=3*n-3*t):(f=6*e-12*r+6*o,l=-3*e+9*r-9*o+3*u,h=3*r-3*e),Math.abs(l)<1e-12){if(Math.abs(f)<1e-12)continue;(d=-h/f)>0&&d<1&&s.push(d)}else{var v=f*f-4*h*l,g=Math.sqrt(v);if(!(v<0)){var y=(-f+g)/(2*l);y>0&&y<1&&s.push(y);var m=(-f-g)/(2*l);m>0&&m<1&&s.push(m)}}for(var b=s.length,x=b,w=void 0;b--;)w=1-(d=s[b]),c[0][b]=w*w*w*t+3*w*w*d*n+3*w*d*d*i+d*d*d*a,c[1][b]=w*w*w*e+3*w*w*d*r+3*w*d*d*o+d*d*d*u;return c[0][x]=t,c[1][x]=e,c[0][x+1]=a,c[1][x+1]=u,c[0].length=c[1].length=x+2,{min:{x:Math.min.apply(0,c[0]),y:Math.min.apply(0,c[1])},max:{x:Math.max.apply(0,c[0]),y:Math.max.apply(0,c[1])}}}.apply(null,t);return l(c.min.x,c.min.y,c.max.x-c.min.x,c.max.y-c.min.y)},h=function(t,e,n,r,i,o,a,u,s){var c=1-s,l=Math.pow(c,3),f=Math.pow(c,2),h=s*s,d=h*s,p=t+2*s*(n-t)+h*(i-2*n+t),v=e+2*s*(r-e)+h*(o-2*r+e),g=n+2*s*(i-n)+h*(a-2*i+n),y=r+2*s*(o-r)+h*(u-2*o+r);return{x:l*t+3*f*s*n+3*c*s*s*i+d*a,y:l*e+3*f*s*r+3*c*s*s*o+d*u,m:{x:p,y:v},n:{x:g,y:y},start:{x:c*t+s*n,y:c*e+s*r},end:{x:c*i+s*a,y:c*o+s*u},alpha:90-180*Math.atan2(p-g,v-y)/Math.PI}},d=function(t,e,n){if(!function(t,e){return t=l(t),e=l(e),c(e,t.x,t.y)||c(e,t.x2,t.y)||c(e,t.x,t.y2)||c(e,t.x2,t.y2)||c(t,e.x,e.y)||c(t,e.x2,e.y)||c(t,e.x,e.y2)||c(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}(f(t),f(e)))return n?0:[];for(var r=~~(u.apply(0,t)/8),i=~~(u.apply(0,e)/8),o=[],a=[],d={},p=n?0:[],v=0;v<r+1;v++){var g=h.apply(0,t.concat(v/r));o.push({x:g.x,y:g.y,t:v/r})}for(var y=0;y<i+1;y++){var m=h.apply(0,e.concat(y/i));a.push({x:m.x,y:m.y,t:y/i})}for(var b=0;b<r;b++)for(var x=0;x<i;x++){var w=o[b],_=o[b+1],S=a[x],k=a[x+1],E=Math.abs(_.x-w.x)<.001?"y":"x",O=Math.abs(k.x-S.x)<.001?"y":"x",C=s(w.x,w.y,_.x,_.y,S.x,S.y,k.x,k.y);if(C){if(d[C.x.toFixed(4)]===C.y.toFixed(4))continue;d[C.x.toFixed(4)]=C.y.toFixed(4);var A=w.t+Math.abs((C[E]-w[E])/(_[E]-w[E]))*(_.t-w.t),T=S.t+Math.abs((C[O]-S[O])/(k[O]-S[O]))*(k.t-S.t);A>=0&&A<=1&&T>=0&&T<=1&&(n?p++:p.push({x:C.x,y:C.y,t1:A,t2:T}))}}return p};t.exports=function(t,e){return function(t,e,n){t=o(t),e=o(e);for(var r=void 0,i=void 0,a=void 0,u=void 0,s=void 0,c=void 0,l=void 0,f=void 0,h=void 0,p=void 0,v=n?0:[],g=0,y=t.length;g<y;g++){var m=t[g];if("M"===m[0])r=s=m[1],i=c=m[2];else{"C"===m[0]?(h=[r,i].concat(m.slice(1)),r=h[6],i=h[7]):(h=[r,i,r,i,s,c,s,c],r=s,i=c);for(var b=0,x=e.length;b<x;b++){var w=e[b];if("M"===w[0])a=l=w[1],u=f=w[2];else{"C"===w[0]?(p=[a,u].concat(w.slice(1)),a=p[6],u=p[7]):(p=[a,u,a,u,l,f,l,f],a=l,u=f);var _=d(h,p,n);if(n)v+=_;else{for(var S=0,k=_.length;S<k;S++)_[S].segment1=g,_[S].segment2=b,_[S].bez1=h,_[S].bez2=p;v=v.concat(_)}}}}}return v}(t,e)}},function(t,e,n){var r=n(2),i=n(40),o=Object.prototype.hasOwnProperty;t.exports=function(t,e){if(null===t||!i(t))return{};var n={};return r(e,function(e){o.call(t,e)&&(n[e]=t[e])}),n}},function(t,e,n){var r={lc:n(409),lowerCase:n(184),lowerFirst:n(185),substitute:n(410),uc:n(411),upperCase:n(186),upperFirst:n(187)};t.exports=r},function(t,e,n){t.exports=n(184)},function(t,e){t.exports=function(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]}):t}},function(t,e,n){t.exports=n(186)},function(t,e){t.exports=function(t,e,n){var r=void 0,i=void 0,o=void 0,a=void 0,u=0;n||(n={});var s=function(){u=!1===n.leading?0:Date.now(),r=null,a=t.apply(i,o),r||(i=o=null)},c=function(){var c=Date.now();u||!1!==n.leading||(u=c);var l=e-(c-u);return i=this,o=arguments,l<=0||l>e?(r&&(clearTimeout(r),r=null),u=c,a=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(r),u=0,r=i=o=null},c}},function(t,e,n){var r=n(17),i={getType:n(188),isArray:n(4),isArrayLike:n(21),isBoolean:n(189),isFunction:n(14),isNil:n(6),isNull:n(416),isNumber:n(11),isObject:n(39),isObjectLike:n(86),isPlainObject:n(40),isPrototype:n(191),isType:r,isUndefined:n(418),isString:n(15),isRegExp:n(417),isDate:n(190),isArguments:n(414),isError:n(415)};t.exports=i},function(t,e,n){var r=n(17);t.exports=function(t){return r(t,"Arguments")}},function(t,e,n){var r=n(17);t.exports=function(t){return r(t,"Error")}},function(t,e){t.exports=function(t){return null===t}},function(t,e,n){var r=n(17);t.exports=function(t){return r(t,"RegExp")}},function(t,e){t.exports=function(t){return void 0===t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(24),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default.generateBaseTypedComponent("Axis")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=a(n(42)),o=a(n(29));function a(t){return t&&t.__esModule?t:{default:t}}(0,a(n(223)).default)(i.default.PureComponent,"`React.PureComponent` needs React >=15.3.0");var u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default.PureComponent||i.default.Component),r(e,[{key:"render",value:function(){var t=this.props,e=t.width,n=t.height,r=t.placeholder;return i.default.createElement("div",{style:{width:e,height:n}},r)}}]),e}();u.propTypes={width:o.default.oneOfType([o.default.string,o.default.number]),height:o.default.oneOfType([o.default.string,o.default.number]),placeholder:o.default.node},u.defaultProps={width:"100%",placeholder:i.default.createElement("div",{style:{position:"relative",top:"48%",textAlign:"center"}},"暂无数据")},e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=c(n(42)),a=c(n(422)),u=c(n(420)),s=c(n(424));function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function h(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function d(t){var e=!0;return(null==t||0===t.length||t.rows&&0===t.rows.length)&&(e=!1),!!e}var p=function(t){function e(){var t,n,r;l(this,e);for(var i=arguments.length,a=Array(i),u=0;u<i;u++)a[u]=arguments[u];return n=r=f(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),r._refCallback=function(t){t&&(r.chart=t.getG2Instance())},r.hasViewSource=function(){var t=!1;return o.default.Children.map(r.props.children,function(e){!t&&e&&"function"==typeof e.type&&"View"===e.type.name&&e.props.data&&d(e.props.data)&&(t=!0)}),t},f(r,n)}return h(e,o.default.PureComponent||o.default.Component),i(e,[{key:"getG2Instance",value:function(){return this.chart}},{key:"render",value:function(){var t=this.props,e=t.data,n=t.width,i=t.height,s=t.placeholder,c=t.className,l=t.style;return o.default.createElement("div",{className:c,style:l},d(e)||this.hasViewSource()||!s?o.default.createElement(a.default,r({ref:this._refCallback},this.props)):o.default.createElement(u.default,{width:n,height:i,placeholder:!0===s?void 0:s}))}}]),e}(),v=function(t){function e(){return l(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,o.default.Component),i(e,[{key:"render",value:function(){return o.default.createElement(s.default,null,o.default.createElement(p,this.props))}}]),e}();e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(42),a=f(o),u=f(n(29)),s=f(n(436)),c=f(n(542)),l=f(n(537));function f(t){return t&&t.__esModule?t:{default:t}}var h=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return d.call(n),n.name="Chart",n.gId=0,n.id=n.createId(),n.g2Processor=new s.default,n.forceFit=(0,l.default)(function(){n.chart&&n.chart.forceFit()},300),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.Component),i(e,[{key:"getChildContext",value:function(){return{addElement:this.addElement,updateElement:this.updateElement,deleteElement:this.deleteElement,createId:this.createId,getParentInfo:this.getParentInfo,getViewId:this.getViewId}}},{key:"componentDidMount",value:function(){if(this.addElement(this.name,this.id,r({},this.props,{container:this.containerWrap})),this.chart=this.g2Processor.createG2Instance(),this.notifyG2Instance(),this.props.forceFit){var t=new c.default(this.forceFit);t.observe(this.containerWrap),this.observe=t}}},{key:"componentDidUpdate",value:function(){this.updateElement(this.name,this.id,r({},this.props,{container:this.containerWrap}));var t=this.g2Processor.batchedUpdate();this.chart!==t&&(this.chart=t,this.notifyG2Instance())}},{key:"componentWillUnmount",value:function(){this.g2Processor.destory(),this.chart=null,this.forceFit&&this.forceFit.cancel(),this.observe&&this.observe.unobserve(this.containerWrap),this.containerWrap=null}},{key:"getG2Instance",value:function(){return this.chart}},{key:"notifyG2Instance",value:function(){this.props.onGetG2Instance&&this.props.onGetG2Instance(this.chart)}},{key:"render",value:function(){return a.default.createElement("div",{ref:this.refHandle},this.props.children)}}]),e}();h.propTypes={data:u.default.oneOfType([u.default.arrayOf(u.default.object),u.default.object]),scale:u.default.oneOfType([u.default.object,u.default.array]),animate:u.default.bool,width:u.default.number,height:u.default.number.isRequired,onGetG2Instance:u.default.func,forceFit:u.default.bool},h.childContextTypes={addElement:u.default.func,updateElement:u.default.func,deleteElement:u.default.func,createId:u.default.func,getParentInfo:u.default.func,getViewId:u.default.func};var d=function(){var t=this;this.getViewId=function(){},this.getParentInfo=function(){return{id:t.id,name:t.name}},this.createId=function(){return t.gId+=1,t.gId},this.addElement=function(e,n,r,i,o){return t.g2Processor.addElement(e,n,r,i,o)},this.updateElement=function(e,n,r,i,o){t.g2Processor.updateElement(e,n,r,i,o)},this.deleteElement=function(e,n,r){t.g2Processor.deleteElement(e,n,r)},this.refHandle=function(e){t.containerWrap||(t.containerWrap=e)}};e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(24),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default.generateBaseTypedComponent("Coord")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=n(42),a=(r=o)&&r.__esModule?r:{default:r};var u=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.state={hasError:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,a.default.Component),i(e,[{key:"shouldComponentUpdate",value:function(){return this.state.hasError&&this.setState({hasError:!1}),!0}},{key:"componentDidCatch",value:function(){this.setState({hasError:!0})}},{key:"unstable_handleError",value:function(){this.setState({hasError:!0})}},{key:"render",value:function(){return this.state.hasError?a.default.createElement("h1",null,"bizcharts error."):this.props.children}}]),e}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(284);var r,i=n(24),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default.generateBaseTypedComponent("Facet")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(291);var r,i=n(24),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default.generateBaseTypedComponent("Geom")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(24),o=(r=i)&&r.__esModule?r:{default:r};var a=o.default.generateBaseTypedComponent("Guide");a.Line=o.default.generateBaseTypedComponent("GuideLine"),a.Image=o.default.generateBaseTypedComponent("GuideImage"),a.Text=o.default.generateBaseTypedComponent("GuideText"),a.Region=o.default.generateBaseTypedComponent("GuideRegion"),a.Html=o.default.generateBaseTypedComponent("GuideHtml"),a.Arc=o.default.generateBaseTypedComponent("GuideArc"),a.RegionFilter=o.default.generateBaseTypedComponent("GuideRegionFilter"),a.DataMarker=o.default.generateBaseTypedComponent("GuideDataMarker"),a.DataRegion=o.default.generateBaseTypedComponent("GuideDataRegion"),e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=u(n(536)),o=u(n(24)),a=u(n(29));function u(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,"Label"))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,o.default),r(e,[{key:"componentWillMount",value:function(){var t=this.context.getParentInfo();(0,i.default)("Geom"===t.name,"`<Label />` must be wrapped in `<Geom />`"),this.id=this.context.createId(),this.context.addElement(this.name,this.id,this.props,this.context.getParentInfo(),this.context.getViewId())}}]),e}();s.contextTypes={addElement:a.default.func,updateElement:a.default.func,deleteElement:a.default.func,createId:a.default.func,getParentInfo:a.default.func,getViewId:a.default.func},s.childContextTypes={addElement:a.default.func,updateElement:a.default.func,deleteElement:a.default.func,createId:a.default.func,getParentInfo:a.default.func,getViewId:a.default.func},e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=o(n(24)),i=o(n(29));function o(t){return t&&t.__esModule?t:{default:t}}var a=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,"Legend"))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,r.default),e}();a.contextTypes={addElement:i.default.func,updateElement:i.default.func,deleteElement:i.default.func,createId:i.default.func,getParentInfo:i.default.func,getViewId:i.default.func},a.childContextTypes={addElement:i.default.func,updateElement:i.default.func,deleteElement:i.default.func,createId:i.default.func,getParentInfo:i.default.func,getViewId:i.default.func},a.defaultProps={visible:!0},e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(24),o=(r=i)&&r.__esModule?r:{default:r};e.default=o.default.generateBaseTypedComponent("Tooltip")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=a(n(24)),o=a(n(29));function a(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,"View"));return n.getViewId=function(){return n.id},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,i.default),r(e,[{key:"getChildContext",value:function(){return{addElement:this.context.addElement,updateElement:this.context.updateElement,deleteElement:this.context.deleteElement,createId:this.context.createId,getParentInfo:this.getParentInfo,getViewId:this.getViewId}}}]),e}();u.contextTypes={addElement:o.default.func,updateElement:o.default.func,deleteElement:o.default.func,createId:o.default.func,getParentInfo:o.default.func,getViewId:o.default.func},u.childContextTypes={addElement:o.default.func,updateElement:o.default.func,deleteElement:o.default.func,createId:o.default.func,getParentInfo:o.default.func,getViewId:o.default.func},e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Facet=e.Label=e.Guide=e.View=e.Geom=e.Tooltip=e.Legend=e.Axis=e.Coord=e.Chart=void 0;var r=d(n(421)),i=d(n(423)),o=d(n(419)),a=d(n(429)),u=d(n(430)),s=d(n(426)),c=d(n(431)),l=d(n(427)),f=d(n(428)),h=d(n(425));function d(t){return t&&t.__esModule?t:{default:t}}e.Chart=r.default,e.Coord=i.default,e.Axis=o.default,e.Legend=a.default,e.Tooltip=u.default,e.Geom=s.default,e.View=c.default,e.Guide=l.default,e.Label=f.default,e.Facet=h.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={Chart:"addChart",Coord:"addCoord",Geom:"addGeom",Axis:"addAxis",Tooltip:"addTooltip",Legend:"addLegend",Label:"addLabel",View:"addView",Guide:"addGuide",GuideLine:"addGuideLine",GuideImage:"addGuideImage",GuideText:"addGuideText",GuideRegion:"addGuideRegion",GuideHtml:"addGuideHtml",GuideArc:"addGuideArc",GuideRegionFilter:"addGuideRegionFilter",GuideDataMarker:"addGuideDataMarker",GuideDataRegion:"addGuideDataRegion",Facet:"addFacet"},i={addElement:function(t,e,n){this[r[t]](e,n,n.id,n.viewId,n.parentInfo)},getConfigContainer:function(t,e){return e&&(t.views||(t.views={}),(t=t.views[e])||((t={}).views[e]=t)),t},addUniqueElement:function(t,e,n,r,i){var o=this.getConfigContainer(t,i);return o[e],o[e]=n,r},addChart:function(t,e,n){return this.addUniqueElement(t,"chart",e,n,null)},addView:function(t,e,n){return t.views||(t.views={}),t.views[n]=e,n},addAxis:function(t,e,n,r){var i=this.getConfigContainer(t,r);return i.axises||(i.axises={}),i.axises[n]=e,n},addCoord:function(t,e,n,r){return this.addUniqueElement(t,"coord",e,n,r)},addGeom:function(t,e,n,r,i){var o=this.getConfigContainer(t,r);return o.geoms||(o.geoms={}),o.geoms[n]?i?o.geoms[n].label=e.label:(o.geoms[n].label||console.log("geom label error"),e.label=o.geoms[n].label,o.geoms[n]=e):o.geoms[n]=e,n},addLabel:function(t,e,n,r,i){var o=this.getConfigContainer(t,r);return o.geoms||(o.geoms={}),this.addGeom(t,{label:e},i.id,r,!0),n},addTooltip:function(t,e,n,r){return this.addUniqueElement(t,"tooltip",e,n,r)},addFacet:function(t,e,n,r){return this.addUniqueElement(t,"facet",e,n,r)},addLegend:function(t,e,n,r){var i=this.getConfigContainer(t,r);return i.legends||(i.legends={}),i.legends[n]=e,n},addGuide:function(t,e,n,r){return this.addUniqueElement(t,"guide",e,n,r)},addTypedGuide:function(t,e,n,r,i,o){var a=this.getConfigContainer(t,i),u=a.guide;return u||(this.addUniqueElement("guide",{},o.id,i),u=a.guide),u.elements||(u.elements={}),n.type=e,u.elements[r]=n,r},addGuideLine:function(t,e,n,r,i){this.addTypedGuide(t,"line",e,n,r,i)},addGuideImage:function(t,e,n,r,i){this.addTypedGuide(t,"image",e,n,r,i)},addGuideText:function(t,e,n,r,i){this.addTypedGuide(t,"text",e,n,r,i)},addGuideRegion:function(t,e,n,r,i){this.addTypedGuide(t,"region",e,n,r,i)},addGuideHtml:function(t,e,n,r,i){this.addTypedGuide(t,"html",e,n,r,i)},addGuideArc:function(t,e,n,r,i){this.addTypedGuide(t,"arc",e,n,r,i)},addGuideRegionFilter:function(t,e,n,r,i){this.addTypedGuide(t,"regionFilter",e,n,r,i)},addGuideDataMarker:function(t,e,n,r,i){this.addTypedGuide(t,"dataMarker",e,n,r,i)},addGuideDataRegion:function(t,e,n,r,i){this.addTypedGuide(t,"dataRegion",e,n,r,i)}};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={Chart:"deleteChart",Coord:"deleteCoord",Geom:"deleteGeom",Axis:"deleteAxis",Tooltip:"deleteTooltip",Legend:"deleteLegend",Label:"deleteLabel",View:"deleteView",Guide:"deleteGuide",GuideLine:"deleteTypedGuide",GuideImage:"deleteTypedGuide",GuideText:"deleteTypedGuide",GuideRegion:"deleteTypedGuide",GuideHtml:"deleteTypedGuide",GuideArc:"deleteTypedGuide",Facet:"deleteFacet"},i={Geom:!0,Label:!0,Facet:!0},o={deleteAxis:function(t,e,n){var r=e.axises[n].props;t.axis(r.name,!1)},deleteTooltip:function(t){t.tooltip(!1)},deleteCoord:function(t){t.coord("rect",{})},deleteLegend:function(t,e,n){var r=e.legends[n].props;t.legend.apply(t,function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(r.name?[r.name,!1]:[!1]))},deleteGuide:function(t){t.guide().clear()},deleteView:function(t,e,n){e.views[n].g2Instance&&(t.removeView(e.views[n].g2Instance),delete e.views[n].g2Instance)},deleteViewElement:function(t,e,n,o){var a=this;Object.keys(n).forEach(function(t){var n=o[t],u=n.viewId;u&&(i[n.name]?e.views[u].needReExecute=!0:e.views[u].g2Instance&&a[r[n.name]]&&a[r[n.name]](e.views[u].g2Instance,e.views[u],n.id))})},needReExecute:function(t,e){for(var n in t)if(i[e[n].name]&&!e[n].viewId)return!0;return!1},synchronizeG2Delete:function(t,e,n,i){var o=this;Object.keys(n).forEach(function(n){var a=r[i[n].name];o[a]&&!i[n].viewId&&o[a](t,e,n)}),this.deleteViewElement(t,e,n,i)}};e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=l(n(223)),o=n(88),a=l(n(193)),u=l(n(195)),s=l(n(87)),c=l(n(194));function l(t){return t&&t.__esModule?t:{default:t}}function f(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function h(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}var d=a.default.COORD_FUNC_PROPS,p=a.default.GEOM_FUNC_PROPS,v={needRebuildChart:function(t){if(null==t.chart.props||null==t.chart.updateProps)return!1;var e=t.chart.props,n=t.chart.updateProps;return!(o.Util.shallowEqual(e.padding,n.padding)&&o.Util.shallowEqual(e.background,n.background)&&o.Util.shallowEqual(e.plotBackground,n.plotBackground)&&o.Util.shallowEqual(e.pixelRatio,n.pixelRatio))},needReExecute:function(t){var e=t.geoms;if(null==e)return!1;for(var n in e)if(e[n].props&&e[n].updateProps&&(e[n].props.type!==e[n].updateProps.type||e[n].props.color&&!e[n].updateProps.color||e[n].props.size&&!e[n].updateProps.size||e[n].props.shape&&!e[n].updateProps.shape))return!0;return!1},needRepaint:function(t){var e=t.chart;return e.props.data===e.updateProps.data},synchronizeG2Update:function(t,e){this.updateChart(t,e.chart),this.updateAxises(t,e.axises),this.updateTooltip(t,e),this.updateCoord(t,e),this.updateLegends(t,e.legends),this.updateGeoms(t,e.geoms),this.updateGuide(t,e.guide),this.updateFacet(t,e),this.updateViews(t,e)},updateChart:function(t,e){if(e){var n=e.props,r=e.updateProps,i=n.width,a=n.height,u=n.animate,s=n.data,l=n.scale,f=r.width,h=r.height,d=r.animate,p=r.data,v=r.scale;s!==p&&t.changeData(p),o.Util.shallowEqual(l,v)||(o.Util.isArray(v)?t.scale(v[0],v[1]):t.scale(v)),u!==d&&t.animate(d),i!==f&&a!==h?t.changeSize(f,h):i!==f?t.changeWidth(f):a!==h&&t.changeHeight(h),c.default.updateEvents(t,c.default.chartEvents,e.props,r),c.default.updateBaseEvents(t,e.updateProps,r)}},updateAxis:function(t,e){var n=e.props,r=n.name,a=n.visible,u=h(n,["name","visible"]),s=e.updateProps,c=s.name,l=s.visible,f=h(s,["name","visible"]);(0,i.default)(r===c,"`name` propertry should not be changed in `<Axis />`"),a!==l&&t.axis(r,!!l),o.Util.shallowEqual(u,f)||t.axis(r,f)},updateAxises:function(t,e){if(e)for(var n in e)e[n]&&e[n].props&&e[n].updateProps&&this.updateAxis(t,e[n])},updateTooltip:function(t,e){if(e.tooltip){var n=e.tooltip.props,i=e.tooltip.updateProps;null==n&&null==i||o.Util.shallowEqual(n,i)||t.tooltip(r({},i))}},updateCoord:function(t,e){var n=e.coord;if(n){var r=n.props,i=n.updateProps;if(null!=r&&null!=i){var a=o.Util.without(i,d.concat(["type"]));if(!o.Util.shallowEqual(r,i)){var u=t.coord(i.type,a);n.g2Instance=u,o.Prop.init(d,i,function(t,e){"reflect"===e?o.Util.each(t,function(t){return u[e](t)}):"transpose"===e?!0===t[0]&&u[e].apply(u,f(t)):u[e].apply(u,f(t))})}}}},updateLegend:function(t,e){var n=e.props,r=e.updateProps;if(r&&!o.Util.shallowEqual(n,r)){var i=r.name,a=r.visible,u=h(r,["name","visible"]),s=a?u:a;t.legend.apply(t,f(i?[i,s]:[s]))}},updateLegends:function(t,e){if(null!=e)for(var n in e)e[n]&&this.updateLegend(t,e[n])},updateLabel:function(t,e,n){if(null!=e&&null!=n){var r=e.content,i=h(e,["content"]),a=n.content,u=h(n,["content"]);o.Util.shallowEqual(i,u)&&o.Util.shallowEqual(r,a)||(o.Util.isArray(a)?t.label(a[0],a[1],u):t.label(a,u))}},updateGeom:function(t,e){var n=e.props,r=e.updateProps;if(n&&r&&n.type===r.type){var i=e.g2Instance;if(o.Util.shallowEqual(n,r))e.label&&this.updateLabel(i,e.label.props,e.label.updateProps);else{var a=n.adjust,u=h(n,["adjust"]),s=r.adjust,c=h(r,["adjust"]);(a||s)&&i.adjust(s),o.Prop.update(p,u,c,function(t,e){i[e].apply(i,f(t))}),e.label&&this.updateLabel(i,e.label.props,e.label.updateProps)}}},updateGeoms:function(t,e){if(null==e)return!1;for(var n in e)e[n]&&this.updateGeom(t,e[n]);return!1},isTypedGuideChanged:function(t){return!o.Util.shallowEqual(t.props,t.updateProps)},updateGuide:function(t,e){if(e&&e.elements){var n=e.elements,r=!1;for(var i in n)if(n[i]&&(n[i].updateProps||this.isTypedGuideChanged(n[i]))){r=!0;break}r&&(s.default.mergeGuide(e,!0),t.guide().clear(),u.default.guide(t,e))}},updateView:function(t,e){if(e&&e.props&&e.updateProps&&"Facet"!==e.parentInfo.name){var n=e.g2Instance,r=e.props,i=e.updateProps,a=r.scale,u=r.data,s=r.animate,c=r.axis,l=r.filter,f=i.scale,h=i.animate,d=i.data,p=i.axis,v=i.filter;s!==h&&n.animate(h),u!==d&&n.changeData(d),o.Util.shallowEqual(a,f)||n.scale(f),o.Util.shallowEqual(l,v)||v.forEach(function(t){n.filter(t[0],t[1])}),c!==p&&n.axis(p),this.updateCoord(n,e),this.updateAxises(n,e.axises),this.updateGeoms(n,e.geoms),this.updateGuide(n,e.guide)}},updateViews:function(t,e){var n=e.views;if(n)for(var r in n){var i=n[r];i&&(i.needReExecute||this.needReExecute(i))?(u.default.synchronizeG2View(i.g2Instance,i),n[r].needReExecute=!1):this.updateView(t,i)}},updateFacet:function(t,e){var n=e.facet;if(n){var r=n.props,i=n.updateProps;if(null!=r&&null!=i){var a=r.type,s=h(r,["type"]),c=i.type,l=h(i,["type"]);a===c&&o.Util.shallowEqual(s,l)||(n.props=i,u.default.facet(t,e))}}}};e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=f(n(433)),a=f(n(87)),u=f(n(435)),s=f(n(434)),c=f(n(195)),l=n(88);function f(t){return t&&t.__esModule?t:{default:t}}function h(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}var d=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.config={},this.elementInfos={},this.added=!1,this.initedG2=!1,this.updated=!1,this.deleted=!1,this.deleteInfos={}}return i(t,[{key:"calUpdateFlag",value:function(t,e){var n=this.elementInfos[e].props,r=(n.children,h(n,["children"])),i=this.elementInfos[e].updateProps,o=(i.children,h(i,["children"]));if("Chart"===t||"View"===t){var a=r.data,u=h(r,["data"]),s=o.data,c=h(o,["data"]);a===s&&l.Util.isEqual(u,c)||(this.updated=!0)}else l.Util.isEqual(r,o)||(this.updated=!0)}},{key:"addElement",value:function(t,e,n,i,a){!this.chart&&this.initedG2||(this.added=!0,this.elementInfos[e]={id:e,viewId:a,parentInfo:i,name:t,props:r({},n)},i&&!this.elementInfos[i.id]&&(this.elementInfos[i.id]={id:i.id,name:i.name}),o.default.addElement(t,this.config,this.elementInfos[e]))}},{key:"updateElement",value:function(t,e,n){this.elementInfos[e].updateProps=r({},n),this.calUpdateFlag(t,e)}},{key:"deleteElement",value:function(t,e){this.chart&&(this.deleteInfos[e]=e,this.deleted=!0)}},{key:"createG2Instance",value:function(){var t=this.config,e=c.default.createChart(t,this.elementInfos);return c.default.executeChartConfig(e,t,this.elementInfos),c.default.synchronizeG2Add(e,t,this.elementInfos),e.render(),this.chart=e,this.initedG2=!0,this.resetStates(),e}},{key:"destory",value:function(){this.chart.destroy(),this.chart=null}},{key:"resetStates",value:function(){var t=this.elementInfos;for(var e in t)t[e].updateProps&&delete t[e].updateProps,this.deleteInfos[e]&&delete t[e];this.added=!1,this.updated=!1,this.deleteInfos={}}},{key:"reExecuteChart",value:function(){return this.chart.clear(),a.default.merge(this.config,this.deleteInfos,this.elementInfos,!0),c.default.executeChartConfig(this.chart,this.config,this.elementInfos),c.default.synchronizeG2Add(this.chart,this.config,this.elementInfos),this.chart.repaint(),this.resetStates(),this.chart}},{key:"batchedUpdate",value:function(){return null==this.chart?null:this.config.chart.props.forceUpdate||u.default.needRebuildChart(this.config)?(a.default.merge(this.config,this.deleteInfos,this.elementInfos,!0),this.chart.destroy(),this.chart="destroy",this.createG2Instance()):s.default.needReExecute(this.deleteInfos,this.elementInfos)||u.default.needReExecute(this.config)?(this.reExecuteChart(),this.chart):(this.deleted&&(s.default.synchronizeG2Delete(this.chart,this.config,this.deleteInfos,this.elementInfos),a.default.mergeDelete(this.config,this.deleteInfos,this.elementInfos)),this.added&&c.default.synchronizeG2Add(this.chart,this.config),this.updated&&u.default.synchronizeG2Update(this.chart,this.config),(this.added||this.deleted||this.updated)&&this.chart.repaint(),a.default.mergeUpdate(this.config,!1),this.resetStates(),this.chart)}}]),t}();e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=n(58),o=(r=i)&&r.__esModule?r:{default:r};e.default={init:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1],n=arguments[2];o.default.each(t,function(t){var r=e[t];void 0!==r&&(o.default.isArray(r)||(r=[r]),n(r,t))})},update:function(t,e,n,r){var i=void 0,a=void 0;o.default.each(t,function(t){i=e[t],a=n[t],o.default.shallowEqual(a,i)||(o.default.isArray(a)||(a=[a]),r(a,t))})}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={}},function(t,e,n){"use strict";e.a=p;var r=n(90),i=n(89),o=n(196),a=-.14861,u=1.78277,s=-.29227,c=-.90649,l=1.97294,f=l*c,h=l*u,d=u*s-c*a;function p(t,e,r,a){return 1===arguments.length?function(t){if(t instanceof v)return new v(t.h,t.s,t.l,t.opacity);t instanceof i.a||(t=n.i(i.b)(t));var e=t.r/255,r=t.g/255,a=t.b/255,u=(d*a+f*e-h*r)/(d+f-h),p=a-u,g=(l*(r-u)-s*p)/c,y=Math.sqrt(g*g+p*p)/(l*u*(1-u)),m=y?Math.atan2(g,p)*o.a-120:NaN;return new v(m<0?m+360:m,y,u,t.opacity)}(t):new v(t,e,r,null==a?1:a)}function v(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}n.i(r.a)(v,p,n.i(r.b)(i.c,{brighter:function(t){return t=null==t?i.d:Math.pow(i.d,t),new v(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i.e:Math.pow(i.e,t),new v(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*o.b,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),f=Math.sin(t);return new i.a(255*(e+n*(a*r+u*f)),255*(e+n*(s*r+c*f)),255*(e+n*(l*r)),this.opacity)}}))},function(t,e,n){"use strict";e.b=p,e.a=w;var r=n(90),i=n(89),o=n(196),a=.96422,u=1,s=.82521,c=4/29,l=6/29,f=3*l*l,h=l*l*l;function d(t){if(t instanceof v)return new v(t.l,t.a,t.b,t.opacity);if(t instanceof _)return S(t);t instanceof i.a||(t=n.i(i.b)(t));var e,r,o=b(t.r),c=b(t.g),l=b(t.b),f=g((.2225045*o+.7168786*c+.0606169*l)/u);return o===c&&c===l?e=r=f:(e=g((.4360747*o+.3850649*c+.1430804*l)/a),r=g((.0139322*o+.0971045*c+.7141733*l)/s)),new v(116*f-16,500*(e-f),200*(f-r),t.opacity)}function p(t,e,n,r){return 1===arguments.length?d(t):new v(t,e,n,null==r?1:r)}function v(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function g(t){return t>h?Math.pow(t,1/3):t/f+c}function y(t){return t>l?t*t*t:f*(t-c)}function m(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function b(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function x(t){if(t instanceof _)return new _(t.h,t.c,t.l,t.opacity);if(t instanceof v||(t=d(t)),0===t.a&&0===t.b)return new _(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*o.a;return new _(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function w(t,e,n,r){return 1===arguments.length?x(t):new _(t,e,n,null==r?1:r)}function _(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}function S(t){if(isNaN(t.h))return new v(t.l,0,0,t.opacity);var e=t.h*o.b;return new v(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}n.i(r.a)(v,p,n.i(r.b)(i.c,{brighter:function(t){return new v(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new v(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=a*y(e),t=u*y(t),n=s*y(n),new i.a(m(3.1338561*e-1.6168667*t-.4906146*n),m(-.9787684*e+1.9161415*t+.033454*n),m(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),n.i(r.a)(_,w,n.i(r.b)(i.c,{brighter:function(t){return new _(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new _(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return S(this).rgb()}}))},function(t,e,n){"use strict";var r={value:function(){}};function i(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new o(r)}function o(t){this._=t}function a(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function u(t,e,n){for(var i=0,o=t.length;i<o;++i)if(t[i].name===e){t[i]=r,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}o.prototype=i.prototype={constructor:o,on:function(t,e){var n,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})),s=-1,c=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++s<c;)if(n=(t=o[s]).type)i[n]=u(i[n],t.name,e);else if(null==e)for(n in i)i[n]=u(i[n],t.name,null);return this}for(;++s<c;)if((n=(t=o[s]).type)&&(n=a(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new o(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}},e.a=i},function(t,e,n){"use strict";var r=n(441);n.d(e,"a",function(){return r.a})},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o});var r=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(1.70158),i=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),o=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158)},function(t,e,n){"use strict";e.b=function(t){return 1-d(1-t)},e.a=d,e.c=function(t){return((t*=2)<=1?1-d(1-t):d(t-1)+1)/2};var r=4/11,i=6/11,o=8/11,a=.75,u=9/11,s=10/11,c=.9375,l=21/22,f=63/64,h=1/r/r;function d(t){return(t=+t)<r?h*t*t:t<o?h*(t-=i)*t+a:t<s?h*(t-=u)*t+c:h*(t-=l)*t+f}},function(t,e,n){"use strict";e.b=function(t){return 1-Math.sqrt(1-t*t)},e.c=function(t){return Math.sqrt(1- --t*t)},e.a=function(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}},function(t,e,n){"use strict";e.b=function(t){return t*t*t},e.c=function(t){return--t*t*t+1},e.a=function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return o}),n.d(e,"c",function(){return a});var r=2*Math.PI,i=function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);function o(t){return e*Math.pow(2,10*--t)*Math.sin((i-t)/n)}return o.amplitude=function(e){return t(e,n*r)},o.period=function(n){return t(e,n)},o}(1,.3),o=function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);function o(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+i)/n)}return o.amplitude=function(e){return t(e,n*r)},o.period=function(n){return t(e,n)},o}(1,.3),a=function t(e,n){var i=Math.asin(1/(e=Math.max(1,e)))*(n/=r);function o(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((i-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((i+t)/n))/2}return o.amplitude=function(e){return t(e,n*r)},o.period=function(n){return t(e,n)},o}(1,.3)},function(t,e,n){"use strict";e.b=function(t){return Math.pow(2,10*t-10)},e.c=function(t){return 1-Math.pow(2,-10*t)},e.a=function(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}},function(t,e,n){"use strict";e.a=function(t){return+t}},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"c",function(){return i}),n.d(e,"a",function(){return o});var r=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),i=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),o=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3)},function(t,e,n){"use strict";e.b=function(t){return t*t},e.c=function(t){return t*(2-t)},e.a=function(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}},function(t,e,n){"use strict";e.b=function(t){return 1-Math.cos(t*i)},e.c=function(t){return Math.sin(t*i)},e.a=function(t){return(1-Math.cos(r*t))/2};var r=Math.PI,i=r/2},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(92);n.d(e,"interpolate",function(){return r.a});var i=n(198);n.d(e,"interpolateArray",function(){return i.a});var o=n(91);n.d(e,"interpolateBasis",function(){return o.a});var a=n(199);n.d(e,"interpolateBasisClosed",function(){return a.a});var u=n(201);n.d(e,"interpolateDate",function(){return u.a});var s=n(59);n.d(e,"interpolateNumber",function(){return s.a});var c=n(202);n.d(e,"interpolateObject",function(){return c.a});var l=n(459);n.d(e,"interpolateRound",function(){return l.a});var f=n(204);n.d(e,"interpolateString",function(){return f.a});var h=n(461);n.d(e,"interpolateTransformCss",function(){return h.a}),n.d(e,"interpolateTransformSvg",function(){return h.b});var d=n(463);n.d(e,"interpolateZoom",function(){return d.a});var p=n(203);n.d(e,"interpolateRgb",function(){return p.a}),n.d(e,"interpolateRgbBasis",function(){return p.b}),n.d(e,"interpolateRgbBasisClosed",function(){return p.c});var v=n(456);n.d(e,"interpolateHsl",function(){return v.a}),n.d(e,"interpolateHslLong",function(){return v.b});var g=n(457);n.d(e,"interpolateLab",function(){return g.a});var y=n(455);n.d(e,"interpolateHcl",function(){return y.a}),n.d(e,"interpolateHclLong",function(){return y.b});var m=n(454);n.d(e,"interpolateCubehelix",function(){return m.a}),n.d(e,"interpolateCubehelixLong",function(){return m.b});var b=n(458);n.d(e,"quantize",function(){return b.a})},function(t,e,n){"use strict";n.d(e,"b",function(){return a});var r=n(12),i=n(41);function o(t){return function e(o){function a(e,a){var u=t((e=n.i(r.a)(e)).h,(a=n.i(r.a)(a)).h),s=n.i(i.a)(e.s,a.s),c=n.i(i.a)(e.l,a.l),l=n.i(i.a)(e.opacity,a.opacity);return function(t){return e.h=u(t),e.s=s(t),e.l=c(Math.pow(t,o)),e.opacity=l(t),e+""}}return o=+o,a.gamma=e,a}(1)}e.a=o(i.b);var a=o(i.a)},function(t,e,n){"use strict";n.d(e,"b",function(){return a});var r=n(12),i=n(41);function o(t){return function(e,o){var a=t((e=n.i(r.b)(e)).h,(o=n.i(r.b)(o)).h),u=n.i(i.a)(e.c,o.c),s=n.i(i.a)(e.l,o.l),c=n.i(i.a)(e.opacity,o.opacity);return function(t){return e.h=a(t),e.c=u(t),e.l=s(t),e.opacity=c(t),e+""}}}e.a=o(i.b);var a=o(i.a)},function(t,e,n){"use strict";n.d(e,"b",function(){return a});var r=n(12),i=n(41);function o(t){return function(e,o){var a=t((e=n.i(r.d)(e)).h,(o=n.i(r.d)(o)).h),u=n.i(i.a)(e.s,o.s),s=n.i(i.a)(e.l,o.l),c=n.i(i.a)(e.opacity,o.opacity);return function(t){return e.h=a(t),e.s=u(t),e.l=s(t),e.opacity=c(t),e+""}}}e.a=o(i.b);var a=o(i.a)},function(t,e,n){"use strict";e.a=function(t,e){var o=n.i(i.a)((t=n.i(r.c)(t)).l,(e=n.i(r.c)(e)).l),a=n.i(i.a)(t.a,e.a),u=n.i(i.a)(t.b,e.b),s=n.i(i.a)(t.opacity,e.opacity);return function(e){return t.l=o(e),t.a=a(e),t.b=u(e),t.opacity=s(e),t+""}};var r=n(12),i=n(41)},function(t,e,n){"use strict";e.a=function(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t(r/(e-1));return n}},function(t,e,n){"use strict";e.a=function(t,e){return e-=t=+t,function(n){return Math.round(t+e*n)}}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=180/Math.PI,i={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};e.b=function(t,e,n,i,o,a){var u,s,c;return(u=Math.sqrt(t*t+e*e))&&(t/=u,e/=u),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(s=Math.sqrt(n*n+i*i))&&(n/=s,i/=s,c/=s),t*i<e*n&&(t=-t,e=-e,c=-c,u=-u),{translateX:o,translateY:a,rotate:Math.atan2(e,t)*r,skewX:Math.atan(c)*r,scaleX:u,scaleY:s}}},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return u});var r=n(59),i=n(462);function o(t,e,i,o){function a(t){return t.length?t.pop()+" ":""}return function(u,s){var c=[],l=[];return u=t(u),s=t(s),function(t,o,a,u,s,c){if(t!==a||o!==u){var l=s.push("translate(",null,e,null,i);c.push({i:l-4,x:n.i(r.a)(t,a)},{i:l-2,x:n.i(r.a)(o,u)})}else(a||u)&&s.push("translate("+a+e+u+i)}(u.translateX,u.translateY,s.translateX,s.translateY,c,l),function(t,e,i,u){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),u.push({i:i.push(a(i)+"rotate(",null,o)-2,x:n.i(r.a)(t,e)})):e&&i.push(a(i)+"rotate("+e+o)}(u.rotate,s.rotate,c,l),function(t,e,i,u){t!==e?u.push({i:i.push(a(i)+"skewX(",null,o)-2,x:n.i(r.a)(t,e)}):e&&i.push(a(i)+"skewX("+e+o)}(u.skewX,s.skewX,c,l),function(t,e,i,o,u,s){if(t!==i||e!==o){var c=u.push(a(u)+"scale(",null,",",null,")");s.push({i:c-4,x:n.i(r.a)(t,i)},{i:c-2,x:n.i(r.a)(e,o)})}else 1===i&&1===o||u.push(a(u)+"scale("+i+","+o+")")}(u.scaleX,u.scaleY,s.scaleX,s.scaleY,c,l),u=s=null,function(t){for(var e,n=-1,r=l.length;++n<r;)c[(e=l[n]).i]=e.x(t);return c.join("")}}}var a=o(i.a,"px, ","px)","deg)"),u=o(i.b,", ",")",")")},function(t,e,n){"use strict";e.a=function(t){if("none"===t)return u.a;r||(r=document.createElement("DIV"),i=document.documentElement,o=document.defaultView);return r.style.transform=t,t=o.getComputedStyle(i.appendChild(r),null).getPropertyValue("transform"),i.removeChild(r),t=t.slice(7,-1).split(","),n.i(u.b)(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5])},e.b=function(t){if(null==t)return u.a;a||(a=document.createElementNS("http://www.w3.org/2000/svg","g"));return a.setAttribute("transform",t),(t=a.transform.baseVal.consolidate())?(t=t.matrix,n.i(u.b)(t.a,t.b,t.c,t.d,t.e,t.f)):u.a};var r,i,o,a,u=n(460)},function(t,e,n){"use strict";var r=Math.SQRT2;function i(t){return((t=Math.exp(t))+1/t)/2}e.a=function(t,e){var n,o,a=t[0],u=t[1],s=t[2],c=e[0],l=e[1],f=e[2],h=c-a,d=l-u,p=h*h+d*d;if(p<1e-12)o=Math.log(f/s)/r,n=function(t){return[a+t*h,u+t*d,s*Math.exp(r*t*o)]};else{var v=Math.sqrt(p),g=(f*f-s*s+4*p)/(2*s*2*v),y=(f*f-s*s-4*p)/(2*f*2*v),m=Math.log(Math.sqrt(g*g+1)-g),b=Math.log(Math.sqrt(y*y+1)-y);o=(b-m)/r,n=function(t){var e,n=t*o,c=i(m),l=s/(2*v)*(c*(e=r*n+m,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(m));return[a+l*h,u+l*d,s*c/i(r*n+m)]}}return n.duration=1e3*o,n}},function(t,e,n){"use strict";var r=n(12),i=n(31);function o(t){return function e(o){function a(e,a){var u=t((e=n.i(r.a)(e)).h,(a=n.i(r.a)(a)).h),s=n.i(i.a)(e.s,a.s),c=n.i(i.a)(e.l,a.l),l=n.i(i.a)(e.opacity,a.opacity);return function(t){return e.h=u(t),e.s=s(t),e.l=c(Math.pow(t,o)),e.opacity=l(t),e+""}}return o=+o,a.gamma=e,a}(1)}o(i.b),o(i.a)},function(t,e,n){"use strict"},function(t,e,n){"use strict";var r=n(12),i=n(31);function o(t){return function(e,o){var a=t((e=n.i(r.b)(e)).h,(o=n.i(r.b)(o)).h),u=n.i(i.a)(e.c,o.c),s=n.i(i.a)(e.l,o.l),c=n.i(i.a)(e.opacity,o.opacity);return function(t){return e.h=a(t),e.c=u(t),e.l=s(t),e.opacity=c(t),e+""}}}o(i.b),o(i.a)},function(t,e,n){"use strict";var r=n(12),i=n(31);function o(t){return function(e,o){var a=t((e=n.i(r.d)(e)).h,(o=n.i(r.d)(o)).h),u=n.i(i.a)(e.s,o.s),s=n.i(i.a)(e.l,o.l),c=n.i(i.a)(e.opacity,o.opacity);return function(t){return e.h=a(t),e.s=u(t),e.l=s(t),e.opacity=c(t),e+""}}}o(i.b),o(i.a)},function(t,e,n){"use strict";n(31)},function(t,e,n){"use strict";n(12),n(31)},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict"},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=180/Math.PI,i={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};e.b=function(t,e,n,i,o,a){var u,s,c;return(u=Math.sqrt(t*t+e*e))&&(t/=u,e/=u),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(s=Math.sqrt(n*n+i*i))&&(n/=s,i/=s,c/=s),t*i<e*n&&(t=-t,e=-e,c=-c,u=-u),{translateX:o,translateY:a,rotate:Math.atan2(e,t)*r,skewX:Math.atan(c)*r,scaleX:u,scaleY:s}}},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return u});var r=n(60),i=n(475);function o(t,e,i,o){function a(t){return t.length?t.pop()+" ":""}return function(u,s){var c=[],l=[];return u=t(u),s=t(s),function(t,o,a,u,s,c){if(t!==a||o!==u){var l=s.push("translate(",null,e,null,i);c.push({i:l-4,x:n.i(r.a)(t,a)},{i:l-2,x:n.i(r.a)(o,u)})}else(a||u)&&s.push("translate("+a+e+u+i)}(u.translateX,u.translateY,s.translateX,s.translateY,c,l),function(t,e,i,u){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),u.push({i:i.push(a(i)+"rotate(",null,o)-2,x:n.i(r.a)(t,e)})):e&&i.push(a(i)+"rotate("+e+o)}(u.rotate,s.rotate,c,l),function(t,e,i,u){t!==e?u.push({i:i.push(a(i)+"skewX(",null,o)-2,x:n.i(r.a)(t,e)}):e&&i.push(a(i)+"skewX("+e+o)}(u.skewX,s.skewX,c,l),function(t,e,i,o,u,s){if(t!==i||e!==o){var c=u.push(a(u)+"scale(",null,",",null,")");s.push({i:c-4,x:n.i(r.a)(t,i)},{i:c-2,x:n.i(r.a)(e,o)})}else 1===i&&1===o||u.push(a(u)+"scale("+i+","+o+")")}(u.scaleX,u.scaleY,s.scaleX,s.scaleY,c,l),u=s=null,function(t){for(var e,n=-1,r=l.length;++n<r;)c[(e=l[n]).i]=e.x(t);return c.join("")}}}var a=o(i.a,"px, ","px)","deg)"),u=o(i.b,", ",")",")")},function(t,e,n){"use strict";e.a=function(t){if("none"===t)return u.a;r||(r=document.createElement("DIV"),i=document.documentElement,o=document.defaultView);return r.style.transform=t,t=o.getComputedStyle(i.appendChild(r),null).getPropertyValue("transform"),i.removeChild(r),t=t.slice(7,-1).split(","),n.i(u.b)(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5])},e.b=function(t){if(null==t)return u.a;a||(a=document.createElementNS("http://www.w3.org/2000/svg","g"));return a.setAttribute("transform",t),(t=a.transform.baseVal.consolidate())?(t=t.matrix,n.i(u.b)(t.a,t.b,t.c,t.d,t.e,t.f)):u.a};var r,i,o,a,u=n(473)},function(t,e,n){"use strict";Math.SQRT2},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";var r=n(61),i=n(213);e.a=function(t){return n.i(i.a)(n.i(r.a)(t).call(document.documentElement))}},function(t,e,n){"use strict";e.a=i;var r=0;function i(){return new o}function o(){this._="@"+(++r).toString(36)}o.prototype=i.prototype={constructor:o,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}}},function(t,e,n){"use strict";var r=n(100),i=n(62);e.a=function(t){var e=n.i(r.a)();return e.changedTouches&&(e=e.changedTouches[0]),n.i(i.a)(t,e)}},function(t,e,n){"use strict";var r=n(18);e.a=function(t){return"string"==typeof t?new r.b([document.querySelectorAll(t)],[document.documentElement]):new r.b([null==t?[]:t],r.c)}},function(t,e,n){"use strict";var r=n(61);e.a=function(t){var e="function"==typeof t?t:n.i(r.a)(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}},function(t,e,n){"use strict";var r=n(96);e.a=function(t,e){var i=n.i(r.a)(t);if(arguments.length<2){var o=this.node();return i.local?o.getAttributeNS(i.space,i.local):o.getAttribute(i)}return this.each((null==e?i.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?i.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:i.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(i,e))}},function(t,e,n){"use strict";e.a=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}},function(t,e,n){"use strict";function r(t){return t.trim().split(/^|\s+/)}function i(t){return t.classList||new o(t)}function o(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function a(t,e){for(var n=i(t),r=-1,o=e.length;++r<o;)n.add(e[r])}function u(t,e){for(var n=i(t),r=-1,o=e.length;++r<o;)n.remove(e[r])}o.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},e.a=function(t,e){var n=r(t+"");if(arguments.length<2){for(var o=i(this.node()),s=-1,c=n.length;++s<c;)if(!o.contains(n[s]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?a:u)(this,t)}}:e?function(t){return function(){a(this,t)}}:function(t){return function(){u(this,t)}})(n,e))}},function(t,e,n){"use strict";function r(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function i(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}e.a=function(t){return this.select(t?i:r)}},function(t,e,n){"use strict";var r=n(18),i=n(214),o=n(477),a="$";function u(t,e,n,r,o,a){for(var u,s=0,c=e.length,l=a.length;s<l;++s)(u=e[s])?(u.__data__=a[s],r[s]=u):n[s]=new i.b(t,a[s]);for(;s<c;++s)(u=e[s])&&(o[s]=u)}function s(t,e,n,r,o,u,s){var c,l,f,h={},d=e.length,p=u.length,v=new Array(d);for(c=0;c<d;++c)(l=e[c])&&(v[c]=f=a+s.call(l,l.__data__,c,e),f in h?o[c]=l:h[f]=l);for(c=0;c<p;++c)(l=h[f=a+s.call(t,u[c],c,u)])?(r[c]=l,l.__data__=u[c],h[f]=null):n[c]=new i.b(t,u[c]);for(c=0;c<d;++c)(l=e[c])&&h[v[c]]===l&&(o[c]=l)}e.a=function(t,e){if(!t)return m=new Array(this.size()),p=-1,this.each(function(t){m[++p]=t}),m;var i=e?s:u,a=this._parents,c=this._groups;"function"!=typeof t&&(t=n.i(o.a)(t));for(var l=c.length,f=new Array(l),h=new Array(l),d=new Array(l),p=0;p<l;++p){var v=a[p],g=c[p],y=g.length,m=t.call(v,v&&v.__data__,p,a),b=m.length,x=h[p]=new Array(b),w=f[p]=new Array(b);i(v,g,x,w,d[p]=new Array(y),m,e);for(var _,S,k=0,E=0;k<b;++k)if(_=x[k]){for(k>=E&&(E=k+1);!(S=w[E])&&++E<b;);_._next=S||null}}return(f=new r.b(f,a))._enter=h,f._exit=d,f}},function(t,e,n){"use strict";e.a=function(t){return arguments.length?this.property("__data__",t):this.node().__data__}},function(t,e,n){"use strict";var r=n(101);function i(t,e,i){var o=n.i(r.a)(t),a=o.CustomEvent;"function"==typeof a?a=new a(e,i):(a=o.document.createEvent("Event"),i?(a.initEvent(e,i.bubbles,i.cancelable),a.detail=i.detail):a.initEvent(e,!1,!1)),t.dispatchEvent(a)}e.a=function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return i(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return i(this,t,e)}})(t,e))}},function(t,e,n){"use strict";e.a=function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,u=o.length;a<u;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this}},function(t,e,n){"use strict";e.a=function(){return!this.node()}},function(t,e,n){"use strict";var r=n(215),i=n(18);e.a=function(){return new i.b(this._exit||this._groups.map(r.a),this._parents)}},function(t,e,n){"use strict";var r=n(18),i=n(212);e.a=function(t){"function"!=typeof t&&(t=n.i(i.a)(t));for(var e=this._groups,o=e.length,a=new Array(o),u=0;u<o;++u)for(var s,c=e[u],l=c.length,f=a[u]=[],h=0;h<l;++h)(s=c[h])&&t.call(s,s.__data__,h,c)&&f.push(s);return new r.b(a,this._parents)}},function(t,e,n){"use strict";function r(){this.innerHTML=""}e.a=function(t){return arguments.length?this.each(null==t?r:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML}},function(t,e,n){"use strict";var r=n(61),i=n(99);function o(){return null}e.a=function(t,e){var a="function"==typeof t?t:n.i(r.a)(t),u=null==e?o:"function"==typeof e?e:n.i(i.a)(e);return this.select(function(){return this.insertBefore(a.apply(this,arguments),u.apply(this,arguments)||null)})}},function(t,e,n){"use strict";e.a=function(t,e,n){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?o.remove():n(o),r&&i?r.merge(i).order():i}},function(t,e,n){"use strict";function r(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}e.a=function(){return this.each(r)}},function(t,e,n){"use strict";var r=n(18);e.a=function(t){for(var e=this._groups,n=t._groups,i=e.length,o=n.length,a=Math.min(i,o),u=new Array(i),s=0;s<a;++s)for(var c,l=e[s],f=n[s],h=l.length,d=u[s]=new Array(h),p=0;p<h;++p)(c=l[p]||f[p])&&(d[p]=c);for(;s<i;++s)u[s]=e[s];return new r.b(u,this._parents)}},function(t,e,n){"use strict";e.a=function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null}},function(t,e,n){"use strict";e.a=function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t}},function(t,e,n){"use strict";e.a=function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this}},function(t,e,n){"use strict";e.a=function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]}},function(t,e,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}e.a=function(){return this.each(r)}},function(t,e,n){"use strict";function r(){var t=this.parentNode;t&&t.removeChild(this)}e.a=function(){return this.each(r)}},function(t,e,n){"use strict";var r=n(18),i=n(99);e.a=function(t){"function"!=typeof t&&(t=n.i(i.a)(t));for(var e=this._groups,o=e.length,a=new Array(o),u=0;u<o;++u)for(var s,c,l=e[u],f=l.length,h=a[u]=new Array(f),d=0;d<f;++d)(s=l[d])&&(c=t.call(s,s.__data__,d,l))&&("__data__"in s&&(c.__data__=s.__data__),h[d]=c);return new r.b(a,this._parents)}},function(t,e,n){"use strict";var r=n(18),i=n(217);e.a=function(t){"function"!=typeof t&&(t=n.i(i.a)(t));for(var e=this._groups,o=e.length,a=[],u=[],s=0;s<o;++s)for(var c,l=e[s],f=l.length,h=0;h<f;++h)(c=l[h])&&(a.push(t.call(c,c.__data__,h,l)),u.push(c));return new r.b(a,u)}},function(t,e,n){"use strict";e.a=function(){var t=0;return this.each(function(){++t}),t}},function(t,e,n){"use strict";var r=n(18);function i(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}e.a=function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=i);for(var n=this._groups,o=n.length,a=new Array(o),u=0;u<o;++u){for(var s,c=n[u],l=c.length,f=a[u]=new Array(l),h=0;h<l;++h)(s=c[h])&&(f[h]=s);f.sort(e)}return new r.b(a,this._parents).order()}},function(t,e,n){"use strict";function r(){this.textContent=""}e.a=function(t){return arguments.length?this.each(null==t?r:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent}},function(t,e,n){"use strict";var r=n(100),i=n(62);e.a=function(t,e,o){arguments.length<3&&(o=e,e=n.i(r.a)().changedTouches);for(var a,u=0,s=e?e.length:0;u<s;++u)if((a=e[u]).identifier===o)return n.i(i.a)(t,a);return null}},function(t,e,n){"use strict";var r=n(100),i=n(62);e.a=function(t,e){null==e&&(e=n.i(r.a)().touches);for(var o=0,a=e?e.length:0,u=new Array(a);o<a;++o)u[o]=n.i(i.a)(t,e[o]);return u}},function(t,e,n){"use strict";var r=n(103);e.a=function(t,e,i){var o=new r.d,a=e;return null==e?(o.restart(t,e,i),o):(e=+e,i=null==i?n.i(r.a)():+i,o.restart(function n(r){r+=a,o.restart(n,a+=e,i),t(r)},e,i),o)}},function(t,e,n){"use strict";var r=n(103);e.a=function(t,e,n){var i=new r.d;return e=null==e?0:+e,i.restart(function(n){i.stop(),t(n+e)},e,n),i}},function(t,e,n){"use strict";var r=n(27),i=n(13),o=[null];e.a=function(t,e){var n,a,u=t.__transition;if(u)for(a in e=null==e?null:e+"",u)if((n=u[a]).state>i.d&&n.name===e)return new r.b([[t]],o,e,+a);return null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n(516);var r=n(27);n.d(e,"transition",function(){return r.a});var i=n(514);n.d(e,"active",function(){return i.a});var o=n(218);n.d(e,"interrupt",function(){return o.a})},function(t,e,n){"use strict";var r=n(22),i=n(517),o=n(518);r.selection.prototype.interrupt=i.a,r.selection.prototype.transition=o.a},function(t,e,n){"use strict";var r=n(218);e.a=function(t){return this.each(function(){n.i(r.a)(this,t)})}},function(t,e,n){"use strict";var r=n(27),i=n(13),o=n(197),a=n(102),u={time:null,delay:0,duration:250,ease:o.easeCubicInOut};function s(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))return u.time=n.i(a.now)(),u;return r}e.a=function(t){var e,o;t instanceof r.b?(e=t._id,t=t._name):(e=n.i(r.c)(),(o=u).time=n.i(a.now)(),t=null==t?null:t+"");for(var c=this._groups,l=c.length,f=0;f<l;++f)for(var h,d=c[f],p=d.length,v=0;v<p;++v)(h=d[v])&&n.i(i.h)(h,t,e,v,d,o||s(h,e));return new r.b(c,this._parents,t,e)}},function(t,e,n){"use strict";var r=n(94),i=n(22),o=n(63),a=n(219);e.a=function(t,e){var u=n.i(i.namespace)(t),s="transform"===u?r.e:a.a;return this.attrTween(t,"function"==typeof e?(u.local?function(t,e,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttributeNS(t.space,t.local))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s));this.removeAttributeNS(t.space,t.local)}}:function(t,e,n){var r,i,o;return function(){var a,u,s=n(this);if(null!=s)return(a=this.getAttribute(t))===(u=s+"")?null:a===r&&u===i?o:(i=u,o=e(r=a,s));this.removeAttribute(t)}})(u,s,n.i(o.b)(this,"attr."+t,e)):null==e?(u.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(u):(u.local?function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}:function(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}})(u,s,e))}},function(t,e,n){"use strict";var r=n(22);e.a=function(t,e){var i="attr."+t;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;var o=n.i(r.namespace)(t);return this.tween(i,(o.local?function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e(n))}}(t,i)),n}return i._value=e,i}:function(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e(n))}}(t,i)),n}return i._value=e,i})(o,e))}},function(t,e,n){"use strict";var r=n(13);e.a=function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){n.i(r.g)(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){n.i(r.g)(this,t).delay=e}})(e,t)):n.i(r.f)(this.node(),e).delay}},function(t,e,n){"use strict";var r=n(13);e.a=function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){n.i(r.e)(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){n.i(r.e)(this,t).duration=e}})(e,t)):n.i(r.f)(this.node(),e).duration}},function(t,e,n){"use strict";var r=n(13);e.a=function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){n.i(r.e)(this,t).ease=e}}(e,t)):n.i(r.f)(this.node(),e).ease}},function(t,e,n){"use strict";var r=n(13);e.a=function(){var t,e,i=this,o=i._id,a=i.size();return new Promise(function(u,s){var c={value:s},l={value:function(){0==--a&&u()}};i.each(function(){var i=n.i(r.e)(this,o),a=i.on;a!==t&&((e=(t=a).copy())._.cancel.push(c),e._.interrupt.push(c),e._.end.push(l)),i.on=e})})}},function(t,e,n){"use strict";var r=n(22),i=n(27);e.a=function(t){"function"!=typeof t&&(t=n.i(r.matcher)(t));for(var e=this._groups,o=e.length,a=new Array(o),u=0;u<o;++u)for(var s,c=e[u],l=c.length,f=a[u]=[],h=0;h<l;++h)(s=c[h])&&t.call(s,s.__data__,h,c)&&f.push(s);return new i.b(a,this._parents,this._name,this._id)}},function(t,e,n){"use strict";var r=n(27);e.a=function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,o=n.length,a=Math.min(i,o),u=new Array(i),s=0;s<a;++s)for(var c,l=e[s],f=n[s],h=l.length,d=u[s]=new Array(h),p=0;p<h;++p)(c=l[p]||f[p])&&(d[p]=c);for(;s<i;++s)u[s]=e[s];return new r.b(u,this._parents,this._name,this._id)}},function(t,e,n){"use strict";var r=n(13);e.a=function(t,e){var i=this._id;return arguments.length<2?n.i(r.f)(this.node(),i).on.on(t):this.each(function(t,e,n){var i,o,a=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?r.g:r.e;return function(){var r=a(this,t),u=r.on;u!==i&&(o=(i=u).copy()).on(e,n),r.on=o}}(i,t,e))}},function(t,e,n){"use strict";e.a=function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t}},function(t,e,n){"use strict";var r=n(22),i=n(27),o=n(13);e.a=function(t){var e=this._name,a=this._id;"function"!=typeof t&&(t=n.i(r.selector)(t));for(var u=this._groups,s=u.length,c=new Array(s),l=0;l<s;++l)for(var f,h,d=u[l],p=d.length,v=c[l]=new Array(p),g=0;g<p;++g)(f=d[g])&&(h=t.call(f,f.__data__,g,d))&&("__data__"in f&&(h.__data__=f.__data__),v[g]=h,n.i(o.h)(v[g],e,a,g,v,n.i(o.f)(f,a)));return new i.b(c,this._parents,e,a)}},function(t,e,n){"use strict";var r=n(22),i=n(27),o=n(13);e.a=function(t){var e=this._name,a=this._id;"function"!=typeof t&&(t=n.i(r.selectorAll)(t));for(var u=this._groups,s=u.length,c=[],l=[],f=0;f<s;++f)for(var h,d=u[f],p=d.length,v=0;v<p;++v)if(h=d[v]){for(var g,y=t.call(h,h.__data__,v,d),m=n.i(o.f)(h,a),b=0,x=y.length;b<x;++b)(g=y[b])&&n.i(o.h)(g,e,a,b,y,m);c.push(y),l.push(h)}return new i.b(c,l,e,a)}},function(t,e,n){"use strict";var r=n(22).selection.prototype.constructor;e.a=function(){return new r(this._groups,this._parents)}},function(t,e,n){"use strict";var r=n(94),i=n(22),o=n(13),a=n(63),u=n(219);function s(t){return function(){this.style.removeProperty(t)}}e.a=function(t,e,c){var l="transform"==(t+="")?r.a:u.a;return null==e?this.styleTween(t,function(t,e){var r,o,a;return function(){var u=n.i(i.style)(this,t),s=(this.style.removeProperty(t),n.i(i.style)(this,t));return u===s?null:u===r&&s===o?a:a=e(r=u,o=s)}}(t,l)).on("end.style."+t,s(t)):"function"==typeof e?this.styleTween(t,function(t,e,r){var o,a,u;return function(){var s=n.i(i.style)(this,t),c=r(this),l=c+"";return null==c&&(this.style.removeProperty(t),l=c=n.i(i.style)(this,t)),s===l?null:s===o&&l===a?u:(a=l,u=e(o=s,c))}}(t,l,n.i(a.b)(this,"style."+t,e))).each(function(t,e){var r,i,a,u,c="style."+e,l="end."+c;return function(){var f=n.i(o.e)(this,t),h=f.on,d=null==f.value[c]?u||(u=s(e)):void 0;h===r&&a===d||(i=(r=h).copy()).on(l,a=d),f.on=i}}(this._id,t)):this.styleTween(t,function(t,e,r){var o,a,u=r+"";return function(){var s=n.i(i.style)(this,t);return s===u?null:s===o?a:a=e(o=s,r)}}(t,l,e),c).on("end.style."+t,null)}},function(t,e,n){"use strict";e.a=function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,e,n){return function(r){this.style.setProperty(t,e(r),n)}}(t,o,n)),r}return o._value=e,o}(t,e,null==n?"":n))}},function(t,e,n){"use strict";var r=n(63);e.a=function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(n.i(r.b)(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))}},function(t,e,n){"use strict";var r=n(27),i=n(13);e.a=function(){for(var t=this._name,e=this._id,o=n.i(r.c)(),a=this._groups,u=a.length,s=0;s<u;++s)for(var c,l=a[s],f=l.length,h=0;h<f;++h)if(c=l[h]){var d=n.i(i.f)(c,e);n.i(i.h)(c,t,o,h,l,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new r.b(a,this._parents,t,o)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i,o,a,u){if(void 0===e)throw new Error("invariant requires an error message argument");if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,u],l=0;(s=new Error(e.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(t,e,n){(function(e){var n="Expected a function",r=NaN,i="[object Symbol]",o=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt,l="object"==typeof e&&e&&e.Object===Object&&e,f="object"==typeof self&&self&&self.Object===Object&&self,h=l||f||Function("return this")(),d=Object.prototype.toString,p=Math.max,v=Math.min,g=function(){return h.Date.now()};function y(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function m(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&d.call(t)==i}(t))return r;if(y(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=y(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(o,"");var n=u.test(t);return n||s.test(t)?c(t.slice(2),n?2:8):a.test(t)?r:+t}t.exports=function(t,e,r){var i,o,a,u,s,c,l=0,f=!1,h=!1,d=!0;if("function"!=typeof t)throw new TypeError(n);function b(e){var n=i,r=o;return i=o=void 0,l=e,u=t.apply(r,n)}function x(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-l>=a}function w(){var t=g();if(x(t))return _(t);s=setTimeout(w,function(t){var n=e-(t-c);return h?v(n,a-(t-l)):n}(t))}function _(t){return s=void 0,d&&i?b(t):(i=o=void 0,u)}function S(){var t=g(),n=x(t);if(i=arguments,o=this,c=t,n){if(void 0===s)return function(t){return l=t,s=setTimeout(w,e),f?b(t):u}(c);if(h)return s=setTimeout(w,e),b(c)}return void 0===s&&(s=setTimeout(w,e)),u}return e=m(e)||0,y(r)&&(f=!!r.leading,a=(h="maxWait"in r)?p(m(r.maxWait)||0,e):a,d="trailing"in r?!!r.trailing:d),S.cancel=function(){void 0!==s&&clearTimeout(s),l=0,i=c=o=s=void 0},S.flush=function(){return void 0===s?u:_(g())},S}}).call(e,n(224))},function(t,e,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,a,u=function(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))i.call(n,c)&&(u[c]=n[c]);if(r){a=r(n);for(var l=0;l<a.length;l++)o.call(n,a[l])&&(u[a[l]]=n[a[l]])}}return u}},function(t,e,n){"use strict";var r=function(){},i=n(221),o={},a=Function.call.bind(Object.prototype.hasOwnProperty);function u(t,e,n,u,s){for(var c in t)if(a(t,c)){var l;try{if("function"!=typeof t[c]){var f=Error((u||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[c]+"`.");throw f.name="Invariant Violation",f}l=t[c](e,c,u,n,null,i)}catch(t){l=t}if(!l||l instanceof Error||r((u||"React class")+": type specification of "+n+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in o)){o[l.message]=!0;var h=s?s():"";r("Failed "+n+" type: "+l.message+(null!=h?h:""))}}}r=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}},u.resetWarningCache=function(){o={}},t.exports=u},function(t,e,n){"use strict";var r=n(222),i=n(538),o=n(221),a=n(539),u=Function.call.bind(Object.prototype.hasOwnProperty),s=function(){};function c(){return null}s=function(t){var e="Warning: "+t;"undefined"!=typeof console&&console.error(e);try{throw new Error(e)}catch(t){}},t.exports=function(t,e){var n="function"==typeof Symbol&&Symbol.iterator,l="@@iterator";var f="<<anonymous>>",h={array:g("array"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:v(c),arrayOf:function(t){return v(function(e,n,r,i,a){if("function"!=typeof t)return new p("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var u=e[n];if(!Array.isArray(u)){var s=m(u);return new p("Invalid "+i+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected an array.")}for(var c=0;c<u.length;c++){var l=t(u,c,r,i,a+"["+c+"]",o);if(l instanceof Error)return l}return null})},element:function(){return v(function(e,n,r,i,o){var a=e[n];if(!t(a)){var u=m(a);return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected a single ReactElement.")}return null})}(),elementType:function(){return v(function(t,e,n,i,o){var a=t[e];if(!r.isValidElementType(a)){var u=m(a);return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+n+"`, expected a single ReactElement type.")}return null})}(),instanceOf:function(t){return v(function(e,n,r,i,o){if(!(e[n]instanceof t)){var a=t.name||f,u=function(t){if(!t.constructor||!t.constructor.name)return f;return t.constructor.name}(e[n]);return new p("Invalid "+i+" `"+o+"` of type `"+u+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}return null})},node:function(){return v(function(t,e,n,r,i){if(!y(t[e]))return new p("Invalid "+r+" `"+i+"` supplied to `"+n+"`, expected a ReactNode.");return null})}(),objectOf:function(t){return v(function(e,n,r,i,a){if("function"!=typeof t)return new p("Property `"+a+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=e[n],c=m(s);if("object"!==c)return new p("Invalid "+i+" `"+a+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var l in s)if(u(s,l)){var f=t(s,l,r,i,a+"."+l,o);if(f instanceof Error)return f}return null})},oneOf:function(t){if(!Array.isArray(t))return arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array."),c;return v(function(e,n,r,i,o){for(var a=e[n],u=0;u<t.length;u++)if(d(a,t[u]))return null;var s=JSON.stringify(t,function(t,e){var n=b(e);return"symbol"===n?String(e):e});return new p("Invalid "+i+" `"+o+"` of value `"+String(a)+"` supplied to `"+r+"`, expected one of "+s+".")})},oneOfType:function(t){if(!Array.isArray(t))return s("Invalid argument supplied to oneOfType, expected an instance of array."),c;for(var e=0;e<t.length;e++){var n=t[e];if("function"!=typeof n)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(n)+" at index "+e+"."),c}return v(function(e,n,r,i,a){for(var u=0;u<t.length;u++){var s=t[u];if(null==s(e,n,r,i,a,o))return null}return new p("Invalid "+i+" `"+a+"` supplied to `"+r+"`.")})},shape:function(t){return v(function(e,n,r,i,a){var u=e[n],s=m(u);if("object"!==s)return new p("Invalid "+i+" `"+a+"` of type `"+s+"` supplied to `"+r+"`, expected `object`.");for(var c in t){var l=t[c];if(l){var f=l(u,c,r,i,a+"."+c,o);if(f)return f}}return null})},exact:function(t){return v(function(e,n,r,a,u){var s=e[n],c=m(s);if("object"!==c)return new p("Invalid "+a+" `"+u+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");var l=i({},e[n],t);for(var f in l){var h=t[f];if(!h)return new p("Invalid "+a+" `"+u+"` key `"+f+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(e[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(t),null," "));var d=h(s,f,r,a,u+"."+f,o);if(d)return d}return null})}};function d(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function p(t){this.message=t,this.stack=""}function v(t){var n={},r=0;function i(i,a,u,c,l,h,d){if(c=c||f,h=h||u,d!==o){if(e){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}if("undefined"!=typeof console){var g=c+":"+u;!n[g]&&r<3&&(s("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+c+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),n[g]=!0,r++)}}return null==a[u]?i?null===a[u]?new p("The "+l+" `"+h+"` is marked as required in `"+c+"`, but its value is `null`."):new p("The "+l+" `"+h+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:t(a,u,c,l,h)}var a=i.bind(null,!1);return a.isRequired=i.bind(null,!0),a}function g(t){return v(function(e,n,r,i,o,a){var u=e[n];return m(u)!==t?new p("Invalid "+i+" `"+o+"` of type `"+b(u)+"` supplied to `"+r+"`, expected `"+t+"`."):null})}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||t(e))return!0;var r=function(t){var e=t&&(n&&t[n]||t[l]);if("function"==typeof e)return e}(e);if(!r)return!1;var i,o=r.call(e);if(r!==e.entries){for(;!(i=o.next()).done;)if(!y(i.value))return!1}else for(;!(i=o.next()).done;){var a=i.value;if(a&&!y(a[1]))return!1}return!0;default:return!1}}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||!!e&&("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}(e,t)?"symbol":e}function b(t){if(null==t)return""+t;var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function x(t){var e=b(t);switch(e){case"array":case"object":return"an "+e;case"boolean":case"date":case"regexp":return"a "+e;default:return e}}return p.prototype=Error.prototype,h.checkPropTypes=a,h.resetWarningCache=a.resetWarningCache,h.PropTypes=h,h}},function(t,e,n){"use strict"; /** @license React v16.8.6 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */(function(){Object.defineProperty(e,"__esModule",{value:!0});var t="function"==typeof Symbol&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,l=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,h=t?Symbol.for("react.suspense"):60113,d=t?Symbol.for("react.memo"):60115,p=t?Symbol.for("react.lazy"):60116;var v=function(t,e){if(void 0===e)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];(function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=0,o="Warning: "+t.replace(/%s/g,function(){return n[i++]});"undefined"!=typeof console&&console.warn(o);try{throw new Error(o)}catch(t){}}).apply(void 0,[e].concat(r))}};function g(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:var v=t.type;switch(v){case c:case l:case i:case a:case o:case h:return v;default:var g=v&&v.$$typeof;switch(g){case s:case f:case u:return g;default:return e}}case p:case d:case r:return e}}}var y=c,m=l,b=s,x=u,w=n,_=f,S=i,k=p,E=d,O=r,C=a,A=o,T=h,M=!1;function P(t){return g(t)===l}e.typeOf=g,e.AsyncMode=y,e.ConcurrentMode=m,e.ContextConsumer=b,e.ContextProvider=x,e.Element=w,e.ForwardRef=_,e.Fragment=S,e.Lazy=k,e.Memo=E,e.Portal=O,e.Profiler=C,e.StrictMode=A,e.Suspense=T,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===l||t===a||t===o||t===h||"object"==typeof t&&null!==t&&(t.$$typeof===p||t.$$typeof===d||t.$$typeof===u||t.$$typeof===s||t.$$typeof===f)},e.isAsyncMode=function(t){return M||(M=!0,v(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),P(t)||g(t)===c},e.isConcurrentMode=P,e.isContextConsumer=function(t){return g(t)===s},e.isContextProvider=function(t){return g(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===n},e.isForwardRef=function(t){return g(t)===f},e.isFragment=function(t){return g(t)===i},e.isLazy=function(t){return g(t)===p},e.isMemo=function(t){return g(t)===d},e.isPortal=function(t){return g(t)===r},e.isProfiler=function(t){return g(t)===a},e.isStrictMode=function(t){return g(t)===o},e.isSuspense=function(t){return g(t)===h}})()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},a=2;var u=20,s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,l=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function u(){n&&(n=!1,t()),r&&c()}function s(){o(u)}function c(){var t=Date.now();if(n){if(t-i<a)return;r=!0}else n=!0,r=!1,setTimeout(s,e);i=t}return c}(this.refresh.bind(this),u)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;s.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},d=b(0,0,0,0);function p(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(e,n){return e+p(t["border-"+n+"-width"])},0)}function g(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=h(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=p(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,u=p(r.width),s=p(r.height);if("border-box"===r.boxSizing&&(Math.round(u+o)!==e&&(u-=v(r,"left","right")+o),Math.round(s+a)!==n&&(s-=v(r,"top","bottom")+a)),!function(t){return t===h(t).document.documentElement}(t)){var c=Math.round(u+o)-e,l=Math.round(s+a)-n;1!==Math.abs(c)&&(u-=c),1!==Math.abs(l)&&(s-=l)}return b(i.left,i.top,u,s)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return r?y(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):g(t):d}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var x=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),w=function(){return function(t,e){var n,r,i,o,a,u,s,c=(r=(n=e).x,i=n.y,o=n.width,a=n.height,u="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(u.prototype),f(s,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),s);f(this,{target:t,contentRect:c})}}(),_=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new x(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new w(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),S="undefined"!=typeof WeakMap?new WeakMap:new n,k=function(){return function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new _(e,n,this);S.set(this,r)}}();["observe","unobserve","disconnect"].forEach(function(t){k.prototype[t]=function(){var e;return(e=S.get(this))[t].apply(e,arguments)}});var E=void 0!==i.ResizeObserver?i.ResizeObserver:k;e.default=E}.call(e,n(224))},function(t,e,n){!function(t,e,n){"use strict";var r=1e-10;function i(t,e){var n,i=function(t){for(var e=[],n=0;n<t.length;++n)for(var r=n+1;r<t.length;++r)for(var i=s(t[n],t[r]),o=0;o<i.length;++o){var a=i[o];a.parentIndex=[n,r],e.push(a)}return e}(t),u=i.filter(function(e){return function(t,e){for(var n=0;n<e.length;++n)if(a(t,e[n])>e[n].radius+r)return!1;return!0}(e,t)}),l=0,f=0,h=[];if(u.length>1){var d=c(u);for(n=0;n<u.length;++n){var p=u[n];p.angle=Math.atan2(p.x-d.x,p.y-d.y)}u.sort(function(t,e){return e.angle-t.angle});var v=u[u.length-1];for(n=0;n<u.length;++n){var g=u[n];f+=(v.x+g.x)*(g.y-v.y);for(var y={x:(g.x+v.x)/2,y:(g.y+v.y)/2},m=null,b=0;b<g.parentIndex.length;++b)if(v.parentIndex.indexOf(g.parentIndex[b])>-1){var x=t[g.parentIndex[b]],w=Math.atan2(g.x-x.x,g.y-x.y),_=Math.atan2(v.x-x.x,v.y-x.y),S=_-w;S<0&&(S+=2*Math.PI);var k=_-S/2,E=a(y,{x:x.x+x.radius*Math.sin(k),y:x.y+x.radius*Math.cos(k)});E>2*x.radius&&(E=2*x.radius),(null===m||m.width>E)&&(m={circle:x,width:E,p1:g,p2:v})}null!==m&&(h.push(m),l+=o(m.circle.radius,m.width),v=g)}}else{var O=t[0];for(n=1;n<t.length;++n)t[n].radius<O.radius&&(O=t[n]);var C=!1;for(n=0;n<t.length;++n)if(a(t[n],O)>Math.abs(O.radius-t[n].radius)){C=!0;break}C?l=f=0:(l=O.radius*O.radius*Math.PI,h.push({circle:O,p1:{x:O.x,y:O.y+O.radius},p2:{x:O.x-r,y:O.y+O.radius},width:2*O.radius}))}return f/=2,e&&(e.area=l+f,e.arcArea=l,e.polygonArea=f,e.arcs=h,e.innerPoints=u,e.intersectionPoints=i),l+f}function o(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function a(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function u(t,e,n){if(n>=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);var r=t-(n*n-e*e+t*t)/(2*n),i=e-(n*n-t*t+e*e)/(2*n);return o(t,r)+o(e,i)}function s(t,e){var n=a(t,e),r=t.radius,i=e.radius;if(n>=r+i||n<=Math.abs(r-i))return[];var o=(r*r-i*i+n*n)/(2*n),u=Math.sqrt(r*r-o*o),s=t.x+o*(e.x-t.x)/n,c=t.y+o*(e.y-t.y)/n,l=-(e.y-t.y)*(u/n),f=-(e.x-t.x)*(u/n);return[{x:s+l,y:c-f},{x:s-l,y:c+f}]}function c(t){for(var e={x:0,y:0},n=0;n<t.length;++n)e.x+=t[n].x,e.y+=t[n].y;return e.x/=t.length,e.y/=t.length,e}function l(t){for(var e=new Array(t),n=0;n<t;++n)e[n]=0;return e}function f(t,e){return l(t).map(function(){return l(e)})}function h(t,e){for(var n=0,r=0;r<t.length;++r)n+=t[r]*e[r];return n}function d(t){return Math.sqrt(h(t,t))}function p(t,e,n){for(var r=0;r<e.length;++r)t[r]=e[r]*n}function v(t,e,n,r,i){for(var o=0;o<t.length;++o)t[o]=e*n[o]+r*i[o]}function g(t,e,n){var r,i=(n=n||{}).maxIterations||200*e.length,o=n.nonZeroDelta||1.05,a=n.zeroDelta||.001,u=n.minErrorDelta||1e-6,s=n.minErrorDelta||1e-5,c=void 0!==n.rho?n.rho:1,l=void 0!==n.chi?n.chi:2,f=void 0!==n.psi?n.psi:-.5,h=void 0!==n.sigma?n.sigma:.5,d=e.length,p=new Array(d+1);p[0]=e,p[0].fx=t(e),p[0].id=0;for(var g=0;g<d;++g){var y=e.slice();y[g]=y[g]?y[g]*o:a,p[g+1]=y,p[g+1].fx=t(y),p[g+1].id=g+1}function m(t){for(var e=0;e<t.length;e++)p[d][e]=t[e];p[d].fx=t.fx}for(var b=function(t,e){return t.fx-e.fx},x=e.slice(),w=e.slice(),_=e.slice(),S=e.slice(),k=0;k<i;++k){if(p.sort(b),n.history){var E=p.map(function(t){var e=t.slice();return e.fx=t.fx,e.id=t.id,e});E.sort(function(t,e){return t.id-e.id}),n.history.push({x:p[0].slice(),fx:p[0].fx,simplex:E})}for(r=0,g=0;g<d;++g)r=Math.max(r,Math.abs(p[0][g]-p[1][g]));if(Math.abs(p[0].fx-p[d].fx)<u&&r<s)break;for(g=0;g<d;++g){x[g]=0;for(var O=0;O<d;++O)x[g]+=p[O][g];x[g]/=d}var C=p[d];if(v(w,1+c,x,-c,C),w.fx=t(w),w.fx<p[0].fx)v(S,1+l,x,-l,C),S.fx=t(S),S.fx<w.fx?m(S):m(w);else if(w.fx>=p[d-1].fx){var A=!1;if(w.fx>C.fx?(v(_,1+f,x,-f,C),_.fx=t(_),_.fx<C.fx?m(_):A=!0):(v(_,1-f*c,x,f*c,C),_.fx=t(_),_.fx<w.fx?m(_):A=!0),A){if(h>=1)break;for(g=1;g<p.length;++g)v(p[g],1-h,p[0],h,p[g]),p[g].fx=t(p[g])}}else m(w)}return p.sort(b),{fx:p[0].fx,x:p[0]}}function y(t,e,n,r,i,o,a){var u=n.fx,s=h(n.fxprime,e),c=u,l=u,f=s,d=0;function p(l,d,p){for(var g=0;g<16;++g)if(i=(l+d)/2,v(r.x,1,n.x,i,e),c=r.fx=t(r.x,r.fxprime),f=h(r.fxprime,e),c>u+o*i*s||c>=p)d=i;else{if(Math.abs(f)<=-a*s)return i;f*(d-l)>=0&&(d=l),l=i,p=c}return 0}i=i||1,o=o||1e-6,a=a||.1;for(var g=0;g<10;++g){if(v(r.x,1,n.x,i,e),c=r.fx=t(r.x,r.fxprime),f=h(r.fxprime,e),c>u+o*i*s||g&&c>=l)return p(d,i,l);if(Math.abs(f)<=-a*s)return i;if(f>=0)return p(i,d,c);l=c,d=i,i*=2}return i}function m(t,e,n){var r,i,o,a={x:e.slice(),fx:0,fxprime:e.slice()},u={x:e.slice(),fx:0,fxprime:e.slice()},s=e.slice(),c=1;o=(n=n||{}).maxIterations||20*e.length,a.fx=t(a.x,a.fxprime),p(r=a.fxprime.slice(),a.fxprime,-1);for(var l=0;l<o;++l){if(c=y(t,r,a,u,c),n.history&&n.history.push({x:a.x.slice(),fx:a.fx,fxprime:a.fxprime.slice(),alpha:c}),c){v(s,1,u.fxprime,-1,a.fxprime);var f=h(a.fxprime,a.fxprime),g=Math.max(0,h(s,u.fxprime)/f);v(r,g,r,-1,u.fxprime),i=a,a=u,u=i}else p(r,a.fxprime,-1);if(d(a.fxprime)<=1e-5)break}return n.history&&n.history.push({x:a.x.slice(),fx:a.fx,fxprime:a.fxprime.slice(),alpha:c}),a}function b(t,e){(e=e||{}).maxIterations=e.maxIterations||500;var n=e.initialLayout||_,r=e.lossFunction||k;t=function(t){t=t.slice();var e,n,r,i,o=[],a={};for(e=0;e<t.length;++e){var u=t[e];1==u.sets.length?o.push(u.sets[0]):2==u.sets.length&&(r=u.sets[0],i=u.sets[1],a[[r,i]]=!0,a[[i,r]]=!0)}for(o.sort(function(t,e){return t>e}),e=0;e<o.length;++e)for(r=o[e],n=e+1;n<o.length;++n)i=o[n],[r,i]in a||t.push({sets:[r,i],size:0});return t}(t);var i,o=n(t,e),a=[],u=[];for(i in o)o.hasOwnProperty(i)&&(a.push(o[i].x),a.push(o[i].y),u.push(i));for(var s=g(function(e){for(var n={},i=0;i<u.length;++i){var a=u[i];n[a]={x:e[2*i],y:e[2*i+1],radius:o[a].radius}}return r(n,t)},a,e),c=s.x,l=0;l<u.length;++l)i=u[l],o[i].x=c[2*l],o[i].y=c[2*l+1];return o}var x=1e-10;function w(t,e,n){return Math.min(t,e)*Math.min(t,e)*Math.PI<=n+x?Math.abs(t-e):function(t,e,n,r){var i=(r=r||{}).maxIterations||100,o=r.tolerance||1e-10,a=t(e),u=t(n),s=n-e;if(a*u>0)throw"Initial bisect points must have opposite signs";if(0===a)return e;if(0===u)return n;for(var c=0;c<i;++c){var l=e+(s/=2),f=t(l);if(f*a>=0&&(e=l),Math.abs(s)<o||0===f)return l}return e+s}(function(r){return u(t,e,r)-n},0,t+e)}function _(t,e){var n=S(t,e),r=e.lossFunction||k;if(t.length>=8){var i=function(t,e){var n,r=(e=e||{}).restarts||10,i=[],o={};for(n=0;n<t.length;++n){var a=t[n];1==a.sets.length&&(o[a.sets[0]]=i.length,i.push(a))}var u=function(t,e,n){var r=f(e.length,e.length),i=f(e.length,e.length);return t.filter(function(t){return 2==t.sets.length}).map(function(t){var o=n[t.sets[0]],a=n[t.sets[1]],u=w(Math.sqrt(e[o].size/Math.PI),Math.sqrt(e[a].size/Math.PI),t.size);r[o][a]=r[a][o]=u;var s=0;t.size+1e-10>=Math.min(e[o].size,e[a].size)?s=1:t.size<=1e-10&&(s=-1),i[o][a]=i[a][o]=s}),{distances:r,constraints:i}}(t,i,o),s=u.distances,c=u.constraints,h=d(s.map(d))/s.length;s=s.map(function(t){return t.map(function(t){return t/h})});var v,g,y=function(t,e){return function(t,e,n,r){var i,o=0;for(i=0;i<e.length;++i)e[i]=0;for(i=0;i<n.length;++i)for(var a=t[2*i],u=t[2*i+1],s=i+1;s<n.length;++s){var c=t[2*s],l=t[2*s+1],f=n[i][s],h=r[i][s],d=(c-a)*(c-a)+(l-u)*(l-u),p=Math.sqrt(d),v=d-f*f;h>0&&p<=f||h<0&&p>=f||(o+=2*v*v,e[2*i]+=4*v*(a-c),e[2*i+1]+=4*v*(u-l),e[2*s]+=4*v*(c-a),e[2*s+1]+=4*v*(l-u))}return o}(t,e,s,c)};for(n=0;n<r;++n){var b=l(2*s.length).map(Math.random);g=m(y,b,e),(!v||g.fx<v.fx)&&(v=g)}var x=v.x,_={};for(n=0;n<i.length;++n){var S=i[n];_[S.sets[0]]={x:x[2*n]*h,y:x[2*n+1]*h,radius:Math.sqrt(S.size/Math.PI)}}if(e.history)for(n=0;n<e.history.length;++n)p(e.history[n].x,h);return _}(t,e),o=r(i,t),a=r(n,t);o+1e-8<a&&(n=i)}return n}function S(t,e){for(var n,r=e&&e.lossFunction?e.lossFunction:k,i={},o={},a=0;a<t.length;++a){var u=t[a];1==u.sets.length&&(n=u.sets[0],i[n]={x:1e10,y:1e10,rowid:i.length,size:u.size,radius:Math.sqrt(u.size/Math.PI)},o[n]=[])}for(t=t.filter(function(t){return 2==t.sets.length}),a=0;a<t.length;++a){var c=t[a],l=c.hasOwnProperty("weight")?c.weight:1,f=c.sets[0],h=c.sets[1];c.size+x>=Math.min(i[f].size,i[h].size)&&(l=0),o[f].push({set:h,size:c.size,weight:l}),o[h].push({set:f,size:c.size,weight:l})}var d=[];for(n in o)if(o.hasOwnProperty(n)){var p=0;for(a=0;a<o[n].length;++a)p+=o[n][a].size*o[n][a].weight;d.push({set:n,size:p})}function v(t,e){return e.size-t.size}d.sort(v);var g={};function y(t){return t.set in g}function m(t,e){i[e].x=t.x,i[e].y=t.y,g[e]=!0}for(m({x:0,y:0},d[0].set),a=1;a<d.length;++a){var b=d[a].set,_=o[b].filter(y);if(n=i[b],_.sort(v),0===_.length)throw"ERROR: missing pairwise overlap information";for(var S=[],E=0;E<_.length;++E){var O=i[_[E].set],C=w(n.radius,O.radius,_[E].size);S.push({x:O.x+C,y:O.y}),S.push({x:O.x-C,y:O.y}),S.push({y:O.y+C,x:O.x}),S.push({y:O.y-C,x:O.x});for(var A=E+1;A<_.length;++A)for(var T=i[_[A].set],M=w(n.radius,T.radius,_[A].size),P=s({x:O.x,y:O.y,radius:C},{x:T.x,y:T.y,radius:M}),j=0;j<P.length;++j)S.push(P[j])}var D=1e50,I=S[0];for(E=0;E<S.length;++E){i[b].x=S[E].x,i[b].y=S[E].y;var N=r(i,t);N<D&&(D=N,I=S[E])}m(I,b)}return i}function k(t,e){for(var n=0,r=0;r<e.length;++r){var o,s=e[r];if(1!=s.sets.length){if(2==s.sets.length){var c=t[s.sets[0]],l=t[s.sets[1]];o=u(c.radius,l.radius,a(c,l))}else o=i(s.sets.map(function(e){return t[e]}));var f=s.hasOwnProperty("weight")?s.weight:1;n+=f*(o-s.size)*(o-s.size)}}return n}function E(t,e,n){var r;if(null===n?t.sort(function(t,e){return e.radius-t.radius}):t.sort(n),t.length>0){var i=t[0].x,o=t[0].y;for(r=0;r<t.length;++r)t[r].x-=i,t[r].y-=o}if(2==t.length){var u=a(t[0],t[1]);u<Math.abs(t[1].radius-t[0].radius)&&(t[1].x=t[0].x+t[0].radius-t[1].radius-1e-10,t[1].y=t[0].y)}if(t.length>1){var s,c,l=Math.atan2(t[1].x,t[1].y)-e,f=Math.cos(l),h=Math.sin(l);for(r=0;r<t.length;++r)s=t[r].x,c=t[r].y,t[r].x=f*s-h*c,t[r].y=h*s+f*c}if(t.length>2){for(var d=Math.atan2(t[2].x,t[2].y)-e;d<0;)d+=2*Math.PI;for(;d>2*Math.PI;)d-=2*Math.PI;if(d>Math.PI){var p=t[1].y/(1e-10+t[1].x);for(r=0;r<t.length;++r){var v=(t[r].x+p*t[r].y)/(1+p*p);t[r].x=2*v-t[r].x,t[r].y=2*v*p-t[r].y}}}}function O(t){function e(t){return t.parent!==t&&(t.parent=e(t.parent)),t.parent}t.map(function(t){t.parent=t});for(var n=0;n<t.length;++n)for(var r=n+1;r<t.length;++r){var i=t[n].radius+t[r].radius;a(t[n],t[r])+1e-10<i&&(o=t[r],u=t[n],s=void 0,c=void 0,s=e(o),c=e(u),s.parent=c)}var o,u,s,c,l,f={};for(n=0;n<t.length;++n)(l=e(t[n]).parent.setid)in f||(f[l]=[]),f[l].push(t[n]);t.map(function(t){delete t.parent});var h=[];for(l in f)f.hasOwnProperty(l)&&h.push(f[l]);return h}function C(t){var e=function(e){var n=Math.max.apply(null,t.map(function(t){return t[e]+t.radius})),r=Math.min.apply(null,t.map(function(t){return t[e]-t.radius}));return{max:n,min:r}};return{xRange:e("x"),yRange:e("y")}}function A(t,e,n){null===e&&(e=Math.PI/2);var r,i,o=[];for(i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push({x:a.x,y:a.y,radius:a.radius,setid:i})}var u=O(o);for(r=0;r<u.length;++r){E(u[r],e,n);var s=C(u[r]);u[r].size=(s.xRange.max-s.xRange.min)*(s.yRange.max-s.yRange.min),u[r].bounds=s}u.sort(function(t,e){return e.size-t.size});var c=(o=u[0]).bounds,l=(c.xRange.max-c.xRange.min)/50;function f(t,e,n){if(t){var r,i,a,u=t.bounds;e?r=c.xRange.max-u.xRange.min+l:(r=c.xRange.max-u.xRange.max,(a=(u.xRange.max-u.xRange.min)/2-(c.xRange.max-c.xRange.min)/2)<0&&(r+=a)),n?i=c.yRange.max-u.yRange.min+l:(i=c.yRange.max-u.yRange.max,(a=(u.yRange.max-u.yRange.min)/2-(c.yRange.max-c.yRange.min)/2)<0&&(i+=a));for(var s=0;s<t.length;++s)t[s].x+=r,t[s].y+=i,o.push(t[s])}}for(var h=1;h<u.length;)f(u[h],!0,!1),f(u[h+1],!1,!0),f(u[h+2],!0,!0),h+=3,c=C(o);var d={};for(r=0;r<o.length;++r)d[o[r].setid]=o[r];return d}function T(t,e,n,r){var i=[],o=[];for(var a in t)t.hasOwnProperty(a)&&(o.push(a),i.push(t[a]));e-=2*r,n-=2*r;var u=C(i),s=u.xRange,c=u.yRange;if(s.max==s.min||c.max==c.min)return console.log("not scaling solution: zero size detected"),t;for(var l=e/(s.max-s.min),f=n/(c.max-c.min),h=Math.min(f,l),d=(e-(s.max-s.min)*h)/2,p=(n-(c.max-c.min)*h)/2,v={},g=0;g<i.length;++g){var y=i[g];v[o[g]]={radius:h*y.radius,x:r+d+(y.x-s.min)*h,y:r+p+(y.y-c.min)*h}}return v}function M(t,n){return function(){for(var r,i=e.select(this),o=i.datum(),a=t[o.sets[0]].radius||50,u=n(o)||"",s=u.split(/\s+/).reverse(),c=(u.length+s.length)/3,l=s.pop(),f=[l],h=0,d=i.text(null).append("tspan").text(l);l=s.pop();)f.push(l),r=f.join(" "),d.text(r),r.length>c&&d.node().getComputedTextLength()>a&&(f.pop(),d.text(f.join(" ")),f=[l],d=i.append("tspan").text(l),h++);var p=.35-1.1*h/2,v=i.attr("x"),g=i.attr("y");i.selectAll("tspan").attr("x",v).attr("y",g).attr("dy",function(t,e){return p+1.1*e+"em"})}}function P(t,e,n){var r,i,o=e[0].radius-a(e[0],t);for(r=1;r<e.length;++r)(i=e[r].radius-a(e[r],t))<=o&&(o=i);for(r=0;r<n.length;++r)(i=a(n[r],t)-n[r].radius)<=o&&(o=i);return o}function j(t,e){var n,r=[];for(n=0;n<t.length;++n){var o=t[n];r.push({x:o.x,y:o.y}),r.push({x:o.x+o.radius/2,y:o.y}),r.push({x:o.x-o.radius/2,y:o.y}),r.push({x:o.x,y:o.y+o.radius/2}),r.push({x:o.x,y:o.y-o.radius/2})}var u=r[0],s=P(r[0],t,e);for(n=1;n<r.length;++n){var l=P(r[n],t,e);l>=s&&(u=r[n],s=l)}var f=g(function(n){return-1*P({x:n[0],y:n[1]},t,e)},[u.x,u.y],{maxIterations:500,minErrorDelta:1e-10}).x,h={x:f[0],y:f[1]},d=!0;for(n=0;n<t.length;++n)if(a(h,t[n])>t[n].radius){d=!1;break}for(n=0;n<e.length;++n)if(a(h,e[n])<e[n].radius){d=!1;break}if(!d)if(1==t.length)h={x:t[0].x,y:t[0].y};else{var p={};i(t,p),h=0===p.arcs.length?{x:0,y:-1e3,disjoint:!0}:1==p.arcs.length?{x:p.arcs[0].circle.x,y:p.arcs[0].circle.y}:e.length?j(t,[]):c(p.arcs.map(function(t){return t.p1}))}return h}function D(t){var e={},n=[];for(var r in t)n.push(r),e[r]=[];for(var i=0;i<n.length;i++)for(var o=t[n[i]],u=i+1;u<n.length;++u){var s=t[n[u]],c=a(o,s);c+s.radius<=o.radius+1e-10?e[n[u]].push(n[i]):c+o.radius<=s.radius+1e-10&&e[n[i]].push(n[u])}return e}function I(t,e){for(var n={},r=D(t),i=0;i<e.length;++i){for(var o=e[i].sets,a={},u={},s=0;s<o.length;++s){a[o[s]]=!0;for(var c=r[o[s]],l=0;l<c.length;++l)u[c[l]]=!0}var f=[],h=[];for(var d in t)d in a?f.push(t[d]):d in u||h.push(t[d]);var p=j(f,h);n[o]=p,p.disjoint&&e[i].size>0&&console.log("WARNING: area "+o+" not represented on screen")}return n}function N(t,e,n){var r=[];return r.push("\nM",t,e),r.push("\nm",-n,0),r.push("\na",n,n,0,1,0,2*n,0),r.push("\na",n,n,0,1,0,2*-n,0),r.join(" ")}function F(t){var e=t.split(" ");return{x:parseFloat(e[1]),y:parseFloat(e[2]),radius:-parseFloat(e[4])}}function R(t){var e={};i(t,e);var n=e.arcs;if(0===n.length)return"M 0 0";if(1==n.length){var r=n[0].circle;return N(r.x,r.y,r.radius)}for(var o=["\nM",n[0].p2.x,n[0].p2.y],a=0;a<n.length;++a){var u=n[a],s=u.circle.radius,c=u.width>s;o.push("\nA",s,s,0,c?1:0,1,u.p1.x,u.p1.y)}return o.join(" ")}t.intersectionArea=i,t.circleCircleIntersection=s,t.circleOverlap=u,t.circleArea=o,t.distance=a,t.venn=b,t.greedyLayout=S,t.scaleSolution=T,t.normalizeSolution=A,t.bestInitialLayout=_,t.lossFunction=k,t.disjointCluster=O,t.distanceFromIntersectArea=w,t.VennDiagram=function(){var t=600,n=350,r=15,i=1e3,o=Math.PI/2,a=!0,u=!0,s=!0,c=null,l=null,f={},h=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],d=0,p=function(t){if(t in f)return f[t];var e=f[t]=h[d];return(d+=1)>=h.length&&(d=0),e},v=b,g=k;function y(f){var h=f.datum(),d={};h.forEach(function(t){0==t.size&&1==t.sets.length&&(d[t.sets[0]]=1)}),h=h.filter(function(t){return!t.sets.some(function(t){return t in d})});var y={},m={};if(h.length>0){var b=v(h,{lossFunction:g});a&&(b=A(b,o,l)),y=T(b,t,n,r),m=I(y,h)}var x={};function w(t){return t.sets in x?x[t.sets]:1==t.sets.length?""+t.sets[0]:void 0}h.forEach(function(t){t.label&&(x[t.sets]=t.label)}),f.selectAll("svg").data([y]).enter().append("svg");var _=f.select("svg").attr("width",t).attr("height",n),S={},k=!1;_.selectAll(".venn-area path").each(function(t){var n=e.select(this).attr("d");1==t.sets.length&&n&&(k=!0,S[t.sets[0]]=F(n))});var E=function(e){return function(r){var i=e.sets.map(function(e){var i=S[e],o=y[e];return i||(i={x:t/2,y:n/2,radius:1}),o||(o={x:t/2,y:n/2,radius:1}),{x:i.x*(1-r)+o.x*r,y:i.y*(1-r)+o.y*r,radius:i.radius*(1-r)+o.radius*r}});return R(i)}},O=_.selectAll(".venn-area").data(h,function(t){return t.sets}),C=O.enter().append("g").attr("class",function(t){return"venn-area venn-"+(1==t.sets.length?"circle":"intersection")}).attr("data-venn-sets",function(t){return t.sets.join("_")}),P=C.append("path"),j=C.append("text").attr("class","label").text(function(t){return w(t)}).attr("text-anchor","middle").attr("dy",".35em").attr("x",t/2).attr("y",n/2);s&&(P.style("fill-opacity","0").filter(function(t){return 1==t.sets.length}).style("fill",function(t){return p(t.sets)}).style("fill-opacity",".25"),j.style("fill",function(t){return 1==t.sets.length?p(t.sets):"#444"}));var D=f;k?(D=f.transition("venn").duration(i)).selectAll("path").attrTween("d",E):D.selectAll("path").attr("d",function(t){return R(t.sets.map(function(t){return y[t]}))});var N=D.selectAll("text").filter(function(t){return t.sets in m}).text(function(t){return w(t)}).attr("x",function(t){return Math.floor(m[t.sets].x)}).attr("y",function(t){return Math.floor(m[t.sets].y)});u&&(k?"on"in N?N.on("end",M(y,w)):N.each("end",M(y,w)):N.each(M(y,w)));var L=O.exit().transition("venn").duration(i).remove();L.selectAll("path").attrTween("d",E);var B=L.selectAll("text").attr("x",t/2).attr("y",n/2);return null!==c&&(j.style("font-size","0px"),N.style("font-size",c),B.style("font-size","0px")),{circles:y,textCentres:m,nodes:O,enter:C,update:D,exit:L}}return y.wrap=function(t){return arguments.length?(u=t,y):u},y.width=function(e){return arguments.length?(t=e,y):t},y.height=function(t){return arguments.length?(n=t,y):n},y.padding=function(t){return arguments.length?(r=t,y):r},y.colours=function(t){return arguments.length?(p=t,y):p},y.fontSize=function(t){return arguments.length?(c=t,y):c},y.duration=function(t){return arguments.length?(i=t,y):i},y.layoutFunction=function(t){return arguments.length?(v=t,y):v},y.normalize=function(t){return arguments.length?(a=t,y):a},y.styled=function(t){return arguments.length?(s=t,y):s},y.orientation=function(t){return arguments.length?(o=t,y):o},y.orientationOrder=function(t){return arguments.length?(l=t,y):l},y.lossFunction=function(t){return arguments.length?(g=t,y):g},y},t.wrapText=M,t.computeTextCentres=I,t.computeTextCentre=j,t.sortAreas=function(t,e){for(var n=D(t.selectAll("svg").datum()),r={},i=0;i<e.sets.length;++i){var o=e.sets[i];for(var a in n)for(var u=n[a],s=0;s<u.length;++s)if(u[s]==o){r[a]=!0;break}}function c(t){for(var e=0;e<t.length;++e)if(!(t[e]in r))return!1;return!0}t.selectAll("g").sort(function(t,n){return t.sets.length!=n.sets.length?t.sets.length-n.sets.length:t==e?c(n.sets)?-1:1:n==e?c(t.sets)?1:-1:n.size-t.size})},t.circlePath=N,t.circleFromPath=F,t.intersectionAreaPath=R,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(22),n(515))},function(t,e,n){n(64),t.exports=n(64)}])},t.exports=r(n("q1tI"))},yXmM:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},e.containerStyleAutoHeight={height:"auto"},e.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},e.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},e.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},e.trackHorizontalStyleDefault={position:"absolute",height:6},e.trackVerticalStyleDefault={position:"absolute",width:6},e.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},e.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},e.disableSelectStyle={userSelect:"none"},e.disableSelectStyleReset={userSelect:""}},yb06:function(t,e,n){"use strict";var r=n("JPcv"),i="<<anonymous>>",o={listOf:function(t){return c(t,"List",r.List.isList)},mapOf:function(t,e){return l(t,e,"Map",r.Map.isMap)},orderedMapOf:function(t,e){return l(t,e,"OrderedMap",r.OrderedMap.isOrderedMap)},setOf:function(t){return c(t,"Set",r.Set.isSet)},orderedSetOf:function(t){return c(t,"OrderedSet",r.OrderedSet.isOrderedSet)},stackOf:function(t){return c(t,"Stack",r.Stack.isStack)},iterableOf:function(t){return c(t,"Iterable",r.Iterable.isIterable)},recordOf:function(t){return u(function(e,n,i,o,u){for(var s=arguments.length,c=Array(s>5?s-5:0),l=5;l<s;l++)c[l-5]=arguments[l];var f=e[n];if(!(f instanceof r.Record)){var h=a(f),d=o;return new Error("Invalid "+d+" `"+u+"` of type `"+h+"` supplied to `"+i+"`, expected an Immutable.js Record.")}for(var p in t){var v=t[p];if(v){var g=f.toObject(),y=v.apply(void 0,[g,p,i,o,u+"."+p].concat(c));if(y)return y}}})},shape:h,contains:h,mapContains:function(t){return f(t,"Map",r.Map.isMap)},list:s("List",r.List.isList),map:s("Map",r.Map.isMap),orderedMap:s("OrderedMap",r.OrderedMap.isOrderedMap),set:s("Set",r.Set.isSet),orderedSet:s("OrderedSet",r.OrderedSet.isOrderedSet),stack:s("Stack",r.Stack.isStack),seq:s("Seq",r.Seq.isSeq),record:s("Record",function(t){return t instanceof r.Record}),iterable:s("Iterable",r.Iterable.isIterable)};function a(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":t instanceof r.Iterable?"Immutable."+t.toSource().split(" ")[0]:e}function u(t){function e(e,n,r,o,a,u){for(var s=arguments.length,c=Array(s>6?s-6:0),l=6;l<s;l++)c[l-6]=arguments[l];return u=u||r,o=o||i,null!=n[r]?t.apply(void 0,[n,r,o,a,u].concat(c)):e?new Error("Required "+a+" `"+u+"` was not specified in `"+o+"`."):void 0}var n=e.bind(null,!1);return n.isRequired=e.bind(null,!0),n}function s(t,e){return u(function(n,r,i,o,u){var s=n[r];if(!e(s)){var c=a(s);return new Error("Invalid "+o+" `"+u+"` of type `"+c+"` supplied to `"+i+"`, expected `"+t+"`.")}return null})}function c(t,e,n){return u(function(r,i,o,u,s){for(var c=arguments.length,l=Array(c>5?c-5:0),f=5;f<c;f++)l[f-5]=arguments[f];var h=r[i];if(!n(h)){var d=u,p=a(h);return new Error("Invalid "+d+" `"+s+"` of type `"+p+"` supplied to `"+o+"`, expected an Immutable.js "+e+".")}if("function"!=typeof t)return new Error("Invalid typeChecker supplied to `"+o+"` for propType `"+s+"`, expected a function.");for(var v=h.toArray(),g=0,y=v.length;g<y;g++){var m=t.apply(void 0,[v,g,o,u,s+"["+g+"]"].concat(l));if(m instanceof Error)return m}})}function l(t,e,n,r){return u(function(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return c(t,n,r).apply(void 0,o)||e&&(s=e,u(function(t,e,n,r,i){for(var o=arguments.length,a=Array(o>5?o-5:0),u=5;u<o;u++)a[u-5]=arguments[u];var c=t[e];if("function"!=typeof s)return new Error("Invalid keysTypeChecker (optional second argument) supplied to `"+n+"` for propType `"+i+"`, expected a function.");for(var l=c.keySeq().toArray(),f=0,h=l.length;f<h;f++){var d=s.apply(void 0,[l,f,n,r,i+" -> key("+l[f]+")"].concat(a));if(d instanceof Error)return d}})).apply(void 0,o);var s})}function f(t){var e=void 0===arguments[1]?"Iterable":arguments[1],n=void 0===arguments[2]?r.Iterable.isIterable:arguments[2];return u(function(r,i,o,u,s){for(var c=arguments.length,l=Array(c>5?c-5:0),f=5;f<c;f++)l[f-5]=arguments[f];var h=r[i];if(!n(h)){var d=a(h);return new Error("Invalid "+u+" `"+s+"` of type `"+d+"` supplied to `"+o+"`, expected an Immutable.js "+e+".")}var p=h.toObject();for(var v in t){var g=t[v];if(g){var y=g.apply(void 0,[p,v,o,u,s+"."+v].concat(l));if(y)return y}}})}function h(t){return f(t)}t.exports=o},ycFn:function(t,e,n){"use strict";var r=n("TqRt");e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=r(n("yD6e"));t.exports=e.default},yl30:function(t,e,n){"use strict"; /** @license React v16.12.0 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var r=n("q1tI"),i=n("MgzW"),o=n("QCnb");function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var u=null,s={};function c(){if(u)for(var t in s){var e=s[t],n=u.indexOf(t);if(!(-1<n))throw Error(a(96,t));if(!f[n]){if(!e.extractEvents)throw Error(a(97,t));for(var r in f[n]=e,n=e.eventTypes){var i=void 0,o=n[r],c=e,d=r;if(h.hasOwnProperty(d))throw Error(a(99,d));h[d]=o;var p=o.phasedRegistrationNames;if(p){for(i in p)p.hasOwnProperty(i)&&l(p[i],c,d);i=!0}else o.registrationName?(l(o.registrationName,c,d),i=!0):i=!1;if(!i)throw Error(a(98,r,t))}}}}function l(t,e,n){if(d[t])throw Error(a(100,t));d[t]=e,p[t]=e.eventTypes[n].dependencies}var f=[],h={},d={},p={};var v=!1,g=null,y=!1,m=null,b={onError:function(t){v=!0,g=t}};function x(t,e,n,r,i,o,a,u,s){v=!1,g=null,function(t,e,n,r,i,o,a,u,s){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(t){this.onError(t)}}.apply(b,arguments)}var w=null,_=null,S=null;function k(t,e,n){var r=t.type||"unknown-event";t.currentTarget=S(n),function(t,e,n,r,i,o,u,s,c){if(x.apply(this,arguments),v){if(!v)throw Error(a(198));var l=g;v=!1,g=null,y||(y=!0,m=l)}}(r,e,void 0,t),t.currentTarget=null}function E(t,e){if(null==e)throw Error(a(30));return null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function O(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}var C=null;function A(t){if(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e))for(var r=0;r<e.length&&!t.isPropagationStopped();r++)k(t,e[r],n[r]);else e&&k(t,e,n);t._dispatchListeners=null,t._dispatchInstances=null,t.isPersistent()||t.constructor.release(t)}}function T(t){if(null!==t&&(C=E(C,t)),t=C,C=null,t){if(O(t,A),C)throw Error(a(95));if(y)throw t=m,y=!1,m=null,t}}var M={injectEventPluginOrder:function(t){if(u)throw Error(a(101));u=Array.prototype.slice.call(t),c()},injectEventPluginsByName:function(t){var e,n=!1;for(e in t)if(t.hasOwnProperty(e)){var r=t[e];if(!s.hasOwnProperty(e)||s[e]!==r){if(s[e])throw Error(a(102,e));s[e]=r,n=!0}}n&&c()}};function P(t,e){var n=t.stateNode;if(!n)return null;var r=w(n);if(!r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!=typeof n)throw Error(a(231,e,typeof n));return n}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;j.hasOwnProperty("ReactCurrentDispatcher")||(j.ReactCurrentDispatcher={current:null}),j.hasOwnProperty("ReactCurrentBatchConfig")||(j.ReactCurrentBatchConfig={suspense:null});var D=/^(.*)[\\\/]/,I="function"==typeof Symbol&&Symbol.for,N=I?Symbol.for("react.element"):60103,F=I?Symbol.for("react.portal"):60106,R=I?Symbol.for("react.fragment"):60107,L=I?Symbol.for("react.strict_mode"):60108,B=I?Symbol.for("react.profiler"):60114,z=I?Symbol.for("react.provider"):60109,V=I?Symbol.for("react.context"):60110,U=I?Symbol.for("react.concurrent_mode"):60111,H=I?Symbol.for("react.forward_ref"):60112,W=I?Symbol.for("react.suspense"):60113,q=I?Symbol.for("react.suspense_list"):60120,G=I?Symbol.for("react.memo"):60115,Y=I?Symbol.for("react.lazy"):60116;I&&Symbol.for("react.fundamental"),I&&Symbol.for("react.responder"),I&&Symbol.for("react.scope");var X="function"==typeof Symbol&&Symbol.iterator;function K(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=X&&t[X]||t["@@iterator"])?t:null}function $(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case R:return"Fragment";case F:return"Portal";case B:return"Profiler";case L:return"StrictMode";case W:return"Suspense";case q:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case V:return"Context.Consumer";case z:return"Context.Provider";case H:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case G:return $(t.type);case Y:if(t=1===t._status?t._result:null)return $(t)}return null}function Z(t){var e="";do{t:switch(t.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break t;default:var r=t._debugOwner,i=t._debugSource,o=$(t.type);n=null,r&&(n=$(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(D,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}e+=n,t=t.return}while(t);return e}var J=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Q=null,tt=null,et=null;function nt(t){if(t=_(t)){if("function"!=typeof Q)throw Error(a(280));var e=w(t.stateNode);Q(t.stateNode,t.type,e)}}function rt(t){tt?et?et.push(t):et=[t]:tt=t}function it(){if(tt){var t=tt,e=et;if(et=tt=null,nt(t),e)for(t=0;t<e.length;t++)nt(e[t])}}function ot(t,e){return t(e)}function at(t,e,n,r){return t(e,n,r)}function ut(){}var st=ot,ct=!1,lt=!1;function ft(){null===tt&&null===et||(ut(),it())}new Map;var ht=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,dt=Object.prototype.hasOwnProperty,pt={},vt={};function gt(t,e,n,r,i,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=o}var yt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){yt[t]=new gt(t,0,!1,t,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];yt[e]=new gt(e,1,!1,t[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){yt[t]=new gt(t,2,!1,t.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){yt[t]=new gt(t,2,!1,t,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){yt[t]=new gt(t,3,!1,t.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(t){yt[t]=new gt(t,3,!0,t,null,!1)}),["capture","download"].forEach(function(t){yt[t]=new gt(t,4,!1,t,null,!1)}),["cols","rows","size","span"].forEach(function(t){yt[t]=new gt(t,6,!1,t,null,!1)}),["rowSpan","start"].forEach(function(t){yt[t]=new gt(t,5,!1,t.toLowerCase(),null,!1)});var mt=/[\-:]([a-z])/g;function bt(t){return t[1].toUpperCase()}function xt(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function wt(t,e,n,r){var i=yt.hasOwnProperty(e)?yt[e]:null;(null!==i?0===i.type:!r&&(2<e.length&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1])))||(function(t,e,n,r){if(null==e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,i,r)&&(n=null),r||null===i?function(t){return!!dt.call(vt,t)||!dt.call(pt,t)&&(ht.test(t)?vt[t]=!0:(pt[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}function _t(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function St(t){t._valueTracker||(t._valueTracker=function(t){var e=_t(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,o.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function kt(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=_t(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function Et(t,e){var n=e.checked;return i({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function Ot(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=xt(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function Ct(t,e){null!=(e=e.checked)&&wt(t,"checked",e,!1)}function At(t,e){Ct(t,e);var n=xt(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?Mt(t,e.type,n):e.hasOwnProperty("defaultValue")&&Mt(t,e.type,xt(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function Tt(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!t.defaultChecked,t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function Mt(t,e,n){"number"===e&&t.ownerDocument.activeElement===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function Pt(t,e){return t=i({children:void 0},e),(e=function(t){var e="";return r.Children.forEach(t,function(t){null!=t&&(e+=t)}),e}(e.children))&&(t.children=e),t}function jt(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+xt(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function Dt(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return i({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function It(t,e){var n=e.value;if(null==n){if(n=e.defaultValue,null!=(e=e.children)){if(null!=n)throw Error(a(92));if(Array.isArray(e)){if(!(1>=e.length))throw Error(a(93));e=e[0]}n=e}null==n&&(n="")}t._wrapperState={initialValue:xt(n)}}function Nt(t,e){var n=xt(e.value),r=xt(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function Ft(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(mt,bt);yt[e]=new gt(e,1,!1,t,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(mt,bt);yt[e]=new gt(e,1,!1,t,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(mt,bt);yt[e]=new gt(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(t){yt[t]=new gt(t,1,!1,t.toLowerCase(),null,!1)}),yt.xlinkHref=new gt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(t){yt[t]=new gt(t,1,!1,t.toLowerCase(),null,!0)});var Rt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Lt(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Bt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?Lt(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var zt,Vt,Ut=(Vt=function(t,e){if(t.namespaceURI!==Rt.svg||"innerHTML"in t)t.innerHTML=e;else{for((zt=zt||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=zt.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,n,r){MSApp.execUnsafeLocalFunction(function(){return Vt(t,e)})}:Vt);function Ht(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function Wt(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var qt={animationend:Wt("Animation","AnimationEnd"),animationiteration:Wt("Animation","AnimationIteration"),animationstart:Wt("Animation","AnimationStart"),transitionend:Wt("Transition","TransitionEnd")},Gt={},Yt={};function Xt(t){if(Gt[t])return Gt[t];if(!qt[t])return t;var e,n=qt[t];for(e in n)if(n.hasOwnProperty(e)&&e in Yt)return Gt[t]=n[e];return t}J&&(Yt=document.createElement("div").style,"AnimationEvent"in window||(delete qt.animationend.animation,delete qt.animationiteration.animation,delete qt.animationstart.animation),"TransitionEvent"in window||delete qt.transitionend.transition);var Kt=Xt("animationend"),$t=Xt("animationiteration"),Zt=Xt("animationstart"),Jt=Xt("transitionend"),Qt="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" ");function te(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!=(1026&(e=t).effectTag)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function ee(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function ne(t){if(te(t)!==t)throw Error(a(188))}function re(t){if(!(t=function(t){var e=t.alternate;if(!e){if(null===(e=te(t)))throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return ne(i),t;if(o===r)return ne(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var u=!1,s=i.child;s;){if(s===n){u=!0,n=i,r=o;break}if(s===r){u=!0,r=i,n=o;break}s=s.sibling}if(!u){for(s=o.child;s;){if(s===n){u=!0,n=o,r=i;break}if(s===r){u=!0,r=o,n=i;break}s=s.sibling}if(!u)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}(t)))return null;for(var e=t;;){if(5===e.tag||6===e.tag)return e;if(e.child)e.child.return=e,e=e.child;else{if(e===t)break;for(;!e.sibling;){if(!e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}}return null}var ie,oe,ae,ue=!1,se=[],ce=null,le=null,fe=null,he=new Map,de=new Map,pe=[],ve="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),ge="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function ye(t,e,n,r){return{blockedOn:t,topLevelType:e,eventSystemFlags:32|n,nativeEvent:r}}function me(t,e){switch(t){case"focus":case"blur":ce=null;break;case"dragenter":case"dragleave":le=null;break;case"mouseover":case"mouseout":fe=null;break;case"pointerover":case"pointerout":he.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":de.delete(e.pointerId)}}function be(t,e,n,r,i){return null===t||t.nativeEvent!==i?(t=ye(e,n,r,i),null!==e&&(null!==(e=fr(e))&&oe(e)),t):(t.eventSystemFlags|=r,t)}function xe(t){var e=lr(t.target);if(null!==e){var n=te(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=ee(n)))return t.blockedOn=e,void o.unstable_runWithPriority(t.priority,function(){ae(n)})}else if(3===e&&n.stateNode.hydrate)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function we(t){if(null!==t.blockedOn)return!1;var e=Tn(t.topLevelType,t.eventSystemFlags,t.nativeEvent);if(null!==e){var n=fr(e);return null!==n&&oe(n),t.blockedOn=e,!1}return!0}function _e(t,e,n){we(t)&&n.delete(e)}function Se(){for(ue=!1;0<se.length;){var t=se[0];if(null!==t.blockedOn){null!==(t=fr(t.blockedOn))&&ie(t);break}var e=Tn(t.topLevelType,t.eventSystemFlags,t.nativeEvent);null!==e?t.blockedOn=e:se.shift()}null!==ce&&we(ce)&&(ce=null),null!==le&&we(le)&&(le=null),null!==fe&&we(fe)&&(fe=null),he.forEach(_e),de.forEach(_e)}function ke(t,e){t.blockedOn===e&&(t.blockedOn=null,ue||(ue=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Se)))}function Ee(t){function e(e){return ke(e,t)}if(0<se.length){ke(se[0],t);for(var n=1;n<se.length;n++){var r=se[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==ce&&ke(ce,t),null!==le&&ke(le,t),null!==fe&&ke(fe,t),he.forEach(e),de.forEach(e),n=0;n<pe.length;n++)(r=pe[n]).blockedOn===t&&(r.blockedOn=null);for(;0<pe.length&&null===(n=pe[0]).blockedOn;)xe(n),null===n.blockedOn&&pe.shift()}function Oe(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}function Ce(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function Ae(t,e,n){(e=P(t,n.dispatchConfig.phasedRegistrationNames[e]))&&(n._dispatchListeners=E(n._dispatchListeners,e),n._dispatchInstances=E(n._dispatchInstances,t))}function Te(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,n=[];e;)n.push(e),e=Ce(e);for(e=n.length;0<e--;)Ae(n[e],"captured",t);for(e=0;e<n.length;e++)Ae(n[e],"bubbled",t)}}function Me(t,e,n){t&&n&&n.dispatchConfig.registrationName&&(e=P(t,n.dispatchConfig.registrationName))&&(n._dispatchListeners=E(n._dispatchListeners,e),n._dispatchInstances=E(n._dispatchInstances,t))}function Pe(t){t&&t.dispatchConfig.registrationName&&Me(t._targetInst,null,t)}function je(t){O(t,Te)}function De(){return!0}function Ie(){return!1}function Ne(t,e,n,r){for(var i in this.dispatchConfig=t,this._targetInst=e,this.nativeEvent=n,t=this.constructor.Interface)t.hasOwnProperty(i)&&((e=t[i])?this[i]=e(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?De:Ie,this.isPropagationStopped=Ie,this}function Fe(t,e,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,t,e,n,r),i}return new this(t,e,n,r)}function Re(t){if(!(t instanceof this))throw Error(a(279));t.destructor(),10>this.eventPool.length&&this.eventPool.push(t)}function Le(t){t.eventPool=[],t.getPooled=Fe,t.release=Re}i(Ne.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=De)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=De)},persist:function(){this.isPersistent=De},isPersistent:Ie,destructor:function(){var t,e=this.constructor.Interface;for(t in e)this[t]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Ie,this._dispatchInstances=this._dispatchListeners=null}}),Ne.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Ne.extend=function(t){function e(){}function n(){return r.apply(this,arguments)}var r=this;e.prototype=r.prototype;var o=new e;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,t),n.extend=r.extend,Le(n),n},Le(Ne);var Be=Ne.extend({animationName:null,elapsedTime:null,pseudoElement:null}),ze=Ne.extend({clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Ve=Ne.extend({view:null,detail:null}),Ue=Ve.extend({relatedTarget:null});function He(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}var We={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qe={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ge={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ye(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=Ge[t])&&!!e[t]}function Xe(){return Ye}for(var Ke=Ve.extend({key:function(t){if(t.key){var e=We[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=He(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?qe[t.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Xe,charCode:function(t){return"keypress"===t.type?He(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?He(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),$e=0,Ze=0,Je=!1,Qe=!1,tn=Ve.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Xe,button:null,buttons:null,relatedTarget:function(t){return t.relatedTarget||(t.fromElement===t.srcElement?t.toElement:t.fromElement)},movementX:function(t){if("movementX"in t)return t.movementX;var e=$e;return $e=t.screenX,Je?"mousemove"===t.type?t.screenX-e:0:(Je=!0,0)},movementY:function(t){if("movementY"in t)return t.movementY;var e=Ze;return Ze=t.screenY,Qe?"mousemove"===t.type?t.screenY-e:0:(Qe=!0,0)}}),en=tn.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),nn=tn.extend({dataTransfer:null}),rn=Ve.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Xe}),on=Ne.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),an=tn.extend({deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:null,deltaMode:null}),un=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[Kt,"animationEnd",2],[$t,"animationIteration",2],[Zt,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[Jt,"transitionEnd",2],["waiting","waiting",2]],sn={},cn={},ln=0;ln<un.length;ln++){var fn=un[ln],hn=fn[0],dn=fn[1],pn=fn[2],vn="on"+(dn[0].toUpperCase()+dn.slice(1)),gn={phasedRegistrationNames:{bubbled:vn,captured:vn+"Capture"},dependencies:[hn],eventPriority:pn};sn[dn]=gn,cn[hn]=gn}var yn={eventTypes:sn,getEventPriority:function(t){return void 0!==(t=cn[t])?t.eventPriority:2},extractEvents:function(t,e,n,r){var i=cn[t];if(!i)return null;switch(t){case"keypress":if(0===He(n))return null;case"keydown":case"keyup":t=Ke;break;case"blur":case"focus":t=Ue;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":t=tn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":t=nn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":t=rn;break;case Kt:case $t:case Zt:t=Be;break;case Jt:t=on;break;case"scroll":t=Ve;break;case"wheel":t=an;break;case"copy":case"cut":case"paste":t=ze;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":t=en;break;default:t=Ne}return je(e=t.getPooled(i,e,n,r)),e}},mn=o.unstable_UserBlockingPriority,bn=o.unstable_runWithPriority,xn=yn.getEventPriority,wn=10,_n=[];function Sn(t){var e=t.targetInst,n=e;do{if(!n){t.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(e=n.tag)&&6!==e||t.ancestors.push(n),n=lr(r)}while(n);for(n=0;n<t.ancestors.length;n++){e=t.ancestors[n];var i=Oe(t.nativeEvent);r=t.topLevelType;for(var o=t.nativeEvent,a=t.eventSystemFlags,u=null,s=0;s<f.length;s++){var c=f[s];c&&(c=c.extractEvents(r,e,o,i,a))&&(u=E(u,c))}T(u)}}var kn=!0;function En(t,e){On(e,t,!1)}function On(t,e,n){switch(xn(e)){case 0:var r=function(t,e,n){ct||ut();var r=An,i=ct;ct=!0;try{at(r,t,e,n)}finally{(ct=i)||ft()}}.bind(null,e,1);break;case 1:r=function(t,e,n){bn(mn,An.bind(null,t,e,n))}.bind(null,e,1);break;default:r=An.bind(null,e,1)}n?t.addEventListener(e,r,!0):t.addEventListener(e,r,!1)}function Cn(t,e,n,r){if(_n.length){var i=_n.pop();i.topLevelType=t,i.eventSystemFlags=e,i.nativeEvent=n,i.targetInst=r,t=i}else t={topLevelType:t,eventSystemFlags:e,nativeEvent:n,targetInst:r,ancestors:[]};try{if(e=Sn,n=t,lt)e(n,void 0);else{lt=!0;try{st(e,n,void 0)}finally{lt=!1,ft()}}}finally{t.topLevelType=null,t.nativeEvent=null,t.targetInst=null,t.ancestors.length=0,_n.length<wn&&_n.push(t)}}function An(t,e,n){if(kn)if(0<se.length&&-1<ve.indexOf(t))t=ye(null,t,e,n),se.push(t);else{var r=Tn(t,e,n);null===r?me(t,n):-1<ve.indexOf(t)?(t=ye(r,t,e,n),se.push(t)):function(t,e,n,r){switch(e){case"focus":return ce=be(ce,t,e,n,r),!0;case"dragenter":return le=be(le,t,e,n,r),!0;case"mouseover":return fe=be(fe,t,e,n,r),!0;case"pointerover":var i=r.pointerId;return he.set(i,be(he.get(i)||null,t,e,n,r)),!0;case"gotpointercapture":return i=r.pointerId,de.set(i,be(de.get(i)||null,t,e,n,r)),!0}return!1}(r,t,e,n)||(me(t,n),Cn(t,e,n,null))}}function Tn(t,e,n){var r=Oe(n);if(null!==(r=lr(r))){var i=te(r);if(null===i)r=null;else{var o=i.tag;if(13===o){if(null!==(r=ee(i)))return r;r=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return Cn(t,e,n,r),null}function Mn(t){if(!J)return!1;var e=(t="on"+t)in document;return e||((e=document.createElement("div")).setAttribute(t,"return;"),e="function"==typeof e[t]),e}var Pn=new("function"==typeof WeakMap?WeakMap:Map);function jn(t){var e=Pn.get(t);return void 0===e&&(e=new Set,Pn.set(t,e)),e}function Dn(t,e,n){if(!n.has(t)){switch(t){case"scroll":On(e,"scroll",!0);break;case"focus":case"blur":On(e,"focus",!0),On(e,"blur",!0),n.add("blur"),n.add("focus");break;case"cancel":case"close":Mn(t)&&On(e,t,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Qt.indexOf(t)&&En(t,e)}n.add(t)}}var In={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Nn=["Webkit","ms","Moz","O"];function Fn(t,e,n){return null==e||"boolean"==typeof e||""===e?"":n||"number"!=typeof e||0===e||In.hasOwnProperty(t)&&In[t]?(""+e).trim():e+"px"}function Rn(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Fn(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}Object.keys(In).forEach(function(t){Nn.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),In[e]=In[t]})});var Ln=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Bn(t,e){if(e){if(Ln[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t,""));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if(!("object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!=typeof e.style)throw Error(a(62,""))}}function zn(t,e){if(-1===t.indexOf("-"))return"string"==typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Vn(t,e){var n=jn(t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument);e=p[e];for(var r=0;r<e.length;r++)Dn(e[r],t,n)}function Un(){}function Hn(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function Wn(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function qn(t,e){var n,r=Wn(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=Wn(r)}}function Gn(){for(var t=window,e=Hn();e instanceof t.HTMLIFrameElement;){try{var n="string"==typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;e=Hn((t=e.contentWindow).document)}return e}function Yn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}var Xn="$",Kn="/$",$n="$?",Zn="$!",Jn=null,Qn=null;function tr(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function er(t,e){return"textarea"===t||"option"===t||"noscript"===t||"string"==typeof e.children||"number"==typeof e.children||"object"==typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var nr="function"==typeof setTimeout?setTimeout:void 0,rr="function"==typeof clearTimeout?clearTimeout:void 0;function ir(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function or(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if(n===Xn||n===Zn||n===$n){if(0===e)return t;e--}else n===Kn&&e++}t=t.previousSibling}return null}var ar=Math.random().toString(36).slice(2),ur="__reactInternalInstance$"+ar,sr="__reactEventHandlers$"+ar,cr="__reactContainere$"+ar;function lr(t){var e=t[ur];if(e)return e;for(var n=t.parentNode;n;){if(e=n[cr]||n[ur]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=or(t);null!==t;){if(n=t[ur])return n;t=or(t)}return e}n=(t=n).parentNode}return null}function fr(t){return!(t=t[ur]||t[cr])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function hr(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function dr(t){return t[sr]||null}var pr=null,vr=null,gr=null;function yr(){if(gr)return gr;var t,e,n=vr,r=n.length,i="value"in pr?pr.value:pr.textContent,o=i.length;for(t=0;t<r&&n[t]===i[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===i[o-e];e++);return gr=i.slice(t,1<e?1-e:void 0)}var mr=Ne.extend({data:null}),br=Ne.extend({data:null}),xr=[9,13,27,32],wr=J&&"CompositionEvent"in window,_r=null;J&&"documentMode"in document&&(_r=document.documentMode);var Sr=J&&"TextEvent"in window&&!_r,kr=J&&(!wr||_r&&8<_r&&11>=_r),Er=String.fromCharCode(32),Or={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Cr=!1;function Ar(t,e){switch(t){case"keyup":return-1!==xr.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function Tr(t){return"object"==typeof(t=t.detail)&&"data"in t?t.data:null}var Mr=!1;var Pr={eventTypes:Or,extractEvents:function(t,e,n,r){var i;if(wr)t:{switch(t){case"compositionstart":var o=Or.compositionStart;break t;case"compositionend":o=Or.compositionEnd;break t;case"compositionupdate":o=Or.compositionUpdate;break t}o=void 0}else Mr?Ar(t,n)&&(o=Or.compositionEnd):"keydown"===t&&229===n.keyCode&&(o=Or.compositionStart);return o?(kr&&"ko"!==n.locale&&(Mr||o!==Or.compositionStart?o===Or.compositionEnd&&Mr&&(i=yr()):(vr="value"in(pr=r)?pr.value:pr.textContent,Mr=!0)),o=mr.getPooled(o,e,n,r),i?o.data=i:null!==(i=Tr(n))&&(o.data=i),je(o),i=o):i=null,(t=Sr?function(t,e){switch(t){case"compositionend":return Tr(e);case"keypress":return 32!==e.which?null:(Cr=!0,Er);case"textInput":return(t=e.data)===Er&&Cr?null:t;default:return null}}(t,n):function(t,e){if(Mr)return"compositionend"===t||!wr&&Ar(t,e)?(t=yr(),gr=vr=pr=null,Mr=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return kr&&"ko"!==e.locale?null:e.data;default:return null}}(t,n))?((e=br.getPooled(Or.beforeInput,e,n,r)).data=t,je(e)):e=null,null===i?e:null===e?i:[i,e]}},jr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Dr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!jr[t.type]:"textarea"===e}var Ir={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Nr(t,e,n){return(t=Ne.getPooled(Ir.change,t,e,n)).type="change",rt(n),je(t),t}var Fr=null,Rr=null;function Lr(t){T(t)}function Br(t){if(kt(hr(t)))return t}function zr(t,e){if("change"===t)return e}var Vr=!1;function Ur(){Fr&&(Fr.detachEvent("onpropertychange",Hr),Rr=Fr=null)}function Hr(t){if("value"===t.propertyName&&Br(Rr))if(t=Nr(Rr,t,Oe(t)),ct)T(t);else{ct=!0;try{ot(Lr,t)}finally{ct=!1,ft()}}}function Wr(t,e,n){"focus"===t?(Ur(),Rr=n,(Fr=e).attachEvent("onpropertychange",Hr)):"blur"===t&&Ur()}function qr(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Br(Rr)}function Gr(t,e){if("click"===t)return Br(e)}function Yr(t,e){if("input"===t||"change"===t)return Br(e)}J&&(Vr=Mn("input")&&(!document.documentMode||9<document.documentMode));var Xr,Kr={eventTypes:Ir,_isInputEventSupported:Vr,extractEvents:function(t,e,n,r){var i=e?hr(e):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=zr;else if(Dr(i))if(Vr)a=Yr;else{a=qr;var u=Wr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Gr);if(a&&(a=a(t,e)))return Nr(a,n,r);u&&u(t,i,e),"blur"===t&&(t=i._wrapperState)&&t.controlled&&"number"===i.type&&Mt(i,"number",i.value)}},$r={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Zr={eventTypes:$r,extractEvents:function(t,e,n,r,i){var o="mouseover"===t||"pointerover"===t,a="mouseout"===t||"pointerout"===t;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,a?(a=e,null!==(e=(e=n.relatedTarget||n.toElement)?lr(e):null)&&(e!==(o=te(e))||5!==e.tag&&6!==e.tag)&&(e=null)):a=null,a===e)return null;if("mouseout"===t||"mouseover"===t)var u=tn,s=$r.mouseLeave,c=$r.mouseEnter,l="mouse";else"pointerout"!==t&&"pointerover"!==t||(u=en,s=$r.pointerLeave,c=$r.pointerEnter,l="pointer");if(t=null==a?i:hr(a),i=null==e?i:hr(e),(s=u.getPooled(s,a,n,r)).type=l+"leave",s.target=t,s.relatedTarget=i,(r=u.getPooled(c,e,n,r)).type=l+"enter",r.target=i,r.relatedTarget=t,l=e,(u=a)&&l)t:{for(t=l,a=0,e=c=u;e;e=Ce(e))a++;for(e=0,i=t;i;i=Ce(i))e++;for(;0<a-e;)c=Ce(c),a--;for(;0<e-a;)t=Ce(t),e--;for(;a--;){if(c===t||c===t.alternate)break t;c=Ce(c),t=Ce(t)}c=null}else c=null;for(t=c,c=[];u&&u!==t&&(null===(a=u.alternate)||a!==t);)c.push(u),u=Ce(u);for(u=[];l&&l!==t&&(null===(a=l.alternate)||a!==t);)u.push(l),l=Ce(l);for(l=0;l<c.length;l++)Me(c[l],"bubbled",s);for(l=u.length;0<l--;)Me(u[l],"captured",r);return n===Xr?(Xr=null,[s]):(Xr=n,[s,r])}};var Jr="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},Qr=Object.prototype.hasOwnProperty;function ti(t,e){if(Jr(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!Qr.call(e,n[r])||!Jr(t[n[r]],e[n[r]]))return!1;return!0}var ei=J&&"documentMode"in document&&11>=document.documentMode,ni={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},ri=null,ii=null,oi=null,ai=!1;function ui(t,e){var n=e.window===e?e.document:9===e.nodeType?e:e.ownerDocument;return ai||null==ri||ri!==Hn(n)?null:("selectionStart"in(n=ri)&&Yn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},oi&&ti(oi,n)?null:(oi=n,(t=Ne.getPooled(ni.select,ii,t,e)).type="select",t.target=ri,je(t),t))}var si={eventTypes:ni,extractEvents:function(t,e,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){t:{o=jn(o),i=p.onSelect;for(var a=0;a<i.length;a++)if(!o.has(i[a])){o=!1;break t}o=!0}i=!o}if(i)return null;switch(o=e?hr(e):window,t){case"focus":(Dr(o)||"true"===o.contentEditable)&&(ri=o,ii=e,oi=null);break;case"blur":oi=ii=ri=null;break;case"mousedown":ai=!0;break;case"contextmenu":case"mouseup":case"dragend":return ai=!1,ui(n,r);case"selectionchange":if(ei)break;case"keydown":case"keyup":return ui(n,r)}return null}};M.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w=dr,_=fr,S=hr,M.injectEventPluginsByName({SimpleEventPlugin:yn,EnterLeaveEventPlugin:Zr,ChangeEventPlugin:Kr,SelectEventPlugin:si,BeforeInputEventPlugin:Pr}),new Set;var ci=[],li=-1;function fi(t){0>li||(t.current=ci[li],ci[li]=null,li--)}function hi(t,e){ci[++li]=t.current,t.current=e}var di={},pi={current:di},vi={current:!1},gi=di;function yi(t,e){var n=t.type.contextTypes;if(!n)return di;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function mi(t){return null!=(t=t.childContextTypes)}function bi(t){fi(vi),fi(pi)}function xi(t){fi(vi),fi(pi)}function wi(t,e,n){if(pi.current!==di)throw Error(a(168));hi(pi,e),hi(vi,n)}function _i(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,$(e)||"Unknown",o));return i({},n,{},r)}function Si(t){var e=t.stateNode;return e=e&&e.__reactInternalMemoizedMergedChildContext||di,gi=pi.current,hi(pi,e),hi(vi,vi.current),!0}function ki(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(e=_i(t,e,gi),r.__reactInternalMemoizedMergedChildContext=e,fi(vi),fi(pi),hi(pi,e)):fi(vi),hi(vi,n)}var Ei=o.unstable_runWithPriority,Oi=o.unstable_scheduleCallback,Ci=o.unstable_cancelCallback,Ai=o.unstable_shouldYield,Ti=o.unstable_requestPaint,Mi=o.unstable_now,Pi=o.unstable_getCurrentPriorityLevel,ji=o.unstable_ImmediatePriority,Di=o.unstable_UserBlockingPriority,Ii=o.unstable_NormalPriority,Ni=o.unstable_LowPriority,Fi=o.unstable_IdlePriority,Ri={},Li=void 0!==Ti?Ti:function(){},Bi=null,zi=null,Vi=!1,Ui=Mi(),Hi=1e4>Ui?Mi:function(){return Mi()-Ui};function Wi(){switch(Pi()){case ji:return 99;case Di:return 98;case Ii:return 97;case Ni:return 96;case Fi:return 95;default:throw Error(a(332))}}function qi(t){switch(t){case 99:return ji;case 98:return Di;case 97:return Ii;case 96:return Ni;case 95:return Fi;default:throw Error(a(332))}}function Gi(t,e){return t=qi(t),Ei(t,e)}function Yi(t,e,n){return t=qi(t),Oi(t,e,n)}function Xi(t){return null===Bi?(Bi=[t],zi=Oi(ji,$i)):Bi.push(t),Ri}function Ki(){if(null!==zi){var t=zi;zi=null,Ci(t)}$i()}function $i(){if(!Vi&&null!==Bi){Vi=!0;var t=0;try{var e=Bi;Gi(99,function(){for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}}),Bi=null}catch(e){throw null!==Bi&&(Bi=Bi.slice(t+1)),Oi(ji,Ki),e}finally{Vi=!1}}}var Zi=3;function Ji(t,e,n){return 1073741821-(1+((1073741821-t+e/10)/(n/=10)|0))*n}function Qi(t,e){if(t&&t.defaultProps)for(var n in e=i({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}var to={current:null},eo=null,no=null,ro=null;function io(){ro=no=eo=null}function oo(t,e){var n=t.type._context;hi(to,n._currentValue),n._currentValue=e}function ao(t){var e=to.current;fi(to),t.type._context._currentValue=e}function uo(t,e){for(;null!==t;){var n=t.alternate;if(t.childExpirationTime<e)t.childExpirationTime=e,null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e);else{if(!(null!==n&&n.childExpirationTime<e))break;n.childExpirationTime=e}t=t.return}}function so(t,e){eo=t,ro=no=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(t.expirationTime>=e&&(Ha=!0),t.firstContext=null)}function co(t,e){if(ro!==t&&!1!==e&&0!==e)if("number"==typeof e&&1073741823!==e||(ro=t,e=1073741823),e={context:t,observedBits:e,next:null},null===no){if(null===eo)throw Error(a(308));no=e,eo.dependencies={expirationTime:0,firstContext:e,responders:null}}else no=no.next=e;return t._currentValue}var lo=!1;function fo(t){return{baseState:t,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ho(t){return{baseState:t.baseState,firstUpdate:t.firstUpdate,lastUpdate:t.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function po(t,e){return{expirationTime:t,suspenseConfig:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function vo(t,e){null===t.lastUpdate?t.firstUpdate=t.lastUpdate=e:(t.lastUpdate.next=e,t.lastUpdate=e)}function go(t,e){var n=t.alternate;if(null===n){var r=t.updateQueue,i=null;null===r&&(r=t.updateQueue=fo(t.memoizedState))}else r=t.updateQueue,i=n.updateQueue,null===r?null===i?(r=t.updateQueue=fo(t.memoizedState),i=n.updateQueue=fo(n.memoizedState)):r=t.updateQueue=ho(i):null===i&&(i=n.updateQueue=ho(r));null===i||r===i?vo(r,e):null===r.lastUpdate||null===i.lastUpdate?(vo(r,e),vo(i,e)):(vo(r,e),i.lastUpdate=e)}function yo(t,e){var n=t.updateQueue;null===(n=null===n?t.updateQueue=fo(t.memoizedState):mo(t,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=e:(n.lastCapturedUpdate.next=e,n.lastCapturedUpdate=e)}function mo(t,e){var n=t.alternate;return null!==n&&e===n.updateQueue&&(e=t.updateQueue=ho(e)),e}function bo(t,e,n,r,o,a){switch(n.tag){case 1:return"function"==typeof(t=n.payload)?t.call(a,r,o):t;case 3:t.effectTag=-4097&t.effectTag|64;case 0:if(null==(o="function"==typeof(t=n.payload)?t.call(a,r,o):t))break;return i({},r,o);case 2:lo=!0}return r}function xo(t,e,n,r,i){lo=!1;for(var o=(e=mo(t,e)).baseState,a=null,u=0,s=e.firstUpdate,c=o;null!==s;){var l=s.expirationTime;l<i?(null===a&&(a=s,o=c),u<l&&(u=l)):(ks(l,s.suspenseConfig),c=bo(t,0,s,c,n,r),null!==s.callback&&(t.effectTag|=32,s.nextEffect=null,null===e.lastEffect?e.firstEffect=e.lastEffect=s:(e.lastEffect.nextEffect=s,e.lastEffect=s))),s=s.next}for(l=null,s=e.firstCapturedUpdate;null!==s;){var f=s.expirationTime;f<i?(null===l&&(l=s,null===a&&(o=c)),u<f&&(u=f)):(c=bo(t,0,s,c,n,r),null!==s.callback&&(t.effectTag|=32,s.nextEffect=null,null===e.lastCapturedEffect?e.firstCapturedEffect=e.lastCapturedEffect=s:(e.lastCapturedEffect.nextEffect=s,e.lastCapturedEffect=s))),s=s.next}null===a&&(e.lastUpdate=null),null===l?e.lastCapturedUpdate=null:t.effectTag|=32,null===a&&null===l&&(o=c),e.baseState=o,e.firstUpdate=a,e.firstCapturedUpdate=l,Es(u),t.expirationTime=u,t.memoizedState=c}function wo(t,e,n){null!==e.firstCapturedUpdate&&(null!==e.lastUpdate&&(e.lastUpdate.next=e.firstCapturedUpdate,e.lastUpdate=e.lastCapturedUpdate),e.firstCapturedUpdate=e.lastCapturedUpdate=null),_o(e.firstEffect,n),e.firstEffect=e.lastEffect=null,_o(e.firstCapturedEffect,n),e.firstCapturedEffect=e.lastCapturedEffect=null}function _o(t,e){for(;null!==t;){var n=t.callback;if(null!==n){t.callback=null;var r=e;if("function"!=typeof n)throw Error(a(191,n));n.call(r)}t=t.nextEffect}}var So=j.ReactCurrentBatchConfig,ko=(new r.Component).refs;function Eo(t,e,n,r){n=null==(n=n(r,e=t.memoizedState))?e:i({},e,n),t.memoizedState=n,null!==(r=t.updateQueue)&&0===t.expirationTime&&(r.baseState=n)}var Oo={isMounted:function(t){return!!(t=t._reactInternalFiber)&&te(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternalFiber;var r=hs(),i=So.suspense;(i=po(r=ds(r,t,i),i)).payload=e,null!=n&&(i.callback=n),go(t,i),ps(t,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternalFiber;var r=hs(),i=So.suspense;(i=po(r=ds(r,t,i),i)).tag=1,i.payload=e,null!=n&&(i.callback=n),go(t,i),ps(t,r)},enqueueForceUpdate:function(t,e){t=t._reactInternalFiber;var n=hs(),r=So.suspense;(r=po(n=ds(n,t,r),r)).tag=2,null!=e&&(r.callback=e),go(t,r),ps(t,n)}};function Co(t,e,n,r,i,o,a){return"function"==typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,o,a):!e.prototype||!e.prototype.isPureReactComponent||(!ti(n,r)||!ti(i,o))}function Ao(t,e,n){var r=!1,i=di,o=e.contextType;return"object"==typeof o&&null!==o?o=co(o):(i=mi(e)?gi:pi.current,o=(r=null!=(r=e.contextTypes))?yi(t,i):di),e=new e(n,o),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=Oo,t.stateNode=e,e._reactInternalFiber=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=o),e}function To(t,e,n,r){t=e.state,"function"==typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"==typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Oo.enqueueReplaceState(e,e.state,null)}function Mo(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=ko;var o=e.contextType;"object"==typeof o&&null!==o?i.context=co(o):(o=mi(e)?gi:pi.current,i.context=yi(t,o)),null!==(o=t.updateQueue)&&(xo(t,o,n,i,r),i.state=t.memoizedState),"function"==typeof(o=e.getDerivedStateFromProps)&&(Eo(t,e,o,n),i.state=t.memoizedState),"function"==typeof e.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(e=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&Oo.enqueueReplaceState(i,i.state,null),null!==(o=t.updateQueue)&&(xo(t,o,n,i,r),i.state=t.memoizedState)),"function"==typeof i.componentDidMount&&(t.effectTag|=4)}var Po=Array.isArray;function jo(t,e,n){if(null!==(t=n.ref)&&"function"!=typeof t&&"object"!=typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,t));var i=""+t;return null!==e&&null!==e.ref&&"function"==typeof e.ref&&e.ref._stringRef===i?e.ref:((e=function(t){var e=r.refs;e===ko&&(e=r.refs={}),null===t?delete e[i]:e[i]=t})._stringRef=i,e)}if("string"!=typeof t)throw Error(a(284));if(!n._owner)throw Error(a(290,t))}return t}function Do(t,e){if("textarea"!==t.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,""))}function Io(t){function e(e,n){if(t){var r=e.lastEffect;null!==r?(r.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e,n){return(t=Hs(t,e)).index=0,t.sibling=null,t}function o(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.effectTag=2,n):r:(e.effectTag=2,n):n}function u(e){return t&&null===e.alternate&&(e.effectTag=2),e}function s(t,e,n,r){return null===e||6!==e.tag?((e=Gs(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function c(t,e,n,r){return null!==e&&e.elementType===n.type?((r=i(e,n.props)).ref=jo(t,e,n),r.return=t,r):((r=Ws(n.type,n.key,n.props,null,t.mode,r)).ref=jo(t,e,n),r.return=t,r)}function l(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Ys(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function f(t,e,n,r,o){return null===e||7!==e.tag?((e=qs(n,t.mode,r,o)).return=t,e):((e=i(e,n)).return=t,e)}function h(t,e,n){if("string"==typeof e||"number"==typeof e)return(e=Gs(""+e,t.mode,n)).return=t,e;if("object"==typeof e&&null!==e){switch(e.$$typeof){case N:return(n=Ws(e.type,e.key,e.props,null,t.mode,n)).ref=jo(t,null,e),n.return=t,n;case F:return(e=Ys(e,t.mode,n)).return=t,e}if(Po(e)||K(e))return(e=qs(e,t.mode,n,null)).return=t,e;Do(t,e)}return null}function d(t,e,n,r){var i=null!==e?e.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:s(t,e,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case N:return n.key===i?n.type===R?f(t,e,n.props.children,r,i):c(t,e,n,r):null;case F:return n.key===i?l(t,e,n,r):null}if(Po(n)||K(n))return null!==i?null:f(t,e,n,r,null);Do(t,n)}return null}function p(t,e,n,r,i){if("string"==typeof r||"number"==typeof r)return s(e,t=t.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case N:return t=t.get(null===r.key?n:r.key)||null,r.type===R?f(e,t,r.props.children,i,r.key):c(e,t,r,i);case F:return l(e,t=t.get(null===r.key?n:r.key)||null,r,i)}if(Po(r)||K(r))return f(e,t=t.get(n)||null,r,i,null);Do(e,r)}return null}function v(i,a,u,s){for(var c=null,l=null,f=a,v=a=0,g=null;null!==f&&v<u.length;v++){f.index>v?(g=f,f=null):g=f.sibling;var y=d(i,f,u[v],s);if(null===y){null===f&&(f=g);break}t&&f&&null===y.alternate&&e(i,f),a=o(y,a,v),null===l?c=y:l.sibling=y,l=y,f=g}if(v===u.length)return n(i,f),c;if(null===f){for(;v<u.length;v++)null!==(f=h(i,u[v],s))&&(a=o(f,a,v),null===l?c=f:l.sibling=f,l=f);return c}for(f=r(i,f);v<u.length;v++)null!==(g=p(f,i,v,u[v],s))&&(t&&null!==g.alternate&&f.delete(null===g.key?v:g.key),a=o(g,a,v),null===l?c=g:l.sibling=g,l=g);return t&&f.forEach(function(t){return e(i,t)}),c}function g(i,u,s,c){var l=K(s);if("function"!=typeof l)throw Error(a(150));if(null==(s=l.call(s)))throw Error(a(151));for(var f=l=null,v=u,g=u=0,y=null,m=s.next();null!==v&&!m.done;g++,m=s.next()){v.index>g?(y=v,v=null):y=v.sibling;var b=d(i,v,m.value,c);if(null===b){null===v&&(v=y);break}t&&v&&null===b.alternate&&e(i,v),u=o(b,u,g),null===f?l=b:f.sibling=b,f=b,v=y}if(m.done)return n(i,v),l;if(null===v){for(;!m.done;g++,m=s.next())null!==(m=h(i,m.value,c))&&(u=o(m,u,g),null===f?l=m:f.sibling=m,f=m);return l}for(v=r(i,v);!m.done;g++,m=s.next())null!==(m=p(v,i,g,m.value,c))&&(t&&null!==m.alternate&&v.delete(null===m.key?g:m.key),u=o(m,u,g),null===f?l=m:f.sibling=m,f=m);return t&&v.forEach(function(t){return e(i,t)}),l}return function(t,r,o,s){var c="object"==typeof o&&null!==o&&o.type===R&&null===o.key;c&&(o=o.props.children);var l="object"==typeof o&&null!==o;if(l)switch(o.$$typeof){case N:t:{for(l=o.key,c=r;null!==c;){if(c.key===l){if(7===c.tag?o.type===R:c.elementType===o.type){n(t,c.sibling),(r=i(c,o.type===R?o.props.children:o.props)).ref=jo(t,c,o),r.return=t,t=r;break t}n(t,c);break}e(t,c),c=c.sibling}o.type===R?((r=qs(o.props.children,t.mode,s,o.key)).return=t,t=r):((s=Ws(o.type,o.key,o.props,null,t.mode,s)).ref=jo(t,r,o),s.return=t,t=s)}return u(t);case F:t:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(t,r.sibling),(r=i(r,o.children||[])).return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}(r=Ys(o,t.mode,s)).return=t,t=r}return u(t)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(t,r.sibling),(r=i(r,o)).return=t,t=r):(n(t,r),(r=Gs(o,t.mode,s)).return=t,t=r),u(t);if(Po(o))return v(t,r,o,s);if(K(o))return g(t,r,o,s);if(l&&Do(t,o),void 0===o&&!c)switch(t.tag){case 1:case 0:throw t=t.type,Error(a(152,t.displayName||t.name||"Component"))}return n(t,r)}}var No=Io(!0),Fo=Io(!1),Ro={},Lo={current:Ro},Bo={current:Ro},zo={current:Ro};function Vo(t){if(t===Ro)throw Error(a(174));return t}function Uo(t,e){hi(zo,e),hi(Bo,t),hi(Lo,Ro);var n=e.nodeType;switch(n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Bt(null,"");break;default:e=Bt(e=(n=8===n?e.parentNode:e).namespaceURI||null,n=n.tagName)}fi(Lo),hi(Lo,e)}function Ho(t){fi(Lo),fi(Bo),fi(zo)}function Wo(t){Vo(zo.current);var e=Vo(Lo.current),n=Bt(e,t.type);e!==n&&(hi(Bo,t),hi(Lo,n))}function qo(t){Bo.current===t&&(fi(Lo),fi(Bo))}var Go={current:0};function Yo(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===$n||n.data===Zn))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!=(64&e.effectTag))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}function Xo(t,e){return{responder:t,props:e}}var Ko=j.ReactCurrentDispatcher,$o=j.ReactCurrentBatchConfig,Zo=0,Jo=null,Qo=null,ta=null,ea=null,na=null,ra=null,ia=0,oa=null,aa=0,ua=!1,sa=null,ca=0;function la(){throw Error(a(321))}function fa(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!Jr(t[n],e[n]))return!1;return!0}function ha(t,e,n,r,i,o){if(Zo=o,Jo=e,ta=null!==t?t.memoizedState:null,Ko.current=null===ta?Pa:ja,e=n(r,i),ua){do{ua=!1,ca+=1,ta=null!==t?t.memoizedState:null,ra=ea,oa=na=Qo=null,Ko.current=ja,e=n(r,i)}while(ua);sa=null,ca=0}if(Ko.current=Ma,(t=Jo).memoizedState=ea,t.expirationTime=ia,t.updateQueue=oa,t.effectTag|=aa,t=null!==Qo&&null!==Qo.next,Zo=0,ra=na=ea=ta=Qo=Jo=null,ia=0,oa=null,aa=0,t)throw Error(a(300));return e}function da(){Ko.current=Ma,Zo=0,ra=na=ea=ta=Qo=Jo=null,ia=0,oa=null,aa=0,ua=!1,sa=null,ca=0}function pa(){var t={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===na?ea=na=t:na=na.next=t,na}function va(){if(null!==ra)ra=(na=ra).next,ta=null!==(Qo=ta)?Qo.next:null;else{if(null===ta)throw Error(a(310));var t={memoizedState:(Qo=ta).memoizedState,baseState:Qo.baseState,queue:Qo.queue,baseUpdate:Qo.baseUpdate,next:null};na=null===na?ea=t:na.next=t,ta=Qo.next}return na}function ga(t,e){return"function"==typeof e?e(t):e}function ya(t){var e=va(),n=e.queue;if(null===n)throw Error(a(311));if(n.lastRenderedReducer=t,0<ca){var r=n.dispatch;if(null!==sa){var i=sa.get(n);if(void 0!==i){sa.delete(n);var o=e.memoizedState;do{o=t(o,i.action),i=i.next}while(null!==i);return Jr(o,e.memoizedState)||(Ha=!0),e.memoizedState=o,e.baseUpdate===n.last&&(e.baseState=o),n.lastRenderedState=o,[o,r]}}return[e.memoizedState,r]}r=n.last;var u=e.baseUpdate;if(o=e.baseState,null!==u?(null!==r&&(r.next=null),r=u.next):r=null!==r?r.next:null,null!==r){var s=i=null,c=r,l=!1;do{var f=c.expirationTime;f<Zo?(l||(l=!0,s=u,i=o),f>ia&&Es(ia=f)):(ks(f,c.suspenseConfig),o=c.eagerReducer===t?c.eagerState:t(o,c.action)),u=c,c=c.next}while(null!==c&&c!==r);l||(s=u,i=o),Jr(o,e.memoizedState)||(Ha=!0),e.memoizedState=o,e.baseUpdate=s,e.baseState=i,n.lastRenderedState=o}return[e.memoizedState,n.dispatch]}function ma(t){var e=pa();return"function"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={last:null,dispatch:null,lastRenderedReducer:ga,lastRenderedState:t}).dispatch=Ta.bind(null,Jo,t),[e.memoizedState,t]}function ba(t){return ya(ga)}function xa(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===oa?(oa={lastEffect:null}).lastEffect=t.next=t:null===(e=oa.lastEffect)?oa.lastEffect=t.next=t:(n=e.next,e.next=t,t.next=n,oa.lastEffect=t),t}function wa(t,e,n,r){var i=pa();aa|=t,i.memoizedState=xa(e,n,void 0,void 0===r?null:r)}function _a(t,e,n,r){var i=va();r=void 0===r?null:r;var o=void 0;if(null!==Qo){var a=Qo.memoizedState;if(o=a.destroy,null!==r&&fa(r,a.deps))return void xa(0,n,o,r)}aa|=t,i.memoizedState=xa(e,n,o,r)}function Sa(t,e){return wa(516,192,t,e)}function ka(t,e){return _a(516,192,t,e)}function Ea(t,e){return"function"==typeof e?(t=t(),e(t),function(){e(null)}):null!=e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Oa(){}function Ca(t,e){return pa().memoizedState=[t,void 0===e?null:e],t}function Aa(t,e){var n=va();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&fa(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Ta(t,e,n){if(!(25>ca))throw Error(a(301));var r=t.alternate;if(t===Jo||null!==r&&r===Jo)if(ua=!0,t={expirationTime:Zo,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===sa&&(sa=new Map),void 0===(n=sa.get(e)))sa.set(e,t);else{for(e=n;null!==e.next;)e=e.next;e.next=t}else{var i=hs(),o=So.suspense;o={expirationTime:i=ds(i,t,o),suspenseConfig:o,action:n,eagerReducer:null,eagerState:null,next:null};var u=e.last;if(null===u)o.next=o;else{var s=u.next;null!==s&&(o.next=s),u.next=o}if(e.last=o,0===t.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=e.lastRenderedReducer))try{var c=e.lastRenderedState,l=r(c,n);if(o.eagerReducer=r,o.eagerState=l,Jr(l,c))return}catch(t){}ps(t,i)}}var Ma={readContext:co,useCallback:la,useContext:la,useEffect:la,useImperativeHandle:la,useLayoutEffect:la,useMemo:la,useReducer:la,useRef:la,useState:la,useDebugValue:la,useResponder:la,useDeferredValue:la,useTransition:la},Pa={readContext:co,useCallback:Ca,useContext:co,useEffect:Sa,useImperativeHandle:function(t,e,n){return n=null!=n?n.concat([t]):null,wa(4,36,Ea.bind(null,e,t),n)},useLayoutEffect:function(t,e){return wa(4,36,t,e)},useMemo:function(t,e){var n=pa();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=pa();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=(t=r.queue={last:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=Ta.bind(null,Jo,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},pa().memoizedState=t},useState:ma,useDebugValue:Oa,useResponder:Xo,useDeferredValue:function(t,e){var n=ma(t),r=n[0],i=n[1];return Sa(function(){o.unstable_next(function(){var n=$o.suspense;$o.suspense=void 0===e?null:e;try{i(t)}finally{$o.suspense=n}})},[t,e]),r},useTransition:function(t){var e=ma(!1),n=e[0],r=e[1];return[Ca(function(e){r(!0),o.unstable_next(function(){var n=$o.suspense;$o.suspense=void 0===t?null:t;try{r(!1),e()}finally{$o.suspense=n}})},[t,n]),n]}},ja={readContext:co,useCallback:Aa,useContext:co,useEffect:ka,useImperativeHandle:function(t,e,n){return n=null!=n?n.concat([t]):null,_a(4,36,Ea.bind(null,e,t),n)},useLayoutEffect:function(t,e){return _a(4,36,t,e)},useMemo:function(t,e){var n=va();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&fa(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)},useReducer:ya,useRef:function(){return va().memoizedState},useState:ba,useDebugValue:Oa,useResponder:Xo,useDeferredValue:function(t,e){var n=ba(),r=n[0],i=n[1];return ka(function(){o.unstable_next(function(){var n=$o.suspense;$o.suspense=void 0===e?null:e;try{i(t)}finally{$o.suspense=n}})},[t,e]),r},useTransition:function(t){var e=ba(),n=e[0],r=e[1];return[Aa(function(e){r(!0),o.unstable_next(function(){var n=$o.suspense;$o.suspense=void 0===t?null:t;try{r(!1),e()}finally{$o.suspense=n}})},[t,n]),n]}},Da=null,Ia=null,Na=!1;function Fa(t,e){var n=Vs(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function Ra(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);case 13:default:return!1}}function La(t){if(Na){var e=Ia;if(e){var n=e;if(!Ra(t,e)){if(!(e=ir(n.nextSibling))||!Ra(t,e))return t.effectTag=-1025&t.effectTag|2,Na=!1,void(Da=t);Fa(Da,n)}Da=t,Ia=ir(e.firstChild)}else t.effectTag=-1025&t.effectTag|2,Na=!1,Da=t}}function Ba(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;Da=t}function za(t){if(t!==Da)return!1;if(!Na)return Ba(t),Na=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!er(e,t.memoizedProps))for(e=Ia;e;)Fa(t,e),e=ir(e.nextSibling);if(Ba(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if(n===Kn){if(0===e){Ia=ir(t.nextSibling);break t}e--}else n!==Xn&&n!==Zn&&n!==$n||e++}t=t.nextSibling}Ia=null}}else Ia=Da?ir(t.stateNode.nextSibling):null;return!0}function Va(){Ia=Da=null,Na=!1}var Ua=j.ReactCurrentOwner,Ha=!1;function Wa(t,e,n,r){e.child=null===t?Fo(e,null,n,r):No(e,t.child,n,r)}function qa(t,e,n,r,i){n=n.render;var o=e.ref;return so(e,i),r=ha(t,e,n,r,o,i),null===t||Ha?(e.effectTag|=1,Wa(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),su(t,e,i))}function Ga(t,e,n,r,i,o){if(null===t){var a=n.type;return"function"!=typeof a||Us(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Ws(n.type,null,r,null,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Ya(t,e,a,r,i,o))}return a=t.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:ti)(i,r)&&t.ref===e.ref)?su(t,e,o):(e.effectTag|=1,(t=Hs(a,r)).ref=e.ref,t.return=e,e.child=t)}function Ya(t,e,n,r,i,o){return null!==t&&ti(t.memoizedProps,r)&&t.ref===e.ref&&(Ha=!1,i<o)?su(t,e,o):Ka(t,e,n,r,o)}function Xa(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.effectTag|=128)}function Ka(t,e,n,r,i){var o=mi(n)?gi:pi.current;return o=yi(e,o),so(e,i),n=ha(t,e,n,r,o,i),null===t||Ha?(e.effectTag|=1,Wa(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.effectTag&=-517,t.expirationTime<=i&&(t.expirationTime=0),su(t,e,i))}function $a(t,e,n,r,i){if(mi(n)){var o=!0;Si(e)}else o=!1;if(so(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),Ao(e,n,r),Mo(e,n,r,i),r=!0;else if(null===t){var a=e.stateNode,u=e.memoizedProps;a.props=u;var s=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=co(c):c=yi(e,c=mi(n)?gi:pi.current);var l=n.getDerivedStateFromProps,f="function"==typeof l||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||s!==c)&&To(e,a,r,c),lo=!1;var h=e.memoizedState;s=a.state=h;var d=e.updateQueue;null!==d&&(xo(e,d,r,a,i),s=e.memoizedState),u!==r||h!==s||vi.current||lo?("function"==typeof l&&(Eo(e,n,l,r),s=e.memoizedState),(u=lo||Co(e,n,u,r,h,s,c))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(e.effectTag|=4)):("function"==typeof a.componentDidMount&&(e.effectTag|=4),e.memoizedProps=r,e.memoizedState=s),a.props=r,a.state=s,a.context=c,r=u):("function"==typeof a.componentDidMount&&(e.effectTag|=4),r=!1)}else a=e.stateNode,u=e.memoizedProps,a.props=e.type===e.elementType?u:Qi(e.type,u),s=a.context,"object"==typeof(c=n.contextType)&&null!==c?c=co(c):c=yi(e,c=mi(n)?gi:pi.current),(f="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(u!==r||s!==c)&&To(e,a,r,c),lo=!1,s=e.memoizedState,h=a.state=s,null!==(d=e.updateQueue)&&(xo(e,d,r,a,i),h=e.memoizedState),u!==r||s!==h||vi.current||lo?("function"==typeof l&&(Eo(e,n,l,r),h=e.memoizedState),(l=lo||Co(e,n,u,r,s,h,c))?(f||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,c),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,c)),"function"==typeof a.componentDidUpdate&&(e.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(e.effectTag|=256)):("function"!=typeof a.componentDidUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=256),e.memoizedProps=r,e.memoizedState=h),a.props=r,a.state=h,a.context=c,r=l):("function"!=typeof a.componentDidUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||u===t.memoizedProps&&s===t.memoizedState||(e.effectTag|=256),r=!1);return Za(t,e,n,r,o,i)}function Za(t,e,n,r,i,o){Xa(t,e);var a=0!=(64&e.effectTag);if(!r&&!a)return i&&ki(e,n,!1),su(t,e,o);r=e.stateNode,Ua.current=e;var u=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return e.effectTag|=1,null!==t&&a?(e.child=No(e,t.child,null,o),e.child=No(e,null,u,o)):Wa(t,e,u,o),e.memoizedState=r.state,i&&ki(e,n,!0),e.child}function Ja(t){var e=t.stateNode;e.pendingContext?wi(0,e.pendingContext,e.pendingContext!==e.context):e.context&&wi(0,e.context,!1),Uo(t,e.containerInfo)}var Qa,tu,eu,nu,ru={dehydrated:null,retryTime:0};function iu(t,e,n){var r,i=e.mode,o=e.pendingProps,a=Go.current,u=!1;if((r=0!=(64&e.effectTag))||(r=0!=(2&a)&&(null===t||null!==t.memoizedState)),r?(u=!0,e.effectTag&=-65):null!==t&&null===t.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),hi(Go,1&a),null===t){if(void 0!==o.fallback&&La(e),u){if(u=o.fallback,(o=qs(null,i,0,null)).return=e,0==(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(n=qs(u,i,n,null)).return=e,o.sibling=n,e.memoizedState=ru,e.child=o,n}return i=o.children,e.memoizedState=null,e.child=Fo(e,null,i,n)}if(null!==t.memoizedState){if(i=(t=t.child).sibling,u){if(o=o.fallback,(n=Hs(t,t.pendingProps)).return=e,0==(2&e.mode)&&(u=null!==e.memoizedState?e.child.child:e.child)!==t.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(i=Hs(i,o,i.expirationTime)).return=e,n.sibling=i,n.childExpirationTime=0,e.memoizedState=ru,e.child=n,i}return n=No(e,t.child,o.children,n),e.memoizedState=null,e.child=n}if(t=t.child,u){if(u=o.fallback,(o=qs(null,i,0,null)).return=e,o.child=t,null!==t&&(t.return=o),0==(2&e.mode))for(t=null!==e.memoizedState?e.child.child:e.child,o.child=t;null!==t;)t.return=o,t=t.sibling;return(n=qs(u,i,n,null)).return=e,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,e.memoizedState=ru,e.child=o,n}return e.memoizedState=null,e.child=No(e,t,o.children,n)}function ou(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e),uo(t.return,e)}function au(t,e,n,r,i,o){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=e,a.rendering=null,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function uu(t,e,n){var r=e.pendingProps,i=r.revealOrder,o=r.tail;if(Wa(t,e,r.children,n),0!=(2&(r=Go.current)))r=1&r|2,e.effectTag|=64;else{if(null!==t&&0!=(64&t.effectTag))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&ou(t,n);else if(19===t.tag)ou(t,n);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(hi(Go,r),0==(2&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===Yo(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),au(e,!1,i,n,o,e.lastEffect);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===Yo(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}au(e,!0,n,null,o,e.lastEffect);break;case"together":au(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function su(t,e,n){null!==t&&(e.dependencies=t.dependencies);var r=e.expirationTime;if(0!==r&&Es(r),e.childExpirationTime<n)return null;if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(n=Hs(t=e.child,t.pendingProps,t.expirationTime),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Hs(t,t.pendingProps,t.expirationTime)).return=e;n.sibling=null}return e.child}function cu(t){t.effectTag|=4}function lu(t,e){switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function fu(t){switch(t.tag){case 1:mi(t.type)&&bi();var e=t.effectTag;return 4096&e?(t.effectTag=-4097&e|64,t):null;case 3:if(Ho(),xi(),0!=(64&(e=t.effectTag)))throw Error(a(285));return t.effectTag=-4097&e|64,t;case 5:return qo(t),null;case 13:return fi(Go),4096&(e=t.effectTag)?(t.effectTag=-4097&e|64,t):null;case 19:return fi(Go),null;case 4:return Ho(),null;case 10:return ao(t),null;default:return null}}function hu(t,e){return{value:t,source:e,stack:Z(e)}}Qa=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},tu=function(){},eu=function(t,e,n,r,o){var a=t.memoizedProps;if(a!==r){var u,s,c=e.stateNode;switch(Vo(Lo.current),t=null,n){case"input":a=Et(c,a),r=Et(c,r),t=[];break;case"option":a=Pt(c,a),r=Pt(c,r),t=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),t=[];break;case"textarea":a=Dt(c,a),r=Dt(c,r),t=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(c.onclick=Un)}for(u in Bn(n,r),n=null,a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&null!=a[u])if("style"===u)for(s in c=a[u])c.hasOwnProperty(s)&&(n||(n={}),n[s]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(d.hasOwnProperty(u)?t||(t=[]):(t=t||[]).push(u,null));for(u in r){var l=r[u];if(c=null!=a?a[u]:void 0,r.hasOwnProperty(u)&&l!==c&&(null!=l||null!=c))if("style"===u)if(c){for(s in c)!c.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&c[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(t||(t=[]),t.push(u,n)),n=l;else"dangerouslySetInnerHTML"===u?(l=l?l.__html:void 0,c=c?c.__html:void 0,null!=l&&c!==l&&(t=t||[]).push(u,""+l)):"children"===u?c===l||"string"!=typeof l&&"number"!=typeof l||(t=t||[]).push(u,""+l):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(d.hasOwnProperty(u)?(null!=l&&Vn(o,u),t||c===l||(t=[])):(t=t||[]).push(u,l))}n&&(t=t||[]).push("style",n),o=t,(e.updateQueue=o)&&cu(e)}},nu=function(t,e,n,r){n!==r&&cu(e)};var du="function"==typeof WeakSet?WeakSet:Set;function pu(t,e){var n=e.source,r=e.stack;null===r&&null!==n&&(r=Z(n)),null!==n&&$(n.type),e=e.value,null!==t&&1===t.tag&&$(t.type);try{console.error(e)}catch(t){setTimeout(function(){throw t})}}function vu(t){var e=t.ref;if(null!==e)if("function"==typeof e)try{e(null)}catch(e){Fs(t,e)}else e.current=null}function gu(t,e){switch(e.tag){case 0:case 11:case 15:yu(2,0,e);break;case 1:if(256&e.effectTag&&null!==t){var n=t.memoizedProps,r=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?n:Qi(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}break;case 3:case 5:case 6:case 4:case 17:break;default:throw Error(a(163))}}function yu(t,e,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!=(r.tag&t)){var i=r.destroy;r.destroy=void 0,void 0!==i&&i()}0!=(r.tag&e)&&(i=r.create,r.destroy=i()),r=r.next}while(r!==n)}}function mu(t,e,n){switch("function"==typeof Bs&&Bs(e),e.tag){case 0:case 11:case 14:case 15:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var r=t.next;Gi(97<n?97:n,function(){var t=r;do{var n=t.destroy;if(void 0!==n){var i=e;try{n()}catch(t){Fs(i,t)}}t=t.next}while(t!==r)})}break;case 1:vu(e),"function"==typeof(n=e.stateNode).componentWillUnmount&&function(t,e){try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Fs(t,e)}}(e,n);break;case 5:vu(e);break;case 4:_u(t,e,n)}}function bu(t){var e=t.alternate;t.return=null,t.child=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.alternate=null,t.firstEffect=null,t.lastEffect=null,t.pendingProps=null,t.memoizedProps=null,null!==e&&bu(e)}function xu(t){return 5===t.tag||3===t.tag||4===t.tag}function wu(t){t:{for(var e=t.return;null!==e;){if(xu(e)){var n=e;break t}e=e.return}throw Error(a(160))}switch(e=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:e=e.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Ht(e,""),n.effectTag&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||xu(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break t}}for(var i=t;;){var o=5===i.tag||6===i.tag;if(o){var u=o?i.stateNode:i.stateNode.instance;if(n)if(r){var s=u;u=n,8===(o=e).nodeType?o.parentNode.insertBefore(s,u):o.insertBefore(s,u)}else e.insertBefore(u,n);else r?(8===(s=e).nodeType?(o=s.parentNode).insertBefore(u,s):(o=s).appendChild(u),null!=(s=s._reactRootContainer)||null!==o.onclick||(o.onclick=Un)):e.appendChild(u)}else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function _u(t,e,n){for(var r,i,o=e,u=!1;;){if(!u){u=o.return;t:for(;;){if(null===u)throw Error(a(160));switch(r=u.stateNode,u.tag){case 5:i=!1;break t;case 3:case 4:r=r.containerInfo,i=!0;break t}u=u.return}u=!0}if(5===o.tag||6===o.tag){t:for(var s=t,c=o,l=n,f=c;;)if(mu(s,f,l),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break;for(;null===f.sibling;){if(null===f.return||f.return===c)break t;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(s=r,c=o.stateNode,8===s.nodeType?s.parentNode.removeChild(c):s.removeChild(c)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(mu(t,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;4===(o=o.return).tag&&(u=!1)}o.sibling.return=o.return,o=o.sibling}}function Su(t,e){switch(e.tag){case 0:case 11:case 14:case 15:yu(4,8,e);break;case 1:break;case 5:var n=e.stateNode;if(null!=n){var r=e.memoizedProps,i=null!==t?t.memoizedProps:r;t=e.type;var o=e.updateQueue;if(e.updateQueue=null,null!==o){for(n[sr]=r,"input"===t&&"radio"===r.type&&null!=r.name&&Ct(n,r),zn(t,i),e=zn(t,r),i=0;i<o.length;i+=2){var u=o[i],s=o[i+1];"style"===u?Rn(n,s):"dangerouslySetInnerHTML"===u?Ut(n,s):"children"===u?Ht(n,s):wt(n,u,s,e)}switch(t){case"input":At(n,r);break;case"textarea":Nt(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(t=r.value)?jt(n,!!r.multiple,t,!1):e!==!!r.multiple&&(null!=r.defaultValue?jt(n,!!r.multiple,r.defaultValue,!0):jt(n,!!r.multiple,r.multiple?[]:"",!1))}}}break;case 6:if(null===e.stateNode)throw Error(a(162));e.stateNode.nodeValue=e.memoizedProps;break;case 3:(e=e.stateNode).hydrate&&(e.hydrate=!1,Ee(e.containerInfo));break;case 12:break;case 13:if(n=e,null===e.memoizedState?r=!1:(r=!0,n=e.child,Qu=Hi()),null!==n)t:for(t=n;;){if(5===t.tag)o=t.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=t.stateNode,i=null!=(i=t.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=Fn("display",i));else if(6===t.tag)t.stateNode.nodeValue=r?"":t.memoizedProps;else{if(13===t.tag&&null!==t.memoizedState&&null===t.memoizedState.dehydrated){(o=t.child.sibling).return=t,t=o;continue}if(null!==t.child){t.child.return=t,t=t.child;continue}}if(t===n)break t;for(;null===t.sibling;){if(null===t.return||t.return===n)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}ku(e);break;case 19:ku(e);break;case 17:case 20:case 21:break;default:throw Error(a(163))}}function ku(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new du),e.forEach(function(e){var r=function(t,e){var n=t.stateNode;null!==n&&n.delete(e),0==(e=0)&&(e=ds(e=hs(),t,null)),null!==(t=vs(t,e))&&ys(t)}.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))})}}var Eu="function"==typeof WeakMap?WeakMap:Map;function Ou(t,e,n){(n=po(n,null)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){ns||(ns=!0,rs=r),pu(t,e)},n}function Cu(t,e,n){(n=po(n,null)).tag=3;var r=t.type.getDerivedStateFromError;if("function"==typeof r){var i=e.value;n.payload=function(){return pu(t,e),r(i)}}var o=t.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===is?is=new Set([this]):is.add(this),pu(t,e));var n=e.stack;this.componentDidCatch(e.value,{componentStack:null!==n?n:""})}),n}var Au,Tu=Math.ceil,Mu=j.ReactCurrentDispatcher,Pu=j.ReactCurrentOwner,ju=0,Du=8,Iu=16,Nu=32,Fu=0,Ru=1,Lu=2,Bu=3,zu=4,Vu=5,Uu=ju,Hu=null,Wu=null,qu=0,Gu=Fu,Yu=null,Xu=1073741823,Ku=1073741823,$u=null,Zu=0,Ju=!1,Qu=0,ts=500,es=null,ns=!1,rs=null,is=null,os=!1,as=null,us=90,ss=null,cs=0,ls=null,fs=0;function hs(){return(Uu&(Iu|Nu))!==ju?1073741821-(Hi()/10|0):0!==fs?fs:fs=1073741821-(Hi()/10|0)}function ds(t,e,n){if(0==(2&(e=e.mode)))return 1073741823;var r=Wi();if(0==(4&e))return 99===r?1073741823:1073741822;if((Uu&Iu)!==ju)return qu;if(null!==n)t=Ji(t,0|n.timeoutMs||5e3,250);else switch(r){case 99:t=1073741823;break;case 98:t=Ji(t,150,100);break;case 97:case 96:t=Ji(t,5e3,250);break;case 95:t=2;break;default:throw Error(a(326))}return null!==Hu&&t===qu&&--t,t}function ps(t,e){if(50<cs)throw cs=0,ls=null,Error(a(185));if(null!==(t=vs(t,e))){var n=Wi();1073741823===e?(Uu&Du)!==ju&&(Uu&(Iu|Nu))===ju?ms(t):(ys(t),Uu===ju&&Ki()):ys(t),(4&Uu)===ju||98!==n&&99!==n||(null===ss?ss=new Map([[t,e]]):(void 0===(n=ss.get(t))||n>e)&&ss.set(t,e))}}function vs(t,e){t.expirationTime<e&&(t.expirationTime=e);var n=t.alternate;null!==n&&n.expirationTime<e&&(n.expirationTime=e);var r=t.return,i=null;if(null===r&&3===t.tag)i=t.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<e&&(r.childExpirationTime=e),null!==n&&n.childExpirationTime<e&&(n.childExpirationTime=e),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Hu===i&&(Es(e),Gu===zu&&$s(i,qu)),Zs(i,e)),i}function gs(t){var e=t.lastExpiredTime;return 0!==e?e:Ks(t,e=t.firstPendingTime)?(e=t.lastPingedTime)>(t=t.nextKnownPendingLevel)?e:t:e}function ys(t){if(0!==t.lastExpiredTime)t.callbackExpirationTime=1073741823,t.callbackPriority=99,t.callbackNode=Xi(ms.bind(null,t));else{var e=gs(t),n=t.callbackNode;if(0===e)null!==n&&(t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90);else{var r=hs();if(1073741823===e?r=99:1===e||2===e?r=95:r=0>=(r=10*(1073741821-e)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=t.callbackPriority;if(t.callbackExpirationTime===e&&i>=r)return;n!==Ri&&Ci(n)}t.callbackExpirationTime=e,t.callbackPriority=r,e=1073741823===e?Xi(ms.bind(null,t)):Yi(r,function t(e,n){fs=0;if(n)return n=hs(),Js(e,n),ys(e),null;var r=gs(e);if(0!==r){if(n=e.callbackNode,(Uu&(Iu|Nu))!==ju)throw Error(a(327));if(Ds(),e===Hu&&r===qu||ws(e,r),null!==Wu){var i=Uu;Uu|=Iu;for(var o=Ss();;)try{Cs();break}catch(t){_s(e,t)}if(io(),Uu=i,Mu.current=o,Gu===Ru)throw n=Yu,ws(e,r),$s(e,r),ys(e),n;if(null===Wu)switch(o=e.finishedWork=e.current.alternate,e.finishedExpirationTime=r,i=Gu,Hu=null,i){case Fu:case Ru:throw Error(a(345));case Lu:Js(e,2<r?2:r);break;case Bu:if($s(e,r),i=e.lastSuspendedTime,r===i&&(e.nextKnownPendingLevel=Ms(o)),1073741823===Xu&&10<(o=Qu+ts-Hi())){if(Ju){var u=e.lastPingedTime;if(0===u||u>=r){e.lastPingedTime=r,ws(e,r);break}}if(0!==(u=gs(e))&&u!==r)break;if(0!==i&&i!==r){e.lastPingedTime=i;break}e.timeoutHandle=nr(Ps.bind(null,e),o);break}Ps(e);break;case zu:if($s(e,r),i=e.lastSuspendedTime,r===i&&(e.nextKnownPendingLevel=Ms(o)),Ju&&(0===(o=e.lastPingedTime)||o>=r)){e.lastPingedTime=r,ws(e,r);break}if(0!==(o=gs(e))&&o!==r)break;if(0!==i&&i!==r){e.lastPingedTime=i;break}if(1073741823!==Ku?i=10*(1073741821-Ku)-Hi():1073741823===Xu?i=0:(i=10*(1073741821-Xu)-5e3,o=Hi(),r=10*(1073741821-r)-o,0>(i=o-i)&&(i=0),i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*Tu(i/1960))-i,r<i&&(i=r)),10<i){e.timeoutHandle=nr(Ps.bind(null,e),i);break}Ps(e);break;case Vu:if(1073741823!==Xu&&null!==$u){u=Xu;var s=$u;if(0>=(i=0|s.busyMinDurationMs)?i=0:(o=0|s.busyDelayMs,u=Hi()-(10*(1073741821-u)-(0|s.timeoutMs||5e3)),i=u<=o?0:o+i-u),10<i){$s(e,r),e.timeoutHandle=nr(Ps.bind(null,e),i);break}}Ps(e);break;default:throw Error(a(329))}if(ys(e),e.callbackNode===n)return t.bind(null,e)}}return null}.bind(null,t),{timeout:10*(1073741821-e)-Hi()}),t.callbackNode=e}}}function ms(t){var e=t.lastExpiredTime;if(e=0!==e?e:1073741823,t.finishedExpirationTime===e)Ps(t);else{if((Uu&(Iu|Nu))!==ju)throw Error(a(327));if(Ds(),t===Hu&&e===qu||ws(t,e),null!==Wu){var n=Uu;Uu|=Iu;for(var r=Ss();;)try{Os();break}catch(e){_s(t,e)}if(io(),Uu=n,Mu.current=r,Gu===Ru)throw n=Yu,ws(t,e),$s(t,e),ys(t),n;if(null!==Wu)throw Error(a(261));t.finishedWork=t.current.alternate,t.finishedExpirationTime=e,Hu=null,Ps(t),ys(t)}}return null}function bs(t,e){var n=Uu;Uu|=1;try{return t(e)}finally{(Uu=n)===ju&&Ki()}}function xs(t,e){var n=Uu;Uu&=-2,Uu|=Du;try{return t(e)}finally{(Uu=n)===ju&&Ki()}}function ws(t,e){t.finishedWork=null,t.finishedExpirationTime=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,rr(n)),null!==Wu)for(n=Wu.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!=i&&bi();break;case 3:Ho(),xi();break;case 5:qo(r);break;case 4:Ho();break;case 13:case 19:fi(Go);break;case 10:ao(r)}n=n.return}Hu=t,Wu=Hs(t.current,null),qu=e,Gu=Fu,Yu=null,Ku=Xu=1073741823,$u=null,Zu=0,Ju=!1}function _s(t,e){for(;;){try{if(io(),da(),null===Wu||null===Wu.return)return Gu=Ru,Yu=e,null;t:{var n=t,r=Wu.return,i=Wu,o=e;if(e=qu,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==o&&"object"==typeof o&&"function"==typeof o.then){var a=o,u=0!=(1&Go.current),s=r;do{var c;if(c=13===s.tag){var l=s.memoizedState;if(null!==l)c=null!==l.dehydrated;else{var f=s.memoizedProps;c=void 0!==f.fallback&&(!0!==f.unstable_avoidThisFallback||!u)}}if(c){var h=s.updateQueue;if(null===h){var d=new Set;d.add(a),s.updateQueue=d}else h.add(a);if(0==(2&s.mode)){if(s.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var p=po(1073741823,null);p.tag=2,go(i,p)}i.expirationTime=1073741823;break t}o=void 0,i=e;var v=n.pingCache;if(null===v?(v=n.pingCache=new Eu,o=new Set,v.set(a,o)):void 0===(o=v.get(a))&&(o=new Set,v.set(a,o)),!o.has(i)){o.add(i);var g=Rs.bind(null,n,a,i);a.then(g,g)}s.effectTag|=4096,s.expirationTime=e;break t}s=s.return}while(null!==s);o=Error(($(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+Z(i))}Gu!==Vu&&(Gu=Lu),o=hu(o,i),s=r;do{switch(s.tag){case 3:a=o,s.effectTag|=4096,s.expirationTime=e,yo(s,Ou(s,a,e));break t;case 1:a=o;var y=s.type,m=s.stateNode;if(0==(64&s.effectTag)&&("function"==typeof y.getDerivedStateFromError||null!==m&&"function"==typeof m.componentDidCatch&&(null===is||!is.has(m)))){s.effectTag|=4096,s.expirationTime=e,yo(s,Cu(s,a,e));break t}}s=s.return}while(null!==s)}Wu=Ts(Wu)}catch(t){e=t;continue}break}}function Ss(){var t=Mu.current;return Mu.current=Ma,null===t?Ma:t}function ks(t,e){t<Xu&&2<t&&(Xu=t),null!==e&&t<Ku&&2<t&&(Ku=t,$u=e)}function Es(t){t>Zu&&(Zu=t)}function Os(){for(;null!==Wu;)Wu=As(Wu)}function Cs(){for(;null!==Wu&&!Ai();)Wu=As(Wu)}function As(t){var e=Au(t.alternate,t,qu);return t.memoizedProps=t.pendingProps,null===e&&(e=Ts(t)),Pu.current=null,e}function Ts(t){Wu=t;do{var e=Wu.alternate;if(t=Wu.return,0==(2048&Wu.effectTag)){t:{var n=e,r=qu,o=(e=Wu).pendingProps;switch(e.tag){case 2:case 16:break;case 15:case 0:break;case 1:mi(e.type)&&bi();break;case 3:Ho(),xi(),(o=e.stateNode).pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(null===n||null===n.child)&&za(e)&&cu(e),tu(e);break;case 5:qo(e),r=Vo(zo.current);var u=e.type;if(null!==n&&null!=e.stateNode)eu(n,e,u,o,r),n.ref!==e.ref&&(e.effectTag|=128);else if(o){var s=Vo(Lo.current);if(za(e)){var c=(o=e).stateNode;n=o.type;var l=o.memoizedProps,f=r;switch(c[ur]=o,c[sr]=l,u=void 0,r=c,n){case"iframe":case"object":case"embed":En("load",r);break;case"video":case"audio":for(c=0;c<Qt.length;c++)En(Qt[c],r);break;case"source":En("error",r);break;case"img":case"image":case"link":En("error",r),En("load",r);break;case"form":En("reset",r),En("submit",r);break;case"details":En("toggle",r);break;case"input":Ot(r,l),En("invalid",r),Vn(f,"onChange");break;case"select":r._wrapperState={wasMultiple:!!l.multiple},En("invalid",r),Vn(f,"onChange");break;case"textarea":It(r,l),En("invalid",r),Vn(f,"onChange")}for(u in Bn(n,l),c=null,l)l.hasOwnProperty(u)&&(s=l[u],"children"===u?"string"==typeof s?r.textContent!==s&&(c=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(c=["children",""+s]):d.hasOwnProperty(u)&&null!=s&&Vn(f,u));switch(n){case"input":St(r),Tt(r,l,!0);break;case"textarea":St(r),Ft(r);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(r.onclick=Un)}u=c,o.updateQueue=u,(o=null!==u)&&cu(e)}else{n=e,f=u,l=o,c=9===r.nodeType?r:r.ownerDocument,s===Rt.html&&(s=Lt(f)),s===Rt.html?"script"===f?((l=c.createElement("div")).innerHTML="<script><\/script>",c=l.removeChild(l.firstChild)):"string"==typeof l.is?c=c.createElement(f,{is:l.is}):(c=c.createElement(f),"select"===f&&(f=c,l.multiple?f.multiple=!0:l.size&&(f.size=l.size))):c=c.createElementNS(s,f),(l=c)[ur]=n,l[sr]=o,Qa(l,e,!1,!1),e.stateNode=l;var h=r,p=zn(f=u,n=o);switch(f){case"iframe":case"object":case"embed":En("load",l),r=n;break;case"video":case"audio":for(r=0;r<Qt.length;r++)En(Qt[r],l);r=n;break;case"source":En("error",l),r=n;break;case"img":case"image":case"link":En("error",l),En("load",l),r=n;break;case"form":En("reset",l),En("submit",l),r=n;break;case"details":En("toggle",l),r=n;break;case"input":Ot(l,n),r=Et(l,n),En("invalid",l),Vn(h,"onChange");break;case"option":r=Pt(l,n);break;case"select":l._wrapperState={wasMultiple:!!n.multiple},r=i({},n,{value:void 0}),En("invalid",l),Vn(h,"onChange");break;case"textarea":It(l,n),r=Dt(l,n),En("invalid",l),Vn(h,"onChange");break;default:r=n}Bn(f,r),c=void 0,s=f;var v=l,g=r;for(c in g)if(g.hasOwnProperty(c)){var y=g[c];"style"===c?Rn(v,y):"dangerouslySetInnerHTML"===c?null!=(y=y?y.__html:void 0)&&Ut(v,y):"children"===c?"string"==typeof y?("textarea"!==s||""!==y)&&Ht(v,y):"number"==typeof y&&Ht(v,""+y):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(d.hasOwnProperty(c)?null!=y&&Vn(h,c):null!=y&&wt(v,c,y,p))}switch(f){case"input":St(l),Tt(l,n,!1);break;case"textarea":St(l),Ft(l);break;case"option":null!=n.value&&l.setAttribute("value",""+xt(n.value));break;case"select":(r=l).multiple=!!n.multiple,null!=(l=n.value)?jt(r,!!n.multiple,l,!1):null!=n.defaultValue&&jt(r,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof r.onClick&&(l.onclick=Un)}(o=tr(u,o))&&cu(e)}null!==e.ref&&(e.effectTag|=128)}else if(null===e.stateNode)throw Error(a(166));break;case 6:if(n&&null!=e.stateNode)nu(n,e,n.memoizedProps,o);else{if("string"!=typeof o&&null===e.stateNode)throw Error(a(166));r=Vo(zo.current),Vo(Lo.current),za(e)?(u=(o=e).stateNode,r=o.memoizedProps,u[ur]=o,(o=u.nodeValue!==r)&&cu(e)):(u=e,(o=(9===r.nodeType?r:r.ownerDocument).createTextNode(o))[ur]=u,e.stateNode=o)}break;case 11:break;case 13:if(fi(Go),o=e.memoizedState,0!=(64&e.effectTag)){e.expirationTime=r;break t}o=null!==o,u=!1,null===n?void 0!==e.memoizedProps.fallback&&za(e):(u=null!==(r=n.memoizedState),o||null===r||null!==(r=n.child.sibling)&&(null!==(l=e.firstEffect)?(e.firstEffect=r,r.nextEffect=l):(e.firstEffect=e.lastEffect=r,r.nextEffect=null),r.effectTag=8)),o&&!u&&0!=(2&e.mode)&&(null===n&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!=(1&Go.current)?Gu===Fu&&(Gu=Bu):(Gu!==Fu&&Gu!==Bu||(Gu=zu),0!==Zu&&null!==Hu&&($s(Hu,qu),Zs(Hu,Zu)))),(o||u)&&(e.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Ho(),tu(e);break;case 10:ao(e);break;case 9:case 14:break;case 17:mi(e.type)&&bi();break;case 19:if(fi(Go),null===(o=e.memoizedState))break;if(u=0!=(64&e.effectTag),null===(l=o.rendering)){if(u)lu(o,!1);else if(Gu!==Fu||null!==n&&0!=(64&n.effectTag))for(n=e.child;null!==n;){if(null!==(l=Yo(n))){for(e.effectTag|=64,lu(o,!1),null!==(u=l.updateQueue)&&(e.updateQueue=u,e.effectTag|=4),null===o.lastEffect&&(e.firstEffect=null),e.lastEffect=o.lastEffect,o=r,u=e.child;null!==u;)n=o,(r=u).effectTag&=2,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null,null===(l=r.alternate)?(r.childExpirationTime=0,r.expirationTime=n,r.child=null,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null):(r.childExpirationTime=l.childExpirationTime,r.expirationTime=l.expirationTime,r.child=l.child,r.memoizedProps=l.memoizedProps,r.memoizedState=l.memoizedState,r.updateQueue=l.updateQueue,n=l.dependencies,r.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),u=u.sibling;hi(Go,1&Go.current|2),e=e.child;break t}n=n.sibling}}else{if(!u)if(null!==(n=Yo(l))){if(e.effectTag|=64,u=!0,null!==(r=n.updateQueue)&&(e.updateQueue=r,e.effectTag|=4),lu(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate){null!==(e=e.lastEffect=o.lastEffect)&&(e.nextEffect=null);break}}else Hi()>o.tailExpiration&&1<r&&(e.effectTag|=64,u=!0,lu(o,!1),e.expirationTime=e.childExpirationTime=r-1);o.isBackwards?(l.sibling=e.child,e.child=l):(null!==(r=o.last)?r.sibling=l:e.child=l,o.last=l)}if(null!==o.tail){0===o.tailExpiration&&(o.tailExpiration=Hi()+500),r=o.tail,o.rendering=r,o.tail=r.sibling,o.lastEffect=e.lastEffect,r.sibling=null,o=Go.current,hi(Go,o=u?1&o|2:1&o),e=r;break t}break;case 20:case 21:break;default:throw Error(a(156,e.tag))}e=null}if(o=Wu,1===qu||1!==o.childExpirationTime){for(u=0,r=o.child;null!==r;)(n=r.expirationTime)>u&&(u=n),(l=r.childExpirationTime)>u&&(u=l),r=r.sibling;o.childExpirationTime=u}if(null!==e)return e;null!==t&&0==(2048&t.effectTag)&&(null===t.firstEffect&&(t.firstEffect=Wu.firstEffect),null!==Wu.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=Wu.firstEffect),t.lastEffect=Wu.lastEffect),1<Wu.effectTag&&(null!==t.lastEffect?t.lastEffect.nextEffect=Wu:t.firstEffect=Wu,t.lastEffect=Wu))}else{if(null!==(e=fu(Wu)))return e.effectTag&=2047,e;null!==t&&(t.firstEffect=t.lastEffect=null,t.effectTag|=2048)}if(null!==(e=Wu.sibling))return e;Wu=t}while(null!==Wu);return Gu===Fu&&(Gu=Vu),null}function Ms(t){var e=t.expirationTime;return e>(t=t.childExpirationTime)?e:t}function Ps(t){var e=Wi();return Gi(99,function(t,e){do{Ds()}while(null!==as);if((Uu&(Iu|Nu))!==ju)throw Error(a(327));var n=t.finishedWork,r=t.finishedExpirationTime;if(null===n)return null;if(t.finishedWork=null,t.finishedExpirationTime=0,n===t.current)throw Error(a(177));t.callbackNode=null,t.callbackExpirationTime=0,t.callbackPriority=90,t.nextKnownPendingLevel=0;var i=Ms(n);if(t.firstPendingTime=i,r<=t.lastSuspendedTime?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:r<=t.firstSuspendedTime&&(t.firstSuspendedTime=r-1),r<=t.lastPingedTime&&(t.lastPingedTime=0),r<=t.lastExpiredTime&&(t.lastExpiredTime=0),t===Hu&&(Wu=Hu=null,qu=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=Uu;Uu|=Nu,Pu.current=null,Jn=kn;var u=Gn();if(Yn(u)){if("selectionStart"in u)var s={start:u.selectionStart,end:u.selectionEnd};else t:{var c=(s=(s=u.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(c&&0!==c.rangeCount){s=c.anchorNode;var l=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{s.nodeType,f.nodeType}catch(t){s=null;break t}var h=0,d=-1,p=-1,v=0,g=0,y=u,m=null;e:for(;;){for(var b;y!==s||0!==l&&3!==y.nodeType||(d=h+l),y!==f||0!==c&&3!==y.nodeType||(p=h+c),3===y.nodeType&&(h+=y.nodeValue.length),null!==(b=y.firstChild);)m=y,y=b;for(;;){if(y===u)break e;if(m===s&&++v===l&&(d=h),m===f&&++g===c&&(p=h),null!==(b=y.nextSibling))break;m=(y=m).parentNode}y=b}s=-1===d||-1===p?null:{start:d,end:p}}else s=null}s=s||{start:0,end:0}}else s=null;Qn={focusedElem:u,selectionRange:s},kn=!1,es=i;do{try{js()}catch(t){if(null===es)throw Error(a(330));Fs(es,t),es=es.nextEffect}}while(null!==es);es=i;do{try{for(u=t,s=e;null!==es;){var x=es.effectTag;if(16&x&&Ht(es.stateNode,""),128&x){var w=es.alternate;if(null!==w){var _=w.ref;null!==_&&("function"==typeof _?_(null):_.current=null)}}switch(1038&x){case 2:wu(es),es.effectTag&=-3;break;case 6:wu(es),es.effectTag&=-3,Su(es.alternate,es);break;case 1024:es.effectTag&=-1025;break;case 1028:es.effectTag&=-1025,Su(es.alternate,es);break;case 4:Su(es.alternate,es);break;case 8:_u(u,l=es,s),bu(l)}es=es.nextEffect}}catch(t){if(null===es)throw Error(a(330));Fs(es,t),es=es.nextEffect}}while(null!==es);if(_=Qn,w=Gn(),x=_.focusedElem,s=_.selectionRange,w!==x&&x&&x.ownerDocument&&function t(e,n){return!(!e||!n)&&(e===n||(!e||3!==e.nodeType)&&(n&&3===n.nodeType?t(e,n.parentNode):"contains"in e?e.contains(n):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(n))))}(x.ownerDocument.documentElement,x)){null!==s&&Yn(x)&&(w=s.start,void 0===(_=s.end)&&(_=w),"selectionStart"in x?(x.selectionStart=w,x.selectionEnd=Math.min(_,x.value.length)):(_=(w=x.ownerDocument||document)&&w.defaultView||window).getSelection&&(_=_.getSelection(),l=x.textContent.length,u=Math.min(s.start,l),s=void 0===s.end?u:Math.min(s.end,l),!_.extend&&u>s&&(l=s,s=u,u=l),l=qn(x,u),f=qn(x,s),l&&f&&(1!==_.rangeCount||_.anchorNode!==l.node||_.anchorOffset!==l.offset||_.focusNode!==f.node||_.focusOffset!==f.offset)&&((w=w.createRange()).setStart(l.node,l.offset),_.removeAllRanges(),u>s?(_.addRange(w),_.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),_.addRange(w))))),w=[];for(_=x;_=_.parentNode;)1===_.nodeType&&w.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"==typeof x.focus&&x.focus(),x=0;x<w.length;x++)(_=w[x]).element.scrollLeft=_.left,_.element.scrollTop=_.top}Qn=null,kn=!!Jn,Jn=null,t.current=n,es=i;do{try{for(x=r;null!==es;){var S=es.effectTag;if(36&S){var k=es.alternate;switch(_=x,(w=es).tag){case 0:case 11:case 15:yu(16,32,w);break;case 1:var E=w.stateNode;if(4&w.effectTag)if(null===k)E.componentDidMount();else{var O=w.elementType===w.type?k.memoizedProps:Qi(w.type,k.memoizedProps);E.componentDidUpdate(O,k.memoizedState,E.__reactInternalSnapshotBeforeUpdate)}var C=w.updateQueue;null!==C&&wo(0,C,E);break;case 3:var A=w.updateQueue;if(null!==A){if(u=null,null!==w.child)switch(w.child.tag){case 5:u=w.child.stateNode;break;case 1:u=w.child.stateNode}wo(0,A,u)}break;case 5:var T=w.stateNode;null===k&&4&w.effectTag&&tr(w.type,w.memoizedProps)&&T.focus();break;case 6:case 4:case 12:break;case 13:if(null===w.memoizedState){var M=w.alternate;if(null!==M){var P=M.memoizedState;if(null!==P){var j=P.dehydrated;null!==j&&Ee(j)}}}break;case 19:case 17:case 20:case 21:break;default:throw Error(a(163))}}if(128&S){w=void 0;var D=es.ref;if(null!==D){var I=es.stateNode;switch(es.tag){case 5:w=I;break;default:w=I}"function"==typeof D?D(w):D.current=w}}es=es.nextEffect}}catch(t){if(null===es)throw Error(a(330));Fs(es,t),es=es.nextEffect}}while(null!==es);es=null,Li(),Uu=o}else t.current=n;if(os)os=!1,as=t,us=e;else for(es=i;null!==es;)e=es.nextEffect,es.nextEffect=null,es=e;if(0===(e=t.firstPendingTime)&&(is=null),1073741823===e?t===ls?cs++:(cs=0,ls=t):cs=0,"function"==typeof Ls&&Ls(n.stateNode,r),ys(t),ns)throw ns=!1,t=rs,rs=null,t;return(Uu&Du)!==ju?null:(Ki(),null)}.bind(null,t,e)),null}function js(){for(;null!==es;){var t=es.effectTag;0!=(256&t)&&gu(es.alternate,es),0==(512&t)||os||(os=!0,Yi(97,function(){return Ds(),null})),es=es.nextEffect}}function Ds(){if(90!==us){var t=97<us?97:us;return us=90,Gi(t,Is)}}function Is(){if(null===as)return!1;var t=as;if(as=null,(Uu&(Iu|Nu))!==ju)throw Error(a(331));var e=Uu;for(Uu|=Nu,t=t.current.firstEffect;null!==t;){try{var n=t;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:yu(128,0,n),yu(0,64,n)}}catch(e){if(null===t)throw Error(a(330));Fs(t,e)}n=t.nextEffect,t.nextEffect=null,t=n}return Uu=e,Ki(),!0}function Ns(t,e,n){go(t,e=Ou(t,e=hu(n,e),1073741823)),null!==(t=vs(t,1073741823))&&ys(t)}function Fs(t,e){if(3===t.tag)Ns(t,t,e);else for(var n=t.return;null!==n;){if(3===n.tag){Ns(n,t,e);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===is||!is.has(r))){go(n,t=Cu(n,t=hu(e,t),1073741823)),null!==(n=vs(n,1073741823))&&ys(n);break}}n=n.return}}function Rs(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),Hu===t&&qu===n?Gu===zu||Gu===Bu&&1073741823===Xu&&Hi()-Qu<ts?ws(t,qu):Ju=!0:Ks(t,n)&&(0!==(e=t.lastPingedTime)&&e<n||(t.lastPingedTime=n,t.finishedExpirationTime===n&&(t.finishedExpirationTime=0,t.finishedWork=null),ys(t)))}Au=function(t,e,n){var r=e.expirationTime;if(null!==t){var i=e.pendingProps;if(t.memoizedProps!==i||vi.current)Ha=!0;else{if(r<n){switch(Ha=!1,e.tag){case 3:Ja(e),Va();break;case 5:if(Wo(e),4&e.mode&&1!==n&&i.hidden)return e.expirationTime=e.childExpirationTime=1,null;break;case 1:mi(e.type)&&Si(e);break;case 4:Uo(e,e.stateNode.containerInfo);break;case 10:oo(e,e.memoizedProps.value);break;case 13:if(null!==e.memoizedState)return 0!==(r=e.child.childExpirationTime)&&r>=n?iu(t,e,n):(hi(Go,1&Go.current),null!==(e=su(t,e,n))?e.sibling:null);hi(Go,1&Go.current);break;case 19:if(r=e.childExpirationTime>=n,0!=(64&t.effectTag)){if(r)return uu(t,e,n);e.effectTag|=64}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null),hi(Go,Go.current),!r)return null}return su(t,e,n)}Ha=!1}}else Ha=!1;switch(e.expirationTime=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,i=yi(e,pi.current),so(e,n),i=ha(null,e,r,t,i,n),e.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(e.tag=1,da(),mi(r)){var o=!0;Si(e)}else o=!1;e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var u=r.getDerivedStateFromProps;"function"==typeof u&&Eo(e,r,u,t),i.updater=Oo,e.stateNode=i,i._reactInternalFiber=e,Mo(e,r,t,n),e=Za(null,e,r,!0,o,n)}else e.tag=0,Wa(null,e,i,n),e=e.child;return e;case 16:if(i=e.elementType,null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),t=e.pendingProps,function(t){if(-1===t._status){t._status=0;var e=t._ctor;e=e(),t._result=e,e.then(function(e){0===t._status&&(e=e.default,t._status=1,t._result=e)},function(e){0===t._status&&(t._status=2,t._result=e)})}}(i),1!==i._status)throw i._result;switch(i=i._result,e.type=i,o=e.tag=function(t){if("function"==typeof t)return Us(t)?1:0;if(null!=t){if((t=t.$$typeof)===H)return 11;if(t===G)return 14}return 2}(i),t=Qi(i,t),o){case 0:e=Ka(null,e,i,t,n);break;case 1:e=$a(null,e,i,t,n);break;case 11:e=qa(null,e,i,t,n);break;case 14:e=Ga(null,e,i,Qi(i.type,t),r,n);break;default:throw Error(a(306,i,""))}return e;case 0:return r=e.type,i=e.pendingProps,Ka(t,e,r,i=e.elementType===r?i:Qi(r,i),n);case 1:return r=e.type,i=e.pendingProps,$a(t,e,r,i=e.elementType===r?i:Qi(r,i),n);case 3:if(Ja(e),null===(r=e.updateQueue))throw Error(a(282));if(i=null!==(i=e.memoizedState)?i.element:null,xo(e,r,e.pendingProps,null,n),(r=e.memoizedState.element)===i)Va(),e=su(t,e,n);else{if((i=e.stateNode.hydrate)&&(Ia=ir(e.stateNode.containerInfo.firstChild),Da=e,i=Na=!0),i)for(n=Fo(e,null,r,n),e.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Wa(t,e,r,n),Va();e=e.child}return e;case 5:return Wo(e),null===t&&La(e),r=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,u=i.children,er(r,i)?u=null:null!==o&&er(r,o)&&(e.effectTag|=16),Xa(t,e),4&e.mode&&1!==n&&i.hidden?(e.expirationTime=e.childExpirationTime=1,e=null):(Wa(t,e,u,n),e=e.child),e;case 6:return null===t&&La(e),null;case 13:return iu(t,e,n);case 4:return Uo(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=No(e,null,r,n):Wa(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,qa(t,e,r,i=e.elementType===r?i:Qi(r,i),n);case 7:return Wa(t,e,e.pendingProps,n),e.child;case 8:case 12:return Wa(t,e,e.pendingProps.children,n),e.child;case 10:t:{if(r=e.type._context,i=e.pendingProps,u=e.memoizedProps,oo(e,o=i.value),null!==u){var s=u.value;if(0===(o=Jr(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(u.children===i.children&&!vi.current){e=su(t,e,n);break t}}else for(null!==(s=e.child)&&(s.return=e);null!==s;){var c=s.dependencies;if(null!==c){u=s.child;for(var l=c.firstContext;null!==l;){if(l.context===r&&0!=(l.observedBits&o)){1===s.tag&&((l=po(n,null)).tag=2,go(s,l)),s.expirationTime<n&&(s.expirationTime=n),null!==(l=s.alternate)&&l.expirationTime<n&&(l.expirationTime=n),uo(s.return,n),c.expirationTime<n&&(c.expirationTime=n);break}l=l.next}}else u=10===s.tag&&s.type===e.type?null:s.child;if(null!==u)u.return=s;else for(u=s;null!==u;){if(u===e){u=null;break}if(null!==(s=u.sibling)){s.return=u.return,u=s;break}u=u.return}s=u}}Wa(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=(o=e.pendingProps).children,so(e,n),r=r(i=co(i,o.unstable_observedBits)),e.effectTag|=1,Wa(t,e,r,n),e.child;case 14:return o=Qi(i=e.type,e.pendingProps),Ga(t,e,i,o=Qi(i.type,o),r,n);case 15:return Ya(t,e,e.type,e.pendingProps,r,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Qi(r,i),null!==t&&(t.alternate=null,e.alternate=null,e.effectTag|=2),e.tag=1,mi(r)?(t=!0,Si(e)):t=!1,so(e,n),Ao(e,r,i),Mo(e,r,i,n),Za(null,e,r,!0,t,n);case 19:return uu(t,e,n)}throw Error(a(156,e.tag))};var Ls=null,Bs=null;function zs(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Vs(t,e,n,r){return new zs(t,e,n,r)}function Us(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Hs(t,e){var n=t.alternate;return null===n?((n=Vs(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=t.childExpirationTime,n.expirationTime=t.expirationTime,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{expirationTime:e.expirationTime,firstContext:e.firstContext,responders:e.responders},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Ws(t,e,n,r,i,o){var u=2;if(r=t,"function"==typeof t)Us(t)&&(u=1);else if("string"==typeof t)u=5;else t:switch(t){case R:return qs(n.children,i,o,e);case U:u=8,i|=7;break;case L:u=8,i|=1;break;case B:return(t=Vs(12,n,e,8|i)).elementType=B,t.type=B,t.expirationTime=o,t;case W:return(t=Vs(13,n,e,i)).type=W,t.elementType=W,t.expirationTime=o,t;case q:return(t=Vs(19,n,e,i)).elementType=q,t.expirationTime=o,t;default:if("object"==typeof t&&null!==t)switch(t.$$typeof){case z:u=10;break t;case V:u=9;break t;case H:u=11;break t;case G:u=14;break t;case Y:u=16,r=null;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Vs(u,n,e,i)).elementType=t,e.type=r,e.expirationTime=o,e}function qs(t,e,n,r){return(t=Vs(7,t,r,e)).expirationTime=n,t}function Gs(t,e,n){return(t=Vs(6,t,null,e)).expirationTime=n,t}function Ys(t,e,n){return(e=Vs(4,null!==t.children?t.children:[],t.key,e)).expirationTime=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Xs(t,e,n){this.tag=e,this.current=null,this.containerInfo=t,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Ks(t,e){var n=t.firstSuspendedTime;return t=t.lastSuspendedTime,0!==n&&n>=e&&t<=e}function $s(t,e){var n=t.firstSuspendedTime,r=t.lastSuspendedTime;n<e&&(t.firstSuspendedTime=e),(r>e||0===n)&&(t.lastSuspendedTime=e),e<=t.lastPingedTime&&(t.lastPingedTime=0),e<=t.lastExpiredTime&&(t.lastExpiredTime=0)}function Zs(t,e){e>t.firstPendingTime&&(t.firstPendingTime=e);var n=t.firstSuspendedTime;0!==n&&(e>=n?t.firstSuspendedTime=t.lastSuspendedTime=t.nextKnownPendingLevel=0:e>=t.lastSuspendedTime&&(t.lastSuspendedTime=e+1),e>t.nextKnownPendingLevel&&(t.nextKnownPendingLevel=e))}function Js(t,e){var n=t.lastExpiredTime;(0===n||n>e)&&(t.lastExpiredTime=e)}function Qs(t,e,n,r){var i=e.current,o=hs(),u=So.suspense;o=ds(o,i,u);t:if(n){e:{if(te(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(mi(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(null!==s);throw Error(a(171))}if(1===n.tag){var c=n.type;if(mi(c)){n=_i(n,c,s);break t}}n=s}else n=di;return null===e.context?e.context=n:e.pendingContext=n,(e=po(o,u)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),go(i,e),ps(i,o),o}function tc(t){if(!(t=t.current).child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function ec(t,e){null!==(t=t.memoizedState)&&null!==t.dehydrated&&t.retryTime<e&&(t.retryTime=e)}function nc(t,e){ec(t,e),(t=t.alternate)&&ec(t,e)}function rc(t,e,n){var r=new Xs(t,e,n=null!=n&&!0===n.hydrate),i=Vs(3,null,null,2===e?7:1===e?3:0);r.current=i,i.stateNode=r,t[cr]=r.current,n&&0!==e&&function(t){var e=jn(t);ve.forEach(function(n){Dn(n,t,e)}),ge.forEach(function(n){Dn(n,t,e)})}(9===t.nodeType?t:t.ownerDocument),this._internalRoot=r}function ic(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function oc(t,e,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var u=i;i=function(){var t=tc(a);u.call(t)}}Qs(e,a,t,i)}else{if(o=n._reactRootContainer=function(t,e){if(e||(e=!(!(e=t?9===t.nodeType?t.documentElement:t.firstChild:null)||1!==e.nodeType||!e.hasAttribute("data-reactroot"))),!e)for(var n;n=t.lastChild;)t.removeChild(n);return new rc(t,0,e?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var s=i;i=function(){var t=tc(a);s.call(t)}}xs(function(){Qs(e,a,t,i)})}return tc(a)}function ac(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ic(e))throw Error(a(200));return function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:F,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}(t,e,null,n)}rc.prototype.render=function(t,e){Qs(t,this._internalRoot,null,void 0===e?null:e)},rc.prototype.unmount=function(t){var e=this._internalRoot,n=void 0===t?null:t,r=e.containerInfo;Qs(null,e,null,function(){r[cr]=null,null!==n&&n()})},ie=function(t){if(13===t.tag){var e=Ji(hs(),150,100);ps(t,e),nc(t,e)}},oe=function(t){if(13===t.tag){hs();var e=Zi++;ps(t,e),nc(t,e)}},ae=function(t){if(13===t.tag){var e=hs();ps(t,e=ds(e,t,null)),nc(t,e)}},Q=function(t,e,n){switch(e){case"input":if(At(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=dr(r);if(!i)throw Error(a(90));kt(r),At(r,i)}}}break;case"textarea":Nt(t,n);break;case"select":null!=(e=n.value)&&jt(t,!!n.multiple,e,!1)}},ot=bs,at=function(t,e,n,r){var i=Uu;Uu|=4;try{return Gi(98,t.bind(null,e,n,r))}finally{(Uu=i)===ju&&Ki()}},ut=function(){(Uu&(1|Iu|Nu))===ju&&(function(){if(null!==ss){var t=ss;ss=null,t.forEach(function(t,e){Js(e,t),ys(e)}),Ki()}}(),Ds())},st=function(t,e){var n=Uu;Uu|=2;try{return t(e)}finally{(Uu=n)===ju&&Ki()}};var uc={createPortal:ac,findDOMNode:function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternalFiber;if(void 0===e){if("function"==typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=null===(t=re(e))?null:t.stateNode},hydrate:function(t,e,n){if(!ic(e))throw Error(a(200));return oc(null,t,e,!0,n)},render:function(t,e,n){if(!ic(e))throw Error(a(200));return oc(null,t,e,!1,n)},unstable_renderSubtreeIntoContainer:function(t,e,n,r){if(!ic(n))throw Error(a(200));if(null==t||void 0===t._reactInternalFiber)throw Error(a(38));return oc(t,e,n,!1,r)},unmountComponentAtNode:function(t){if(!ic(t))throw Error(a(40));return!!t._reactRootContainer&&(xs(function(){oc(null,null,t,!1,function(){t._reactRootContainer=null,t[cr]=null})}),!0)},unstable_createPortal:function(){return ac.apply(void 0,arguments)},unstable_batchedUpdates:bs,flushSync:function(t,e){if((Uu&(Iu|Nu))!==ju)throw Error(a(187));var n=Uu;Uu|=1;try{return Gi(99,t.bind(null,e))}finally{Uu=n,Ki()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[fr,hr,dr,M.injectEventPluginsByName,h,je,function(t){O(t,Pe)},rt,it,An,T,Ds,{current:!1}]}};!function(t){var e=t.findFiberByHostInstance;(function(t){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var n=e.inject(t);Ls=function(t){try{e.onCommitFiberRoot(n,t,void 0,64==(64&t.current.effectTag))}catch(t){}},Bs=function(t){try{e.onCommitFiberUnmount(n,t)}catch(t){}}}catch(t){}})(i({},t,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=re(t))?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:lr,bundleType:0,version:"16.12.0",rendererPackageName:"react-dom"});var sc={default:uc},cc=sc&&uc||sc;t.exports=cc.default||cc},ylqs:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},yqkn:function(t,e,n){"use strict";var r=/^(%20|\s)*(javascript|data)/im,i=/[^\x20-\x7E]/gim,o=/^([^:]+):/gm,a=[".","/"];t.exports={sanitizeUrl:function(t){var e,n,u;return t?function(t){return a.indexOf(t[0])>-1}(u=t.replace(i,"").trim())?u:(n=u.match(o))?(e=n[0],r.test(e)?"about:blank":u):u:"about:blank"}}},yt8O:function(t,e,n){"use strict";var r=n("nGyu"),i=n("1TsA"),o=n("hPIQ"),a=n("aCFj");t.exports=n("Afnz")(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},yue5:function(t,e,n){var r=n("/9aa");t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),u=void 0!==e,s=null===e,c=e==e,l=r(e);if(!s&&!l&&!a&&t>e||a&&u&&c&&!s&&!l||i&&u&&c||!n&&c||!o)return 1;if(!i&&!a&&!l&&t<e||l&&n&&o&&!i&&!a||s&&n&&o||!u&&o||!c)return-1}return 0}},"z/Nc":function(t,e){var n={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};t.exports=function(t,e){return"number"!=typeof e||n[t]?e:e+"px"}},z2o2:function(t,e,n){var r=n("0/R4"),i=n("Z6vF").onFreeze;n("Xtr8")("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},zEVN:function(t,e,n){var r=n("Gi0A"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isMap,u=a?i(a):r;t.exports=u},zEbV:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.css=void 0;var r,i=(r=n("q1tI"))&&r.__esModule?r:{default:r},o=n("PAeb");function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}e.css=function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,i=n.colors;return{color:e?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(2*r.baseUnit,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}};var u=function(t){var e=t.children,n=t.className,r=t.cx,u=t.getStyles,s=t.isDisabled,c=t.innerProps;return i.default.createElement("div",a({className:r((0,o.css)(u("singleValue",t)),{"single-value":!0,"single-value--is-disabled":s},n)},c),e)};e.default=u},zFFn:function(t,e,n){n("hhXQ"),t.exports=n("g3g5").Object.values},zLVn:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}n.d(e,"a",function(){return r})},zLkG:function(t,e,n){e.f=n("UWiX")},zRwo:function(t,e,n){var r=n("6FMO");t.exports=function(t,e){return new(r(t))(e)}},zZ0H:function(t,e){t.exports=function(t){return t}},zdiy:function(t,e,n){t.exports=n("qbnB")},zhAb:function(t,e,n){var r=n("aagx"),i=n("aCFj"),o=n("w2a5")(!1),a=n("YTvA")("IE_PROTO");t.exports=function(t,e){var n,u=i(t),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;e.length>s;)r(u,n=e[s++])&&(~o(c,n)||c.push(n));return c}},zo3G:function(t,e,n){"use strict";var r=n("mrSG"),i=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return r.__extends(e,t),e.prototype.schedule=function(e,n){return void 0===n&&(n=0),n>0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(n("h9Dq").a),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r.__extends(e,t),e}(n("CS9Q").a);n.d(e,"a",function(){return a});var a=new o(i)},zoYe:function(t,e,n){var r=n("nmnc"),i=n("eUgh"),o=n("Z0cm"),a=n("/9aa"),u=1/0,s=r?r.prototype:void 0,c=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-u?"-0":n}},zotm:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n("rPjj"),i=n("Fxb1");function o(t,e,n,o,a){if(void 0===a&&(a=new r.a(t,n,o)),!a.closed)return Object(i.a)(e)(a)}},zqxM:function(t,e,n){var r=n("LqpT"),i=n("XGnz"),o=n("EA7m"),a=n("3L66"),u=o(function(t,e){return a(t)?r(t,i(e,1,a,!0)):[]});t.exports=u},zs13:function(t,e){t.exports=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;++n)if(t[n]===e)return n;return-1}},zslu:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;var r=c(n("q1tI")),i=c(n("17x9")),o=c(n("o5BE")),a=c(n("j8Z3")),u=n("ragC"),s=n("4UG0");function c(t){return t&&t.__esModule?t:{default:t}}function l(t){var e=t.activeStartDate,n=t.calendarType,i=t.onClickWeekNumber,s=t.onMouseLeave,c=t.showFixedNumberOfWeeks,l=function(){if(c)return 6;var t=(0,u.getDaysInMonth)(e)-(7-(0,u.getDayOfWeek)(e,n));return 1+Math.ceil(t/7)}(),f=function(){for(var t=(0,u.getYear)(e),r=(0,u.getMonthIndex)(e),i=(0,u.getDay)(e),o=[],a=0;a<l;a+=1)o.push((0,u.getBeginOfWeek)(new Date(t,r,i+7*a),n));return o}(),h=f.map(function(t){return(0,u.getWeekNumber)(t,n)});return r.default.createElement(a.default,{className:"react-calendar__month-view__weekNumbers",count:l,direction:"column",onFocus:s,onMouseOver:s,style:{flexBasis:"calc(100% * (1 / 8)",flexShrink:0}},h.map(function(t,e){return r.default.createElement(o.default,{key:t,date:f[e],onClickWeekNumber:i,weekNumber:t})}))}l.propTypes={activeStartDate:i.default.instanceOf(Date).isRequired,calendarType:s.isCalendarType.isRequired,onClickWeekNumber:i.default.func,onMouseLeave:i.default.func,showFixedNumberOfWeeks:i.default.bool}}}]); //# sourceMappingURL=vendors~app.4d0490a94b199a11f40c.js.map