/*! For license information please see 2.0cbedbeb.chunk.js.LICENSE.txt */
(this.webpackJsonpfi=this.webpackJsonpfi||[]).push([[2],[function(t,e,n){"use strict";t.exports=n(782)},function(t,e,n){"use strict";t.exports=n(775)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(397);var o=n(218),i=n(398);function a(t,e){return Object(r.a)(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||Object(o.a)(t,e)||Object(i.a)()}},function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():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},r.apply(this,arguments)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(283);function o(){o=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(P){c=function(t,e,n){return t[e]=n}}function u(t,e,n,r){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return E()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===f)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=d(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===f)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,a),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(P){return{type:"throw",arg:P}}}t.wrap=u;var f={};function p(){}function h(){}function v(){}var g={};c(g,a,(function(){return this}));var m=Object.getPrototypeOf,b=m&&m(m(k([])));b&&b!==e&&n.call(b,a)&&(g=b);var y=v.prototype=p.prototype=Object.create(g);function x(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(i,a,s,l){var c=d(t[i],t,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==Object(r.a)(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,s,l)}),(function(t){o("throw",t,s,l)})):e.resolve(f).then((function(t){u.value=t,s(u)}),(function(t){return o("throw",t,s,l)}))}l(c.arg)}var i;this._invoke=function(t,n){function r(){return new e((function(e,r){o(t,n,e,r)}))}return i=i?i.then(r,r):r()}}function O(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=d(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function S(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(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(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:E}}function E(){return{value:void 0,done:!0}}return h.prototype=v,c(y,"constructor",v),c(v,"constructor",h),h.displayName=c(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,c(t,l,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},x(w.prototype),c(w.prototype,s,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new w(u(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(y),c(y,l,"Generator"),c(y,a,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),t.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}},t.values=k,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},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(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):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),f},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),j(n),f}},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 o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(5);function o(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 i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return a}));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)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function o(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.create;function a(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}Object.create},function(t,e,n){"use strict";n.d(e,"t",(function(){return s})),n.d(e,"hb",(function(){return i})),n.d(e,"mb",(function(){return a})),n.d(e,"a",(function(){return Wt})),n.d(e,"b",(function(){return Qn})),n.d(e,"c",(function(){return xi})),n.d(e,"d",(function(){return on})),n.d(e,"e",(function(){return Po})),n.d(e,"f",(function(){return ao})),n.d(e,"g",(function(){return To})),n.d(e,"h",(function(){return nr})),n.d(e,"i",(function(){return xr})),n.d(e,"j",(function(){return gi})),n.d(e,"k",(function(){return bi})),n.d(e,"l",(function(){return Fo})),n.d(e,"m",(function(){return zo})),n.d(e,"n",(function(){return Ho})),n.d(e,"o",(function(){return yo})),n.d(e,"p",(function(){return qn})),n.d(e,"q",(function(){return Vn})),n.d(e,"r",(function(){return an})),n.d(e,"s",(function(){return di})),n.d(e,"u",(function(){return vo})),n.d(e,"v",(function(){return ki})),n.d(e,"w",(function(){return hi})),n.d(e,"x",(function(){return No})),n.d(e,"y",(function(){return Un})),n.d(e,"z",(function(){return ti})),n.d(e,"A",(function(){return sr})),n.d(e,"B",(function(){return Wn})),n.d(e,"C",(function(){return so})),n.d(e,"D",(function(){return ui})),n.d(e,"E",(function(){return Vo})),n.d(e,"F",(function(){return _n})),n.d(e,"G",(function(){return fi})),n.d(e,"H",(function(){return Kn})),n.d(e,"I",(function(){return vr})),n.d(e,"J",(function(){return Oi})),n.d(e,"K",(function(){return Gn})),n.d(e,"L",(function(){return B})),n.d(e,"M",(function(){return gt})),n.d(e,"N",(function(){return F})),n.d(e,"O",(function(){return T})),n.d(e,"P",(function(){return _})),n.d(e,"Q",(function(){return $e})),n.d(e,"R",(function(){return v})),n.d(e,"S",(function(){return yt})),n.d(e,"T",(function(){return ho})),n.d(e,"U",(function(){return co})),n.d(e,"V",(function(){return ln})),n.d(e,"W",(function(){return ze})),n.d(e,"X",(function(){return Ot})),n.d(e,"Y",(function(){return Rn})),n.d(e,"Z",(function(){return Fe})),n.d(e,"ab",(function(){return D})),n.d(e,"bb",(function(){return _i})),n.d(e,"cb",(function(){return Bn})),n.d(e,"db",(function(){return zn})),n.d(e,"eb",(function(){return xo})),n.d(e,"fb",(function(){return jn})),n.d(e,"gb",(function(){return ht})),n.d(e,"ib",(function(){return ne})),n.d(e,"jb",(function(){return J})),n.d(e,"kb",(function(){return Vt})),n.d(e,"lb",(function(){return rr})),n.d(e,"nb",(function(){return xe})),n.d(e,"ob",(function(){return V})),n.d(e,"pb",(function(){return kn})),n.d(e,"qb",(function(){return H})),n.d(e,"rb",(function(){return k})),n.d(e,"sb",(function(){return f})),n.d(e,"tb",(function(){return p})),n.d(e,"ub",(function(){return E})),n.d(e,"vb",(function(){return te})),n.d(e,"wb",(function(){return jt})),n.d(e,"xb",(function(){return Hn})),n.d(e,"yb",(function(){return Ke})),n.d(e,"zb",(function(){return b})),n.d(e,"Ab",(function(){return Me})),n.d(e,"Bb",(function(){return lo})),n.d(e,"Cb",(function(){return m})),n.d(e,"Db",(function(){return Cn})),n.d(e,"Eb",(function(){return ee})),n.d(e,"Fb",(function(){return Be})),n.d(e,"Gb",(function(){return ci})),n.d(e,"Hb",(function(){return li})),n.d(e,"Ib",(function(){return uo})),n.d(e,"Jb",(function(){return Pe})),n.d(e,"Kb",(function(){return Qt})),n.d(e,"Lb",(function(){return bo})),n.d(e,"Mb",(function(){return mo})),n.d(e,"Nb",(function(){return Se})),n.d(e,"Ob",(function(){return Sn})),n.d(e,"Pb",(function(){return fo})),n.d(e,"Qb",(function(){return qo})),n.d(e,"Rb",(function(){return Ue})),n.d(e,"Sb",(function(){return Wo})),n.d(e,"Tb",(function(){return at})),n.d(e,"Ub",(function(){return rt})),n.d(e,"Vb",(function(){return Et})),n.d(e,"Wb",(function(){return mt})),n.d(e,"Xb",(function(){return Oo})),n.d(e,"Yb",(function(){return me})),n.d(e,"Zb",(function(){return On})),n.d(e,"ac",(function(){return M})),n.d(e,"bc",(function(){return P})),n.d(e,"cc",(function(){return ke})),n.d(e,"dc",(function(){return Ce})),n.d(e,"ec",(function(){return ve})),n.d(e,"fc",(function(){return d})),n.d(e,"gc",(function(){return yi})),n.d(e,"hc",(function(){return si})),n.d(e,"ic",(function(){return er})),n.d(e,"jc",(function(){return Re})),n.d(e,"kc",(function(){return W})),n.d(e,"lc",(function(){return Ye})),n.d(e,"mc",(function(){return S})),n.d(e,"nc",(function(){return xt}));n(1058);var r=n(7);if("undefined"===typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var o=FullCalendarVDom.Component,i=FullCalendarVDom.createElement,a=(FullCalendarVDom.render,FullCalendarVDom.createRef),s=FullCalendarVDom.Fragment,l=FullCalendarVDom.createContext,c=FullCalendarVDom.createPortal,u=(FullCalendarVDom.flushToDom,FullCalendarVDom.unmountComponentAtNode,function(){function t(t,e){this.context=t,this.internalEventSource=e}return t.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},t.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(t.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),t}());function d(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e){if(t.closest)return t.closest(e);if(!document.documentElement.contains(t))return null;do{if(p(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}function p(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector).call(t,e)}var h=/(top|left|right|bottom|width|height)$/i;function v(t,e){for(var n in e)g(t,n,e[n])}function g(t,e,n){null==n?t.style[e]="":"number"===typeof n&&h.test(e)?t.style[e]=n+"px":t.style[e]=n}function m(t){var e,n;return null!==(n=null===(e=t.composedPath)||void 0===e?void 0:e.call(t)[0])&&void 0!==n?n:t.target}function b(t){return t.getRootNode?t.getRootNode():document}function y(t){t.preventDefault()}function x(t,e){return function(n){var r=f(n.target,t);r&&e.call(r,n,r)}}function w(t,e,n,r){var o=x(n,r);return t.addEventListener(e,o),function(){t.removeEventListener(e,o)}}var O=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function S(t,e){var n=function n(r){e(r),O.forEach((function(e){t.removeEventListener(e,n)}))};O.forEach((function(e){t.addEventListener(e,n)}))}var j=0;function C(){return String(j+=1)}function k(){document.body.classList.add("fc-not-allowed")}function E(){document.body.classList.remove("fc-not-allowed")}function P(t){t.classList.add("fc-unselectable"),t.addEventListener("selectstart",y)}function _(t){t.classList.remove("fc-unselectable"),t.removeEventListener("selectstart",y)}function M(t){t.addEventListener("contextmenu",y)}function T(t){t.removeEventListener("contextmenu",y)}function A(t,e,n){return n.func?n.func(t,e):function(t,e){if(!t&&!e)return 0;if(null==e)return-1;if(null==t)return 1;if("string"===typeof t||"string"===typeof e)return String(t).localeCompare(String(e));return t-e}(t[n.field],e[n.field])*(n.order||1)}function R(t,e){var n=String(t);return"000".substr(0,e-n.length)+n}function D(t,e){return t-e}function I(t){return t%1===0}function N(t){var e=t.querySelector(".fc-scrollgrid-shrink-frame"),n=t.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return t.getBoundingClientRect().width-e.getBoundingClientRect().width+n.getBoundingClientRect().width}var L=["sun","mon","tue","wed","thu","fri","sat"];function F(t,e){var n=K(t);return n[2]+=7*e,$(n)}function B(t,e){var n=K(t);return n[2]+=e,$(n)}function z(t,e){var n=K(t);return n[6]+=e,$(n)}function H(t,e){return V(t,e)/7}function V(t,e){return(e.valueOf()-t.valueOf())/864e5}function U(t,e){return Q(t)===Q(e)?Math.round(V(t,e)):null}function W(t){return $([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()])}function q(t,e,n,r){var o=$([e,0,1+G(e,n,r)]),i=W(t),a=Math.round(V(o,i));return Math.floor(a/7)+1}function G(t,e,n){var r=7+e-n;return-((7+$([t,0,r]).getUTCDay()-e)%7)+r-1}function Y(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function X(t){return new Date(t[0],t[1]||0,null==t[2]?1:t[2],t[3]||0,t[4]||0,t[5]||0)}function K(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function $(t){return 1===t.length&&(t=t.concat([0])),new Date(Date.UTC.apply(Date,t))}function Z(t){return!isNaN(t.valueOf())}function Q(t){return 1e3*t.getUTCHours()*60*60+1e3*t.getUTCMinutes()*60+1e3*t.getUTCSeconds()+t.getUTCMilliseconds()}function J(t,e,n,r){return{instanceId:C(),defId:t,range:e,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var tt=Object.prototype.hasOwnProperty;function et(t,e){var n={};if(e)for(var r in e){for(var o=[],i=t.length-1;i>=0;i-=1){var a=t[i][r];if("object"===typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=et(o))}for(i=t.length-1;i>=0;i-=1){var s=t[i];for(var l in s)l in n||(n[l]=s[l])}return n}function nt(t,e){var n={};for(var r in t)e(t[r],r)&&(n[r]=t[r]);return n}function rt(t,e){var n={};for(var r in t)n[r]=e(t[r],r);return n}function ot(t){for(var e={},n=0,r=t;n<r.length;n++){e[r[n]]=!0}return e}function it(t){var e=[];for(var n in t)e.push(t[n]);return e}function at(t,e){if(t===e)return!0;for(var n in t)if(tt.call(t,n)&&!(n in e))return!1;for(var n in e)if(tt.call(e,n)&&t[n]!==e[n])return!1;return!0}function st(t,e){var n=[];for(var r in t)tt.call(t,r)&&(r in e||n.push(r));for(var r in e)tt.call(e,r)&&t[r]!==e[r]&&n.push(r);return n}function lt(t,e,n){if(void 0===n&&(n={}),t===e)return!0;for(var r in e)if(!(r in t)||!ct(t[r],e[r],n[r]))return!1;for(var r in t)if(!(r in e))return!1;return!0}function ct(t,e,n){return t===e||!0===n||!!n&&n(t,e)}function ut(t,e,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=t.defs,s=t.instances;for(var l in s=nt(s,(function(t){return!a[t.defId].recurringDef})),a){var c=a[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,f=dt(c,u,e,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=J(l,{start:p,end:r.add(p,u)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function dt(t,e,n,r,o){var i=o[t.recurringDef.typeId].expand(t.recurringDef.typeData,{start:r.subtract(n.start,e),end:n.end},r);return t.allDay&&(i=i.map(W)),i}var ft=["years","months","days","milliseconds"],pt=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function ht(t,e){var n;return"string"===typeof t?function(t){var e=pt.exec(t);if(e){var n=e[1]?-1:1;return{years:0,months:0,days:n*(e[2]?parseInt(e[2],10):0),milliseconds:n*(60*(e[3]?parseInt(e[3],10):0)*60*1e3+60*(e[4]?parseInt(e[4],10):0)*1e3+1e3*(e[5]?parseInt(e[5],10):0)+(e[6]?parseInt(e[6],10):0))}}return null}(t):"object"===typeof t&&t?vt(t):"number"===typeof t?vt(((n={})[e||"milliseconds"]=t,n)):null}function vt(t){var e={years:t.years||t.year||0,months:t.months||t.month||0,days:t.days||t.day||0,milliseconds:60*(t.hours||t.hour||0)*60*1e3+60*(t.minutes||t.minute||0)*1e3+1e3*(t.seconds||t.second||0)+(t.milliseconds||t.millisecond||t.ms||0)},n=t.weeks||t.week;return n&&(e.days+=7*n,e.specifiedWeeks=!0),e}function gt(t,e){return{years:t.years+e.years,months:t.months+e.months,days:t.days+e.days,milliseconds:t.milliseconds+e.milliseconds}}function mt(t,e){return{years:t.years*e,months:t.months*e,days:t.days*e,milliseconds:t.milliseconds*e}}function bt(t){return yt(t)/864e5}function yt(t){return 31536e6*t.years+2592e6*t.months+864e5*t.days+t.milliseconds}function xt(t,e){for(var n=null,r=0;r<ft.length;r+=1){var o=ft[r];if(e[o]){var i=t[o]/e[o];if(!I(i)||null!==n&&n!==i)return null;n=i}else if(t[o])return null}return n}function wt(t){var e=t.milliseconds;if(e){if(e%1e3!==0)return{unit:"millisecond",value:e};if(e%6e4!==0)return{unit:"second",value:e/1e3};if(e%36e5!==0)return{unit:"minute",value:e/6e4};if(e)return{unit:"hour",value:e/36e5}}return t.days?t.specifiedWeeks&&t.days%7===0?{unit:"week",value:t.days/7}:{unit:"day",value:t.days}:t.months?{unit:"month",value:t.months}:t.years?{unit:"year",value:t.years}:{unit:"millisecond",value:0}}function Ot(t,e,n){void 0===n&&(n=!1);var r=t.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==e?r=r.replace("Z",""):0!==e&&(r=r.replace("Z",Ct(e,!0)))),r}function St(t){return t.toISOString().replace(/T.*$/,"")}function jt(t){return R(t.getUTCHours(),2)+":"+R(t.getUTCMinutes(),2)+":"+R(t.getUTCSeconds(),2)}function Ct(t,e){void 0===e&&(e=!1);var n=t<0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),i=Math.round(r%60);return e?n+R(o,2)+":"+R(i,2):"GMT"+n+o+(i?":"+R(i,2):"")}function kt(t,e,n){if(t===e)return!0;var r,o=t.length;if(o!==e.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(t[r],e[r]):t[r]===e[r]))return!1;return!0}function Et(t,e,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!kt(r,i)){n&&n(o);var s=t.apply(this,i);e&&e(s,o)||(o=s)}}else o=t.apply(this,i);return r=i,o}}function Pt(t,e,n){var r,o,i=this;return function(a){if(r){if(!at(r,a)){n&&n(o);var s=t.call(i,a);e&&e(s,o)||(o=s)}}else o=t.call(i,a);return r=a,o}}var _t={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},Mt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Tt=/\s*([ap])\.?m\.?/i,At=/,/g,Rt=/\s+/g,Dt=/\u200e/g,It=/UTC|GMT/,Nt=function(){function t(t){var e={},n={},r=0;for(var o in t)o in _t?(n[o]=t[o],r=Math.max(_t[o],r)):(e[o]=t[o],o in Mt&&(r=Math.max(Mt[o],r)));this.standardDateProps=e,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=Et(Lt)}return t.prototype.format=function(t,e){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,e)(t)},t.prototype.formatRange=function(t,e,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(t,e,n){if(n.getMarkerYear(t)!==n.getMarkerYear(e))return 5;if(n.getMarkerMonth(t)!==n.getMarkerMonth(e))return 4;if(n.getMarkerDay(t)!==n.getMarkerDay(e))return 2;if(Q(t)!==Q(e))return 1;return 0}(t.marker,e.marker,n.calendarSystem);if(!a)return this.format(t,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(t,n),c=this.format(e,n);if(l===c)return l;var u=Lt(function(t,e){var n={};for(var r in t)(!(r in Mt)||Mt[r]<=e)&&(n[r]=t[r]);return n}(o,s),i,n),d=u(t),f=u(e),p=function(t,e,n,r){var o=0;for(;o<t.length;){var i=t.indexOf(e,o);if(-1===i)break;var a=t.substr(0,i);o=i+e.length;for(var s=t.substr(o),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(a===u&&s===d)return{before:a,after:s}}}return null}(l,d,c,f),h=i.separator||r||n.defaultSeparator||"";return p?p.before+d+h+f+p.after:l+h+c},t.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},t}();function Lt(t,e,n){var o=Object.keys(t).length;return 1===o&&"short"===t.timeZoneName?function(t){return Ct(t.timeZoneOffset)}:0===o&&e.week?function(t){return function(t,e,n,r){var o=[];"narrow"===r?o.push(e):"short"===r&&o.push(e," ");o.push(n.simpleNumberFormat.format(t)),"rtl"===n.options.direction&&o.reverse();return o.join("")}(n.computeWeekNumber(t.marker),n.weekText,n.locale,e.week)}:function(t,e,n){t=Object(r.a)({},t),e=Object(r.a)({},e),function(t,e){t.timeZoneName&&(t.hour||(t.hour="2-digit"),t.minute||(t.minute="2-digit"));"long"===t.timeZoneName&&(t.timeZoneName="short");e.omitZeroMinute&&(t.second||t.millisecond)&&delete e.omitZeroMinute}(t,e),t.timeZone="UTC";var o,i=new Intl.DateTimeFormat(n.locale.codes,t);if(e.omitZeroMinute){var a=Object(r.a)({},t);delete a.minute,o=new Intl.DateTimeFormat(n.locale.codes,a)}return function(r){var a=r.marker;return function(t,e,n,r,o){t=t.replace(Dt,""),"short"===n.timeZoneName&&(t=function(t,e){var n=!1;t=t.replace(It,(function(){return n=!0,e})),n||(t+=" "+e);return t}(t,"UTC"===o.timeZone||null==e.timeZoneOffset?"UTC":Ct(e.timeZoneOffset)));r.omitCommas&&(t=t.replace(At,"").trim());r.omitZeroMinute&&(t=t.replace(":00",""));!1===r.meridiem?t=t.replace(Tt,"").trim():"narrow"===r.meridiem?t=t.replace(Tt,(function(t,e){return e.toLocaleLowerCase()})):"short"===r.meridiem?t=t.replace(Tt,(function(t,e){return e.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(t=t.replace(Tt,(function(t){return t.toLocaleLowerCase()})));return t=(t=t.replace(Rt," ")).trim()}((o&&!a.getUTCMinutes()?o:i).format(a),r,t,e,n)}}(t,e,n)}function Ft(t,e){var n=e.markerToArray(t.marker);return{marker:t.marker,timeZoneOffset:t.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function Bt(t,e,n,r){var o=Ft(t,n.calendarSystem);return{date:o,start:o,end:e?Ft(e,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var zt=function(){function t(t){this.cmdStr=t}return t.prototype.format=function(t,e,n){return e.cmdFormatter(this.cmdStr,Bt(t,null,e,n))},t.prototype.formatRange=function(t,e,n,r){return n.cmdFormatter(this.cmdStr,Bt(t,e,n,r))},t}(),Ht=function(){function t(t){this.func=t}return t.prototype.format=function(t,e,n){return this.func(Bt(t,null,e,n))},t.prototype.formatRange=function(t,e,n,r){return this.func(Bt(t,e,n,r))},t}();function Vt(t){return"object"===typeof t&&t?new Nt(t):"string"===typeof t?new zt(t):"function"===typeof t?new Ht(t):null}var Ut={navLinkDayClick:Qt,navLinkWeekClick:Qt,duration:ht,bootstrapFontAwesome:Qt,buttonIcons:Qt,customButtons:Qt,defaultAllDayEventDuration:ht,defaultTimedEventDuration:ht,nextDayThreshold:ht,scrollTime:ht,scrollTimeReset:Boolean,slotMinTime:ht,slotMaxTime:ht,dayPopoverFormat:Vt,slotDuration:ht,snapDuration:ht,headerToolbar:Qt,footerToolbar:Qt,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Vt,dayHeaderClassNames:Qt,dayHeaderContent:Qt,dayHeaderDidMount:Qt,dayHeaderWillUnmount:Qt,dayCellClassNames:Qt,dayCellContent:Qt,dayCellDidMount:Qt,dayCellWillUnmount:Qt,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:Qt,weekNumbers:Boolean,weekNumberClassNames:Qt,weekNumberContent:Qt,weekNumberDidMount:Qt,weekNumberWillUnmount:Qt,editable:Boolean,viewClassNames:Qt,viewDidMount:Qt,viewWillUnmount:Qt,nowIndicator:Boolean,nowIndicatorClassNames:Qt,nowIndicatorContent:Qt,nowIndicatorDidMount:Qt,nowIndicatorWillUnmount:Qt,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:Qt,locale:Qt,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:Qt,eventOrder:function(t){var e,n,r=[],o=[];for("string"===typeof t?o=t.split(/\s*,\s*/):"function"===typeof t?o=[t]:Array.isArray(t)&&(o=t),e=0;e<o.length;e+=1)"string"===typeof(n=o[e])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"===typeof n&&r.push({func:n});return r},eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:Qt,contentHeight:Qt,direction:String,weekNumberFormat:Vt,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,progressiveEventRendering:Boolean,businessHours:Qt,initialDate:Qt,now:Qt,eventDataTransform:Qt,stickyHeaderDates:Qt,stickyFooterScrollbar:Qt,viewHeight:Qt,defaultAllDay:Boolean,eventSourceFailure:Qt,eventSourceSuccess:Qt,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:Qt,eventConstraint:Qt,eventAllow:Qt,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:Qt,eventContent:Qt,eventDidMount:Qt,eventWillUnmount:Qt,selectConstraint:Qt,selectOverlap:Qt,selectAllow:Qt,droppable:Boolean,unselectCancel:String,slotLabelFormat:Qt,slotLaneClassNames:Qt,slotLaneContent:Qt,slotLaneDidMount:Qt,slotLaneWillUnmount:Qt,slotLabelClassNames:Qt,slotLabelContent:Qt,slotLabelDidMount:Qt,slotLabelWillUnmount:Qt,dayMaxEvents:Qt,dayMaxEventRows:Qt,dayMinWidth:Number,slotLabelInterval:ht,allDayText:String,allDayClassNames:Qt,allDayContent:Qt,allDayDidMount:Qt,allDayWillUnmount:Qt,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Vt,rerenderDelay:Number,moreLinkText:Qt,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:Qt,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:ht,hiddenDays:Qt,monthMode:Boolean,fixedWeekCount:Boolean,validRange:Qt,visibleRange:Qt,titleFormat:Qt,noEventsText:String,moreLinkClick:Qt,moreLinkClassNames:Qt,moreLinkContent:Qt,moreLinkDidMount:Qt,moreLinkWillUnmount:Qt},Wt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" \u2013 ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},qt={datesSet:Qt,eventsSet:Qt,eventAdd:Qt,eventChange:Qt,eventRemove:Qt,windowResize:Qt,eventClick:Qt,eventMouseEnter:Qt,eventMouseLeave:Qt,select:Qt,unselect:Qt,loading:Qt,_unmount:Qt,_beforeprint:Qt,_afterprint:Qt,_noEventDrop:Qt,_noEventResize:Qt,_resize:Qt,_scrollRequest:Qt},Gt={buttonText:Qt,views:Qt,plugins:Qt,initialEvents:Qt,events:Qt,eventSources:Qt},Yt={headerToolbar:Xt,footerToolbar:Xt,buttonText:Xt,buttonIcons:Xt};function Xt(t,e){return"object"===typeof t&&"object"===typeof e&&t&&e?at(t,e):t===e}var Kt={type:String,component:Qt,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:Qt,usesMinMaxTime:Boolean,classNames:Qt,content:Qt,didMount:Qt,willUnmount:Qt};function $t(t){return et(t,Yt)}function Zt(t,e){var n={},r={};for(var o in e)o in t&&(n[o]=e[o](t[o]));for(var o in t)o in e||(r[o]=t[o]);return{refined:n,extra:r}}function Qt(t){return t}function Jt(t,e,n,r){for(var o={defs:{},instances:{}},i=ge(n),a=0,s=t;a<s.length;a++){var l=he(s[a],e,n,r,i);l&&te(l,o)}return o}function te(t,e){return void 0===e&&(e={defs:{},instances:{}}),e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function ee(t,e){var n=t.instances[e];if(n){var r=t.defs[n.defId],o=oe(t,(function(t){return e=r,n=t,Boolean(e.groupId&&e.groupId===n.groupId);var e,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function ne(){return{defs:{},instances:{}}}function re(t,e){return{defs:Object(r.a)(Object(r.a)({},t.defs),e.defs),instances:Object(r.a)(Object(r.a)({},t.instances),e.instances)}}function oe(t,e){var n=nt(t.defs,e),r=nt(t.instances,(function(t){return n[t.defId]}));return{defs:n,instances:r}}function ie(t){return Array.isArray(t)?t:"string"===typeof t?t.split(/\s+/):[]}var ae={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:Qt,overlap:Qt,allow:Qt,className:ie,classNames:ie,color:String,backgroundColor:String,borderColor:String,textColor:String},se={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function le(t,e){var n=function(t,e){return Array.isArray(t)?Jt(t,null,e,!0):"object"===typeof t&&t?Jt([t],null,e,!0):null!=t?String(t):null}(t.constraint,e);return{display:t.display||null,startEditable:null!=t.startEditable?t.startEditable:t.editable,durationEditable:null!=t.durationEditable?t.durationEditable:t.editable,constraints:null!=n?[n]:[],overlap:null!=t.overlap?t.overlap:null,allows:null!=t.allow?[t.allow]:[],backgroundColor:t.backgroundColor||t.color||"",borderColor:t.borderColor||t.color||"",textColor:t.textColor||"",classNames:(t.className||[]).concat(t.classNames||[])}}function ce(t){return t.reduce(ue,se)}function ue(t,e){return{display:null!=e.display?e.display:t.display,startEditable:null!=e.startEditable?e.startEditable:t.startEditable,durationEditable:null!=e.durationEditable?e.durationEditable:t.durationEditable,constraints:t.constraints.concat(e.constraints),overlap:"boolean"===typeof e.overlap?e.overlap:t.overlap,allows:t.allows.concat(e.allows),backgroundColor:e.backgroundColor||t.backgroundColor,borderColor:e.borderColor||t.borderColor,textColor:e.textColor||t.textColor,classNames:t.classNames.concat(e.classNames)}}var de={id:String,groupId:String,title:String,url:String},fe={start:Qt,end:Qt,date:Qt,allDay:Boolean},pe=Object(r.a)(Object(r.a)(Object(r.a)({},de),fe),{extendedProps:Qt});function he(t,e,n,r,o){void 0===o&&(o=ge(n));var i=ve(t,n,o),a=i.refined,s=i.extra,l=function(t,e){var n=null;t&&(n=t.defaultAllDay);null==n&&(n=e.options.defaultAllDay);return n}(e,n),c=function(t,e,n,r){for(var o=0;o<r.length;o+=1){var i=r[o].parse(t,n);if(i){var a=t.allDay;return null==a&&null==(a=e)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(c)return(u=me(a,s,e?e.sourceId:"",c.allDay,Boolean(c.duration),n)).recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null};var u,d=function(t,e,n,r){var o,i,a=t.allDay,s=null,l=!1,c=null,u=null!=t.start?t.start:t.date;if(o=n.dateEnv.createMarkerMeta(u))s=o.marker;else if(!r)return null;null!=t.end&&(i=n.dateEnv.createMarkerMeta(t.end));null==a&&(a=null!=e?e:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=W(s));i&&(c=i.marker,a&&(c=W(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:u=me(a,s,e?e.sourceId:"",d.allDay,d.hasEnd,n),instance:J(u.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function ve(t,e,n){return void 0===n&&(n=ge(e)),Zt(t,n)}function ge(t){return Object(r.a)(Object(r.a)(Object(r.a)({},ae),pe),t.pluginHooks.eventRefiners)}function me(t,e,n,o,i,a){for(var s={title:t.title||"",groupId:t.groupId||"",publicId:t.id||"",url:t.url||"",recurringDef:null,defId:C(),sourceId:n,allDay:o,hasEnd:i,ui:le(t,a),extendedProps:Object(r.a)(Object(r.a)({},t.extendedProps||{}),e)},l=0,c=a.pluginHooks.eventDefMemberAdders;l<c.length;l++){var u=c[l];Object(r.a)(s,u(t))}return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}function be(t){var e=Math.floor(V(t.start,t.end))||1,n=W(t.start);return{start:n,end:B(n,e)}}function ye(t,e){void 0===e&&(e=ht(0));var n=null,r=null;if(t.end){r=W(t.end);var o=t.end.valueOf()-r.valueOf();o&&o>=yt(e)&&(r=B(r,1))}return t.start&&(n=W(t.start),r&&r<=n&&(r=B(n,1))),{start:n,end:r}}function xe(t,e,n,r){return"year"===r?ht(n.diffWholeYears(t,e),"year"):"month"===r?ht(n.diffWholeMonths(t,e),"month"):function(t,e){var n=W(t),r=W(e);return{years:0,months:0,days:Math.round(V(n,r)),milliseconds:e.valueOf()-r.valueOf()-(t.valueOf()-n.valueOf())}}(t,e)}function we(t,e){var n,r,o=[],i=e.start;for(t.sort(Oe),n=0;n<t.length;n+=1)(r=t[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<e.end&&o.push({start:i,end:e.end}),o}function Oe(t,e){return t.start.valueOf()-e.start.valueOf()}function Se(t,e){var n=t.start,r=t.end,o=null;return null!==e.start&&(n=null===n?e.start:new Date(Math.max(n.valueOf(),e.start.valueOf()))),null!=e.end&&(r=null===r?e.end:new Date(Math.min(r.valueOf(),e.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function je(t,e){return(null===t.end||null===e.start||t.end>e.start)&&(null===t.start||null===e.end||t.start<e.end)}function Ce(t,e){return(null===t.start||null!==e.start&&e.start>=t.start)&&(null===t.end||null!==e.end&&e.end<=t.end)}function ke(t,e){return(null===t.start||e>=t.start)&&(null===t.end||e<t.end)}function Ee(t,e,n,r){var o={},i={},a={},s=[],l=[],c=Te(t.defs,e);for(var u in t.defs){"inverse-background"===(p=c[(x=t.defs[u]).defId]).display&&(x.groupId?(o[x.groupId]=[],a[x.groupId]||(a[x.groupId]=x)):i[u]=[])}for(var d in t.instances){var f=t.instances[d],p=c[(x=t.defs[f.defId]).defId],h=f.range,v=!x.allDay&&r?ye(h,r):h,g=Se(v,n);g&&("inverse-background"===p.display?x.groupId?o[x.groupId].push(g):i[f.defId].push(g):"none"!==p.display&&("background"===p.display?s:l).push({def:x,ui:p,instance:f,range:g,isStart:v.start&&v.start.valueOf()===g.start.valueOf(),isEnd:v.end&&v.end.valueOf()===g.end.valueOf()}))}for(var m in o)for(var b=0,y=we(o[m],n);b<y.length;b++){var x,w=y[b];p=c[(x=a[m]).defId];s.push({def:x,ui:p,instance:null,range:w,isStart:!1,isEnd:!1})}for(var u in i)for(var O=0,S=we(i[u],n);O<S.length;O++){w=S[O];s.push({def:t.defs[u],ui:c[u],instance:null,range:w,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function Pe(t){return"background"===t.ui.display||"inverse-background"===t.ui.display}function _e(t,e){t.fcSeg=e}function Me(t){return t.fcSeg||t.parentNode.fcSeg||null}function Te(t,e){return rt(t,(function(t){return Ae(t,e)}))}function Ae(t,e){var n=[];return e[""]&&n.push(e[""]),e[t.defId]&&n.push(e[t.defId]),n.push(t.ui),ce(n)}function Re(t,e){var n=t.map(De);return n.sort((function(t,n){return function(t,e,n){var r,o;for(r=0;r<n.length;r+=1)if(o=A(t,e,n[r]))return o;return 0}(t,n,e)})),n.map((function(t){return t._seg}))}function De(t){var e=t.eventRange,n=e.def,o=e.instance?e.instance.range:e.range,i=o.start?o.start.valueOf():0,a=o.end?o.end.valueOf():0;return Object(r.a)(Object(r.a)(Object(r.a)({},n.extendedProps),n),{id:n.publicId,start:i,end:a,duration:a-i,allDay:Number(n.allDay),_seg:t})}function Ie(t,e){for(var n=e.pluginHooks.isDraggableTransformers,r=t.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,e)}return a}function Ne(t,e){return t.isStart&&t.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function Le(t,e){return t.isEnd&&t.eventRange.ui.durationEditable}function Fe(t,e,n,r,o,i,a){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=t.eventRange.def,f=t.eventRange.instance;null==c&&(c=!1!==r),null==u&&(u=!1!==o);var p=f.range.start,h=f.range.end,v=i||t.start||t.eventRange.range.start,g=a||t.end||t.eventRange.range.end,m=W(p).valueOf()===W(v).valueOf(),b=W(z(h,-1)).valueOf()===W(z(g,-1)).valueOf();return c&&!d.allDay&&(m||b)?(v=m?p:v,g=b?h:g,u&&d.hasEnd?s.formatRange(v,g,e,{forcedStartTzo:i?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(v,e,{forcedTzo:i?null:f.forcedStartTzo})):""}function Be(t,e,n){var r=t.eventRange.range;return{isPast:r.end<(n||e.start),isFuture:r.start>=(n||e.end),isToday:e&&ke(e,r.start)}}function ze(t){return t.instance?t.instance.instanceId:t.def.defId+":"+t.range.start.toISOString()}var He={start:Qt,end:Qt,allDay:Boolean};function Ve(t,e,n){var o=function(t,e){var n=Zt(t,He),o=n.refined,i=n.extra,a=o.start?e.createMarkerMeta(o.start):null,s=o.end?e.createMarkerMeta(o.end):null,l=o.allDay;null==l&&(l=a&&a.isTimeUnspecified&&(!s||s.isTimeUnspecified));return Object(r.a)({range:{start:a?a.marker:null,end:s?s.marker:null},allDay:l},i)}(t,e),i=o.range;if(!i.start)return null;if(!i.end){if(null==n)return null;i.end=e.add(i.start,n)}return o}function Ue(t,e){return n=t.range,r=e.range,(null===n.start?null:n.start.valueOf())===(null===r.start?null:r.start.valueOf())&&(null===n.end?null:n.end.valueOf())===(null===r.end?null:r.end.valueOf())&&t.allDay===e.allDay&&function(t,e){for(var n in e)if("range"!==n&&"allDay"!==n&&t[n]!==e[n])return!1;for(var n in t)if(!(n in e))return!1;return!0}(t,e);var n,r}function We(t,e,n){return Object(r.a)(Object(r.a)({},qe(t,e,n)),{timeZone:e.timeZone})}function qe(t,e,n){return{start:e.toDate(t.start),end:e.toDate(t.end),startStr:e.formatIso(t.start,{omitTime:n}),endStr:e.formatIso(t.end,{omitTime:n})}}function Ge(t,e,n){var r=ve({editable:!1},n),o=me(r.refined,r.extra,"",t.allDay,!0,n);return{def:o,ui:Ae(o,e),instance:J(o.defId,t.range),range:t.range,isStart:!0,isEnd:!0}}function Ye(t,e,n){n.emitter.trigger("select",Object(r.a)(Object(r.a)({},Xe(t,n)),{jsEvent:e?e.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function Xe(t,e){for(var n,o,i={},a=0,s=e.pluginHooks.dateSpanTransforms;a<s.length;a++){var l=s[a];Object(r.a)(i,l(t,e))}return Object(r.a)(i,(n=t,o=e.dateEnv,Object(r.a)(Object(r.a)({},qe(n.range,o,n.allDay)),{allDay:n.allDay}))),i}function Ke(t,e,n){var r=n.dateEnv,o=n.options,i=e;return t?(i=W(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function $e(t,e,n,r){var o=Te(t.defs,e),i={defs:{},instances:{}};for(var a in t.defs){var s=t.defs[a];i.defs[a]=Ze(s,o[a],n,r)}for(var l in t.instances){var c=t.instances[l];s=i.defs[c.defId];i.instances[l]=Qe(c,s,o[c.defId],n,r)}return i}function Ze(t,e,n,o){var i=n.standardProps||{};null==i.hasEnd&&e.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);var a=Object(r.a)(Object(r.a)(Object(r.a)({},t),i),{ui:Object(r.a)(Object(r.a)({},t.ui),i.ui)});n.extendedProps&&(a.extendedProps=Object(r.a)(Object(r.a)({},a.extendedProps),n.extendedProps));for(var s=0,l=o.pluginHooks.eventDefMutationAppliers;s<l.length;s++){(0,l[s])(a,n,o)}return!a.hasEnd&&o.options.forceEventDuration&&(a.hasEnd=!0),a}function Qe(t,e,n,o,i){var a=i.dateEnv,s=o.standardProps&&!0===o.standardProps.allDay,l=o.standardProps&&!1===o.standardProps.hasEnd,c=Object(r.a)({},t);return s&&(c.range=be(c.range)),o.datesDelta&&n.startEditable&&(c.range={start:a.add(c.range.start,o.datesDelta),end:a.add(c.range.end,o.datesDelta)}),o.startDelta&&n.durationEditable&&(c.range={start:a.add(c.range.start,o.startDelta),end:c.range.end}),o.endDelta&&n.durationEditable&&(c.range={start:c.range.start,end:a.add(c.range.end,o.endDelta)}),l&&(c.range={start:c.range.start,end:Ke(e.allDay,c.range.start,i)}),e.allDay&&(c.range={start:W(c.range.start),end:W(c.range.end)}),c.range.end<c.range.start&&(c.range.end=Ke(e.allDay,c.range.start,i)),c}var Je=function(){function t(t,e,n){this.type=t,this.getCurrentData=e,this.dateEnv=n}return Object.defineProperty(t.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),t.prototype.getOption=function(t){return this.getCurrentData().options[t]},t}(),tn={id:String,defaultAllDay:Boolean,url:String,format:String,events:Qt,eventDataTransform:Qt,success:Qt,failure:Qt};function en(t,e,n){var r;if(void 0===n&&(n=nn(e)),"string"===typeof t?r={url:t}:"function"===typeof t||Array.isArray(t)?r={events:t}:"object"===typeof t&&t&&(r=t),r){var o=Zt(r,n),i=o.refined,a=o.extra,s=function(t,e){for(var n=e.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(t);if(o)return{sourceDefId:r,meta:o}}return null}(i,e);if(s)return{_raw:t,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:C(),sourceDefId:s.sourceDefId,meta:s.meta,ui:le(i,e),extendedProps:a}}return null}function nn(t){return Object(r.a)(Object(r.a)(Object(r.a)({},ae),tn),t.pluginHooks.eventSourceRefiners)}function rn(t,e){return"function"===typeof t&&(t=t()),null==t?e.createNowMarker():e.createMarker(t)}var on=function(){function t(){}return t.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},t.prototype.dispatch=function(t){return this.currentDataManager.dispatch(t)},Object.defineProperty(t.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),t.prototype.batchRendering=function(t){t()},t.prototype.updateSize=function(){this.trigger("_resize",!0)},t.prototype.setOption=function(t,e){this.dispatch({type:"SET_OPTION",optionName:t,rawOptionValue:e})},t.prototype.getOption=function(t){return this.currentDataManager.currentCalendarOptionsInput[t]},t.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},t.prototype.on=function(t,e){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[t]?n.emitter.on(t,e):console.warn("Unknown listener name '"+t+"'")},t.prototype.off=function(t,e){this.currentDataManager.emitter.off(t,e)},t.prototype.trigger=function(t){for(var e,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];(e=this.currentDataManager.emitter).trigger.apply(e,Object(r.c)([t],n))},t.prototype.changeView=function(t,e){var n=this;this.batchRendering((function(){if(n.unselect(),e)if(e.start&&e.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:e});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t,dateMarker:r.createMarker(e)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t})}))},t.prototype.zoomTo=function(t,e){var n;e=e||"day",n=this.getCurrentData().viewSpecs[e]||this.getUnitViewSpec(e),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:t}):this.dispatch({type:"CHANGE_DATE",dateMarker:t})},t.prototype.getUnitViewSpec=function(t){var e,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.viewsWithButtons);for(var s in o)a.push(s);for(e=0;e<a.length;e+=1)if((n=o[a[e]])&&n.singleUnit===t)return n;return null},t.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},t.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},t.prototype.prevYear=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.addYears(t.currentDate,-1)})},t.prototype.nextYear=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.addYears(t.currentDate,1)})},t.prototype.today=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:rn(t.calendarOptions.now,t.dateEnv)})},t.prototype.gotoDate=function(t){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.createMarker(t)})},t.prototype.incrementDate=function(t){var e=this.getCurrentData(),n=ht(t);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.add(e.currentDate,n)}))},t.prototype.getDate=function(){var t=this.getCurrentData();return t.dateEnv.toDate(t.currentDate)},t.prototype.formatDate=function(t,e){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(t),Vt(e))},t.prototype.formatRange=function(t,e,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(t),r.createMarker(e),Vt(n),n)},t.prototype.formatIso=function(t,e){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(t),{omitTime:e})},t.prototype.select=function(t,e){var n;n=null==e?null!=t.start?t:{start:t,end:null}:{start:t,end:e};var r=this.getCurrentData(),o=Ve(n,r.dateEnv,ht({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),Ye(o,null,r))},t.prototype.unselect=function(t){var e=this.getCurrentData();e.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(t,e){e.emitter.trigger("unselect",{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view})}(t,e))},t.prototype.addEvent=function(t,e){if(t instanceof an){var n=t._def,r=t._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:te({def:n,instance:r})}),this.triggerEventAdd(t)),t}var o,i=this.getCurrentData();if(e instanceof u)o=e.internalEventSource;else if("boolean"===typeof e)e&&(o=it(i.eventSources)[0]);else if(null!=e){var a=this.getEventSourceById(e);if(!a)return console.warn('Could not find an event source with ID "'+e+'"'),null;o=a.internalEventSource}var s=he(t,o,i,!1);if(s){var l=new an(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:te(s)}),this.triggerEventAdd(l),l}return null},t.prototype.triggerEventAdd=function(t){var e=this;this.getCurrentData().emitter.trigger("eventAdd",{event:t,relatedEvents:[],revert:function(){e.dispatch({type:"REMOVE_EVENTS",eventStore:sn(t)})}})},t.prototype.getEventById=function(t){var e=this.getCurrentData(),n=e.eventStore,r=n.defs,o=n.instances;for(var i in t=String(t),r){var a=r[i];if(a.publicId===t){if(a.recurringDef)return new an(e,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new an(e,a,l)}}}return null},t.prototype.getEvents=function(){var t=this.getCurrentData();return ln(t.eventStore,t)},t.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},t.prototype.getEventSources=function(){var t=this.getCurrentData(),e=t.eventSources,n=[];for(var r in e)n.push(new u(t,e[r]));return n},t.prototype.getEventSourceById=function(t){var e=this.getCurrentData(),n=e.eventSources;for(var r in t=String(t),n)if(n[r].publicId===t)return new u(e,n[r]);return null},t.prototype.addEventSource=function(t){var e=this.getCurrentData();if(t instanceof u)return e.eventSources[t.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[t.internalEventSource]}),t;var n=en(t,e);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new u(e,n)):null},t.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},t.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},t.prototype.scrollToTime=function(t){var e=ht(t);e&&this.trigger("_scrollRequest",{time:e})},t}(),an=function(){function t(t,e,n){this._context=t,this._def=e,this._instance=n||null}return t.prototype.setProp=function(t,e){var n,r;if(t in fe)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===t)e=de[t](e),this.mutate({standardProps:{publicId:e}});else if(t in de)e=de[t](e),this.mutate({standardProps:(n={},n[t]=e,n)});else if(t in ae){var o=ae[t](e);"color"===t?o={backgroundColor:e,borderColor:e}:"editable"===t?o={startEditable:e,durationEditable:e}:((r={})[t]=e,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+t+"'. Use setExtendedProp instead.")},t.prototype.setExtendedProp=function(t,e){var n;this.mutate({extendedProps:(n={},n[t]=e,n)})},t.prototype.setStart=function(t,e){void 0===e&&(e={});var n=this._context.dateEnv,r=n.createMarker(t);if(r&&this._instance){var o=xe(this._instance.range.start,r,n,e.granularity);e.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},t.prototype.setEnd=function(t,e){void 0===e&&(e={});var n,r=this._context.dateEnv;if((null==t||(n=r.createMarker(t)))&&this._instance)if(n){var o=xe(this._instance.range.end,n,r,e.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},t.prototype.setDates=function(t,e,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(t);if(l&&((null==e||(r=a.createMarker(e)))&&this._instance)){var c=this._instance.range;!0===n.allDay&&(c=be(c));var u=xe(c.start,l,a,n.granularity);if(r){var d=xe(c.end,r,a,n.granularity);i=d,(o=u).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}},t.prototype.moveStart=function(t){var e=ht(t);e&&this.mutate({startDelta:e})},t.prototype.moveEnd=function(t){var e=ht(t);e&&this.mutate({endDelta:e})},t.prototype.moveDates=function(t){var e=ht(t);e&&this.mutate({datesDelta:e})},t.prototype.setAllDay=function(t,e){void 0===e&&(e={});var n={allDay:t},r=e.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==t&&(n.hasEnd=r),this.mutate({standardProps:n})},t.prototype.formatRange=function(t){var e=this._context.dateEnv,n=this._instance,r=Vt(t);return this._def.hasEnd?e.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):e.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},t.prototype.mutate=function(e){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=ee(i,n.instanceId);a=$e(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,o);var s=new t(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:ln(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},t.prototype.remove=function(){var t=this._context,e=sn(this);t.dispatch({type:"REMOVE_EVENTS",eventStore:e}),t.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:e})}})},Object.defineProperty(t.prototype,"source",{get:function(){var t=this._def.sourceId;return t?new u(this._context,this._context.getCurrentData().eventSources[t]):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startStr",{get:function(){var t=this._instance;return t?this._context.dateEnv.formatIso(t.range.start,{omitTime:this._def.allDay,forcedTzo:t.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endStr",{get:function(){var t=this._instance;return t&&this._def.hasEnd?this._context.dateEnv.formatIso(t.range.end,{omitTime:this._def.allDay,forcedTzo:t.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),t.prototype.toPlainObject=function(t){void 0===t&&(t={});var e=this._def,n=e.ui,o=this.startStr,i=this.endStr,a={};return e.title&&(a.title=e.title),o&&(a.start=o),i&&(a.end=i),e.publicId&&(a.id=e.publicId),e.groupId&&(a.groupId=e.groupId),e.url&&(a.url=e.url),n.display&&"auto"!==n.display&&(a.display=n.display),t.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(e.extendedProps).length&&(t.collapseExtendedProps?Object(r.a)(a,e.extendedProps):a.extendedProps=e.extendedProps),a},t.prototype.toJSON=function(){return this.toPlainObject()},t}();function sn(t){var e,n,r=t._def,o=t._instance;return{defs:(e={},e[r.defId]=r,e),instances:o?(n={},n[o.instanceId]=o,n):{}}}function ln(t,e,n){var r=t.defs,o=t.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],c=r[l.defId];l.instanceId!==a&&i.push(new an(e,c,l))}return i}var cn={};var un,dn=function(){function t(){}return t.prototype.getMarkerYear=function(t){return t.getUTCFullYear()},t.prototype.getMarkerMonth=function(t){return t.getUTCMonth()},t.prototype.getMarkerDay=function(t){return t.getUTCDate()},t.prototype.arrayToMarker=function(t){return $(t)},t.prototype.markerToArray=function(t){return K(t)},t}();un=dn,cn["gregory"]=un;var fn=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var pn=function(){function t(t){var e=this.timeZone=t.timeZone,n="local"!==e&&"UTC"!==e;t.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new t.namedTimeZoneImpl(e)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(t){return new cn[t]}(t.calendarSystem),this.locale=t.locale,this.weekDow=t.locale.week.dow,this.weekDoy=t.locale.week.doy,"ISO"===t.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"===typeof t.firstDay&&(this.weekDow=t.firstDay),"function"===typeof t.weekNumberCalculation&&(this.weekNumberFunc=t.weekNumberCalculation),this.weekText=null!=t.weekText?t.weekText:t.locale.options.weekText,this.cmdFormatter=t.cmdFormatter,this.defaultSeparator=t.defaultSeparator}return t.prototype.createMarker=function(t){var e=this.createMarkerMeta(t);return null===e?null:e.marker},t.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):$(Y(new Date))},t.prototype.createMarkerMeta=function(t){if("string"===typeof t)return this.parse(t);var e=null;return"number"===typeof t?e=this.timestampToMarker(t):t instanceof Date?(t=t.valueOf(),isNaN(t)||(e=this.timestampToMarker(t))):Array.isArray(t)&&(e=$(t)),null!==e&&Z(e)?{marker:e,isTimeUnspecified:!1,forcedTzo:null}:null},t.prototype.parse=function(t){var e=function(t){var e=fn.exec(t);if(e){var n=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?1e3*Number("0."+e[12]):0));if(Z(n)){var r=null;return e[13]&&(r=("-"===e[15]?-1:1)*(60*Number(e[16]||0)+Number(e[18]||0))),{marker:n,isTimeUnspecified:!e[6],timeZoneOffset:r}}}return null}(t);if(null===e)return null;var n=e.marker,r=null;return null!==e.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*e.timeZoneOffset*1e3):r=e.timeZoneOffset),{marker:n,isTimeUnspecified:e.isTimeUnspecified,forcedTzo:r}},t.prototype.getYear=function(t){return this.calendarSystem.getMarkerYear(t)},t.prototype.getMonth=function(t){return this.calendarSystem.getMarkerMonth(t)},t.prototype.add=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]+=e.years,n[1]+=e.months,n[2]+=e.days,n[6]+=e.milliseconds,this.calendarSystem.arrayToMarker(n)},t.prototype.subtract=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]-=e.years,n[1]-=e.months,n[2]-=e.days,n[6]-=e.milliseconds,this.calendarSystem.arrayToMarker(n)},t.prototype.addYears=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]+=e,this.calendarSystem.arrayToMarker(n)},t.prototype.addMonths=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[1]+=e,this.calendarSystem.arrayToMarker(n)},t.prototype.diffWholeYears=function(t,e){var n=this.calendarSystem;return Q(t)===Q(e)&&n.getMarkerDay(t)===n.getMarkerDay(e)&&n.getMarkerMonth(t)===n.getMarkerMonth(e)?n.getMarkerYear(e)-n.getMarkerYear(t):null},t.prototype.diffWholeMonths=function(t,e){var n=this.calendarSystem;return Q(t)===Q(e)&&n.getMarkerDay(t)===n.getMarkerDay(e)?n.getMarkerMonth(e)-n.getMarkerMonth(t)+12*(n.getMarkerYear(e)-n.getMarkerYear(t)):null},t.prototype.greatestWholeUnit=function(t,e){var n=this.diffWholeYears(t,e);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(t,e))?{unit:"month",value:n}:(n=function(t,e){var n=U(t,e);return null!==n&&n%7===0?n/7:null}(t,e),null!==n?{unit:"week",value:n}:null!==(n=U(t,e))?{unit:"day",value:n}:(n=function(t,e){return(e.valueOf()-t.valueOf())/36e5}(t,e),I(n)?{unit:"hour",value:n}:(n=function(t,e){return(e.valueOf()-t.valueOf())/6e4}(t,e),I(n)?{unit:"minute",value:n}:(n=function(t,e){return(e.valueOf()-t.valueOf())/1e3}(t,e),I(n)?{unit:"second",value:n}:{unit:"millisecond",value:e.valueOf()-t.valueOf()}))))},t.prototype.countDurationsBetween=function(t,e,n){var r;return n.years&&null!==(r=this.diffWholeYears(t,e))?r/(bt(n)/365):n.months&&null!==(r=this.diffWholeMonths(t,e))?r/function(t){return bt(t)/30}(n):n.days&&null!==(r=U(t,e))?r/bt(n):(e.valueOf()-t.valueOf())/yt(n)},t.prototype.startOf=function(t,e){return"year"===e?this.startOfYear(t):"month"===e?this.startOfMonth(t):"week"===e?this.startOfWeek(t):"day"===e?W(t):"hour"===e?function(t){return $([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()])}(t):"minute"===e?function(t){return $([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes()])}(t):"second"===e?function(t){return $([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()])}(t):null},t.prototype.startOfYear=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t)])},t.prototype.startOfMonth=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t)])},t.prototype.startOfWeek=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t),t.getUTCDate()-(t.getUTCDay()-this.weekDow+7)%7])},t.prototype.computeWeekNumber=function(t){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(t)):function(t,e,n){var r=t.getUTCFullYear(),o=q(t,r,e,n);if(o<1)return q(t,r-1,e,n);var i=q(t,r+1,e,n);return i>=1?Math.min(o,i):o}(t,this.weekDow,this.weekDoy)},t.prototype.format=function(t,e,n){return void 0===n&&(n={}),e.format({marker:t,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(t)},this)},t.prototype.formatRange=function(t,e,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(e=z(e,-1)),n.formatRange({marker:t,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(t)},{marker:e,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(e)},this,r.defaultSeparator)},t.prototype.formatIso=function(t,e){void 0===e&&(e={});var n=null;return e.omitTimeZoneOffset||(n=null!=e.forcedTzo?e.forcedTzo:this.offsetForMarker(t)),Ot(t,n,e.omitTime)},t.prototype.timestampToMarker=function(t){return"local"===this.timeZone?$(Y(new Date(t))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?$(this.namedTimeZoneImpl.timestampToArray(t)):new Date(t)},t.prototype.offsetForMarker=function(t){return"local"===this.timeZone?-X(K(t)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(K(t)):null},t.prototype.toDate=function(t,e){return"local"===this.timeZone?X(K(t)):"UTC"===this.timeZone?new Date(t.valueOf()):this.namedTimeZoneImpl?new Date(t.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(K(t))*60):new Date(t.valueOf()-(e||0))},t}(),hn=[],vn={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"};function gn(t){for(var e=t.length>0?t[0].code:"en",n=hn.concat(t),r={en:vn},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:e}}function mn(t,e){return"object"!==typeof t||Array.isArray(t)?function(t,e){var n=[].concat(t||[]),r=function(t,e){for(var n=0;n<t.length;n+=1)for(var r=t[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var i=r.slice(0,o).join("-");if(e[i])return e[i]}return null}(n,e)||vn;return bn(t,n,r)}(t,e):bn(t.code,[t.code],t)}function bn(t,e,n){var r=et([vn,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:t,codes:e,week:o,simpleNumberFormat:new Intl.NumberFormat(t),options:r}}var yn,xn={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function wn(t,e){return Jt(function(t){var e;e=!0===t?[{}]:Array.isArray(t)?t.filter((function(t){return t.daysOfWeek})):"object"===typeof t&&t?[t]:[];return e=e.map((function(t){return Object(r.a)(Object(r.a)({},xn),t)}))}(t),null,e)}function On(t,e){return t.left>=e.left&&t.left<e.right&&t.top>=e.top&&t.top<e.bottom}function Sn(t,e){var n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function jn(t,e){return{left:Math.min(Math.max(t.left,e.left),e.right),top:Math.min(Math.max(t.top,e.top),e.bottom)}}function Cn(t){return{left:(t.left+t.right)/2,top:(t.top+t.bottom)/2}}function kn(t,e){return{left:t.left-e.left,top:t.top-e.top}}function En(){return null==yn&&(yn=function(){if("undefined"===typeof document)return!0;var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.innerHTML="<table><tr><td><div></div></td></tr></table>",t.querySelector("table").style.height="100px",t.querySelector("div").style.height="100%",document.body.appendChild(t);var e=t.querySelector("div").offsetHeight>0;return document.body.removeChild(t),e}()),yn}var Pn={defs:{},instances:{}},_n=function(){function t(){this.getKeysForEventDefs=Et(this._getKeysForEventDefs),this.splitDateSelection=Et(this._splitDateSpan),this.splitEventStore=Et(this._splitEventStore),this.splitIndividualUi=Et(this._splitIndividualUi),this.splitEventDrag=Et(this._splitInteraction),this.splitEventResize=Et(this._splitInteraction),this.eventUiBuilders={}}return t.prototype.splitProps=function(t){var e=this,n=this.getKeyInfo(t),r=this.getKeysForEventDefs(t.eventStore),o=this.splitDateSelection(t.dateSelection),i=this.splitIndividualUi(t.eventUiBases,r),a=this.splitEventStore(t.eventStore,r),s=this.splitEventDrag(t.eventDrag),l=this.splitEventResize(t.eventResize),c={};for(var u in this.eventUiBuilders=rt(n,(function(t,n){return e.eventUiBuilders[n]||Et(Mn)})),n){var d=n[u],f=a[u]||Pn,p=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||t.businessHours,dateSelection:o[u]||null,eventStore:f,eventUiBases:p(t.eventUiBases[""],d.ui,i[u]),eventSelection:f.instances[t.eventSelection]?t.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},t.prototype._splitDateSpan=function(t){var e={};if(t)for(var n=0,r=this.getKeysForDateSpan(t);n<r.length;n++){e[r[n]]=t}return e},t.prototype._getKeysForEventDefs=function(t){var e=this;return rt(t.defs,(function(t){return e.getKeysForEventDef(t)}))},t.prototype._splitEventStore=function(t,e){var n=t.defs,r=t.instances,o={};for(var i in n)for(var a=0,s=e[i];a<s.length;a++){o[f=s[a]]||(o[f]={defs:{},instances:{}}),o[f].defs[i]=n[i]}for(var l in r)for(var c=r[l],u=0,d=e[c.defId];u<d.length;u++){var f;o[f=d[u]]&&(o[f].instances[l]=c)}return o},t.prototype._splitIndividualUi=function(t,e){var n={};for(var r in t)if(r)for(var o=0,i=e[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=t[r]}return n},t.prototype._splitInteraction=function(t){var e={};if(t){var n=this._splitEventStore(t.affectedEvents,this._getKeysForEventDefs(t.affectedEvents)),r=this._getKeysForEventDefs(t.mutatedEvents),o=this._splitEventStore(t.mutatedEvents,r),i=function(r){e[r]||(e[r]={affectedEvents:n[r]||Pn,mutatedEvents:o[r]||Pn,isEvent:t.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return e},t}();function Mn(t,e,n){var o=[];t&&o.push(t),e&&o.push(e);var i={"":ce(o)};return n&&Object(r.a)(i,n),i}function Tn(t,e,n,r){return{dow:t.getUTCDay(),isDisabled:Boolean(r&&!ke(r.activeRange,t)),isOther:Boolean(r&&!ke(r.currentRange,t)),isToday:Boolean(e&&ke(e,t)),isPast:Boolean(n?t<n:!!e&&t<e.start),isFuture:Boolean(n?t>n:!!e&&t>=e.end)}}function An(t,e){var n=["fc-day","fc-day-"+L[t.dow]];return t.isDisabled?n.push("fc-day-disabled"):(t.isToday&&(n.push("fc-day-today"),n.push(e.getClass("today"))),t.isPast&&n.push("fc-day-past"),t.isFuture&&n.push("fc-day-future"),t.isOther&&n.push("fc-day-other")),n}function Rn(t,e){return void 0===e&&(e="day"),JSON.stringify({date:St(t),type:e})}var Dn,In=null;function Nn(){return null===In&&(In=function(){var t=document.createElement("div");v(t,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),t.innerHTML="<div></div>",document.body.appendChild(t);var e=t.firstChild.getBoundingClientRect().left>t.getBoundingClientRect().left;return d(t),e}()),In}function Ln(){return Dn||(Dn=function(){var t=document.createElement("div");t.style.overflow="scroll",t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t);var e=Fn(t);return document.body.removeChild(t),e}()),Dn}function Fn(t){return{x:t.offsetHeight-t.clientHeight,y:t.offsetWidth-t.clientWidth}}function Bn(t,e,n){void 0===e&&(e=!1);var r=n?t.getBoundingClientRect():zn(t),o=function(t,e){void 0===e&&(e=!1);var n=window.getComputedStyle(t),r=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,i=parseInt(n.borderTopWidth,10)||0,a=parseInt(n.borderBottomWidth,10)||0,s=Fn(t),l=s.y-r-o,c={borderLeft:r,borderRight:o,borderTop:i,borderBottom:a,scrollbarBottom:s.x-i-a,scrollbarLeft:0,scrollbarRight:0};return Nn()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,e&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}(t,e),i={left:r.left+o.borderLeft+o.scrollbarLeft,right:r.right-o.borderRight-o.scrollbarRight,top:r.top+o.borderTop,bottom:r.bottom-o.borderBottom-o.scrollbarBottom};return e&&(i.left+=o.paddingLeft,i.right-=o.paddingRight,i.top+=o.paddingTop,i.bottom-=o.paddingBottom),i}function zn(t){var e=t.getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,right:e.right+window.pageXOffset,bottom:e.bottom+window.pageYOffset}}function Hn(t){for(var e=[];t instanceof HTMLElement;){var n=window.getComputedStyle(t);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&e.push(t),t=t.parentNode}return e}var Vn=function(){function t(){this.handlers={},this.thisContext=null}return t.prototype.setThisContext=function(t){this.thisContext=t},t.prototype.setOptions=function(t){this.options=t},t.prototype.on=function(t,e){!function(t,e,n){(t[e]||(t[e]=[])).push(n)}(this.handlers,t,e)},t.prototype.off=function(t,e){!function(t,e,n){n?t[e]&&(t[e]=t[e].filter((function(t){return t!==n}))):delete t[e]}(this.handlers,t,e)},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=this.handlers[t]||[],o=this.options&&this.options[t],i=[].concat(o||[],r),a=0,s=i;a<s.length;a++){var l=s[a];l.apply(this.thisContext,e)}},t.prototype.hasHandlers=function(t){return this.handlers[t]&&this.handlers[t].length||this.options&&this.options[t]},t}();var Un=function(){function t(t,e,n,r){this.els=e;var o=this.originClientRect=t.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return t.prototype.buildElHorizontals=function(t){for(var e=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();e.push(i.left-t),n.push(i.right-t)}this.lefts=e,this.rights=n},t.prototype.buildElVerticals=function(t){for(var e=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();e.push(i.top-t),n.push(i.bottom-t)}this.tops=e,this.bottoms=n},t.prototype.leftToIndex=function(t){var e,n=this.lefts,r=this.rights,o=n.length;for(e=0;e<o;e+=1)if(t>=n[e]&&t<r[e])return e},t.prototype.topToIndex=function(t){var e,n=this.tops,r=this.bottoms,o=n.length;for(e=0;e<o;e+=1)if(t>=n[e]&&t<r[e])return e},t.prototype.getWidth=function(t){return this.rights[t]-this.lefts[t]},t.prototype.getHeight=function(t){return this.bottoms[t]-this.tops[t]},t}(),Wn=function(){function t(){}return t.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},t.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},t.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},t.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},t.prototype.canScrollUp=function(){return this.getScrollTop()>0},t.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},t.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},t.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},t}(),qn=function(t){function e(e){var n=t.call(this)||this;return n.el=e,n}return Object(r.b)(e,t),e.prototype.getScrollTop=function(){return this.el.scrollTop},e.prototype.getScrollLeft=function(){return this.el.scrollLeft},e.prototype.setScrollTop=function(t){this.el.scrollTop=t},e.prototype.setScrollLeft=function(t){this.el.scrollLeft=t},e.prototype.getScrollWidth=function(){return this.el.scrollWidth},e.prototype.getScrollHeight=function(){return this.el.scrollHeight},e.prototype.getClientHeight=function(){return this.el.clientHeight},e.prototype.getClientWidth=function(){return this.el.clientWidth},e}(Wn),Gn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.getScrollTop=function(){return window.pageYOffset},e.prototype.getScrollLeft=function(){return window.pageXOffset},e.prototype.setScrollTop=function(t){window.scroll(window.pageXOffset,t)},e.prototype.setScrollLeft=function(t){window.scroll(t,window.pageYOffset)},e.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},e.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},e.prototype.getClientHeight=function(){return document.documentElement.clientHeight},e.prototype.getClientWidth=function(){return document.documentElement.clientWidth},e}(Wn),Yn=function(){function t(t){this.iconOverrideOption&&this.setIconOverride(t[this.iconOverrideOption])}return t.prototype.setIconOverride=function(t){var e,n;if("object"===typeof t&&t){for(n in e=Object(r.a)({},this.iconClasses),t)e[n]=this.applyIconOverridePrefix(t[n]);this.iconClasses=e}else!1===t&&(this.iconClasses={})},t.prototype.applyIconOverridePrefix=function(t){var e=this.iconOverridePrefix;return e&&0!==t.indexOf(e)&&(t=e+t),t},t.prototype.getClass=function(t){return this.classes[t]||""},t.prototype.getIconClass=function(t,e){var n;return(n=e&&this.rtlIconClasses&&this.rtlIconClasses[t]||this.iconClasses[t])?this.baseIconClass+" "+n:""},t.prototype.getCustomButtonIconClass=function(t){var e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""},t}();Yn.prototype.classes={},Yn.prototype.iconClasses={},Yn.prototype.baseIconClass="",Yn.prototype.iconOverridePrefix="";var Xn=function(){function t(t,e,n,o){var i=this;this.execFunc=t,this.emitter=e,this.scrollTime=n,this.scrollTimeReset=o,this.handleScrollRequest=function(t){i.queuedRequest=Object(r.a)({},i.queuedRequest||{},t),i.drain()},e.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return t.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},t.prototype.update=function(t){t&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},t.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},t.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},t}(),Kn=l({});function $n(t,e,n,r,o,i,a,s,l,c,u,d,f){return{dateEnv:o,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:t,viewApi:e,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(t){c.on("_resize",t)},removeResizeHandler:function(t){c.off("_resize",t)},createScrollResponder:function(t){return new Xn(t,c,ht(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var Zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.shouldComponentUpdate=function(t,e){return this.debug&&console.log(st(t,this.props),st(e,this.state)),!lt(this.props,t,this.propEquality)||!lt(this.state,e,this.stateEquality)},e.addPropsEquality=Jn,e.addStateEquality=tr,e.contextType=Kn,e}(o);Zn.prototype.propEquality={},Zn.prototype.stateEquality={};var Qn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.contextType=Kn,e}(Zn);function Jn(t){var e=Object.create(this.prototype.propEquality);Object(r.a)(e,t),this.prototype.propEquality=e}function tr(t){var e=Object.create(this.prototype.stateEquality);Object(r.a)(e,t),this.prototype.stateEquality=e}function er(t,e){"function"===typeof t?t(e):t&&(t.current=e)}var nr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.uid=C(),e}return Object(r.b)(e,t),e.prototype.prepareHits=function(){},e.prototype.queryHit=function(t,e,n,r){return null},e.prototype.isValidSegDownEl=function(t){return!this.props.eventDrag&&!this.props.eventResize&&!f(t,".fc-event-mirror")},e.prototype.isValidDateDownEl=function(t){return!f(t,".fc-event:not(.fc-bg-event)")&&!f(t,".fc-more-link")&&!f(t,"a[data-navlink]")&&!f(t,".fc-popover")},e}(Qn);function rr(t){return{id:C(),deps:t.deps||[],reducers:t.reducers||[],isLoadingFuncs:t.isLoadingFuncs||[],contextInit:[].concat(t.contextInit||[]),eventRefiners:t.eventRefiners||{},eventDefMemberAdders:t.eventDefMemberAdders||[],eventSourceRefiners:t.eventSourceRefiners||{},isDraggableTransformers:t.isDraggableTransformers||[],eventDragMutationMassagers:t.eventDragMutationMassagers||[],eventDefMutationAppliers:t.eventDefMutationAppliers||[],dateSelectionTransformers:t.dateSelectionTransformers||[],datePointTransforms:t.datePointTransforms||[],dateSpanTransforms:t.dateSpanTransforms||[],views:t.views||{},viewPropsTransformers:t.viewPropsTransformers||[],isPropsValid:t.isPropsValid||null,externalDefTransforms:t.externalDefTransforms||[],viewContainerAppends:t.viewContainerAppends||[],eventDropTransformers:t.eventDropTransformers||[],componentInteractions:t.componentInteractions||[],calendarInteractions:t.calendarInteractions||[],themeClasses:t.themeClasses||{},eventSourceDefs:t.eventSourceDefs||[],cmdFormatter:t.cmdFormatter,recurringTypes:t.recurringTypes||[],namedTimeZonedImpl:t.namedTimeZonedImpl,initialView:t.initialView||"",elementDraggingImpl:t.elementDraggingImpl,optionChangeHandlers:t.optionChangeHandlers||{},scrollGridImpl:t.scrollGridImpl||null,contentTypeHandlers:t.contentTypeHandlers||{},listenerRefiners:t.listenerRefiners||{},optionRefiners:t.optionRefiners||{},propSetHandlers:t.propSetHandlers||{}}}function or(){var t,e=[],n=[];return function(o,i){return t&&kt(o,e)&&kt(i,n)||(t=function(t,e){var n={},o={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(t){for(var e=0,a=t;e<a.length;e++){var s=a[e];n[s.id]||(n[s.id]=!0,i(s.deps),c=s,o={reducers:(l=o).reducers.concat(c.reducers),isLoadingFuncs:l.isLoadingFuncs.concat(c.isLoadingFuncs),contextInit:l.contextInit.concat(c.contextInit),eventRefiners:Object(r.a)(Object(r.a)({},l.eventRefiners),c.eventRefiners),eventDefMemberAdders:l.eventDefMemberAdders.concat(c.eventDefMemberAdders),eventSourceRefiners:Object(r.a)(Object(r.a)({},l.eventSourceRefiners),c.eventSourceRefiners),isDraggableTransformers:l.isDraggableTransformers.concat(c.isDraggableTransformers),eventDragMutationMassagers:l.eventDragMutationMassagers.concat(c.eventDragMutationMassagers),eventDefMutationAppliers:l.eventDefMutationAppliers.concat(c.eventDefMutationAppliers),dateSelectionTransformers:l.dateSelectionTransformers.concat(c.dateSelectionTransformers),datePointTransforms:l.datePointTransforms.concat(c.datePointTransforms),dateSpanTransforms:l.dateSpanTransforms.concat(c.dateSpanTransforms),views:Object(r.a)(Object(r.a)({},l.views),c.views),viewPropsTransformers:l.viewPropsTransformers.concat(c.viewPropsTransformers),isPropsValid:c.isPropsValid||l.isPropsValid,externalDefTransforms:l.externalDefTransforms.concat(c.externalDefTransforms),viewContainerAppends:l.viewContainerAppends.concat(c.viewContainerAppends),eventDropTransformers:l.eventDropTransformers.concat(c.eventDropTransformers),calendarInteractions:l.calendarInteractions.concat(c.calendarInteractions),componentInteractions:l.componentInteractions.concat(c.componentInteractions),themeClasses:Object(r.a)(Object(r.a)({},l.themeClasses),c.themeClasses),eventSourceDefs:l.eventSourceDefs.concat(c.eventSourceDefs),cmdFormatter:c.cmdFormatter||l.cmdFormatter,recurringTypes:l.recurringTypes.concat(c.recurringTypes),namedTimeZonedImpl:c.namedTimeZonedImpl||l.namedTimeZonedImpl,initialView:l.initialView||c.initialView,elementDraggingImpl:l.elementDraggingImpl||c.elementDraggingImpl,optionChangeHandlers:Object(r.a)(Object(r.a)({},l.optionChangeHandlers),c.optionChangeHandlers),scrollGridImpl:c.scrollGridImpl||l.scrollGridImpl,contentTypeHandlers:Object(r.a)(Object(r.a)({},l.contentTypeHandlers),c.contentTypeHandlers),listenerRefiners:Object(r.a)(Object(r.a)({},l.listenerRefiners),c.listenerRefiners),optionRefiners:Object(r.a)(Object(r.a)({},l.optionRefiners),c.optionRefiners),propSetHandlers:Object(r.a)(Object(r.a)({},l.propSetHandlers),c.propSetHandlers)})}var l,c}return t&&i(t),i(e),o}(o,i)),e=o,n=i,t}}var ir=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e}(Yn);function ar(t,e,n,o){if(e[t])return e[t];var i=function(t,e,n,o){var i=n[t],a=o[t],s=function(t){return i&&null!==i[t]?i[t]:a&&null!==a[t]?a[t]:null},l=s("component"),c=s("superType"),u=null;if(c){if(c===t)throw new Error("Can't have a custom view type that references itself");u=ar(c,e,n,o)}!l&&u&&(l=u.component);if(!l)return null;return{type:t,component:l,defaults:Object(r.a)(Object(r.a)({},u?u.defaults:{}),i?i.rawOptions:{}),overrides:Object(r.a)(Object(r.a)({},u?u.overrides:{}),a?a.rawOptions:{})}}(t,e,n,o);return i&&(e[t]=i),i}ir.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},ir.prototype.baseIconClass="fc-icon",ir.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},ir.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},ir.prototype.iconOverrideOption="buttonIcons",ir.prototype.iconOverrideCustomButtonOption="icon",ir.prototype.iconOverridePrefix="fc-icon-";var sr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rootElRef=a(),e.handleRootEl=function(t){er(e.rootElRef,t),e.props.elRef&&er(e.props.elRef,t)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this.props,n=e.hookProps;return i(dr,{hookProps:n,didMount:e.didMount,willUnmount:e.willUnmount,elRef:this.handleRootEl},(function(r){return i(cr,{hookProps:n,content:e.content,defaultContent:e.defaultContent,backupElRef:t.rootElRef},(function(t,o){return e.children(r,pr(e.classNames,n),t,o)}))}))},e}(Qn),lr=l(0);function cr(t){return i(lr.Consumer,null,(function(e){return i(ur,Object(r.a)({renderId:e},t))}))}var ur=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.innerElRef=a(),e}return Object(r.b)(e,t),e.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},e.prototype.componentDidMount=function(){this.updateCustomContent()},e.prototype.componentDidUpdate=function(){this.updateCustomContent()},e.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},e.prototype.renderInnerContent=function(){var t=this.customContentInfo,e=this.getInnerContent(),n=this.getContentMeta(e);return t&&t.contentKey===n.contentKey?t&&(t.contentVal=e[n.contentKey]):(t&&(t.destroy&&t.destroy(),t=this.customContentInfo=null),n.contentKey&&(t=this.customContentInfo=Object(r.a)({contentKey:n.contentKey,contentVal:e[n.contentKey]},n.buildLifecycleFuncs()))),t?[]:e},e.prototype.getInnerContent=function(){var t=this.props,e=hr(t.content,t.hookProps);return void 0===e&&(e=hr(t.defaultContent,t.hookProps)),null==e?null:e},e.prototype.getContentMeta=function(t){var e=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(t)for(var o in e)if(void 0!==t[o]){n=o,r=e[o];break}return{contentKey:n,buildLifecycleFuncs:r}},e.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},e}(Qn),dr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleRootEl=function(t){e.rootEl=t,e.props.elRef&&er(e.props.elRef,t)},e}return Object(r.b)(e,t),e.prototype.render=function(){return this.props.children(this.handleRootEl)},e.prototype.componentDidMount=function(){var t=this.props.didMount;t&&t(Object(r.a)(Object(r.a)({},this.props.hookProps),{el:this.rootEl}))},e.prototype.componentWillUnmount=function(){var t=this.props.willUnmount;t&&t(Object(r.a)(Object(r.a)({},this.props.hookProps),{el:this.rootEl}))},e}(Qn);function fr(){var t,e,n=[];return function(r,o){return e&&at(e,o)&&r===t||(t=r,e=o,n=pr(r,o)),n}}function pr(t,e){return"function"===typeof t&&(t=t(e)),ie(t)}function hr(t,e){return"function"===typeof t?t(e,i):t}var vr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.normalizeClassNames=fr(),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,r={view:e.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return i(dr,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:t.elRef},(function(e){return t.children(e,["fc-"+t.viewSpec.type+"-view","fc-view"].concat(o))}))},e}(Qn);function gr(t){return rt(t,mr)}function mr(t){var e,n="function"===typeof t?{component:t}:t,o=n.component;return n.content&&(e=n,o=function(t){return i(Kn.Consumer,null,(function(n){return i(vr,{viewSpec:n.viewSpec},(function(o,a){var s=Object(r.a)(Object(r.a)({},t),{nextDayThreshold:n.options.nextDayThreshold});return i(sr,{hookProps:s,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:o},(function(t,e,n,r){return i("div",{className:a.concat(e).join(" "),ref:t},r)}))}))}))}),{superType:n.type,component:o,rawOptions:n}}function br(t,e,n,o){var i=gr(t),a=gr(e.views),s=function(t,e){var n,r={};for(n in t)ar(n,r,t,e);for(n in e)ar(n,r,t,e);return r}(i,a);return rt(s,(function(t){return function(t,e,n,o,i){var a=t.overrides.duration||t.defaults.duration||o.duration||n.duration,s=null,l="",c="",u={};if(a&&(s=function(t){var e=JSON.stringify(t),n=yr[e];void 0===n&&(n=ht(t),yr[e]=n);return n}(a),s)){var d=wt(s);l=d.unit,1===d.value&&(c=l,u=e[l]?e[l].rawOptions:{})}var f=function(e){var n=e.buttonText||{},r=t.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[t.type]?n[t.type]:null!=n[c]?n[c]:null};return{type:t.type,component:t.component,duration:s,durationUnit:l,singleUnit:c,optionDefaults:t.defaults,optionOverrides:Object(r.a)(Object(r.a)({},u),t.overrides),buttonTextOverride:f(o)||f(n)||t.overrides.buttonText,buttonTextDefault:f(i)||t.defaults.buttonText||f(Wt)||t.type}}(t,a,e,n,o)}))}var yr={};var xr=function(){function t(t){this.props=t,this.nowDate=rn(t.nowInput,t.dateEnv),this.initHiddenDays()}return t.prototype.buildPrev=function(t,e,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(o,-1,n)},t.prototype.buildNext=function(t,e,n){var r=this.props.dateEnv,o=r.add(r.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(o,1,n)},t.prototype.build=function(t,e,n){void 0===n&&(n=!0);var r,o,i,a,s,l,c,u,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(c=t,t=null!=(u=r).start&&c<u.start?u.start:null!=u.end&&c>=u.end?new Date(u.end.valueOf()-1):c),o=this.buildCurrentRangeInfo(t,e),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=Se(s,o.range)),s=Se(s=this.adjustActiveRange(s),r),l=je(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},t.prototype.buildValidRange=function(){var t=this.props.validRangeInput,e="function"===typeof t?t.call(this.props.calendarApi,this.nowDate):t;return this.refineRange(e)||{start:null,end:null}},t.prototype.buildCurrentRangeInfo=function(t,e){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(t,e,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(t,e,n)):(a=this.buildCustomVisibleRange(t))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=wt(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(t,e,o,i)),{duration:o,unit:i,range:a}},t.prototype.getFallbackDuration=function(){return ht({day:1})},t.prototype.adjustActiveRange=function(t){var e=this.props,n=e.dateEnv,r=e.usesMinMaxTime,o=e.slotMinTime,i=e.slotMaxTime,a=t.start,s=t.end;return r&&(bt(o)<0&&(a=W(a),a=n.add(a,o)),bt(i)>1&&(s=B(s=W(s),-1),s=n.add(s,i))),{start:a,end:s}},t.prototype.buildRangeFromDuration=function(t,e,n,r){var o,i,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&yt(u)<yt(n)?wt(u).unit:r}function d(){o=l.startOf(t,c),i=l.add(o,n),a={start:o,end:i}}return bt(n)<=1&&this.isHiddenDay(o)&&(o=W(o=this.skipHiddenDays(o,e))),d(),this.trimHiddenDays(a)||(t=this.skipHiddenDays(t,e),d()),a},t.prototype.buildRangeFromDayCount=function(t,e,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=t;a&&(l=i.startOf(l,a)),l=W(l),r=l=this.skipHiddenDays(l,e);do{r=B(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}},t.prototype.buildCustomVisibleRange=function(t){var e=this.props,n=e.visibleRangeInput,r="function"===typeof n?n.call(e.calendarApi,e.dateEnv.toDate(t)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},t.prototype.buildRenderRange=function(t,e,n){return t},t.prototype.buildDateIncrement=function(t){var e,n=this.props.dateIncrement;return n||((e=this.props.dateAlignment)?ht(1,e):t||ht({days:1}))},t.prototype.refineRange=function(t){if(t){var e=function(t,e){var n=null,r=null;return t.start&&(n=e.createMarker(t.start)),t.end&&(r=e.createMarker(t.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}(t,this.props.dateEnv);return e&&(e=ye(e)),e}return null},t.prototype.initHiddenDays=function(){var t,e=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&e.push(0,6),t=0;t<7;t+=1)(n[t]=-1!==e.indexOf(t))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},t.prototype.trimHiddenDays=function(t){var e=t.start,n=t.end;return e&&(e=this.skipHiddenDays(e)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==e||null==n||e<n?{start:e,end:n}:null},t.prototype.isHiddenDay=function(t){return t instanceof Date&&(t=t.getUTCDay()),this.isHiddenDayHash[t]},t.prototype.skipHiddenDays=function(t,e,n){for(void 0===e&&(e=1),void 0===n&&(n=!1);this.isHiddenDayHash[(t.getUTCDay()+(n?e:0)+7)%7];)t=B(t,e);return t},t}();function wr(t,e,n){var r=e?e.activeRange:null;return jr({},function(t,e){var n=nn(e),r=[].concat(t.eventSources||[]),o=[];t.initialEvents&&r.unshift(t.initialEvents);t.events&&r.unshift(t.events);for(var i=0,a=r;i<a.length;i++){var s=en(a[i],e,n);s&&o.push(s)}return o}(t,n),r,n)}function Or(t,e,n,o){var i,a,s=n?n.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return jr(t,e.sources,s,o);case"REMOVE_EVENT_SOURCE":return i=t,a=e.sourceId,nt(i,(function(t){return t.sourceId!==a}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Cr(t,s,o):t;case"FETCH_EVENT_SOURCES":return kr(t,e.sourceIds?ot(e.sourceIds):Pr(t,o),s,e.isRefetch||!1,o);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(t,e,n,o){var i,a=t[e];if(a&&n===a.latestFetchId)return Object(r.a)(Object(r.a)({},t),((i={})[e]=Object(r.a)(Object(r.a)({},a),{isFetching:!1,fetchRange:o}),i));return t}(t,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return t}}function Sr(t){for(var e in t)if(t[e].isFetching)return!0;return!1}function jr(t,e,n,o){for(var i={},a=0,s=e;a<s.length;a++){var l=s[a];i[l.sourceId]=l}return n&&(i=Cr(i,n,o)),Object(r.a)(Object(r.a)({},t),i)}function Cr(t,e,n){return kr(t,nt(t,(function(t){return function(t,e,n){if(!_r(t,n))return!t.latestFetchId;return!n.options.lazyFetching||!t.fetchRange||t.isFetching||e.start<t.fetchRange.start||e.end>t.fetchRange.end}(t,e,n)})),e,!1,n)}function kr(t,e,n,r,o){var i={};for(var a in t){var s=t[a];e[a]?i[a]=Er(s,n,r,o):i[a]=s}return i}function Er(t,e,n,o){var i=o.options,a=o.calendarApi,s=o.pluginHooks.eventSourceDefs[t.sourceDefId],l=C();return s.fetch({eventSource:t,range:e,isRefetch:n,context:o},(function(n){var r=n.rawEvents;i.eventSourceSuccess&&(r=i.eventSourceSuccess.call(a,r,n.xhr)||r),t.success&&(r=t.success.call(a,r,n.xhr)||r),o.dispatch({type:"RECEIVE_EVENTS",sourceId:t.sourceId,fetchId:l,fetchRange:e,rawEvents:r})}),(function(n){console.warn(n.message,n),i.eventSourceFailure&&i.eventSourceFailure.call(a,n),t.failure&&t.failure(n),o.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:t.sourceId,fetchId:l,fetchRange:e,error:n})})),Object(r.a)(Object(r.a)({},t),{isFetching:!0,latestFetchId:l})}function Pr(t,e){return nt(t,(function(t){return _r(t,e)}))}function _r(t,e){return!e.pluginHooks.eventSourceDefs[t.sourceDefId].ignoreRange}function Mr(t,e,n,r,o){switch(e.type){case"RECEIVE_EVENTS":return function(t,e,n,r,o,i){if(e&&n===e.latestFetchId){var a=Jt(function(t,e,n){var r=n.options.eventDataTransform,o=e?e.eventDataTransform:null;o&&(t=Tr(t,o));r&&(t=Tr(t,r));return t}(o,e,i),e,i);return r&&(a=ut(a,r,i)),re(Ar(t,e.sourceId),a)}return t}(t,n[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,o);case"ADD_EVENTS":return function(t,e,n,r){n&&(e=ut(e,n,r));return re(t,e)}(t,e.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return re(t,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?ut(t,r.activeRange,o):t;case"REMOVE_EVENTS":return function(t,e){var n=t.defs,r=t.instances,o={},i={};for(var a in n)e.defs[a]||(o[a]=n[a]);for(var s in r)!e.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(t,e.eventStore);case"REMOVE_EVENT_SOURCE":return Ar(t,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return oe(t,(function(t){return!t.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return t}}function Tr(t,e){var n;if(e){n=[];for(var r=0,o=t;r<o.length;r++){var i=o[r],a=e(i);a?n.push(a):null==a&&n.push(i)}}else n=t;return n}function Ar(t,e){return oe(t,(function(t){return t.sourceId!==e}))}function Rr(t,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return t}}function Dr(t,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return t}}function Ir(t,e){var n;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=e.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function Nr(t,e){var n;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=e.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function Lr(t,e,n,r,o){var i=[];return{headerToolbar:t.headerToolbar?Fr(t.headerToolbar,t,e,n,r,o,i):null,footerToolbar:t.footerToolbar?Fr(t.footerToolbar,t,e,n,r,o,i):null,viewsWithButtons:i}}function Fr(t,e,n,r,o,i,a){return rt(t,(function(t){return function(t,e,n,r,o,i,a){var s="rtl"===e.direction,l=e.customButtons||{},c=n.buttonText||{},u=e.buttonText||{};return(t?t.split(" "):[]).map((function(t){return t.split(",").map((function(t){return"title"===t?{buttonName:t}:((e=l[t])?(d=function(t){e.click&&e.click.call(t.target,t,t.target)},(f=r.getCustomButtonIconClass(e))||(f=r.getIconClass(t,s))||(p=e.text)):(n=o[t])?(a.push(t),d=function(){i.changeView(t)},(p=n.buttonTextOverride)||(f=r.getIconClass(t,s))||(p=n.buttonTextDefault)):i[t]&&(d=function(){i[t]()},(p=c[t])||(f=r.getIconClass(t,s))||(p=u[t])),{buttonName:t,buttonClick:d,buttonIcon:f,buttonText:p});var e,n,d,f,p}))}))}(t,e,n,r,o,i,a)}))}var Br={parseMeta:function(t){return"function"===typeof t.events?t.events:null},fetch:function(t,e,n){var r=t.context.dateEnv;!function(t,e,n){var r=!1,o=function(){r||(r=!0,e.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=t(o,i);a&&"function"===typeof a.then&&a.then(o,i)}(t.eventSource.meta.bind(null,We(t.range,r)),(function(t){e({rawEvents:t})}),n)}};function zr(t,e,n,r,o){var i=null;"GET"===(t=t.toUpperCase())?e=function(t,e){return t+(-1===t.indexOf("?")?"?":"&")+Hr(e)}(e,n):i=Hr(n);var a=new XMLHttpRequest;a.open(t,e,!0),"GET"!==t&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var t=!1,e=void 0;try{e=JSON.parse(a.responseText),t=!0}catch(n){}t?r(e,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function Hr(t){var e=[];for(var n in t)e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")}function Vr(t,e){for(var n=it(e.getCurrentData().eventSources),r=[],o=0,i=t;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var c=0,u=n;c<u.length;c++){var d=u[c];e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];e.calendarApi.addEventSource(h)}}var Ur=[rr({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(t){return Array.isArray(t.events)?t.events:null},fetch:function(t,e){e({rawEvents:t.eventSource.meta})}}]}),rr({eventSourceDefs:[Br]}),rr({eventSourceRefiners:{method:String,extraParams:Qt,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(t){return!t.url||"json"!==t.format&&t.format?null:{url:t.url,format:"json",method:(t.method||"GET").toUpperCase(),extraParams:t.extraParams,startParam:t.startParam,endParam:t.endParam,timeZoneParam:t.timeZoneParam}},fetch:function(t,e,n){var o=t.eventSource.meta,i=function(t,e,n){var o,i,a,s,l=n.dateEnv,c=n.options,u={};null==(o=t.startParam)&&(o=c.startParam);null==(i=t.endParam)&&(i=c.endParam);null==(a=t.timeZoneParam)&&(a=c.timeZoneParam);s="function"===typeof t.extraParams?t.extraParams():t.extraParams||{};Object(r.a)(u,s),u[o]=l.formatIso(e.start),u[i]=l.formatIso(e.end),"local"!==l.timeZone&&(u[a]=l.timeZone);return u}(o,t.range,t.context);zr(o.method,o.url,i,(function(t,n){e({rawEvents:t,xhr:n})}),(function(t,e){n({message:t,xhr:e})}))}}]}),rr({recurringTypes:[{parse:function(t,e){if(t.daysOfWeek||t.startTime||t.endTime||t.startRecur||t.endRecur){var n={daysOfWeek:t.daysOfWeek||null,startTime:t.startTime||null,endTime:t.endTime||null,startRecur:t.startRecur?e.createMarker(t.startRecur):null,endRecur:t.endRecur?e.createMarker(t.endRecur):null},r=void 0;return t.duration&&(r=t.duration),!r&&t.startTime&&t.endTime&&(o=t.endTime,i=t.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!t.startTime&&!t.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(t,e,n){var r=Se(e,{start:t.startRecur,end:t.endRecur});return r?function(t,e,n,r){var o=t?ot(t):null,i=W(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=e?r.add(i,e):i,s.push(l)),i=B(i,1)}return s}(t.daysOfWeek,t.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:Qt,startTime:ht,endTime:ht,duration:ht,startRecur:Qt,endRecur:Qt}}),rr({optionChangeHandlers:{events:function(t,e){Vr([t],e)},eventSources:Vr}}),rr({isLoadingFuncs:[function(t){return Sr(t.eventSources)}],contentTypeHandlers:{html:function(){return{render:Wr}},domNodes:function(){return{render:qr}}},propSetHandlers:{dateProfile:function(t,e){e.emitter.trigger("datesSet",Object(r.a)(Object(r.a)({},We(t.activeRange,e.dateEnv)),{view:e.viewApi}))},eventStore:function(t,e){var n=e.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",ln(t,e))}}})];function Wr(t,e){t.innerHTML=e}function qr(t,e){var n=Array.prototype.slice.call(t.childNodes),r=Array.prototype.slice.call(e);if(!kt(n,r)){for(var o=0,i=r;o<i.length;o++){var a=i[o];t.appendChild(a)}n.forEach(d)}}var Gr=function(){function t(t){this.drainedOption=t,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return t.prototype.request=function(t){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==t?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),t))},t.prototype.pause=function(t){void 0===t&&(t="");var e=this.pauseDepths;e[t]=(e[t]||0)+1,this.clearTimeout()},t.prototype.resume=function(t,e){void 0===t&&(t="");var n=this.pauseDepths;if(t in n){if(e)delete n[t];else n[t]-=1,n[t]<=0&&delete n[t];this.tryDrain()}},t.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},t.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},t.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},t.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},t.prototype.drained=function(){this.drainedOption&&this.drainedOption()},t}(),Yr=function(){function t(t,e){this.runTaskOption=t,this.drainedOption=e,this.queue=[],this.delayedRunner=new Gr(this.drain.bind(this))}return t.prototype.request=function(t,e){this.queue.push(t),this.delayedRunner.request(e)},t.prototype.pause=function(t){this.delayedRunner.pause(t)},t.prototype.resume=function(t,e){this.delayedRunner.resume(t,e)},t.prototype.drain=function(){for(var t=this.queue;t.length;){for(var e=[],n=void 0;n=t.shift();)this.runTask(n),e.push(n);this.drained(e)}},t.prototype.runTask=function(t){this.runTaskOption&&this.runTaskOption(t)},t.prototype.drained=function(t){this.drainedOption&&this.drainedOption(t)},t}();function Xr(t,e,n){var r;return r=/^(year|month)$/.test(t.currentRangeUnit)?t.currentRange:t.activeRange,n.formatRange(r.start,r.end,Vt(e.titleFormat||function(t){var e=t.currentRangeUnit;if("year"===e)return{year:"numeric"};if("month"===e)return{year:"numeric",month:"long"};var n=U(t.currentRange.start,t.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(t)),{isEndExclusive:t.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}var Kr=function(){function t(t){var e=this;this.computeOptionsData=Et(this._computeOptionsData),this.computeCurrentViewData=Et(this._computeCurrentViewData),this.organizeRawLocales=Et(gn),this.buildLocale=Et(mn),this.buildPluginHooks=or(),this.buildDateEnv=Et($r),this.buildTheme=Et(Zr),this.parseToolbars=Et(Lr),this.buildViewSpecs=Et(br),this.buildDateProfileGenerator=Pt(Qr),this.buildViewApi=Et(Jr),this.buildViewUiProps=Pt(no),this.buildEventUiBySource=Et(to,at),this.buildEventUiBases=Et(eo),this.parseContextBusinessHours=Pt(oo),this.buildTitle=Et(Xr),this.emitter=new Vn,this.actionRunner=new Yr(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return e.data},this.dispatch=function(t){e.actionRunner.request(t)},this.props=t,this.actionRunner.pause();var n={},o=this.computeOptionsData(t.optionOverrides,n,t.calendarApi),i=o.calendarOptions.initialView||o.pluginHooks.initialView,a=this.computeCurrentViewData(i,o,t.optionOverrides,n);t.calendarApi.currentDataManager=this,this.emitter.setThisContext(t.calendarApi),this.emitter.setOptions(a.options);var s=function(t,e){var n=t.initialDate;return null!=n?e.createMarker(n):rn(t.now,e)}(o.calendarOptions,o.dateEnv),l=a.dateProfileGenerator.build(s);ke(l.activeRange,s)||(s=l.currentRange.start);for(var c={dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},u=0,d=o.pluginHooks.contextInit;u<d.length;u++){(0,d[u])(c)}for(var f=wr(o.calendarOptions,l,c),p={dynamicOptionOverrides:n,currentViewType:i,currentDate:s,dateProfile:l,businessHours:this.parseContextBusinessHours(c),eventSources:f,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(c).selectionConfig},h=Object(r.a)(Object(r.a)({},c),p),v=0,g=o.pluginHooks.reducers;v<g.length;v++){var m=g[v];Object(r.a)(p,m(null,null,h))}ro(p,c)&&this.emitter.trigger("loading",!0),this.state=p,this.updateData(),this.actionRunner.resume()}return t.prototype.resetOptions=function(t,e){var n=this.props;n.optionOverrides=e?Object(r.a)(Object(r.a)({},n.optionOverrides),t):t,this.actionRunner.request({type:"NOTHING"})},t.prototype._handleAction=function(t){var e=this,n=e.props,o=e.state,i=e.emitter,a=function(t,e){var n;return"SET_OPTION"===e.type?Object(r.a)(Object(r.a)({},t),((n={})[e.optionName]=e.rawOptionValue,n)):t}(o.dynamicOptionOverrides,t),s=this.computeOptionsData(n.optionOverrides,a,n.calendarApi),l=function(t,e){"CHANGE_VIEW_TYPE"===e.type&&(t=e.viewType);return t}(o.currentViewType,t),c=this.computeCurrentViewData(l,s,n.optionOverrides,a);n.calendarApi.currentDataManager=this,i.setThisContext(n.calendarApi),i.setOptions(c.options);var u={dateEnv:s.dateEnv,options:s.calendarOptions,pluginHooks:s.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData},d=o.currentDate,f=o.dateProfile;this.data&&this.data.dateProfileGenerator!==c.dateProfileGenerator&&(f=c.dateProfileGenerator.build(d)),d=function(t,e){return"CHANGE_DATE"===e.type?e.dateMarker:t}(d,t),f=function(t,e,n,r){var o;switch(e.type){case"CHANGE_VIEW_TYPE":return r.build(e.dateMarker||n);case"CHANGE_DATE":return r.build(e.dateMarker);case"PREV":if((o=r.buildPrev(t,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(t,n)).isValid)return o}return t}(f,t,d,c.dateProfileGenerator),"PREV"!==t.type&&"NEXT"!==t.type&&ke(f.currentRange,d)||(d=f.currentRange.start);for(var p=Or(o.eventSources,t,f,u),h=Mr(o.eventStore,t,p,f,u),v=Sr(p)&&!c.options.progressiveEventRendering&&o.renderableEventStore||h,g=this.buildViewUiProps(u),m=g.eventUiSingleBase,b=g.selectionConfig,y=this.buildEventUiBySource(p),x={dynamicOptionOverrides:a,currentViewType:l,currentDate:d,dateProfile:f,eventSources:p,eventStore:h,renderableEventStore:v,selectionConfig:b,eventUiBases:this.buildEventUiBases(v.defs,m,y),businessHours:this.parseContextBusinessHours(u),dateSelection:Rr(o.dateSelection,t),eventSelection:Dr(o.eventSelection,t),eventDrag:Ir(o.eventDrag,t),eventResize:Nr(o.eventResize,t)},w=Object(r.a)(Object(r.a)({},u),x),O=0,S=s.pluginHooks.reducers;O<S.length;O++){var j=S[O];Object(r.a)(x,j(o,t,w))}var C=ro(o,u),k=ro(x,u);!C&&k?i.trigger("loading",!0):C&&!k&&i.trigger("loading",!1),this.state=x,n.onAction&&n.onAction(t)},t.prototype.updateData=function(){var t=this.props,e=this.state,n=this.data,o=this.computeOptionsData(t.optionOverrides,e.dynamicOptionOverrides,t.calendarApi),i=this.computeCurrentViewData(e.currentViewType,o,t.optionOverrides,e.dynamicOptionOverrides),a=this.data=Object(r.a)(Object(r.a)(Object(r.a)({viewTitle:this.buildTitle(e.dateProfile,i.options,o.dateEnv),calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},o),i),e),s=o.pluginHooks.optionChangeHandlers,l=n&&n.calendarOptions,c=o.calendarOptions;if(l&&l!==c)for(var u in l.timeZone!==c.timeZone&&(e.eventSources=a.eventSources=function(t,e,n){var r=e?e.activeRange:null;return kr(t,Pr(t,n),r,!0,n)}(a.eventSources,e.dateProfile,a),e.eventStore=a.eventStore=function(t,e,n){var o=t.defs,i=rt(t.instances,(function(t){var i=o[t.defId];return i.allDay||i.recurringDef?t:Object(r.a)(Object(r.a)({},t),{range:{start:n.createMarker(e.toDate(t.range.start,t.forcedStartTzo)),end:n.createMarker(e.toDate(t.range.end,t.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:t.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:t.forcedEndTzo})}));return{defs:o,instances:i}}(a.eventStore,n.dateEnv,a.dateEnv)),s)l[u]!==c[u]&&s[u](c[u],a);t.onData&&t.onData(a)},t.prototype._computeOptionsData=function(t,e,n){var r=this.processRawCalendarOptions(t,e),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;io(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,t,e,a),u=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:this.parseToolbars(o,t,u,c,n),localeDefaults:a,availableRawLocales:s.map}},t.prototype.processRawCalendarOptions=function(t,e){var n=$t([Wt,t,e]),o=n.locales,i=n.locale,a=this.organizeRawLocales(o),s=a.map,l=this.buildLocale(i||a.defaultCode,s).options,c=this.buildPluginHooks(t.plugins||[],Ur),u=this.currentCalendarOptionsRefiners=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},Ut),qt),Gt),c.listenerRefiners),c.optionRefiners),d={},f=$t([Wt,l,t,e]),p={},h=this.currentCalendarOptionsInput,v=this.currentCalendarOptionsRefined,g=!1;for(var m in f)"plugins"!==m&&(f[m]===h[m]||Yt[m]&&m in h&&Yt[m](h[m],f[m])?p[m]=v[m]:u[m]?(p[m]=u[m](f[m]),g=!0):d[m]=h[m]);return g&&(this.currentCalendarOptionsInput=f,this.currentCalendarOptionsRefined=p),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:c,availableLocaleData:a,localeDefaults:l,extra:d}},t.prototype._computeCurrentViewData=function(t,e,n,r){var o=e.viewSpecs[t];if(!o)throw new Error('viewType "'+t+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,e.pluginHooks,e.localeDefaults,n,r),a=i.refinedOptions;return io(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:e.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(t,this.getCurrentData,e.dateEnv)}},t.prototype.processRawViewOptions=function(t,e,n,o,i){var a=$t([Wt,t.optionDefaults,n,o,t.optionOverrides,i]),s=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},Ut),qt),Gt),Kt),e.listenerRefiners),e.optionRefiners),l={},c=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,d=!1,f={};for(var p in a)a[p]===c[p]?l[p]=u[p]:(a[p]===this.currentCalendarOptionsInput[p]?p in this.currentCalendarOptionsRefined&&(l[p]=this.currentCalendarOptionsRefined[p]):s[p]?l[p]=s[p](a[p]):f[p]=a[p],d=!0);return d&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:f}},t}();function $r(t,e,n,r,o,i,a,s){var l=mn(e||a.defaultCode,a.map);return new pn({calendarSystem:"gregory",timeZone:t,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function Zr(t,e){return new(e.themeClasses[t.themeSystem]||ir)(t)}function Qr(t){return new(t.dateProfileGeneratorClass||xr)(t)}function Jr(t,e,n){return new Je(t,e,n)}function to(t){return rt(t,(function(t){return t.ui}))}function eo(t,e,n){var r={"":e};for(var o in t){var i=t[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function no(t){var e=t.options;return{eventUiSingleBase:le({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:"boolean"===typeof e.eventOverlap?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},t),selectionConfig:le({constraint:e.selectConstraint,overlap:"boolean"===typeof e.selectOverlap?e.selectOverlap:void 0,allow:e.selectAllow},t)}}function ro(t,e){for(var n=0,r=e.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(t))return!0}return!1}function oo(t){return wn(t.options.businessHours,t)}function io(t,e){for(var n in t)console.warn("Unknown option '"+n+"'"+(e?" for view '"+e+"'":""))}var ao=function(t){function e(e){var n=t.call(this,e)||this;return n.handleData=function(t){n.dataManager?n.setState(t):n.state=t},n.dataManager=new Kr({optionOverrides:e.optionOverrides,calendarApi:e.calendarApi,onData:n.handleData}),n}return Object(r.b)(e,t),e.prototype.render=function(){return this.props.children(this.state)},e.prototype.componentDidUpdate=function(t){var e=this.props.optionOverrides;e!==t.optionOverrides&&this.dataManager.resetOptions(e)},e}(o);var so=function(){function t(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return t.prototype.addSegs=function(t){for(var e=[],n=0,r=t;n<r.length;n++){var o=r[n];this.insertEntry(o,e)}return e},t.prototype.insertEntry=function(t,e){var n=this.findInsertion(t);return this.isInsertionValid(n,t)?(this.insertEntryAt(t,n),1):this.handleInvalidInsertion(n,t,e)},t.prototype.isInsertionValid=function(t,e){return(-1===this.maxCoord||t.levelCoord+e.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||t.stackCnt<this.maxStackCnt)},t.prototype.handleInvalidInsertion=function(t,e,n){return this.allowReslicing&&t.touchingEntry?this.splitEntry(e,t.touchingEntry,n):(n.push(e),0)},t.prototype.splitEntry=function(t,e,n){var o=0,i=[],a=t.span,s=e.span;return a.start<s.start&&(o+=this.insertEntry({index:t.index,thickness:t.thickness,span:{start:a.start,end:s.start}},i)),a.end>s.end&&(o+=this.insertEntry({index:t.index,thickness:t.thickness,span:{start:s.end,end:a.end}},i)),o?(n.push.apply(n,Object(r.c)([{index:t.index,thickness:t.thickness,span:fo(s,a)}],i)),o):(n.push(t),0)},t.prototype.insertEntryAt=function(t,e){var n=this.entriesByLevel,r=this.levelCoords;-1===e.lateral?(po(r,e.level,e.levelCoord),po(n,e.level,[t])):po(n[e.level],e.lateral,t),this.stackCnts[co(t)]=e.stackCnt},t.prototype.findInsertion=function(t){for(var e=this,n=e.levelCoords,r=e.entriesByLevel,o=e.strictOrder,i=e.stackCnts,a=n.length,s=0,l=-1,c=-1,u=null,d=0,f=0;f<a;f+=1){var p=n[f];if(!o&&p>=s+t.thickness)break;for(var h=r[f],v=void 0,g=ho(h,t.span.start,lo),m=g[0]+g[1];(v=h[m])&&v.span.start<t.span.end;){var b=p+v.thickness;b>s&&(s=b,u=v,l=f,c=m),b===s&&(d=Math.max(d,i[co(v)]+1)),m+=1}}var y=0;if(u)for(y=l+1;y<a&&n[y]<s;)y+=1;var x=-1;return y<a&&n[y]===s&&(x=ho(r[y],t.span.end,lo)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:u,stackCnt:d,levelCoord:s,level:y,lateral:x}},t.prototype.toRects=function(){for(var t=this.entriesByLevel,e=this.levelCoords,n=t.length,o=[],i=0;i<n;i+=1)for(var a=t[i],s=e[i],l=0,c=a;l<c.length;l++){var u=c[l];o.push(Object(r.a)(Object(r.a)({},u),{levelCoord:s}))}return o},t}();function lo(t){return t.span.end}function co(t){return t.index+":"+t.span.start}function uo(t){for(var e,n,r=[],o=0,i=t;o<i.length;o++){for(var a=i[o],s=[],l={span:a.span,entries:[a]},c=0,u=r;c<u.length;c++){var d=u[c];fo(d.span,l.span)?l={entries:d.entries.concat(l.entries),span:(e=d.span,n=l.span,{start:Math.min(e.start,n.start),end:Math.max(e.end,n.end)})}:s.push(d)}s.push(l),r=s}return r}function fo(t,e){var n=Math.max(t.start,e.start),r=Math.min(t.end,e.end);return n<r?{start:n,end:r}:null}function po(t,e,n){t.splice(e,0,n)}function ho(t,e,n){var r=0,o=t.length;if(!o||e<n(t[r]))return[0,0];if(e>n(t[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(t[i]);if(e<a)o=i;else{if(!(e>a))return[i,1];r=i+1}}return[r,0]}var vo=function(){function t(t){this.component=t.component,this.isHitComboAllowed=t.isHitComboAllowed||null}return t.prototype.destroy=function(){},t}();function go(t,e){return{component:t,el:e.el,useEventCenter:null==e.useEventCenter||e.useEventCenter,isHitComboAllowed:e.isHitComboAllowed||null}}function mo(t){var e;return(e={})[t.component.uid]=t,e}var bo={},yo=function(){function t(t,e){this.emitter=new Vn}return t.prototype.destroy=function(){},t.prototype.setMirrorIsVisible=function(t){},t.prototype.setMirrorNeedsRevert=function(t){},t.prototype.setAutoScrollEnabled=function(t){},t}(),xo={},wo={startTime:ht,duration:ht,create:Boolean,sourceId:String};function Oo(t){var e=Zt(t,wo),n=e.refined,r=e.extra;return{startTime:n.startTime||null,duration:n.duration||null,create:null==n.create||n.create,sourceId:n.sourceId,leftoverProps:r}}var So=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this.props.widgetGroups.map((function(e){return t.renderWidgetGroup(e)}));return i.apply(void 0,Object(r.c)(["div",{className:"fc-toolbar-chunk"}],e))},e.prototype.renderWidgetGroup=function(t){for(var e=this.props,n=this.context.theme,o=[],a=!0,s=0,l=t;s<l.length;s++){var c=l[s],u=c.buttonName,d=c.buttonClick,f=c.buttonText,p=c.buttonIcon;if("title"===u)a=!1,o.push(i("h2",{className:"fc-toolbar-title"},e.title));else{var h=p?{"aria-label":u}:{},v=["fc-"+u+"-button",n.getClass("button")];u===e.activeButton&&v.push(n.getClass("buttonActive"));var g=!e.isTodayEnabled&&"today"===u||!e.isPrevEnabled&&"prev"===u||!e.isNextEnabled&&"next"===u;o.push(i("button",Object(r.a)({disabled:g,className:v.join(" "),onClick:d,type:"button"},h),f||(p?i("span",{className:p}):"")))}}if(o.length>1){var m=a&&n.getClass("buttonGroup")||"";return i.apply(void 0,Object(r.c)(["div",{className:m}],o))}return o[0]},e}(Qn),jo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t,e,n=this.props,r=n.model,o=n.extraClassName,a=!1,s=r.center;return r.left?(a=!0,t=r.left):t=r.start,r.right?(a=!0,e=r.right):e=r.end,i("div",{className:[o||"","fc-toolbar",a?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",t||[]),this.renderSection("center",s||[]),this.renderSection("end",e||[]))},e.prototype.renderSection=function(t,e){var n=this.props;return i(So,{key:t,widgetGroups:e,title:n.title,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled})},e}(Qn),Co=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={availableWidth:null},e.handleEl=function(t){e.el=t,er(e.props.elRef,t),e.updateAvailableWidth()},e.handleResize=function(){e.updateAvailableWidth()},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.state,n=t.aspectRatio,r=["fc-view-harness",n||t.liquid||t.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",a="";return n?null!==e.availableWidth?o=e.availableWidth/n:a=1/n*100+"%":o=t.height||"",i("div",{ref:this.handleEl,onClick:t.onClick,className:r.join(" "),style:{height:o,paddingBottom:a}},t.children)},e.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},e.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},e.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},e}(Qn),ko=function(t){function e(e){var n=t.call(this,e)||this;return n.handleSegClick=function(t,e){var r=n.component,o=r.context,i=Me(e);if(i&&r.isValidSegDownEl(t.target)){var a=f(t.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:e,event:new an(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi}),s&&!t.defaultPrevented&&(window.location.href=s)}},n.destroy=w(e.el,"click",".fc-event",n.handleSegClick),n}return Object(r.b)(e,t),e}(vo),Eo=function(t){function e(e){var n=t.call(this,e)||this;return n.handleEventElRemove=function(t){t===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(t,e){Me(e)&&(n.currentSegEl=e,n.triggerEvent("eventMouseEnter",t,e))},n.handleSegLeave=function(t,e){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",t,e))},n.removeHoverListeners=function(t,e,n,r){var o;return w(t,"mouseover",e,(function(t,e){e!==o&&(o=e,n(t,e),e.addEventListener("mouseleave",(function t(n){o=null,r(n,e),e.removeEventListener("mouseleave",t)})))}))}(e.el,".fc-event",n.handleSegEnter,n.handleSegLeave),n}return Object(r.b)(e,t),e.prototype.destroy=function(){this.removeHoverListeners()},e.prototype.triggerEvent=function(t,e,n){var r=this.component,o=r.context,i=Me(n);e&&!r.isValidSegDownEl(e.target)||o.emitter.trigger(t,{el:n,event:new an(o,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi})},e}(vo),Po=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buildViewContext=Et($n),e.buildViewPropTransformers=Et(Mo),e.buildToolbarProps=Et(_o),e.handleNavLinkClick=x("a[data-navlink]",e._handleNavLinkClick.bind(e)),e.headerRef=a(),e.footerRef=a(),e.interactionsStore={},e.registerInteractiveComponent=function(t,n){var r=go(t,n),o=[ko,Eo].concat(e.props.pluginHooks.componentInteractions).map((function(t){return new t(r)}));e.interactionsStore[t.uid]=o,bo[t.uid]=r},e.unregisterInteractiveComponent=function(t){for(var n=0,r=e.interactionsStore[t.uid];n<r.length;n++){r[n].destroy()}delete e.interactionsStore[t.uid],delete bo[t.uid]},e.resizeRunner=new Gr((function(){e.props.emitter.trigger("_resize",!0),e.props.emitter.trigger("windowResize",{view:e.props.viewApi})})),e.handleWindowResize=function(t){var n=e.props.options;n.handleWindowResize&&t.target===window&&e.resizeRunner.request(n.windowResizeDelay)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t,e=this.props,n=e.toolbarConfig,o=e.options,a=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,rn(e.options.now,e.dateEnv),e.viewTitle),s=!1,l="";e.isHeightAuto||e.forPrint?l="":null!=o.height?s=!0:null!=o.contentHeight?l=o.contentHeight:t=Math.max(o.aspectRatio,.5);var c=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent);return i(Kn.Provider,{value:c},n.headerToolbar&&i(jo,Object(r.a)({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.headerToolbar},a)),i(Co,{liquid:s,height:l,aspectRatio:t,onClick:this.handleNavLinkClick},this.renderView(e),this.buildAppendContent()),n.footerToolbar&&i(jo,Object(r.a)({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footerToolbar},a)))},e.prototype.componentDidMount=function(){var t=this.props;this.calendarInteractions=t.pluginHooks.calendarInteractions.map((function(e){return new e(t)})),window.addEventListener("resize",this.handleWindowResize);var e=t.pluginHooks.propSetHandlers;for(var n in e)e[n](t[n],t)},e.prototype.componentDidUpdate=function(t){var e=this.props,n=e.pluginHooks.propSetHandlers;for(var r in n)e[r]!==t[r]&&n[r](e[r],e)},e.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var t=0,e=this.calendarInteractions;t<e.length;t++){e[t].destroy()}this.props.emitter.trigger("_unmount")},e.prototype._handleNavLinkClick=function(t,e){var n=this.props,r=n.dateEnv,o=n.options,i=n.calendarApi,a=e.getAttribute("data-navlink");a=a?JSON.parse(a):{};var s=r.createMarker(a.date),l=a.type,c="day"===l?o.navLinkDayClick:"week"===l?o.navLinkWeekClick:null;"function"===typeof c?c.call(i,r.toDate(s),t):("string"===typeof c&&(l=c),i.zoomTo(s,l))},e.prototype.buildAppendContent=function(){var t=this.props,e=t.pluginHooks.viewContainerAppends.map((function(e){return e(t)}));return i.apply(void 0,Object(r.c)([s,{}],e))},e.prototype.renderView=function(t){for(var e=t.pluginHooks,n=t.viewSpec,o={dateProfile:t.dateProfile,businessHours:t.businessHours,eventStore:t.renderableEventStore,eventUiBases:t.eventUiBases,dateSelection:t.dateSelection,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,isHeightAuto:t.isHeightAuto,forPrint:t.forPrint},a=0,s=this.buildViewPropTransformers(e.viewPropsTransformers);a<s.length;a++){var l=s[a];Object(r.a)(o,l.transform(o,t))}var c=n.component;return i(c,Object(r.a)({},o))},e}(Zn);function _o(t,e,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(e,r,!1),l=n.buildNext(e,r,!1);return{title:i,activeButton:t.type,isTodayEnabled:a.isValid&&!ke(e.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function Mo(t){return t.map((function(t){return new t}))}var To=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={forPrint:!1},e.handleBeforePrint=function(){e.setState({forPrint:!0})},e.handleAfterPrint=function(){e.setState({forPrint:!1})},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=t.options,n=this.state.forPrint,r=n||"auto"===e.height||"auto"===e.contentHeight,o=r||null==e.height?"":e.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+e.direction,t.theme.getClass("root")];return En()||i.push("fc-liquid-hack"),t.children(i,o,r,n)},e.prototype.componentDidMount=function(){var t=this.props.emitter;t.on("_beforeprint",this.handleBeforePrint),t.on("_afterprint",this.handleAfterPrint)},e.prototype.componentWillUnmount=function(){var t=this.props.emitter;t.off("_beforeprint",this.handleBeforePrint),t.off("_afterprint",this.handleAfterPrint)},e}(Qn);var Ao="fc-col-header-cell";function Ro(t){return t.text}var Do=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.context,e=t.dateEnv,n=t.options,o=t.theme,a=t.viewApi,s=this.props,l=s.date,c=s.dateProfile,u=Tn(l,s.todayRange,null,c),d=[Ao].concat(An(u,o)),f=e.format(l,s.dayHeaderFormat),p=n.navLinks&&!u.isDisabled&&s.colCnt>1?{"data-navlink":Rn(l),tabIndex:0}:{},h=Object(r.a)(Object(r.a)(Object(r.a)({date:e.toDate(l),view:a},s.extraHookProps),{text:f}),u);return i(sr,{hookProps:h,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:Ro,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(t,e,n,o){return i("th",Object(r.a)({ref:t,className:d.concat(e).join(" "),"data-date":u.isDisabled?void 0:St(l),colSpan:s.colSpan},s.extraDataAttrs),i("div",{className:"fc-scrollgrid-sync-inner"},!u.isDisabled&&i("a",Object(r.a)({ref:n,className:["fc-col-header-cell-cushion",s.isSticky?"fc-sticky":""].join(" ")},p),o)))}))},e}(Qn),Io=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.dateEnv,o=e.theme,a=e.viewApi,s=e.options,l=B(new Date(2592e5),t.dow),c={dow:t.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},u=[Ao].concat(An(c,o),t.extraClassNames||[]),d=n.format(l,t.dayHeaderFormat),f=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({date:l},c),{view:a}),t.extraHookProps),{text:d});return i(sr,{hookProps:f,classNames:s.dayHeaderClassNames,content:s.dayHeaderContent,defaultContent:Ro,didMount:s.dayHeaderDidMount,willUnmount:s.dayHeaderWillUnmount},(function(e,n,o,a){return i("th",Object(r.a)({ref:e,className:u.concat(n).join(" "),colSpan:t.colSpan},t.extraDataAttrs),i("div",{className:"fc-scrollgrid-sync-inner"},i("a",{className:["fc-col-header-cell-cushion",t.isSticky?"fc-sticky":""].join(" "),ref:o},a)))}))},e}(Qn),No=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.initialNowDate=rn(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.state;return t.children(e.nowDate,e.todayRange)},e.prototype.componentDidMount=function(){this.setTimeout()},e.prototype.componentDidUpdate=function(t){t.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},e.prototype.componentWillUnmount=function(){this.clearTimeout()},e.prototype.computeTiming=function(){var t=this.props,e=this.context,n=z(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=e.dateEnv.startOf(n,t.unit),o=e.dateEnv.add(r,ht(1,t.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:Lo(r)},nextState:{nowDate:o,todayRange:Lo(o)},waitMs:i}},e.prototype.setTimeout=function(){var t=this,e=this.computeTiming(),n=e.nextState,r=e.waitMs;this.timeoutId=setTimeout((function(){t.setState(n,(function(){t.setTimeout()}))}),r)},e.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},e.contextType=Kn,e}(o);function Lo(t){var e=W(t);return{start:e,end:B(e,1)}}var Fo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.createDayHeaderFormatter=Et(Bo),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.context,e=this.props,n=e.dates,r=e.dateProfile,o=e.datesRepDistinctDays,a=e.renderIntro,s=this.createDayHeaderFormatter(t.options.dayHeaderFormat,o,n.length);return i(No,{unit:"day"},(function(t,e){return i("tr",null,a&&a("day"),n.map((function(t){return o?i(Do,{key:t.toISOString(),date:t,dateProfile:r,todayRange:e,colCnt:n.length,dayHeaderFormat:s}):i(Io,{key:t.getUTCDay(),dow:t.getUTCDay(),dayHeaderFormat:s})})))}))},e}(Qn);function Bo(t,e,n){return t||function(t,e){return Vt(!t||e>10?{weekday:"short"}:e>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(e,n)}var zo=function(){function t(t,e){for(var n=t.start,r=t.end,o=[],i=[],a=-1;n<r;)e.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=B(n,1);this.dates=i,this.indices=o,this.cnt=i.length}return t.prototype.sliceRange=function(t){var e=this.getDateDayIndex(t.start),n=this.getDateDayIndex(B(t.end,-1)),r=Math.max(0,e),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:e===r,isEnd:n===o}:null},t.prototype.getDateDayIndex=function(t){var e=this.indices,n=Math.floor(V(this.dates[0],t));return n<0?e[0]-1:n>=e.length?e[e.length-1]+1:e[n]},t}(),Ho=function(){function t(t,e){var n,r,o,i=t.dates;if(e){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=t,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return t.prototype.buildCells=function(){for(var t=[],e=0;e<this.rowCnt;e+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(e,r));t.push(n)}return t},t.prototype.buildCell=function(t,e){var n=this.daySeries.dates[t*this.colCnt+e];return{key:n.toISOString(),date:n}},t.prototype.buildHeaderDates=function(){for(var t=[],e=0;e<this.colCnt;e+=1)t.push(this.cells[0][e].date);return t},t.prototype.sliceRange=function(t){var e=this.colCnt,n=this.daySeries.sliceRange(t),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/e),l=Math.min((s+1)*e,i+1);r.push({row:s,firstCol:a%e,lastCol:(l-1)%e,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r},t}(),Vo=function(){function t(){this.sliceBusinessHours=Et(this._sliceBusinessHours),this.sliceDateSelection=Et(this._sliceDateSpan),this.sliceEventStore=Et(this._sliceEventStore),this.sliceEventDrag=Et(this._sliceInteraction),this.sliceEventResize=Et(this._sliceInteraction),this.forceDayIfListItem=!1}return t.prototype.sliceProps=function(t,e,n,o){for(var i=[],a=4;a<arguments.length;a++)i[a-4]=arguments[a];var s=t.eventUiBases,l=this.sliceEventStore.apply(this,Object(r.c)([t.eventStore,s,e,n],i));return{dateSelectionSegs:this.sliceDateSelection.apply(this,Object(r.c)([t.dateSelection,s,o],i)),businessHourSegs:this.sliceBusinessHours.apply(this,Object(r.c)([t.businessHours,e,n,o],i)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,Object(r.c)([t.eventDrag,s,e,n],i)),eventResize:this.sliceEventResize.apply(this,Object(r.c)([t.eventResize,s,e,n],i)),eventSelection:t.eventSelection}},t.prototype.sliceNowDate=function(t,e){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return this._sliceDateSpan.apply(this,Object(r.c)([{range:{start:t,end:z(t,1)},allDay:!1},{},e],n))},t.prototype._sliceBusinessHours=function(t,e,n,o){for(var i=[],a=4;a<arguments.length;a++)i[a-4]=arguments[a];return t?this._sliceEventStore.apply(this,Object(r.c)([ut(t,Uo(e,Boolean(n)),o),{},e,n],i)).bg:[]},t.prototype._sliceEventStore=function(t,e,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(t){var a=Ee(t,e,Uo(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},t.prototype._sliceInteraction=function(t,e,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!t)return null;var a=Ee(t.mutatedEvents,e,Uo(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:t.affectedEvents.instances,isEvent:t.isEvent}},t.prototype._sliceDateSpan=function(t,e,n){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];if(!t)return[];for(var a=Ge(t,e,n),s=this.sliceRange.apply(this,Object(r.c)([t.range],o)),l=0,c=s;l<c.length;l++){var u=c[l];u.eventRange=a}return s},t.prototype.sliceEventRanges=function(t,e){for(var n=[],r=0,o=t;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,e))}return n},t.prototype.sliceEventRange=function(t,e){var n=t.range;this.forceDayIfListItem&&"list-item"===t.ui.display&&(n={start:n.start,end:B(n.start,1)});for(var o=this.sliceRange.apply(this,Object(r.c)([n],e)),i=0,a=o;i<a.length;i++){var s=a[i];s.eventRange=t,s.isStart=t.isStart&&s.isStart,s.isEnd=t.isEnd&&s.isEnd}return o},t}();function Uo(t,e){var n=t.activeRange;return e?n:{start:z(n.start,t.slotMinTime.milliseconds),end:z(n.end,t.slotMaxTime.milliseconds-864e5)}}function Wo(t,e,n){var r=t.mutatedEvents.instances;for(var o in r)if(!Ce(e.validRange,r[o].range))return!1;return Go({eventDrag:t},n)}function qo(t,e,n){return!!Ce(e.validRange,t.range)&&Go({dateSelection:t},n)}function Go(t,e){var n=e.getCurrentData(),o=Object(r.a)({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},t);return(e.pluginHooks.isPropsValid||Yo)(o,e)}function Yo(t,e,n,o){return void 0===n&&(n={}),!(t.eventDrag&&!function(t,e,n,o){var i=e.getCurrentData(),a=t.eventDrag,s=a.mutatedEvents,l=s.defs,c=s.instances,u=Te(l,a.isEvent?t.eventUiBases:{"":i.selectionConfig});o&&(u=rt(u,o));var d=(v=t.eventStore,g=a.affectedEvents.instances,{defs:v.defs,instances:nt(v.instances,(function(t){return!g[t.instanceId]}))}),f=d.defs,p=d.instances,h=Te(f,t.eventUiBases);var v,g;for(var m in c){var b=c[m],y=b.range,x=u[b.defId],w=l[b.defId];if(!Xo(x.constraints,y,d,t.businessHours,e))return!1;var O=e.options.eventOverlap,S="function"===typeof O?O:null;for(var j in p){var C=p[j];if(je(y,C.range)){if(!1===h[C.defId].overlap&&a.isEvent)return!1;if(!1===x.overlap)return!1;if(S&&!S(new an(e,f[C.defId],C),new an(e,w,b)))return!1}}for(var k=i.eventStore,E=0,P=x.allows;E<P.length;E++){var _=P[E],M=Object(r.a)(Object(r.a)({},n),{range:b.range,allDay:w.allDay}),T=k.defs[w.defId],A=k.instances[m],R=void 0;if(R=T?new an(e,T,A):new an(e,w),!_(Xe(M,e),R))return!1}}return!0}(t,e,n,o))&&!(t.dateSelection&&!function(t,e,n,o){var i=t.eventStore,a=i.defs,s=i.instances,l=t.dateSelection,c=l.range,u=e.getCurrentData().selectionConfig;o&&(u=o(u));if(!Xo(u.constraints,c,i,t.businessHours,e))return!1;var d=e.options.selectOverlap,f="function"===typeof d?d:null;for(var p in s){var h=s[p];if(je(c,h.range)){if(!1===u.overlap)return!1;if(f&&!f(new an(e,a[h.defId],h),null))return!1}}for(var v=0,g=u.allows;v<g.length;v++){if(!(0,g[v])(Xe(Object(r.a)(Object(r.a)({},n),l),e),null))return!1}return!0}(t,e,n,o))}function Xo(t,e,n,r,o){for(var i=0,a=t;i<a.length;i++){if(!Zo(Ko(a[i],e,n,r,o),e))return!1}return!0}function Ko(t,e,n,r,o){return"businessHours"===t?$o(ut(r,e,o)):"string"===typeof t?$o(oe(n,(function(e){return e.groupId===t}))):"object"===typeof t&&t?$o(ut(t,e,o)):[]}function $o(t){var e=t.instances,n=[];for(var r in e)n.push(e[r].range);return n}function Zo(t,e){for(var n=0,r=t;n<r.length;n++){if(Ce(r[n],e))return!0}return!1}var Qo=/^(visible|hidden)$/,Jo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleEl=function(t){e.el=t,er(e.props.elRef,t)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=t.liquid,n=t.liquidIsAbsolute,r=e&&n,o=["fc-scroller"];return e&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),i("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:t.overflowX,overflowY:t.overflowY,left:r&&-(t.overcomeLeft||0)||"",right:r&&-(t.overcomeRight||0)||"",bottom:r&&-(t.overcomeBottom||0)||"",marginLeft:!r&&-(t.overcomeLeft||0)||"",marginRight:!r&&-(t.overcomeRight||0)||"",marginBottom:!r&&-(t.overcomeBottom||0)||"",maxHeight:t.maxHeight||""}},t.children)},e.prototype.needsXScrolling=function(){if(Qo.test(this.props.overflowX))return!1;for(var t=this.el,e=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=t.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>e)return!0}return!1},e.prototype.needsYScrolling=function(){if(Qo.test(this.props.overflowY))return!1;for(var t=this.el,e=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=t.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>e)return!0}return!1},e.prototype.getXScrollbarWidth=function(){return Qo.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},e.prototype.getYScrollbarWidth=function(){return Qo.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},e}(Qn),ti=function(){function t(t){var e=this;this.masterCallback=t,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(t,n){var r=e,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==t?(a=n in i,i[n]=t,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete e.callbackMap[n],a=!0)),e.masterCallback&&(a&&e.masterCallback(null,String(n)),s&&e.masterCallback(t,String(n)))}}return t.prototype.createRef=function(t){var e=this,n=this.callbackMap[t];return n||(n=this.callbackMap[t]=function(n){e.handleValue(n,String(t))}),n},t.prototype.collect=function(t,e,n){return function(t,e,n,r){void 0===e&&(e=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(t).length);for(var i=e;i<n;i+=r){var a=t[i];void 0!==a&&o.push(a)}return o}(this.currentMap,t,e,n)},t.prototype.getAll=function(){return it(this.currentMap)},t}();function ei(t){for(var e=0,n=0,r=function(t,e){for(var n=t instanceof HTMLElement?[t]:t,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(e),a=0;a<i.length;a+=1)r.push(i[a]);return r}(t,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];e=Math.max(e,N(o))}return Math.ceil(e)}function ni(t,e){return t.liquid&&e.liquid}function ri(t,e){return kt(t,e,at)}function oi(t,e){for(var n=[],o=0,a=t;o<a.length;o++)for(var s=a[o],l=s.span||1,c=0;c<l;c+=1)n.push(i("col",{style:{width:"shrink"===s.width?ii(e):s.width||"",minWidth:s.minWidth||""}}));return i.apply(void 0,Object(r.c)(["colgroup",{}],n))}function ii(t){return null==t?4:t}function ai(t,e){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+t.type,t.className];return e&&t.liquid&&null==t.maxHeight&&n.push("fc-scrollgrid-section-liquid"),t.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function si(t){return i("div",{className:"fc-scrollgrid-sticky-shim",style:{width:t.clientWidth,minWidth:t.tableMinWidth}})}function li(t){var e=t.stickyHeaderDates;return null!=e&&"auto"!==e||(e="auto"===t.height||"auto"===t.viewHeight),e}function ci(t){var e=t.stickyFooterScrollbar;return null!=e&&"auto"!==e||(e="auto"===t.height||"auto"===t.viewHeight),e}var ui=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.processCols=Et((function(t){return t}),ri),e.renderMicroColGroup=Et(oi),e.scrollerRefs=new ti,e.scrollerElRefs=new ti(e._handleScrollerEl.bind(e)),e.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},e.handleSizing=function(){e.setState(Object(r.a)({shrinkWidth:e.computeShrinkWidth()},e.computeScrollerDims()))},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=t.props,n=t.state,o=t.context,a=e.sections||[],s=this.processCols(e.cols),l=this.renderMicroColGroup(s,n.shrinkWidth),c=function(t,e){var n=["fc-scrollgrid",e.theme.getClass("table")];return t&&n.push("fc-scrollgrid-liquid"),n}(e.liquid,o);e.collapsibleWidth&&c.push("fc-scrollgrid-collapsible");for(var u,d=a.length,f=0,p=[],h=[],v=[];f<d&&"header"===(u=a[f]).type;)p.push(this.renderSection(u,l)),f+=1;for(;f<d&&"body"===(u=a[f]).type;)h.push(this.renderSection(u,l)),f+=1;for(;f<d&&"footer"===(u=a[f]).type;)v.push(this.renderSection(u,l)),f+=1;var g=!En();return i("table",{className:c.join(" "),style:{height:e.height}},Boolean(!g&&p.length)&&i.apply(void 0,Object(r.c)(["thead",{}],p)),Boolean(!g&&h.length)&&i.apply(void 0,Object(r.c)(["tbody",{}],h)),Boolean(!g&&v.length)&&i.apply(void 0,Object(r.c)(["tfoot",{}],v)),g&&i.apply(void 0,Object(r.c)(Object(r.c)(Object(r.c)(["tbody",{}],p),h),v)))},e.prototype.renderSection=function(t,e){return"outerContent"in t?i(s,{key:t.key},t.outerContent):i("tr",{key:t.key,className:ai(t,this.props.liquid).join(" ")},this.renderChunkTd(t,e,t.chunk))},e.prototype.renderChunkTd=function(t,e,n){if("outerContent"in n)return n.outerContent;var r=this.props,o=this.state,a=o.forceYScrollbars,s=o.scrollerClientWidths,l=o.scrollerClientHeights,c=function(t,e){return null!=e.maxHeight||ni(t,e)}(r,t),u=ni(r,t),d=r.liquid?a?"scroll":c?"auto":"hidden":"visible",f=t.key,p=function(t,e,n){var r=n.expandRows;return"function"===typeof e.content?e.content(n):i("table",{className:[e.tableClassName,t.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:r?n.clientHeight:""}},n.tableColGroupNode,i("tbody",{},"function"===typeof e.rowContent?e.rowContent(n):e.rowContent))}(t,n,{tableColGroupNode:e,tableMinWidth:"",clientWidth:r.collapsibleWidth||void 0===s[f]?null:s[f],clientHeight:void 0!==l[f]?l[f]:null,expandRows:t.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}});return i("td",{ref:n.elRef},i("div",{className:"fc-scroller-harness"+(u?" fc-scroller-harness-liquid":"")},i(Jo,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:d,overflowX:r.liquid?"hidden":"visible",maxHeight:t.maxHeight,liquid:u,liquidIsAbsolute:!0},p)))},e.prototype._handleScrollerEl=function(t,e){var n=function(t,e){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.key===e)return o}return null}(this.props.sections,e);n&&er(n.chunk.scrollerElRef,t)},e.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},e.prototype.componentDidUpdate=function(){this.handleSizing()},e.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},e.prototype.computeShrinkWidth=function(){return function(t){for(var e=0,n=t;e<n.length;e++)if("shrink"===n[e].width)return!0;return!1}(this.props.cols)?ei(this.scrollerElRefs.getAll()):0},e.prototype.computeScrollerDims=function(){var t=Ln(),e=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in e.currentMap){var s=e.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,c=this.props.sections;l<c.length;l++){a=c[l].key;var u=n.currentMap[a];if(u){var d=u.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?t.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},e}(Qn);ui.addStateEquality({scrollerClientWidths:at,scrollerClientHeights:at});var di=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.elRef=a(),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,r=t.seg,o=r.eventRange,a=o.ui,s={event:new an(e,o.def,o.instance),view:e.viewApi,timeText:t.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!t.disableDragging&&Ie(r,e),isStartResizable:!t.disableResizing&&Ne(r,e),isEndResizable:!t.disableResizing&&Le(r),isMirror:Boolean(t.isDragging||t.isResizing||t.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(t.isPast),isFuture:Boolean(t.isFuture),isToday:Boolean(t.isToday),isSelected:Boolean(t.isSelected),isDragging:Boolean(t.isDragging),isResizing:Boolean(t.isResizing)},l=function(t){var e=["fc-event"];return t.isMirror&&e.push("fc-event-mirror"),t.isDraggable&&e.push("fc-event-draggable"),(t.isStartResizable||t.isEndResizable)&&e.push("fc-event-resizable"),t.isDragging&&e.push("fc-event-dragging"),t.isResizing&&e.push("fc-event-resizing"),t.isSelected&&e.push("fc-event-selected"),t.isStart&&e.push("fc-event-start"),t.isEnd&&e.push("fc-event-end"),t.isPast&&e.push("fc-event-past"),t.isToday&&e.push("fc-event-today"),t.isFuture&&e.push("fc-event-future"),e}(s).concat(a.classNames);return i(sr,{hookProps:s,classNames:n.eventClassNames,content:n.eventContent,defaultContent:t.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(e,n,r,o){return t.children(e,l.concat(n),r,o,s)}))},e.prototype.componentDidMount=function(){_e(this.elRef.current,this.props.seg)},e.prototype.componentDidUpdate=function(t){var e=this.props.seg;e!==t.seg&&_e(this.elRef.current,e)},e}(Qn),fi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=t.seg,o=e.options.eventTimeFormat||t.defaultTimeFormat,a=Fe(n,o,e,t.defaultDisplayEventTime,t.defaultDisplayEventEnd);return i(di,{seg:n,timeText:a,disableDragging:t.disableDragging,disableResizing:t.disableResizing,defaultContent:t.defaultContent||pi,isDragging:t.isDragging,isResizing:t.isResizing,isDateSelecting:t.isDateSelecting,isSelected:t.isSelected,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday},(function(e,o,a,s,l){return i("a",Object(r.a)({className:t.extraClassNames.concat(o).join(" "),style:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},ref:e},function(t){var e=t.eventRange.def.url;return e?{href:e}:{}}(n)),i("div",{className:"fc-event-main",ref:a,style:{color:l.textColor}},s),l.isStartResizable&&i("div",{className:"fc-event-resizer fc-event-resizer-start"}),l.isEndResizable&&i("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},e}(Qn);function pi(t){return i("div",{className:"fc-event-main-frame"},t.timeText&&i("div",{className:"fc-event-time"},t.timeText),i("div",{className:"fc-event-title-container"},i("div",{className:"fc-event-title fc-sticky"},t.event.title||i(s,null,"\xa0"))))}var hi=function(t){return i(Kn.Consumer,null,(function(e){var n=e.options,r={isAxis:t.isAxis,date:e.dateEnv.toDate(t.date),view:e.viewApi};return i(sr,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},t.children)}))},vi=Vt({day:"numeric"}),gi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,r=mi({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:e.viewApi,dateEnv:e.dateEnv});return i(cr,{hookProps:r,content:n.dayCellContent,defaultContent:t.defaultContent},t.children)},e}(Qn);function mi(t){var e=t.date,n=t.dateEnv,o=Tn(e,t.todayRange,null,t.dateProfile);return Object(r.a)(Object(r.a)(Object(r.a)({date:n.toDate(e),view:t.viewApi},o),{dayNumberText:t.showDayNumber?n.format(e,vi):""}),t.extraProps)}var bi=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.refineHookProps=Pt(mi),e.normalizeClassNames=fr(),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,r=this.refineHookProps({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:e.viewApi,dateEnv:e.dateEnv}),o=An(r,e.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),a=r.isDisabled?{}:{"data-date":St(t.date)};return i(dr,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:t.elRef},(function(e){return t.children(e,o,a,r.isDisabled)}))},e}(Qn);function yi(t){return i("div",{className:"fc-"+t})}var xi=function(t){return i(di,{defaultContent:wi,seg:t.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday},(function(t,e,n,r,o){return i("div",{ref:t,className:["fc-bg-event"].concat(e).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function wi(t){return t.event.title&&i("div",{className:"fc-event-title"},t.event.title)}var Oi=function(t){return i(Kn.Consumer,null,(function(e){var n=e.dateEnv,r=e.options,o=t.date,a=r.weekNumberFormat||t.defaultFormat,s=n.computeWeekNumber(o),l=n.format(o,a);return i(sr,{hookProps:{num:s,text:l,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:Si,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},t.children)}))};function Si(t){return t.text}var ji=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleRootEl=function(t){e.rootEl=t,e.props.elRef&&er(e.props.elRef,t)},e.handleDocumentMousedown=function(t){var n=m(t);e.rootEl.contains(n)||e.handleCloseClick()},e.handleCloseClick=function(){var t=e.props.onClose;t&&t()},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.context.theme,e=this.props,n=["fc-popover",t.getClass("popover")].concat(e.extraClassNames||[]);return c(i("div",Object(r.a)({className:n.join(" ")},e.extraAttrs,{ref:this.handleRootEl}),i("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},i("span",{className:"fc-popover-title"},e.title),i("span",{className:"fc-popover-close "+t.getIconClass("close"),onClick:this.handleCloseClick})),i("div",{className:"fc-popover-body "+t.getClass("popoverContent")},e.children)),e.parentEl)},e.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMousedown),this.updateSize()},e.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMousedown)},e.prototype.updateSize=function(){var t=this.context.isRtl,e=this.props,n=e.alignmentEl,r=e.alignGridTop,o=this.rootEl,i=function(t){for(var e=Hn(t),n=t.getBoundingClientRect(),r=0,o=e;r<o.length;r++){var i=Sn(n,o[r].getBoundingClientRect());if(!i)return null;n=i}return n}(n);if(i){var a=o.getBoundingClientRect(),s=r?f(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=t?i.right-a.width:i.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var c=o.offsetParent.getBoundingClientRect();v(o,{top:s-c.top,left:l-c.left})}},e}(Qn),Ci=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleRootEl=function(t){e.rootEl=t,t?e.context.registerInteractiveComponent(e,{el:t,useEventCenter:!1}):e.context.unregisterInteractiveComponent(e)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.context,e=t.options,n=t.dateEnv,r=this.props,o=r.startDate,a=r.todayRange,s=r.dateProfile,l=n.format(o,e.dayPopoverFormat);return i(bi,{date:o,dateProfile:s,todayRange:a,elRef:this.handleRootEl},(function(t,e,n){return i(ji,{elRef:t,title:l,extraClassNames:["fc-more-popover"].concat(e),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},i(gi,{date:o,dateProfile:s,todayRange:a},(function(t,e){return e&&i("div",{className:"fc-more-popover-misc",ref:t},e)})),r.children)}))},e.prototype.queryHit=function(t,e,n,o){var i=this.rootEl,a=this.props;return t>=0&&t<n&&e>=0&&e<o?{dateProfile:a.dateProfile,dateSpan:Object(r.a)({allDay:!0,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:i,rect:{left:0,top:0,right:n,bottom:o},layer:1}:null},e}(nr),ki=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.linkElRef=a(),e.state={isPopoverOpen:!1},e.handleClick=function(t){var n=e,r=n.props,o=n.context,i=o.options.moreLinkClick,a=Pi(r).start;function s(t){var e=t.eventRange,n=e.def,r=e.instance,i=e.range;return{event:new an(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:t.isStart,isEnd:t.isEnd}}"function"===typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:t,view:o.viewApi})),i&&"popover"!==i?"string"===typeof i&&o.calendarApi.zoomTo(a,i):e.setState({isPopoverOpen:!0})},e.handlePopoverClose=function(){e.setState({isPopoverOpen:!1})},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this.props;return i(Kn.Consumer,null,(function(n){var r=n.viewApi,o=n.options,a=n.calendarApi,l=o.moreLinkText,c=e.moreCnt,u=Pi(e),d={num:c,shortText:"+"+c,text:"function"===typeof l?l.call(a,c):"+"+c+" "+l,view:r};return i(s,null,Boolean(e.moreCnt)&&i(sr,{elRef:t.linkElRef,hookProps:d,classNames:o.moreLinkClassNames,content:o.moreLinkContent,defaultContent:e.defaultContent||Ei,didMount:o.moreLinkDidMount,willUnmount:o.moreLinkWillUnmount},(function(n,r,o,i){return e.children(n,["fc-more-link"].concat(r),o,i,t.handleClick)})),t.state.isPopoverOpen&&i(Ci,{startDate:u.start,endDate:u.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:t.parentEl,alignmentEl:e.alignmentElRef.current,alignGridTop:e.alignGridTop,onClose:t.handlePopoverClose},e.popoverContent()))}))},e.prototype.componentDidMount=function(){this.updateParentEl()},e.prototype.componentDidUpdate=function(){this.updateParentEl()},e.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=f(this.linkElRef.current,".fc-view-harness"))},e}(Qn);function Ei(t){return t.text}function Pi(t){if(t.allDayDate)return{start:t.allDayDate,end:B(t.allDayDate,1)};var e,n=t.hiddenSegs;return{start:_i(n),end:(e=n,e.reduce(Ti).eventRange.range.end)}}function _i(t){return t.reduce(Mi).eventRange.range.start}function Mi(t,e){return t.eventRange.range.start<e.eventRange.range.start?t:e}function Ti(t,e){return t.eventRange.range.end>e.eventRange.range.end?t:e}},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var s=t[i](a),l=s.value}catch(c){return void n(c)}s.done?e(l):Promise.resolve(l).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,l,"next",t)}function l(t){r(a,o,i,s,l,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";function r(t){var e,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=r(t[e]))&&(o&&(o+=" "),o+=n);else for(e in t)t[e]&&(o&&(o+=" "),o+=e);return o}function o(){for(var t,e,n=0,o="";n<arguments.length;)(t=arguments[n++])&&(e=r(t))&&(o&&(o+=" "),o+=e);return o}n.r(e),n.d(e,"clsx",(function(){return o})),e.default=o},function(t,e,n){"use strict";n.d(e,"w",(function(){return l})),n.d(e,"a",(function(){return Ct})),n.d(e,"b",(function(){return V})),n.d(e,"c",(function(){return Et})),n.d(e,"d",(function(){return jt})),n.d(e,"e",(function(){return Q})),n.d(e,"f",(function(){return mt})),n.d(e,"g",(function(){return Bt})),n.d(e,"h",(function(){return E})),n.d(e,"i",(function(){return qt})),n.d(e,"j",(function(){return Ut})),n.d(e,"k",(function(){return M})),n.d(e,"l",(function(){return T})),n.d(e,"m",(function(){return R})),n.d(e,"n",(function(){return N})),n.d(e,"o",(function(){return Y})),n.d(e,"p",(function(){return St})),n.d(e,"q",(function(){return Ot})),n.d(e,"r",(function(){return wt})),n.d(e,"s",(function(){return P})),n.d(e,"t",(function(){return Gt})),n.d(e,"u",(function(){return _})),n.d(e,"v",(function(){return k})),n.d(e,"x",(function(){return Pt})),n.d(e,"y",(function(){return A})),n.d(e,"z",(function(){return Xt})),n.d(e,"A",(function(){return Yt})),n.d(e,"B",(function(){return Kt})),n.d(e,"C",(function(){return $t})),n.d(e,"D",(function(){return Qt}));var r=n(2),o=n(23),i=n(25),a=n(14),s=S(),l=function(t){return y(t,s)},c=S();l.write=function(t){return y(t,c)};var u=S();l.onStart=function(t){return y(t,u)};var d=S();l.onFrame=function(t){return y(t,d)};var f=S();l.onFinish=function(t){return y(t,f)};var p=[];l.setTimeout=function(t,e){var n=l.now()+e,r={time:n,handler:t,cancel:function t(){var e=p.findIndex((function(e){return e.cancel==t}));~e&&p.splice(e,1),m-=~e?1:0}};return p.splice(h(n),0,r),m+=1,x(),r};var h=function(t){return~(~p.findIndex((function(e){return e.time>t}))||~p.length)};l.cancel=function(t){u.delete(t),d.delete(t),f.delete(t),s.delete(t),c.delete(t)},l.sync=function(t){b=!0,l.batchedUpdates(t),b=!1},l.throttle=function(t){var e;function n(){try{t.apply(void 0,Object(a.a)(e))}finally{e=null}}function r(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];e=r,l.onStart(n)}return r.handler=t,r.cancel=function(){u.delete(n),e=null},r};var v="undefined"!=typeof window?window.requestAnimationFrame:function(){};l.use=function(t){return v=t},l.now="undefined"!=typeof performance?function(){return performance.now()}:Date.now,l.batchedUpdates=function(t){return t()},l.catch=console.error,l.frameLoop="always",l.advance=function(){"demand"!==l.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O()};var g=-1,m=0,b=!1;function y(t,e){b?(e.delete(t),t(0)):(e.add(t),x())}function x(){g<0&&(g=0,"demand"!==l.frameLoop&&v(w))}function w(){~g&&(v(w),l.batchedUpdates(O))}function O(){var t=g;g=l.now();var e=h(g);e&&(j(p.splice(0,e),(function(t){return t.handler()})),m-=e),m?(u.flush(),s.flush(t?Math.min(64,g-t):16.667),d.flush(),c.flush(),f.flush()):g=-1}function S(){var t=new Set,e=t;return{add:function(n){m+=e!=t||t.has(n)?0:1,t.add(n)},delete:function(n){return m-=e==t&&t.has(n)?1:0,t.delete(n)},flush:function(n){e.size&&(t=new Set,m-=e.size,j(e,(function(e){return e(n)&&t.add(e)})),m+=t.size,e=t)}}}function j(t,e){t.forEach((function(t){try{e(t)}catch(n){l.catch(n)}}))}var C=n(1);function k(){}var E=function(t,e,n){return Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})},P={arr:Array.isArray,obj:function(t){return!!t&&"Object"===t.constructor.name},fun:function(t){return"function"===typeof t},str:function(t){return"string"===typeof t},num:function(t){return"number"===typeof t},und:function(t){return void 0===t}};function _(t,e){if(P.arr(t)){if(!P.arr(e)||t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}return t===e}var M=function(t,e){return t.forEach(e)};function T(t,e,n){if(P.arr(t))for(var r=0;r<t.length;r++)e.call(n,t[r],"".concat(r));else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o)}var A=function(t){return P.und(t)?[]:P.arr(t)?t:[t]};function R(t,e){if(t.size){var n=Array.from(t);t.clear(),M(n,e)}}var D,I,N=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];return R(t,(function(t){return t.apply(void 0,n)}))},L=function(){return"undefined"===typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)},F=null,B=!1,z=k,H=function(t){t.to&&(I=t.to),t.now&&(l.now=t.now),void 0!==t.colors&&(F=t.colors),null!=t.skipAnimation&&(B=t.skipAnimation),t.createStringInterpolator&&(D=t.createStringInterpolator),t.requestAnimationFrame&&l.use(t.requestAnimationFrame),t.batchedUpdates&&(l.batchedUpdates=t.batchedUpdates),t.willAdvance&&(z=t.willAdvance),t.frameLoop&&(l.frameLoop=t.frameLoop)},V=Object.freeze({__proto__:null,get createStringInterpolator(){return D},get to(){return I},get colors(){return F},get skipAnimation(){return B},get willAdvance(){return z},assign:H}),U=new Set,W=[],q=[],G=0,Y={get idle(){return!U.size&&!W.length},start:function(t){G>t.priority?(U.add(t),l.onStart(X)):(K(t),l(Z))},advance:Z,sort:function(t){if(G)l.onFrame((function(){return Y.sort(t)}));else{var e=W.indexOf(t);~e&&(W.splice(e,1),$(t))}},clear:function(){W=[],U.clear()}};function X(){U.forEach(K),U.clear(),l(Z)}function K(t){W.includes(t)||$(t)}function $(t){W.splice(function(t,e){var n=t.findIndex(e);return n<0?t.length:n}(W,(function(e){return e.priority>t.priority})),0,t)}function Z(t){for(var e=q,n=0;n<W.length;n++){var r=W[n];G=r.priority,r.idle||(z(r),r.advance(t),r.idle||e.push(r))}return G=0,(q=W).length=0,(W=e).length>0}var Q={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},J="[-+]?\\d*\\.?\\d+",tt=J+"%";function et(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var nt=new RegExp("rgb"+et(J,J,J)),rt=new RegExp("rgba"+et(J,J,J,J)),ot=new RegExp("hsl"+et(J,tt,tt)),it=new RegExp("hsla"+et(J,tt,tt,J)),at=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,st=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,lt=/^#([0-9a-fA-F]{6})$/,ct=/^#([0-9a-fA-F]{8})$/;function ut(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}function dt(t,e,n){var r=n<.5?n*(1+e):n+e-n*e,o=2*n-r,i=ut(o,r,t+1/3),a=ut(o,r,t),s=ut(o,r,t-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function ft(t){var e=parseInt(t,10);return e<0?0:e>255?255:e}function pt(t){return(parseFloat(t)%360+360)%360/360}function ht(t){var e=parseFloat(t);return e<0?0:e>1?255:Math.round(255*e)}function vt(t){var e=parseFloat(t);return e<0?0:e>100?1:e/100}function gt(t){var e=function(t){var e;return"number"===typeof t?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=lt.exec(t))?parseInt(e[1]+"ff",16)>>>0:F&&void 0!==F[t]?F[t]:(e=nt.exec(t))?(ft(e[1])<<24|ft(e[2])<<16|ft(e[3])<<8|255)>>>0:(e=rt.exec(t))?(ft(e[1])<<24|ft(e[2])<<16|ft(e[3])<<8|ht(e[4]))>>>0:(e=at.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=ct.exec(t))?parseInt(e[1],16)>>>0:(e=st.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=ot.exec(t))?(255|dt(pt(e[1]),vt(e[2]),vt(e[3])))>>>0:(e=it.exec(t))?(dt(pt(e[1]),vt(e[2]),vt(e[3]))|ht(e[4]))>>>0:null}(t);if(null===e)return t;var n=(16711680&(e=e||0))>>>16,r=(65280&e)>>>8,o=(255&e)/255;return"rgba(".concat((4278190080&e)>>>24,", ").concat(n,", ").concat(r,", ").concat(o,")")}var mt=function t(e,n,r){if(P.fun(e))return e;if(P.arr(e))return t({range:e,output:n,extrapolate:r});if(P.str(e.output[0]))return D(e);var o=e,i=o.output,a=o.range||[0,1],s=o.extrapolateLeft||o.extrapolate||"extend",l=o.extrapolateRight||o.extrapolate||"extend",c=o.easing||function(t){return t};return function(t){var e=function(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}(t,a);return function(t,e,n,r,o,i,a,s,l){var c=l?l(t):t;if(c<e){if("identity"===a)return c;"clamp"===a&&(c=e)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===o)return r;if(e===n)return t<=e?r:o;e===-1/0?c=-c:n===1/0?c-=e:c=(c-e)/(n-e);c=i(c),r===-1/0?c=-c:o===1/0?c+=r:c=c*(o-r)+r;return c}(t,a[e],a[e+1],i[e],i[e+1],c,s,l,o.map)}};function bt(){return 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},bt.apply(this,arguments)}var yt=Symbol.for("FluidValue.get"),xt=Symbol.for("FluidValue.observers"),wt=function(t){return Boolean(t&&t[yt])},Ot=function(t){return t&&t[yt]?t[yt]():t},St=function(t){return t[xt]||null};function jt(t,e){var n=t[xt];n&&n.forEach((function(t){!function(t,e){t.eventObserved?t.eventObserved(e):t(e)}(t,e)}))}var Ct=Object(o.a)((function t(e){if(Object(i.a)(this,t),this[yt]=void 0,this[xt]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");kt(this,e)})),kt=function(t,e){return Mt(t,yt,e)};function Et(t,e){if(t[yt]){var n=t[xt];n||Mt(t,xt,n=new Set),n.has(e)||(n.add(e),t.observerAdded&&t.observerAdded(n.size,e))}return e}function Pt(t,e){var n=t[xt];if(n&&n.has(e)){var r=n.size-1;r?n.delete(e):t[xt]=null,t.observerRemoved&&t.observerRemoved(r,e)}}var _t,Mt=function(t,e,n){return Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})},Tt=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,At=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Rt=new RegExp("(".concat(Tt.source,")(%|[a-z]+)"),"i"),Dt=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,It=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Nt=function t(e){var n=Lt(e),o=Object(r.a)(n,2),i=o[0],a=o[1];if(!i||L())return e;var s=window.getComputedStyle(document.documentElement).getPropertyValue(i);if(s)return s.trim();if(a&&a.startsWith("--")){var l=window.getComputedStyle(document.documentElement).getPropertyValue(a);return l||e}return a&&It.test(a)?t(a):a||e},Lt=function(t){var e=It.exec(t);if(!e)return[,];var n=Object(r.a)(e,3);return[n[1],n[2]]},Ft=function(t,e,n,r,o){return"rgba(".concat(Math.round(e),", ").concat(Math.round(n),", ").concat(Math.round(r),", ").concat(o,")")},Bt=function(t){_t||(_t=F?new RegExp("(".concat(Object.keys(F).join("|"),")(?!\\w)"),"g"):/^\b$/);var e=t.output.map((function(t){return Ot(t).replace(It,Nt).replace(At,gt).replace(_t,gt)})),n=e.map((function(t){return t.match(Tt).map(Number)})),r=n[0].map((function(t,e){return n.map((function(t){if(!(e in t))throw Error('The arity of each "output" value must be equal');return t[e]}))})).map((function(e){return mt(bt({},t,{output:e}))}));return function(t){var n,o=!Rt.test(e[0])&&(null==(n=e.find((function(t){return Rt.test(t)})))?void 0:n.replace(Tt,"")),i=0;return e[0].replace(Tt,(function(){return"".concat(r[i++](t)).concat(o||"")})).replace(Dt,Ft)}},zt="react-spring: ",Ht=function(t){var e=t,n=!1;if("function"!=typeof e)throw new TypeError("".concat(zt,"once requires a function parameter"));return function(){n||(e.apply(void 0,arguments),n=!0)}},Vt=Ht(console.warn);function Ut(){Vt("".concat(zt,'The "interpolate" function is deprecated in v9 (use "to" instead)'))}var Wt=Ht(console.warn);function qt(){Wt("".concat(zt,'Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions'))}function Gt(t){return P.str(t)&&("#"==t[0]||/\d/.test(t)||!L()&&It.test(t)||t in(F||{}))}var Yt=L()?C.useEffect:C.useLayoutEffect;function Xt(){var t=Object(C.useState)()[1],e=function(){var t=Object(C.useRef)(!1);return Yt((function(){return t.current=!0,function(){t.current=!1}}),[]),t}();return function(){e.current&&t(Math.random())}}function Kt(t,e){var n=Object(C.useState)((function(){return{inputs:e,result:t()}})),o=Object(r.a)(n,1)[0],i=Object(C.useRef)(),a=i.current,s=a;s?Boolean(e&&s.inputs&&function(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}(e,s.inputs))||(s={inputs:e,result:t()}):s=o;return Object(C.useEffect)((function(){i.current=s,a==o&&(o.inputs=o.result=void 0)}),[s]),s.result}var $t=function(t){return Object(C.useEffect)(t,Zt)},Zt=[];function Qt(t){var e=Object(C.useRef)();return Object(C.useEffect)((function(){e.current=t})),e.current}},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a}));var r=n(354),o=n(219),i=function(t){return Object(r.b)(t)&&"classes"!==t},a=r.b,s=Object(r.a)({defaultTheme:o.a,rootShouldForwardProp:i});e.a=s},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(340);var o=n(399),i=n(218);function a(t){return function(t){if(Array.isArray(t))return Object(r.a)(t)}(t)||Object(o.a)(t)||Object(i.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";var r=n(728);e.a=r.a},function(t,e,n){t.exports=n(1029)()},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1155),o=n(219);function i(t){var e=t.props,n=t.name;return Object(r.a)({props:e,name:n,defaultTheme:o.a})}},function(t,e,n){"use strict";n.d(e,"i",(function(){return p})),n.d(e,"h",(function(){return h})),n.d(e,"g",(function(){return v})),n.d(e,"f",(function(){return g})),n.d(e,"j",(function(){return b})),n.d(e,"c",(function(){return y})),n.d(e,"b",(function(){return x})),n.d(e,"d",(function(){return w})),n.d(e,"e",(function(){return O})),n.d(e,"a",(function(){return S}));var r=n(90),o=n.n(r),i=n(59),a=n.n(i),s=n(203),l=n.n(s),c=n(505),u=n.n(c),d=n(226),f=n.n(d),p=function(t){return 0===t?0:t>0?1:-1},h=function(t){return f()(t)&&t.indexOf("%")===t.length-1},v=function(t){return u()(t)&&!l()(t)},g=function(t){return v(t)||f()(t)},m=0,b=function(t){var e=++m;return"".concat(t||"").concat(e)},y=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!v(t)&&!f()(t))return r;if(h(t)){var i=t.indexOf("%");n=e*parseFloat(t.slice(0,i))/100}else n=+t;return l()(n)&&(n=r),o&&n>e&&(n=e),n},x=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},w=function(t){if(!a()(t))return!1;for(var e=t.length,n={},r=0;r<e;r++){if(n[t[r]])return!0;n[t[r]]=!0}return!1},O=function(t,e){return v(t)&&v(e)?function(n){return t+n*(e-t)}:function(){return e}};function S(t,e,n){return t&&t.length?t.find((function(t){return t&&("function"===typeof e?e(t):o()(t,e))===n})):null}},,,function(t,e,n){var r,o,i;o="undefined"!==typeof window?window:this,i=function(t){function e(e,n,r,o){e.hasOwnProperty(n)||(e[n]=o.apply(null,r),"function"===typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}var n={};return e(n,"Core/Globals.js",[],(function(){var e,n;return(n=e||(e={})).SVG_NS="http://www.w3.org/2000/svg",n.product="Highcharts",n.version="10.2.0",n.win="undefined"!==typeof t?t:{},n.doc=n.win.document,n.svg=n.doc&&n.doc.createElementNS&&!!n.doc.createElementNS(n.SVG_NS,"svg").createSVGRect,n.userAgent=n.win.navigator&&n.win.navigator.userAgent||"",n.isChrome=-1!==n.userAgent.indexOf("Chrome"),n.isFirefox=-1!==n.userAgent.indexOf("Firefox"),n.isMS=/(edge|msie|trident)/i.test(n.userAgent)&&!n.win.opera,n.isSafari=!n.isChrome&&-1!==n.userAgent.indexOf("Safari"),n.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(n.userAgent),n.isWebKit=-1!==n.userAgent.indexOf("AppleWebKit"),n.deg2rad=2*Math.PI/360,n.hasBidiBug=n.isFirefox&&4>parseInt(n.userAgent.split("Firefox/")[1],10),n.hasTouch=!!n.win.TouchEvent,n.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],n.noop=function(){},n.supportsPassiveEvents=function(){var t=!1;if(!n.isMS){var e=Object.defineProperty({},"passive",{get:function(){t=!0}});n.win.addEventListener&&n.win.removeEventListener&&(n.win.addEventListener("testPassive",n.noop,e),n.win.removeEventListener("testPassive",n.noop,e))}return t}(),n.charts=[],n.dateFormats={},n.seriesTypes={},n.symbolSizes={},n.chartCount=0,e})),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(t){function e(n,r,o,i){var a=r?"Highcharts error":"Highcharts warning";32===n&&(n=a+": Deprecated member");var s=l(n),c=s?a+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if("undefined"!==typeof i){var u="";s&&(c+="?"),g(i,(function(t,e){u+="\n - ".concat(e,": ").concat(t),s&&(c+=encodeURI(e)+"="+encodeURI(t))})),c+=u}b(t,"displayError",{chart:o,code:n,message:c,params:i},(function(){if(r)throw Error(c);w.console&&-1===e.messages.indexOf(c)&&console.warn(c)})),e.messages.push(c)}function n(t,e){return parseInt(t,e||10)}function r(t){return"string"===typeof t}function o(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function i(t,e){return!!t&&"object"===typeof t&&(!e||!o(t))}function a(t){return i(t)&&"number"===typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!i(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"===typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function c(t){return"undefined"!==typeof t&&null!==t}function u(t,e,n){var o,i=r(e)&&!c(n),a=function(e,n){c(e)?t.setAttribute(n,e):i?(o=t.getAttribute(n))||"class"!==n||(o=t.getAttribute(n+"Name")):t.removeAttribute(n)};return r(e)?a(n,e):g(e,a),o}function d(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t}function f(){for(var t=arguments,e=t.length,n=0;n<e;n++){var r=t[n];if("undefined"!==typeof r&&null!==r)return r}}function p(e,n){t.isMS&&!t.svg&&n&&c(n.opacity)&&(n.filter="alpha(opacity=".concat(100*n.opacity,")")),d(e.style,n)}function h(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function v(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function g(t,e,n){for(var r in t)Object.hasOwnProperty.call(t,r)&&e.call(n||t[r],t[r],r,t)}function m(e,n,r){function o(n,r){var o=e.removeEventListener||t.removeEventListenerPolyfill;o&&o.call(e,n,r,!1)}function i(t){var r;if(e.nodeName){if(n){var i={};i[n]=!0}else i=t;g(i,(function(e,n){if(t[n])for(r=t[n].length;r--;)o(n,t[n][r].fn)}))}}var a="function"===typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;n?(a=s[n]||[],r?(s[n]=a.filter((function(t){return r!==t.fn})),o(n,r)):(i(s),s[n]=[])):(i(s),delete a.hcEvents)}}function b(e,n,r,o){if(r=r||{},x.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var i=x.createEvent("Events");i.initEvent(n,!0,!0),r=d(i,r),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent(n,r)}else if(e.hcEvents){r.target||d(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:n}),i=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[n]&&(i.length&&(s=!0),i.unshift.apply(i,a.hcEvents[n])),a=Object.getPrototypeOf(a);s&&i.sort((function(t,e){return t.order-e.order})),i.forEach((function(t){!1===t.fn.call(e,r)&&r.preventDefault()}))}o&&!r.defaultPrevented&&o.call(e,r)}var y=t.charts,x=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var O=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,r=t.length;for(n=0;n<r;n++)if(e(t[n],n))return t[n]};g({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,r){t[r]=function(t){var o;return e(32,!1,void 0,((o={})["Highcharts.".concat(r)]="use Array.".concat(n),o)),Array.prototype[n].apply(t,[].slice.call(arguments,1))}}));var S,j=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(S?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[r(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):y[u(this[0],"data-highcharts-chart")]}),O={addEvent:function(e,n,r,o){void 0===o&&(o={});var i="function"===typeof e&&e.prototype||e;Object.hasOwnProperty.call(i,"hcEvents")||(i.hcEvents={}),i=i.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,n,r,!!t.supportsPassiveEvents&&{passive:void 0===o.passive?-1!==n.indexOf("touch"):o.passive,capture:!1}),i[n]||(i[n]=[]),i[n].push({fn:r,order:"number"===typeof o.order?o.order:1/0}),i[n].sort((function(t,e){return t.order-e.order})),function(){m(e,n,r)}},arrayMax:function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},attr:u,clamp:function(t,e,n){return t>e?t<n?t:n:e},cleanRecursively:function t(e,n){var r={};return g(e,(function(o,a){i(e[a],!0)&&!e.nodeType&&n[a]?(o=t(e[a],n[a]),Object.keys(o).length&&(r[a]=o)):(i(e[a])||e[a]!==n[a]||a in e&&!(a in n))&&(r[a]=e[a])})),r},clearTimeout:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){c(t)&&clearTimeout(t)})),correctFloat:v,createElement:function(t,e,n,r,o){return t=x.createElement(t),e&&d(t,e),o&&p(t,{padding:"0",border:"none",margin:"0"}),n&&p(t,n),r&&r.appendChild(t),t},css:p,defined:c,destroyObjectProperties:function(t,e){g(t,(function(n,r){n&&n!==e&&n.destroy&&n.destroy(),delete t[r]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},error:e,extend:d,extendClass:function(t,e){var n=function(){};return d(n.prototype=new t,e),n},find:O,fireEvent:b,getMagnitude:h,getNestedProperty:function(t,e){for(t=t.split(".");t.length&&c(e);){var n=t.shift();if("undefined"===typeof n||"__proto__"===n)return;if(!c(e=e[n])||"function"===typeof e||"number"===typeof e.nodeType||e===w)return}return e},getStyle:function r(o,i,a){var s=t.getStyle||r;if("width"===i)return i=Math.min(o.offsetWidth,o.scrollWidth),(a=o.getBoundingClientRect&&o.getBoundingClientRect().width)<i&&a>=i-1&&(i=Math.floor(a)),Math.max(0,i-(s(o,"padding-left",!0)||0)-(s(o,"padding-right",!0)||0));if("height"===i)return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(s(o,"padding-top",!0)||0)-(s(o,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),o=w.getComputedStyle(o,void 0)){var l=o.getPropertyValue(i);f(a,"opacity"!==i)&&(l=n(l))}return l},inArray:function(t,n,r){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,r)},isArray:o,isClass:s,isDOMElement:a,isFunction:function(t){return"function"===typeof t},isNumber:l,isObject:i,isString:r,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,n={},r=function t(e,n){return"object"!==typeof e&&(e={}),g(n,(function(r,o){"__proto__"!==o&&"constructor"!==o&&(!i(r,!0)||s(r)||a(r)?e[o]=n[o]:e[o]=t(e[o]||{},r))})),e};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;t<o;t++)n=r(n,e[t]);return n},normalizeTickInterval:function(t,e,n,r,o){var i=t,a=t/(n=f(n,h(t)));for(e||(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===n?e=e.filter((function(t){return 0===t%1})):.1>=n&&(e=[1/n]))),r=0;r<e.length&&(i=e[r],!(o&&i*n>=t||!o&&a<=(e[r]+(e[r+1]||e[r]))/2));r++);return v(i*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(t){var e=x.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:f,pInt:n,relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:m,splat:function(t){return o(t)?t:[t]},stableSort:function(t,e){var n,r,o=t.length;for(r=0;r<o;r++)t[r].safeI=r;for(t.sort((function(t,r){return 0===(n=e(t,r))?t.safeI-r.safeI:n})),r=0;r<o;r++)delete t[r].safeI},syncTimeout:function(t,e,n){return 0<e?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:j,useSerialIds:function(t){return S=f(t,S)},wrap:function(t,e,n){var r=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,o=this;return o.proceed=function(){r.apply(o,arguments.length?arguments:e)},t.unshift(r),t=n.apply(this,t),o.proceed=null,t}}},O})),e(n,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.isNumber,r=e.merge,o=e.pInt;return e=function(){function e(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var r=t.Color;return r&&r!==e?new r(n):this instanceof e?void this.init(n):new e(n)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var n;if("object"===typeof t&&"undefined"!==typeof t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"===typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var r=t.length,o=parseInt(t.substr(1),16);7===r?n=[(16711680&o)>>16,(65280&o)>>8,255&o,1]:4===r&&(n=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])}if(!n)for(o=e.parsers.length;o--&&!n;){var i=e.parsers[o];(r=i.regex.exec(t))&&(n=i.parse(r))}}n&&(this.rgba=n)},e.prototype.get=function(t){var e=this.input,o=this.rgba;if("object"===typeof e&&"undefined"!==typeof this.stops){var i=r(e);return i.stops=[].slice.call(i.stops),this.stops.forEach((function(e,n){i.stops[n]=[i.stops[n][0],e.get(t)]})),i}return o&&n(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?"".concat(o[3]):"rgba("+o.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(var r=0;3>r;r++)e[r]+=o(255*t),0>e[r]&&(e[r]=0),255<e[r]&&(e[r]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var r=this.rgba,o=t.rgba;return n(r[0])&&n(o[0])?((t=1!==o[3]||1!==r[3])?"rgba(":"rgb(")+Math.round(o[0]+(r[0]-o[0])*(1-e))+","+Math.round(o[1]+(r[1]-o[1])*(1-e))+","+Math.round(o[2]+(r[2]-o[2])*(1-e))+(t?","+(o[3]+(r[3]-o[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],e.None=new e(""),e}(),e})),e(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.win,r=e.defined,o=e.error,i=e.extend,a=e.isObject,s=e.merge,l=e.objectEach,c=e.pad,u=e.pick,d=e.splat,f=e.timeUnits,p=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,h=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var n=e.getTime(),r=n-this.getTimezoneOffset(e);return e.setTime(r),t=e["getUTC"+t](),e.setTime(n),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0===this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](n);var r=this.getTimezoneOffset(e);return r=e.getTime()-r,e.setTime(r),e["setUTC"+t](n),t=this.getTimezoneOffset(e),r=e.getTime()+t,e.setTime(r)}return this.useUTC||p&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)},e.prototype.update=function(t){var e=u(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,n,r,o,i){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var l=this.getTimezoneOffset(a);s!==l?a+=l-s:s-36e5!==this.getTimezoneOffset(a-36e5)||h||(a-=36e5)}else a=new this.Date(t,e,u(n,1),u(r,0),u(o,0),u(i,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,r=e.getTimezoneOffset,i=e.moment||n.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(i)return function(t){return 6e4*-i.tz(t,e.timezone).utcOffset()};o(25)}return this.useUTC&&r?function(t){return 6e4*r(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,n,o){if(!r(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=u(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(n),d=this.get("Hours",s),f=this.get("Day",s),p=this.get("Date",s),h=this.get("Month",s),v=this.get("FullYear",s),g=t.defaultOptions.lang,m=g&&g.weekdays,b=g&&g.shortWeekdays;return s=i({a:b?b[f]:m[f].substr(0,3),A:m[f],d:c(p),e:c(p,2," "),w:f,b:g.shortMonths[h],B:g.months[h],m:c(h+1),o:h+1,y:v.toString().substr(2,2),Y:v,H:c(d),k:d,I:c(d%12||12),l:d%12||12,M:c(this.get("Minutes",s)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},t.dateFormats),l(s,(function(t,r){for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"===typeof t?t.call(a,n):t)})),o?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,n,o){var a,s=this,l=[],c={},d=new s.Date(e),p=t.unitRange,h=t.count||1;if(o=u(o,1),r(e)){if(s.set("Milliseconds",d,p>=f.second?0:h*Math.floor(s.get("Milliseconds",d)/h)),p>=f.second&&s.set("Seconds",d,p>=f.minute?0:h*Math.floor(s.get("Seconds",d)/h)),p>=f.minute&&s.set("Minutes",d,p>=f.hour?0:h*Math.floor(s.get("Minutes",d)/h)),p>=f.hour&&s.set("Hours",d,p>=f.day?0:h*Math.floor(s.get("Hours",d)/h)),p>=f.day&&s.set("Date",d,p>=f.month?1:Math.max(1,h*Math.floor(s.get("Date",d)/h))),p>=f.month){s.set("Month",d,p>=f.year?0:h*Math.floor(s.get("Month",d)/h));var v=s.get("FullYear",d)}p>=f.year&&s.set("FullYear",d,v-v%h),p===f.week&&(v=s.get("Day",d),s.set("Date",d,s.get("Date",d)-v+o+(v<o?-7:0))),v=s.get("FullYear",d),o=s.get("Month",d);var g=s.get("Date",d),m=s.get("Hours",d);for(e=d.getTime(),!s.variableTimezone&&s.useUTC||!r(n)||(a=n-e>4*f.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(n)),e=d.getTime(),d=1;e<n;)l.push(e),e=p===f.year?s.makeTime(v+d*h,0):p===f.month?s.makeTime(v,o+d*h):!a||p!==f.day&&p!==f.week?a&&p===f.hour&&1<h?s.makeTime(v,o,g,m+d*h):e+p*h:s.makeTime(v,o,g+d*h*(p===f.day?1:7)),d++;l.push(e),p<=f.hour&&1e4>l.length&&l.forEach((function(t){0===t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(c[t]="day")}))}return l.info=i(t,{higherRanks:c,totalRange:p*h}),l},e.prototype.getDateFormat=function(t,e,n,r){var o=this.dateFormat("%m-%d %H:%M:%S.%L",e),i={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in f){if(t===f.week&&+this.dateFormat("%w",e)===n&&"00:00:00.000"===o.substr(6)){var s="week";break}if(f[s]>t){s=a;break}if(i[s]&&o.substr(i[s])!=="01-01 00:00:00.000".substr(i[s]))break;"week"!==s&&(a=s)}return this.resolveDTLFormat(r[s]).main},e}(),e})),e(n,"Core/DefaultOptions.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i){e=e.parse;var a=i.merge,s={colors:r.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new o(a(s.global,s.time));return t={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(n.time?n.time.update(a(s.global,s.time,t.global,t.time)):n.time=l),s}}})),e(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=t.parse,o=e.win,i=n.isNumber,a=n.objectEach;return function(){function t(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=this.now||0,r=[];if(1!==n&&e&&t)if(e.length===t.length&&1>n)for(var o=0;o<t.length;o++){for(var a=e[o],s=t[o],l=[],c=0;c<s.length;c++){var u=a[c],d=s[c];i(u)&&i(d)&&("A"!==s[0]||4!==c&&5!==c)?l[c]=u+n*(d-u):l[c]=d}r.push(l)}else r=t;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,n=this.now,r=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,r&&r.call(t,n,this)},t.prototype.run=function(e,n,r){var i=this,a=i.options,s=function t(e){return!t.stopped&&i.step(e)},l=o.requestAnimationFrame||function(t){setTimeout(t,13)};e!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=n,this.unit=r,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&l((function e(){for(var n=0;n<t.timers.length;n++)t.timers[n]()||t.timers.splice(n--,1);t.timers.length&&l(e)}))):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,n=this.options,r=this.elem,o=n.complete,i=n.duration,s=n.curAnim;if(r.attr&&!r.element)t=!1;else if(t||e>=i+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,(function(t){!0!==t&&(l=!1)})),l&&o&&o.call(r),t=!1}else this.pos=n.easing((e-this.startTime)/i),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,n){function r(t,e){for(;t.length<f;){var n=t[0],r=e[f-t.length];r&&"M"===n[0]&&(t[0]="C"===r[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),t.unshift(n),l&&(n=t.pop(),t.push(t[t.length-1],n))}}function o(t,e){for(;t.length<f;)if("C"===(e=t[Math.floor(t.length/c)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var n=t[Math.floor(t.length/c)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}var a=t.startX,s=t.endX;n=n.slice();var l=t.isArea,c=l?2:1;if(!(e=e&&e.slice()))return[n,n];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var u=t;break}if(a[0]===s[s.length-a.length+t]){u=t;var d=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){u=a.length-t;break}}"undefined"===typeof u&&(e=[])}if(e.length&&i(u)){var f=n.length+u*c;d?(r(e,n),o(n,e)):(r(n,e),o(e,n))}return[e,n]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,r(this.start).tweenTo(r(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(t,e){function n(t){return l(t)?c({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function r(e,n){for(var r=t.timers.length;r--;)t.timers[r].elem!==e||n&&n!==t.timers[r].prop||(t.timers[r].stopped=!0)}var o=e.defined,i=e.getStyle,a=e.isArray,s=e.isNumber,l=e.isObject,c=e.merge,u=e.objectEach,d=e.pick;return{animate:function(e,n,o){var d,f,p,h="";if(!l(o)){var v=arguments;o={duration:v[2],easing:v[3],complete:v[4]}}s(o.duration)||(o.duration=400),o.easing="function"===typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=c(n),u(n,(function(s,l){r(e,l),p=new t(e,o,l),f=void 0,"d"===l&&a(n.d)?(p.paths=p.initPath(e,e.pathArray,n.d),p.toD=n.d,d=0,f=1):e.attr?d=e.attr(l):(d=parseFloat(i(e,l))||0,"opacity"!==l&&(h="px")),f||(f=s),"string"===typeof f&&f.match("px")&&(f=f.replace(/px/g,"")),p.run(d,f,h)}))},animObject:n,getDeferredAnimation:function(t,e,r){var i=n(e),a=0,s=0;return(r?[r]:t.series).forEach((function(t){t=n(t.options.animation),a=e&&o(e.defer)?i.defer:Math.max(a,t.duration+t.defer),s=Math.min(i.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=d(t,e.options.chart.animation,!0)},stop:r}})),e(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.SVG_NS,r=e.attr,o=e.createElement,i=e.css,a=e.error,s=e.isFunction,l=e.isString,c=e.objectEach,u=e.splat,d=(e=t.win.trustedTypes)&&s(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),f=d?d.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(f,"text/html")}catch(h){p=!1}return s=function(){function e(t){this.nodes="string"===typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return c(t,(function(n,r){var o=!0;-1===e.allowedAttributes.indexOf(r)&&(o=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(r)&&(o=l(n)&&e.allowedReferences.some((function(t){return 0===n.indexOf(t)}))),o||(a(33,!1,void 0,{"Invalid attribute in config":"".concat(r)}),delete t[r])})),t},e.parseStyle=function(t){return t.split(";").reduce((function(t,e){e=e.split(":").map((function(t){return t.trim()}));var n=e.shift();return n&&e.length&&(t[n.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))]=e.join(":")),t}),{})},e.setElementHTML=function(t,n){t.innerHTML=e.emptyHTML,n&&new e(n).addToDOM(t)},e.prototype.addToDOM=function(o){return function o(s,l){var d;return u(s).forEach((function(s){var u=s.tagName,f=s.textContent?t.doc.createTextNode(s.textContent):void 0,p=e.bypassHTMLFiltering;if(u)if("#text"===u)var h=f;else if(-1!==e.allowedTags.indexOf(u)||p){u=t.doc.createElementNS("svg"===u?n:l.namespaceURI||n,u);var v=s.attributes||{};c(s,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(v[e]=t)})),r(u,p?v:e.filterUserAttributes(v)),s.style&&i(u,s.style),f&&u.appendChild(f),o(s.children||[],u),h=u}else a(33,!1,void 0,{"Invalid tagName in config":u});h&&l.appendChild(h),d=h})),d}(this.nodes,o)},e.prototype.parseMarkup=function(t){var n=[];if(t=t.trim().replace(/ style="/g,' data-style="'),p)t=(new DOMParser).parseFromString(d?d.createHTML(t):t,"text/html");else{var r=o("div");r.innerHTML=t,t={body:r}}var i=function t(n,r){var o=n.nodeName.toLowerCase(),i={tagName:o};if("#text"===o&&(i.textContent=n.textContent||""),o=n.attributes){var a={};[].forEach.call(o,(function(t){"data-style"===t.name?i.style=e.parseStyle(t.value):a[t.name]=t.value})),i.attributes=a}if(n.childNodes.length){var s=[];[].forEach.call(n.childNodes,(function(e){t(e,s)})),s.length&&(i.children=s)}r.push(i)};return[].forEach.call(t.body.childNodes,(function(t){return i(t,n)})),n},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=f,e.bypassHTMLFiltering=!1,e}(),s})),e(n,"Core/FormatUtilities.js",[n["Core/DefaultOptions.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e,n,o){t=+t||0,e=+e;var i=r.lang,c=(t.toString().split(".")[1]||"").split("e")[0].length,u=t.toString().split("e"),d=e;if(-1===e)e=Math.min(c,20);else if(a(e)){if(e&&u[1]&&0>u[1]){var f=e+ +u[1];0<=f?(u[0]=(+u[0]).toExponential(f).split("e")[0],e=f):(u[0]=u[0].split(".")[0]||0,t=20>e?(u[0]*Math.pow(10,u[1])).toFixed(e):0,u[1]=0)}}else e=2;f=(Math.abs(u[1]?u[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e);var p=3<(c=String(l(f))).length?c.length%3:0;return n=s(n,i.decimalPoint),o=s(o,i.thousandsSep),t=(0>t?"-":"")+(p?c.substr(0,p)+o:""),t=0>+u[1]&&!d?"0":t+c.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(t+=n+f.slice(-e)),u[1]&&0!==+t&&(t+="e"+u[1]),t}var r=t.defaultOptions,o=t.defaultTime,i=e.getNestedProperty,a=e.isNumber,s=e.pick,l=e.pInt;return{dateFormat:function(t,e,n){return o.dateFormat(t,e,n)},format:function(t,e,a){var s="{",l=!1,c=/f$/,u=/\.([0-9])/,d=r.lang,f=a&&a.time||o;a=a&&a.numberFormatter||n;for(var p=[];t;){var h=t.indexOf(s);if(-1===h)break;var v=t.slice(0,h);if(l){if(v=v.split(":"),s=i(v.shift()||"",e),v.length&&"number"===typeof s)if(v=v.join(":"),c.test(v)){var g=parseInt((v.match(u)||["","-1"])[1],10);null!==s&&(s=a(s,g,d.decimalPoint,-1<v.indexOf(",")?d.thousandsSep:""))}else s=f.dateFormat(v,s);p.push(s)}else p.push(v);t=t.slice(h+1),s=(l=!l)?"}":"{"}return p.push(t),p.join("")},numberFormat:n}})),e(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.clamp,r=t.pick,o=t.stableSort;return function(t){t.distribute=function t(e,i,a){var s,l=e,c=l.reducedLen||i,u=function(t,e){return(e.rank||0)-(t.rank||0)},d=function(t,e){return t.target-e.target},f=!0,p=[],h=0;for(s=e.length;s--;)h+=e[s].size;if(h>c){for(o(e,u),h=s=0;h<=c;)h+=e[s].size,s++;p=e.splice(s-1,e.length)}for(o(e,d),e=e.map((function(t){return{size:t.size,targets:[t.target],align:r(t.align,.5)}}));f;){for(s=e.length;s--;)c=e[s],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(u-c.size*c.align,0,i-c.size);for(s=e.length,f=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>i&&(e[s-1].pos=i-e[s-1].size),e.splice(s,1),f=!0)}return l.push.apply(l,p),s=0,e.some((function(e){var n=0;return(e.targets||[]).some((function(){return l[s].pos=e.pos+n,"undefined"!==typeof a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach((function(t){return delete t.pos})),l.reducedLen=(l.reducedLen||i)-.1*i,l.reducedLen>.1*i&&t(l,i,a),!0):(n+=l[s].size,s++,!1)}))})),o(l,d),l}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i=t.animate,a=t.animObject,s=t.stop,l=r.deg2rad,c=r.doc,u=r.noop,d=r.svg,f=r.SVG_NS,p=r.win,h=o.addEvent,v=o.attr,g=o.createElement,m=o.css,b=o.defined,y=o.erase,x=o.extend,w=o.fireEvent,O=o.isArray,S=o.isFunction,j=o.isNumber,C=o.isString,k=o.merge,E=o.objectEach,P=o.pick,_=o.pInt,M=o.syncTimeout,T=o.uniqueKey;return t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=f,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=P(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var r=this.zIndexSetter();return r||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "),t!==n&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,n){var r,o,i,a={},s=this.renderer,l=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||C(n))&&(this.alignTo=r=n||"renderer",y(l,this),l.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,r=this.alignTo),n=P(n,s[r],"scrollablePlotBox"===r?s.plotBox:void 0,s),r=t.align;var c=t.verticalAlign;return s=(n.x||0)+(t.x||0),l=(n.y||0)+(t.y||0),"right"===r?o=1:"center"===r&&(o=2),o&&(s+=(n.width-(t.width||0))/o),a[e?"translateX":"x"]=Math.round(s),"bottom"===c?i=1:"middle"===c&&(i=2),i&&(l+=(n.height-(t.height||0))/i),a[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,n){var r=this,o=a(P(e,this.renderer.globalAnimation,!0));return e=o.defer,P(c.hidden,c.msHidden,c.webkitHidden,!1)&&(o.duration=0),0!==o.duration?(n&&(o.complete=n),M((function(){r.element&&i(r,t,o)}),e)):(this.attr(t,void 0,n||o.complete),E(t,(function(t,e){o.step&&o.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var n=t.split(" ");if(t=n[n.length-1],(n=n[0])&&"none"!==n&&r.svg){this.fakeTS=!0,this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();var o=c.createElementNS(f,"tspan");v(o,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":n,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),o.appendChild(e)}));var i=c.createElementNS(f,"tspan");i.textContent="\u200b",["x","y"].forEach((function(t){var n=e.getAttribute(t);n&&i.setAttribute(t,n)})),o.appendChild(i),e.insertBefore(o,e.firstChild)}},t.prototype.attr=function(t,e,n,r){var o,i,a,l=this.element,c=this.symbolCustomAttribs,u=this;if("string"===typeof t&&"undefined"!==typeof e){var d=t;(t={})[d]=e}return"string"===typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(E(t,(function(e,n){i=!1,r||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),i=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),i||((a=this[n+"Setter"]||this._defaultSetter).call(this,e,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,a))}),this),this.afterSetters()),n&&n.call(this),u},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),b(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,r){var o,i,a,s,l,c,u,d,f,p,h,v=this.renderer,g=[];w(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?i="radialGradient":t.linearGradient&&(i="linearGradient"),i){if(a=t[i],l=v.gradients,c=t.stops,f=r.radialReference,O(a)&&(t[i]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===i&&f&&!b(a.gradientUnits)&&(s=a,a=k(a,v.getRadialAttr(f,s),{gradientUnits:"userSpaceOnUse"})),E(a,(function(t,e){"id"!==e&&g.push(e,t)})),E(c,(function(t){g.push(t)})),g=g.join(","),l[g])p=l[g].attr("id");else{a.id=p=T();var m=l[g]=v.createElement(i).attr(a).add(v.defs);m.radAttr=s,m.stops=[],c.forEach((function(t){0===t[1].indexOf("rgba")?(o=n.parse(t[1]),u=o.get("rgb"),d=o.get("a")):(u=t[1],d=1),t=v.createElement("stop").attr({offset:t[0],"stop-color":u,"stop-opacity":d}).add(m),m.stops.push(t)}))}h="url("+v.url+"#"+p+")",r.setAttribute(e,h),r.gradient=g,t.toString=function(){return h}}}))},t.prototype.css=function(t){var e=this.styles,n={},r=this.element,o=!e;if(t.color&&(t.fill=t.color),e&&E(t,(function(t,r){e&&e[r]!==t&&(n[r]=t,o=!0)})),o){if(e&&(t=x(e,n)),null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===r.nodeName.toLowerCase()&&t.width)var i=this.textWidth=_(t.width);this.styles=t,i&&!d&&this.renderer.forExport&&delete t.width;var a=k(t);r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(t){return a&&delete a[t]})),m(r,a),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+_(n[t])*P(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,r=e.ownerSVGElement,o=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&r){var i=t.clipPath;[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(i.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=i.destroy()}if(t.stops){for(r=0;r<t.stops.length;r++)t.stops[r].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),n.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&y(n.alignedObjects,t),E(t,(function(e,n){t[n]&&t[n].parentGroup===t&&t[n].destroy&&t[n].destroy(),delete t[n]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var n=t.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&n.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)n.appendChild(t[0]);n.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,n){O(t)&&("string"===typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,n){return e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:P(t,150),complete:function(){e.hide()}})},t.prototype.fillSetter=function(t,e,n){"string"===typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)},t.prototype.getBBox=function(e,n){var r=this.alignValue,o=this.element,i=this.renderer,a=this.styles,s=this.textStr,c=i.cache,u=i.cacheKeys,d=o.namespaceURI===this.SVG_NS;n=P(n,this.rotation,0);var f,p=i.styledMode?o&&t.prototype.getStyle.call(o,"font-size"):a&&a.fontSize;if(b(s)){var h=s.toString();-1===h.indexOf("<")&&(h=h.replace(/[0-9]/g,"0")),h+=["",n,p,this.textWidth,r,a&&a.textOverflow,a&&a.fontWeight].join()}if(h&&!e&&(f=c[h]),!f){if(d||i.forExport){try{var v=this.fakeTS&&function(t){var e=o.querySelector(".highcharts-text-outline");e&&m(e,{display:t})};S(v)&&v("none"),f=o.getBBox?x({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight},S(v)&&v("")}catch(y){}(!f||0>f.width)&&(f={x:0,y:0,width:0,height:0})}else f=this.htmlGetBBox();if(i.isSVG&&(i=f.width,e=f.height,d&&(f.height=e={"11px,17":14,"13px,20":16}[""+(p||"")+",".concat(Math.round(e))]||e),n)){d=Number(o.getAttribute("y")||0)-f.y,r={right:1,center:.5}[r||0]||0,a=n*l,p=(n-90)*l;var g=i*Math.cos(a);n=i*Math.sin(a),v=Math.cos(p),a=Math.sin(p),g=(v=(p=(i=f.x+r*(i-g)+d*v)+g)-e*v)-g,n=(e=(r=(d=f.y+d-r*n+d*a)+n)-e*a)-n,f.x=Math.min(i,p,v,g),f.y=Math.min(d,r,e,n),f.width=Math.max(i,p,v,g)-f.x,f.height=Math.max(d,r,e,n)-f.y}if(h&&(""===s||0<f.height)){for(;250<u.length;)delete c[u.shift()];c[h]||u.push(h),c[h]=f}}return f},t.prototype.getStyle=function(t){return p.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(){return this.attr({visibility:"hidden"})},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?g(e):c.createElementNS(this.SVG_NS,e),this.renderer=t,w(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var n=this.onEvents;return n[t]&&n[t](),n[t]=h(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,n){this.opacity=t=Number(Number(t).toFixed(3)),n.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(C(t)?new RegExp("(^| )".concat(t,"( |$)")):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,n){var r=this.element,o=this.text?this.text.element:r,i={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,l=!s;n=k(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},n);var c=e.filterUserAttributes(n.attributes);if(t&&n&&n.enabled){s&&null===s.element.parentNode?(l=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var d=s.element;if((n=t.element.getAttribute("id"))||t.element.setAttribute("id",n=T()),l)for(o.setAttribute("y",0),j(c.dx)&&o.setAttribute("x",-c.dx),t=[].slice.call(o.childNodes),l=0;l<t.length;l++){var f=t[l];f.nodeType!==p.Node.TEXT_NODE&&"tspan"!==f.nodeName||d.appendChild(f)}a&&s&&s.add({element:o}),d.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+n),b(c.dy)&&(d.parentNode.setAttribute("dy",c.dy),delete c.dy),b(c.dx)&&(d.parentNode.setAttribute("dx",c.dx),delete c.dx),E(c,(function(t,e){d.setAttribute(i[e]||e,t)})),r.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=u}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(r,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,n){var r,o=[],i=this.element,a=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===t?r=s:"object"===typeof t&&(r=x(s,t)),r&&(r&&a&&E(r,(function(t,e){t!==a[e]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=r),r){if(!this.shadows){var c=r.opacity/r.width,u=this.parentInverted?"translate(".concat(r.offsetY,", ").concat(r.offsetX,")"):"translate(".concat(r.offsetX,", ").concat(r.offsetY,")");for(s=1;s<=r.width;s++){var d=i.cloneNode(!1),f=2*r.width+1-2*s;v(d,{stroke:t.color||"#000000","stroke-opacity":c*s,"stroke-width":f,transform:u,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),n&&(v(d,"height",Math.max(v(d,"height")-f,0)),d.cutHeight=f),e?e.element.appendChild(d):i.parentNode&&i.parentNode.insertBefore(d,i),o.push(d)}this.shadows=o}}else this.destroyShadows();return this},t.prototype.show=function(t){return void 0===t&&(t=!0),this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,n,r){this[n]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",r),r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===e&&this.hasStroke?(r.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=_(t);else if(""!==t){var n=c.createElementNS(f,"rect");v(n,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(n),e=n.getBBox().width,n.parentNode.removeChild(n)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){e[n]=P(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,n=e.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=String(P(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var r=this.shadows;if(r)for(var o=r.length;o--;)n.call(r[o],"height"===t?Math.max(e-(r[o].cutHeight||0),0):"d"===t?this.d:e,t,r[o])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,n=this.inverted,r=this.rotation,o=this.matrix,i=this.element,a=this.translateX||0,s=this.translateY||0;n&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],b(o)&&a.push("matrix("+o.join(",")+")"),n?a.push("rotate(90) scale(-1,1)"):r&&a.push("rotate("+r+" "+P(this.rotationOriginX,i.getAttribute("x"),0)+" "+P(this.rotationOriginY,i.getAttribute("y")||0)+")"),(b(t)||b(e))&&a.push("scale("+P(t,1)+" "+P(e,1)+")"),a.length&&i.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,r=this.parentGroup,o=(r||n).element||n.box,i=this.element;n=o===n.box;var a,s=!1,l=this.added;if(b(t)?(i.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):b(this[e])&&i.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&r&&(r.handleZ=!0),a=(e=o.childNodes).length-1;0<=a&&!s;a--){l=(r=e[a]).getAttribute("data-z-index");var c=!b(l);r!==i&&(0>t&&c&&!n&&!a?(o.insertBefore(i,e[a]),s=!0):(_(l)<=t||c&&(!b(t)||0<=t))&&(o.insertBefore(i,e[a+1]||null),s=!0))}s||(o.insertBefore(i,e[n?3:0]||null),s=!0)}return s},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(t){var e;return function(e){var n;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=n),e.rendererTypes[t]||e.rendererTypes[n]},e.registerRendererType=function(r,o,i){e.rendererTypes[r]=o,n&&!i||(n=r,t.Renderer=o)}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e.defined,o=e.extend,i=e.isNumber,a=e.merge,s=e.pick,l=e.removeEvent;return function(e){function c(t,n,r,o,i,a,s,l,u,d){var f,p=e.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=n,p.x=r,p.y=o,p.anchorX=a,p.anchorY=s,p.baseline=u,p.className=d,p.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&p.addClass("highcharts-"+d),p.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"===typeof i&&((f=/^url\((.*?)\)$/.test(i))||p.renderer.symbols[i])&&(p.symbolKey=i),p.bBox=c.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||f,p.deferredAttr={},p.alignFactor=0,p}return n(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var n={};e=a(e),c.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(n[t]=e[t],delete e[t])})),this.text.css(n);var r="width"in n;"fontSize"in n||"fontWeight"in n?this.updateTextPadding():r&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t,e){i(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},n=this.padding,a=this.bBox=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!r(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*n,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=n+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((n=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),n.add(this)),n=this.getCrispAdjust(),e.x=n,e.y=(this.baseline?-this.baselineOffset:0)+n,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(o(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!==typeof e&&t.attr("y",e)),t.x=n,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=i(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)})),e(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(t){function e(t,e,n,r,i){var s=[];if(i){var l=i.start||0,c=a(i.r,n);n=a(i.r,r||n);var u=(i.end||0)-.001;r=i.innerR;var d=a(i.open,.001>Math.abs((i.end||0)-l-2*Math.PI)),f=Math.cos(l),p=Math.sin(l),h=Math.cos(u),v=Math.sin(u);l=a(i.longArc,.001>u-l-Math.PI?0:1),s.push(["M",t+c*f,e+n*p],["A",c,n,0,l,a(i.clockwise,1),t+c*h,e+n*v]),o(r)&&s.push(d?["M",t+r*h,e+r*v]:["L",t+r*h,e+r*v],["A",r,r,0,l,o(i.clockwise)?1-i.clockwise:0,t+r*f,e+r*p]),d||s.push(["Z"])}return s}function n(t,e,n,o,i){return i&&i.r?r(t,e,n,o,i):[["M",t,e],["L",t+n,e],["L",t+n,e+o],["L",t,e+o],["Z"]]}function r(t,e,n,r,o){return[["M",t+(o=o&&o.r||0),e],["L",t+n-o,e],["C",t+n,e,t+n,e,t+n,e+o],["L",t+n,e+r-o],["C",t+n,e+r,t+n,e+r,t+n-o,e+r],["L",t+o,e+r],["C",t,e+r,t,e+r,t,e+r-o],["L",t,e+o],["C",t,e,t,e,t+o,e]]}var o=t.defined,i=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,n,o,a){var s=Math.min(a&&a.r||0,n,o),l=s+6,c=a&&a.anchorX;a=a&&a.anchorY||0;var u=r(t,e,n,o,{r:s});return i(c)?(t+c>=n?a>e+l&&a<e+o-l?u.splice(3,1,["L",t+n,a-6],["L",t+n+6,a],["L",t+n,a+6],["L",t+n,e+o-s]):u.splice(3,1,["L",t+n,o/2],["L",c,a],["L",t+n,o/2],["L",t+n,e+o-s]):0>=t+c?a>e+l&&a<e+o-l?u.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):u.splice(7,1,["L",t,o/2],["L",c,a],["L",t,o/2],["L",t,e+s]):a&&a>o&&c>t+l&&c<t+n-l?u.splice(5,1,["L",c+6,e+o],["L",c,e+o+6],["L",c-6,e+o],["L",t+s,e+o]):a&&0>a&&c>t+l&&c<t+n-l&&u.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",n-s,e]),u):u},circle:function(t,n,r,o){return e(t+r/2,n+o/2,r/2,o/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r/2],["L",t+n/2,e+r],["L",t,e+r/2],["Z"]]},rect:n,roundedRect:r,square:n,triangle:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r],["L",t,e+r],["Z"]]},"triangle-down":function(t,e,n,r){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+r],["Z"]]}}})),e(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=e.doc,o=e.SVG_NS,i=e.win,a=n.attr,s=n.extend,l=n.isString,c=n.objectEach,u=n.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,n=e.element,o=e.renderer,i=u(e.textStr,"").toString(),a=-1!==i.indexOf("<"),s=n.childNodes;o=this.width&&!e.added&&o.box;var c=[i,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(c!==e.textCache){for(e.textCache=c,delete e.actualWidth,c=s.length;c--;)n.removeChild(s[c]);a||this.ellipsis||this.width||-1!==i.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(i))?""!==i&&(o&&o.appendChild(n),i=new t(i),this.modifyTree(i.nodes),i.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),o&&o.removeChild(n)):n.appendChild(r.createTextNode(this.unescapeEntities(i))),l(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,n=this.svgElement,s=a(n.element,"x");for(n.firstLineMetrics=void 0;(t=n.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)n.element.removeChild(t);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(t,r){t.nextSibling&&t.previousSibling&&(0===r&&1===t.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(t,i){var c=t.textContent||"",u=c.replace(/([^\^])-/g,"$1- ").split(" "),d=!e.noWrap&&(1<u.length||1<n.element.childNodes.length),f=e.getLineHeight(i),p=0,h=n.actualWidth;if(e.ellipsis)c&&e.truncate(t,c,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"\u2026"}));else if(d){for(c=[],d=[];i.firstChild&&i.firstChild!==t;)d.push(i.firstChild),i.removeChild(i.firstChild);for(;u.length;)u.length&&!e.noWrap&&0<p&&(c.push(t.textContent||""),t.textContent=u.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,u,0===p&&h||0,l,(function(t,e){return u.slice(0,e).join(" ").replace(/- /g,"-")})),h=n.actualWidth,p++;d.forEach((function(e){i.insertBefore(e,t)})),c.forEach((function(e){i.insertBefore(r.createTextNode(e),t),(e=r.createElementNS(o,"tspan")).textContent="\u200b",a(e,{dy:f,x:s}),i.insertBefore(e,t)}))}};!function t(e){[].slice.call(e.childNodes).forEach((function(r){r.nodeType===i.Node.TEXT_NODE?c(r,e):(-1!==r.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),t(r))}))}(n.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===i.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this;t.forEach((function n(r,o){var i=r.attributes;i=void 0===i?{}:i;var a=r.children,l=r.style;l=void 0===l?{}:l;var c=r.tagName,u=e.renderer.styledMode;"b"===c||"strong"===c?u?i.class="highcharts-strong":l.fontWeight="bold":"i"!==c&&"em"!==c||(u?i.class="highcharts-emphasized":l.fontStyle="italic"),l&&l.color&&(l.fill=l.color),"br"===c?(i.class="highcharts-br",r.textContent="\u200b",(o=t[o+1])&&o.textContent&&(o.textContent=o.textContent.replace(/^ +/gm,""))):"a"===c&&a&&a.some((function(t){return"#text"===t.tagName}))&&(r.children=[{children:a,tagName:"tspan"}]),"#text"!==c&&"a"!==c&&(r.tagName="tspan"),s(r,{attributes:i,style:l}),a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(n)}))},e.prototype.truncate=function(t,e,n,r,o,i){var a,s=this.svgElement,l=s.renderer,c=s.rotation,u=[],d=n?1:0,f=(e||n||"").length,p=f,h=function(o,a){a=a||o;var c=t.parentNode;if(c&&"undefined"===typeof u[a])if(c.getSubStringLength)try{u[a]=r+c.getSubStringLength(0,n?a+1:a)}catch(d){}else l.getSpanWidth&&(t.textContent=i(e||n,o),u[a]=r+l.getSpanWidth(s,t));return u[a]};s.rotation=0;var v=h(t.textContent.length);if(r+v>o){for(;d<=f;)p=Math.ceil((d+f)/2),n&&(a=i(n,p)),v=h(p,a&&a.length-1),d===f?d=f+1:v>o?f=p-1:d=p;0===f?t.textContent="":e&&f===e.length-1||(t.textContent=a||i(e||n,p))}n&&n.splice(0,p),s.actualWidth=v,s.rotation=c},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,(function(n,r){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),r))})),t},e}()})),e(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l){var c,u=n.charts,d=n.deg2rad,f=n.doc,p=n.isFirefox,h=n.isMS,v=n.isWebKit,g=n.noop,m=n.SVG_NS,b=n.symbolSizes,y=n.win,x=l.addEvent,w=l.attr,O=l.createElement,S=l.css,j=l.defined,C=l.destroyObjectProperties,k=l.extend,E=l.isArray,P=l.isNumber,_=l.isObject,M=l.isString,T=l.merge,A=l.pick,R=l.pInt,D=l.uniqueKey;return n=function(){function n(t,e,n,r,o,i,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,r,o,i,a)}return n.prototype.init=function(t,e,n,r,o,i,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;a||l.css(this.getStyle(r)),t.appendChild(c),w(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&w(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 10.2.0")),this.defs=this.createElement("defs").add(),this.allowHTML=i,this.forExport=o,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),p&&t.getBoundingClientRect&&((e=function(){S(t,{left:0,top:0}),s=t.getBoundingClientRect(),S(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=x(y,"resize",e))},n.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((p||v)&&f.getElementsByTagName("base").length){if(!j(c)){var e=D();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body),S(e,{position:"fixed",top:0,left:0,zIndex:9e5});var n=f.elementFromPoint(6,6);c="hitme"===(n&&n.id),f.body.removeChild(e)}if(c)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(t){return this.style=k({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},n.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),C(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},n.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},n.prototype.buildText=function(t){new s(t).buildSVG()},n.prototype.getContrast=function(t){return 1.05/(.05+(t=.2126*(t=e.parse(t).rgba.map((function(t){return.03928>=(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4)})))[0]+.7152*t[1]+.0722*t[2]))>(t+.05)/.05?"#FFFFFF":"#000000"},n.prototype.button=function(e,n,r,o,i,a,s,l,c,u){void 0===i&&(i={});var d=this.label(e,n,r,c,void 0,void 0,u,void 0,"button"),f=this.styledMode;e=i.states||{};var p=0;delete(i=T(i)).states;var v=T({color:"#333333",cursor:"pointer",fontWeight:"normal"},i.style);delete i.style;var g=t.filterUserAttributes(i);if(d.attr(T({padding:8,r:2},g)),!f){g=T({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},g);var m=(a=T(g,{fill:"#e6e6e6"},t.filterUserAttributes(a||e.hover||{}))).style;delete a.style;var b=(s=T(g,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||e.select||{}))).style;delete s.style;var y=(l=T(g,{style:{color:"#cccccc"}},t.filterUserAttributes(l||e.disabled||{}))).style;delete l.style}return x(d.element,h?"mouseover":"mouseenter",(function(){3!==p&&d.setState(1)})),x(d.element,h?"mouseout":"mouseleave",(function(){3!==p&&d.setState(p)})),d.setState=function(t){1!==t&&(d.state=p=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(d.attr([g,a,s,l][t||0]),_(t=[v,m,b,y][t||0])&&d.css(t))},f||d.attr(g).css(k({cursor:"default"},v)),d.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==p&&o.call(d,t)}))},n.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var r=t[0],o=t[1];return j(r[1])&&r[1]===o[1]&&(r[1]=o[1]=Math[n](r[1])-e%2/2),j(r[2])&&r[2]===o[2]&&(r[2]=o[2]=Math[n](r[2])+e%2/2),t},n.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return E(t)?e.d=t:_(t)&&k(e,t),this.createElement("path").attr(e)},n.prototype.circle=function(t,e,n){return t=_(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},n.prototype.arc=function(t,e,n,r,o,i){return _(t)?(e=(r=t).y,n=r.r,t=r.x):r={innerR:r,start:o,end:i},(t=this.symbol("arc",t,e,n,n,r)).r=n,t},n.prototype.rect=function(t,e,n,r,o,i){o=_(t)?t.r:o;var a=this.createElement("rect");return t=_(t)?t:"undefined"===typeof t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(r,0)},this.styledMode||("undefined"!==typeof i&&(t["stroke-width"]=i,t=a.crisp(t)),t.fill="none"),o&&(t.r=o),a.rSetter=function(t,e,n){a.r=t,w(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},n.prototype.setSize=function(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:A(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},n.prototype.image=function(t,e,n,r,o,i){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};P(e)&&(a.x=e),P(n)&&(a.y=n),P(r)&&(a.width=r),P(o)&&(a.height=o);var l=this.createElement("image").attr(a);return e=function(e){s(l.element,t),i.call(l,e)},i?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new y.Image,x(n,"load",e),n.src=t,n.complete&&e({})):s(l.element,t),l},n.prototype.symbol=function(t,e,n,r,o,i){var a,s=this,l=/^url\((.*?)\)$/,c=l.test(t),d=!c&&(this.symbols[t]?t:"circle"),p=d&&this.symbols[d];if(p){"number"===typeof e&&(a=p.call(this.symbols,Math.round(e||0),Math.round(n||0),r||0,o||0,i));var h=this.path(a);s.styledMode||h.attr("fill","none"),k(h,{symbolName:d||void 0,x:e,y:n,width:r,height:o}),i&&k(h,i)}else if(c){var v=t.match(l)[1],g=h=this.image(v);g.imgwidth=A(b[v]&&b[v].width,i&&i.width),g.imgheight=A(b[v]&&b[v].height,i&&i.height);var m=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){g[t+"Setter"]=function(t,e){var n=this["img"+e];this[e]=t,j(n)&&(i&&"within"===i.backgroundSize&&this.width&&this.height&&(n=Math.round(n*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,n),this.alignByTranslate||(t=((this[e]||0)-n)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),j(e)&&g.attr({x:e,y:n}),g.isImg=!0,j(g.imgwidth)&&j(g.imgheight)?m(g):(g.attr({width:0,height:0}),O("img",{onload:function(){var t=u[s.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),b[v]={width:this.width,height:this.height},g.imgwidth=this.width,g.imgheight=this.height,g.element&&m(g),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:v}),this.imgCount++)}return h},n.prototype.clipRect=function(t,e,n,r){var o=D()+"-",i=this.createElement("clipPath").attr({id:o}).add(this.defs);return(t=this.rect(t,e,n,r,0).add(i)).id=o,t.clipPath=i,t.count=0,t},n.prototype.text=function(t,e,n,r){var o={};return!r||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),n&&(o.y=Math.round(n)),j(t)&&(o.text=t),t=this.createElement("text").attr(o),(!r||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,n){for(var r,o=n.getElementsByTagName("tspan"),i=n.getAttribute(e),a=0;a<o.length;a++)(r=o[a]).getAttribute(e)===i&&r.setAttribute(e,t);n.setAttribute(e,t)}),t):this.html(t,e,n)},n.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!y.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&o.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?R(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},n.prototype.rotCorr=function(t,e,n){var r=t;return e&&n&&(r=Math.max(r*Math.cos(e*d),4)),{x:-t/3*Math.sin(e*d),y:r}},n.prototype.pathToSegments=function(t){for(var e=[],n=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o<t.length;o++)M(n[0])&&P(t[o])&&n.length===r[n[0].toUpperCase()]&&t.splice(o,0,n[0].replace("M","L").replace("m","l")),"string"===typeof t[o]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[o]);return e.push(n.slice(0)),e},n.prototype.label=function(t,e,n,r,o,a,s,l,c){return new i(this,t,e,n,r,o,a,s,l,c)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},n}(),k(n.prototype,{Element:o,SVG_NS:m,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:g}),r.registerRendererType("svg",n,!0),n})),e(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=t.isFirefox,i=t.isMS,a=t.isWebKit,s=t.win,l=n.css,c=n.defined,u=n.extend,d=n.pick,f=n.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var n=e.prototype,r=t.prototype;r.getSpanCorrection=n.getSpanCorrection,r.htmlCss=n.htmlCss,r.htmlGetBBox=n.htmlGetBBox,r.htmlUpdateTransform=n.htmlUpdateTransform,r.setSpanRotation=n.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,n){this.xCorr=-t*n,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=d(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var r=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=u(this.styles,t),l(this.element,t),r&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,r=this.translateY||0,o=this.x||0,i=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],u=this.styles;if(u=u&&u.whiteSpace,l(e,{marginLeft:n,marginTop:r}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:n+1,marginTop:r+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(n){t.invertChild(n,e)})),"SPAN"===e.tagName){var d=this.rotation,p=this.textWidth&&f(this.textWidth),h=[d,a,e.innerHTML,this.textWidth,this.textAlign].join(),v=void 0;if(v=!1,p!==this.oldTextWidth){if(this.textPxLength)var g=this.textPxLength;else l(e,{width:"",whiteSpace:u||"nowrap"}),g=e.offsetWidth;(p>this.oldTextWidth||g>p)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:g>p||d?p+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=p,v=!0)}this.hasBoxWidthChanged=v,h!==this.cTT&&(v=t.fontMetrics(e.style.fontSize,e).b,!c(d)||d===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(d,s,v),this.getSpanCorrection(!c(d)&&this.textPxLength||e.offsetWidth,v,s,d,a)),l(e,{left:o+(this.xCorr||0)+"px",top:i+(this.yCorr||0)+"px"}),this.cTT=h,this.oldRotation=d,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,n){var r={},c=i&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":o?"MozTransform":s.opera?"-o-transform":void 0;c&&(r[c]=r.transform="rotate("+t+"deg)",r[c+(o?"Origin":"-origin")]=r.transformOrigin=100*e+"% "+n+"px",l(this.element,r))},e.composedClasses=[],e}(e)})),e(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=r.attr,a=r.createElement,s=r.extend,l=r.pick;return function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return o(r,n),r.compose=function(t){return-1===r.composedClasses.indexOf(t)&&(r.composedClasses.push(t),t.prototype.html=r.prototype.html),t},r.prototype.html=function(n,r,o){var c=this.createElement("span"),u=c.element,d=c.renderer,f=d.isSVG,p=function(t,n){["opacity","visibility"].forEach((function(r){t[r+"Setter"]=function(o,i,a){var s=t.div?t.div.style:n;e.prototype[r+"Setter"].call(this,o,i,a),s&&(s[i]=o)}})),t.addedSetters=!0};return c.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,c.doTransform=!0)},f&&p(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(t,e){"align"===e?c.alignValue=c.textAlign=t:c[e]=t,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(r),y:Math.round(o)}).css({position:"absolute"}),d.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,f&&(c.add=function(t){var e=d.box.parentNode,n=[];if(this.parentGroup=t){var r=t.div;if(!r){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach((function(t){function o(e,n){t[n]=e,"translateX"===n?d.left=e+"px":d.top=e+"px",t.doTransform=!0}var l=i(t.element,"class"),u=t.styles||{},d=(r=t.div=t.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:u.cursor,pointerEvents:u.pointerEvents,visibility:t.visibility},r||e)).style;s(t,{classSetter:function(t){return function(e){this.element.setAttribute("class",e),t.className=e}}(r),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:o,translateYSetter:o}),t.addedSetters||p(t)}))}}else r=e;return r.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},r.composedClasses=[],r}(n)})),e(n,"Core/Axis/AxisDefaults.js",[],(function(){var t,e;return(e=t||(t={})).defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t})),e(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,r=t.isFunction,o=t.objectEach,i=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},o(e.events,(function(e,o){t.eventOptions[o]!==e&&(t.eventOptions[o]&&(i(t,o,t.eventOptions[o]),delete t.eventOptions[o]),r(e)&&(t.eventOptions[o]=e,n(t,o,e)))}))}}(e||(e={})),e})),e(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=e.deg2rad,o=n.clamp,i=n.correctFloat,a=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,u=n.isNumber,d=n.merge,f=n.objectEach,p=n.pick;return e=function(){function e(t,e,n,r,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||r||this.addLabel()}return e.prototype.addLabel=function(){var e=this,n=e.axis,r=n.options,o=n.chart,s=n.categories,d=n.logarithmic,f=n.names,h=e.pos,v=p(e.options&&e.options.labels,r.labels),g=n.tickPositions,m=h===g[0],b=h===g[g.length-1],y=(!v.step||1===v.step)&&1===n.tickInterval;g=g.info;var x,w=e.label;if(s=this.parameters.category||(s?p(s[h],f[h],h):h),d&&u(s)&&(s=i(d.lin2log(s))),n.dateTime)if(g)var O=o.time.resolveDTLFormat(r.dateTimeLabelFormats[!r.grid&&g.higherRanks[h]||g.unitName]),S=O.main;else u(s)&&(S=n.dateTime.getXDateFormat(s,r.dateTimeLabelFormats||{}));e.isFirst=m,e.isLast=b;var j={axis:n,chart:o,dateTimeLabelFormat:S,isFirst:m,isLast:b,pos:h,tick:e,tickPositionInfo:g,value:s};c(this,"labelFormat",j);var C=function(e){return v.formatter?v.formatter.call(e,e):v.format?(e.text=n.defaultLabelFormatter.call(e),t.format(v.format,e,o)):n.defaultLabelFormatter.call(e,e)};r=C.call(j,j);var k=O&&O.list;e.shortenLabel=k?function(){for(x=0;x<k.length;x++)if(l(j,{dateTimeLabelFormat:k[x]}),w.attr({text:C.call(j,j)}),w.getBBox().width<n.getSlotWidth(e)-2*v.padding)return;w.attr({text:""})}:void 0,y&&n._addedPlotLB&&e.moveLabel(r,v),a(w)||e.movedLabel?w&&w.textStr!==r&&!y&&(!w.textWidth||v.style.width||w.styles.width||w.css({width:null}),w.attr({text:r}),w.textPxLength=w.getBBox().width):(e.label=w=e.createLabel({x:0,y:0},r,v),e.rotation=0)},e.prototype.createLabel=function(t,e,n){var r=this.axis,o=r.chart;return(t=a(e)&&n.enabled?o.renderer.text(e,t.x,t.y,n.useHTML).add(r.labelGroup):null)&&(o.styledMode||t.css(d(n.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,n,r){var a=this.axis,s=a.chart,l=r&&s.oldChartHeight||s.chartHeight;return(t={x:t?i(a.translate(e+n,void 0,void 0,r)+a.transB):a.left+a.offset+(a.opposite?(r&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?l-a.bottom+a.offset-(a.opposite?a.height:0):i(l-a.translate(e+n,void 0,void 0,r)-a.transB)}).y=o(t.y,-1e5,1e5),c(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,n,o,i,s,l,u){var d=this.axis,f=d.transA,p=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,h=d.staggerLines,v=d.tickRotCorr||{x:0,y:0},g=o||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),m={};return n=0===d.side?n.rotation?-8:-n.getBBox().height:2===d.side?v.y+8:Math.cos(n.rotation*r)*(v.y-n.getBBox(!1,0).height/2),a(i.y)&&(n=0===d.side&&d.horiz?i.y+n:i.y),t=t+i.x+g+v.x-(s&&o?s*f*(p?-1:1):0),e=e+n-(s&&!o?s*f*(p?1:-1):0),h&&(o=l/(u||1)%h,d.opposite&&(o=h-o-1),e+=d.labelOffset/h*o),m.x=t,m.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:m,tickmarkOffset:s,index:l}),m},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,n,r,o,i){return i.crispLine([["M",t,e],["L",t+(o?0:-n),e+(o?n:0)]],r)},e.prototype.handleOverflow=function(t){var e=this.axis,n=e.options.labels,o=t.x,i=e.chart.chartWidth,a=e.chart.spacing,s=p(e.labelLeft,Math.min(e.pos,a[3]));a=p(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,i-a[1]));var l,c=this.label,u=this.rotation,d={left:0,center:.5,right:1}[e.labelAlign||c.attr("align")],f=c.getBBox().width,h=e.getSlotWidth(this),v={},g=h,m=1;u||"justify"!==n.overflow?0>u&&o-d*f<s?l=Math.round(o/Math.cos(u*r)-s):0<u&&o+d*f>a&&(l=Math.round((i-o)/Math.cos(u*r))):(i=o+(1-d)*f,o-d*f<s?g=t.x+g*(1-d)-s:i>a&&(g=a-t.x+g*d,m=-1),(g=Math.min(h,g))<h&&"center"===e.labelAlign&&(t.x+=m*(h-g-d*(h-Math.min(f,g)))),(f>g||e.autoRotation&&(c.styles||{}).width)&&(l=g)),l&&(this.shortenLabel?this.shortenLabel():(v.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(v.textOverflow="ellipsis"),c.css(v)))},e.prototype.moveLabel=function(t,e){var n=this,r=n.label,o=n.axis,i=o.reversed,a=!1;if(r&&r.textStr===t?(n.movedLabel=r,a=!0,delete n.label):f(o.ticks,(function(e){a||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,a=!0,e.labelPos=n.movedLabel.xy,delete e.label)})),!a&&(n.labelPos||r)){var s=n.labelPos||r.xy;r=o.horiz?i?0:o.width+o.left:s.x,o=o.horiz?s.y:i?o.width+o.left:0,n.movedLabel=n.createLabel({x:r,y:o},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,n){var r=this.axis,o=r.horiz,i=this.pos,a=p(this.tickmarkOffset,r.tickmarkOffset);a=(i=this.getPosition(o,i,a,e)).x;var s=i.y;r=o&&a===r.pos+r.len||!o&&s===r.pos?-1:1,o=p(n,this.label&&this.label.newOpacity,1),n=p(n,1),this.isActive=!0,this.renderGridLine(e,n,r),this.renderMark(i,n,r),this.renderLabel(i,e,o,t),this.isNew=!1,c(this,"afterRender")},e.prototype.renderGridLine=function(t,e,n){var r=this.axis,o=r.options,i={},a=this.pos,s=this.type,l=p(this.tickmarkOffset,r.tickmarkOffset),c=r.chart.renderer,u=this.gridLine,d=o.gridLineWidth,f=o.gridLineColor,h=o.gridLineDashStyle;"minor"===this.type&&(d=o.minorGridLineWidth,f=o.minorGridLineColor,h=o.minorGridLineDashStyle),u||(r.chart.styledMode||(i.stroke=f,i["stroke-width"]=d||0,i.dashstyle=h),s||(i.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(i).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(r.gridGroup)),u&&(n=r.getPlotLinePath({value:a+l,lineWidth:u.strokeWidth()*n,force:"pass",old:t}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},e.prototype.renderMark=function(t,e,n){var r=this.axis,o=r.options,i=r.chart.renderer,a=this.type,s=r.tickSize(a?a+"Tick":"tick"),l=t.x;t=t.y;var c=p(o["minor"!==a?"tickWidth":"minorTickWidth"],!a&&r.isXAxis?1:0);o=o["minor"!==a?"tickColor":"minorTickColor"];var u=this.mark,d=!u;s&&(r.opposite&&(s[0]=-s[0]),u||(this.mark=u=i.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(r.axisGroup),r.chart.styledMode||u.attr({stroke:o,"stroke-width":c})),u[d?"attr":"animate"]({d:this.getMarkPath(l,t,s[0],u.strokeWidth()*n,r.horiz,i),opacity:e}))},e.prototype.renderLabel=function(t,e,n,r){var o=this.axis,i=o.horiz,a=o.options,s=this.label,l=a.labels,c=l.step;o=p(this.tickmarkOffset,o.tickmarkOffset);var d=t.x;t=t.y;var f=!0;s&&u(d)&&(s.xy=t=this.getLabelPosition(d,t,s,i,l,o,r,c),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?f=!1:!i||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&r%c&&(f=!1),f&&u(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(s.hide(),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var r=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:r,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}(),e})),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s){var l=t.animObject,c=r.defaultOptions,u=o.registerEventOptions,d=i.deg2rad,f=s.arrayMax,p=s.arrayMin,h=s.clamp,v=s.correctFloat,g=s.defined,m=s.destroyObjectProperties,b=s.erase,y=s.error,x=s.extend,w=s.fireEvent,O=s.isArray,S=s.isNumber,j=s.isString,C=s.merge,k=s.normalizeTickInterval,E=s.objectEach,P=s.pick,_=s.relativeLength,M=s.removeEvent,T=s.splat,A=s.syncTimeout,R=function(t,e){return k(e,void 0,void 0,P(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)};return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),w(this,"init",{userOptions:e}),this.opposite=P(e.opposite,this.opposite),this.side=P(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var r=this.options,o=r.labels,i=r.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=P(r.reversed,this.reversed),this.visible=r.visible,this.zoomEnabled=r.zoomEnabled,this.hasNames="category"===i||!0===r.categories,this.categories=r.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(r.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=r.minRange||r.maxZoom,this.range=r.range,this.offset=r.offset||0,this.min=this.max=null,e=P(r.crosshair,T(t.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(n?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&n&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=S(o.rotation)?o.rotation:void 0,u(this,r),w(this,"afterInit")},t.prototype.setOptions=function(t){this.options=C(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],C(c[this.coll],t)),w(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var n=S(this.value)?this.value:NaN,r=e.chart.time,o=this.dateTimeLabelFormat,i=c.lang,a=i.numericSymbols;i=i.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(n):e.tickInterval,l=a&&a.length;if(e.categories)var u="".concat(this.value);else if(o)u=r.dateFormat(o,n);else if(l&&1e3<=s)for(;l--&&"undefined"===typeof u;)s>=(e=Math.pow(i,l+1))&&0===10*n%e&&null!==a[l]&&0!==n&&(u=t(n/e,-1)+a[l]);return"undefined"===typeof u&&(u=1e4<=Math.abs(n)?t(n,-1):t(n,-1,void 0,"")),u},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;w(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(r){if(r.visible||!n.options.chart.ignoreHiddenSeries){var o=r.options,i=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=i&&(i=null),e.isXAxis){if((o=r.xData).length){o=e.logarithmic?o.filter(e.validatePositiveValue):o;var a=(t=r.getXExtremes(o)).min,s=t.max;S(a)||a instanceof Date||(o=o.filter(S),a=(t=r.getXExtremes(o)).min,s=t.max),o.length&&(e.dataMin=Math.min(P(e.dataMin,a),a),e.dataMax=Math.max(P(e.dataMax,s),s))}}else r=r.applyExtremes(),S(r.dataMin)&&(a=r.dataMin,e.dataMin=Math.min(P(e.dataMin,a),a)),S(r.dataMax)&&(s=r.dataMax,e.dataMax=Math.max(P(e.dataMax,s),s)),g(i)&&(e.threshold=i),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),w(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,r,o,i){var a=this.linkedParent||this,s=r&&a.old?a.old.min:a.min;if(!S(s))return NaN;var l=a.minPixelPadding;o=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&o)&&a.lin2val;var c=1,u=0;return(r=r&&a.old?a.old.transA:a.transA)||(r=a.transA),n&&(c*=-1,u=a.len),a.reversed&&(u-=(c*=-1)*(a.sector||a.len)),e?(i=(t*c+u-l)/r+s,o&&(i=a.lin2val(i))):(o&&(t=a.val2lin(t)),t=c*(t-s)*r,i=(a.isRadial?t:v(t))+u+c*l+(S(i)?r*i:0)),i},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return("pass"!==y&&t<e||t>n)&&(y?t=h(t,e,n):a=!0),t}var n,r,o,i,a,s=this,l=s.chart,c=s.left,u=s.top,d=t.old,f=t.value,p=t.lineWidth,v=d&&l.oldChartHeight||l.chartHeight,g=d&&l.oldChartWidth||l.chartWidth,m=s.transB,b=t.translatedValue,y=t.force;return t={value:f,lineWidth:p,old:d,force:y,acrossPanes:t.acrossPanes,translatedValue:b},w(this,"getPlotLinePath",t,(function(t){b=P(b,s.translate(f,void 0,void 0,d)),b=h(b,-1e5,1e5),n=o=Math.round(b+m),r=i=Math.round(v-b-m),S(b)?s.horiz?(r=u,i=v-s.bottom,n=o=e(n,c,c+s.width)):(n=c,o=g-s.right,r=i=e(r,u,u+s.height)):(a=!0,y=!1),t.path=a&&!y?null:l.renderer.crispLine([["M",n,r],["L",o,i]],p||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var r=v(Math.floor(e/t)*t);n=v(Math.ceil(n/t)*t);var o,i=[];if(v(r+t)===r&&(o=20),this.single)return[e];for(e=r;e<=n&&(i.push(e),(e=v(e+t,o))!==a);)var a=e;return i},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?P(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,r=this.pointRangePadding||0,o=this.min-r,i=(r=this.max+r)-o,a=[];if(i&&i/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,r){e&&a.push.apply(a,s.getLogTickPositions(n,r[e-1],r[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),o,r,t.startOfWeek));else for(t=o+(e[0]-o)%n;t<=r&&t!==a[0];t+=n)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,n,r,o=this.options,i=this.logarithmic,a=this.min,s=this.max,l=0;if(this.isXAxis&&"undefined"===typeof this.minRange&&!i&&(g(o.min)||g(o.max)||g(o.floor)||g(o.ceiling)?this.minRange=null:(this.series.forEach((function(o){if(n=o.xData,r=o.xIncrement?1:n.length-1,1<n.length)for(t=r;0<t;t--)e=n[t]-n[t-1],(!l||e<l)&&(l=e)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-a<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,u=this.minRange,d=(u-s+a)/2;d=[a-d,P(o.min,a-d)],c&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=f(d))+u,P(o.max,a+u)],c&&(s[2]=i?i.log2lin(this.dataMax):this.dataMax),(s=p(s))-a<u&&(d[0]=s-u,d[1]=P(o.min,s-u),a=f(d))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var n=e.closestPointRange,r=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&g(n)&&r&&(t=g(t)?Math.min(t,n):n)})),t},t.prototype.nameToX=function(t){var e=O(this.options.categories),n=e?this.categories:this.names,r=t.options.x;if(t.series.requireSorting=!1,g(r)||(r=this.options.uniqueNames&&n?e?n.indexOf(t.name):P(n.keys[t.name],-1):t.series.autoIncrement()),-1===r){if(!e&&n)var o=n.length}else o=r;return"undefined"!==typeof o&&(this.names[o]=t.name,this.names.keys[t.name]=o),o},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,r){if(n&&n.options&&"undefined"!==typeof n.name){var o=t.nameToX(n);"undefined"!==typeof o&&o!==n.x&&(n.x=o,e.xData[r]=o)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,n=t.linkedParent,r=!!t.categories,o=t.isXAxis,i=t.axisPointRange||0,a=0,s=0,l=t.transA;if(o||r||i){var c=t.getClosest();n?(a=n.minPointOffset,s=n.pointRangePadding):t.series.forEach((function(e){var n=r?1:o?P(e.options.pointRange,c,0):t.axisPointRange||0,l=e.options.pointPlacement;i=Math.max(i,n),t.single&&!r||(e=e.is("xrange")?!o:o,a=Math.max(a,e&&j(l)?0:n/2),s=Math.max(s,e&&"on"===l?0:n))})),n=t.ordinal&&t.ordinal.slope&&c?t.ordinal.slope/c:1,t.minPointOffset=a*=n,t.pointRangePadding=s*=n,t.pointRange=Math.min(i,t.single&&r?1:e),o&&(t.closestPointRange=c)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*a,w(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,n=this.logarithmic,r=this.options,o=this.isXAxis,i=this.isLinked,a=r.tickPixelInterval,s=this.categories,l=this.softThreshold,c=r.maxPadding,u=r.minPadding,d=S(r.tickInterval)&&0<=r.tickInterval?r.tickInterval:void 0,f=S(this.threshold)?this.threshold:null;this.dateTime||s||i||this.getTickAmount();var p=P(this.userMin,r.min),h=P(this.userMax,r.max);if(i){this.linkedParent=e[this.coll][r.linkedTo];var m=this.linkedParent.getExtremes();this.min=P(m.min,m.dataMin),this.max=P(m.max,m.dataMax),r.type!==this.linkedParent.options.type&&y(11,1,e)}else{if(l&&g(f))if(this.dataMin>=f)m=f,u=0;else if(this.dataMax<=f){var b=f;c=0}this.min=P(p,m,this.dataMin),this.max=P(h,b,this.dataMax)}if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,P(this.dataMin,this.min))&&y(10,1,e),this.min=v(n.log2lin(this.min),16),this.max=v(n.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=p=Math.max(this.dataMin,this.minFromRange()),this.userMax=h=this.max,this.range=null),w(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||i)&&g(this.min)&&g(this.max)&&(e=this.max-this.min)&&(!g(p)&&u&&(this.min-=e*u),!g(h)&&c&&(this.max+=e*c)),S(this.userMin)||(S(r.softMin)&&r.softMin<this.min&&(this.min=p=r.softMin),S(r.floor)&&(this.min=Math.max(this.min,r.floor))),S(this.userMax)||(S(r.softMax)&&r.softMax>this.max&&(this.max=h=r.softMax),S(r.ceiling)&&(this.max=Math.min(this.max,r.ceiling))),l&&g(this.dataMin)&&(f=f||0,!g(p)&&this.min<f&&this.dataMin>=f?this.min=this.options.minRange?Math.min(f,this.max-this.minRange):f:!g(h)&&this.max>f&&this.dataMax<=f&&(this.max=this.options.minRange?Math.max(f,this.min+this.minRange):f)),S(this.min)&&S(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:i&&this.linkedParent&&!d&&a===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:P(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),o&&!t){var x=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(x)})),w(this,"postProcessData",{hasExtemesChanged:x})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=P(r.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!d&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||d||(this.tickInterval=R(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,n=this.getMinorTickInterval(),r=this.hasVerticalPanning(),o="colorAxis"===this.coll,i=(o||!r)&&t.startOnTick;if(r=(o||!r)&&t.endOnTick,o=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&g(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=n=e&&e.slice(),!n){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)n=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)n=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var a=t=this.tickInterval;a<=2*t&&(n=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&n.length>this.tickAmount);)this.tickInterval=R(this,a*=1.1);else n=[this.min,this.max],y(19,!1,this.chart);n.length>this.len&&(n=[n[0],n.pop()])[0]===n[1]&&(n.length=1),this.tickPositions=n,o&&(o=o.apply(this,[this.min,this.max]))&&(this.tickPositions=n=o)}this.paddedTicks=n.slice(0),this.trimTicks(n,i,r),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||o||this.adjustTickAmount()),w(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var r=t[0],o=t[t.length-1],i=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==r)this.min=r;else for(;this.min-i>t[0];)t.shift();if(n)this.max=o;else for(;this.max+i<t[t.length-1];)t.pop();0===t.length&&g(r)&&!this.options.tickPositions&&t.push((o+r)/2)}},t.prototype.alignToOthers=function(){var t,e=this,n=[this],r=e.options,o="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,i=[];if(e.thresholdAlignment=void 0,(!1!==this.chart.options.chart.alignTicks&&r.alignTicks||o)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!e.logarithmic){var a=function(t){var e=t.options;return[t.horiz?e.left:e.top,e.width,e.height,e.pane].join()},s=a(this);this.chart[this.coll].forEach((function(r){var o=r.series;o.length&&o.some((function(t){return t.visible}))&&r!==e&&a(r)===s&&(t=!0,n.push(r))}))}if(t&&o){n.forEach((function(t){t=t.getThresholdAlignment(e),S(t)&&i.push(t)}));var l=1<i.length?i.reduce((function(t,e){return t+e}),0)/i.length:void 0;n.forEach((function(t){t.thresholdAlignment=l}))}return t},t.prototype.getThresholdAlignment=function(t){if((!S(this.dataMin)||this!==t&&this.series.some((function(t){return t.isDirty||t.isDirtyData})))&&this.getSeriesExtremes(),S(this.threshold))return t=h((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(t=1-t),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,n=t.tickAmount;!g(t.tickInterval)&&!n&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},t.prototype.adjustTickAmount=function(){var t=this,e=t.finalTickAmt,n=t.max,r=t.min,o=t.options,i=t.tickPositions,a=t.tickAmount,s=t.thresholdAlignment,l=i&&i.length,c=P(t.threshold,t.softThreshold?0:null),u=t.tickInterval;if(S(s)){var d=.5>s?Math.ceil(s*(a-1)):Math.floor(s*(a-1));o.reversed&&(d=a-1-d)}if(t.hasData()&&S(r)&&S(n)){if(s=function(){t.transA*=(l-1)/(a-1),t.min=o.startOnTick?i[0]:Math.min(r,i[0]),t.max=o.endOnTick?i[i.length-1]:Math.max(n,i[i.length-1])},S(d)&&S(t.threshold)){for(;i[d]!==c||i.length!==a||i[0]>r||i[i.length-1]<n;){for(i.length=0,i.push(t.threshold);i.length<a;)void 0===i[d]||i[d]>t.threshold?i.unshift(v(i[0]-u)):i.push(v(i[i.length-1]+u));if(u>8*t.tickInterval)break;u*=2}s()}else if(l<a){for(;i.length<a;)i.length%2||r===c?i.push(v(i[i.length-1]+u)):i.unshift(v(i[0]-u));s()}if(g(e)){for(u=c=i.length;u--;)(3===e&&1===u%2||2>=e&&0<u&&u<c-1)&&i.splice(u,1);t.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(n){t=t||n.isDirtyData||n.isDirty,e=e||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),w(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,n,r,o){var i=this,a=i.chart;n=P(n,!0),i.series.forEach((function(t){delete t.kdTree})),o=x(o,{min:t,max:e}),w(i,"setExtremes",o,(function(){i.userMin=t,i.userMax=e,i.eventArgs=o,n&&a.redraw(r)}))},t.prototype.zoom=function(t,e){var n=this,r=this.dataMin,o=this.dataMax,i=this.options,a=Math.min(r,P(i.min,r)),s=Math.max(o,P(i.max,o));return w(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,i=t.newMax;e===n.min&&i===n.max||(n.allowZoomOutside||(g(r)&&(e<a&&(e=a),e>s&&(e=s)),g(o)&&(i<a&&(i=a),i>s&&(i=s))),n.displayBtn="undefined"!==typeof e||"undefined"!==typeof i,n.setExtremes(e,i,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],r=this.horiz,o=this.width=Math.round(_(P(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),i=this.height=Math.round(_(P(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(_(P(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(_(P(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-i-a,this.right=t.chartWidth-o-e,this.len=Math.max(r?o:i,0),this.pos=r?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(P(t,0)-90*this.side+720)%360;return w(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,n=P(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=e["tick"===t?"tickLength":"minorTickLength"];if(n&&r){"inside"===e[t+"Position"]&&(r=-r);var o=[r,n]}return w(this,"afterTickSize",t={tickSize:o}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,n=this.options.labels,r=this.horiz,o=this.tickInterval,i=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=n.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(t){var e=t/(i||1);return(e=1<e?Math.ceil(e):1)*o>l&&1/0!==t&&1/0!==i&&l&&(e=Math.ceil(l/o)),v(e*o)},u=o,f=Number.MAX_VALUE;if(r){if(!n.staggerLines&&!n.step)if(S(a))var p=[a];else i<n.autoRotationLimit&&(p=n.autoRotation);p&&p.forEach((function(n){if(n===a||n&&-90<=n&&90>=n){var r=(e=c(Math.abs(s.h/Math.sin(d*n))))+Math.abs(n/360);r<f&&(f=r,t=n,u=e)}}))}else n.step||(u=c(s.h));return this.autoRotation=p,this.labelRotation=P(t,S(a)?a:0),u},t.prototype.getSlotWidth=function(t){var e=this.chart,n=this.horiz,r=this.options.labels,o=Math.max(this.tickPositions.length-(this.categories?0:1),1),i=e.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(n&&2>r.step)return r.rotation?0:(this.staggerLines||1)*this.len/o;if(!n){if(void 0!==(t=r.style.width))return parseInt(String(t),10);if(i)return i-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,r=this.ticks,o=this.options.labels,i=o.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*o.padding)),c={},u=this.labelMetrics(),d=i.textOverflow,f=0;if(j(o.rotation)||(c.rotation=o.rotation||0),n.forEach((function(t){(t=r[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>f&&(f=t.label.textPxLength)})),this.maxLabelLength=f,this.autoRotation)f>l&&f>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var p=l;if(!d){var h="clip";for(l=n.length;!a&&l--;){var v=n[l];(v=r[v].label)&&(v.styles&&"ellipsis"===v.styles.textOverflow?v.css({textOverflow:"clip"}):v.textPxLength>s&&v.css({width:s+"px"}),v.getBBox().height>this.len/n.length-(u.h-u.f)&&(v.specificTextOverflow="ellipsis"))}}}c.rotation&&(p=f>.5*t.chartHeight?.33*t.chartHeight:f,d||(h="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach((function(t){var e=(t=r[t])&&t.label,n=i.width,o={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():p&&!n&&"nowrap"!==i.whiteSpace&&(p<e.textPxLength||"SPAN"===e.element.tagName)?(o.width=p+"px",d||(o.textOverflow=e.specificTextOverflow||h),e.css(o)):e.styles&&e.styles.width&&!o.width&&!n&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=c.rotation)}),this),this.tickRotCorr=e.rotCorr(u.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&g(this.min)&&g(this.max)},t.prototype.addTitle=function(t){var e,n=this.chart.renderer,r=this.horiz,o=this.opposite,i=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=i.textAlign)||(e=(r?{low:"left",middle:"center",high:"right"}:{low:o?"right":"left",middle:"center",high:o?"left":"right"})[i.align]),this.axisTitle=n.text(i.text||"",0,0,i.useHTML).attr({zIndex:7,rotation:i.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(C(i.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||i.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,n=e.chart,r=e.horiz,o=e.options,i=e.side,a=e.ticks,s=e.tickPositions,l=e.coll,c=e.axisParent,u=n.renderer,d=n.inverted&&!e.isZAxis?[1,0,3,2][i]:i,f=e.hasData(),p=o.title,h=o.labels,v=n.axisOffset;n=n.clipOffset;var m,b=[-1,1,1,-1][i],y=o.className,x=0,O=0,S=0;if(e.showAxis=m=f||o.showEmpty,e.staggerLines=e.horiz&&h.staggerLines||void 0,!e.axisGroup){var j=function(e,n,r){return u.g(e).attr({zIndex:r}).addClass("highcharts-".concat(l.toLowerCase()).concat(n," ")+(t.isRadial?"highcharts-radial-axis".concat(n," "):"")+(y||"")).add(c)};e.gridGroup=j("grid","-grid",o.gridZIndex),e.axisGroup=j("axis","",o.zIndex),e.labelGroup=j("axis-labels","-labels",h.zIndex)}if(f||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===i||2===i||{1:"left",3:"right"}[i]===e.labelAlign,P(h.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){S=Math.max(a[t].getLabelSize(),S)})),e.staggerLines&&(S*=e.staggerLines),e.labelOffset=S*(e.opposite?-1:1)):E(a,(function(t,e){t.destroy(),delete a[e]})),p&&p.text&&!1!==p.enabled&&(e.addTitle(m),m&&!1!==p.reserveSpace)){e.titleOffset=x=e.axisTitle.getBBox()[r?"height":"width"];var C=p.offset;O=g(C)?0:P(p.margin,r?5:10)}e.renderLine(),e.offset=b*P(o.offset,v[i]?v[i]+(o.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},p=0===i?-e.labelMetrics().h:2===i?e.tickRotCorr.y:0,f=Math.abs(S)+O,S&&(f=f-p+b*(r?P(h.y,e.tickRotCorr.y+8*b):h.x)),e.axisTitleMargin=P(C,f),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==l&&(r=this.tickSize("tick"),v[i]=Math.max(v[i],(e.axisTitleMargin||0)+x+b*e.offset,f,s&&s.length&&r?r[0]+b*e.offset:0),o=!e.axisLine||o.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),n[d]=Math.max(n[d],o)),w(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,n=this.opposite,r=this.offset,o=this.horiz,i=this.left+(n?this.width:0)+r;return r=e.chartHeight-this.bottom-(n?this.height:0)+r,n&&(t*=-1),e.renderer.crispLine([["M",o?this.left:i,o?r:this.top],["L",o?e.chartWidth-this.right:i,o?r:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,n=this.top,r=this.len,o=this.options.title,i=t?e:n,a=this.opposite,s=this.offset,l=o.x,c=o.y,u=this.axisTitle,d=this.chart.renderer.fontMetrics(o.style.fontSize,u);return u=u?Math.max(u.getBBox(!1,0).height-d.h-1,0):0,r={low:i+(t?0:r),middle:i+r/2,high:i+(t?r:0)}[o.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-u,u,d.f,-u][this.side],t={x:t?r+l:e+(a?this.width:0)+s+l,y:t?e+c-(a?this.height:0)+s:r+c},w(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var n=this.minorTicks;n[t]||(n[t]=new a(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,n){var r=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(r[t]||(r[t]=new a(this,t)),n&&r[t].isNew&&r[t].render(e,!0,-1),r[t].render(e))},t.prototype.render=function(){var t,e,n=this,r=n.chart,o=n.logarithmic,s=n.options,c=n.isLinked,u=n.tickPositions,d=n.axisTitle,f=n.ticks,p=n.minorTicks,h=n.alternateBands,v=s.stackLabels,g=s.alternateGridColor,m=n.tickmarkOffset,b=n.axisLine,y=n.showAxis,x=l(r.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[f,p,h].forEach((function(t){E(t,(function(t){t.isActive=!1}))})),n.hasData()||c){var O=n.chart.hasRendered&&n.old&&S(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,O)})),u.length&&(u.forEach((function(t,e){n.renderTick(t,e,O)})),m&&(0===n.min||n.single)&&(f[-1]||(f[-1]=new a(n,-1,null,!0)),f[-1].render(-1))),g&&u.forEach((function(a,s){e="undefined"!==typeof u[s+1]?u[s+1]+m:n.max-m,0===s%2&&a<n.max&&e<=n.max+(r.polar?-m:m)&&(h[a]||(h[a]=new i.PlotLineOrBand(n)),t=a+m,h[a].options={from:o?o.lin2log(t):t,to:o?o.lin2log(e):e,color:g,className:"highcharts-alternate-grid"},h[a].render(),h[a].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[f,p,h].forEach((function(t){var e=[],n=x.duration;E(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),A((function(){for(var n=e.length;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==h&&r.hasRendered&&n?n:0)})),b&&(b[b.isPlaced?"animate":"attr"]({d:this.getLinePath(b.strokeWidth())}),b.isPlaced=!0,b[y?"show":"hide"](y)),d&&y&&(s=n.getTitlePosition(),d[d.isNew?"attr":"animate"](s),d.isNew=!1),v&&v.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,w(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,n=e.plotLinesAndBands,r=this.eventOptions;if(w(this,"destroy",{keepEvents:t}),t||M(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){m(t)})),n)for(t=n.length;t--;)n[t].destroy();for(var o in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[o]=e.plotLinesAndBandsGroups[o].destroy();E(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=r},t.prototype.drawCrosshair=function(t,e){var r,o=this.crosshair,i=P(o&&o.snap,!0),a=this.chart,s=this.cross;if(w(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),o&&!1!==(g(e)||!i)){if(i?g(e)&&(r=P("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):r=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),g(r)){var l={value:e&&(this.isXAxis?e.x:P(e.stackY,e.y)),translatedValue:r};a.polar&&x(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!g(l))return void this.hideCrosshair();i=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(i?"category ":"thin ")+(o.className||"")).attr({zIndex:P(o.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:o.color||(i?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":P(o.width,1)}).css({"pointer-events":"none"}),o.dashStyle&&s.attr({dashstyle:o.dashStyle}))),s.show().attr({d:l}),i&&!o.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),w(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.prototype.update=function(t,e){var n=this.chart;t=C(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,P(e,!0)&&n.redraw()},t.prototype.remove=function(t){for(var e=this.chart,n=this.coll,r=this.series,o=r.length;o--;)r[o]&&r[o].remove(!1);b(e.axes,this),b(e[n],this),e[n].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}(),t})),e(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,r=t.getMagnitude,o=t.normalizeTickInterval,i=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"init",a)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var a,s=i[e[0]],l=e[1];for(a=0;a<n.length&&(e=n[a],s=i[e[0]],l=e[1],!(n[a+1]&&t<=(s*l[l.length-1]+i[n[a+1][0]])/2));a++);return s===i.year&&t<5*s&&(l=[1,2,5]),{unitRange:s,count:t=o(t/s,l,"year"===e[0]?Math.max(r(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var n=this.axis,r=n.chart.time;return n.closestPointRange?r.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||r.resolveDTLFormat(e.year).main:r.resolveDTLFormat(e.day).main},t}();t.Additions=l}(e||(e={})),e})),e(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,r=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new s(this))}function i(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",i)),t};var s=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,n,i){var a=this.axis,s=a.len,l=a.options,c=[];if(i||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),c=a.getLinearTickPositions(t,e,n);else if(.08<=t){var u,d=Math.floor(e),f=l=void 0;for(s=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];d<n+1&&!f;d++){var p=s.length;for(u=0;u<p&&!f;u++){var h=this.log2lin(this.lin2log(d)*s[u]);h>e&&(!i||l<=n)&&"undefined"!==typeof l&&c.push(l),l>n&&(f=!0),l=h}}}else e=this.lin2log(e),n=this.lin2log(n),t=i?a.getMinorTickInterval():l.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(i?5:1)*(n-e)/((i?s/a.tickPositions.length:s)||1)),t=r(t),c=a.getLinearTickPositions(t,e,n).map(this.log2lin),i||(this.minorAutoInterval=t/5);return i||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=s}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.erase,r=t.extend,o=t.isNumber;return function(t){var e,i=[];t.compose=function(t,n){return e||(e=t),-1===i.indexOf(n)&&(i.push(n),r(n.prototype,a.prototype)),n};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,n){void 0===n&&(n=this.options);var r=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),i=[],a=this.horiz;if(e=!o(this.min)||!o(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),n=1,t&&r){if(e){var s=t.toString()===r.toString();n=0}for(e=0;e<t.length;e+=2){var l=t[e],c=t[e+1],u=r[e],d=r[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==d[0]&&"L"!==d[0]||(a&&u[1]===l[1]?(u[1]+=n,d[1]+=n):a||u[2]!==l[2]||(u[2]+=n,d[2]+=n),i.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",d[1],d[2]],["L",u[1],u[2]],["Z"])),i.isFlat=s}}return i},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,n){var r=this,o=this.userOptions,i=new e(this,t);if(this.visible&&(i=i.render()),i){if(this._addedPlotLB||(this._addedPlotLB=!0,(o.plotLines||[]).concat(o.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)}))),n){var a=o[n]||[];a.push(t),o[n]=a}this.plotLinesAndBands.push(i)}return i},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,r=this.options,o=this.userOptions;if(e){for(var i=e.length;i--;)e[i].id===t&&e[i].destroy();[r.plotLines||[],o.plotLines||[],r.plotBands||[],o.plotBands||[]].forEach((function(e){for(i=e.length;i--;)(e[i]||{}).id===t&&n(e,e[i])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.arrayMax,r=e.arrayMin,o=e.defined,i=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,l=e.merge,c=e.objectEach,u=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(n){return t.compose(e,n)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,n=e.horiz,r=e.logarithmic,i=t.options,a=i.color,d=u(i.zIndex,0),f=i.events,p={},h=e.chart.renderer,v=i.label,g=t.label,m=i.to,b=i.from,y=i.value,x=t.svgElem,w=[],O=o(b)&&o(m);w=o(y);var S=!x,j={class:"highcharts-plot-"+(O?"band ":"line ")+(i.className||"")},C=O?"bands":"lines";if(r&&(b=r.log2lin(b),m=r.log2lin(m),y=r.log2lin(y)),e.chart.styledMode||(w?(j.stroke=a||"#999999",j["stroke-width"]=u(i.width,1),i.dashStyle&&(j.dashstyle=i.dashStyle)):O&&(j.fill=a||"#e6ebf5",i.borderWidth&&(j.stroke=i.borderColor,j["stroke-width"]=i.borderWidth))),p.zIndex=d,C+="-"+d,(r=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=r=h.g("plot-"+C).attr(p).add()),S&&(t.svgElem=x=h.path().attr(j).add(r)),w)w=e.getPlotLinePath({value:y,lineWidth:x.strokeWidth(),acrossPanes:i.acrossPanes});else{if(!O)return;w=e.getPlotBandPath(b,m,i)}return!t.eventsAdded&&f&&(c(f,(function(e,n){x.on(n,(function(e){f[n].apply(t,[e])}))})),t.eventsAdded=!0),(S||!x.d)&&w&&w.length?x.attr({d:w}):x&&(w?(x.show(),x.animate({d:w})):x.d&&(x.hide(),g&&(t.label=g=g.destroy()))),v&&(o(v.text)||o(v.formatter))&&w&&w.length&&0<e.width&&0<e.height&&!w.isFlat?(v=l({align:n&&O&&"center",x:n?!O&&4:10,verticalAlign:!n&&O&&"middle",y:n?O?16:10:O?6:-4,rotation:n&&!O&&90},v),this.renderLabel(v,w,O,d)):g&&g.hide(),t},e.prototype.renderLabel=function(t,e,o,i){var a=this.axis,s=a.chart.renderer,c=this.label;c||(this.label=c=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(o?"band":"line")+"-label "+(t.className||""),zIndex:i}).add(),a.chart.styledMode||c.css(l({textOverflow:"ellipsis"},t.style))),i=e.xBounds||[e[0][1],e[1][1],o?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],o?e[2][2]:e[0][2]],o=r(i),s=r(e),c.align(t,!1,{x:o,y:s,width:n(i)-o,height:n(e)-s}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?a.height-(c.alignAttr.y-a.top):a.width-(c.alignAttr.x-a.left))+"px"}),c.show(!0)},e.prototype.getLabelText=function(t){return o(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,i(this)},e}()})),e(n,"Core/Tooltip.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i=t.format,a=e.doc,s=n.distribute,l=o.addEvent,c=o.clamp,u=o.css,d=o.defined,f=o.discardElement,p=o.extend,h=o.fireEvent,v=o.isArray,g=o.isNumber,m=o.isString,b=o.merge,y=o.pick,x=o.splat,w=o.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||x(this),n=[t.tooltipFooterHeaderFormatter(e[0])];return(n=n.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),n},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),f(this.container)),o.clearTimeout(this.hideTimer),o.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var n,r,o=this.chart,i=o.pointer,a=o.inverted,s=o.plotTop,l=o.plotLeft,c=0,u=0;return t=x(t),this.followPointer&&e?("undefined"===typeof e.chartX&&(e=i.normalize(e)),i=[e.chartX-l,e.chartY-s]):t[0].tooltipPos?i=t[0].tooltipPos:(t.forEach((function(t){n=t.series.yAxis,r=t.series.xAxis,c+=t.plotX||0,u+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,r&&n&&(a?(c+=s+o.plotHeight-r.len-r.pos,u+=l+o.plotWidth-n.len-n.pos):(c+=r.pos-l,u+=n.pos-s))})),c/=t.length,u/=t.length,i=[a?o.plotWidth-u:c,a?o.plotHeight-c:u],this.shared&&1<t.length&&e&&(a?i[0]=e.chartX-l:i[1]=e.chartY-s)),i.map(Math.round)},t.prototype.getLabel=function(){var t,n=this,o=this.chart.styledMode,i=this.options,a=this.split&&this.allowShared,s="tooltip"+(d(i.className)?" "+i.className:""),c=i.style.pointerEvents||(!this.followPointer&&i.stickOnContact?"auto":"none"),f=function(){n.inContact=!0},p=function(t){var e=n.chart.hoverSeries;n.inContact=n.shouldStickOnContact()&&n.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!n.inContact&&e&&e.onMouseOut&&e.onMouseOut()},h=this.chart.renderer;if(n.label){var v=!n.label.hasClass("highcharts-label");(a&&!v||!a&&v)&&n.destroy()}if(!this.label){if(this.outside){v=this.chart.options.chart.style;var g=r.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",u(t,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(v&&v.zIndex||0)+3)}),l(t,"mouseenter",f),l(t,"mouseleave",p),e.doc.body.appendChild(t),this.renderer=h=new g(t,0,0,v,void 0,void 0,h.styledMode)}if(a?this.label=h.g(s):(this.label=h.label("",0,0,i.shape,void 0,void 0,i.useHTML,void 0,s).attr({padding:i.padding,r:i.borderRadius}),o||this.label.attr({fill:i.backgroundColor,"stroke-width":i.borderWidth}).css(i.style).css({pointerEvents:c}).shadow(i.shadow)),o&&i.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var m=this.label,b=m.xSetter,y=m.ySetter;m.xSetter=function(e){b.call(m,n.distance),t.style.left=e+"px"},m.ySetter=function(e){y.call(m,n.distance),t.style.top=e+"px"}}this.label.on("mouseenter",f).on("mouseleave",p).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,n){var r,o=this.chart,i=this.distance,s={},l=o.inverted&&n.h||0,c=this.outside,u=c?a.documentElement.clientWidth-2*i:o.chartWidth,d=c?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):o.chartHeight,f=o.pointer.getChartPosition(),p=function(r){var a="x"===r;return[r,a?u:d,a?t:e].concat(c?[a?t*f.scaleX:e*f.scaleY,a?f.left-i+(n.plotX+o.plotLeft)*f.scaleX:f.top-i+(n.plotY+o.plotTop)*f.scaleY,0,a?u:d]:[a?t:e,a?n.plotX+o.plotLeft:n.plotY+o.plotTop,a?o.plotLeft:o.plotTop,a?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},h=p("y"),v=p("x");p=!!n.negative,!o.polar&&o.hoverSeries&&o.hoverSeries.yAxis&&o.hoverSeries.yAxis.reversed&&(p=!p);var g=!this.followPointer&&y(n.ttBelow,!o.inverted===p),m=function(t,e,n,r,o,a,u){var d=c?"y"===t?i*f.scaleY:i*f.scaleX:i,p=(n-r)/2,h=r<o-i,v=o+i+r<e,m=o-d-n+p;if(o=o+d-p,g&&v)s[t]=o;else if(!g&&h)s[t]=m;else if(h)s[t]=Math.min(u-r,0>m-l?m:m-l);else{if(!v)return!1;s[t]=Math.max(a,o+l+n>e?o:o+l)}},b=function(t,e,n,r,o){var a;return o<i||o>e-i?a=!1:s[t]=o<n/2?1:o>e-r/2?e-r-2:o-n/2,a},x=function(t){var e=h;h=v,v=e,r=t};return(o.inverted||1<this.len)&&x(),function t(){!1!==m.apply(0,h)?!1!==b.apply(0,v)||r||(x(!0),t()):r?s.x=s.y=0:(x(!0),t())}(),s},t.prototype.hide=function(t){var e=this;o.clearTimeout(this.hideTimer),t=y(t,this.options.hideDelay),this.isHidden||(this.hideTimer=w((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=y(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,n,r){var i=this,a=i.now,s=!1!==i.options.animation&&!i.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),l=i.followPointer||1<i.len;p(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:l?void 0:s?(2*a.anchorX+n)/3:n,anchorY:l?void 0:s?(a.anchorY+r)/2:r}),i.getLabel().attr(a),i.drawTracker(),s&&(o.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){i&&i.move(t,e,n,r)}),32))},t.prototype.refresh=function(t,e){var n=this.chart,r=this.options,i=x(t),a=i[0],s=[],l=r.formatter||this.defaultFormatter,c=this.shared,u=n.styledMode,d={};if(r.enabled&&a.series){o.clearTimeout(this.hideTimer),this.allowShared=!(!v(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var f=(t=this.getAnchor(t,e))[0],p=t[1];if(c&&this.allowShared?(n.pointer.applyInactiveState(i),i.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(d={x:a.category,y:a.y}).points=s):d=a.getLabelConfig(),this.len=s.length,l=l.call(d,this),c=a.series,this.distance=y(c.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,i);else{var g=f,m=p;if(e&&n.pointer.isDirectTouch&&(g=e.chartX-n.plotLeft,m=e.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!i.some((function(t){return t.series.shouldShowTooltip(g,m)})))return void this.hide();e=this.getLabel(),r.style.width&&!u||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:l&&l.join?l.join(""):l}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+y(a.colorIndex,c.colorIndex)),u||e.attr({stroke:r.borderColor||a.color||c.color||"#666666"}),this.updatePosition({plotX:f,plotY:p,negative:a.negative,ttBelow:a.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}h(this,"refresh")}},t.prototype.renderSplit=function(t,e){function n(t,e,n,o,i){return void 0===i&&(i=!0),n?(e=_?0:R,t=c(t-o/2,k.left,k.right-o-(r.outside?M:0))):(e-=T,t=c(t=i?t-o-S:t+S,i?t:k.left,k.right)),{x:t,y:e}}var r=this,o=r.chart,i=r.chart,l=i.chartWidth,u=i.chartHeight,d=i.plotHeight,f=i.plotLeft,h=i.plotTop,v=i.pointer,g=i.scrollablePixelsY;g=void 0===g?0:g;var b=i.scrollablePixelsX,x=i.scrollingContainer,w=(x=void 0===x?{scrollLeft:0,scrollTop:0}:x).scrollLeft;x=x.scrollTop;var O=i.styledMode,S=r.distance,j=r.options,C=r.options.positioner,k=r.outside&&"number"!==typeof b?a.documentElement.getBoundingClientRect():{left:w,right:w+l,top:x,bottom:x+u},E=r.getLabel(),P=this.renderer||o.renderer,_=!(!o.xAxis[0]||!o.xAxis[0].opposite),M=(o=v.getChartPosition()).left;o=o.top;var T=h+x,A=0,R=d-g;m(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,o,i){if(!1!==o&&""!==o){var a=(i=e[i-1]||{isHeader:!0,plotX:e[0].plotX,plotY:d,series:{}}).isHeader,s=a?r:i.series;o=o.toString();var l=s.tt,u=i.isHeader,p=i.series,v="highcharts-color-"+y(i.colorIndex,p.colorIndex,"none");if(l||(l={padding:j.padding,r:j.borderRadius},O||(l.fill=j.backgroundColor,l["stroke-width"]=j.borderWidth),l=P.label("",0,0,j[u?"headerShape":"shape"],void 0,void 0,j.useHTML).addClass((u?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+v).attr(l).add(E)),l.isActive=!0,l.attr({text:o}),O||l.css(j.style).shadow(j.shadow).attr({stroke:j.borderColor||i.color||p.color||"#333333"}),o=(u=(s=s.tt=l).getBBox()).width+s.strokeWidth(),a&&(A=u.height,R+=A,_&&(T-=A)),p=void 0===(p=i.plotX)?0:p,v=void 0===(v=i.plotY)?0:v,l=i.series,i.isHeader){p=f+p;var g=h+d/2}else{var m=l.xAxis,b=l.yAxis;p=m.pos+c(p,-S,m.len+S),l.shouldShowTooltip(0,b.pos-h+v,{ignoreX:!0})&&(g=b.pos+v)}p=c(p,k.left-S,k.right+S),"number"===typeof g?(u=u.height+1,v=C?C.call(r,o,u,i):n(p,g,a,o),t.push({align:C?0:void 0,anchorX:p,anchorY:g,boxWidth:o,point:i,rank:y(v.rank,a?1:0),size:u,target:v.y,tt:s,x:v.x})):s.isActive=!1}return t}),[]),!C&&t.some((function(t){var e=(r.outside?M:0)+t.anchorX;return e<k.left&&e+t.boxWidth<k.right||e<M-k.left+t.boxWidth&&k.right-e>e}))&&(t=t.map((function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return p(t,{target:e.y,x:e.x})}))),r.cleanSplit(),s(t,R);var D=M,I=M;t.forEach((function(t){var e=t.x,n=t.boxWidth;(t=t.isHeader)||(r.outside&&M+e<D&&(D=M+e),!t&&r.outside&&D+n>I&&(I=M+e))})),t.forEach((function(t){var e=t.x,n=t.anchorX,o=t.pos,i=t.point.isHeader;if(o={visibility:"undefined"===typeof o?"hidden":"inherit",x:e,y:o+T,anchorX:n,anchorY:t.anchorY},r.outside&&e<n){var a=M-D;0<a&&(i||(o.x=e+a,o.anchorX=n+a),i&&(o.x=(I-D)/2,o.anchorX=n+a))}t.tt.attr(o)})),t=r.container,g=r.renderer,r.outside&&t&&g&&(i=E.getBBox(),g.setSize(i.width+i.x,i.height+i.y,!1),t.style.left=D+"px",t.style.top=o+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(e&&n){var r={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var o=e.getBBox();n[0]+=t.plotLeft-e.translateX,n[1]+=t.plotTop-e.translateY,r.x=Math.min(0,n[0]),r.y=Math.min(0,n[1]),r.width=0>n[0]?Math.max(Math.abs(n[0]),o.width-n[0]):Math.max(Math.abs(n[0]),o.width),r.height=0>n[1]?Math.max(Math.abs(n[1]),o.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),o.height),this.tracker?this.tracker.attr(r):(this.tracker=e.renderer.rect(r).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=t.series,r=n.tooltipOptions,o=n.xAxis,a=o&&o.dateTime;o={isFooter:e,labelConfig:t};var s=r.xDateFormat,l=r[e?"footerFormat":"headerFormat"];return h(this,"headerFormatter",o,(function(e){a&&!s&&g(t.key)&&(s=a.getXDateFormat(t.key,r.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=i(l,{point:t,series:n},this.chart)})),o.text},t.prototype.update=function(t){this.destroy(),b(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,b(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,n=this.options,r=e.pointer,o=this.getLabel();r=r.getChartPosition();var i=(n.positioner||this.getPosition).call(this,o.width,o.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(n=n.borderWidth+2*this.distance,this.renderer.setSize(o.width+n,o.height+n,!1),1===r.scaleX&&1===r.scaleY||(u(this.container,{transform:"scale(".concat(r.scaleX,", ").concat(r.scaleY,")")}),a*=r.scaleX,t*=r.scaleY),a+=r.left-i.x,t+=r.top-i.y),this.move(Math.round(i.x),Math.round(i.y||0),a,t)},t}(),t})),e(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i=e.animObject,a=n.defaultOptions,s=r.format,l=o.addEvent,c=o.defined,u=o.erase,d=o.extend,f=o.fireEvent,p=o.getNestedProperty,h=o.isArray,v=o.isFunction,g=o.isNumber,m=o.isObject,b=o.merge,y=o.objectEach,x=o.pick,w=o.syncTimeout,O=o.removeEvent,S=o.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(d({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,n){var r=this.series,o=r.options.pointValKey||r.pointValKey;return t=e.prototype.optionsToObject.call(this,t),d(this,t),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,o&&(this.y=e.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=x(this.isValid&&!this.isValid(),null===this.x||!g(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof n&&r.xAxis&&r.xAxis.hasNames&&(this.x=r.xAxis.nameToX(this)),"undefined"===typeof this.x&&r?this.x="undefined"===typeof n?r.autoIncrement():n:g(t.x)&&r.options.relativeXValue&&(this.x=r.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(o in(e.graphic||e.dataLabel||e.dataLabels)&&(O(e),e.destroyElements()),e)e[o]=null}var e=this,n=e.series,r=n.chart;n=n.options.dataSorting;var o,a=r.hoverPoints,s=i(e.series.chart.renderer.globalAnimation);e.legendItem&&r.legend.destroyItem(e),a&&(e.setState(),u(a,e),a.length||(r.hoverPoints=null)),e===r.hoverPoint&&e.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),w(t,s.duration)):t(),r.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,n){var r=this,o=this.series.options;(o.point.events[t]||r.options&&r.options.events&&r.options.events[t])&&r.importEvents(),"click"===t&&o.allowPointSelect&&(n=function(t){r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),f(r,t,e,n)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,n=this,r=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&r.push("dataLabel","dataLabelUpper","connector"),e=r.length;e--;){var i=r[e];n[i]&&o.singular.push(i)}return["dataLabel","connector"].forEach((function(e){var r=e+"s";t[e]&&n[r]&&o.plural.push(r)})),o},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?p(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,r=0;for(n=e[r];this[t]>=n.value;)n=e[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=c(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,f(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var n=this.series,r=n.options.keys,o=r||n.pointArrayMap||["y"],i=o.length,a={},s=0,l=0;if(g(t)||null===t)a[o[0]]=t;else if(h(t))for(!r&&t.length>i&&("string"===(n=typeof t[0])?a.name=t[0]:"number"===n&&(a.x=t[0]),s++);l<i;)r&&"undefined"===typeof t[s]||(0<o[l].indexOf(".")?e.prototype.setNestedProperty(a,t[s],o[l]):a[o[l]]=t[s]),s++,l++;else"object"===typeof t&&(a=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return a},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,n=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var r=(n=t.options.colors||t.chart.options.colors)[t.colorCounter];n=n.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===n&&(t.colorCounter=0)}else e||(r=t.color),e=t.colorIndex;this.colorIndex=x(this.options.colorIndex,e),this.color=x(this.options.color,r)},e.prototype.setNestedProperty=function(t,e,n){return n.split(".").reduce((function(t,n,r,o){return t[n]=o.length-1===r?e:m(t[n],!0)?t[n]:{},t[n]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,n=e.tooltipOptions,r=x(n.valueDecimals,""),o=n.valuePrefix||"",i=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(o||i)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+i)),t=t.replace(RegExp(e+"}","g"),e+":,."+r+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,n,r){function o(){a.applyOptions(t);var r=l&&a.hasDummyGraphic;r=null===a.y?!r:r,l&&r&&(a.graphic=l.destroy(),delete a.hasDummyGraphic),m(t,!0)&&(l&&l.element&&t&&t.marker&&"undefined"!==typeof t.marker.symbol&&(a.graphic=l.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),i=a.index,s.updateParallelArrays(a,i),u.data[i]=m(u.data[i],!0)||m(t,!0)?a.options:x(t,u.data[i]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===u.legendType&&(c.isDirtyLegend=!0),e&&c.redraw(n)}var i,a=this,s=a.series,l=a.graphic,c=s.chart,u=s.options;e=x(e,!0),!1===r?o():a.firePointEvent("update",{options:t},o)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var n=this,r=n.series,o=r.chart;this.selectedStaging=t=x(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,r.options.data[r.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||o.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(o.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=b(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,n){v(e)&&l(t,n,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,n){var r,o=this.series,i=this.state,s=o.options.states[e||"normal"]||{},l=a.plotOptions[o.type].marker&&o.options.marker,c=l&&!1===l.enabled,u=l&&l.states&&l.states[e||"normal"]||{},p=!1===u.enabled,h=this.marker||{},v=o.chart,m=l&&o.markerAttribs,b=o.halo,y=o.stateMarkerGraphic;if(!((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===s.enabled||e&&(p||c&&!1===u.enabled)||e&&h.states&&h.states[e]&&!1===h.states[e].enabled)){if(this.state=e,m&&(r=o.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(i&&this.graphic.removeClass("highcharts-point-"+i),e&&this.graphic.addClass("highcharts-point-"+e),!v.styledMode){var w=o.pointAttribs(this,e),O=x(v.options.chart.animation,s.animation);o.options.inactiveOtherPoints&&g(w.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:w.opacity},O)})),this.connector&&this.connector.animate({opacity:w.opacity},O)),this.graphic.animate(w,O)}r&&this.graphic.animate(r,x(v.options.chart.animation,u.animation,l.animation)),y&&y.hide()}else e&&u&&(i=h.symbol||o.symbol,y&&y.currentSymbol!==i&&(y=y.destroy()),r&&(y?y[n?"animate":"attr"]({x:r.x,y:r.y}):i&&(o.stateMarkerGraphic=y=v.renderer.symbol(i,r.x,r.y,r.width,r.height).add(o.markerGroup),y.currentSymbol=i)),!v.styledMode&&y&&"inactive"!==this.state&&y.attr(o.pointAttribs(this,e))),y&&(y[e&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,r=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==r&&!this.isCluster?(b||(o.halo=b=v.renderer.path().add(y.parentGroup)),b.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),b.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:r,zIndex:-1}),b.point=this,v.styledMode||b.attr(d({fill:this.color||o.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):b&&b.point&&b.point.haloPath&&b.animate({d:b.point.haloPath(0)},null,b.hide),f(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}(),e})),e(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o=t.parse,i=e.charts,a=e.noop,s=r.addEvent,l=r.attr,c=r.css,u=r.defined,d=r.extend,f=r.find,p=r.fireEvent,h=r.isNumber,v=r.isObject,g=r.objectEach,m=r.offset,b=r.pick,y=r.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),g(n,(function(t,e){n[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,r=this.zoomHor,i=this.zoomVert,a=e.plotLeft,s=e.plotTop,l=e.plotWidth,c=e.plotHeight,u=this.mouseDownX||0,d=this.mouseDownY||0,f=v(n.panning)?n.panning&&n.panning.enabled:n.panning,p=n.panKey&&t[n.panKey+"Key"],h=t.chartX,g=t.chartY,m=this.selectionMarker;if((!m||!m.touch)&&(h<a?h=a:h>a+l&&(h=a+l),g<s?g=s:g>s+c&&(g=s+c),this.hasDragged=Math.sqrt(Math.pow(u-h,2)+Math.pow(d-g,2)),10<this.hasDragged)){var b=e.isInsidePlot(u-a,d-s,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!b||p||m||(this.selectionMarker=m=e.renderer.rect(a,s,r?1:l,i?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||m.attr({fill:n.selectionMarkerFill||o("#335cad").setOpacity(.25).get()})),m&&r&&(r=h-u,m.attr({width:Math.abs(r),x:(0<r?0:r)+u})),m&&i&&(r=g-d,m.attr({height:Math.abs(r),y:(0<r?0:r)+d})),b&&!m&&f&&e.pan(t,n.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,n=this.chart,r=this.hasPinched;if(this.selectionMarker){var o=this.selectionMarker,i=o.attr?o.attr("x"):o.x,a=o.attr?o.attr("y"):o.y,s=o.attr?o.attr("width"):o.width,l=o.attr?o.attr("height"):o.height,f={originalEvent:t,xAxis:[],yAxis:[],x:i,y:a,width:s,height:l},v=!!n.mapView;(this.hasDragged||r)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&u(n.min)&&(r||e[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&h(i)&&h(a)){var o=n.horiz,c="touchend"===t.type?n.minPixelPadding:0,d=n.toValue((o?i:a)+c);o=n.toValue((o?i+s:a+l)-c),f[n.coll].push({axis:n,min:Math.min(d,o),max:Math.max(d,o)}),v=!0}})),v&&p(n,"selection",f,(function(t){n.zoom(d(t,r?{animation:!1}:null))}))),h(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),r&&this.scaleGroups()}n&&h(n.index)&&(c(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,n){var r,o=this.chart,i=o.hoverPoint;return o=o.tooltip,i&&o&&o.isStickyOnContact()?i:(t.forEach((function(t){var o=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,o),(o=v(t,!0)&&t.series)&&!(o=!v(r,!0))){o=r.distX-t.distX;var i=r.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(r.series.group&&r.series.group.zIndex);o=0<(0!==o&&e?o:0!==i?i:0!==a?a:r.series.index>t.series.index?-1:1)}o&&(r=t)})),r)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,r=n.xAxis;n=n.yAxis;var o=t.shapeArgs;if(r&&n){var i=b(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&o&&h(o.x)&&h(o.y)&&(i=o.x,a=o.y),e?{chartX:n.len+n.pos-a,chartY:r.len+r.pos-i}:{chartX:i+r.pos,chartY:a+n.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=m(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var n=t.offsetWidth;return t=t.offsetHeight,2<n&&2<t&&(this.chartPosition.scaleX=e.width/n,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,n,r,o,i){var a=[];r=!(!r||!t);var s={chartX:i?i.chartX:void 0,chartY:i?i.chartY:void 0,shared:o};p(this,"beforeGetHoverData",s);var l=e&&!e.stickyTracking?[e]:n.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!o&&t.directTouch)&&b(t.options.enableMouseTracking,!0)&&t.stickyTracking})),c=r||!i?t:this.findNearestKDPoint(l,o,i);return e=c&&c.series,c&&(o&&!e.noSharedTooltip?(l=n.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!o&&t.directTouch)&&b(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}))).forEach((function(t){var e=f(t.points,(function(t){return t.x===c.x&&!t.isNull}));v(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))})):a.push(c)),p(this,"afterGetHoverData",s={hoverPoint:c}),{hoverPoint:s.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var n;t;){if(n=l(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentElement}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip),this.followTouchMove=b(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var n=t.touches,r=n?n.length?n.item(0):b(n.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),n=r.pageX-e.left,r=r.pageY-e.top,n/=e.scaleX,r/=e.scaleY,d(t,{chartX:Math.round(n),chartY:Math.round(r)})},t.prototype.onContainerClick=function(t){var e=this.chart,n=e.hoverPoint;t=this.normalize(t);var r=e.plotLeft,o=e.plotTop;e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(p(n.series,"click",d(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(d(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-r,t.chartY-o,{visiblePlotOnly:!0})&&p(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var n=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"===typeof t.button||n)&&(this.zoomOption(t),n&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var n=i[b(t.hoverChartIndex,-1)],r=this.chart.tooltip;r&&r.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),n&&(e.relatedTarget||e.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),r&&!r.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var n=i[b(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,n=this.chartPosition;t=this.normalize(t,n);var r=e.tooltip;!n||r&&r.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var n=i[b(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,n=e.chart,r=e.pinchDown,o=t.touches||[],i=o.length,s=e.lastValidTouch,l=e.hasZoom,c={},u=1===i&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),f={},h=e.selectionMarker;1<i?e.initiated=!0:1===i&&this.followTouchMove&&(e.initiated=!1),l&&e.initiated&&!u&&!1!==t.cancelable&&t.preventDefault(),[].map.call(o,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(o,(function(t,e){r[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[r[0].chartX,r[1]&&r[1].chartX],s.y=[r[0].chartY,r[1]&&r[1].chartY],n.axes.forEach((function(t){if(t.zoomEnabled){var e=n.bounds[t.horiz?"h":"v"],r=t.minPixelPadding,o=t.toPixels(Math.min(b(t.options.min,t.dataMin),t.dataMin)),i=t.toPixels(Math.max(b(t.options.max,t.dataMax),t.dataMax)),a=Math.max(o,i);e.min=Math.min(t.pos,Math.min(o,i)-r),e.max=Math.max(t.pos+t.len,a+r)}})),e.res=!0):e.followTouchMove&&1===i?this.runPointActions(e.normalize(t)):r.length&&(p(n,"touchpan",{originalEvent:t},(function(){h||(e.selectionMarker=h=d({destroy:a,touch:!0},n.plotBox)),e.pinchTranslate(r,o,c,h,f,s),e.hasPinched=l,e.scaleGroups(c,f)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,n,r,o,i){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,r,o,i),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,r,o,i)},t.prototype.pinchTranslateDirection=function(t,e,n,r,o,i,a,s){var l=this.chart,c=t?"x":"y",u=t?"X":"Y",d="chart"+u,f=t?"width":"height",p=l["plot"+(t?"Left":"Top")],h=l.inverted,v=l.bounds[t?"h":"v"],g=1===e.length,m=e[0][d],b=!g&&e[1][d];e=function(){"number"===typeof S&&20<Math.abs(m-b)&&(w=s||Math.abs(O-S)/Math.abs(m-b)),x=(p-O)/w+m,y=l["plot"+(t?"Width":"Height")]/w};var y,x,w=s||1,O=n[0][d],S=!g&&n[1][d];if(e(),(n=x)<v.min){n=v.min;var j=!0}else n+y>v.max&&(n=v.max-y,j=!0);j?(O-=.8*(O-a[c][0]),"number"===typeof S&&(S-=.8*(S-a[c][1])),e()):a[c]=[O,S],h||(i[c]=x-p,i[f]=y),i=h?1/w:w,o[f]=y,o[c]=n,r[h?t?"scaleY":"scaleX":"scale"+u]=w,r["translate"+u]=i*p+(O-i*m)},t.prototype.reset=function(t,e){var n=this.chart,r=n.hoverSeries,o=n.hoverPoint,i=n.hoverPoints,a=n.tooltip,s=a&&a.shared?i:o;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&i?i.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):o&&(o.setState(o.state,!0),n.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),i&&i.forEach((function(t){t.setState()})),r&&r.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(e,n){var r=this.chart,o=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,a=!!o&&o.shared,l=n||r.hoverPoint,c=l&&l.series||r.hoverSeries;n=this.getHoverData(l,c,r.series,(!e||"touchmove"!==e.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),a,e),l=n.hoverPoint,c=n.hoverSeries;var u=n.hoverPoints;n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var d=a&&c&&!c.noSharedTooltip;if(l&&(l!==r.hoverPoint||o&&o.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===u.indexOf(t)&&t.setState()})),r.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!l.series)return;r.hoverPoints=u,r.hoverPoint=l,l.firePointEvent("mouseOver",void 0,(function(){o&&l&&o.refresh(d?u:l,e)}))}else n&&o&&!o.isHidden&&(a=o.getAnchor([{}],e),r.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(r.container.ownerDocument,"mousemove",(function(e){var n=i[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach((function(t){var n,o=b((t.crosshair||{}).snap,!0);o&&((n=r.hoverPoint)&&n.series[t.coll]===t||(n=f(u,(function(e){return e.series&&e.series[t.coll]===t})))),n||!o?t.drawCrosshair(e,n):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var n=this.chart;n.series.forEach((function(r){var o=t||r.getPlotBox();r.group&&(r.xAxis&&r.xAxis.zoomEnabled||n.mapView)&&(r.group.attr(o),r.markerGroup&&(r.markerGroup.attr(o),r.markerGroup.clip(e?n.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(o))})),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var n=this,r=this.chart.container,o=r.ownerDocument;r.onmousedown=this.onContainerMouseDown.bind(this),r.onmousemove=this.onContainerMouseMove.bind(this),r.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(r,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(r,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(o,"mouseup",this.onDocumentMouseUp.bind(this)));for(var i=this.chart.renderTo.parentElement;i&&"BODY"!==i.tagName;)this.eventsToUnbind.push(s(i,"scroll",(function(){delete n.chartPosition}))),i=i.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(r,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(r,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var n=this.chart,r=e.charts[b(t.hoverChartIndex,-1)];r&&r!==n&&r.pointer.onContainerMouseLeave({relatedTarget:n.container}),r&&r.mouseIsDown||(t.hoverChartIndex=n.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var r=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));b(r,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart;e=e.inverted;var r=n.zoomType||"";/touch/.test(t.type)&&(r=b(n.pinchType,r)),this.zoomX=t=/x/.test(r),this.zoomY=n=/y/.test(r),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}(),t})),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(t,e,n){function r(){var t=[];return t.item=function(t){return this[t]},f(h,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function o(t,n,o,i){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,i(t),s[n]({type:o,target:t.currentTarget,preventDefault:l,touches:r()}))}var i=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=t.charts,s=t.doc,l=t.noop,c=t.win,u=n.addEvent,d=n.css,f=n.objectEach,p=n.removeEvent,h={},v=!!c.PointerEvent;return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(t){t(this.chart.container,v?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,v?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,v?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(p),e.prototype.destroy.call(this)},n.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this.hasZoom&&d(t.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(t){o(t,"onContainerTouchStart","touchstart",(function(t){h[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},n.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",(function(t){h[t.pointerId]={pageX:t.pageX,pageY:t.pageY},h[t.pointerId].target||(h[t.pointerId].target=t.currentTarget)}))},n.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",(function(t){delete h[t.pointerId]}))},n.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(u)},n}(e)})),e(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i){var a=t.animObject,s=t.setAnimation,l=e.format;t=n.isFirefox;var c=n.marginNames;n=n.win;var u=o.distribute,d=i.addEvent,f=i.createElement,p=i.css,h=i.defined,v=i.discardElement,g=i.find,m=i.fireEvent,b=i.isNumber,y=i.merge,x=i.pick,w=i.relativeLength,O=i.stableSort,S=i.syncTimeout;return o=i.wrap,i=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),d(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=d(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=x(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=x(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,x(e,!0)&&n.redraw(),m(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,r=t.legendItem,o=t.legendLine,i=t.legendSymbol,a=this.itemHiddenStyle.color;n=e?n.itemStyle.color:a;var s=e&&t.color||a,l=t.options&&t.options.marker,c={fill:s};r&&r.css({fill:n,color:n}),o&&o.attr({stroke:s}),i&&(l&&i.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=a)),i.attr(c))}m(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=this.options,r=n.symbolPadding,o=!n.rtl,i=t._legendItemPos;n=i[0],i=i[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(r={translateX:o?n:this.legendWidth-n-2*r-4,translateY:i},o=function(){m(e,"afterPositionItem",{item:t})},h(s.translateY)?s.animate(r,void 0,o):(s.attr(r),o())),a&&(a.x=n,a.y=i)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&v(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var r=t.translateY;this.allItems.forEach((function(o){var i=o.checkbox;if(i){var a=r+n+i.y+(this.scrollOffset||0)+3;p(i,{left:t.translateX+o.checkboxOffset+i.x-20+"px",top:a+"px",display:this.proximate||a>r-6&&a<r+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,n=t.title,r=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,void 0,void 0,void 0,t.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,n=e.renderer,r=this.options,o=this.symbolWidth,i=r.symbolPadding||0,a=this.itemStyle,s=this.itemHiddenStyle,l="horizontal"===r.layout?x(r.itemDistance,20):0,c=!r.rtl,u=!t.series,d=!u&&t.series.drawLegendSymbol?t.series:t,f=d.options,p=this.createCheckboxForItem&&f&&f.showCheckbox,h=r.useHTML,v=t.options.className,g=t.legendItem;f=o+i+l+(p?20:0),g||(t.legendGroup=n.g("legend-item").addClass("highcharts-"+d.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(u?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=g=n.text("",c?o+i:-i,this.baseline||0,h),e.styledMode||g.css(y(t.visible?a:s)),g.attr({align:c?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=n.fontMetrics(e.styledMode?12:a.fontSize,g),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,g.attr("y",this.baseline),this.symbolHeight=r.symbolHeight||this.fontMetrics.f,r.squareSymbol&&(this.symbolWidth=x(r.symbolWidth,Math.max(this.symbolHeight,16)),f=this.symbolWidth+i+l+(p?20:0),c&&g.attr("x",this.symbolWidth+i))),d.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,g,h)),p&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||g.css({width:(r.itemWidth||this.widthOption||e.spacingBox.width)-f+"px"}),this.setText(t),e=g.getBBox(),n=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=r.itemWidth||t.legendItemWidth||e.width+f,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*n?e.height:n))},t.prototype.layoutItem=function(t){var e=this.options,n=this.padding,r="horizontal"===e.layout,o=t.itemHeight,i=this.itemMarginBottom,a=this.itemMarginTop,s=r?x(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,r&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+i),this.lastLineHeight=0),this.lastItemY=a+this.itemY+i,this.lastLineHeight=Math.max(o,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=e:(this.itemY+=a+o+i,this.lastLineHeight=o),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var n=e&&e.options;e&&x(n.showInLegend,!h(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))})),m(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,r=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(i,a){i.test(o)&&!h(t[a])&&(n[c[a]]=Math.max(n[c[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*r[a%2?"x":"y"]+x(r.margin,12)+e[a]+(n.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(r){var o,i=n;if(r.yAxis){r.xAxis.options.reversed&&(i=!i),r.points&&(o=g(i?r.points:r.points.slice(0).reverse(),(function(t){return b(t.plotY)}))),i=this.itemMarginTop+r.legendItem.getBBox().height+this.itemMarginBottom;var a=r.yAxis.top-t.plotTop;r.visible?(o=o?o.plotY:r.yAxis.height,o+=a-.3*i):o=a+r.yAxis.height,e.push({target:o,size:i,item:r})}}),this),u(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&e.pos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.options,r=this.padding,o=this.getAllItems(),i=this.group,a=this.box;this.itemX=r,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=w(n.width,t.spacingBox.width-r);var s=t.spacingBox.width-2*r-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=e.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(i),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),O(o,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),n.reversed&&o.reverse(),this.allItems=o,this.display=s=!!o.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,o.forEach(this.renderItem,this),o.forEach(this.layoutItem,this),o=(this.widthOption||this.offsetWidth)+r;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=r,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(i)),t.styledMode||a.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<o&&0<l&&a[a.placed?"animate":"attr"](a.crisp.call({},{x:0,y:0,width:o,height:l},a.strokeWidth())),i[s?"show":"hide"](),t.styledMode&&"none"===i.getStyle("display")&&(o=l=0),this.legendWidth=o,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),m(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,n=this.options,r=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?r+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(r-=e.titleOffset[2]),r!==t.y&&(t=y(t,{y:r})),e.hasRendered||(this.group.placed=!1),this.group.align(y(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,n,r=this,o=this.chart,i=o.renderer,a=this.options,s=a.y,l="top"===a.verticalAlign,c=this.padding,u=a.maxHeight,d=a.navigation,f=x(d.animation,!0),p=d.arrowSize||12,h=this.pages,v=this.allItems,g=function(t){"number"===typeof t?y.attr({height:t}):y&&(r.clipRect=y.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},m=function(t){return r[t]=i.circle(0,0,1.3*p).translate(p/2,p/2).add(b),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]};s=o.spacingBox.height+(l?-s:s)-c;var b=this.nav,y=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(s/=2),u&&(s=Math.min(s,u)),h.length=0,t&&0<s&&t>s&&!1!==d.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-c,0),this.currentPage=x(this.currentPage,1),this.fullHeight=t,v.forEach((function(t,r){var o=t._legendItemPos[1],i=Math.round(t.legendItem.getBBox().height),a=h.length;(!a||o-h[a-1]>e&&(n||o)!==h[a-1])&&(h.push(n||o),a++),t.pageIx=a-1,n&&(v[r-1].pageIx=a-1),r===v.length-1&&o+i-h[a-1]>e&&i<=e&&(h.push(o),t.pageIx=a),o!==n&&(n=o)})),y||(y=r.clipRect=i.clipRect(0,c,9999,0),r.contentGroup.clip(y)),g(e),b||(this.nav=b=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,p,p).add(b),m("upTracker").on("click",(function(){r.scroll(-1,f)})),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&d.style&&this.pager.css(d.style),this.pager.add(b),this.down=i.symbol("triangle-down",0,0,p,p).add(b),m("downTracker").on("click",(function(){r.scroll(1,f)}))),r.scroll(0),t=s):b&&(g(),this.nav=b.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,r=this.chart,o=this.pages,i=o.length,l=this.clipHeight,c=this.options.navigation,u=this.pager,d=this.padding,f=this.currentPage+t;f>i&&(f=i),0<f&&("undefined"!==typeof e&&s(e,r),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===f?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),u.attr({text:f+"/"+i}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:f===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),r.styledMode||(this.up.attr({fill:1===f?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===f?"default":"pointer"}),this.down.attr({fill:f===i?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:f===i?"default":"pointer"})),this.scrollOffset=-o[f-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=f,this.positionCheckboxes(),t=a(x(e,r.renderer.globalAnimation,!0)),S((function(){m(n,"afterScroll",{currentPage:f})}),t.duration))},t.prototype.setItemEvents=function(t,e,n){var o=this,i=o.chart.renderer.boxWrapper,a=t instanceof r,s="highcharts-legend-"+(a?"point":"series")+"-active",l=o.chart.styledMode,c=function(e){o.allItems.forEach((function(n){t!==n&&[n].concat(n.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))};(n?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(n){n&&n.on("mouseover",(function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&i.addClass(s),l||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(y(t.visible?o.itemStyle:o.itemHiddenStyle)),c(""),i.removeClass(s),t.setState()})).on("click",(function(e){var n=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};i.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,n):m(t,"legendItemClick",e,n)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=f("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),d(t.checkbox,"click",(function(e){m(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(n.navigator&&n.navigator.userAgent)||t)&&o(i.prototype,"positionItem",(function(t,e){var n=this,r=function(){e._legendItemPos&&t.call(n,e)};r(),n.bubbleLegend||setTimeout(r)})),i})),e(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/DefaultOptions.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o,i=e.defaultOptions,a=r.error,s=r.extendClass,l=r.merge;return function(e){function r(t,r){var o=i.plotOptions||{},a=r.defaultOptions;r.prototype.pointClass||(r.prototype.pointClass=n),r.prototype.type=t,a&&(o[t]=a),e.seriesTypes[t]=r}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,n){void 0===n&&(n={});var r=t.options.chart;r=n.type||r.type||r.defaultSeriesType||"";var o=e.seriesTypes[r];return e||a(17,!0,t,{missingModuleFor:r}),"function"===typeof(r=new o).init&&r.init(t,n),r},e.registerSeriesType=r,e.seriesType=function(t,o,a,c,u){var d=i.plotOptions||{};return o=o||"",d[t]=l(d[o],a),r(t,s(e.seriesTypes[o]||function(){},c)),e.seriesTypes[t].prototype.type=t,u&&(e.seriesTypes[t].prototype.pointClass=s(n,u)),e.seriesTypes[t]}}(o||(o={})),o})),e(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.js"],n["Core/DefaultOptions.js"],n["Core/Pointer.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],(function(t,e,n,r,o,i,a,s,l,c,u,d,f,p,h){var v=t.animate,g=t.animObject,m=t.setAnimation,b=n.numberFormat,y=r.registerEventOptions,x=o.charts,w=o.doc,O=o.marginNames,S=o.svg,j=o.win,C=s.defaultOptions,k=s.defaultTime,E=u.seriesTypes,P=p.addEvent,_=p.attr,M=p.cleanRecursively,T=p.createElement,A=p.css,R=p.defined,D=p.discardElement,I=p.erase,N=p.error,L=p.extend,F=p.find,B=p.fireEvent,z=p.getStyle,H=p.isArray,V=p.isNumber,U=p.isObject,W=p.isString,q=p.merge,G=p.objectEach,Y=p.pick,X=p.pInt,K=p.relativeLength,$=p.removeEvent,Z=p.splat,Q=p.syncTimeout,J=p.uniqueKey;return t=function(){function t(t,e,n){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,n)}return t.chart=function(e,n,r){return new t(e,n,r)},t.prototype.getArgs=function(t,e,n){W(t)||t.nodeName?(this.renderTo=t,this.init(e,n)):this.init(t,e)},t.prototype.init=function(t,e){var n=t.plotOptions||{};B(this,"init",{args:arguments},(function(){var r=q(C,t),i=r.chart;G(r.plotOptions,(function(t,e){U(t)&&(t.tooltip=n[e]&&q(n[e].tooltip)||void 0)})),r.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=r,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new f(t.time):o.time,this.numberFormatter=i.numberFormatter||b,this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=x.length,x.push(this),o.chartCount++,y(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,B(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var n=E[e];return n||N(17,!0,this,{missingModuleFor:e}),"function"===typeof(e=new n).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var n=e.length;t<n;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,n){void 0===n&&(n={});var r=this.inverted,o=this.plotBox,i=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,l=0,c=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(c=this.scrollingContainer).scrollLeft,c=c.scrollTop);var u=n.series;if(o=n.visiblePlotOnly&&s||o,t={x:s=n.inverted?e:t,y:e=n.inverted?t:e,isInsidePlot:!0},!n.ignoreX){var d=u&&(r?u.yAxis:u.xAxis)||{pos:i,len:1/0};(s=n.paneCoordinates?d.pos+s:i+s)>=Math.max(l+i,d.pos)&&s<=Math.min(l+i+o.width,d.pos+d.len)||(t.isInsidePlot=!1)}return!n.ignoreY&&t.isInsidePlot&&(r=u&&(r?u.xAxis:u.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?r.pos+e:a+e)>=Math.max(c+a,r.pos)&&n<=Math.min(c+a+o.height,r.pos+r.len)||(t.isInsidePlot=!1)),B(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){B(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,r=this.pointer,o=this.legend,i=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],c=this.isDirtyBox,u=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),m(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=n.length;t--;){var d=n[t];if(d.options.stacking||d.options.centerInCategory){var f=!0;if(d.isDirty){var p=!0;break}}}if(p)for(t=n.length;t--;)(d=n[t]).options.stacking&&(d.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),u=!0):i&&(i.labelFormatter||i.labelFormat)&&(u=!0)),t.isDirtyData&&B(t,"updatedData")})),u&&o&&o.options.enabled&&(o.render(),this.isDirtyLegend=!1),f&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(c=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){B(t,"afterSetExtremes",L(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(c||f)&&t.redraw()})),c&&this.drawChartBox(),B(this,"predraw"),n.forEach((function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),r&&r.reset(!0),a.draw(),B(this,"redraw"),B(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var n=this.series,r=F(this.axes,e)||F(this.series,e),o=0;!r&&o<n.length;o++)r=F(n[o].points||[],e);return r},t.prototype.getAxes=function(){var t=this,n=this.options,r=n.xAxis=Z(n.xAxis||{});n=n.yAxis=Z(n.yAxis||{}),B(this,"getAxes"),r.forEach((function(t,e){t.index=e,t.isX=!0})),n.forEach((function(t,e){t.index=e})),r.concat(n).forEach((function(n){new e(t,n)})),B(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){Y(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)},t.prototype.applyDescription=function(t,e){var n=this,r="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};r=this.options[t]=q(!this.styledMode&&{style:r},this.options[t],e);var o=this[t];o&&e&&(this[t]=o=o.destroy()),r&&!o&&((o=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,class:"highcharts-"+t,zIndex:r.zIndex||4}).add()).update=function(e){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||o.css(r.style),this[t]=o)},t.prototype.layOutTitles=function(t){var e=[0,0,0],n=this.renderer,r=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var o,i=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,i){this.styledMode||(o=a.style&&a.style.fontSize),o=n.fontMetrics(o,i).b,i.css({width:(a.width||r.width+(a.widthAdjust||0))+"px"});var l=Math.round(i.getBBox(a.useHTML).height);i.align(L({y:"bottom"===s?o:t+o,height:l},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var n=this.renderTo;R(e)||(this.containerWidth=z(n,"width")),R(t)||(this.containerHeight=z(n,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,K(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(A(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(w.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(w.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,w.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),A(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==w.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,n=e.chart,r=J(),o=this.renderTo;o||(this.renderTo=o=n.renderTo),W(o)&&(this.renderTo=o=w.getElementById(o)),o||N(13,!0,this);var i=X(_(o,"data-highcharts-chart"));V(i)&&x[i]&&x[i].hasRendered&&x[i].destroy(),_(o,"data-highcharts-chart",this.index),o.innerHTML=h.emptyHTML,n.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize(),i=this.chartWidth;var a=this.chartHeight;if(A(o,{overflow:"hidden"}),this.styledMode||(t=L({position:"relative",overflow:"hidden",width:i+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{})),this.container=r=T("div",{id:r},t,o),this._cursor=r.style.cursor,this.renderer=new(n.renderer||!S?c.getRendererType(n.renderer):d)(r,i,a,void 0,n.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),m(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,n=this.margin,r=this.titleOffset;this.resetMargins(),r[0]&&!R(n[0])&&(this.plotTop=Math.max(this.plotTop,r[0]+e[0])),r[2]&&!R(n[2])&&(this.marginBottom=Math.max(this.marginBottom,r[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),B(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,r=t.margin,o=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?o(t.axes):n&&n.length&&o(n),O.forEach((function(n,o){R(r[o])||(t[n]+=e[o])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,n=e.options.chart,r=e.renderTo,o=R(n.width)&&R(n.height),i=n.width||z(r,"width");n=n.height||z(r,"height"),r=t?t.target:j,delete e.pointer.chartPosition,o||e.isPrinting||!i||!n||r!==j&&r!==w||(i===e.containerWidth&&n===e.containerHeight||(p.clearTimeout(e.reflowTimeout),e.reflowTimeout=Q((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=i,e.containerHeight=n)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=P(j,"resize",(function(t){e.options&&e.reflow(t)})),P(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,n){var r=this,o=r.renderer;r.isResizing+=1,m(n,r),n=o.globalAnimation,r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,"undefined"!==typeof t&&(r.options.chart.width=t),"undefined"!==typeof e&&(r.options.chart.height=e),r.getChartSize(),r.styledMode||(n?v:A)(r.container,{width:r.chartWidth+"px",height:r.chartHeight+"px"},n),r.setChartSize(!0),o.setSize(r.chartWidth,r.chartHeight,n),r.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.layOutTitles(),r.getMargins(),r.redraw(n),r.oldChartHeight=null,B(r,"resize"),Q((function(){r&&B(r,"endResize",null,(function(){--r.isResizing}))}),g(n).duration)},t.prototype.setChartSize=function(t){var e,n,r,o,i=this.inverted,a=this.renderer,s=this.chartWidth,l=this.chartHeight,c=this.options.chart,u=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=i?o:r,this.plotSizeY=i?r:o,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:u[3],y:u[0],width:s-u[3]-u[1],height:l-u[0]-u[2]},this.plotBox=a.plotBox={x:e,y:n,width:r,height:o},i=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(i,d[3])/2),l=Math.ceil(Math.max(i,d[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(i,d[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(i,d[2])/2-l))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){B(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(n){var r=e[n],o=U(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach((function(r,i){t[n][i]=Y(e[n+r],o[i])}))})),O.forEach((function(e,n){t[e]=Y(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,n=this.renderer,r=this.chartWidth,o=this.chartHeight,i=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,l=e.plotBackgroundColor,c=e.plotBackgroundImage,u=this.plotLeft,d=this.plotTop,f=this.plotWidth,p=this.plotHeight,h=this.plotBox,v=this.clipRect,g=this.clipBox,m=this.chartBackground,b=this.plotBackground,y=this.plotBorder,x="animate";if(m||(this.chartBackground=m=n.rect().addClass("highcharts-background").add(),x="attr"),i)var w=t=m.strokeWidth();else t=(w=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(w||m["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=w),m.attr(s).shadow(e.shadow);m[x]({x:t/2,y:t/2,width:r-t-w%2,height:o-t-w%2,r:e.borderRadius}),x="animate",b||(x="attr",this.plotBackground=b=n.rect().addClass("highcharts-plot-background").add()),b[x](h),i||(b.attr({fill:l||"none"}).shadow(e.plotShadow),c&&(a?(c!==a.attr("href")&&a.attr("href",c),a.animate(h)):this.plotBGImage=n.image(c,u,d,f,p).add())),v?v.animate({width:g.width,height:g.height}):this.clipRect=n.clipRect(g),x="animate",y||(x="attr",this.plotBorder=y=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),i||y.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),y[x](y.crisp({x:u,y:d,width:f,height:p},-y.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,n,r=this,o=r.options.chart,i=r.options.series;["inverted","angular","polar"].forEach((function(a){for(e=E[o.type||o.defaultSeriesType],n=o[a]||e&&e.prototype[a],t=i&&i.length;!n&&t--;)(e=E[i[t].type])&&e.prototype[a]&&(n=!0);r[a]=n}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var n=e.options.linkedTo;W(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,n.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,n.options.visible,e.visible))})),B(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(n){var r=L(e.style,n.style),o=X(r.left)+t.plotLeft,i=X(r.top)+t.plotTop+12;delete r.left,delete r.top,t.renderer.text(n.html,o,i).attr({zIndex:2}).css(r).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,n=this.renderer,r=this.options,o=function(t){t.forEach((function(t){t.visible&&t.render()}))},a=0;this.setTitle(),this.legend=new i(this,r.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),r=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return a=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-a,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<r/this.plotWidth,c=1.05<s/this.plotHeight;(l||c)&&(t.forEach((function(t){(t.horiz&&l||!t.horiz&&c)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?o(t):e&&e.length&&o(e),this.seriesGroup||(this.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,n=q(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(j.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,n=e.axes,r=e.series,i=e.container,a=i&&i.parentNode;for(B(e,"destroy"),e.renderer.forExport?I(x,e):x[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),$(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=r.length;t--;)r[t]=r[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),i&&(i.innerHTML=h.emptyHTML,$(i),a&&D(i)),G(e,(function(t,n){delete e[n]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(H(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),B(t,"beforeRender"),l&&(a.isRequired()?t.pointer=new a(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&"undefined"!==typeof this.index&&t.apply(this,[this])}),this),B(this,"load"),B(this,"render"),R(this.index)&&this.setReflow(this.options.chart.reflow),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0},t.prototype.warnIfA11yModuleNotLoaded=function(){var t=this.options,e=this.title;t&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":e&&e.element.textContent||""}),t.accessibility&&!1===t.accessibility.enabled||N('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))},t.prototype.addSeries=function(t,e,n){var r,o=this;return t&&(e=Y(e,!0),B(o,"addSeries",{options:t},(function(){r=o.initSeries(t),o.isDirtyLegend=!0,o.linkSeries(),r.enabledDataSorting&&r.setData(t.data,!1),B(o,"afterAddSeries",{series:r}),e&&o.redraw(n)}))),r},t.prototype.addAxis=function(t,e,n,r){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:r})},t.prototype.addColorAxis=function(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})},t.prototype.createAxis=function(t,n){return t=new e(this,q(n.axis,{index:this[t].length,isX:"xAxis"===t})),Y(n.redraw,!0)&&this.redraw(n.animation),t},t.prototype.showLoading=function(t){var e=this,n=e.options,r=n.loading,o=function(){i&&A(i,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},i=e.loadingDiv,a=e.loadingSpan;i||(e.loadingDiv=i=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=T("span",{className:"highcharts-loading-inner"},null,i),P(e,"redraw",o)),i.className="highcharts-loading",h.setElementHTML(a,Y(t,n.lang.loading,"")),e.styledMode||(A(i,L(r.style,{zIndex:10})),A(a,r.labelStyle),e.loadingShown||(A(i,{opacity:0,display:""}),v(i,{opacity:r.style.opacity||.5},{duration:r.showDuration||0}))),e.loadingShown=!0,o()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||v(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){A(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,n,r){var o,i,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,c=[];B(a,"update",{options:t}),l||a.setResponsive(!1,!0),t=M(t,a.options),a.userOptions=q(a.userOptions,t);var u=t.chart;if(u){if(q(!0,a.options.chart,u),"className"in u&&a.setClassName(u.className),"reflow"in u&&a.setReflow(u.reflow),"inverted"in u||"polar"in u||"type"in u){a.propFromSeries();var d=!0}"alignTicks"in u&&(d=!0),"events"in u&&y(this,u),G(u,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(l?a.isDirtyBox=!0:i=!0)})),!a.styledMode&&u.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===k&&(this.time=new f(t.time)),q(!0,a.options.time,t.time)),G(t,(function(e,n){a[n]&&"function"===typeof a[n].update?a[n].update(e,!1):"function"===typeof a[s[n]]?a[s[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&q(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var r=[];a[e].forEach((function(t,e){t.options.isInternal||r.push(Y(t.options.index,e))})),Z(t[e]).forEach((function(t,o){var i,s=R(t.id);s&&(i=a.get(t.id)),!i&&a[e]&&(i=a[e][r?r[o]:o])&&s&&R(i.options.id)&&(i=void 0),i&&i.coll===e&&(i.update(t,!1),n&&(i.touched=!0)),!i&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:c.push(t)}))}})),c.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),d&&a.axes.forEach((function(t){t.update({},!1)})),o&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),d=u&&u.width,u=u&&(W(u.height)?K(u.height,d||a.chartWidth):u.height),i||V(d)&&d!==a.chartWidth||V(u)&&u!==a.chartHeight?a.setSize(d,u,r):Y(e,!0)&&a.redraw(r),B(a,"afterUpdate",{options:t,redraw:e,animation:r})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,n=C.lang,r=e.options.chart.resetZoomButton,o=r.theme,i="chart"===r.relativeTo||"spacingBox"===r.relativeTo?null:"scrollablePlotBox";B(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(n.resetZoom,null,null,t,o).attr({align:r.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(r.position,!1,i)})),B(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){B(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,n=this,r=n.pointer,o=n.inverted?r.mouseDownX:r.mouseDownY,i=!1;!t||t.resetSelection?(n.axes.forEach((function(t){e=t.zoom()})),r.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=n.inverted?a.left:a.top,l=n.inverted?s+a.width:s+a.height,c=a.isXAxis,u=!1;(!c&&o>=s&&o<=l||c||!R(o))&&(u=!0),r[c?"zoomX":"zoomY"]&&u&&(e=a.zoom(t.min,t.max),a.displayBtn&&(i=!0))}));var a=n.resetZoomButton;i&&!a?n.showResetZoom():!i&&U(a)&&(n.resetZoomButton=a.destroy()),e&&n.redraw(Y(n.options.chart.animation,t&&t.animation,100>n.pointCount))},t.prototype.pan=function(t,e){var n=this,r=n.hoverPoints;e="object"===typeof e?e:{enabled:e,type:"x"};var o=n.options.chart;o&&o.panning&&(o.panning=e);var i,a=e.type;B(this,"pan",{originalEvent:t},(function(){r&&r.forEach((function(t){t.setState()}));var e=n.xAxis;"xy"===a?e=e.concat(n.yAxis):"y"===a&&(e=n.yAxis);var o={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var r=e.horiz,s=t[r?"chartX":"chartY"],l=n[r=r?"mouseDownX":"mouseDownY"],c=e.minPointOffset||0,u=e.reversed&&!n.inverted||!e.reversed&&n.inverted?-1:1,d=e.getExtremes(),f=e.toValue(l-s,!0)+c*u,p=e.toValue(l+e.len-s,!0)-(c*u||e.isXAxis&&e.pointRangePadding||0),h=p<f;u=e.hasVerticalPanning(),l=h?p:f,f=h?f:p;var v=e.panningState;!u||e.isXAxis||v&&!v.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),v||(v={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),V(e.dataMin)&&V(e.dataMax)&&(v.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,v.startMin),v.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,v.startMax))})),u=Math.min(Y(v&&v.startMin,d.dataMin),c?d.min:e.toValue(e.toPixels(d.min)-e.minPixelPadding)),p=Math.max(Y(v&&v.startMax,d.dataMax),c?d.max:e.toValue(e.toPixels(d.max)+e.minPixelPadding)),e.panningState=v,e.isOrdinal||(0<(c=u-l)&&(f+=c,l=u),0<(c=f-p)&&(f=p,l-=c),e.series.length&&l!==d.min&&f!==d.max&&l>=u&&f<=p&&(e.setExtremes(l,f,!1,!1,{trigger:"pan"}),!n.resetZoomButton&&l!==u&&f!==p&&a.match("y")&&(n.showResetZoom(),e.displayBtn=!1),i=!0),o[r]=s)}})),G(o,(function(t,e){n[e]=t})),i&&n.redraw(!1),A(n.container,{cursor:"move"})}))},t}(),L(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.merge,r=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,o=t.symbolWidth,i=t.symbolHeight,a=i/2,s=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={},u=e.marker;this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",o,t]]).addClass("highcharts-graph").attr(c).add(l),u&&!1!==u.enabled&&o&&(e=Math.min(r(u.radius,a),a),0===this.symbol.indexOf("url")&&(u=n(u,{width:i,height:i}),e=0),this.legendSymbol=o=s.symbol(this.symbol,o/2-e,t-e,2*e,2*e,u).addClass("highcharts-point").add(l),o.isMarker=!0)},t.drawRectangle=function(t,e){var n=t.symbolHeight,o=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(o?(t.symbolWidth-n)/2:0,t.baseline-n+1,o?n:t.symbolWidth,n,r(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(n,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l,c){var u=t.animObject,d=t.setAnimation,f=e.defaultOptions,p=n.registerEventOptions,h=r.hasTouch,v=r.svg,g=r.win,m=s.seriesTypes,b=c.addEvent,y=c.arrayMax,x=c.arrayMin,w=c.clamp,O=c.cleanRecursively,S=c.correctFloat,j=c.defined,C=c.erase,k=c.error,E=c.extend,P=c.find,_=c.fireEvent,M=c.getNestedProperty,T=c.isArray,A=c.isNumber,R=c.isString,D=c.merge,I=c.objectEach,N=c.pick,L=c.removeEvent,F=c.splat,B=c.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){_(this,"init",{options:e});var n=this,r=t.series;this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e),e=n.options,n.linkedSeries=[],n.bindAxes(),E(n,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var o,i=e.events;(i&&i.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(t){n[t+"Data"]||(n[t+"Data"]=[])})),n.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(o=r[r.length-1]),n._i=N(o&&o._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(r)),e.dataSorting&&e.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(e.data,!1),_(this,"afterInit")},t.prototype.is=function(t){return m[t]&&this instanceof m[t]},t.prototype.insert=function(t){var e,n=this.options.index;if(A(n)){for(e=t.length;e--;)if(n>=N(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return N(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,n=e.options,r=e.chart;_(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){var i=0;r[o].forEach((function(r){t=r.options,(n[o]===i&&!t.isInternal||"undefined"!==typeof n[o]&&n[o]===t.id||"undefined"===typeof n[o]&&0===t.index)&&(e.insert(r.series),e[o]=r,r.isDirty=!0),t.isInternal||i++})),e[o]||e.optionalAxis===o||k(18,!0,r)}))})),_(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var n=t.series,r=arguments,o=A(e)?function(r){var o="y"===r&&n.toYData?n.toYData(t):t[r];n[r+"Data"][e]=o}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(r,2))};n.parallelArrays.forEach(o)},t.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,n=this.options,r=n.pointIntervalUnit,o=n.relativeXValue,i=this.chart.time,a=this.xIncrement;return a=N(a,n.pointStart,0),this.pointInterval=e=N(this.pointInterval,n.pointInterval,1),o&&A(t)&&(e*=t),r&&(n=new i.Date(a),"day"===r?i.set("Date",n,i.get("Date",n)+e):"month"===r?i.set("Month",n,i.get("Month",n)+e):"year"===r&&i.set("FullYear",n,i.get("FullYear",n)+e),e=n.getTime()-a),o&&A(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;E(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),j(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,n=e.options,r=n.plotOptions,o=e.userOptions||{};t=D(t),e=e.styledMode;var i={plotOptions:r,userOptions:t};_(this,"setOptions",i);var a=i.plotOptions[this.type],s=o.plotOptions||{};return this.userOptions=i.userOptions,o=D(a,r.series,o.plotOptions&&o.plotOptions[this.type],t),this.tooltipOptions=D(f.tooltip,f.plotOptions.series&&f.plotOptions.series.tooltip,f.plotOptions[this.type].tooltip,n.tooltip.userOptions,r.series&&r.series.tooltip,r[this.type].tooltip,t.tooltip),this.stickyTracking=N(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||o.stickyTracking),null===a.marker&&delete o.marker,this.zoneAxis=o.zoneAxis,r=this.zones=(o.zones||[]).slice(),!o.negativeColor&&!o.negativeFillColor||o.zones||(n={value:o[this.zoneAxis+"Threshold"]||o.threshold||0,className:"highcharts-negative"},e||(n.color=o.negativeColor,n.fillColor=o.negativeFillColor),r.push(n)),r.length&&j(r[r.length-1].value)&&r.push(e?{}:{color:this.color,fillColor:this.fillColor}),_(this,"afterSetOptions",{options:o}),o},t.prototype.getName=function(){return N(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,n){var r=this.chart,o=this.userOptions,i=t+"Index",a=t+"Counter",s=n?n.length:N(r.options.chart[t+"Count"],r[t+"Count"]);if(!e){var l=N(o[i],o["_"+i]);j(l)||(r.series.length||(r[a]=0),o["_"+i]=l=r[a]%s,r[a]+=1),n&&(e=n[l])}"undefined"!==typeof l&&(this[i]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||f.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var n,r,o=t.id,a=t.x,s=this.points,l=this.options.dataSorting;if(o)(l=this.chart.get(o))instanceof i&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?n=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(n=function(e){return!e.touched&&e.options.x===t.x}),!(n=P(s,n))))return;if(n){var c=n&&n.index;"undefined"!==typeof c&&(r=!0)}return"undefined"===typeof c&&A(a)&&(c=this.xData.indexOf(a,e)),-1!==c&&"undefined"!==typeof c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!r&&A(c)&&s[c]&&s[c].touched&&(c=void 0),c},t.prototype.updateData=function(t,e){var n,r,o,i=this.options,a=i.dataSorting,s=this.points,l=[],c=this.requireSorting,u=t.length===s.length,d=!0;if(this.xIncrement=null,t.forEach((function(t,e){var r=j(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=r.x;r.id||A(d)?(-1===(r=this.findPointIndex(r,o))||"undefined"===typeof r?l.push(t):s[r]&&t!==i.data[r]?(s[r].update(t,!1,null,!1),s[r].touched=!0,c&&(o=r+1)):s[r]&&(s[r].touched=!0),(!u||e!==r||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)}),this),n)for(t=s.length;t--;)(r=s[t])&&!r.touched&&r.remove&&r.remove(!1,e);else!u||a&&a.enabled?d=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),l.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!d&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,n,r){var o=this,i=o.points,a=i&&i.length||0,s=o.options,l=o.chart,c=s.dataSorting,u=o.xAxis,d=s.turboThreshold,f=this.xData,p=this.yData,h=o.pointArrayMap;h=h&&h.length;var v,g=s.keys,m=0,b=1,y=null;if(!l.options.chart.allowMutatingData){s.data&&delete o.options.data,o.userOptions.data&&delete o.userOptions.data;var x=D(!0,t)}if(x=(t=x||t||[]).length,e=N(e,!0),c&&c.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==r&&x&&a&&!o.cropped&&!o.hasGroupedData&&o.visible&&!o.isSeriesBoosting&&(v=this.updateData(t,n)),!v){if(o.xIncrement=null,o.colorCounter=0,this.parallelArrays.forEach((function(t){o[t+"Data"].length=0})),d&&x>d)if(y=o.getFirstValidPoint(t),A(y))for(n=0;n<x;n++)f[n]=this.autoIncrement(),p[n]=t[n];else if(T(y))if(h)if(y.length===h)for(n=0;n<x;n++)f[n]=this.autoIncrement(),p[n]=t[n];else for(n=0;n<x;n++)r=t[n],f[n]=r[0],p[n]=r.slice(1,h+1);else if(g&&(m=0<=(m=g.indexOf("x"))?m:0,b=0<=(b=g.indexOf("y"))?b:1),1===y.length&&(b=0),m===b)for(n=0;n<x;n++)f[n]=this.autoIncrement(),p[n]=t[n][b];else for(n=0;n<x;n++)r=t[n],f[n]=r[m],p[n]=r[b];else k(12,!1,l);else for(n=0;n<x;n++)"undefined"!==typeof t[n]&&(r={series:o},o.pointClass.prototype.applyOptions.apply(r,[t[n]]),o.updateParallelArrays(r,n));for(p&&R(p[0])&&k(14,!0,l),o.data=[],o.options.data=o.userOptions.data=t,n=a;n--;)i[n]&&i[n].destroy&&i[n].destroy();u&&(u.minRange=u.userMinRange),o.isDirty=l.isDirtyBox=!0,o.isDirtyData=!!i,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(n)},t.prototype.sortData=function(t){var e=this,n=e.options.dataSorting.sortKey||"y",r=function(t,e){return j(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,o){t[o]=r(e,n),t[o].index=o}),this),t.concat().sort((function(t,e){return t=M(n,t),(e=M(n,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var n=e.options,o=n.data;n.dataSorting&&n.dataSorting.enabled||!o||(o.forEach((function(n,i){o[i]=r(e,n),t[i]&&(o[i].x=t[i].x,o[i].index=i)})),e.setData(o,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,n=this.options,r=n.cropThreshold,o=t||this.getExtremesFromAll||n.getExtremesFromAll,i=this.isCartesian;t=e&&e.val2lin,n=!(!e||!e.logarithmic);var a=0,s=this.xData,l=this.yData,c=this.requireSorting,u=!1,d=s.length;if(e){var f=(u=e.getExtremes()).min,p=u.max;u=!(!e.categories||e.names.length)}if(i&&this.sorted&&!o&&(!r||d>r||this.forceCrop))if(s[d-1]<f||s[0]>p)s=[],l=[];else if(this.yData&&(s[0]<f||s[d-1]>p)){var h=this.cropData(this.xData,this.yData,f,p);s=h.xData,l=h.yData,a=h.start,h=!0}for(r=s.length||1;--r;)if(0<(e=n?t(s[r])-t(s[r-1]):s[r]-s[r-1])&&("undefined"===typeof v||e<v))var v=e;else 0>e&&c&&!u&&(k(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:h,cropStart:a,closestPointRange:v}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,_(this,"afterProcessData")},t.prototype.cropData=function(t,e,n,r,o){var i,a=t.length,s=0,l=a;for(o=N(o,this.cropShoulder),i=0;i<a;i++)if(t[i]>=n){s=Math.max(0,i-o);break}for(n=i;n<a;n++)if(t[n]>r){l=n+o;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=this.processedData||t.data,n=this.processedXData,r=this.processedYData,o=this.pointClass,i=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=t.keys,c=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var u,d,f=this.data;if(!f&&!s){var p=[];p.length=e.length,f=this.data=p}for(l&&s&&(this.options.keys=!1),d=0;d<i;d++){if(p=a+d,s){var h=(new o).init(this,[n[d]].concat(F(r[d])));h.dataGroup=this.groupMap[t+d],h.dataGroup.options&&(h.options=h.dataGroup.options,E(h,h.dataGroup.options),delete h.dataLabels)}else(h=f[p])||"undefined"===typeof e[p]||(f[p]=h=(new o).init(this,e[p],n[d]));h&&(h.index=s?t+d:p,c[d]=h)}if(this.options.keys=l,f&&(i!==(u=f.length)||s))for(d=0;d<u;d++)d!==a||s||(d+=i),f[d]&&(f[d].destroyElements(),f[d].plotX=void 0);this.data=f,this.points=c,_(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:x(t),max:y(t)}},t.prototype.getExtremes=function(t,e){var n=this.xAxis,r=this.yAxis,o=this.processedXData||this.xData,i=[],a=this.requireSorting?this.cropShoulder:0;r=!!r&&r.positiveValuesOnly;var s,l=0,c=0,u=0,d=(t=t||this.stackedYData||this.processedYData||[]).length;if(n){var f=n.getExtremes();l=f.min,c=f.max}for(s=0;s<d;s++){var p=o[s];f=t[s];var h=(A(f)||T(f))&&(f.length||0<f||!r);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(o[s+a]||p)>=l&&(o[s-a]||p)<=c,h&&p)if(h=f.length)for(;h--;)A(f[h])&&(i[u++]=f[h]);else i[u++]=f}return t={activeYData:i,dataMin:x(i),dataMax:y(i)},_(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,n=0,r=null;null===r&&n<e;)r=t[n],n++;return r},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n=this.options,r=n.stacking,o=this.xAxis,i=o.categories,a=this.enabledDataSorting,s=this.yAxis,l=this.points,c=l.length,u=this.pointPlacementToXValue(),d=!!u,f=n.threshold,p=n.startFromThreshold?f:0,h=this.zoneAxis||"y",v=Number.MAX_VALUE;for(t=0;t<c;t++){var g=l[t],m=g.x,b=void 0,y=void 0,x=g.y,O=g.low,C=r&&s.stacking&&s.stacking.stacks[(this.negStacks&&x<(p?0:f)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(x)||o.positiveValuesOnly&&!o.validatePositiveValue(m))&&(g.isNull=!0),g.plotX=e=S(w(o.translate(m,0,0,0,1,u,"flags"===this.type),-1e5,1e5)),r&&this.visible&&C&&C[m]){var k=this.getStackIndicator(k,m,this.index);g.isNull||(y=(b=C[m]).points[k.key])}if(T(y)&&(O=y[0],x=y[1],O===p&&k.key===C[m].base&&(O=N(A(f)&&f,s.min)),s.positiveValuesOnly&&0>=O&&(O=null),g.total=g.stackTotal=b.total,g.percentage=b.total&&g.y/b.total*100,g.stackY=x,this.irregularWidths||b.setOffset(this.pointXOffset||0,this.barW||0)),g.yBottom=j(O)?w(s.translate(O,0,1,0,1),-1e5,1e5):null,this.dataModify&&(x=this.dataModify.modifyValue(x,t)),g.plotY=void 0,A(x)&&"undefined"!==typeof(b=s.translate(x,!1,!0,!1,!0))&&(g.plotY=w(b,-1e5,1e5)),g.isInside=this.isPointInside(g),g.clientX=d?S(o.translate(m,0,0,0,1,u)):e,g.negative=g[h]<(n[h+"Threshold"]||f||0),g.category=N(i&&i[g.x],g.x),!g.isNull&&!1!==g.visible){"undefined"!==typeof E&&(v=Math.min(v,Math.abs(e-E)));var E=e}g.zone=this.zones.length?g.getZone():void 0,!g.graphic&&this.group&&a&&(g.isNew=!0)}this.closestPointRangePx=v,_(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,n){var r=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!r.isInsidePlot(t.plotX,t.plotY,{inverted:r.inverted}))&&!1!==t.visible&&(n||!t.isNull)}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis,r=D(t.clipBox);return e&&e.len!==t.plotSizeX&&(r.width=e.len),n&&n.len!==t.plotSizeY&&(r.height=n.len),r},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,n=this.markerGroup,r=t.sharedClips;t=t.renderer;var o=this.getClipBox(),i=this.getSharedClipKey(),a=r[i];a?a.animate(o):r[i]=a=t.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()},t.prototype.animate=function(t){var e=this.chart,n=this.group,r=this.markerGroup,o=e.inverted,i=u(this.options.animation),a=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(),s=e.sharedClips[a],l=e.sharedClips[a+"m"];if(t&&n)i=this.getClipBox(),s?s.attr("height",i.height):(i.width=0,o&&(i.x=e.plotHeight),s=e.renderer.clipRect(i),e.sharedClips[a]=s,l=e.renderer.clipRect({x:o?(e.plotSizeX||0)+99:-99,y:o?-e.plotLeft:-e.plotTop,width:99,height:o?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=l),n.clip(s),r&&r.clip(l);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var c=i.step;r&&r.element.childNodes.length&&(i.step=function(t,e){c&&c.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,i)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),I(this.chart.sharedClips,(function(e,n,r){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete r[n])})),this.finishedAnimating=!0,_(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,n=this.points,r=this.chart,o=this.options.marker,i=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=N(o.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(t=0;t<n.length;t++){var l=n[t],c=(e=l.graphic)?"animate":"attr",u=l.marker||{},d=!!l.marker;if((s&&"undefined"===typeof u.enabled||u.enabled)&&!l.isNull&&!1!==l.visible){var f=N(u.symbol,this.symbol,"rect"),p=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=a.reversed?-(p.width||0):a.width);var h=!1!==l.isInside;e?e[h?"show":"hide"](h).animate(p):h&&(0<(p.width||0)||l.hasImage)&&(l.graphic=e=r.renderer.symbol(f,p.x,p.y,p.width,p.height,d?u:o).add(i),this.enabledDataSorting&&r.hasRendered&&(e.attr({x:l.startXPos}),c="animate")),e&&"animate"===c&&e[h?"show":"hide"](h).animate(p),e&&!r.styledMode&&e[c](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var n=this.options,r=n.marker,o=t.marker||{},i=o.symbol||r.symbol,a=N(o.radius,r&&r.radius);return e&&(r=r.states[e],e=o.states&&o.states[e],a=N(e&&e.radius,r&&r.radius,a&&a+(r&&r.radiusPlus||0))),t.hasImage=i&&0===i.indexOf("url"),t.hasImage&&(a=0),t=A(a)?{x:n.crisp?Math.floor(t.plotX-a):t.plotX-a,y:t.plotY-a}:{},a&&(t.width=t.height=2*a),t},t.prototype.pointAttribs=function(t,e){var n=this.options.marker,r=t&&t.options,o=r&&r.marker||{},i=r&&r.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,l=this.color;return t=N(o.lineWidth,n.lineWidth),r=1,l=i||s||a||l,i=o.fillColor||n.fillColor||l,a=o.lineColor||n.lineColor||l,e=e||"normal",n=n.states[e]||{},e=o.states&&o.states[e]||{},t=N(e.lineWidth,n.lineWidth,t+N(e.lineWidthPlus,n.lineWidthPlus,0)),i=e.fillColor||n.fillColor||i,{stroke:a=e.lineColor||n.lineColor||a,"stroke-width":t,fill:i,opacity:r=N(e.opacity,n.opacity,r)}},t.prototype.destroy=function(t){var e,n,r,o=this,i=o.chart,a=/AppleWebKit\/533/.test(g.navigator.userAgent),s=o.data||[];for(_(o,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(o.axisTypes||[]).forEach((function(t){(r=o[t])&&r.series&&(C(r.series,o),r.isDirty=r.forceRedraw=!0)})),o.legendItem&&o.chart.legend.destroyItem(o),e=s.length;e--;)(n=s[e])&&n.destroy&&n.destroy();o.clips&&o.clips.forEach((function(t){return t.destroy()})),c.clearTimeout(o.animationTimeout),I(o,(function(t,e){t instanceof l&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),i.hoverSeries===o&&(i.hoverSeries=void 0),C(i.series,o),i.orderSeries(),I(o,(function(e,n){t&&"hcEvents"===n||delete o[n]}))},t.prototype.applyZones=function(){var t,e,n,r,o,i,a,s,l=this,c=this.chart,u=c.renderer,d=this.zones,f=this.clips||[],p=this.graph,h=this.area,v=Math.max(c.chartWidth,c.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],m=c.inverted,b=!1;if(d.length&&(p||h)&&g&&"undefined"!==typeof g.min){var y=g.reversed,x=g.horiz;p&&!this.showLine&&p.hide(),h&&h.hide();var O=g.getExtremes();d.forEach((function(d,S){t=y?x?c.plotWidth:0:x?0:g.toPixels(O.min)||0,t=w(N(e,t),0,v),e=w(Math.round(g.toPixels(N(d.value,O.max),!0)||0),0,v),b&&(t=e=g.toPixels(O.max)),r=Math.abs(t-e),o=Math.min(t,e),i=Math.max(t,e),g.isXAxis?(n={x:m?i:o,y:0,width:r,height:v},x||(n.x=c.plotHeight-n.x)):(n={x:0,y:m?i:o,width:v,height:r},x&&(n.y=c.plotWidth-n.y)),m&&u.isVML&&(n=g.isXAxis?{x:0,y:y?o:i,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),f[S]?f[S].animate(n):f[S]=u.clipRect(n),a=l["zone-area-"+S],s=l["zone-graph-"+S],p&&s&&s.clip(f[S]),h&&a&&a.clip(f[S]),b=d.value>O.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=f}else l.visible&&(p&&p.show(),h&&h.show())},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){n[e]&&(r.renderer.isVML&&n[e].attr({width:n.yAxis.len,height:n.xAxis.len}),n[e].width=n.yAxis.len,n[e].height=n.xAxis.len,n[e].invert(!n.isRadialSeries&&t))}))}var n=this,r=n.chart;n.xAxis&&(n.eventsToUnbind.push(b(r,"resize",e)),e(),n.invertGroups=e)},t.prototype.plotGroup=function(t,e,n,r,o){var i=this[t],a=!i;return n={visibility:n,zIndex:r||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=i=this.chart.renderer.g().add(o)),i.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(j(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(i.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),i.attr(n)[a?"attr":"animate"](this.getPlotBox()),i},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||L(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,n=t.options,r=u(n.animation),o=t.visible?"inherit":"hidden",i=n.zIndex,a=t.hasRendered,s=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?r.duration:0,_(this,"render");var c=t.plotGroup("group","series",o,i,s);t.markerGroup=t.plotGroup("markerGroup","markers",o,i,s),!1!==n.clip&&t.setClip(),t.animate&&e&&t.animate(!0),c.inverted=!!N(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),a||(e&&r.defer&&(e+=r.defer),t.animationTimeout=B((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,_(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,r=this.xAxis,o=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:N(r&&r.left,t.plotLeft),translateY:N(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var n=this.xAxis,r=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:o?r.len-t.chartX+r.pos:t.chartY-r.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,r,o){var i=t&&t.length;if(i){var a=n.kdAxisArray[r%o];return t.sort((function(t,e){return t[a]-e[a]})),{point:t[i=Math.floor(i/2)],left:e(t.slice(0,i),r+1,o),right:e(t.slice(i+1),r+1,o)}}}this.buildingKdTree=!0;var n=this,r=-1<n.options.findNearestPointBy.indexOf("y")?2:1;delete n.kdTree,B((function(){n.kdTree=e(n.getValidPoints(null,!n.directTouch),r,r),n.buildingKdTree=!1}),n.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,n){var r=this,o=this.kdAxisArray[0],i=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<r.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,s,l){var c=n.point,u=r.kdAxisArray[s%l],d=c,f=j(e[o])&&j(c[o])?Math.pow(e[o]-c[o],2):null,p=j(e[i])&&j(c[i])?Math.pow(e[i]-c[i],2):null;return p=(f||0)+(p||0),c.dist=j(p)?Math.sqrt(p):Number.MAX_VALUE,c.distX=j(f)?Math.sqrt(f):Number.MAX_VALUE,f=0>(u=e[u]-c[u])?"right":"left",n[p=0>u?"left":"right"]&&(d=(p=t(e,n[p],s+1,l))[a]<d[a]?p:c),n[f]&&Math.sqrt(u*u)<d[a]&&(d=(e=t(e,n[f],s+1,l))[a]<d[a]?e:d),d}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,n=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=n.reversed?-.5:.5),A(t)?t*(e||n.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,n=this.xAxis,r=this.yAxis;return"undefined"!==typeof t.plotY&&"undefined"!==typeof t.plotX&&0<=t.plotY&&t.plotY<=(r?r.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(n?n.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,n=e.trackByArea,r=[].concat(n?t.areaPath:t.graphPath),o=t.chart,i=o.pointer,a=o.renderer,s=o.options.tooltip.snap,l=t.tracker,c=function(e){o.hoverSeries!==t&&t.onMouseOver()},u="rgba(192,192,192,"+(v?1e-4:.002)+")";l?l.attr({d:r}):t.graph&&(t.tracker=a.path(r).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),o.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:n?u:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(function(t){i.onTrackerMouseOut(t)})),e.cursor&&!o.styledMode&&t.css({cursor:e.cursor}),h)&&t.on("touchstart",c)}))),_(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,n,r,o){var i=this.options,a=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,u=i.data,d=this.xData;e=N(e,!0);var f={series:this};this.pointClass.prototype.applyOptions.apply(f,[t]);var p=f.x,h=d.length;if(this.requireSorting&&p<d[h-1])for(c=!0;h&&d[h-1]>p;)h--;this.updateParallelArrays(f,"splice",h,0,0),this.updateParallelArrays(f,h),l&&f.name&&(l[p]=f.name),u.splice(h,0,t),(c||this.processedData)&&(this.data.splice(h,0,null),this.processData()),"point"===i.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(f,"shift"),u.shift())),!1!==o&&_(this,"addPoint",{point:f}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(r)},t.prototype.removePoint=function(t,e,n){var r=this,o=r.data,i=o[t],a=r.points,s=r.chart,l=function(){a&&a.length===o.length&&a.splice(t,1),o.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(i||{series:r},"splice",t,1),i&&i.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&s.redraw()};d(n,s),e=N(e,!0),i?i.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,n,r){function o(){i.destroy(r),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),N(t,!0)&&a.redraw(e)}var i=this,a=i.chart;!1!==n?_(i,"remove",null,o):o()},t.prototype.update=function(t,e){t=O(t,this.userOptions),_(this,"update",{options:t});var n,r=this,o=r.chart,i=r.userOptions,a=r.initialType||r.type,s=o.options.plotOptions,l=m[a].prototype,c=r.finishedAnimating&&{animation:!1},u={},d=["eventOptions","navigatorSeries","baseSeries"],f=t.type||i.type||o.options.chart.type,p=!(this.hasDerivedData||f&&f!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||"undefined"!==typeof t.relativeXValue||t.joinBy||t.mapData||r.hasOptionChanged("dataGrouping")||r.hasOptionChanged("pointStart")||r.hasOptionChanged("pointInterval")||r.hasOptionChanged("pointIntervalUnit")||r.hasOptionChanged("keys"));if(f=f||a,p&&(d.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),r.parallelArrays.forEach((function(t){d.push(t+"Data")})),t.data&&(t.dataSorting&&E(r.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=D(i,c,{index:"undefined"===typeof i.index?r.index:i.index,pointStart:N(s&&s.series&&s.series.pointStart,i.pointStart,r.xData[0])},!p&&{data:r.options.data},t),p&&t.data&&(t.data=r.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(t){d[t]=r[t],delete r[t]})),s=!1,m[f]){if(s=f!==r.type,r.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(r,m[f].prototype);else{for(n in c=Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents,l)r[n]=void 0;E(r,m[f].prototype),c?r.hcEvents=c:delete r.hcEvents}}else k(17,!0,o,{missingModuleFor:f});if(d.forEach((function(t){r[t]=d[t]})),r.init(o,t),p&&this.points){var h=r.options;!1===h.visible?(u.graphic=1,u.dataLabel=1):r._hasPointLabels||(t=h.marker,l=h.dataLabels,!t||!1!==t.enabled&&(i.marker&&i.marker.symbol)===t.symbol||(u.graphic=1),l&&!1===l.enabled&&(u.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(u).length&&t.destroyElements(u),!1===h.showInLegend&&t.legendItem&&o.legend.destroyItem(t))}),this)}r.initialType=a,o.linkSeries(),s&&r.linkedSeries.length&&(r.isDirtyData=!0),_(this,"afterUpdate"),N(e,!0)&&o.redraw(!!p&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],n=this.chart.options.plotOptions,r=this.userOptions[t];return r?e!==r:e!==N(n&&n[this.type]&&n[this.type][t],n&&n.series&&n.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&_(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,n=e.tooltip,r=e.hoverPoint;e.hoverSeries=null,r&&r.onMouseOut(),this&&t.events.mouseOut&&_(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var n=this,r=n.options,o=n.graph,i=r.inactiveOtherPoints,a=r.states,s=N(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation),l=r.lineWidth,c=0,u=r.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(l=a[t].lineWidth||l+(a[t].lineWidthPlus||0),u=N(a[t].opacity,u)),o&&!o.dashstyle)for(r={"stroke-width":l},o.animate(r,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(r,s),c+=1;i||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:u},s)}))}e&&i&&n.points&&n.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var n=this,r=n.chart,o=n.legendItem,i=r.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=t=n.options.visible=n.userOptions.visible="undefined"===typeof t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){n[t]&&n[t][s]()})),r.hoverSeries!==n&&(r.hoverPoint&&r.hoverPoint.series)!==n||n.onMouseOut(),o&&r.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&r.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),i&&(r.isDirtyBox=!0),_(n,s),!1!==e&&r.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),_(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)},t.defaultOptions=a,t}(),E(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:o.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:i,requireSorting:!0,sorted:!0}),s.series=t,t})),e(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i){var a=t.stop,s=i.addEvent,l=i.createElement,c=i.defined,u=i.merge,d=i.pick;s(n,"afterSetChartSize",(function(t){var n=this.options.chart.scrollablePlotArea,r=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(r){if(this.scrollablePixelsX=r=Math.max(0,r-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=r,this.inverted?this.clipBox.height+=r:this.clipBox.width+=r;var o={1:{name:"right",value:r}}}}else n&&(this.scrollablePixelsY=r=Math.max(0,n-this.chartHeight),c(r)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=r,this.inverted?this.clipBox.width+=r:this.clipBox.height+=r,o={2:{name:"bottom",value:r}}));o&&!t.skipAxes&&this.axes.forEach((function(t){o[t.side]?t.getPlotLinePath=function(){var n=o[t.side].name,r=this[n];this[n]=r-o[t.side].value;var i=e.prototype.getPlotLinePath.apply(this,arguments);return this[n]=r,i}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var t,e=this.container,n=this.fixedRenderer,r=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&r.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),r.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,n=e.scrollablePlotArea,r=o.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new r(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterApplyDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),r=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=r+"px",this.renderer.boxWrapper.attr({width:e,height:r,viewBox:[0,0,e,r].join(" ")}),this.chartBackground.attr({width:e,height:r}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),r=this.axisOffset,t=this.plotTop-r[0]-1,n=this.plotLeft-r[3]-1,e=this.plotTop+this.plotHeight+r[2]+1,r=this.plotLeft+this.plotWidth+r[1]+1;var i=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",i,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",i,e],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",r,this.plotTop-1],["L",r,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",r,this.chartHeight],["L",r,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(r,"show",(function(){this.chart.scrollableDirty=!0}))})),e(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=t.getDeferredAnimation,i=n.addEvent,a=n.destroyObjectProperties,s=n.fireEvent,l=n.isNumber,c=n.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;c(e,(function(t,n){a(t),e[n]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new u(this))}var r=[];t.compose=function(t){return-1===r.indexOf(t)&&(r.push(t),i(t,"init",n),i(t,"destroy",e)),t};var u=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,n=e.series,r=e.options.reversedStacks,o=n.length;if(!e.isXAxis){for(this.usePercentage=!1,t=o;t--;){var i=n[r?t:o-t-1];i.setStackedPoints(),i.setGroupedPoints()}for(t=0;t<o;t++)n[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;c(t,(function(t){c(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||c(e,(function(e){c(e,(function(n,r){l(n.touched)&&n.touched<t.stacksTouched?(n.destroy(),delete e[r]):(n.total=null,n.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,n=e.renderer,r=this.stacks;t=o(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var i=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({zIndex:6,opacity:0}).add();i.translate(e.plotLeft,e.plotTop),c(r,(function(t){c(t,(function(t){t.render(i)}))})),i.animate({opacity:1},t)},t}();t.Additions=u}(r||(r={})),r})),e(n,"Extensions/Stacking.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Axis/StackingAxis.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a){var s=n.format,l=a.correctFloat,c=a.defined,u=a.destroyObjectProperties,d=a.isArray,f=a.isNumber,p=a.objectEach,h=a.pick,v=function(){function t(t,e,n,r,o){var i=t.chart.inverted;this.axis=t,this.isNegative=n,this.options=e=e||{},this.x=r,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=o,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(i?n?"left":"right":"center"),verticalAlign:e.verticalAlign||(i?"middle":n?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(i?n?"right":"left":"center")}return t.prototype.destroy=function(){u(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,n=this.options,r=n.format;r=r?s(r,this,e):n.formatter.call(this),this.label?this.label.attr({text:r,visibility:"hidden"}):(this.label=e.renderer.label(r,null,null,n.shape,null,null,n.useHTML,!1,"stack-labels"),r={r:n.borderRadius||0,text:r,rotation:n.rotation,padding:h(n.padding,5),visibility:"hidden"},e.styledMode||(r.fill=n.backgroundColor,r.stroke=n.borderColor,r["stroke-width"]=n.borderWidth,this.label.css(n.style)),this.label.attr(r),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,n,r,i){var a=this.axis,s=a.chart;r=a.translate(a.stacking.usePercentage?100:r||this.total,0,0,0,1),n=a.translate(n||0),n=c(r)&&Math.abs(r-n),t=h(i,s.xAxis[0].translate(this.x))+t,a=c(r)&&this.getStackBox(s,this,t,r,e,n,a),e=this.label,n=this.isNegative,t="justify"===h(this.options.overflow,"justify");var l=this.textAlign;e&&a&&(i=e.getBBox(),r=e.padding,l="left"===l?s.inverted?-r:r:"right"===l?i.width:s.inverted&&"center"===l?i.width/2:s.inverted?n?i.width+r:-r:i.width/2,n=s.inverted?i.height/2:n?-r:i.height,this.alignOptions.x=h(this.options.x,0),this.alignOptions.y=h(this.options.y,0),a.x-=l,a.y-=n,e.align(this.alignOptions,null,a),s.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+n-this.alignOptions.y)?e.show():(e.hide(),t=!1),t&&o.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,i,a),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),h(!t&&this.options.crop,!0)&&((s=f(e.x)&&f(e.y)&&s.isInsidePlot(e.x-r+e.width,e.y)&&s.isInsidePlot(e.x+r,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,n,r,o,i,a){var s=e.axis.reversed,l=t.inverted,c=a.height+a.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:l?e?r-a.right:r-i+a.pos-t.plotLeft:n+t.xAxis[0].transB-t.plotLeft,y:l?a.height-n-o:e?c-r-i:c-r,width:l?i:o,height:l?o:i}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(n){var r=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==t.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,h(n.options.stack,""),e?r.top:r.left,e?r.height:r.width].join())}))},i.compose(t),o.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?o.prototype.setStackedPoints.call(this,"group"):t&&p(t.stacks,(function(e,n){"group"===n.slice(-5)&&(p(e,(function(t){return t.destroy()})),delete t.stacks[n])}))},o.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var n=this.processedXData,r=this.processedYData,o=[],i=r.length,a=this.options,s=a.threshold,u=h(a.startFromThreshold&&s,0);a=a.stack;var f,p,g="-"+(t=t?""+this.type+",".concat(e):this.stackKey),m=this.negStacks,b=this.yAxis,y=b.stacking.stacks,x=b.stacking.oldStacks;for(b.stacking.stacksTouched+=1,p=0;p<i;p++){var w=n[p],O=r[p],S=this.getStackIndicator(S,w,this.index),j=S.key,C=(f=m&&O<(u?0:s))?g:t;y[C]||(y[C]={}),y[C][w]||(x[C]&&x[C][w]?(y[C][w]=x[C][w],y[C][w].total=null):y[C][w]=new v(b,b.options.stackLabels,f,w,a)),C=y[C][w],null!==O?(C.points[j]=C.points[this.index]=[h(C.cumulative,u)],c(C.cumulative)||(C.base=j),C.touched=b.stacking.stacksTouched,0<S.index&&!1===this.singleStacks&&(C.points[j][0]=C.points[this.index+","+w+",0"][0])):C.points[j]=C.points[this.index]=null,"percent"===e?(f=f?t:g,m&&y[f]&&y[f][w]?(f=y[f][w],C.total=f.total=Math.max(f.total,C.total)+Math.abs(O)||0):C.total=l(C.total+(Math.abs(O)||0))):"group"===e?(d(O)&&(O=O[0]),null!==O&&(C.total=(C.total||0)+1)):C.total=l(C.total+(O||0)),C.cumulative="group"===e?(C.total||1)-1:h(C.cumulative,u)+(O||0),null!==O&&(C.points[j].push(C.cumulative),o[p]=C.cumulative,C.hasValidPoints=!0)}"percent"===e&&(b.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=o),b.stacking.oldStacks={}}},o.prototype.modifyStacks=function(){var t,e=this,n=e.stackKey,r=e.yAxis.stacking.stacks,o=e.processedXData,i=e.options.stacking;e[i+"Stacker"]&&[n,"-"+n].forEach((function(n){for(var a,s,l=o.length;l--;)a=o[l],t=e.getStackIndicator(t,a,e.index,n),(s=(a=r[n]&&r[n][a])&&a.points[t.key])&&e[i+"Stacker"](s,a,l)}))},o.prototype.percentStacker=function(t,e,n){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[n]=t[1]},o.prototype.getStackIndicator=function(t,e,n,r){return!c(t)||t.x!==e||r&&t.stackKey!==r?t={x:e,index:0,key:r,stackKey:r}:t.index++,t.key=[n,e,t.index].join(),t},r.StackItem=v,r.StackItem})),e(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=n.defined,i=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.drawGraph=function(){var t=this,e=this.options,n=(this.gappedPath||this.getGraphPath).call(this),r=this.chart.styledMode,o=[["graph","highcharts-graph"]];r||o[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(o=t.getZonesGraphs(o)).forEach((function(o,i){var a=o[0],s=t[a],l=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(t[a]=s=t.chart.renderer.path(n).addClass(o[1]).attr({zIndex:1}).add(t.group)),s&&!r&&(a={stroke:o[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},o[3]?a.dashstyle=o[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[l](a).shadow(2>i&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,n){var r,i=this,a=i.options,s=[],l=[],c=a.step,u=(t=t||i.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach((function(u,d){var f=u.plotX,p=u.plotY,h=t[d-1];(u.leftCliff||h&&h.rightCliff)&&!n&&(r=!0),u.isNull&&!o(e)&&0<d?r=!a.connectNulls:u.isNull&&!e?r=!0:(0===d||r?d=[["M",u.plotX,u.plotY]]:i.getPointSpline?d=[i.getPointSpline(t,u,d)]:c?(d=1===c?[["L",h.plotX,p]]:2===c?[["L",(h.plotX+f)/2,h.plotY],["L",(h.plotX+f)/2,p]]:[["L",f,h.plotY]]).push(["L",f,p]):d=[["L",f,p]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),s.push.apply(s,d),r=!1)})),s.xMap=l,i.graphPath=s},n.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(e.className||"")],this.chart.styledMode||n.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(n)}),this),t},n.defaultOptions=i(t.defaultOptions,{}),n}(t),e.registerSeriesType("line",n),n})),e(n,"Series/Area/AreaSeries.js",[n["Core/Color/Color.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=t.parse,a=n.seriesTypes.line;t=r.extend;var s=r.merge,l=r.objectEach,c=r.pick;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,n=this.areaPath,r=this.options,o=[["area","highcharts-area",this.color,r.fillColor]];this.zones.forEach((function(t,n){o.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+t.className,t.color||e.color,t.fillColor||r.fillColor])})),o.forEach((function(t){var o=t[0],a={},s=e[o],l=s?"animate":"attr";s?(s.endX=e.preventGraphAnimation?null:n.xMap,s.animate({d:n})):(a.zIndex=0,(s=e[o]=e.chart.renderer.path(n).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(a.fill=c(t[3],i(t[2]).setOpacity(c(r.fillOpacity,.75)).get())),s[l](a),s.startX=n.xMap,s.shiftUnit=r.step?2:1}))},e.prototype.getGraphPath=function(t){var e=a.prototype.getGraphPath,n=this.options,r=n.stacking,o=this.yAxis,i=[],s=[],l=this.index,u=o.stacking.stacks[this.stackKey],d=n.threshold,f=Math.round(o.getThreshold(n.threshold));n=c(n.connectNulls,"percent"===r);var p=function(e,n,a){var c=t[e];e=r&&u[c.x].points[l];var p=c[a+"Null"]||0;if(a=c[a+"Cliff"]||0,c=!0,a||p){var h=(p?e[0]:e[1])+a,v=e[0]+a;c=!!p}else!r&&t[n]&&t[n].isNull&&(h=v=d);"undefined"!==typeof h&&(s.push({plotX:m,plotY:null===h?f:o.getThreshold(h),isNull:c,isCliff:!0}),i.push({plotX:m,plotY:null===v?f:o.getThreshold(v),doCurve:!1}))};t=t||this.points,r&&(t=this.getStackPoints(t));for(var h=0,v=t.length;h<v;++h){r||(t[h].leftCliff=t[h].rightCliff=t[h].leftNull=t[h].rightNull=void 0);var g=t[h].isNull,m=c(t[h].rectPlotX,t[h].plotX),b=r?c(t[h].yBottom,f):f;g&&!n||(n||p(h,h-1,"left"),g&&!r&&n||(s.push(t[h]),i.push({x:h,plotX:m,plotY:b})),n||p(h,h+1,"right"))}return p=e.call(this,s,!0,!0),i.reversed=!0,(b=(g=e.call(this,i,!0,!0))[0])&&"M"===b[0]&&(g[0]=["L",b[1],b[2]]),(g=p.concat(g)).length&&g.push(["Z"]),e=e.call(this,s,!1,n),g.xMap=p.xMap,this.areaPath=g,e},e.prototype.getStackPoints=function(t){var e=this,n=[],r=[],o=this.xAxis,i=this.yAxis,a=i.stacking.stacks[this.stackKey],s={},u=i.series,d=u.length,f=i.options.reversedStacks?1:-1,p=u.indexOf(e);if(t=t||this.points,this.options.stacking){for(var h=0;h<t.length;h++)t[h].leftNull=t[h].rightNull=void 0,s[t[h].x]=t[h];l(a,(function(t,e){null!==t.total&&r.push(e)})),r.sort((function(t,e){return t-e}));var v=u.map((function(t){return t.visible}));r.forEach((function(t,l){var h,g,m=0;if(s[t]&&!s[t].isNull)n.push(s[t]),[-1,1].forEach((function(n){var o=1===n?"rightNull":"leftNull",i=a[r[l+n]],c=0;if(i)for(var m=p;0<=m&&m<d;){var b=u[m].index;(h=i.points[b])||(b===e.index?s[t][o]=!0:v[m]&&(g=a[t].points[b])&&(c-=g[1]-g[0])),m+=f}s[t][1===n?"rightCliff":"leftCliff"]=c}));else{for(var b=p;0<=b&&b<d;){if(h=a[t].points[u[b].index]){m=h[1];break}b+=f}m=c(m,0),m=i.translate(m,0,1,0,1),n.push({isNull:!0,plotX:o.translate(t,0,0,0,1),x:t,plotY:m,yBottom:m})}}))}return n},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(r.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("area",r),r})),e(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=t.seriesTypes.line,o=e.merge,i=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.getPointSpline=function(t,e,n){var r=e.plotX||0,o=e.plotY||0,a=t[n-1];if(n=t[n+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!e.isCliff){t=a.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,c=(1.5*r+(a.plotX||0))/2.5,u=(1.5*o+t)/2.5,d=(1.5*o+n)/2.5;(s=(1.5*r+s)/2.5)!==c&&(l=(d-u)*(s-r)/(s-c)+o-d),d+=l,(u+=l)>t&&u>o?d=2*o-(u=Math.max(t,o)):u<t&&u<o&&(d=2*o-(u=Math.min(t,o))),d>n&&d>o?u=2*o-(d=Math.max(n,o)):d<n&&d<o&&(u=2*o-(d=Math.min(n,o))),e.rightContX=s,e.rightContY=d}return e=["C",i(a.rightContX,a.plotX,0),i(a.rightContY,a.plotY,0),i(c,r,0),i(u,o,0),r,o],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=o(r.defaultOptions),e}(r),t.registerSeriesType("spline",e),e})),e(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=n.seriesTypes,a=i.area;i=i.area.prototype;var s=r.extend,l=r.merge;return r=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(n,e),n.defaultOptions=l(t.defaultOptions,a.defaultOptions),n}(t),s(r.prototype,{getGraphPath:i.getGraphPath,getStackPoints:i.getStackPoints,drawGraph:i.drawGraph,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("areaspline",r),r})),e(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a){var s=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=t.animObject,c=e.parse,u=n.hasTouch;t=n.noop;var d=a.clamp,f=a.css,p=a.defined,h=a.extend,v=a.fireEvent,g=a.isArray,m=a.isNumber,b=a.merge,y=a.pick,x=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){var e=this,n=this.yAxis,r=e.options,o=this.chart.inverted,i={},a=o?"translateX":"translateY";if(t)i.scaleY=.001,t=d(n.toPixels(r.threshold),n.pos,n.pos+n.len),o?i.translateX=t-n.len:i.translateY=t,e.clipBox&&e.setClip(),e.group.attr(i);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},h(l(e.options.animation),{step:function(t,r){e.group&&(i[a]=s+r.pos*(n.pos-s),e.group.attr(i))}}))}},e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments);var r=this;(e=r.chart).hasRendered&&e.series.forEach((function(t){t.type===r.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,n=t.xAxis,r=t.yAxis,o=n.options.reversedStacks;o=n.reversed&&!o||!n.reversed&&o;var i,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var n=e.yAxis,o=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&r.len===n.len&&r.pos===n.pos){if(o.stacking&&"group"!==o.stacking){i=e.stackKey,"undefined"===typeof a[i]&&(a[i]=s++);var l=a[i]}else!1!==o.grouping&&(l=s++);e.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||e.pointRange||n.closestPointRange||n.tickInterval||1),n.len),c=l*e.groupPadding,u=(l-2*c)/(s||1);return e=Math.min(e.maxPointWidth||n.len,y(e.pointWidth,u*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(u-e)/2+(c+((t.columnIndex||0)+(o?1:0))*u-l/2)*(o?-1:1),paddedWidth:u,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,n,r){var o=this.chart,i=this.borderWidth,a=-(i%2?.5:0);return i=i%2?.5:1,o.inverted&&o.renderer.isVML&&(i+=1),this.options.crisp&&(n=Math.round(t+n)+a,n-=t=Math.round(t)+a),r=Math.round(e+r)+i,a=.5>=Math.abs(e)&&.5<r,r-=e=Math.round(e)+i,a&&r&&(--e,r+=1),{x:t,y:e,width:n,height:r}},e.prototype.adjustForMissingColumns=function(t,e,n,r){var o=this,i=this.options.stacking;if(!n.isNull&&1<r.columnCount){var a=this.yAxis.options.reversedStacks,s=0,l=a?0:-r.columnCount;x(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"===typeof n.x&&(t=t[n.x.toString()])){var e=t.points[o.index],r=t.total;i?(e&&(s=l),t.hasValidPoints&&(a?l++:l--)):g(e)&&(s=e[1],l=r||0)}})),t=(n.plotX||0)+((l-1)*r.paddedWidth+e)/2-e-s*r.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,n=t.options,r=t.dense=2>t.closestPointRange*t.xAxis.transA;r=t.borderWidth=y(n.borderWidth,r?0:1);var i=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),c=y(n.minPointLength,5),u=t.getColumnMetrics(),f=u.width,h=t.pointXOffset=u.offset,v=t.dataMin,g=t.dataMax,b=t.barW=Math.max(f,1+2*r);e.inverted&&(l-=.5),n.pointPadding&&(b=Math.ceil(b)),o.prototype.translate.apply(t),t.points.forEach((function(r){var o=y(r.yBottom,l),x=999+Math.abs(o),w=r.plotX||0;x=d(r.plotY,-x,a.len+x);var O=Math.min(x,o),S=Math.max(x,o)-O,j=f,C=w+h,k=b;c&&Math.abs(S)<c&&(S=c,w=!a.reversed&&!r.negative||a.reversed&&r.negative,m(s)&&m(g)&&r.y===s&&g<=s&&(a.min||0)<s&&(v!==g||(a.max||0)<=s)&&(w=!w),O=Math.abs(O-l)>c?o-c:l-(w?c:0)),p(r.options.pointWidth)&&(j=k=Math.ceil(r.options.pointWidth),C-=Math.round((j-f)/2)),n.centerInCategory&&(C=t.adjustForMissingColumns(C,j,r,u)),r.barX=C,r.pointWidth=j,r.tooltipPos=e.inverted?[d(a.len+a.pos-e.plotLeft-x,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),i.len+i.pos-e.plotTop-C-k/2,S]:[i.left-e.plotLeft+C+k/2,d(x+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),S],r.shapeType=t.pointClass.prototype.shapeType||"rect",r.shapeArgs=t.crispCol.apply(t,r.isNull?[C,l,k,0]:[C,O,k,S])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var n=this.options,r=this.pointAttrToOptions||{},o=r.stroke||"borderColor",i=r["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[o]||n[o]||a;r=t&&t.options.dashStyle||n.dashStyle;var l=t&&t[i]||n[i]||this[i]||0,u=y(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var d=t.getZone();a=t.options.color||d&&(d.color||t.nonZonedColor)||this.color,d&&(s=d.borderColor||s,r=d.dashStyle||r,l=d.borderWidth||l)}return e&&t&&(e=(t=b(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||"undefined"!==typeof e&&c(a).brighten(t.brightness).get()||a,s=t[o]||s,l=t[i]||l,r=t.dashStyle||r,u=y(t.opacity,u)),o={fill:a,stroke:s,"stroke-width":l,opacity:u},r&&(o.dashstyle=r),o},e.prototype.drawPoints=function(){var t,e=this,n=this.chart,r=e.options,o=n.renderer,i=r.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,l=!!s,c=s&&n.pointCount<i?"animate":"attr";m(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),s||(a.graphic=s=o[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&n.hasRendered&&n.pointCount<i&&(s.attr({x:a.startXPos}),l=!0,c="animate"),s&&l&&s[c](b(t)),r.borderRadius&&s[c]({r:r.borderRadius}),n.styledMode||s[c](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&r.shadow,null,r.stacking&&!r.borderRadius),s&&(s.addClass(a.getClassName(),!0),s.attr({visibility:a.visible?"inherit":"hidden"}))):s&&(a.graphic=s.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,n=e.chart,r=n.pointer,o=function(t){var e=r.getPointFromEvent(t);"undefined"!==typeof e&&(r.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=g(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),u&&e[t].on("touchstart",o),!n.styledMode&&e.options.cursor&&e[t].css(f).css({cursor:e.options.cursor}))})),e._hasTracking=!0),v(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),o.prototype.remove.apply(t,arguments)},e.defaultOptions=b(o.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(o),h(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:r.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("column",a),a})),e(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=t.getDeferredAnimation,i=e.format,a=n.defined,s=n.extend,l=n.fireEvent,c=n.isArray,u=n.merge,d=n.objectEach,f=n.pick,p=n.splat;return function(t){function e(t,e,n,r,o){var i=this,l=this.chart,c=this.isCartesian&&l.inverted,u=this.enabledDataSorting,d=f(t.dlBox&&t.dlBox.centerX,t.plotX),p=t.plotY,h=n.rotation,v=n.align,g=a(d)&&a(p)&&l.isInsidePlot(d,Math.round(p),{inverted:c,paneCoordinates:!0,series:i}),m=function(n){u&&i.xAxis&&!b&&i.setDataLabelStartPos(t,e,o,g,n)},b="justify"===f(n.overflow,u?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||u&&!b||g||f(n.inside,!!this.options.stacking)&&r&&l.isInsidePlot(d,c?r.x+1:r.y+r.height-1,{inverted:c,paneCoordinates:!0,series:i}));if(y&&a(d)&&a(p)){h&&e.attr({align:v}),v=e.getBBox(!0);var x=[0,0],w=l.renderer.fontMetrics(l.styledMode?void 0:n.style.fontSize,e).b;r=s({x:c?this.yAxis.len-p:d,y:Math.round(c?this.xAxis.len-d:p),width:0,height:0},r),s(n,{width:v.width,height:v.height}),h?(b=!1,x=l.renderer.rotCorr(w,h),d={x:r.x+(n.x||0)+r.width/2+x.x,y:r.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*r.height},x=[v.x-Number(e.attr("x")),v.y-Number(e.attr("y"))],m(d),e[o?"attr":"animate"](d)):(m(r),e.align(n,void 0,r),d=e.alignAttr),b&&0<=r.height?this.justifyDataLabel(e,n,d,v,r,o):f(n.crop,!0)&&(r=d.x,m=d.y,r+=x[0],m+=x[1],y=l.isInsidePlot(r,m,{paneCoordinates:!0,series:i})&&l.isInsidePlot(r+v.width,m+v.height,{paneCoordinates:!0,series:i})),n.shape&&!h&&e[o?"attr":"animate"]({anchorX:c?l.plotWidth-t.plotY:t.plotX,anchorY:c?l.plotHeight-t.plotX:t.plotY})}o&&u&&(e.placed=!1),y||u&&!b?e.show():(e.hide(),e.placed=!1)}function n(){var t=this,e=t.chart,n=t.options,r=t.points,s=t.hasRendered||0,u=e.renderer,v=n.dataLabels,g=v.animation;if(g=v.defer?o(e,g,t):{defer:0,duration:0},v=h(h(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),v),l(this,"drawDataLabels"),c(v)||v.enabled||t._hasPointLabels){var m=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",v.zIndex||6);m.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&m.show(),s[n.animation?"animate":"attr"]({opacity:1},g)),r.forEach((function(r){p(h(v,r.dlOptions||r.options&&r.options.dataLabels)).forEach((function(o,s){var l=o.enabled&&(!r.isNull||r.dataLabelOnNull)&&function(t,e){var n=e.filter;return!n||(e=n.operator,t=t[n.property],n=n.value,">"===e&&t>n||"<"===e&&t<n||">="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(r,o),c=r.connectors?r.connectors[s]:r.connector,p=r.dataLabels?r.dataLabels[s]:r.dataLabel,h=!p,v=f(o.distance,r.labelDistance);if(l){var g=r.getLabelConfig(),b=f(o[r.formatPrefix+"Format"],o.format);g=a(b)?i(b,g,e):(o[r.formatPrefix+"Formatter"]||o.formatter).call(g,o),b=o.style;var y=o.rotation;e.styledMode||(b.color=f(o.color,b.color,t.color,"#000000"),"contrast"===b.color?(r.contrastColor=u.getContrast(r.color||t.color),b.color=!a(v)&&o.inside||0>v||n.stacking?r.contrastColor:"#000000"):delete r.contrastColor,n.cursor&&(b.cursor=n.cursor));var x={r:o.borderRadius||0,rotation:y,padding:o.padding,zIndex:1};e.styledMode||(x.fill=o.backgroundColor,x.stroke=o.borderColor,x["stroke-width"]=o.borderWidth),d(x,(function(t,e){"undefined"===typeof t&&delete x[e]}))}!p||l&&a(g)&&!!p.div===!!o.useHTML&&(p.rotation&&o.rotation||p.rotation===o.rotation)||(h=!0,r.dataLabel=p=r.dataLabel&&r.dataLabel.destroy(),r.dataLabels&&(1===r.dataLabels.length?delete r.dataLabels:delete r.dataLabels[s]),s||delete r.dataLabel,c&&(r.connector=r.connector.destroy(),r.connectors&&(1===r.connectors.length?delete r.connectors:delete r.connectors[s]))),l&&a(g)?(p?x.text=g:(r.dataLabels=r.dataLabels||[],p=r.dataLabels[s]=y?u.text(g,0,0,o.useHTML).addClass("highcharts-data-label"):u.label(g,0,0,o.shape,null,null,o.useHTML,null,"data-label"),s||(r.dataLabel=p),p.addClass(" highcharts-data-label-color-"+r.colorIndex+" "+(o.className||"")+(o.useHTML?" highcharts-tracker":""))),p.options=o,p.attr(x),e.styledMode||p.css(b).shadow(o.shadow),p.added||p.add(m),o.textPath&&!o.useHTML&&(p.setTextPath(r.getDataLabelPath&&r.getDataLabelPath(p)||r.graphic,o.textPath),r.dataLabelPath&&!o.textPath.enabled&&(r.dataLabelPath=r.dataLabelPath.destroy())),t.alignDataLabel(r,p,o,null,h)):p&&p.hide()}))}))}l(this,"afterDrawDataLabels")}function r(t,e,n,r,o,i){var a=this.chart,s=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,u=e.x;u=void 0===u?0:u;var d=e.y;d=void 0===d?0:d;var f=(n.x||0)+c;if(0>f){"right"===s&&0<=u?(e.align="left",e.inside=!0):u-=f;var p=!0}return(f=(n.x||0)+r.width-c)>a.plotWidth&&("left"===s&&0>=u?(e.align="right",e.inside=!0):u+=a.plotWidth-f,p=!0),0>(f=n.y+c)&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=f,p=!0),(f=(n.y||0)+r.height-c)>a.plotHeight&&("top"===l&&0>=d?(e.verticalAlign="bottom",e.inside=!0):d+=a.plotHeight-f,p=!0),p&&(e.x=u,e.y=d,t.placed=!i,t.align(e,void 0,o)),p}function h(t,e){var n,r=[];if(c(t)&&!c(e))r=t.map((function(t){return u(t,e)}));else if(c(e)&&!c(t))r=e.map((function(e){return u(t,e)}));else if(c(t)||c(e))for(n=Math.max(t.length,e.length);n--;)r[n]=u(t[n],e[n]);else r=u(t,e);return r}function v(t,e,n,r,o){var i=this.chart,a=i.inverted,s=this.xAxis,l=s.reversed,c=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?o.x:l?-c-t:s.width-c+t,e.startYPos=a?l?this.yAxis.height-c+t:-c-t:o.y,r?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),i.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var g=[];t.compose=function(t){if(-1===g.indexOf(t)){var o=t.prototype;g.push(t),o.alignDataLabel=e,o.drawDataLabels=n,o.justifyDataLabel=r,o.setDataLabelStartPos=v}}}(r||(r={})),r})),e(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=e.series,i=n.merge,a=n.pick;return function(e){function n(t,e,n,r,s){var l=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var d=t.dlBox||t.shapeArgs,f=a(t.below,t.plotY>a(this.translatedThreshold,c)),p=a(n.inside,!!this.options.stacking);d&&(0>(r=i(d)).y&&(r.height+=r.y,r.y=0),0<(d=r.y+r.height-c)&&d<r.height&&(r.height-=d),l&&(r={x:c-r.y-r.height,y:u-r.x-r.width,width:r.height,height:r.width}),p||(l?(r.x+=f?0:r.width,r.width=0):(r.y+=f?r.height:0,r.height=0))),n.align=a(n.align,!l||p?"center":f?"right":"left"),n.verticalAlign=a(n.verticalAlign,l||p?"middle":f?"top":"bottom"),o.prototype.alignDataLabel.call(this,t,e,n,r,s),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var r=[];e.compose=function(e){t.compose(o),-1===r.indexOf(e)&&(r.push(e),e.prototype.alignDataLabel=n)}}(r||(r={})),r})),e(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=n.extend,i=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.defaultOptions=i(t.defaultOptions,{}),n}(t),o(n.prototype,{inverted:!0}),e.registerSeriesType("bar",n),n})),e(n,"Series/Scatter/ScatterSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=t.seriesTypes,o=r.column,i=r.line;r=e.addEvent;var a=e.extend,s=e.merge;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.applyJitter=function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(r,o){["x","y"].forEach((function(i,a){var s="plot"+i.toUpperCase();if(e[i]&&!r.isNull){var l=t[i+"Axis"],c=e[i]*l.transA;if(l&&!l.isLog){var u=Math.max(0,r[s]-c);l=Math.min(l.len,r[s]+c),a=1e4*Math.sin(o+a*n),r[s]=u+(l-u)*(a-Math.floor(a)),"x"===i&&(r.clientX=r.plotX)}}}))}))},e.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},e.defaultOptions=s(i.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),e}(i),a(e.prototype,{drawTracker:o.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),r(e,"afterTranslate",(function(){this.applyJitter()})),t.registerSeriesType("scatter",e),e})),e(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=t.deg2rad,i=n.fireEvent,a=n.isNumber,s=n.pick,l=n.relativeLength;return function(t){t.getCenter=function(){var t=this.options,n=this.chart,r=2*(t.slicedOffset||0),o=n.plotWidth-2*r,c=n.plotHeight-2*r,u=t.center,d=Math.min(o,c),f=t.thickness,p=t.size,h=t.innerSize||0;for("string"===typeof p&&(p=parseFloat(p)),"string"===typeof h&&(h=parseFloat(h)),t=[s(u[0],"50%"),s(u[1],"50%"),s(p&&0>p?void 0:t.size,"100%"),s(h&&0>h?void 0:t.innerSize||0,"0%")],!n.angular||this instanceof e||(t[3]=0),u=0;4>u;++u)p=t[u],n=2>u||2===u&&/%$/.test(p),t[u]=l(p,[o,c,d,t[2]][u])+(n?r:0);return t[3]>t[2]&&(t[3]=t[2]),a(f)&&2*f<t[2]&&0<f&&(t[3]=t[2]-2*f),i(this,"afterGetCenter",{positions:t}),t},t.getStartAndEndRadians=function(t,e){return t=a(t)?t:0,e=a(e)&&e>t&&360>e-t?e:t+360,{start:o*(t+-90),end:o*(e+-90)}}}(r||(r={})),r})),e(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=t.setAnimation,i=n.addEvent,a=n.defined;t=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return r(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=this.connectorShapes,r=e.connectorShape;return n[r]&&(r=n[r]),r.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(t){e.slice("select"===t.type)};return i(this,"select",n),i(this,"unselect",n),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var n=this,r=this.series,o=r.chart,i=r.options.ignoreHiddenPoint;e=l(e,i),t!==this.visible&&(this.visible=this.options.visible=t="undefined"===typeof t?!this.visible:t,r.options.data[r.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){n[e]&&n[e][t?"show":"hide"](t)})),this.legendItem&&o.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),i&&(r.isDirty=!0),e&&o.redraw())},e.prototype.slice=function(t,e,n){var r=this.series;o(n,r.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,n){var r=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*r.x-e.x,2*r.y-e.y,r.x,r.y]:["L",r.x,r.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var r=this.series,o=r.center[0],i=r.chart.plotWidth,a=r.chart.plotLeft;r=t.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),n=["L",i="left"===r?o+s+(i+a-o-s)*(1-n):a+(o-s)*n,t.y],o=!0,("left"===r?i>t.x||i<e.x:i<t.x||i>e.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(n),t.push(["L",e.x,e.y]),t}}}),e})),e(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l){var c=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=t.getStartAndEndRadians;n=n.noop;var d=l.clamp,f=l.extend,p=l.fireEvent,h=l.merge,v=l.pick,g=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,n=e.points,r=e.startAngleRad;t||n.forEach((function(t){var n=t.graphic,o=t.shapeArgs;n&&o&&(n.attr({r:v(t.startR,e.center&&e.center[3]/2),start:r,end:r}),n.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var r=this.center[0],o=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(r,o,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(r,o,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,n){var r=this.center,o=this.radii?this.radii[n.index]||0:r[2]/2;return t=Math.asin(d((t-r[1])/(o+n.labelDistance),-1,1)),r[0]+(e?-1:1)*Math.cos(t)*(o+n.labelDistance)+(0<n.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,n,r,o=this,i=o.chart,a=i.renderer,s=o.options.shadow;this.drawEmpty(),!s||o.shadowGroup||i.styledMode||(o.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(o.group)),o.points.forEach((function(l){var c={};if(e=l.graphic,!l.isNull&&e){var u=void 0;r=l.shapeArgs,t=l.getTranslate(),i.styledMode||(u=l.shadowGroup,s&&!u&&(u=l.shadowGroup=a.g("shadow").add(o.shadowGroup)),u&&u.attr(t),n=o.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(o.center).attr(r).attr(t),i.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,u),l.delayedRendering=!1):(e.setRadialReference(o.center),i.styledMode||h(!0,c,n),h(!0,c,r,t),e.animate(c)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,n){return"undefined"!==typeof t.angle&&(n.angle-t.angle)*e}))},e.prototype.translate=function(t){p(this,"translate"),this.generatePoints();var e=this.options,n=e.slicedOffset,r=n+(e.borderWidth||0),o=u(e.startAngle,e.endAngle),i=this.startAngleRad=o.start;o=(this.endAngleRad=o.end)-i;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,c=a.length,d=0;for(t||(this.center=t=this.getCenter()),l=0;l<c;l++){var f=a[l],h=i+d*o;!f.isValid()||e&&!f.visible||(d+=f.percentage/100);var m=i+d*o,b={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*h)/1e3,end:Math.round(1e3*m)/1e3};f.shapeType="arc",f.shapeArgs=b,f.labelDistance=v(f.options.dataLabels&&f.options.dataLabels.distance,s),f.labelDistance=g(f.labelDistance,b.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,f.labelDistance),(m=(m+h)/2)>1.5*Math.PI?m-=2*Math.PI:m<-Math.PI/2&&(m+=2*Math.PI),f.slicedTranslation={translateX:Math.round(Math.cos(m)*n),translateY:Math.round(Math.sin(m)*n)},b=Math.cos(m)*t[2]/2;var y=Math.sin(m)*t[2]/2;f.tooltipPos=[t[0]+.7*b,t[1]+.7*y],f.half=m<-Math.PI/2||m>Math.PI/2?1:0,f.angle=m,h=Math.min(r,f.labelDistance/5),f.labelPosition={natural:{x:t[0]+b+Math.cos(m)*f.labelDistance,y:t[1]+y+Math.sin(m)*f.labelDistance},final:{},alignment:0>f.labelDistance?"center":f.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+b+Math.cos(m)*h,y:t[1]+y+Math.sin(m)*h},touchingSliceAt:{x:t[0]+b,y:t[1]+y}}}}p(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,n=e.length,r=this.options.ignoreHiddenPoint,o=0;for(t=0;t<n;t++){var i=e[t];!i.isValid()||r&&!i.visible||(o+=i.y)}for(this.total=o,t=0;t<n;t++)(i=e[t]).percentage=0<o&&(i.visible||!r)?i.y/o*100:0,i.total=o},e.defaultOptions=h(i.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(i),f(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:r.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:o,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",l),l})),e(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i,a=e.noop,s=n.distribute,l=r.series,c=o.arrayMax,u=o.clamp,d=o.defined,f=o.merge,p=o.pick,h=o.relativeLength;return function(e){function n(){var t,e,n,r,o,i,a,u,h,v,g,m,b=this,y=b.data,x=b.chart,w=b.options.dataLabels||{},O=w.connectorPadding,S=x.plotWidth,j=x.plotHeight,C=x.plotLeft,k=Math.round(x.chartWidth/3),E=b.center,P=E[2]/2,_=E[1],M=[[],[]],T=[0,0,0,0],A=b.dataLabelPositioners;b.visible&&(w.enabled||b._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(b),y.forEach((function(t){t.dataLabel&&(t.visible?(M[t.half].push(t),t.dataLabel._pos=null,!d(w.style.width)&&!d(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>k&&(t.dataLabel.css({width:Math.round(.7*k)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),M.forEach((function(e,n){var l,c=e.length,f=[];if(c){if(b.sortByAngle(e,n-.5),0<b.maxLabelDistance){var y=Math.max(0,_-P-b.maxLabelDistance),k=Math.min(_+P+b.maxLabelDistance,x.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,_-P-t.labelDistance),t.bottom=Math.min(_+P+t.labelDistance,x.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},f.push(t.distributeBox))})),s(f,y=k+l-y,y/5)}for(g=0;g<c;g++){if(t=e[g],i=t.labelPosition,r=t.dataLabel,v=!1===t.visible?"hidden":"inherit",h=y=i.natural.y,f&&d(t.distributeBox)&&("undefined"===typeof t.distributeBox.pos?v="hidden":(a=t.distributeBox.size,h=A.radialDistributionY(t))),delete t.positionIndex,w.justify)u=A.justify(t,P,E);else switch(w.alignTo){case"connectors":u=A.alignToConnectors(e,n,S,C);break;case"plotEdges":u=A.alignToPlotEdges(r,n,S,C);break;default:u=A.radialDistributionX(b,t,h,y)}r._attr={visibility:v,align:i.alignment},m=t.options.dataLabels||{},r._pos={x:u+p(m.x,w.x)+({left:O,right:-O}[i.alignment]||0),y:h+p(m.y,w.y)-10},i.final.x=u,i.final.y=h,p(w.crop,!0)&&(o=r.getBBox().width,y=null,u-o<O&&1===n?(y=Math.round(o-u+O),T[3]=Math.max(y,T[3])):u+o>S-O&&0===n&&(y=Math.round(u+o-S+O),T[1]=Math.max(y,T[1])),0>h-a/2?T[0]=Math.max(Math.round(a/2-h),T[0]):h+a/2>j&&(T[2]=Math.max(Math.round(h+a/2-j),T[2])),r.sideOverflow=y)}}})),0===c(T)||this.verifyDataLabelOverflow(T))&&(this.placeDataLabels(),this.points.forEach((function(t){var o;m=f(w,t.options.dataLabels),(e=p(m.connectorWidth,1))&&(n=t.connector,(r=t.dataLabel)&&r._pos&&t.visible&&0<t.labelDistance?(v=r._attr.visibility,(o=!n)&&(t.connector=n=x.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(b.dataLabelsGroup),x.styledMode||n.attr({"stroke-width":e,stroke:m.connectorColor||t.color||"#666666"})),n[o?"attr":"animate"]({d:t.getConnectorPath()}),n.attr("visibility",v)):n&&(t.connector=n.destroy()))})))}function r(){this.points.forEach((function(t){var e,n=t.dataLabel;n&&t.visible&&((e=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](e),n.moved=!0):n&&n.attr({y:-9999})),delete t.distributeBox}),this)}function o(t){var e=this.center,n=this.options,r=n.center,o=n.minSize||80,i=null!==n.size;if(!i){if(null!==r[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),o);else a=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2;null!==r[1]?a=u(a,o,e[2]-Math.max(t[0],t[2])):(a=u(a,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(n.thickness?Math.max(0,a-2*n.thickness):Math.max(0,h(n.innerSize||0,a)),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):i=!0}return i}var i=[],v={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,n,r){return t.getX(n<e.top+2||n>e.bottom-2?r:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,r){return t=t.getBBox().width,e?t+r:n-t-r},alignToConnectors:function(t,e,n,r){var o,i=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>i&&(i=o)})),e?i+r:n-i-r}};e.compose=function(e){t.compose(l),-1===i.indexOf(e)&&(i.push(e),(e=e.prototype).dataLabelPositioners=v,e.alignDataLabel=a,e.drawDataLabels=n,e.placeDataLabels=r,e.verifyDataLabelOverflow=o)}}(i||(i={})),i})),e(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e){var n=!1;if(t){var r=t.newOpacity;t.oldOpacity!==r&&(t.alignAttr&&t.placed?(t[r?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,t.alignAttr.opacity=r,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:r?"auto":"none"})})),o(e,"afterHideOverlappingLabel")):t.attr({opacity:r})),t.isOld=!0}return n}var r=e.addEvent,o=e.fireEvent,i=e.isArray,a=e.isNumber,s=e.objectEach,l=e.pick;r(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(r){var o=r.options.dataLabels;r.visible&&(!1!==o.enabled||r._hasPointLabels)&&(o=function(r){return r.forEach((function(r){r.visible&&(i(r.dataLabels)?r.dataLabels:r.dataLabel?[r.dataLabel]:[]).forEach((function(o){var i=o.options;o.labelrank=l(i.labelrank,r.labelrank,r.shapeArgs&&r.shapeArgs.height),i.allowOverlap?(o.oldOpacity=o.opacity,o.newOpacity=1,n(o,t)):e.push(o)}))}))},o(r.nodes||[]),o(r.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,r,i,s=this,l=t.length,c=s.renderer,u=!1,d=function(t){var e,n,r=t.box?0:t.padding||0,o=e=0;if(t&&(!t.alignAttr||t.placed)){var i=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var l=t.width-2*r;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?o=+n*l:a(t.x)&&Math.round(t.x)!==t.translateX&&(o=t.x-t.translateX),{x:i.x+(s.translateX||0)+r-(o||0),y:i.y+(s.translateY||0)+r-e,width:t.width-2*r,height:t.height-2*r}}};for(r=0;r<l;r++)(e=t[r])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=d(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),r=0;r<l;r++){var f=(d=t[r])&&d.absoluteBox;for(e=r+1;e<l;++e){var p=(i=t[e])&&i.absoluteBox;!f||!p||d===i||0===d.newOpacity||0===i.newOpacity||"hidden"===d.visibility||"hidden"===i.visibility||p.x>=f.x+f.width||p.x+p.width<=f.x||p.y>=f.y+f.height||p.y+p.height<=f.y||((d.labelrank<i.labelrank?d:i).newOpacity=0)}}t.forEach((function(t){n(t,s)&&(u=!0)})),u&&o(s,"afterHideAllOverlappingLabels")}})),e(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.extend,r=t.find,o=t.isArray,i=t.isObject,a=t.merge,s=t.objectEach,l=t.pick,c=t.splat,u=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),n(t.prototype,d.prototype)),t};var d=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,n={};return function t(n,r,a,l){var u;s(n,(function(n,s){if(!l&&-1<e.collectionsWithUpdate.indexOf(s)&&r[s])for(n=c(n),a[s]=[],u=0;u<Math.max(n.length,r[s].length);u++)r[s][u]&&(void 0===n[u]?a[s][u]=r[s][u]:(a[s][u]={},t(n[u],r[s][u],a[s][u],l+1)));else i(n)?(a[s]=o(n)?[]:{},t(n,r[s]||{},a[s],l+1)):a[s]="undefined"===typeof r[s]?null:r[s]}))}(t,this.options,n,0),n},t.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=l(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this,o=this.options.responsive,i=this.currentResponsive,s=[];!e&&o&&o.rules&&o.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=u()),n.matchResponsiveRule(t,s)}),this),e=a.apply(void 0,s.map((function(t){return r((o||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions}))),e.isResponsiveOptions=!0,(s=s.toString()||void 0)!==(i&&i.ruleIds)&&(i&&this.update(i.undoOptions,t,!0),s?((i=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:i},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(t,e,n,r,o,i,a,s,l,c,u,d,f,p,h,v,g,m,b,y,x,w,O,S,j,C,k,E,P,_,M,T,A){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=r.timers,t.AST=i,t.Axis=f,t.Chart=O,t.chart=O.chart,t.Fx=r,t.Legend=w,t.PlotLineOrBand=v,t.Point=b,t.Pointer=x.isRequired()?x:y,t.Series=S,t.SVGElement=l,t.SVGRenderer=c,t.Tick=g,t.Time=A,t.Tooltip=m,t.Color=T,t.color=T.parse,d.compose(c),u.compose(l),t.defaultOptions=n.defaultOptions,t.getOptions=n.getOptions,t.time=n.defaultTime,t.setOptions=n.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=j.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,k.compose(C),_.compose(S),p.compose(f),h.compose(f),P.compose(E),v.compose(f),M.compose(O),t})),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]},t.exports?(i.default=i,t.exports=o.document?i(o):i):void 0===(r=function(){return i(o)}.call(e,n,e,t))||(t.exports=r)},function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():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},r.apply(this,arguments)}n.d(e,"a",(function(){return r}))},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 o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n.d(e,"a",(function(){return o}))},,function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},,,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return u})),n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return v})),n.d(e,"f",(function(){return m})),n.d(e,"g",(function(){return b})),n.d(e,"h",(function(){return y})),n.d(e,"i",(function(){return x}));var r=n(2),o=n(1),i=n(137);function a(t,e){if(!t)throw new Error(e)}var s=Object(o.createContext)(null);var l=Object(o.createContext)(null);var c=Object(o.createContext)({outlet:null,matches:[]});function u(t){var e=t.to,n=t.replace,r=t.state;g()||a(!1);var i=b();return Object(o.useEffect)((function(){i(e,{replace:n,state:r})})),null}function d(t){return Object(o.useContext)(c).outlet}function f(t){a(!1)}function p(t){var e=t.basename,n=void 0===e?"/":e,r=t.children,c=void 0===r?null:r,u=t.location,d=t.navigationType,f=void 0===d?i.a.Pop:d,p=t.navigator,h=t.static,v=void 0!==h&&h;g()&&a(!1);var m=A(n),b=Object(o.useMemo)((function(){return{basename:m,navigator:p,static:v}}),[m,p,v]);"string"===typeof u&&(u=Object(i.f)(u));var y=u,x=y.pathname,w=void 0===x?"/":x,O=y.search,S=void 0===O?"":O,j=y.hash,C=void 0===j?"":j,k=y.state,E=void 0===k?null:k,P=y.key,_=void 0===P?"default":P,T=Object(o.useMemo)((function(){var t=M(w,m);return null==t?null:{pathname:t,search:S,hash:C,state:E,key:_}}),[m,w,S,C,E,_]);return null==T?null:Object(o.createElement)(s.Provider,{value:b},Object(o.createElement)(l.Provider,{children:c,value:{location:T,navigationType:f}}))}function h(t){var e=t.children,n=t.location;return function(t,e){g()||a(!1);var n=Object(o.useContext)(c).matches,r=n[n.length-1],s=r?r.params:{},l=(r&&r.pathname,r?r.pathnameBase:"/");r&&r.route;0;var u,d=m();if(e){var f,p="string"===typeof e?Object(i.f)(e):e;"/"===l||(null==(f=p.pathname)?void 0:f.startsWith(l))||a(!1),u=p}else u=d;var h=u.pathname||"/",v="/"===l?h:h.slice(l.length)||"/",b=function(t,e,n){void 0===n&&(n="/");var r=M(("string"===typeof e?Object(i.f)(e):e).pathname||"/",n);if(null==r)return null;var o=O(t);!function(t){t.sort((function(t,e){return t.score!==e.score?e.score-t.score:function(t,e){var n=t.length===e.length&&t.slice(0,-1).every((function(t,n){return t===e[n]}));return n?t[t.length-1]-e[e.length-1]:0}(t.routesMeta.map((function(t){return t.childrenIndex})),e.routesMeta.map((function(t){return t.childrenIndex})))}))}(o);for(var a=null,s=0;null==a&&s<o.length;++s)a=k(o[s],t,r);return a}(t,{pathname:v});0;return E(b&&b.map((function(t){return Object.assign({},t,{params:Object.assign({},s,t.params),pathname:T([l,t.pathname]),pathnameBase:"/"===t.pathnameBase?l:T([l,t.pathnameBase])})})),n)}(w(e),n)}function v(t){g()||a(!1);var e=Object(o.useContext)(s),n=e.basename,r=e.navigator,l=x(t),c=l.hash,u=l.pathname,d=l.search,f=u;if("/"!==n){var p=function(t){return""===t||""===t.pathname?"/":"string"===typeof t?Object(i.f)(t).pathname:t.pathname}(t),h=null!=p&&p.endsWith("/");f="/"===u?n+(h?"/":""):T([n,u])}return r.createHref({pathname:f,search:d,hash:c})}function g(){return null!=Object(o.useContext)(l)}function m(){return g()||a(!1),Object(o.useContext)(l).location}function b(){g()||a(!1);var t=Object(o.useContext)(s),e=t.basename,n=t.navigator,r=Object(o.useContext)(c).matches,i=m().pathname,l=JSON.stringify(r.map((function(t){return t.pathnameBase}))),u=Object(o.useRef)(!1);return Object(o.useEffect)((function(){u.current=!0})),Object(o.useCallback)((function(t,r){if(void 0===r&&(r={}),u.current)if("number"!==typeof t){var o=_(t,JSON.parse(l),i);"/"!==e&&(o.pathname=T([e,o.pathname])),(r.replace?n.replace:n.push)(o,r.state)}else n.go(t)}),[e,n,l,i])}function y(){var t=Object(o.useContext)(c).matches,e=t[t.length-1];return e?e.params:{}}function x(t){var e=Object(o.useContext)(c).matches,n=m().pathname,r=JSON.stringify(e.map((function(t){return t.pathnameBase})));return Object(o.useMemo)((function(){return _(t,JSON.parse(r),n)}),[t,r,n])}function w(t){var e=[];return o.Children.forEach(t,(function(t){if(Object(o.isValidElement)(t))if(t.type!==o.Fragment){t.type!==f&&a(!1);var n={caseSensitive:t.props.caseSensitive,element:t.props.element,index:t.props.index,path:t.props.path};t.props.children&&(n.children=w(t.props.children)),e.push(n)}else e.push.apply(e,w(t.props.children))})),e}function O(t,e,n,r){return void 0===e&&(e=[]),void 0===n&&(n=[]),void 0===r&&(r=""),t.forEach((function(t,o){var i={relativePath:t.path||"",caseSensitive:!0===t.caseSensitive,childrenIndex:o};i.relativePath.startsWith("/")&&(i.relativePath.startsWith(r)||a(!1),i.relativePath=i.relativePath.slice(r.length));var s=T([r,i.relativePath]),l=n.concat(i);t.children&&t.children.length>0&&(!0===t.index&&a(!1),O(t.children,e,l,s)),(null!=t.path||t.index)&&e.push({path:s,score:C(s,t.index),routesMeta:l})})),e}var S=/^:\w+$/,j=function(t){return"*"===t};function C(t,e){var n=t.split("/"),r=n.length;return n.some(j)&&(r+=-2),e&&(r+=2),n.filter((function(t){return!j(t)})).reduce((function(t,e){return t+(S.test(e)?3:""===e?1:10)}),r)}function k(t,e,n){for(var r=e,o=t.routesMeta,i={},a="/",s=[],l=0;l<o.length;++l){var c=o[l],u=l===o.length-1,d="/"===a?n:n.slice(a.length)||"/",f=P({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d);if(!f)return null;Object.assign(i,f.params);var p=r[c.childrenIndex];s.push({params:i,pathname:T([a,f.pathname]),pathnameBase:T([a,f.pathnameBase]),route:p}),"/"!==f.pathnameBase&&(a=T([a,f.pathnameBase])),r=p.children}return s}function E(t,e){return void 0===e&&(e=[]),null==t?null:t.reduceRight((function(n,r,i){return Object(o.createElement)(c.Provider,{children:void 0!==r.route.element?r.route.element:Object(o.createElement)(d,null),value:{outlet:n,matches:e.concat(t.slice(0,i+1))}})}),null)}function P(t,e){"string"===typeof t&&(t={path:t,caseSensitive:!1,end:!0});var n=function(t,e,n){void 0===e&&(e=!1);void 0===n&&(n=!0);var r=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(function(t,e){return r.push(e),"([^\\/]+)"}));t.endsWith("*")?(r.push("*"),o+="*"===t||"/*"===t?"(.*)$":"(?:\\/(.+)|\\/*)$"):o+=n?"\\/*$":"(?:\\b|$)";return[new RegExp(o,e?void 0:"i"),r]}(t.path,t.caseSensitive,t.end),o=Object(r.a)(n,2),i=o[0],a=o[1],s=e.match(i);if(!s)return null;var l=s[0],c=l.replace(/(.)\/+$/,"$1"),u=s.slice(1);return{params:a.reduce((function(t,e,n){if("*"===e){var r=u[n]||"";c=l.slice(0,l.length-r.length).replace(/(.)\/+$/,"$1")}return t[e]=function(t,e){try{return decodeURIComponent(t)}catch(n){return t}}(u[n]||""),t}),{}),pathname:l,pathnameBase:c,pattern:t}}function _(t,e,n){var r,o="string"===typeof t?Object(i.f)(t):t,a=""===t||""===o.pathname?"/":o.pathname;if(null==a)r=n;else{var s=e.length-1;if(a.startsWith("..")){for(var l=a.split("/");".."===l[0];)l.shift(),s-=1;o.pathname=l.join("/")}r=s>=0?e[s]:"/"}var c=function(t,e){void 0===e&&(e="/");var n="string"===typeof t?Object(i.f)(t):t,r=n.pathname,o=n.search,a=void 0===o?"":o,s=n.hash,l=void 0===s?"":s,c=r?r.startsWith("/")?r:function(t,e){var n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach((function(t){".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)})),n.length>1?n.join("/"):"/"}(r,e):e;return{pathname:c,search:R(a),hash:D(l)}}(o,r);return a&&"/"!==a&&a.endsWith("/")&&!c.pathname.endsWith("/")&&(c.pathname+="/"),c}function M(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;var n=t.charAt(e.length);return n&&"/"!==n?null:t.slice(e.length)||"/"}var T=function(t){return t.join("/").replace(/\/\/+/g,"/")},A=function(t){return t.replace(/\/+$/,"").replace(/^\/*/,"/")},R=function(t){return t&&"?"!==t?t.startsWith("?")?t:"?"+t:""},D=function(t){return t&&"#"!==t?t.startsWith("#")?t:"#"+t:""}},,function(t,e,n){t.exports=n(778)()},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return f})),n.d(e,"c",(function(){return p}));n(47);var r=n(2),o=n(1),i=n(137),a=n(30);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},s.apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var c=["onClick","reloadDocument","replace","state","target","to"],u=["aria-current","caseSensitive","className","end","style","to"];function d(t){var e=t.basename,n=t.children,s=t.window,l=Object(o.useRef)();null==l.current&&(l.current=Object(i.b)({window:s}));var c=l.current,u=Object(o.useState)({action:c.action,location:c.location}),d=Object(r.a)(u,2),f=d[0],p=d[1];return Object(o.useLayoutEffect)((function(){return c.listen(p)}),[c]),Object(o.createElement)(a.c,{basename:e,children:n,location:f.location,navigationType:f.action,navigator:c})}var f=Object(o.forwardRef)((function(t,e){var n=t.onClick,r=t.reloadDocument,u=t.replace,d=void 0!==u&&u,f=t.state,p=t.target,h=t.to,v=l(t,c),g=Object(a.e)(h),m=function(t,e){var n=void 0===e?{}:e,r=n.target,s=n.replace,l=n.state,c=Object(a.g)(),u=Object(a.f)(),d=Object(a.i)(t);return Object(o.useCallback)((function(e){if(0===e.button&&(!r||"_self"===r)&&!function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(e)){e.preventDefault();var n=!!s||Object(i.e)(u)===Object(i.e)(d);c(t,{replace:n,state:l})}}),[u,c,d,s,l,r,t])}(h,{replace:d,state:f,target:p});return Object(o.createElement)("a",s({},v,{href:g,onClick:function(t){n&&n(t),t.defaultPrevented||r||m(t)},ref:e,target:p}))}));var p=Object(o.forwardRef)((function(t,e){var n=t["aria-current"],r=void 0===n?"page":n,i=t.caseSensitive,c=void 0!==i&&i,d=t.className,p=void 0===d?"":d,h=t.end,v=void 0!==h&&h,g=t.style,m=t.to,b=l(t,u),y=Object(a.f)(),x=Object(a.i)(m),w=y.pathname,O=x.pathname;c||(w=w.toLowerCase(),O=O.toLowerCase());var S,j=w===O||!v&&w.startsWith(O)&&"/"===w.charAt(O.length),C=j?r:void 0;S="function"===typeof p?p({isActive:j}):[p,j?"active":null].filter(Boolean).join(" ");var k="function"===typeof g?g({isActive:j}):g;return Object(o.createElement)(f,s({},b,{"aria-current":C,className:S,ref:e,style:k,to:m}))}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return a}));var r=n(5),o=n(728),i=n(84);function a(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||"string"!==typeof e)return null;if(t&&t.vars&&n){var r="vars.".concat(e).split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t);if(null!=r)return r}return e.split(".").reduce((function(t,e){return t&&null!=t[e]?t[e]:null}),t)}function s(t,e,n){var r,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof t?t(n):Array.isArray(t)?t[n]||o:a(t,n)||o,e&&(r=e(r)),r}e.a=function(t){var e=t.prop,n=t.cssProperty,l=void 0===n?t.prop:n,c=t.themeKey,u=t.transform,d=function(t){if(null==t[e])return null;var n=t[e],d=a(t.theme,c)||{};return Object(i.b)(t,n,(function(t){var n=s(d,u,t);return t===n&&"string"===typeof t&&(n=s(d,u,"".concat(e).concat("default"===t?"":Object(o.a)(t)),t)),!1===l?n:Object(r.a)({},l,n)}))};return d.propTypes={},d.filterProps=[e],d}},function(t,e,n){var r;"undefined"!=typeof self&&self,t.exports=(r=n(1),function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([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},r.apply(this,arguments)}function o(t){return l(t)||s(t)||a(t)||i()}function i(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(t,e){if(t){if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(t,e):void 0}}function s(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function l(t){if(Array.isArray(t))return c(t)}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}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)}Object.defineProperty(e,"__esModule",{value:!0});var d=n(1),f=n.n(d),p="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,h=Object(d.forwardRef)((function(t,e){var n=Object(d.useRef)(),i=Object(d.useRef)();return p((function(){function e(){var e=t.highcharts||"object"===("undefined"==typeof window?"undefined":u(window))&&window.Highcharts,r=t.constructorType||"chart";e?e[r]?t.options?i.current=e[r](n.current,t.options,t.callback?t.callback:void 0):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(i.current){if(!1!==t.allowChartUpdate)if(!t.immutable&&i.current){var r;(r=i.current).update.apply(r,[t.options].concat(o(t.updateArgs||[!0,!0])))}else e()}else e()})),p((function(){return function(){i.current&&(i.current.destroy(),i.current=null)}}),[]),Object(d.useImperativeHandle)(e,(function(){return{get chart(){return i.current},container:n}}),[]),f.a.createElement("div",r({},t.containerProps,{ref:n}))}));e.default=Object(d.memo)(h)},function(t,e){t.exports=r}]))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(12);function o(t,e){if(null==t)return{};var n,o,i=Object(r.a)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(217);function o(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Object(r.a)(t,e)}},,function(t,e,n){"use strict";n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return f}));var r=n(87),o=n.n(r),i=n(1);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},a(t)}var s=["viewBox","children"],l=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],c=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],u=function(t,e,n){if(!t||"function"===typeof t||"boolean"===typeof t)return null;var r=t;if(Object(i.isValidElement)(t)&&(r=t.props),!o()(r))return null;var a={};return Object.keys(r).forEach((function(t){(l.includes(t)||n&&s.includes(t)||e&&c.includes(t))&&(a[t]=r[t])})),a},d=function(t,e){if(!t||"function"===typeof t||"boolean"===typeof t)return null;var n=t;if(Object(i.isValidElement)(t)&&(n=t.props),!o()(n))return null;var r={};return Object.keys(n).forEach((function(t){c.includes(t)&&(r[t]=e||function(e){return n[t](n,e)})})),r},f=function(t,e,n){if(!o()(t)||"object"!==a(t))return null;var r=null;return Object.keys(t).forEach((function(o){var i=t[o];c.includes(o)&&"function"===typeof i&&(r||(r={}),r[o]=function(t,e,n){return function(r){return t(e,n,r),null}}(i,e,n))})),r}},function(t,e,n){var r=n(191),o=n(87);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},function(t,e,n){t.exports=function(){"use strict";function t(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function e(n,r){function o(e,o,i){if("undefined"!==typeof document){"number"===typeof(i=t({},r,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=e+"="+n.write(o,e)+a}}function i(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var e=document.cookie?document.cookie.split("; "):[],r={},o=0;o<e.length;o++){var i=e[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=n.read(a,s),t===s)break}catch(l){}}return t?r[t]:r}}return Object.create({set:o,get:i,remove:function(e,n){o(e,"",t({},n,{expires:-1}))},withAttributes:function(n){return e(this.converter,t({},this.attributes,n))},withConverter:function(n){return e(t({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(r)},converter:{value:Object.freeze(n)}})}return e({read:function(t){return'"'===t[0]&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return d}));var r=n(1),o=(n(510),n(112)),i=(n(545),n(278),n(134),n(135)),a=n(200),s=function(t,e){var n=arguments;if(null==e||!o.e.call(e,"css"))return r.createElement.apply(void 0,n);var i=n.length,a=new Array(i);a[0]=o.b,a[1]=Object(o.d)(t,e);for(var s=2;s<i;s++)a[s]=n[s];return r.createElement.apply(null,a)},l=r.useInsertionEffect?r.useInsertionEffect:r.useLayoutEffect,c=Object(o.g)((function(t,e){var n=t.styles,s=Object(a.a)([n],void 0,Object(r.useContext)(o.c)),c=Object(r.useRef)();return l((function(){var t=e.key+"-global",n=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+t+" "+s.name+'"]');return e.sheet.tags.length&&(n.before=e.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",t),n.hydrate([o])),c.current=[n,r],function(){n.flush()}}),[e]),l((function(){var t=c.current,n=t[0];if(t[1])t[1]=!1;else{if(void 0!==s.next&&Object(i.b)(e,s.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}e.insert("",s,n,!1)}}),[e,s.name]),null}));function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Object(a.a)(e)}var d=function(){var t=u.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},f=function t(e){for(var n=e.length,r=0,o="";r<n;r++){var i=e[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=t(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function p(t,e,n){var r=[],o=Object(i.a)(t,r,n);return r.length<2?n:o+e(r)}var h=function(t){var e=t.cache,n=t.serializedArr;Object(o.f)((function(){for(var t=0;t<n.length;t++)Object(i.b)(e,n[t],!1)}));return null},v=Object(o.g)((function(t,e){var n=[],s=function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var s=Object(a.a)(r,e.registered);return n.push(s),Object(i.c)(e,s,!1),e.key+"-"+s.name},l={css:s,cx:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return p(e.registered,s,f(n))},theme:Object(r.useContext)(o.c)},c=t.children(l);return!0,Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h,{cache:e,serializedArr:n}),c)}))},function(t,e,n){"use strict";n.d(e,"v",(function(){return bt})),n.d(e,"l",(function(){return yt})),n.d(e,"b",(function(){return xt})),n.d(e,"p",(function(){return wt})),n.d(e,"o",(function(){return Ot})),n.d(e,"h",(function(){return St})),n.d(e,"g",(function(){return jt})),n.d(e,"a",(function(){return Ct})),n.d(e,"y",(function(){return Et})),n.d(e,"m",(function(){return Pt})),n.d(e,"w",(function(){return _t})),n.d(e,"k",(function(){return Mt})),n.d(e,"s",(function(){return Tt})),n.d(e,"d",(function(){return At})),n.d(e,"z",(function(){return Rt})),n.d(e,"c",(function(){return It})),n.d(e,"e",(function(){return Nt})),n.d(e,"B",(function(){return Lt})),n.d(e,"q",(function(){return zt})),n.d(e,"t",(function(){return Ht})),n.d(e,"j",(function(){return Vt})),n.d(e,"i",(function(){return Ut})),n.d(e,"r",(function(){return Wt})),n.d(e,"n",(function(){return qt})),n.d(e,"A",(function(){return Xt})),n.d(e,"f",(function(){return Kt})),n.d(e,"x",(function(){return $t})),n.d(e,"u",(function(){return Zt}));var r=n(281),o=n.n(r),i=n(290),a=n.n(i),s=n(203),l=n.n(s),c=n(222),u=n.n(c),d=n(226),f=n.n(d),p=n(59),h=n.n(p),v=n(351),g=n.n(v),m=n(352),b=n.n(m),y=n(671),x=n.n(y),w=n(40),O=n.n(w),S=n(90),j=n.n(S),C=n(48),k=n.n(C),E=n(69),P=n.n(E);function _(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return M(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var T=function(t){return t},A={"@@functional/placeholder":!0},R=function(t){return t===A},D=function(t){return function e(){return 0===arguments.length||1===arguments.length&&R(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},I=function t(e,n){return 1===e?n:D((function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.filter((function(t){return t!==A})).length;return a>=e?n.apply(void 0,o):t(e-a,D((function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var i=o.map((function(t){return R(t)?e.shift():t}));return n.apply(void 0,_(i).concat(e))})))}))},N=function(t){return I(t.length,t)},L=function(t,e){for(var n=[],r=t;r<e;++r)n[r-t]=r;return n},F=N((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),B=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!e.length)return T;var r=e.reverse(),o=r[0],i=r.slice(1);return function(){return i.reduce((function(t,e){return e(t)}),o.apply(void 0,arguments))}},z=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},H=function(t){var e=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e&&o.every((function(t,n){return t===e[n]}))?n:(e=o,n=t.apply(void 0,o))}};var V={rangeStep:function(t,e,n){for(var r=new P.a(t),o=0,i=[];r.lt(e)&&o<1e5;)i.push(r.toNumber()),r=r.add(n),o++;return i},getDigitCount:function(t){return 0===t?1:Math.floor(new P.a(t).abs().log(10).toNumber())+1},interpolateNumber:N((function(t,e,n){var r=+t;return r+n*(+e-r)})),uninterpolateNumber:N((function(t,e,n){var r=e-+t;return(n-t)/(r=r||1/0)})),uninterpolateTruncation:N((function(t,e,n){var r=e-+t;return r=r||1/0,Math.max(0,Math.min(1,(n-t)/r))}))};function U(t){return function(t){if(Array.isArray(t))return G(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||q(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||q(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(t,e){if(t){if("string"===typeof t)return G(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?G(t,e):void 0}}function G(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Y(t){var e=W(t,2),n=e[0],r=e[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function X(t,e,n){if(t.lte(0))return new P.a(0);var r=V.getDigitCount(t.toNumber()),o=new P.a(10).pow(r),i=t.div(o),a=1!==r?.05:.1,s=new P.a(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return e?s:new P.a(Math.ceil(s))}function K(t,e,n){var r=1,o=new P.a(t);if(!o.isint()&&n){var i=Math.abs(t);i<1?(r=new P.a(10).pow(V.getDigitCount(t)-1),o=new P.a(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new P.a(Math.floor(t)))}else 0===t?o=new P.a(Math.floor((e-1)/2)):n||(o=new P.a(Math.floor(t)));var a=Math.floor((e-1)/2);return B(F((function(t){return o.add(new P.a(t-a).mul(r)).toNumber()})),L)(0,e)}function $(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new P.a(0),tickMin:new P.a(0),tickMax:new P.a(0)};var i,a=X(new P.a(e).sub(t).div(n-1),r,o);i=t<=0&&e>=0?new P.a(0):(i=new P.a(t).add(e).div(2)).sub(new P.a(i).mod(a));var s=Math.ceil(i.sub(t).div(a).toNumber()),l=Math.ceil(new P.a(e).sub(i).div(a).toNumber()),c=s+l+1;return c>n?$(t,e,n,r,o+1):(c<n&&(l=e>0?l+(n-c):l,s=e>0?s:s+(n-c)),{step:a,tickMin:i.sub(new P.a(s).mul(a)),tickMax:i.add(new P.a(l).mul(a))})}var Z=H((function(t){var e=W(t,2),n=e[0],r=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),s=Y([n,r]),l=W(s,2),c=l[0],u=l[1];if(c===-1/0||u===1/0){var d=u===1/0?[c].concat(U(L(0,o-1).map((function(){return 1/0})))):[].concat(U(L(0,o-1).map((function(){return-1/0}))),[u]);return n>r?z(d):d}if(c===u)return K(c,o,i);var f=$(c,u,a,i),p=f.step,h=f.tickMin,v=f.tickMax,g=V.rangeStep(h,v.add(new P.a(.1).mul(p)),p);return n>r?z(g):g})),Q=(H((function(t){var e=W(t,2),n=e[0],r=e[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),s=Y([n,r]),l=W(s,2),c=l[0],u=l[1];if(c===-1/0||u===1/0)return[n,r];if(c===u)return K(c,o,i);var d=X(new P.a(u).sub(c).div(a-1),i,0),f=B(F((function(t){return new P.a(c).add(new P.a(t).mul(d)).toNumber()})),L),p=f(0,a).filter((function(t){return t>=c&&t<=u}));return n>r?z(p):p})),H((function(t,e){var n=W(t,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Y([r,o]),s=W(a,2),l=s[0],c=s[1];if(l===-1/0||c===1/0)return[r,o];if(l===c)return[l];var u=Math.max(e,2),d=X(new P.a(c).sub(l).div(u-1),i,0),f=[].concat(U(V.rangeStep(new P.a(l),new P.a(c).sub(new P.a(.99).mul(d)),d)),[c]);return r>o?z(f):f}))),J=n(503),tt=n(120),et=n(433),nt=function(t,e){if((o=t.length)>1)for(var n,r,o,i=1,a=t[e[0]],s=a.length;i<o;++i)for(r=a,a=t[e[i]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]},rt=n(47),ot=n(292),it=n(73),at=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n};function st(t,e){return t[e]}function lt(t){var e=[];return e.key=t,e}var ct=n(18),ut=n(348),dt=n(58),ft=n(39);function pt(t){return function(t){if(Array.isArray(t))return ht(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return ht(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ht(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ht(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function vt(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 gt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vt(Object(n),!0).forEach((function(e){mt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function mt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bt(t,e,n){return k()(t)||k()(e)?n:Object(ct.f)(e)?j()(t,e,n):O()(e)?e(t):n}function yt(t,e,n,r){var o=x()(t,(function(t){return bt(t,e)}));if("number"===n){var i=o.filter((function(t){return Object(ct.g)(t)||parseFloat(t)}));return i.length?[b()(i),g()(i)]:[1/0,-1/0]}return(r?o.filter((function(t){return!k()(t)})):o).map((function(t){return Object(ct.f)(t)||t instanceof Date?t:""}))}var xt=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(e=null===n||void 0===n?void 0:n.length)&&void 0!==e?e:0;if(a>1){if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var s=o.range,l=0;l<a;l++){var c=l>0?r[l-1].coordinate:r[a-1].coordinate,u=r[l].coordinate,d=l>=a-1?r[0].coordinate:r[l+1].coordinate,f=void 0;if(Object(ct.i)(u-c)!==Object(ct.i)(d-u)){var p=[];if(Object(ct.i)(d-u)===Object(ct.i)(s[1]-s[0])){f=d;var h=u+s[1]-s[0];p[0]=Math.min(h,(h+c)/2),p[1]=Math.max(h,(h+c)/2)}else{f=c;var v=d+s[1]-s[0];p[0]=Math.min(u,(v+u)/2),p[1]=Math.max(u,(v+u)/2)}var g=[Math.min(u,(f+u)/2),Math.max(u,(f+u)/2)];if(t>g[0]&&t<=g[1]||t>=p[0]&&t<=p[1]){i=r[l].index;break}}else{var m=Math.min(c,d),b=Math.max(c,d);if(t>(m+u)/2&&t<=(b+u)/2){i=r[l].index;break}}}else for(var y=0;y<a;y++)if(0===y&&t<=(n[y].coordinate+n[y+1].coordinate)/2||y>0&&y<a-1&&t>(n[y].coordinate+n[y-1].coordinate)/2&&t<=(n[y].coordinate+n[y+1].coordinate)/2||y===a-1&&t>(n[y].coordinate+n[y-1].coordinate)/2){i=n[y].index;break}}else i=0;return i},wt=function(t){var e,n=t.type.displayName,r=t.props,o=r.stroke,i=r.fill;switch(n){case"Line":e=o;break;case"Area":case"Radar":e=o&&"none"!==o?o:i;break;default:e=i}return e},Ot=function(t){var e,n=t.children,r=t.formattedGraphicalItems,o=t.legendWidth,i=t.legendContent,a=Object(dt.c)(n,ut.a.displayName);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(r||[]).reduce((function(t,e){var n=e.item,r=e.props,o=r.sectors||r.data||[];return t.concat(o.map((function(t){return{type:a.props.iconType||n.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,n=e.props,r=n.dataKey,o=n.name,i=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||i||"square",color:wt(e),value:o||r,payload:e.props}})),gt(gt(gt({},a.props),ut.a.getWithHeight(a,o)),{},{payload:e,item:a})):null},St=function(t){var e=t.barSize,n=t.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var o={},i=Object.keys(r),a=0,s=i.length;a<s;a++)for(var l=r[i[a]].stackGroups,c=Object.keys(l),u=0,d=c.length;u<d;u++){var f=l[c[u]],p=f.items,h=f.cateAxisId,v=p.filter((function(t){return Object(dt.d)(t.type).indexOf("Bar")>=0}));if(v&&v.length){var g=v[0].props.barSize,m=v[0].props[h];o[m]||(o[m]=[]),o[m].push({item:v[0],stackList:v.slice(1),barSize:k()(g)?e:g})}}return o},jt=function(t){var e=t.barGap,n=t.barCategoryGap,r=t.bandSize,o=t.sizeList,i=void 0===o?[]:o,a=t.maxBarSize,s=i.length;if(s<1)return null;var l,c=Object(ct.c)(e,r,0,!0);if(i[0].barSize===+i[0].barSize){var u=!1,d=r/s,f=i.reduce((function(t,e){return t+e.barSize||0}),0);(f+=(s-1)*c)>=r&&(f-=(s-1)*c,c=0),f>=r&&d>0&&(u=!0,f=s*(d*=.9));var p={offset:((r-f)/2>>0)-c,size:0};l=i.reduce((function(t,e){var n=[].concat(pt(t),[{item:e.item,position:{offset:p.offset+p.size+c,size:u?d:e.barSize}}]);return p=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:p})})),n}),[])}else{var h=Object(ct.c)(n,r,0,!0);r-2*h-(s-1)*c<=0&&(c=0);var v=(r-2*h-(s-1)*c)/s;v>1&&(v>>=0);var g=a===+a?Math.min(v,a):v;l=i.reduce((function(t,e,n){var r=[].concat(pt(t),[{item:e.item,position:{offset:h+(v+c)*n+(v-g)/2,size:g}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:r[r.length-1].position})})),r}),[])}return l},Ct=function(t,e,n,r){var o=n.children,i=n.width,a=n.margin,s=i-(a.left||0)-(a.right||0),l=Ot({children:o,legendWidth:s}),c=t;if(l){var u=r||{},d=l.align,f=l.verticalAlign,p=l.layout;("vertical"===p||"horizontal"===p&&"center"===f)&&Object(ct.g)(t[d])&&(c=gt(gt({},t),{},mt({},d,c[d]+(u.width||0)))),("horizontal"===p||"vertical"===p&&"center"===d)&&Object(ct.g)(t[f])&&(c=gt(gt({},t),{},mt({},f,c[f]+(u.height||0))))}return c},kt=function(t,e,n,r){var o=e.props.children,i=Object(dt.b)(o,"ErrorBar").filter((function(t){var e=t.props.direction;return!(!k()(e)&&!k()(r))||r.indexOf(e)>=0}));if(i&&i.length){var a=i.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var r=bt(e,n,0),o=h()(r)?[b()(r),g()(r)]:[r,r],i=a.reduce((function(t,n){var r=bt(e,n,0),i=o[0]-Math.abs(h()(r)?r[0]:r),a=o[1]+Math.abs(h()(r)?r[1]:r);return[Math.min(i,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(i[0],t[0]),Math.max(i[1],t[1])]}),[1/0,-1/0])}return null},Et=function(t,e,n,r){var o=e.map((function(e){return kt(t,e,n,r)})).filter((function(t){return!k()(t)}));return o&&o.length?o.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null},Pt=function(t,e,n,r){var o=e.map((function(e){var o=e.props.dataKey;return"number"===n&&o&&kt(t,e,o)||yt(t,o,n,r)}));if("number"===n)return o.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var i={};return o.reduce((function(t,e){for(var n=0,r=e.length;n<r;n++)i[e[n]]||(i[e[n]]=!0,t.push(e[n]));return t}),[])},_t=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},Mt=function(t,e,n){var r,o,i=t.map((function(t){return t.coordinate===e&&(r=!0),t.coordinate===n&&(o=!0),t.coordinate}));return r||i.push(e),o||i.push(n),i},Tt=function(t,e,n){if(!t)return null;var r=t.scale,o=t.duplicateDomain,i=t.type,a=t.range,s="scaleBand"===t.realScaleType?r.bandwidth()/2:2,l=(e||n)&&"category"===i&&r.bandwidth?r.bandwidth()/s:0;return l="angleAxis"===t.axisType?2*Object(ct.i)(a[0]-a[1])*l:l,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=o?o.indexOf(t):t;return{coordinate:r(e)+l,value:t,offset:l}})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:r(t)+l,value:t,index:e,offset:l}})):r.ticks&&!n?r.ticks(t.tickCount).map((function(t){return{coordinate:r(t)+l,value:t,offset:l}})):r.domain().map((function(t,e){return{coordinate:r(t)+l,value:o?o[t]:t,index:e,offset:l}}))},At=function(t,e,n){var r;return O()(n)?r=n:O()(e)&&(r=e),O()(t)||r?function(e,n,o,i){O()(t)&&t(e,n,o,i),O()(r)&&r(e,n,o,i)}:null},Rt=function(t,e,n){var r=t.scale,o=t.type,i=t.layout,a=t.axisType;if("auto"===r)return"radial"===i&&"radiusAxis"===a?{scale:J.a(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:tt.a(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!n)?{scale:J.b(),realScaleType:"point"}:"category"===o?{scale:J.a(),realScaleType:"band"}:{scale:tt.a(),realScaleType:"linear"};if(f()(r)){var s="scale".concat(u()(r));return{scale:(et[s]||J.b)(),realScaleType:et[s]?s:"point"}}return O()(r)?{scale:r}:{scale:J.b(),realScaleType:"point"}},Dt=1e-4,It=function(t){var e=t.domain();if(e&&!(e.length<=2)){var n=e.length,r=t.range(),o=Math.min(r[0],r[1])-Dt,i=Math.max(r[0],r[1])+Dt,a=t(e[0]),s=t(e[n-1]);(a<o||a>i||s<o||s>i)&&t.domain([e[0],e[n-1]])}},Nt=function(t,e){if(!t)return null;for(var n=0,r=t.length;n<r;n++)if(t[n].item===e)return t[n].position;return null},Lt=function(t,e){if(!e||2!==e.length||!Object(ct.g)(e[0])||!Object(ct.g)(e[1]))return t;var n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]),o=[t[0],t[1]];return(!Object(ct.g)(t[0])||t[0]<n)&&(o[0]=n),(!Object(ct.g)(t[1])||t[1]>r)&&(o[1]=r),o[0]>r&&(o[0]=r),o[1]<n&&(o[1]=n),o},Ft={sign:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var o=0,i=0,a=0;a<e;++a){var s=l()(t[a][n][1])?t[a][n][0]:t[a][n][1];s>=0?(t[a][n][0]=o,t[a][n][1]=o+s,o=t[a][n][1]):(t[a][n][0]=i,t[a][n][1]=i+s,i=t[a][n][1])}},expand:function(t,e){if((r=t.length)>0){for(var n,r,o,i=0,a=t[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=t[n][i][1]||0;if(o)for(n=0;n<r;++n)t[n][i][1]/=o}nt(t,e)}},none:nt,silhouette:function(t,e){if((n=t.length)>0){for(var n,r=0,o=t[e[0]],i=o.length;r<i;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;o[r][1]+=o[r][0]=-s/2}nt(t,e)}},wiggle:function(t,e){if((o=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var s=0,l=0,c=0;s<o;++s){for(var u=t[e[s]],d=u[a][1]||0,f=(d-(u[a-1][1]||0))/2,p=0;p<s;++p){var h=t[e[p]];f+=(h[a][1]||0)-(h[a-1][1]||0)}l+=d,c+=f*d}n[a-1][1]+=n[a-1][0]=i,l&&(i-=c/l)}n[a-1][1]+=n[a-1][0]=i,nt(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var o=0,i=0;i<e;++i){var a=l()(t[i][n][1])?t[i][n][0]:t[i][n][1];a>=0?(t[i][n][0]=o,t[i][n][1]=o+a,o=t[i][n][1]):(t[i][n][0]=0,t[i][n][1]=0)}}},Bt=function(t,e,n){var r=e.map((function(t){return t.props.dataKey})),o=function(){var t=Object(it.a)([]),e=at,n=nt,r=st;function o(o){var i,a,s,l=Array.from(t.apply(this,arguments),lt),c=l.length,u=-1,d=Object(rt.a)(o);try{for(d.s();!(s=d.n()).done;){var f=s.value;for(i=0,++u;i<c;++i)(l[i][u]=[0,+r(f,l[i].key,u,o)]).data=f}}catch(p){d.e(p)}finally{d.f()}for(i=0,a=Object(ot.a)(e(l));i<c;++i)l[a[i]].index=i;return n(l,a),l}return o.keys=function(e){return arguments.length?(t="function"===typeof e?e:Object(it.a)(Array.from(e)),o):t},o.value=function(t){return arguments.length?(r="function"===typeof t?t:Object(it.a)(+t),o):r},o.order=function(t){return arguments.length?(e=null==t?at:"function"===typeof t?t:Object(it.a)(Array.from(t)),o):e},o.offset=function(t){return arguments.length?(n=null==t?nt:t,o):n},o}().keys(r).value((function(t,e){return+bt(t,e,0)})).order(at).offset(Ft[n]);return o(t)},zt=function(t,e,n,r,o,i){if(!t)return null;var a=(i?e.reverse():e).reduce((function(t,e){var o=e.props,i=o.stackId;if(o.hide)return t;var a=e.props[n],s=t[a]||{hasStack:!1,stackGroups:{}};if(Object(ct.f)(i)){var l=s.stackGroups[i]||{numericAxisId:n,cateAxisId:r,items:[]};l.items.push(e),s.hasStack=!0,s.stackGroups[i]=l}else s.stackGroups[Object(ct.j)("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[e]};return gt(gt({},t),{},mt({},a,s))}),{});return Object.keys(a).reduce((function(e,i){var s=a[i];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce((function(e,i){var a=s.stackGroups[i];return gt(gt({},e),{},mt({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:Bt(t,a.items,o)}))}),{})),gt(gt({},e),{},mt({},i,s))}),{})},Ht=function(t,e){var n=e.realScaleType,r=e.type,o=e.tickCount,i=e.originalDomain,a=e.allowDecimals,s=n||e.scale;if("auto"!==s&&"linear"!==s)return null;if(o&&"number"===r&&i&&("auto"===i[0]||"auto"===i[1])){var l=t.domain();if(!l.length)return null;var c=Z(l,o,a);return t.domain(function(t,e){return"number"===e?[b()(t),g()(t)]:t}(c,r)),{niceTicks:c}}if(o&&"number"===r){var u=t.domain();return{niceTicks:Q(u,o,a)}}return null},Vt=function(t){var e=t.axis,n=t.ticks,r=t.offset,o=t.bandSize,i=t.entry,a=t.index;if("category"===e.type)return n[a]?n[a].coordinate+r:null;var s=bt(i,e.dataKey,e.domain[a]);return k()(s)?null:e.scale(s)-o/2+r},Ut=function(t){var e=t.numericAxis,n=e.scale.domain();if("number"===e.type){var r=Math.min(n[0],n[1]),o=Math.max(n[0],n[1]);return r<=0&&o>=0?0:o<0?o:r}return n[0]},Wt=function(t,e){var n=t.props.stackId;if(Object(ct.f)(n)){var r=e[n];if(r&&r.items.length){for(var o=-1,i=0,a=r.items.length;i<a;i++)if(r.items[i]===t){o=i;break}return o>=0?r.stackedData[o]:null}}return null},qt=function(t,e,n){return Object.keys(t).reduce((function(r,o){var i=t[o].stackedData.reduce((function(t,r){var o=r.slice(e,n+1).reduce((function(t,e){return[b()(e.concat([t[0]]).filter(ct.g)),g()(e.concat([t[1]]).filter(ct.g))]}),[1/0,-1/0]);return[Math.min(t[0],o[0]),Math.max(t[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},Gt=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Yt=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Xt=function(t,e,n){if(O()(t))return t(e,n);if(!h()(t))return e;var r=[];if(Object(ct.g)(t[0]))r[0]=n?t[0]:Math.min(t[0],e[0]);else if(Gt.test(t[0])){var o=+Gt.exec(t[0])[1];r[0]=e[0]-o}else O()(t[0])?r[0]=t[0](e[0]):r[0]=e[0];if(Object(ct.g)(t[1]))r[1]=n?t[1]:Math.max(t[1],e[1]);else if(Yt.test(t[1])){var i=+Yt.exec(t[1])[1];r[1]=e[1]+i}else O()(t[1])?r[1]=t[1](e[1]):r[1]=e[1];return r},Kt=function(t,e,n){if(t&&t.scale&&t.scale.bandwidth){var r=t.scale.bandwidth();if(!n||r>0)return r}if(t&&e&&e.length>=2){for(var o=a()(e,(function(t){return t.coordinate})),i=1/0,s=1,l=o.length;s<l;s++){var c=o[s],u=o[s-1];i=Math.min((c.coordinate||0)-(u.coordinate||0),i)}return i===1/0?0:i}return n?void 0:0},$t=function(t,e,n){return t&&t.length?o()(t,j()(n,"type.defaultProps.domain"))?e:t:e},Zt=function(t,e){var n=t.props,r=n.dataKey,o=n.name,i=n.unit,a=n.formatter,s=n.tooltipType,l=n.chartType;return gt(gt({},Object(ft.c)(t)),{},{dataKey:r,unit:i,formatter:a,name:o||r,color:wt(t),value:bt(e,r),type:s,payload:e,chartType:l})}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(55)},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(57),o=n(396),i=n(283),a=n(89);function s(t,e){if(e&&("object"===Object(i.a)(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(a.a)(t)}function l(t){var e=Object(o.a)();return function(){var n,o=Object(r.a)(t);if(e){var i=Object(r.a)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return s(this,n)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(218);function o(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Object(r.a)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}},function(t,e){t.exports=function(t){return null==t}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"}),"Computer");e.default=a},function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():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},r.apply(this,arguments)}n.d(e,"a",(function(){return r}))},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(e){console.error(e)}}(),t.exports=n(776)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n(1);var r=n(251),o=n(219);function i(){return Object(r.a)(o.a)}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;!function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}r.default=t,n&&n.set(t,r)}(n(1));var o=r(n(45)),i=n(0);function a(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}var s=(0,o.default)((0,i.jsx)("path",{d:"M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.81-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z"}),"Apple");e.default=s},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M20 12c0-2.54-1.19-4.81-3.04-6.27L16 0H8l-.95 5.73C5.19 7.19 4 9.45 4 12s1.19 4.81 3.05 6.27L8 24h8l.96-5.73C18.81 16.81 20 14.54 20 12zM6 12c0-3.31 2.69-6 6-6s6 2.69 6 6-2.69 6-6 6-6-2.69-6-6z"}),"Watch");e.default=a},function(t,e,n){"use strict";n.r(e),n.d(e,"capitalize",(function(){return o.a})),n.d(e,"createChainedFunction",(function(){return i})),n.d(e,"createSvgIcon",(function(){return a.a})),n.d(e,"debounce",(function(){return s.a})),n.d(e,"deprecatedPropType",(function(){return l})),n.d(e,"isMuiElement",(function(){return c.a})),n.d(e,"ownerDocument",(function(){return u.a})),n.d(e,"ownerWindow",(function(){return d.a})),n.d(e,"requirePropFactory",(function(){return f.a})),n.d(e,"setRef",(function(){return p})),n.d(e,"unstable_useEnhancedEffect",(function(){return h.a})),n.d(e,"unstable_useId",(function(){return v.a})),n.d(e,"unsupportedProp",(function(){return g.a})),n.d(e,"useControlled",(function(){return m.a})),n.d(e,"useEventCallback",(function(){return b.a})),n.d(e,"useForkRef",(function(){return y.a})),n.d(e,"useIsFocusVisible",(function(){return x.a})),n.d(e,"unstable_ClassNameGenerator",(function(){return w}));var r=n(1154),o=n(15),i=n(1269).a,a=n(66),s=n(163);var l=function(t,e){return function(){return null}},c=n(225),u=n(154),d=n(247),f=n(502),p=n(308).a,h=n(127),v=n(248),g=n(390),m=n(162),b=n(123),y=n(60),x=n(215),w={configure:function(t){console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join("\n")),r.a.configure(t)}}},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&t.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&t.push(s);else t.push(r.toString())}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"d",(function(){return m})),n.d(e,"b",(function(){return w})),n.d(e,"c",(function(){return O})),n.d(e,"i",(function(){return S})),n.d(e,"a",(function(){return k})),n.d(e,"f",(function(){return E})),n.d(e,"h",(function(){return _})),n.d(e,"e",(function(){return M})),n.d(e,"g",(function(){return T}));var r=n(226),o=n.n(r),i=n(90),a=n.n(i),s=n(48),l=n.n(s),c=n(59),u=n.n(c),d=n(1),f=n(672),p=n(18),h=n(227);function v(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var g={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},m=function(t){return"string"===typeof t?t:t?t.displayName||t.name||"Component":""},b=null,y=null,x=function t(e){if(e===b&&u()(y))return y;var n=[];return d.Children.forEach(e,(function(e){l()(e)||(Object(f.isFragment)(e)?n=n.concat(t(e.props.children)):n.push(e))})),y=n,b=e,n},w=function(t,e){var n=[],r=[];return r=u()(e)?e.map((function(t){return m(t)})):[m(e)],x(t).forEach((function(t){var e=a()(t,"type.displayName")||a()(t,"type.name");-1!==r.indexOf(e)&&n.push(t)})),n},O=function(t,e){var n=w(t,e);return n&&n[0]},S=function(t){if(!t||!t.props)return!1;var e=t.props,n=e.width,r=e.height;return!(!Object(p.g)(n)||n<=0||!Object(p.g)(r)||r<=0)},j=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],C=function(t){return t&&t.type&&o()(t.type)&&j.indexOf(t.type)>=0},k=function(t){var e=[];return x(t).forEach((function(t){C(t)&&e.push(t)})),e},E=function t(e,n){if(e===n)return!0;var r=d.Children.count(e);if(r!==d.Children.count(n))return!1;if(0===r)return!0;if(1===r)return P(u()(e)?e[0]:e,u()(n)?n[0]:n);for(var o=0;o<r;o++){var i=e[o],a=n[o];if(u()(i)||u()(a)){if(!t(i,a))return!1}else if(!P(i,a))return!1}return!0},P=function(t,e){if(l()(t)&&l()(e))return!0;if(!l()(t)&&!l()(e)){var n=t.props||{},r=n.children,o=v(n,["children"]),i=e.props||{},a=i.children,s=v(i,["children"]);return r&&a?Object(h.a)(o,s)&&E(r,a):!r&&!a&&Object(h.a)(o,s)}return!1},_=function(t,e){var n=[],r={};return x(t).forEach((function(t,o){if(C(t))n.push(t);else if(t){var i=m(t.type),a=e[i]||{},s=a.handler,l=a.once;if(s&&(!l||!r[i])){var c=s(t,i,o);n.push(c),r[i]=!0}}})),n},M=function(t){var e=t&&t.type;return e&&g[e]?g[e]:null},T=function(t,e){return x(e).indexOf(t)}},function(t,e){var n=Array.isArray;t.exports=n},function(t,e,n){"use strict";var r=n(442);e.a=r.a},function(t,e,n){t.exports=n(909)},,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(57);function o(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Object(r.a)(t)););return t}function i(){return i="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,n){var r=o(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(arguments.length<3?t:n):i.value}},i.apply(this,arguments)}},function(t,e,n){"use strict";function r(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function o(t,e){switch(arguments.length){case 0:break;case 1:"function"===typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"===typeof e?this.interpolator(e):this.range(e)}return this}n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}))},,function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(3),o=n(1),i=n(735),a=n(0);function s(t,e){var n=function(n,o){return Object(a.jsx)(i.a,Object(r.a)({"data-testid":"".concat(e,"Icon"),ref:o},n,{children:t}))};return n.muiName=i.a.muiName,o.memo(o.forwardRef(n))}},,function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.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}),e.Overlay=e.Fullscreen=e.PlayPause=e.Captions=e.Volume=e.Seek=e.Time=e.DefaultPlayer=e.apiHelpers=e.default=void 0;var r=s(n(2)),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(96)),i=n(107),a=s(i);function s(t){return t&&t.__esModule?t:{default:t}}e.default=r.default,e.apiHelpers=o,e.DefaultPlayer=a.default,e.Time=i.Time,e.Seek=i.Seek,e.Volume=i.Volume,e.Captions=i.Captions,e.PlayPause=i.PlayPause,e.Fullscreen=i.Fullscreen,e.Overlay=i.Overlay},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=h(n(3)),o=h(n(29)),i=h(n(30)),a=h(n(34)),s=h(n(80)),l=h(n(88)),c=h(n(89)),u=n(93),d=h(u),f=n(94),p=n(95);function h(t){return t&&t.__esModule?t:{default:t}}var v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,c.default)({video:(0,l.default)({},t)})},g=function(t){return{videoEl:t}},m=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,c.default)({},t,e,n)};e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:g,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m;return function(c){function u(t){(0,o.default)(this,u);var e=(0,a.default)(this,(u.__proto__||(0,r.default)(u)).call(this,t));return e.updateState=e.updateState.bind(e),e.state={},e}return(0,s.default)(u,c),(0,i.default)(u,[{key:"updateState",value:function(){var t=this;this.setState(p.PROPERTIES.reduce((function(e,n){return e[n]=t.videoEl&&t.videoEl[n],e}),{}))}},{key:"bindEventsToUpdateState",value:function(){var t=this;p.EVENTS.forEach((function(e){t.videoEl.addEventListener(e.toLowerCase(),t.updateState)})),p.TRACKEVENTS.forEach((function(e){t.videoEl.textTracks.addEventListener&&t.videoEl.textTracks.addEventListener(e.toLowerCase(),t.updateState)}));var e=this.videoEl.getElementsByTagName("source");e.length&&e[e.length-1].addEventListener("error",this.updateState)}},{key:"unbindEvents",value:function(){var t=this;p.EVENTS.forEach((function(e){t.videoEl.removeEventListener(e.toLowerCase(),t.updateState)})),p.TRACKEVENTS.forEach((function(e){t.videoEl.textTracks.removeEventListener&&t.videoEl.textTracks.removeEventListener(e.toLowerCase(),t.updateState)}));var e=this.videoEl.getElementsByTagName("source");e.length&&e[e.length-1].removeEventListener("error",this.updateState)}},{key:"componentWillUnmount",value:function(){this.unbindEvents()}},{key:"setRef",value:function(t){this.el=(0,f.findDOMNode)(t)}},{key:"componentDidMount",value:function(){this.videoEl=this.el.getElementsByTagName("video")[0],this.bindEventsToUpdateState()}},{key:"render",value:function(){var r=e(this.state,this.props),o=n(this.videoEl,this.state,this.props);return d.default.createElement("div",{ref:this.setRef.bind(this)},d.default.createElement(t,l(r,o,this.props)))}}]),u}(u.Component)}},function(t,e,n){t.exports={default:n(4),__esModule:!0}},function(t,e,n){n(5),t.exports=n(16).Object.getPrototypeOf},function(t,e,n){var r=n(6),o=n(8);n(14)("getPrototypeOf",(function(){return function(t){return o(r(t))}}))},function(t,e,n){var r=n(7);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},function(t,e,n){var r=n(9),o=n(6),i=n(10)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(11)("keys"),o=n(13);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(12),o="__core-js_shared__",i=r[o]||(r[o]={});t.exports=function(t){return i[t]||(i[t]={})}},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)},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(15),o=n(16),i=n(25);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(t,e,n){var r=n(12),o=n(16),i=n(17),a=n(19),s=function t(e,n,s){var l,c,u,d=e&t.F,f=e&t.G,p=e&t.S,h=e&t.P,v=e&t.B,g=e&t.W,m=f?o:o[n]||(o[n]={}),b=m.prototype,y=f?r:p?r[n]:(r[n]||{}).prototype;for(l in f&&(s=n),s)(c=!d&&y&&void 0!==y[l])&&l in m||(u=c?y[l]:s[l],m[l]=f&&"function"!=typeof y[l]?s[l]:v&&c?i(u,r):g&&y[l]==u?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}(u):h&&"function"==typeof u?i(Function.call,u):u,h&&((m.virtual||(m.virtual={}))[l]=u,e&t.R&&b&&!b[l]&&a(b,l,u)))};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},function(t,e){var n=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(18);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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(20),o=n(28);t.exports=n(24)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(21),o=n(23),i=n(27),a=Object.defineProperty;e.f=n(24)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(22);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},function(t,e,n){t.exports=!n(24)&&!n(25)((function(){return 7!=Object.defineProperty(n(26)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){t.exports=!n(25)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e,n){var r=n(22),o=n(12).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(22);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(31),i=(r=o)&&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,i.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e,n){t.exports={default:n(32),__esModule:!0}},function(t,e,n){n(33);var r=n(16).Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},function(t,e,n){var r=n(15);r(r.S+r.F*!n(24),"Object",{defineProperty:n(20).f})},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(35),i=(r=o)&&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"!==("undefined"===typeof e?"undefined":(0,i.default)(e))&&"function"!==typeof e?t:e}},function(t,e,n){"use strict";e.__esModule=!0;var r=a(n(36)),o=a(n(65)),i="function"===typeof o.default&&"symbol"===typeof r.default?function(t){return typeof t}:function(t){return t&&"function"===typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":typeof t};function a(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof o.default&&"symbol"===i(r.default)?function(t){return"undefined"===typeof t?"undefined":i(t)}:function(t){return t&&"function"===typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":"undefined"===typeof t?"undefined":i(t)}},function(t,e,n){t.exports={default:n(37),__esModule:!0}},function(t,e,n){n(38),n(60),t.exports=n(64).f("iterator")},function(t,e,n){"use strict";var r=n(39)(!0);n(41)(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})}))},function(t,e,n){var r=n(40),o=n(7);t.exports=function(t){return function(e,n){var i,a,s=String(o(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):i:t?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r=n(42),o=n(15),i=n(43),a=n(19),s=n(9),l=n(44),c=n(45),u=n(58),d=n(8),f=n(59)("iterator"),p=!([].keys&&"next"in[].keys()),h="keys",v="values",g=function(){return this};t.exports=function(t,e,n,m,b,y,x){c(n,e,m);var w,O,S,j=function(t){if(!p&&t in P)return P[t];switch(t){case h:case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},C=e+" Iterator",k=b==v,E=!1,P=t.prototype,_=P[f]||P["@@iterator"]||b&&P[b],M=_||j(b),T=b?k?j("entries"):M:void 0,A="Array"==e&&P.entries||_;if(A&&(S=d(A.call(new t)))!==Object.prototype&&S.next&&(u(S,C,!0),r||s(S,f)||a(S,f,g)),k&&_&&_.name!==v&&(E=!0,M=function(){return _.call(this)}),r&&!x||!p&&!E&&P[f]||a(P,f,M),l[e]=M,l[C]=g,b)if(w={values:k?M:j(v),keys:y?M:j(h),entries:T},x)for(O in w)O in P||i(P,O,w[O]);else o(o.P+o.F*(p||E),e,w);return w}},function(t,e){t.exports=!0},function(t,e,n){t.exports=n(19)},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(46),o=n(28),i=n(58),a={};n(19)(a,n(59)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(a,{next:o(1,n)}),i(t,e+" Iterator")}},function(t,e,n){var r=n(21),o=n(47),i=n(56),a=n(10)("IE_PROTO"),s=function(){},l=function(){var t,e=n(26)("iframe"),r=i.length;for(e.style.display="none",n(57).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[i[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(20),o=n(21),i=n(48);t.exports=n(24)?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),s=a.length,l=0;s>l;)r.f(t,n=a[l++],e[n]);return t}},function(t,e,n){var r=n(49),o=n(56);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(9),o=n(50),i=n(53)(!1),a=n(10)("IE_PROTO");t.exports=function(t,e){var n,s=o(t),l=0,c=[];for(n in s)n!=a&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(51),o=n(7);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(52);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(50),o=n(54),i=n(55);t.exports=function(t){return function(e,n,a){var s,l=r(e),c=o(l.length),u=i(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}}},function(t,e,n){var r=n(40),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(40),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(12).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(20).f,o=n(9),i=n(59)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(11)("wks"),o=n(13),i=n(12).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){n(61);for(var r=n(12),o=n(19),i=n(44),a=n(59)("toStringTag"),s="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(","),l=0;l<s.length;l++){var c=s[l],u=r[c],d=u&&u.prototype;d&&!d[a]&&o(d,a,c),i[c]=i.Array}},function(t,e,n){"use strict";var r=n(62),o=n(63),i=n(44),a=n(50);t.exports=n(41)(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,o(1)):o(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(t,e){t.exports=function(){}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){e.f=n(59)},function(t,e,n){t.exports={default:n(66),__esModule:!0}},function(t,e,n){n(67),n(77),n(78),n(79),t.exports=n(16).Symbol},function(t,e,n){"use strict";var r=n(12),o=n(9),i=n(24),a=n(15),s=n(43),l=n(68).KEY,c=n(25),u=n(11),d=n(58),f=n(13),p=n(59),h=n(64),v=n(69),g=n(70),m=n(73),b=n(21),y=n(50),x=n(27),w=n(28),O=n(46),S=n(74),j=n(76),C=n(20),k=n(48),E=j.f,P=C.f,_=S.f,M=r.Symbol,T=r.JSON,A=T&&T.stringify,R=p("_hidden"),D=p("toPrimitive"),I={}.propertyIsEnumerable,N=u("symbol-registry"),L=u("symbols"),F=u("op-symbols"),B=Object.prototype,z="function"==typeof M,H=r.QObject,V=!H||!H.prototype||!H.prototype.findChild,U=i&&c((function(){return 7!=O(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=E(B,e);r&&delete B[e],P(t,e,n),r&&t!==B&&P(B,e,r)}:P,W=function(t){var e=L[t]=O(M.prototype);return e._k=t,e},q=z&&"symbol"==typeof M.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof M},G=function(t,e,n){return t===B&&G(F,e,n),b(t),e=x(e,!0),b(n),o(L,e)?(n.enumerable?(o(t,R)&&t[R][e]&&(t[R][e]=!1),n=O(n,{enumerable:w(0,!1)})):(o(t,R)||P(t,R,w(1,{})),t[R][e]=!0),U(t,e,n)):P(t,e,n)},Y=function(t,e){b(t);for(var n,r=g(e=y(e)),o=0,i=r.length;i>o;)G(t,n=r[o++],e[n]);return t},X=function(t){var e=I.call(this,t=x(t,!0));return!(this===B&&o(L,t)&&!o(F,t))&&(!(e||!o(this,t)||!o(L,t)||o(this,R)&&this[R][t])||e)},K=function(t,e){if(t=y(t),e=x(e,!0),t!==B||!o(L,e)||o(F,e)){var n=E(t,e);return!n||!o(L,e)||o(t,R)&&t[R][e]||(n.enumerable=!0),n}},$=function(t){for(var e,n=_(y(t)),r=[],i=0;n.length>i;)o(L,e=n[i++])||e==R||e==l||r.push(e);return r},Z=function(t){for(var e,n=t===B,r=_(n?F:y(t)),i=[],a=0;r.length>a;)!o(L,e=r[a++])||n&&!o(B,e)||i.push(L[e]);return i};z||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),e=function e(n){this===B&&e.call(F,n),o(this,R)&&o(this[R],t)&&(this[R][t]=!1),U(this,t,w(1,n))};return i&&V&&U(B,t,{configurable:!0,set:e}),W(t)},s(M.prototype,"toString",(function(){return this._k})),j.f=K,C.f=G,n(75).f=S.f=$,n(72).f=X,n(71).f=Z,i&&!n(42)&&s(B,"propertyIsEnumerable",X,!0),h.f=function(t){return W(p(t))}),a(a.G+a.W+a.F*!z,{Symbol:M});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),J=0;Q.length>J;)p(Q[J++]);for(var tt=k(p.store),et=0;tt.length>et;)v(tt[et++]);a(a.S+a.F*!z,"Symbol",{for:function(t){return o(N,t+="")?N[t]:N[t]=M(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in N)if(N[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!z,"Object",{create:function(t,e){return void 0===e?O(t):Y(O(t),e)},defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:K,getOwnPropertyNames:$,getOwnPropertySymbols:Z}),T&&a(a.S+a.F*(!z||c((function(){var t=M();return"[null]"!=A([t])||"{}"!=A({a:t})||"{}"!=A(Object(t))}))),"JSON",{stringify:function(t){if(void 0!==t&&!q(t)){for(var e,n,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);return"function"==typeof(e=r[1])&&(n=e),!n&&m(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!q(e))return e}),r[1]=e,A.apply(T,r)}}}),M.prototype[D]||n(19)(M.prototype,D,M.prototype.valueOf),d(M,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(t,e,n){var r=n(13)("meta"),o=n(22),i=n(9),a=n(20).f,s=0,l=Object.isExtensible||function(){return!0},c=!n(25)((function(){return l(Object.preventExtensions({}))})),u=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},d=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!l(t))return"F";if(!e)return"E";u(t)}return t[r].i},getWeak:function(t,e){if(!i(t,r)){if(!l(t))return!0;if(!e)return!1;u(t)}return t[r].w},onFreeze:function(t){return c&&d.NEED&&l(t)&&!i(t,r)&&u(t),t}}},function(t,e,n){var r=n(12),o=n(16),i=n(42),a=n(64),s=n(20).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(48),o=n(71),i=n(72);t.exports=function(t){var e=r(t),n=o.f;if(n)for(var a,s=n(t),l=i.f,c=0;s.length>c;)l.call(t,a=s[c++])&&e.push(a);return e}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(52);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(50),o=n(75).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(e){return a.slice()}}(t):o(r(t))}},function(t,e,n){var r=n(49),o=n(56).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(72),o=n(28),i=n(50),a=n(27),s=n(9),l=n(23),c=Object.getOwnPropertyDescriptor;e.f=n(24)?c:function(t,e){if(t=i(t),e=a(e,!0),l)try{return c(t,e)}catch(n){}if(s(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e){},function(t,e,n){n(69)("asyncIterator")},function(t,e,n){n(69)("observable")},function(t,e,n){"use strict";e.__esModule=!0;var r=a(n(81)),o=a(n(85)),i=a(n(35));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 "+("undefined"===typeof e?"undefined":(0,i.default)(e)));t.prototype=(0,o.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(r.default?(0,r.default)(t,e):t.__proto__=e)}},function(t,e,n){t.exports={default:n(82),__esModule:!0}},function(t,e,n){n(83),t.exports=n(16).Object.setPrototypeOf},function(t,e,n){var r=n(15);r(r.S,"Object",{setPrototypeOf:n(84).set})},function(t,e,n){var r=n(22),o=n(21),i=function(t,e){if(o(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(17)(Function.call,n(76).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(o){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},function(t,e,n){t.exports={default:n(86),__esModule:!0}},function(t,e,n){n(87);var r=n(16).Object;t.exports=function(t,e){return r.create(t,e)}},function(t,e,n){var r=n(15);r(r.S,"Object",{create:n(46)})},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(89),i=(r=o)&&r.__esModule?r:{default:r};e.default=i.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}},function(t,e,n){t.exports={default:n(90),__esModule:!0}},function(t,e,n){n(91),t.exports=n(16).Object.assign},function(t,e,n){var r=n(15);r(r.S+r.F,"Object",{assign:n(92)})},function(t,e,n){"use strict";var r=n(48),o=n(71),i=n(72),a=n(6),s=n(51),l=Object.assign;t.exports=!l||n(25)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||Object.keys(l({},e)).join("")!=r}))?function(t,e){for(var n=a(t),l=arguments.length,c=1,u=o.f,d=i.f;l>c;)for(var f,p=s(arguments[c++]),h=u?r(p).concat(u(p)):r(p),v=h.length,g=0;v>g;)d.call(p,f=h[g++])&&(n[f]=p[f]);return n}:l},function(t,e){t.exports=n(1)},function(t,e){t.exports=n(51)},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.EVENTS=["abort","canPlay","canPlayThrough","durationChange","emptied","encrypted","ended","error","loadedData","loadedMetadata","loadStart","pause","play","playing","progress","rateChange","seeked","seeking","stalled","suspend","timeUpdate","volumeChange","waiting"],e.TRACKEVENTS=["change","addTrack","removeTrack"],e.METHODS=["addTextTrack","canPlayType","load","play","pause"],e.PROPERTIES=["audioTracks","autoPlay","buffered","controller","controls","currentSrc","currentTime","defaultMuted","defaultPlaybackRate","duration","ended","error","loop","mediaGroup","muted","networkState","paused","playbackRate","played","preload","readyState","seekable","seeking","src","startDate","textTracks","videoTracks","volume"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPercentagePlayed=e.getPercentageBuffered=e.toggleTracks=e.hideTracks=e.showTrack=e.toggleFullscreen=e.toggleMute=e.unmute=e.mute=e.setVolume=e.setCurrentTime=e.togglePause=void 0;var r,o=n(97),i=(r=o)&&r.__esModule?r:{default:r};e.togglePause=function(t,e){e.paused?t.play():t.pause()},e.setCurrentTime=function(t,e,n){t.currentTime=n},e.setVolume=function(t,e,n){t.muted=!1,t.volume=n},e.mute=function(t){t.muted=!0},e.unmute=function(t){t.muted=!1},e.toggleMute=function(t,e){var n=e.volume;e.muted||n<=0?(n<=0&&(t.volume=1),t.muted=!1):t.muted=!0},e.toggleFullscreen=function(t){t.requestFullScreen=t.requestFullscreen||t.msRequestFullscreen||t.mozRequestFullScreen||t.webkitRequestFullscreen,document.exitFullscreen=document.exitFullscreen||document.msExitFullscreen||document.mozCancelFullScreen||document.webkitExitFullscreen,(document.fullscreenElement||document.msFullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)===t?document.exitFullscreen():t.requestFullScreen()};var a=e.showTrack=function(t,e){var n=t.textTracks;s({textTracks:n}),e.mode=e.SHOWING||"showing"},s=e.hideTracks=function(t){for(var e=t.textTracks,n=0;n<e.length;n++)e[n].mode=e[n].DISABLED||"disabled"};e.toggleTracks=function(){var t=void 0;return function(e){var n=e.textTracks,r=[].concat((0,i.default)(n)).filter((function(t){return t.mode===t.SHOWING||"showing"===t.mode}))[0];r?(s({textTracks:n}),t=r):a({textTracks:n},t||n[0])}}(),e.getPercentageBuffered=function(t){var e=t.buffered,n=t.duration;return e&&e.length&&e.end(e.length-1)/n*100||0},e.getPercentagePlayed=function(t){return t.currentTime/t.duration*100}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(98),i=(r=o)&&r.__esModule?r:{default:r};e.default=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(0,i.default)(t)}},function(t,e,n){t.exports={default:n(99),__esModule:!0}},function(t,e,n){n(38),n(100),t.exports=n(16).Array.from},function(t,e,n){"use strict";var r=n(17),o=n(15),i=n(6),a=n(101),s=n(102),l=n(54),c=n(103),u=n(104);o(o.S+o.F*!n(106)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,d,f=i(t),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,m=0,b=u(f);if(g&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==b||p==Array&&s(b))for(n=new p(e=l(f.length));e>m;m++)c(n,m,g?v(f[m],m):f[m]);else for(d=b.call(f),n=new p;!(o=d.next()).done;m++)c(n,m,g?a(d,v,[o.value,m],!0):o.value);return n.length=m,n}})},function(t,e,n){var r=n(21);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},function(t,e,n){var r=n(44),o=n(59)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},function(t,e,n){"use strict";var r=n(20),o=n(28);t.exports=function(t,e,n){e in t?r.f(t,e,o(0,n)):t[e]=n}},function(t,e,n){var r=n(105),o=n(59)("iterator"),i=n(44);t.exports=n(16).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(52),o=n(59)("toStringTag"),i="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(n){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(59)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(a){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(a){}return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Overlay=e.Fullscreen=e.PlayPause=e.Captions=e.Volume=e.Seek=e.Time=e.DefaultPlayer=e.default=void 0;var r=b(n(88)),o=b(n(108)),i=b(n(93)),a=b(n(109)),s=b(n(2)),l=b(n(110)),c=n(96),u=b(n(111)),d=b(n(115)),f=b(n(118)),p=b(n(121)),h=b(n(126)),v=b(n(130)),g=b(n(135)),m=b(n(139));function b(t){return t&&t.__esModule?t:{default:t}}var y=function(t){var e=t.copy,n=t.video,a=t.style,s=t.controls,l=t.children,c=t.className,b=t.onSeekChange,y=t.onVolumeChange,x=t.onVolumeClick,w=t.onCaptionsClick,O=t.onPlayPauseClick,S=t.onFullscreenClick,j=t.onCaptionsItemClick,C=(0,o.default)(t,["copy","video","style","controls","children","className","onSeekChange","onVolumeChange","onVolumeClick","onCaptionsClick","onPlayPauseClick","onFullscreenClick","onCaptionsItemClick"]);return i.default.createElement("div",{className:[u.default.component,c].join(" "),style:a},i.default.createElement("video",(0,r.default)({className:u.default.video},C),l),i.default.createElement(m.default,(0,r.default)({onClick:O},n)),s&&s.length&&!n.error?i.default.createElement("div",{className:u.default.controls},s.map((function(t,o){switch(t){case"Seek":return i.default.createElement(f.default,(0,r.default)({key:o,ariaLabel:e.seek,className:u.default.seek,onChange:b},n));case"PlayPause":return i.default.createElement(v.default,(0,r.default)({key:o,ariaLabelPlay:e.play,ariaLabelPause:e.pause,onClick:O},n));case"Fullscreen":return i.default.createElement(g.default,(0,r.default)({key:o,ariaLabel:e.fullscreen,onClick:S},n));case"Time":return i.default.createElement(d.default,(0,r.default)({key:o},n));case"Volume":return i.default.createElement(p.default,(0,r.default)({key:o,onClick:x,onChange:y,ariaLabelMute:e.mute,ariaLabelUnmute:e.unmute,ariaLabelVolume:e.volume},n));case"Captions":return n.textTracks&&n.textTracks.length?i.default.createElement(h.default,(0,r.default)({key:o,onClick:w,ariaLabel:e.captions,onItemClick:j},n)):null;default:return null}}))):null)},x=["PlayPause","Seek","Time","Volume","Fullscreen","Captions"];y.defaultProps={copy:l.default,controls:x,video:{}},y.propTypes={copy:a.default.object.isRequired,controls:a.default.arrayOf(a.default.oneOf(x)),video:a.default.object.isRequired};var w=(0,s.default)(y,(function(t){var e=t.networkState,n=t.readyState,i=t.error,a=(0,o.default)(t,["networkState","readyState","error"]);return{video:(0,r.default)({readyState:n,networkState:e,error:i||3===e,loading:n<(/iPad|iPhone|iPod/.test(navigator.userAgent)?1:4),percentagePlayed:(0,c.getPercentagePlayed)(a),percentageBuffered:(0,c.getPercentageBuffered)(a)},a)}}),(function(t,e){return{onFullscreenClick:function(){return(0,c.toggleFullscreen)(t.parentElement)},onVolumeClick:function(){return(0,c.toggleMute)(t,e)},onCaptionsClick:function(){return(0,c.toggleTracks)(e)},onPlayPauseClick:function(){return(0,c.togglePause)(t,e)},onCaptionsItemClick:function(t){return(0,c.showTrack)(e,t)},onVolumeChange:function(n){return(0,c.setVolume)(t,e,n.target.value)},onSeekChange:function(n){return(0,c.setCurrentTime)(t,e,n.target.value*e.duration/100)}}}));e.default=w,e.DefaultPlayer=y,e.Time=d.default,e.Seek=f.default,e.Volume=p.default,e.Captions=h.default,e.PlayPause=v.default,e.Fullscreen=g.default,e.Overlay=m.default},function(t,e){"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}},function(t,e){t.exports=n(32)},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default={play:"Play video",pause:"Pause video",mute:"Mute video",unmute:"Unmute video",volume:"Change volume",fullscreen:"View video fullscreen",seek:"Seek video",captions:"Toggle captions"}},function(t,e){t.exports={component:"rh5v-DefaultPlayer_component",video:"rh5v-DefaultPlayer_video",controls:"rh5v-DefaultPlayer_controls",seek:"rh5v-DefaultPlayer_seek"}},,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(n(93)),o=i(n(116));function i(t){return t&&t.__esModule?t:{default:t}}var a=function(t){var e=new Date(Date.UTC(1970,1,1,0,0,0,0));return t=isNaN(t)||t>86400?0:Math.floor(t),e.setSeconds(t),e.toISOString().substr(11,8).replace(/^0{1,2}:?0{0,1}/,"")};e.default=function(t){var e=t.currentTime,n=t.duration,i=t.className;return r.default.createElement("div",{className:[o.default.component,i].join(" ")},r.default.createElement("span",{className:o.default.current},a(e)),"/",r.default.createElement("span",{className:o.default.duration},a(n)))}},function(t,e){t.exports={component:"rh5v-Time_component",current:"rh5v-Time_current",duration:"rh5v-Time_duration"}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=i(n(93)),o=i(n(119));function i(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=t.onChange,n=t.percentagePlayed,i=t.percentageBuffered,a=t.className,s=t.ariaLabel;return r.default.createElement("div",{className:[o.default.component,a].join(" ")},r.default.createElement("div",{className:o.default.track},r.default.createElement("div",{className:o.default.buffer,style:{width:(i||0)+"%"}}),r.default.createElement("div",{className:o.default.fill,style:{width:(n||0)+"%"}}),r.default.createElement("input",{min:"0",step:1,max:"100",type:"range",orient:"horizontal",onChange:e,"aria-label":s,className:o.default.input,value:n||0})))}},function(t,e){t.exports={component:"rh5v-Seek_component",track:"rh5v-Seek_track",buffer:"rh5v-Seek_buffer",fill:"rh5v-Seek_fill",input:"rh5v-Seek_input"}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(93)),o=s(n(122)),i=s(n(124)),a=s(n(125));function s(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=t.onChange,n=t.onClick,s=t.volume,l=t.muted,c=t.className,u=t.ariaLabelMute,d=t.ariaLabelUnmute,f=t.ariaLabelVolume,p=l||!s?0:+s,h=l||s<=0;return r.default.createElement("div",{className:[o.default.component,c].join(" ")},r.default.createElement("button",{"aria-label":h?d:u,className:o.default.button,onClick:n,type:"button"},h?r.default.createElement(i.default,{height:20,width:20,className:o.default.icon,fill:"#fff"}):r.default.createElement(a.default,{height:20,width:20,className:o.default.icon,fill:"#fff"})),r.default.createElement("div",{className:o.default.slider},r.default.createElement("div",{className:o.default.track},r.default.createElement("div",{className:o.default.fill,style:{height:100*p+"%"}}),r.default.createElement("input",{min:"0",step:.1,max:"1",type:"range",orient:"vertical",onChange:e,"aria-label":f,className:o.default.input,value:p}))))}},function(t,e){t.exports={component:"rh5v-Volume_component",button:"rh5v-Volume_button",icon:"rh5v-Volume_icon",slider:"rh5v-Volume_slider",track:"rh5v-Volume_track",fill:"rh5v-Volume_fill",input:"rh5v-Volume_input"}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(88)),o=u(n(3)),i=u(n(29)),a=u(n(30)),s=u(n(34)),l=u(n(80)),c=u(n(93));function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return(0,i.default)(this,e),(0,s.default)(this,(e.__proto__||(0,o.default)(e)).apply(this,arguments))}return(0,l.default)(e,t),(0,a.default)(e,[{key:"render",value:function(){return c.default.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},this.props),c.default.createElement("path",{d:"M12 3.984v4.219L9.891 6.094zM4.266 3L21 19.734 19.734 21l-2.063-2.063c-1.078.844-2.297 1.5-3.656 1.828v-2.063c.844-.234 1.594-.656 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016H2.999v-6h4.734L2.999 4.264zm14.718 9c0-3.188-2.063-5.859-4.969-6.703V3.234c4.031.891 6.984 4.5 6.984 8.766a8.87 8.87 0 0 1-1.031 4.172l-1.5-1.547A6.901 6.901 0 0 0 18.984 12zM16.5 12c0 .234 0 .422-.047.609l-2.438-2.438V7.968c1.5.75 2.484 2.25 2.484 4.031z"}))}}]),e}(c.default.Component);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(88)),o=u(n(3)),i=u(n(29)),a=u(n(30)),s=u(n(34)),l=u(n(80)),c=u(n(93));function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return(0,i.default)(this,e),(0,s.default)(this,(e.__proto__||(0,o.default)(e)).apply(this,arguments))}return(0,l.default)(e,t),(0,a.default)(e,[{key:"render",value:function(){return c.default.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},this.props),c.default.createElement("path",{d:"M14.016 3.234C18.047 4.125 21 7.734 21 12s-2.953 7.875-6.984 8.766v-2.063c2.906-.844 4.969-3.516 4.969-6.703s-2.063-5.859-4.969-6.703V3.234zM16.5 12a4.451 4.451 0 0 1-2.484 4.031V7.968c1.5.75 2.484 2.25 2.484 4.031zM3 9h3.984L12 3.984v16.031l-5.016-5.016H3v-6z"}))}}]),e}(c.default.Component);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(97)),o=s(n(93)),i=s(n(127)),a=s(n(129));function s(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=t.textTracks,n=t.onClick,s=t.onItemClick,l=t.className,c=t.ariaLabel;return o.default.createElement("div",{className:[i.default.component,l].join(" ")},o.default.createElement("button",{type:"button",onClick:n,"aria-label":c,className:i.default.button},o.default.createElement(a.default,{className:i.default.icon,fill:"#fff"})),o.default.createElement("ul",{className:i.default.trackList},e&&[].concat((0,r.default)(e)).map((function(t){return o.default.createElement("li",{key:t.language,className:t.mode===t.SHOWING||"showing"==t.mode?i.default.activeTrackItem:i.default.trackItem,onClick:s.bind(void 0,t)},t.label)}))))}},function(t,e){t.exports={component:"rh5v-Captions_component",button:"rh5v-Captions_button",icon:"rh5v-Captions_icon",trackList:"rh5v-Captions_trackList",trackItem:"rh5v-Captions_trackItem",activeTrackItem:"rh5v-Captions_activeTrackItem rh5v-Captions_trackItem"}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(88)),o=u(n(3)),i=u(n(29)),a=u(n(30)),s=u(n(34)),l=u(n(80)),c=u(n(93));function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return(0,i.default)(this,e),(0,s.default)(this,(e.__proto__||(0,o.default)(e)).apply(this,arguments))}return(0,l.default)(e,t),(0,a.default)(e,[{key:"render",value:function(){return c.default.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},this.props),c.default.createElement("path",{d:"M18 11.016V9.985a.96.96 0 0 0-.984-.984h-3c-.563 0-1.031.422-1.031.984v4.031c0 .563.469.984 1.031.984h3a.96.96 0 0 0 .984-.984v-1.031h-1.5v.516h-2.016v-3H16.5v.516H18zm-6.984 0V9.985c0-.563-.469-.984-1.031-.984h-3a.96.96 0 0 0-.984.984v4.031a.96.96 0 0 0 .984.984h3c.563 0 1.031-.422 1.031-.984v-1.031h-1.5v.516H7.5v-3h2.016v.516h1.5zm7.968-7.032C20.062 3.984 21 4.922 21 6v12c0 1.078-.938 2.016-2.016 2.016H5.015c-1.125 0-2.016-.938-2.016-2.016V6c0-1.078.891-2.016 2.016-2.016h13.969z"}))}}]),e}(c.default.Component);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(93)),o=s(n(131)),i=s(n(133)),a=s(n(134));function s(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=t.onClick,n=t.paused,s=t.className,l=t.ariaLabelPlay,c=t.ariaLabelPause;return r.default.createElement("div",{className:[o.default.component,s].join(" ")},r.default.createElement("button",{className:o.default.button,onClick:e,"aria-label":n?l:c,type:"button"},n?r.default.createElement(i.default,{className:o.default.icon,fill:"#fff"}):r.default.createElement(a.default,{className:o.default.icon,fill:"#fff"})))}},function(t,e){t.exports={component:"rh5v-PlayPause_component",button:"rh5v-PlayPause_button",icon:"rh5v-PlayPause_icon"}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(88)),o=u(n(3)),i=u(n(29)),a=u(n(30)),s=u(n(34)),l=u(n(80)),c=u(n(93));function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return(0,i.default)(this,e),(0,s.default)(this,(e.__proto__||(0,o.default)(e)).apply(this,arguments))}return(0,l.default)(e,t),(0,a.default)(e,[{key:"render",value:function(){return c.default.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},this.props),c.default.createElement("path",{d:"M8.016 5.016L18.985 12 8.016 18.984V5.015z"}))}}]),e}(c.default.Component);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(88)),o=u(n(3)),i=u(n(29)),a=u(n(30)),s=u(n(34)),l=u(n(80)),c=u(n(93));function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return(0,i.default)(this,e),(0,s.default)(this,(e.__proto__||(0,o.default)(e)).apply(this,arguments))}return(0,l.default)(e,t),(0,a.default)(e,[{key:"render",value:function(){return c.default.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},this.props),c.default.createElement("path",{d:"M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z"}))}}]),e}(c.default.Component);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(93)),o=a(n(136)),i=a(n(138));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t){var e=t.onClick,n=t.className,a=t.ariaLabel;return r.default.createElement("div",{className:[o.default.component,n].join(" ")},r.default.createElement("button",{type:"button",onClick:e,"aria-label":a,className:o.default.button},r.default.createElement(i.default,{fill:"#fff",className:o.default.icon})))}},function(t,e){t.exports={component:"rh5v-Fullscreen_component",button:"rh5v-Fullscreen_button",icon:"rh5v-Fullscreen_icon"}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(88)),o=u(n(3)),i=u(n(29)),a=u(n(30)),s=u(n(34)),l=u(n(80)),c=u(n(93));function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return(0,i.default)(this,e),(0,s.default)(this,(e.__proto__||(0,o.default)(e)).apply(this,arguments))}return(0,l.default)(e,t),(0,a.default)(e,[{key:"render",value:function(){return c.default.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},this.props),c.default.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3V5.016zm3 12v-3h1.969v4.969h-4.969v-1.969h3zm-12-7.032V5.015h4.969v1.969h-3v3H5.016zm1.968 4.032v3h3v1.969H5.015v-4.969h1.969z"}))}}]),e}(c.default.Component);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=h(n(3)),o=h(n(29)),i=h(n(30)),a=h(n(34)),s=h(n(80)),l=n(93),c=h(l),u=h(n(140)),d=h(n(133)),f=h(n(142)),p=h(n(143));function h(t){return t&&t.__esModule?t:{default:t}}var v=function(t){function e(){return(0,o.default)(this,e),(0,a.default)(this,(e.__proto__||(0,r.default)(e)).apply(this,arguments))}return(0,s.default)(e,t),(0,i.default)(e,[{key:"renderContent",value:function(){var t=this.props,e=t.error,n=t.paused,r=t.loading,o={className:u.default.icon,height:40,width:40,fill:"#fff"};return e?c.default.createElement("span",{className:u.default.inner},c.default.createElement(p.default,o)):r?c.default.createElement("span",{className:u.default.inner},c.default.createElement(f.default,o)):n?c.default.createElement("span",{className:u.default.inner},c.default.createElement(d.default,o)):void 0}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.onClick;return c.default.createElement("div",{className:[u.default.component,e].join(" "),onClick:n},this.renderContent())}}]),e}(l.Component);e.default=v},function(t,e){t.exports={component:"rh5v-Overlay_component",inner:"rh5v-Overlay_inner",icon:"rh5v-Overlay_icon"}},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(88)),o=u(n(3)),i=u(n(29)),a=u(n(30)),s=u(n(34)),l=u(n(80)),c=u(n(93));function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return(0,i.default)(this,e),(0,s.default)(this,(e.__proto__||(0,o.default)(e)).apply(this,arguments))}return(0,l.default)(e,t),(0,a.default)(e,[{key:"render",value:function(){return c.default.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",className:"uil-ring-alt"},this.props),c.default.createElement("path",{fill:"none",className:"bk",d:"M0 0h100v100H0z"}),c.default.createElement("circle",{cx:"50",cy:"50",r:"40",stroke:"#757575",fill:"none",strokeWidth:"10",strokeLinecap:"round"}),c.default.createElement("circle",{cx:"50",cy:"50",r:"40",stroke:"#fff",fill:"none",strokeWidth:"6",strokeLinecap:"round"},c.default.createElement("animate",{attributeName:"stroke-dashoffset",dur:"2s",repeatCount:"indefinite",from:"0",to:"502"}),c.default.createElement("animate",{attributeName:"stroke-dasharray",dur:"2s",repeatCount:"indefinite",values:"150.6 100.4;1 250;150.6 100.4"})))}}]),e}(c.default.Component);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=u(n(88)),o=u(n(3)),i=u(n(29)),a=u(n(30)),s=u(n(34)),l=u(n(80)),c=u(n(93));function u(t){return t&&t.__esModule?t:{default:t}}var d=function(t){function e(){return(0,i.default)(this,e),(0,s.default)(this,(e.__proto__||(0,o.default)(e)).apply(this,arguments))}return(0,l.default)(e,t),(0,a.default)(e,[{key:"render",value:function(){return c.default.createElement("svg",(0,r.default)({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},this.props),c.default.createElement("path",{d:"M12.984 12.984v-6h-1.969v6h1.969zM12 17.297c.703 0 1.313-.609 1.313-1.313s-.609-1.266-1.313-1.266-1.313.563-1.313 1.266.609 1.313 1.313 1.313zM15.75 3L21 8.25v7.5L15.75 21h-7.5L3 15.75v-7.5L8.25 3h7.5z"}))}}]),e}(c.default.Component);e.default=d}])},function(t,e,n){var r;!function(o){"use strict";var i,a=1e9,s={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},l=!0,c="[DecimalError] ",u=c+"Invalid argument: ",d=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,v=1e7,g=9007199254740991,m=f(1286742750677284.5),b={};function y(t,e){var n,r,o,i,a,s,c,u,d=t.constructor,f=d.precision;if(!t.s||!e.s)return e.s||(e=new d(t)),l?_(e,f):e;if(c=t.d,u=e.d,a=t.e,o=e.e,c=c.slice(),i=a-o){for(i<0?(r=c,i=-i,s=u.length):(r=u,o=a,s=c.length),i>(s=(a=Math.ceil(f/7))>s?a+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=c.length)-(i=u.length)<0&&(i=s,r=u,u=c,c=r),n=0;i;)n=(c[--i]=c[i]+u[i]+n)/v|0,c[i]%=v;for(n&&(c.unshift(n),++o),s=c.length;0==c[--s];)c.pop();return e.d=c,e.e=o,l?_(e,f):e}function x(t,e,n){if(t!==~~t||t<e||t>n)throw Error(u+t)}function w(t){var e,n,r,o=t.length-1,i="",a=t[0];if(o>0){for(i+=a,e=1;e<o;e++)(n=7-(r=t[e]+"").length)&&(i+=k(n)),i+=r;(n=7-(r=(a=t[e])+"").length)&&(i+=k(n))}else if(0===a)return"0";for(;a%10===0;)a/=10;return i+a}b.absoluteValue=b.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},b.comparedTo=b.cmp=function(t){var e,n,r,o,i=this;if(t=new i.constructor(t),i.s!==t.s)return i.s||-t.s;if(i.e!==t.e)return i.e>t.e^i.s<0?1:-1;for(e=0,n=(r=i.d.length)<(o=t.d.length)?r:o;e<n;++e)if(i.d[e]!==t.d[e])return i.d[e]>t.d[e]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},b.decimalPlaces=b.dp=function(){var t=this,e=t.d.length-1,n=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)n--;return n<0?0:n},b.dividedBy=b.div=function(t){return O(this,new this.constructor(t))},b.dividedToIntegerBy=b.idiv=function(t){var e=this.constructor;return _(O(this,new e(t),0,1),e.precision)},b.equals=b.eq=function(t){return!this.cmp(t)},b.exponent=function(){return j(this)},b.greaterThan=b.gt=function(t){return this.cmp(t)>0},b.greaterThanOrEqualTo=b.gte=function(t){return this.cmp(t)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(t){return this.cmp(t)<0},b.lessThanOrEqualTo=b.lte=function(t){return this.cmp(t)<1},b.logarithm=b.log=function(t){var e,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(l=!1,e=O(E(n,a),E(t,a),a),l=!0,_(e,o))},b.minus=b.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?M(e,t):y(e,(t.s=-t.s,t))},b.modulo=b.mod=function(t){var e,n=this,r=n.constructor,o=r.precision;if(!(t=new r(t)).s)throw Error(c+"NaN");return n.s?(l=!1,e=O(n,t,0,1).times(t),l=!0,n.minus(e)):_(new r(n),o)},b.naturalExponential=b.exp=function(){return S(this)},b.naturalLogarithm=b.ln=function(){return E(this)},b.negated=b.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},b.plus=b.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?y(e,t):M(e,(t.s=-t.s,t))},b.precision=b.sd=function(t){var e,n,r,o=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(u+t);if(e=j(o)+1,n=7*(r=o.d.length-1)+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return t&&e>n?e:n},b.squareRoot=b.sqrt=function(){var t,e,n,r,o,i,a,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(c+"NaN")}for(t=j(s),l=!1,0==(o=Math.sqrt(+s))||o==1/0?(((e=w(s.d)).length+t)%2==0&&(e+="0"),o=Math.sqrt(e),t=f((t+1)/2)-(t<0||t%2),r=new u(e=o==1/0?"5e"+t:(e=o.toExponential()).slice(0,e.indexOf("e")+1)+t)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(O(s,i,a+2)).times(.5),w(i.d).slice(0,a)===(e=w(r.d)).slice(0,a)){if(e=e.slice(a-3,a+1),o==a&&"4999"==e){if(_(i,n+1,0),i.times(i).eq(s)){r=i;break}}else if("9999"!=e)break;a+=4}return l=!0,_(r,n)},b.times=b.mul=function(t){var e,n,r,o,i,a,s,c,u,d=this,f=d.constructor,p=d.d,h=(t=new f(t)).d;if(!d.s||!t.s)return new f(0);for(t.s*=d.s,n=d.e+t.e,(c=p.length)<(u=h.length)&&(i=p,p=h,h=i,a=c,c=u,u=a),i=[],r=a=c+u;r--;)i.push(0);for(r=u;--r>=0;){for(e=0,o=c+r;o>r;)s=i[o]+h[r]*p[o-r-1]+e,i[o--]=s%v|0,e=s/v|0;i[o]=(i[o]+e)%v|0}for(;!i[--a];)i.pop();return e?++n:i.shift(),t.d=i,t.e=n,l?_(t,f.precision):t},b.toDecimalPlaces=b.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),void 0===t?n:(x(t,0,a),void 0===e?e=r.rounding:x(e,0,8),_(n,t+j(n)+1,e))},b.toExponential=function(t,e){var n,r=this,o=r.constructor;return void 0===t?n=T(r,!0):(x(t,0,a),void 0===e?e=o.rounding:x(e,0,8),n=T(r=_(new o(r),t+1,e),!0,t+1)),n},b.toFixed=function(t,e){var n,r,o=this,i=o.constructor;return void 0===t?T(o):(x(t,0,a),void 0===e?e=i.rounding:x(e,0,8),n=T((r=_(new i(o),t+j(o)+1,e)).abs(),!1,t+j(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},b.toInteger=b.toint=function(){var t=this,e=t.constructor;return _(new e(t),j(t)+1,e.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(t){var e,n,r,o,a,s,u=this,d=u.constructor,p=+(t=new d(t));if(!t.s)return new d(i);if(!(u=new d(u)).s){if(t.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,t.eq(i))return _(u,r);if(s=(e=t.e)>=(n=t.d.length-1),a=u.s,s){if((n=p<0?-p:p)<=g){for(o=new d(i),e=Math.ceil(r/7+4),l=!1;n%2&&A((o=o.times(u)).d,e),0!==(n=f(n/2));)A((u=u.times(u)).d,e);return l=!0,t.s<0?new d(i).div(o):_(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&t.d[Math.max(e,n)]?-1:1,u.s=1,l=!1,o=t.times(E(u,r+12)),l=!0,(o=S(o)).s=a,o},b.toPrecision=function(t,e){var n,r,o=this,i=o.constructor;return void 0===t?r=T(o,(n=j(o))<=i.toExpNeg||n>=i.toExpPos):(x(t,1,a),void 0===e?e=i.rounding:x(e,0,8),r=T(o=_(new i(o),t,e),t<=(n=j(o))||n<=i.toExpNeg,t)),r},b.toSignificantDigits=b.tosd=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(x(t,1,a),void 0===e?e=n.rounding:x(e,0,8)),_(new n(this),t,e)},b.toString=b.valueOf=b.val=b.toJSON=function(){var t=this,e=j(t),n=t.constructor;return T(t,e<=n.toExpNeg||e>=n.toExpPos)};var O=function(){function t(t,e){var n,r=0,o=t.length;for(t=t.slice();o--;)n=t[o]*e+r,t[o]=n%v|0,r=n/v|0;return r&&t.unshift(r),t}function e(t,e,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(t[o]!=e[o]){i=t[o]>e[o]?1:-1;break}return i}function n(t,e,n){for(var r=0;n--;)t[n]-=r,r=t[n]<e[n]?1:0,t[n]=r*v+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(r,o,i,a){var s,l,u,d,f,p,h,g,m,b,y,x,w,O,S,C,k,E,P=r.constructor,M=r.s==o.s?1:-1,T=r.d,A=o.d;if(!r.s)return new P(r);if(!o.s)throw Error(c+"Division by zero");for(l=r.e-o.e,k=A.length,S=T.length,g=(h=new P(M)).d=[],u=0;A[u]==(T[u]||0);)++u;if(A[u]>(T[u]||0)&&--l,(x=null==i?i=P.precision:a?i+(j(r)-j(o))+1:i)<0)return new P(0);if(x=x/7+2|0,u=0,1==k)for(d=0,A=A[0],x++;(u<S||d)&&x--;u++)w=d*v+(T[u]||0),g[u]=w/A|0,d=w%A|0;else{for((d=v/(A[0]+1)|0)>1&&(A=t(A,d),T=t(T,d),k=A.length,S=T.length),O=k,b=(m=T.slice(0,k)).length;b<k;)m[b++]=0;(E=A.slice()).unshift(0),C=A[0],A[1]>=v/2&&++C;do{d=0,(s=e(A,m,k,b))<0?(y=m[0],k!=b&&(y=y*v+(m[1]||0)),(d=y/C|0)>1?(d>=v&&(d=v-1),1==(s=e(f=t(A,d),m,p=f.length,b=m.length))&&(d--,n(f,k<p?E:A,p))):(0==d&&(s=d=1),f=A.slice()),(p=f.length)<b&&f.unshift(0),n(m,f,b),-1==s&&(s=e(A,m,k,b=m.length))<1&&(d++,n(m,k<b?E:A,b)),b=m.length):0===s&&(d++,m=[0]),g[u++]=d,s&&m[0]?m[b++]=T[O]||0:(m=[T[O]],b=1)}while((O++<S||void 0!==m[0])&&x--)}return g[0]||g.shift(),h.e=l,_(h,a?i+j(h)+1:i)}}();function S(t,e){var n,r,o,a,s,c=0,u=0,f=t.constructor,h=f.precision;if(j(t)>16)throw Error(d+j(t));if(!t.s)return new f(i);for(null==e?(l=!1,s=h):s=e,a=new f(.03125);t.abs().gte(.1);)t=t.times(a),u+=5;for(s+=Math.log(p(2,u))/Math.LN10*2+5|0,n=r=o=new f(i),f.precision=s;;){if(r=_(r.times(t),s),n=n.times(++c),w((a=o.plus(O(r,n,s))).d).slice(0,s)===w(o.d).slice(0,s)){for(;u--;)o=_(o.times(o),s);return f.precision=h,null==e?(l=!0,_(o,h)):o}o=a}}function j(t){for(var e=7*t.e,n=t.d[0];n>=10;n/=10)e++;return e}function C(t,e,n){if(e>t.LN10.sd())throw l=!0,n&&(t.precision=n),Error(c+"LN10 precision limit exceeded");return _(new t(t.LN10),e)}function k(t){for(var e="";t--;)e+="0";return e}function E(t,e){var n,r,o,a,s,u,d,f,p,h=1,v=t,g=v.d,m=v.constructor,b=m.precision;if(v.s<1)throw Error(c+(v.s?"NaN":"-Infinity"));if(v.eq(i))return new m(0);if(null==e?(l=!1,f=b):f=e,v.eq(10))return null==e&&(l=!0),C(m,f);if(f+=10,m.precision=f,r=(n=w(g)).charAt(0),a=j(v),!(Math.abs(a)<15e14))return d=C(m,f+2,b).times(a+""),v=E(new m(r+"."+n.slice(1)),f-10).plus(d),m.precision=b,null==e?(l=!0,_(v,b)):v;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=w((v=v.times(t)).d)).charAt(0),h++;for(a=j(v),r>1?(v=new m("0."+n),a++):v=new m(r+"."+n.slice(1)),u=s=v=O(v.minus(i),v.plus(i),f),p=_(v.times(v),f),o=3;;){if(s=_(s.times(p),f),w((d=u.plus(O(s,new m(o),f))).d).slice(0,f)===w(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(C(m,f+2,b).times(a+""))),u=O(u,new m(h),f),m.precision=b,null==e?(l=!0,_(u,b)):u;u=d,o+=2}}function P(t,e){var n,r,o;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;48===e.charCodeAt(r);)++r;for(o=e.length;48===e.charCodeAt(o-1);)--o;if(e=e.slice(r,o)){if(o-=r,n=n-r-1,t.e=f(n/7),t.d=[],r=(n+1)%7,n<0&&(r+=7),r<o){for(r&&t.d.push(+e.slice(0,r)),o-=7;r<o;)t.d.push(+e.slice(r,r+=7));r=7-(e=e.slice(r)).length}else r-=o;for(;r--;)e+="0";if(t.d.push(+e),l&&(t.e>m||t.e<-m))throw Error(d+n)}else t.s=0,t.e=0,t.d=[0];return t}function _(t,e,n){var r,o,i,a,s,c,u,h,g=t.d;for(a=1,i=g[0];i>=10;i/=10)a++;if((r=e-a)<0)r+=7,o=e,u=g[h=0];else{if((h=Math.ceil((r+1)/7))>=(i=g.length))return t;for(u=i=g[h],a=1;i>=10;i/=10)a++;o=(r%=7)-7+a}if(void 0!==n&&(s=u/(i=p(10,a-o-1))%10|0,c=e<0||void 0!==g[h+1]||u%i,c=n<4?(s||c)&&(0==n||n==(t.s<0?3:2)):s>5||5==s&&(4==n||c||6==n&&(r>0?o>0?u/p(10,a-o):0:g[h-1])%10&1||n==(t.s<0?8:7))),e<1||!g[0])return c?(i=j(t),g.length=1,e=e-i-1,g[0]=p(10,(7-e%7)%7),t.e=f(-e/7)||0):(g.length=1,g[0]=t.e=t.s=0),t;if(0==r?(g.length=h,i=1,h--):(g.length=h+1,i=p(10,7-r),g[h]=o>0?(u/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==h){(g[0]+=i)==v&&(g[0]=1,++t.e);break}if(g[h]+=i,g[h]!=v)break;g[h--]=0,i=1}for(r=g.length;0===g[--r];)g.pop();if(l&&(t.e>m||t.e<-m))throw Error(d+j(t));return t}function M(t,e){var n,r,o,i,a,s,c,u,d,f,p=t.constructor,h=p.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new p(t),l?_(e,h):e;if(c=t.d,f=e.d,r=e.e,u=t.e,c=c.slice(),a=u-r){for((d=a<0)?(n=c,a=-a,s=f.length):(n=f,r=u,s=c.length),a>(o=Math.max(Math.ceil(h/7),s)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((d=(o=c.length)<(s=f.length))&&(s=o),o=0;o<s;o++)if(c[o]!=f[o]){d=c[o]<f[o];break}a=0}for(d&&(n=c,c=f,f=n,e.s=-e.s),s=c.length,o=f.length-s;o>0;--o)c[s++]=0;for(o=f.length;o>a;){if(c[--o]<f[o]){for(i=o;i&&0===c[--i];)c[i]=v-1;--c[i],c[o]+=v}c[o]-=f[o]}for(;0===c[--s];)c.pop();for(;0===c[0];c.shift())--r;return c[0]?(e.d=c,e.e=r,l?_(e,h):e):new p(0)}function T(t,e,n){var r,o=j(t),i=w(t.d),a=i.length;return e?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+k(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+k(-o-1)+i,n&&(r=n-a)>0&&(i+=k(r))):o>=a?(i+=k(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+k(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=k(r))),t.s<0?"-"+i:i}function A(t,e){if(t.length>e)return t.length=e,!0}function R(t){if(!t||"object"!==typeof t)throw Error(c+"Object expected");var e,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<o.length;e+=3)if(void 0!==(r=t[n=o[e]])){if(!(f(r)===r&&r>=o[e+1]&&r<=o[e+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=t[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}s=function t(e){var n,r,o;function i(t){var e=this;if(!(e instanceof i))return new i(t);if(e.constructor=i,t instanceof i)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"===typeof t){if(0*t!==0)throw Error(u+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):P(e,t.toString())}if("string"!==typeof t)throw Error(u+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!h.test(t))throw Error(u+t);P(e,t)}if(i.prototype=b,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=t,i.config=i.set=R,void 0===e&&(e={}),e)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)e.hasOwnProperty(r=o[n++])||(e[r]=this[r]);return i.config(e),i}(s),s.default=s.Decimal=s,i=new s(1),void 0===(r=function(){return s}.call(e,n,e,t))||(t.exports=r)}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return Ta})),n.d(e,"b",(function(){return Ia})),n.d(e,"c",(function(){return Ra})),n.d(e,"d",(function(){return Ma})),n.d(e,"e",(function(){return Na})),n.d(e,"f",(function(){return Da})),n.d(e,"g",(function(){return Aa}));var r=n(1),o=n.n(r),i=n(14),a=n(6),s=n(89),l=n(63),c=n(57),u=n(37),d=n(46),f=n(2),p=n(5),h=n(47),v=n(25),g=n(23);var m="undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame;function b(t,e,n){var r=n||function(t){return Array.prototype.slice.call(t)},o=!1,i=[];return function(){for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];i=r(a),o||(o=!0,m.call(window,(function(){o=!1,t.apply(e,i)})))}}var y=function(t){return"start"===t?"left":"end"===t?"right":"center"},x=function(t,e,n){return"start"===t?e:"end"===t?n:(e+n)/2};function w(){}var O=function(){var t=0;return function(){return t++}}();function S(t){return null===t||"undefined"===typeof t}function j(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)}function C(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}var k=function(t){return("number"===typeof t||t instanceof Number)&&isFinite(+t)};function E(t,e){return k(t)?t:e}function P(t,e){return"undefined"===typeof t?e:t}var _=function(t,e){return"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t};function M(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function T(t,e,n,r){var o,i,a;if(j(t))if(i=t.length,r)for(o=i-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;o<i;o++)e.call(n,t[o],o);else if(C(t))for(i=(a=Object.keys(t)).length,o=0;o<i;o++)e.call(n,t[a[o]],a[o])}function A(t,e){var n,r,o,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(o=t[n],i=e[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function R(t){if(j(t))return t.map(R);if(C(t)){for(var e=Object.create(null),n=Object.keys(t),r=n.length,o=0;o<r;++o)e[n[o]]=R(t[n[o]]);return e}return t}function D(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function I(t,e,n,r){if(D(t)){var o=e[t],i=n[t];C(o)&&C(i)?N(o,i,r):e[t]=R(i)}}function N(t,e,n){var r=j(e)?e:[e],o=r.length;if(!C(t))return t;for(var i=(n=n||{}).merger||I,a=0;a<o;++a)if(C(e=r[a]))for(var s=Object.keys(e),l=0,c=s.length;l<c;++l)i(s[l],t,e,n);return t}function L(t,e){return N(t,e,{merger:F})}function F(t,e,n){if(D(t)){var r=e[t],o=n[t];C(r)&&C(o)?L(r,o):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=R(o))}}function B(t,e){var n=t.indexOf(".",e);return-1===n?t.length:n}function z(t,e){if(""===e)return t;for(var n=0,r=B(e,n);t&&r>n;)t=t[e.substr(n,r-n)],r=B(e,n=r+1);return t}function H(t){return t.charAt(0).toUpperCase()+t.slice(1)}var V=function(t){return"undefined"!==typeof t},U=function(t){return"function"===typeof t},W=Math.PI,q=2*W,G=q+W,Y=Number.POSITIVE_INFINITY,X=W/180,K=W/2,$=W/4,Z=2*W/3,Q=Math.log10,J=Math.sign;function tt(t){var e=Math.round(t);t=nt(t,e,t/1e3)?e:t;var n=Math.pow(10,Math.floor(Q(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function et(t){return!isNaN(parseFloat(t))&&isFinite(t)}function nt(t,e,n){return Math.abs(t-e)<n}function rt(t,e,n){var r,o,i;for(r=0,o=t.length;r<o;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function ot(t){return t*(W/180)}function it(t){return t*(180/W)}function at(t){if(k(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}}function st(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function lt(t,e){return(t-e+G)%q-W}function ct(t){return(t%q+q)%q}function ut(t,e,n,r){var o=ct(t),i=ct(e),a=ct(n),s=ct(i-o),l=ct(a-o),c=ct(o-i),u=ct(o-a);return o===i||o===a||r&&i===a||s>l&&c<u}function dt(t,e,n){return Math.max(e,Math.min(n,t))}var ft=function(t){return 0===t||1===t},pt=function(t,e,n){return-Math.pow(2,10*(t-=1))*Math.sin((t-e)*q/n)},ht=function(t,e,n){return Math.pow(2,-10*t)*Math.sin((t-e)*q/n)+1},vt={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*K)},easeOutSine:function(t){return Math.sin(t*K)},easeInOutSine:function(t){return-.5*(Math.cos(W*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return ft(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1)))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){return ft(t)?t:pt(t,.075,.3)},easeOutElastic:function(t){return ft(t)?t:ht(t,.075,.3)},easeInOutElastic:function(t){var e=.1125;return ft(t)?t:t<.5?.5*pt(2*t,e,.45):.5+.5*ht(2*t-1,e,.45)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-vt.easeOutBounce(1-t)},easeOutBounce:function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*vt.easeInBounce(2*t):.5*vt.easeOutBounce(2*t-1)+.5}},gt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},mt="0123456789ABCDEF",bt=function(t){return mt[15&t]},yt=function(t){return mt[(240&t)>>4]+mt[15&t]},xt=function(t){return(240&t)>>4===(15&t)};function wt(t){var e=function(t){return xt(t.r)&&xt(t.g)&&xt(t.b)&&xt(t.a)}(t)?bt:yt;return t?"#"+e(t.r)+e(t.g)+e(t.b)+(t.a<255?e(t.a):""):t}function Ot(t){return t+.5|0}var St=function(t,e,n){return Math.max(Math.min(t,n),e)};function jt(t){return St(Ot(2.55*t),0,255)}function Ct(t){return St(Ot(255*t),0,255)}function kt(t){return St(Ot(t/2.55)/100,0,1)}function Et(t){return St(Ot(100*t),0,100)}var Pt=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;var _t=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Mt(t,e,n){var r=e*Math.min(n,1-n),o=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return n-r*Math.max(Math.min(o-3,9-o,1),-1)};return[o(0),o(8),o(4)]}function Tt(t,e,n){var r=function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+t/60)%6;return n-n*e*Math.max(Math.min(o,4-o,1),0)};return[r(5),r(3),r(1)]}function At(t,e,n){var r,o=Mt(t,1,.5);for(e+n>1&&(e*=r=1/(e+n),n*=r),r=0;r<3;r++)o[r]*=1-e-n,o[r]+=e;return o}function Rt(t){var e,n,r,o=t.r/255,i=t.g/255,a=t.b/255,s=Math.max(o,i,a),l=Math.min(o,i,a),c=(s+l)/2;return s!==l&&(r=s-l,n=c>.5?r/(2-s-l):r/(s+l),e=60*(e=s===o?(i-a)/r+(i<a?6:0):s===i?(a-o)/r+2:(o-i)/r+4)+.5),[0|e,n||0,c]}function Dt(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(Ct)}function It(t,e,n){return Dt(Mt,t,e,n)}function Nt(t){return(t%360+360)%360}function Lt(t){var e,n=_t.exec(t),r=255;if(n){n[5]!==e&&(r=n[6]?jt(+n[5]):Ct(+n[5]));var o=Nt(+n[2]),i=+n[3]/100,a=+n[4]/100;return{r:(e="hwb"===n[1]?function(t,e,n){return Dt(At,t,e,n)}(o,i,a):"hsv"===n[1]?function(t,e,n){return Dt(Tt,t,e,n)}(o,i,a):It(o,i,a))[0],g:e[1],b:e[2],a:r}}}var Ft,Bt={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},zt={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function Ht(t){Ft||((Ft=function(){var t,e,n,r,o,i={},a=Object.keys(zt),s=Object.keys(Bt);for(t=0;t<a.length;t++){for(r=o=a[t],e=0;e<s.length;e++)n=s[e],o=o.replace(n,Bt[n]);n=parseInt(zt[r],16),i[o]=[n>>16&255,n>>8&255,255&n]}return i}()).transparent=[0,0,0,0]);var e=Ft[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}function Vt(t,e,n){if(t){var r=Rt(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=It(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function Ut(t,e){return t?Object.assign(e||{},t):t}function Wt(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=Ct(t[3]))):(e=Ut(t,{r:0,g:0,b:0,a:1})).a=Ct(e.a),e}function qt(t){return"r"===t.charAt(0)?function(t){var e,n,r,o=Pt.exec(t),i=255;if(o){if(o[7]!==e){var a=+o[7];i=255&(o[8]?jt(a):255*a)}return e=+o[1],n=+o[3],r=+o[5],{r:e=255&(o[2]?jt(e):e),g:n=255&(o[4]?jt(n):n),b:r=255&(o[6]?jt(r):r),a:i}}}(t):Lt(t)}var Gt=function(){function t(e){if(Object(v.a)(this,t),e instanceof t)return e;var n,r=typeof e;"object"===r?n=Wt(e):"string"===r&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*gt[t[1]],g:255&17*gt[t[2]],b:255&17*gt[t[3]],a:5===n?17*gt[t[4]]:255}:7!==n&&9!==n||(e={r:gt[t[1]]<<4|gt[t[2]],g:gt[t[3]]<<4|gt[t[4]],b:gt[t[5]]<<4|gt[t[6]],a:9===n?gt[t[7]]<<4|gt[t[8]]:255})),e}(e)||Ht(e)||qt(e)),this._rgb=n,this._valid=!!n}return Object(g.a)(t,[{key:"valid",get:function(){return this._valid}},{key:"rgb",get:function(){var t=Ut(this._rgb);return t&&(t.a=kt(t.a)),t},set:function(t){this._rgb=Wt(t)}},{key:"rgbString",value:function(){return this._valid?(t=this._rgb)&&(t.a<255?"rgba(".concat(t.r,", ").concat(t.g,", ").concat(t.b,", ").concat(kt(t.a),")"):"rgb(".concat(t.r,", ").concat(t.g,", ").concat(t.b,")")):this._rgb;var t}},{key:"hexString",value:function(){return this._valid?wt(this._rgb):this._rgb}},{key:"hslString",value:function(){return this._valid?function(t){if(t){var e=Rt(t),n=e[0],r=Et(e[1]),o=Et(e[2]);return t.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(kt(t.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)")}}(this._rgb):this._rgb}},{key:"mix",value:function(t,e){var n=this;if(t){var r,o=n.rgb,i=t.rgb,a=e===r?.5:e,s=2*a-1,l=o.a-i.a,c=((s*l===-1?s:(s+l)/(1+s*l))+1)/2;r=1-c,o.r=255&c*o.r+r*i.r+.5,o.g=255&c*o.g+r*i.g+.5,o.b=255&c*o.b+r*i.b+.5,o.a=a*o.a+(1-a)*i.a,n.rgb=o}return n}},{key:"clone",value:function(){return new t(this.rgb)}},{key:"alpha",value:function(t){return this._rgb.a=Ct(t),this}},{key:"clearer",value:function(t){return this._rgb.a*=1-t,this}},{key:"greyscale",value:function(){var t=this._rgb,e=Ot(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}},{key:"opaquer",value:function(t){return this._rgb.a*=1+t,this}},{key:"negate",value:function(){var t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}},{key:"lighten",value:function(t){return Vt(this._rgb,2,t),this}},{key:"darken",value:function(t){return Vt(this._rgb,2,-t),this}},{key:"saturate",value:function(t){return Vt(this._rgb,1,t),this}},{key:"desaturate",value:function(t){return Vt(this._rgb,1,-t),this}},{key:"rotate",value:function(t){return function(t,e){var n=Rt(t);n[0]=Nt(n[0]+e),n=It(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}]),t}();function Yt(t){return new Gt(t)}var Xt=function(t){return t instanceof CanvasGradient||t instanceof CanvasPattern};function Kt(t){return Xt(t)?t:Yt(t)}function $t(t){return Xt(t)?t:Yt(t).saturate(.5).darken(.1).hexString()}var Zt=Object.create(null),Qt=Object.create(null);function Jt(t,e){if(!e)return t;for(var n=e.split("."),r=0,o=n.length;r<o;++r){var i=n[r];t=t[i]||(t[i]=Object.create(null))}return t}function te(t,e,n){return"string"===typeof e?N(Jt(t,e),n):N(Jt(t,""),e)}var ee=new(function(){function t(e){Object(v.a)(this,t),this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=function(t){return t.chart.platform.getDevicePixelRatio()},this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=function(t,e){return $t(e.backgroundColor)},this.hoverBorderColor=function(t,e){return $t(e.borderColor)},this.hoverColor=function(t,e){return $t(e.color)},this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.describe(e)}return Object(g.a)(t,[{key:"set",value:function(t,e){return te(this,t,e)}},{key:"get",value:function(t){return Jt(this,t)}},{key:"describe",value:function(t,e){return te(Qt,t,e)}},{key:"override",value:function(t,e){return te(Zt,t,e)}},{key:"route",value:function(t,e,n,r){var o,i=Jt(this,t),a=Jt(this,n),s="_"+e;Object.defineProperties(i,(o={},Object(p.a)(o,s,{value:i[e],writable:!0}),Object(p.a)(o,e,{enumerable:!0,get:function(){var t=this[s],e=a[r];return C(t)?Object.assign({},e,t):P(t,e)},set:function(t){this[s]=t}}),o))}}]),t}())({_scriptable:function(t){return!t.startsWith("on")},_indexable:function(t){return"events"!==t},hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function ne(t,e,n,r,o){var i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function re(t,e,n,r){var o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(o=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;var a,s,l,c,u,d=0,f=n.length;for(a=0;a<f;a++)if(void 0!==(c=n[a])&&null!==c&&!0!==j(c))d=ne(t,o,i,d,c);else if(j(c))for(s=0,l=c.length;s<l;s++)void 0===(u=c[s])||null===u||j(u)||(d=ne(t,o,i,d,u));t.restore();var p=i.length/2;if(p>n.length){for(a=0;a<p;a++)delete o[i[a]];i.splice(0,p)}return d}function oe(t,e,n){var r=t.currentDevicePixelRatio,o=0!==n?Math.max(n/2,.5):0;return Math.round((e-o)*r)/r+o}function ie(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function ae(t,e,n,r){var o,i,a,s,l,c=e.pointStyle,u=e.rotation,d=e.radius,f=(u||0)*X;if(c&&"object"===typeof c&&("[object HTMLImageElement]"===(o=c.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(n,r),t.rotate(f),t.drawImage(c,-c.width/2,-c.height/2,c.width,c.height),void t.restore();if(!(isNaN(d)||d<=0)){switch(t.beginPath(),c){default:t.arc(n,r,d,0,q),t.closePath();break;case"triangle":t.moveTo(n+Math.sin(f)*d,r-Math.cos(f)*d),f+=Z,t.lineTo(n+Math.sin(f)*d,r-Math.cos(f)*d),f+=Z,t.lineTo(n+Math.sin(f)*d,r-Math.cos(f)*d),t.closePath();break;case"rectRounded":s=d-(l=.516*d),i=Math.cos(f+$)*s,a=Math.sin(f+$)*s,t.arc(n-i,r-a,l,f-W,f-K),t.arc(n+a,r-i,l,f-K,f),t.arc(n+i,r+a,l,f,f+K),t.arc(n-a,r+i,l,f+K,f+W),t.closePath();break;case"rect":if(!u){s=Math.SQRT1_2*d,t.rect(n-s,r-s,2*s,2*s);break}f+=$;case"rectRot":i=Math.cos(f)*d,a=Math.sin(f)*d,t.moveTo(n-i,r-a),t.lineTo(n+a,r-i),t.lineTo(n+i,r+a),t.lineTo(n-a,r+i),t.closePath();break;case"crossRot":f+=$;case"cross":i=Math.cos(f)*d,a=Math.sin(f)*d,t.moveTo(n-i,r-a),t.lineTo(n+i,r+a),t.moveTo(n+a,r-i),t.lineTo(n-a,r+i);break;case"star":i=Math.cos(f)*d,a=Math.sin(f)*d,t.moveTo(n-i,r-a),t.lineTo(n+i,r+a),t.moveTo(n+a,r-i),t.lineTo(n-a,r+i),f+=$,i=Math.cos(f)*d,a=Math.sin(f)*d,t.moveTo(n-i,r-a),t.lineTo(n+i,r+a),t.moveTo(n+a,r-i),t.lineTo(n-a,r+i);break;case"line":i=Math.cos(f)*d,a=Math.sin(f)*d,t.moveTo(n-i,r-a),t.lineTo(n+i,r+a);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(f)*d,r+Math.sin(f)*d)}t.fill(),e.borderWidth>0&&t.stroke()}}function se(t,e,n){return n=n||.5,t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function le(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function ce(t){t.restore()}function ue(t,e,n,r,o){if(!e)return t.lineTo(n.x,n.y);if("middle"===o){var i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else"after"===o!==!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function de(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function fe(t,e,n,r,o){var i,a,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},l=j(e)?e:[e],c=s.strokeWidth>0&&""!==s.strokeColor;for(t.save(),t.font=o.string,pe(t,s),i=0;i<l.length;++i)a=l[i],c&&(s.strokeColor&&(t.strokeStyle=s.strokeColor),S(s.strokeWidth)||(t.lineWidth=s.strokeWidth),t.strokeText(a,n,r,s.maxWidth)),t.fillText(a,n,r,s.maxWidth),he(t,n,r,a,s),r+=o.lineHeight;t.restore()}function pe(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),S(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function he(t,e,n,r,o){if(o.strikethrough||o.underline){var i=t.measureText(r),a=e-i.actualBoundingBoxLeft,s=e+i.actualBoundingBoxRight,l=n-i.actualBoundingBoxAscent,c=n+i.actualBoundingBoxDescent,u=o.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(a,u),t.lineTo(s,u),t.stroke()}}function ve(t,e){var n=e.x,r=e.y,o=e.w,i=e.h,a=e.radius;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,-K,W,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,W,K,!0),t.lineTo(n+o-a.bottomRight,r+i),t.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,K,0,!0),t.lineTo(n+o,r+a.topRight),t.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-K,!0),t.lineTo(n+a.topLeft,r)}var ge=new RegExp(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/),me=new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);function be(t,e){var n=(""+t).match(ge);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t}function ye(t,e){var n,r={},o=C(e),i=o?Object.keys(e):e,a=C(t)?o?function(n){return P(t[n],t[e[n]])}:function(e){return t[e]}:function(){return t},s=Object(h.a)(i);try{for(s.s();!(n=s.n()).done;){var l=n.value;r[l]=+a(l)||0}}catch(c){s.e(c)}finally{s.f()}return r}function xe(t){return ye(t,{top:"y",right:"x",bottom:"y",left:"x"})}function we(t){return ye(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Oe(t){var e=xe(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Se(t,e){t=t||{},e=e||ee.font;var n=P(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));var r=P(t.style,e.style);r&&!(""+r).match(me)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");var o={family:P(t.family,e.family),lineHeight:be(P(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:P(t.weight,e.weight),string:""};return o.string=function(t){return!t||S(t.size)||S(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(o),o}function je(t,e,n,r){var o,i,a,s=!0;for(o=0,i=t.length;o<i;++o)if(void 0!==(a=t[o])&&(void 0!==e&&"function"===typeof a&&(a=a(e),s=!1),void 0!==n&&j(a)&&(a=a[n%a.length],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}function Ce(t,e,n){n=n||function(n){return t[n]<e};for(var r,o=t.length-1,i=0;o-i>1;)n(r=i+o>>1)?i=r:o=r;return{lo:i,hi:o}}var ke=function(t,e,n){return Ce(t,n,(function(r){return t[r][e]<n}))},Ee=function(t,e,n){return Ce(t,n,(function(r){return t[r][e]>=n}))};var Pe=["push","pop","shift","splice","unshift"];function _e(t,e){var n=t._chartjs;if(n){var r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(Pe.forEach((function(e){delete t[e]})),delete t._chartjs)}}function Me(t){var e,n,r=new Set;for(e=0,n=t.length;e<n;++e)r.add(t[e]);return r.size===n?t:Array.from(r)}function Te(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){return t[0]};V(o)||(o=Ue("_fallback",t));var s=(e={},Object(p.a)(e,Symbol.toStringTag,"Object"),Object(p.a)(e,"_cacheable",!0),Object(p.a)(e,"_scopes",t),Object(p.a)(e,"_rootScopes",r),Object(p.a)(e,"_fallback",o),Object(p.a)(e,"_getTarget",a),Object(p.a)(e,"override",(function(e){return Te([e].concat(Object(i.a)(t)),n,r,o)})),e);return new Proxy(s,{deleteProperty:function(e,n){return delete e[n],delete e._keys,delete t[0][n],!0},get:function(e,r){return Ne(e,r,(function(){return Ve(r,n,t,e)}))},getOwnPropertyDescriptor:function(t,e){return Reflect.getOwnPropertyDescriptor(t._scopes[0],e)},getPrototypeOf:function(){return Reflect.getPrototypeOf(t[0])},has:function(t,e){return We(t).includes(e)},ownKeys:function(t){return We(t)},set:function(t,e,n){return(t._storage||(t._storage=a()))[e]=n,delete t[e],delete t._keys,!0}})}function Ae(t,e,n,r){var o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Re(t,r),setContext:function(e){return Ae(t,e,n,r)},override:function(o){return Ae(t.override(o),e,n,r)}};return new Proxy(o,{deleteProperty:function(e,n){return delete e[n],delete t[n],!0},get:function(t,e,n){return Ne(t,e,(function(){return function(t,e,n){var r=t._proxy,o=t._context,i=t._subProxy,a=t._descriptors,s=r[e];U(s)&&a.isScriptable(e)&&(s=function(t,e,n,r){var o=n._proxy,i=n._context,a=n._subProxy,s=n._stack;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t),e=e(i,a||r),s.delete(t),C(e)&&(e=ze(o._scopes,o,t,e));return e}(e,s,t,n));j(s)&&s.length&&(s=function(t,e,n,r){var o=n._proxy,i=n._context,a=n._subProxy,s=n._descriptors;if(V(i.index)&&r(t))e=e[i.index%e.length];else if(C(e[0])){var l=e,c=o._scopes.filter((function(t){return t!==l}));e=[];var u,d=Object(h.a)(l);try{for(d.s();!(u=d.n()).done;){var f=ze(c,o,t,u.value);e.push(Ae(f,i,a&&a[t],s))}}catch(p){d.e(p)}finally{d.f()}}return e}(e,s,t,a.isIndexable));Ie(e,s)&&(s=Ae(s,o,i&&i[e],a));return s}(t,e,n)}))},getOwnPropertyDescriptor:function(e,n){return e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n)},getPrototypeOf:function(){return Reflect.getPrototypeOf(t)},has:function(e,n){return Reflect.has(t,n)},ownKeys:function(){return Reflect.ownKeys(t)},set:function(e,n,r){return t[n]=r,delete e[n],!0}})}function Re(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0},n=t._scriptable,r=void 0===n?e.scriptable:n,o=t._indexable,i=void 0===o?e.indexable:o,a=t._allKeys,s=void 0===a?e.allKeys:a;return{allKeys:s,scriptable:r,indexable:i,isScriptable:U(r)?r:function(){return r},isIndexable:U(i)?i:function(){return i}}}var De=function(t,e){return t?t+H(e):e},Ie=function(t,e){return C(e)&&"adapters"!==t};function Ne(t,e,n){var r=t[e];return V(r)||(r=n(),V(r)&&(t[e]=r)),r}function Le(t,e,n){return U(t)?t(e,n):t}var Fe=function(t,e){return!0===t?e:"string"===typeof t?z(e,t):void 0};function Be(t,e,n,r){var o,i=Object(h.a)(e);try{for(i.s();!(o=i.n()).done;){var a=o.value,s=Fe(n,a);if(s){t.add(s);var l=Le(s._fallback,n,s);if(V(l)&&l!==n&&l!==r)return l}else if(!1===s&&V(r)&&n!==r)return null}}catch(c){i.e(c)}finally{i.f()}return!1}function ze(t,e,n,r){var o=e._rootScopes,a=Le(e._fallback,n,r),s=[].concat(Object(i.a)(t),Object(i.a)(o)),l=new Set;l.add(r);var c=He(l,s,n,a||n);return null!==c&&((!V(a)||a===n||null!==(c=He(l,s,a,c)))&&Te(Array.from(l),[""],o,a,(function(){return function(t,e,n){var r=t._getTarget();e in r||(r[e]={});var o=r[e];if(j(o)&&C(n))return n;return o}(e,n,r)})))}function He(t,e,n,r){for(;n;)n=Be(t,e,n,r);return n}function Ve(t,e,n,r){var o,i,a=Object(h.a)(e);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(o=Ue(De(s,t),n),V(o))return Ie(t,o)?ze(n,r,t,o):o}}catch(l){a.e(l)}finally{a.f()}}function Ue(t,e){var n,r=Object(h.a)(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o){var i=o[t];if(V(i))return i}}}catch(a){r.e(a)}finally{r.f()}}function We(t){var e=t._keys;return e||(e=t._keys=function(t){var e,n=new Set,r=Object(h.a)(t);try{for(r.s();!(e=r.n()).done;){var o,i=e.value,a=Object(h.a)(Object.keys(i).filter((function(t){return!t.startsWith("_")})));try{for(a.s();!(o=a.n()).done;){var s=o.value;n.add(s)}}catch(l){a.e(l)}finally{a.f()}}}catch(l){r.e(l)}finally{r.f()}return Array.from(n)}(t._scopes)),e}var qe=Number.EPSILON||1e-14,Ge=function(t,e){return e<t.length&&!t[e].skip&&t[e]},Ye=function(t){return"x"===t?"y":"x"};function Xe(t,e,n,r){var o=t.skip?e:t,i=e,a=n.skip?e:n,s=st(i,o),l=st(a,i),c=s/(s+l),u=l/(s+l),d=r*(c=isNaN(c)?0:c),f=r*(u=isNaN(u)?0:u);return{previous:{x:i.x-d*(a.x-o.x),y:i.y-d*(a.y-o.y)},next:{x:i.x+f*(a.x-o.x),y:i.y+f*(a.y-o.y)}}}function Ke(t,e,n){for(var r,o,i,a,s,l=t.length,c=Ge(t,0),u=0;u<l-1;++u)s=c,c=Ge(t,u+1),s&&c&&(nt(e[u],0,qe)?n[u]=n[u+1]=0:(r=n[u]/e[u],o=n[u+1]/e[u],(a=Math.pow(r,2)+Math.pow(o,2))<=9||(i=3/Math.sqrt(a),n[u]=r*i*e[u],n[u+1]=o*i*e[u])))}function $e(t,e){for(var n,r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x",a=Ye(i),s=t.length,l=Ge(t,0),c=0;c<s;++c)if(r=o,o=l,l=Ge(t,c+1),o){var u=o[i],d=o[a];r&&(n=(u-r[i])/3,o["cp1".concat(i)]=u-n,o["cp1".concat(a)]=d-n*e[c]),l&&(n=(l[i]-u)/3,o["cp2".concat(i)]=u+n,o["cp2".concat(a)]=d+n*e[c])}}function Ze(t,e,n){return Math.max(Math.min(t,n),e)}function Qe(t,e,n,r,o){var i,a,s,l;if(e.spanGaps&&(t=t.filter((function(t){return!t.skip}))),"monotone"===e.cubicInterpolationMode)!function(t){var e,n,r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x",i=Ye(o),a=t.length,s=Array(a).fill(0),l=Array(a),c=Ge(t,0);for(e=0;e<a;++e)if(n=r,r=c,c=Ge(t,e+1),r){if(c){var u=c[o]-r[o];s[e]=0!==u?(c[i]-r[i])/u:0}l[e]=n?c?J(s[e-1])!==J(s[e])?0:(s[e-1]+s[e])/2:s[e-1]:s[e]}Ke(t,s,l),$e(t,l,o)}(t,o);else{var c=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)l=Xe(c,s=t[i],t[Math.min(i+1,a-(r?0:1))%a],e.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,c=s}e.capBezierPoints&&function(t,e){var n,r,o,i,a,s=se(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=s,s=n<r-1&&se(t[n+1],e),i&&(o=t[n],a&&(o.cp1x=Ze(o.cp1x,e.left,e.right),o.cp1y=Ze(o.cp1y,e.top,e.bottom)),s&&(o.cp2x=Ze(o.cp2x,e.left,e.right),o.cp2y=Ze(o.cp2y,e.top,e.bottom)))}(t,n)}function Je(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function tn(t,e,n){var r;return"string"===typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}var en=function(t){return window.getComputedStyle(t,null)};var nn=["top","right","bottom","left"];function rn(t,e,n){var r={};n=n?"-"+n:"";for(var o=0;o<4;o++){var i=nn[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function on(t,e){var n=e.canvas,r=e.currentDevicePixelRatio,o=en(n),i="border-box"===o.boxSizing,a=rn(o,"padding"),s=rn(o,"border","width"),l=function(t,e){var n,r,o=t.native||t,i=o.touches,a=i&&i.length?i[0]:o,s=a.offsetX,l=a.offsetY,c=!1;if(function(t,e,n){return(t>0||e>0)&&(!n||!n.shadowRoot)}(s,l,o.target))n=s,r=l;else{var u=e.getBoundingClientRect();n=a.clientX-u.left,r=a.clientY-u.top,c=!0}return{x:n,y:r,box:c}}(t,n),c=l.x,u=l.y,d=l.box,f=a.left+(d&&s.left),p=a.top+(d&&s.top),h=e.width,v=e.height;return i&&(h-=a.width+s.width,v-=a.height+s.height),{x:Math.round((c-f)/h*n.width/r),y:Math.round((u-p)/v*n.height/r)}}var an=function(t){return Math.round(10*t)/10};function sn(t,e,n,r){var o=en(t),i=rn(o,"margin"),a=tn(o.maxWidth,t,"clientWidth")||Y,s=tn(o.maxHeight,t,"clientHeight")||Y,l=function(t,e,n){var r,o;if(void 0===e||void 0===n){var i=Je(t);if(i){var a=i.getBoundingClientRect(),s=en(i),l=rn(s,"border","width"),c=rn(s,"padding");e=a.width-c.width-l.width,n=a.height-c.height-l.height,r=tn(s.maxWidth,i,"clientWidth"),o=tn(s.maxHeight,i,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||Y,maxHeight:o||Y}}(t,e,n),c=l.width,u=l.height;if("content-box"===o.boxSizing){var d=rn(o,"border","width"),f=rn(o,"padding");c-=f.width+d.width,u-=f.height+d.height}return c=Math.max(0,c-i.width),u=Math.max(0,r?Math.floor(c/r):u-i.height),c=an(Math.min(c,a,l.maxWidth)),u=an(Math.min(u,s,l.maxHeight)),c&&!u&&(u=an(c/2)),{width:c,height:u}}function ln(t,e,n){var r=e||1,o=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=o/r,t.width=i/r;var a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height="".concat(t.height,"px"),a.style.width="".concat(t.width,"px")),(t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0)}var cn=function(){var t=!1;try{var e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(n){}return t}();function un(t,e){var n=function(t,e){return en(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function dn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function fn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function pn(t,e,n,r){var o={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=dn(t,o,n),s=dn(o,i,n),l=dn(i,e,n),c=dn(a,s,n),u=dn(s,l,n);return dn(c,u,n)}var hn=new Map;function vn(t,e,n){return function(t,e){e=e||{};var n=t+JSON.stringify(e),r=hn.get(n);return r||(r=new Intl.NumberFormat(t,e),hn.set(n,r)),r}(e,n).format(t)}function gn(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}}function mn(t,e){var n,r;"ltr"!==e&&"rtl"!==e||(r=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function bn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function yn(t){return"angle"===t?{between:ut,compare:lt,normalize:ct}:{between:function(t,e,n){return t>=Math.min(e,n)&&t<=Math.max(n,e)},compare:function(t,e){return t-e},normalize:function(t){return t}}}function xn(t){var e=t.start,n=t.end,r=t.count;return{start:e%r,end:n%r,loop:t.loop&&(n-e+1)%r===0,style:t.style}}function wn(t,e,n){if(!n)return[t];for(var r,o,i,a=n.property,s=n.start,l=n.end,c=e.length,u=yn(a),d=u.compare,f=u.between,p=u.normalize,h=function(t,e,n){var r,o,i=n.property,a=n.start,s=n.end,l=yn(i),c=l.between,u=l.normalize,d=e.length,f=t.start,p=t.end,h=t.loop;if(h){for(f+=d,p+=d,r=0,o=d;r<o&&c(u(e[f%d][i]),a,s);++r)f--,p--;f%=d,p%=d}return p<f&&(p+=d),{start:f,end:p,loop:h,style:t.style}}(t,e,n),v=h.start,g=h.end,m=h.loop,b=h.style,y=[],x=!1,w=null,O=function(){return x||f(s,i,r)&&0!==d(s,i)},S=function(){return!x||0===d(l,r)||f(l,i,r)},j=v,C=v;j<=g;++j)(o=e[j%c]).skip||(r=p(o[a]))!==i&&(x=f(r,s,l),null===w&&O()&&(w=0===d(r,s)?j:C),null!==w&&S()&&(y.push(xn({start:w,end:j,loop:m,count:c,style:b})),w=null),C=j,i=r);return null!==w&&y.push(xn({start:w,end:g,loop:m,count:c,style:b})),y}function On(t,e){for(var n=[],r=t.segments,o=0;o<r.length;o++){var a=wn(r[o],t.points,e);a.length&&n.push.apply(n,Object(i.a)(a))}return n}function Sn(t,e,n){return n&&n.setContext&&e?function(t,e,n){var r,o=e.length,i=[],a=t[0].start,s=a,l=Object(h.a)(t);try{for(l.s();!(r=l.n()).done;){var c=r.value,u=void 0,d=void 0,f=e[a%o];for(s=a+1;s<=c.end;s++){var p=e[s%o];Cn(d=jn(n.setContext({type:"segment",p0:f,p1:p})),u)&&(i.push({start:a,end:s-1,loop:c.loop,style:u}),u=d,a=s-1),f=p,u=d}a<s-1&&(i.push({start:a,end:s-1,loop:c.loop,style:d}),a=s-1)}}catch(v){l.e(v)}finally{l.f()}return i}(t,e,n):t}function jn(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function Cn(t,e){return e&&JSON.stringify(t)!==JSON.stringify(e)}var kn=function(){function t(){Object(v.a)(this,t),this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}return Object(g.a)(t,[{key:"_notify",value:function(t,e,n,r){var o=e.listeners[r],i=e.duration;o.forEach((function(r){return r({chart:t,initial:e.initial,numSteps:i,currentStep:Math.min(n-e.start,i)})}))}},{key:"_refresh",value:function(){var t=this;t._request||(t._running=!0,t._request=m.call(window,(function(){t._update(),t._request=null,t._running&&t._refresh()})))}},{key:"_update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),e=this,n=0;e._charts.forEach((function(r,o){if(r.running&&r.items.length){for(var i,a=r.items,s=a.length-1,l=!1;s>=0;--s)(i=a[s])._active?(i._total>r.duration&&(r.duration=i._total),i.tick(t),l=!0):(a[s]=a[a.length-1],a.pop());l&&(o.draw(),e._notify(o,r,t,"progress")),a.length||(r.running=!1,e._notify(o,r,t,"complete"),r.initial=!1),n+=a.length}})),e._lastDate=t,0===n&&(e._running=!1)}},{key:"_getAnims",value:function(t){var e=this._charts,n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}},{key:"listen",value:function(t,e,n){this._getAnims(t).listeners[e].push(n)}},{key:"add",value:function(t,e){var n;e&&e.length&&(n=this._getAnims(t).items).push.apply(n,Object(i.a)(e))}},{key:"has",value:function(t){return this._getAnims(t).items.length>0}},{key:"start",value:function(t){var e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((function(t,e){return Math.max(t,e._duration)}),0),this._refresh())}},{key:"running",value:function(t){if(!this._running)return!1;var e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}},{key:"stop",value:function(t){var e=this._charts.get(t);if(e&&e.items.length){for(var n=e.items,r=n.length-1;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}}},{key:"remove",value:function(t){return this._charts.delete(t)}}]),t}(),En=new kn,Pn="transparent",_n={boolean:function(t,e,n){return n>.5?e:t},color:function(t,e,n){var r=Kt(t||Pn),o=r.valid&&Kt(e||Pn);return o&&o.valid?o.mix(r,n).hexString():e},number:function(t,e,n){return t+(e-t)*n}},Mn=function(){function t(e,n,r,o){Object(v.a)(this,t);var i=n[r];o=je([e.to,o,i,e.from]);var a=je([e.from,i,o]);this._active=!0,this._fn=e.fn||_n[e.type||typeof a],this._easing=vt[e.easing]||vt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=r,this._from=a,this._to=o,this._promises=void 0}return Object(g.a)(t,[{key:"active",value:function(){return this._active}},{key:"update",value:function(t,e,n){var r=this;if(r._active){r._notify(!1);var o=r._target[r._prop],i=n-r._start,a=r._duration-i;r._start=n,r._duration=Math.floor(Math.max(a,t.duration)),r._total+=i,r._loop=!!t.loop,r._to=je([t.to,e,o,t.from]),r._from=je([t.from,o,e])}}},{key:"cancel",value:function(){var t=this;t._active&&(t.tick(Date.now()),t._active=!1,t._notify(!1))}},{key:"tick",value:function(t){var e,n=this,r=t-n._start,o=n._duration,i=n._prop,a=n._from,s=n._loop,l=n._to;if(n._active=a!==l&&(s||r<o),!n._active)return n._target[i]=l,void n._notify(!0);r<0?n._target[i]=a:(e=r/o%2,e=s&&e>1?2-e:e,e=n._easing(Math.min(1,Math.max(0,e))),n._target[i]=n._fn(a,l,e))}},{key:"wait",value:function(){var t=this._promises||(this._promises=[]);return new Promise((function(e,n){t.push({res:e,rej:n})}))}},{key:"_notify",value:function(t){for(var e=t?"res":"rej",n=this._promises||[],r=0;r<n.length;r++)n[r][e]()}}]),t}();ee.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0});var Tn=Object.keys(ee.animation);ee.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:function(t){return"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}}),ee.set("animations",{colors:{type:"color",properties:["color","borderColor","backgroundColor"]},numbers:{type:"number",properties:["x","y","borderWidth","radius","tension"]}}),ee.describe("animations",{_fallback:"animation"}),ee.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:function(t){return 0|t}}}}});var An=function(){function t(e,n){Object(v.a)(this,t),this._chart=e,this._properties=new Map,this.configure(n)}return Object(g.a)(t,[{key:"configure",value:function(t){if(C(t)){var e=this._properties;Object.getOwnPropertyNames(t).forEach((function(n){var r=t[n];if(C(r)){var o,i={},a=Object(h.a)(Tn);try{for(a.s();!(o=a.n()).done;){var s=o.value;i[s]=r[s]}}catch(l){a.e(l)}finally{a.f()}(j(r.properties)&&r.properties||[n]).forEach((function(t){t!==n&&e.has(t)||e.set(t,i)}))}}))}}},{key:"_animateOptions",value:function(t,e){var n=e.options,r=function(t,e){if(!e)return;var n=t.options;if(!n)return void(t.options=e);n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(t,n);if(!r)return[];var o=this._createAnimations(r,n);return n.$shared&&function(t,e){for(var n=[],r=Object.keys(e),o=0;o<r.length;o++){var i=t[r[o]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}(t.options.$animations,n).then((function(){t.options=n}),(function(){})),o}},{key:"_createAnimations",value:function(t,e){var n,r=this._properties,o=[],a=t.$animations||(t.$animations={}),s=Object.keys(e),l=Date.now();for(n=s.length-1;n>=0;--n){var c=s[n];if("$"!==c.charAt(0))if("options"!==c){var u=e[c],d=a[c],f=r.get(c);if(d){if(f&&d.active()){d.update(f,u,l);continue}d.cancel()}f&&f.duration?(a[c]=d=new Mn(f,t,c,u),o.push(d)):t[c]=u}else o.push.apply(o,Object(i.a)(this._animateOptions(t,e)))}return o}},{key:"update",value:function(t,e){if(0!==this._properties.size){var n=this._createAnimations(t,e);return n.length?(En.add(this._chart,n),!0):void 0}Object.assign(t,e)}}]),t}();function Rn(t,e){var n=t&&t.options||{},r=n.reverse,o=void 0===n.min?e:0,i=void 0===n.max?e:0;return{start:r?i:o,end:r?o:i}}function Dn(t,e){var n,r,o=[],i=t._getSortedDatasetMetas(e);for(n=0,r=i.length;n<r;++n)o.push(i[n].index);return o}function In(t,e,n,r){var o,i,a,s,l=t.keys,c="single"===r.mode;if(null!==e){for(o=0,i=l.length;o<i;++o){if((a=+l[o])===n){if(r.all)continue;break}s=t.values[a],k(s)&&(c||0===e||J(e)===J(s))&&(e+=s)}return e}}function Nn(t,e){var n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function Ln(t,e,n){var r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Fn(t,e,n){var r,o=Object(h.a)(e.getMatchingVisibleMetas("bar").reverse());try{for(o.s();!(r=o.n()).done;){var i=r.value,a=t[i.index];if(n&&a>0||!n&&a<0)return i.index}}catch(s){o.e(s)}finally{o.f()}return null}function Bn(t,e){for(var n,r=t.chart,o=t._cachedMeta,i=r._stacks||(r._stacks={}),a=o.iScale,s=o.vScale,l=o.index,c=a.axis,u=s.axis,d=function(t,e,n){return"".concat(t.id,".").concat(e.id,".").concat(n.stack||n.type)}(a,s,o),f=e.length,p=0;p<f;++p){var h=e[p],v=h[c],g=h[u];(n=(h._stacks||(h._stacks={}))[u]=Ln(i,d,v))[l]=g,n._top=Fn(n,s,!0),n._bottom=Fn(n,s,!1)}}function zn(t,e){var n=t.scales;return Object.keys(n).filter((function(t){return n[t].axis===e})).shift()}function Hn(t,e){var n=t.vScale&&t.vScale.axis;if(n){e=e||t._parsed;var r,o=Object(h.a)(e);try{for(o.s();!(r=o.n()).done;){var i=r.value._stacks;if(!i||void 0===i[n]||void 0===i[n][t.index])return;delete i[n][t.index]}}catch(a){o.e(a)}finally{o.f()}}}var Vn=function(t){return"reset"===t||"none"===t},Un=function(t,e){return e?t:Object.assign({},t)},Wn=function(){function t(e,n){Object(v.a)(this,t),this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.$context=void 0,this._syncList=[],this.initialize()}return Object(g.a)(t,[{key:"initialize",value:function(){var t=this,e=t._cachedMeta;t.configure(),t.linkScales(),e._stacked=Nn(e.vScale,e),t.addElements()}},{key:"updateIndex",value:function(t){this.index!==t&&Hn(this._cachedMeta),this.index=t}},{key:"linkScales",value:function(){var t=this,e=t.chart,n=t._cachedMeta,r=t.getDataset(),o=function(t,e,n,r){return"x"===t?e:"r"===t?r:n},i=n.xAxisID=P(r.xAxisID,zn(e,"x")),a=n.yAxisID=P(r.yAxisID,zn(e,"y")),s=n.rAxisID=P(r.rAxisID,zn(e,"r")),l=n.indexAxis,c=n.iAxisID=o(l,i,a,s),u=n.vAxisID=o(l,a,i,s);n.xScale=t.getScaleForId(i),n.yScale=t.getScaleForId(a),n.rScale=t.getScaleForId(s),n.iScale=t.getScaleForId(c),n.vScale=t.getScaleForId(u)}},{key:"getDataset",value:function(){return this.chart.data.datasets[this.index]}},{key:"getMeta",value:function(){return this.chart.getDatasetMeta(this.index)}},{key:"getScaleForId",value:function(t){return this.chart.scales[t]}},{key:"_getOtherScale",value:function(t){var e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}},{key:"reset",value:function(){this._update("reset")}},{key:"_destroy",value:function(){var t=this._cachedMeta;this._data&&_e(this._data,this),t._stacked&&Hn(t)}},{key:"_dataCheck",value:function(){var t,e,n=this,r=n.getDataset(),o=r.data||(r.data=[]),i=n._data;if(C(o))n._data=function(t){var e,n,r,o=Object.keys(t),i=new Array(o.length);for(e=0,n=o.length;e<n;++e)r=o[e],i[e]={x:r,y:t[r]};return i}(o);else if(i!==o){if(i){_e(i,n);var a=n._cachedMeta;Hn(a),a._parsed=[]}o&&Object.isExtensible(o)&&(e=n,(t=o)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Pe.forEach((function(e){var n="_onData"+H(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a=r.apply(this,o);return t._chartjs.listeners.forEach((function(t){"function"===typeof t[n]&&t[n].apply(t,o)})),a}})})))),n._syncList=[],n._data=o}}},{key:"addElements",value:function(){var t=this,e=t._cachedMeta;t._dataCheck(),t.datasetElementType&&(e.dataset=new t.datasetElementType)}},{key:"buildOrUpdateElements",value:function(t){var e=this,n=e._cachedMeta,r=e.getDataset(),o=!1;e._dataCheck();var i=n._stacked;n._stacked=Nn(n.vScale,n),n.stack!==r.stack&&(o=!0,Hn(n),n.stack=r.stack),e._resyncElements(t),(o||i!==n._stacked)&&Bn(e,n._parsed)}},{key:"configure",value:function(){var t=this,e=t.chart.config,n=e.datasetScopeKeys(t._type),r=e.getOptionScopes(t.getDataset(),n,!0);t.options=e.createResolver(r,t.getContext()),t._parsing=t.options.parsing}},{key:"parse",value:function(t,e){var n,r,o,i=this,a=i._cachedMeta,s=i._data,l=a.iScale,c=a._stacked,u=l.axis,d=0===t&&e===s.length||a._sorted,f=t>0&&a._parsed[t-1];if(!1===i._parsing)a._parsed=s,a._sorted=!0,o=s;else{o=j(s[t])?i.parseArrayData(a,s,t,e):C(s[t])?i.parseObjectData(a,s,t,e):i.parsePrimitiveData(a,s,t,e);for(n=0;n<e;++n)a._parsed[n+t]=r=o[n],d&&((null===r[u]||f&&r[u]<f[u])&&(d=!1),f=r);a._sorted=d}c&&Bn(i,o)}},{key:"parsePrimitiveData",value:function(t,e,n,r){var o,i,a,s=t.iScale,l=t.vScale,c=s.axis,u=l.axis,d=s.getLabels(),f=s===l,h=new Array(r);for(o=0,i=r;o<i;++o){var v;a=o+n,h[o]=(v={},Object(p.a)(v,c,f||s.parse(d[a],a)),Object(p.a)(v,u,l.parse(e[a],a)),v)}return h}},{key:"parseArrayData",value:function(t,e,n,r){var o,i,a,s,l=t.xScale,c=t.yScale,u=new Array(r);for(o=0,i=r;o<i;++o)s=e[a=o+n],u[o]={x:l.parse(s[0],a),y:c.parse(s[1],a)};return u}},{key:"parseObjectData",value:function(t,e,n,r){var o,i,a,s,l=t.xScale,c=t.yScale,u=this._parsing,d=u.xAxisKey,f=void 0===d?"x":d,p=u.yAxisKey,h=void 0===p?"y":p,v=new Array(r);for(o=0,i=r;o<i;++o)s=e[a=o+n],v[o]={x:l.parse(z(s,f),a),y:c.parse(z(s,h),a)};return v}},{key:"getParsed",value:function(t){return this._cachedMeta._parsed[t]}},{key:"getDataElement",value:function(t){return this._cachedMeta.data[t]}},{key:"applyStack",value:function(t,e,n){var r=this.chart,o=this._cachedMeta,i=e[t.axis];return In({keys:Dn(r,!0),values:e._stacks[t.axis]},i,o.index,{mode:n})}},{key:"updateRangeFromParsed",value:function(t,e,n,r){var o=n[e.axis],i=null===o?NaN:o,a=r&&n._stacks[e.axis];r&&a&&(r.values=a,t.min=Math.min(t.min,i),t.max=Math.max(t.max,i),i=In(r,o,this._cachedMeta.index,{all:!0})),t.min=Math.min(t.min,i),t.max=Math.max(t.max,i)}},{key:"getMinMax",value:function(t,e){var n,r,o,i,a=this,s=a._cachedMeta,l=s._parsed,c=s._sorted&&t===s.iScale,u=l.length,d=a._getOtherScale(t),f=e&&s._stacked&&{keys:Dn(a.chart,!0),values:null},p={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},h=function(t){var e=t.getUserBounds(),n=e.min,r=e.max,o=e.minDefined,i=e.maxDefined;return{min:o?n:Number.NEGATIVE_INFINITY,max:i?r:Number.POSITIVE_INFINITY}}(d),v=h.min,g=h.max;function m(){return o=l[n],r=o[t.axis],i=o[d.axis],!k(r)||v>i||g<i}for(n=0;n<u&&(m()||(a.updateRangeFromParsed(p,t,o,f),!c));++n);if(c)for(n=u-1;n>=0;--n)if(!m()){a.updateRangeFromParsed(p,t,o,f);break}return p}},{key:"getAllParsedValues",value:function(t){var e,n,r,o=this._cachedMeta._parsed,i=[];for(e=0,n=o.length;e<n;++e)r=o[e][t.axis],k(r)&&i.push(r);return i}},{key:"getMaxOverflow",value:function(){return!1}},{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=e.iScale,r=e.vScale,o=this.getParsed(t);return{label:n?""+n.getLabelForValue(o[n.axis]):"",value:r?""+r.getLabelForValue(o[r.axis]):""}}},{key:"_update",value:function(t){var e=this,n=e._cachedMeta;e.configure(),e._cachedDataOpts={},e.update(t||"default"),n._clip=function(t){var e,n,r,o;return C(t)?(e=t.top,n=t.right,r=t.bottom,o=t.left):e=n=r=o=t,{top:e,right:n,bottom:r,left:o,disabled:!1===t}}(P(e.options.clip,function(t,e,n){if(!1===n)return!1;var r=Rn(t,n),o=Rn(e,n);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}(n.xScale,n.yScale,e.getMaxOverflow())))}},{key:"update",value:function(t){}},{key:"draw",value:function(){var t,e=this,n=e._ctx,r=e.chart,o=e._cachedMeta,i=o.data||[],a=r.chartArea,s=[],l=e._drawStart||0,c=e._drawCount||i.length-l;for(o.dataset&&o.dataset.draw(n,a,l,c),t=l;t<l+c;++t){var u=i[t];u.active?s.push(u):u.draw(n,a)}for(t=0;t<s.length;++t)s[t].draw(n,a)}},{key:"getStyle",value:function(t,e){var n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}},{key:"getContext",value:function(t,e,n){var r,o=this,i=o.getDataset();if(t>=0&&t<o._cachedMeta.data.length){var a=o._cachedMeta.data[t];r=a.$context||(a.$context=function(t,e,n){return Object.assign(Object.create(t),{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}(o.getContext(),t,a)),r.parsed=o.getParsed(t),r.raw=i.data[t],r.index=r.dataIndex=t}else r=o.$context||(o.$context=function(t,e){return Object.assign(Object.create(t),{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(o.chart.getContext(),o.index)),r.dataset=i,r.index=r.datasetIndex=o.index;return r.active=!!e,r.mode=n,r}},{key:"resolveDatasetElementOptions",value:function(t){return this._resolveElementOptions(this.datasetElementType.id,t)}},{key:"resolveDataElementOptions",value:function(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}},{key:"_resolveElementOptions",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2?arguments[2]:void 0,r=this,o="active"===e,i=r._cachedDataOpts,a=t+"-"+e,s=i[a],l=r.enableOptionSharing&&V(n);if(s)return Un(s,l);var c=r.chart.config,u=c.datasetElementScopeKeys(r._type,t),d=o?["".concat(t,"Hover"),"hover",t,""]:[t,""],f=c.getOptionScopes(r.getDataset(),u),p=Object.keys(ee.elements[t]),h=function(){return r.getContext(n,o)},v=c.resolveNamedOptions(f,p,h,d);return v.$shared&&(v.$shared=l,i[a]=Object.freeze(Un(v,l))),v}},{key:"_resolveAnimations",value:function(t,e,n){var r,o=this,i=o.chart,a=o._cachedDataOpts,s="animation-".concat(e),l=a[s];if(l)return l;if(!1!==i.options.animation){var c=o.chart.config,u=c.datasetAnimationScopeKeys(o._type,e),d=c.getOptionScopes(o.getDataset(),u);r=c.createResolver(d,o.getContext(t,n,e))}var f=new An(i,r&&r.animations);return r&&r._cacheable&&(a[s]=Object.freeze(f)),f}},{key:"getSharedOptions",value:function(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}},{key:"includeOptions",value:function(t,e){return!e||Vn(t)||this.chart._animationsDisabled}},{key:"updateElement",value:function(t,e,n,r){Vn(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}},{key:"updateSharedOptions",value:function(t,e,n){t&&!Vn(e)&&this._resolveAnimations(void 0,e).update(t,n)}},{key:"_setStyle",value:function(t,e,n,r){t.active=r;var o=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(o)||o})}},{key:"removeHoverStyle",value:function(t,e,n){this._setStyle(t,n,"active",!1)}},{key:"setHoverStyle",value:function(t,e,n){this._setStyle(t,n,"active",!0)}},{key:"_removeDatasetHoverStyle",value:function(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}},{key:"_setDatasetHoverStyle",value:function(){var t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}},{key:"_resyncElements",value:function(t){var e,n=this,r=n._data,o=n._cachedMeta.data,i=Object(h.a)(n._syncList);try{for(i.s();!(e=i.n()).done;){var a=Object(f.a)(e.value,3),s=a[0],l=a[1],c=a[2];n[s](l,c)}}catch(v){i.e(v)}finally{i.f()}n._syncList=[];var u=o.length,d=r.length,p=Math.min(d,u);p&&n.parse(0,p),d>u?n._insertElements(u,d-u,t):d<u&&n._removeElements(d,u-d)}},{key:"_insertElements",value:function(t,e){var n,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this,i=o._cachedMeta,a=i.data,s=t+e,l=function(t){for(t.length+=e,n=t.length-1;n>=s;n--)t[n]=t[n-e]};for(l(a),n=t;n<s;++n)a[n]=new o.dataElementType;o._parsing&&l(i._parsed),o.parse(t,e),r&&o.updateElements(a,t,e,"reset")}},{key:"updateElements",value:function(t,e,n,r){}},{key:"_removeElements",value:function(t,e){var n=this._cachedMeta;if(this._parsing){var r=n._parsed.splice(t,e);n._stacked&&Hn(n,r)}n.data.splice(t,e)}},{key:"_onDataPush",value:function(){var t=arguments.length;this._syncList.push(["_insertElements",this.getDataset().data.length-t,t])}},{key:"_onDataPop",value:function(){this._syncList.push(["_removeElements",this._cachedMeta.data.length-1,1])}},{key:"_onDataShift",value:function(){this._syncList.push(["_removeElements",0,1])}},{key:"_onDataSplice",value:function(t,e){this._syncList.push(["_removeElements",t,e]),this._syncList.push(["_insertElements",t,arguments.length-2])}},{key:"_onDataUnshift",value:function(){this._syncList.push(["_insertElements",0,arguments.length])}}]),t}();function qn(t){var e,n,r,o,i=function(t){if(!t._cache.$bar){for(var e=t.getMatchingVisibleMetas("bar"),n=[],r=0,o=e.length;r<o;r++)n=n.concat(e[r].controller.getAllParsedValues(t));t._cache.$bar=Me(n.sort((function(t,e){return t-e})))}return t._cache.$bar}(t),a=t._length,s=function(){32767!==r&&-32768!==r&&(V(o)&&(a=Math.min(a,Math.abs(r-o)||a)),o=r)};for(e=0,n=i.length;e<n;++e)r=t.getPixelForValue(i[e]),s();for(o=void 0,e=0,n=t.ticks.length;e<n;++e)r=t.getPixelForTick(e),s();return a}function Gn(t,e,n,r){return j(t)?function(t,e,n,r){var o=n.parse(t[0],r),i=n.parse(t[1],r),a=Math.min(o,i),s=Math.max(o,i),l=a,c=s;Math.abs(a)>Math.abs(s)&&(l=s,c=a),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:o,end:i,min:a,max:s}}(t,e,n,r):e[n.axis]=n.parse(t,r),e}function Yn(t,e,n,r){var o,i,a,s,l=t.iScale,c=t.vScale,u=l.getLabels(),d=l===c,f=[];for(o=n,i=n+r;o<i;++o)s=e[o],(a={})[l.axis]=d||l.parse(u[o],o),f.push(Gn(s,a,c,o));return f}function Xn(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}Wn.defaults={},Wn.prototype.datasetElementType=null,Wn.prototype.dataElementType=null;var Kn=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n,[{key:"parsePrimitiveData",value:function(t,e,n,r){return Yn(t,e,n,r)}},{key:"parseArrayData",value:function(t,e,n,r){return Yn(t,e,n,r)}},{key:"parseObjectData",value:function(t,e,n,r){var o,i,a,s,l=t.iScale,c=t.vScale,u=this._parsing,d=u.xAxisKey,f=void 0===d?"x":d,p=u.yAxisKey,h=void 0===p?"y":p,v="x"===l.axis?f:h,g="x"===c.axis?f:h,m=[];for(o=n,i=n+r;o<i;++o)s=e[o],(a={})[l.axis]=l.parse(z(s,v),o),m.push(Gn(z(s,g),a,c,o));return m}},{key:"updateRangeFromParsed",value:function(t,e,r,o){Object(l.a)(Object(c.a)(n.prototype),"updateRangeFromParsed",this).call(this,t,e,r,o);var i=r._custom;i&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,i.min),t.max=Math.max(t.max,i.max))}},{key:"getMaxOverflow",value:function(){return 0}},{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=e.iScale,r=e.vScale,o=this.getParsed(t),i=o._custom,a=Xn(i)?"["+i.start+", "+i.end+"]":""+r.getLabelForValue(o[r.axis]);return{label:""+n.getLabelForValue(o[n.axis]),value:a}}},{key:"initialize",value:function(){var t=this;t.enableOptionSharing=!0,Object(l.a)(Object(c.a)(n.prototype),"initialize",this).call(this),t._cachedMeta.stack=t.getDataset().stack}},{key:"update",value:function(t){var e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}},{key:"updateElements",value:function(t,e,n,r){var o=this,i="reset"===r,a=o._cachedMeta.vScale,s=a.getBasePixel(),l=a.isHorizontal(),c=o._getRuler(),u=o.resolveDataElementOptions(e,r),d=o.getSharedOptions(u),f=o.includeOptions(r,d);o.updateSharedOptions(d,r,u);for(var p=e;p<e+n;p++){var h=o.getParsed(p),v=i||S(h[a.axis])?{base:s,head:s}:o._calculateBarValuePixels(p),g=o._calculateBarIndexPixels(p,c),m=(h._stacks||{})[a.axis],b={horizontal:l,base:v.base,enableBorderRadius:!m||Xn(h._custom)||o.index===m._top||o.index===m._bottom,x:l?v.head:g.center,y:l?g.center:v.head,height:l?g.size:Math.abs(v.size),width:l?Math.abs(v.size):g.size};f&&(b.options=d||o.resolveDataElementOptions(p,t[p].active?"active":r)),o.updateElement(t[p],p,b,r)}}},{key:"_getStacks",value:function(t,e){var n,r,o=this._cachedMeta.iScale,i=o.getMatchingVisibleMetas(this._type),a=o.options.stacked,s=i.length,l=[];for(n=0;n<s;++n)if((r=i[n]).controller.options.grouped){if("undefined"!==typeof e){var c=r.controller.getParsed(e)[r.controller._cachedMeta.vScale.axis];if(S(c)||isNaN(c))continue}if((!1===a||-1===l.indexOf(r.stack)||void 0===a&&void 0===r.stack)&&l.push(r.stack),r.index===t)break}return l.length||l.push(void 0),l}},{key:"_getStackCount",value:function(t){return this._getStacks(void 0,t).length}},{key:"_getStackIndex",value:function(t,e,n){var r=this._getStacks(t,n),o=void 0!==e?r.indexOf(e):-1;return-1===o?r.length-1:o}},{key:"_getRuler",value:function(){var t,e,n=this,r=n.options,o=n._cachedMeta,i=o.iScale,a=[];for(t=0,e=o.data.length;t<e;++t)a.push(i.getPixelForValue(n.getParsed(t)[i.axis],t));var s=r.barThickness;return{min:s||qn(i),pixels:a,start:i._startPixel,end:i._endPixel,stackCount:n._getStackCount(),scale:i,grouped:r.grouped,ratio:s?1:r.categoryPercentage*r.barPercentage}}},{key:"_calculateBarValuePixels",value:function(t){var e,n,r=this,o=r._cachedMeta,i=o.vScale,a=o._stacked,s=r.options,l=s.base,c=s.minBarLength,u=r.getParsed(t),d=u._custom,f=Xn(d),p=u[i.axis],h=0,v=a?r.applyStack(i,u,a):p;v!==p&&(h=v-p,v=p),f&&(p=d.barStart,v=d.barEnd-d.barStart,0!==p&&J(p)!==J(d.barEnd)&&(h=0),h+=p);var g=S(l)||f?h:l,m=i.getPixelForValue(g);n=(e=this.chart.getDataVisibility(t)?i.getPixelForValue(h+v):m)-m,void 0!==c&&Math.abs(n)<c&&(n=n<0?-c:c,0===p&&(m-=n/2),e=m+n);var b=l||0;if(m===i.getPixelForValue(b)){var y=i.getLineWidthForValue(b)/2;n>0?(m+=y,n-=y):n<0&&(m-=y,n+=y)}return{size:n,base:m,head:e,center:e+n/2}}},{key:"_calculateBarIndexPixels",value:function(t,e){var n,r,o=this,i=e.scale,a=o.options,s=a.skipNull,l=P(a.maxBarThickness,1/0);if(e.grouped){var c=s?o._getStackCount(t):e.stackCount,u="flex"===a.barThickness?function(t,e,n,r){var o=e.pixels,i=o[t],a=t>0?o[t-1]:null,s=t<o.length-1?o[t+1]:null,l=n.categoryPercentage;null===a&&(a=i-(null===s?e.end-e.start:s-i)),null===s&&(s=i+i-a);var c=i-(i-Math.min(a,s))/2*l;return{chunk:Math.abs(s-a)/2*l/r,ratio:n.barPercentage,start:c}}(t,e,a,c):function(t,e,n,r){var o,i,a=n.barThickness;return S(a)?(o=e.min*n.categoryPercentage,i=n.barPercentage):(o=a*r,i=1),{chunk:o/r,ratio:i,start:e.pixels[t]-o/2}}(t,e,a,c),d=o._getStackIndex(o.index,o._cachedMeta.stack,s?t:void 0);n=u.start+u.chunk*d+u.chunk/2,r=Math.min(l,u.chunk*u.ratio)}else n=i.getPixelForValue(o.getParsed(t)[i.axis],t),r=Math.min(l,e.min*e.ratio);return{base:n-r/2,head:n+r/2,center:n,size:r}}},{key:"draw",value:function(){for(var t=this,e=t._cachedMeta,n=e.vScale,r=e.data,o=r.length,i=0;i<o;++i)null!==t.getParsed(i)[n.axis]&&r[i].draw(t._ctx)}}]),n}(Wn);Kn.id="bar",Kn.defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}},Kn.overrides={interaction:{mode:"index"},scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};var $n=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n,[{key:"initialize",value:function(){this.enableOptionSharing=!0,Object(l.a)(Object(c.a)(n.prototype),"initialize",this).call(this)}},{key:"parseObjectData",value:function(t,e,n,r){var o,i,a,s=t.xScale,l=t.yScale,c=this._parsing,u=c.xAxisKey,d=void 0===u?"x":u,f=c.yAxisKey,p=void 0===f?"y":f,h=[];for(o=n,i=n+r;o<i;++o)a=e[o],h.push({x:s.parse(z(a,d),o),y:l.parse(z(a,p),o),_custom:a&&a.r&&+a.r});return h}},{key:"getMaxOverflow",value:function(){for(var t=this._cachedMeta,e=t.data,n=t._parsed,r=0,o=e.length-1;o>=0;--o)r=Math.max(r,e[o].size()/2,n[o]._custom);return r>0&&r}},{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=e.xScale,r=e.yScale,o=this.getParsed(t),i=n.getLabelForValue(o.x),a=r.getLabelForValue(o.y),s=o._custom;return{label:e.label,value:"("+i+", "+a+(s?", "+s:"")+")"}}},{key:"update",value:function(t){var e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}},{key:"updateElements",value:function(t,e,n,r){for(var o=this,i="reset"===r,a=o._cachedMeta,s=a.iScale,l=a.vScale,c=o.resolveDataElementOptions(e,r),u=o.getSharedOptions(c),d=o.includeOptions(r,u),f=s.axis,p=l.axis,h=e;h<e+n;h++){var v=t[h],g=!i&&o.getParsed(h),m={},b=m[f]=i?s.getPixelForDecimal(.5):s.getPixelForValue(g[f]),y=m[p]=i?l.getBasePixel():l.getPixelForValue(g[p]);m.skip=isNaN(b)||isNaN(y),d&&(m.options=o.resolveDataElementOptions(h,v.active?"active":r),i&&(m.options.radius=0)),o.updateElement(v,h,m,r)}o.updateSharedOptions(u,r,c)}},{key:"resolveDataElementOptions",value:function(t,e){var r=this.getParsed(t),o=Object(l.a)(Object(c.a)(n.prototype),"resolveDataElementOptions",this).call(this,t,e);o.$shared&&(o=Object.assign({},o,{$shared:!1}));var i=o.radius;return"active"!==e&&(o.radius=0),o.radius+=P(r&&r._custom,i),o}}]),n}(Wn);$n.id="bubble",$n.defaults={datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}},$n.overrides={scales:{x:{type:"linear"},y:{type:"linear"}},plugins:{tooltip:{callbacks:{title:function(){return""}}}}};var Zn=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t,r){var o;return Object(v.a)(this,n),(o=e.call(this,t,r)).enableOptionSharing=!0,o.innerRadius=void 0,o.outerRadius=void 0,o.offsetX=void 0,o.offsetY=void 0,o}return Object(g.a)(n,[{key:"linkScales",value:function(){}},{key:"parse",value:function(t,e){var n,r,o=this.getDataset().data,i=this._cachedMeta;for(n=t,r=t+e;n<r;++n)i._parsed[n]=+o[n]}},{key:"_getRotation",value:function(){return ot(this.options.rotation-90)}},{key:"_getCircumference",value:function(){return ot(this.options.circumference)}},{key:"_getRotationExtents",value:function(){for(var t=q,e=-q,n=this,r=0;r<n.chart.data.datasets.length;++r)if(n.chart.isDatasetVisible(r)){var o=n.chart.getDatasetMeta(r).controller,i=o._getRotation(),a=o._getCircumference();t=Math.min(t,i),e=Math.max(e,i+a)}return{rotation:t,circumference:e-t}}},{key:"update",value:function(t){var e,n,r=this,o=r.chart.chartArea,i=r._cachedMeta,a=i.data,s=r.getMaxBorderWidth()+r.getMaxOffset(a)+r.options.spacing,l=Math.max((Math.min(o.width,o.height)-s)/2,0),c=Math.min((e=r.options.cutout,n=l,"string"===typeof e&&e.endsWith("%")?parseFloat(e)/100:e/n),1),u=r._getRingWeight(r.index),d=r._getRotationExtents(),f=d.circumference,p=function(t,e,n){var r=1,o=1,i=0,a=0;if(e<q){var s=t,l=s+e,c=Math.cos(s),u=Math.sin(s),d=Math.cos(l),f=Math.sin(l),p=function(t,e,r){return ut(t,s,l,!0)?1:Math.max(e,e*n,r,r*n)},h=function(t,e,r){return ut(t,s,l,!0)?-1:Math.min(e,e*n,r,r*n)},v=p(0,c,d),g=p(K,u,f),m=h(W,c,d),b=h(W+K,u,f);r=(v-m)/2,o=(g-b)/2,i=-(v+m)/2,a=-(g+b)/2}return{ratioX:r,ratioY:o,offsetX:i,offsetY:a}}(d.rotation,f,c),h=p.ratioX,v=p.ratioY,g=p.offsetX,m=p.offsetY,b=(o.width-s)/h,y=(o.height-s)/v,x=Math.max(Math.min(b,y)/2,0),w=_(r.options.radius,x),O=(w-Math.max(w*c,0))/r._getVisibleDatasetWeightTotal();r.offsetX=g*w,r.offsetY=m*w,i.total=r.calculateTotal(),r.outerRadius=w-O*r._getRingWeightOffset(r.index),r.innerRadius=Math.max(r.outerRadius-O*u,0),r.updateElements(a,0,a.length,t)}},{key:"_circumference",value:function(t,e){var n=this,r=n.options,o=n._cachedMeta,i=n._getCircumference();return e&&r.animation.animateRotate||!this.chart.getDataVisibility(t)||null===o._parsed[t]?0:n.calculateCircumference(o._parsed[t]*i/q)}},{key:"updateElements",value:function(t,e,n,r){var o,i=this,a="reset"===r,s=i.chart,l=s.chartArea,c=s.options.animation,u=(l.left+l.right)/2,d=(l.top+l.bottom)/2,f=a&&c.animateScale,p=f?0:i.innerRadius,h=f?0:i.outerRadius,v=i.resolveDataElementOptions(e,r),g=i.getSharedOptions(v),m=i.includeOptions(r,g),b=i._getRotation();for(o=0;o<e;++o)b+=i._circumference(o,a);for(o=e;o<e+n;++o){var y=i._circumference(o,a),x=t[o],w={x:u+i.offsetX,y:d+i.offsetY,startAngle:b,endAngle:b+y,circumference:y,outerRadius:h,innerRadius:p};m&&(w.options=g||i.resolveDataElementOptions(o,x.active?"active":r)),b+=y,i.updateElement(x,o,w,r)}i.updateSharedOptions(g,r,v)}},{key:"calculateTotal",value:function(){var t,e=this._cachedMeta,n=e.data,r=0;for(t=0;t<n.length;t++){var o=e._parsed[t];null!==o&&!isNaN(o)&&this.chart.getDataVisibility(t)&&(r+=Math.abs(o))}return r}},{key:"calculateCircumference",value:function(t){var e=this._cachedMeta.total;return e>0&&!isNaN(t)?q*(Math.abs(t)/e):0}},{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=this.chart,r=n.data.labels||[],o=vn(e._parsed[t],n.options.locale);return{label:r[t]||"",value:o}}},{key:"getMaxBorderWidth",value:function(t){var e,n,r,o,i,a=0,s=this.chart;if(!t)for(e=0,n=s.data.datasets.length;e<n;++e)if(s.isDatasetVisible(e)){t=(r=s.getDatasetMeta(e)).data,(o=r.controller)!==this&&o.configure();break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)"inner"!==(i=o.resolveDataElementOptions(e)).borderAlign&&(a=Math.max(a,i.borderWidth||0,i.hoverBorderWidth||0));return a}},{key:"getMaxOffset",value:function(t){for(var e=0,n=0,r=t.length;n<r;++n){var o=this.resolveDataElementOptions(n);e=Math.max(e,o.offset||0,o.hoverOffset||0)}return e}},{key:"_getRingWeightOffset",value:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e}},{key:"_getRingWeight",value:function(t){return Math.max(P(this.chart.data.datasets[t].weight,1),0)}},{key:"_getVisibleDatasetWeightTotal",value:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}]),n}(Wn);Zn.id="doughnut",Zn.defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"},Zn.descriptors={_scriptable:function(t){return"spacing"!==t},_indexable:function(t){return"spacing"!==t}},Zn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels:function(t){var e=t.data;if(e.labels.length&&e.datasets.length){var n=t.legend.options.labels.pointStyle;return e.labels.map((function(e,r){var o=t.getDatasetMeta(0).controller.getStyle(r);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(r),index:r}}))}return[]}},onClick:function(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title:function(){return""},label:function(t){var e=t.label,n=": "+t.formattedValue;return j(e)?(e=e.slice())[0]+=n:e+=n,e}}}}};var Qn=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n,[{key:"initialize",value:function(){this.enableOptionSharing=!0,Object(l.a)(Object(c.a)(n.prototype),"initialize",this).call(this)}},{key:"update",value:function(t){var e=this,n=e._cachedMeta,r=n.dataset,o=n.data,i=void 0===o?[]:o,a=n._dataset,s=e.chart._animationsDisabled,l=function(t,e,n){var r=e.length,o=0,i=r;if(t._sorted){var a=t.iScale,s=t._parsed,l=a.axis,c=a.getUserBounds(),u=c.min,d=c.max,f=c.minDefined,p=c.maxDefined;f&&(o=dt(Math.min(ke(s,a.axis,u).lo,n?r:ke(e,l,a.getPixelForValue(u)).lo),0,r-1)),i=p?dt(Math.max(ke(s,a.axis,d).hi+1,n?0:ke(e,l,a.getPixelForValue(d)).hi+1),o,r)-o:r-o}return{start:o,count:i}}(n,i,s),c=l.start,u=l.count;e._drawStart=c,e._drawCount=u,function(t){var e=t.xScale,n=t.yScale,r=t._scaleRanges,o={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=o,!0;var i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,o),i}(n)&&(c=0,u=i.length),r._decimated=!!a._decimated,r.points=i;var d=e.resolveDatasetElementOptions(t);e.options.showLine||(d.borderWidth=0),d.segment=e.options.segment,e.updateElement(r,void 0,{animated:!s,options:d},t),e.updateElements(i,c,u,t)}},{key:"updateElements",value:function(t,e,n,r){for(var o=this,i="reset"===r,a=o._cachedMeta,s=a.iScale,l=a.vScale,c=a._stacked,u=o.resolveDataElementOptions(e,r),d=o.getSharedOptions(u),f=o.includeOptions(r,d),p=s.axis,h=l.axis,v=o.options.spanGaps,g=et(v)?v:Number.POSITIVE_INFINITY,m=o.chart._animationsDisabled||i||"none"===r,b=e>0&&o.getParsed(e-1),y=e;y<e+n;++y){var x=t[y],w=o.getParsed(y),O=m?x:{},j=S(w[h]),C=O[p]=s.getPixelForValue(w[p],y),k=O[h]=i||j?l.getBasePixel():l.getPixelForValue(c?o.applyStack(l,w,c):w[h],y);O.skip=isNaN(C)||isNaN(k)||j,O.stop=y>0&&w[p]-b[p]>g,O.parsed=w,f&&(O.options=d||o.resolveDataElementOptions(y,x.active?"active":r)),m||o.updateElement(x,y,O,r),b=w}o.updateSharedOptions(d,r,u)}},{key:"getMaxOverflow",value:function(){var t=this,e=t._cachedMeta,n=e.dataset,r=n.options&&n.options.borderWidth||0,o=e.data||[];if(!o.length)return r;var i=o[0].size(t.resolveDataElementOptions(0)),a=o[o.length-1].size(t.resolveDataElementOptions(o.length-1));return Math.max(r,i,a)/2}},{key:"draw",value:function(){var t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),Object(l.a)(Object(c.a)(n.prototype),"draw",this).call(this)}}]),n}(Wn);Qn.id="line",Qn.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},Qn.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};var Jn=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t,r){var o;return Object(v.a)(this,n),(o=e.call(this,t,r)).innerRadius=void 0,o.outerRadius=void 0,o}return Object(g.a)(n,[{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta,n=this.chart,r=n.data.labels||[],o=vn(e._parsed[t].r,n.options.locale);return{label:r[t]||"",value:o}}},{key:"update",value:function(t){var e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}},{key:"_updateRadius",value:function(){var t=this,e=t.chart,n=e.chartArea,r=e.options,o=Math.min(n.right-n.left,n.bottom-n.top),i=Math.max(o/2,0),a=(i-Math.max(r.cutoutPercentage?i/100*r.cutoutPercentage:1,0))/e.getVisibleDatasetCount();t.outerRadius=i-a*t.index,t.innerRadius=t.outerRadius-a}},{key:"updateElements",value:function(t,e,n,r){var o,i=this,a="reset"===r,s=i.chart,l=i.getDataset(),c=s.options.animation,u=i._cachedMeta.rScale,d=u.xCenter,f=u.yCenter,p=u.getIndexAngle(0)-.5*W,h=p,v=360/i.countVisibleElements();for(o=0;o<e;++o)h+=i._computeAngle(o,r,v);for(o=e;o<e+n;o++){var g=t[o],m=h,b=h+i._computeAngle(o,r,v),y=s.getDataVisibility(o)?u.getDistanceFromCenterForValue(l.data[o]):0;h=b,a&&(c.animateScale&&(y=0),c.animateRotate&&(m=b=p));var x={x:d,y:f,innerRadius:0,outerRadius:y,startAngle:m,endAngle:b,options:i.resolveDataElementOptions(o,g.active?"active":r)};i.updateElement(g,o,x,r)}}},{key:"countVisibleElements",value:function(){var t=this,e=this.getDataset(),n=this._cachedMeta,r=0;return n.data.forEach((function(n,o){!isNaN(e.data[o])&&t.chart.getDataVisibility(o)&&r++})),r}},{key:"_computeAngle",value:function(t,e,n){return this.chart.getDataVisibility(t)?ot(this.resolveDataElementOptions(t,e).angle||n):0}}]),n}(Wn);Jn.id="polarArea",Jn.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0},Jn.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels:function(t){var e=t.data;if(e.labels.length&&e.datasets.length){var n=t.legend.options.labels.pointStyle;return e.labels.map((function(e,r){var o=t.getDatasetMeta(0).controller.getStyle(r);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(r),index:r}}))}return[]}},onClick:function(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}},tooltip:{callbacks:{title:function(){return""},label:function(t){return t.chart.data.labels[t.dataIndex]+": "+t.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};var tr=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n)}(Zn);tr.id="pie",tr.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};var er=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n,[{key:"getLabelAndValue",value:function(t){var e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}},{key:"update",value:function(t){var e=this,n=e._cachedMeta,r=n.dataset,o=n.data||[],i=n.iScale.getLabels();if(r.points=o,"resize"!==t){var a=e.resolveDatasetElementOptions(t);e.options.showLine||(a.borderWidth=0);var s={_loop:!0,_fullLoop:i.length===o.length,options:a};e.updateElement(r,void 0,s,t)}e.updateElements(o,0,o.length,t)}},{key:"updateElements",value:function(t,e,n,r){for(var o=this,i=o.getDataset(),a=o._cachedMeta.rScale,s="reset"===r,l=e;l<e+n;l++){var c=t[l],u=o.resolveDataElementOptions(l,c.active?"active":r),d=a.getPointPositionForValue(l,i.data[l]),f=s?a.xCenter:d.x,p=s?a.yCenter:d.y,h={x:f,y:p,angle:d.angle,skip:isNaN(f)||isNaN(p),options:u};o.updateElement(c,l,h,r)}}}]),n}(Wn);er.id="radar",er.defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}},er.overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};var nr=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n)}(Qn);nr.id="scatter",nr.defaults={showLine:!1,fill:!1},nr.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:function(){return""},label:function(t){return"("+t.label+", "+t.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};var rr=Object.freeze({__proto__:null,BarController:Kn,BubbleController:$n,DoughnutController:Zn,LineController:Qn,PolarAreaController:Jn,PieController:tr,RadarController:er,ScatterController:nr});function or(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var ir=function(){function t(e){Object(v.a)(this,t),this.options=e||{}}return Object(g.a)(t,[{key:"formats",value:function(){return or()}},{key:"parse",value:function(t,e){return or()}},{key:"format",value:function(t,e){return or()}},{key:"add",value:function(t,e,n){return or()}},{key:"diff",value:function(t,e,n){return or()}},{key:"startOf",value:function(t,e,n){return or()}},{key:"endOf",value:function(t,e){return or()}}]),t}();ir.override=function(t){Object.assign(ir.prototype,t)};var ar={_date:ir};function sr(t,e){return"native"in t?{x:t.x,y:t.y}:on(t,e)}function lr(t,e,n,r){var o=t.controller,i=t.data,a=t._sorted,s=o._cachedMeta.iScale;if(s&&e===s.axis&&a&&i.length){var l=s._reversePixels?Ee:ke;if(!r)return l(i,e,n);if(o._sharedOptions){var c=i[0],u="function"===typeof c.getRange&&c.getRange(e);if(u){var d=l(i,e,n-u),f=l(i,e,n+u);return{lo:d.lo,hi:f.hi}}}}return{lo:0,hi:i.length-1}}function cr(t,e,n,r,o){for(var i=t.getSortedVisibleDatasetMetas(),a=n[e],s=0,l=i.length;s<l;++s)for(var c=i[s],u=c.index,d=c.data,f=lr(i[s],e,a,o),p=f.lo,h=f.hi,v=p;v<=h;++v){var g=d[v];g.skip||r(g,u,v)}}function ur(t,e,n,r){var o=[];if(!se(e,t.chartArea,t._minPadding))return o;return cr(t,n,e,(function(t,n,i){t.inRange(e.x,e.y,r)&&o.push({element:t,datasetIndex:n,index:i})}),!0),o}function dr(t,e,n,r,o){var i=function(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,r){var o=e?Math.abs(t.x-r.x):0,i=n?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(i,2))}}(n),a=Number.POSITIVE_INFINITY,s=[];if(!se(e,t.chartArea,t._minPadding))return s;return cr(t,n,e,(function(n,l,c){if(!r||n.inRange(e.x,e.y,o)){var u=n.getCenterPoint(o);if(se(u,t.chartArea,t._minPadding)){var d=i(e,u);d<a?(s=[{element:n,datasetIndex:l,index:c}],a=d):d===a&&s.push({element:n,datasetIndex:l,index:c})}}})),s}function fr(t,e,n,r){var o=sr(e,t),i=[],a=n.axis,s="x"===a?"inXRange":"inYRange",l=!1;return function(t,e){for(var n,r,o,i=t.getSortedVisibleDatasetMetas(),a=0,s=i.length;a<s;++a){var l=i[a];n=l.index;for(var c=0,u=(r=l.data).length;c<u;++c)(o=r[c]).skip||e(o,n,c)}}(t,(function(t,e,n){t[s](o[a],r)&&i.push({element:t,datasetIndex:e,index:n}),t.inRange(o.x,o.y,r)&&(l=!0)})),n.intersect&&!l?[]:i}var pr={modes:{index:function(t,e,n,r){var o=sr(e,t),i=n.axis||"x",a=n.intersect?ur(t,o,i,r):dr(t,o,i,!1,r),s=[];return a.length?(t.getSortedVisibleDatasetMetas().forEach((function(t){var e=a[0].index,n=t.data[e];n&&!n.skip&&s.push({element:n,datasetIndex:t.index,index:e})})),s):[]},dataset:function(t,e,n,r){var o=sr(e,t),i=n.axis||"xy",a=n.intersect?ur(t,o,i,r):dr(t,o,i,!1,r);if(a.length>0){var s=a[0].datasetIndex,l=t.getDatasetMeta(s).data;a=[];for(var c=0;c<l.length;++c)a.push({element:l[c],datasetIndex:s,index:c})}return a},point:function(t,e,n,r){return ur(t,sr(e,t),n.axis||"xy",r)},nearest:function(t,e,n,r){return dr(t,sr(e,t),n.axis||"xy",n.intersect,r)},x:function(t,e,n,r){return n.axis="x",fr(t,e,n,r)},y:function(t,e,n,r){return n.axis="y",fr(t,e,n,r)}}},hr=["left","top","right","bottom"];function vr(t,e){return t.filter((function(t){return t.pos===e}))}function gr(t,e){return t.filter((function(t){return-1===hr.indexOf(t.pos)&&t.box.axis===e}))}function mr(t,e){return t.sort((function(t,n){var r=e?n:t,o=e?t:n;return r.weight===o.weight?r.index-o.index:r.weight-o.weight}))}function br(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function yr(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function xr(t,e,n){var r=n.box,o=t.maxPadding;C(n.pos)||(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,t[n.pos]+=n.size),r.getPadding&&yr(o,r.getPadding());var i=Math.max(0,e.outerWidth-br(o,t,"left","right")),a=Math.max(0,e.outerHeight-br(o,t,"top","bottom")),s=i!==t.w,l=a!==t.h;return t.w=i,t.h=a,n.horizontal?{same:s,other:l}:{same:l,other:s}}function wr(t,e){var n=e.maxPadding;function r(t){var r={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){r[t]=Math.max(e[t],n[t])})),r}return r(t?["left","right"]:["top","bottom"])}function Or(t,e,n){var r,o,i,a,s,l,c=[];for(r=0,o=t.length,s=0;r<o;++r){(a=(i=t[r]).box).update(i.width||e.w,i.height||e.h,wr(i.horizontal,e));var u=xr(e,n,i),d=u.same,f=u.other;s|=d&&c.length,l=l||f,a.fullSize||c.push(i)}return s&&Or(c,e,n)||l}function Sr(t,e,n){var r,o,i,a,s=n.padding,l=e.x,c=e.y;for(r=0,o=t.length;r<o;++r)a=(i=t[r]).box,i.horizontal?(a.left=a.fullSize?s.left:e.left,a.right=a.fullSize?n.outerWidth-s.right:e.left+e.w,a.top=c,a.bottom=c+a.height,a.width=a.right-a.left,c=a.bottom):(a.left=l,a.right=l+a.width,a.top=a.fullSize?s.top:e.top,a.bottom=a.fullSize?n.outerHeight-s.bottom:e.top+e.h,a.height=a.bottom-a.top,l=a.right);e.x=l,e.y=c}ee.set("layout",{padding:{top:0,right:0,bottom:0,left:0}});var jr=function(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(t){e.draw(t)}}]},t.boxes.push(e)},Cr=function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},kr=function(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},Er=function(t,e,n,r){if(t){var o=Oe(t.options.layout.padding),i=Math.max(e-o.width,0),a=Math.max(n-o.height,0),s=function(t){var e=function(t){var e,n,r,o=[];for(e=0,n=(t||[]).length;e<n;++e)r=t[e],o.push({index:e,box:r,pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return o}(t),n=mr(e.filter((function(t){return t.box.fullSize})),!0),r=mr(vr(e,"left"),!0),o=mr(vr(e,"right")),i=mr(vr(e,"top"),!0),a=mr(vr(e,"bottom")),s=gr(e,"x"),l=gr(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(l).concat(a).concat(s),chartArea:vr(e,"chartArea"),vertical:r.concat(o).concat(l),horizontal:i.concat(a).concat(s)}}(t.boxes),l=s.vertical,c=s.horizontal;T(t.boxes,(function(t){"function"===typeof t.beforeLayout&&t.beforeLayout()}));var u=l.reduce((function(t,e){return e.box.options&&!1===e.box.options.display?t:t+1}),0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/u,hBoxMaxHeight:a/2}),f=Object.assign({},o);yr(f,Oe(r));var p=Object.assign({maxPadding:f,w:i,h:a,x:o.left,y:o.top},o);!function(t,e){var n,r,o;for(n=0,r=t.length;n<r;++n)(o=t[n]).horizontal?(o.width=o.box.fullSize&&e.availableWidth,o.height=e.hBoxMaxHeight):(o.width=e.vBoxMaxWidth,o.height=o.box.fullSize&&e.availableHeight)}(l.concat(c),d),Or(s.fullSize,p,d),Or(l,p,d),Or(c,p,d)&&Or(l,p,d),function(t){var e=t.maxPadding;function n(n){var r=Math.max(e[n]-t[n],0);return t[n]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(p),Sr(s.leftAndTop,p,d),p.x+=p.w,p.y+=p.h,Sr(s.rightAndBottom,p,d),t.chartArea={left:p.left,top:p.top,right:p.left+p.w,bottom:p.top+p.h,height:p.h,width:p.w},T(s.chartArea,(function(e){var n=e.box;Object.assign(n,t.chartArea),n.update(p.w,p.h)}))}},Pr=function(){function t(){Object(v.a)(this,t)}return Object(g.a)(t,[{key:"acquireContext",value:function(t,e){}},{key:"releaseContext",value:function(t){return!1}},{key:"addEventListener",value:function(t,e,n){}},{key:"removeEventListener",value:function(t,e,n){}},{key:"getDevicePixelRatio",value:function(){return 1}},{key:"getMaximumSize",value:function(t,e,n,r){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):n)}}},{key:"isAttached",value:function(t){return!0}}]),t}(),_r=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n,[{key:"acquireContext",value:function(t){return t&&t.getContext&&t.getContext("2d")||null}}]),n}(Pr),Mr={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Tr=function(t){return null===t||""===t};var Ar=!!cn&&{passive:!0};function Rr(t,e,n){t.canvas.removeEventListener(e,n,Ar)}function Dr(t,e,n){var r=t.canvas,o=r&&Je(r)||r,i=new MutationObserver((function(t){var e=Je(o);t.forEach((function(t){for(var r=0;r<t.addedNodes.length;r++){var i=t.addedNodes[r];i!==o&&i!==e||n(t.target)}}))}));return i.observe(document,{childList:!0,subtree:!0}),i}function Ir(t,e,n){var r=t.canvas,o=r&&Je(r);if(o){var i=new MutationObserver((function(t){t.forEach((function(t){for(var e=0;e<t.removedNodes.length;e++)if(t.removedNodes[e]===r){n();break}}))}));return i.observe(o,{childList:!0}),i}}var Nr=new Map,Lr=0;function Fr(){var t=window.devicePixelRatio;t!==Lr&&(Lr=t,Nr.forEach((function(e,n){n.currentDevicePixelRatio!==t&&e()})))}function Br(t,e,n){var r=t.canvas,o=r&&Je(r);if(o){var i=b((function(t,e){var r=o.clientWidth;n(t,e),r<o.clientWidth&&n()}),window),a=new ResizeObserver((function(t){var e=t[0],n=e.contentRect.width,r=e.contentRect.height;0===n&&0===r||i(n,r)}));return a.observe(o),function(t,e){Nr.size||window.addEventListener("resize",Fr),Nr.set(t,e)}(t,i),a}}function zr(t,e,n){n&&n.disconnect(),"resize"===e&&function(t){Nr.delete(t),Nr.size||window.removeEventListener("resize",Fr)}(t)}function Hr(t,e,n){var r=t.canvas,o=b((function(e){null!==t.ctx&&n(function(t,e){var n=Mr[t.type]||t.type,r=on(t,e),o=r.x,i=r.y;return{type:n,chart:e,native:t,x:void 0!==o?o:null,y:void 0!==i?i:null}}(e,t))}),t,(function(t){var e=t[0];return[e,e.offsetX,e.offsetY]}));return function(t,e,n){t.addEventListener(e,n,Ar)}(r,e,o),o}var Vr=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n,[{key:"acquireContext",value:function(t,e){var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){var n=t.style,r=t.getAttribute("height"),o=t.getAttribute("width");if(t.$chartjs={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Tr(o)){var i=un(t,"width");void 0!==i&&(t.width=i)}if(Tr(r))if(""===t.style.height)t.height=t.width/(e||2);else{var a=un(t,"height");void 0!==a&&(t.height=a)}}(t,e),n):null}},{key:"releaseContext",value:function(t){var e=t.canvas;if(!e.$chartjs)return!1;var n=e.$chartjs.initial;["height","width"].forEach((function(t){var r=n[t];S(r)?e.removeAttribute(t):e.setAttribute(t,r)}));var r=n.style||{};return Object.keys(r).forEach((function(t){e.style[t]=r[t]})),e.width=e.width,delete e.$chartjs,!0}},{key:"addEventListener",value:function(t,e,n){this.removeEventListener(t,e);var r=t.$proxies||(t.$proxies={}),o={attach:Dr,detach:Ir,resize:Br}[e]||Hr;r[e]=o(t,e,n)}},{key:"removeEventListener",value:function(t,e){var n=t.$proxies||(t.$proxies={}),r=n[e];r&&(({attach:zr,detach:zr,resize:zr}[e]||Rr)(t,e,r),n[e]=void 0)}},{key:"getDevicePixelRatio",value:function(){return window.devicePixelRatio}},{key:"getMaximumSize",value:function(t,e,n,r){return sn(t,e,n,r)}},{key:"isAttached",value:function(t){var e=Je(t);return!(!e||!Je(e))}}]),n}(Pr),Ur=function(){function t(){Object(v.a)(this,t),this.x=void 0,this.y=void 0,this.active=!1,this.options=void 0,this.$animations=void 0}return Object(g.a)(t,[{key:"tooltipPosition",value:function(t){var e=this.getProps(["x","y"],t);return{x:e.x,y:e.y}}},{key:"hasValue",value:function(){return et(this.x)&&et(this.y)}},{key:"getProps",value:function(t,e){var n=this,r=this.$animations;if(!e||!r)return n;var o={};return t.forEach((function(t){o[t]=r[t]&&r[t].active()?r[t]._to:n[t]})),o}}]),t}();Ur.defaults={},Ur.defaultRoutes=void 0;var Wr={values:function(t){return j(t)?t:""+t},numeric:function(t,e,n){if(0===t)return"0";var r,o=this.chart.options.locale,i=t;if(n.length>1){var a=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(a<1e-4||a>1e15)&&(r="scientific"),i=function(t,e){var n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}var s=Q(Math.abs(i)),l=Math.max(Math.min(-1*Math.floor(s),20),0),c={notation:r,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),vn(t,o,c)},logarithmic:function(t,e,n){if(0===t)return"0";var r=t/Math.pow(10,Math.floor(Q(t)));return 1===r||2===r||5===r?Wr.numeric.call(this,t,e,n):""}};var qr={formatters:Wr};function Gr(t,e){var n=t.options.ticks,r=n.maxTicksLimit||function(t){var e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),o=t._maxLength/n;return Math.floor(Math.min(r,o))}(t),o=n.major.enabled?function(t){var e,n,r=[];for(e=0,n=t.length;e<n;e++)t[e].major&&r.push(e);return r}(e):[],i=o.length,a=o[0],s=o[i-1],l=[];if(i>r)return function(t,e,n,r){var o,i=0,a=n[0];for(r=Math.ceil(r),o=0;o<t.length;o++)o===a&&(e.push(t[o]),a=n[++i*r])}(e,l,o,i/r),l;var c=function(t,e,n){var r=function(t){var e,n,r=t.length;if(r<2)return!1;for(n=t[0],e=1;e<r;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),o=e.length/n;if(!r)return Math.max(o,1);for(var i=function(t){var e,n=[],r=Math.sqrt(t);for(e=1;e<r;e++)t%e===0&&(n.push(e),n.push(t/e));return r===(0|r)&&n.push(r),n.sort((function(t,e){return t-e})).pop(),n}(r),a=0,s=i.length-1;a<s;a++){var l=i[a];if(l>o)return l}return Math.max(o,1)}(o,e,r);if(i>0){var u,d,f=i>1?Math.round((s-a)/(i-1)):null;for(Yr(e,l,c,S(f)?0:a-f,a),u=0,d=i-1;u<d;u++)Yr(e,l,c,o[u],o[u+1]);return Yr(e,l,c,s,S(f)?e.length:s+f),l}return Yr(e,l,c),l}function Yr(t,e,n,r,o){var i,a,s,l=P(r,0),c=Math.min(P(o,t.length),t.length),u=0;for(n=Math.ceil(n),o&&(n=(i=o-r)/Math.floor(i/n)),s=l;s<0;)u++,s=Math.round(l+u*n);for(a=Math.max(l,0);a<c;a++)a===s&&(e.push(t[a]),u++,s=Math.round(l+u*n))}ee.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:function(t,e){return e.lineWidth},tickColor:function(t,e){return e.color},offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:qr.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),ee.route("scale.ticks","color","","color"),ee.route("scale.grid","color","","borderColor"),ee.route("scale.grid","borderColor","","borderColor"),ee.route("scale.title","color","","color"),ee.describe("scale",{_fallback:!1,_scriptable:function(t){return!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t},_indexable:function(t){return"borderDash"!==t&&"tickBorderDash"!==t}}),ee.describe("scales",{_fallback:"scale"}),ee.describe("scale.ticks",{_scriptable:function(t){return"backdropPadding"!==t&&"callback"!==t},_indexable:function(t){return"backdropPadding"!==t}});var Xr=function(t,e,n){return"top"===e||"left"===e?t[e]+n:t[e]-n};function Kr(t,e){for(var n=[],r=t.length/e,o=t.length,i=0;i<o;i+=r)n.push(t[Math.floor(i)]);return n}function $r(t,e,n){var r,o=t.ticks.length,i=Math.min(e,o-1),a=t._startPixel,s=t._endPixel,l=1e-6,c=t.getPixelForTick(i);if(!(n&&(r=1===o?Math.max(c-a,s-c):0===e?(t.getPixelForTick(1)-c)/2:(c-t.getPixelForTick(i-1))/2,(c+=i<e?r:-r)<a-l||c>s+l)))return c}function Zr(t){return t.drawTicks?t.tickLength:0}function Qr(t,e){if(!t.display)return 0;var n=Se(t.font,e),r=Oe(t.padding);return(j(t.text)?t.text.length:1)*n.lineHeight+r.height}function Jr(t,e,n){var r=y(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=function(t){return"left"===t?"right":"right"===t?"left":t}(r)),r}var to=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this)).id=t.id,r.type=t.type,r.options=void 0,r.ctx=t.ctx,r.chart=t.chart,r.top=void 0,r.bottom=void 0,r.left=void 0,r.right=void 0,r.width=void 0,r.height=void 0,r._margins={left:0,right:0,top:0,bottom:0},r.maxWidth=void 0,r.maxHeight=void 0,r.paddingTop=void 0,r.paddingBottom=void 0,r.paddingLeft=void 0,r.paddingRight=void 0,r.axis=void 0,r.labelRotation=void 0,r.min=void 0,r.max=void 0,r._range=void 0,r.ticks=[],r._gridLineItems=null,r._labelItems=null,r._labelSizes=null,r._length=0,r._maxLength=0,r._longestTextCache={},r._startPixel=void 0,r._endPixel=void 0,r._reversePixels=!1,r._userMax=void 0,r._userMin=void 0,r._suggestedMax=void 0,r._suggestedMin=void 0,r._ticksLength=0,r._borderValue=0,r._cache={},r._dataLimitsCached=!1,r.$context=void 0,r}return Object(g.a)(n,[{key:"init",value:function(t){var e=this;e.options=t.setContext(e.getContext()),e.axis=t.axis,e._userMin=e.parse(t.min),e._userMax=e.parse(t.max),e._suggestedMin=e.parse(t.suggestedMin),e._suggestedMax=e.parse(t.suggestedMax)}},{key:"parse",value:function(t,e){return t}},{key:"getUserBounds",value:function(){var t=this._userMin,e=this._userMax,n=this._suggestedMin,r=this._suggestedMax;return t=E(t,Number.POSITIVE_INFINITY),e=E(e,Number.NEGATIVE_INFINITY),n=E(n,Number.POSITIVE_INFINITY),r=E(r,Number.NEGATIVE_INFINITY),{min:E(t,n),max:E(e,r),minDefined:k(t),maxDefined:k(e)}}},{key:"getMinMax",value:function(t){var e,n=this,r=n.getUserBounds(),o=r.min,i=r.max,a=r.minDefined,s=r.maxDefined;if(a&&s)return{min:o,max:i};for(var l=n.getMatchingVisibleMetas(),c=0,u=l.length;c<u;++c)e=l[c].controller.getMinMax(n,t),a||(o=Math.min(o,e.min)),s||(i=Math.max(i,e.max));return{min:E(o,E(i,o)),max:E(i,E(o,i))}}},{key:"getPadding",value:function(){var t=this;return{left:t.paddingLeft||0,top:t.paddingTop||0,right:t.paddingRight||0,bottom:t.paddingBottom||0}}},{key:"getTicks",value:function(){return this.ticks}},{key:"getLabels",value:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}},{key:"beforeLayout",value:function(){this._cache={},this._dataLimitsCached=!1}},{key:"beforeUpdate",value:function(){M(this.options.beforeUpdate,[this])}},{key:"update",value:function(t,e,n){var r=this,o=r.options.ticks,i=o.sampleSize;r.beforeUpdate(),r.maxWidth=t,r.maxHeight=e,r._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),r.ticks=null,r._labelSizes=null,r._gridLineItems=null,r._labelItems=null,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r._maxLength=r.isHorizontal()?r.width+n.left+n.right:r.height+n.top+n.bottom,r._dataLimitsCached||(r.beforeDataLimits(),r.determineDataLimits(),r.afterDataLimits(),r._range=function(t,e){var n=t.min,r=t.max;return{min:n-Math.abs(_(e,n)),max:r+_(e,r)}}(r,r.options.grace),r._dataLimitsCached=!0),r.beforeBuildTicks(),r.ticks=r.buildTicks()||[],r.afterBuildTicks();var a=i<r.ticks.length;r._convertTicksToLabels(a?Kr(r.ticks,i):r.ticks),r.configure(),r.beforeCalculateLabelRotation(),r.calculateLabelRotation(),r.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(r.ticks=Gr(r,r.ticks),r._labelSizes=null),a&&r._convertTicksToLabels(r.ticks),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate()}},{key:"configure",value:function(){var t,e,n=this,r=n.options.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,r=!r),n._startPixel=t,n._endPixel=e,n._reversePixels=r,n._length=e-t,n._alignToPixels=n.options.alignToPixels}},{key:"afterUpdate",value:function(){M(this.options.afterUpdate,[this])}},{key:"beforeSetDimensions",value:function(){M(this.options.beforeSetDimensions,[this])}},{key:"setDimensions",value:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0}},{key:"afterSetDimensions",value:function(){M(this.options.afterSetDimensions,[this])}},{key:"_callHooks",value:function(t){var e=this;e.chart.notifyPlugins(t,e.getContext()),M(e.options[t],[e])}},{key:"beforeDataLimits",value:function(){this._callHooks("beforeDataLimits")}},{key:"determineDataLimits",value:function(){}},{key:"afterDataLimits",value:function(){this._callHooks("afterDataLimits")}},{key:"beforeBuildTicks",value:function(){this._callHooks("beforeBuildTicks")}},{key:"buildTicks",value:function(){return[]}},{key:"afterBuildTicks",value:function(){this._callHooks("afterBuildTicks")}},{key:"beforeTickToLabelConversion",value:function(){M(this.options.beforeTickToLabelConversion,[this])}},{key:"generateTickLabels",value:function(t){var e,n,r,o=this.options.ticks;for(e=0,n=t.length;e<n;e++)(r=t[e]).label=M(o.callback,[r.value,e,t],this)}},{key:"afterTickToLabelConversion",value:function(){M(this.options.afterTickToLabelConversion,[this])}},{key:"beforeCalculateLabelRotation",value:function(){M(this.options.beforeCalculateLabelRotation,[this])}},{key:"calculateLabelRotation",value:function(){var t,e,n,r=this,o=r.options,i=o.ticks,a=r.ticks.length,s=i.minRotation||0,l=i.maxRotation,c=s;if(!r._isVisible()||!i.display||s>=l||a<=1||!r.isHorizontal())r.labelRotation=s;else{var u=r._getLabelSizes(),d=u.widest.width,f=u.highest.height,p=dt(r.chart.width-d,0,r.maxWidth);d+6>(t=o.offset?r.maxWidth/a:p/(a-1))&&(t=p/(a-(o.offset?.5:1)),e=r.maxHeight-Zr(o.grid)-i.padding-Qr(o.title,r.chart.options.font),n=Math.sqrt(d*d+f*f),c=it(Math.min(Math.asin(Math.min((u.highest.height+6)/t,1)),Math.asin(Math.min(e/n,1))-Math.asin(f/n))),c=Math.max(s,Math.min(l,c))),r.labelRotation=c}}},{key:"afterCalculateLabelRotation",value:function(){M(this.options.afterCalculateLabelRotation,[this])}},{key:"beforeFit",value:function(){M(this.options.beforeFit,[this])}},{key:"fit",value:function(){var t=this,e={width:0,height:0},n=t.chart,r=t.options,o=r.ticks,i=r.title,a=r.grid,s=t._isVisible(),l=t.isHorizontal();if(s){var c=Qr(i,n.options.font);if(l?(e.width=t.maxWidth,e.height=Zr(a)+c):(e.height=t.maxHeight,e.width=Zr(a)+c),o.display&&t.ticks.length){var u=t._getLabelSizes(),d=u.first,f=u.last,p=u.widest,h=u.highest,v=2*o.padding,g=ot(t.labelRotation),m=Math.cos(g),b=Math.sin(g);if(l){var y=o.mirror?0:b*p.width+m*h.height;e.height=Math.min(t.maxHeight,e.height+y+v)}else{var x=o.mirror?0:m*p.width+b*h.height;e.width=Math.min(t.maxWidth,e.width+x+v)}t._calculatePadding(d,f,b,m)}}t._handleMargins(),l?(t.width=t._length=n.width-t._margins.left-t._margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t._margins.top-t._margins.bottom)}},{key:"_calculatePadding",value:function(t,e,n,r){var o=this,i=o.options,a=i.ticks,s=a.align,l=a.padding,c=i.position,u=0!==o.labelRotation,d="top"!==c&&"x"===o.axis;if(o.isHorizontal()){var f=o.getPixelForTick(0)-o.left,p=o.right-o.getPixelForTick(o.ticks.length-1),h=0,v=0;u?d?(h=r*t.width,v=n*e.height):(h=n*t.height,v=r*e.width):"start"===s?v=e.width:"end"===s?h=t.width:(h=t.width/2,v=e.width/2),o.paddingLeft=Math.max((h-f+l)*o.width/(o.width-f),0),o.paddingRight=Math.max((v-p+l)*o.width/(o.width-p),0)}else{var g=e.height/2,m=t.height/2;"start"===s?(g=0,m=t.height):"end"===s&&(g=e.height,m=0),o.paddingTop=g+l,o.paddingBottom=m+l}}},{key:"_handleMargins",value:function(){var t=this;t._margins&&(t._margins.left=Math.max(t.paddingLeft,t._margins.left),t._margins.top=Math.max(t.paddingTop,t._margins.top),t._margins.right=Math.max(t.paddingRight,t._margins.right),t._margins.bottom=Math.max(t.paddingBottom,t._margins.bottom))}},{key:"afterFit",value:function(){M(this.options.afterFit,[this])}},{key:"isHorizontal",value:function(){var t=this.options,e=t.axis,n=t.position;return"top"===n||"bottom"===n||"x"===e}},{key:"isFullSize",value:function(){return this.options.fullSize}},{key:"_convertTicksToLabels",value:function(t){var e,n,r=this;for(r.beforeTickToLabelConversion(),r.generateTickLabels(t),e=0,n=t.length;e<n;e++)S(t[e].label)&&(t.splice(e,1),n--,e--);r.afterTickToLabelConversion()}},{key:"_getLabelSizes",value:function(){var t=this,e=t._labelSizes;if(!e){var n=t.options.ticks.sampleSize,r=t.ticks;n<r.length&&(r=Kr(r,n)),t._labelSizes=e=t._computeLabelSizes(r,r.length)}return e}},{key:"_computeLabelSizes",value:function(t,e){var n,r,o,i,a,s,l,c,u,d,f,p=this.ctx,h=this._longestTextCache,v=[],g=[],m=0,b=0;for(n=0;n<e;++n){if(i=t[n].label,a=this._resolveTickFontOptions(n),p.font=s=a.string,l=h[s]=h[s]||{data:{},gc:[]},c=a.lineHeight,u=d=0,S(i)||j(i)){if(j(i))for(r=0,o=i.length;r<o;++r)S(f=i[r])||j(f)||(u=ne(p,l.data,l.gc,u,f),d+=c)}else u=ne(p,l.data,l.gc,u,i),d=c;v.push(u),g.push(d),m=Math.max(u,m),b=Math.max(d,b)}!function(t,e){T(t,(function(t){var n,r=t.gc,o=r.length/2;if(o>e){for(n=0;n<o;++n)delete t.data[r[n]];r.splice(0,o)}}))}(h,e);var y=v.indexOf(m),x=g.indexOf(b),w=function(t){return{width:v[t]||0,height:g[t]||0}};return{first:w(0),last:w(e-1),widest:w(y),highest:w(x),widths:v,heights:g}}},{key:"getLabelForValue",value:function(t){return t}},{key:"getPixelForValue",value:function(t,e){return NaN}},{key:"getValueForPixel",value:function(t){}},{key:"getPixelForTick",value:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}},{key:"getPixelForDecimal",value:function(t){var e=this;e._reversePixels&&(t=1-t);var n=e._startPixel+t*e._length;return dt(e._alignToPixels?oe(e.chart,n,0):n,-32768,32767)}},{key:"getDecimalForPixel",value:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}},{key:"getBasePixel",value:function(){return this.getPixelForValue(this.getBaseValue())}},{key:"getBaseValue",value:function(){var t=this.min,e=this.max;return t<0&&e<0?e:t>0&&e>0?t:0}},{key:"getContext",value:function(t){var e,n,r=this,o=r.ticks||[];if(t>=0&&t<o.length){var i=o[t];return i.$context||(i.$context=function(t,e,n){return Object.assign(Object.create(t),{tick:n,index:e,type:"tick"})}(r.getContext(),t,i))}return r.$context||(r.$context=(e=r.chart.getContext(),n=r,Object.assign(Object.create(e),{scale:n,type:"scale"})))}},{key:"_tickSize",value:function(){var t=this,e=t.options.ticks,n=ot(t.labelRotation),r=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),i=t._getLabelSizes(),a=e.autoSkipPadding||0,s=i?i.widest.width+a:0,l=i?i.highest.height+a:0;return t.isHorizontal()?l*r>s*o?s/r:l/o:l*o<s*r?l/r:s/o}},{key:"_isVisible",value:function(){var t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}},{key:"_computeGridLineItems",value:function(t){var e,n,r,o,i,a,s,l,c,u,d,f,p=this,h=p.axis,v=p.chart,g=p.options,m=g.grid,b=g.position,y=m.offset,x=p.isHorizontal(),w=p.ticks.length+(y?1:0),O=Zr(m),S=[],j=m.setContext(p.getContext()),k=j.drawBorder?j.borderWidth:0,E=k/2,_=function(t){return oe(v,t,k)};if("top"===b)e=_(p.bottom),a=p.bottom-O,l=e-E,u=_(t.top)+E,f=t.bottom;else if("bottom"===b)e=_(p.top),u=t.top,f=_(t.bottom)-E,a=e+E,l=p.top+O;else if("left"===b)e=_(p.right),i=p.right-O,s=e-E,c=_(t.left)+E,d=t.right;else if("right"===b)e=_(p.left),c=t.left,d=_(t.right)-E,i=e+E,s=p.left+O;else if("x"===h){if("center"===b)e=_((t.top+t.bottom)/2+.5);else if(C(b)){var M=Object.keys(b)[0],T=b[M];e=_(p.chart.scales[M].getPixelForValue(T))}u=t.top,f=t.bottom,l=(a=e+E)+O}else if("y"===h){if("center"===b)e=_((t.left+t.right)/2);else if(C(b)){var A=Object.keys(b)[0],R=b[A];e=_(p.chart.scales[A].getPixelForValue(R))}s=(i=e-E)-O,c=t.left,d=t.right}var D=P(g.ticks.maxTicksLimit,w),I=Math.max(1,Math.ceil(w/D));for(n=0;n<w;n+=I){var N=m.setContext(p.getContext(n)),L=N.lineWidth,F=N.color,B=m.borderDash||[],z=N.borderDashOffset,H=N.tickWidth,V=N.tickColor,U=N.tickBorderDash||[],W=N.tickBorderDashOffset;void 0!==(r=$r(p,n,y))&&(o=oe(v,r,L),x?i=s=c=d=o:a=l=u=f=o,S.push({tx1:i,ty1:a,tx2:s,ty2:l,x1:c,y1:u,x2:d,y2:f,width:L,color:F,borderDash:B,borderDashOffset:z,tickWidth:H,tickColor:V,tickBorderDash:U,tickBorderDashOffset:W}))}return p._ticksLength=w,p._borderValue=e,S}},{key:"_computeLabelItems",value:function(t){var e,n,r,o,i,a,s,l,c,u,d,f=this,p=f.axis,h=f.options,v=h.position,g=h.ticks,m=f.isHorizontal(),b=f.ticks,y=g.align,x=g.crossAlign,w=g.padding,O=g.mirror,S=Zr(h.grid),k=S+w,E=O?-w:k,P=-ot(f.labelRotation),_=[],M="middle";if("top"===v)i=f.bottom-E,a=f._getXAxisLabelAlignment();else if("bottom"===v)i=f.top+E,a=f._getXAxisLabelAlignment();else if("left"===v){var T=f._getYAxisLabelAlignment(S);a=T.textAlign,o=T.x}else if("right"===v){var A=f._getYAxisLabelAlignment(S);a=A.textAlign,o=A.x}else if("x"===p){if("center"===v)i=(t.top+t.bottom)/2+k;else if(C(v)){var R=Object.keys(v)[0],D=v[R];i=f.chart.scales[R].getPixelForValue(D)+k}a=f._getXAxisLabelAlignment()}else if("y"===p){if("center"===v)o=(t.left+t.right)/2-k;else if(C(v)){var I=Object.keys(v)[0],N=v[I];o=f.chart.scales[I].getPixelForValue(N)}a=f._getYAxisLabelAlignment(S).textAlign}"y"===p&&("start"===y?M="top":"end"===y&&(M="bottom"));var L=f._getLabelSizes();for(e=0,n=b.length;e<n;++e){r=b[e].label;var F=g.setContext(f.getContext(e));s=f.getPixelForTick(e)+g.labelOffset,c=(l=f._resolveTickFontOptions(e)).lineHeight;var B=(u=j(r)?r.length:1)/2,z=F.color,H=F.textStrokeColor,V=F.textStrokeWidth;m?(o=s,d="top"===v?"near"===x||0!==P?-u*c+c/2:"center"===x?-L.highest.height/2-B*c+c:-L.highest.height+c/2:"near"===x||0!==P?c/2:"center"===x?L.highest.height/2-B*c:L.highest.height-u*c,O&&(d*=-1)):(i=s,d=(1-u)*c/2);var U=void 0;if(F.showLabelBackdrop){var W=Oe(F.backdropPadding),q=L.heights[e],G=L.widths[e],Y=i+d-W.top,X=o-W.left;switch(M){case"middle":Y-=q/2;break;case"bottom":Y-=q}switch(a){case"center":X-=G/2;break;case"right":X-=G}U={left:X,top:Y,width:G+W.width,height:q+W.height,color:F.backdropColor}}_.push({rotation:P,label:r,font:l,color:z,strokeColor:H,strokeWidth:V,textOffset:d,textAlign:a,textBaseline:M,translation:[o,i],backdrop:U})}return _}},{key:"_getXAxisLabelAlignment",value:function(){var t=this.options,e=t.position,n=t.ticks;if(-ot(this.labelRotation))return"top"===e?"left":"right";var r="center";return"start"===n.align?r="left":"end"===n.align&&(r="right"),r}},{key:"_getYAxisLabelAlignment",value:function(t){var e,n,r=this,o=r.options,i=o.position,a=o.ticks,s=a.crossAlign,l=a.mirror,c=a.padding,u=t+c,d=r._getLabelSizes().widest.width;return"left"===i?l?(e="left",n=r.right+c):(n=r.right-u,"near"===s?e="right":"center"===s?(e="center",n-=d/2):(e="left",n=r.left)):"right"===i?l?(e="right",n=r.left+c):(n=r.left+u,"near"===s?e="left":"center"===s?(e="center",n+=d/2):(e="right",n=r.right)):e="right",{textAlign:e,x:n}}},{key:"_computeLabelArea",value:function(){var t=this;if(!t.options.ticks.mirror){var e=t.chart,n=t.options.position;return"left"===n||"right"===n?{top:0,left:t.left,bottom:e.height,right:t.right}:"top"===n||"bottom"===n?{top:t.top,left:0,bottom:t.bottom,right:e.width}:void 0}}},{key:"drawBackground",value:function(){var t=this.ctx,e=this.options.backgroundColor,n=this.left,r=this.top,o=this.width,i=this.height;e&&(t.save(),t.fillStyle=e,t.fillRect(n,r,o,i),t.restore())}},{key:"getLineWidthForValue",value:function(t){var e=this,n=e.options.grid;if(!e._isVisible()||!n.display)return 0;var r=e.ticks.findIndex((function(e){return e.value===t}));return r>=0?n.setContext(e.getContext(r)).lineWidth:0}},{key:"drawGrid",value:function(t){var e,n,r=this,o=r.options.grid,i=r.ctx,a=r._gridLineItems||(r._gridLineItems=r._computeGridLineItems(t)),s=function(t,e,n){n.width&&n.color&&(i.save(),i.lineWidth=n.width,i.strokeStyle=n.color,i.setLineDash(n.borderDash||[]),i.lineDashOffset=n.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(o.display)for(e=0,n=a.length;e<n;++e){var l=a[e];o.drawOnChartArea&&s({x:l.x1,y:l.y1},{x:l.x2,y:l.y2},l),o.drawTicks&&s({x:l.tx1,y:l.ty1},{x:l.tx2,y:l.ty2},{color:l.tickColor,width:l.tickWidth,borderDash:l.tickBorderDash,borderDashOffset:l.tickBorderDashOffset})}}},{key:"drawBorder",value:function(){var t=this,e=t.chart,n=t.ctx,r=t.options.grid,o=r.setContext(t.getContext()),i=r.drawBorder?o.borderWidth:0;if(i){var a,s,l,c,u=r.setContext(t.getContext(0)).lineWidth,d=t._borderValue;t.isHorizontal()?(a=oe(e,t.left,i)-i/2,s=oe(e,t.right,u)+u/2,l=c=d):(l=oe(e,t.top,i)-i/2,c=oe(e,t.bottom,u)+u/2,a=s=d),n.save(),n.lineWidth=o.borderWidth,n.strokeStyle=o.borderColor,n.beginPath(),n.moveTo(a,l),n.lineTo(s,c),n.stroke(),n.restore()}}},{key:"drawLabels",value:function(t){var e=this;if(e.options.ticks.display){var n=e.ctx,r=e._computeLabelArea();r&&le(n,r);var o,i,a=e._labelItems||(e._labelItems=e._computeLabelItems(t));for(o=0,i=a.length;o<i;++o){var s=a[o],l=s.font,c=s.label;s.backdrop&&(n.fillStyle=s.backdrop.color,n.fillRect(s.backdrop.left,s.backdrop.top,s.backdrop.width,s.backdrop.height)),fe(n,c,0,s.textOffset,l,s)}r&&ce(n)}}},{key:"drawTitle",value:function(){var t=this.ctx,e=this.options,n=e.position,r=e.title,o=e.reverse;if(r.display){var i=Se(r.font),a=Oe(r.padding),s=r.align,l=i.lineHeight/2;"bottom"===n?(l+=a.bottom,j(r.text)&&(l+=i.lineHeight*(r.text.length-1))):l+=a.top;var c=function(t,e,n,r){var o,i,a,s=t.top,l=t.left,c=t.bottom,u=t.right,d=0;return t.isHorizontal()?(i=x(r,l,u),a=Xr(t,n,e),o=u-l):(i=Xr(t,n,e),a=x(r,c,s),d="left"===n?-K:K),{titleX:i,titleY:a,maxWidth:o,rotation:d}}(this,l,n,s),u=c.titleX,d=c.titleY,f=c.maxWidth,p=c.rotation;fe(t,r.text,0,0,i,{color:r.color,maxWidth:f,rotation:p,textAlign:Jr(s,n,o),textBaseline:"middle",translation:[u,d]})}}},{key:"draw",value:function(t){var e=this;e._isVisible()&&(e.drawBackground(),e.drawGrid(t),e.drawBorder(),e.drawTitle(),e.drawLabels(t))}},{key:"_layers",value:function(){var t=this,e=t.options,r=e.ticks&&e.ticks.z||0,o=e.grid&&e.grid.z||0;return t._isVisible()&&t.draw===n.prototype.draw?[{z:o,draw:function(e){t.drawBackground(),t.drawGrid(e),t.drawTitle()}},{z:o+1,draw:function(){t.drawBorder()}},{z:r,draw:function(e){t.drawLabels(e)}}]:[{z:r,draw:function(e){t.draw(e)}}]}},{key:"getMatchingVisibleMetas",value:function(t){var e,n,r=this,o=r.chart.getSortedVisibleDatasetMetas(),i=r.axis+"AxisID",a=[];for(e=0,n=o.length;e<n;++e){var s=o[e];s[i]!==r.id||t&&s.type!==t||a.push(s)}return a}},{key:"_resolveTickFontOptions",value:function(t){return Se(this.options.ticks.setContext(this.getContext(t)).font)}},{key:"_maxDigits",value:function(){var t=this,e=t._resolveTickFontOptions(0).lineHeight;return(t.isHorizontal()?t.width:t.height)/e}}]),n}(Ur),eo=function(){function t(e,n,r){Object(v.a)(this,t),this.type=e,this.scope=n,this.override=r,this.items=Object.create(null)}return Object(g.a)(t,[{key:"isForType",value:function(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}},{key:"register",value:function(t){var e,n=this,r=Object.getPrototypeOf(t);(function(t){return"id"in t&&"defaults"in t})(r)&&(e=n.register(r));var o=n.items,i=t.id,a=n.scope+"."+i;if(!i)throw new Error("class does not have id: "+t);return i in o||(o[i]=t,function(t,e,n){var r=N(Object.create(null),[n?ee.get(n):{},ee.get(e),t.defaults]);ee.set(e,r),t.defaultRoutes&&function(t,e){Object.keys(e).forEach((function(n){var r=n.split("."),o=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),s=a.pop(),l=a.join(".");ee.route(i,o,l,s)}))}(e,t.defaultRoutes);t.descriptors&&ee.describe(e,t.descriptors)}(t,a,e),n.override&&ee.override(t.id,t.overrides)),a}},{key:"get",value:function(t){return this.items[t]}},{key:"unregister",value:function(t){var e=this.items,n=t.id,r=this.scope;n in e&&delete e[n],r&&n in ee[r]&&(delete ee[r][n],this.override&&delete Zt[n])}}]),t}();var no=function(){function t(){Object(v.a)(this,t),this.controllers=new eo(Wn,"datasets",!0),this.elements=new eo(Ur,"elements"),this.plugins=new eo(Object,"plugins"),this.scales=new eo(to,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}return Object(g.a)(t,[{key:"add",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e)}},{key:"remove",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e)}},{key:"addControllers",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e,this.controllers)}},{key:"addElements",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e,this.elements)}},{key:"addPlugins",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e,this.plugins)}},{key:"addScales",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e,this.scales)}},{key:"getController",value:function(t){return this._get(t,this.controllers,"controller")}},{key:"getElement",value:function(t){return this._get(t,this.elements,"element")}},{key:"getPlugin",value:function(t){return this._get(t,this.plugins,"plugin")}},{key:"getScale",value:function(t){return this._get(t,this.scales,"scale")}},{key:"removeControllers",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e,this.controllers)}},{key:"removeElements",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e,this.elements)}},{key:"removePlugins",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e,this.plugins)}},{key:"removeScales",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e,this.scales)}},{key:"_each",value:function(t,e,n){var r=this;Object(i.a)(e).forEach((function(e){var o=n||r._getRegistryForType(e);n||o.isForType(e)||o===r.plugins&&e.id?r._exec(t,o,e):T(e,(function(e){var o=n||r._getRegistryForType(e);r._exec(t,o,e)}))}))}},{key:"_exec",value:function(t,e,n){var r=H(t);M(n["before"+r],[],n),e[t](n),M(n["after"+r],[],n)}},{key:"_getRegistryForType",value:function(t){for(var e=0;e<this._typedRegistries.length;e++){var n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}},{key:"_get",value:function(t,e,n){var r=e.get(t);if(void 0===r)throw new Error('"'+t+'" is not a registered '+n+".");return r}}]),t}(),ro=new no,oo=function(){function t(){Object(v.a)(this,t),this._init=[]}return Object(g.a)(t,[{key:"notify",value:function(t,e,n,r){var o=this;"beforeInit"===e&&(o._init=o._createDescriptors(t,!0),o._notify(o._init,t,"install"));var i=r?o._descriptors(t).filter(r):o._descriptors(t),a=o._notify(i,t,e,n);return"destroy"===e&&(o._notify(i,t,"stop"),o._notify(o._init,t,"uninstall")),a}},{key:"_notify",value:function(t,e,n,r){r=r||{};var o,i=Object(h.a)(t);try{for(i.s();!(o=i.n()).done;){var a=o.value,s=a.plugin;if(!1===M(s[n],[e,r,a.options],s)&&r.cancelable)return!1}}catch(l){i.e(l)}finally{i.f()}return!0}},{key:"invalidate",value:function(){S(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}},{key:"_descriptors",value:function(t){if(this._cache)return this._cache;var e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}},{key:"_createDescriptors",value:function(t,e){var n=t&&t.config,r=P(n.options&&n.options.plugins,{}),o=function(t){for(var e=[],n=Object.keys(ro.plugins.items),r=0;r<n.length;r++)e.push(ro.getPlugin(n[r]));for(var o=t.plugins||[],i=0;i<o.length;i++){var a=o[i];-1===e.indexOf(a)&&e.push(a)}return e}(n);return!1!==r||e?function(t,e,n,r){for(var o=[],i=t.getContext(),a=0;a<e.length;a++){var s=e[a],l=io(n[s.id],r);null!==l&&o.push({plugin:s,options:ao(t.config,s,l,i)})}return o}(t,o,r,e):[]}},{key:"_notifyStateChanges",value:function(t){var e=this._oldCache||[],n=this._cache,r=function(t,e){return t.filter((function(t){return!e.some((function(e){return t.plugin.id===e.plugin.id}))}))};this._notify(r(e,n),t,"stop"),this._notify(r(n,e),t,"start")}}]),t}();function io(t,e){return e||!1!==t?!0===t?{}:t:null}function ao(t,e,n,r){var o=t.pluginScopeKeys(e),i=t.getOptionScopes(n,o);return t.createResolver(i,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function so(t,e){var n=ee.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function lo(t,e){return"x"===t||"y"===t?t:e.axis||("top"===(n=e.position)||"bottom"===n?"x":"left"===n||"right"===n?"y":void 0)||t.charAt(0).toLowerCase();var n}function co(t){var e=t.options||(t.options={});e.plugins=P(e.plugins,{}),e.scales=function(t,e){var n=Zt[t.type]||{scales:{}},r=e.scales||{},o=so(t.type,e),i=Object.create(null),a=Object.create(null);return Object.keys(r).forEach((function(t){var e=r[t],s=lo(t,e),l=function(t,e){return t===e?"_index_":"_value_"}(s,o),c=n.scales||{};i[s]=i[s]||t,a[t]=L(Object.create(null),[{axis:s},e,c[s],c[l]])})),t.data.datasets.forEach((function(n){var o=n.type||t.type,s=n.indexAxis||so(o,e),l=(Zt[o]||{}).scales||{};Object.keys(l).forEach((function(t){var e=function(t,e){var n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}(t,s),o=n[e+"AxisID"]||i[e]||e;a[o]=a[o]||Object.create(null),L(a[o],[{axis:e},r[o],l[t]])}))})),Object.keys(a).forEach((function(t){var e=a[t];L(e,[ee.scales[e.type],ee.scale])})),a}(t,e)}function uo(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}var fo=new Map,po=new Set;function ho(t,e){var n=fo.get(t);return n||(n=e(),fo.set(t,n),po.add(n)),n}var vo=function(t,e,n){var r=z(e,n);void 0!==r&&t.add(r)},go=function(){function t(e){Object(v.a)(this,t),this._config=function(t){return(t=t||{}).data=uo(t.data),co(t),t}(e),this._scopeCache=new Map,this._resolverCache=new Map}return Object(g.a)(t,[{key:"type",get:function(){return this._config.type},set:function(t){this._config.type=t}},{key:"data",get:function(){return this._config.data},set:function(t){this._config.data=uo(t)}},{key:"options",get:function(){return this._config.options},set:function(t){this._config.options=t}},{key:"plugins",get:function(){return this._config.plugins}},{key:"update",value:function(){var t=this._config;this.clearCache(),co(t)}},{key:"clearCache",value:function(){this._scopeCache.clear(),this._resolverCache.clear()}},{key:"datasetScopeKeys",value:function(t){return ho(t,(function(){return[["datasets.".concat(t),""]]}))}},{key:"datasetAnimationScopeKeys",value:function(t,e){return ho("".concat(t,".transition.").concat(e),(function(){return[["datasets.".concat(t,".transitions.").concat(e),"transitions.".concat(e)],["datasets.".concat(t),""]]}))}},{key:"datasetElementScopeKeys",value:function(t,e){return ho("".concat(t,"-").concat(e),(function(){return[["datasets.".concat(t,".elements.").concat(e),"datasets.".concat(t),"elements.".concat(e),""]]}))}},{key:"pluginScopeKeys",value:function(t){var e=t.id,n=this.type;return ho("".concat(n,"-plugin-").concat(e),(function(){return[["plugins.".concat(e)].concat(Object(i.a)(t.additionalOptionScopes||[]))]}))}},{key:"_cachedScopes",value:function(t,e){var n=this._scopeCache,r=n.get(t);return r&&!e||(r=new Map,n.set(t,r)),r}},{key:"getOptionScopes",value:function(t,e,n){var r=this.options,o=this.type,i=this._cachedScopes(t,n),a=i.get(e);if(a)return a;var s=new Set;e.forEach((function(e){t&&(s.add(t),e.forEach((function(e){return vo(s,t,e)}))),e.forEach((function(t){return vo(s,r,t)})),e.forEach((function(t){return vo(s,Zt[o]||{},t)})),e.forEach((function(t){return vo(s,ee,t)})),e.forEach((function(t){return vo(s,Qt,t)}))}));var l=Array.from(s);return po.has(e)&&i.set(e,l),l}},{key:"chartOptionScopes",value:function(){var t=this.options,e=this.type;return[t,Zt[e]||{},ee.datasets[e]||{},{type:e},ee,Qt]}},{key:"resolveNamedOptions",value:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[""],o={$shared:!0},i=mo(this._resolverCache,t,r),a=i.resolver,s=i.subPrefixes,l=a;if(bo(a,e)){o.$shared=!1,n=U(n)?n():n;var c=this.createResolver(t,n,s);l=Ae(a,n,c)}var u,d=Object(h.a)(e);try{for(d.s();!(u=d.n()).done;){var f=u.value;o[f]=l[f]}}catch(p){d.e(p)}finally{d.f()}return o}},{key:"createResolver",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0,o=mo(this._resolverCache,t,n),i=o.resolver;return C(e)?Ae(i,e,void 0,r):i}}]),t}();function mo(t,e,n){var r=t.get(e);r||(r=new Map,t.set(e,r));var o=n.join(),i=r.get(o);i||(i={resolver:Te(e,n),subPrefixes:n.filter((function(t){return!t.toLowerCase().includes("hover")}))},r.set(o,i));return i}function bo(t,e){var n,r=Re(t),o=r.isScriptable,i=r.isIndexable,a=Object(h.a)(e);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(o(s)&&U(t[s])||i(s)&&j(t[s]))return!0}}catch(l){a.e(l)}finally{a.f()}return!1}var yo=["top","bottom","left","right","chartArea"];function xo(t,e){return"top"===t||"bottom"===t||-1===yo.indexOf(t)&&"x"===e}function wo(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Oo(t){var e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),M(n&&n.onComplete,[t],e)}function So(t){var e=t.chart,n=e.options.animation;M(n&&n.onProgress,[t],e)}function jo(){return"undefined"!==typeof window&&"undefined"!==typeof document}function Co(t){return jo()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}var ko={},Eo=function(t){var e=Co(t);return Object.values(ko).filter((function(t){return t.canvas===e})).pop()},Po=function(){function t(e,n){var r=this;Object(v.a)(this,t);var o=this;this.config=n=new go(n);var i=Co(e),a=Eo(i);if(a)throw new Error("Canvas is already in use. Chart with ID '"+a.id+"' must be destroyed before the canvas can be reused.");var s=n.createResolver(n.chartOptionScopes(),o.getContext());this.platform=o._initializePlatform(i,n);var l=o.platform.acquireContext(i,s.aspectRatio),c=l&&l.canvas,u=c&&c.height,d=c&&c.width;this.id=O(),this.ctx=l,this.canvas=c,this.width=d,this.height=u,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this.scale=void 0,this._plugins=new oo,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){var n;return function(){return e?(clearTimeout(n),n=setTimeout(t,e)):t(),e}}((function(){return r.update("resize")}),s.resizeDelay||0),ko[o.id]=o,l&&c?(En.listen(o,"complete",Oo),En.listen(o,"progress",So),o._initialize(),o.attached&&o.update()):console.error("Failed to create chart: can't acquire context from the given item")}return Object(g.a)(t,[{key:"aspectRatio",get:function(){var t=this.options,e=t.aspectRatio,n=t.maintainAspectRatio,r=this.width,o=this.height,i=this._aspectRatio;return S(e)?n&&i?i:o?r/o:null:e}},{key:"data",get:function(){return this.config.data},set:function(t){this.config.data=t}},{key:"options",get:function(){return this._options},set:function(t){this.config.options=t}},{key:"_initialize",value:function(){var t=this;return t.notifyPlugins("beforeInit"),t.options.responsive?t.resize():ln(t,t.options.devicePixelRatio),t.bindEvents(),t.notifyPlugins("afterInit"),t}},{key:"_initializePlatform",value:function(t,e){return e.platform?new e.platform:!jo()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?new _r:new Vr}},{key:"clear",value:function(){return ie(this.canvas,this.ctx),this}},{key:"stop",value:function(){return En.stop(this),this}},{key:"resize",value:function(t,e){En.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}},{key:"_resize",value:function(t,e){var n=this,r=n.options,o=n.canvas,i=r.maintainAspectRatio&&n.aspectRatio,a=n.platform.getMaximumSize(o,t,e,i),s=r.devicePixelRatio||n.platform.getDevicePixelRatio();n.width=a.width,n.height=a.height,n._aspectRatio=n.aspectRatio,ln(n,s,!0)&&(n.notifyPlugins("resize",{size:a}),M(r.onResize,[n,a],n),n.attached&&n._doResize()&&n.render())}},{key:"ensureScalesHaveIDs",value:function(){T(this.options.scales||{},(function(t,e){t.id=e}))}},{key:"buildOrUpdateScales",value:function(){var t=this,e=t.options,n=e.scales,r=t.scales,o=Object.keys(r).reduce((function(t,e){return t[e]=!1,t}),{}),i=[];n&&(i=i.concat(Object.keys(n).map((function(t){var e=n[t],r=lo(t,e),o="r"===r,i="x"===r;return{options:e,dposition:o?"chartArea":i?"bottom":"left",dtype:o?"radialLinear":i?"category":"linear"}})))),T(i,(function(n){var i=n.options,a=i.id,s=lo(a,i),l=P(i.type,n.dtype);void 0!==i.position&&xo(i.position,s)===xo(n.dposition)||(i.position=n.dposition),o[a]=!0;var c=null;a in r&&r[a].type===l?c=r[a]:(c=new(ro.getScale(l))({id:a,type:l,ctx:t.ctx,chart:t}),r[c.id]=c);c.init(i,e)})),T(o,(function(t,e){t||delete r[e]})),T(r,(function(e){kr(t,e,e.options),jr(t,e)}))}},{key:"_updateMetasets",value:function(){var t=this,e=t._metasets,n=t.data.datasets.length,r=e.length;if(e.sort((function(t,e){return t.index-e.index})),r>n){for(var o=n;o<r;++o)t._destroyDatasetMeta(o);e.splice(n,r-n)}t._sortedMetasets=e.slice(0).sort(wo("order","index"))}},{key:"_removeUnreferencedMetasets",value:function(){var t=this,e=t._metasets,n=t.data.datasets;e.length>n.length&&delete t._stacks,e.forEach((function(e,r){0===n.filter((function(t){return t===e._dataset})).length&&t._destroyDatasetMeta(r)}))}},{key:"buildOrUpdateControllers",value:function(){var t,e,n=this,r=[],o=n.data.datasets;for(n._removeUnreferencedMetasets(),t=0,e=o.length;t<e;t++){var i=o[t],a=n.getDatasetMeta(t),s=i.type||n.config.type;if(a.type&&a.type!==s&&(n._destroyDatasetMeta(t),a=n.getDatasetMeta(t)),a.type=s,a.indexAxis=i.indexAxis||so(s,n.options),a.order=i.order||0,a.index=t,a.label=""+i.label,a.visible=n.isDatasetVisible(t),a.controller)a.controller.updateIndex(t),a.controller.linkScales();else{var l=ro.getController(s),c=ee.datasets[s],u=c.datasetElementType,d=c.dataElementType;Object.assign(l.prototype,{dataElementType:ro.getElement(d),datasetElementType:u&&ro.getElement(u)}),a.controller=new l(n,t),r.push(a.controller)}}return n._updateMetasets(),r}},{key:"_resetElements",value:function(){var t=this;T(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)}},{key:"reset",value:function(){this._resetElements(),this.notifyPlugins("reset")}},{key:"update",value:function(t){var e=this,n=e.config;n.update(),e._options=n.createResolver(n.chartOptionScopes(),e.getContext()),T(e.scales,(function(t){Cr(e,t)}));var r=e._animationsDisabled=!e.options.animation;if(e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),function(t,e){if(t.size!==e.size)return!1;var n,r=Object(h.a)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.has(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}(new Set(Object.keys(e._listeners)),new Set(e.options.events))&&!!this._responsiveListeners===e.options.responsive||(e.unbindEvents(),e.bindEvents()),e._plugins.invalidate(),!1!==e.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})){var o=e.buildOrUpdateControllers();e.notifyPlugins("beforeElementsUpdate");for(var i=0,a=0,s=e.data.datasets.length;a<s;a++){var l=e.getDatasetMeta(a).controller,c=!r&&-1===o.indexOf(l);l.buildOrUpdateElements(c),i=Math.max(+l.getMaxOverflow(),i)}e._minPadding=i,e._updateLayout(i),r||T(o,(function(t){t.reset()})),e._updateDatasets(t),e.notifyPlugins("afterUpdate",{mode:t}),e._layers.sort(wo("z","_idx")),e._lastEvent&&e._eventHandler(e._lastEvent,!0),e.render()}}},{key:"_updateLayout",value:function(t){var e=this;if(!1!==e.notifyPlugins("beforeLayout",{cancelable:!0})){Er(e,e.width,e.height,t);var n=e.chartArea,r=n.width<=0||n.height<=0;e._layers=[],T(e.boxes,(function(t){var n;r&&"chartArea"===t.position||(t.configure&&t.configure(),(n=e._layers).push.apply(n,Object(i.a)(t._layers())))}),e),e._layers.forEach((function(t,e){t._idx=e})),e.notifyPlugins("afterLayout")}}},{key:"_updateDatasets",value:function(t){var e=this,n="function"===typeof t;if(!1!==e.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(var r=0,o=e.data.datasets.length;r<o;++r)e._updateDataset(r,n?t({datasetIndex:r}):t);e.notifyPlugins("afterDatasetsUpdate",{mode:t})}}},{key:"_updateDataset",value:function(t,e){var n=this,r=n.getDatasetMeta(t),o={meta:r,index:t,mode:e,cancelable:!0};!1!==n.notifyPlugins("beforeDatasetUpdate",o)&&(r.controller._update(e),o.cancelable=!1,n.notifyPlugins("afterDatasetUpdate",o))}},{key:"render",value:function(){var t=this;!1!==t.notifyPlugins("beforeRender",{cancelable:!0})&&(En.has(t)?t.attached&&!En.running(t)&&En.start(t):(t.draw(),Oo({chart:t})))}},{key:"draw",value:function(){var t,e=this;if(e._resizeBeforeDraw){var n=e._resizeBeforeDraw,r=n.width,o=n.height;e._resize(r,o),e._resizeBeforeDraw=null}if(e.clear(),!(e.width<=0||e.height<=0)&&!1!==e.notifyPlugins("beforeDraw",{cancelable:!0})){var i=e._layers;for(t=0;t<i.length&&i[t].z<=0;++t)i[t].draw(e.chartArea);for(e._drawDatasets();t<i.length;++t)i[t].draw(e.chartArea);e.notifyPlugins("afterDraw")}}},{key:"_getSortedDatasetMetas",value:function(t){var e,n,r=this._sortedMetasets,o=[];for(e=0,n=r.length;e<n;++e){var i=r[e];t&&!i.visible||o.push(i)}return o}},{key:"getSortedVisibleDatasetMetas",value:function(){return this._getSortedDatasetMetas(!0)}},{key:"_drawDatasets",value:function(){var t=this;if(!1!==t.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})){for(var e=t.getSortedVisibleDatasetMetas(),n=e.length-1;n>=0;--n)t._drawDataset(e[n]);t.notifyPlugins("afterDatasetsDraw")}}},{key:"_drawDataset",value:function(t){var e=this,n=e.ctx,r=t._clip,o=!r.disabled,i=e.chartArea,a={meta:t,index:t.index,cancelable:!0};!1!==e.notifyPlugins("beforeDatasetDraw",a)&&(o&&le(n,{left:!1===r.left?0:i.left-r.left,right:!1===r.right?e.width:i.right+r.right,top:!1===r.top?0:i.top-r.top,bottom:!1===r.bottom?e.height:i.bottom+r.bottom}),t.controller.draw(),o&&ce(n),a.cancelable=!1,e.notifyPlugins("afterDatasetDraw",a))}},{key:"getElementsAtEventForMode",value:function(t,e,n,r){var o=pr.modes[e];return"function"===typeof o?o(this,t,n,r):[]}},{key:"getDatasetMeta",value:function(t){var e=this.data.datasets[t],n=this._metasets,r=n.filter((function(t){return t&&t._dataset===e})).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}},{key:"getContext",value:function(){return this.$context||(this.$context={chart:this,type:"chart"})}},{key:"getVisibleDatasetCount",value:function(){return this.getSortedVisibleDatasetMetas().length}},{key:"isDatasetVisible",value:function(t){var e=this.data.datasets[t];if(!e)return!1;var n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}},{key:"setDatasetVisibility",value:function(t,e){this.getDatasetMeta(t).hidden=!e}},{key:"toggleDataVisibility",value:function(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}},{key:"getDataVisibility",value:function(t){return!this._hiddenIndices[t]}},{key:"_updateDatasetVisibility",value:function(t,e){var n=this,r=e?"show":"hide",o=n.getDatasetMeta(t),i=o.controller._resolveAnimations(void 0,r);n.setDatasetVisibility(t,e),i.update(o,{visible:e}),n.update((function(e){return e.datasetIndex===t?r:void 0}))}},{key:"hide",value:function(t){this._updateDatasetVisibility(t,!1)}},{key:"show",value:function(t){this._updateDatasetVisibility(t,!0)}},{key:"_destroyDatasetMeta",value:function(t){var e=this,n=e._metasets&&e._metasets[t];n&&n.controller&&(n.controller._destroy(),delete e._metasets[t])}},{key:"destroy",value:function(){var t,e,n=this,r=n.canvas,o=n.ctx;for(n.stop(),En.remove(n),t=0,e=n.data.datasets.length;t<e;++t)n._destroyDatasetMeta(t);n.config.clearCache(),r&&(n.unbindEvents(),ie(r,o),n.platform.releaseContext(o),n.canvas=null,n.ctx=null),n.notifyPlugins("destroy"),delete ko[n.id]}},{key:"toBase64Image",value:function(){var t;return(t=this.canvas).toDataURL.apply(t,arguments)}},{key:"bindEvents",value:function(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}},{key:"bindUserEvents",value:function(){var t=this,e=t._listeners,n=t.platform,r=function(e,n,r){e.offsetX=n,e.offsetY=r,t._eventHandler(e)};T(t.options.events,(function(o){return function(r,o){n.addEventListener(t,r,o),e[r]=o}(o,r)}))}},{key:"bindResponsiveEvents",value:function(){var t=this;t._responsiveListeners||(t._responsiveListeners={});var e,n=t._responsiveListeners,r=t.platform,o=function(e,o){r.addEventListener(t,e,o),n[e]=o},i=function(e,o){n[e]&&(r.removeEventListener(t,e,o),delete n[e])},a=function(e,n){t.canvas&&t.resize(e,n)},s=function n(){i("attach",n),t.attached=!0,t.resize(),o("resize",a),o("detach",e)};e=function(){t.attached=!1,i("resize",a),o("attach",s)},r.isAttached(t.canvas)?s():e()}},{key:"unbindEvents",value:function(){var t=this;T(t._listeners,(function(e,n){t.platform.removeEventListener(t,n,e)})),t._listeners={},T(t._responsiveListeners,(function(e,n){t.platform.removeEventListener(t,n,e)})),t._responsiveListeners=void 0}},{key:"updateHoverStyle",value:function(t,e,n){var r,o,i,a=n?"set":"remove";for("dataset"===e&&this.getDatasetMeta(t[0].datasetIndex).controller["_"+a+"DatasetHoverStyle"](),o=0,i=t.length;o<i;++o){var s=(r=t[o])&&this.getDatasetMeta(r.datasetIndex).controller;s&&s[a+"HoverStyle"](r.element,r.datasetIndex,r.index)}}},{key:"getActiveElements",value:function(){return this._active||[]}},{key:"setActiveElements",value:function(t){var e=this,n=e._active||[],r=t.map((function(t){var n=t.datasetIndex,r=t.index,o=e.getDatasetMeta(n);if(!o)throw new Error("No dataset found at index "+n);return{datasetIndex:n,element:o.data[r],index:r}}));!A(r,n)&&(e._active=r,e._updateHoverStyles(r,n))}},{key:"notifyPlugins",value:function(t,e,n){return this._plugins.notify(this,t,e,n)}},{key:"_updateHoverStyles",value:function(t,e,n){var r=this,o=r.options.hover,i=function(t,e){return t.filter((function(t){return!e.some((function(e){return t.datasetIndex===e.datasetIndex&&t.index===e.index}))}))},a=i(e,t),s=n?t:i(t,e);a.length&&r.updateHoverStyle(a,o.mode,!1),s.length&&o.mode&&r.updateHoverStyle(s,o.mode,!0)}},{key:"_eventHandler",value:function(t,e){var n=this,r=this,o={event:t,replay:e,cancelable:!0},i=function(e){return(e.options.events||n.options.events).includes(t.type)};if(!1!==r.notifyPlugins("beforeEvent",o,i)){var a=r._handleEvent(t,e);return o.cancelable=!1,r.notifyPlugins("afterEvent",o,i),(a||o.changed)&&r.render(),r}}},{key:"_handleEvent",value:function(t,e){var n,r=this,o=r._active,i=void 0===o?[]:o,a=r.options,s=a.hover,l=e,c=[],u=null;return"mouseout"!==t.type&&(c=r.getElementsAtEventForMode(t,s.mode,s,l),u="click"===t.type?r._lastEvent:t),r._lastEvent=null,se(t,r.chartArea,r._minPadding)&&(M(a.onHover,[t,c,r],r),"mouseup"!==t.type&&"click"!==t.type&&"contextmenu"!==t.type||M(a.onClick,[t,c,r],r)),((n=!A(c,i))||e)&&(r._active=c,r._updateHoverStyles(c,i,e)),r._lastEvent=u,n}}]),t}(),_o=function(){return T(Po.instances,(function(t){return t._plugins.invalidate()}))},Mo=!0;function To(t,e,n){var r=e.startAngle,o=e.pixelMargin,i=e.x,a=e.y,s=e.outerRadius,l=e.innerRadius,c=o/s;t.beginPath(),t.arc(i,a,s,r-c,n+c),l>o?(c=o/l,t.arc(i,a,l,n+c,r-c,!0)):t.arc(i,a,o,n+K,r-K),t.closePath(),t.clip()}function Ao(t,e,n,r){var o=ye(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),i=(n-e)/2,a=Math.min(i,r*e/2),s=function(t){var e=(n-Math.min(i,t))*r/2;return dt(t,0,Math.min(i,e))};return{outerStart:s(o.outerStart),outerEnd:s(o.outerEnd),innerStart:dt(o.innerStart,0,a),innerEnd:dt(o.innerEnd,0,a)}}function Ro(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function Do(t,e,n,r,o){var i=e.x,a=e.y,s=e.startAngle,l=e.pixelMargin,c=e.innerRadius,u=Math.max(e.outerRadius+r+n-l,0),d=c>0?c+r+n+l:0,f=0,p=o-s;if(r){var h=((c>0?c-r:0)+(u>0?u-r:0))/2;f=(p-(0!==h?p*h/(h+r):p))/2}var v=(p-Math.max(.001,p*u-n/W)/u)/2,g=s+v+f,m=o-v-f,b=Ao(e,d,u,m-g),y=b.outerStart,x=b.outerEnd,w=b.innerStart,O=b.innerEnd,S=u-y,j=u-x,C=g+y/S,k=m-x/j,E=d+w,P=d+O,_=g+w/E,M=m-O/P;if(t.beginPath(),t.arc(i,a,u,C,k),x>0){var T=Ro(j,k,i,a);t.arc(T.x,T.y,x,k,m+K)}var A=Ro(P,m,i,a);if(t.lineTo(A.x,A.y),O>0){var R=Ro(P,M,i,a);t.arc(R.x,R.y,O,m+K,M+Math.PI)}if(t.arc(i,a,d,m-O/d,g+w/d,!0),w>0){var D=Ro(E,_,i,a);t.arc(D.x,D.y,w,_+Math.PI,g-K)}var I=Ro(S,g,i,a);if(t.lineTo(I.x,I.y),y>0){var N=Ro(S,C,i,a);t.arc(N.x,N.y,y,g-K,C)}t.closePath()}function Io(t,e,n,r,o){var i=e.options,a="inner"===i.borderAlign;i.borderWidth&&(a?(t.lineWidth=2*i.borderWidth,t.lineJoin="round"):(t.lineWidth=i.borderWidth,t.lineJoin="bevel"),e.fullCircles&&function(t,e,n){var r,o=e.x,i=e.y,a=e.startAngle,s=e.pixelMargin,l=e.fullCircles,c=Math.max(e.outerRadius-s,0),u=e.innerRadius+s;for(n&&To(t,e,a+q),t.beginPath(),t.arc(o,i,u,a+q,a,!0),r=0;r<l;++r)t.stroke();for(t.beginPath(),t.arc(o,i,c,a,a+q),r=0;r<l;++r)t.stroke()}(t,e,a),a&&To(t,e,o),Do(t,e,n,r,o),t.stroke())}Object.defineProperties(Po,{defaults:{enumerable:Mo,value:ee},instances:{enumerable:Mo,value:ko},overrides:{enumerable:Mo,value:Zt},registry:{enumerable:Mo,value:ro},version:{enumerable:Mo,value:"3.4.1"},getChart:{enumerable:Mo,value:Eo},register:{enumerable:Mo,value:function(){ro.add.apply(ro,arguments),_o()}},unregister:{enumerable:Mo,value:function(){ro.remove.apply(ro,arguments),_o()}}});var No=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this)).options=void 0,r.circumference=void 0,r.startAngle=void 0,r.endAngle=void 0,r.innerRadius=void 0,r.outerRadius=void 0,r.pixelMargin=0,r.fullCircles=0,t&&Object.assign(Object(s.a)(r),t),r}return Object(g.a)(n,[{key:"inRange",value:function(t,e,n){var r=function(t,e){var n=e.x-t.x,r=e.y-t.y,o=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*W&&(i+=q),{angle:i,distance:o}}(this.getProps(["x","y"],n),{x:t,y:e}),o=r.angle,i=r.distance,a=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),s=a.startAngle,l=a.endAngle,c=a.innerRadius,u=a.outerRadius,d=a.circumference,f=this.options.spacing/2;return(d>=q||ut(o,s,l))&&(i>=c+f&&i<=u+f)}},{key:"getCenterPoint",value:function(t){var e=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),n=e.x,r=e.y,o=e.startAngle,i=e.endAngle,a=e.innerRadius,s=e.outerRadius,l=this.options,c=l.offset,u=(o+i)/2,d=(a+s+l.spacing+c)/2;return{x:n+Math.cos(u)*d,y:r+Math.sin(u)*d}}},{key:"tooltipPosition",value:function(t){return this.getCenterPoint(t)}},{key:"draw",value:function(t){var e=this,n=e.options,r=e.circumference,o=(n.offset||0)/2,i=(n.spacing||0)/2;if(e.pixelMargin="inner"===n.borderAlign?.33:0,e.fullCircles=r>q?Math.floor(r/q):0,!(0===r||e.innerRadius<0||e.outerRadius<0)){t.save();var a=0;if(o){a=o/2;var s=(e.startAngle+e.endAngle)/2;t.translate(Math.cos(s)*a,Math.sin(s)*a),e.circumference>=W&&(a=o)}t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor;var l=function(t,e,n,r){var o=e.fullCircles,i=e.startAngle,a=e.circumference,s=e.endAngle;if(o){Do(t,e,n,r,i+q);for(var l=0;l<o;++l)t.fill();isNaN(a)||(s=i+a%q,a%q===0&&(s+=q))}return Do(t,e,n,r,s),t.fill(),s}(t,e,a,i);Io(t,e,a,i,l),t.restore()}}}]),n}(Ur);function Lo(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;t.lineCap=P(n.borderCapStyle,e.borderCapStyle),t.setLineDash(P(n.borderDash,e.borderDash)),t.lineDashOffset=P(n.borderDashOffset,e.borderDashOffset),t.lineJoin=P(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=P(n.borderWidth,e.borderWidth),t.strokeStyle=P(n.borderColor,e.borderColor)}function Fo(t,e,n){t.lineTo(n.x,n.y)}function Bo(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.length,o=n.start,i=void 0===o?0:o,a=n.end,s=void 0===a?r-1:a,l=e.start,c=e.end,u=Math.max(i,l),d=Math.min(s,c),f=i<l&&s<l||i>c&&s>c;return{count:r,start:u,loop:e.loop,ilen:d<u&&!f?r+d-u:d-u}}function zo(t,e,n,r){var o,i,a,s=e.points,l=e.options,c=Bo(s,n,r),u=c.count,d=c.start,f=c.loop,p=c.ilen,h=function(t){return t.stepped?ue:t.tension||"monotone"===t.cubicInterpolationMode?de:Fo}(l),v=r||{},g=v.move,m=void 0===g||g,b=v.reverse;for(o=0;o<=p;++o)(i=s[(d+(b?p-o:o))%u]).skip||(m?(t.moveTo(i.x,i.y),m=!1):h(t,a,i,b,l.stepped),a=i);return f&&h(t,a,i=s[(d+(b?p:0))%u],b,l.stepped),!!f}function Ho(t,e,n,r){var o,i,a,s,l,c,u=e.points,d=Bo(u,n,r),f=d.count,p=d.start,h=d.ilen,v=r||{},g=v.move,m=void 0===g||g,b=v.reverse,y=0,x=0,w=function(t){return(p+(b?h-t:t))%f},O=function(){s!==l&&(t.lineTo(y,l),t.lineTo(y,s),t.lineTo(y,c))};for(m&&(i=u[w(0)],t.moveTo(i.x,i.y)),o=0;o<=h;++o)if(!(i=u[w(o)]).skip){var S=i.x,j=i.y,C=0|S;C===a?(j<s?s=j:j>l&&(l=j),y=(x*y+S)/++x):(O(),t.lineTo(S,j),a=C,x=0,s=l=j),c=j}O()}function Vo(t){var e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n?Ho:zo}No.id="arc",No.defaults={borderAlign:"center",borderColor:"#fff",borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0},No.defaultRoutes={backgroundColor:"backgroundColor"};var Uo="function"===typeof Path2D;function Wo(t,e,n,r){Uo&&1===e.segments.length?function(t,e,n,r){var o=e._path;o||(o=e._path=new Path2D,e.path(o,n,r)&&o.closePath()),Lo(t,e.options),t.stroke(o)}(t,e,n,r):function(t,e,n,r){var o,i=e.segments,a=e.options,s=Vo(e),l=Object(h.a)(i);try{for(l.s();!(o=l.n()).done;){var c=o.value;Lo(t,a,c.style),t.beginPath(),s(t,e,c,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}}catch(u){l.e(u)}finally{l.f()}}(t,e,n,r)}var qo=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this)).animated=!0,r.options=void 0,r._loop=void 0,r._fullLoop=void 0,r._path=void 0,r._points=void 0,r._segments=void 0,r._decimated=!1,r._pointsUpdated=!1,t&&Object.assign(Object(s.a)(r),t),r}return Object(g.a)(n,[{key:"updateControlPoints",value:function(t,e){var n=this,r=n.options;if((r.tension||"monotone"===r.cubicInterpolationMode)&&!r.stepped&&!n._pointsUpdated){var o=r.spanGaps?n._loop:n._fullLoop;Qe(n._points,r,t,o,e),n._pointsUpdated=!0}}},{key:"points",get:function(){return this._points},set:function(t){var e=this;e._points=t,delete e._segments,delete e._path,e._pointsUpdated=!1}},{key:"segments",get:function(){return this._segments||(this._segments=function(t,e){var n=t.points,r=t.options.spanGaps,o=n.length;if(!o)return[];var i=!!t._loop,a=function(t,e,n,r){var o=0,i=e-1;if(n&&!r)for(;o<e&&!t[o].skip;)o++;for(;o<e&&t[o].skip;)o++;for(o%=e,n&&(i+=o);i>o&&t[i%e].skip;)i--;return{start:o,end:i%=e}}(n,o,i,r),s=a.start,l=a.end;return Sn(!0===r?[{start:s,end:l,loop:i}]:function(t,e,n,r){var o,i=t.length,a=[],s=e,l=t[e];for(o=e+1;o<=n;++o){var c=t[o%i];c.skip||c.stop?l.skip||(r=!1,a.push({start:e%i,end:(o-1)%i,loop:r}),e=s=c.stop?o:null):(s=o,l.skip&&(e=o)),l=c}return null!==s&&a.push({start:e%i,end:s%i,loop:r}),a}(n,s,l<s?l+o:l,!!t._fullLoop&&0===s&&l===o-1),n,e)}(this,this.options.segment))}},{key:"first",value:function(){var t=this.segments,e=this.points;return t.length&&e[t[0].start]}},{key:"last",value:function(){var t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}},{key:"interpolate",value:function(t,e){var n=this,r=n.options,o=t[e],i=n.points,a=On(n,{property:e,start:o,end:o});if(a.length){var s,l,c=[],u=function(t){return t.stepped?fn:t.tension||"monotone"===t.cubicInterpolationMode?pn:dn}(r);for(s=0,l=a.length;s<l;++s){var d=a[s],f=d.start,p=d.end,h=i[f],v=i[p];if(h!==v){var g=u(h,v,Math.abs((o-h[e])/(v[e]-h[e])),r.stepped);g[e]=t[e],c.push(g)}else c.push(h)}return 1===c.length?c[0]:c}}},{key:"pathSegment",value:function(t,e,n){return Vo(this)(t,this,e,n)}},{key:"path",value:function(t,e,n){var r=this,o=r.segments,i=Vo(r),a=r._loop;e=e||0,n=n||r.points.length-e;var s,l=Object(h.a)(o);try{for(l.s();!(s=l.n()).done;){a&=i(t,r,s.value,{start:e,end:e+n-1})}}catch(c){l.e(c)}finally{l.f()}return!!a}},{key:"draw",value:function(t,e,n,r){var o=this,i=o.options||{};(o.points||[]).length&&i.borderWidth&&(t.save(),Wo(t,o,n,r),t.restore(),o.animated&&(o._pointsUpdated=!1,o._path=void 0))}}]),n}(Ur);function Go(t,e,n,r){var o=t.options,i=t.getProps([n],r)[n];return Math.abs(e-i)<o.radius+o.hitRadius}qo.id="line",qo.defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0},qo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"},qo.descriptors={_scriptable:!0,_indexable:function(t){return"borderDash"!==t&&"fill"!==t}};var Yo=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this)).options=void 0,r.parsed=void 0,r.skip=void 0,r.stop=void 0,t&&Object.assign(Object(s.a)(r),t),r}return Object(g.a)(n,[{key:"inRange",value:function(t,e,n){var r=this.options,o=this.getProps(["x","y"],n),i=o.x,a=o.y;return Math.pow(t-i,2)+Math.pow(e-a,2)<Math.pow(r.hitRadius+r.radius,2)}},{key:"inXRange",value:function(t,e){return Go(this,t,"x",e)}},{key:"inYRange",value:function(t,e){return Go(this,t,"y",e)}},{key:"getCenterPoint",value:function(t){var e=this.getProps(["x","y"],t);return{x:e.x,y:e.y}}},{key:"size",value:function(t){var e=(t=t||this.options||{}).radius||0;return 2*((e=Math.max(e,e&&t.hoverRadius||0))+(e&&t.borderWidth||0))}},{key:"draw",value:function(t){var e=this,n=e.options;e.skip||n.radius<.1||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,ae(t,n,e.x,e.y))}},{key:"getRange",value:function(){var t=this.options||{};return t.radius+t.hitRadius}}]),n}(Ur);function Xo(t,e){var n,r,o,i,a,s=t.getProps(["x","y","base","width","height"],e),l=s.x,c=s.y,u=s.base,d=s.width,f=s.height;return t.horizontal?(a=f/2,n=Math.min(l,u),r=Math.max(l,u),o=c-a,i=c+a):(n=l-(a=d/2),r=l+a,o=Math.min(c,u),i=Math.max(c,u)),{left:n,top:o,right:r,bottom:i}}function Ko(t){var e=t.options.borderSkipped,n={};return e?(n[e=t.horizontal?$o(e,"left","right",t.base>t.x):$o(e,"bottom","top",t.base<t.y)]=!0,n):n}function $o(t,e,n,r){var o,i,a;return r?(a=n,t=Zo(t=(o=t)===(i=e)?a:o===a?i:o,n,e)):t=Zo(t,e,n),t}function Zo(t,e,n){return"start"===t?e:"end"===t?n:t}function Qo(t,e,n,r){return t?0:Math.max(Math.min(e,r),n)}function Jo(t){var e=Xo(t),n=e.right-e.left,r=e.bottom-e.top,o=function(t,e,n){var r=t.options.borderWidth,o=Ko(t),i=xe(r);return{t:Qo(o.top,i.top,0,n),r:Qo(o.right,i.right,0,e),b:Qo(o.bottom,i.bottom,0,n),l:Qo(o.left,i.left,0,e)}}(t,n/2,r/2),i=function(t,e,n){var r=t.getProps(["enableBorderRadius"]).enableBorderRadius,o=t.options.borderRadius,i=we(o),a=Math.min(e,n),s=Ko(t),l=r||C(o);return{topLeft:Qo(!l||s.top||s.left,i.topLeft,0,a),topRight:Qo(!l||s.top||s.right,i.topRight,0,a),bottomLeft:Qo(!l||s.bottom||s.left,i.bottomLeft,0,a),bottomRight:Qo(!l||s.bottom||s.right,i.bottomRight,0,a)}}(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:i},inner:{x:e.left+o.l,y:e.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,i.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(o.b,o.r))}}}}function ti(t,e,n,r){var o=null===e,i=null===n,a=t&&!(o&&i)&&Xo(t,r);return a&&(o||e>=a.left&&e<=a.right)&&(i||n>=a.top&&n<=a.bottom)}function ei(t,e){t.rect(e.x,e.y,e.w,e.h)}Yo.id="point",Yo.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},Yo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var ni=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this)).options=void 0,r.horizontal=void 0,r.base=void 0,r.width=void 0,r.height=void 0,t&&Object.assign(Object(s.a)(r),t),r}return Object(g.a)(n,[{key:"draw",value:function(t){var e,n=this.options,r=Jo(this),o=r.inner,i=r.outer,a=(e=i.radius).topLeft||e.topRight||e.bottomLeft||e.bottomRight?ve:ei;t.save(),i.w===o.w&&i.h===o.h||(t.beginPath(),a(t,i),t.clip(),a(t,o),t.fillStyle=n.borderColor,t.fill("evenodd")),t.beginPath(),a(t,o),t.fillStyle=n.backgroundColor,t.fill(),t.restore()}},{key:"inRange",value:function(t,e,n){return ti(this,t,e,n)}},{key:"inXRange",value:function(t,e){return ti(this,t,null,e)}},{key:"inYRange",value:function(t,e){return ti(this,null,t,e)}},{key:"getCenterPoint",value:function(t){var e=this.getProps(["x","y","base","horizontal"],t),n=e.x,r=e.y,o=e.base,i=e.horizontal;return{x:i?(n+o)/2:n,y:i?r:(r+o)/2}}},{key:"getRange",value:function(t){return"x"===t?this.width/2:this.height/2}}]),n}(Ur);ni.id="bar",ni.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,enableBorderRadius:!0,pointStyle:void 0},ni.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var ri=Object.freeze({__proto__:null,ArcElement:No,LineElement:qo,PointElement:Yo,BarElement:ni});function oi(t){if(t._decimated){var e=t._data;delete t._decimated,delete t._data,Object.defineProperty(t,"data",{value:e})}}function ii(t){t.data.datasets.forEach((function(t){oi(t)}))}var ai={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:function(t,e,n){if(n.enabled){var r=t.width;t.data.datasets.forEach((function(e,o){var i=e._data,s=e.indexAxis,l=t.getDatasetMeta(o),c=i||e.data;if("y"!==je([s,t.options.indexAxis])&&"line"===l.type){var u=t.scales[l.xAxisID];if(("linear"===u.type||"time"===u.type)&&!t.options.parsing){var d=function(t,e){var n=e.length,r=0,o=t.iScale,i=o.getUserBounds(),a=i.min,s=i.max,l=i.minDefined,c=i.maxDefined;return l&&(r=dt(ke(e,o.axis,a).lo,0,n-1)),{start:r,count:c?dt(ke(e,o.axis,s).hi+1,r,n)-r:n-r}}(l,c),f=d.start,p=d.count;if(p<=4*r)oi(e);else{var h;switch(S(i)&&(e._data=c,delete e.data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(t){this._data=t}})),n.algorithm){case"lttb":h=function(t,e,n,r,o){var i=o.samples||r;if(i>=n)return t.slice(e,e+n);var a,s,l,c,u,d=[],f=(n-2)/(i-2),p=0,h=e+n-1,v=e;for(d[p++]=t[v],a=0;a<i-2;a++){var g=0,m=0,b=void 0,y=Math.floor((a+1)*f)+1+e,x=Math.min(Math.floor((a+2)*f)+1,n)+e,w=x-y;for(b=y;b<x;b++)g+=t[b].x,m+=t[b].y;g/=w,m/=w;var O=Math.floor(a*f)+1+e,S=Math.floor((a+1)*f)+1+e,j=t[v],C=j.x,k=j.y;for(l=c=-1,b=O;b<S;b++)(c=.5*Math.abs((C-g)*(t[b].y-k)-(C-t[b].x)*(m-k)))>l&&(l=c,s=t[b],u=b);d[p++]=s,v=u}return d[p++]=t[h],d}(c,f,p,r,n);break;case"min-max":h=function(t,e,n,r){var o,i,s,l,c,u,d,f,p,h,v=0,g=0,m=[],b=e+n-1,y=t[e].x,x=t[b].x-y;for(o=e;o<e+n;++o){s=((i=t[o]).x-y)/x*r,l=i.y;var w=0|s;if(w===c)l<p?(p=l,u=o):l>h&&(h=l,d=o),v=(g*v+i.x)/++g;else{var O=o-1;if(!S(u)&&!S(d)){var j=Math.min(u,d),C=Math.max(u,d);j!==f&&j!==O&&m.push(Object(a.a)(Object(a.a)({},t[j]),{},{x:v})),C!==f&&C!==O&&m.push(Object(a.a)(Object(a.a)({},t[C]),{},{x:v}))}o>0&&O!==f&&m.push(t[O]),m.push(i),c=w,g=0,p=h=l,u=d=f=o}}return m}(c,f,p,r);break;default:throw new Error("Unsupported decimation algorithm '".concat(n.algorithm,"'"))}e._decimated=h}}}}))}else ii(t)},destroy:function(t){ii(t)}};function si(t,e,n){var r=function(t){var e=t.options,n=e.fill,r=P(n&&n.target,n);return void 0===r&&(r=!!e.backgroundColor),!1!==r&&null!==r&&(!0===r?"origin":r)}(t);if(C(r))return!isNaN(r.value)&&r;var o=parseFloat(r);return k(o)&&Math.floor(o)===o?("-"!==r[0]&&"+"!==r[0]||(o=e+o),!(o===e||o<0||o>=n)&&o):["origin","start","end","stack"].indexOf(r)>=0&&r}var li=function(){function t(e){Object(v.a)(this,t),this.x=e.x,this.y=e.y,this.radius=e.radius}return Object(g.a)(t,[{key:"pathSegment",value:function(t,e,n){var r=this.x,o=this.y,i=this.radius;return e=e||{start:0,end:q},t.arc(r,o,i,e.end,e.start,!0),!n.bounds}},{key:"interpolate",value:function(t){var e=this.x,n=this.y,r=this.radius,o=t.angle;return{x:e+Math.cos(o)*r,y:n+Math.sin(o)*r,angle:o}}}]),t}();function ci(t){return(t.scale||{}).getPointPositionForValue?function(t){var e,n,r,o=t.scale,i=t.fill,a=o.options,s=o.getLabels().length,l=[],c=a.reverse?o.max:o.min,u=a.reverse?o.min:o.max;if(r="start"===i?c:"end"===i?u:C(i)?i.value:o.getBaseValue(),a.grid.circular)return n=o.getPointPositionForValue(0,c),new li({x:n.x,y:n.y,radius:o.getDistanceFromCenterForValue(r)});for(e=0;e<s;++e)l.push(o.getPointPositionForValue(e,r));return l}(t):function(t){var e,n=t.scale,r=void 0===n?{}:n,o=t.fill,i=null;return"start"===o?i=r.bottom:"end"===o?i=r.top:C(o)?i=r.getPixelForValue(o.value):r.getBasePixel&&(i=r.getBasePixel()),k(i)?{x:(e=r.isHorizontal())?i:null,y:e?null:i}:null}(t)}function ui(t,e,n){for(;e>t;e--){var r=n[e];if(!isNaN(r.x)&&!isNaN(r.y))break}return e}function di(t){var e=t.chart,n=t.scale,r=t.index,o=t.line,i=[],a=o.segments,s=o.points,l=function(t,e){for(var n=[],r=t.getSortedVisibleDatasetMetas(),o=0;o<r.length;o++){var i=r[o];if(i.index===e)break;fi(i)&&n.unshift(i.dataset)}return n}(e,r);l.push(vi({x:null,y:n.bottom},o));for(var c=0;c<a.length;c++)for(var u=a[c],d=u.start;d<=u.end;d++)pi(i,s[d],l);return new qo({points:i,options:{}})}var fi=function(t){return"line"===t.type&&!t.hidden};function pi(t,e,n){for(var r=[],o=0;o<n.length;o++){var i=hi(n[o],e,"x"),a=i.first,s=i.last,l=i.point;if(!(!l||a&&s))if(a)r.unshift(l);else if(t.push(l),!s)break}t.push.apply(t,r)}function hi(t,e,n){var r=t.interpolate(e,n);if(!r)return{};for(var o=r[n],i=t.segments,a=t.points,s=!1,l=!1,c=0;c<i.length;c++){var u=i[c],d=a[u.start][n],f=a[u.end][n];if(o>=d&&o<=f){s=o===d,l=o===f;break}}return{first:s,last:l,point:r}}function vi(t,e){var n=[],r=!1;return j(t)?(r=!0,n=t):n=function(t,e){var n=t||{},r=n.x,o=void 0===r?null:r,i=n.y,a=void 0===i?null:i,s=e.points,l=[];return e.segments.forEach((function(t){var e=t.start,n=t.end;n=ui(e,n,s);var r=s[e],i=s[n];null!==a?(l.push({x:r.x,y:a}),l.push({x:i.x,y:a})):null!==o&&(l.push({x:o,y:r.y}),l.push({x:o,y:i.y}))})),l}(t,e),n.length?new qo({points:n,options:{tension:0},_loop:r,_fullLoop:r}):null}function gi(t,e,n){var r,o=t[e].fill,i=[e];if(!n)return o;for(;!1!==o&&-1===i.indexOf(o);){if(!k(o))return o;if(!(r=t[o]))return!1;if(r.visible)return o;i.push(o),o=r.fill}return!1}function mi(t,e,n){t.beginPath(),e.path(t),t.lineTo(e.last().x,n),t.lineTo(e.first().x,n),t.closePath(),t.clip()}function bi(t,e,n,r){if(!r){var o=e[t],i=n[t];return"angle"===t&&(o=ct(o),i=ct(i)),{property:t,start:o,end:i}}}function yi(t,e,n,r){return t&&e?r(t[n],e[n]):t?t[n]:e?e[n]:0}function xi(t,e,n){var r=e.chart.chartArea,o=r.top,i=r.bottom,a=n||{},s=a.property,l=a.start,c=a.end;"x"===s&&(t.beginPath(),t.rect(l,o,c-l,i-o),t.clip())}function wi(t,e,n,r){var o=e.interpolate(n,r);o&&t.lineTo(o.x,o.y)}function Oi(t,e){var n,r=e.line,o=e.target,i=e.property,a=e.color,s=e.scale,l=function(t,e,n){var r,o=t.segments,i=t.points,a=e.points,s=[],l=Object(h.a)(o);try{for(l.s();!(r=l.n()).done;){var c=r.value,u=c.start,d=c.end;d=ui(u,d,i);var f=bi(n,i[u],i[d],c.loop);if(e.segments){var v,g=On(e,f),m=Object(h.a)(g);try{for(m.s();!(v=m.n()).done;){var b,y=v.value,x=bi(n,a[y.start],a[y.end],y.loop),w=wn(c,i,x),O=Object(h.a)(w);try{for(O.s();!(b=O.n()).done;){var S=b.value;s.push({source:S,target:y,start:Object(p.a)({},n,yi(f,x,"start",Math.max)),end:Object(p.a)({},n,yi(f,x,"end",Math.min))})}}catch(j){O.e(j)}finally{O.f()}}}catch(j){m.e(j)}finally{m.f()}}else s.push({source:c,target:f,start:i[u],end:i[d]})}}catch(j){l.e(j)}finally{l.f()}return s}(r,o,i),c=Object(h.a)(l);try{for(c.s();!(n=c.n()).done;){var u=n.value,d=u.source,f=u.target,v=u.start,g=u.end,m=d.style,b=(m=void 0===m?{}:m).backgroundColor,y=void 0===b?a:b;t.save(),t.fillStyle=y,xi(t,s,bi(i,v,g)),t.beginPath();var x=!!r.pathSegment(t,d);x?t.closePath():wi(t,o,g,i);var w=!!o.pathSegment(t,f,{move:x,reverse:!0}),O=x&&w;O||wi(t,o,v,i),t.closePath(),t.fill(O?"evenodd":"nonzero"),t.restore()}}catch(S){c.e(S)}finally{c.f()}}function Si(t,e,n){var r=function(t){var e=t.chart,n=t.fill,r=t.line;if(k(n))return function(t,e){var n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}(e,n);if("stack"===n)return di(t);var o=ci(t);return o instanceof li?o:vi(o,r)}(e),o=e.line,i=e.scale,a=e.axis,s=o.options,l=s.fill,c=s.backgroundColor,u=l||{},d=u.above,f=void 0===d?c:d,p=u.below,h=void 0===p?c:p;r&&o.points.length&&(le(t,n),function(t,e){var n=e.line,r=e.target,o=e.above,i=e.below,a=e.area,s=e.scale,l=n._loop?"angle":e.axis;t.save(),"x"===l&&i!==o&&(mi(t,r,a.top),Oi(t,{line:n,target:r,color:o,scale:s,property:l}),t.restore(),t.save(),mi(t,r,a.bottom)),Oi(t,{line:n,target:r,color:i,scale:s,property:l}),t.restore()}(t,{line:o,target:r,above:f,below:h,area:n,scale:i,axis:a}),ce(t))}var ji={id:"filler",afterDatasetsUpdate:function(t,e,n){var r,o,i,a,s=(t.data.datasets||[]).length,l=[];for(o=0;o<s;++o)a=null,(i=(r=t.getDatasetMeta(o)).dataset)&&i.options&&i instanceof qo&&(a={visible:t.isDatasetVisible(o),index:o,fill:si(i,o,s),chart:t,axis:r.controller.options.indexAxis,scale:r.vScale,line:i}),r.$filler=a,l.push(a);for(o=0;o<s;++o)(a=l[o])&&!1!==a.fill&&(a.fill=gi(l,o,n.propagate))},beforeDraw:function(t,e,n){for(var r="beforeDraw"===n.drawTime,o=t.getSortedVisibleDatasetMetas(),i=t.chartArea,a=o.length-1;a>=0;--a){var s=o[a].$filler;s&&(s.line.updateControlPoints(i,s.axis),r&&Si(t.ctx,s,i))}},beforeDatasetsDraw:function(t,e,n){if("beforeDatasetsDraw"===n.drawTime)for(var r=t.getSortedVisibleDatasetMetas(),o=r.length-1;o>=0;--o){var i=r[o].$filler;i&&Si(t.ctx,i,t.chartArea)}},beforeDatasetDraw:function(t,e,n){var r=e.meta.$filler;r&&!1!==r.fill&&"beforeDatasetDraw"===n.drawTime&&Si(t.ctx,r,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}},Ci=function(t,e){var n=t.boxHeight,r=void 0===n?e:n,o=t.boxWidth,i=void 0===o?e:o;return t.usePointStyle&&(r=Math.min(r,e),i=Math.min(i,e)),{boxWidth:i,boxHeight:r,itemHeight:Math.max(e,r)}},ki=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this))._added=!1,r.legendHitBoxes=[],r._hoveredItem=null,r.doughnutMode=!1,r.chart=t.chart,r.options=t.options,r.ctx=t.ctx,r.legendItems=void 0,r.columnSizes=void 0,r.lineWidths=void 0,r.maxHeight=void 0,r.maxWidth=void 0,r.top=void 0,r.bottom=void 0,r.left=void 0,r.right=void 0,r.height=void 0,r.width=void 0,r._margins=void 0,r.position=void 0,r.weight=void 0,r.fullSize=void 0,r}return Object(g.a)(n,[{key:"update",value:function(t,e,n){var r=this;r.maxWidth=t,r.maxHeight=e,r._margins=n,r.setDimensions(),r.buildLabels(),r.fit()}},{key:"setDimensions",value:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=t._margins.left,t.right=t.width):(t.height=t.maxHeight,t.top=t._margins.top,t.bottom=t.height)}},{key:"buildLabels",value:function(){var t=this,e=t.options.labels||{},n=M(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),e.sort&&(n=n.sort((function(n,r){return e.sort(n,r,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n}},{key:"fit",value:function(){var t=this,e=t.options,n=t.ctx;if(e.display){var r,o,i=e.labels,a=Se(i.font),s=a.size,l=t._computeTitleHeight(),c=Ci(i,s),u=c.boxWidth,d=c.itemHeight;n.font=a.string,t.isHorizontal()?(r=t.maxWidth,o=t._fitRows(l,s,u,d)+10):(o=t.maxHeight,r=t._fitCols(l,s,u,d)+10),t.width=Math.min(r,e.maxWidth||t.maxWidth),t.height=Math.min(o,e.maxHeight||t.maxHeight)}else t.width=t.height=0}},{key:"_fitRows",value:function(t,e,n,r){var o=this,i=o.ctx,a=o.maxWidth,s=o.options.labels.padding,l=o.legendHitBoxes=[],c=o.lineWidths=[0],u=r+s,d=t;i.textAlign="left",i.textBaseline="middle";var f=-1,p=-u;return o.legendItems.forEach((function(t,o){var h=n+e/2+i.measureText(t.text).width;(0===o||c[c.length-1]+h+2*s>a)&&(d+=u,c[c.length-(o>0?0:1)]=0,p+=u,f++),l[o]={left:0,top:p,row:f,width:h,height:r},c[c.length-1]+=h+s})),d}},{key:"_fitCols",value:function(t,e,n,r){var o=this,i=o.ctx,a=o.maxHeight,s=o.options.labels.padding,l=o.legendHitBoxes=[],c=o.columnSizes=[],u=a-t,d=s,f=0,p=0,h=0,v=0;return o.legendItems.forEach((function(t,o){var a=n+e/2+i.measureText(t.text).width;o>0&&p+r+2*s>u&&(d+=f+s,c.push({width:f,height:p}),h+=f+s,v++,f=p=0),l[o]={left:h,top:p,col:v,width:a,height:r},f=Math.max(f,a),p+=r+s})),d+=f,c.push({width:f,height:p}),d}},{key:"adjustHitBoxes",value:function(){var t=this;if(t.options.display){var e=t._computeTitleHeight(),n=t.legendHitBoxes,r=t.options,o=r.align,a=r.labels.padding,s=r.rtl;if(this.isHorizontal()){var l,c=0,u=x(o,t.left+a,t.right-t.lineWidths[c]),d=Object(h.a)(n);try{for(d.s();!(l=d.n()).done;){var f=l.value;c!==f.row&&(c=f.row,u=x(o,t.left+a,t.right-t.lineWidths[c])),f.top+=t.top+e+a,f.left=u,u+=f.width+a}}catch(O){d.e(O)}finally{d.f()}if(s){var p=n.reduce((function(t,e){return t[e.row]=t[e.row]||[],t[e.row].push(e),t}),{}),v=[];Object.keys(p).forEach((function(t){p[t].reverse(),v.push.apply(v,Object(i.a)(p[t]))})),t.legendHitBoxes=v}}else{var g,m=0,b=x(o,t.top+e+a,t.bottom-t.columnSizes[m].height),y=Object(h.a)(n);try{for(y.s();!(g=y.n()).done;){var w=g.value;w.col!==m&&(m=w.col,b=x(o,t.top+e+a,t.bottom-t.columnSizes[m].height)),w.top=b,w.left+=t.left+a,b+=w.height+a}}catch(O){y.e(O)}finally{y.f()}}}}},{key:"isHorizontal",value:function(){return"top"===this.options.position||"bottom"===this.options.position}},{key:"draw",value:function(){var t=this;if(t.options.display){var e=t.ctx;le(e,t),t._draw(),ce(e)}}},{key:"_draw",value:function(){var t,e=this,n=e.options,r=e.columnSizes,o=e.lineWidths,i=e.ctx,a=n.align,s=n.labels,l=ee.color,c=gn(n.rtl,e.left,e.width),u=Se(s.font),d=s.color,f=s.padding,p=u.size,h=p/2;e.drawTitle(),i.textAlign=c.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=u.string;var v=Ci(s,p),g=v.boxWidth,m=v.boxHeight,b=v.itemHeight,y=e.isHorizontal(),w=this._computeTitleHeight();t=y?{x:x(a,e.left+f,e.right-o[0]),y:e.top+f+w,line:0}:{x:e.left+f,y:x(a,e.top+w+f,e.bottom-r[0].height),line:0},mn(e.ctx,n.textDirection);var O=b+f;e.legendItems.forEach((function(v,S){i.strokeStyle=v.fontColor||d,i.fillStyle=v.fontColor||d;var j=i.measureText(v.text).width,C=c.textAlign(v.textAlign||(v.textAlign=s.textAlign)),k=g+h+j,E=t.x,_=t.y;c.setWidth(e.width),y?S>0&&E+k+f>e.right&&(_=t.y+=O,t.line++,E=t.x=x(a,e.left+f,e.right-o[t.line])):S>0&&_+O>e.bottom&&(E=t.x=E+r[t.line].width+f,t.line++,_=t.y=x(a,e.top+w+f,e.bottom-r[t.line].height)),function(t,e,n){if(!(isNaN(g)||g<=0||isNaN(m)||m<0)){i.save();var r=P(n.lineWidth,1);if(i.fillStyle=P(n.fillStyle,l),i.lineCap=P(n.lineCap,"butt"),i.lineDashOffset=P(n.lineDashOffset,0),i.lineJoin=P(n.lineJoin,"miter"),i.lineWidth=r,i.strokeStyle=P(n.strokeStyle,l),i.setLineDash(P(n.lineDash,[])),s.usePointStyle){var o={radius:g*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},a=c.xPlus(t,g/2);ae(i,o,a,e+h)}else{var u=e+Math.max((p-m)/2,0),d=c.leftForLtr(t,g),f=we(n.borderRadius);i.beginPath(),Object.values(f).some((function(t){return 0!==t}))?ve(i,{x:d,y:u,w:g,h:m,radius:f}):i.rect(d,u,g,m),i.fill(),0!==r&&i.stroke()}i.restore()}}(c.x(E),_,v),E=function(t,e,n,r){return t===(r?"left":"right")?n:"center"===t?(e+n)/2:e}(C,E+g+h,y?E+k:e.right,n.rtl),function(t,e,n){fe(i,n.text,t,e+b/2,u,{strikethrough:n.hidden,textAlign:c.textAlign(n.textAlign)})}(c.x(E),_,v),y?t.x+=k+f:t.y+=O})),bn(e.ctx,n.textDirection)}},{key:"drawTitle",value:function(){var t=this,e=t.options,n=e.title,r=Se(n.font),o=Oe(n.padding);if(n.display){var a,s=gn(e.rtl,t.left,t.width),l=t.ctx,c=n.position,u=r.size/2,d=o.top+u,f=t.left,p=t.width;if(this.isHorizontal())p=Math.max.apply(Math,Object(i.a)(t.lineWidths)),a=t.top+d,f=x(e.align,f,t.right-p);else{var h=t.columnSizes.reduce((function(t,e){return Math.max(t,e.height)}),0);a=d+x(e.align,t.top,t.bottom-h-e.labels.padding-t._computeTitleHeight())}var v=x(c,f,f+p);l.textAlign=s.textAlign(y(c)),l.textBaseline="middle",l.strokeStyle=n.color,l.fillStyle=n.color,l.font=r.string,fe(l,n.text,v,a,r)}}},{key:"_computeTitleHeight",value:function(){var t=this.options.title,e=Se(t.font),n=Oe(t.padding);return t.display?e.lineHeight+n.height:0}},{key:"_getLegendItemAt",value:function(t,e){var n,r,o,i=this;if(t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom)for(o=i.legendHitBoxes,n=0;n<o.length;++n)if(t>=(r=o[n]).left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height)return i.legendItems[n];return null}},{key:"handleEvent",value:function(t){var e=this,n=e.options;if(function(t,e){if("mousemove"===t&&(e.onHover||e.onLeave))return!0;if(e.onClick&&("click"===t||"mouseup"===t))return!0;return!1}(t.type,n)){var r,o,i=e._getLegendItemAt(t.x,t.y);if("mousemove"===t.type){var a=e._hoveredItem,s=(o=i,null!==(r=a)&&null!==o&&r.datasetIndex===o.datasetIndex&&r.index===o.index);a&&!s&&M(n.onLeave,[t,a,e],e),e._hoveredItem=i,i&&!s&&M(n.onHover,[t,i,e],e)}else i&&M(n.onClick,[t,i,e],e)}}}]),n}(Ur);var Ei={id:"legend",_element:ki,start:function(t,e,n){var r=t.legend=new ki({ctx:t.ctx,options:n,chart:t});kr(t,r,n),jr(t,r)},stop:function(t){Cr(t,t.legend),delete t.legend},beforeUpdate:function(t,e,n){var r=t.legend;kr(t,r,n),r.options=n},afterUpdate:function(t){var e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent:function(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick:function(t,e,n){var r=e.datasetIndex,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),e.hidden=!0):(o.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:function(t){return t.chart.options.color},boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.legend.options.labels,r=n.usePointStyle,o=n.pointStyle,i=n.textAlign,a=n.color;return t._getSortedDatasetMetas().map((function(t){var n=t.controller.getStyle(r?0:void 0),s=Oe(n.borderWidth);return{text:e[t.index].label,fillStyle:n.backgroundColor,fontColor:a,hidden:!t.visible,lineCap:n.borderCapStyle,lineDash:n.borderDash,lineDashOffset:n.borderDashOffset,lineJoin:n.borderJoinStyle,lineWidth:(s.width+s.height)/4,strokeStyle:n.borderColor,pointStyle:o||n.pointStyle,rotation:n.rotation,textAlign:i||n.textAlign,borderRadius:0,datasetIndex:t.index}}),this)}},title:{color:function(t){return t.chart.options.color},display:!1,position:"center",text:""}},descriptors:{_scriptable:function(t){return!t.startsWith("on")},labels:{_scriptable:function(t){return!["generateLabels","filter","sort"].includes(t)}}}},Pi=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this)).chart=t.chart,r.options=t.options,r.ctx=t.ctx,r._padding=void 0,r.top=void 0,r.bottom=void 0,r.left=void 0,r.right=void 0,r.width=void 0,r.height=void 0,r.position=void 0,r.weight=void 0,r.fullSize=void 0,r}return Object(g.a)(n,[{key:"update",value:function(t,e){var n=this,r=n.options;if(n.left=0,n.top=0,r.display){n.width=n.right=t,n.height=n.bottom=e;var o=j(r.text)?r.text.length:1;n._padding=Oe(r.padding);var i=o*Se(r.font).lineHeight+n._padding.height;n.isHorizontal()?n.height=i:n.width=i}else n.width=n.height=n.right=n.bottom=0}},{key:"isHorizontal",value:function(){var t=this.options.position;return"top"===t||"bottom"===t}},{key:"_drawArgs",value:function(t){var e,n,r,o=this.top,i=this.left,a=this.bottom,s=this.right,l=this.options,c=l.align,u=0;return this.isHorizontal()?(n=x(c,i,s),r=o+t,e=s-i):("left"===l.position?(n=i+t,r=x(c,a,o),u=-.5*W):(n=s-t,r=x(c,o,a),u=.5*W),e=a-o),{titleX:n,titleY:r,maxWidth:e,rotation:u}}},{key:"draw",value:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var r=Se(n.font),o=r.lineHeight/2+t._padding.top,i=t._drawArgs(o),a=i.titleX,s=i.titleY,l=i.maxWidth,c=i.rotation;fe(e,n.text,0,0,r,{color:n.color,maxWidth:l,rotation:c,textAlign:y(n.align),textBaseline:"middle",translation:[a,s]})}}}]),n}(Ur);var _i={id:"title",_element:Pi,start:function(t,e,n){!function(t,e){var n=new Pi({ctx:t.ctx,options:e,chart:t});kr(t,n,e),jr(t,n),t.titleBlock=n}(t,n)},stop:function(t){var e=t.titleBlock;Cr(t,e),delete t.titleBlock},beforeUpdate:function(t,e,n){var r=t.titleBlock;kr(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Mi=new WeakMap,Ti={id:"subtitle",start:function(t,e,n){var r=new Pi({ctx:t.ctx,options:n,chart:t});kr(t,r,n),jr(t,r),Mi.set(t,r)},stop:function(t){Cr(t,Mi.get(t)),Mi.delete(t)},beforeUpdate:function(t,e,n){var r=Mi.get(t);kr(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}},Ai={average:function(t){if(!t.length)return!1;var e,n,r=0,o=0,i=0;for(e=0,n=t.length;e<n;++e){var a=t[e].element;if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,o+=s.y,++i}}return{x:r/i,y:o/i}},nearest:function(t,e){if(!t.length)return!1;var n,r,o,i=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,r=t.length;n<r;++n){var l=t[n].element;if(l&&l.hasValue()){var c=st(e,l.getCenterPoint());c<s&&(s=c,o=l)}}if(o){var u=o.tooltipPosition();i=u.x,a=u.y}return{x:i,y:a}}};function Ri(t,e){return e&&(j(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function Di(t){return("string"===typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Ii(t,e){var n=e.element,r=e.datasetIndex,o=e.index,i=t.getDatasetMeta(r).controller,a=i.getLabelAndValue(o),s=a.label,l=a.value;return{chart:t,label:s,parsed:i.getParsed(o),raw:t.data.datasets[r].data[o],formattedValue:l,dataset:i.getDataset(),dataIndex:o,datasetIndex:r,element:n}}function Ni(t,e){var n=t._chart.ctx,r=t.body,o=t.footer,i=t.title,a=e.boxWidth,s=e.boxHeight,l=Se(e.bodyFont),c=Se(e.titleFont),u=Se(e.footerFont),d=i.length,f=o.length,p=r.length,h=Oe(e.padding),v=h.height,g=0,m=r.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);(m+=t.beforeBody.length+t.afterBody.length,d&&(v+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),m)&&(v+=p*(e.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(m-p)*l.lineHeight+(m-1)*e.bodySpacing);f&&(v+=e.footerMarginTop+f*u.lineHeight+(f-1)*e.footerSpacing);var b=0,y=function(t){g=Math.max(g,n.measureText(t).width+b)};return n.save(),n.font=c.string,T(t.title,y),n.font=l.string,T(t.beforeBody.concat(t.afterBody),y),b=e.displayColors?a+2:0,T(r,(function(t){T(t.before,y),T(t.lines,y),T(t.after,y)})),b=0,n.font=u.string,T(t.footer,y),n.restore(),{width:g+=h.width,height:v}}function Li(t,e,n,r){var o=n.x,i=n.width,a=t.width,s=t.chartArea,l=s.left,c=s.right,u="center";return"center"===r?u=o<=(l+c)/2?"left":"right":o<=i/2?u="left":o>=a-i/2&&(u="right"),function(t,e,n,r){var o=r.x,i=r.width,a=n.caretSize+n.caretPadding;return"left"===t&&o+i+a>e.width||"right"===t&&o-i-a<0||void 0}(u,t,e,n)&&(u="center"),u}function Fi(t,e,n){var r=e.yAlign||function(t,e){var n=e.y,r=e.height;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}(t,n);return{xAlign:e.xAlign||Li(t,e,n,r),yAlign:r}}function Bi(t,e,n,r){var o=t.caretSize,i=t.caretPadding,a=t.cornerRadius,s=n.xAlign,l=n.yAlign,c=o+i,u=a+i,d=function(t,e){var n=t.x,r=t.width;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}(e,s),f=function(t,e,n){var r=t.y,o=t.height;return"top"===e?r+=n:r-="bottom"===e?o+n:o/2,r}(e,l,c);return"center"===l?"left"===s?d+=c:"right"===s&&(d-=c):"left"===s?d-=u:"right"===s&&(d+=u),{x:dt(d,0,r.width-e.width),y:dt(f,0,r.height-e.height)}}function zi(t,e,n){var r=Oe(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function Hi(t){return Ri([],Di(t))}function Vi(t,e){var n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}var Ui=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this)).opacity=0,r._active=[],r._chart=t._chart,r._eventPosition=void 0,r._size=void 0,r._cachedAnimations=void 0,r._tooltipItems=[],r.$animations=void 0,r.$context=void 0,r.options=t.options,r.dataPoints=void 0,r.title=void 0,r.beforeBody=void 0,r.body=void 0,r.afterBody=void 0,r.footer=void 0,r.xAlign=void 0,r.yAlign=void 0,r.x=void 0,r.y=void 0,r.height=void 0,r.width=void 0,r.caretX=void 0,r.caretY=void 0,r.labelColors=void 0,r.labelPointStyles=void 0,r.labelTextColors=void 0,r}return Object(g.a)(n,[{key:"initialize",value:function(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}},{key:"_resolveAnimations",value:function(){var t=this,e=t._cachedAnimations;if(e)return e;var n=t._chart,r=t.options.setContext(t.getContext()),o=r.enabled&&n.options.animation&&r.animations,i=new An(t._chart,o);return o._cacheable&&(t._cachedAnimations=Object.freeze(i)),i}},{key:"getContext",value:function(){var t,e,n,r=this;return r.$context||(r.$context=(t=r._chart.getContext(),e=r,n=r._tooltipItems,Object.assign(Object.create(t),{tooltip:e,tooltipItems:n,type:"tooltip"})))}},{key:"getTitle",value:function(t,e){var n=this,r=e.callbacks,o=r.beforeTitle.apply(n,[t]),i=r.title.apply(n,[t]),a=r.afterTitle.apply(n,[t]),s=[];return s=Ri(s,Di(o)),s=Ri(s,Di(i)),s=Ri(s,Di(a))}},{key:"getBeforeBody",value:function(t,e){return Hi(e.callbacks.beforeBody.apply(this,[t]))}},{key:"getBody",value:function(t,e){var n=this,r=e.callbacks,o=[];return T(t,(function(t){var e={before:[],lines:[],after:[]},i=Vi(r,t);Ri(e.before,Di(i.beforeLabel.call(n,t))),Ri(e.lines,i.label.call(n,t)),Ri(e.after,Di(i.afterLabel.call(n,t))),o.push(e)})),o}},{key:"getAfterBody",value:function(t,e){return Hi(e.callbacks.afterBody.apply(this,[t]))}},{key:"getFooter",value:function(t,e){var n=this,r=e.callbacks,o=r.beforeFooter.apply(n,[t]),i=r.footer.apply(n,[t]),a=r.afterFooter.apply(n,[t]),s=[];return s=Ri(s,Di(o)),s=Ri(s,Di(i)),s=Ri(s,Di(a))}},{key:"_createItems",value:function(t){var e,n,r=this,o=r._active,i=r._chart.data,a=[],s=[],l=[],c=[];for(e=0,n=o.length;e<n;++e)c.push(Ii(r._chart,o[e]));return t.filter&&(c=c.filter((function(e,n,r){return t.filter(e,n,r,i)}))),t.itemSort&&(c=c.sort((function(e,n){return t.itemSort(e,n,i)}))),T(c,(function(e){var n=Vi(t.callbacks,e);a.push(n.labelColor.call(r,e)),s.push(n.labelPointStyle.call(r,e)),l.push(n.labelTextColor.call(r,e))})),r.labelColors=a,r.labelPointStyles=s,r.labelTextColors=l,r.dataPoints=c,c}},{key:"update",value:function(t,e){var n,r=this,o=r.options.setContext(r.getContext()),i=r._active,a=[];if(i.length){var s=Ai[o.position].call(r,i,r._eventPosition);a=r._createItems(o),r.title=r.getTitle(a,o),r.beforeBody=r.getBeforeBody(a,o),r.body=r.getBody(a,o),r.afterBody=r.getAfterBody(a,o),r.footer=r.getFooter(a,o);var l=r._size=Ni(r,o),c=Object.assign({},s,l),u=Fi(r._chart,o,c),d=Bi(o,c,u,r._chart);r.xAlign=u.xAlign,r.yAlign=u.yAlign,n={opacity:1,x:d.x,y:d.y,width:l.width,height:l.height,caretX:s.x,caretY:s.y}}else 0!==r.opacity&&(n={opacity:0});r._tooltipItems=a,r.$context=void 0,n&&r._resolveAnimations().update(r,n),t&&o.external&&o.external.call(r,{chart:r._chart,tooltip:r,replay:e})}},{key:"drawCaret",value:function(t,e,n,r){var o=this.getCaretPosition(t,n,r);e.lineTo(o.x1,o.y1),e.lineTo(o.x2,o.y2),e.lineTo(o.x3,o.y3)}},{key:"getCaretPosition",value:function(t,e,n){var r,o,i,a,s,l,c=this.xAlign,u=this.yAlign,d=n.cornerRadius,f=n.caretSize,p=t.x,h=t.y,v=e.width,g=e.height;return"center"===u?(s=h+g/2,"left"===c?(o=(r=p)-f,a=s+f,l=s-f):(o=(r=p+v)+f,a=s-f,l=s+f),i=r):(o="left"===c?p+d+f:"right"===c?p+v-d-f:this.caretX,"top"===u?(s=(a=h)-f,r=o-f,i=o+f):(s=(a=h+g)+f,r=o+f,i=o-f),l=a),{x1:r,x2:o,x3:i,y1:a,y2:s,y3:l}}},{key:"drawTitle",value:function(t,e,n){var r,o,i,a=this,s=a.title,l=s.length;if(l){var c=gn(n.rtl,a.x,a.width);for(t.x=zi(a,n.titleAlign,n),e.textAlign=c.textAlign(n.titleAlign),e.textBaseline="middle",r=Se(n.titleFont),o=n.titleSpacing,e.fillStyle=n.titleColor,e.font=r.string,i=0;i<l;++i)e.fillText(s[i],c.x(t.x),t.y+r.lineHeight/2),t.y+=r.lineHeight+o,i+1===l&&(t.y+=n.titleMarginBottom-o)}}},{key:"_drawColorBox",value:function(t,e,n,r,o){var i=this,a=i.labelColors[n],s=i.labelPointStyles[n],l=o.boxHeight,c=o.boxWidth,u=Se(o.bodyFont),d=zi(i,"left",o),f=r.x(d),p=l<u.lineHeight?(u.lineHeight-l)/2:0,h=e.y+p;if(o.usePointStyle){var v={radius:Math.min(c,l)/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:1},g=r.leftForLtr(f,c)+c/2,m=h+l/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,ae(t,v,g,m),t.strokeStyle=a.borderColor,t.fillStyle=a.backgroundColor,ae(t,v,g,m)}else{t.lineWidth=a.borderWidth||1,t.strokeStyle=a.borderColor,t.setLineDash(a.borderDash||[]),t.lineDashOffset=a.borderDashOffset||0;var b=r.leftForLtr(f,c),y=r.leftForLtr(r.xPlus(f,1),c-2),x=we(a.borderRadius);Object.values(x).some((function(t){return 0!==t}))?(t.beginPath(),t.fillStyle=o.multiKeyBackground,ve(t,{x:b,y:h,w:c,h:l,radius:x}),t.fill(),t.stroke(),t.fillStyle=a.backgroundColor,t.beginPath(),ve(t,{x:y,y:h+1,w:c-2,h:l-2,radius:x}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(b,h,c,l),t.strokeRect(b,h,c,l),t.fillStyle=a.backgroundColor,t.fillRect(y,h+1,c-2,l-2))}t.fillStyle=i.labelTextColors[n]}},{key:"drawBody",value:function(t,e,n){var r,o,i,a,s,l,c,u=this,d=u.body,f=n.bodySpacing,p=n.bodyAlign,h=n.displayColors,v=n.boxHeight,g=n.boxWidth,m=Se(n.bodyFont),b=m.lineHeight,y=0,x=gn(n.rtl,u.x,u.width),w=function(n){e.fillText(n,x.x(t.x+y),t.y+b/2),t.y+=b+f},O=x.textAlign(p);for(e.textAlign=p,e.textBaseline="middle",e.font=m.string,t.x=zi(u,O,n),e.fillStyle=n.bodyColor,T(u.beforeBody,w),y=h&&"right"!==O?"center"===p?g/2+1:g+2:0,a=0,l=d.length;a<l;++a){for(r=d[a],o=u.labelTextColors[a],e.fillStyle=o,T(r.before,w),i=r.lines,h&&i.length&&(u._drawColorBox(e,t,a,x,n),b=Math.max(m.lineHeight,v)),s=0,c=i.length;s<c;++s)w(i[s]),b=m.lineHeight;T(r.after,w)}y=0,b=m.lineHeight,T(u.afterBody,w),t.y-=f}},{key:"drawFooter",value:function(t,e,n){var r,o,i=this,a=i.footer,s=a.length;if(s){var l=gn(n.rtl,i.x,i.width);for(t.x=zi(i,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=l.textAlign(n.footerAlign),e.textBaseline="middle",r=Se(n.footerFont),e.fillStyle=n.footerColor,e.font=r.string,o=0;o<s;++o)e.fillText(a[o],l.x(t.x),t.y+r.lineHeight/2),t.y+=r.lineHeight+n.footerSpacing}}},{key:"drawBackground",value:function(t,e,n,r){var o=this.xAlign,i=this.yAlign,a=t.x,s=t.y,l=n.width,c=n.height,u=r.cornerRadius;e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(a+u,s),"top"===i&&this.drawCaret(t,e,n,r),e.lineTo(a+l-u,s),e.quadraticCurveTo(a+l,s,a+l,s+u),"center"===i&&"right"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+l,s+c-u),e.quadraticCurveTo(a+l,s+c,a+l-u,s+c),"bottom"===i&&this.drawCaret(t,e,n,r),e.lineTo(a+u,s+c),e.quadraticCurveTo(a,s+c,a,s+c-u),"center"===i&&"left"===o&&this.drawCaret(t,e,n,r),e.lineTo(a,s+u),e.quadraticCurveTo(a,s,a+u,s),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}},{key:"_updateAnimationTarget",value:function(t){var e=this,n=e._chart,r=e.$animations,o=r&&r.x,i=r&&r.y;if(o||i){var a=Ai[t.position].call(e,e._active,e._eventPosition);if(!a)return;var s=e._size=Ni(e,t),l=Object.assign({},a,e._size),c=Fi(n,t,l),u=Bi(t,l,c,n);o._to===u.x&&i._to===u.y||(e.xAlign=c.xAlign,e.yAlign=c.yAlign,e.width=s.width,e.height=s.height,e.caretX=a.x,e.caretY=a.y,e._resolveAnimations().update(e,u))}}},{key:"draw",value:function(t){var e=this,n=e.options.setContext(e.getContext()),r=e.opacity;if(r){e._updateAnimationTarget(n);var o={width:e.width,height:e.height},i={x:e.x,y:e.y};r=Math.abs(r)<.001?0:r;var a=Oe(n.padding),s=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;n.enabled&&s&&(t.save(),t.globalAlpha=r,e.drawBackground(i,t,o,n),mn(t,n.textDirection),i.y+=a.top,e.drawTitle(i,t,n),e.drawBody(i,t,n),e.drawFooter(i,t,n),bn(t,n.textDirection),t.restore())}}},{key:"getActiveElements",value:function(){return this._active||[]}},{key:"setActiveElements",value:function(t,e){var n=this,r=n._active,o=t.map((function(t){var e=t.datasetIndex,r=t.index,o=n._chart.getDatasetMeta(e);if(!o)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:o.data[r],index:r}})),i=!A(r,o),a=n._positionChanged(o,e);(i||a)&&(n._active=o,n._eventPosition=e,n.update(!0))}},{key:"handleEvent",value:function(t,e){var n,r=this,o=r.options,i=r._active||[],a=[];"mouseout"!==t.type&&(a=r._chart.getElementsAtEventForMode(t,o.mode,o,e),o.reverse&&a.reverse());var s=r._positionChanged(a,t);return(n=e||!A(a,i)||s)&&(r._active=a,(o.enabled||o.external)&&(r._eventPosition={x:t.x,y:t.y},r.update(!0,e))),n}},{key:"_positionChanged",value:function(t,e){var n=this.caretX,r=this.caretY,o=this.options,i=Ai[o.position].call(this,t,e);return!1!==i&&(n!==i.x||r!==i.y)}}]),n}(Ur);Ui.positioners=Ai;var Wi={id:"tooltip",_element:Ui,positioners:Ai,afterInit:function(t,e,n){n&&(t.tooltip=new Ui({_chart:t,options:n}))},beforeUpdate:function(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset:function(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw:function(t){var e=t.tooltip,n={tooltip:e};!1!==t.notifyPlugins("beforeTooltipDraw",n)&&(e&&e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n))},afterEvent:function(t,e){if(t.tooltip){var n=e.replay;t.tooltip.handleEvent(e.event,n)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:function(t,e){return e.bodyFont.size},boxWidth:function(t,e){return e.bodyFont.size},multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:w,title:function(t){if(t.length>0){var e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:w,beforeBody:w,beforeLabel:w,label:function(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;var e=t.dataset.label||"";e&&(e+=": ");var n=t.formattedValue;return S(n)||(e+=n),e},labelColor:function(t){var e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor:function(){return this.options.bodyColor},labelPointStyle:function(t){var e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:w,afterBody:w,beforeFooter:w,footer:w,afterFooter:w}},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:function(t){return"filter"!==t&&"itemSort"!==t&&"external"!==t},_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},qi=Object.freeze({__proto__:null,Decimation:ai,Filler:ji,Legend:Ei,SubTitle:Ti,Title:_i,Tooltip:Wi});function Gi(t,e,n){var r=t.indexOf(e);return-1===r?function(t,e,n){return"string"===typeof e?t.push(e)-1:isNaN(e)?null:n}(t,e,n):r!==t.lastIndexOf(e)?n:r}var Yi=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this,t))._startValue=void 0,r._valueRange=0,r}return Object(g.a)(n,[{key:"parse",value:function(t,e){if(S(t))return null;var n=this.getLabels();return function(t,e){return null===t?null:dt(Math.round(t),0,e)}(e=isFinite(e)&&n[e]===t?e:Gi(n,t,P(e,t)),n.length-1)}},{key:"determineDataLimits",value:function(){var t=this,e=t.getUserBounds(),n=e.minDefined,r=e.maxDefined,o=t.getMinMax(!0),i=o.min,a=o.max;"ticks"===t.options.bounds&&(n||(i=0),r||(a=t.getLabels().length-1)),t.min=i,t.max=a}},{key:"buildTicks",value:function(){var t=this,e=t.min,n=t.max,r=t.options.offset,o=[],i=t.getLabels();i=0===e&&n===i.length-1?i:i.slice(e,n+1),t._valueRange=Math.max(i.length-(r?0:1),1),t._startValue=t.min-(r?.5:0);for(var a=e;a<=n;a++)o.push({value:a});return o}},{key:"getLabelForValue",value:function(t){var e=this.getLabels();return t>=0&&t<e.length?e[t]:t}},{key:"configure",value:function(){var t=this;Object(l.a)(Object(c.a)(n.prototype),"configure",this).call(this),t.isHorizontal()||(t._reversePixels=!t._reversePixels)}},{key:"getPixelForValue",value:function(t){var e=this;return"number"!==typeof t&&(t=e.parse(t)),null===t?NaN:e.getPixelForDecimal((t-e._startValue)/e._valueRange)}},{key:"getPixelForTick",value:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}},{key:"getValueForPixel",value:function(t){var e=this;return Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange)}},{key:"getBasePixel",value:function(){return this.bottom}}]),n}(to);function Xi(t,e){var n,r,o,i,a=[],s=t.bounds,l=t.step,c=t.min,u=t.max,d=t.precision,f=t.count,p=t.maxTicks,h=t.maxDigits,v=t.includeBounds,g=l||1,m=p-1,b=e.min,y=e.max,x=!S(c),w=!S(u),O=!S(f),j=(y-b)/(h+1),C=tt((y-b)/m/g)*g;if(C<1e-14&&!x&&!w)return[{value:b},{value:y}];(i=Math.ceil(y/C)-Math.floor(b/C))>m&&(C=tt(i*C/m/g)*g),S(d)||(n=Math.pow(10,d),C=Math.ceil(C*n)/n),"ticks"===s?(r=Math.floor(b/C)*C,o=Math.ceil(y/C)*C):(r=b,o=y),x&&w&&l&&function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t}((u-c)/l,C/1e3)?(C=(u-c)/(i=Math.round(Math.min((u-c)/C,p))),r=c,o=u):O?C=((o=w?u:o)-(r=x?c:r))/(i=f-1):i=nt(i=(o-r)/C,Math.round(i),C/1e3)?Math.round(i):Math.ceil(i);var k=Math.max(at(C),at(r));n=Math.pow(10,S(d)?k:d),r=Math.round(r*n)/n,o=Math.round(o*n)/n;var E=0;for(x&&(v&&r!==c?(a.push({value:c}),r<c&&E++,nt(Math.round((r+E*C)*n)/n,c,Ki(c,j,t))&&E++):r<c&&E++);E<i;++E)a.push({value:Math.round((r+E*C)*n)/n});return w&&v&&o!==u?nt(a[a.length-1].value,u,Ki(u,j,t))?a[a.length-1].value=u:a.push({value:u}):w&&o!==u||a.push({value:o}),a}function Ki(t,e,n){var r=n.horizontal,o=ot(n.minRotation),i=(r?Math.sin(o):Math.cos(o))||.001,a=.75*e*(""+t).length;return Math.min(e/i,a)}Yi.id="category",Yi.defaults={ticks:{callback:Yi.prototype.getLabelForValue}};var $i=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this,t)).start=void 0,r.end=void 0,r._startValue=void 0,r._endValue=void 0,r._valueRange=0,r}return Object(g.a)(n,[{key:"parse",value:function(t,e){return S(t)||("number"===typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}},{key:"handleTickRangeOptions",value:function(){var t=this,e=t.options.beginAtZero,n=t.getUserBounds(),r=n.minDefined,o=n.maxDefined,i=t.min,a=t.max,s=function(t){return i=r?i:t},l=function(t){return a=o?a:t};if(e){var c=J(i),u=J(a);c<0&&u<0?l(0):c>0&&u>0&&s(0)}i===a&&(l(a+1),e||s(i-1)),t.min=i,t.max=a}},{key:"getTickLimit",value:function(){var t,e=this,n=e.options.ticks,r=n.maxTicksLimit,o=n.stepSize;return o?t=Math.ceil(e.max/o)-Math.floor(e.min/o)+1:(t=e.computeTickLimit(),r=r||11),r&&(t=Math.min(r,t)),t}},{key:"computeTickLimit",value:function(){return Number.POSITIVE_INFINITY}},{key:"buildTicks",value:function(){var t=this,e=t.options,n=e.ticks,r=t.getTickLimit(),o=Xi({maxTicks:r=Math.max(2,r),bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:t._maxDigits(),horizontal:t.isHorizontal(),minRotation:n.minRotation||0,includeBounds:!1!==n.includeBounds},t._range||t);return"ticks"===e.bounds&&rt(o,t,"value"),e.reverse?(o.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),o}},{key:"configure",value:function(){var t=this,e=t.ticks,r=t.min,o=t.max;if(Object(l.a)(Object(c.a)(n.prototype),"configure",this).call(this),t.options.offset&&e.length){var i=(o-r)/Math.max(e.length-1,1)/2;r-=i,o+=i}t._startValue=r,t._endValue=o,t._valueRange=o-r}},{key:"getLabelForValue",value:function(t){return vn(t,this.chart.options.locale)}}]),n}(to),Zi=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(){return Object(v.a)(this,n),e.apply(this,arguments)}return Object(g.a)(n,[{key:"determineDataLimits",value:function(){var t=this,e=t.getMinMax(!0),n=e.min,r=e.max;t.min=k(n)?n:0,t.max=k(r)?r:1,t.handleTickRangeOptions()}},{key:"computeTickLimit",value:function(){var t=this,e=t.isHorizontal(),n=e?t.width:t.height,r=ot(t.options.ticks.minRotation),o=(e?Math.sin(r):Math.cos(r))||.001,i=t._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/o))}},{key:"getPixelForValue",value:function(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}},{key:"getValueForPixel",value:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}]),n}($i);function Qi(t){return 1===t/Math.pow(10,Math.floor(Q(t)))}Zi.id="linear",Zi.defaults={ticks:{callback:qr.formatters.numeric}};var Ji=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this,t)).start=void 0,r.end=void 0,r._startValue=void 0,r._valueRange=0,r}return Object(g.a)(n,[{key:"parse",value:function(t,e){var n=$i.prototype.parse.apply(this,[t,e]);if(0!==n)return k(n)&&n>0?n:null;this._zero=!0}},{key:"determineDataLimits",value:function(){var t=this,e=t.getMinMax(!0),n=e.min,r=e.max;t.min=k(n)?Math.max(0,n):null,t.max=k(r)?Math.max(0,r):null,t.options.beginAtZero&&(t._zero=!0),t.handleTickRangeOptions()}},{key:"handleTickRangeOptions",value:function(){var t=this,e=t.getUserBounds(),n=e.minDefined,r=e.maxDefined,o=t.min,i=t.max,a=function(t){return o=n?o:t},s=function(t){return i=r?i:t},l=function(t,e){return Math.pow(10,Math.floor(Q(t))+e)};o===i&&(o<=0?(a(1),s(10)):(a(l(o,-1)),s(l(i,1)))),o<=0&&a(l(i,-1)),i<=0&&s(l(o,1)),t._zero&&t.min!==t._suggestedMin&&o===l(t.min,0)&&a(l(o,-1)),t.min=o,t.max=i}},{key:"buildTicks",value:function(){var t=this,e=t.options,n=function(t,e){var n=Math.floor(Q(e.max)),r=Math.ceil(e.max/Math.pow(10,n)),o=[],i=E(t.min,Math.pow(10,Math.floor(Q(e.min)))),a=Math.floor(Q(i)),s=Math.floor(i/Math.pow(10,a)),l=a<0?Math.pow(10,Math.abs(a)):1;do{o.push({value:i,major:Qi(i)}),10===++s&&(s=1,l=++a>=0?1:l),i=Math.round(s*Math.pow(10,a)*l)/l}while(a<n||a===n&&s<r);var c=E(t.max,i);return o.push({value:c,major:Qi(i)}),o}({min:t._userMin,max:t._userMax},t);return"ticks"===e.bounds&&rt(n,t,"value"),e.reverse?(n.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n}},{key:"getLabelForValue",value:function(t){return void 0===t?"0":vn(t,this.chart.options.locale)}},{key:"configure",value:function(){var t=this,e=t.min;Object(l.a)(Object(c.a)(n.prototype),"configure",this).call(this),t._startValue=Q(e),t._valueRange=Q(t.max)-Q(e)}},{key:"getPixelForValue",value:function(t){var e=this;return void 0!==t&&0!==t||(t=e.min),null===t||isNaN(t)?NaN:e.getPixelForDecimal(t===e.min?0:(Q(t)-e._startValue)/e._valueRange)}},{key:"getValueForPixel",value:function(t){var e=this,n=e.getDecimalForPixel(t);return Math.pow(10,e._startValue+n*e._valueRange)}}]),n}(to);function ta(t){var e=t.ticks;if(e.display&&t.display){var n=Oe(e.backdropPadding);return P(e.font&&e.font.size,ee.font.size)+n.height}return 0}function ea(t,e,n,r,o){return t===r||t===o?{start:e-n/2,end:e+n/2}:t<r||t>o?{start:e-n,end:e}:{start:e,end:e+n}}function na(t){for(var e,n,r,o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},i={},a=[],s=[],l=t.getLabels().length,c=0;c<l;c++){var u=t.options.pointLabels.setContext(t.getContext(c));s[c]=u.padding;var d=t.getPointPosition(c,t.drawingArea+s[c]),f=Se(u.font),p=(e=t.ctx,n=f,r=j(r=t._pointLabels[c])?r:[r],{w:re(e,n.string,r),h:r.length*n.lineHeight});a[c]=p;var h=t.getIndexAngle(c),v=it(h),g=ea(v,d.x,p.w,0,180),m=ea(v,d.y,p.h,90,270);g.start<o.l&&(o.l=g.start,i.l=h),g.end>o.r&&(o.r=g.end,i.r=h),m.start<o.t&&(o.t=m.start,i.t=h),m.end>o.b&&(o.b=m.end,i.b=h)}t._setReductions(t.drawingArea,o,i),t._pointLabelItems=function(t,e,n){for(var r=[],o=t.getLabels().length,i=t.options,a=ta(i),s=t.getDistanceFromCenterForValue(i.ticks.reverse?t.min:t.max),l=0;l<o;l++){var c=0===l?a/2:0,u=t.getPointPosition(l,s+c+n[l]),d=it(t.getIndexAngle(l)),f=e[l],p=ia(u.y,f.h,d),h=ra(d),v=oa(u.x,f.w,h);r.push({x:u.x,y:p,textAlign:h,left:v,top:p,right:v+f.w,bottom:p+f.h})}return r}(t,a,s)}function ra(t){return 0===t||180===t?"center":t<180?"left":"right"}function oa(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function ia(t,e,n){return 90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e),t}function aa(t,e,n,r){var o=t.ctx;if(n)o.arc(t.xCenter,t.yCenter,e,0,q);else{var i=t.getPointPosition(0,e);o.moveTo(i.x,i.y);for(var a=1;a<r;a++)i=t.getPointPosition(a,e),o.lineTo(i.x,i.y)}}function sa(t){return et(t)?t:0}Ji.id="logarithmic",Ji.defaults={ticks:{callback:qr.formatters.logarithmic,major:{enabled:!0}}};var la=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this,t)).xCenter=void 0,r.yCenter=void 0,r.drawingArea=void 0,r._pointLabels=[],r._pointLabelItems=[],r}return Object(g.a)(n,[{key:"setDimensions",value:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=ta(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2}},{key:"determineDataLimits",value:function(){var t=this,e=t.getMinMax(!1),n=e.min,r=e.max;t.min=k(n)&&!isNaN(n)?n:0,t.max=k(r)&&!isNaN(r)?r:0,t.handleTickRangeOptions()}},{key:"computeTickLimit",value:function(){return Math.ceil(this.drawingArea/ta(this.options))}},{key:"generateTickLabels",value:function(t){var e=this;$i.prototype.generateTickLabels.call(e,t),e._pointLabels=e.getLabels().map((function(t,n){var r=M(e.options.pointLabels.callback,[t,n],e);return r||0===r?r:""}))}},{key:"fit",value:function(){var t=this,e=t.options;e.display&&e.pointLabels.display?na(t):t.setCenterPoint(0,0,0,0)}},{key:"_setReductions",value:function(t,e,n){var r=this,o=e.l/Math.sin(n.l),i=Math.max(e.r-r.width,0)/Math.sin(n.r),a=-e.t/Math.cos(n.t),s=-Math.max(e.b-(r.height-r.paddingTop),0)/Math.cos(n.b);o=sa(o),i=sa(i),a=sa(a),s=sa(s),r.drawingArea=Math.max(t/2,Math.min(Math.floor(t-(o+i)/2),Math.floor(t-(a+s)/2))),r.setCenterPoint(o,i,a,s)}},{key:"setCenterPoint",value:function(t,e,n,r){var o=this,i=o.width-e-o.drawingArea,a=t+o.drawingArea,s=n+o.drawingArea,l=o.height-o.paddingTop-r-o.drawingArea;o.xCenter=Math.floor((a+i)/2+o.left),o.yCenter=Math.floor((s+l)/2+o.top+o.paddingTop)}},{key:"getIndexAngle",value:function(t){return ct(t*(q/this.getLabels().length)+ot(this.options.startAngle||0))}},{key:"getDistanceFromCenterForValue",value:function(t){var e=this;if(S(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.reverse?(e.max-t)*n:(t-e.min)*n}},{key:"getValueForDistanceFromCenter",value:function(t){if(S(t))return NaN;var e=this,n=t/(e.drawingArea/(e.max-e.min));return e.options.reverse?e.max-n:e.min+n}},{key:"getPointPosition",value:function(t,e){var n=this,r=n.getIndexAngle(t)-K;return{x:Math.cos(r)*e+n.xCenter,y:Math.sin(r)*e+n.yCenter,angle:r}}},{key:"getPointPositionForValue",value:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}},{key:"getBasePosition",value:function(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}},{key:"getPointLabelPosition",value:function(t){var e=this._pointLabelItems[t];return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}},{key:"drawBackground",value:function(){var t=this,e=t.options,n=e.backgroundColor,r=e.grid.circular;if(n){var o=t.ctx;o.save(),o.beginPath(),aa(t,t.getDistanceFromCenterForValue(t._endValue),r,t.getLabels().length),o.closePath(),o.fillStyle=n,o.fill(),o.restore()}}},{key:"drawGrid",value:function(){var t,e,n,r=this,o=r.ctx,i=r.options,a=i.angleLines,s=i.grid,l=r.getLabels().length;if(i.pointLabels.display&&function(t,e){for(var n=t.ctx,r=t.options.pointLabels,o=e-1;o>=0;o--){var i=r.setContext(t.getContext(o)),a=Se(i.font),s=t._pointLabelItems[o],l=s.x,c=s.y,u=s.textAlign,d=s.left,f=s.top,p=s.right,h=s.bottom,v=i.backdropColor;if(!S(v)){var g=Oe(i.backdropPadding);n.fillStyle=v,n.fillRect(d-g.left,f-g.top,p-d+g.width,h-f+g.height)}fe(n,t._pointLabels[o],l,c+a.lineHeight/2,a,{color:i.color,textAlign:u,textBaseline:"middle"})}}(r,l),s.display&&r.ticks.forEach((function(t,n){if(0!==n){e=r.getDistanceFromCenterForValue(t.value);var o=s.setContext(r.getContext(n-1));!function(t,e,n,r){var o=t.ctx,i=e.circular,a=e.color,s=e.lineWidth;!i&&!r||!a||!s||n<0||(o.save(),o.strokeStyle=a,o.lineWidth=s,o.setLineDash(e.borderDash),o.lineDashOffset=e.borderDashOffset,o.beginPath(),aa(t,n,i,r),o.closePath(),o.stroke(),o.restore())}(r,o,e,l)}})),a.display){for(o.save(),t=r.getLabels().length-1;t>=0;t--){var c=a.setContext(r.getContext(t)),u=c.color,d=c.lineWidth;d&&u&&(o.lineWidth=d,o.strokeStyle=u,o.setLineDash(c.borderDash),o.lineDashOffset=c.borderDashOffset,e=r.getDistanceFromCenterForValue(i.ticks.reverse?r.min:r.max),n=r.getPointPosition(t,e),o.beginPath(),o.moveTo(r.xCenter,r.yCenter),o.lineTo(n.x,n.y),o.stroke())}o.restore()}}},{key:"drawBorder",value:function(){}},{key:"drawLabels",value:function(){var t=this,e=t.ctx,n=t.options,r=n.ticks;if(r.display){var o,i,a=t.getIndexAngle(0);e.save(),e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",t.ticks.forEach((function(a,s){if(0!==s||n.reverse){var l=r.setContext(t.getContext(s)),c=Se(l.font);if(o=t.getDistanceFromCenterForValue(t.ticks[s].value),l.showLabelBackdrop){e.font=c.string,i=e.measureText(a.label).width,e.fillStyle=l.backdropColor;var u=Oe(l.backdropPadding);e.fillRect(-i/2-u.left,-o-c.size/2-u.top,i+u.width,c.size+u.height)}fe(e,a.label,0,-o,c,{color:l.color})}})),e.restore()}}},{key:"drawTitle",value:function(){}}]),n}($i);la.id="radialLinear",la.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:qr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:function(t){return t},padding:5}},la.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},la.descriptors={angleLines:{_fallback:"grid"}};var ca={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ua=Object.keys(ca);function da(t,e){return t-e}function fa(t,e){if(S(e))return null;var n=t._adapter,r=t._parseOpts,o=r.parser,i=r.round,a=r.isoWeekday,s=e;return"function"===typeof o&&(s=o(s)),k(s)||(s="string"===typeof o?n.parse(s,o):n.parse(s)),null===s?null:(i&&(s="week"!==i||!et(a)&&!0!==a?n.startOf(s,i):n.startOf(s,"isoWeek",a)),+s)}function pa(t,e,n,r){for(var o=ua.length,i=ua.indexOf(t);i<o-1;++i){var a=ca[ua[i]],s=a.steps?a.steps:Number.MAX_SAFE_INTEGER;if(a.common&&Math.ceil((n-e)/(s*a.size))<=r)return ua[i]}return ua[o-1]}function ha(t,e,n){if(n){if(n.length){var r=Ce(n,e),o=r.lo,i=r.hi;t[n[o]>=e?n[o]:n[i]]=!0}}else t[e]=!0}function va(t,e,n){var r,o,i=[],a={},s=e.length;for(r=0;r<s;++r)a[o=e[r]]=r,i.push({value:o,major:!1});return 0!==s&&n?function(t,e,n,r){var o,i,a=t._adapter,s=+a.startOf(e[0].value,r),l=e[e.length-1].value;for(o=s;o<=l;o=+a.add(o,1,r))(i=n[o])>=0&&(e[i].major=!0);return e}(t,i,a,n):i}var ga=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this,t))._cache={data:[],labels:[],all:[]},r._unit="day",r._majorUnit=void 0,r._offsets={},r._normalized=!1,r._parseOpts=void 0,r}return Object(g.a)(n,[{key:"init",value:function(t,e){var r=t.time||(t.time={}),o=this._adapter=new ar._date(t.adapters.date);L(r.displayFormats,o.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},Object(l.a)(Object(c.a)(n.prototype),"init",this).call(this,t),this._normalized=e.normalized}},{key:"parse",value:function(t,e){return void 0===t?null:fa(this,t)}},{key:"beforeLayout",value:function(){Object(l.a)(Object(c.a)(n.prototype),"beforeLayout",this).call(this),this._cache={data:[],labels:[],all:[]}}},{key:"determineDataLimits",value:function(){var t=this,e=t.options,n=t._adapter,r=e.time.unit||"day",o=t.getUserBounds(),i=o.min,a=o.max,s=o.minDefined,l=o.maxDefined;function c(t){s||isNaN(t.min)||(i=Math.min(i,t.min)),l||isNaN(t.max)||(a=Math.max(a,t.max))}s&&l||(c(t._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||c(t.getMinMax(!1))),i=k(i)&&!isNaN(i)?i:+n.startOf(Date.now(),r),a=k(a)&&!isNaN(a)?a:+n.endOf(Date.now(),r)+1,t.min=Math.min(i,a-1),t.max=Math.max(i+1,a)}},{key:"_getLabelBounds",value:function(){var t=this.getLabelTimestamps(),e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}},{key:"buildTicks",value:function(){var t=this,e=t.options,n=e.time,r=e.ticks,o="labels"===r.source?t.getLabelTimestamps():t._generate();"ticks"===e.bounds&&o.length&&(t.min=t._userMin||o[0],t.max=t._userMax||o[o.length-1]);var i=t.min,a=function(t,e,n){for(var r=0,o=t.length;r<o&&t[r]<e;)r++;for(;o>r&&t[o-1]>n;)o--;return r>0||o<t.length?t.slice(r,o):t}(o,i,t.max);return t._unit=n.unit||(r.autoSkip?pa(n.minUnit,t.min,t.max,t._getLabelCapacity(i)):function(t,e,n,r,o){for(var i=ua.length-1;i>=ua.indexOf(n);i--){var a=ua[i];if(ca[a].common&&t._adapter.diff(o,r,a)>=e-1)return a}return ua[n?ua.indexOf(n):0]}(t,a.length,n.minUnit,t.min,t.max)),t._majorUnit=r.major.enabled&&"year"!==t._unit?function(t){for(var e=ua.indexOf(t)+1,n=ua.length;e<n;++e)if(ca[ua[e]].common)return ua[e]}(t._unit):void 0,t.initOffsets(o),e.reverse&&a.reverse(),va(t,a,t._majorUnit)}},{key:"initOffsets",value:function(t){var e,n,r=this,o=0,i=0;r.options.offset&&t.length&&(e=r.getDecimalForValue(t[0]),o=1===t.length?1-e:(r.getDecimalForValue(t[1])-e)/2,n=r.getDecimalForValue(t[t.length-1]),i=1===t.length?n:(n-r.getDecimalForValue(t[t.length-2]))/2);var a=t.length<3?.5:.25;o=dt(o,0,a),i=dt(i,0,a),r._offsets={start:o,end:i,factor:1/(o+1+i)}}},{key:"_generate",value:function(){var t,e,n=this,r=n._adapter,o=n.min,i=n.max,a=n.options,s=a.time,l=s.unit||pa(s.minUnit,o,i,n._getLabelCapacity(o)),c=P(s.stepSize,1),u="week"===l&&s.isoWeekday,d=et(u)||!0===u,f={},p=o;if(d&&(p=+r.startOf(p,"isoWeek",u)),p=+r.startOf(p,d?"day":l),r.diff(i,o,l)>1e5*c)throw new Error(o+" and "+i+" are too far apart with stepSize of "+c+" "+l);var h="data"===a.ticks.source&&n.getDataTimestamps();for(t=p,e=0;t<i;t=+r.add(t,c,l),e++)ha(f,t,h);return t!==i&&"ticks"!==a.bounds&&1!==e||ha(f,t,h),Object.keys(f).sort((function(t,e){return t-e})).map((function(t){return+t}))}},{key:"getLabelForValue",value:function(t){var e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}},{key:"_tickFormatFunction",value:function(t,e,n,r){var o=this,i=o.options,a=i.time.displayFormats,s=o._unit,l=o._majorUnit,c=s&&a[s],u=l&&a[l],d=n[e],f=l&&u&&d&&d.major,p=o._adapter.format(t,r||(f?u:c)),h=i.ticks.callback;return h?M(h,[p,e,n],o):p}},{key:"generateTickLabels",value:function(t){var e,n,r;for(e=0,n=t.length;e<n;++e)(r=t[e]).label=this._tickFormatFunction(r.value,e,t)}},{key:"getDecimalForValue",value:function(t){var e=this;return null===t?NaN:(t-e.min)/(e.max-e.min)}},{key:"getPixelForValue",value:function(t){var e=this,n=e._offsets,r=e.getDecimalForValue(t);return e.getPixelForDecimal((n.start+r)*n.factor)}},{key:"getValueForPixel",value:function(t){var e=this,n=e._offsets,r=e.getDecimalForPixel(t)/n.factor-n.end;return e.min+r*(e.max-e.min)}},{key:"_getLabelSize",value:function(t){var e=this,n=e.options.ticks,r=e.ctx.measureText(t).width,o=ot(e.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(o),a=Math.sin(o),s=e._resolveTickFontOptions(0).size;return{w:r*i+s*a,h:r*a+s*i}}},{key:"_getLabelCapacity",value:function(t){var e=this,n=e.options.time,r=n.displayFormats,o=r[n.unit]||r.millisecond,i=e._tickFormatFunction(t,0,va(e,[t],e._majorUnit),o),a=e._getLabelSize(i),s=Math.floor(e.isHorizontal()?e.width/a.w:e.height/a.h)-1;return s>0?s:1}},{key:"getDataTimestamps",value:function(){var t,e,n=this,r=n._cache.data||[];if(r.length)return r;var o=n.getMatchingVisibleMetas();if(n._normalized&&o.length)return n._cache.data=o[0].controller.getAllParsedValues(n);for(t=0,e=o.length;t<e;++t)r=r.concat(o[t].controller.getAllParsedValues(n));return n._cache.data=n.normalize(r)}},{key:"getLabelTimestamps",value:function(){var t,e,n=this,r=n._cache.labels||[];if(r.length)return r;var o=n.getLabels();for(t=0,e=o.length;t<e;++t)r.push(fa(n,o[t]));return n._cache.labels=n._normalized?r:n.normalize(r)}},{key:"normalize",value:function(t){return Me(t.sort(da))}}]),n}(to);function ma(t,e,n){var r,o,i,a,s=0,l=t.length-1;if(n){if(e>=t[s].pos&&e<=t[l].pos){var c=ke(t,"pos",e);s=c.lo,l=c.hi}var u=t[s];r=u.pos,i=u.time;var d=t[l];o=d.pos,a=d.time}else{if(e>=t[s].time&&e<=t[l].time){var f=ke(t,"time",e);s=f.lo,l=f.hi}var p=t[s];r=p.time,i=p.pos;var h=t[l];o=h.time,a=h.pos}var v=o-r;return v?i+(a-i)*(e-r)/v:i}ga.id="time",ga.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};var ba=function(t){Object(u.a)(n,t);var e=Object(d.a)(n);function n(t){var r;return Object(v.a)(this,n),(r=e.call(this,t))._table=[],r._minPos=void 0,r._tableRange=void 0,r}return Object(g.a)(n,[{key:"initOffsets",value:function(){var t=this,e=t._getTimestampsForTable(),r=t._table=t.buildLookupTable(e);t._minPos=ma(r,t.min),t._tableRange=ma(r,t.max)-t._minPos,Object(l.a)(Object(c.a)(n.prototype),"initOffsets",this).call(this,e)}},{key:"buildLookupTable",value:function(t){var e,n,r,o,i,a=this.min,s=this.max,l=[],c=[];for(e=0,n=t.length;e<n;++e)(o=t[e])>=a&&o<=s&&l.push(o);if(l.length<2)return[{time:a,pos:0},{time:s,pos:1}];for(e=0,n=l.length;e<n;++e)i=l[e+1],r=l[e-1],o=l[e],Math.round((i+r)/2)!==o&&c.push({time:o,pos:e/(n-1)});return c}},{key:"_getTimestampsForTable",value:function(){var t=this,e=t._cache.all||[];if(e.length)return e;var n=t.getDataTimestamps(),r=t.getLabelTimestamps();return e=n.length&&r.length?t.normalize(n.concat(r)):n.length?n:r,e=t._cache.all=e}},{key:"getDecimalForValue",value:function(t){return(ma(this._table,t)-this._minPos)/this._tableRange}},{key:"getValueForPixel",value:function(t){var e=this,n=e._offsets,r=e.getDecimalForPixel(t)/n.factor-n.end;return ma(e._table,r*e._tableRange+e._minPos,!0)}}]),n}(ga);ba.id="timeseries",ba.defaults=ga.defaults;var ya=[rr,ri,qi,Object.freeze({__proto__:null,CategoryScale:Yi,LinearScale:Zi,LogarithmicScale:Ji,RadialLinearScale:la,TimeScale:ga,TimeSeriesScale:ba})];Po.register.apply(Po,Object(i.a)(ya));var xa=Po,wa=n(660),Oa=n.n(wa),Sa=n(512),ja=n.n(Sa),Ca=n(279),ka=n.n(Ca);function Ea(){return Ea=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},Ea.apply(this,arguments)}function Pa(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var _a=Object(r.forwardRef)((function(t,e){var n=t.id,i=t.className,a=t.height,s=void 0===a?150:a,l=t.width,c=void 0===l?300:l,u=t.redraw,d=void 0!==u&&u,f=t.type,p=t.data,h=t.options,v=void 0===h?{}:h,g=t.plugins,m=void 0===g?[]:g,b=t.getDatasetAtEvent,y=t.getElementAtEvent,x=t.getElementsAtEvent,w=t.fallbackContent,O=Pa(t,["id","className","height","width","redraw","type","data","options","plugins","getDatasetAtEvent","getElementAtEvent","getElementsAtEvent","fallbackContent"]),S=Object(r.useRef)(null),j=Object(r.useMemo)((function(){return"function"===typeof p?S.current?p(S.current):{}:Oa()({},p)}),[p,S.current]),C=Object(r.useState)(),k=C[0],E=C[1];Object(r.useImperativeHandle)(e,(function(){return k}),[k]);var P=function(){S.current&&E(new xa(S.current,{type:f,data:j,options:v,plugins:m}))},_=function(){k&&k.destroy()};return Object(r.useEffect)((function(){return P(),function(){return _()}}),[]),Object(r.useEffect)((function(){d?(_(),setTimeout((function(){P()}),0)):function(){if(k){if(v&&(k.options=Ea({},v)),!k.config.data)return k.config.data=j,void k.update();var t=j.datasets,e=void 0===t?[]:t,n=Pa(j,["datasets"]),r=k.config.data.datasets,o=void 0===r?[]:r;ja()(k.config.data,n),k.config.data.datasets=e.map((function(t){var e=ka()(o,(function(e){return e.label===t.label&&e.type===t.type}));return e&&t.data?(e.data?e.data.length=t.data.length:e.data=[],ja()(e.data,t.data),Ea({},e,t,{data:e.data})):t})),k.update()}}()}),[t,j]),o.a.createElement("canvas",Object.assign({},O,{height:s,width:c,ref:S,id:n,className:i,onClick:function(t){k&&(b&&b(k.getElementsAtEventForMode(t,"dataset",{intersect:!0},!1),t),y&&y(k.getElementsAtEventForMode(t,"nearest",{intersect:!0},!1),t),x&&x(k.getElementsAtEventForMode(t,"index",{intersect:!0},!1),t))},"data-testid":"canvas",role:"img"}),w)})),Ma=Object(r.forwardRef)((function(t,e){return o.a.createElement(_a,Object.assign({},t,{type:"line",ref:e,options:t.options||{}}))})),Ta=Object(r.forwardRef)((function(t,e){return o.a.createElement(_a,Object.assign({},t,{type:"bar",ref:e,options:t.options||{}}))})),Aa=Object(r.forwardRef)((function(t,e){return o.a.createElement(_a,Object.assign({},t,{type:"radar",ref:e,options:t.options||{}}))})),Ra=Object(r.forwardRef)((function(t,e){return o.a.createElement(_a,Object.assign({},t,{type:"doughnut",ref:e,options:t.options||{}}))})),Da=Object(r.forwardRef)((function(t,e){return o.a.createElement(_a,Object.assign({},t,{type:"polarArea",ref:e,options:t.options||{}}))})),Ia=Object(r.forwardRef)((function(t,e){return o.a.createElement(_a,Object.assign({},t,{type:"bubble",ref:e,options:t.options||{}}))})),Na=Object(r.forwardRef)((function(t,e){return o.a.createElement(_a,Object.assign({},t,{type:"pie",ref:e,options:t.options||{}}))}));Object(r.forwardRef)((function(t,e){return o.a.createElement(_a,Object.assign({},t,{type:"scatter",ref:e,options:t.options||{}}))}))},function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");e.default=a},function(t,e,n){"use strict";e.a=function(t){return function(){return t}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n.n(r),i=n(56),a=n.n(i),s=n(39);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},l.apply(this,arguments)}function c(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function u(t){var e=t.children,n=t.className,r=c(t,["children","className"]),i=a()("recharts-layer",n);return o.a.createElement("g",l({className:i},Object(s.c)(r,!0)),e)}},function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return p})),n.d(e,"d",(function(){return h})),n.d(e,"b",(function(){return v}));var r=n(1285),o=n(720),i=n(346),a=n(1286);var s=n(254),l=[0,1];function c(t){return t}function u(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function d(t,e,n){var r=t[0],o=t[1],i=e[0],a=e[1];return o<r?(r=u(o,r),i=n(a,i)):(r=u(r,o),i=n(i,a)),function(t){return i(r(t))}}function f(t,e,n){var o=Math.min(t.length,e.length)-1,i=new Array(o),a=new Array(o),s=-1;for(t[o]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<o;)i[s]=u(t[s],t[s+1]),a[s]=n(e[s],e[s+1]);return function(e){var n=Object(r.a)(t,e,1,o)-1;return a[n](i[n](e))}}function p(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function h(){var t,e,n,r,u,p,h=l,v=l,g=o.a,m=c;function b(){var t=Math.min(h.length,v.length);return m!==c&&(m=function(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}(h[0],h[t-1])),r=t>2?f:d,u=p=null,y}function y(e){return null==e||isNaN(e=+e)?n:(u||(u=r(h.map(t),v,g)))(t(m(e)))}return y.invert=function(n){return m(e((p||(p=r(v,h.map(t),i.a)))(n)))},y.domain=function(t){return arguments.length?(h=Array.from(t,s.a),b()):h.slice()},y.range=function(t){return arguments.length?(v=Array.from(t),b()):v.slice()},y.rangeRound=function(t){return v=Array.from(t),g=a.a,b()},y.clamp=function(t){return arguments.length?(m=!!t||c,b()):m!==c},y.interpolate=function(t){return arguments.length?(g=t,b()):g},y.unknown=function(t){return arguments.length?(n=t,y):n},function(n,r){return t=n,e=r,b()}}function v(){return h()(c,c)}},function(t,e,n){"use strict";function r(t){return"number"===typeof t}function o(t){return"function"===typeof t}function i(){try{var t="__some_random_key_you_are_not_going_to_use__";return window.localStorage.setItem(t,t),window.localStorage.removeItem(t),!0}catch(e){return!1}}function a(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}n.d(e,"e",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"f",(function(){return i})),n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return l}));var s=function(t,e,n){return Math.max(e,Math.min(n,t))};function l(t,e){if(t===e)return!0;if(t&&e&&"object"===typeof t&&"object"===typeof e){if(t.constructor!==e.constructor)return!1;if(Array.isArray(t)){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r+=1)if(!l(t[r],e[r]))return!1;return!0}if(t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(var o=Array.from(t.entries()),i=0;i<o.length;i+=1)if(!e.has(o[i][0]))return!1;for(var a=0;a<o.length;a+=1){var s=o[a];if(!l(s[1],e.get(s[0])))return!1}return!0}if(t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(var c=Array.from(t.entries()),u=0;u<c.length;u+=1)if(!e.has(c[u][0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){var d=t.length;if(d!==e.length)return!1;for(var f=0;f<d;f+=1)if(t[f]!==e[f])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();var p=Object.keys(t),h=p.length;if(h!==Object.keys(e).length)return!1;for(var v=0;v<h;v+=1)if(!Object.prototype.hasOwnProperty.call(e,p[v]))return!1;for(var g=0;g<h;g+=1){var m=p[g];if(!l(t[m],e[m]))return!1}return!0}return t!==t&&e!==e}},function(t,e,n){"use strict";function r(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}n.d(e,"a",(function(){return r}))},,,function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return d}));n(48),n(18),n(43);function r(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 o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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 a=Math.PI/180,s=function(t){return 180*t/Math.PI},l=function(t,e,n,r){return{x:t+Math.cos(-a*r)*n,y:e+Math.sin(-a*r)*n}},c=function(t,e){var n=t.x,r=t.y,o=e.cx,i=e.cy,a=function(t,e){var n=t.x,r=t.y,o=e.x,i=e.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(r-i,2))}({x:n,y:r},{x:o,y:i});if(a<=0)return{radius:a};var l=(n-o)/a,c=Math.acos(l);return r>i&&(c=2*Math.PI-c),{radius:a,angle:s(c),angleInRadian:c}},u=function(t,e){var n=e.startAngle,r=e.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return t+360*Math.min(o,i)},d=function(t,e){var n=t.x,r=t.y,i=c({x:n,y:r},e),a=i.radius,s=i.angle,l=e.innerRadius,d=e.outerRadius;if(a<l||a>d)return!1;if(0===a)return!0;var f,p=function(t){var e=t.startAngle,n=t.endAngle,r=Math.floor(e/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:e-360*i,endAngle:n-360*i}}(e),h=p.startAngle,v=p.endAngle,g=s;if(h<=v){for(;g>v;)g-=360;for(;g<h;)g+=360;f=g>=h&&g<=v}else{for(;g>h;)g-=360;for(;g<v;)g+=360;f=g>=v&&g<=h}return f?o(o({},e),{},{radius:a,angle:u(g,e)}):null}},function(t,e,n){"use strict";n.d(e,"a",(function(){return x})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return m})),n.d(e,"d",(function(){return P})),n.d(e,"e",(function(){return p})),n.d(e,"f",(function(){return S})),n.d(e,"g",(function(){return v})),n.d(e,"h",(function(){return h}));var r=n(2),o=n(63),i=n(57),a=n(37),s=n(46),l=n(25),c=n(23),u=n(11),d=n(1),f=Symbol.for("Animated:node"),p=function(t){return t&&t[f]},h=function(t,e){return Object(u.h)(t,f,e)},v=function(t){return t&&t[f]&&t[f].getPayload()},g=function(){function t(){Object(l.a)(this,t),this.payload=void 0,h(this,this)}return Object(c.a)(t,[{key:"getPayload",value:function(){return this.payload||[]}}]),t}(),m=function(t){Object(a.a)(n,t);var e=Object(s.a)(n);function n(t){var r;return Object(l.a)(this,n),(r=e.call(this)).done=!0,r.elapsedTime=void 0,r.lastPosition=void 0,r.lastVelocity=void 0,r.v0=void 0,r.durationProgress=0,r._value=t,u.s.num(r._value)&&(r.lastPosition=r._value),r}return Object(c.a)(n,[{key:"getPayload",value:function(){return[this]}},{key:"getValue",value:function(){return this._value}},{key:"setValue",value:function(t,e){return u.s.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}},{key:"reset",value:function(){var t=this.done;this.done=!1,u.s.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}],[{key:"create",value:function(t){return new n(t)}}]),n}(g),b=function(t){Object(a.a)(n,t);var e=Object(s.a)(n);function n(t){var r;return Object(l.a)(this,n),(r=e.call(this,0))._string=null,r._toString=void 0,r._toString=Object(u.f)({output:[t,t]}),r}return Object(c.a)(n,[{key:"getValue",value:function(){var t=this._string;return null==t?this._string=this._toString(this._value):t}},{key:"setValue",value:function(t){if(u.s.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!Object(o.a)(Object(i.a)(n.prototype),"setValue",this).call(this,t))return!1;this._string=null}return!0}},{key:"reset",value:function(t){t&&(this._toString=Object(u.f)({output:[this.getValue(),t]})),this._value=0,Object(o.a)(Object(i.a)(n.prototype),"reset",this).call(this)}}],[{key:"create",value:function(t){return new n(t)}}]),n}(m),y={dependencies:null},x=function(t){Object(a.a)(n,t);var e=Object(s.a)(n);function n(t){var r;return Object(l.a)(this,n),(r=e.call(this)).source=t,r.setValue(t),r}return Object(c.a)(n,[{key:"getValue",value:function(t){var e={};return Object(u.l)(this.source,(function(n,r){var o;(o=n)&&o[f]===o?e[r]=n.getValue(t):Object(u.r)(n)?e[r]=Object(u.q)(n):t||(e[r]=n)})),e}},{key:"setValue",value:function(t){this.source=t,this.payload=this._makePayload(t)}},{key:"reset",value:function(){this.payload&&Object(u.k)(this.payload,(function(t){return t.reset()}))}},{key:"_makePayload",value:function(t){if(t){var e=new Set;return Object(u.l)(t,this._addToPayload,e),Array.from(e)}}},{key:"_addToPayload",value:function(t){var e=this;y.dependencies&&Object(u.r)(t)&&y.dependencies.add(t);var n=v(t);n&&Object(u.k)(n,(function(t){return e.add(t)}))}}]),n}(g),w=function(t){Object(a.a)(n,t);var e=Object(s.a)(n);function n(t){return Object(l.a)(this,n),e.call(this,t)}return Object(c.a)(n,[{key:"getValue",value:function(){return this.source.map((function(t){return t.getValue()}))}},{key:"setValue",value:function(t){var e=this.getPayload();return t.length==e.length?e.map((function(e,n){return e.setValue(t[n])})).some(Boolean):(Object(o.a)(Object(i.a)(n.prototype),"setValue",this).call(this,t.map(O)),!0)}}],[{key:"create",value:function(t){return new n(t)}}]),n}(x);function O(t){return(Object(u.t)(t)?b:m).create(t)}function S(t){var e=p(t);return e?e.constructor:u.s.arr(t)?w:Object(u.t)(t)?b:m}function j(){return j=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},j.apply(this,arguments)}var C=function(t,e){var n=!u.s.fun(t)||t.prototype&&t.prototype.isReactComponent;return Object(d.forwardRef)((function(o,i){var a=Object(d.useRef)(null),s=n&&Object(d.useCallback)((function(t){a.current=function(t,e){t&&(u.s.fun(t)?t(e):t.current=e);return e}(i,t)}),[i]),l=function(t,e){var n=new Set;y.dependencies=n,t.style&&(t=j({},t,{style:e.createAnimatedStyle(t.style)}));return t=new x(t),y.dependencies=null,[t,n]}(o,e),c=Object(r.a)(l,2),f=c[0],p=c[1],h=Object(u.z)(),v=function(){var t=a.current;n&&!t||!1===(!!t&&e.applyAnimatedValues(t,f.getValue(!0)))&&h()},g=new k(v,p),m=Object(d.useRef)();Object(u.A)((function(){return m.current=g,Object(u.k)(p,(function(t){return Object(u.c)(t,g)})),function(){m.current&&(Object(u.k)(m.current.deps,(function(t){return Object(u.x)(t,m.current)})),u.w.cancel(m.current.update))}})),Object(d.useEffect)(v,[]),Object(u.C)((function(){return function(){var t=m.current;Object(u.k)(t.deps,(function(e){return Object(u.x)(e,t)}))}}));var b=e.getComponentProps(f.getValue());return d.createElement(t,j({},b,{ref:s}))}))},k=function(){function t(e,n){Object(l.a)(this,t),this.update=e,this.deps=n}return Object(c.a)(t,[{key:"eventObserved",value:function(t){"change"==t.type&&u.w.write(this.update)}}]),t}();var E=Symbol.for("AnimatedComponent"),P=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.applyAnimatedValues,r=void 0===n?function(){return!1}:n,o=e.createAnimatedStyle,i=void 0===o?function(t){return new x(t)}:o,a=e.getComponentProps,s=void 0===a?function(t){return t}:a,l={applyAnimatedValues:r,createAnimatedStyle:i,getComponentProps:s},c=function t(e){var n=_(e)||"Anonymous";return(e=u.s.str(e)?t[e]||(t[e]=C(e,l)):e[E]||(e[E]=C(e,l))).displayName="Animated(".concat(n,")"),e};return Object(u.l)(t,(function(e,n){u.s.arr(t)&&(n=_(e)),c[n]=c(e)})),{animated:c}},_=function(t){return u.s.str(t)?t:t&&u.s.str(t.displayName)?t.displayName:u.s.fun(t)&&t.name||null}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");e.default=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(177);function i(t,e){return r.useMemo((function(){return null==t&&null==e?null:function(n){Object(o.a)(t,n),Object(o.a)(e,n)}}),[t,e])}},function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return l}));n(14),n(3),n(311),n(176);var r={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(r[t],"px)")}};function i(t,e,n){var i=t.theme||{};if(Array.isArray(e)){var a=i.breakpoints||o;return e.reduce((function(t,r,o){return t[a.up(a.keys[o])]=n(e[o]),t}),{})}if("object"===typeof e){var s=i.breakpoints||o;return Object.keys(e).reduce((function(t,o){if(-1!==Object.keys(s.values||r).indexOf(o)){t[s.up(o)]=n(e[o],o)}else{var i=o;t[i]=e[i]}return t}),{})}return n(e)}function a(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null==(t=e.keys)?void 0:t.reduce((function(t,n){return t[e.up(n)]={},t}),{});return n||{}}function s(t,e){return t.reduce((function(t,e){var n=t[e];return(!n||0===Object.keys(n).length)&&delete t[e],t}),e)}function l(t){var e,n=t.values,r=t.breakpoints,o=t.base||function(t,e){if("object"!==typeof t)return{};var n={},r=Object.keys(e);return Array.isArray(t)?r.forEach((function(e,r){r<t.length&&(n[e]=!0)})):r.forEach((function(e){null!=t[e]&&(n[e]=!0)})),n}(n,r),i=Object.keys(o);return 0===i.length?n:i.reduce((function(t,r,o){return Array.isArray(n)?(t[r]=null!=n[o]?n[o]:n[e],e=o):"object"===typeof n?(t[r]=null!=n[r]?n[r]:n[e],e=r):t[r]=n,t}),{})}},,function(t,e,n){var r,o,i;i=function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/FullScreen.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=r.addEvent,i=r.fireEvent;return r=function(){function t(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"===typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return t.prototype.close=function(){var t=this,e=t.chart,n=e.options.chart;i(e,"fullscreenClose",null,(function(){t.isOpen&&t.browserProps&&e.container.ownerDocument instanceof Document&&e.container.ownerDocument[t.browserProps.exitFullscreen](),t.unbindFullscreenEvent&&(t.unbindFullscreenEvent=t.unbindFullscreenEvent()),e.setSize(t.origWidth,t.origHeight,!1),t.origWidth=void 0,t.origHeight=void 0,n.width=t.origWidthOption,n.height=t.origHeightOption,t.origWidthOption=void 0,t.origHeightOption=void 0,t.isOpen=!1,t.setButtonText()}))},t.prototype.open=function(){var t=this,e=t.chart,n=e.options.chart;i(e,"fullscreenOpen",null,(function(){if(n&&(t.origWidthOption=n.width,t.origHeightOption=n.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){var r=o(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())})),i=o(e,"destroy",r);t.unbindFullscreenEvent=function(){r(),i()};var a=e.renderTo[t.browserProps.requestFullscreen]();a&&a.catch((function(){alert("Full screen is not supported inside a frame.")}))}}))},t.prototype.setButtonText=function(){var t=this.chart,e=t.exportDivElements,r=t.options.exporting,o=r&&r.buttons&&r.buttons.contextButton.menuItems;t=t.options.lang,r&&r.menuItemDefinitions&&t&&t.exitFullscreen&&t.viewFullscreen&&o&&e&&(e=e[o.indexOf("viewFullscreen")])&&n.setElementHTML(e,this.isOpen?t.exitFullscreen:r.menuItemDefinitions.viewFullscreen.text||t.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}(),e.Fullscreen=r,o(t,"beforeRender",(function(){this.fullscreen=new e.Fullscreen(this)})),e.Fullscreen})),e(t,"Core/Chart/ChartNavigationComposition.js",[],(function(){var t;return function(t){t.compose=function(t){return t.navigation||(t.navigation=new e(t)),t};var e=function(){function t(t){this.updates=[],this.chart=t}return t.prototype.addUpdate=function(t){this.chart.navigation.updates.push(t)},t.prototype.update=function(t,e){var n=this;this.updates.forEach((function(r){r.call(n.chart,t,e)}))},t}();t.Additions=e}(t||(t={})),t})),e(t,"Extensions/Exporting/ExportingDefaults.js",[t["Core/Globals.js"]],(function(t){return t=t.isTouchDevice,{exporting:{type:"image/png",url:"https://export.highcharts.com/",pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:"viewFullscreen printChart separator downloadPNG downloadJPEG downloadPDF downloadSVG".split(" ")}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,verticalAlign:"top",width:24,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{padding:5}},menuStyle:{border:"1px solid ".concat("#999999"),background:"#ffffff",padding:"5px 0"},menuItemStyle:{padding:"0.5em 1em",color:"#333333",background:"none",fontSize:t?"14px":"11px",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#335cad",color:"#ffffff"}}}})),e(t,"Extensions/Exporting/ExportingSymbols.js",[],(function(){var t;return function(t){function e(t,e,n,r){return[["M",t,e+2.5],["L",t+n,e+2.5],["M",t,e+r/2+.5],["L",t+n,e+r/2+.5],["M",t,e+r-1.5],["L",t+n,e+r-1.5]]}function n(t,e,n,r){return t=r/3-2,(r=[]).concat(this.circle(n-t,e,t,t),this.circle(n-t,e+t+4,t,t),this.circle(n-t,e+2*(t+4),t,t))}var r=[];t.compose=function(t){-1===r.indexOf(t)&&(r.push(t),(t=t.prototype.symbols).menu=e,t.menuball=n.bind(t))}}(t||(t={})),t})),e(t,"Core/HttpUtilities.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var n=t.doc,r=e.createElement,o=e.discardElement,i=e.merge,a=e.objectEach,s={ajax:function(t){var e={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},n=new XMLHttpRequest;if(!t.url)return!1;n.open((t.type||"get").toUpperCase(),t.url,!0),t.headers&&t.headers["Content-Type"]||n.setRequestHeader("Content-Type",e[t.dataType||"json"]||e.text),a(t.headers,(function(t,e){n.setRequestHeader(e,t)})),t.responseType&&(n.responseType=t.responseType),n.onreadystatechange=function(){if(4===n.readyState){if(200===n.status){if("blob"!==t.responseType){var e=n.responseText;if("json"===t.dataType)try{e=JSON.parse(e)}catch(r){if(r instanceof Error)return void(t.error&&t.error(n,r))}}return t.success&&t.success(e,n)}t.error&&t.error(n,n.responseText)}},t.data&&"string"!==typeof t.data&&(t.data=JSON.stringify(t.data)),n.send(t.data)},getJSON:function(t,e){s.ajax({url:t,success:e,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(t,e,s){var l=r("form",i({method:"post",action:t,enctype:"multipart/form-data"},s),{display:"none"},n.body);a(e,(function(t,e){r("input",{type:"hidden",name:e,value:t},void 0,l)})),l.submit(),o(l)}};return s})),e(t,"Extensions/Exporting/Exporting.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Chart/Chart.js"],t["Core/Chart/ChartNavigationComposition.js"],t["Core/DefaultOptions.js"],t["Extensions/Exporting/ExportingDefaults.js"],t["Extensions/Exporting/ExportingSymbols.js"],t["Core/Globals.js"],t["Core/HttpUtilities.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l){e=r.defaultOptions;var c,u=a.doc,d=a.SVG_NS,f=a.win,p=l.addEvent,h=l.css,v=l.createElement,g=l.discardElement,m=l.extend,b=l.find,y=l.fireEvent,x=l.isObject,w=l.merge,O=l.objectEach,S=l.pick,j=l.removeEvent,C=l.uniqueKey;return function(e){function r(t){var e=this,n=e.renderer,r=w(e.options.navigation.buttonOptions,t),o=r.onclick,i=r.menuItems,a=r.symbolSize||12;if(e.btnCount||(e.btnCount=0),e.exportDivElements||(e.exportDivElements=[],e.exportSVGElements=[]),!1!==r.enabled&&r.theme){var s,l=r.theme;e.styledMode||(l.fill=S(l.fill,"#ffffff"),l.stroke=S(l.stroke,"none")),o?s=function(t){t&&t.stopPropagation(),o.call(e,t)}:i&&(s=function(t){t&&t.stopPropagation(),e.contextMenu(c.menuClassName,i,c.translateX,c.translateY,c.width,c.height,c),c.setState(2)}),r.text&&r.symbol?l.paddingLeft=S(l.paddingLeft,30):r.text||m(l,{width:r.width,height:r.height,padding:0}),e.styledMode||(l["stroke-linecap"]="round",l.fill=S(l.fill,"#ffffff"),l.stroke=S(l.stroke,"none"));var c=n.button(r.text,0,0,s,l).addClass(t.className).attr({title:S(e.options.lang[r._titleKey||r.titleKey],"")});if(c.menuClassName=t.menuClassName||"highcharts-menu-"+e.btnCount++,r.symbol){var u=n.symbol(r.symbol,r.symbolX-a/2,r.symbolY-a/2,a,a,{width:a,height:a}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(c);e.styledMode||u.attr({stroke:r.symbolStroke,fill:r.symbolFill,"stroke-width":r.symbolStrokeWidth||1})}c.add(e.exportingGroup).align(m(r,{width:c.width,x:S(r.x,e.buttonOffset)}),!0,"spacingBox"),e.buttonOffset+=(c.width+r.buttonSpacing)*("right"===r.align?-1:1),e.exportSVGElements.push(c,u)}}function o(){if(this.printReverseInfo){var t=this.printReverseInfo,e=t.childNodes,n=t.origDisplay;t=t.resetParams,this.moveContainers(this.renderTo),[].forEach.call(e,(function(t,e){1===t.nodeType&&(t.style.display=n[e]||"")})),this.isPrinting=!1,t&&this.setSize.apply(this,t),delete this.printReverseInfo,W=void 0,y(this,"afterPrint")}}function c(){var t=u.body,e=this.options.exporting.printMaxWidth,n={childNodes:t.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,this.pointer.reset(null,0),y(this,"beforePrint"),e&&this.chartWidth>e&&(n.resetParams=[this.options.chart.width,void 0,!1],this.setSize(e,void 0,!1)),[].forEach.call(n.childNodes,(function(t,e){1===t.nodeType&&(n.origDisplay[e]=t.style.display,t.style.display="none")})),this.moveContainers(t),this.printReverseInfo=n}function k(t){t.renderExporting(),p(t,"redraw",t.renderExporting),p(t,"destroy",t.destroyExport)}function E(e,n,r,o,i,a,s){var c=this,d=c.options.navigation,g=c.chartWidth,b=c.chartHeight,w="cache-"+e,O=Math.max(i,a),S=c[w];if(!S){c.exportContextMenu=c[w]=S=v("div",{className:e},{position:"absolute",zIndex:1e3,padding:O+"px",pointerEvents:"auto"},c.fixedDiv||c.container);var j=v("ul",{className:"highcharts-menu"},{listStyle:"none",margin:0,padding:0},S);c.styledMode||h(j,m({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},d.menuStyle)),S.hideMenu=function(){h(S,{display:"none"}),s&&s.setState(0),c.openMenu=!1,h(c.renderTo,{overflow:"hidden"}),h(c.container,{overflow:"hidden"}),l.clearTimeout(S.hideTimer),y(c,"exportMenuHidden")},c.exportEvents.push(p(S,"mouseleave",(function(){S.hideTimer=f.setTimeout(S.hideMenu,500)})),p(S,"mouseenter",(function(){l.clearTimeout(S.hideTimer)})),p(u,"mouseup",(function(t){c.pointer.inClass(t.target,e)||S.hideMenu()})),p(S,"click",(function(){c.openMenu&&S.hideMenu()}))),n.forEach((function(e){if("string"===typeof e&&(e=c.options.exporting.menuItemDefinitions[e]),x(e,!0)){var n=void 0;e.separator?n=v("hr",void 0,void 0,j):("viewData"===e.textKey&&c.isDataTableVisible&&(e.textKey="hideData"),n=v("li",{className:"highcharts-menu-item",onclick:function(t){t&&t.stopPropagation(),S.hideMenu(),e.onclick&&e.onclick.apply(c,arguments)}},void 0,j),t.setElementHTML(n,e.text||c.options.lang[e.textKey]),c.styledMode||(n.onmouseover=function(){h(this,d.menuItemHoverStyle)},n.onmouseout=function(){h(this,d.menuItemStyle)},h(n,m({cursor:"pointer"},d.menuItemStyle||{})))),c.exportDivElements.push(n)}})),c.exportDivElements.push(j,S),c.exportMenuWidth=S.offsetWidth,c.exportMenuHeight=S.offsetHeight}n={display:"block"},r+c.exportMenuWidth>g?n.right=g-r-i-O+"px":n.left=r-O+"px",o+a+c.exportMenuHeight>b&&"top"!==s.alignOptions.verticalAlign?n.bottom=b-o-O+"px":n.top=o+a-O+"px",h(S,n),h(c.renderTo,{overflow:""}),h(c.container,{overflow:""}),c.openMenu=!0,y(c,"exportMenuShown")}function P(t){var e,n=t?t.target:this,r=n.exportSVGElements,o=n.exportDivElements;t=n.exportEvents,r&&(r.forEach((function(t,o){t&&(t.onclick=t.ontouchstart=null,e="cache-"+t.menuClassName,n[e]&&delete n[e],r[o]=t.destroy())})),r.length=0),n.exportingGroup&&(n.exportingGroup.destroy(),delete n.exportingGroup),o&&(o.forEach((function(t,e){t&&(l.clearTimeout(t.hideTimer),j(t,"mouseleave"),o[e]=t.onmouseout=t.onmouseover=t.ontouchstart=t.onclick=null,g(t))})),o.length=0),t&&(t.forEach((function(t){t()})),t.length=0)}function _(t,e){e=this.getSVGForExport(t,e),t=w(this.options.exporting,t),s.post(t.url,{filename:t.filename?t.filename.replace(/\//g,"-"):this.getFilename(),type:t.type,width:t.width||0,scale:t.scale,svg:e},t.formAttributes)}function M(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function T(){var t=this.userOptions.title&&this.userOptions.title.text,e=this.options.exporting.filename;return e?e.replace(/\//g,"-"):("string"===typeof t&&(e=t.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z0-9\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!e||5>e.length)&&(e="chart"),e)}function A(t){var e,n=w(this.options,t);n.plotOptions=w(this.userOptions.plotOptions,t&&t.plotOptions),n.time=w(this.userOptions.time,t&&t.time);var r=v("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},u.body),o=this.renderTo.style.width,i=this.renderTo.style.height;o=n.exporting.sourceWidth||n.chart.width||/px$/.test(o)&&parseInt(o,10)||(n.isGantt?800:600),i=n.exporting.sourceHeight||n.chart.height||/px$/.test(i)&&parseInt(i,10)||400,m(n.chart,{animation:!1,renderTo:r,forExport:!0,renderer:"SVGRenderer",width:o,height:i}),n.exporting.enabled=!1,delete n.data,n.series=[],this.series.forEach((function(t){(e=w(t.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:t.visible})).isInternal||n.series.push(e)}));var a={};this.axes.forEach((function(t){t.userOptions.internalKey||(t.userOptions.internalKey=C()),t.options.isInternal||(a[t.coll]||(a[t.coll]=!0,n[t.coll]=[]),n[t.coll].push(w(t.userOptions,{visible:t.visible})))}));var s=new this.constructor(n,this.callback);return t&&["xAxis","yAxis","series"].forEach((function(e){var n={};t[e]&&(n[e]=t[e],s.update(n))})),this.axes.forEach((function(t){var e=b(s.axes,(function(e){return e.options.internalKey===t.userOptions.internalKey})),n=t.getExtremes(),r=n.userMin;n=n.userMax,e&&("undefined"!==typeof r&&r!==e.min||"undefined"!==typeof n&&n!==e.max)&&e.setExtremes(r,n,!0,!1)})),i=s.getChartHTML(),y(this,"getSVG",{chartCopy:s}),i=this.sanitizeSVG(i,n),n=null,s.destroy(),g(r),i}function R(t,e){var n=this.options.exporting;return this.getSVG(w({chart:{borderRadius:0}},n.chartOptions,e,{exporting:{sourceWidth:t&&t.sourceWidth||n.sourceWidth,sourceHeight:t&&t.sourceHeight||n.sourceHeight}}))}function D(t){return t.replace(/([A-Z])/g,(function(t,e){return"-"+e.toLowerCase()}))}function I(){var t,n=V,r=e.inlineWhitelist,o={},i=u.createElement("iframe");h(i,{width:"1px",height:"1px",visibility:"hidden"}),u.body.appendChild(i);var s=i.contentWindow&&i.contentWindow.document;s&&s.body.appendChild(s.createElementNS(d,"svg")),function e(i){var l,c,u={};if(s&&1===i.nodeType&&-1===q.indexOf(i.nodeName)){var d=f.getComputedStyle(i,null),p="svg"===i.nodeName?{}:f.getComputedStyle(i.parentNode,null);if(!o[i.nodeName]){t=s.getElementsByTagName("svg")[0];var v=s.createElementNS(i.namespaceURI,i.nodeName);t.appendChild(v),o[i.nodeName]=w(f.getComputedStyle(v,null)),"text"===i.nodeName&&delete o.text.fill,t.removeChild(v)}for(var g in d)if(a.isFirefox||a.isMS||a.isSafari||Object.hasOwnProperty.call(d,g)){var m=d[g],b=g;if(v=l=!1,r.length){for(c=r.length;c--&&!l;)l=r[c].test(b);v=!l}for("transform"===b&&"none"===m&&(v=!0),c=n.length;c--&&!v;)v=n[c].test(b)||"function"===typeof m;v||p[b]===m&&"svg"!==i.nodeName||o[i.nodeName][b]===m||(U&&-1===U.indexOf(b)?"parentRule"!==b&&(u[b]=m):m&&i.setAttribute(D(b),m))}h(i,u),"svg"===i.nodeName&&i.setAttribute("stroke-width","1px"),"text"!==i.nodeName&&[].forEach.call(i.children||i.childNodes,e)}}(this.container.querySelector("svg")),t.parentNode.removeChild(t),i.parentNode.removeChild(i)}function N(t){(this.fixedDiv?[this.fixedDiv,this.scrollingContainer]:[this.container]).forEach((function(e){t.appendChild(e)}))}function L(){var t=this;t.exporting={update:function(e,n){t.isDirtyExporting=!0,w(!0,t.options.exporting,e),S(n,!0)&&t.redraw()}},n.compose(t).navigation.addUpdate((function(e,n){t.isDirtyExporting=!0,w(!0,t.options.navigation,e),S(n,!0)&&t.redraw()}))}function F(){var t=this;t.isPrinting||(W=t,a.isSafari||t.beforePrint(),setTimeout((function(){f.focus(),f.print(),a.isSafari||setTimeout((function(){t.afterPrint()}),1e3)}),1))}function B(){var t=this,e=t.options.exporting,n=e.buttons,r=t.isDirtyExporting||!t.exportSVGElements;t.buttonOffset=0,t.isDirtyExporting&&t.destroyExport(),r&&!1!==e.enabled&&(t.exportEvents=[],t.exportingGroup=t.exportingGroup||t.renderer.g("exporting-group").attr({zIndex:3}).add(),O(n,(function(e){t.addButton(e)})),t.isDirtyExporting=!1)}function z(t,e){var n=t.indexOf("</svg>")+6,r=t.substr(n);return t=t.substr(0,n),e&&e.exporting&&e.exporting.allowHTML&&r&&(r='<foreignObject x="0" y="0" width="'+e.chart.width+'" height="'+e.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+r.replace(/(<(?:img|br).*?(?=>))>/g,"$1 />")+"</body></foreignObject>",t=t.replace("</svg>",r+"</svg>")),t=t.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;);?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (|NS[0-9]+:)href=/g," xlink:href=").replace(/\n/," ").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g,"\xa0").replace(/&shy;/g,"\xad"),this.ieSanitizeSVG&&(t=this.ieSanitizeSVG(t)),t}var H=[],V=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/],U="fill stroke strokeLinecap strokeLinejoin strokeWidth textAnchor x y".split(" ");e.inlineWhitelist=[];var W,q=["clipPath","defs","desc"];e.compose=function(t,e){i.compose(e),-1===H.indexOf(t)&&(H.push(t),(e=t.prototype).afterPrint=o,e.exportChart=_,e.inlineStyles=I,e.print=F,e.sanitizeSVG=z,e.getChartHTML=M,e.getSVG=A,e.getSVGForExport=R,e.getFilename=T,e.moveContainers=N,e.beforePrint=c,e.contextMenu=E,e.addButton=r,e.destroyExport=P,e.renderExporting=B,e.callbacks.push(k),p(t,"init",L),a.isSafari&&a.win.matchMedia("print").addListener((function(t){W&&(t.matches?W.beforePrint():W.afterPrint())})))}}(c||(c={})),e.exporting=w(o.exporting,e.exporting),e.lang=w(o.lang,e.lang),e.navigation=w(o.navigation,e.navigation),c})),e(t,"masters/modules/exporting.src.js",[t["Core/Globals.js"],t["Extensions/Exporting/Exporting.js"],t["Core/HttpUtilities.js"]],(function(t,e,n){t.HttpUtilities=n,t.ajax=n.ajax,t.getJSON=n.getJSON,t.post=n.post,e.compose(t.Chart,t.Renderer)}))},t.exports?(i.default=i,t.exports=i):(r=[n(21)],void 0===(o=function(t){return i(t),i.Highcharts=t,i}.apply(e,r))||(t.exports=o))},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){"use strict";function r(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map((function(t){return"'"+t+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function o(t){return!!t&&!!t[Y]}function i(t){return!!t&&(function(t){if(!t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;var n=Object.hasOwnProperty.call(e,"constructor")&&e.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===X}(t)||Array.isArray(t)||!!t[G]||!!t.constructor[G]||f(t)||p(t))}function a(t,e,n){void 0===n&&(n=!1),0===s(t)?(n?Object.keys:K)(t).forEach((function(r){n&&"symbol"==typeof r||e(r,t[r],t)})):t.forEach((function(n,r){return e(r,n,t)}))}function s(t){var e=t[Y];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:f(t)?2:p(t)?3:0}function l(t,e){return 2===s(t)?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function c(t,e){return 2===s(t)?t.get(e):t[e]}function u(t,e,n){var r=s(t);2===r?t.set(e,n):3===r?(t.delete(e),t.add(n)):t[e]=n}function d(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function f(t){return V&&t instanceof Map}function p(t){return U&&t instanceof Set}function h(t){return t.o||t.t}function v(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=$(t);delete e[Y];for(var n=K(e),r=0;r<n.length;r++){var o=n[r],i=e[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[o]})}return Object.create(Object.getPrototypeOf(t),e)}function g(t,e){return void 0===e&&(e=!1),b(t)||o(t)||!i(t)||(s(t)>1&&(t.set=t.add=t.clear=t.delete=m),Object.freeze(t),e&&a(t,(function(t,e){return g(e,!0)}),!0)),t}function m(){r(2)}function b(t){return null==t||"object"!=typeof t||Object.isFrozen(t)}function y(t){var e=Z[t];return e||r(18,t),e}function x(t,e){Z[t]||(Z[t]=e)}function w(){return z}function O(t,e){e&&(y("Patches"),t.u=[],t.s=[],t.v=e)}function S(t){j(t),t.p.forEach(k),t.p=null}function j(t){t===z&&(z=t.l)}function C(t){return z={p:[],l:z,h:t,m:!0,_:0}}function k(t){var e=t[Y];0===e.i||1===e.i?e.j():e.O=!0}function E(t,e){e._=e.p.length;var n=e.p[0],o=void 0!==t&&t!==n;return e.h.g||y("ES5").S(e,t,o),o?(n[Y].P&&(S(e),r(4)),i(t)&&(t=P(e,t),e.l||M(e,t)),e.u&&y("Patches").M(n[Y].t,t,e.u,e.s)):t=P(e,n,[]),S(e),e.u&&e.v(e.u,e.s),t!==q?t:void 0}function P(t,e,n){if(b(e))return e;var r=e[Y];if(!r)return a(e,(function(o,i){return _(t,r,e,o,i,n)}),!0),e;if(r.A!==t)return e;if(!r.P)return M(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=v(r.k):r.o;a(3===r.i?new Set(o):o,(function(e,i){return _(t,r,o,e,i,n)})),M(t,o,!1),n&&t.u&&y("Patches").R(r,n,t.u,t.s)}return r.o}function _(t,e,n,r,a,s){if(o(a)){var c=P(t,a,s&&e&&3!==e.i&&!l(e.D,r)?s.concat(r):void 0);if(u(n,r,c),!o(c))return;t.m=!1}if(i(a)&&!b(a)){if(!t.h.F&&t._<1)return;P(t,a),e&&e.A.l||M(t,a)}}function M(t,e,n){void 0===n&&(n=!1),t.h.F&&t.m&&g(e,n)}function T(t,e){var n=t[Y];return(n?h(n):t)[e]}function A(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function R(t){t.P||(t.P=!0,t.l&&R(t.l))}function D(t){t.o||(t.o=v(t.t))}function I(t,e,n){var r=f(e)?y("MapSet").N(e,n):p(e)?y("MapSet").T(e,n):t.g?function(t,e){var n=Array.isArray(t),r={i:n?1:0,A:e?e.A:w(),P:!1,I:!1,D:{},l:e,t:t,k:null,o:null,j:null,C:!1},o=r,i=Q;n&&(o=[r],i=J);var a=Proxy.revocable(o,i),s=a.revoke,l=a.proxy;return r.k=l,r.j=s,l}(e,n):y("ES5").J(e,n);return(n?n.A:w()).p.push(r),r}function N(t){return o(t)||r(22,t),function t(e){if(!i(e))return e;var n,r=e[Y],o=s(e);if(r){if(!r.P&&(r.i<4||!y("ES5").K(r)))return r.t;r.I=!0,n=L(e,o),r.I=!1}else n=L(e,o);return a(n,(function(e,o){r&&c(r.t,e)===o||u(n,e,t(o))})),3===o?new Set(n):n}(t)}function L(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return v(t)}function F(){function t(t,e){var n=i[t];return n?n.enumerable=e:i[t]=n={configurable:!0,enumerable:e,get:function(){var e=this[Y];return Q.get(e,t)},set:function(e){var n=this[Y];Q.set(n,t,e)}},n}function e(t){for(var e=t.length-1;e>=0;e--){var o=t[e][Y];if(!o.P)switch(o.i){case 5:r(o)&&R(o);break;case 4:n(o)&&R(o)}}}function n(t){for(var e=t.t,n=t.k,r=K(n),o=r.length-1;o>=0;o--){var i=r[o];if(i!==Y){var a=e[i];if(void 0===a&&!l(e,i))return!0;var s=n[i],c=s&&s[Y];if(c?c.t!==a:!d(s,a))return!0}}var u=!!e[Y];return r.length!==K(e).length+(u?0:1)}function r(t){var e=t.k;if(e.length!==t.t.length)return!0;var n=Object.getOwnPropertyDescriptor(e,e.length-1);if(n&&!n.get)return!0;for(var r=0;r<e.length;r++)if(!e.hasOwnProperty(r))return!0;return!1}var i={};x("ES5",{J:function(e,n){var r=Array.isArray(e),o=function(e,n){if(e){for(var r=Array(n.length),o=0;o<n.length;o++)Object.defineProperty(r,""+o,t(o,!0));return r}var i=$(n);delete i[Y];for(var a=K(i),s=0;s<a.length;s++){var l=a[s];i[l]=t(l,e||!!i[l].enumerable)}return Object.create(Object.getPrototypeOf(n),i)}(r,e),i={i:r?5:4,A:n?n.A:w(),P:!1,I:!1,D:{},l:n,t:e,k:o,o:null,O:!1,C:!1};return Object.defineProperty(o,Y,{value:i,writable:!0}),o},S:function(t,n,i){i?o(n)&&n[Y].A===t&&e(t.p):(t.u&&function t(e){if(e&&"object"==typeof e){var n=e[Y];if(n){var o=n.t,i=n.k,s=n.D,c=n.i;if(4===c)a(i,(function(e){e!==Y&&(void 0!==o[e]||l(o,e)?s[e]||t(i[e]):(s[e]=!0,R(n)))})),a(o,(function(t){void 0!==i[t]||l(i,t)||(s[t]=!1,R(n))}));else if(5===c){if(r(n)&&(R(n),s.length=!0),i.length<o.length)for(var u=i.length;u<o.length;u++)s[u]=!1;else for(var d=o.length;d<i.length;d++)s[d]=!0;for(var f=Math.min(i.length,o.length),p=0;p<f;p++)i.hasOwnProperty(p)||(s[p]=!0),void 0===s[p]&&t(i[p])}}}}(t.p[0]),e(t.p))},K:function(t){return 4===t.i?n(t):r(t)}})}n.d(e,"a",(function(){return N})),n.d(e,"c",(function(){return F})),n.d(e,"d",(function(){return o})),n.d(e,"e",(function(){return i}));var B,z,H="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),V="undefined"!=typeof Map,U="undefined"!=typeof Set,W="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=H?Symbol.for("immer-nothing"):((B={})["immer-nothing"]=!0,B),G=H?Symbol.for("immer-draftable"):"__$immer_draftable",Y=H?Symbol.for("immer-state"):"__$immer_state",X=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),K="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,$=Object.getOwnPropertyDescriptors||function(t){var e={};return K(t).forEach((function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)})),e},Z={},Q={get:function(t,e){if(e===Y)return t;var n=h(t);if(!l(n,e))return function(t,e,n){var r,o=A(e,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(t.k):void 0}(t,n,e);var r=n[e];return t.I||!i(r)?r:r===T(t.t,e)?(D(t),t.o[e]=I(t.A.h,r,t)):r},has:function(t,e){return e in h(t)},ownKeys:function(t){return Reflect.ownKeys(h(t))},set:function(t,e,n){var r=A(h(t),e);if(null==r?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var o=T(h(t),e),i=null==o?void 0:o[Y];if(i&&i.t===n)return t.o[e]=n,t.D[e]=!1,!0;if(d(n,o)&&(void 0!==n||l(t.t,e)))return!0;D(t),R(t)}return t.o[e]===n&&"number"!=typeof n&&(void 0!==n||e in t.o)||(t.o[e]=n,t.D[e]=!0,!0)},deleteProperty:function(t,e){return void 0!==T(t.t,e)||e in t.t?(t.D[e]=!1,D(t),R(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=h(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r?{writable:!0,configurable:1!==t.i||"length"!==e,enumerable:r.enumerable,value:n[e]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){r(12)}},J={};a(Q,(function(t,e){J[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}})),J.deleteProperty=function(t,e){return J.set.call(this,t,e,void 0)},J.set=function(t,e,n){return Q.set.call(this,t[0],e,n,t[0])};var tt=function(){function t(t){var e=this;this.g=W,this.F=!0,this.produce=function(t,n,o){if("function"==typeof t&&"function"!=typeof n){var a=n;n=t;var s=e;return function(t){var e=this;void 0===t&&(t=a);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return s.produce(t,(function(t){var r;return(r=n).call.apply(r,[e,t].concat(o))}))}}var l;if("function"!=typeof n&&r(6),void 0!==o&&"function"!=typeof o&&r(7),i(t)){var c=C(e),u=I(e,t,void 0),d=!0;try{l=n(u),d=!1}finally{d?S(c):j(c)}return"undefined"!=typeof Promise&&l instanceof Promise?l.then((function(t){return O(c,o),E(t,c)}),(function(t){throw S(c),t})):(O(c,o),E(l,c))}if(!t||"object"!=typeof t){if(void 0===(l=n(t))&&(l=t),l===q&&(l=void 0),e.F&&g(l,!0),o){var f=[],p=[];y("Patches").M(t,l,f,p),o(f,p)}return l}r(21,t)},this.produceWithPatches=function(t,n){if("function"==typeof t)return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e.produceWithPatches(n,(function(e){return t.apply(void 0,[e].concat(o))}))};var r,o,i=e.produce(t,n,(function(t,e){r=t,o=e}));return"undefined"!=typeof Promise&&i instanceof Promise?i.then((function(t){return[t,r,o]})):[i,r,o]},"boolean"==typeof(null==t?void 0:t.useProxies)&&this.setUseProxies(t.useProxies),"boolean"==typeof(null==t?void 0:t.autoFreeze)&&this.setAutoFreeze(t.autoFreeze)}var e=t.prototype;return e.createDraft=function(t){i(t)||r(8),o(t)&&(t=N(t));var e=C(this),n=I(this,t,void 0);return n[Y].C=!0,j(e),n},e.finishDraft=function(t,e){var n=(t&&t[Y]).A;return O(n,e),E(void 0,n)},e.setAutoFreeze=function(t){this.F=t},e.setUseProxies=function(t){t&&!W&&r(20),this.g=t},e.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}}n>-1&&(e=e.slice(n+1));var i=y("Patches").$;return o(t)?i(t,e):this.produce(t,(function(t){return i(t,e)}))},t}(),et=new tt,nt=et.produce;et.produceWithPatches.bind(et),et.setAutoFreeze.bind(et),et.setUseProxies.bind(et),et.applyPatches.bind(et),et.createDraft.bind(et),et.finishDraft.bind(et);e.b=nt},function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(375);t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},,,function(t,e){(function(){t.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"}),"Delete");e.default=a},function(t,e,n){"use strict";var r=n(418),o="object"==typeof self&&self&&self.Object===Object&&self,i=r.a||o||Function("return this")();e.a=i},,,,function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z"}),"HelpOutline");e.default=a},function(t,e,n){"use strict";e.a=function(t,e){}},,,,function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(220);function i(){return r.useContext(o.a)}},function(t,e,n){"use strict";var r=n(1),o=r.createContext({});e.a=o},function(t,e,n){"use strict";n.d(e,"e",(function(){return I})),n.d(e,"d",(function(){return N})),n.d(e,"b",(function(){return L})),n.d(e,"a",(function(){return F}));var r=n(2),o=n(5),i=n(12),a=n(3),s=n(437),l=n(1),c=n(10),u=n(230),d=n(51),f=n(442),p=n(1160),h=n(1161),v=n(350),g=n(0),m=["onChange","maxRows","minRows","style","value"];function b(t,e){return parseInt(t[e],10)||0}var y={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function x(t){return void 0===t||null===t||0===Object.keys(t).length}var w=l.forwardRef((function(t,e){var n=t.onChange,o=t.maxRows,s=t.minRows,c=void 0===s?1:s,u=t.style,w=t.value,O=Object(i.a)(t,m),S=l.useRef(null!=w).current,j=l.useRef(null),C=Object(f.a)(e,j),k=l.useRef(null),E=l.useRef(0),P=l.useState({}),_=Object(r.a)(P,2),M=_[0],T=_[1],A=l.useCallback((function(){var e=j.current,n=Object(p.a)(e).getComputedStyle(e);if("0px"===n.width)return{};var r=k.current;r.style.width=n.width,r.value=e.value||t.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var i=n["box-sizing"],a=b(n,"padding-bottom")+b(n,"padding-top"),s=b(n,"border-bottom-width")+b(n,"border-top-width"),l=r.scrollHeight;r.value="x";var u=r.scrollHeight,d=l;return c&&(d=Math.max(Number(c)*u,d)),o&&(d=Math.min(Number(o)*u,d)),{outerHeightStyle:(d=Math.max(d,u))+("border-box"===i?a+s:0),overflow:Math.abs(d-l)<=1}}),[o,c,t.placeholder]),R=function(t,e){var n=e.outerHeightStyle,r=e.overflow;return E.current<20&&(n>0&&Math.abs((t.outerHeightStyle||0)-n)>1||t.overflow!==r)?(E.current+=1,{overflow:r,outerHeightStyle:n}):t},D=l.useCallback((function(){var t=A();x(t)||T((function(e){return R(e,t)}))}),[A]);l.useEffect((function(){var t,e=Object(h.a)((function(){E.current=0,j.current&&function(){var t=A();x(t)||Object(d.flushSync)((function(){T((function(e){return R(e,t)}))}))}()})),n=Object(p.a)(j.current);return n.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e)).observe(j.current),function(){e.clear(),n.removeEventListener("resize",e),t&&t.disconnect()}})),Object(v.a)((function(){D()})),l.useEffect((function(){E.current=0}),[w]);return Object(g.jsxs)(l.Fragment,{children:[Object(g.jsx)("textarea",Object(a.a)({value:w,onChange:function(t){E.current=0,S||D(),n&&n(t)},ref:C,rows:c,style:Object(a.a)({height:M.outerHeightStyle,overflow:M.overflow?"hidden":null},u)},O)),Object(g.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:k,tabIndex:-1,style:Object(a.a)({},y,u,{padding:0})})]})})),O=n(257),S=n(121),j=n(220),C=n(104),k=n(13),E=n(17),P=n(15),_=n(60),M=n(127),T=n(1158),A=n(252),R=n(146),D=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],I=function(t,e){var n=t.ownerState;return[e.root,n.formControl&&e.formControl,n.startAdornment&&e.adornedStart,n.endAdornment&&e.adornedEnd,n.error&&e.error,"small"===n.size&&e.sizeSmall,n.multiline&&e.multiline,n.color&&e["color".concat(Object(P.a)(n.color))],n.fullWidth&&e.fullWidth,n.hiddenLabel&&e.hiddenLabel]},N=function(t,e){var n=t.ownerState;return[e.input,"small"===n.size&&e.inputSizeSmall,n.multiline&&e.inputMultiline,"search"===n.type&&e.inputTypeSearch,n.startAdornment&&e.inputAdornedStart,n.endAdornment&&e.inputAdornedEnd,n.hiddenLabel&&e.inputHiddenLabel]},L=Object(k.a)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:I})((function(t){var e=t.theme,n=t.ownerState;return Object(a.a)({},e.typography.body1,Object(o.a)({color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(R.a.disabled),{color:(e.vars||e).palette.text.disabled,cursor:"default"}),n.multiline&&Object(a.a)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),F=Object(k.a)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:N})((function(t){var e,n=t.theme,r=t.ownerState,i="light"===n.palette.mode,s=Object(a.a)({color:"currentColor"},n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5},{transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})}),l={opacity:"0 !important"},c=n.vars?{opacity:n.vars.opacity.inputPlaceholder}:{opacity:i?.42:.5};return Object(a.a)((e={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},Object(o.a)(e,"label[data-shrink=false] + .".concat(R.a.formControl," &"),{"&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&:-ms-input-placeholder":l,"&::-ms-input-placeholder":l,"&:focus::-webkit-input-placeholder":c,"&:focus::-moz-placeholder":c,"&:focus:-ms-input-placeholder":c,"&:focus::-ms-input-placeholder":c}),Object(o.a)(e,"&.".concat(R.a.disabled),{opacity:1,WebkitTextFillColor:(n.vars||n).palette.text.disabled}),Object(o.a)(e,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),e),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield"})})),B=Object(g.jsx)(T.a,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),z=l.forwardRef((function(t,e){var n=Object(E.a)({props:t,name:"MuiInputBase"}),o=n["aria-describedby"],d=n.autoComplete,f=n.autoFocus,p=n.className,h=n.components,v=void 0===h?{}:h,m=n.componentsProps,b=void 0===m?{}:m,y=n.defaultValue,x=n.disabled,k=n.disableInjectingGlobalStyles,T=n.endAdornment,I=n.fullWidth,N=void 0!==I&&I,z=n.id,H=n.inputComponent,V=void 0===H?"input":H,U=n.inputProps,W=void 0===U?{}:U,q=n.inputRef,G=n.maxRows,Y=n.minRows,X=n.multiline,K=void 0!==X&&X,$=n.name,Z=n.onBlur,Q=n.onChange,J=n.onClick,tt=n.onFocus,et=n.onKeyDown,nt=n.onKeyUp,rt=n.placeholder,ot=n.readOnly,it=n.renderSuffix,at=n.rows,st=n.startAdornment,lt=n.type,ct=void 0===lt?"text":lt,ut=n.value,dt=Object(i.a)(n,D),ft=null!=W.value?W.value:ut,pt=l.useRef(null!=ft).current,ht=l.useRef(),vt=l.useCallback((function(t){0}),[]),gt=Object(_.a)(W.ref,vt),mt=Object(_.a)(q,gt),bt=Object(_.a)(ht,mt),yt=l.useState(!1),xt=Object(r.a)(yt,2),wt=xt[0],Ot=xt[1],St=Object(C.a)();var jt=Object(S.a)({props:n,muiFormControl:St,states:["color","disabled","error","hiddenLabel","size","required","filled"]});jt.focused=St?St.focused:wt,l.useEffect((function(){!St&&x&&wt&&(Ot(!1),Z&&Z())}),[St,x,wt,Z]);var Ct=St&&St.onFilled,kt=St&&St.onEmpty,Et=l.useCallback((function(t){Object(A.b)(t)?Ct&&Ct():kt&&kt()}),[Ct,kt]);Object(M.a)((function(){pt&&Et({value:ft})}),[ft,Et,pt]);l.useEffect((function(){Et(ht.current)}),[]);var Pt=V,_t=W;K&&"input"===Pt&&(_t=at?Object(a.a)({type:void 0,minRows:at,maxRows:at},_t):Object(a.a)({type:void 0,maxRows:G,minRows:Y},_t),Pt=w);l.useEffect((function(){St&&St.setAdornedStart(Boolean(st))}),[St,st]);var Mt=Object(a.a)({},n,{color:jt.color||"primary",disabled:jt.disabled,endAdornment:T,error:jt.error,focused:jt.focused,formControl:St,fullWidth:N,hiddenLabel:jt.hiddenLabel,multiline:K,size:jt.size,startAdornment:st,type:ct}),Tt=function(t){var e=t.classes,n=t.color,r=t.disabled,o=t.error,i=t.endAdornment,a=t.focused,s=t.formControl,l=t.fullWidth,c=t.hiddenLabel,d=t.multiline,f=t.size,p=t.startAdornment,h=t.type,v={root:["root","color".concat(Object(P.a)(n)),r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl","small"===f&&"sizeSmall",d&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd"]};return Object(u.a)(v,R.b,e)}(Mt),At=v.Root||L,Rt=b.root||{},Dt=v.Input||F;return _t=Object(a.a)({},_t,b.input),Object(g.jsxs)(l.Fragment,{children:[!k&&B,Object(g.jsxs)(At,Object(a.a)({},Rt,!Object(O.a)(At)&&{ownerState:Object(a.a)({},Mt,Rt.ownerState)},{ref:e,onClick:function(t){ht.current&&t.currentTarget===t.target&&ht.current.focus(),J&&J(t)}},dt,{className:Object(c.default)(Tt.root,Rt.className,p),children:[st,Object(g.jsx)(j.a.Provider,{value:null,children:Object(g.jsx)(Dt,Object(a.a)({ownerState:Mt,"aria-invalid":jt.error,"aria-describedby":o,autoComplete:d,autoFocus:f,defaultValue:y,disabled:jt.disabled,id:z,onAnimationStart:function(t){Et("mui-auto-fill-cancel"===t.animationName?ht.current:{value:"x"})},name:$,placeholder:rt,readOnly:ot,required:jt.required,rows:at,value:ft,onKeyDown:et,onKeyUp:nt,type:ct},_t,!Object(O.a)(Dt)&&{as:Pt,ownerState:Object(a.a)({},Mt,_t.ownerState)},{ref:bt,className:Object(c.default)(Tt.input,_t.className),onBlur:function(t){Z&&Z(t),W.onBlur&&W.onBlur(t),St&&St.onBlur?St.onBlur(t):Ot(!1)},onChange:function(t){if(!pt){var e=t.target||ht.current;if(null==e)throw new Error(Object(s.a)(1));Et({value:e.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];W.onChange&&W.onChange.apply(W,[t].concat(r)),Q&&Q.apply(void 0,[t].concat(r))},onFocus:function(t){jt.disabled?t.stopPropagation():(tt&&tt(t),W.onFocus&&W.onFocus(t),St&&St.onFocus?St.onFocus(t):Ot(!0))}}))}),T,it?it(Object(a.a)({},jt,{startAdornment:st})):null]}))]})}));e.c=z},,,,function(t,e,n){var r,o,i;i=function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/DownloadURL.js",[t["Core/Globals.js"]],(function(t){var e=t.isSafari,n=t.win,r=n.document,o=n.URL||n.webkitURL||n,i=t.dataURLtoBlob=function(t){if((t=t.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([0-9A-Za-z+/]+)/))&&3<t.length&&n.atob&&n.ArrayBuffer&&n.Uint8Array&&n.Blob&&o.createObjectURL){var e=n.atob(t[3]),r=new n.ArrayBuffer(e.length);r=new n.Uint8Array(r);for(var i=0;i<r.length;++i)r[i]=e.charCodeAt(i);return t=new n.Blob([r],{type:t[1]}),o.createObjectURL(t)}};return t=t.downloadURL=function(t,o){var a=n.navigator,s=r.createElement("a");if("string"===typeof t||t instanceof String||!a.msSaveOrOpenBlob){if(t="".concat(t),a=/Edge\/\d+/.test(a.userAgent),(e&&"string"===typeof t&&0===t.indexOf("data:application/pdf")||a||2e6<t.length)&&!(t=i(t)||""))throw Error("Failed to convert to blob");if("undefined"!==typeof s.download)s.href=t,s.download=o,r.body.appendChild(s),s.click(),r.body.removeChild(s);else try{var l=n.open(t,"chart");if("undefined"===typeof l||null===l)throw Error("Failed to open window")}catch(c){n.location.href=t}}else a.msSaveOrOpenBlob(t,o)},{dataURLtoBlob:i,downloadURL:t}})),e(t,"Extensions/ExportData.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"],t["Extensions/DownloadURL.js"]],(function(t,e,n,r,o,i,a){function s(t,e){var n=d.navigator,r=-1<n.userAgent.indexOf("WebKit")&&0>n.userAgent.indexOf("Chrome"),o=d.URL||d.webkitURL||d;try{if(n.msSaveOrOpenBlob&&d.MSBlobBuilder){var i=new d.MSBlobBuilder;return i.append(t),i.getBlob("image/svg+xml")}if(!r)return o.createObjectURL(new d.Blob(["\ufeff"+t],{type:e}))}catch(a){}}var l=this&&this.__spreadArray||function(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))},c=r.doc,u=r.seriesTypes,d=r.win;r=o.getOptions,o=o.setOptions;var f=i.addEvent,p=i.defined,h=i.extend,v=i.find,g=i.fireEvent,m=i.isNumber,b=i.pick,y=a.downloadURL;o({exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:"\n"},showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table",hideData:"Hide data table"}}),f(e,"render",(function(){this.options&&this.options.exporting&&this.options.exporting.showTable&&!this.options.chart.forExport&&this.viewData()})),f(e,"afterViewData",(function(){var t=this,e=t.dataTableDiv,n=document.querySelectorAll("thead")[0].querySelectorAll("tr")[0];e&&n.childNodes.forEach((function(n){var r=n.closest("table");n.addEventListener("click",(function(){var o=l([],e.querySelectorAll("tr:not(thead tr)"),!0),i=l([],n.parentNode.children,!0);o.sort(function(t,e){return function(n,r){var o=(e?n:r).children[t].textContent;return n=(e?r:n).children[t].textContent,""===o||""===n||isNaN(o)||isNaN(n)?o.toString().localeCompare(n):o-n}}(i.indexOf(n),t.ascendingOrderInTable=!t.ascendingOrderInTable)).forEach((function(t){r.appendChild(t)})),i.forEach((function(t){["highcharts-sort-ascending","highcharts-sort-descending"].forEach((function(e){t.classList.contains(e)&&t.classList.remove(e)}))})),n.classList.add(t.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending")}))}))})),e.prototype.setUpKeyToAxis=function(){u.arearange&&(u.arearange.prototype.keyToAxis={low:"y",high:"y"}),u.gantt&&(u.gantt.prototype.keyToAxis={start:"x",end:"x"})},e.prototype.getDataRows=function(e){var n,r=this.hasParallelCoordinates,o=this.time,i=this.options.exporting&&this.options.exporting.csv||{},a=this.xAxis,s={},l=[],c=[],u=[],d=this.options.lang.exportData,f=d.categoryHeader,h=d.categoryDatetimeHeader,y=function(n,r,o){if(i.columnHeaderFormatter){var a=i.columnHeaderFormatter(n,r,o);if(!1!==a)return a}return n?n instanceof t?n.options.title&&n.options.title.text||(n.dateTime?h:f):e?{columnTitle:1<o?r:n.name,topLevelColumnTitle:n.name}:n.name+(1<o?" ("+r+")":""):f},x=function(t,e,n){var r={},o={};return e.forEach((function(e){var i=(t.keyToAxis&&t.keyToAxis[e]||e)+"Axis";i=m(n)?t.chart[i][n]:t[i],r[e]=i&&i.categories||[],o[e]=i&&i.dateTime})),{categoryMap:r,dateTimeValueAxisMap:o}},w=[],O=0;for(S in this.setUpKeyToAxis(),this.series.forEach((function(t){var l,d=t.xAxis,f=t.options.keys||function(t,e){return t.data.filter((function(t){return"undefined"!==typeof t.y&&t.name})).length&&e&&!e.categories&&!t.keyToAxis?t.pointArrayMap&&t.pointArrayMap.filter((function(t){return"x"===t})).length?(t.pointArrayMap.unshift("x"),t.pointArrayMap):["x","y"]:t.pointArrayMap||["y"]}(t,d),p=f.length,h=!t.requireSorting&&{},g=a.indexOf(d),m=x(t,f);if(!1!==t.options.includeInDataExport&&!t.options.isInternal&&!1!==t.visible){for(v(w,(function(t){return t[0]===g}))||w.push([g,O]),l=0;l<p;)n=y(t,f[l],f.length),u.push(n.columnTitle||n),e&&c.push(n.topLevelColumnTitle||n),l++;var S={chart:t.chart,autoIncrement:t.autoIncrement,options:t.options,pointArrayMap:t.pointArrayMap};t.options.data.forEach((function(e,n){r&&(m=x(t,f,n));var a={series:S};t.pointClass.prototype.applyOptions.apply(a,[e]),e=a.x;var c=t.data[n]&&t.data[n].name;for(l=0,(!d||"name"===t.exportKey||!r&&d&&d.hasNames&&c)&&(e=c),h&&(h[e]&&(e+="|"+n),h[e]=!0),s[e]||(s[e]=[],s[e].xValues=[]),s[e].x=a.x,s[e].name=c,s[e].xValues[g]=a.x;l<p;)c=a[n=f[l]],s[e][O+l]=b(m.categoryMap[n][c],m.dateTimeValueAxisMap[n]?o.dateFormat(i.dateFormat,c):null,c),l++})),O+=l}})),s)Object.hasOwnProperty.call(s,S)&&l.push(s[S]);var S=e?[c,u]:[u];for(O=w.length;O--;){var j=w[O][0],C=w[O][1],k=a[j];l.sort((function(t,e){return t.xValues[j]-e.xValues[j]})),d=y(k),S[0].splice(C,0,d),e&&S[1]&&S[1].splice(C,0,d),l.forEach((function(t){var e=t.name;k&&!p(e)&&(k.dateTime?(t.x instanceof Date&&(t.x=t.x.getTime()),e=o.dateFormat(i.dateFormat,t.x)):e=k.categories?b(k.names[t.x],k.categories[t.x],t.x):t.x),t.splice(C,0,e)}))}return S=S.concat(l),g(this,"exportData",{dataRows:S}),S},e.prototype.getCSV=function(t){var e="",n=this.getDataRows(),r=this.options.exporting.csv,o=b(r.decimalPoint,","!==r.itemDelimiter&&t?1.1.toLocaleString()[1]:"."),i=b(r.itemDelimiter,","===o?";":","),a=r.lineDelimiter;return n.forEach((function(t,r){for(var s,l=t.length;l--;)"string"===typeof(s=t[l])&&(s='"'+s+'"'),"number"===typeof s&&"."!==o&&(s=s.toString().replace(".",o)),t[l]=s;t.length=n.length?n[0].length:0,e+=t.join(i),r<n.length-1&&(e+=a)})),e},e.prototype.getTable=function(t){return function t(e){if(!e.tagName||"#text"===e.tagName)return e.textContent||"";var n=e.attributes,r="<".concat(e.tagName);return n&&Object.keys(n).forEach((function(t){var e=n[t];r+=" ".concat(t,'="').concat(e,'"')})),r+=">",r+=e.textContent||"",(e.children||[]).forEach((function(e){r+=t(e)})),r+="</".concat(e.tagName,">")}(t=this.getTableAST(t))},e.prototype.getTableAST=function(t){var e=0,n=[],r=this.options,o=t?1.1.toLocaleString()[1]:".",i=b(r.exporting.useMultiLevelHeaders,!0);t=this.getDataRows(i);var a=i?t.shift():null,s=t.shift(),l=function(t,e,n,r){var i=b(r,"");return e="highcharts-text"+(e?" "+e:""),"number"===typeof i?(i=i.toString(),","===o&&(i=i.replace(".",o)),e="highcharts-number"):r||(e="highcharts-empty"),{tagName:t,attributes:n=h({class:e},n),textContent:i}};!1!==r.exporting.tableCaption&&n.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:b(r.exporting.tableCaption,r.title.text?r.title.text:"Chart")});for(var c=0,u=t.length;c<u;++c)t[c].length>e&&(e=t[c].length);n.push(function(t,e,n){var o=[],a=0;n=n||e&&e.length;var s,c=0;if(s=i&&t&&e){t:if(s=t.length,e.length===s){for(;s--;)if(t[s]!==e[s]){s=!1;break t}s=!0}else s=!1;s=!s}if(s){for(s=[];a<n;++a){var u=t[a],d=t[a+1];u===d?++c:c?(s.push(l("th","highcharts-table-topheading",{scope:"col",colspan:c+1},u)),c=0):(u===e[a]?r.exporting.useRowspanHeaders?(d=2,delete e[a]):(d=1,e[a]=""):d=1,u=l("th","highcharts-table-topheading",{scope:"col"},u),1<d&&u.attributes&&(u.attributes.valign="top",u.attributes.rowspan=d),s.push(u))}o.push({tagName:"tr",children:s})}if(e){for(s=[],a=0,n=e.length;a<n;++a)"undefined"!==typeof e[a]&&s.push(l("th",null,{scope:"col"},e[a]));o.push({tagName:"tr",children:s})}return{tagName:"thead",children:o}}(a,s,Math.max(e,s.length)));var d=[];return t.forEach((function(t){for(var n=[],r=0;r<e;r++)n.push(l(r?"td":"th",null,r?{}:{scope:"row"},t[r]));d.push({tagName:"tr",children:n})})),n.push({tagName:"tbody",children:d}),n={tree:{tagName:"table",id:"highcharts-data-table-".concat(this.index),children:n}},g(this,"aftergetTableAST",n),n.tree},e.prototype.downloadCSV=function(){var t=this.getCSV(!0);y(s(t,"text/csv")||"data:text/csv,\ufeff"+encodeURIComponent(t),this.getFilename()+".csv")},e.prototype.downloadXLS=function(){var t='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head>\x3c!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--\x3e<style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+this.getTable(!0)+"</body></html>";y(s(t,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+d.btoa(unescape(encodeURIComponent(t))),this.getFilename()+".xls")},e.prototype.viewData=function(){this.toggleDataTable(!0)},e.prototype.hideData=function(){this.toggleDataTable(!1)},e.prototype.toggleDataTable=function(t){(t=b(t,!this.isDataTableVisible))&&!this.dataTableDiv&&(this.dataTableDiv=c.createElement("div"),this.dataTableDiv.className="highcharts-data-table",this.renderTo.parentNode.insertBefore(this.dataTableDiv,this.renderTo.nextSibling)),this.dataTableDiv&&(this.dataTableDiv.style.display=t?"block":"none",t&&(this.dataTableDiv.innerHTML=n.emptyHTML,new n([this.getTableAST()]).addToDOM(this.dataTableDiv),g(this,"afterViewData",this.dataTableDiv))),this.isDataTableVisible=t,t=this.exportDivElements;var e=this.options.exporting,r=e&&e.buttons&&e.buttons.contextButton.menuItems;e=this.options.lang,x&&x.menuItemDefinitions&&e&&e.viewData&&e.hideData&&r&&t&&(t=t[r.indexOf("viewData")])&&n.setElementHTML(t,this.isDataTableVisible?e.hideData:e.viewData)};var x=r().exporting;x&&(h(x.menuItemDefinitions,{downloadCSV:{textKey:"downloadCSV",onclick:function(){this.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){this.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){this.toggleDataTable()}}}),x.buttons&&x.buttons.contextButton.menuItems.push("separator","downloadCSV","downloadXLS","viewData")),u.map&&(u.map.prototype.exportKey="name"),u.mapbubble&&(u.mapbubble.prototype.exportKey="name"),u.treemap&&(u.treemap.prototype.exportKey="name")})),e(t,"masters/modules/export-data.src.js",[],(function(){}))},t.exports?(i.default=i,t.exports=i):(r=[n(21),n(86)],void 0===(o=function(t){return i(t),i.Highcharts=t,i}.apply(e,r))||(t.exports=o))},function(t,e,n){var r,o,i;i=function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/FullScreen.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Renderer/HTML/AST.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=r.addEvent,i=r.fireEvent;return r=function(){function t(t){this.chart=t,this.isOpen=!1,t=t.renderTo,this.browserProps||("function"===typeof t.requestFullscreen?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:t.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:t.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:t.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}return t.prototype.close=function(){var t=this,e=t.chart,n=e.options.chart;i(e,"fullscreenClose",null,(function(){t.isOpen&&t.browserProps&&e.container.ownerDocument instanceof Document&&e.container.ownerDocument[t.browserProps.exitFullscreen](),t.unbindFullscreenEvent&&(t.unbindFullscreenEvent=t.unbindFullscreenEvent()),e.setSize(t.origWidth,t.origHeight,!1),t.origWidth=void 0,t.origHeight=void 0,n.width=t.origWidthOption,n.height=t.origHeightOption,t.origWidthOption=void 0,t.origHeightOption=void 0,t.isOpen=!1,t.setButtonText()}))},t.prototype.open=function(){var t=this,e=t.chart,n=e.options.chart;i(e,"fullscreenOpen",null,(function(){if(n&&(t.origWidthOption=n.width,t.origHeightOption=n.height),t.origWidth=e.chartWidth,t.origHeight=e.chartHeight,t.browserProps){var r=o(e.container.ownerDocument,t.browserProps.fullscreenChange,(function(){t.isOpen?(t.isOpen=!1,t.close()):(e.setSize(null,null,!1),t.isOpen=!0,t.setButtonText())})),i=o(e,"destroy",r);t.unbindFullscreenEvent=function(){r(),i()};var a=e.renderTo[t.browserProps.requestFullscreen]();a&&a.catch((function(){alert("Full screen is not supported inside a frame.")}))}}))},t.prototype.setButtonText=function(){var t=this.chart,e=t.exportDivElements,r=t.options.exporting,o=r&&r.buttons&&r.buttons.contextButton.menuItems;t=t.options.lang,r&&r.menuItemDefinitions&&t&&t.exitFullscreen&&t.viewFullscreen&&o&&e&&(e=e[o.indexOf("viewFullscreen")])&&n.setElementHTML(e,this.isOpen?t.exitFullscreen:r.menuItemDefinitions.viewFullscreen.text||t.viewFullscreen)},t.prototype.toggle=function(){this.isOpen?this.close():this.open()},t}(),e.Fullscreen=r,o(t,"beforeRender",(function(){this.fullscreen=new e.Fullscreen(this)})),e.Fullscreen})),e(t,"masters/modules/full-screen.src.js",[],(function(){}))},t.exports?(i.default=i,t.exports=i):(r=[n(21)],void 0===(o=function(t){return i(t),i.Highcharts=t,i}.apply(e,r))||(t.exports=o))},function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return v})),n.d(e,"e",(function(){return s})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return u}));var r=n(1),o=n(510),i=(n(3),n(278),n(504),n(135)),a=n(200),s={}.hasOwnProperty,l=Object(r.createContext)("undefined"!==typeof HTMLElement?Object(o.a)({key:"css"}):null);var c=l.Provider,u=function(t){return Object(r.forwardRef)((function(e,n){var o=Object(r.useContext)(l);return t(e,o,n)}))},d=Object(r.createContext)({});var f=r.useInsertionEffect?r.useInsertionEffect:function(t){t()};function p(t){f(t)}var h="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",v=function(t,e){var n={};for(var r in e)s.call(e,r)&&(n[r]=e[r]);return n[h]=t,n},g=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;Object(i.c)(e,n,r);p((function(){return Object(i.b)(e,n,r)}));return null},m=u((function(t,e,n){var o=t.css;"string"===typeof o&&void 0!==e.registered[o]&&(o=e.registered[o]);var l=t[h],c=[o],u="";"string"===typeof t.className?u=Object(i.a)(e.registered,c,t.className):null!=t.className&&(u=t.className+" ");var f=Object(a.a)(c,void 0,Object(r.useContext)(d));u+=e.key+"-"+f.name;var p={};for(var v in t)s.call(t,v)&&"css"!==v&&v!==h&&(p[v]=t[v]);return p.ref=n,p.className=u,Object(r.createElement)(r.Fragment,null,Object(r.createElement)(g,{cache:e,serialized:f,isStringTag:"string"===typeof l}),Object(r.createElement)(l,p))}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return v})),n.d(e,"d",(function(){return g}));var r=n(2),o=n(84),i=n(34),a=n(176);var s={m:"margin",p:"padding"},l={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){if(t.length>2){if(!c[t])return[t];t=c[t]}var e=t.split(""),n=Object(r.a)(e,2),o=n[0],i=n[1],a=s[o],u=l[i]||"";return Array.isArray(u)?u.map((function(t){return a+t})):[a+u]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function h(t,e,n,r){var o,a=null!=(o=Object(i.b)(t,e,!1))?o:n;return"number"===typeof a?function(t){return"string"===typeof t?t:a*t}:Array.isArray(a)?function(t){return"string"===typeof t?t:a[t]}:"function"===typeof a?a:function(){}}function v(t){return h(t,"spacing",8)}function g(t,e){if("string"===typeof e||null==e)return e;var n=t(Math.abs(e));return e>=0?n:"number"===typeof n?-n:"-".concat(n)}function m(t,e,n,r){if(-1===e.indexOf(n))return null;var i=function(t,e){return function(n){return t.reduce((function(t,r){return t[r]=g(e,n),t}),{})}}(u(n),r),a=t[n];return Object(o.b)(t,a,i)}function b(t,e){var n=v(t.theme);return Object.keys(t).map((function(r){return m(t,e,r,n)})).reduce(a.a,{})}function y(t){return b(t,d)}function x(t){return b(t,f)}function w(t){return b(t,p)}y.propTypes={},y.filterProps=d,x.propTypes={},x.filterProps=f,w.propTypes={},w.filterProps=p;e.c=w},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(168),o=n(187);function i(t){return Object(r.a)("MuiSwitch",t)}var a=Object(o.a)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);e.a=a},,,,,function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return l}));var r=n(733),o=n(75),i=n(64),a=n(395);function s(t){var e=t.domain;return t.ticks=function(t){var n=e();return Object(r.a)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Object(a.a)(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var o,i,a=e(),s=0,l=a.length-1,c=a[s],u=a[l],d=10;for(u<c&&(i=c,c=u,u=i,i=s,s=l,l=i);d-- >0;){if((i=Object(r.b)(c,u,n))===o)return a[s]=c,a[l]=u,e(a);if(i>0)c=Math.floor(c/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,u=Math.floor(u*i)/i}o=i}return t},t}function l(){var t=Object(o.b)();return t.copy=function(){return Object(o.a)(t,l())},i.b.apply(t,arguments),s(t)}},function(t,e,n){"use strict";function r(t){var e=t.props,n=t.states,r=t.muiFormControl;return n.reduce((function(t,n){return t[n]=e[n],r&&"undefined"===typeof e[n]&&(t[n]=r[n]),t}),{})}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return W}));var r=n(1),o=n.n(r),i=o.a.createContext(null);var a=function(t){t()};function s(){var t=a,e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var l={notify:function(){},get:function(){return[]}};function c(t,e){var n,r=l;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=e?e.addNestedSub(o):t.subscribe(o),r=s())}var a={addNestedSub:function(t){return i(),r.subscribe(t)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=l)},getListeners:function(){return r}};return a}var u="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;var d=function(t){var e=t.store,n=t.context,a=t.children,s=Object(r.useMemo)((function(){var t=c(e);return{store:e,subscription:t}}),[e]),l=Object(r.useMemo)((function(){return e.getState()}),[e]);u((function(){var t=s.subscription;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),l!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[s,l]);var d=n||i;return o.a.createElement(d.Provider,{value:s},a)},f=n(3),p=n(12),h=n(134),v=n.n(h),g=n(656),m=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],b=["reactReduxForwardedRef"],y=[],x=[null,null];function w(t,e){var n=t[1];return[e.payload,n+1]}function O(t,e,n){u((function(){return t.apply(void 0,e)}),n)}function S(t,e,n,r,o,i,a){t.current=r,e.current=o,n.current=!1,i.current&&(i.current=null,a())}function j(t,e,n,r,o,i,a,s,l,c){if(t){var u=!1,d=null,f=function(){if(!u){var t,n,f=e.getState();try{t=r(f,o.current)}catch(p){n=p,d=p}n||(d=null),t===i.current?a.current||l():(i.current=t,s.current=t,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var C=function(){return[null,0]};function k(t,e){void 0===e&&(e={});var n=e,a=n.getDisplayName,s=void 0===a?function(t){return"ConnectAdvanced("+t+")"}:a,l=n.methodName,u=void 0===l?"connectAdvanced":l,d=n.renderCountProp,h=void 0===d?void 0:d,k=n.shouldHandleStateChanges,E=void 0===k||k,P=n.storeKey,_=void 0===P?"store":P,M=(n.withRef,n.forwardRef),T=void 0!==M&&M,A=n.context,R=void 0===A?i:A,D=Object(p.a)(n,m),I=R;return function(e){var n=e.displayName||e.name||"Component",i=s(n),a=Object(f.a)({},D,{getDisplayName:s,methodName:u,renderCountProp:h,shouldHandleStateChanges:E,storeKey:_,displayName:i,wrappedComponentName:n,WrappedComponent:e}),l=D.pure;var d=l?r.useMemo:function(t){return t()};function m(n){var i=Object(r.useMemo)((function(){var t=n.reactReduxForwardedRef,e=Object(p.a)(n,b);return[n.context,t,e]}),[n]),s=i[0],l=i[1],u=i[2],h=Object(r.useMemo)((function(){return s&&s.Consumer&&Object(g.isContextConsumer)(o.a.createElement(s.Consumer,null))?s:I}),[s,I]),v=Object(r.useContext)(h),m=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(v)&&Boolean(v.store);var k=m?n.store:v.store,P=Object(r.useMemo)((function(){return function(e){return t(e.dispatch,a)}(k)}),[k]),_=Object(r.useMemo)((function(){if(!E)return x;var t=c(k,m?null:v.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[k,m,v]),M=_[0],T=_[1],A=Object(r.useMemo)((function(){return m?v:Object(f.a)({},v,{subscription:M})}),[m,v,M]),R=Object(r.useReducer)(w,y,C),D=R[0][0],N=R[1];if(D&&D.error)throw D.error;var L=Object(r.useRef)(),F=Object(r.useRef)(u),B=Object(r.useRef)(),z=Object(r.useRef)(!1),H=d((function(){return B.current&&u===F.current?B.current:P(k.getState(),u)}),[k,D,u]);O(S,[F,L,z,u,H,B,T]),O(j,[E,k,M,P,F,L,z,B,T,N],[k,M,P]);var V=Object(r.useMemo)((function(){return o.a.createElement(e,Object(f.a)({},H,{ref:l}))}),[l,e,H]);return Object(r.useMemo)((function(){return E?o.a.createElement(h.Provider,{value:A},V):V}),[h,V,A])}var k=l?o.a.memo(m):m;if(k.WrappedComponent=e,k.displayName=m.displayName=i,T){var P=o.a.forwardRef((function(t,e){return o.a.createElement(k,Object(f.a)({},t,{reactReduxForwardedRef:e}))}));return P.displayName=i,P.WrappedComponent=e,v()(P,e)}return v()(k,e)}}function E(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function P(t,e){if(E(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 o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(e,n[o])||!E(t[n[o]],e[n[o]]))return!1;return!0}function _(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function M(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function T(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=M(t);var o=r(e,n);return"function"===typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=M(o),o=r(e,n)),o},r}}var A=[function(t){return"function"===typeof t?T(t):void 0},function(t){return t?void 0:_((function(t){return{dispatch:t}}))},function(t){return t&&"object"===typeof t?_((function(e){return function(t,e){var n={},r=function(r){var o=t[r];"function"===typeof o&&(n[r]=function(){return e(o.apply(void 0,arguments))})};for(var o in t)r(o);return n}(t,e)})):void 0}];var R=[function(t){return"function"===typeof t?T(t):void 0},function(t){return t?void 0:_((function(){return{}}))}];function D(t,e,n){return Object(f.a)({},n,t,e)}var I=[function(t){return"function"===typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(e,n,s){var l=t(e,n,s);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(t):void 0},function(t){return t?void 0:function(){return D}}];var N=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function L(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function F(t,e,n,r,o){var i,a,s,l,c,u=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,p=!1;function h(o,p){var h=!d(p,a),v=!u(o,i);return i=o,a=p,h&&v?(s=t(i,a),e.dependsOnOwnProps&&(l=e(r,a)),c=n(s,l,a)):h?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(l=e(r,a)),c=n(s,l,a)):v?function(){var e=t(i,a),r=!f(e,s);return s=e,r&&(c=n(s,l,a)),c}():c}return function(o,u){return p?h(o,u):(s=t(i=o,a=u),l=e(r,a),c=n(s,l,a),p=!0,c)}}function B(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=Object(p.a)(e,N),a=n(t,i),s=r(t,i),l=o(t,i);return(i.pure?F:L)(a,s,l,t,i)}var z=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function H(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function V(t,e){return t===e}function U(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?k:n,o=e.mapStateToPropsFactories,i=void 0===o?R:o,a=e.mapDispatchToPropsFactories,s=void 0===a?A:a,l=e.mergePropsFactories,c=void 0===l?I:l,u=e.selectorFactory,d=void 0===u?B:u;return function(t,e,n,o){void 0===o&&(o={});var a=o,l=a.pure,u=void 0===l||l,h=a.areStatesEqual,v=void 0===h?V:h,g=a.areOwnPropsEqual,m=void 0===g?P:g,b=a.areStatePropsEqual,y=void 0===b?P:b,x=a.areMergedPropsEqual,w=void 0===x?P:x,O=Object(p.a)(a,z),S=H(t,i,"mapStateToProps"),j=H(e,s,"mapDispatchToProps"),C=H(n,c,"mergeProps");return r(d,Object(f.a)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:S,initMapDispatchToProps:j,initMergeProps:C,pure:u,areStatesEqual:v,areOwnPropsEqual:m,areStatePropsEqual:y,areMergedPropsEqual:w},O))}}var W=U();var q,G=n(51);q=G.unstable_batchedUpdates,a=q},function(t,e,n){"use strict";var r=n(312);e.a=r.a},,function(t,e,n){t.exports=n(1106)()},function(t,e,n){t.exports=n(581).default,t.exports.utils=n(274),t.exports.Responsive=n(907).default,t.exports.Responsive.utils=n(590),t.exports.WidthProvider=n(908).default},function(t,e,n){"use strict";var r=n(350);e.a=r.a},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}));var r=function(t){return t.scrollTop};function o(t,e){var n,r,o=t.timeout,i=t.easing,a=t.style,s=void 0===a?{}:a;return{duration:null!=(n=s.transitionDuration)?n:"number"===typeof o?o:o[e.mode]||0,easing:null!=(r=s.transitionTimingFunction)?r:"object"===typeof i?i[e.mode]:i,delay:s.transitionDelay}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(676),o=new(n.n(r).a);o.setMaxListeners&&o.setMaxListeners(10);var i="recharts.syncMouseEvents"},function(t,e,n){"use strict";n.d(e,"c",(function(){return xt})),n.d(e,"a",(function(){return Ut})),n.d(e,"b",(function(){return W}));var r,o,i=n(14),a=n(25),s=n(23);try{r=Map}catch(Gt){}try{o=Set}catch(Gt){}function l(t,e,n){if(!t||"object"!==typeof t||"function"===typeof t)return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);if(Array.isArray(t))return t.map(c);if(r&&t instanceof r)return new Map(Array.from(t.entries()));if(o&&t instanceof o)return new Set(Array.from(t.values()));if(t instanceof Object){e.push(t);var i=Object.create(t);for(var a in n.push(i),t){var s=e.findIndex((function(e){return e===t[a]}));i[a]=s>-1?n[s]:l(t[a],e,n)}return i}return t}function c(t){return l(t,[],[])}var u=Object.prototype.toString,d=Error.prototype.toString,f=RegExp.prototype.toString,p="undefined"!==typeof Symbol?Symbol.prototype.toString:function(){return""},h=/^Symbol\((.*)\)(.*)$/;function v(t){return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t}function g(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null==t||!0===t||!1===t)return""+t;var n=typeof t;if("number"===n)return v(t);if("string"===n)return e?'"'.concat(t,'"'):t;if("function"===n)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===n)return p.call(t).replace(h,"Symbol($1)");var r=u.call(t).slice(8,-1);return"Date"===r?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===r||t instanceof Error?"["+d.call(t)+"]":"RegExp"===r?f.call(t):null}function m(t,e){var n=g(t,e);return null!==n?n:JSON.stringify(t,(function(t,n){var r=g(this[t],e);return null!==r?r:n}),2)}var b={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(t){var e=t.path,n=t.type,r=t.value,o=t.originalValue,i=null!=o&&o!==r,a="".concat(e," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(m(r,!0),"`")+(i?" (cast from the value `".concat(m(o,!0),"`)."):".");return null===r&&(a+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),a},defined:"${path} must be defined"},y={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},x={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},w={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},O={isValue:"${path} field must be ${value}"},S={noUnknown:"${path} field has unspecified keys: ${unknown}"},j={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must be have ${length} items"},C=(Object.assign(Object.create(null),{mixed:b,string:y,number:x,date:w,object:S,array:j,boolean:O}),n(256)),k=n.n(C),E=function(t){return t&&t.__isYupSchema__},P=function(){function t(e,n){if(Object(a.a)(this,t),this.refs=e,this.refs=e,"function"!==typeof n){if(!k()(n,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=n.is,o=n.then,i=n.otherwise,s="function"===typeof r?r:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.every((function(t){return t===r}))};this.fn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.pop(),a=e.pop(),l=s.apply(void 0,e)?o:i;if(l)return"function"===typeof l?l(a):a.concat(l.resolve(r))}}else this.fn=n}return Object(s.a)(t,[{key:"resolve",value:function(t,e){var n=this.refs.map((function(t){return t.getValue(null==e?void 0:e.value,null==e?void 0:e.parent,null==e?void 0:e.context)})),r=this.fn.apply(t,n.concat(t,e));if(void 0===r||r===t)return t;if(!E(r))throw new TypeError("conditions must return a schema object");return r.resolve(e)}}]),t}(),_=P,M=n(89),T=n(37),A=n(46),R=n(349);function D(t){return null==t?[]:[].concat(t)}function I(){return 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},I.apply(this,arguments)}var N=/\$\{\s*(\w+)\s*\}/g,L=function(t){Object(T.a)(n,t);var e=Object(A.a)(n);function n(t,r,o,s){var l;return Object(a.a)(this,n),(l=e.call(this)).name="ValidationError",l.value=r,l.path=o,l.type=s,l.errors=[],l.inner=[],D(t).forEach((function(t){var e;n.isError(t)?((e=l.errors).push.apply(e,Object(i.a)(t.errors)),l.inner=l.inner.concat(t.inner.length?t.inner:t)):l.errors.push(t)})),l.message=l.errors.length>1?"".concat(l.errors.length," errors occurred"):l.errors[0],Error.captureStackTrace&&Error.captureStackTrace(Object(M.a)(l),n),l}return Object(s.a)(n,null,[{key:"formatError",value:function(t,e){var n=e.label||e.path||"this";return n!==e.path&&(e=I({},e,{path:n})),"string"===typeof t?t.replace(N,(function(t,n){return m(e[n])})):"function"===typeof t?t(e):t}},{key:"isError",value:function(t){return t&&"ValidationError"===t.name}}]),n}(Object(R.a)(Error));function F(t,e){var n=t.endEarly,r=t.tests,o=t.args,a=t.value,s=t.errors,l=t.sort,c=t.path,u=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(e),d=r.length,f=[];if(s=s||[],!d)return s.length?u(new L(s,a,c)):u(null,a);for(var p=0;p<r.length;p++){(0,r[p])(o,(function(t){if(t){if(!L.isError(t))return u(t,a);if(n)return t.value=a,u(t,a);f.push(t)}if(--d<=0){if(f.length&&(l&&f.sort(l),s.length&&f.push.apply(f,Object(i.a)(s)),s=f),s.length)return void u(new L(s,a,c),a);u(null,a)}}))}}var B=n(293),z=n.n(B),H=n(223),V="$",U=".";function W(t,e){return new q(t,e)}var q=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(a.a)(this,t),"string"!==typeof e)throw new TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===V,this.isValue=this.key[0]===U,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?V:this.isValue?U:"";this.path=this.key.slice(r.length),this.getter=this.path&&Object(H.getter)(this.path,!0),this.map=n.map}return Object(s.a)(t,[{key:"getValue",value:function(t,e,n){var r=this.isContext?n:this.isValue?t:e;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}},{key:"cast",value:function(t,e){return this.getValue(t,null==e?void 0:e.parent,null==e?void 0:e.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(t){return t&&t.__isYupRef}}]),t}();function G(){return G=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},G.apply(this,arguments)}function Y(t){function e(e,n){var r=e.value,o=e.path,i=void 0===o?"":o,a=e.label,s=e.options,l=e.originalValue,c=e.sync,u=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(e,["value","path","label","options","originalValue","sync"]),d=t.name,f=t.test,p=t.params,h=t.message,v=s.parent,g=s.context;function m(t){return q.isRef(t)?t.getValue(r,v,g):t}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=z()(G({value:r,originalValue:l,label:a,path:t.path||i},p,t.params),m),n=new L(L.formatError(t.message||h,e),r,e.path,t.type||d);return n.params=e,n}var y=G({path:i,parent:v,type:d,createError:b,resolve:m,options:s,originalValue:l},u);if(c){var x;try{var w;if("function"===typeof(null==(w=x=f.call(y,r,y))?void 0:w.then))throw new Error('Validation test of type: "'.concat(y.type,'" returned a Promise during a synchronous validate. ')+"This test will finish after the validate call has returned")}catch(O){return void n(O)}L.isError(x)?n(x):x?n(null,x):n(b())}else try{Promise.resolve(f.call(y,r,y)).then((function(t){L.isError(t)?n(t):t?n(null,t):n(b())}))}catch(O){n(O)}}return e.OPTIONS=t,e}q.prototype.__isYupRef=!0;var X=function(t){return t.substr(0,t.length-1).substr(1)};function K(t,e,n){var r,o,i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:n;return e?(Object(H.forEach)(e,(function(s,l,c){var u=l?X(s):s;if((t=t.resolve({context:a,parent:r,value:n})).innerType){var d=c?parseInt(u,10):0;if(n&&d>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(s,", in the path: ").concat(e,". ")+"because there is no value at that index. ");r=n,n=n&&n[d],t=t.innerType}if(!c){if(!t.fields||!t.fields[u])throw new Error("The schema does not contain the path: ".concat(e,". ")+"(failed at: ".concat(i,' which is a type: "').concat(t._type,'")'));r=n,n=n&&n[u],t=t.fields[u]}o=u,i=l?"["+s+"]":"."+s})),{schema:t,parent:r,parentPath:o}):{parent:r,parentPath:e,schema:t}}var $=n(2),Z=n(47),Q=function(){function t(){Object(a.a)(this,t),this.list=new Set,this.refs=new Map}return Object(s.a)(t,[{key:"size",get:function(){return this.list.size+this.refs.size}},{key:"describe",value:function(){var t,e=[],n=Object(Z.a)(this.list);try{for(n.s();!(t=n.n()).done;){var r=t.value;e.push(r)}}catch(s){n.e(s)}finally{n.f()}var o,i=Object(Z.a)(this.refs);try{for(i.s();!(o=i.n()).done;){var a=Object($.a)(o.value,2)[1];e.push(a.describe())}}catch(s){i.e(s)}finally{i.f()}return e}},{key:"toArray",value:function(){return Array.from(this.list).concat(Array.from(this.refs.values()))}},{key:"add",value:function(t){q.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}},{key:"delete",value:function(t){q.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}},{key:"has",value:function(t,e){if(this.list.has(t))return!0;for(var n,r=this.refs.values();!(n=r.next()).done;)if(e(n.value)===t)return!0;return!1}},{key:"clone",value:function(){var e=new t;return e.list=new Set(this.list),e.refs=new Map(this.refs),e}},{key:"merge",value:function(t,e){var n=this.clone();return t.list.forEach((function(t){return n.add(t)})),t.refs.forEach((function(t){return n.add(t)})),e.list.forEach((function(t){return n.delete(t)})),e.refs.forEach((function(t){return n.delete(t)})),n}}]),t}();function J(){return J=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},J.apply(this,arguments)}var tt=function(){function t(e){var n=this;Object(a.a)(this,t),this.deps=[],this.conditions=[],this._whitelist=new Q,this._blacklist=new Q,this.exclusiveTests=Object.create(null),this.tests=[],this.transforms=[],this.withMutation((function(){n.typeError(b.notType)})),this.type=(null==e?void 0:e.type)||"mixed",this.spec=J({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},null==e?void 0:e.spec)}return Object(s.a)(t,[{key:"_type",get:function(){return this.type}},{key:"_typeCheck",value:function(t){return!0}},{key:"clone",value:function(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;var e=Object.create(Object.getPrototypeOf(this));return e.type=this.type,e._typeError=this._typeError,e._whitelistError=this._whitelistError,e._blacklistError=this._blacklistError,e._whitelist=this._whitelist.clone(),e._blacklist=this._blacklist.clone(),e.exclusiveTests=J({},this.exclusiveTests),e.deps=Object(i.a)(this.deps),e.conditions=Object(i.a)(this.conditions),e.tests=Object(i.a)(this.tests),e.transforms=Object(i.a)(this.transforms),e.spec=c(J({},this.spec,t)),e}},{key:"label",value:function(t){var e=this.clone();return e.spec.label=t,e}},{key:"meta",value:function(){if(0===arguments.length)return this.spec.meta;var t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},arguments.length<=0?void 0:arguments[0]),t}},{key:"withMutation",value:function(t){var e=this._mutate;this._mutate=!0;var n=t(this);return this._mutate=e,n}},{key:"concat",value:function(t){if(!t||t===this)return this;if(t.type!==this.type&&"mixed"!==this.type)throw new TypeError("You cannot `concat()` schema's of different types: ".concat(this.type," and ").concat(t.type));var e=this,n=t.clone(),r=J({},e.spec,n.spec);return n.spec=r,n._typeError||(n._typeError=e._typeError),n._whitelistError||(n._whitelistError=e._whitelistError),n._blacklistError||(n._blacklistError=e._blacklistError),n._whitelist=e._whitelist.merge(t._whitelist,t._blacklist),n._blacklist=e._blacklist.merge(t._blacklist,t._whitelist),n.tests=e.tests,n.exclusiveTests=e.exclusiveTests,n.withMutation((function(e){t.tests.forEach((function(t){e.test(t.OPTIONS)}))})),n}},{key:"isType",value:function(t){return!(!this.spec.nullable||null!==t)||this._typeCheck(t)}},{key:"resolve",value:function(t){var e=this;if(e.conditions.length){var n=e.conditions;(e=e.clone()).conditions=[],e=(e=n.reduce((function(e,n){return n.resolve(e,t)}),e)).resolve(t)}return e}},{key:"cast",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(J({value:t},e)),r=n._cast(t,e);if(void 0!==t&&!1!==e.assert&&!0!==n.isType(r)){var o=m(t),i=m(r);throw new TypeError("The value of ".concat(e.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n._type,'". \n\n')+"attempted value: ".concat(o," \n")+(i!==o?"result of cast: ".concat(i):""))}return r}},{key:"_cast",value:function(t,e){var n=this,r=void 0===t?t:this.transforms.reduce((function(e,r){return r.call(n,e,t,n)}),t);return void 0===r&&(r=this.getDefault()),r}},{key:"_validate",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=n.sync,i=n.path,a=n.from,s=void 0===a?[]:a,l=n.originalValue,c=void 0===l?t:l,u=n.strict,d=void 0===u?this.spec.strict:u,f=n.abortEarly,p=void 0===f?this.spec.abortEarly:f,h=t;d||(h=this._cast(h,J({assert:!1},n)));var v={value:h,path:i,options:n,originalValue:c,schema:this,label:this.spec.label,sync:o,from:s},g=[];this._typeError&&g.push(this._typeError),this._whitelistError&&g.push(this._whitelistError),this._blacklistError&&g.push(this._blacklistError),F({args:v,value:h,path:i,sync:o,tests:g,endEarly:p},(function(t){t?r(t,h):F({tests:e.tests,args:v,path:i,sync:o,value:h,endEarly:p},r)}))}},{key:"validate",value:function(t,e,n){var r=this.resolve(J({},e,{value:t}));return"function"===typeof n?r._validate(t,e,n):new Promise((function(n,o){return r._validate(t,e,(function(t,e){t?o(t):n(e)}))}))}},{key:"validateSync",value:function(t,e){var n;return this.resolve(J({},e,{value:t}))._validate(t,J({},e,{sync:!0}),(function(t,e){if(t)throw t;n=e})),n}},{key:"isValid",value:function(t,e){return this.validate(t,e).then((function(){return!0}),(function(t){if(L.isError(t))return!1;throw t}))}},{key:"isValidSync",value:function(t,e){try{return this.validateSync(t,e),!0}catch(n){if(L.isError(n))return!1;throw n}}},{key:"_getDefault",value:function(){var t=this.spec.default;return null==t?t:"function"===typeof t?t.call(this):c(t)}},{key:"getDefault",value:function(t){return this.resolve(t||{})._getDefault()}},{key:"default",value:function(t){if(0===arguments.length)return this._getDefault();var e=this.clone({default:t});return e}},{key:"strict",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone();return e.spec.strict=t,e}},{key:"_isPresent",value:function(t){return null!=t}},{key:"defined",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.defined;return this.test({message:t,name:"defined",exclusive:!0,test:function(t){return void 0!==t}})}},{key:"required",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b.required;return this.clone({presence:"required"}).withMutation((function(e){return e.test({message:t,name:"required",exclusive:!0,test:function(t){return this.schema._isPresent(t)}})}))}},{key:"notRequired",value:function(){var t=this.clone({presence:"optional"});return t.tests=t.tests.filter((function(t){return"required"!==t.OPTIONS.name})),t}},{key:"nullable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone({nullable:!1!==t});return e}},{key:"transform",value:function(t){var e=this.clone();return e.transforms.push(t),e}},{key:"test",value:function(){var t;if(void 0===(t=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(t.message=b.default),"function"!==typeof t.test)throw new TypeError("`test` is a required parameters");var e=this.clone(),n=Y(t),r=t.exclusive||t.name&&!0===e.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(e.exclusiveTests[t.name]=!!t.exclusive),e.tests=e.tests.filter((function(e){if(e.OPTIONS.name===t.name){if(r)return!1;if(e.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),e.tests.push(n),e}},{key:"when",value:function(t,e){Array.isArray(t)||"string"===typeof t||(e=t,t=".");var n=this.clone(),r=D(t).map((function(t){return new q(t)}));return r.forEach((function(t){t.isSibling&&n.deps.push(t.key)})),n.conditions.push(new _(r,e)),n}},{key:"typeError",value:function(t){var e=this.clone();return e._typeError=Y({message:t,name:"typeError",test:function(t){return!(void 0!==t&&!this.schema.isType(t))||this.createError({params:{type:this.schema._type}})}}),e}},{key:"oneOf",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.oneOf,n=this.clone();return t.forEach((function(t){n._whitelist.add(t),n._blacklist.delete(t)})),n._whitelistError=Y({message:e,name:"oneOf",test:function(t){if(void 0===t)return!0;var e=this.schema._whitelist;return!!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),n}},{key:"notOneOf",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.notOneOf,n=this.clone();return t.forEach((function(t){n._blacklist.add(t),n._whitelist.delete(t)})),n._blacklistError=Y({message:e,name:"notOneOf",test:function(t){var e=this.schema._blacklist;return!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),n}},{key:"strip",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.clone();return e.spec.strip=t,e}},{key:"describe",value:function(){var t=this.clone(),e=t.spec,n=e.label;return{meta:e.meta,label:n,type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((function(t){return{name:t.OPTIONS.name,params:t.OPTIONS.params}})).filter((function(t,e,n){return n.findIndex((function(e){return e.name===t.name}))===e}))}}}]),t}();tt.prototype.__isYupSchema__=!0;for(var et=function(){var t=rt[nt];tt.prototype["".concat(t,"At")]=function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=K(this,e,n,r.context),i=o.parent,a=o.parentPath,s=o.schema;return s[t](i&&i[a],J({},r,{parent:i,path:e}))}},nt=0,rt=["validate","validateSync"];nt<rt.length;nt++)et();for(var ot=0,it=["equals","is"];ot<it.length;ot++){var at=it[ot];tt.prototype[at]=tt.prototype.oneOf}for(var st=0,lt=["not","nope"];st<lt.length;st++){var ct=lt[st];tt.prototype[ct]=tt.prototype.notOneOf}tt.prototype.optional=tt.prototype.notRequired;var ut=tt;ut.prototype;var dt=function(t){return null==t};var ft=function(t){Object(T.a)(n,t);var e=Object(A.a)(n);function n(){var t;return Object(a.a)(this,n),(t=e.call(this,{type:"boolean"})).withMutation((function(){t.transform((function(t){if(!this.isType(t)){if(/^(true|1)$/i.test(String(t)))return!0;if(/^(false|0)$/i.test(String(t)))return!1}return t}))})),t}return Object(s.a)(n,[{key:"_typeCheck",value:function(t){return t instanceof Boolean&&(t=t.valueOf()),"boolean"===typeof t}},{key:"isTrue",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O.isValue;return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"true"},test:function(t){return dt(t)||!0===t}})}},{key:"isFalse",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O.isValue;return this.test({message:t,name:"is-value",exclusive:!0,params:{value:"false"},test:function(t){return dt(t)||!1===t}})}}]),n}(tt);ft.prototype;var pt=n(63),ht=n(57),vt=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,gt=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,mt=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,bt=function(t){return dt(t)||t===t.trim()},yt={}.toString();function xt(){return new wt}var wt=function(t){Object(T.a)(n,t);var e=Object(A.a)(n);function n(){var t;return Object(a.a)(this,n),(t=e.call(this,{type:"string"})).withMutation((function(){t.transform((function(t){if(this.isType(t))return t;if(Array.isArray(t))return t;var e=null!=t&&t.toString?t.toString():t;return e===yt?t:e}))})),t}return Object(s.a)(n,[{key:"_typeCheck",value:function(t){return t instanceof String&&(t=t.valueOf()),"string"===typeof t}},{key:"_isPresent",value:function(t){return Object(pt.a)(Object(ht.a)(n.prototype),"_isPresent",this).call(this,t)&&!!t.length}},{key:"length",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.length;return this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return dt(e)||e.length===this.resolve(t)}})}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.min;return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return dt(e)||e.length>=this.resolve(t)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y.max;return this.test({name:"max",exclusive:!0,message:e,params:{max:t},test:function(e){return dt(e)||e.length<=this.resolve(t)}})}},{key:"matches",value:function(t,e){var n,r,o=!1;if(e)if("object"===typeof e){var i=e.excludeEmptyString;o=void 0!==i&&i,n=e.message,r=e.name}else n=e;return this.test({name:r||"matches",message:n||y.matches,params:{regex:t},test:function(e){return dt(e)||""===e&&o||-1!==e.search(t)}})}},{key:"email",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.email;return this.matches(vt,{name:"email",message:t,excludeEmptyString:!0})}},{key:"url",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.url;return this.matches(gt,{name:"url",message:t,excludeEmptyString:!0})}},{key:"uuid",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.uuid;return this.matches(mt,{name:"uuid",message:t,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(t){return null===t?"":t}))}},{key:"trim",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.trim;return this.transform((function(t){return null!=t?t.trim():t})).test({message:t,name:"trim",test:bt})}},{key:"lowercase",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.lowercase;return this.transform((function(t){return dt(t)?t:t.toLowerCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return dt(t)||t===t.toLowerCase()}})}},{key:"uppercase",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.uppercase;return this.transform((function(t){return dt(t)?t:t.toUpperCase()})).test({message:t,name:"string_case",exclusive:!0,test:function(t){return dt(t)||t===t.toUpperCase()}})}}]),n}(tt);xt.prototype=wt.prototype;var Ot=function(t){Object(T.a)(n,t);var e=Object(A.a)(n);function n(){var t;return Object(a.a)(this,n),(t=e.call(this,{type:"number"})).withMutation((function(){t.transform((function(t){var e=t;if("string"===typeof e){if(""===(e=e.replace(/\s/g,"")))return NaN;e=+e}return this.isType(e)?e:parseFloat(e)}))})),t}return Object(s.a)(n,[{key:"_typeCheck",value:function(t){return t instanceof Number&&(t=t.valueOf()),"number"===typeof t&&!function(t){return t!=+t}(t)}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.min;return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return dt(e)||e>=this.resolve(t)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.max;return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return dt(e)||e<=this.resolve(t)}})}},{key:"lessThan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.lessThan;return this.test({message:e,name:"max",exclusive:!0,params:{less:t},test:function(e){return dt(e)||e<this.resolve(t)}})}},{key:"moreThan",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x.moreThan;return this.test({message:e,name:"min",exclusive:!0,params:{more:t},test:function(e){return dt(e)||e>this.resolve(t)}})}},{key:"positive",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.positive;return this.moreThan(0,t)}},{key:"negative",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.negative;return this.lessThan(0,t)}},{key:"integer",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x.integer;return this.test({name:"integer",message:t,test:function(t){return dt(t)||Number.isInteger(t)}})}},{key:"truncate",value:function(){return this.transform((function(t){return dt(t)?t:0|t}))}},{key:"round",value:function(t){var e,n=["ceil","floor","round","trunc"];if("trunc"===(t=(null==(e=t)?void 0:e.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(t.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((function(e){return dt(e)?e:Math[t](e)}))}}]),n}(tt);Ot.prototype;var St=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;var jt=new Date("");function Ct(){return new kt}var kt=function(t){Object(T.a)(n,t);var e=Object(A.a)(n);function n(){var t;return Object(a.a)(this,n),(t=e.call(this,{type:"date"})).withMutation((function(){t.transform((function(t){return this.isType(t)?t:(t=function(t){var e,n,r=[1,4,5,6,7,10,11],o=0;if(n=St.exec(t)){for(var i,a=0;i=r[a];++a)n[i]=+n[i]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(o=60*n[10]+n[11],"+"===n[9]&&(o=0-o)),e=Date.UTC(n[1],n[2],n[3],n[4],n[5]+o,n[6],n[7])):e=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else e=Date.parse?Date.parse(t):NaN;return e}(t),isNaN(t)?jt:new Date(t))}))})),t}return Object(s.a)(n,[{key:"_typeCheck",value:function(t){return e=t,"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(t.getTime());var e}},{key:"prepareParam",value:function(t,e){var n;if(q.isRef(t))n=t;else{var r=this.cast(t);if(!this._typeCheck(r))throw new TypeError("`".concat(e,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}},{key:"min",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.min,n=this.prepareParam(t,"min");return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(t){return dt(t)||t>=this.resolve(n)}})}},{key:"max",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.max,n=this.prepareParam(t,"max");return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(t){return dt(t)||t<=this.resolve(n)}})}}]),n}(tt);kt.INVALID_DATE=jt,Ct.prototype=kt.prototype,Ct.INVALID_DATE=jt;var Et=n(516),Pt=n.n(Et),_t=n(685),Mt=n.n(_t),Tt=n(686),At=n.n(Tt),Rt=n(687),Dt=n.n(Rt);function It(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=[];function o(t,o){var i=Object(H.split)(t)[0];~r.indexOf(i)||r.push(i),~e.indexOf("".concat(o,"-").concat(i))||n.push([o,i])}var i=function(e){if(k()(t,e)){var n=t[e];~r.indexOf(e)||r.push(e),q.isRef(n)&&n.isSibling?o(n.path,e):E(n)&&"deps"in n&&n.deps.forEach((function(t){return o(t,e)}))}};for(var a in t)i(a);return Dt.a.array(r,n).reverse()}function Nt(t,e){var n=1/0;return t.some((function(t,r){var o;if(-1!==(null==(o=e.path)?void 0:o.indexOf(t)))return n=r,!0})),n}function Lt(t){return function(e,n){return Nt(t,e)-Nt(t,n)}}function Ft(){return Ft=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},Ft.apply(this,arguments)}var Bt=function(t){return"[object Object]"===Object.prototype.toString.call(t)};function zt(t,e){var n=Object.keys(t.fields);return Object.keys(e).filter((function(t){return-1===n.indexOf(t)}))}var Ht=Lt([]),Vt=function(t){Object(T.a)(n,t);var e=Object(A.a)(n);function n(t){var r;return Object(a.a)(this,n),(r=e.call(this,{type:"object"})).fields=Object.create(null),r._sortErrors=Ht,r._nodes=[],r._excludedEdges=[],r.withMutation((function(){r.transform((function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null})),t&&r.shape(t)})),r}return Object(s.a)(n,[{key:"_typeCheck",value:function(t){return Bt(t)||"function"===typeof t}},{key:"_cast",value:function(t){var e,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=Object(pt.a)(Object(ht.a)(n.prototype),"_cast",this).call(this,t,o);if(void 0===i)return this.getDefault();if(!this._typeCheck(i))return i;var a,s=this.fields,l=null!=(e=o.stripUnknown)?e:this.spec.noUnknown,c=this._nodes.concat(Object.keys(i).filter((function(t){return-1===r._nodes.indexOf(t)}))),u={},d=Ft({},o,{parent:u,__validating:o.__validating||!1}),f=!1,p=Object(Z.a)(c);try{for(p.s();!(a=p.n()).done;){var h=a.value,v=s[h],g=k()(i,h);if(v){var m=void 0,b=i[h];d.path=(o.path?"".concat(o.path,"."):"")+h;var y="spec"in(v=v.resolve({value:b,context:o.context,parent:u}))?v.spec:void 0,x=null==y?void 0:y.strict;if(null==y?void 0:y.strip){f=f||h in i;continue}void 0!==(m=o.__validating&&x?i[h]:v.cast(i[h],d))&&(u[h]=m)}else g&&!l&&(u[h]=i[h]);u[h]!==i[h]&&(f=!0)}}catch(w){p.e(w)}finally{p.f()}return f?u:i}},{key:"_validate",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,a=[],s=r.sync,l=r.from,c=void 0===l?[]:l,u=r.originalValue,d=void 0===u?t:u,f=r.abortEarly,p=void 0===f?this.spec.abortEarly:f,h=r.recursive,v=void 0===h?this.spec.recursive:h;c=[{schema:this,value:d}].concat(Object(i.a)(c)),r.__validating=!0,r.originalValue=d,r.from=c,Object(pt.a)(Object(ht.a)(n.prototype),"_validate",this).call(this,t,r,(function(t,n){if(t){if(!L.isError(t)||p)return void o(t,n);a.push(t)}if(v&&Bt(n)){d=d||n;var i=e._nodes.map((function(t){return function(o,i){var a=-1===t.indexOf(".")?(r.path?"".concat(r.path,"."):"")+t:"".concat(r.path||"",'["').concat(t,'"]'),s=e.fields[t];s&&"validate"in s?s.validate(n[t],Ft({},r,{path:a,from:c,strict:!0,parent:n,originalValue:d[t]}),i):i(null)}}));F({sync:s,tests:i,value:n,errors:a,endEarly:p,sort:e._sortErrors,path:r.path},o)}else o(a[0]||null,n)}))}},{key:"clone",value:function(t){var e=Object(pt.a)(Object(ht.a)(n.prototype),"clone",this).call(this,t);return e.fields=Ft({},this.fields),e._nodes=this._nodes,e._excludedEdges=this._excludedEdges,e._sortErrors=this._sortErrors,e}},{key:"concat",value:function(t){for(var e=Object(pt.a)(Object(ht.a)(n.prototype),"concat",this).call(this,t),r=e.fields,o=0,i=Object.entries(this.fields);o<i.length;o++){var a=Object($.a)(i[o],2),s=a[0],l=a[1],c=r[s];void 0===c?r[s]=l:c instanceof tt&&l instanceof tt&&(r[s]=l.concat(c))}return e.withMutation((function(){return e.shape(r)}))}},{key:"getDefaultFromShape",value:function(){var t=this,e={};return this._nodes.forEach((function(n){var r=t.fields[n];e[n]="default"in r?r.getDefault():void 0})),e}},{key:"_getDefault",value:function(){return"default"in this.spec?Object(pt.a)(Object(ht.a)(n.prototype),"_getDefault",this).call(this):this._nodes.length?this.getDefaultFromShape():void 0}},{key:"shape",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=this.clone(),r=Object.assign(n.fields,t);if(n.fields=r,n._sortErrors=Lt(Object.keys(r)),e.length){Array.isArray(e[0])||(e=[e]);var o=e.map((function(t){var e=Object($.a)(t,2),n=e[0],r=e[1];return"".concat(n,"-").concat(r)}));n._excludedEdges=n._excludedEdges.concat(o)}return n._nodes=It(r,n._excludedEdges),n}},{key:"pick",value:function(t){var e,n={},r=Object(Z.a)(t);try{for(r.s();!(e=r.n()).done;){var o=e.value;this.fields[o]&&(n[o]=this.fields[o])}}catch(i){r.e(i)}finally{r.f()}return this.clone().withMutation((function(t){return t.fields={},t.shape(n)}))}},{key:"omit",value:function(t){var e=this.clone(),n=e.fields;e.fields={};var r,o=Object(Z.a)(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;delete n[i]}}catch(a){o.e(a)}finally{o.f()}return e.withMutation((function(){return e.shape(n)}))}},{key:"from",value:function(t,e,n){var r=Object(H.getter)(t,!0);return this.transform((function(o){if(null==o)return o;var i=o;return k()(o,t)&&(i=Ft({},o),n||delete i[t],i[e]=r(o)),i}))}},{key:"noUnknown",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.noUnknown;"string"===typeof t&&(e=t,t=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:e,test:function(e){if(null==e)return!0;var n=zt(this.schema,e);return!t||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=t,n}},{key:"unknown",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S.noUnknown;return this.noUnknown(!t,e)}},{key:"transformKeys",value:function(t){return this.transform((function(e){return e&&At()(e,(function(e,n){return t(n)}))}))}},{key:"camelCase",value:function(){return this.transformKeys(Mt.a)}},{key:"snakeCase",value:function(){return this.transformKeys(Pt.a)}},{key:"constantCase",value:function(){return this.transformKeys((function(t){return Pt()(t).toUpperCase()}))}},{key:"describe",value:function(){var t=Object(pt.a)(Object(ht.a)(n.prototype),"describe",this).call(this);return t.fields=z()(this.fields,(function(t){return t.describe()})),t}}]),n}(tt);function Ut(t){return new Vt(t)}function Wt(){return Wt=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},Wt.apply(this,arguments)}Ut.prototype=Vt.prototype;var qt=function(t){Object(T.a)(n,t);var e=Object(A.a)(n);function n(t){var r;return Object(a.a)(this,n),(r=e.call(this,{type:"array"})).innerType=t,r.withMutation((function(){r.transform((function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null}))})),r}return Object(s.a)(n,[{key:"_typeCheck",value:function(t){return Array.isArray(t)}},{key:"_subType",get:function(){return this.innerType}},{key:"_cast",value:function(t,e){var r=this,o=Object(pt.a)(Object(ht.a)(n.prototype),"_cast",this).call(this,t,e);if(!this._typeCheck(o)||!this.innerType)return o;var i=!1,a=o.map((function(t,n){var o=r.innerType.cast(t,Wt({},e,{path:"".concat(e.path||"","[").concat(n,"]")}));return o!==t&&(i=!0),o}));return i?a:o}},{key:"_validate",value:function(t){var e,r,o=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,s=[],l=i.sync,c=i.path,u=this.innerType,d=null!=(e=i.abortEarly)?e:this.spec.abortEarly,f=null!=(r=i.recursive)?r:this.spec.recursive,p=null!=i.originalValue?i.originalValue:t;Object(pt.a)(Object(ht.a)(n.prototype),"_validate",this).call(this,t,i,(function(t,e){if(t){if(!L.isError(t)||d)return void a(t,e);s.push(t)}if(f&&u&&o._typeCheck(e)){p=p||e;for(var n=new Array(e.length),r=function(t){var r=e[t],o="".concat(i.path||"","[").concat(t,"]"),a=Wt({},i,{path:o,strict:!0,parent:e,index:t,originalValue:p[t]});n[t]=function(t,e){return u.validate(r,a,e)}},h=0;h<e.length;h++)r(h);F({sync:l,path:c,value:e,errors:s,endEarly:d,tests:n},a)}else a(s[0]||null,e)}))}},{key:"clone",value:function(t){var e=Object(pt.a)(Object(ht.a)(n.prototype),"clone",this).call(this,t);return e.innerType=this.innerType,e}},{key:"concat",value:function(t){var e=Object(pt.a)(Object(ht.a)(n.prototype),"concat",this).call(this,t);return e.innerType=this.innerType,t.innerType&&(e.innerType=e.innerType?e.innerType.concat(t.innerType):t.innerType),e}},{key:"of",value:function(t){var e=this.clone();if(!E(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema not: "+m(t));return e.innerType=t,e}},{key:"length",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j.length;return this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return dt(e)||e.length===this.resolve(t)}})}},{key:"min",value:function(t,e){return e=e||j.min,this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return dt(e)||e.length>=this.resolve(t)}})}},{key:"max",value:function(t,e){return e=e||j.max,this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return dt(e)||e.length<=this.resolve(t)}})}},{key:"ensure",value:function(){var t=this;return this.default((function(){return[]})).transform((function(e,n){return t._typeCheck(e)?e:null==n?[]:[].concat(n)}))}},{key:"compact",value:function(t){var e=t?function(e,n,r){return!t(e,n,r)}:function(t){return!!t};return this.transform((function(t){return null!=t?t.filter(e):t}))}},{key:"describe",value:function(){var t=Object(pt.a)(Object(ht.a)(n.prototype),"describe",this).call(this);return this.innerType&&(t.innerType=this.innerType.describe()),t}},{key:"nullable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return Object(pt.a)(Object(ht.a)(n.prototype),"nullable",this).call(this,t)}},{key:"defined",value:function(){return Object(pt.a)(Object(ht.a)(n.prototype),"defined",this).call(this)}},{key:"required",value:function(t){return Object(pt.a)(Object(ht.a)(n.prototype),"required",this).call(this,t)}}]),n}(tt);qt.prototype},,,function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");e.default=a},function(t,e,n){"use strict";var r=n(780),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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},s={};function l(t){return r.isMemo(t)?a:s[t.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&t(e,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(e),v=l(n),g=0;g<a.length;++g){var m=a[g];if(!i[m]&&(!r||!r[m])&&(!v||!v[m])&&(!s||!s[m])){var b=f(n,m);try{c(e,m,b)}catch(y){}}}}return e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o}));function r(t,e,n){var r="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]+";"):r+=n+" "})),r}var o=function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)},i=function(t,e,n){o(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+r:"",i,t.sheet,!0);i=i.next}while(void 0!==i)}}},function(t,e,n){"use strict";n.d(e,"c",(function(){return h})),n.d(e,"b",(function(){return v})),n.d(e,"a",(function(){return g}));var r=n(145);function o(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 i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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}function s(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var c={widthCache:{},cacheCount:0},u={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},d=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],f="recharts_measurement_span";var p=function(t){return Object.keys(t).reduce((function(e,n){return"".concat(e).concat((i=n,i.split("").reduce((function(t,e){return e===e.toUpperCase()?[].concat(s(t),["-",e.toLowerCase()]):[].concat(s(t),[e])}),[]).join("")),":").concat((r=n,o=t[n],d.indexOf(r)>=0&&o===+o?"".concat(o,"px"):o),";");var r,o,i}),"")},h=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===t||null===t||r.a.isSsr)return{width:0,height:0};var n="".concat(t),o=p(e),a="".concat(n,"-").concat(o);if(c.widthCache[a])return c.widthCache[a];try{var s=document.getElementById(f);s||((s=document.createElement("span")).setAttribute("id",f),s.setAttribute("aria-hidden","true"),document.body.appendChild(s));var l=i(i({},u),e);Object.keys(l).map((function(t){return s.style[t]=l[t],t})),s.textContent=n;var d=s.getBoundingClientRect(),h={width:d.width,height:d.height};return c.widthCache[a]=h,++c.cacheCount>2e3&&(c.cacheCount=0,c.widthCache={}),h}catch(v){return{width:0,height:0}}},v=function(t){var e=t.ownerDocument.documentElement,n={top:0,left:0};return"undefined"!==typeof t.getBoundingClientRect&&(n=t.getBoundingClientRect()),{top:n.top+window.pageYOffset-e.clientTop,left:n.left+window.pageXOffset-e.clientLeft}},g=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return c})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return v})),n.d(e,"f",(function(){return g}));var r,o=n(3);!function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(r||(r={}));var i=function(t){return t};var a="beforeunload",s="popstate";function l(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,l=n.history;function c(){var t=n.location,e=t.pathname,r=t.search,o=t.hash,a=l.state||{};return[a.idx,i({pathname:e,search:r,hash:o,state:a.usr||null,key:a.key||"default"})]}var u=null;n.addEventListener(s,(function(){if(u)w.call(u),u=null;else{var t=r.Pop,e=c(),n=e[0],o=e[1];if(w.length){if(null!=n){var i=b-n;i&&(u={action:t,location:o,retry:function(){E(-1*i)}},E(i))}}else k(t)}}));var d=r.Pop,m=c(),b=m[0],y=m[1],x=p(),w=p();function O(t){return"string"===typeof t?t:v(t)}function S(t,e){return void 0===e&&(e=null),i(Object(o.a)({pathname:y.pathname,hash:"",search:""},"string"===typeof t?g(t):t,{state:e,key:h()}))}function j(t,e){return[{usr:t.state,key:t.key,idx:e},O(t)]}function C(t,e,n){return!w.length||(w.call({action:t,location:e,retry:n}),!1)}function k(t){d=t;var e=c();b=e[0],y=e[1],x.call({action:d,location:y})}function E(t){l.go(t)}null==b&&(b=0,l.replaceState(Object(o.a)({},l.state,{idx:b}),""));var P={get action(){return d},get location(){return y},createHref:O,push:function t(e,o){var i=r.Push,a=S(e,o);if(C(i,a,(function(){t(e,o)}))){var s=j(a,b+1),c=s[0],u=s[1];try{l.pushState(c,"",u)}catch(d){n.location.assign(u)}k(i)}},replace:function t(e,n){var o=r.Replace,i=S(e,n);if(C(o,i,(function(){t(e,n)}))){var a=j(i,b),s=a[0],c=a[1];l.replaceState(s,"",c),k(o)}},go:E,back:function(){E(-1)},forward:function(){E(1)},listen:function(t){return x.push(t)},block:function(t){var e=w.push(t);return 1===w.length&&n.addEventListener(a,f),function(){e(),w.length||n.removeEventListener(a,f)}}};return P}function c(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,l=n.history;function c(){var t=g(n.location.hash.substr(1)),e=t.pathname,r=void 0===e?"/":e,o=t.search,a=void 0===o?"":o,s=t.hash,c=void 0===s?"":s,u=l.state||{};return[u.idx,i({pathname:r,search:a,hash:c,state:u.usr||null,key:u.key||"default"})]}var u=null;function d(){if(u)O.call(u),u=null;else{var t=r.Pop,e=c(),n=e[0],o=e[1];if(O.length){if(null!=n){var i=y-n;i&&(u={action:t,location:o,retry:function(){P(-1*i)}},P(i))}}else E(t)}}n.addEventListener(s,d),n.addEventListener("hashchange",(function(){v(c()[1])!==v(x)&&d()}));var m=r.Pop,b=c(),y=b[0],x=b[1],w=p(),O=p();function S(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var r=n.location.href,o=r.indexOf("#");e=-1===o?r:r.slice(0,o)}return e}()+"#"+("string"===typeof t?t:v(t))}function j(t,e){return void 0===e&&(e=null),i(Object(o.a)({pathname:x.pathname,hash:"",search:""},"string"===typeof t?g(t):t,{state:e,key:h()}))}function C(t,e){return[{usr:t.state,key:t.key,idx:e},S(t)]}function k(t,e,n){return!O.length||(O.call({action:t,location:e,retry:n}),!1)}function E(t){m=t;var e=c();y=e[0],x=e[1],w.call({action:m,location:x})}function P(t){l.go(t)}null==y&&(y=0,l.replaceState(Object(o.a)({},l.state,{idx:y}),""));var _={get action(){return m},get location(){return x},createHref:S,push:function t(e,o){var i=r.Push,a=j(e,o);if(k(i,a,(function(){t(e,o)}))){var s=C(a,y+1),c=s[0],u=s[1];try{l.pushState(c,"",u)}catch(d){n.location.assign(u)}E(i)}},replace:function t(e,n){var o=r.Replace,i=j(e,n);if(k(o,i,(function(){t(e,n)}))){var a=C(i,y),s=a[0],c=a[1];l.replaceState(s,"",c),E(o)}},go:P,back:function(){P(-1)},forward:function(){P(1)},listen:function(t){return w.push(t)},block:function(t){var e=O.push(t);return 1===O.length&&n.addEventListener(a,f),function(){e(),O.length||n.removeEventListener(a,f)}}};return _}function u(t){void 0===t&&(t={});var e=t,n=e.initialEntries,a=void 0===n?["/"]:n,s=e.initialIndex,l=a.map((function(t){return i(Object(o.a)({pathname:"/",search:"",hash:"",state:null,key:h()},"string"===typeof t?g(t):t))})),c=d(null==s?l.length-1:s,0,l.length-1),u=r.Pop,f=l[c],m=p(),b=p();function y(t,e){return void 0===e&&(e=null),i(Object(o.a)({pathname:f.pathname,search:"",hash:""},"string"===typeof t?g(t):t,{state:e,key:h()}))}function x(t,e,n){return!b.length||(b.call({action:t,location:e,retry:n}),!1)}function w(t,e){u=t,f=e,m.call({action:u,location:f})}function O(t){var e=d(c+t,0,l.length-1),n=r.Pop,o=l[e];x(n,o,(function(){O(t)}))&&(c=e,w(n,o))}var S={get index(){return c},get action(){return u},get location(){return f},createHref:function(t){return"string"===typeof t?t:v(t)},push:function t(e,n){var o=r.Push,i=y(e,n);x(o,i,(function(){t(e,n)}))&&(c+=1,l.splice(c,l.length,i),w(o,i))},replace:function t(e,n){var o=r.Replace,i=y(e,n);x(o,i,(function(){t(e,n)}))&&(l[c]=i,w(o,i))},go:O,back:function(){O(-1)},forward:function(){O(1)},listen:function(t){return m.push(t)},block:function(t){return b.push(t)}};return S}function d(t,e,n){return Math.min(Math.max(t,e),n)}function f(t){t.preventDefault(),t.returnValue=""}function p(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function h(){return Math.random().toString(36).substr(2,8)}function v(t){var e=t.pathname,n=void 0===e?"/":e,r=t.search,o=void 0===r?"":r,i=t.hash,a=void 0===i?"":i;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),a&&"#"!==a&&(n+="#"===a.charAt(0)?a:"#"+a),n}function g(t){var e={};if(t){var n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));var r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}},,,,,function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(217);function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Object(r.a)(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return r[t]},set:function(t,e){if("string"===typeof t)r[t]=e;else{var n=Object.keys(t);n&&n.length&&n.forEach((function(e){r[e]=t[e]}))}}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(168),o=n(187);function i(t){return Object(r.a)("MuiInputBase",t)}var a=Object(o.a)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);e.a=a},function(t,e,n){"use strict";n.d(e,"b",(function(){return s}));var r=n(3),o=n(168),i=n(187),a=n(146);function s(t){return Object(o.a)("MuiFilledInput",t)}var l=Object(r.a)({},a.a,Object(i.a)("MuiFilledInput",["root","underline","input"]));e.a=l},function(t,e,n){"use strict";n.d(e,"b",(function(){return s}));var r=n(3),o=n(168),i=n(187),a=n(146);function s(t){return Object(o.a)("MuiOutlinedInput",t)}var l=Object(r.a)({},a.a,Object(i.a)("MuiOutlinedInput",["root","notchedOutline","input"]));e.a=l},,,function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},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}}},function(t,e,n){(function(){var e,r,o,i,a,s,l,c,u,d,f,p,h,v,g,m,b,y={}.hasOwnProperty;b=n(194),m=b.isObject,g=b.isFunction,v=b.isEmpty,h=b.getValue,c=null,o=null,i=null,a=null,s=null,f=null,p=null,d=null,l=null,r=null,u=null,e=null,t.exports=function(){function t(t){this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,c||(c=n(479),o=n(481),i=n(482),a=n(483),s=n(484),f=n(489),p=n(490),d=n(491),l=n(607),r=n(93),u=n(944),n(480),e=n(945))}return Object.defineProperty(t.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new u(this.children)),this.childNodeList}}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){var t;return t=this.parent.children.indexOf(this),this.parent.children[t-1]||null}}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){var t;return t=this.parent.children.indexOf(this),this.parent.children[t+1]||null}}),Object.defineProperty(t.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(t.prototype,"textContent",{get:function(){var t,e,n,o,i;if(this.nodeType===r.Element||this.nodeType===r.DocumentFragment){for(i="",e=0,n=(o=this.children).length;e<n;e++)(t=o[e]).textContent&&(i+=t.textContent);return i}return null},set:function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),t.prototype.setParent=function(t){var e,n,r,o,i;for(this.parent=t,t&&(this.options=t.options,this.stringify=t.stringify),i=[],n=0,r=(o=this.children).length;n<r;n++)e=o[n],i.push(e.setParent(this));return i},t.prototype.element=function(t,e,n){var r,o,i,a,s,l,c,u,d,f,p;if(l=null,null===e&&null==n&&(e=(d=[{},null])[0],n=d[1]),null==e&&(e={}),e=h(e),m(e)||(n=(f=[e,n])[0],e=f[1]),null!=t&&(t=h(t)),Array.isArray(t))for(i=0,c=t.length;i<c;i++)o=t[i],l=this.element(o);else if(g(t))l=this.element(t.apply());else if(m(t)){for(s in t)if(y.call(t,s))if(p=t[s],g(p)&&(p=p.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))l=this.attribute(s.substr(this.stringify.convertAttKey.length),p);else if(!this.options.separateArrayItems&&Array.isArray(p)&&v(p))l=this.dummy();else if(m(p)&&v(p))l=this.element(s);else if(this.options.keepNullNodes||null!=p)if(!this.options.separateArrayItems&&Array.isArray(p))for(a=0,u=p.length;a<u;a++)o=p[a],(r={})[s]=o,l=this.element(r);else m(p)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===s.indexOf(this.stringify.convertTextKey)?l=this.element(p):(l=this.element(s)).element(p):l=this.element(s,p);else l=this.dummy()}else l=this.options.keepNullNodes||null!==n?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===t.indexOf(this.stringify.convertTextKey)?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===t.indexOf(this.stringify.convertCDataKey)?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===t.indexOf(this.stringify.convertCommentKey)?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===t.indexOf(this.stringify.convertRawKey)?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===t.indexOf(this.stringify.convertPIKey)?this.instruction(t.substr(this.stringify.convertPIKey.length),n):this.node(t,e,n):this.dummy();if(null==l)throw new Error("Could not create any elements with: "+t+". "+this.debugInfo());return l},t.prototype.insertBefore=function(t,e,n){var r,o,i,a,s;if(null!=t?t.type:void 0)return a=e,(i=t).setParent(this),a?(o=children.indexOf(a),s=children.splice(o),children.push(i),Array.prototype.push.apply(children,s)):children.push(i),i;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(t));return o=this.parent.children.indexOf(this),s=this.parent.children.splice(o),r=this.parent.element(t,e,n),Array.prototype.push.apply(this.parent.children,s),r},t.prototype.insertAfter=function(t,e,n){var r,o,i;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(t));return o=this.parent.children.indexOf(this),i=this.parent.children.splice(o+1),r=this.parent.element(t,e,n),Array.prototype.push.apply(this.parent.children,i),r},t.prototype.remove=function(){var t;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return t=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[t,t-t+1].concat([])),this.parent},t.prototype.node=function(t,e,n){var r,o;return null!=t&&(t=h(t)),e||(e={}),e=h(e),m(e)||(n=(o=[e,n])[0],e=o[1]),r=new c(this,t,e),null!=n&&r.text(n),this.children.push(r),r},t.prototype.text=function(t){var e;return m(t)&&this.element(t),e=new p(this,t),this.children.push(e),this},t.prototype.cdata=function(t){var e;return e=new o(this,t),this.children.push(e),this},t.prototype.comment=function(t){var e;return e=new i(this,t),this.children.push(e),this},t.prototype.commentBefore=function(t){var e,n;return e=this.parent.children.indexOf(this),n=this.parent.children.splice(e),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.commentAfter=function(t){var e,n;return e=this.parent.children.indexOf(this),n=this.parent.children.splice(e+1),this.parent.comment(t),Array.prototype.push.apply(this.parent.children,n),this},t.prototype.raw=function(t){var e;return e=new f(this,t),this.children.push(e),this},t.prototype.dummy=function(){return new l(this)},t.prototype.instruction=function(t,e){var n,r,o,i,a;if(null!=t&&(t=h(t)),null!=e&&(e=h(e)),Array.isArray(t))for(i=0,a=t.length;i<a;i++)n=t[i],this.instruction(n);else if(m(t))for(n in t)y.call(t,n)&&(r=t[n],this.instruction(n,r));else g(e)&&(e=e.apply()),o=new d(this,t,e),this.children.push(o);return this},t.prototype.instructionBefore=function(t,e){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.instructionAfter=function(t,e){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1),this.parent.instruction(t,e),Array.prototype.push.apply(this.parent.children,r),this},t.prototype.declaration=function(t,e,n){var o,i;return o=this.document(),i=new a(o,t,e,n),0===o.children.length?o.children.unshift(i):o.children[0].type===r.Declaration?o.children[0]=i:o.children.unshift(i),o.root()||o},t.prototype.dtd=function(t,e){var n,o,i,a,l,c,u,d,f;for(n=this.document(),o=new s(n,t,e),i=a=0,c=(d=n.children).length;a<c;i=++a)if(d[i].type===r.DocType)return n.children[i]=o,o;for(i=l=0,u=(f=n.children).length;l<u;i=++l)if(f[i].isRoot)return n.children.splice(i,0,o),o;return n.children.push(o),o},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){var t;for(t=this;t;){if(t.type===r.Document)return t.rootObject;if(t.isRoot)return t;t=t.parent}},t.prototype.document=function(){var t;for(t=this;t;){if(t.type===r.Document)return t;t=t.parent}},t.prototype.end=function(t){return this.document().end(t)},t.prototype.prev=function(){var t;if((t=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[t-1]},t.prototype.next=function(){var t;if(-1===(t=this.parent.children.indexOf(this))||t===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[t+1]},t.prototype.importDocument=function(t){var e;return(e=t.root().clone()).parent=this,e.isRoot=!1,this.children.push(e),this},t.prototype.debugInfo=function(t){var e,n;return null!=(t=t||this.name)||(null!=(e=this.parent)?e.name:void 0)?null==t?"parent: <"+this.parent.name+">":(null!=(n=this.parent)?n.name:void 0)?"node: <"+t+">, parent: <"+this.parent.name+">":"node: <"+t+">":""},t.prototype.ele=function(t,e,n){return this.element(t,e,n)},t.prototype.nod=function(t,e,n){return this.node(t,e,n)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(t,e,n){return this.declaration(t,e,n)},t.prototype.e=function(t,e,n){return this.element(t,e,n)},t.prototype.n=function(t,e,n){return this.node(t,e,n)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.u=function(){return this.up()},t.prototype.importXMLBuilder=function(t){return this.importDocument(t)},t.prototype.replaceChild=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.removeChild=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.appendChild=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.hasChildNodes=function(){return 0!==this.children.length},t.prototype.cloneNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isSupported=function(t,e){return!0},t.prototype.hasAttributes=function(){return 0!==this.attribs.length},t.prototype.compareDocumentPosition=function(t){var n,r;return(n=this)===t?0:this.document()!==t.document()?(r=e.Disconnected|e.ImplementationSpecific,Math.random()<.5?r|=e.Preceding:r|=e.Following,r):n.isAncestor(t)?e.Contains|e.Preceding:n.isDescendant(t)?e.Contains|e.Following:n.isPreceding(t)?e.Preceding:e.Following},t.prototype.isSameNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.lookupPrefix=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isDefaultNamespace=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.lookupNamespaceURI=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isEqualNode=function(t){var e,n,r;if(t.nodeType!==this.nodeType)return!1;if(t.children.length!==this.children.length)return!1;for(e=n=0,r=this.children.length-1;0<=r?n<=r:n>=r;e=0<=r?++n:--n)if(!this.children[e].isEqualNode(t.children[e]))return!1;return!0},t.prototype.getFeature=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.setUserData=function(t,e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.getUserData=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.contains=function(t){return!!t&&(t===this||this.isDescendant(t))},t.prototype.isDescendant=function(t){var e,n,r,o;for(n=0,r=(o=this.children).length;n<r;n++){if(t===(e=o[n]))return!0;if(e.isDescendant(t))return!0}return!1},t.prototype.isAncestor=function(t){return t.isDescendant(this)},t.prototype.isPreceding=function(t){var e,n;return e=this.treePosition(t),n=this.treePosition(this),-1!==e&&-1!==n&&e<n},t.prototype.isFollowing=function(t){var e,n;return e=this.treePosition(t),n=this.treePosition(this),-1!==e&&-1!==n&&e>n},t.prototype.treePosition=function(t){var e,n;return n=0,e=!1,this.foreachTreeNode(this.document(),(function(r){if(n++,!e&&r===t)return e=!0})),e?n:-1},t.prototype.foreachTreeNode=function(t,e){var n,r,o,i,a;for(t||(t=this.document()),r=0,o=(i=t.children).length;r<o;r++){if(a=e(n=i[r]))return a;if(a=this.foreachTreeNode(n,e))return a}},t}()}).call(this)},function(t,e,n){"use strict";var r=n(229);e.a=r.a},function(t,e,n){"use strict";n.d(e,"a",(function(){return f})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return d})),n.d(e,"d",(function(){return c}));var r=n(6);function o(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var i="function"===typeof Symbol&&Symbol.observable||"@@observable",a=function(){return Math.random().toString(36).substring(7).split("").join(".")},s={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function l(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 c(t,e,n){var r;if("function"===typeof e&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(o(0));if("function"===typeof e&&"undefined"===typeof n&&(n=e,e=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(o(1));return n(c)(t,e)}if("function"!==typeof t)throw new Error(o(2));var a=t,u=e,d=[],f=d,p=!1;function h(){f===d&&(f=d.slice())}function v(){if(p)throw new Error(o(3));return u}function g(t){if("function"!==typeof t)throw new Error(o(4));if(p)throw new Error(o(5));var e=!0;return h(),f.push(t),function(){if(e){if(p)throw new Error(o(6));e=!1,h();var n=f.indexOf(t);f.splice(n,1),d=null}}}function m(t){if(!l(t))throw new Error(o(7));if("undefined"===typeof t.type)throw new Error(o(8));if(p)throw new Error(o(9));try{p=!0,u=a(u,t)}finally{p=!1}for(var e=d=f,n=0;n<e.length;n++){(0,e[n])()}return t}function b(t){if("function"!==typeof t)throw new Error(o(10));a=t,m({type:s.REPLACE})}function y(){var t,e=g;return(t={subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(o(11));function n(){t.next&&t.next(v())}return n(),{unsubscribe:e(n)}}})[i]=function(){return this},t}return m({type:s.INIT}),(r={dispatch:m,subscribe:g,getState:v,replaceReducer:b})[i]=y,r}function u(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,l=Object.keys(n);try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if("undefined"===typeof n(void 0,{type:s.INIT}))throw new Error(o(12));if("undefined"===typeof n(void 0,{type:s.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(c){a=c}return function(t,e){if(void 0===t&&(t={}),a)throw a;for(var r=!1,i={},s=0;s<l.length;s++){var c=l[s],u=n[c],d=t[c],f=u(d,e);if("undefined"===typeof f){e&&e.type;throw new Error(o(14))}i[c]=f,r=r||f!==d}return(r=r||l.length!==Object.keys(t).length)?i:t}}function d(){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 f(){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),i=function(){throw new Error(o(15))},a={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=e.map((function(t){return t(a)}));return i=d.apply(void 0,s)(n.dispatch),Object(r.a)(Object(r.a)({},n),{},{dispatch:i})}}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o}));var r=function(t){return t.scrollTop};function o(t,e){var n=t.timeout,r=t.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"===typeof n?n:n[e.mode]||0,delay:o.transitionDelay}}},,,,,function(t,e,n){var r=n(546),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},function(t,e,n){"use strict";var r=n(443);e.a=r.a},function(t,e,n){"use strict";var r=n(1161);e.a=r.a},function(t,e,n){"use strict";n.d(e,"a",(function(){return C}));var r=n(87),o=n.n(r),i=n(40),a=n.n(i),s=n(48),l=n.n(s),c=n(1),u=n.n(c),d=n(56),f=n.n(d),p=n(255),h=n(58),v=n(18),g=n(80),m=n(39);function b(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function x(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 w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?x(Object(n),!0).forEach((function(e){O(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):x(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function O(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(){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},S.apply(this,arguments)}var j=function(t,e,n){var r,o,i=t.position,a=t.viewBox,s=t.offset,c=t.className,d=a,p=d.cx,h=d.cy,m=d.innerRadius,b=d.outerRadius,y=d.startAngle,x=d.endAngle,w=d.clockWise,O=(m+b)/2,j=function(t,e){return Object(v.i)(e-t)*Math.min(Math.abs(e-t),360)}(y,x),C=j>=0?1:-1;"insideStart"===i?(r=y+C*s,o=w):"insideEnd"===i?(r=x-C*s,o=!w):"end"===i&&(r=x+C*s,o=w),o=j<=0?o:!o;var k=Object(g.c)(p,h,O,r),E=Object(g.c)(p,h,O,r+359*(o?1:-1)),P="M".concat(k.x,",").concat(k.y,"\n    A").concat(O,",").concat(O,",0,1,").concat(o?0:1,",\n    ").concat(E.x,",").concat(E.y),_=l()(t.id)?Object(v.j)("recharts-radial-line-"):t.id;return u.a.createElement("text",S({},n,{dominantBaseline:"central",className:f()("recharts-radial-bar-label",c)}),u.a.createElement("defs",null,u.a.createElement("path",{id:_,d:P})),u.a.createElement("textPath",{xlinkHref:"#".concat(_)},e))};function C(t){var e,n=t.viewBox,r=t.position,i=t.value,s=t.children,d=t.content,h=t.className,b=void 0===h?"":h,y=t.textBreakAll;if(!n||l()(i)&&l()(s)&&!Object(c.isValidElement)(d)&&!a()(d))return null;if(Object(c.isValidElement)(d))return Object(c.cloneElement)(d,t);if(a()(d)){if(e=Object(c.createElement)(d,t),Object(c.isValidElement)(e))return e}else e=function(t){var e=t.value,n=t.formatter,r=l()(t.children)?e:t.children;return a()(n)?n(r):r}(t);var x=function(t){return Object(v.g)(t.cx)}(n),O=Object(m.c)(t,!0);if(x&&("insideStart"===r||"insideEnd"===r||"end"===r))return j(t,e,O);var C=x?function(t){var e=t.viewBox,n=t.offset,r=t.position,o=e,i=o.cx,a=o.cy,s=o.innerRadius,l=o.outerRadius,c=(o.startAngle+o.endAngle)/2;if("outside"===r){var u=Object(g.c)(i,a,l+n,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=(s+l)/2,p=Object(g.c)(i,a,f,c);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}}(t):function(t){var e=t.viewBox,n=t.parentViewBox,r=t.offset,i=t.position,a=e,s=a.x,l=a.y,c=a.width,u=a.height,d=u>=0?1:-1,f=d*r,p=d>0?"end":"start",h=d>0?"start":"end",g=c>=0?1:-1,m=g*r,b=g>0?"end":"start",y=g>0?"start":"end";if("top"===i)return w(w({},{x:s+c/2,y:l-d*r,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(l-n.y,0),width:c}:{});if("bottom"===i)return w(w({},{x:s+c/2,y:l+u+f,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(n.y+n.height-(l+u),0),width:c}:{});if("left"===i){var x={x:s-m,y:l+u/2,textAnchor:b,verticalAnchor:"middle"};return w(w({},x),n?{width:Math.max(x.x-n.x,0),height:u}:{})}if("right"===i){var O={x:s+c+m,y:l+u/2,textAnchor:y,verticalAnchor:"middle"};return w(w({},O),n?{width:Math.max(n.x+n.width-O.x,0),height:u}:{})}var S=n?{width:c,height:u}:{};return"insideLeft"===i?w({x:s+m,y:l+u/2,textAnchor:y,verticalAnchor:"middle"},S):"insideRight"===i?w({x:s+c-m,y:l+u/2,textAnchor:b,verticalAnchor:"middle"},S):"insideTop"===i?w({x:s+c/2,y:l+f,textAnchor:"middle",verticalAnchor:h},S):"insideBottom"===i?w({x:s+c/2,y:l+u-f,textAnchor:"middle",verticalAnchor:p},S):"insideTopLeft"===i?w({x:s+m,y:l+f,textAnchor:y,verticalAnchor:h},S):"insideTopRight"===i?w({x:s+c-m,y:l+f,textAnchor:b,verticalAnchor:h},S):"insideBottomLeft"===i?w({x:s+m,y:l+u-f,textAnchor:y,verticalAnchor:p},S):"insideBottomRight"===i?w({x:s+c-m,y:l+u-f,textAnchor:b,verticalAnchor:p},S):o()(i)&&(Object(v.g)(i.x)||Object(v.h)(i.x))&&(Object(v.g)(i.y)||Object(v.h)(i.y))?w({x:s+Object(v.c)(i.x,c),y:l+Object(v.c)(i.y,u),textAnchor:"end",verticalAnchor:"end"},S):w({x:s+c/2,y:l+u/2,textAnchor:"middle",verticalAnchor:"middle"},S)}(t);return u.a.createElement(p.a,S({className:f()("recharts-label",b)},O,C,{breakAll:y}),e)}C.displayName="Label",C.defaultProps={offset:5};var k=function(t){var e=t.cx,n=t.cy,r=t.angle,o=t.startAngle,i=t.endAngle,a=t.r,s=t.radius,l=t.innerRadius,c=t.outerRadius,u=t.x,d=t.y,f=t.top,p=t.left,h=t.width,g=t.height,m=t.clockWise,b=t.labelViewBox;if(b)return b;if(Object(v.g)(h)&&Object(v.g)(g)){if(Object(v.g)(u)&&Object(v.g)(d))return{x:u,y:d,width:h,height:g};if(Object(v.g)(f)&&Object(v.g)(p))return{x:f,y:p,width:h,height:g}}return Object(v.g)(u)&&Object(v.g)(d)?{x:u,y:d,width:0,height:0}:Object(v.g)(e)&&Object(v.g)(n)?{cx:e,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:l||0,outerRadius:c||s||a||0,clockWise:m}:t.viewBox?t.viewBox:{}},E=function(t,e){return t?!0===t?u.a.createElement(C,{key:"label-implicit",viewBox:e}):Object(v.f)(t)?u.a.createElement(C,{key:"label-implicit",viewBox:e,value:t}):Object(c.isValidElement)(t)?t.type===C?Object(c.cloneElement)(t,{key:"label-implicit",viewBox:e}):u.a.createElement(C,{key:"label-implicit",content:t,viewBox:e}):a()(t)?u.a.createElement(C,{key:"label-implicit",content:t,viewBox:e}):o()(t)?u.a.createElement(C,S({viewBox:e},t,{key:"label-implicit"})):null:null};C.parseViewBox=k,C.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,o=k(t),i=Object(h.b)(r,C.displayName).map((function(t,n){return Object(c.cloneElement)(t,{viewBox:e||o,key:"label-".concat(n)})}));if(!n)return i;var a=E(t.label,e||o);return[a].concat(b(i))}},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(71),o={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(t){return"".concat(Math.round(t),"ms")}e.a={easing:o,duration:i,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.duration,s=void 0===n?i.standard:n,l=e.easing,c=void 0===l?o.easeInOut:l,u=e.delay,d=void 0===u?0:u;Object(r.a)(e,["duration","easing","delay"]);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof s?s:a(s)," ").concat(c," ").concat("string"===typeof d?d:a(d))})).join(",")},getAutoHeightDuration:function(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return w}));var r=n(1),o=n.n(r),i=n(32),a=n.n(i),s=n(673);function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(o){n<0&&(n=o),o-n>e?(t(o),n=-1):requestAnimationFrame(r)};requestAnimationFrame(r)}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},c(t)}function u(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(t,e)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(){var t=function(){return null},e=!1,n=function n(r){if(!e){if(Array.isArray(r)){if(!r.length)return;var o=u(r),i=o[0],a=o.slice(1);return"number"===typeof i?void l(n.bind(null,a),i):(n(i),void l(n.bind(null,a)))}"object"===c(r)&&t(r),"function"===typeof r&&r()}};return{stop:function(){e=!0},start:function(t){e=!1,n(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function p(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 h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach((function(e){v(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}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=["Webkit","Moz","O","ms"],m=["-webkit-","-moz-","-o-","-ms-"],b=["transform","transformOrigin","transition"],y=function(t){return t},x=function(t,e){return Object.keys(e).reduce((function(n,r){return h(h({},n),{},v({},r,t(r,e[r])))}),{})},w=function(t){return Object.keys(t).reduce((function(t,e){return h(h({},t),function(t,e){if(-1===b.indexOf(t))return v({},t,e);var n="transition"===t,r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),o=e;return g.reduce((function(t,i,a){return n&&(o=e.replace(/(transform|transform-origin)/gim,"".concat(m[a],"$1"))),h(h({},t),{},v({},i+r,o))}),{})}(e,t[e]))}),t)},O=function(t,e,n){return t.map((function(t){return"".concat((r=t,r.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(n);var r})).join(",")};function S(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||C(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(t){return function(t){if(Array.isArray(t))return k(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||C(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,e){if(t){if("string"===typeof t)return k(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(t,e):void 0}}function k(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var E=1e-4,P=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},_=function(t,e){return t.map((function(t,n){return t*Math.pow(e,n)})).reduce((function(t,e){return t+e}))},M=function(t,e){return function(n){var r=P(t,e);return _(r,n)}},T=function(t,e){return function(n){var r=P(t,e),o=[].concat(j(r.map((function(t,e){return t*e})).slice(1)),[0]);return _(o,n)}},A=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],o=e[1],i=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":r=0,o=0,i=1,a=1;break;case"ease":r=.25,o=.1,i=.25,a=1;break;case"ease-in":r=.42,o=0,i=1,a=1;break;case"ease-out":r=.42,o=0,i=.58,a=1;break;case"ease-in-out":r=0,o=0,i=.58,a=1;break;default:var s=e[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var l=s[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),c=S(l,4);r=c[0],o=c[1],i=c[2],a=c[3]}}[r,i,o,a].every((function(t){return"number"===typeof t&&t>=0&&t<=1}));var u=M(r,i),d=M(o,a),f=T(r,i),p=function(t){return t>1?1:t<0?0:t},h=function(t){for(var e=t>1?1:t,n=e,r=0;r<8;++r){var o=u(n)-e,i=f(n);if(Math.abs(o-e)<E||i<E)return d(n);n=p(n-o/i)}return d(n)};return h.isStepper=!1,h},R=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,n=void 0===e?100:e,r=t.damping,o=void 0===r?8:r,i=t.dt,a=void 0===i?17:i,s=function(t,e,r){var i=r+(-(t-e)*n-r*o)*a/1e3,s=r*a/1e3+t;return Math.abs(s-e)<E&&Math.abs(i)<E?[e,0]:[s,i]};return s.isStepper=!0,s.dt=a,s};function D(t){return function(t){if(Array.isArray(t))return z(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||B(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(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 N(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){L(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||B(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(t,e){if(t){if("string"===typeof t)return z(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(t,e):void 0}}function z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var H=function(t,e,n){return t+(e-t)*n},V=function(t){return t.from!==t.to},U=function t(e,n,r){var o=x((function(t,n){if(V(n)){var r=F(e(n.from,n.to,n.velocity),2),o=r[0],i=r[1];return N(N({},n),{},{from:o,velocity:i})}return n}),n);return r<1?x((function(t,e){return V(e)?N(N({},e),{},{velocity:H(e.velocity,o[t].velocity,r),from:H(e.from,o[t].from,r)}):e}),n):t(e,o,r-1)},W=function(t,e,n,r,o){var i,a,s,l,c=(i=t,a=e,[Object.keys(i),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),u=c.reduce((function(n,r){return N(N({},n),{},L({},r,[t[r],e[r]]))}),{}),d=c.reduce((function(n,r){return N(N({},n),{},L({},r,{from:t[r],velocity:0,to:e[r]}))}),{}),f=-1,p=function(){return null};return p=n.isStepper?function(r){s||(s=r);var i=(r-s)/n.dt;d=U(n,d,i),o(N(N(N({},t),e),x((function(t,e){return e.from}),d))),s=r,Object.values(d).filter(V).length&&(f=requestAnimationFrame(p))}:function(i){l||(l=i);var a=(i-l)/r,s=x((function(t,e){return H.apply(void 0,D(e).concat([n(a)]))}),u);if(o(N(N(N({},t),e),s)),a<1)f=requestAnimationFrame(p);else{var c=x((function(t,e){return H.apply(void 0,D(e).concat([n(1)]))}),u);o(N(N(N({},t),e),c))}},function(){return requestAnimationFrame(p),function(){cancelAnimationFrame(f)}}};function q(t){return q="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},q(t)}function G(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Y(t){return function(t){if(Array.isArray(t))return X(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return X(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function K(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 $(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K(Object(n),!0).forEach((function(e){Z(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Z(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(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,e){return J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},J(t,e)}function tt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=rt(t);if(e){var o=rt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return et(this,n)}}function et(t,e){return!e||"object"!==q(e)&&"function"!==typeof e?nt(t):e}function nt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rt(t){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},rt(t)}var ot=function(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&&J(t,e)}(l,t);var e,n,i,a=tt(l);function l(t,e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var r=(n=a.call(this,t,e)).props,o=r.isActive,i=r.attributeName,s=r.from,c=r.to,u=r.steps,d=r.children;if(n.handleStyleChange=n.handleStyleChange.bind(nt(n)),n.changeStyle=n.changeStyle.bind(nt(n)),!o)return n.state={style:{}},"function"===typeof d&&(n.state={style:c}),et(n);if(u&&u.length)n.state={style:u[0].style};else if(s){if("function"===typeof d)return n.state={style:s},et(n);n.state={style:i?Z({},i,s):s}}else n.state={style:{}};return n}return e=l,n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,n=t.canBegin;this.mounted=!0,e&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isActive,r=e.canBegin,o=e.attributeName,i=e.shouldReAnimate;if(r)if(n){if(!(Object(s.deepEqual)(t.to,this.props.to)&&t.canBegin&&t.isActive)){var a=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var l=a||i?this.props.from:t.to;if(this.state&&this.state.style){var c={style:o?Z({},o,l):l};(o&&this.state.style[o]!==l||!o&&this.state.style!==l)&&this.setState(c)}this.runAnimation($($({},this.props),{},{from:l,begin:0}))}}else{var u={style:o?Z({},o,this.props.to):this.props.to};this.state&&this.state.style&&(o&&this.state.style[o]!==this.props.to||!o&&this.state.style!==this.props.to)&&this.setState(u)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(t){var e=this,n=t.from,r=t.to,o=t.duration,i=t.easing,a=t.begin,s=t.onAnimationEnd,l=t.onAnimationStart,c=W(n,r,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if("string"===typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return A(r);case"spring":return R();default:if("cubic-bezier"===r.split("(")[0])return A(r)}return"function"===typeof r?r:null}(i),o,this.changeStyle);this.manager.start([l,a,function(){e.stopJSAnimation=c()},o,s])}},{key:"runStepAnimation",value:function(t){var e=this,n=t.steps,r=t.begin,o=t.onAnimationStart,i=n[0],a=i.style,s=i.duration,l=void 0===s?0:s;return this.manager.start([o].concat(Y(n.reduce((function(t,r,o){if(0===o)return t;var i=r.duration,a=r.easing,s=void 0===a?"ease":a,l=r.style,c=r.properties,u=r.onAnimationEnd,d=o>0?n[o-1]:r,f=c||Object.keys(l);if("function"===typeof s||"spring"===s)return[].concat(Y(t),[e.runJSAnimation.bind(e,{from:d.style,to:l,duration:i,easing:s}),i]);var p=O(f,i,s),h=$($($({},d.style),l),{},{transition:p});return[].concat(Y(t),[h,i,u]).filter(y)}),[a,Math.max(l,r)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=f());var e=t.begin,n=t.duration,r=t.attributeName,o=t.to,i=t.easing,a=t.onAnimationStart,s=t.onAnimationEnd,l=t.steps,c=t.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!==typeof i&&"function"!==typeof c&&"spring"!==i)if(l.length>1)this.runStepAnimation(t);else{var d=r?Z({},r,o):o,p=O(Object.keys(d),n,i);u.start([a,e,$($({},d),{},{transition:p}),n,s])}else this.runJSAnimation(t)}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"render",value:function(){var t=this.props,e=t.children,n=(t.begin,t.duration,t.attributeName,t.easing,t.isActive),i=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,G(t,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),a=r.Children.count(e),s=w(this.state.style);if("function"===typeof e)return e(s);if(!n||0===a)return e;var l=function(t){var e=t.props,n=e.style,o=void 0===n?{}:n,a=e.className;return Object(r.cloneElement)(t,$($({},i),{},{style:$($({},o),s),className:a}))};return 1===a?l(r.Children.only(e)):o.a.createElement("div",null,r.Children.map(e,(function(t){return l(t)})))}}],n&&Q(e.prototype,n),i&&Q(e,i),l}(r.PureComponent);ot.displayName="Animate",ot.propTypes={from:a.a.oneOfType([a.a.object,a.a.string]),to:a.a.oneOfType([a.a.object,a.a.string]),attributeName:a.a.string,duration:a.a.number,begin:a.a.number,easing:a.a.oneOfType([a.a.string,a.a.func]),steps:a.a.arrayOf(a.a.shape({duration:a.a.number.isRequired,style:a.a.object.isRequired,easing:a.a.oneOfType([a.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),a.a.func]),properties:a.a.arrayOf("string"),onAnimationEnd:a.a.func})),children:a.a.oneOfType([a.a.node,a.a.func]),isActive:a.a.bool,canBegin:a.a.bool,onAnimationEnd:a.a.func,shouldReAnimate:a.a.bool,onAnimationStart:a.a.func,onAnimationReStart:a.a.func},ot.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var it=ot,at=n(415);function st(t){return st="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},st(t)}function lt(){return lt=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},lt.apply(this,arguments)}function ct(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function ut(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 dt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ut(Object(n),!0).forEach((function(e){ft(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(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 vt(t,e){return vt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},vt(t,e)}function gt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=bt(t);if(e){var o=bt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return mt(this,n)}}function mt(t,e){return!e||"object"!==st(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 bt(t){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},bt(t)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"===typeof t&&isFinite(t)});var yt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,n=t.duration;return e&&e.length?e.reduce((function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)}),0):Number.isFinite(n)?n:0},xt=function(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&&vt(t,e)}(s,t);var e,n,i,a=gt(s);function s(){var t;pt(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=a.call.apply(a,[this].concat(n))).state={isActive:!1},t.handleEnter=function(e,n){var r=t.props,o=r.appearOptions,i=r.enterOptions;t.handleStyleActive(n?o:i)},t.handleExit=function(){t.handleStyleActive(t.props.leaveOptions)},t}return e=s,(n=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(dt(dt({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,n=t.enterOptions,r=t.leaveOptions;return yt(e)+yt(n)+yt(r)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,i=(e.appearOptions,e.enterOptions,e.leaveOptions,ct(e,["children","appearOptions","enterOptions","leaveOptions"]));return o.a.createElement(at.Transition,lt({},i,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return o.a.createElement(it,t.state,r.Children.only(n))}))}}])&&ht(e.prototype,n),i&&ht(e,i),s}(r.Component);xt.propTypes={appearOptions:a.a.object,enterOptions:a.a.object,leaveOptions:a.a.object,children:a.a.element};var wt=xt;function Ot(t){var e=t.component,n=t.children,i=t.appear,a=t.enter,s=t.leave;return o.a.createElement(at.TransitionGroup,{component:e},r.Children.map(n,(function(t,e){return o.a.createElement(wt,{appearOptions:i,enterOptions:a,leaveOptions:s,key:"child-".concat(e)},t)})))}Ot.propTypes={appear:a.a.object,enter:a.a.object,leave:a.a.object,children:a.a.oneOfType([a.a.array,a.a.element]),component:a.a.any},Ot.defaultProps={component:"span"};e.a=it},function(t,e,n){"use strict";n.d(e,"d",(function(){return l})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"e",(function(){return d})),n.d(e,"c",(function(){return f}));var r=n(437);function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),n)}function i(t){if(t.type)return t;if("#"===t.charAt(0))return i(function(t){t=t.slice(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map((function(t){return t+t}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error(Object(r.a)(9,t));var o,a=t.substring(e+1,t.length-1);if("color"===n){if(o=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error(Object(r.a)(10,o))}else a=a.split(",");return{type:n,values:a=a.map((function(t){return parseFloat(t)})),colorSpace:o}}function a(t){var e=t.type,n=t.colorSpace,r=t.values;return-1!==e.indexOf("rgb")?r=r.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(r[1]="".concat(r[1],"%"),r[2]="".concat(r[2],"%")),r=-1!==e.indexOf("color")?"".concat(n," ").concat(r.join(" ")):"".concat(r.join(", ")),"".concat(e,"(").concat(r,")")}function s(t){var e="hsl"===(t=i(t)).type?i(function(t){var e=(t=i(t)).values,n=e[0],r=e[1]/100,o=e[2]/100,s=r*Math.min(o,1-o),l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return o-s*Math.max(Math.min(e-3,9-e,1),-1)},c="rgb",u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===t.type&&(c+="a",u.push(e[3])),a({type:c,values:u})}(t)).values:t.values;return e=e.map((function(e){return"color"!==t.type&&(e/=255),e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function l(t,e){var n=s(t),r=s(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function c(t,e){return t=i(t),e=o(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),"color"===t.type?t.values[3]="/".concat(e):t.values[3]=e,a(t)}function u(t,e){if(t=i(t),e=o(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb")||-1!==t.type.indexOf("color"))for(var n=0;n<3;n+=1)t.values[n]*=1-e;return a(t)}function d(t,e){if(t=i(t),e=o(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(-1!==t.type.indexOf("color"))for(var r=0;r<3;r+=1)t.values[r]+=(1-t.values[r])*e;return a(t)}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(t)>.5?u(t,e):d(t,e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1154),o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function i(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i=o[e];return i?"".concat(n,"-").concat(i):"".concat(r.a.generate(t),"-").concat(e)}},,,function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!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:i}catch(t){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var t=s(f);u=!0;for(var e=c.length;e;){for(l=c,c=[];++d<e;)l&&l[d].run();d=-1,e=c.length}l=null,u=!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 h(t,e){this.fun=t,this.array=e}function v(){}o.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 h(t,e)),1!==c.length||u||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";t.exports=n(784)},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m18 7-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41 6 19l1.41-1.41L1.83 12 .41 13.41z"}),"DoneAll");e.default=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1165),o=(n(1),n(434));function i(){return Object(r.a)()||o.a}},function(t,e,n){"use strict";var r=n(311);e.a=function(t,e){return e?Object(r.a)(t,e,{clone:!1}):t}},function(t,e,n){"use strict";function r(t,e){"function"===typeof t?t(e):t&&(t.current=e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(197);e.a=function(t){return(t=Object(r.b)(Math.abs(t)))?t[1]:NaN}},function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"d",(function(){return v})),n.d(e,"c",(function(){return g})),n.d(e,"a",(function(){return b}));var r=n(413),o=n.n(r),i=n(293),a=n.n(i),s=n(43),l=n(58),c=n(18);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 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}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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 h=function(t,e,n,r,o){var i=t.width,a=t.height,u=t.layout,d=t.children,h=Object.keys(e),v={left:n.left,leftMirror:n.left,right:i-n.right,rightMirror:i-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom},g=!!Object(l.c)(d,"Bar");return h.reduce((function(i,a){var l,d,h,m,b,y=e[a],x=y.orientation,w=y.domain,O=y.padding,S=void 0===O?{}:O,j=y.mirror,C=y.reversed,k="".concat(x).concat(j?"Mirror":"");if("number"===y.type&&("gap"===y.padding||"no-gap"===y.padding)){var E=w[1]-w[0],P=1/0,_=y.categoricalDomain.sort();_.forEach((function(t,e){e>0&&(P=Math.min((t||0)-(_[e-1]||0),P))}));var M=P/E,T="vertical"===y.layout?n.height:n.width;if("gap"===y.padding&&(l=M*T/2),"no-gap"===y.padding){var A=Object(c.c)(t.barCategoryGap,M*T),R=M*T/2;l=R-A-(R-A)/T*A}}d="xAxis"===r?[n.left+(S.left||0)+(l||0),n.left+n.width-(S.right||0)-(l||0)]:"yAxis"===r?"horizontal"===u?[n.top+n.height-(S.bottom||0),n.top+(S.top||0)]:[n.top+(S.top||0)+(l||0),n.top+n.height-(S.bottom||0)-(l||0)]:y.range,C&&(d=[d[1],d[0]]);var D=Object(s.z)(y,o,g),I=D.scale,N=D.realScaleType;I.domain(w).range(d),Object(s.c)(I);var L=Object(s.t)(I,f(f({},y),{},{realScaleType:N}));"xAxis"===r?(b="top"===x&&!j||"bottom"===x&&j,h=n.left,m=v[k]-b*y.height):"yAxis"===r&&(b="left"===x&&!j||"right"===x&&j,h=v[k]-b*y.width,m=n.top);var F=f(f(f({},y),L),{},{realScaleType:N,x:h,y:m,scale:I,width:"xAxis"===r?n.width:y.width,height:"yAxis"===r?n.height:y.height});return F.bandSize=Object(s.f)(F,L),y.hide||"xAxis"!==r?y.hide||(v[k]+=(b?-1:1)*F.width):v[k]+=(b?-1:1)*F.height,f(f({},i),{},p({},a,F))}),{})},v=function(t,e){var n=t.x,r=t.y,o=e.x,i=e.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},g=function(t){var e=t.x1,n=t.y1,r=t.x2,o=t.y2;return v({x:e,y:n},{x:r,y:o})},m=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=void 0,this.scale=e}var e,n,r;return e=t,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bandAware,r=e.position;if(void 0!==t){if(r)switch(r){case"start":default:return this.scale(t);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(t)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),n=e[0],r=e[e.length-1];return n<=r?t>=n&&t<=r:t>=r&&t<=n}}],r=[{key:"create",value:function(e){return new t(e)}}],n&&u(e.prototype,n),r&&u(e,r),t}();m.EPS=1e-4;var b=function(t){var e=Object.keys(t).reduce((function(e,n){return f(f({},e),{},p({},n,m.create(t[n])))}),{});return f(f({},e),{},{apply:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return a()(t,(function(t,n){return e[n].apply(t,{bandAware:r,position:o})}))},isInRange:function(t){return o()(t,(function(t,n){return e[n].isInRange(t)}))}})}},function(t,e,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},r.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var o=n(1134),i=n(1135),a=n(1136),s=r(r({},o.namedReferences),{all:o.namedReferences.html5}),l={specialChars:/[<>'"&]/g,nonAscii:/(?:[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,nonAsciiPrintable:/(?:[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,extensive:/(?:[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g},c={mode:"specialChars",level:"all",numeric:"decimal"};e.encode=function(t,e){var n=void 0===(u=(i=void 0===e?c:e).mode)?"specialChars":u,r=void 0===(h=i.numeric)?"decimal":h,o=i.level;if(!t)return"";var i,u,d=l[n],f=s[void 0===o?"all":o].characters,p="hexadecimal"===r;if(d.lastIndex=0,i=d.exec(t)){u="";var h=0;do{h!==i.index&&(u+=t.substring(h,i.index));var v=f[o=i[0]];if(!v){var g=o.length>1?a.getCodePoint(o,0):o.charCodeAt(0);v=(p?"&#x"+g.toString(16):"&#"+g)+";"}u+=v,h=i.index+o.length}while(i=d.exec(t));h!==t.length&&(u+=t.substring(h))}else u=t;return u};var u={scope:"body",level:"all"},d=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,f=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,p={xml:{strict:d,attribute:f,body:o.bodyRegExps.xml},html4:{strict:d,attribute:f,body:o.bodyRegExps.html4},html5:{strict:d,attribute:f,body:o.bodyRegExps.html5}},h=r(r({},p),{all:p.html5}),v=String.fromCharCode,g=v(65533),m={level:"all"};e.decodeEntity=function(t,e){var n=void 0===(r=(void 0===e?m:e).level)?"all":r;if(!t)return"";var r=t,o=(t[t.length-1],s[n].entities[t]);if(o)r=o;else if("&"===t[0]&&"#"===t[1]){var l=t[2],c="x"==l||"X"==l?parseInt(t.substr(3),16):parseInt(t.substr(2));r=c>=1114111?g:c>65535?a.fromCodePoint(c):v(i.numericUnicodeMap[c]||c)}return r},e.decode=function(t,e){var n=void 0===e?u:e,r=n.level,o=void 0===r?"all":r,l=n.scope,c=void 0===l?"xml"===o?"strict":"body":l;if(!t)return"";var d=h[o][c],f=s[o].entities,p="attribute"===c,m="strict"===c;d.lastIndex=0;var b,y=d.exec(t);if(y){b="";var x=0;do{x!==y.index&&(b+=t.substring(x,y.index));var w=y[0],O=w,S=w[w.length-1];if(p&&"="===S)O=w;else if(m&&";"!==S)O=w;else{var j=f[w];if(j)O=j;else if("&"===w[0]&&"#"===w[1]){var C=w[2],k="x"==C||"X"==C?parseInt(w.substr(3),16):parseInt(w.substr(2));O=k>=1114111?g:k>65535?a.fromCodePoint(k):v(i.numericUnicodeMap[k]||k)}}b+=O,x=y.index+w.length}while(y=d.exec(t));x!==t.length&&(b+=t.substring(x))}else b=t;return b}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)([(0,i.jsx)("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8V8z"},"0"),(0,i.jsx)("path",{d:"M20 3h-8c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 8h-8V7h8v4zM4 12H2v7c0 1.1.9 2 2 2h9v-2H4v-7z"},"1")],"DynamicFeed");e.default=a},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return s}));var r=n(3),o=n(168),i=n(187),a=n(146);function s(t){return Object(o.a)("MuiInput",t)}var l=Object(r.a)({},a.a,Object(i.a)("MuiInput",["root","underline","input"]));e.a=l},function(t,e,n){"use strict";n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return $})),n.d(e,"c",(function(){return nt}));var r=n(201),o=n(14),i="",a="",s="",l="",c=r.a&&"ontouchstart"in document.documentElement;if(r.a){var u={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},d=document.createElement("p").style;for(var f in u)if(f+"Transform"in d){i=f,a=u[f];break}"Webkit"===i&&"msHyphens"in d&&(i="ms",a=u.ms,l="edge"),"Webkit"===i&&"-apple-trailing-word"in d&&(s="apple")}var p=i,h=a,v=s,g=l,m=c;function b(t){return"-"===t[1]||"ms"===p?t:"@"+h+"keyframes"+t.substr(10)}var y={noPrefill:["appearance"],supportedProperty:function(t){return"appearance"===t&&("ms"===p?"-webkit-"+t:h+t)}},x={noPrefill:["color-adjust"],supportedProperty:function(t){return"color-adjust"===t&&("Webkit"===p?h+"print-"+t:t)}},w=/[-\s]+(.)?/g;function O(t,e){return e?e.toUpperCase():""}function S(t){return t.replace(w,O)}function j(t){return S("-"+t)}var C,k={noPrefill:["mask"],supportedProperty:function(t,e){if(!/^mask/.test(t))return!1;if("Webkit"===p){var n="mask-image";if(S(n)in e)return t;if(p+j(n)in e)return h+t}return t}},E={noPrefill:["text-orientation"],supportedProperty:function(t){return"text-orientation"===t&&("apple"!==v||m?t:h+t)}},P={noPrefill:["transform"],supportedProperty:function(t,e,n){return"transform"===t&&(n.transform?t:h+t)}},_={noPrefill:["transition"],supportedProperty:function(t,e,n){return"transition"===t&&(n.transition?t:h+t)}},M={noPrefill:["writing-mode"],supportedProperty:function(t){return"writing-mode"===t&&("Webkit"===p||"ms"===p&&"edge"!==g?h+t:t)}},T={noPrefill:["user-select"],supportedProperty:function(t){return"user-select"===t&&("Moz"===p||"ms"===p||"apple"===v?h+t:t)}},A={supportedProperty:function(t,e){return!!/^break-/.test(t)&&("Webkit"===p?"WebkitColumn"+j(t)in e&&h+"column-"+t:"Moz"===p&&("page"+j(t)in e&&"page-"+t))}},R={supportedProperty:function(t,e){if(!/^(border|margin|padding)-inline/.test(t))return!1;if("Moz"===p)return t;var n=t.replace("-inline","");return p+j(n)in e&&h+n}},D={supportedProperty:function(t,e){return S(t)in e&&t}},I={supportedProperty:function(t,e){var n=j(t);return"-"===t[0]||"-"===t[0]&&"-"===t[1]?t:p+n in e?h+t:"Webkit"!==p&&"Webkit"+n in e&&"-webkit-"+t}},N={supportedProperty:function(t){return"scroll-snap"===t.substring(0,11)&&("ms"===p?""+h+t:t)}},L={supportedProperty:function(t){return"overscroll-behavior"===t&&("ms"===p?h+"scroll-chaining":t)}},F={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},B={supportedProperty:function(t,e){var n=F[t];return!!n&&(p+j(n)in e&&h+n)}},z={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},H=Object.keys(z),V=function(t){return h+t},U={supportedProperty:function(t,e,n){var r=n.multiple;if(H.indexOf(t)>-1){var o=z[t];if(!Array.isArray(o))return p+j(o)in e&&h+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(p+j(o[0])in e))return!1;return o.map(V)}return!1}},W=[y,x,k,E,P,_,M,T,A,R,D,I,N,L,B,U],q=W.filter((function(t){return t.supportedProperty})).map((function(t){return t.supportedProperty})),G=W.filter((function(t){return t.noPrefill})).reduce((function(t,e){return t.push.apply(t,Object(o.a)(e.noPrefill)),t}),[]),Y={};if(r.a){C=document.createElement("p");var X=window.getComputedStyle(document.documentElement,"");for(var K in X)isNaN(K)||(Y[X[K]]=X[K]);G.forEach((function(t){return delete Y[t]}))}function $(t,e){if(void 0===e&&(e={}),!C)return t;if(null!=Y[t])return Y[t];"transition"!==t&&"transform"!==t||(e[t]=t in C.style);for(var n=0;n<q.length&&(Y[t]=q[n](t,C.style,e),!Y[t]);n++);try{C.style[t]=""}catch(r){return!1}return Y[t]}var Z,Q={},J={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},tt=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function et(t,e,n){if("var"===e)return"var";if("all"===e)return"all";if("all"===n)return", all";var r=e?$(e):", "+$(n);return r||(e||n)}function nt(t,e){var n=e;if(!Z||"content"===t)return e;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=t+n;if(null!=Q[r])return Q[r];try{Z.style[t]=n}catch(o){return Q[r]=!1,!1}if(J[t])n=n.replace(tt,et);else if(""===Z.style[t]&&("-ms-flex"===(n=h+n)&&(Z.style[t]="-ms-flexbox"),Z.style[t]=n,""===Z.style[t]))return Q[r]=!1,!1;return Z.style[t]="",Q[r]=n,Q[r]}r.a&&(Z=document.createElement("p"))},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(168),o=n(187);function i(t){return Object(r.a)("MuiTooltip",t)}var a=Object(o.a)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);e.a=a},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(444),o=n(523);function i(t){return Object(r.a)("MuiTreeItem",t)}var a=Object(o.a)("MuiTreeItem",["root","group","content","expanded","selected","focused","disabled","iconContainer","label"]);e.a=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(168);function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return e.forEach((function(e){o[e]=Object(r.a)(t,e,n)})),o}},,,,function(t,e,n){var r=n(270),o=n(797),i=n(798),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},function(t,e,n){var r=n(832),o=n(845),i=n(272),a=n(59),s=n(852);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):s(t)}},function(t,e,n){"use strict";(function(t){var r=n(921),o=n(922),i=n(596);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=l.prototype:(null===t&&(t=new l(e)),t.length=e),t}function l(t,e,n){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(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 d(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);l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=f(t,e);return t}(t,e,n,r):"string"===typeof e?function(t,e,n){"string"===typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(e,n),o=(t=s(t,r)).write(e,n);o!==r&&(t=t.slice(0,o));return t}(t,e,n):function(t,e){if(l.isBuffer(e)){var n=0|p(e.length);return 0===(t=s(t,n)).length||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?s(t,0):f(t,e);if("Buffer"===e.type&&i(e.data))return f(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(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 d(t,e){if(u(e),t=s(t,e<0?0:0|p(e)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|p(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function p(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function h(t,e){if(l.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 H(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 H(t).length;e=(""+e).toLowerCase(),r=!0}}function v(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 M(this,e,n);case"utf8":case"utf-8":return k(this,e,n);case"ascii":return P(this,e,n);case"latin1":case"binary":return _(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function g(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function m(t,e,n,r,o){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=o?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(o)return-1;n=t.length-1}else if(n<0){if(!o)return-1;n=0}if("string"===typeof e&&(e=l.from(e,r)),l.isBuffer(e))return 0===e.length?-1:b(t,e,n,r,o);if("number"===typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):b(t,[e],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(t,e,n,r,o){var i,a=1,s=t.length,l=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,s/=2,l/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(t,i)===c(e,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,f=0;f<l;f++)if(c(t,i+f)!==c(e,f)){d=!1;break}if(d)return i}return-1}function y(t,e,n,r){n=Number(n)||0;var o=t.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=e.length;if(i%2!==0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function x(t,e,n,r){return U(H(e,t.length-n),t,n,r)}function w(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 O(t,e,n,r){return w(t,e,n,r)}function S(t,e,n,r){return U(V(e),t,n,r)}function j(t,e,n,r){return U(function(t,e){for(var n,r,o,i=[],a=0;a<t.length&&!((e-=2)<0);++a)r=(n=t.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(e,t.length-n),t,n,r)}function C(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function k(t,e,n){n=Math.min(t.length,n);for(var r=[],o=e;o<n;){var i,a,s,l,c=t[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128===(192&(i=t[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=t[o+1],a=t[o+2],128===(192&i)&&128===(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128===(192&i)&&128===(192&a)&&128===(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(t){var e=t.length;if(e<=E)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=E));return n}(r)}e.Buffer=l,e.SlowBuffer=function(t){+t!=t&&(t=0);return l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.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(e){return!1}}(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,n){return c(null,t,e,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,n){return function(t,e,n,r){return u(e),e<=0?s(t,e):void 0!==n?"string"===typeof r?s(t,e).fill(n,r):s(t,e).fill(n):s(t,e)}(null,t,e,n)},l.allocUnsafe=function(t){return d(null,t)},l.allocUnsafeSlow=function(t){return d(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,o=0,i=Math.min(n,r);o<i;++o)if(t[o]!==e[o]){n=t[o],r=e[o];break}return n<r?-1:r<n?1:0},l.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}},l.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return l.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=l.allocUnsafe(e),o=0;for(n=0;n<t.length;++n){var a=t[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.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)g(this,e,e+1);return this},l.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)g(this,e,e+3),g(this,e+1,e+2);return this},l.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)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},l.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?k(this,0,t):v.apply(this,arguments)},l.prototype.equals=function(t){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===l.compare(this,t)},l.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+">"},l.prototype.compare=function(t,e,n,r,o){if(!l.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===o&&(o=this.length),e<0||n>t.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&e>=n)return 0;if(r>=o)return-1;if(e>=n)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(i,a),c=this.slice(r,o),u=t.slice(e,n),d=0;d<s;++d)if(c[d]!==u[d]){i=c[d],a=u[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},l.prototype.indexOf=function(t,e,n){return m(this,t,e,n,!0)},l.prototype.lastIndexOf=function(t,e,n){return m(this,t,e,n,!1)},l.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 o=this.length-e;if((void 0===n||n>o)&&(n=o),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,t,e,n);case"utf8":case"utf-8":return x(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return O(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,e,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function P(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(127&t[o]);return r}function _(t,e,n){var r="";n=Math.min(t.length,n);for(var o=e;o<n;++o)r+=String.fromCharCode(t[o]);return r}function M(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=e;i<n;++i)o+=z(t[i]);return o}function T(t,e,n){for(var r=t.slice(e,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function A(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 R(t,e,n,r,o,i){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)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 o=0,i=Math.min(t.length-n,2);o<i;++o)t[n+o]=(e&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function I(t,e,n,r){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-n,4);o<i;++o)t[n+o]=e>>>8*(r?o:3-o)&255}function N(t,e,n,r,o,i){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(t,e,n,r,i){return i||N(t,0,n,4),o.write(t,e,n,r,23,4),n+4}function F(t,e,n,r,i){return i||N(t,0,n,8),o.write(t,e,n,r,52,8),n+8}l.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),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=l.prototype;else{var o=e-t;n=new l(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+t]}return n},l.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||A(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r},l.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||A(t,e,this.length);for(var r=this[t+--e],o=1;e>0&&(o*=256);)r+=this[t+--e]*o;return r},l.prototype.readUInt8=function(t,e){return e||A(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||A(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||A(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||A(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||A(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||A(t,e,this.length);for(var r=this[t],o=1,i=0;++i<e&&(o*=256);)r+=this[t+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*e)),r},l.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||A(t,e,this.length);for(var r=e,o=1,i=this[t+--r];r>0&&(o*=256);)i+=this[t+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},l.prototype.readInt8=function(t,e){return e||A(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||A(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(t,e){e||A(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(t,e){return e||A(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||A(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||A(t,4,this.length),o.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||A(t,4,this.length),o.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||A(t,8,this.length),o.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||A(t,8,this.length),o.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||R(this,t,e,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[e]=255&t;++i<n&&(o*=256);)this[e+i]=t/o&255;return e+n},l.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||R(this,t,e,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[e+o]=255&t;--o>=0&&(i*=256);)this[e+o]=t/i&255;return e+n},l.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),l.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},l.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,4294967295,0),l.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},l.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);R(this,t,e,n,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<n&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},l.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var o=Math.pow(2,8*n-1);R(this,t,e,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+n},l.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),l.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},l.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||R(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.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},l.prototype.writeFloatLE=function(t,e,n){return L(this,t,e,!0,n)},l.prototype.writeFloatBE=function(t,e,n){return L(this,t,e,!1,n)},l.prototype.writeDoubleLE=function(t,e,n){return F(this,t,e,!0,n)},l.prototype.writeDoubleBE=function(t,e,n){return F(this,t,e,!1,n)},l.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 o,i=r-n;if(this===t&&n<e&&e<r)for(o=i-1;o>=0;--o)t[o+e]=this[o+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)t[o+e]=this[o+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),e);return i},l.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 o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!l.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 i;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(i=e;i<n;++i)this[i]=t;else{var a=l.isBuffer(t)?t:H(new l(t,r).toString()),s=a.length;for(i=0;i<n-e;++i)this[i+e]=a[i%s]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function z(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,e){var n;e=e||1/0;for(var r=t.length,o=null,i=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(e-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((e-=1)<0)break;i.push(n)}else if(n<2048){if((e-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;i.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;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function V(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(B,"")).length<2)return"";for(;t.length%4!==0;)t+="=";return t}(t))}function U(t,e,n,r){for(var o=0;o<r&&!(o+n>=e.length||o>=t.length);++o)e[o+n]=t[o];return o}}).call(this,n(119))},function(t,e){(function(){var e,n,r,o,i,a,s,l=[].slice,c={}.hasOwnProperty;e=function(){var t,e,n,r,o,a;if(a=arguments[0],o=2<=arguments.length?l.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(t=0,n=o.length;t<n;t++)if(null!=(r=o[t]))for(e in r)c.call(r,e)&&(a[e]=r[e]);return a},i=function(t){return!!t&&"[object Function]"===Object.prototype.toString.call(t)},a=function(t){var e;return!!t&&("function"===(e=typeof t)||"object"===e)},r=function(t){return i(Array.isArray)?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)},o=function(t){var e;if(r(t))return!t.length;for(e in t)if(c.call(t,e))return!1;return!0},s=function(t){var e,n;return a(t)&&(n=Object.getPrototypeOf(t))&&(e=n.constructor)&&"function"===typeof e&&e instanceof e&&Function.prototype.toString.call(e)===Function.prototype.toString.call(Object)},n=function(t){return i(t.valueOf)?t.valueOf():t},t.exports.assign=e,t.exports.isFunction=i,t.exports.isObject=a,t.exports.isArray=r,t.exports.isEmpty=o,t.exports.isPlainObject=s,t.exports.getValue=n}).call(this)},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Edit");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");e.default=a},function(t,e,n){"use strict";function r(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)]}n.d(e,"b",(function(){return r})),e.a=function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return b})),n.d(e,"a",(function(){return y}));var r=n(1),o=n.n(r),i=n(56),a=n.n(i),s=n(166),l=n(39);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},c(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},u.apply(this,arguments)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function h(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(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 g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}var m=function(t,e,n,r,o){var i,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),s=r>=0?1:-1,l=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=o[d]>a?a:o[d];i="M".concat(t,",").concat(e+s*u[0]),u[0]>0&&(i+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(t+l*u[0],",").concat(e)),i+="L ".concat(t+n-l*u[1],",").concat(e),u[1]>0&&(i+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n        ").concat(t+n,",").concat(e+s*u[1])),i+="L ".concat(t+n,",").concat(e+r-s*u[2]),u[2]>0&&(i+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n        ").concat(t+n-l*u[2],",").concat(e+r)),i+="L ".concat(t+l*u[3],",").concat(e+r),u[3]>0&&(i+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n        ").concat(t,",").concat(e+r-s*u[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var f=Math.min(a,o);i="M ".concat(t,",").concat(e+s*f,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(t+l*f,",").concat(e,"\n            L ").concat(t+n-l*f,",").concat(e,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(t+n,",").concat(e+s*f,"\n            L ").concat(t+n,",").concat(e+r-s*f,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(t+n-l*f,",").concat(e+r,"\n            L ").concat(t+l*f,",").concat(e+r,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(t,",").concat(e+r-s*f," Z")}else i="M ".concat(t,",").concat(e," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},b=function(t,e){if(!t||!e)return!1;var n=t.x,r=t.y,o=e.x,i=e.y,a=e.width,s=e.height;if(Math.abs(a)>0&&Math.abs(s)>0){var l=Math.min(o,o+a),c=Math.max(o,o+a),u=Math.min(i,i+s),d=Math.max(i,i+s);return n>=l&&n<=c&&r>=u&&r<=d}return!1},y=function(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&&p(t,e)}(c,t);var e,n,r,i=h(c);function c(){var t;d(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={totalLength:-1},t.node=void 0,t}return e=c,(n=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(e){}}},{key:"render",value:function(){var t=this,e=this.props,n=e.x,r=e.y,i=e.width,c=e.height,d=e.radius,f=e.className,p=this.state.totalLength,h=this.props,v=h.animationEasing,g=h.animationDuration,b=h.animationBegin,y=h.isAnimationActive,x=h.isUpdateAnimationActive;if(n!==+n||r!==+r||i!==+i||c!==+c||0===i||0===c)return null;var w=a()("recharts-rectangle",f);return x?o.a.createElement(s.a,{canBegin:p>0,from:{width:i,height:c,x:n,y:r},to:{width:i,height:c,x:n,y:r},duration:g,animationEasing:v,isActive:x},(function(e){var n=e.width,r=e.height,i=e.x,a=e.y;return o.a.createElement(s.a,{canBegin:p>0,from:"0px ".concat(-1===p?1:p,"px"),to:"".concat(p,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:g,isActive:y,easing:v},o.a.createElement("path",u({},Object(l.c)(t.props,!0),{className:w,d:m(i,a,n,r,d),ref:function(e){t.node=e}})))})):o.a.createElement("path",u({},Object(l.c)(this.props,!0),{className:w,d:m(n,r,i,c,d)}))}}])&&f(e.prototype,n),r&&f(e,r),c}(r.PureComponent);y.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"}},function(t,e,n){"use strict";var r=n(1),o=r.createContext({});e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=function(t){for(var e,n=0,r=0,o=t.length;o>=4;++r,o-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o=n(400),i=n(277),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(t){return 45===t.charCodeAt(1)},c=function(t){return null!=t&&"boolean"!==typeof t},u=Object(i.a)((function(t){return l(t)?t:t.replace(a,"-$&").toLowerCase()})),d=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(s,(function(t,e,n){return p={name:e,styles:n,next:p},e}))}return 1===o.a[t]||l(t)||"number"!==typeof e||0===e?e:e+"px"};function f(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=f(t,e,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=e&&void 0!==e[a]?r+=i+"{"+e[a]+"}":c(a)&&(r+=u(i)+":"+d(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=e&&void 0!==e[a[0]]){var s=f(t,e,a);switch(i){case"animation":case"animationName":r+=u(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)c(a[l])&&(r+=u(i)+":"+d(i,a[l])+";")}return r}(t,e,n);case"function":if(void 0!==t){var o=p,i=n(t);return p=o,f(t,e,i)}}if(null==e)return n;var a=e[n];return void 0!==a?a:n}var p,h=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var v=function(t,e,n){if(1===t.length&&"object"===typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var o=!0,i="";p=void 0;var a=t[0];null==a||void 0===a.raw?(o=!1,i+=f(n,e,a)):i+=a[0];for(var s=1;s<t.length;s++)i+=f(n,e,t[s]),o&&(i+=a[s]);h.lastIndex=0;for(var l,c="";null!==(l=h.exec(i));)c+="-"+l[1];return{name:r(i)+c,styles:i,next:p}}},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},o="object"===("undefined"===typeof window?"undefined":r(window))&&"object"===("undefined"===typeof document?"undefined":r(document))&&9===document.nodeType;e.a=o},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"}),"Restore");e.default=a},function(t,e,n){var r=n(505);t.exports=function(t){return r(t)&&t!=+t}},function(t,e,n){"use strict";(function(t){var r=n(418),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.a.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();e.a=s}).call(this,n(496)(t))},function(t,e,n){"use strict";n.d(e,"a",(function(){return G}));var r=n(48),o=n.n(r),i=n(40),a=n.n(i),s=n(303),l=n.n(s),c=n(1),u=n.n(c),d=n(166),f=n(56),p=n.n(f),h=n(290),v=n.n(h),g=n(59),m=n.n(g),b=n(18);function y(t){return y="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},y(t)}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function O(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?O(Object(n),!0).forEach((function(e){j(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return 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 C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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,e){return E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},E(t,e)}function P(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=M(t);if(e){var o=M(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(t,e){return!e||"object"!==y(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 M(t){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},M(t)}function T(t){return m()(t)&&Object(b.f)(t[0])&&Object(b.f)(t[1])?t.join(" ~ "):t}var A=function(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&&E(t,e)}(a,t);var e,n,r,i=P(a);function a(){return C(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,n=t.separator,r=t.formatter,o=t.itemStyle,i=t.itemSorter;if(e&&e.length){var a=(i?v()(e,i):e).map((function(t,i){if("none"===t.type)return null;var a=S({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},o),s=t.formatter||r||T,l=t.name,c=t.value;if(s){var d=s(c,l,t,i,e);if(Array.isArray(d)){var f=x(d,2);c=f[0],l=f[1]}else c=d}return u.a.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(i),style:a},Object(b.f)(l)?u.a.createElement("span",{className:"recharts-tooltip-item-name"},l):null,Object(b.f)(l)?u.a.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,u.a.createElement("span",{className:"recharts-tooltip-item-value"},c),u.a.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return u.a.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},a)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,n=t.contentStyle,r=t.labelClassName,i=t.labelStyle,a=t.label,s=t.labelFormatter,l=t.payload,c=S({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},n),d=S({margin:0},i),f=!o()(a),h=f?a:"",v=p()("recharts-default-tooltip",e),g=p()("recharts-tooltip-label",r);return f&&s&&void 0!==l&&null!==l&&(h=s(a,l)),u.a.createElement("div",{className:v,style:c},u.a.createElement("p",{className:g,style:d},u.a.isValidElement(h)?h:"".concat(h)),this.renderContent())}}])&&k(e.prototype,n),r&&k(e,r),a}(c.PureComponent);A.displayName="DefaultTooltipContent",A.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var R=n(145);function D(t){return D="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},D(t)}function I(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 N(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){L(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(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 z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},z(t,e)}function H(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=U(t);if(e){var o=U(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V(this,n)}}function V(t,e){return!e||"object"!==D(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 U(t){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},U(t)}var W="recharts-tooltip-wrapper";function q(t){return t.dataKey}var G=function(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&&z(t,e)}(s,t);var e,n,r,i=H(s);function s(){var t;F(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={boxWidth:-1,boxHeight:-1},t.wrapperNode=void 0,t.getTranslate=function(e){var n=e.key,r=e.tooltipDimension,o=e.viewBoxDimension,i=t.props,a=i.allowEscapeViewBox,s=i.coordinate,l=i.offset,c=i.position,u=i.viewBox;if(c&&Object(b.g)(c[n]))return c[n];var d=s[n]-r-l,f=s[n]+l;return a[n]?f:s[n]+r+l>u[n]+o?Math.max(d,u[n]):Math.max(f,u[n])},t}return e=s,(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-e)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,n,r=this,i=this.props,s=i.payload,c=i.isAnimationActive,f=i.animationDuration,h=i.animationEasing,v=i.filterNull,g=function(t,e){return!0===t?l()(e,q):a()(t)?l()(e,t):e}(i.payloadUniqBy,v&&s&&s.length?s.filter((function(t){return!o()(t.value)})):s),m=g&&g.length,y=this.props,x=y.content,w=y.viewBox,O=y.coordinate,S=y.position,j=y.active,C=N({pointerEvents:"none",visibility:j&&m?"visible":"hidden",position:"absolute",top:0,left:0},y.wrapperStyle);if(S&&Object(b.g)(S.x)&&Object(b.g)(S.y))e=S.x,n=S.y;else{var k=this.state,E=k.boxWidth,P=k.boxHeight;E>0&&P>0&&O?(e=this.getTranslate({key:"x",tooltipDimension:E,viewBoxDimension:w.width}),n=this.getTranslate({key:"y",tooltipDimension:P,viewBoxDimension:w.height})):C.visibility="hidden"}C=N(N({},Object(d.b)({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")})),C),c&&j&&(C=N(N({},Object(d.b)({transition:"transform ".concat(f,"ms ").concat(h)})),C));var _=p()(W,(L(t={},"".concat(W,"-right"),Object(b.g)(e)&&O&&Object(b.g)(O.x)&&e>=O.x),L(t,"".concat(W,"-left"),Object(b.g)(e)&&O&&Object(b.g)(O.x)&&e<O.x),L(t,"".concat(W,"-bottom"),Object(b.g)(n)&&O&&Object(b.g)(O.y)&&n>=O.y),L(t,"".concat(W,"-top"),Object(b.g)(n)&&O&&Object(b.g)(O.y)&&n<O.y),t));return u.a.createElement("div",{className:_,style:C,ref:function(t){r.wrapperNode=t}},function(t,e){return u.a.isValidElement(t)?u.a.cloneElement(t,e):a()(t)?u.a.createElement(t,e):u.a.createElement(A,e)}(x,N(N({},this.props),{},{payload:g})))}}])&&B(e.prototype,n),r&&B(e,r),s}(c.PureComponent);G.displayName="Tooltip",G.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!R.a.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1}},function(t,e,n){"use strict";var r=Array.isArray,o=Object.keys,i=Object.prototype.hasOwnProperty,a="undefined"!==typeof Element;function s(t,e){if(t===e)return!0;if(t&&e&&"object"==typeof t&&"object"==typeof e){var n,l,c,u=r(t),d=r(e);if(u&&d){if((l=t.length)!=e.length)return!1;for(n=l;0!==n--;)if(!s(t[n],e[n]))return!1;return!0}if(u!=d)return!1;var f=t instanceof Date,p=e instanceof Date;if(f!=p)return!1;if(f&&p)return t.getTime()==e.getTime();var h=t instanceof RegExp,v=e instanceof RegExp;if(h!=v)return!1;if(h&&v)return t.toString()==e.toString();var g=o(t);if((l=g.length)!==o(e).length)return!1;for(n=l;0!==n--;)if(!i.call(e,g[n]))return!1;if(a&&t instanceof Element&&e instanceof Element)return t===e;for(n=l;0!==n--;)if(("_owner"!==(c=g[n])||!t.$$typeof)&&!s(t[c],e[c]))return!1;return!0}return t!==t&&e!==e}t.exports=function(t,e){try{return s(t,e)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(3),o=n(12),i=n(442),a=n(309),s=n(10);function l(t){if(void 0===t)return{};var e={};return Object.keys(t).filter((function(e){return!(e.match(/^on[A-Z]/)&&"function"===typeof t[e])})).forEach((function(n){e[n]=t[n]})),e}function c(t){var e=t.getSlotProps,n=t.additionalProps,o=t.externalSlotProps,i=t.externalForwardedProps,a=t.className;if(!e){var c=Object(s.default)(null==i?void 0:i.className,null==o?void 0:o.className,a,null==n?void 0:n.className),u=Object(r.a)({},null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),d=Object(r.a)({},n,i,o);return c.length>0&&(d.className=c),Object.keys(u).length>0&&(d.style=u),{props:d,internalRef:void 0}}var f=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===t)return{};var n={};return Object.keys(t).filter((function(n){return n.match(/^on[A-Z]/)&&"function"===typeof t[n]&&!e.includes(n)})).forEach((function(e){n[e]=t[e]})),n}(Object(r.a)({},i,o)),p=l(o),h=l(i),v=e(f),g=Object(s.default)(null==v?void 0:v.className,null==n?void 0:n.className,a,null==i?void 0:i.className,null==o?void 0:o.className),m=Object(r.a)({},null==v?void 0:v.style,null==n?void 0:n.style,null==i?void 0:i.style,null==o?void 0:o.style),b=Object(r.a)({},v,n,h,p);return g.length>0&&(b.className=g),Object.keys(m).length>0&&(b.style=m),{props:b,internalRef:v.ref}}var u=n(657),d=["elementType","externalSlotProps","ownerState"];function f(t){var e,n=t.elementType,s=t.externalSlotProps,l=t.ownerState,f=Object(o.a)(t,d),p=Object(u.a)(s,l),h=c(Object(r.a)({},f,{externalSlotProps:p})),v=h.props,g=h.internalRef,m=Object(i.a)(g,Object(i.a)(null==p?void 0:p.ref,null==(e=t.additionalProps)?void 0:e.ref));return Object(a.a)(n,Object(r.a)({},v,{ref:m}),l)}},,,,,,function(t,e,n){var r=n(40),o=n(462);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M17 10.5V7c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-3.5l4 4v-11l-4 4z"}),"Videocam");e.default=a},function(t,e,n){"use strict";var r=n(1157);e.a=r.a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"}),"Favorite");e.default=a},function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(340);function o(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";var r=n(719),o=Object(r.a)();e.a=o},function(t,e,n){"use strict";var r=n(1),o=r.createContext();e.a=o},function(t,e,n){"use strict";var r=n(1),o=r.createContext({});e.a=o},function(t,e,n){var r=n(974)("toUpperCase");t.exports=r},function(t,e,n){"use strict";function r(t){this._maxSize=t,this.clear()}r.prototype.clear=function(){this._size=0,this._values=Object.create(null)},r.prototype.get=function(t){return this._values[t]},r.prototype.set=function(t,e){return this._size>=this._maxSize&&this.clear(),t in this._values||this._size++,this._values[t]=e};var o=/[^.^\]^[]+|(?=\[\]|\.\.)/g,i=/^\d+$/,a=/^\d/,s=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,l=/^\s*(['"]?)(.*?)(\1)\s*$/,c=new r(512),u=new r(512),d=new r(512);function f(t){return c.get(t)||c.set(t,p(t).map((function(t){return t.replace(l,"$2")})))}function p(t){return t.match(o)||[""]}function h(t){return"string"===typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}function v(t){return!h(t)&&(function(t){return t.match(a)&&!t.match(i)}(t)||function(t){return s.test(t)}(t))}t.exports={Cache:r,split:p,normalizePath:f,setter:function(t){var e=f(t);return u.get(t)||u.set(t,(function(t,n){for(var r=0,o=e.length,i=t;r<o-1;){var a=e[r];if("__proto__"===a||"constructor"===a||"prototype"===a)return t;i=i[e[r++]]}i[e[r]]=n}))},getter:function(t,e){var n=f(t);return d.get(t)||d.set(t,(function(t){for(var r=0,o=n.length;r<o;){if(null==t&&e)return;t=t[n[r++]]}return t}))},join:function(t){return t.reduce((function(t,e){return t+(h(e)||i.test(e)?"["+e+"]":(t?".":"")+e)}),"")},forEach:function(t,e,n){!function(t,e,n){var r,o,i,a,s=t.length;for(o=0;o<s;o++)(r=t[o])&&(v(r)&&(r='"'+r+'"'),i=!(a=h(r))&&/^\d+$/.test(r),e.call(n,r,a,i,o,t))}(Array.isArray(t)?t:p(t),e,n)}}},function(t,e,n){"use strict";var r=n(50);function o(){return o=Object.assign?Object.assign.bind():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.apply(this,arguments)}function i(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var a=n(1),s=n.n(a),l=n(134),c=n.n(l);function u(){return u=Object.assign?Object.assign.bind():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},u.apply(this,arguments)}var d=n(201);n(100);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 p(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function h(t,e){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},h(t,e)}function v(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,h(t,e)}function g(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var m={}.constructor;function b(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(b);if(t.constructor!==m)return t;var e={};for(var n in t)e[n]=b(t[n]);return e}function y(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,o=b(e),i=r.plugins.onCreateRule(t,o,n);return i||(t[0],null)}var x=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},w=function(t){if(!Array.isArray(t))return t;var e="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&"!important"!==t[n];n++)e&&(e+=", "),e+=x(t[n]," ");else e=x(t,", ");return"!important"===t[t.length-1]&&(e+=" !important"),e};function O(t){return t&&!1===t.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function S(t,e){for(var n="",r=0;r<e;r++)n+="  ";return n+t}function j(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var o=n.indent,i=void 0===o?0:o,a=e.fallbacks;!1===n.format&&(i=-1/0);var s=O(n),l=s.linebreak,c=s.space;if(t&&i++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var d=a[u];for(var f in d){var p=d[f];null!=p&&(r&&(r+=l),r+=S(f+":"+c+w(p)+";",i))}}else for(var h in a){var v=a[h];null!=v&&(r&&(r+=l),r+=S(h+":"+c+w(v)+";",i))}for(var g in e){var m=e[g];null!=m&&"fallbacks"!==g&&(r&&(r+=l),r+=S(g+":"+c+w(m)+";",i))}return(r||n.allowEmpty)&&t?(r&&(r=""+l+r+l),S(""+t+c+"{"+r,--i)+S("}",i)):r}var C=/([[\].#*$><+~=|^:(),"'`\s])/g,k="undefined"!==typeof CSS&&CSS.escape,E=function(t){return k?k(t):t.replace(C,"\\$1")},P=function(){function t(t,e,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var o=e;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(e,t,this));var i=null==o||!1===o,a=t in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[t]:this.style[t]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,o),this;var l=this.options.sheet;return l&&l.attached,this},t}(),_=function(t){function e(e,n,r){var o;o=t.call(this,e,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(g(g(o)),s),o.selectorText="."+E(o.id)),o}v(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=w(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?u({},t,{allowEmpty:!0}):t;return j(this.selectorText,this.style,n)},p(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(P),M={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new _(t,e,n)}},T={indent:1,children:!0},A=/@([\w-]+)/,R=function(){function t(t,e,n){this.type="conditional",this.isProcessed=!1,this.key=t;var r=t.match(A);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new nt(u({},n,{parent:this})),e)this.rules.add(o,e[o]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.toString=function(t){void 0===t&&(t=T);var e=O(t).linebreak;if(null==t.indent&&(t.indent=T.indent),null==t.children&&(t.children=T.children),!1===t.children)return this.query+" {}";var n=this.rules.toString(t);return n?this.query+" {"+e+n+e+"}":""},t}(),D=/@media|@supports\s+/,I={onCreateRule:function(t,e,n){return D.test(t)?new R(t,e,n):null}},N={indent:1,children:!0},L=/@keyframes\s+([\w-]+)/,F=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=t.match(L);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var s in this.id=!1===o?this.name:E(a(this,i)),this.rules=new nt(u({},n,{parent:this})),e)this.rules.add(s,e[s],u({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=N);var e=O(t).linebreak;if(null==t.indent&&(t.indent=N.indent),null==t.children&&(t.children=N.children),!1===t.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(t);return n&&(n=""+e+n+e),this.at+" "+this.id+" {"+n+"}"},t}(),B=/@keyframes\s+/,z=/\$([\w-]+)/g,H=function(t,e){return"string"===typeof t?t.replace(z,(function(t,n){return n in e?e[n]:t})):t},V=function(t,e,n){var r=t[e],o=H(r,n);o!==r&&(t[e]=o)},U={onCreateRule:function(t,e,n){return"string"===typeof t&&B.test(t)?new F(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&V(t,"animation-name",n.keyframes),"animation"in t&&V(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return H(t,r.keyframes);default:return t}}},W=function(t){function e(){return t.apply(this,arguments)||this}return v(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?u({},t,{allowEmpty:!0}):t;return j(this.key,this.style,n)},e}(P),q={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new W(t,e,n):null}},G=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){var e=O(t).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=j(this.at,this.style[r]),this.style[r+1]&&(n+=e);return n}return j(this.at,this.style,t)},t}(),Y=/@font-face/,X={onCreateRule:function(t,e,n){return Y.test(t)?new G(t,e,n):null}},K=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return j(this.key,this.style,t)},t}(),$={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new K(t,e,n):null}},Z=function(){function t(t,e,n){this.type="simple",this.isProcessed=!1,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),Q={"@charset":!0,"@import":!0,"@namespace":!0},J=[M,I,U,q,X,$,{onCreateRule:function(t,e,n){return t in Q?new Z(t,e,n):null}}],tt={process:!0},et={force:!0,process:!0},nt=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,s=r.Renderer,l=r.generateId,c=r.scoped,d=u({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:c,name:t,keyframes:this.keyframes,selector:void 0},n),f=t;t in this.raw&&(f=t+"-d"+this.counter++),this.raw[f]=e,f in this.classes&&(d.selector="."+E(this.classes[f]));var p=y(f,e,d);if(!p)return null;this.register(p);var h=void 0===d.index?this.index.length:d.index;return this.index.splice(h,0,p),p},e.replace=function(t,e,n){var r=this.get(t),o=this.index.indexOf(r);r&&this.remove(r);var i=n;return-1!==o&&(i=u({},n,{index:o})),this.add(t,e,i)},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof _?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof F&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof _?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof F&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.get(t),e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=tt);var o=this.options,i=o.jss.plugins,a=o.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var s=e.style;if(i.onUpdate(n,e,a,r),r.process&&s&&s!==e.style){for(var l in i.onProcessStyle(e.style,e,a),e.style){var c=e.style[l];c!==s[l]&&e.prop(l,c,et)}for(var u in s){var d=e.style[u],f=s[u];null==d&&d!==f&&e.prop(u,null,et)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,o=O(t).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(t);(a||r)&&(e&&(e+=o),e+=a)}return e},t}(),rt=function(){function t(t,e){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=u({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new nt(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(t,e,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},e.replaceRule=function(t,e,n){var r=this.rules.get(t);if(!r)return this.addRule(t,e,n);var o=this.rules.replace(t,e,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var o=this.addRule(r,t[r],e);o&&n.push(o)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),ot=function(){function t(){this.plugins={internal:[],external:[]},this.registry={}}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](t,e,n);if(o)return o}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),it=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,r=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(e,["attached"]),o=O(r).linebreak,i="",a=0;a<this.registry.length;a++){var s=this.registry[a];null!=n&&s.attached!==n||(i&&(i+=o),i+=s.toString(r))}return i},p(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),at="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),st="2f1acc6c3a606b082e5eef5e54414ffb";null==at[st]&&(at[st]=0);var lt=at[st]++,ct=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),t.minify?""+(i||"c")+lt+o+e:i+n.key+"-"+lt+(o?"-"+o:"")+"-"+e}},ut=function(t){var e;return function(){return e||(e=t()),e}},dt=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},ft=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=w(n)),t.attributeStyleMap)t.attributeStyleMap.set(e,r);else{var o=r?r.indexOf("!important"):-1,i=o>-1?r.substr(0,o-1):r;t.style.setProperty(e,i,o>-1?"important":"")}}catch(a){return!1}return!0},pt=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},ht=function(t,e){return t.selectorText=e,t.selectorText===e},vt=ut((function(){return document.querySelector("head")}));function gt(t){var e=it.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var o=function(t){for(var e=vt(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var mt=ut((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),bt=function(t,e,n){try{"insertRule"in t?t.insertRule(e,n):"appendRule"in t&&t.appendRule(e)}catch(r){return!1}return t.cssRules[n]},yt=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},xt=function(){function t(t){this.getPropertyValue=dt,this.setProperty=ft,this.removeProperty=pt,this.setSelector=ht,this.hasInsertedRules=!1,this.cssRules=[],t&&it.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,o=e.element;this.element=o||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=mt();i&&this.element.setAttribute("nonce",i)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=gt(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(t,o.nextSibling)}else vt().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,o=n;if("conditional"===t.type||"keyframes"===t.type){var i=yt(n,e);if(!1===(o=bt(n,r.toString({children:!1}),i)))return!1;this.refCssRule(t,i,o)}return this.insertRules(r.rules,o),o}var a=t.toString();if(!a)return!1;var s=yt(n,e),l=bt(n,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(t,s,l),l)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof rt&&this.cssRules.splice(e,0,n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),wt=0,Ot=function(){function t(t){this.id=wt++,this.version="10.9.2",this.plugins=new ot,this.options={id:{minify:!1},createGenerateId:ct,Renderer:d.a?xt:null,plugins:[]},this.generateId=ct({minify:!1});for(var e=0;e<J.length;e++)this.plugins.use(J[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=u({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===it.index?0:it.index+1);var r=new rt(t,u({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},e.removeStyleSheet=function(t){return t.detach(),it.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var r=u({},n,{name:t,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=y(t,e,r);return o&&this.plugins.onProcessRule(o),o},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}(),St=function(t){return new Ot(t)},jt="object"===typeof CSS&&null!=CSS&&"number"in CSS;function Ct(t){var e=null;for(var n in t){var r=t[n],o=typeof r;if("function"===o)e||(e={}),e[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=Ct(r);i&&(e||(e={}),e[n]=i)}}return e}St();function kt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.baseClasses,n=t.newClasses;t.Component;if(!n)return e;var r=o({},e);return Object.keys(n).forEach((function(t){n[t]&&(r[t]="".concat(e[t]," ").concat(n[t]))})),r}var Et={set:function(t,e,n,r){var o=t.get(e);o||(o=new Map,t.set(e,o)),o.set(n,r)},get:function(t,e,n){var r=t.get(e);return r?r.get(n):void 0},delete:function(t,e,n){t.get(e).delete(n)}},Pt=n(1165),_t="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Mt=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Tt=Date.now(),At="fnValues"+Tt,Rt="fnStyle"+ ++Tt,Dt=function(){return{onCreateRule:function(t,e,n){if("function"!==typeof e)return null;var r=y(t,{},n);return r[Rt]=e,r},onProcessStyle:function(t,e){if(At in e||Rt in e)return t;var n={};for(var r in t){var o=t[r];"function"===typeof o&&(delete t[r],n[r]=o)}return e[At]=n,t},onUpdate:function(t,e,n,r){var o=e,i=o[Rt];i&&(o.style=i(t)||{});var a=o[At];if(a)for(var s in a)o.prop(s,a[s](t),r)}}};function It(){return It=Object.assign?Object.assign.bind():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},It.apply(this,arguments)}var Nt="@global",Lt="@global ",Ft=function(){function t(t,e,n){for(var r in this.type="global",this.at=Nt,this.isProcessed=!1,this.key=t,this.options=n,this.rules=new nt(It({},n,{parent:this})),e)this.rules.add(r,e[r]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(t){return this.rules.toString(t)},t}(),Bt=function(){function t(t,e,n){this.type="global",this.at=Nt,this.isProcessed=!1,this.key=t,this.options=n;var r=t.substr(Lt.length);this.rule=n.jss.createRule(r,e,It({},n,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),zt=/\s*,\s*/g;function Ht(t,e){for(var n=t.split(zt),r="",o=0;o<n.length;o++)r+=e+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var Vt=function(){return{onCreateRule:function(t,e,n){if(!t)return null;if(t===Nt)return new Ft(t,e,n);if("@"===t[0]&&t.substr(0,Lt.length)===Lt)return new Bt(t,e,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var n=t.options,r=t.style,o=r?r[Nt]:null;if(o){for(var i in o)e.addRule(i,o[i],It({},n,{selector:Ht(i,t.selector)}));delete r[Nt]}}(t,e),function(t,e){var n=t.options,r=t.style;for(var o in r)if("@"===o[0]&&o.substr(0,Nt.length)===Nt){var i=Ht(o.substr(Nt.length),t.selector);e.addRule(i,r[o],It({},n,{selector:i})),delete r[o]}}(t,e))}}};function Ut(){return Ut=Object.assign?Object.assign.bind():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},Ut.apply(this,arguments)}var Wt=/\s*,\s*/g,qt=/&/g,Gt=/\$([\w-]+)/g;var Yt=function(){function t(t,e){return function(n,r){var o=t.getRule(r)||e&&e.getRule(r);return o?o.selector:r}}function e(t,e){for(var n=e.split(Wt),r=t.split(Wt),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(qt,a):a+" "+l}return o}function n(t,e,n){if(n)return Ut({},n,{index:n.index+1});var r=t.options.nestingLevel;r=void 0===r?1:r+1;var o=Ut({},t.options,{nestingLevel:r,index:e.indexOf(t)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,s,l=o,c=l.options.parent;for(var u in r){var d=-1!==u.indexOf("&"),f="@"===u[0];if(d||f){if(a=n(l,c,a),d){var p=e(u,l.selector);s||(s=t(c,i)),p=p.replace(Gt,s);var h=l.key+"-"+u;"replaceRule"in c?c.replaceRule(h,r[u],Ut({},a,{selector:p})):c.addRule(h,r[u],Ut({},a,{selector:p}))}else f&&c.addRule(u,{},a).addRule(l.key,r[u],{selector:l.selector});delete r[u]}}return r}}},Xt=n(299);function Kt(t){var e={};for(var n in t){e[0===n.indexOf("--")?n:Object(Xt.a)(n)]=t[n]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(Kt):e.fallbacks=Kt(t.fallbacks)),e}var $t=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=Kt(t[e]);return t}return Kt(t)},onChangeValue:function(t,e,n){if(0===e.indexOf("--"))return t;var r=Object(Xt.a)(e);return e===r?t:(n.prop(r,t),null)}}},Zt=jt&&CSS?CSS.px:"px",Qt=jt&&CSS?CSS.ms:"ms",Jt=jt&&CSS?CSS.percent:"%";function te(t){var e=/(-[a-z])/g,n=function(t){return t[1].toUpperCase()},r={};for(var o in t)r[o]=t[o],r[o.replace(e,n)]=t[o];return r}var ee=te({"animation-delay":Qt,"animation-duration":Qt,"background-position":Zt,"background-position-x":Zt,"background-position-y":Zt,"background-size":Zt,border:Zt,"border-bottom":Zt,"border-bottom-left-radius":Zt,"border-bottom-right-radius":Zt,"border-bottom-width":Zt,"border-left":Zt,"border-left-width":Zt,"border-radius":Zt,"border-right":Zt,"border-right-width":Zt,"border-top":Zt,"border-top-left-radius":Zt,"border-top-right-radius":Zt,"border-top-width":Zt,"border-width":Zt,"border-block":Zt,"border-block-end":Zt,"border-block-end-width":Zt,"border-block-start":Zt,"border-block-start-width":Zt,"border-block-width":Zt,"border-inline":Zt,"border-inline-end":Zt,"border-inline-end-width":Zt,"border-inline-start":Zt,"border-inline-start-width":Zt,"border-inline-width":Zt,"border-start-start-radius":Zt,"border-start-end-radius":Zt,"border-end-start-radius":Zt,"border-end-end-radius":Zt,margin:Zt,"margin-bottom":Zt,"margin-left":Zt,"margin-right":Zt,"margin-top":Zt,"margin-block":Zt,"margin-block-end":Zt,"margin-block-start":Zt,"margin-inline":Zt,"margin-inline-end":Zt,"margin-inline-start":Zt,padding:Zt,"padding-bottom":Zt,"padding-left":Zt,"padding-right":Zt,"padding-top":Zt,"padding-block":Zt,"padding-block-end":Zt,"padding-block-start":Zt,"padding-inline":Zt,"padding-inline-end":Zt,"padding-inline-start":Zt,"mask-position-x":Zt,"mask-position-y":Zt,"mask-size":Zt,height:Zt,width:Zt,"min-height":Zt,"max-height":Zt,"min-width":Zt,"max-width":Zt,bottom:Zt,left:Zt,top:Zt,right:Zt,inset:Zt,"inset-block":Zt,"inset-block-end":Zt,"inset-block-start":Zt,"inset-inline":Zt,"inset-inline-end":Zt,"inset-inline-start":Zt,"box-shadow":Zt,"text-shadow":Zt,"column-gap":Zt,"column-rule":Zt,"column-rule-width":Zt,"column-width":Zt,"font-size":Zt,"font-size-delta":Zt,"letter-spacing":Zt,"text-decoration-thickness":Zt,"text-indent":Zt,"text-stroke":Zt,"text-stroke-width":Zt,"word-spacing":Zt,motion:Zt,"motion-offset":Zt,outline:Zt,"outline-offset":Zt,"outline-width":Zt,perspective:Zt,"perspective-origin-x":Jt,"perspective-origin-y":Jt,"transform-origin":Jt,"transform-origin-x":Jt,"transform-origin-y":Jt,"transform-origin-z":Jt,"transition-delay":Qt,"transition-duration":Qt,"vertical-align":Zt,"flex-basis":Zt,"shape-margin":Zt,size:Zt,gap:Zt,grid:Zt,"grid-gap":Zt,"row-gap":Zt,"grid-row-gap":Zt,"grid-column-gap":Zt,"grid-template-rows":Zt,"grid-template-columns":Zt,"grid-auto-rows":Zt,"grid-auto-columns":Zt,"box-shadow-x":Zt,"box-shadow-y":Zt,"box-shadow-blur":Zt,"box-shadow-spread":Zt,"font-line-height":Zt,"text-shadow-x":Zt,"text-shadow-y":Zt,"text-shadow-blur":Zt});function ne(t,e,n){if(null==e)return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]=ne(t,e[r],n);else if("object"===typeof e)if("fallbacks"===t)for(var o in e)e[o]=ne(o,e[o],n);else for(var i in e)e[i]=ne(t+"-"+i,e[i],n);else if("number"===typeof e&&!1===isNaN(e)){var a=n[t]||ee[t];return!a||0===e&&a===Zt?e.toString():"function"===typeof a?a(e).toString():""+e+a}return e}var re=function(t){void 0===t&&(t={});var e=te(t);return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=ne(r,t[r],e);return t},onChangeValue:function(t,n){return ne(n,t,e)}}},oe=n(184);var ie=function(){function t(e){for(var n in e){var r=e[n];if("fallbacks"===n&&Array.isArray(r))e[n]=r.map(t);else{var o=!1,i=Object(oe.b)(n);i&&i!==n&&(o=!0);var a=!1,s=Object(oe.c)(i,w(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete e[n],e[i||n]=s||r)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at=Object(oe.a)(e.at)}},onProcessStyle:function(e,n){return"style"!==n.type?e:t(e)},onChangeValue:function(t,e){return Object(oe.c)(e,w(t))||t}}};var ae=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r={},o=Object.keys(e).sort(t),i=0;i<o.length;i++)r[o[i]]=e[o[i]];return r}}};function se(){return{plugins:[Dt(),Vt(),Yt(),$t(),re(),"undefined"===typeof window?null:ie(),ae()]}}var le=St(se()),ce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.disableGlobal,n=void 0!==e&&e,r=t.productionPrefix,o=void 0===r?"jss":r,i=t.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,c=function(){return l+=1};return function(t,e){var r=e.options.name;if(r&&0===r.indexOf("Mui")&&!e.options.link&&!n){if(-1!==Mt.indexOf(t.key))return"Mui-".concat(t.key);var i="".concat(s).concat(r,"-").concat(t.key);return e.options.theme[_t]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(s).concat(o).concat(c())}}(),ue={disableGeneration:!1,generateClassName:ce,jss:le,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},de=s.a.createContext(ue);var fe=-1e9;function pe(){return fe+=1}var he=n(1327);function ve(t){var e="function"===typeof t;return{create:function(n,r){var i;try{i=e?t(n):t}catch(l){throw l}if(!r||!n.overrides||!n.overrides[r])return i;var a=n.overrides[r],s=o({},i);return Object.keys(a).forEach((function(t){s[t]=Object(he.a)(s[t],a[t])})),s},options:{}}}var ge={};function me(t,e,n){var r=t.state;if(t.stylesOptions.disableGeneration)return e||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),e!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=e,o=!0),o&&(r.cacheClasses.value=kt({baseClasses:r.cacheClasses.lastJSS,newClasses:e,Component:n})),r.cacheClasses.value}function be(t,e){var n=t.state,r=t.theme,i=t.stylesOptions,a=t.stylesCreator,s=t.name;if(!i.disableGeneration){var l=Et.get(i.sheetsManager,a,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},Et.set(i.sheetsManager,a,r,l));var c=o({},a.options,i,{theme:r,flip:"boolean"===typeof i.flip?i.flip:"rtl"===r.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var u=i.sheetsRegistry;if(0===l.refs){var d;i.sheetsCache&&(d=Et.get(i.sheetsCache,a,r));var f=a.create(r,s);d||((d=i.jss.createStyleSheet(f,o({link:!1},c))).attach(),i.sheetsCache&&Et.set(i.sheetsCache,a,r,d)),u&&u.add(d),l.staticSheet=d,l.dynamicStyles=Ct(f)}if(l.dynamicStyles){var p=i.jss.createStyleSheet(l.dynamicStyles,o({link:!0},c));p.update(e),p.attach(),n.dynamicSheet=p,n.classes=kt({baseClasses:l.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else n.classes=l.staticSheet.classes;l.refs+=1}}function ye(t,e){var n=t.state;n.dynamicSheet&&n.dynamicSheet.update(e)}function xe(t){var e=t.state,n=t.theme,r=t.stylesOptions,o=t.stylesCreator;if(!r.disableGeneration){var i=Et.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(Et.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}}function we(t,e){var n,r=s.a.useRef([]),o=s.a.useMemo((function(){return{}}),e);r.current!==o&&(r.current=o,n=t()),s.a.useEffect((function(){return function(){n&&n()}}),[o])}function Oe(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.name,r=e.classNamePrefix,a=e.Component,l=e.defaultTheme,c=void 0===l?ge:l,u=i(e,["name","classNamePrefix","Component","defaultTheme"]),d=ve(t),f=n||r||"makeStyles";d.options={index:pe(),name:n,meta:f,classNamePrefix:f};var p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(Pt.a)()||c,r=o({},s.a.useContext(de),u),i=s.a.useRef(),l=s.a.useRef();we((function(){var o={name:n,state:{},stylesCreator:d,stylesOptions:r,theme:e};return be(o,t),l.current=!1,i.current=o,function(){xe(o)}}),[e,d]),s.a.useEffect((function(){l.current&&ye(i.current,t),l.current=!0}));var f=me(i.current,t.classes,a);return f};return p}var Se=n(1280),je=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=e.defaultTheme,a=e.withTheme,l=void 0!==a&&a,u=e.name,d=i(e,["defaultTheme","withTheme","name"]);var f=u,p=Oe(t,o({defaultTheme:r,Component:n,name:u||n.displayName,classNamePrefix:f},d)),h=s.a.forwardRef((function(t,e){t.classes;var a,c=t.innerRef,d=i(t,["classes","innerRef"]),f=p(o({},n.defaultProps,t)),h=d;return("string"===typeof u||l)&&(a=Object(Pt.a)()||r,u&&(h=Object(Se.a)({theme:a,name:u,props:d})),l&&!h.theme&&(h.theme=a)),s.a.createElement(n,o({ref:c||e,classes:f},h))}));return c()(h,n),h}},Ce=n(434);e.a=function(t,e){return je(t,Object(r.a)({defaultTheme:Ce.a},e))}},function(t,e,n){"use strict";var r=n(1);e.a=function(t,e){return r.isValidElement(t)&&-1!==e.indexOf(t.type.muiName)}},function(t,e,n){var r=n(191),o=n(59),i=n(151);t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&"[object String]"==r(t)}},function(t,e,n){"use strict";function r(t,e){for(var n in t)if({}.hasOwnProperty.call(t,n)&&(!{}.hasOwnProperty.call(e,n)||t[n]!==e[n]))return!1;for(var r in e)if({}.hasOwnProperty.call(e,r)&&!{}.hasOwnProperty.call(t,r))return!1;return!0}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(257);e.a=function(t){return!t||!Object(r.a)(t)}},function(t,e,n){"use strict";function r(t){return t&&t.ownerDocument||document}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e,n){var r={};return Object.keys(t).forEach((function(o){r[o]=t[o].reduce((function(t,r){return r&&(n&&n[r]&&t.push(n[r]),t.push(e(r))),t}),[]).join(" ")})),r}n.d(e,"a",(function(){return r}))},,,,,,,function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}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(o){return!1}}()?Object.assign:function(t,e){for(var n,s,l=a(t),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(t,e,n){var r=n(796),o=n(801);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},function(t,e,n){var r=n(465),o=n(323);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var s=-1,l=e.length;++s<l;){var c=e[s],u=i?i(n[c],t[c],c,n,t):void 0;void 0===u&&(u=t[c]),a?o(n,c,u):r(n,c,u)}return n}},function(t,e,n){var r=n(559),o=n(829),i=n(213);t.exports=function(t){return i(t)?r(t):o(t)}},function(t,e,n){"use strict";var r=n(384),o=Object.keys||function(t){var e=[];for(var n in t)e.push(n);return e};t.exports=d;var i=Object.create(n(330));i.inherits=n(152);var a=n(599),s=n(476);i.inherits(d,a);for(var l=o(s.prototype),c=0;c<l.length;c++){var u=l[c];d.prototype[u]||(d.prototype[u]=s.prototype[u])}function d(t){if(!(this instanceof d))return new d(t);a.call(this,t),s.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||r.nextTick(p,this)}function p(t){t.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),d.prototype._destroy=function(t,e){this.push(null),this.end(),r.nextTick(e,t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={container:{background:"rgba(0, 0, 0, .8)",gutter:{horizontal:10,vertical:10},zIndex:2001},header:{height:40},close:{fill:"white"},footer:{color:"#fff",count:{color:"rgba(255, 255, 255, .75)",fontSize:".85em"},height:40,gutter:{horizontal:0,vertical:5}},thumbnail:{activeBorderColor:"#fff",size:50,gutter:2},arrow:{background:"none",fill:"#fff",height:120}};e.default=r},function(t,e,n){t.exports=n(1113)},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");e.default=a},function(t,e,n){"use strict";function r(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"function"===typeof t?"function "+(t.name||"unnamed")+"()":typeof t})).join(", ");throw new Error("createSelector expects all input-selectors to be functions, but received the following types: ["+n+"]")}return e}function o(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];var i=function(){for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a,s=0,l={memoizeOptions:void 0},c=o.pop();if("object"===typeof c&&(l=c,c=o.pop()),"function"!==typeof c)throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof c+"]");var u=l,d=u.memoizeOptions,f=void 0===d?n:d,p=Array.isArray(f)?f:[f],h=r(o),v=t.apply(void 0,[function(){return s++,c.apply(null,arguments)}].concat(p)),g=t((function(){for(var t=[],e=h.length,n=0;n<e;n++)t.push(h[n].apply(null,arguments));return a=v.apply(null,t)}));return Object.assign(g,{resultFunc:c,memoizedResultFunc:v,dependencies:h,lastResult:function(){return a},recomputations:function(){return s},resetRecomputations:function(){return s=0}}),g};return i}n.d(e,"a",(function(){return i}));var i=o(n(391).a)},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;!function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}r.default=t,n&&n.set(t,r)}(n(1));var o=r(n(45)),i=n(0);function a(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}var s=(0,o.default)((0,i.jsx)("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook");e.default=s},function(t,e,n){"use strict";var r=n(1160);e.a=r.a},function(t,e,n){"use strict";var r=n(729);e.a=r.a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M4 10h3v7H4zm6.5 0h3v7h-3zM2 19h20v3H2zm15-9h3v7h-3zm-5-9L2 6v2h20V6z"}),"AccountBalance");e.default=a},function(t,e,n){"use strict";var r=n(1164),o=n(654),i=Object(r.a)();e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return Object(o.a)(t)}},function(t,e,n){"use strict";function r(t){return null!=t&&!(Array.isArray(t)&&0===t.length)}function o(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t&&(r(t.value)&&""!==t.value||e&&r(t.defaultValue)&&""!==t.defaultValue)}function i(t){return t.startAdornment}n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(1),o=n.n(r),i=n(56),a=n.n(i),s=n(39);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},l.apply(this,arguments)}function c(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function u(t){var e=t.children,n=t.width,r=t.height,i=t.viewBox,u=t.className,d=t.style,f=c(t,["children","width","height","viewBox","className","style"]),p=i||{width:n,height:r,x:0,y:0},h=a()("recharts-surface",u);return o.a.createElement("svg",l({},Object(s.c)(f,!0,!0),{className:h,width:n,height:r,style:d,viewBox:"".concat(p.x," ").concat(p.y," ").concat(p.width," ").concat(p.height),version:"1.1"}),e)}},function(t,e,n){"use strict";function r(t){return+t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return R}));var r=n(48),o=n.n(r),i=n(1),a=n.n(i),s=n(439),l=n.n(s),c=n(56),u=n.n(c),d=n(18),f=n(145),p=n(39),h=n(136);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},v(t)}function g(){return g=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},g.apply(this,arguments)}function m(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function b(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 x(t,e){return x=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},x(t,e)}function w(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==v(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)},S(t)}function j(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return C(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return C(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function k(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 E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?k(Object(n),!0).forEach((function(e){P(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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 _=/[ \f\n\r\t\v\u2028\u2029]+/,M=function(t){try{var e=[];return o()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(_)),{wordsWithComputedWidth:e.map((function(e){return{word:e,width:Object(h.c)(e,t.style).width}})),spaceWidth:t.breakAll?0:Object(h.c)("\xa0",t.style).width}}catch(n){return null}},T=function(t){return[{words:o()(t)?[]:t.toString().split(_)}]},A=function(t,e){if((t.width||t.scaleToFit)&&!f.a.isSsr&&e){var n=M(t);return n?function(t,e,n,r,o){var i=Object(d.g)(t.maxLines),a=t.children,s=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var i=e.word,a=e.width,s=t[t.length-1];if(s&&(null==r||o||s.width+a+n<r))s.words.push(i),s.width+=a+n;else{var l={words:[i],width:a};t.push(l)}return t}),[])},l=s(e);if(!i)return l;for(var c,u=function(e){var n=a.slice(0,e),o=M(E(E({},t),{},{children:n+"\u2026"})).wordsWithComputedWidth,i=s(o),l=i.length>t.maxLines||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(i).width>r;return[l,i]},f=0,p=a.length-1,h=0;f<=p&&h<=a.length-1;){var v=Math.floor((f+p)/2),g=j(u(v-1),2),m=g[0],b=g[1],y=j(u(v),1)[0];if(m||y||(f=v+1),m&&y&&(p=v-1),!m&&y){c=b;break}h++}return c||l}(t,n.wordsWithComputedWidth,n.spaceWidth,t.width,t.scaleToFit):T(t.children)}return T(t.children)},R=function(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&&x(t,e)}(i,t);var e,n,r,o=w(i);function i(){var t;b(this,i);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=o.call.apply(o,[this].concat(n))).state={},t}return e=i,r=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var n=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLines:A(t,n)}}return null}}],(n=[{key:"render",value:function(){var t=this.props,e=t.dx,n=t.dy,r=t.textAnchor,o=t.verticalAnchor,i=t.scaleToFit,s=t.angle,c=t.lineHeight,f=t.capHeight,h=t.className,v=t.breakAll,b=m(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),y=this.state.wordsByLines;if(!Object(d.f)(b.x)||!Object(d.f)(b.y))return null;var x,w=b.x+(Object(d.g)(e)?e:0),O=b.y+(Object(d.g)(n)?n:0);switch(o){case"start":x=l()("calc(".concat(f,")"));break;case"middle":x=l()("calc(".concat((y.length-1)/2," * -").concat(c," + (").concat(f," / 2))"));break;default:x=l()("calc(".concat(y.length-1," * -").concat(c,")"))}var S=[];if(i){var j=y[0].width,C=this.props.width;S.push("scale(".concat((Object(d.g)(C)?C/j:1)/j,")"))}return s&&S.push("rotate(".concat(s,", ").concat(w,", ").concat(O,")")),S.length&&(b.transform=S.join(" ")),a.a.createElement("text",g({},Object(p.c)(b,!0),{x:w,y:O,className:u()("recharts-text",h),textAnchor:r}),y.map((function(t,e){return a.a.createElement("tspan",{x:w,dy:0===e?x:c,key:e},t.words.join(v?"":" "))})))}}])&&y(e.prototype,n),r&&y(e,r),i}(i.Component);R.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"}},function(t,e,n){var r=n(1044),o=n(574);t.exports=function(t,e){return null!=t&&o(t,e,r)}},function(t,e,n){"use strict";e.a=function(t){return"string"===typeof t}},function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"d",(function(){return d}));var r=n(732);function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(e,t),n)}function i(t){if(t.type)return t;if("#"===t.charAt(0))return i(function(t){t=t.substr(1);var e=new RegExp(".{1,".concat(t.length>=6?2:1,"}"),"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map((function(t){return t+t}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(t,e){return e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3})).join(", "),")"):""}(t));var e=t.indexOf("("),n=t.substring(0,e);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,t));var o=t.substring(e+1,t.length-1).split(",");return{type:n,values:o=o.map((function(t){return parseFloat(t)}))}}function a(t){var e=t.type,n=t.values;return-1!==e.indexOf("rgb")?n=n.map((function(t,e){return e<3?parseInt(t,10):t})):-1!==e.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(e,"(").concat(n.join(", "),")")}function s(t,e){var n=l(t),r=l(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function l(t){var e="hsl"===(t=i(t)).type?i(function(t){var e=(t=i(t)).values,n=e[0],r=e[1]/100,o=e[2]/100,s=r*Math.min(o,1-o),l=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+n/30)%12;return o-s*Math.max(Math.min(e-3,9-e,1),-1)},c="rgb",u=[Math.round(255*l(0)),Math.round(255*l(8)),Math.round(255*l(4))];return"hsla"===t.type&&(c+="a",u.push(e[3])),a({type:c,values:u})}(t)).values:t.values;return e=e.map((function(t){return(t/=255)<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)})),Number((.2126*e[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function c(t,e){return t=i(t),e=o(e),"rgb"!==t.type&&"hsl"!==t.type||(t.type+="a"),t.values[3]=e,a(t)}function u(t,e){if(t=i(t),e=o(e),-1!==t.type.indexOf("hsl"))t.values[2]*=1-e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]*=1-e;return a(t)}function d(t,e){if(t=i(t),e=o(e),-1!==t.type.indexOf("hsl"))t.values[2]+=(100-t.values[2])*e;else if(-1!==t.type.indexOf("rgb"))for(var n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;return a(t)}},function(t,e,n){"use strict";n(1);var r=n(66),o=n(0);e.a=Object(r.a)(Object(o.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},function(t,e,n){"use strict";n(1);var r=n(66),o=n(0);e.a=Object(r.a)(Object(o.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(168),o=n(187);function i(t){return Object(r.a)("MuiListItemButton",t)}var a=Object(o.a)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);e.a=a},,,,,,,,,function(t,e,n){var r=n(161).Symbol;t.exports=r},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}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(191),o=n(151);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bottom=c,e.childrenEqual=function(t,e){return(0,r.default)(o.default.Children.map(t,(function(t){return null===t||void 0===t?void 0:t.key})),o.default.Children.map(e,(function(t){return null===t||void 0===t?void 0:t.key})))},e.cloneLayout=u,e.cloneLayoutItem=f,e.collides=h,e.compact=v,e.compactItem=b,e.compactType=function(t){var e=t||{},n=e.verticalCompact,r=e.compactType;return!1===n?null:r},e.correctBounds=y,e.fastPositionEqual=function(t,e){return t.left===e.left&&t.top===e.top&&t.width===e.width&&t.height===e.height},e.fastRGLPropsEqual=void 0,e.getAllCollisions=O,e.getFirstCollision=w,e.getLayoutItem=x,e.getStatics=S,e.modifyLayout=d,e.moveElement=j,e.moveElementAwayFromCollision=C,e.noop=void 0,e.perc=function(t){return 100*t+"%"},e.setTopLeft=function(t){var e=t.top,n=t.left,r=t.width,o=t.height;return{top:"".concat(e,"px"),left:"".concat(n,"px"),width:"".concat(r,"px"),height:"".concat(o,"px"),position:"absolute"}},e.setTransform=function(t){var e=t.top,n=t.left,r=t.width,o=t.height,i="translate(".concat(n,"px,").concat(e,"px)");return{transform:i,WebkitTransform:i,MozTransform:i,msTransform:i,OTransform:i,width:"".concat(r,"px"),height:"".concat(o,"px"),position:"absolute"}},e.sortLayoutItems=k,e.sortLayoutItemsByColRow=P,e.sortLayoutItemsByRowCol=E,e.synchronizeLayoutWithChildren=function(t,e,n,r,i){t=t||[];var a=[];o.default.Children.forEach(e,(function(e){if(null!=(null===e||void 0===e?void 0:e.key)){var n=x(t,String(e.key));if(n)a.push(f(n));else{0;var r=e.props["data-grid"]||e.props._grid;r?a.push(f(s(s({},r),{},{i:e.key}))):a.push(f({w:1,h:1,x:0,y:c(a),i:String(e.key)}))}}}));var l=y(a,{cols:n});return i?l:v(l,r,n)},e.validateLayout=_,e.withLayoutItem=function(t,e,n){var r=x(t,e);return r?(r=n(f(r)),[t=d(t,r),r]):[t,null]};var r=i(n(472)),o=i(n(1));function i(t){return t&&t.__esModule?t:{default:t}}function a(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?a(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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 c(t){for(var e,n=0,r=0,o=t.length;r<o;r++)(e=t[r].y+t[r].h)>n&&(n=e);return n}function u(t){for(var e=Array(t.length),n=0,r=t.length;n<r;n++)e[n]=f(t[n]);return e}function d(t,e){for(var n=Array(t.length),r=0,o=t.length;r<o;r++)e.i===t[r].i?n[r]=e:n[r]=t[r];return n}function f(t){return{w:t.w,h:t.h,x:t.x,y:t.y,i:t.i,minW:t.minW,maxW:t.maxW,minH:t.minH,maxH:t.maxH,moved:Boolean(t.moved),static:Boolean(t.static),isDraggable:t.isDraggable,isResizable:t.isResizable,resizeHandles:t.resizeHandles,isBounded:t.isBounded}}var p=n(893);function h(t,e){return t.i!==e.i&&(!(t.x+t.w<=e.x)&&(!(t.x>=e.x+e.w)&&(!(t.y+t.h<=e.y)&&!(t.y>=e.y+e.h))))}function v(t,e,n){for(var r=S(t),o=k(t,e),i=Array(t.length),a=0,s=o.length;a<s;a++){var l=f(o[a]);l.static||(l=b(r,l,e,n,o),r.push(l)),i[t.indexOf(o[a])]=l,l.moved=!1}return i}e.fastRGLPropsEqual=p;var g={x:"w",y:"h"};function m(t,e,n,r){var o=g[r];e[r]+=1;for(var i=t.map((function(t){return t.i})).indexOf(e.i)+1;i<t.length;i++){var a=t[i];if(!a.static){if(a.y>e.y+e.h)break;h(e,a)&&m(t,a,n+e[o],r)}}e[r]=n}function b(t,e,n,r,o){var i,a="horizontal"===n;if("vertical"===n)for(e.y=Math.min(c(t),e.y);e.y>0&&!w(t,e);)e.y--;else if(a)for(;e.x>0&&!w(t,e);)e.x--;for(;i=w(t,e);)a?m(o,e,i.x+i.w,"x"):m(o,e,i.y+i.h,"y"),a&&e.x+e.w>r&&(e.x=r-e.w,e.y++);return e.y=Math.max(e.y,0),e.x=Math.max(e.x,0),e}function y(t,e){for(var n=S(t),r=0,o=t.length;r<o;r++){var i=t[r];if(i.x+i.w>e.cols&&(i.x=e.cols-i.w),i.x<0&&(i.x=0,i.w=e.cols),i.static)for(;w(n,i);)i.y++;else n.push(i)}return t}function x(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n].i===e)return t[n]}function w(t,e){for(var n=0,r=t.length;n<r;n++)if(h(t[n],e))return t[n]}function O(t,e){return t.filter((function(t){return h(t,e)}))}function S(t){return t.filter((function(t){return t.static}))}function j(t,e,n,r,o,i,a,s,l){if(e.static&&!0!==e.isDraggable)return t;if(e.y===r&&e.x===n)return t;M("Moving element ".concat(e.i," to [").concat(String(n),",").concat(String(r),"] from [").concat(e.x,",").concat(e.y,"]"));var c=e.x,d=e.y;"number"===typeof n&&(e.x=n),"number"===typeof r&&(e.y=r),e.moved=!0;var f=k(t,a);("vertical"===a&&"number"===typeof r?d>=r:"horizontal"===a&&"number"===typeof n&&c>=n)&&(f=f.reverse());var p=O(f,e),h=p.length>0;if(h&&l)return u(t);if(h&&i)return M("Collision prevented on ".concat(e.i,", reverting.")),e.x=c,e.y=d,e.moved=!1,t;for(var v=0,g=p.length;v<g;v++){var m=p[v];M("Resolving collision between ".concat(e.i," at [").concat(e.x,",").concat(e.y,"] and ").concat(m.i," at [").concat(m.x,",").concat(m.y,"]")),m.moved||(t=m.static?C(t,m,e,o,a,s):C(t,e,m,o,a,s))}return t}function C(t,e,n,r,o,i){var a="horizontal"===o,s="horizontal"!==o,l=e.static;if(r){r=!1;var c={x:a?Math.max(e.x-n.w,0):n.x,y:s?Math.max(e.y-n.h,0):n.y,w:n.w,h:n.h,i:"-1"};if(!w(t,c))return M("Doing reverse collision on ".concat(n.i," up to [").concat(c.x,",").concat(c.y,"].")),j(t,n,a?c.x:void 0,s?c.y:void 0,r,l,o,i)}return j(t,n,a?n.x+1:void 0,s?n.y+1:void 0,r,l,o,i)}function k(t,e){return"horizontal"===e?P(t):"vertical"===e?E(t):t}function E(t){return t.slice(0).sort((function(t,e){return t.y>e.y||t.y===e.y&&t.x>e.x?1:t.y===e.y&&t.x===e.x?0:-1}))}function P(t){return t.slice(0).sort((function(t,e){return t.x>e.x||t.x===e.x&&t.y>e.y?1:-1}))}function _(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Layout",n=["x","y","w","h"];if(!Array.isArray(t))throw new Error(e+" must be an array!");for(var r=0,o=t.length;r<o;r++)for(var i=t[r],a=0;a<n.length;a++)if("number"!==typeof i[n[a]])throw new Error("ReactGridLayout: "+e+"["+r+"]."+n[a]+" must be a number!")}function M(){}e.noop=function(){}},function(t,e,n){var r=n(630),o=n(632);function i(e,n){return delete t.exports[e],t.exports[e]=n,n}t.exports={Parser:r,Tokenizer:n(631),ElementType:n(633),DomHandler:o,get FeedHandler(){return i("FeedHandler",n(1071))},get Stream(){return i("Stream",n(1081))},get WritableStream(){return i("WritableStream",n(636))},get ProxyHandler(){return i("ProxyHandler",n(1083))},get DomUtils(){return i("DomUtils",n(635))},get CollectingHandler(){return i("CollectingHandler",n(1084))},DefaultHandler:o,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(t,e){var n=new o(e);return new r(n,e).end(t),n.dom},parseFeed:function(e,n){var o=new t.exports.FeedHandler(n);return new r(o,n).end(e),o.dom},createDomStream:function(t,e,n){var i=new o(t,e,n);return new r(i,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},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},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};e.deepMerge=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=o({},e);return Object.keys(n).forEach((function(o){"object"===r(n[o])&&n[o]&&e[o]?i[o]=t(e[o],n[o]):i[o]=n[o]})),i},e.bindFunctions=function(t){var e=this;t.forEach((function(t){return e[t]=e[t].bind(e)}))};e.canUseDom=!("undefined"===typeof window||!window.document||!window.document.createElement)},function(t,e,n){"use strict";e.a=function(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}},function(t,e,n){"use strict";e.a=function(t){var e=new WeakMap;return function(n){if(e.has(n))return e.get(n);var r=t(n);return e.set(n,r),r}}},function(t,e,n){var r=n(831)(n(855));t.exports=r},function(t,e,n){t.exports=function(){"use strict";for(var t=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),t<e?e:t>n?n:t},e=function(e){e._clipped=!1,e._unclipped=e.slice(0);for(var n=0;n<=3;n++)n<3?((e[n]<0||e[n]>255)&&(e._clipped=!0),e[n]=t(e[n],0,255)):3===n&&(e[n]=t(e[n],0,1));return e},n={},r=0,o=["Boolean","Number","String","Function","Array","Date","RegExp","Undefined","Null"];r<o.length;r+=1){var i=o[r];n["[object "+i+"]"]=i.toLowerCase()}var a=function(t){return n[Object.prototype.toString.call(t)]||"object"},s=function(t,e){return void 0===e&&(e=null),t.length>=3?Array.prototype.slice.call(t):"object"==a(t[0])&&e?e.split("").filter((function(e){return void 0!==t[0][e]})).map((function(e){return t[0][e]})):t[0]},l=function(t){if(t.length<2)return null;var e=t.length-1;return"string"==a(t[e])?t[e].toLowerCase():null},c=Math.PI,u={clip_rgb:e,limit:t,type:a,unpack:s,last:l,PI:c,TWOPI:2*c,PITHIRD:c/3,DEG2RAD:c/180,RAD2DEG:180/c},d={format:{},autodetect:[]},f=u.last,p=u.clip_rgb,h=u.type,v=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=this;if("object"===h(t[0])&&t[0].constructor&&t[0].constructor===this.constructor)return t[0];var r=f(t),o=!1;if(!r){o=!0,d.sorted||(d.autodetect=d.autodetect.sort((function(t,e){return e.p-t.p})),d.sorted=!0);for(var i=0,a=d.autodetect;i<a.length;i+=1){var s=a[i];if(r=s.test.apply(s,t))break}}if(!d.format[r])throw new Error("unknown format: "+t);var l=d.format[r].apply(null,o?t:t.slice(0,-1));n._rgb=p(l),3===n._rgb.length&&n._rgb.push(1)};v.prototype.toString=function(){return"function"==h(this.hex)?this.hex():"["+this._rgb.join(",")+"]"};var g=v,m=function t(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return new(Function.prototype.bind.apply(t.Color,[null].concat(e)))};m.Color=g,m.version="2.1.2";var b=m,y=u.unpack,x=Math.max,w=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=y(t,"rgb"),r=n[0],o=n[1],i=n[2],a=1-x(r/=255,x(o/=255,i/=255)),s=a<1?1/(1-a):0;return[(1-r-a)*s,(1-o-a)*s,(1-i-a)*s,a]},O=w,S=u.unpack,j=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=S(t,"cmyk"))[0],r=t[1],o=t[2],i=t[3],a=t.length>4?t[4]:1;return 1===i?[0,0,0,a]:[n>=1?0:255*(1-n)*(1-i),r>=1?0:255*(1-r)*(1-i),o>=1?0:255*(1-o)*(1-i),a]},C=j,k=u.unpack,E=u.type;g.prototype.cmyk=function(){return O(this._rgb)},b.cmyk=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["cmyk"])))},d.format.cmyk=C,d.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=k(t,"cmyk"),"array"===E(t)&&4===t.length)return"cmyk"}});var P=u.unpack,_=u.last,M=function(t){return Math.round(100*t)/100},T=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=P(t,"hsla"),r=_(t)||"lsa";return n[0]=M(n[0]||0),n[1]=M(100*n[1])+"%",n[2]=M(100*n[2])+"%","hsla"===r||n.length>3&&n[3]<1?(n[3]=n.length>3?n[3]:1,r="hsla"):n.length=3,r+"("+n.join(",")+")"},A=T,R=u.unpack,D=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=R(t,"rgba"))[0],r=t[1],o=t[2];n/=255,r/=255,o/=255;var i,a,s=Math.min(n,r,o),l=Math.max(n,r,o),c=(l+s)/2;return l===s?(i=0,a=Number.NaN):i=c<.5?(l-s)/(l+s):(l-s)/(2-l-s),n==l?a=(r-o)/(l-s):r==l?a=2+(o-n)/(l-s):o==l&&(a=4+(n-r)/(l-s)),(a*=60)<0&&(a+=360),t.length>3&&void 0!==t[3]?[a,i,c,t[3]]:[a,i,c]},I=D,N=u.unpack,L=u.last,F=Math.round,B=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=N(t,"rgba"),r=L(t)||"rgb";return"hsl"==r.substr(0,3)?A(I(n),r):(n[0]=F(n[0]),n[1]=F(n[1]),n[2]=F(n[2]),("rgba"===r||n.length>3&&n[3]<1)&&(n[3]=n.length>3?n[3]:1,r="rgba"),r+"("+n.slice(0,"rgb"===r?3:4).join(",")+")")},z=B,H=u.unpack,V=Math.round,U=function(){for(var t,e=[],n=arguments.length;n--;)e[n]=arguments[n];var r,o,i,a=(e=H(e,"hsl"))[0],s=e[1],l=e[2];if(0===s)r=o=i=255*l;else{var c=[0,0,0],u=[0,0,0],d=l<.5?l*(1+s):l+s-l*s,f=2*l-d,p=a/360;c[0]=p+1/3,c[1]=p,c[2]=p-1/3;for(var h=0;h<3;h++)c[h]<0&&(c[h]+=1),c[h]>1&&(c[h]-=1),6*c[h]<1?u[h]=f+6*(d-f)*c[h]:2*c[h]<1?u[h]=d:3*c[h]<2?u[h]=f+(d-f)*(2/3-c[h])*6:u[h]=f;r=(t=[V(255*u[0]),V(255*u[1]),V(255*u[2])])[0],o=t[1],i=t[2]}return e.length>3?[r,o,i,e[3]]:[r,o,i,1]},W=U,q=/^rgb\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*\)$/,G=/^rgba\(\s*(-?\d+),\s*(-?\d+)\s*,\s*(-?\d+)\s*,\s*([01]|[01]?\.\d+)\)$/,Y=/^rgb\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,X=/^rgba\(\s*(-?\d+(?:\.\d+)?)%,\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,K=/^hsl\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*\)$/,$=/^hsla\(\s*(-?\d+(?:\.\d+)?),\s*(-?\d+(?:\.\d+)?)%\s*,\s*(-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)$/,Z=Math.round,Q=function(t){var e;if(t=t.toLowerCase().trim(),d.format.named)try{return d.format.named(t)}catch(v){}if(e=t.match(q)){for(var n=e.slice(1,4),r=0;r<3;r++)n[r]=+n[r];return n[3]=1,n}if(e=t.match(G)){for(var o=e.slice(1,5),i=0;i<4;i++)o[i]=+o[i];return o}if(e=t.match(Y)){for(var a=e.slice(1,4),s=0;s<3;s++)a[s]=Z(2.55*a[s]);return a[3]=1,a}if(e=t.match(X)){for(var l=e.slice(1,5),c=0;c<3;c++)l[c]=Z(2.55*l[c]);return l[3]=+l[3],l}if(e=t.match(K)){var u=e.slice(1,4);u[1]*=.01,u[2]*=.01;var f=W(u);return f[3]=1,f}if(e=t.match($)){var p=e.slice(1,4);p[1]*=.01,p[2]*=.01;var h=W(p);return h[3]=+e[4],h}};Q.test=function(t){return q.test(t)||G.test(t)||Y.test(t)||X.test(t)||K.test(t)||$.test(t)};var J=Q,tt=u.type;g.prototype.css=function(t){return z(this._rgb,t)},b.css=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["css"])))},d.format.css=J,d.autodetect.push({p:5,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===tt(t)&&J.test(t))return"css"}});var et=u.unpack;d.format.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=et(t,"rgba");return n[0]*=255,n[1]*=255,n[2]*=255,n},b.gl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["gl"])))},g.prototype.gl=function(){var t=this._rgb;return[t[0]/255,t[1]/255,t[2]/255,t[3]]};var nt=u.unpack,rt=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r=nt(t,"rgb"),o=r[0],i=r[1],a=r[2],s=Math.min(o,i,a),l=Math.max(o,i,a),c=l-s,u=100*c/255,d=s/(255-c)*100;return 0===c?n=Number.NaN:(o===l&&(n=(i-a)/c),i===l&&(n=2+(a-o)/c),a===l&&(n=4+(o-i)/c),(n*=60)<0&&(n+=360)),[n,u,d]},ot=rt,it=u.unpack,at=Math.floor,st=function(){for(var t,e,n,r,o,i,a=[],s=arguments.length;s--;)a[s]=arguments[s];var l,c,u,d=(a=it(a,"hcg"))[0],f=a[1],p=a[2];p*=255;var h=255*f;if(0===f)l=c=u=p;else{360===d&&(d=0),d>360&&(d-=360),d<0&&(d+=360);var v=at(d/=60),g=d-v,m=p*(1-f),b=m+h*(1-g),y=m+h*g,x=m+h;switch(v){case 0:l=(t=[x,y,m])[0],c=t[1],u=t[2];break;case 1:l=(e=[b,x,m])[0],c=e[1],u=e[2];break;case 2:l=(n=[m,x,y])[0],c=n[1],u=n[2];break;case 3:l=(r=[m,b,x])[0],c=r[1],u=r[2];break;case 4:l=(o=[y,m,x])[0],c=o[1],u=o[2];break;case 5:l=(i=[x,m,b])[0],c=i[1],u=i[2]}}return[l,c,u,a.length>3?a[3]:1]},lt=st,ct=u.unpack,ut=u.type;g.prototype.hcg=function(){return ot(this._rgb)},b.hcg=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["hcg"])))},d.format.hcg=lt,d.autodetect.push({p:1,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=ct(t,"hcg"),"array"===ut(t)&&3===t.length)return"hcg"}});var dt=u.unpack,ft=u.last,pt=Math.round,ht=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=dt(t,"rgba"),r=n[0],o=n[1],i=n[2],a=n[3],s=ft(t)||"auto";void 0===a&&(a=1),"auto"===s&&(s=a<1?"rgba":"rgb");var l="000000"+((r=pt(r))<<16|(o=pt(o))<<8|(i=pt(i))).toString(16);l=l.substr(l.length-6);var c="0"+pt(255*a).toString(16);switch(c=c.substr(c.length-2),s.toLowerCase()){case"rgba":return"#"+l+c;case"argb":return"#"+c+l;default:return"#"+l}},vt=ht,gt=/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,mt=/^#?([A-Fa-f0-9]{8}|[A-Fa-f0-9]{4})$/,bt=function(t){if(t.match(gt)){4!==t.length&&7!==t.length||(t=t.substr(1)),3===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]);var e=parseInt(t,16);return[e>>16,e>>8&255,255&e,1]}if(t.match(mt)){5!==t.length&&9!==t.length||(t=t.substr(1)),4===t.length&&(t=(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]+t[3]+t[3]);var n=parseInt(t,16);return[n>>24&255,n>>16&255,n>>8&255,Math.round((255&n)/255*100)/100]}throw new Error("unknown hex color: "+t)},yt=u.type;g.prototype.hex=function(t){return vt(this._rgb,t)},b.hex=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["hex"])))},d.format.hex=bt,d.autodetect.push({p:4,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===yt(t)&&[3,4,5,6,7,8,9].indexOf(t.length)>=0)return"hex"}});var xt=u.unpack,wt=u.TWOPI,Ot=Math.min,St=Math.sqrt,jt=Math.acos,Ct=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r=xt(t,"rgb"),o=r[0],i=r[1],a=r[2],s=Ot(o/=255,i/=255,a/=255),l=(o+i+a)/3,c=l>0?1-s/l:0;return 0===c?n=NaN:(n=(o-i+(o-a))/2,n/=St((o-i)*(o-i)+(o-a)*(i-a)),n=jt(n),a>i&&(n=wt-n),n/=wt),[360*n,c,l]},kt=Ct,Et=u.unpack,Pt=u.limit,_t=u.TWOPI,Mt=u.PITHIRD,Tt=Math.cos,At=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r,o,i=(t=Et(t,"hsi"))[0],a=t[1],s=t[2];return isNaN(i)&&(i=0),isNaN(a)&&(a=0),i>360&&(i-=360),i<0&&(i+=360),(i/=360)<1/3?r=1-((o=(1-a)/3)+(n=(1+a*Tt(_t*i)/Tt(Mt-_t*i))/3)):i<2/3?o=1-((n=(1-a)/3)+(r=(1+a*Tt(_t*(i-=1/3))/Tt(Mt-_t*i))/3)):n=1-((r=(1-a)/3)+(o=(1+a*Tt(_t*(i-=2/3))/Tt(Mt-_t*i))/3)),[255*(n=Pt(s*n*3)),255*(r=Pt(s*r*3)),255*(o=Pt(s*o*3)),t.length>3?t[3]:1]},Rt=At,Dt=u.unpack,It=u.type;g.prototype.hsi=function(){return kt(this._rgb)},b.hsi=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["hsi"])))},d.format.hsi=Rt,d.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Dt(t,"hsi"),"array"===It(t)&&3===t.length)return"hsi"}});var Nt=u.unpack,Lt=u.type;g.prototype.hsl=function(){return I(this._rgb)},b.hsl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["hsl"])))},d.format.hsl=W,d.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Nt(t,"hsl"),"array"===Lt(t)&&3===t.length)return"hsl"}});var Ft=u.unpack,Bt=Math.min,zt=Math.max,Ht=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r,o,i=(t=Ft(t,"rgb"))[0],a=t[1],s=t[2],l=Bt(i,a,s),c=zt(i,a,s),u=c-l;return o=c/255,0===c?(n=Number.NaN,r=0):(r=u/c,i===c&&(n=(a-s)/u),a===c&&(n=2+(s-i)/u),s===c&&(n=4+(i-a)/u),(n*=60)<0&&(n+=360)),[n,r,o]},Vt=Ht,Ut=u.unpack,Wt=Math.floor,qt=function(){for(var t,e,n,r,o,i,a=[],s=arguments.length;s--;)a[s]=arguments[s];var l,c,u,d=(a=Ut(a,"hsv"))[0],f=a[1],p=a[2];if(p*=255,0===f)l=c=u=p;else{360===d&&(d=0),d>360&&(d-=360),d<0&&(d+=360);var h=Wt(d/=60),v=d-h,g=p*(1-f),m=p*(1-f*v),b=p*(1-f*(1-v));switch(h){case 0:l=(t=[p,b,g])[0],c=t[1],u=t[2];break;case 1:l=(e=[m,p,g])[0],c=e[1],u=e[2];break;case 2:l=(n=[g,p,b])[0],c=n[1],u=n[2];break;case 3:l=(r=[g,m,p])[0],c=r[1],u=r[2];break;case 4:l=(o=[b,g,p])[0],c=o[1],u=o[2];break;case 5:l=(i=[p,g,m])[0],c=i[1],u=i[2]}}return[l,c,u,a.length>3?a[3]:1]},Gt=qt,Yt=u.unpack,Xt=u.type;g.prototype.hsv=function(){return Vt(this._rgb)},b.hsv=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["hsv"])))},d.format.hsv=Gt,d.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Yt(t,"hsv"),"array"===Xt(t)&&3===t.length)return"hsv"}});var Kt={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},$t=u.unpack,Zt=Math.pow,Qt=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=$t(t,"rgb"),r=n[0],o=n[1],i=n[2],a=ee(r,o,i),s=a[0],l=a[1],c=116*l-16;return[c<0?0:c,500*(s-l),200*(l-a[2])]},Jt=function(t){return(t/=255)<=.04045?t/12.92:Zt((t+.055)/1.055,2.4)},te=function(t){return t>Kt.t3?Zt(t,1/3):t/Kt.t2+Kt.t0},ee=function(t,e,n){return t=Jt(t),e=Jt(e),n=Jt(n),[te((.4124564*t+.3575761*e+.1804375*n)/Kt.Xn),te((.2126729*t+.7151522*e+.072175*n)/Kt.Yn),te((.0193339*t+.119192*e+.9503041*n)/Kt.Zn)]},ne=Qt,re=u.unpack,oe=Math.pow,ie=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n,r,o,i=(t=re(t,"lab"))[0],a=t[1],s=t[2];return r=(i+16)/116,n=isNaN(a)?r:r+a/500,o=isNaN(s)?r:r-s/200,r=Kt.Yn*se(r),n=Kt.Xn*se(n),o=Kt.Zn*se(o),[ae(3.2404542*n-1.5371385*r-.4985314*o),ae(-.969266*n+1.8760108*r+.041556*o),ae(.0556434*n-.2040259*r+1.0572252*o),t.length>3?t[3]:1]},ae=function(t){return 255*(t<=.00304?12.92*t:1.055*oe(t,1/2.4)-.055)},se=function(t){return t>Kt.t1?t*t*t:Kt.t2*(t-Kt.t0)},le=ie,ce=u.unpack,ue=u.type;g.prototype.lab=function(){return ne(this._rgb)},b.lab=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["lab"])))},d.format.lab=le,d.autodetect.push({p:2,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=ce(t,"lab"),"array"===ue(t)&&3===t.length)return"lab"}});var de=u.unpack,fe=u.RAD2DEG,pe=Math.sqrt,he=Math.atan2,ve=Math.round,ge=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=de(t,"lab"),r=n[0],o=n[1],i=n[2],a=pe(o*o+i*i),s=(he(i,o)*fe+360)%360;return 0===ve(1e4*a)&&(s=Number.NaN),[r,a,s]},me=ge,be=u.unpack,ye=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=be(t,"rgb"),r=n[0],o=n[1],i=n[2],a=ne(r,o,i),s=a[0],l=a[1],c=a[2];return me(s,l,c)},xe=ye,we=u.unpack,Oe=u.DEG2RAD,Se=Math.sin,je=Math.cos,Ce=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=we(t,"lch"),r=n[0],o=n[1],i=n[2];return isNaN(i)&&(i=0),[r,je(i*=Oe)*o,Se(i)*o]},ke=Ce,Ee=u.unpack,Pe=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=(t=Ee(t,"lch"))[0],r=t[1],o=t[2],i=ke(n,r,o),a=i[0],s=i[1],l=i[2],c=le(a,s,l);return[c[0],c[1],c[2],t.length>3?t[3]:1]},_e=Pe,Me=u.unpack,Te=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Me(t,"hcl").reverse();return _e.apply(void 0,n)},Ae=Te,Re=u.unpack,De=u.type;g.prototype.lch=function(){return xe(this._rgb)},g.prototype.hcl=function(){return xe(this._rgb).reverse()},b.lch=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["lch"])))},b.hcl=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["hcl"])))},d.format.lch=_e,d.format.hcl=Ae,["lch","hcl"].forEach((function(t){return d.autodetect.push({p:2,test:function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];if(e=Re(e,t),"array"===De(e)&&3===e.length)return t}})}));var Ie={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflower:"#6495ed",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",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:"#ff00ff",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",laserlemon:"#ffff54",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrod:"#fafad2",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",maroon2:"#7f0000",maroon3:"#b03060",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",purple2:"#7f007f",purple3:"#a020f0",rebeccapurple:"#663399",red:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Ne=u.type;g.prototype.name=function(){for(var t=vt(this._rgb,"rgb"),e=0,n=Object.keys(Ie);e<n.length;e+=1){var r=n[e];if(Ie[r]===t)return r.toLowerCase()}return t},d.format.named=function(t){if(t=t.toLowerCase(),Ie[t])return bt(Ie[t]);throw new Error("unknown color name: "+t)},d.autodetect.push({p:5,test:function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];if(!e.length&&"string"===Ne(t)&&Ie[t.toLowerCase()])return"named"}});var Le=u.unpack,Fe=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Le(t,"rgb");return(n[0]<<16)+(n[1]<<8)+n[2]},Be=Fe,ze=u.type,He=function(t){if("number"==ze(t)&&t>=0&&t<=16777215)return[t>>16,t>>8&255,255&t,1];throw new Error("unknown num color: "+t)},Ve=u.type;g.prototype.num=function(){return Be(this._rgb)},b.num=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["num"])))},d.format.num=He,d.autodetect.push({p:5,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(1===t.length&&"number"===Ve(t[0])&&t[0]>=0&&t[0]<=16777215)return"num"}});var Ue=u.unpack,We=u.type,qe=Math.round;g.prototype.rgb=function(t){return void 0===t&&(t=!0),!1===t?this._rgb.slice(0,3):this._rgb.slice(0,3).map(qe)},g.prototype.rgba=function(t){return void 0===t&&(t=!0),this._rgb.slice(0,4).map((function(e,n){return n<3?!1===t?e:qe(e):e}))},b.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["rgb"])))},d.format.rgb=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=Ue(t,"rgba");return void 0===n[3]&&(n[3]=1),n},d.autodetect.push({p:3,test:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];if(t=Ue(t,"rgba"),"array"===We(t)&&(3===t.length||4===t.length&&"number"==We(t[3])&&t[3]>=0&&t[3]<=1))return"rgb"}});var Ge=Math.log,Ye=function(t){var e,n,r,o=t/100;return o<66?(e=255,n=-155.25485562709179-.44596950469579133*(n=o-2)+104.49216199393888*Ge(n),r=o<20?0:.8274096064007395*(r=o-10)-254.76935184120902+115.67994401066147*Ge(r)):(e=351.97690566805693+.114206453784165*(e=o-55)-40.25366309332127*Ge(e),n=325.4494125711974+.07943456536662342*(n=o-50)-28.0852963507957*Ge(n),r=255),[e,n,r,1]},Xe=u.unpack,Ke=Math.round,$e=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];for(var n,r=Xe(t,"rgb"),o=r[0],i=r[2],a=1e3,s=4e4,l=.4;s-a>l;){var c=Ye(n=.5*(s+a));c[2]/c[0]>=i/o?s=n:a=n}return Ke(n)},Ze=$e;g.prototype.temp=g.prototype.kelvin=g.prototype.temperature=function(){return Ze(this._rgb)},b.temp=b.kelvin=b.temperature=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return new(Function.prototype.bind.apply(g,[null].concat(t,["temp"])))},d.format.temp=d.format.kelvin=d.format.temperature=Ye;var Qe=u.type;g.prototype.alpha=function(t,e){return void 0===e&&(e=!1),void 0!==t&&"number"===Qe(t)?e?(this._rgb[3]=t,this):new g([this._rgb[0],this._rgb[1],this._rgb[2],t],"rgb"):this._rgb[3]},g.prototype.clipped=function(){return this._rgb._clipped||!1},g.prototype.darken=function(t){void 0===t&&(t=1);var e=this,n=e.lab();return n[0]-=Kt.Kn*t,new g(n,"lab").alpha(e.alpha(),!0)},g.prototype.brighten=function(t){return void 0===t&&(t=1),this.darken(-t)},g.prototype.darker=g.prototype.darken,g.prototype.brighter=g.prototype.brighten,g.prototype.get=function(t){var e=t.split("."),n=e[0],r=e[1],o=this[n]();if(r){var i=n.indexOf(r);if(i>-1)return o[i];throw new Error("unknown channel "+r+" in mode "+n)}return o};var Je=u.type,tn=Math.pow,en=1e-7,nn=20;g.prototype.luminance=function(t){if(void 0!==t&&"number"===Je(t)){if(0===t)return new g([0,0,0,this._rgb[3]],"rgb");if(1===t)return new g([255,255,255,this._rgb[3]],"rgb");var e=this.luminance(),n="rgb",r=nn,o=function e(o,i){var a=o.interpolate(i,.5,n),s=a.luminance();return Math.abs(t-s)<en||!r--?a:s>t?e(o,a):e(a,i)},i=(e>t?o(new g([0,0,0]),this):o(this,new g([255,255,255]))).rgb();return new g(i.concat([this._rgb[3]]))}return rn.apply(void 0,this._rgb.slice(0,3))};var rn=function(t,e,n){return.2126*(t=on(t))+.7152*(e=on(e))+.0722*(n=on(n))},on=function(t){return(t/=255)<=.03928?t/12.92:tn((t+.055)/1.055,2.4)},an={},sn=u.type,ln=function(t,e,n){void 0===n&&(n=.5);for(var r=[],o=arguments.length-3;o-- >0;)r[o]=arguments[o+3];var i=r[0]||"lrgb";if(an[i]||r.length||(i=Object.keys(an)[0]),!an[i])throw new Error("interpolation mode "+i+" is not defined");return"object"!==sn(t)&&(t=new g(t)),"object"!==sn(e)&&(e=new g(e)),an[i](t,e,n).alpha(t.alpha()+n*(e.alpha()-t.alpha()))};g.prototype.mix=g.prototype.interpolate=function(t,e){void 0===e&&(e=.5);for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];return ln.apply(void 0,[this,t,e].concat(n))},g.prototype.premultiply=function(t){void 0===t&&(t=!1);var e=this._rgb,n=e[3];return t?(this._rgb=[e[0]*n,e[1]*n,e[2]*n,n],this):new g([e[0]*n,e[1]*n,e[2]*n,n],"rgb")},g.prototype.saturate=function(t){void 0===t&&(t=1);var e=this,n=e.lch();return n[1]+=Kt.Kn*t,n[1]<0&&(n[1]=0),new g(n,"lch").alpha(e.alpha(),!0)},g.prototype.desaturate=function(t){return void 0===t&&(t=1),this.saturate(-t)};var cn=u.type;g.prototype.set=function(t,e,n){void 0===n&&(n=!1);var r=t.split("."),o=r[0],i=r[1],a=this[o]();if(i){var s=o.indexOf(i);if(s>-1){if("string"==cn(e))switch(e.charAt(0)){case"+":case"-":a[s]+=+e;break;case"*":a[s]*=+e.substr(1);break;case"/":a[s]/=+e.substr(1);break;default:a[s]=+e}else{if("number"!==cn(e))throw new Error("unsupported value for Color.set");a[s]=e}var l=new g(a,o);return n?(this._rgb=l._rgb,this):l}throw new Error("unknown channel "+i+" in mode "+o)}return a};var un=function(t,e,n){var r=t._rgb,o=e._rgb;return new g(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"rgb")};an.rgb=un;var dn=Math.sqrt,fn=Math.pow,pn=function(t,e,n){var r=t._rgb,o=r[0],i=r[1],a=r[2],s=e._rgb,l=s[0],c=s[1],u=s[2];return new g(dn(fn(o,2)*(1-n)+fn(l,2)*n),dn(fn(i,2)*(1-n)+fn(c,2)*n),dn(fn(a,2)*(1-n)+fn(u,2)*n),"rgb")};an.lrgb=pn;var hn=function(t,e,n){var r=t.lab(),o=e.lab();return new g(r[0]+n*(o[0]-r[0]),r[1]+n*(o[1]-r[1]),r[2]+n*(o[2]-r[2]),"lab")};an.lab=hn;var vn=function(t,e,n,r){var o,i,a,s,l,c,u,d,f,p,h,v;return"hsl"===r?(a=t.hsl(),s=e.hsl()):"hsv"===r?(a=t.hsv(),s=e.hsv()):"hcg"===r?(a=t.hcg(),s=e.hcg()):"hsi"===r?(a=t.hsi(),s=e.hsi()):"lch"!==r&&"hcl"!==r||(r="hcl",a=t.hcl(),s=e.hcl()),"h"===r.substr(0,1)&&(l=(o=a)[0],u=o[1],f=o[2],c=(i=s)[0],d=i[1],p=i[2]),isNaN(l)||isNaN(c)?isNaN(l)?isNaN(c)?v=Number.NaN:(v=c,1!=f&&0!=f||"hsv"==r||(h=d)):(v=l,1!=p&&0!=p||"hsv"==r||(h=u)):v=l+n*(c>l&&c-l>180?c-(l+360):c<l&&l-c>180?c+360-l:c-l),void 0===h&&(h=u+n*(d-u)),new g([v,h,f+n*(p-f)],r)},gn=function(t,e,n){return vn(t,e,n,"lch")};an.lch=gn,an.hcl=gn;var mn=function(t,e,n){var r=t.num(),o=e.num();return new g(r+n*(o-r),"num")};an.num=mn;var bn=function(t,e,n){return vn(t,e,n,"hcg")};an.hcg=bn;var yn=function(t,e,n){return vn(t,e,n,"hsi")};an.hsi=yn;var xn=function(t,e,n){return vn(t,e,n,"hsl")};an.hsl=xn;var wn=function(t,e,n){return vn(t,e,n,"hsv")};an.hsv=wn;var On=u.clip_rgb,Sn=Math.pow,jn=Math.sqrt,Cn=Math.PI,kn=Math.cos,En=Math.sin,Pn=Math.atan2,_n=function(t,e,n){void 0===e&&(e="lrgb"),void 0===n&&(n=null);var r=t.length;n||(n=Array.from(new Array(r)).map((function(){return 1})));var o=r/n.reduce((function(t,e){return t+e}));if(n.forEach((function(t,e){n[e]*=o})),t=t.map((function(t){return new g(t)})),"lrgb"===e)return Mn(t,n);for(var i=t.shift(),a=i.get(e),s=[],l=0,c=0,u=0;u<a.length;u++)if(a[u]=(a[u]||0)*n[0],s.push(isNaN(a[u])?0:n[0]),"h"===e.charAt(u)&&!isNaN(a[u])){var d=a[u]/180*Cn;l+=kn(d)*n[0],c+=En(d)*n[0]}var f=i.alpha()*n[0];t.forEach((function(t,r){var o=t.get(e);f+=t.alpha()*n[r+1];for(var i=0;i<a.length;i++)if(!isNaN(o[i]))if(s[i]+=n[r+1],"h"===e.charAt(i)){var u=o[i]/180*Cn;l+=kn(u)*n[r+1],c+=En(u)*n[r+1]}else a[i]+=o[i]*n[r+1]}));for(var p=0;p<a.length;p++)if("h"===e.charAt(p)){for(var h=Pn(c/s[p],l/s[p])/Cn*180;h<0;)h+=360;for(;h>=360;)h-=360;a[p]=h}else a[p]=a[p]/s[p];return f/=r,new g(a,e).alpha(f>.99999?1:f,!0)},Mn=function(t,e){for(var n=t.length,r=[0,0,0,0],o=0;o<t.length;o++){var i=t[o],a=e[o]/n,s=i._rgb;r[0]+=Sn(s[0],2)*a,r[1]+=Sn(s[1],2)*a,r[2]+=Sn(s[2],2)*a,r[3]+=s[3]*a}return r[0]=jn(r[0]),r[1]=jn(r[1]),r[2]=jn(r[2]),r[3]>.9999999&&(r[3]=1),new g(On(r))},Tn=u.type,An=Math.pow,Rn=function(t){var e="rgb",n=b("#ccc"),r=0,o=[0,1],i=[],a=[0,0],s=!1,l=[],c=!1,u=0,d=1,f=!1,p={},h=!0,v=1,g=function(t){if((t=t||["#fff","#000"])&&"string"===Tn(t)&&b.brewer&&b.brewer[t.toLowerCase()]&&(t=b.brewer[t.toLowerCase()]),"array"===Tn(t)){1===t.length&&(t=[t[0],t[0]]),t=t.slice(0);for(var e=0;e<t.length;e++)t[e]=b(t[e]);i.length=0;for(var n=0;n<t.length;n++)i.push(n/(t.length-1))}return O(),l=t},m=function(t){if(null!=s){for(var e=s.length-1,n=0;n<e&&t>=s[n];)n++;return n-1}return 0},y=function(t){return t},x=function(t){return t},w=function(t,r){var o,c;if(null==r&&(r=!1),isNaN(t)||null===t)return n;c=r?t:s&&s.length>2?m(t)/(s.length-2):d!==u?(t-u)/(d-u):1,c=x(c),r||(c=y(c)),1!==v&&(c=An(c,v)),c=a[0]+c*(1-a[0]-a[1]),c=Math.min(1,Math.max(0,c));var f=Math.floor(1e4*c);if(h&&p[f])o=p[f];else{if("array"===Tn(l))for(var g=0;g<i.length;g++){var w=i[g];if(c<=w){o=l[g];break}if(c>=w&&g===i.length-1){o=l[g];break}if(c>w&&c<i[g+1]){c=(c-w)/(i[g+1]-w),o=b.interpolate(l[g],l[g+1],c,e);break}}else"function"===Tn(l)&&(o=l(c));h&&(p[f]=o)}return o},O=function(){return p={}};g(t);var S=function(t){var e=b(w(t));return c&&e[c]?e[c]():e};return S.classes=function(t){if(null!=t){if("array"===Tn(t))s=t,o=[t[0],t[t.length-1]];else{var e=b.analyze(o);s=0===t?[e.min,e.max]:b.limits(e,"e",t)}return S}return s},S.domain=function(t){if(!arguments.length)return o;u=t[0],d=t[t.length-1],i=[];var e=l.length;if(t.length===e&&u!==d)for(var n=0,r=Array.from(t);n<r.length;n+=1){var a=r[n];i.push((a-u)/(d-u))}else{for(var s=0;s<e;s++)i.push(s/(e-1));if(t.length>2){var c=t.map((function(e,n){return n/(t.length-1)})),f=t.map((function(t){return(t-u)/(d-u)}));f.every((function(t,e){return c[e]===t}))||(x=function(t){if(t<=0||t>=1)return t;for(var e=0;t>=f[e+1];)e++;var n=(t-f[e])/(f[e+1]-f[e]);return c[e]+n*(c[e+1]-c[e])})}}return o=[u,d],S},S.mode=function(t){return arguments.length?(e=t,O(),S):e},S.range=function(t,e){return g(t,e),S},S.out=function(t){return c=t,S},S.spread=function(t){return arguments.length?(r=t,S):r},S.correctLightness=function(t){return null==t&&(t=!0),f=t,O(),y=f?function(t){for(var e=w(0,!0).lab()[0],n=w(1,!0).lab()[0],r=e>n,o=w(t,!0).lab()[0],i=e+(n-e)*t,a=o-i,s=0,l=1,c=20;Math.abs(a)>.01&&c-- >0;)r&&(a*=-1),a<0?(s=t,t+=.5*(l-t)):(l=t,t+=.5*(s-t)),o=w(t,!0).lab()[0],a=o-i;return t}:function(t){return t},S},S.padding=function(t){return null!=t?("number"===Tn(t)&&(t=[t,t]),a=t,S):a},S.colors=function(e,n){arguments.length<2&&(n="hex");var r=[];if(0===arguments.length)r=l.slice(0);else if(1===e)r=[S(.5)];else if(e>1){var i=o[0],a=o[1]-i;r=Dn(0,e,!1).map((function(t){return S(i+t/(e-1)*a)}))}else{t=[];var c=[];if(s&&s.length>2)for(var u=1,d=s.length,f=1<=d;f?u<d:u>d;f?u++:u--)c.push(.5*(s[u-1]+s[u]));else c=o;r=c.map((function(t){return S(t)}))}return b[n]&&(r=r.map((function(t){return t[n]()}))),r},S.cache=function(t){return null!=t?(h=t,S):h},S.gamma=function(t){return null!=t?(v=t,S):v},S.nodata=function(t){return null!=t?(n=b(t),S):n},S};function Dn(t,e,n){for(var r=[],o=t<e,i=n?o?e+1:e-1:e,a=t;o?a<i:a>i;o?a++:a--)r.push(a);return r}var In=function t(e){var n,r,o,i,a,s,l;if(2===(e=e.map((function(t){return new g(t)}))).length)n=e.map((function(t){return t.lab()})),a=n[0],s=n[1],i=function(t){var e=[0,1,2].map((function(e){return a[e]+t*(s[e]-a[e])}));return new g(e,"lab")};else if(3===e.length)r=e.map((function(t){return t.lab()})),a=r[0],s=r[1],l=r[2],i=function(t){var e=[0,1,2].map((function(e){return(1-t)*(1-t)*a[e]+2*(1-t)*t*s[e]+t*t*l[e]}));return new g(e,"lab")};else if(4===e.length){var c;o=e.map((function(t){return t.lab()})),a=o[0],s=o[1],l=o[2],c=o[3],i=function(t){var e=[0,1,2].map((function(e){return(1-t)*(1-t)*(1-t)*a[e]+3*(1-t)*(1-t)*t*s[e]+3*(1-t)*t*t*l[e]+t*t*t*c[e]}));return new g(e,"lab")}}else if(5===e.length){var u=t(e.slice(0,3)),d=t(e.slice(2,5));i=function(t){return t<.5?u(2*t):d(2*(t-.5))}}return i},Nn=function(t){var e=In(t);return e.scale=function(){return Rn(e)},e},Ln=function t(e,n,r){if(!t[r])throw new Error("unknown blend mode "+r);return t[r](e,n)},Fn=function(t){return function(e,n){var r=b(n).rgb(),o=b(e).rgb();return b.rgb(t(r,o))}},Bn=function(t){return function(e,n){var r=[];return r[0]=t(e[0],n[0]),r[1]=t(e[1],n[1]),r[2]=t(e[2],n[2]),r}},zn=function(t){return t},Hn=function(t,e){return t*e/255},Vn=function(t,e){return t>e?e:t},Un=function(t,e){return t>e?t:e},Wn=function(t,e){return 255*(1-(1-t/255)*(1-e/255))},qn=function(t,e){return e<128?2*t*e/255:255*(1-2*(1-t/255)*(1-e/255))},Gn=function(t,e){return 255*(1-(1-e/255)/(t/255))},Yn=function(t,e){return 255===t||(t=e/255*255/(1-t/255))>255?255:t};Ln.normal=Fn(Bn(zn)),Ln.multiply=Fn(Bn(Hn)),Ln.screen=Fn(Bn(Wn)),Ln.overlay=Fn(Bn(qn)),Ln.darken=Fn(Bn(Vn)),Ln.lighten=Fn(Bn(Un)),Ln.dodge=Fn(Bn(Yn)),Ln.burn=Fn(Bn(Gn));for(var Xn=Ln,Kn=u.type,$n=u.clip_rgb,Zn=u.TWOPI,Qn=Math.pow,Jn=Math.sin,tr=Math.cos,er=function(t,e,n,r,o){void 0===t&&(t=300),void 0===e&&(e=-1.5),void 0===n&&(n=1),void 0===r&&(r=1),void 0===o&&(o=[0,1]);var i,a=0;"array"===Kn(o)?i=o[1]-o[0]:(i=0,o=[o,o]);var s=function(s){var l=Zn*((t+120)/360+e*s),c=Qn(o[0]+i*s,r),u=(0!==a?n[0]+s*a:n)*c*(1-c)/2,d=tr(l),f=Jn(l);return b($n([255*(c+u*(-.14861*d+1.78277*f)),255*(c+u*(-.29227*d-.90649*f)),255*(c+u*(1.97294*d)),1]))};return s.start=function(e){return null==e?t:(t=e,s)},s.rotations=function(t){return null==t?e:(e=t,s)},s.gamma=function(t){return null==t?r:(r=t,s)},s.hue=function(t){return null==t?n:("array"===Kn(n=t)?0===(a=n[1]-n[0])&&(n=n[1]):a=0,s)},s.lightness=function(t){return null==t?o:("array"===Kn(t)?(o=t,i=t[1]-t[0]):(o=[t,t],i=0),s)},s.scale=function(){return b.scale(s)},s.hue(n),s},nr="0123456789abcdef",rr=Math.floor,or=Math.random,ir=function(){for(var t="#",e=0;e<6;e++)t+=nr.charAt(rr(16*or()));return new g(t,"hex")},ar=Math.log,sr=Math.pow,lr=Math.floor,cr=Math.abs,ur=function(t,e){void 0===e&&(e=null);var n={min:Number.MAX_VALUE,max:-1*Number.MAX_VALUE,sum:0,values:[],count:0};return"object"===a(t)&&(t=Object.values(t)),t.forEach((function(t){e&&"object"===a(t)&&(t=t[e]),void 0===t||null===t||isNaN(t)||(n.values.push(t),n.sum+=t,t<n.min&&(n.min=t),t>n.max&&(n.max=t),n.count+=1)})),n.domain=[n.min,n.max],n.limits=function(t,e){return dr(n,t,e)},n},dr=function(t,e,n){void 0===e&&(e="equal"),void 0===n&&(n=7),"array"==a(t)&&(t=ur(t));var r=t.min,o=t.max,i=t.values.sort((function(t,e){return t-e}));if(1===n)return[r,o];var s=[];if("c"===e.substr(0,1)&&(s.push(r),s.push(o)),"e"===e.substr(0,1)){s.push(r);for(var l=1;l<n;l++)s.push(r+l/n*(o-r));s.push(o)}else if("l"===e.substr(0,1)){if(r<=0)throw new Error("Logarithmic scales are only possible for values > 0");var c=Math.LOG10E*ar(r),u=Math.LOG10E*ar(o);s.push(r);for(var d=1;d<n;d++)s.push(sr(10,c+d/n*(u-c)));s.push(o)}else if("q"===e.substr(0,1)){s.push(r);for(var f=1;f<n;f++){var p=(i.length-1)*f/n,h=lr(p);if(h===p)s.push(i[h]);else{var v=p-h;s.push(i[h]*(1-v)+i[h+1]*v)}}s.push(o)}else if("k"===e.substr(0,1)){var g,m=i.length,b=new Array(m),y=new Array(n),x=!0,w=0,O=null;(O=[]).push(r);for(var S=1;S<n;S++)O.push(r+S/n*(o-r));for(O.push(o);x;){for(var j=0;j<n;j++)y[j]=0;for(var C=0;C<m;C++)for(var k=i[C],E=Number.MAX_VALUE,P=void 0,_=0;_<n;_++){var M=cr(O[_]-k);M<E&&(E=M,P=_),y[P]++,b[C]=P}for(var T=new Array(n),A=0;A<n;A++)T[A]=null;for(var R=0;R<m;R++)null===T[g=b[R]]?T[g]=i[R]:T[g]+=i[R];for(var D=0;D<n;D++)T[D]*=1/y[D];x=!1;for(var I=0;I<n;I++)if(T[I]!==O[I]){x=!0;break}O=T,++w>200&&(x=!1)}for(var N={},L=0;L<n;L++)N[L]=[];for(var F=0;F<m;F++)N[g=b[F]].push(i[F]);for(var B=[],z=0;z<n;z++)B.push(N[z][0]),B.push(N[z][N[z].length-1]);B=B.sort((function(t,e){return t-e})),s.push(B[0]);for(var H=1;H<B.length;H+=2){var V=B[H];isNaN(V)||-1!==s.indexOf(V)||s.push(V)}}return s},fr={analyze:ur,limits:dr},pr=function(t,e){t=new g(t),e=new g(e);var n=t.luminance(),r=e.luminance();return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)},hr=Math.sqrt,vr=Math.atan2,gr=Math.abs,mr=Math.cos,br=Math.PI,yr=function(t,e,n,r){void 0===n&&(n=1),void 0===r&&(r=1),t=new g(t),e=new g(e);for(var o=Array.from(t.lab()),i=o[0],a=o[1],s=o[2],l=Array.from(e.lab()),c=l[0],u=l[1],d=l[2],f=hr(a*a+s*s),p=hr(u*u+d*d),h=i<16?.511:.040975*i/(1+.01765*i),v=.0638*f/(1+.0131*f)+.638,m=f<1e-6?0:180*vr(s,a)/br;m<0;)m+=360;for(;m>=360;)m-=360;var b=m>=164&&m<=345?.56+gr(.2*mr(br*(m+168)/180)):.36+gr(.4*mr(br*(m+35)/180)),y=f*f*f*f,x=hr(y/(y+1900)),w=v*(x*b+1-x),O=f-p,S=a-u,j=s-d,C=(i-c)/(n*h),k=O/(r*v);return hr(C*C+k*k+(S*S+j*j-O*O)/(w*w))},xr=function(t,e,n){void 0===n&&(n="lab"),t=new g(t),e=new g(e);var r=t.get(n),o=e.get(n),i=0;for(var a in r){var s=(r[a]||0)-(o[a]||0);i+=s*s}return Math.sqrt(i)},wr=function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];try{return new(Function.prototype.bind.apply(g,[null].concat(t))),!0}catch(n){return!1}},Or={cool:function(){return Rn([b.hsl(180,1,.9),b.hsl(250,.7,.4)])},hot:function(){return Rn(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")}},Sr={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},jr=0,Cr=Object.keys(Sr);jr<Cr.length;jr+=1){var kr=Cr[jr];Sr[kr.toLowerCase()]=Sr[kr]}var Er=Sr;return b.average=_n,b.bezier=Nn,b.blend=Xn,b.cubehelix=er,b.mix=b.interpolate=ln,b.random=ir,b.scale=Rn,b.analyze=fr.analyze,b.contrast=pr,b.deltaE=yr,b.distance=xr,b.limits=fr.limits,b.valid=wr,b.scales=Or,b.colors=Ie,b.brewer=Er,b}()},function(t,e,n){var r=n(467);t.exports=function(t,e){return r(t,e)}},function(t,e,n){"use strict";var r=n(3),o=n(42),i=n(77),a=n(36),s=n(2),l=n(283),c=n(25),u=n(23),d=n(37),f=n(5),p=n(1),h=n(51);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}function g(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 m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){v(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function y(t,e){return!e||"object"!==typeof 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 x(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(de){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}var w=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],O=function(){};function S(t,e){return e?"-"===e[0]?t+e:t+"__"+e:t}function j(t,e,n){var r=[n];if(e&&t)for(var o in e)e.hasOwnProperty(o)&&e[o]&&r.push("".concat(S(t,o)));return r.filter((function(t){return t})).map((function(t){return String(t).trim()})).join(" ")}var C=function(t){return e=t,Array.isArray(e)?t.filter(Boolean):"object"===Object(l.a)(t)&&null!==t?[t]:[];var e},k=function(t){return t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme,m({},Object(a.a)(t,w))};function E(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function P(t){return E(t)?window.pageYOffset:t.scrollTop}function _(t,e){E(t)?window.scrollTo(0,e):t.scrollTop=e}function M(t,e,n,r){return n*((t=t/r-1)*t*t+1)+e}function T(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:O,o=P(t),i=e-o,a=10,s=0;function l(){var e=M(s+=a,o,i,n);_(t,e),s<n?window.requestAnimationFrame(l):r(t)}l()}function A(){try{return document.createEvent("TouchEvent"),!0}catch(de){return!1}}var R=!1,D={get passive(){return R=!0}},I="undefined"!==typeof window?window:{};I.addEventListener&&I.removeEventListener&&(I.addEventListener("p",O,D),I.removeEventListener("p",O,!1));var N=R;function L(t){return null!=t}function F(t,e,n){return t?e:n}function B(t){var e=t.maxHeight,n=t.menuEl,r=t.minHeight,o=t.placement,i=t.shouldScroll,a=t.isFixedPosition,s=t.theme.spacing,l=function(t){var e=getComputedStyle(t),n="absolute"===e.position,r=/(auto|scroll)/;if("fixed"===e.position)return document.documentElement;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 document.documentElement}(n),c={placement:"bottom",maxHeight:e};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,h=f.height,v=f.top,g=n.offsetParent.getBoundingClientRect().top,m=a?window.innerHeight:E(u=l)?window.innerHeight:u.clientHeight,b=P(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=g-x,O=m-v,S=w+b,j=d-b-v,C=p-m+b+y,k=b+v-x,M=160;switch(o){case"auto":case"bottom":if(O>=h)return{placement:"bottom",maxHeight:e};if(j>=h&&!a)return i&&T(l,C,M),{placement:"bottom",maxHeight:e};if(!a&&j>=r||a&&O>=r)return i&&T(l,C,M),{placement:"bottom",maxHeight:a?O-y:j-y};if("auto"===o||a){var A=e,R=a?w:S;return R>=r&&(A=Math.min(R-y-s.controlHeight,e)),{placement:"top",maxHeight:A}}if("bottom"===o)return i&&_(l,C),{placement:"bottom",maxHeight:e};break;case"top":if(w>=h)return{placement:"top",maxHeight:e};if(S>=h&&!a)return i&&T(l,k,M),{placement:"top",maxHeight:e};if(!a&&S>=r||a&&w>=r){var D=e;return(!a&&S>=r||a&&w>=r)&&(D=a?w-x:S-x),i&&T(l,k,M),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var z=function(t){return"auto"===t?"bottom":t},H=Object(p.createContext)({getPortalPlacement:null}),V=function(t){Object(d.a)(n,t);var e=x(n);function n(){var t;Object(c.a)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))).state={maxHeight:t.props.maxMenuHeight,placement:null},t.context=void 0,t.getPlacement=function(e){var n=t.props,r=n.minMenuHeight,o=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,s=n.menuShouldScrollIntoView,l=n.theme;if(e){var c="fixed"===a,u=B({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:s&&!c,isFixedPosition:c,theme:l}),d=t.context.getPortalPlacement;d&&d(u),t.setState(u)}},t.getUpdatedProps=function(){var e=t.props.menuPlacement,n=t.state.placement||z(e);return m(m({},t.props),{},{placement:n,maxHeight:t.state.maxHeight})},t}return Object(u.a)(n,[{key:"render",value:function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(p.Component);V.contextType=H;var U=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"}},W=U,q=U,G=function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.innerProps;return Object(o.d)("div",Object(r.a)({css:a("noOptionsMessage",t),className:i({"menu-notice":!0,"menu-notice--no-options":!0},n)},s),e)};G.defaultProps={children:"No options"};var Y=function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.innerProps;return Object(o.d)("div",Object(r.a)({css:a("loadingMessage",t),className:i({"menu-notice":!0,"menu-notice--loading":!0},n)},s),e)};Y.defaultProps={children:"Loading..."};var X,K=function(t){Object(d.a)(n,t);var e=x(n);function n(){var t;Object(c.a)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))).state={placement:null},t.getPortalPlacement=function(e){var n=e.placement;n!==z(t.props.menuPlacement)&&t.setState({placement:n})},t}return Object(u.a)(n,[{key:"render",value:function(){var t=this.props,e=t.appendTo,n=t.children,i=t.className,a=t.controlElement,s=t.cx,l=t.innerProps,c=t.menuPlacement,u=t.menuPosition,d=t.getStyles,f="fixed"===u;if(!e&&!f||!a)return null;var p=this.state.placement||z(c),v=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}}(a),g=f?0:window.pageYOffset,m={offset:v[p]+g,position:u,rect:v},b=Object(o.d)("div",Object(r.a)({css:d("menuPortal",m),className:s({"menu-portal":!0},i)},l),n);return Object(o.d)(H.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},e?Object(h.createPortal)(b,e):b)}}]),n}(p.Component),$=["size"];var Z={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Q=function(t){var e=t.size,n=Object(a.a)(t,$);return Object(o.d)("svg",Object(r.a)({height:e,width:e,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Z},n))},J=function(t){return Object(o.d)(Q,Object(r.a)({size:20},t),Object(o.d)("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"}))},tt=function(t){return Object(o.d)(Q,Object(r.a)({size:20},t),Object(o.d)("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"}))},et=function(t){var e=t.isFocused,n=t.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:e?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:e?o.neutral80:o.neutral40}}},nt=et,rt=et,ot=Object(o.e)(X||(X=Object(i.a)(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"]))),it=function(t){var e=t.delay,n=t.offset;return Object(o.d)("span",{css:Object(o.c)({animation:"".concat(ot," 1s ease-in-out ").concat(e,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},at=function(t){var e=t.className,n=t.cx,i=t.getStyles,a=t.innerProps,s=t.isRtl;return Object(o.d)("div",Object(r.a)({css:i("loadingIndicator",t),className:n({indicator:!0,"loading-indicator":!0},e)},a),Object(o.d)(it,{delay:0,offset:s}),Object(o.d)(it,{delay:160,offset:!0}),Object(o.d)(it,{delay:320,offset:!s}))};at.defaultProps={size:4};var st=["data"],lt=["innerRef","isDisabled","isHidden","inputClassName"],ct={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ut={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":m({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ct)},dt=function(t){return m({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},ct)},ft=function(t){var e=t.children,n=t.innerProps;return Object(o.d)("div",n,e)};var pt={ClearIndicator:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.innerProps;return Object(o.d)("div",Object(r.a)({css:a("clearIndicator",t),className:i({indicator:!0,"clear-indicator":!0},n)},s),e||Object(o.d)(J,null))},Control:function(t){var e=t.children,n=t.cx,i=t.getStyles,a=t.className,s=t.isDisabled,l=t.isFocused,c=t.innerRef,u=t.innerProps,d=t.menuIsOpen;return Object(o.d)("div",Object(r.a)({ref:c,css:i("control",t),className:n({control:!0,"control--is-disabled":s,"control--is-focused":l,"control--menu-is-open":d},a)},u),e)},DropdownIndicator:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.innerProps;return Object(o.d)("div",Object(r.a)({css:a("dropdownIndicator",t),className:i({indicator:!0,"dropdown-indicator":!0},n)},s),e||Object(o.d)(tt,null))},DownChevron:tt,CrossIcon:J,Group:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.Heading,l=t.headingProps,c=t.innerProps,u=t.label,d=t.theme,f=t.selectProps;return Object(o.d)("div",Object(r.a)({css:a("group",t),className:i({group:!0},n)},c),Object(o.d)(s,Object(r.a)({},l,{selectProps:f,theme:d,getStyles:a,cx:i}),u),Object(o.d)("div",null,e))},GroupHeading:function(t){var e=t.getStyles,n=t.cx,i=t.className,s=k(t);s.data;var l=Object(a.a)(s,st);return Object(o.d)("div",Object(r.a)({css:e("groupHeading",t),className:n({"group-heading":!0},i)},l))},IndicatorsContainer:function(t){var e=t.children,n=t.className,i=t.cx,a=t.innerProps,s=t.getStyles;return Object(o.d)("div",Object(r.a)({css:s("indicatorsContainer",t),className:i({indicators:!0},n)},a),e)},IndicatorSeparator:function(t){var e=t.className,n=t.cx,i=t.getStyles,a=t.innerProps;return Object(o.d)("span",Object(r.a)({},a,{css:i("indicatorSeparator",t),className:n({"indicator-separator":!0},e)}))},Input:function(t){var e=t.className,n=t.cx,i=t.getStyles,s=t.value,l=k(t),c=l.innerRef,u=l.isDisabled,d=l.isHidden,f=l.inputClassName,p=Object(a.a)(l,lt);return Object(o.d)("div",{className:n({"input-container":!0},e),css:i("input",t),"data-value":s||""},Object(o.d)("input",Object(r.a)({className:n({input:!0},f),ref:c,style:dt(d),disabled:u},p)))},LoadingIndicator:at,Menu:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.innerRef,l=t.innerProps;return Object(o.d)("div",Object(r.a)({css:a("menu",t),className:i({menu:!0},n),ref:s},l),e)},MenuList:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.innerProps,l=t.innerRef,c=t.isMulti;return Object(o.d)("div",Object(r.a)({css:a("menuList",t),className:i({"menu-list":!0,"menu-list--is-multi":c},n),ref:l},s),e)},MenuPortal:K,LoadingMessage:Y,NoOptionsMessage:G,MultiValue:function(t){var e=t.children,n=t.className,r=t.components,i=t.cx,a=t.data,s=t.getStyles,l=t.innerProps,c=t.isDisabled,u=t.removeProps,d=t.selectProps,f=r.Container,p=r.Label,h=r.Remove;return Object(o.d)(o.a,null,(function(r){var v=r.css,g=r.cx;return Object(o.d)(f,{data:a,innerProps:m({className:g(v(s("multiValue",t)),i({"multi-value":!0,"multi-value--is-disabled":c},n))},l),selectProps:d},Object(o.d)(p,{data:a,innerProps:{className:g(v(s("multiValueLabel",t)),i({"multi-value__label":!0},n))},selectProps:d},e),Object(o.d)(h,{data:a,innerProps:m({className:g(v(s("multiValueRemove",t)),i({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(e||"option")},u),selectProps:d}))}))},MultiValueContainer:ft,MultiValueLabel:ft,MultiValueRemove:function(t){var e=t.children,n=t.innerProps;return Object(o.d)("div",Object(r.a)({role:"button"},n),e||Object(o.d)(J,{size:14}))},Option:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.isDisabled,l=t.isFocused,c=t.isSelected,u=t.innerRef,d=t.innerProps;return Object(o.d)("div",Object(r.a)({css:a("option",t),className:i({option:!0,"option--is-disabled":s,"option--is-focused":l,"option--is-selected":c},n),ref:u,"aria-disabled":s},d),e)},Placeholder:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.innerProps;return Object(o.d)("div",Object(r.a)({css:a("placeholder",t),className:i({placeholder:!0},n)},s),e)},SelectContainer:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.innerProps,l=t.isDisabled,c=t.isRtl;return Object(o.d)("div",Object(r.a)({css:a("container",t),className:i({"--is-disabled":l,"--is-rtl":c},n)},s),e)},SingleValue:function(t){var e=t.children,n=t.className,i=t.cx,a=t.getStyles,s=t.isDisabled,l=t.innerProps;return Object(o.d)("div",Object(r.a)({css:a("singleValue",t),className:i({"single-value":!0,"single-value--is-disabled":s},n)},l),e)},ValueContainer:function(t){var e=t.children,n=t.className,i=t.cx,a=t.innerProps,s=t.isMulti,l=t.getStyles,c=t.hasValue;return Object(o.d)("div",Object(r.a)({css:l("valueContainer",t),className:i({"value-container":!0,"value-container--is-multi":s,"value-container--has-value":c},n)},a),e)}},ht=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];var vt=n(14),gt=Number.isNaN||function(t){return"number"===typeof t&&t!==t};function mt(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(r=t[n],o=e[n],!(r===o||gt(r)&&gt(o)))return!1;var r,o;return!0}var bt=function(t,e){var n;void 0===e&&(e=mt);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&e(a,o)||(r=t.apply(this,a),i=!0,n=this,o=a),r}};for(var yt={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},xt=function(t){return Object(o.d)("span",Object(r.a)({css:yt},t))},wt={guidance:function(t){var e=t.isSearchable,n=t.isMulti,r=t.isDisabled,o=t.tabSelectsValue;switch(t.context){case"menu":return"Use Up and Down to choose options".concat(r?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(e?",type to refine list":"",", press Down to open the menu, ").concat(n?" 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";default:return""}},onChange:function(t){var e=t.action,n=t.label,r=void 0===n?"":n,o=t.labels,i=t.isDisabled;switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(t){var e=t.context,n=t.focused,r=t.options,o=t.label,i=void 0===o?"":o,a=t.selectValue,s=t.isDisabled,l=t.isSelected,c=function(t,e){return t&&t.length?"".concat(t.indexOf(e)+1," of ").concat(t.length):""};if("value"===e&&a)return"value ".concat(i," focused, ").concat(c(a,n),".");if("menu"===e){var u=s?" disabled":"",d="".concat(l?"selected":"focused").concat(u);return"option ".concat(i," ").concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(t){var e=t.inputValue,n=t.resultsMessage;return"".concat(n).concat(e?" for search term "+e:"",".")}},Ot=function(t){var e=t.ariaSelection,n=t.focusedOption,r=t.focusedValue,i=t.focusableOptions,a=t.isFocused,s=t.selectValue,l=t.selectProps,c=t.id,u=l.ariaLiveMessages,d=l.getOptionLabel,f=l.inputValue,h=l.isMulti,v=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,y=l.options,x=l.screenReaderStatus,w=l.tabSelectsValue,O=l["aria-label"],S=l["aria-live"],j=Object(p.useMemo)((function(){return m(m({},wt),u||{})}),[u]),C=Object(p.useMemo)((function(){var t,n="";if(e&&j.onChange){var r=e.option,o=e.options,i=e.removedValue,a=e.removedValues,l=e.value,c=i||r||(t=l,Array.isArray(t)?null:t),u=c?d(c):"",f=o||a||void 0,p=f?f.map(d):[],h=m({isDisabled:c&&v(c,s),label:u,labels:p},e);n=j.onChange(h)}return n}),[e,j,v,s,d]),k=Object(p.useMemo)((function(){var t="",e=n||r,o=!!(n&&s&&s.includes(n));if(e&&j.onFocus){var i={focused:e,label:d(e),isDisabled:v(e,s),isSelected:o,options:y,context:e===n?"menu":"value",selectValue:s};t=j.onFocus(i)}return t}),[n,r,d,v,j,y,s]),E=Object(p.useMemo)((function(){var t="";if(b&&y.length&&j.onFilter){var e=x({count:i.length});t=j.onFilter({inputValue:f,resultsMessage:e})}return t}),[i,f,b,j,y,x]),P=Object(p.useMemo)((function(){var t="";if(j.guidance){var e=r?"value":b?"menu":"input";t=j.guidance({"aria-label":O,context:e,isDisabled:n&&v(n,s),isMulti:h,isSearchable:g,tabSelectsValue:w})}return t}),[O,n,r,h,v,g,b,j,s,w]),_="".concat(k," ").concat(E," ").concat(P),M=Object(o.d)(p.Fragment,null,Object(o.d)("span",{id:"aria-selection"},C),Object(o.d)("span",{id:"aria-context"},_)),T="initial-input-focus"===(null===e||void 0===e?void 0:e.action);return Object(o.d)(p.Fragment,null,Object(o.d)(xt,{id:c},T&&M),Object(o.d)(xt,{"aria-live":S,"aria-atomic":"false","aria-relevant":"additions text"},a&&!T&&M))},St=[{base:"A",letters:"A\u24b6\uff21\xc0\xc1\xc2\u1ea6\u1ea4\u1eaa\u1ea8\xc3\u0100\u0102\u1eb0\u1eae\u1eb4\u1eb2\u0226\u01e0\xc4\u01de\u1ea2\xc5\u01fa\u01cd\u0200\u0202\u1ea0\u1eac\u1eb6\u1e00\u0104\u023a\u2c6f"},{base:"AA",letters:"\ua732"},{base:"AE",letters:"\xc6\u01fc\u01e2"},{base:"AO",letters:"\ua734"},{base:"AU",letters:"\ua736"},{base:"AV",letters:"\ua738\ua73a"},{base:"AY",letters:"\ua73c"},{base:"B",letters:"B\u24b7\uff22\u1e02\u1e04\u1e06\u0243\u0182\u0181"},{base:"C",letters:"C\u24b8\uff23\u0106\u0108\u010a\u010c\xc7\u1e08\u0187\u023b\ua73e"},{base:"D",letters:"D\u24b9\uff24\u1e0a\u010e\u1e0c\u1e10\u1e12\u1e0e\u0110\u018b\u018a\u0189\ua779"},{base:"DZ",letters:"\u01f1\u01c4"},{base:"Dz",letters:"\u01f2\u01c5"},{base:"E",letters:"E\u24ba\uff25\xc8\xc9\xca\u1ec0\u1ebe\u1ec4\u1ec2\u1ebc\u0112\u1e14\u1e16\u0114\u0116\xcb\u1eba\u011a\u0204\u0206\u1eb8\u1ec6\u0228\u1e1c\u0118\u1e18\u1e1a\u0190\u018e"},{base:"F",letters:"F\u24bb\uff26\u1e1e\u0191\ua77b"},{base:"G",letters:"G\u24bc\uff27\u01f4\u011c\u1e20\u011e\u0120\u01e6\u0122\u01e4\u0193\ua7a0\ua77d\ua77e"},{base:"H",letters:"H\u24bd\uff28\u0124\u1e22\u1e26\u021e\u1e24\u1e28\u1e2a\u0126\u2c67\u2c75\ua78d"},{base:"I",letters:"I\u24be\uff29\xcc\xcd\xce\u0128\u012a\u012c\u0130\xcf\u1e2e\u1ec8\u01cf\u0208\u020a\u1eca\u012e\u1e2c\u0197"},{base:"J",letters:"J\u24bf\uff2a\u0134\u0248"},{base:"K",letters:"K\u24c0\uff2b\u1e30\u01e8\u1e32\u0136\u1e34\u0198\u2c69\ua740\ua742\ua744\ua7a2"},{base:"L",letters:"L\u24c1\uff2c\u013f\u0139\u013d\u1e36\u1e38\u013b\u1e3c\u1e3a\u0141\u023d\u2c62\u2c60\ua748\ua746\ua780"},{base:"LJ",letters:"\u01c7"},{base:"Lj",letters:"\u01c8"},{base:"M",letters:"M\u24c2\uff2d\u1e3e\u1e40\u1e42\u2c6e\u019c"},{base:"N",letters:"N\u24c3\uff2e\u01f8\u0143\xd1\u1e44\u0147\u1e46\u0145\u1e4a\u1e48\u0220\u019d\ua790\ua7a4"},{base:"NJ",letters:"\u01ca"},{base:"Nj",letters:"\u01cb"},{base:"O",letters:"O\u24c4\uff2f\xd2\xd3\xd4\u1ed2\u1ed0\u1ed6\u1ed4\xd5\u1e4c\u022c\u1e4e\u014c\u1e50\u1e52\u014e\u022e\u0230\xd6\u022a\u1ece\u0150\u01d1\u020c\u020e\u01a0\u1edc\u1eda\u1ee0\u1ede\u1ee2\u1ecc\u1ed8\u01ea\u01ec\xd8\u01fe\u0186\u019f\ua74a\ua74c"},{base:"OI",letters:"\u01a2"},{base:"OO",letters:"\ua74e"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24c5\uff30\u1e54\u1e56\u01a4\u2c63\ua750\ua752\ua754"},{base:"Q",letters:"Q\u24c6\uff31\ua756\ua758\u024a"},{base:"R",letters:"R\u24c7\uff32\u0154\u1e58\u0158\u0210\u0212\u1e5a\u1e5c\u0156\u1e5e\u024c\u2c64\ua75a\ua7a6\ua782"},{base:"S",letters:"S\u24c8\uff33\u1e9e\u015a\u1e64\u015c\u1e60\u0160\u1e66\u1e62\u1e68\u0218\u015e\u2c7e\ua7a8\ua784"},{base:"T",letters:"T\u24c9\uff34\u1e6a\u0164\u1e6c\u021a\u0162\u1e70\u1e6e\u0166\u01ac\u01ae\u023e\ua786"},{base:"TZ",letters:"\ua728"},{base:"U",letters:"U\u24ca\uff35\xd9\xda\xdb\u0168\u1e78\u016a\u1e7a\u016c\xdc\u01db\u01d7\u01d5\u01d9\u1ee6\u016e\u0170\u01d3\u0214\u0216\u01af\u1eea\u1ee8\u1eee\u1eec\u1ef0\u1ee4\u1e72\u0172\u1e76\u1e74\u0244"},{base:"V",letters:"V\u24cb\uff36\u1e7c\u1e7e\u01b2\ua75e\u0245"},{base:"VY",letters:"\ua760"},{base:"W",letters:"W\u24cc\uff37\u1e80\u1e82\u0174\u1e86\u1e84\u1e88\u2c72"},{base:"X",letters:"X\u24cd\uff38\u1e8a\u1e8c"},{base:"Y",letters:"Y\u24ce\uff39\u1ef2\xdd\u0176\u1ef8\u0232\u1e8e\u0178\u1ef6\u1ef4\u01b3\u024e\u1efe"},{base:"Z",letters:"Z\u24cf\uff3a\u0179\u1e90\u017b\u017d\u1e92\u1e94\u01b5\u0224\u2c7f\u2c6b\ua762"},{base:"a",letters:"a\u24d0\uff41\u1e9a\xe0\xe1\xe2\u1ea7\u1ea5\u1eab\u1ea9\xe3\u0101\u0103\u1eb1\u1eaf\u1eb5\u1eb3\u0227\u01e1\xe4\u01df\u1ea3\xe5\u01fb\u01ce\u0201\u0203\u1ea1\u1ead\u1eb7\u1e01\u0105\u2c65\u0250"},{base:"aa",letters:"\ua733"},{base:"ae",letters:"\xe6\u01fd\u01e3"},{base:"ao",letters:"\ua735"},{base:"au",letters:"\ua737"},{base:"av",letters:"\ua739\ua73b"},{base:"ay",letters:"\ua73d"},{base:"b",letters:"b\u24d1\uff42\u1e03\u1e05\u1e07\u0180\u0183\u0253"},{base:"c",letters:"c\u24d2\uff43\u0107\u0109\u010b\u010d\xe7\u1e09\u0188\u023c\ua73f\u2184"},{base:"d",letters:"d\u24d3\uff44\u1e0b\u010f\u1e0d\u1e11\u1e13\u1e0f\u0111\u018c\u0256\u0257\ua77a"},{base:"dz",letters:"\u01f3\u01c6"},{base:"e",letters:"e\u24d4\uff45\xe8\xe9\xea\u1ec1\u1ebf\u1ec5\u1ec3\u1ebd\u0113\u1e15\u1e17\u0115\u0117\xeb\u1ebb\u011b\u0205\u0207\u1eb9\u1ec7\u0229\u1e1d\u0119\u1e19\u1e1b\u0247\u025b\u01dd"},{base:"f",letters:"f\u24d5\uff46\u1e1f\u0192\ua77c"},{base:"g",letters:"g\u24d6\uff47\u01f5\u011d\u1e21\u011f\u0121\u01e7\u0123\u01e5\u0260\ua7a1\u1d79\ua77f"},{base:"h",letters:"h\u24d7\uff48\u0125\u1e23\u1e27\u021f\u1e25\u1e29\u1e2b\u1e96\u0127\u2c68\u2c76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24d8\uff49\xec\xed\xee\u0129\u012b\u012d\xef\u1e2f\u1ec9\u01d0\u0209\u020b\u1ecb\u012f\u1e2d\u0268\u0131"},{base:"j",letters:"j\u24d9\uff4a\u0135\u01f0\u0249"},{base:"k",letters:"k\u24da\uff4b\u1e31\u01e9\u1e33\u0137\u1e35\u0199\u2c6a\ua741\ua743\ua745\ua7a3"},{base:"l",letters:"l\u24db\uff4c\u0140\u013a\u013e\u1e37\u1e39\u013c\u1e3d\u1e3b\u017f\u0142\u019a\u026b\u2c61\ua749\ua781\ua747"},{base:"lj",letters:"\u01c9"},{base:"m",letters:"m\u24dc\uff4d\u1e3f\u1e41\u1e43\u0271\u026f"},{base:"n",letters:"n\u24dd\uff4e\u01f9\u0144\xf1\u1e45\u0148\u1e47\u0146\u1e4b\u1e49\u019e\u0272\u0149\ua791\ua7a5"},{base:"nj",letters:"\u01cc"},{base:"o",letters:"o\u24de\uff4f\xf2\xf3\xf4\u1ed3\u1ed1\u1ed7\u1ed5\xf5\u1e4d\u022d\u1e4f\u014d\u1e51\u1e53\u014f\u022f\u0231\xf6\u022b\u1ecf\u0151\u01d2\u020d\u020f\u01a1\u1edd\u1edb\u1ee1\u1edf\u1ee3\u1ecd\u1ed9\u01eb\u01ed\xf8\u01ff\u0254\ua74b\ua74d\u0275"},{base:"oi",letters:"\u01a3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\ua74f"},{base:"p",letters:"p\u24df\uff50\u1e55\u1e57\u01a5\u1d7d\ua751\ua753\ua755"},{base:"q",letters:"q\u24e0\uff51\u024b\ua757\ua759"},{base:"r",letters:"r\u24e1\uff52\u0155\u1e59\u0159\u0211\u0213\u1e5b\u1e5d\u0157\u1e5f\u024d\u027d\ua75b\ua7a7\ua783"},{base:"s",letters:"s\u24e2\uff53\xdf\u015b\u1e65\u015d\u1e61\u0161\u1e67\u1e63\u1e69\u0219\u015f\u023f\ua7a9\ua785\u1e9b"},{base:"t",letters:"t\u24e3\uff54\u1e6b\u1e97\u0165\u1e6d\u021b\u0163\u1e71\u1e6f\u0167\u01ad\u0288\u2c66\ua787"},{base:"tz",letters:"\ua729"},{base:"u",letters:"u\u24e4\uff55\xf9\xfa\xfb\u0169\u1e79\u016b\u1e7b\u016d\xfc\u01dc\u01d8\u01d6\u01da\u1ee7\u016f\u0171\u01d4\u0215\u0217\u01b0\u1eeb\u1ee9\u1eef\u1eed\u1ef1\u1ee5\u1e73\u0173\u1e77\u1e75\u0289"},{base:"v",letters:"v\u24e5\uff56\u1e7d\u1e7f\u028b\ua75f\u028c"},{base:"vy",letters:"\ua761"},{base:"w",letters:"w\u24e6\uff57\u1e81\u1e83\u0175\u1e87\u1e85\u1e98\u1e89\u2c73"},{base:"x",letters:"x\u24e7\uff58\u1e8b\u1e8d"},{base:"y",letters:"y\u24e8\uff59\u1ef3\xfd\u0177\u1ef9\u0233\u1e8f\xff\u1ef7\u1e99\u1ef5\u01b4\u024f\u1eff"},{base:"z",letters:"z\u24e9\uff5a\u017a\u1e91\u017c\u017e\u1e93\u1e95\u01b6\u0225\u0240\u2c6c\ua763"}],jt=new RegExp("["+St.map((function(t){return t.letters})).join("")+"]","g"),Ct={},kt=0;kt<St.length;kt++)for(var Et=St[kt],Pt=0;Pt<Et.letters.length;Pt++)Ct[Et.letters[Pt]]=Et.base;var _t=function(t){return t.replace(jt,(function(t){return Ct[t]}))},Mt=bt(_t),Tt=function(t){return t.replace(/^\s+|\s+$/g,"")},At=function(t){return"".concat(t.label," ").concat(t.value)},Rt=["innerRef"];function Dt(t){var e=t.innerRef,n=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];var o=Object.entries(t).filter((function(t){var e=Object(s.a)(t,1)[0];return!n.includes(e)}));return o.reduce((function(t,e){var n=Object(s.a)(e,2),r=n[0],o=n[1];return t[r]=o,t}),{})}(Object(a.a)(t,Rt),"onExited","in","enter","exit","appear");return Object(o.d)("input",Object(r.a)({ref:e},n,{css:Object(o.c)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var It=["boxSizing","height","overflow","paddingRight","position"],Nt={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Lt(t){t.preventDefault()}function Ft(t){t.stopPropagation()}function Bt(){var t=this.scrollTop,e=this.scrollHeight,n=t+this.offsetHeight;0===t?this.scrollTop=1:n===e&&(this.scrollTop=t-1)}function zt(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ht=!("undefined"===typeof window||!window.document||!window.document.createElement),Vt=0,Ut={capture:!1,passive:!1};var Wt=function(){return document.activeElement&&document.activeElement.blur()},qt={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Gt(t){var e=t.children,n=t.lockEnabled,r=t.captureEnabled,i=function(t){var e=t.isEnabled,n=t.onBottomArrive,r=t.onBottomLeave,o=t.onTopArrive,i=t.onTopLeave,a=Object(p.useRef)(!1),s=Object(p.useRef)(!1),l=Object(p.useRef)(0),c=Object(p.useRef)(null),u=Object(p.useCallback)((function(t,e){if(null!==c.current){var l=c.current,u=l.scrollTop,d=l.scrollHeight,f=l.clientHeight,p=c.current,h=e>0,v=d-f-u,g=!1;v>e&&a.current&&(r&&r(t),a.current=!1),h&&s.current&&(i&&i(t),s.current=!1),h&&e>v?(n&&!a.current&&n(t),p.scrollTop=d,g=!0,a.current=!0):!h&&-e>u&&(o&&!s.current&&o(t),p.scrollTop=0,g=!0,s.current=!0),g&&function(t){t.preventDefault(),t.stopPropagation()}(t)}}),[n,r,o,i]),d=Object(p.useCallback)((function(t){u(t,t.deltaY)}),[u]),f=Object(p.useCallback)((function(t){l.current=t.changedTouches[0].clientY}),[]),h=Object(p.useCallback)((function(t){var e=l.current-t.changedTouches[0].clientY;u(t,e)}),[u]),v=Object(p.useCallback)((function(t){if(t){var e=!!N&&{passive:!1};t.addEventListener("wheel",d,e),t.addEventListener("touchstart",f,e),t.addEventListener("touchmove",h,e)}}),[h,f,d]),g=Object(p.useCallback)((function(t){t&&(t.removeEventListener("wheel",d,!1),t.removeEventListener("touchstart",f,!1),t.removeEventListener("touchmove",h,!1))}),[h,f,d]);return Object(p.useEffect)((function(){if(e){var t=c.current;return v(t),function(){g(t)}}}),[e,v,g]),function(t){c.current=t}}({isEnabled:void 0===r||r,onBottomArrive:t.onBottomArrive,onBottomLeave:t.onBottomLeave,onTopArrive:t.onTopArrive,onTopLeave:t.onTopLeave}),a=function(t){var e=t.isEnabled,n=t.accountForScrollbars,r=void 0===n||n,o=Object(p.useRef)({}),i=Object(p.useRef)(null),a=Object(p.useCallback)((function(t){if(Ht){var e=document.body,n=e&&e.style;if(r&&It.forEach((function(t){var e=n&&n[t];o.current[t]=e})),r&&Vt<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(Nt).forEach((function(t){var e=Nt[t];n&&(n[t]=e)})),n&&(n.paddingRight="".concat(s,"px"))}e&&zt()&&(e.addEventListener("touchmove",Lt,Ut),t&&(t.addEventListener("touchstart",Bt,Ut),t.addEventListener("touchmove",Ft,Ut))),Vt+=1}}),[r]),s=Object(p.useCallback)((function(t){if(Ht){var e=document.body,n=e&&e.style;Vt=Math.max(Vt-1,0),r&&Vt<1&&It.forEach((function(t){var e=o.current[t];n&&(n[t]=e)})),e&&zt()&&(e.removeEventListener("touchmove",Lt,Ut),t&&(t.removeEventListener("touchstart",Bt,Ut),t.removeEventListener("touchmove",Ft,Ut)))}}),[r]);return Object(p.useEffect)((function(){if(e){var t=i.current;return a(t),function(){s(t)}}}),[e,a,s]),function(t){i.current=t}}({isEnabled:n});return Object(o.d)(p.Fragment,null,n&&Object(o.d)("div",{onClick:Wt,css:qt}),e((function(t){i(t),a(t)})))}var Yt={clearIndicator:rt,container:function(t){var e=t.isDisabled;return{label:"container",direction:t.isRtl?"rtl":void 0,pointerEvents:e?"none":void 0,position:"relative"}},control:function(t){var e=t.isDisabled,n=t.isFocused,r=t.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:e?o.neutral5:o.neutral0,borderColor:e?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:nt,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{label:"group",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,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:e?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(t){var e=t.isDisabled,n=t.value,r=t.theme,o=r.spacing,i=r.colors;return m({margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,visibility:e?"hidden":"visible",color:i.neutral80,transform:n?"translateZ(0)":""},ut)},loadingIndicator:function(t){var e=t.isFocused,n=t.size,r=t.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:e?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:q,menu:function(t){var e,n=t.placement,r=t.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return e={label:"menu"},Object(f.a)(e,function(t){return t?{bottom:"top",top:"bottom"}[t]:"bottom"}(n),"100%"),Object(f.a)(e,"backgroundColor",a.neutral0),Object(f.a)(e,"borderRadius",o),Object(f.a)(e,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Object(f.a)(e,"marginBottom",i.menuGutter),Object(f.a)(e,"marginTop",i.menuGutter),Object(f.a)(e,"position","absolute"),Object(f.a)(e,"width","100%"),Object(f.a)(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{label:"multiValue",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,o=t.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"}},multiValueRemove:function(t){var e=t.theme,n=e.spacing,r=e.borderRadius,o=e.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:t.isFocused?o.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:W,option:function(t){var e=t.isDisabled,n=t.isFocused,r=t.isSelected,o=t.theme,i=o.spacing,a=o.colors;return{label:"option",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*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:e?void 0:r?a.primary:a.primary50}}},placeholder:function(t){var e=t.theme,n=e.spacing;return{label:"placeholder",color:e.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},singleValue:function(t){var e=t.isDisabled,n=t.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:e?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},valueContainer:function(t){var e=t.theme.spacing,n=t.isMulti,r=t.hasValue,o=t.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(e.baseUnit/2,"px ").concat(2*e.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var Xt,Kt={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}},$t={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:A(),captureMenuScroll:!A(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(t,e){if(t.data.__isNew__)return!0;var n=m({ignoreCase:!0,ignoreAccents:!0,stringify:At,trim:!0,matchFrom:"any"},Xt),r=n.ignoreCase,o=n.ignoreAccents,i=n.stringify,a=n.trim,s=n.matchFrom,l=a?Tt(e):e,c=a?Tt(i(t)):i(t);return r&&(l=l.toLowerCase(),c=c.toLowerCase()),o&&(l=Mt(l),c=_t(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-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(de){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};function Zt(t,e,n,r){return{type:"option",data:e,isDisabled:re(t,e,n),isSelected:oe(t,e,n),label:ee(t,e),value:ne(t,e),index:r}}function Qt(t,e){return t.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Zt(t,n,e,r)})).filter((function(e){return te(t,e)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var i=Zt(t,n,e,r);return te(t,i)?i:void 0})).filter(L)}function Jt(t){return t.reduce((function(t,e){return"group"===e.type?t.push.apply(t,Object(vt.a)(e.options.map((function(t){return t.data})))):t.push(e.data),t}),[])}function te(t,e){var n=t.inputValue,r=void 0===n?"":n,o=e.data,i=e.isSelected,a=e.label,s=e.value;return(!ae(t)||!i)&&ie(t,{label:a,value:s,data:o},r)}var ee=function(t,e){return t.getOptionLabel(e)},ne=function(t,e){return t.getOptionValue(e)};function re(t,e,n){return"function"===typeof t.isOptionDisabled&&t.isOptionDisabled(e,n)}function oe(t,e,n){if(n.indexOf(e)>-1)return!0;if("function"===typeof t.isOptionSelected)return t.isOptionSelected(e,n);var r=ne(t,e);return n.some((function(e){return ne(t,e)===r}))}function ie(t,e,n){return!t.filterOption||t.filterOption(e,n)}var ae=function(t){var e=t.hideSelectedOptions,n=t.isMulti;return void 0===e?n:e},se=1,le=function(t){Object(d.a)(n,t);var e=x(n);function n(t){var r;return Object(c.a)(this,n),(r=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(t){r.controlRef=t},r.focusedOptionRef=null,r.getFocusedOptionRef=function(t){r.focusedOptionRef=t},r.menuListRef=null,r.getMenuListRef=function(t){r.menuListRef=t},r.inputRef=null,r.getInputRef=function(t){r.inputRef=t},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(t,e){var n=r.props,o=n.onChange,i=n.name;e.name=i,r.ariaOnChange(t,e),o(t,e)},r.setValue=function(t,e,n){var o=r.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(t,{action:e,option:n})},r.selectOption=function(t){var e=r.props,n=e.blurInputOnSelect,o=e.isMulti,i=e.name,a=r.state.selectValue,s=o&&r.isOptionSelected(t,a),l=r.isOptionDisabled(t,a);if(s){var c=r.getOptionValue(t);r.setValue(a.filter((function(t){return r.getOptionValue(t)!==c})),"deselect-option",t)}else{if(l)return void r.ariaOnChange(t,{action:"select-option",option:t,name:i});o?r.setValue([].concat(Object(vt.a)(a),[t]),"select-option",t):r.setValue(t,"select-option")}n&&r.blurInput()},r.removeValue=function(t){var e=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(t),i=n.filter((function(t){return r.getOptionValue(t)!==o})),a=F(e,i,i[0]||null);r.onChange(a,{action:"remove-value",removedValue:t}),r.focusInput()},r.clearValue=function(){var t=r.state.selectValue;r.onChange(F(r.props.isMulti,[],null),{action:"clear",removedValues:t})},r.popValue=function(){var t=r.props.isMulti,e=r.state.selectValue,n=e[e.length-1],o=e.slice(0,e.length-1),i=F(t,o,o[0]||null);r.onChange(i,{action:"pop-value",removedValue:n})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return j.apply(void 0,[r.props.classNamePrefix].concat(e))},r.getOptionLabel=function(t){return ee(r.props,t)},r.getOptionValue=function(t){return ne(r.props,t)},r.getStyles=function(t,e){var n=Yt[t](e);n.boxSizing="border-box";var o=r.props.styles[t];return o?o(n,e):n},r.getElementId=function(t){return"".concat(r.instancePrefix,"-").concat(t)},r.getComponents=function(){return t=r.props,m(m({},pt),t.components);var t},r.buildCategorizedOptions=function(){return Qt(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Jt(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(t,e){r.setState({ariaSelection:m({value:t},e)})},r.onMenuMouseDown=function(t){0===t.button&&(t.stopPropagation(),t.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(t){r.blockOptionHover=!1},r.onControlMouseDown=function(t){if(!t.defaultPrevented){var e=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&r.onMenuClose():e&&r.openMenu("first"):(e&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&t.preventDefault()}},r.onDropdownIndicatorMouseDown=function(t){if((!t||"mousedown"!==t.type||0===t.button)&&!r.props.isDisabled){var e=r.props,n=e.isMulti,o=e.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),t.preventDefault()}},r.onClearIndicatorMouseDown=function(t){t&&"mousedown"===t.type&&0!==t.button||(r.clearValue(),t.preventDefault(),r.openAfterFocus=!1,"touchend"===t.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(t){"boolean"===typeof r.props.closeMenuOnScroll?t.target instanceof HTMLElement&&E(t.target)&&r.props.onMenuClose():"function"===typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(t)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(t){var e=t.touches,n=e&&e.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(t){var e=t.touches,n=e&&e.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),i=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||i>5}},r.onTouchEnd=function(t){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(t.target)&&r.menuListRef&&!r.menuListRef.contains(t.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(t){r.userIsDragging||r.onControlMouseDown(t)},r.onClearIndicatorTouchEnd=function(t){r.userIsDragging||r.onClearIndicatorMouseDown(t)},r.onDropdownIndicatorTouchEnd=function(t){r.userIsDragging||r.onDropdownIndicatorMouseDown(t)},r.handleInputChange=function(t){var e=r.props.inputValue,n=t.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:e}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(t){r.props.onFocus&&r.props.onFocus(t),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(t){var e=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(t),r.onInputChange("",{action:"input-blur",prevInputValue:e}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(t){r.blockOptionHover||r.state.focusedOption===t||r.setState({focusedOption:t})},r.shouldHideSelectedOptions=function(){return ae(r.props)},r.onKeyDown=function(t){var e=r.props,n=e.isMulti,o=e.backspaceRemovesValue,i=e.escapeClearsValue,a=e.inputValue,s=e.isClearable,l=e.isDisabled,c=e.menuIsOpen,u=e.onKeyDown,d=e.tabSelectsValue,f=e.openMenuOnFocus,p=r.state,h=p.focusedOption,v=p.focusedValue,g=p.selectValue;if(!l&&("function"!==typeof u||(u(t),!t.defaultPrevented))){switch(r.blockOptionHover=!0,t.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(v)r.removeValue(v);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(t.shiftKey||!c||!d||!h||f&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===t.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&i&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}t.preventDefault()}},r.instancePrefix="react-select-"+(r.props.instanceId||++se),r.state.selectValue=C(t.value),r}return Object(u.a)(n,[{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:"componentDidUpdate",value:function(t){var e=this.props,n=e.isDisabled,r=e.menuIsOpen,o=this.state.isFocused;(o&&!n&&t.isDisabled||o&&r&&!t.menuIsOpen)&&this.focusInput(),o&&n&&!t.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(!function(t,e){var n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),o=e.offsetHeight/3;r.bottom+o>n.bottom?_(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+o,t.scrollHeight)):r.top-o<n.top&&_(t,Math.max(e.offsetTop-o,0))}(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(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),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,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildFocusableOptions(),a="first"===t?0:i.length-1;if(!this.props.isMulti){var s=i.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[a]},(function(){return e.onMenuOpen()}))}},{key:"focusValue",value:function(t){var e=this.state,n=e.selectValue,r=e.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var i=n.length-1,a=-1;if(n.length){switch(t){case"previous":a=0===o?0:-1===o?i:o-1;break;case"next":o>-1&&o<i&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",e=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,i=r.indexOf(n);n||(i=-1),"up"===t?o=i>0?i-1:r.length-1:"down"===t?o=(i+1)%r.length:"pageup"===t?(o=i-e)<0&&(o=0):"pagedown"===t?(o=i+e)>r.length-1&&(o=r.length-1):"last"===t&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?"function"===typeof this.props.theme?this.props.theme(Kt):m(m({},Kt),this.props.theme):Kt}},{key:"getCommonProps",value:function(){var t=this.clearValue,e=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,l=a.isRtl,c=a.options;return{clearValue:t,cx:e,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:c,selectOption:o,selectProps:a,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().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 re(this.props,t,e)}},{key:"isOptionSelected",value:function(t,e){return oe(this.props,t,e)}},{key:"filterOption",value:function(t,e){return ie(this.props,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:"renderInput",value:function(){var t=this.props,e=t.isDisabled,n=t.isSearchable,o=t.inputId,i=t.inputValue,a=t.tabIndex,s=t.form,l=t.menuIsOpen,c=this.getComponents().Input,u=this.state,d=u.inputIsHidden,f=u.ariaSelection,h=this.commonProps,v=o||this.getElementId("input"),g=m(m(m({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],role:"combobox"},l&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null===f||void 0===f?void 0:f.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?p.createElement(c,Object(r.a)({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:e,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:i},g)):p.createElement(Dt,Object(r.a)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:O,onFocus:this.onInputFocus,disabled:e,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var t=this,e=this.getComponents(),n=e.MultiValue,o=e.MultiValueContainer,i=e.MultiValueLabel,a=e.MultiValueRemove,s=e.SingleValue,l=e.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,f=u.isDisabled,h=u.isMulti,v=u.inputValue,g=u.placeholder,m=this.state,b=m.selectValue,y=m.focusedValue,x=m.isFocused;if(!this.hasValue()||!d)return v?null:p.createElement(l,Object(r.a)({},c,{key:"placeholder",isDisabled:f,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return b.map((function(e,s){var l=e===y,u="".concat(t.getOptionLabel(e),"-").concat(t.getOptionValue(e));return p.createElement(n,Object(r.a)({},c,{components:{Container:o,Label:i,Remove:a},isFocused:l,isDisabled:f,key:u,index:s,removeProps:{onClick:function(){return t.removeValue(e)},onTouchEnd:function(){return t.removeValue(e)},onMouseDown:function(t){t.preventDefault()}},data:e}),t.formatOptionLabel(e,"value"))}));if(v)return null;var w=b[0];return p.createElement(s,Object(r.a)({},c,{data:w,isDisabled:f}),this.formatOptionLabel(w,"value"))}},{key:"renderClearIndicator",value:function(){var t=this.getComponents().ClearIndicator,e=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!t||o||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(t,Object(r.a)({},e,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var t=this.getComponents().LoadingIndicator,e=this.commonProps,n=this.props,o=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!t||!i)return null;return p.createElement(t,Object(r.a)({},e,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var t=this.getComponents(),e=t.DropdownIndicator,n=t.IndicatorSeparator;if(!e||!n)return null;var o=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return p.createElement(n,Object(r.a)({},o,{isDisabled:i,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var t=this.getComponents().DropdownIndicator;if(!t)return null;var e=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(t,Object(r.a)({},e,{innerProps:i,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var t=this,e=this.getComponents(),n=e.Group,o=e.GroupHeading,i=e.Menu,a=e.MenuList,s=e.MenuPortal,l=e.LoadingMessage,c=e.NoOptionsMessage,u=e.Option,d=this.commonProps,f=this.state.focusedOption,h=this.props,v=h.captureMenuScroll,g=h.inputValue,m=h.isLoading,b=h.loadingMessage,y=h.minMenuHeight,x=h.maxMenuHeight,w=h.menuIsOpen,O=h.menuPlacement,S=h.menuPosition,j=h.menuPortalTarget,C=h.menuShouldBlockScroll,k=h.menuShouldScrollIntoView,E=h.noOptionsMessage,P=h.onMenuScrollToTop,_=h.onMenuScrollToBottom;if(!w)return null;var M,T=function(e,n){var o=e.type,i=e.data,a=e.isDisabled,s=e.isSelected,l=e.label,c=e.value,h=f===i,v=a?void 0:function(){return t.onOptionHover(i)},g=a?void 0:function(){return t.selectOption(i)},m="".concat(t.getElementId("option"),"-").concat(n),b={id:m,onClick:g,onMouseMove:v,onMouseOver:v,tabIndex:-1};return p.createElement(u,Object(r.a)({},d,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:m,label:l,type:o,value:c,isFocused:h,innerRef:h?t.getFocusedOptionRef:void 0}),t.formatOptionLabel(e.data,"menu"))};if(this.hasOptions())M=this.getCategorizedOptions().map((function(e){if("group"===e.type){var i=e.data,a=e.options,s=e.index,l="".concat(t.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return p.createElement(n,Object(r.a)({},d,{key:l,data:i,options:a,Heading:o,headingProps:{id:c,data:e.data},label:t.formatGroupLabel(e.data)}),e.options.map((function(t){return T(t,"".concat(s,"-").concat(t.index))})))}if("option"===e.type)return T(e,"".concat(e.index))}));else if(m){var A=b({inputValue:g});if(null===A)return null;M=p.createElement(l,d,A)}else{var R=E({inputValue:g});if(null===R)return null;M=p.createElement(c,d,R)}var D={minMenuHeight:y,maxMenuHeight:x,menuPlacement:O,menuPosition:S,menuShouldScrollIntoView:k},I=p.createElement(V,Object(r.a)({},d,D),(function(e){var n=e.ref,o=e.placerProps,s=o.placement,l=o.maxHeight;return p.createElement(i,Object(r.a)({},d,D,{innerRef:n,innerProps:{onMouseDown:t.onMenuMouseDown,onMouseMove:t.onMenuMouseMove,id:t.getElementId("listbox")},isLoading:m,placement:s}),p.createElement(Gt,{captureEnabled:v,onTopArrive:P,onBottomArrive:_,lockEnabled:C},(function(e){return p.createElement(a,Object(r.a)({},d,{innerRef:function(n){t.getMenuListRef(n),e(n)},isLoading:m,maxHeight:l,focusedOption:f}),M)})))}));return j||"fixed"===S?p.createElement(s,Object(r.a)({},d,{appendTo:j,controlElement:this.controlRef,menuPlacement:O,menuPosition:S}),I):I}},{key:"renderFormField",value:function(){var t=this,e=this.props,n=e.delimiter,r=e.isDisabled,o=e.isMulti,i=e.name,a=this.state.selectValue;if(i&&!r){if(o){if(n){var s=a.map((function(e){return t.getOptionValue(e)})).join(n);return p.createElement("input",{name:i,type:"hidden",value:s})}var l=a.length>0?a.map((function(e,n){return p.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:t.getOptionValue(e)})})):p.createElement("input",{name:i,type:"hidden"});return p.createElement("div",null,l)}var c=a[0]?this.getOptionValue(a[0]):"";return p.createElement("input",{name:i,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var t=this.commonProps,e=this.state,n=e.ariaSelection,o=e.focusedOption,i=e.focusedValue,a=e.isFocused,s=e.selectValue,l=this.getFocusableOptions();return p.createElement(Ot,Object(r.a)({},t,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:l}))}},{key:"render",value:function(){var t=this.getComponents(),e=t.Control,n=t.IndicatorsContainer,o=t.SelectContainer,i=t.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return p.createElement(o,Object(r.a)({},f,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),p.createElement(e,Object(r.a)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),p.createElement(i,Object(r.a)({},f,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),p.createElement(n,Object(r.a)({},f,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.prevProps,r=e.clearFocusValueOnUpdate,o=e.inputIsHiddenAfterUpdate,i=e.ariaSelection,a=e.isFocused,s=e.prevWasFocused,l=t.options,c=t.value,u=t.menuIsOpen,d=t.inputValue,f=t.isMulti,p=C(c),h={};if(n&&(c!==n.value||l!==n.options||u!==n.menuIsOpen||d!==n.inputValue)){var v=u?function(t,e){return Jt(Qt(t,e))}(t,p):[],g=r?function(t,e){var n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null}(e,p):null,b=function(t,e){var n=t.focusedOption;return n&&e.indexOf(n)>-1?n:e[0]}(e,v);h={selectValue:p,focusedOption:b,focusedValue:g,clearFocusValueOnUpdate:!1}}var y=null!=o&&t!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},x=i,w=a&&s;return a&&!w&&(x={value:F(f,p,p[0]||null),options:p,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null===i||void 0===i?void 0:i.action)&&(x=null),m(m(m({},h),y),{},{prevProps:t,ariaSelection:x,prevWasFocused:w})}}]),n}(p.Component);le.defaultProps=$t;var ce=n(112),ue=n(401),de="-ms-",fe="-moz-",pe="-webkit-",he="comm",ve="rule",ge="decl",me="@keyframes",be=Math.abs,ye=String.fromCharCode,xe=Object.assign;function we(t){return t.trim()}function Oe(t,e,n){return t.replace(e,n)}function Se(t,e){return t.indexOf(e)}function je(t,e){return 0|t.charCodeAt(e)}function Ce(t,e,n){return t.slice(e,n)}function ke(t){return t.length}function Ee(t){return t.length}function Pe(t,e){return e.push(t),t}function _e(t,e){return t.map(e).join("")}var Me=1,Te=1,Ae=0,Re=0,De=0,Ie="";function Ne(t,e,n,r,o,i,a){return{value:t,root:e,parent:n,type:r,props:o,children:i,line:Me,column:Te,length:a,return:""}}function Le(t,e){return xe(Ne("",null,null,"",null,null,0),t,{length:-t.length},e)}function Fe(){return De=Re>0?je(Ie,--Re):0,Te--,10===De&&(Te=1,Me--),De}function Be(){return De=Re<Ae?je(Ie,Re++):0,Te++,10===De&&(Te=1,Me++),De}function ze(){return je(Ie,Re)}function He(){return Re}function Ve(t,e){return Ce(Ie,t,e)}function Ue(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function We(t){return Me=Te=1,Ae=ke(Ie=t),Re=0,[]}function qe(t){return Ie="",t}function Ge(t){return we(Ve(Re-1,Ke(91===t?t+2:40===t?t+1:t)))}function Ye(t){for(;(De=ze())&&De<33;)Be();return Ue(t)>2||Ue(De)>3?"":" "}function Xe(t,e){for(;--e&&Be()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return Ve(t,He()+(e<6&&32==ze()&&32==Be()))}function Ke(t){for(;Be();)switch(De){case t:return Re;case 34:case 39:34!==t&&39!==t&&Ke(De);break;case 40:41===t&&Ke(t);break;case 92:Be()}return Re}function $e(t,e){for(;Be()&&t+De!==57&&(t+De!==84||47!==ze()););return"/*"+Ve(e,Re-1)+"*"+ye(47===t?t:Be())}function Ze(t){for(;!Ue(ze());)Be();return Ve(t,Re)}function Qe(t){return qe(Je("",null,null,null,[""],t=We(t),0,[0],t))}function Je(t,e,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,v=1,g=1,m=1,b=0,y="",x=o,w=i,O=r,S=y;g;)switch(h=b,b=Be()){case 40:if(108!=h&&58==S.charCodeAt(d-1)){-1!=Se(S+=Oe(Ge(b),"&","&\f"),"&\f")&&(m=-1);break}case 34:case 39:case 91:S+=Ge(b);break;case 9:case 10:case 13:case 32:S+=Ye(h);break;case 92:S+=Xe(He()-1,7);continue;case 47:switch(ze()){case 42:case 47:Pe(en($e(Be(),He()),e,n),l);break;default:S+="/"}break;case 123*v:s[c++]=ke(S)*m;case 125*v:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:p>0&&ke(S)-d&&Pe(p>32?nn(S+";",r,n,d-1):nn(Oe(S," ","")+";",r,n,d-2),l);break;case 59:S+=";";default:if(Pe(O=tn(S,e,n,c,u,o,s,y,x=[],w=[],d),i),123===b)if(0===u)Je(S,e,O,O,x,i,d,s,w);else switch(f){case 100:case 109:case 115:Je(t,O,O,r&&Pe(tn(t,O,O,0,0,o,s,y,o,x=[],d),w),o,w,d,s,r?x:w);break;default:Je(S,O,O,O,[""],w,0,s,w)}}c=u=p=0,v=m=1,y=S="",d=a;break;case 58:d=1+ke(S),p=h;default:if(v<1)if(123==b)--v;else if(125==b&&0==v++&&125==Fe())continue;switch(S+=ye(b),b*v){case 38:m=u>0?1:(S+="\f",-1);break;case 44:s[c++]=(ke(S)-1)*m,m=1;break;case 64:45===ze()&&(S+=Ge(Be())),f=ze(),u=d=ke(y=S+=Ze(He())),b++;break;case 45:45===h&&2==ke(S)&&(v=0)}}return i}function tn(t,e,n,r,o,i,a,s,l,c,u){for(var d=o-1,f=0===o?i:[""],p=Ee(f),h=0,v=0,g=0;h<r;++h)for(var m=0,b=Ce(t,d+1,d=be(v=a[h])),y=t;m<p;++m)(y=we(v>0?f[m]+" "+b:Oe(b,/&\f/g,f[m])))&&(l[g++]=y);return Ne(t,e,n,0===o?ve:s,l,c,u)}function en(t,e,n){return Ne(t,e,n,he,ye(De),Ce(t,2,-2),0)}function nn(t,e,n,r){return Ne(t,e,n,ge,Ce(t,0,r),Ce(t,r+1,-1),r)}function rn(t,e){switch(function(t,e){return(((e<<2^je(t,0))<<2^je(t,1))<<2^je(t,2))<<2^je(t,3)}(t,e)){case 5103:return pe+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pe+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+t+fe+t+de+t+t;case 6828:case 4268:return pe+t+de+t+t;case 6165:return pe+t+de+"flex-"+t+t;case 5187:return pe+t+Oe(t,/(\w+).+(:[^]+)/,pe+"box-$1$2"+de+"flex-$1$2")+t;case 5443:return pe+t+de+"flex-item-"+Oe(t,/flex-|-self/,"")+t;case 4675:return pe+t+de+"flex-line-pack"+Oe(t,/align-content|flex-|-self/,"")+t;case 5548:return pe+t+de+Oe(t,"shrink","negative")+t;case 5292:return pe+t+de+Oe(t,"basis","preferred-size")+t;case 6060:return pe+"box-"+Oe(t,"-grow","")+pe+t+de+Oe(t,"grow","positive")+t;case 4554:return pe+Oe(t,/([^-])(transform)/g,"$1"+pe+"$2")+t;case 6187:return Oe(Oe(Oe(t,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),t,"")+t;case 5495:case 3959:return Oe(t,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return Oe(Oe(t,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+de+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+t+t;case 4095:case 3583:case 4068:case 2532:return Oe(t,/(.+)-inline(.+)/,pe+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ke(t)-1-e>6)switch(je(t,e+1)){case 109:if(45!==je(t,e+4))break;case 102:return Oe(t,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+fe+(108==je(t,e+3)?"$3":"$2-$3"))+t;case 115:return~Se(t,"stretch")?rn(Oe(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==je(t,e+1))break;case 6444:switch(je(t,ke(t)-3-(~Se(t,"!important")&&10))){case 107:return Oe(t,":",":"+pe)+t;case 101:return Oe(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(45===je(t,14)?"inline-":"")+"box$3$1"+pe+"$2$3$1"+de+"$2box$3")+t}break;case 5936:switch(je(t,e+11)){case 114:return pe+t+de+Oe(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return pe+t+de+Oe(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return pe+t+de+Oe(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return pe+t+de+t+t}return t}function on(t,e){for(var n="",r=Ee(t),o=0;o<r;o++)n+=e(t[o],o,t,e)||"";return n}function an(t,e,n,r){switch(t.type){case"@import":case ge:return t.return=t.return||t.value;case he:return"";case me:return t.return=t.value+"{"+on(t.children,r)+"}";case ve:t.value=t.props.join(",")}return ke(n=on(t.children,r))?t.return=t.value+"{"+n+"}":""}function sn(t){return function(e){e.root||(e=e.return)&&t(e)}}n(278),n(277);var ln=function(t,e,n){for(var r=0,o=0;r=o,o=ze(),38===r&&12===o&&(e[n]=1),!Ue(o);)Be();return Ve(t,Re)},cn=function(t,e){return qe(function(t,e){var n=-1,r=44;do{switch(Ue(r)){case 0:38===r&&12===ze()&&(e[n]=1),t[n]+=ln(Re-1,e,n);break;case 2:t[n]+=Ge(r);break;case 4:if(44===r){t[++n]=58===ze()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=ye(r)}}while(r=Be());return t}(We(t),e))},un=new WeakMap,dn=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||un.get(n))&&!r){un.set(t,!0);for(var o=[],i=cn(e,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)t.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},fn=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}},pn=[function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case ge:t.return=rn(t.value,t.length);break;case me:return on([Le(t,{value:Oe(t.value,"@","@"+pe)})],r);case ve:if(t.length)return _e(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return on([Le(t,{props:[Oe(e,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return on([Le(t,{props:[Oe(e,/:(plac\w+)/,":"+pe+"input-$1")]}),Le(t,{props:[Oe(e,/:(plac\w+)/,":-moz-$1")]}),Le(t,{props:[Oe(e,/:(plac\w+)/,de+"input-$1")]})],r)}return""}))}}],hn=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var r=t.stylisPlugins||pn;var o,i,a={},s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)a[e[n]]=!0;s.push(t)}));var l=[dn,fn];var c,u=[an,sn((function(t){c.insert(t)}))],d=function(t){var e=Ee(t);return function(n,r,o,i){for(var a="",s=0;s<e;s++)a+=t[s](n,r,o,i)||"";return a}}(l.concat(r,u));i=function(t,e,n,r){c=n,on(Qe(t?t+"{"+e.styles+"}":e.styles),d),r&&(f.inserted[e.name]=!0)};var f={key:e,sheet:new ue.a({key:e,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:i};return f.sheet.hydrate(s),f},vn=(n(1032),n(1036),n(1038),n(1042),n(592),n(1043),Object(p.forwardRef)((function(t,e){var n=function(t){var e=t.defaultInputValue,n=void 0===e?"":e,r=t.defaultMenuIsOpen,o=void 0!==r&&r,i=t.defaultValue,l=void 0===i?null:i,c=t.inputValue,u=t.menuIsOpen,d=t.onChange,f=t.onInputChange,h=t.onMenuClose,v=t.onMenuOpen,g=t.value,b=Object(a.a)(t,ht),y=Object(p.useState)(void 0!==c?c:n),x=Object(s.a)(y,2),w=x[0],O=x[1],S=Object(p.useState)(void 0!==u?u:o),j=Object(s.a)(S,2),C=j[0],k=j[1],E=Object(p.useState)(void 0!==g?g:l),P=Object(s.a)(E,2),_=P[0],M=P[1],T=Object(p.useCallback)((function(t,e){"function"===typeof d&&d(t,e),M(t)}),[d]),A=Object(p.useCallback)((function(t,e){var n;"function"===typeof f&&(n=f(t,e)),O(void 0!==n?n:t)}),[f]),R=Object(p.useCallback)((function(){"function"===typeof v&&v(),k(!0)}),[v]),D=Object(p.useCallback)((function(){"function"===typeof h&&h(),k(!1)}),[h]),I=void 0!==c?c:w,N=void 0!==u?u:C,L=void 0!==g?g:_;return m(m({},b),{},{inputValue:I,menuIsOpen:N,onChange:T,onInputChange:A,onMenuClose:D,onMenuOpen:R,value:L})}(t);return p.createElement(le,Object(r.a)({ref:e},n))})));p.Component,e.a=vn},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},r(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(277),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=Object(r.a)((function(t){return o.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}));e.a=i},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");e.default=a},function(t,e,n){"use strict";var r=n(1),o=r.createContext({});e.a=o},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"}),"ArrowBackIosNew");e.default=a},function(t,e,n){"use strict";var r=n(1),o=r.createContext();e.a=o},function(t,e,n){var r,o,i;i=function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Themes/HighContrastDark.js",[t["Core/DefaultOptions.js"]],(function(t){var e,n=t.setOptions;return function(t){t.options={colors:"#67B9EE #CEEDA5 #9F6AE1 #FEA26E #6BA48F #EA3535 #8D96B7 #ECCA15 #20AA09 #E0C3E4".split(" "),chart:{backgroundColor:"#1f1f20",plotBorderColor:"#606063"},title:{style:{color:"#F0F0F3"}},subtitle:{style:{color:"#F0F0F3"}},xAxis:{gridLineColor:"#707073",labels:{style:{color:"#F0F0F3"}},lineColor:"#707073",minorGridLineColor:"#505053",tickColor:"#707073",title:{style:{color:"#F0F0F3"}}},yAxis:{gridLineColor:"#707073",labels:{style:{color:"#F0F0F3"}},lineColor:"#707073",minorGridLineColor:"#505053",tickColor:"#707073",title:{style:{color:"#F0F0F3"}}},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.85)",style:{color:"#F0F0F3"}},plotOptions:{series:{dataLabels:{color:"#F0F0F3"},marker:{lineColor:"#333"}},boxplot:{fillColor:"#505053"},candlestick:{lineColor:"white"},errorbar:{color:"white"},map:{nullColor:"#353535"}},legend:{backgroundColor:"transparent",itemStyle:{color:"#F0F0F3"},itemHoverStyle:{color:"#FFF"},itemHiddenStyle:{color:"#606063"},title:{style:{color:"#D0D0D0"}}},credits:{style:{color:"#F0F0F3"}},labels:{style:{color:"#707073"}},drilldown:{activeAxisLabelStyle:{color:"#F0F0F3"},activeDataLabelStyle:{color:"#F0F0F3"}},navigation:{buttonOptions:{symbolStroke:"#DDDDDD",theme:{fill:"#505053"}}},rangeSelector:{buttonTheme:{fill:"#505053",stroke:"#000000",style:{color:"#eee"},states:{hover:{fill:"#707073",stroke:"#000000",style:{color:"#F0F0F3"}},select:{fill:"#303030",stroke:"#101010",style:{color:"#F0F0F3"}}}},inputBoxBorderColor:"#505053",inputStyle:{backgroundColor:"#333",color:"#F0F0F3"},labelStyle:{color:"#F0F0F3"}},navigator:{handles:{backgroundColor:"#666",borderColor:"#AAA"},outlineColor:"#CCC",maskFill:"rgba(180,180,255,0.2)",series:{color:"#7798BF",lineColor:"#A6C7ED"},xAxis:{gridLineColor:"#505053"}},scrollbar:{barBackgroundColor:"#808083",barBorderColor:"#808083",buttonArrowColor:"#CCC",buttonBackgroundColor:"#606063",buttonBorderColor:"#606063",rifleColor:"#FFF",trackBackgroundColor:"#404043",trackBorderColor:"#404043"}},t.apply=function(){n(t.options)}}(e||(e={})),e})),e(t,"masters/themes/high-contrast-dark.src.js",[t["Core/Globals.js"],t["Extensions/Themes/HighContrastDark.js"]],(function(t,e){t.theme=e.options,e.apply()}))},t.exports?(i.default=i,t.exports=i):(r=[n(21)],void 0===(o=function(t){return i(t),i.Highcharts=t,i}.apply(e,r))||(t.exports=o))},function(t,e,n){var r=n(495),o=n(968),i=n(561),a=n(325),s=i((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]]),o(t,r(e,1),[])}));t.exports=s},function(t,e,n){"use strict";e.a=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}},function(t,e,n){"use strict";Array.prototype.slice;e.a=function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}},function(t,e,n){var r=n(323),o=n(494),i=n(192);t.exports=function(t,e){var n={};return e=i(e,3),o(t,(function(t,o,i){r(n,o,e(t,o,i))})),n}},function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=9)}([function(t,e){t.exports=n(1)},function(t,e,n){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){(function(e){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,s="object"==typeof e&&e&&e.Object===Object&&e,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u=Object.prototype.toString,d=c.Symbol,f=d?d.prototype:void 0,p=f?f.toString:void 0;function h(t){if("string"==typeof t)return t;if(g(t))return p?p.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function v(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==u.call(t)}function m(t){return t?(t=function(t){if("number"==typeof t)return t;if(g(t))return NaN;if(v(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=v(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var s=o.test(t);return s||i.test(t)?a(t.slice(2),s?2:8):r.test(t)?NaN:+t}(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}t.exports=function(t,e,n){var r,o,i;return t=null==(r=t)?"":h(r),o=function(t){var e=m(t),n=e%1;return e==e?n?e-n:e:0}(n),0,i=t.length,o==o&&(void 0!==i&&(o=o<=i?o:i),o=o>=0?o:0),n=o,e=h(e),t.slice(n,n+e.length)==e}}).call(this,n(3))},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},function(t,e,n){(function(e){var n,r=/^\[object .+?Constructor\]$/,o="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,a=o||i||Function("return this")(),s=Array.prototype,l=Function.prototype,c=Object.prototype,u=a["__core-js_shared__"],d=(n=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",f=l.toString,p=c.hasOwnProperty,h=c.toString,v=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),g=s.splice,m=C(a,"Map"),b=C(Object,"create");function y(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function x(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function w(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function O(t,e){for(var n,r,o=t.length;o--;)if((n=t[o][0])===(r=e)||n!=n&&r!=r)return o;return-1}function S(t){return!(!E(t)||(e=t,d&&d in e))&&(function(t){var e=E(t)?h.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?v:r).test(function(t){if(null!=t){try{return f.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function j(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function C(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return S(n)?n:void 0}function k(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(k.Cache||w),n}function E(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}y.prototype.clear=function(){this.__data__=b?b(null):{}},y.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},y.prototype.get=function(t){var e=this.__data__;if(b){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return p.call(e,t)?e[t]:void 0},y.prototype.has=function(t){var e=this.__data__;return b?void 0!==e[t]:p.call(e,t)},y.prototype.set=function(t,e){return this.__data__[t]=b&&void 0===e?"__lodash_hash_undefined__":e,this},x.prototype.clear=function(){this.__data__=[]},x.prototype.delete=function(t){var e=this.__data__,n=O(e,t);return!(n<0)&&(n==e.length-1?e.pop():g.call(e,n,1),!0)},x.prototype.get=function(t){var e=this.__data__,n=O(e,t);return n<0?void 0:e[n][1]},x.prototype.has=function(t){return O(this.__data__,t)>-1},x.prototype.set=function(t,e){var n=this.__data__,r=O(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},w.prototype.clear=function(){this.__data__={hash:new y,map:new(m||x),string:new y}},w.prototype.delete=function(t){return j(this,t).delete(t)},w.prototype.get=function(t){return j(this,t).get(t)},w.prototype.has=function(t){return j(this,t).has(t)},w.prototype.set=function(t,e){return j(this,t).set(t,e),this},k.Cache=w,t.exports=k}).call(this,n(3))},function(t,e,n){(function(e){var n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt,s="object"==typeof e&&e&&e.Object===Object&&e,l="object"==typeof self&&self&&self.Object===Object&&self,c=s||l||Function("return this")(),u=Object.prototype.toString,d=Math.max,f=Math.min,p=function(){return c.Date.now()};function h(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function v(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==u.call(t)}(t))return NaN;if(h(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=h(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(n,"");var s=o.test(t);return s||i.test(t)?a(t.slice(2),s?2:8):r.test(t)?NaN:+t}t.exports=function(t,e,n){var r,o,i,a,s,l,c=0,u=!1,g=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(e){var n=r,i=o;return r=o=void 0,c=e,a=t.apply(i,n)}function y(t){return c=t,s=setTimeout(w,e),u?b(t):a}function x(t){var n=t-l;return void 0===l||n>=e||n<0||g&&t-c>=i}function w(){var t=p();if(x(t))return O(t);s=setTimeout(w,function(t){var n=e-(t-l);return g?f(n,i-(t-c)):n}(t))}function O(t){return s=void 0,m&&r?b(t):(r=o=void 0,a)}function S(){var t=p(),n=x(t);if(r=arguments,o=this,l=t,n){if(void 0===s)return y(l);if(g)return s=setTimeout(w,e),b(l)}return void 0===s&&(s=setTimeout(w,e)),a}return e=v(e)||0,h(n)&&(u=!!n.leading,i=(g="maxWait"in n)?d(v(n.maxWait)||0,e):i,m="trailing"in n?!!n.trailing:m),S.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},S.flush=function(){return void 0===s?a:O(p())},S}}).call(this,n(3))},function(t,e,n){(function(t,n){var r="[object Arguments]",o="[object Map]",i="[object Object]",a="[object Set]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/,c=/^\./,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,f=/^\[object .+?Constructor\]$/,p=/^(?:0|[1-9]\d*)$/,h={};h["[object Float32Array]"]=h["[object Float64Array]"]=h["[object Int8Array]"]=h["[object Int16Array]"]=h["[object Int32Array]"]=h["[object Uint8Array]"]=h["[object Uint8ClampedArray]"]=h["[object Uint16Array]"]=h["[object Uint32Array]"]=!0,h[r]=h["[object Array]"]=h["[object ArrayBuffer]"]=h["[object Boolean]"]=h["[object DataView]"]=h["[object Date]"]=h["[object Error]"]=h["[object Function]"]=h[o]=h["[object Number]"]=h[i]=h["[object RegExp]"]=h[a]=h["[object String]"]=h["[object WeakMap]"]=!1;var v="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,m=v||g||Function("return this")(),b=e&&!e.nodeType&&e,y=b&&"object"==typeof n&&n&&!n.nodeType&&n,x=y&&y.exports===b&&v.process,w=function(){try{return x&&x.binding("util")}catch(t){}}(),O=w&&w.isTypedArray;function S(t,e,n,r){var o=-1,i=t?t.length:0;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function j(t,e){for(var n=-1,r=t?t.length:0;++n<r;)if(e(t[n],n,t))return!0;return!1}function C(t,e,n,r,o){return o(t,(function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)})),n}function k(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function E(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function P(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var _,M,T,A=Array.prototype,R=Function.prototype,D=Object.prototype,I=m["__core-js_shared__"],N=(_=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",L=R.toString,F=D.hasOwnProperty,B=D.toString,z=RegExp("^"+L.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=m.Symbol,V=m.Uint8Array,U=D.propertyIsEnumerable,W=A.splice,q=(M=Object.keys,T=Object,function(t){return M(T(t))}),G=Ot(m,"DataView"),Y=Ot(m,"Map"),X=Ot(m,"Promise"),K=Ot(m,"Set"),$=Ot(m,"WeakMap"),Z=Ot(Object,"create"),Q=Mt(G),J=Mt(Y),tt=Mt(X),et=Mt(K),nt=Mt($),rt=H?H.prototype:void 0,ot=rt?rt.valueOf:void 0,it=rt?rt.toString:void 0;function at(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function st(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function lt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function ct(t){var e=-1,n=t?t.length:0;for(this.__data__=new lt;++e<n;)this.add(t[e])}function ut(t){this.__data__=new st(t)}function dt(t,e){for(var n=t.length;n--;)if(At(t[n][0],e))return n;return-1}at.prototype.clear=function(){this.__data__=Z?Z(null):{}},at.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},at.prototype.get=function(t){var e=this.__data__;if(Z){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return F.call(e,t)?e[t]:void 0},at.prototype.has=function(t){var e=this.__data__;return Z?void 0!==e[t]:F.call(e,t)},at.prototype.set=function(t,e){return this.__data__[t]=Z&&void 0===e?"__lodash_hash_undefined__":e,this},st.prototype.clear=function(){this.__data__=[]},st.prototype.delete=function(t){var e=this.__data__,n=dt(e,t);return!(n<0)&&(n==e.length-1?e.pop():W.call(e,n,1),!0)},st.prototype.get=function(t){var e=this.__data__,n=dt(e,t);return n<0?void 0:e[n][1]},st.prototype.has=function(t){return dt(this.__data__,t)>-1},st.prototype.set=function(t,e){var n=this.__data__,r=dt(n,t);return r<0?n.push([t,e]):n[r][1]=e,this},lt.prototype.clear=function(){this.__data__={hash:new at,map:new(Y||st),string:new at}},lt.prototype.delete=function(t){return wt(this,t).delete(t)},lt.prototype.get=function(t){return wt(this,t).get(t)},lt.prototype.has=function(t){return wt(this,t).has(t)},lt.prototype.set=function(t,e){return wt(this,t).set(t,e),this},ct.prototype.add=ct.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ct.prototype.has=function(t){return this.__data__.has(t)},ut.prototype.clear=function(){this.__data__=new st},ut.prototype.delete=function(t){return this.__data__.delete(t)},ut.prototype.get=function(t){return this.__data__.get(t)},ut.prototype.has=function(t){return this.__data__.has(t)},ut.prototype.set=function(t,e){var n=this.__data__;if(n instanceof st){var r=n.__data__;if(!Y||r.length<199)return r.push([t,e]),this;n=this.__data__=new lt(r)}return n.set(t,e),this};var ft,pt=(ft=function(t,e){return t&&ht(t,e,Vt)},function(t,e){if(null==t)return t;if(!It(t))return ft(t,e);for(var n=t.length,r=-1,o=Object(t);++r<n&&!1!==e(o[r],r,o););return t}),ht=function(t,e,n){for(var r=-1,o=Object(t),i=n(t),a=i.length;a--;){var s=i[++r];if(!1===e(o[s],s,o))break}return t};function vt(t,e){for(var n=0,r=(e=Ct(e,t)?[e]:yt(e)).length;null!=t&&n<r;)t=t[_t(e[n++])];return n&&n==r?t:void 0}function gt(t,e){return null!=t&&e in Object(t)}function mt(t,e,n,s,l){return t===e||(null==t||null==e||!Ft(t)&&!Bt(e)?t!=t&&e!=e:function(t,e,n,s,l,c){var u=Dt(t),d=Dt(e),f="[object Array]",p="[object Array]";u||(f=(f=St(t))==r?i:f),d||(p=(p=St(e))==r?i:p);var h=f==i&&!k(t),v=p==i&&!k(e),g=f==p;if(g&&!h)return c||(c=new ut),u||Ht(t)?xt(t,e,n,s,l,c):function(t,e,n,r,i,s,l){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!r(new V(t),new V(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return At(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case o:var c=E;case a:var u=2&s;if(c||(c=P),t.size!=e.size&&!u)return!1;var d=l.get(t);if(d)return d==e;s|=1,l.set(t,e);var f=xt(c(t),c(e),r,i,s,l);return l.delete(t),f;case"[object Symbol]":if(ot)return ot.call(t)==ot.call(e)}return!1}(t,e,f,n,s,l,c);if(!(2&l)){var m=h&&F.call(t,"__wrapped__"),b=v&&F.call(e,"__wrapped__");if(m||b){var y=m?t.value():t,x=b?e.value():e;return c||(c=new ut),n(y,x,s,l,c)}}return!!g&&(c||(c=new ut),function(t,e,n,r,o,i){var a=2&o,s=Vt(t),l=s.length;if(l!=Vt(e).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in e:F.call(e,u)))return!1}var d=i.get(t);if(d&&i.get(e))return d==e;var f=!0;i.set(t,e),i.set(e,t);for(var p=a;++c<l;){var h=t[u=s[c]],v=e[u];if(r)var g=a?r(v,h,u,e,t,i):r(h,v,u,t,e,i);if(!(void 0===g?h===v||n(h,v,r,o,i):g)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var m=t.constructor,b=e.constructor;m==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(f=!1)}return i.delete(t),i.delete(e),f}(t,e,n,s,l,c))}(t,e,mt,n,s,l))}function bt(t){return"function"==typeof t?t:null==t?Ut:"object"==typeof t?Dt(t)?function(t,e){return Ct(t)&&kt(e)?Et(_t(t),e):function(n){var r=function(t,e,n){var r=null==t?void 0:vt(t,e);return void 0===r?void 0:r}(n,t);return void 0===r&&r===e?function(t,e){return null!=t&&function(t,e,n){for(var r,o=-1,i=(e=Ct(e,t)?[e]:yt(e)).length;++o<i;){var a=_t(e[o]);if(!(r=null!=t&&n(t,a)))break;t=t[a]}return r||!!(i=t?t.length:0)&&Lt(i)&&jt(a,i)&&(Dt(t)||Rt(t))}(t,e,gt)}(n,t):mt(e,r,void 0,3)}}(t[0],t[1]):function(t){var e=function(t){for(var e=Vt(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,kt(o)]}return e}(t);return 1==e.length&&e[0][2]?Et(e[0][0],e[0][1]):function(n){return n===t||function(t,e,n,r){var o=n.length,i=o;if(null==t)return!i;for(t=Object(t);o--;){var a=n[o];if(a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++o<i;){var s=(a=n[o])[0],l=t[s],c=a[1];if(a[2]){if(void 0===l&&!(s in t))return!1}else{var u,d=new ut;if(!(void 0===u?mt(c,l,r,3,d):u))return!1}}return!0}(n,0,e)}}(t):Ct(e=t)?(n=_t(e),function(t){return null==t?void 0:t[n]}):function(t){return function(e){return vt(e,t)}}(e);var e,n}function yt(t){return Dt(t)?t:Pt(t)}function xt(t,e,n,r,o,i){var a=2&o,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(t);if(c&&i.get(e))return c==e;var u=-1,d=!0,f=1&o?new ct:void 0;for(i.set(t,e),i.set(e,t);++u<s;){var p=t[u],h=e[u];if(r)var v=a?r(h,p,u,e,t,i):r(p,h,u,t,e,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!j(e,(function(t,e){if(!f.has(e)&&(p===t||n(p,t,r,o,i)))return f.add(e)}))){d=!1;break}}else if(p!==h&&!n(p,h,r,o,i)){d=!1;break}}return i.delete(t),i.delete(e),d}function wt(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function Ot(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Ft(t)||function(t){return!!N&&N in t}(t))&&(Nt(t)||k(t)?z:f).test(Mt(t))}(n)?n:void 0}var St=function(t){return B.call(t)};function jt(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||p.test(t))&&t>-1&&t%1==0&&t<e}function Ct(t,e){if(Dt(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!zt(t))||l.test(t)||!s.test(t)||null!=e&&t in Object(e)}function kt(t){return t==t&&!Ft(t)}function Et(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}(G&&"[object DataView]"!=St(new G(new ArrayBuffer(1)))||Y&&St(new Y)!=o||X&&"[object Promise]"!=St(X.resolve())||K&&St(new K)!=a||$&&"[object WeakMap]"!=St(new $))&&(St=function(t){var e=B.call(t),n=e==i?t.constructor:void 0,r=n?Mt(n):void 0;if(r)switch(r){case Q:return"[object DataView]";case J:return o;case tt:return"[object Promise]";case et:return a;case nt:return"[object WeakMap]"}return e});var Pt=Tt((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(zt(t))return it?it.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return c.test(t)&&n.push(""),t.replace(u,(function(t,e,r,o){n.push(r?o.replace(d,"$1"):e||t)})),n}));function _t(t){if("string"==typeof t||zt(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Mt(t){if(null!=t){try{return L.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Tt(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(Tt.Cache||lt),n}function At(t,e){return t===e||t!=t&&e!=e}function Rt(t){return function(t){return Bt(t)&&It(t)}(t)&&F.call(t,"callee")&&(!U.call(t,"callee")||B.call(t)==r)}Tt.Cache=lt;var Dt=Array.isArray;function It(t){return null!=t&&Lt(t.length)&&!Nt(t)}function Nt(t){var e=Ft(t)?B.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function Lt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ft(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Bt(t){return!!t&&"object"==typeof t}function zt(t){return"symbol"==typeof t||Bt(t)&&"[object Symbol]"==B.call(t)}var Ht=O?function(t){return function(e){return t(e)}}(O):function(t){return Bt(t)&&Lt(t.length)&&!!h[B.call(t)]};function Vt(t){return It(t)?function(t,e){var n=Dt(t)||Rt(t)?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],r=n.length,o=!!r;for(var i in t)!e&&!F.call(t,i)||o&&("length"==i||jt(i,r))||n.push(i);return n}(t):function(t){if(n=(e=t)&&e.constructor,e!==("function"==typeof n&&n.prototype||D))return q(t);var e,n,r=[];for(var o in Object(t))F.call(t,o)&&"constructor"!=o&&r.push(o);return r}(t)}function Ut(t){return t}n.exports=function(t,e,n){var r=Dt(t)?S:C,o=arguments.length<3;return r(t,bt(e),n,o,pt)}}).call(this,n(3),n(7)(t))},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}},function(t,e){String.prototype.padEnd||(String.prototype.padEnd=function(t,e){return t>>=0,e=String(void 0!==e?e:" "),this.length>t?String(this):((t-=this.length)>e.length&&(e+=e.repeat(t/e.length)),String(this)+e.slice(0,t))})},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function i(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)||o(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(t){if(Array.isArray(t))return t}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function l(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 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 d(t){return(d="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(t){return u(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":u(t)})(t)}function f(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}n.r(e);var v=n(0),g=n.n(v),m=n(5),b=n.n(m),y=n(4),x=n.n(y),w=n(6),O=n.n(w),S=n(2),j=n.n(S),C=n(1),k=n.n(C);function E(t,e){return a(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||s()}n(8);var P=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["C\xf4te d\u2019Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Cura\xe7ao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["R\xe9union",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["S\xe3o Tom\xe9 and Pr\xedncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],_=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barth\xe9lemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function M(t,e,n,r,o){return!n||o?t+"".padEnd(e.length,".")+" "+r:t+"".padEnd(e.length,".")+" "+n}function T(t,e,n,o,a){var s,l,c=[];return l=!0===e,[(s=[]).concat.apply(s,i(t.map((function(t){var i={name:t[0],regions:t[1],iso2:t[2],countryCode:t[3],dialCode:t[3],format:M(n,t[3],t[4],o,a),priority:t[5]||0},s=[];return t[6]&&t[6].map((function(e){var n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})))),o.forEach((function(e){r(t,e,n[e])}))}return t}({},i);n.dialCode=t[3]+e,n.isAreaCode=!0,n.areaCodeLength=e.length,s.push(n)})),s.length>0?(i.mainCode=!0,l||"Array"===e.constructor.name&&e.includes(t[2])?(i.hasAreaCodes=!0,[i].concat(s)):(c=c.concat(s),[i])):[i]})))),c]}function A(t,e,n,r){if(null!==n){var o=Object.keys(n),i=Object.values(n);o.forEach((function(n,o){if(r)return t.push([n,i[o]]);var a=t.findIndex((function(t){return t[0]===n}));if(-1===a){var s=[n];s[e]=i[o],t.push(s)}else t[a][e]=i[o]}))}}function R(t,e){return 0===e.length?t:t.map((function(t){var n=e.findIndex((function(e){return e[0]===t[2]}));if(-1===n)return t;var r=e[n];return r[1]&&(t[4]=r[1]),r[3]&&(t[5]=r[3]),r[2]&&(t[6]=r[2]),t}))}var D=function t(e,n,r,o,a,s,c,u,d,f,p,h,v,g){l(this,t),this.filterRegions=function(t,e){if("string"==typeof t){var n=t;return e.filter((function(t){return t.regions.some((function(t){return t===n}))}))}return e.filter((function(e){return t.map((function(t){return e.regions.some((function(e){return e===t}))})).some((function(t){return t}))}))},this.sortTerritories=function(t,e){var n=[].concat(i(t),i(e));return n.sort((function(t,e){return t.name<e.name?-1:t.name>e.name?1:0})),n},this.getFilteredCountryList=function(t,e,n){return 0===t.length?e:n?t.map((function(t){var n=e.find((function(e){return e.iso2===t}));if(n)return n})).filter((function(t){return t})):e.filter((function(e){return t.some((function(t){return t===e.iso2}))}))},this.localizeCountries=function(t,e,n){for(var r=0;r<t.length;r++)void 0!==e[t[r].iso2]?t[r].localName=e[t[r].iso2]:void 0!==e[t[r].name]&&(t[r].localName=e[t[r].name]);return n||t.sort((function(t,e){return t.localName<e.localName?-1:t.localName>e.localName?1:0})),t},this.getCustomAreas=function(t,e){for(var n=[],r=0;r<e.length;r++){var o=JSON.parse(JSON.stringify(t));o.dialCode+=e[r],n.push(o)}return n},this.excludeCountries=function(t,e){return 0===e.length?t:t.filter((function(t){return!e.includes(t.iso2)}))};var m=function(t,e,n){var r=[];return A(r,1,t,!0),A(r,3,e),A(r,2,n),r}(u,d,f),b=R(JSON.parse(JSON.stringify(P)),m),y=R(JSON.parse(JSON.stringify(_)),m),x=E(T(b,e,h,v,g),2),w=x[0],O=x[1];if(n){var S=E(T(y,e,h,v,g),2),j=S[0];S[1],w=this.sortTerritories(j,w)}r&&(w=this.filterRegions(r,w)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(o,w,c.includes("onlyCountries")),s),p,c.includes("onlyCountries")),this.preferredCountries=0===a.length?[]:this.localizeCountries(this.getFilteredCountryList(a,w,c.includes("preferredCountries")),p,c.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(o,O),s)},I=function(t){function e(t){var n;l(this,e),(n=function(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?f(t):e}(this,p(e).call(this,t))).getProbableCandidate=x()((function(t){return t&&0!==t.length?n.state.onlyCountries.filter((function(e){return j()(e.name.toLowerCase(),t.toLowerCase())}),f(f(n)))[0]:null})),n.guessSelectedCountry=x()((function(t,e,r,o){var i;if(!1===n.props.enableAreaCodes&&(o.some((function(e){if(j()(t,e.dialCode))return r.some((function(t){if(e.iso2===t.iso2&&t.mainCode)return i=t,!0})),!0})),i))return i;var a=r.find((function(t){return t.iso2==e}));if(""===t.trim())return a;var s=r.reduce((function(e,n){if(j()(t,n.dialCode)){if(n.dialCode.length>e.dialCode.length)return n;if(n.dialCode.length===e.dialCode.length&&n.priority<e.priority)return n}return e}),{dialCode:"",priority:10001},f(f(n)));return s.name?s:a})),n.updateCountry=function(t){var e,r=n.state.onlyCountries;(e=t.indexOf(0)>="0"&&t.indexOf(0)<="9"?r.find((function(e){return e.dialCode==+t})):r.find((function(e){return e.iso2==t})))&&e.dialCode&&n.setState({selectedCountry:e,formattedNumber:n.props.disableCountryCode?"":n.formatNumber(e.dialCode,e)})},n.scrollTo=function(t,e){if(t){var r=n.dropdownRef;if(r&&document.body){var o=r.offsetHeight,i=r.getBoundingClientRect().top+document.body.scrollTop,a=i+o,s=t,l=s.getBoundingClientRect(),c=s.offsetHeight,u=l.top+document.body.scrollTop,d=u+c,f=u-i+r.scrollTop,p=o/2-c/2;if(n.props.enableSearch?u<i+32:u<i)e&&(f-=p),r.scrollTop=f;else if(d>a){e&&(f+=p);var h=o-c;r.scrollTop=f-h}}}},n.scrollToTop=function(){var t=n.dropdownRef;t&&document.body&&(t.scrollTop=0)},n.formatNumber=function(t,e){if(!e)return t;var r,i=e.format,l=n.props,c=l.disableCountryCode,u=l.enableAreaCodeStretch,d=l.enableLongNumbers,f=l.autoFormat;if(c?((r=i.split(" ")).shift(),r=r.join(" ")):u&&e.isAreaCode?((r=i.split(" "))[1]=r[1].replace(/\.+/,"".padEnd(e.areaCodeLength,".")),r=r.join(" ")):r=i,!t||0===t.length)return c?"":n.props.prefix;if(t&&t.length<2||!r||!f)return c?t:n.props.prefix+t;var p,h=O()(r,(function(t,e){if(0===t.remainingText.length)return t;if("."!==e)return{formattedText:t.formattedText+e,remainingText:t.remainingText};var n,r=a(n=t.remainingText)||o(n)||s(),i=r[0],l=r.slice(1);return{formattedText:t.formattedText+i,remainingText:l}}),{formattedText:"",remainingText:t.split("")});return(p=d?h.formattedText+h.remainingText.join(""):h.formattedText).includes("(")&&!p.includes(")")&&(p+=")"),p},n.cursorToEnd=function(){var t=n.numberInputRef;if(document.activeElement===t){t.focus();var e=t.value.length;")"===t.value.charAt(e-1)&&(e-=1),t.setSelectionRange(e,e)}},n.getElement=function(t){return n["flag_no_".concat(t)]},n.getCountryData=function(){return n.state.selectedCountry?{name:n.state.selectedCountry.name||"",dialCode:n.state.selectedCountry.dialCode||"",countryCode:n.state.selectedCountry.iso2||"",format:n.state.selectedCountry.format||""}:{}},n.handleFlagDropdownClick=function(t){if(t.preventDefault(),n.state.showDropdown||!n.props.disabled){var e=n.state,r=e.preferredCountries,o=e.onlyCountries,i=e.selectedCountry,a=n.concatPreferredCountries(r,o).findIndex((function(t){return t.dialCode===i.dialCode&&t.iso2===i.iso2}));n.setState({showDropdown:!n.state.showDropdown,highlightCountryIndex:a},(function(){n.state.showDropdown&&n.scrollTo(n.getElement(n.state.highlightCountryIndex))}))}},n.handleInput=function(t){var e=t.target.value,r=n.props,o=r.prefix,i=r.onChange,a=n.props.disableCountryCode?"":o,s=n.state.selectedCountry,l=n.state.freezeSelection;if(!n.props.countryCodeEditable){var c=o+(s.hasAreaCodes?n.state.onlyCountries.find((function(t){return t.iso2===s.iso2&&t.mainCode})).dialCode:s.dialCode);if(e.slice(0,c.length)!==c)return}if(e===o)return i&&i("",n.getCountryData(),t,""),n.setState({formattedNumber:""});if(e.replace(/\D/g,"").length>15){if(!1===n.props.enableLongNumbers)return;if("number"==typeof n.props.enableLongNumbers&&e.replace(/\D/g,"").length>n.props.enableLongNumbers)return}if(e!==n.state.formattedNumber){t.preventDefault?t.preventDefault():t.returnValue=!1;var u=n.props.country,d=n.state,f=d.onlyCountries,p=d.selectedCountry,h=d.hiddenAreaCodes;if(i&&t.persist(),e.length>0){var v=e.replace(/\D/g,"");(!n.state.freezeSelection||p&&p.dialCode.length>v.length)&&(s=n.props.disableCountryGuess?p:n.guessSelectedCountry(v.substring(0,6),u,f,h)||p,l=!1),a=n.formatNumber(v,s),s=s.dialCode?s:p}var g=t.target.selectionStart,m=t.target.selectionStart,b=n.state.formattedNumber,y=a.length-b.length;n.setState({formattedNumber:a,freezeSelection:l,selectedCountry:s},(function(){y>0&&(m-=y),")"==a.charAt(a.length-1)?n.numberInputRef.setSelectionRange(a.length-1,a.length-1):m>0&&b.length>=a.length?n.numberInputRef.setSelectionRange(m,m):g<b.length&&n.numberInputRef.setSelectionRange(g,g),i&&i(a.replace(/[^0-9]+/g,""),n.getCountryData(),t,a)}))}},n.handleInputClick=function(t){n.setState({showDropdown:!1}),n.props.onClick&&n.props.onClick(t,n.getCountryData())},n.handleDoubleClick=function(t){var e=t.target.value.length;t.target.setSelectionRange(0,e)},n.handleFlagItemClick=function(t,e){var r=n.state.selectedCountry,o=n.state.onlyCountries.find((function(e){return e==t}));if(o){var i=n.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),a=i.length>1?i.replace(r.dialCode,o.dialCode):o.dialCode,s=n.formatNumber(a.replace(/\D/g,""),o);n.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:s,searchValue:""},(function(){n.cursorToEnd(),n.props.onChange&&n.props.onChange(s.replace(/[^0-9]+/g,""),n.getCountryData(),e,s)}))}},n.handleInputFocus=function(t){n.numberInputRef&&n.numberInputRef.value===n.props.prefix&&n.state.selectedCountry&&!n.props.disableCountryCode&&n.setState({formattedNumber:n.props.prefix+n.state.selectedCountry.dialCode},(function(){n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)})),n.setState({placeholder:""}),n.props.onFocus&&n.props.onFocus(t,n.getCountryData()),n.props.jumpCursorToEnd&&setTimeout(n.cursorToEnd,0)},n.handleInputBlur=function(t){t.target.value||n.setState({placeholder:n.props.placeholder}),n.props.onBlur&&n.props.onBlur(t,n.getCountryData())},n.handleInputCopy=function(t){if(n.props.copyNumbersOnly){var e=window.getSelection().toString().replace(/[^0-9]+/g,"");t.clipboardData.setData("text/plain",e),t.preventDefault()}},n.getHighlightCountryIndex=function(t){var e=n.state.highlightCountryIndex+t;return e<0||e>=n.state.onlyCountries.length+n.state.preferredCountries.length?e-t:n.props.enableSearch&&e>n.getSearchFilteredCountries().length?0:e},n.searchCountry=function(){var t=n.getProbableCandidate(n.state.queryString)||n.state.onlyCountries[0],e=n.state.onlyCountries.findIndex((function(e){return e==t}))+n.state.preferredCountries.length;n.scrollTo(n.getElement(e),!0),n.setState({queryString:"",highlightCountryIndex:e})},n.handleKeydown=function(t){var e=n.props.keys,r=t.target.className;if(r.includes("selected-flag")&&t.which===e.ENTER&&!n.state.showDropdown)return n.handleFlagDropdownClick(t);if(r.includes("form-control")&&(t.which===e.ENTER||t.which===e.ESC))return t.target.blur();if(n.state.showDropdown&&!n.props.disabled&&(!r.includes("search-box")||t.which===e.UP||t.which===e.DOWN||t.which===e.ENTER||t.which===e.ESC&&""===t.target.value)){t.preventDefault?t.preventDefault():t.returnValue=!1;var o=function(t){n.setState({highlightCountryIndex:n.getHighlightCountryIndex(t)},(function(){n.scrollTo(n.getElement(n.state.highlightCountryIndex),!0)}))};switch(t.which){case e.DOWN:o(1);break;case e.UP:o(-1);break;case e.ENTER:n.props.enableSearch?n.handleFlagItemClick(n.getSearchFilteredCountries()[n.state.highlightCountryIndex]||n.getSearchFilteredCountries()[0],t):n.handleFlagItemClick([].concat(i(n.state.preferredCountries),i(n.state.onlyCountries))[n.state.highlightCountryIndex],t);break;case e.ESC:case e.TAB:n.setState({showDropdown:!1},n.cursorToEnd);break;default:(t.which>=e.A&&t.which<=e.Z||t.which===e.SPACE)&&n.setState({queryString:n.state.queryString+String.fromCharCode(t.which)},n.state.debouncedQueryStingSearcher)}}},n.handleInputKeyDown=function(t){var e=n.props,r=e.keys,o=e.onEnterKeyPress,i=e.onKeyDown;t.which===r.ENTER&&o&&o(t),i&&i(t)},n.handleClickOutside=function(t){n.dropdownRef&&!n.dropdownContainerRef.contains(t.target)&&n.state.showDropdown&&n.setState({showDropdown:!1})},n.handleSearchChange=function(t){var e=t.currentTarget.value,r=n.state,o=r.preferredCountries,i=r.selectedCountry,a=0;if(""===e&&i){var s=n.state.onlyCountries;a=n.concatPreferredCountries(o,s).findIndex((function(t){return t==i})),setTimeout((function(){return n.scrollTo(n.getElement(a))}),100)}n.setState({searchValue:e,highlightCountryIndex:a})},n.concatPreferredCountries=function(t,e){return t.length>0?i(new Set(t.concat(e))):e},n.getDropdownCountryName=function(t){return t.localName||t.name},n.getSearchFilteredCountries=function(){var t=n.state,e=t.preferredCountries,r=t.onlyCountries,o=t.searchValue,a=n.props.enableSearch,s=n.concatPreferredCountries(e,r),l=o.trim().toLowerCase().replace("+","");if(a&&l){if(/^\d+$/.test(l))return s.filter((function(t){var e=t.dialCode;return["".concat(e)].some((function(t){return t.toLowerCase().includes(l)}))}));var c=s.filter((function(t){var e=t.iso2;return["".concat(e)].some((function(t){return t.toLowerCase().includes(l)}))})),u=s.filter((function(t){var e=t.name,n=t.localName;return t.iso2,["".concat(e),"".concat(n||"")].some((function(t){return t.toLowerCase().includes(l)}))}));return n.scrollToTop(),i(new Set([].concat(c,u)))}return s},n.getCountryDropdownList=function(){var t=n.state,e=t.preferredCountries,o=t.highlightCountryIndex,i=t.showDropdown,a=t.searchValue,s=n.props,l=s.disableDropdown,c=s.prefix,u=n.props,d=u.enableSearch,f=u.searchNotFound,p=u.disableSearchIcon,h=u.searchClass,v=u.searchStyle,m=u.searchPlaceholder,b=u.autocompleteSearch,y=n.getSearchFilteredCountries().map((function(t,e){var r=o===e,i=k()({country:!0,preferred:"us"===t.iso2||"gb"===t.iso2,active:"us"===t.iso2,highlight:r}),a="flag ".concat(t.iso2);return g.a.createElement("li",Object.assign({ref:function(t){return n["flag_no_".concat(e)]=t},key:"flag_no_".concat(e),"data-flag-key":"flag_no_".concat(e),className:i,"data-dial-code":"1",tabIndex:l?"-1":"0","data-country-code":t.iso2,onClick:function(e){return n.handleFlagItemClick(t,e)},role:"option"},r?{"aria-selected":!0}:{}),g.a.createElement("div",{className:a}),g.a.createElement("span",{className:"country-name"},n.getDropdownCountryName(t)),g.a.createElement("span",{className:"dial-code"},t.format?n.formatNumber(t.dialCode,t):c+t.dialCode))})),x=g.a.createElement("li",{key:"dashes",className:"divider"});e.length>0&&(!d||d&&!a.trim())&&y.splice(e.length,0,x);var w=k()(r({"country-list":!0,hide:!i},n.props.dropdownClass,!0));return g.a.createElement("ul",{ref:function(t){return!d&&t&&t.focus(),n.dropdownRef=t},className:w,style:n.props.dropdownStyle,role:"listbox",tabIndex:"0"},d&&g.a.createElement("li",{className:k()(r({search:!0},h,h))},!p&&g.a.createElement("span",{className:k()(r({"search-emoji":!0},"".concat(h,"-emoji"),h)),role:"img","aria-label":"Magnifying glass"},"\ud83d\udd0e"),g.a.createElement("input",{className:k()(r({"search-box":!0},"".concat(h,"-box"),h)),style:v,type:"search",placeholder:m,autoFocus:!0,autoComplete:b?"on":"off",value:a,onChange:n.handleSearchChange})),y.length>0?y:g.a.createElement("li",{className:"no-entries-message"},g.a.createElement("span",null,f)))};var c,u=new D(t.enableAreaCodes,t.enableTerritories,t.regions,t.onlyCountries,t.preferredCountries,t.excludeCountries,t.preserveOrder,t.masks,t.priority,t.areaCodes,t.localization,t.prefix,t.defaultMask,t.alwaysDefaultMask),h=u.onlyCountries,v=u.preferredCountries,m=u.hiddenAreaCodes,y=t.value?t.value.replace(/\D/g,""):"";c=t.disableInitialCountryGuess?0:y.length>1?n.guessSelectedCountry(y.substring(0,6),t.country,h,m)||0:t.country&&h.find((function(e){return e.iso2==t.country}))||0;var w,S=y.length<2&&c&&!j()(y,c.dialCode)?c.dialCode:"";w=""===y&&0===c?"":n.formatNumber((t.disableCountryCode?"":S)+y,c.name?c:void 0);var C=h.findIndex((function(t){return t==c}));return n.state={showDropdown:t.showDropdown,formattedNumber:w,onlyCountries:h,preferredCountries:v,hiddenAreaCodes:m,selectedCountry:c,highlightCountryIndex:C,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:b()(n.searchCountry,250),searchValue:""},n}var n,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&&h(t,e)}(e,t),n=e,(u=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(t,e,n){t.country!==this.props.country?this.updateCountry(this.props.country):t.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(t){if(null===t)return this.setState({selectedCountry:0,formattedNumber:""});var e=this.state,n=e.onlyCountries,r=e.selectedCountry,o=e.hiddenAreaCodes,i=this.props,a=i.country,s=i.prefix;if(""===t)return this.setState({selectedCountry:r,formattedNumber:""});var l,c,u=t.replace(/\D/g,"");if(r&&j()(t,s+r.dialCode))c=this.formatNumber(u,r),this.setState({formattedNumber:c});else{var d=(l=this.props.disableCountryGuess?r:this.guessSelectedCountry(u.substring(0,6),a,n,o)||r)&&j()(u,s+l.dialCode)?l.dialCode:"";c=this.formatNumber((this.props.disableCountryCode?"":d)+u,l||void 0),this.setState({selectedCountry:l,formattedNumber:c})}}},{key:"render",value:function(){var t,e,n,o=this,i=this.state,a=i.onlyCountries,s=i.selectedCountry,l=i.showDropdown,c=i.formattedNumber,u=i.hiddenAreaCodes,d=this.props,f=d.disableDropdown,p=d.renderStringAsFlag,h=d.isValid,v=d.defaultErrorMessage,m=d.specialLabel;if("boolean"==typeof h)e=h;else{var b=h(c.replace(/\D/g,""),s,a,u);"boolean"==typeof b?!1===(e=b)&&(n=v):(e=!1,n=b)}var y=k()((r(t={},this.props.containerClass,!0),r(t,"react-tel-input",!0),t)),x=k()({arrow:!0,up:l}),w=k()(r({"form-control":!0,"invalid-number":!e,open:l},this.props.inputClass,!0)),O=k()({"selected-flag":!0,open:l}),S=k()(r({"flag-dropdown":!0,"invalid-number":!e,open:l},this.props.buttonClass,!0)),j="flag ".concat(s&&s.iso2);return g.a.createElement("div",{className:"".concat(y," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},m&&g.a.createElement("div",{className:"special-label"},m),n&&g.a.createElement("div",{className:"invalid-number-message"},n),g.a.createElement("input",Object.assign({className:w,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:c,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(t){o.numberInputRef=t,"function"==typeof o.props.inputProps.ref?o.props.inputProps.ref(t):"object"==typeof o.props.inputProps.ref&&(o.props.inputProps.ref.current=t)}})),g.a.createElement("div",{className:S,style:this.props.buttonStyle,ref:function(t){return o.dropdownContainerRef=t}},p?g.a.createElement("div",{className:O},p):g.a.createElement("div",{onClick:f?void 0:this.handleFlagDropdownClick,className:O,title:s?"".concat(s.localName||s.name,": + ").concat(s.dialCode):"",tabIndex:f?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!l||void 0},g.a.createElement("div",{className:j},!f&&g.a.createElement("div",{className:x}))),l&&this.getCountryDropdownList()))}}])&&c(n.prototype,u),e}(g.a.Component);I.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},e.default=I}])},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M20 18v-3h-2v3h-3v2h3v3h2v-3h3v-2zM18 4h2v9h-2zM4 4h2v16H4zm7 0h2v4h-2zm0 6h2v4h-2zm0 6h2v4h-2z"}),"AddRoad");e.default=a},function(t,e,n){"use strict";var r=n(1),o=r.createContext({});e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(664);var o=n(406),i=n(665);function a(t,e){return Object(r.a)(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||Object(o.a)(t,e)||Object(i.a)()}},function(t,e,n){"use strict";var r=n(1),o=n.n(r);e.a=o.a.createContext(null)},function(t,e,n){"use strict";var r=/[A-Z]/g,o=/^ms-/,i={};function a(t){return"-"+t.toLowerCase()}e.a=function(t){if(i.hasOwnProperty(t))return i[t];var e=t.replace(r,a);return i[t]=o.test(e)?"-"+e:e}},function(t,e,n){"use strict";function r(){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 null==e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.apply(this,r),e.apply(this,r)}}),(function(){}))}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(1),o=n.n(r);e.a=o.a.createContext(null)},function(t,e,n){var r=n(972)();t.exports=r},function(t,e,n){var r=n(192),o=n(983);t.exports=function(t,e){return t&&t.length?o(t,r(e,2)):[]}},function(t,e,n){t.exports=function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",f="date",p="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},b={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),o=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(o,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),o=e.clone().add(r,c),i=n-o<0,a=e.clone().add(r+(i?-1:1),c);return+(-(r+(n-o)/(i?o-a:a-o))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:d,w:l,d:s,D:f,h:a,m:i,s:o,ms:r,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",x={};x[y]=g;var w=function(t){return t instanceof C},O=function t(e,n,r){var o;if(!e)return y;if("string"==typeof e){var i=e.toLowerCase();x[i]&&(o=i),n&&(x[i]=n,o=i);var a=e.split("-");if(!o&&a.length>1)return t(a[0])}else{var s=e.name;x[s]=e,o=s}return!r&&o&&(y=o),o||!r&&y},S=function(t,e){if(w(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new C(n)},j=b;j.l=O,j.i=w,j.w=function(t,e){return S(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var C=function(){function g(t){this.$L=O(t.locale,null,!0),this.parse(t)}var m=g.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(j.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return j},m.isValid=function(){return!(this.$d.toString()===p)},m.isSame=function(t,e){var n=S(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return S(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<S(t)},m.$g=function(t,e,n){return j.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!j.u(e)||e,u=j.p(t),p=function(t,e){var o=j.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?o:o.endOf(s)},h=function(t,e){return j.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},v=this.$W,g=this.$M,m=this.$D,b="set"+(this.$u?"UTC":"");switch(u){case d:return r?p(1,0):p(31,11);case c:return r?p(1,g):p(0,g+1);case l:var y=this.$locale().weekStart||0,x=(v<y?v+7:v)-y;return p(r?m-x:m+(6-x),g);case s:case f:return h(b+"Hours",0);case a:return h(b+"Minutes",1);case i:return h(b+"Seconds",2);case o:return h(b+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,l=j.p(t),u="set"+(this.$u?"UTC":""),p=(n={},n[s]=u+"Date",n[f]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[a]=u+"Hours",n[i]=u+"Minutes",n[o]=u+"Seconds",n[r]=u+"Milliseconds",n)[l],h=l===s?this.$D+(e-this.$W):e;if(l===c||l===d){var v=this.clone().set(f,1);v.$d[p](h),v.init(),this.$d=v.set(f,Math.min(this.$D,v.daysInMonth())).$d}else p&&this.$d[p](h);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[j.p(t)]()},m.add=function(r,u){var f,p=this;r=Number(r);var h=j.p(u),v=function(t){var e=S(p);return j.w(e.date(e.date()+Math.round(t*r)),p)};if(h===c)return this.set(c,this.$M+r);if(h===d)return this.set(d,this.$y+r);if(h===s)return v(1);if(h===l)return v(7);var g=(f={},f[i]=e,f[a]=n,f[o]=t,f)[h]||1,m=this.$d.getTime()+r*g;return j.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=t||"YYYY-MM-DDTHH:mm:ssZ",o=j.z(this),i=this.$H,a=this.$m,s=this.$M,l=n.weekdays,c=n.months,u=function(t,n,o,i){return t&&(t[n]||t(e,r))||o[n].slice(0,i)},d=function(t){return j.s(i%12||12,t,"0")},f=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:j.s(s+1,2,"0"),MMM:u(n.monthsShort,s,c,3),MMMM:u(c,s),D:this.$D,DD:j.s(this.$D,2,"0"),d:String(this.$W),dd:u(n.weekdaysMin,this.$W,l,2),ddd:u(n.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(i),HH:j.s(i,2,"0"),h:d(1),hh:d(2),a:f(i,a,!0),A:f(i,a,!1),m:String(a),mm:j.s(a,2,"0"),s:String(this.$s),ss:j.s(this.$s,2,"0"),SSS:j.s(this.$ms,3,"0"),Z:o};return r.replace(v,(function(t,e){return e||h[t]||o.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,f,p){var h,v=j.p(f),g=S(r),m=(g.utcOffset()-this.utcOffset())*e,b=this-g,y=j.m(this,g);return y=(h={},h[d]=y/12,h[c]=y,h[u]=y/3,h[l]=(b-m)/6048e5,h[s]=(b-m)/864e5,h[a]=b/n,h[i]=b/e,h[o]=b/t,h)[v]||b,p?y:j.a(y)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return x[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=O(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return j.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),k=C.prototype;return S.prototype=k,[["$ms",r],["$s",o],["$m",i],["$H",a],["$W",s],["$M",c],["$y",d],["$D",f]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),S.extend=function(t,e){return t.$i||(t(e,C,S),t.$i=!0),S},S.locale=O,S.isDayjs=w,S.unix=function(t){return S(1e3*t)},S.en=x[y],S.Ls=x,S.p={},S}()},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return u}));var r=n(1),o=n.n(r),i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};var a,s=function(t,e){(function(t){var e;t?function(t){if(t)for(;t.lastChild;)t.lastChild.remove()}("string"==typeof t?document.getElementById(t):t):(e=document.querySelector(".grecaptcha-badge"))&&e.parentNode&&document.body.removeChild(e.parentNode)})(e),window.___grecaptcha_cfg=void 0;var n=document.querySelector("#"+t);n&&n.remove(),function(){var t=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');t&&t.remove()}()},l=function(e){"undefined"!=typeof t&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}),console.warn(e)};(a||(a={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var c=Object(r.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});c.Consumer;function u(t){var e=t.reCaptchaKey,n=t.useEnterprise,u=void 0!==n&&n,d=t.useRecaptchaNet,f=void 0!==d&&d,p=t.scriptProps,h=t.language,v=t.container,g=t.children,m=Object(r.useState)(null),b=m[0],y=m[1],x=Object(r.useRef)(e),w=JSON.stringify(p),O=JSON.stringify(null==v?void 0:v.parameters);Object(r.useEffect)((function(){if(e){var t=(null==p?void 0:p.id)||"google-recaptcha-v3",n=(null==p?void 0:p.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var t=u?window.grecaptcha.enterprise:window.grecaptcha,n=i({badge:"inline",size:"invisible",sitekey:e},(null==v?void 0:v.parameters)||{});x.current=t.render(null==v?void 0:v.element,n)},function(t){var e=t.render,n=t.onLoadCallbackName,r=t.language,o=t.onLoad,i=t.useRecaptchaNet,a=t.useEnterprise,s=t.scriptProps,l=void 0===s?{}:s,c=l.nonce,u=void 0===c?"":c,d=l.defer,f=void 0!==d&&d,p=l.async,h=void 0!==p&&p,v=l.id,g=void 0===v?"":v,m=l.appendTo,b=g||"google-recaptcha-v3";if(function(t){return!!document.querySelector("#"+t)}(b))o();else{var y=function(t){return"https://www."+(t.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(t.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:a,useRecaptchaNet:i}),x=document.createElement("script");x.id=b,x.src=y+"?render="+e+("explicit"===e?"&onload="+n:"")+(r?"&hl="+r:""),u&&(x.nonce=u),x.defer=!!f,x.async=!!h,x.onload=o,("body"===m?document.body:document.getElementsByTagName("head")[0]).appendChild(x)}}({render:(null==v?void 0:v.element)?"explicit":e,onLoadCallbackName:n,useEnterprise:u,useRecaptchaNet:f,scriptProps:p,language:h,onLoad:function(){if(window&&window.grecaptcha){var t=u?window.grecaptcha.enterprise:window.grecaptcha;t.ready((function(){y(t)}))}else l("<GoogleRecaptchaProvider /> "+a.SCRIPT_NOT_AVAILABLE)},onError:function(){l("Error loading google recaptcha script")}}),function(){s(t,null==v?void 0:v.element)}}l("<GoogleReCaptchaProvider /> recaptcha key not provided")}),[u,f,w,O,h,e,null==v?void 0:v.element]);var S=Object(r.useCallback)((function(t){if(!b||!b.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return b.execute(x.current,{action:t})}),[b,x]),j=Object(r.useMemo)((function(){return{executeRecaptcha:b?S:void 0,container:null==v?void 0:v.element}}),[S,b,null==v?void 0:v.element]);return o.a.createElement(c.Provider,{value:j},g)}function d(t){var e=this,n=t.action,i=t.onVerify,a=t.refreshReCaptcha,s=Object(r.useContext)(c);Object(r.useEffect)((function(){var t=s.executeRecaptcha;t&&function(t,e,n,r){new(n||(n=Promise))((function(o,i){function a(t){try{l(r.next(t))}catch(t){i(t)}}function s(t){try{l(r.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}l((r=r.apply(t,e||[])).next())}))}(e,void 0,void 0,(function(){var e;return function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}(this,(function(r){switch(r.label){case 0:return[4,t(n)];case 1:return e=r.sent(),i?(i(e),[2]):(l("Please define an onVerify function"),[2])}}))}))}),[n,i,a,s]);var u=s.container;return"string"==typeof u?o.a.createElement("div",{id:u}):null}function f(t,e){return t(e={exports:{}},e.exports),e.exports}var p="function"==typeof Symbol&&Symbol.for,h=p?Symbol.for("react.element"):60103,v=p?Symbol.for("react.portal"):60106,g=p?Symbol.for("react.fragment"):60107,m=p?Symbol.for("react.strict_mode"):60108,b=p?Symbol.for("react.profiler"):60114,y=p?Symbol.for("react.provider"):60109,x=p?Symbol.for("react.context"):60110,w=p?Symbol.for("react.async_mode"):60111,O=p?Symbol.for("react.concurrent_mode"):60111,S=p?Symbol.for("react.forward_ref"):60112,j=p?Symbol.for("react.suspense"):60113,C=p?Symbol.for("react.suspense_list"):60120,k=p?Symbol.for("react.memo"):60115,E=p?Symbol.for("react.lazy"):60116,P=p?Symbol.for("react.block"):60121,_=p?Symbol.for("react.fundamental"):60117,M=p?Symbol.for("react.responder"):60118,T=p?Symbol.for("react.scope"):60119;function A(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case h:switch(t=t.type){case w:case O:case g:case b:case m:case j:return t;default:switch(t=t&&t.$$typeof){case x:case S:case E:case k:case y:return t;default:return e}}case v:return e}}}function R(t){return A(t)===O}var D={AsyncMode:w,ConcurrentMode:O,ContextConsumer:x,ContextProvider:y,Element:h,ForwardRef:S,Fragment:g,Lazy:E,Memo:k,Portal:v,Profiler:b,StrictMode:m,Suspense:j,isAsyncMode:function(t){return R(t)||A(t)===w},isConcurrentMode:R,isContextConsumer:function(t){return A(t)===x},isContextProvider:function(t){return A(t)===y},isElement:function(t){return"object"==typeof t&&null!==t&&t.$$typeof===h},isForwardRef:function(t){return A(t)===S},isFragment:function(t){return A(t)===g},isLazy:function(t){return A(t)===E},isMemo:function(t){return A(t)===k},isPortal:function(t){return A(t)===v},isProfiler:function(t){return A(t)===b},isStrictMode:function(t){return A(t)===m},isSuspense:function(t){return A(t)===j},isValidElementType:function(t){return"string"==typeof t||"function"==typeof t||t===g||t===O||t===b||t===m||t===j||t===C||"object"==typeof t&&null!==t&&(t.$$typeof===E||t.$$typeof===k||t.$$typeof===y||t.$$typeof===x||t.$$typeof===S||t.$$typeof===_||t.$$typeof===M||t.$$typeof===T||t.$$typeof===P)},typeOf:A},I=f((function(t,e){})),N=(I.AsyncMode,I.ConcurrentMode,I.ContextConsumer,I.ContextProvider,I.Element,I.ForwardRef,I.Fragment,I.Lazy,I.Memo,I.Portal,I.Profiler,I.StrictMode,I.Suspense,I.isAsyncMode,I.isConcurrentMode,I.isContextConsumer,I.isContextProvider,I.isElement,I.isForwardRef,I.isFragment,I.isLazy,I.isMemo,I.isPortal,I.isProfiler,I.isStrictMode,I.isSuspense,I.isValidElementType,I.typeOf,f((function(t){t.exports=D}))),L={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},F={};F[N.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},F[N.Memo]=L;Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype}).call(this,n(171))},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92s-1.31-2.92-2.92-2.92z"}),"Share");e.default=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return mr})),n.d(e,"b",(function(){return ur})),n.d(e,"c",(function(){return dr})),n.d(e,"d",(function(){return ir}));var r=n(1),o=n(206),i=n.n(o),a=function(t){return function(t){return!!t&&"object"===typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===s}(t)}(t)};var s="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function l(t,e){return!1!==e.clone&&e.isMergeableObject(t)?u((n=t,Array.isArray(n)?[]:{}),t,e):t;var n}function c(t,e,n){return t.concat(e).map((function(t){return l(t,n)}))}function u(t,e,n){(n=n||{}).arrayMerge=n.arrayMerge||c,n.isMergeableObject=n.isMergeableObject||a;var r=Array.isArray(e);return r===Array.isArray(t)?r?n.arrayMerge(t,e,n):function(t,e,n){var r={};return n.isMergeableObject(t)&&Object.keys(t).forEach((function(e){r[e]=l(t[e],n)})),Object.keys(e).forEach((function(o){n.isMergeableObject(e[o])&&t[o]?r[o]=u(t[o],e[o],n):r[o]=l(e[o],n)})),r}(t,e,n):l(e,n)}u.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,n){return u(t,n,e)}),{})};var d=u,f=n(95),p=f.a.Symbol,h=Object.prototype,v=h.hasOwnProperty,g=h.toString,m=p?p.toStringTag:void 0;var b=function(t){var e=v.call(t,m),n=t[m];try{t[m]=void 0;var r=!0}catch(i){}var o=g.call(t);return r&&(e?t[m]=n:delete t[m]),o},y=Object.prototype.toString;var x=function(t){return y.call(t)},w=p?p.toStringTag:void 0;var O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":w&&w in Object(t)?b(t):x(t)};var S=function(t,e){return function(n){return t(e(n))}},j=S(Object.getPrototypeOf,Object);var C=function(t){return null!=t&&"object"==typeof t},k=Function.prototype,E=Object.prototype,P=k.toString,_=E.hasOwnProperty,M=P.call(Object);var T=function(t){if(!C(t)||"[object Object]"!=O(t))return!1;var e=j(t);if(null===e)return!0;var n=_.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&P.call(n)==M};var A=function(){this.__data__=[],this.size=0};var R=function(t,e){return t===e||t!==t&&e!==e};var D=function(t,e){for(var n=t.length;n--;)if(R(t[n][0],e))return n;return-1},I=Array.prototype.splice;var N=function(t){var e=this.__data__,n=D(e,t);return!(n<0)&&(n==e.length-1?e.pop():I.call(e,n,1),--this.size,!0)};var L=function(t){var e=this.__data__,n=D(e,t);return n<0?void 0:e[n][1]};var F=function(t){return D(this.__data__,t)>-1};var B=function(t,e){var n=this.__data__,r=D(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function z(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])}}z.prototype.clear=A,z.prototype.delete=N,z.prototype.get=L,z.prototype.has=F,z.prototype.set=B;var H=z;var V=function(){this.__data__=new H,this.size=0};var U=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var W=function(t){return this.__data__.get(t)};var q=function(t){return this.__data__.has(t)};var G=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var Y=function(t){if(!G(t))return!1;var e=O(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},X=f.a["__core-js_shared__"],K=function(){var t=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var $=function(t){return!!K&&K in t},Z=Function.prototype.toString;var Q=function(t){if(null!=t){try{return Z.call(t)}catch(e){}try{return t+""}catch(e){}}return""},J=/^\[object .+?Constructor\]$/,tt=Function.prototype,et=Object.prototype,nt=tt.toString,rt=et.hasOwnProperty,ot=RegExp("^"+nt.call(rt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var it=function(t){return!(!G(t)||$(t))&&(Y(t)?ot:J).test(Q(t))};var at=function(t,e){return null==t?void 0:t[e]};var st=function(t,e){var n=at(t,e);return it(n)?n:void 0},lt=st(f.a,"Map"),ct=st(Object,"create");var ut=function(){this.__data__=ct?ct(null):{},this.size=0};var dt=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},ft=Object.prototype.hasOwnProperty;var pt=function(t){var e=this.__data__;if(ct){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return ft.call(e,t)?e[t]:void 0},ht=Object.prototype.hasOwnProperty;var vt=function(t){var e=this.__data__;return ct?void 0!==e[t]:ht.call(e,t)};var gt=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ct&&void 0===e?"__lodash_hash_undefined__":e,this};function mt(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])}}mt.prototype.clear=ut,mt.prototype.delete=dt,mt.prototype.get=pt,mt.prototype.has=vt,mt.prototype.set=gt;var bt=mt;var yt=function(){this.size=0,this.__data__={hash:new bt,map:new(lt||H),string:new bt}};var xt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var wt=function(t,e){var n=t.__data__;return xt(e)?n["string"==typeof e?"string":"hash"]:n.map};var Ot=function(t){var e=wt(this,t).delete(t);return this.size-=e?1:0,e};var St=function(t){return wt(this,t).get(t)};var jt=function(t){return wt(this,t).has(t)};var Ct=function(t,e){var n=wt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function kt(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])}}kt.prototype.clear=yt,kt.prototype.delete=Ot,kt.prototype.get=St,kt.prototype.has=jt,kt.prototype.set=Ct;var Et=kt;var Pt=function(t,e){var n=this.__data__;if(n instanceof H){var r=n.__data__;if(!lt||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Et(r)}return n.set(t,e),this.size=n.size,this};function _t(t){var e=this.__data__=new H(t);this.size=e.size}_t.prototype.clear=V,_t.prototype.delete=U,_t.prototype.get=W,_t.prototype.has=q,_t.prototype.set=Pt;var Mt=_t;var Tt=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t},At=function(){try{var t=st(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();var Rt=function(t,e,n){"__proto__"==e&&At?At(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},Dt=Object.prototype.hasOwnProperty;var It=function(t,e,n){var r=t[e];Dt.call(t,e)&&R(r,n)&&(void 0!==n||e in t)||Rt(t,e,n)};var Nt=function(t,e,n,r){var o=!n;n||(n={});for(var i=-1,a=e.length;++i<a;){var s=e[i],l=r?r(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),o?Rt(n,s,l):It(n,s,l)}return n};var Lt=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var Ft=function(t){return C(t)&&"[object Arguments]"==O(t)},Bt=Object.prototype,zt=Bt.hasOwnProperty,Ht=Bt.propertyIsEnumerable,Vt=Ft(function(){return arguments}())?Ft:function(t){return C(t)&&zt.call(t,"callee")&&!Ht.call(t,"callee")},Ut=Vt,Wt=Array.isArray,qt=n(419),Gt=/^(?:0|[1-9]\d*)$/;var Yt=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Gt.test(t))&&t>-1&&t%1==0&&t<e};var Xt=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991},Kt={};Kt["[object Float32Array]"]=Kt["[object Float64Array]"]=Kt["[object Int8Array]"]=Kt["[object Int16Array]"]=Kt["[object Int32Array]"]=Kt["[object Uint8Array]"]=Kt["[object Uint8ClampedArray]"]=Kt["[object Uint16Array]"]=Kt["[object Uint32Array]"]=!0,Kt["[object Arguments]"]=Kt["[object Array]"]=Kt["[object ArrayBuffer]"]=Kt["[object Boolean]"]=Kt["[object DataView]"]=Kt["[object Date]"]=Kt["[object Error]"]=Kt["[object Function]"]=Kt["[object Map]"]=Kt["[object Number]"]=Kt["[object Object]"]=Kt["[object RegExp]"]=Kt["[object Set]"]=Kt["[object String]"]=Kt["[object WeakMap]"]=!1;var $t=function(t){return C(t)&&Xt(t.length)&&!!Kt[O(t)]};var Zt=function(t){return function(e){return t(e)}},Qt=n(204),Jt=Qt.a&&Qt.a.isTypedArray,te=Jt?Zt(Jt):$t,ee=Object.prototype.hasOwnProperty;var ne=function(t,e){var n=Wt(t),r=!n&&Ut(t),o=!n&&!r&&Object(qt.a)(t),i=!n&&!r&&!o&&te(t),a=n||r||o||i,s=a?Lt(t.length,String):[],l=s.length;for(var c in t)!e&&!ee.call(t,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Yt(c,l))||s.push(c);return s},re=Object.prototype;var oe=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||re)},ie=S(Object.keys,Object),ae=Object.prototype.hasOwnProperty;var se=function(t){if(!oe(t))return ie(t);var e=[];for(var n in Object(t))ae.call(t,n)&&"constructor"!=n&&e.push(n);return e};var le=function(t){return null!=t&&Xt(t.length)&&!Y(t)};var ce=function(t){return le(t)?ne(t):se(t)};var ue=function(t,e){return t&&Nt(e,ce(e),t)};var de=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},fe=Object.prototype.hasOwnProperty;var pe=function(t){if(!G(t))return de(t);var e=oe(t),n=[];for(var r in t)("constructor"!=r||!e&&fe.call(t,r))&&n.push(r);return n};var he=function(t){return le(t)?ne(t,!0):pe(t)};var ve=function(t,e){return t&&Nt(e,he(e),t)},ge=n(684);var me=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e};var be=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i};var ye=function(){return[]},xe=Object.prototype.propertyIsEnumerable,we=Object.getOwnPropertySymbols,Oe=we?function(t){return null==t?[]:(t=Object(t),be(we(t),(function(e){return xe.call(t,e)})))}:ye;var Se=function(t,e){return Nt(t,Oe(t),e)};var je=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t},Ce=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)je(e,Oe(t)),t=j(t);return e}:ye;var ke=function(t,e){return Nt(t,Ce(t),e)};var Ee=function(t,e,n){var r=e(t);return Wt(t)?r:je(r,n(t))};var Pe=function(t){return Ee(t,ce,Oe)};var _e=function(t){return Ee(t,he,Ce)},Me=st(f.a,"DataView"),Te=st(f.a,"Promise"),Ae=st(f.a,"Set"),Re=st(f.a,"WeakMap"),De="[object Map]",Ie="[object Promise]",Ne="[object Set]",Le="[object WeakMap]",Fe="[object DataView]",Be=Q(Me),ze=Q(lt),He=Q(Te),Ve=Q(Ae),Ue=Q(Re),We=O;(Me&&We(new Me(new ArrayBuffer(1)))!=Fe||lt&&We(new lt)!=De||Te&&We(Te.resolve())!=Ie||Ae&&We(new Ae)!=Ne||Re&&We(new Re)!=Le)&&(We=function(t){var e=O(t),n="[object Object]"==e?t.constructor:void 0,r=n?Q(n):"";if(r)switch(r){case Be:return Fe;case ze:return De;case He:return Ie;case Ve:return Ne;case Ue:return Le}return e});var qe=We,Ge=Object.prototype.hasOwnProperty;var Ye=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&Ge.call(t,"index")&&(n.index=t.index,n.input=t.input),n},Xe=f.a.Uint8Array;var Ke=function(t){var e=new t.constructor(t.byteLength);return new Xe(e).set(new Xe(t)),e};var $e=function(t,e){var n=e?Ke(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},Ze=/\w*$/;var Qe=function(t){var e=new t.constructor(t.source,Ze.exec(t));return e.lastIndex=t.lastIndex,e},Je=p?p.prototype:void 0,tn=Je?Je.valueOf:void 0;var en=function(t){return tn?Object(tn.call(t)):{}};var nn=function(t,e){var n=e?Ke(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};var rn=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return Ke(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return $e(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return nn(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return Qe(t);case"[object Symbol]":return en(t)}},on=Object.create,an=function(){function t(){}return function(e){if(!G(e))return{};if(on)return on(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();var sn=function(t){return"function"!=typeof t.constructor||oe(t)?{}:an(j(t))};var ln=function(t){return C(t)&&"[object Map]"==qe(t)},cn=Qt.a&&Qt.a.isMap,un=cn?Zt(cn):ln;var dn=function(t){return C(t)&&"[object Set]"==qe(t)},fn=Qt.a&&Qt.a.isSet,pn=fn?Zt(fn):dn,hn="[object Arguments]",vn="[object Function]",gn="[object Object]",mn={};mn[hn]=mn["[object Array]"]=mn["[object ArrayBuffer]"]=mn["[object DataView]"]=mn["[object Boolean]"]=mn["[object Date]"]=mn["[object Float32Array]"]=mn["[object Float64Array]"]=mn["[object Int8Array]"]=mn["[object Int16Array]"]=mn["[object Int32Array]"]=mn["[object Map]"]=mn["[object Number]"]=mn["[object Object]"]=mn["[object RegExp]"]=mn["[object Set]"]=mn["[object String]"]=mn["[object Symbol]"]=mn["[object Uint8Array]"]=mn["[object Uint8ClampedArray]"]=mn["[object Uint16Array]"]=mn["[object Uint32Array]"]=!0,mn["[object Error]"]=mn[vn]=mn["[object WeakMap]"]=!1;var bn=function t(e,n,r,o,i,a){var s,l=1&n,c=2&n,u=4&n;if(r&&(s=i?r(e,o,i,a):r(e)),void 0!==s)return s;if(!G(e))return e;var d=Wt(e);if(d){if(s=Ye(e),!l)return me(e,s)}else{var f=qe(e),p=f==vn||"[object GeneratorFunction]"==f;if(Object(qt.a)(e))return Object(ge.a)(e,l);if(f==gn||f==hn||p&&!i){if(s=c||p?{}:sn(e),!l)return c?ke(e,ve(s,e)):Se(e,ue(s,e))}else{if(!mn[f])return i?e:{};s=rn(e,f,l)}}a||(a=new Mt);var h=a.get(e);if(h)return h;a.set(e,s),pn(e)?e.forEach((function(o){s.add(t(o,n,r,o,e,a))})):un(e)&&e.forEach((function(o,i){s.set(i,t(o,n,r,i,e,a))}));var v=d?void 0:(u?c?_e:Pe:c?he:ce)(e);return Tt(v||e,(function(o,i){v&&(o=e[i=o]),It(s,i,t(o,n,r,i,e,a))})),s};var yn=function(t){return bn(t,4)};var xn=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o};var wn=function(t){return"symbol"==typeof t||C(t)&&"[object Symbol]"==O(t)};function On(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(On.Cache||Et),n}On.Cache=Et;var Sn=On;var jn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Cn=/\\(\\)?/g,kn=function(t){var e=Sn(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(jn,(function(t,n,r,o){e.push(r?o.replace(Cn,"$1"):n||t)})),e}));var En=function(t){if("string"==typeof t||wn(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e},Pn=p?p.prototype:void 0,_n=Pn?Pn.toString:void 0;var Mn=function t(e){if("string"==typeof e)return e;if(Wt(e))return xn(e,t)+"";if(wn(e))return _n?_n.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var Tn=function(t){return null==t?"":Mn(t)};var An=function(t){return Wt(t)?xn(t,En):wn(t)?[t]:me(kn(Tn(t)))},Rn=n(100),Dn=n(134),In=n.n(Dn);var Nn=function(t){return bn(t,5)};function Ln(){return Ln=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},Ln.apply(this,arguments)}function Fn(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Bn(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}function zn(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var Hn=function(t){return Array.isArray(t)&&0===t.length},Vn=function(t){return"function"===typeof t},Un=function(t){return null!==t&&"object"===typeof t},Wn=function(t){return String(Math.floor(Number(t)))===t},qn=function(t){return"[object String]"===Object.prototype.toString.call(t)},Gn=function(t){return 0===r.Children.count(t)},Yn=function(t){return Un(t)&&Vn(t.then)};function Xn(t,e,n,r){void 0===r&&(r=0);for(var o=An(e);t&&r<o.length;)t=t[o[r++]];return void 0===t?n:t}function Kn(t,e,n){for(var r=yn(t),o=r,i=0,a=An(e);i<a.length-1;i++){var s=a[i],l=Xn(t,a.slice(0,i+1));if(l&&(Un(l)||Array.isArray(l)))o=o[s]=yn(l);else{var c=a[i+1];o=o[s]=Wn(c)&&Number(c)>=0?[]:{}}}return(0===i?t:o)[a[i]]===n?t:(void 0===n?delete o[a[i]]:o[a[i]]=n,0===i&&void 0===n&&delete r[a[i]],r)}function $n(t,e,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var o=0,i=Object.keys(t);o<i.length;o++){var a=i[o],s=t[a];Un(s)?n.get(s)||(n.set(s,!0),r[a]=Array.isArray(s)?[]:{},$n(s,e,n,r[a])):r[a]=e}return r}var Zn=Object(r.createContext)(void 0);Zn.displayName="FormikContext";var Qn=Zn.Provider,Jn=Zn.Consumer;function tr(){var t=Object(r.useContext)(Zn);return t||Object(Rn.a)(!1),t}function er(t,e){switch(e.type){case"SET_VALUES":return Ln({},t,{values:e.payload});case"SET_TOUCHED":return Ln({},t,{touched:e.payload});case"SET_ERRORS":return i()(t.errors,e.payload)?t:Ln({},t,{errors:e.payload});case"SET_STATUS":return Ln({},t,{status:e.payload});case"SET_ISSUBMITTING":return Ln({},t,{isSubmitting:e.payload});case"SET_ISVALIDATING":return Ln({},t,{isValidating:e.payload});case"SET_FIELD_VALUE":return Ln({},t,{values:Kn(t.values,e.payload.field,e.payload.value)});case"SET_FIELD_TOUCHED":return Ln({},t,{touched:Kn(t.touched,e.payload.field,e.payload.value)});case"SET_FIELD_ERROR":return Ln({},t,{errors:Kn(t.errors,e.payload.field,e.payload.value)});case"RESET_FORM":return Ln({},t,e.payload);case"SET_FORMIK_STATE":return e.payload(t);case"SUBMIT_ATTEMPT":return Ln({},t,{touched:$n(t.values,!0),isSubmitting:!0,submitCount:t.submitCount+1});case"SUBMIT_FAILURE":case"SUBMIT_SUCCESS":return Ln({},t,{isSubmitting:!1});default:return t}}var nr={},rr={};function or(t){var e=t.validateOnChange,n=void 0===e||e,o=t.validateOnBlur,a=void 0===o||o,s=t.validateOnMount,l=void 0!==s&&s,c=t.isInitialValid,u=t.enableReinitialize,f=void 0!==u&&u,p=t.onSubmit,h=Bn(t,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),v=Ln({validateOnChange:n,validateOnBlur:a,validateOnMount:l,onSubmit:p},h),g=Object(r.useRef)(v.initialValues),m=Object(r.useRef)(v.initialErrors||nr),b=Object(r.useRef)(v.initialTouched||rr),y=Object(r.useRef)(v.initialStatus),x=Object(r.useRef)(!1),w=Object(r.useRef)({});Object(r.useEffect)((function(){return x.current=!0,function(){x.current=!1}}),[]);var O=Object(r.useReducer)(er,{values:v.initialValues,errors:v.initialErrors||nr,touched:v.initialTouched||rr,status:v.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),S=O[0],j=O[1],C=Object(r.useCallback)((function(t,e){return new Promise((function(n,r){var o=v.validate(t,e);null==o?n(nr):Yn(o)?o.then((function(t){n(t||nr)}),(function(t){r(t)})):n(o)}))}),[v.validate]),k=Object(r.useCallback)((function(t,e){var n=v.validationSchema,r=Vn(n)?n(e):n,o=e&&r.validateAt?r.validateAt(e,t):function(t,e,n,r){void 0===n&&(n=!1);void 0===r&&(r={});var o=ar(t);return e[n?"validateSync":"validate"](o,{abortEarly:!1,context:r})}(t,r);return new Promise((function(t,e){o.then((function(){t(nr)}),(function(n){"ValidationError"===n.name?t(function(t){var e={};if(t.inner){if(0===t.inner.length)return Kn(e,t.path,t.message);var n=t.inner,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if((o=n.next()).done)break;i=o.value}var a=i;Xn(e,a.path)||(e=Kn(e,a.path,a.message))}}return e}(n)):e(n)}))}))}),[v.validationSchema]),E=Object(r.useCallback)((function(t,e){return new Promise((function(n){return n(w.current[t].validate(e))}))}),[]),P=Object(r.useCallback)((function(t){var e=Object.keys(w.current).filter((function(t){return Vn(w.current[t].validate)})),n=e.length>0?e.map((function(e){return E(e,Xn(t,e))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(t){return t.reduce((function(t,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(t=Kn(t,e[r],n)),t}),{})}))}),[E]),_=Object(r.useCallback)((function(t){return Promise.all([P(t),v.validationSchema?k(t):{},v.validate?C(t):{}]).then((function(t){var e=t[0],n=t[1],r=t[2];return d.all([e,n,r],{arrayMerge:sr})}))}),[v.validate,v.validationSchema,P,C,k]),M=cr((function(t){return void 0===t&&(t=S.values),j({type:"SET_ISVALIDATING",payload:!0}),_(t).then((function(t){return x.current&&(j({type:"SET_ISVALIDATING",payload:!1}),j({type:"SET_ERRORS",payload:t})),t}))}));Object(r.useEffect)((function(){l&&!0===x.current&&i()(g.current,v.initialValues)&&M(g.current)}),[l,M]);var T=Object(r.useCallback)((function(t){var e=t&&t.values?t.values:g.current,n=t&&t.errors?t.errors:m.current?m.current:v.initialErrors||{},r=t&&t.touched?t.touched:b.current?b.current:v.initialTouched||{},o=t&&t.status?t.status:y.current?y.current:v.initialStatus;g.current=e,m.current=n,b.current=r,y.current=o;var i=function(){j({type:"RESET_FORM",payload:{isSubmitting:!!t&&!!t.isSubmitting,errors:n,touched:r,status:o,values:e,isValidating:!!t&&!!t.isValidating,submitCount:t&&t.submitCount&&"number"===typeof t.submitCount?t.submitCount:0}})};if(v.onReset){var a=v.onReset(S.values,$);Yn(a)?a.then(i):i()}else i()}),[v.initialErrors,v.initialStatus,v.initialTouched]);Object(r.useEffect)((function(){!0!==x.current||i()(g.current,v.initialValues)||(f&&(g.current=v.initialValues,T()),l&&M(g.current))}),[f,v.initialValues,T,l,M]),Object(r.useEffect)((function(){f&&!0===x.current&&!i()(m.current,v.initialErrors)&&(m.current=v.initialErrors||nr,j({type:"SET_ERRORS",payload:v.initialErrors||nr}))}),[f,v.initialErrors]),Object(r.useEffect)((function(){f&&!0===x.current&&!i()(b.current,v.initialTouched)&&(b.current=v.initialTouched||rr,j({type:"SET_TOUCHED",payload:v.initialTouched||rr}))}),[f,v.initialTouched]),Object(r.useEffect)((function(){f&&!0===x.current&&!i()(y.current,v.initialStatus)&&(y.current=v.initialStatus,j({type:"SET_STATUS",payload:v.initialStatus}))}),[f,v.initialStatus,v.initialTouched]);var A=cr((function(t){if(w.current[t]&&Vn(w.current[t].validate)){var e=Xn(S.values,t),n=w.current[t].validate(e);return Yn(n)?(j({type:"SET_ISVALIDATING",payload:!0}),n.then((function(t){return t})).then((function(e){j({type:"SET_FIELD_ERROR",payload:{field:t,value:e}}),j({type:"SET_ISVALIDATING",payload:!1})}))):(j({type:"SET_FIELD_ERROR",payload:{field:t,value:n}}),Promise.resolve(n))}return v.validationSchema?(j({type:"SET_ISVALIDATING",payload:!0}),k(S.values,t).then((function(t){return t})).then((function(e){j({type:"SET_FIELD_ERROR",payload:{field:t,value:e[t]}}),j({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),R=Object(r.useCallback)((function(t,e){var n=e.validate;w.current[t]={validate:n}}),[]),D=Object(r.useCallback)((function(t){delete w.current[t]}),[]),I=cr((function(t,e){return j({type:"SET_TOUCHED",payload:t}),(void 0===e?a:e)?M(S.values):Promise.resolve()})),N=Object(r.useCallback)((function(t){j({type:"SET_ERRORS",payload:t})}),[]),L=cr((function(t,e){var r=Vn(t)?t(S.values):t;return j({type:"SET_VALUES",payload:r}),(void 0===e?n:e)?M(r):Promise.resolve()})),F=Object(r.useCallback)((function(t,e){j({type:"SET_FIELD_ERROR",payload:{field:t,value:e}})}),[]),B=cr((function(t,e,r){return j({type:"SET_FIELD_VALUE",payload:{field:t,value:e}}),(void 0===r?n:r)?M(Kn(S.values,t,e)):Promise.resolve()})),z=Object(r.useCallback)((function(t,e){var n,r=e,o=t;if(!qn(t)){t.persist&&t.persist();var i=t.target?t.target:t.currentTarget,a=i.type,s=i.name,l=i.id,c=i.value,u=i.checked,d=(i.outerHTML,i.options),f=i.multiple;r=e||(s||l),o=/number|range/.test(a)?(n=parseFloat(c),isNaN(n)?"":n):/checkbox/.test(a)?function(t,e,n){if("boolean"===typeof t)return Boolean(e);var r=[],o=!1,i=-1;if(Array.isArray(t))r=t,o=(i=t.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(e);if(e&&n&&!o)return r.concat(n);if(!o)return r;return r.slice(0,i).concat(r.slice(i+1))}(Xn(S.values,r),u,c):d&&f?function(t){return Array.from(t).filter((function(t){return t.selected})).map((function(t){return t.value}))}(d):c}r&&B(r,o)}),[B,S.values]),H=cr((function(t){if(qn(t))return function(e){return z(e,t)};z(t)})),V=cr((function(t,e,n){return void 0===e&&(e=!0),j({type:"SET_FIELD_TOUCHED",payload:{field:t,value:e}}),(void 0===n?a:n)?M(S.values):Promise.resolve()})),U=Object(r.useCallback)((function(t,e){t.persist&&t.persist();var n=t.target,r=n.name,o=n.id,i=(n.outerHTML,e||(r||o));V(i,!0)}),[V]),W=cr((function(t){if(qn(t))return function(e){return U(e,t)};U(t)})),q=Object(r.useCallback)((function(t){Vn(t)?j({type:"SET_FORMIK_STATE",payload:t}):j({type:"SET_FORMIK_STATE",payload:function(){return t}})}),[]),G=Object(r.useCallback)((function(t){j({type:"SET_STATUS",payload:t})}),[]),Y=Object(r.useCallback)((function(t){j({type:"SET_ISSUBMITTING",payload:t})}),[]),X=cr((function(){return j({type:"SUBMIT_ATTEMPT"}),M().then((function(t){var e=t instanceof Error;if(!e&&0===Object.keys(t).length){var n;try{if(void 0===(n=Z()))return}catch(r){throw r}return Promise.resolve(n).then((function(t){return x.current&&j({type:"SUBMIT_SUCCESS"}),t})).catch((function(t){if(x.current)throw j({type:"SUBMIT_FAILURE"}),t}))}if(x.current&&(j({type:"SUBMIT_FAILURE"}),e))throw t}))})),K=cr((function(t){t&&t.preventDefault&&Vn(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&Vn(t.stopPropagation)&&t.stopPropagation(),X().catch((function(t){console.warn("Warning: An unhandled error was caught from submitForm()",t)}))})),$={resetForm:T,validateForm:M,validateField:A,setErrors:N,setFieldError:F,setFieldTouched:V,setFieldValue:B,setStatus:G,setSubmitting:Y,setTouched:I,setValues:L,setFormikState:q,submitForm:X},Z=cr((function(){return p(S.values,$)})),Q=cr((function(t){t&&t.preventDefault&&Vn(t.preventDefault)&&t.preventDefault(),t&&t.stopPropagation&&Vn(t.stopPropagation)&&t.stopPropagation(),T()})),J=Object(r.useCallback)((function(t){return{value:Xn(S.values,t),error:Xn(S.errors,t),touched:!!Xn(S.touched,t),initialValue:Xn(g.current,t),initialTouched:!!Xn(b.current,t),initialError:Xn(m.current,t)}}),[S.errors,S.touched,S.values]),tt=Object(r.useCallback)((function(t){return{setValue:function(e,n){return B(t,e,n)},setTouched:function(e,n){return V(t,e,n)},setError:function(e){return F(t,e)}}}),[B,V,F]),et=Object(r.useCallback)((function(t){var e=Un(t),n=e?t.name:t,r=Xn(S.values,n),o={name:n,value:r,onChange:H,onBlur:W};if(e){var i=t.type,a=t.value,s=t.as,l=t.multiple;"checkbox"===i?void 0===a?o.checked=!!r:(o.checked=!(!Array.isArray(r)||!~r.indexOf(a)),o.value=a):"radio"===i?(o.checked=r===a,o.value=a):"select"===s&&l&&(o.value=o.value||[],o.multiple=!0)}return o}),[W,H,S.values]),nt=Object(r.useMemo)((function(){return!i()(g.current,S.values)}),[g.current,S.values]),rt=Object(r.useMemo)((function(){return"undefined"!==typeof c?nt?S.errors&&0===Object.keys(S.errors).length:!1!==c&&Vn(c)?c(v):c:S.errors&&0===Object.keys(S.errors).length}),[c,nt,S.errors,v]);return Ln({},S,{initialValues:g.current,initialErrors:m.current,initialTouched:b.current,initialStatus:y.current,handleBlur:W,handleChange:H,handleReset:Q,handleSubmit:K,resetForm:T,setErrors:N,setFormikState:q,setFieldTouched:V,setFieldValue:B,setFieldError:F,setStatus:G,setSubmitting:Y,setTouched:I,setValues:L,submitForm:X,validateForm:M,validateField:A,isValid:rt,dirty:nt,unregisterField:D,registerField:R,getFieldProps:et,getFieldMeta:J,getFieldHelpers:tt,validateOnBlur:a,validateOnChange:n,validateOnMount:l})}function ir(t){var e=or(t),n=t.component,o=t.children,i=t.render,a=t.innerRef;return Object(r.useImperativeHandle)(a,(function(){return e})),Object(r.createElement)(Qn,{value:e},n?Object(r.createElement)(n,e):i?i(e):o?Vn(o)?o(e):Gn(o)?null:r.Children.only(o):null)}function ar(t){var e=Array.isArray(t)?[]:{};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){var r=String(n);!0===Array.isArray(t[r])?e[r]=t[r].map((function(t){return!0===Array.isArray(t)||T(t)?ar(t):""!==t?t:void 0})):T(t[r])?e[r]=ar(t[r]):e[r]=""!==t[r]?t[r]:void 0}return e}function sr(t,e,n){var r=t.slice();return e.forEach((function(e,o){if("undefined"===typeof r[o]){var i=!1!==n.clone&&n.isMergeableObject(e);r[o]=i?d(Array.isArray(e)?[]:{},e,n):e}else n.isMergeableObject(e)?r[o]=d(t[o],e,n):-1===t.indexOf(e)&&r.push(e)})),r}var lr="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;function cr(t){var e=Object(r.useRef)(t);return lr((function(){e.current=t})),Object(r.useCallback)((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e.current.apply(void 0,n)}),[])}function ur(t){var e=t.validate,n=t.name,o=t.render,i=t.children,a=t.as,s=t.component,l=Bn(t,["validate","name","render","children","as","component"]),c=Bn(tr(),["validate","validationSchema"]);var u=c.registerField,d=c.unregisterField;Object(r.useEffect)((function(){return u(n,{validate:e}),function(){d(n)}}),[u,d,n,e]);var f=c.getFieldProps(Ln({name:n},l)),p=c.getFieldMeta(n),h={field:f,form:c};if(o)return o(Ln({},h,{meta:p}));if(Vn(i))return i(Ln({},h,{meta:p}));if(s){if("string"===typeof s){var v=l.innerRef,g=Bn(l,["innerRef"]);return Object(r.createElement)(s,Ln({ref:v},f,g),i)}return Object(r.createElement)(s,Ln({field:f,form:c},l),i)}var m=a||"input";if("string"===typeof m){var b=l.innerRef,y=Bn(l,["innerRef"]);return Object(r.createElement)(m,Ln({ref:b},f,y),i)}return Object(r.createElement)(m,Ln({},f,l),i)}var dr=Object(r.forwardRef)((function(t,e){var n=t.action,o=Bn(t,["action"]),i=null!=n?n:"#",a=tr(),s=a.handleReset,l=a.handleSubmit;return Object(r.createElement)("form",Object.assign({onSubmit:l,ref:e,onReset:s,action:i},o))}));function fr(t){var e=function(e){return Object(r.createElement)(Jn,null,(function(n){return n||Object(Rn.a)(!1),Object(r.createElement)(t,Object.assign({},e,{formik:n}))}))},n=t.displayName||t.name||t.constructor&&t.constructor.name||"Component";return e.WrappedComponent=t,e.displayName="FormikConnect("+n+")",In()(e,t)}dr.displayName="Form";var pr=function(t,e,n){var r=hr(t);return r.splice(e,0,n),r},hr=function(t){if(t){if(Array.isArray(t))return[].concat(t);var e=Object.keys(t).map((function(t){return parseInt(t)})).reduce((function(t,e){return e>t?e:t}),0);return Array.from(Ln({},t,{length:e+1}))}return[]},vr=function(t){function e(e){var n;return(n=t.call(this,e)||this).updateArrayField=function(t,e,r){var o=n.props,i=o.name;(0,o.formik.setFormikState)((function(n){var o="function"===typeof r?r:t,a="function"===typeof e?e:t,s=Kn(n.values,i,t(Xn(n.values,i))),l=r?o(Xn(n.errors,i)):void 0,c=e?a(Xn(n.touched,i)):void 0;return Hn(l)&&(l=void 0),Hn(c)&&(c=void 0),Ln({},n,{values:s,errors:r?Kn(n.errors,i,l):n.errors,touched:e?Kn(n.touched,i,c):n.touched})}))},n.push=function(t){return n.updateArrayField((function(e){return[].concat(hr(e),[Nn(t)])}),!1,!1)},n.handlePush=function(t){return function(){return n.push(t)}},n.swap=function(t,e){return n.updateArrayField((function(n){return function(t,e,n){var r=hr(t),o=r[e];return r[e]=r[n],r[n]=o,r}(n,t,e)}),!0,!0)},n.handleSwap=function(t,e){return function(){return n.swap(t,e)}},n.move=function(t,e){return n.updateArrayField((function(n){return function(t,e,n){var r=hr(t),o=r[e];return r.splice(e,1),r.splice(n,0,o),r}(n,t,e)}),!0,!0)},n.handleMove=function(t,e){return function(){return n.move(t,e)}},n.insert=function(t,e){return n.updateArrayField((function(n){return pr(n,t,e)}),(function(e){return pr(e,t,null)}),(function(e){return pr(e,t,null)}))},n.handleInsert=function(t,e){return function(){return n.insert(t,e)}},n.replace=function(t,e){return n.updateArrayField((function(n){return function(t,e,n){var r=hr(t);return r[e]=n,r}(n,t,e)}),!1,!1)},n.handleReplace=function(t,e){return function(){return n.replace(t,e)}},n.unshift=function(t){var e=-1;return n.updateArrayField((function(n){var r=n?[t].concat(n):[t];return e<0&&(e=r.length),r}),(function(t){var n=t?[null].concat(t):[null];return e<0&&(e=n.length),n}),(function(t){var n=t?[null].concat(t):[null];return e<0&&(e=n.length),n})),e},n.handleUnshift=function(t){return function(){return n.unshift(t)}},n.handleRemove=function(t){return function(){return n.remove(t)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(zn(n)),n.pop=n.pop.bind(zn(n)),n}Fn(e,t);var n=e.prototype;return n.componentDidUpdate=function(t){this.props.validateOnChange&&this.props.formik.validateOnChange&&!i()(Xn(t.formik.values,t.name),Xn(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(t){var e;return this.updateArrayField((function(n){var r=n?hr(n):[];return e||(e=r[t]),Vn(r.splice)&&r.splice(t,1),r}),!0,!0),e},n.pop=function(){var t;return this.updateArrayField((function(e){var n=e;return t||(t=n&&n.pop&&n.pop()),n}),!0,!0),t},n.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},e=this.props,n=e.component,o=e.render,i=e.children,a=e.name,s=Ln({},t,{form:Bn(e.formik,["validate","validationSchema"]),name:a});return n?Object(r.createElement)(n,s):o?o(s):i?"function"===typeof i?i(s):Gn(i)?null:r.Children.only(i):null},e}(r.Component);vr.defaultProps={validateOnChange:!0};var gr=function(t){function e(){return t.apply(this,arguments)||this}Fn(e,t);var n=e.prototype;return n.shouldComponentUpdate=function(t){return Xn(this.props.formik.errors,this.props.name)!==Xn(t.formik.errors,this.props.name)||Xn(this.props.formik.touched,this.props.name)!==Xn(t.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(t).length},n.render=function(){var t=this.props,e=t.component,n=t.formik,o=t.render,i=t.children,a=t.name,s=Bn(t,["component","formik","render","children","name"]),l=Xn(n.touched,a),c=Xn(n.errors,a);return l&&c?o?Vn(o)?o(c):null:i?Vn(i)?i(c):null:e?Object(r.createElement)(e,s,c):c:null},e}(r.Component),mr=fr(gr);r.Component},function(t,e,n){"use strict";function r(t,e){"function"===typeof t?t(e):t&&(t.current=e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3),o=n(257);function i(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return Object(o.a)(t)?e:Object(r.a)({},e,{ownerState:Object(r.a)({},e.ownerState,n)})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return T}));var r=n(90),o=n.n(r),i=n(40),a=n.n(i),s=n(1),l=n.n(s),c=n(56),u=n.n(c),d=n(227),f=n(136),p=n(74),h=n(255),v=n(164),g=n(145),m=n(18),b=n(39);function y(t){return y="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},y(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},x.apply(this,arguments)}function w(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 O(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?w(Object(n),!0).forEach((function(e){S(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(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 j(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function C(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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,e){return E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},E(t,e)}function P(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=M(t);if(e){var o=M(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(t,e){return!e||"object"!==y(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 M(t){return M=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},M(t)}var T=function(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&&E(t,e)}(s,t);var e,n,r,i=P(s);function s(){return C(this,s),i.apply(this,arguments)}return e=s,r=[{key:"getTicks",value:function(t){var e=t.tick,n=t.ticks,r=t.viewBox,o=t.minTickGap,i=t.orientation,a=t.interval,l=t.tickFormatter,c=t.unit;return n&&n.length&&e?Object(m.g)(a)||g.a.isSsr?s.getNumberIntervalTicks(n,"number"===typeof a&&Object(m.g)(a)?a:0):"preserveStartEnd"===a?s.getTicksStart({ticks:n,tickFormatter:l,viewBox:r,orientation:i,minTickGap:o,unit:c},!0):"preserveStart"===a?s.getTicksStart({ticks:n,tickFormatter:l,viewBox:r,orientation:i,minTickGap:o,unit:c}):s.getTicksEnd({ticks:n,tickFormatter:l,viewBox:r,orientation:i,minTickGap:o,unit:c}):[]}},{key:"getNumberIntervalTicks",value:function(t,e){return t.filter((function(t,n){return n%(e+1)===0}))}},{key:"getTicksStart",value:function(t,e){var n,r,o=t.ticks,i=t.tickFormatter,s=t.viewBox,l=t.orientation,c=t.minTickGap,u=t.unit,d=s.x,p=s.y,h=s.width,v=s.height,g="top"===l||"bottom"===l?"width":"height",b=(o||[]).slice(),y=u&&"width"===g?Object(f.c)(u)[g]:0,x=b.length,w=x>=2?Object(m.i)(b[1].coordinate-b[0].coordinate):1;if(1===w?(n="width"===g?d:p,r="width"===g?d+h:p+v):(n="width"===g?d+h:p+v,r="width"===g?d:p),e){var S=o[x-1],j=a()(i)?i(S.value,x-1):S.value,C=Object(f.c)(j)[g]+y,k=w*(S.coordinate+w*C/2-r);b[x-1]=S=O(O({},S),{},{tickCoord:k>0?S.coordinate-k*w:S.coordinate}),w*(S.tickCoord-w*C/2-n)>=0&&w*(S.tickCoord+w*C/2-r)<=0&&(r=S.tickCoord-w*(C/2+c),b[x-1]=O(O({},S),{},{isShow:!0}))}for(var E=e?x-1:x,P=0;P<E;P++){var _=b[P],M=a()(i)?i(_.value,P):_.value,T=Object(f.c)(M)[g]+y;if(0===P){var A=w*(_.coordinate-w*T/2-n);b[P]=_=O(O({},_),{},{tickCoord:A<0?_.coordinate-A*w:_.coordinate})}else b[P]=_=O(O({},_),{},{tickCoord:_.coordinate});w*(_.tickCoord-w*T/2-n)>=0&&w*(_.tickCoord+w*T/2-r)<=0&&(n=_.tickCoord+w*(T/2+c),b[P]=O(O({},_),{},{isShow:!0}))}return b.filter((function(t){return t.isShow}))}},{key:"getTicksEnd",value:function(t){var e,n,r=t.ticks,o=t.tickFormatter,i=t.viewBox,s=t.orientation,l=t.minTickGap,c=t.unit,u=i.x,d=i.y,p=i.width,h=i.height,v="top"===s||"bottom"===s?"width":"height",g=c&&"width"===v?Object(f.c)(c)[v]:0,b=(r||[]).slice(),y=b.length,x=y>=2?Object(m.i)(b[1].coordinate-b[0].coordinate):1;1===x?(e="width"===v?u:d,n="width"===v?u+p:d+h):(e="width"===v?u+p:d+h,n="width"===v?u:d);for(var w=y-1;w>=0;w--){var S=b[w],j=a()(o)?o(S.value,y-w-1):S.value,C=Object(f.c)(j)[v]+g;if(w===y-1){var k=x*(S.coordinate+x*C/2-n);b[w]=S=O(O({},S),{},{tickCoord:k>0?S.coordinate-k*x:S.coordinate})}else b[w]=S=O(O({},S),{},{tickCoord:S.coordinate});x*(S.tickCoord-x*C/2-e)>=0&&x*(S.tickCoord+x*C/2-n)<=0&&(n=S.tickCoord-x*(C/2+l),b[w]=O(O({},S),{},{isShow:!0}))}return b.filter((function(t){return t.isShow}))}},{key:"renderTickItem",value:function(t,e,n){return l.a.isValidElement(t)?l.a.cloneElement(t,e):a()(t)?t(e):l.a.createElement(h.a,x({},e,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(n=[{key:"shouldComponentUpdate",value:function(t){var e=t.viewBox,n=j(t,["viewBox"]),r=this.props,o=r.viewBox,i=j(r,["viewBox"]);return!Object(d.a)(e,o)||!Object(d.a)(n,i)}},{key:"getTickLineCoord",value:function(t){var e,n,r,o,i,a,s=this.props,l=s.x,c=s.y,u=s.width,d=s.height,f=s.orientation,p=s.tickSize,h=s.mirror,v=s.tickMargin,g=h?-1:1,b=t.tickSize||p,y=Object(m.g)(t.tickCoord)?t.tickCoord:t.coordinate;switch(f){case"top":e=n=t.coordinate,a=(r=(o=c+ +!h*d)-g*b)-g*v,i=y;break;case"left":r=o=t.coordinate,i=(e=(n=l+ +!h*u)-g*b)-g*v,a=y;break;case"right":r=o=t.coordinate,i=(e=(n=l+ +h*u)+g*b)+g*v,a=y;break;default:e=n=t.coordinate,a=(r=(o=c+ +h*d)+g*b)+g*v,i=y}return{line:{x1:e,y1:r,x2:n,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,n=e.orientation,r=e.mirror;switch(n){case"left":t=r?"start":"end";break;case"right":t=r?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,n=t.mirror,r="end";switch(e){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.orientation,s=t.mirror,c=t.axisLine,d=O(O(O({},Object(b.c)(this.props)),Object(b.c)(c)),{},{fill:"none"});if("top"===a||"bottom"===a){var f=+("top"===a&&!s||"bottom"===a&&s);d=O(O({},d),{},{x1:e,y1:n+f*i,x2:e+r,y2:n+f*i})}else{var p=+("left"===a&&!s||"right"===a&&s);d=O(O({},d),{},{x1:e+p*r,y1:n,x2:e+p*r,y2:n+i})}return l.a.createElement("line",x({},d,{className:u()("recharts-cartesian-axis-line",o()(c,"className"))}))}},{key:"renderTicks",value:function(t){var e=this,n=this.props,r=n.tickLine,i=n.stroke,c=n.tick,d=n.tickFormatter,f=n.unit,h=s.getTicks(O(O({},this.props),{},{ticks:t})),v=this.getTickTextAnchor(),g=this.getTickVerticalAnchor(),m=Object(b.c)(this.props),y=Object(b.c)(c),w=O(O({},m),{},{fill:"none"},Object(b.c)(r)),S=h.map((function(t,n){var S=e.getTickLineCoord(t),j=S.line,C=S.tick,k=O(O(O(O({textAnchor:v,verticalAnchor:g},m),{},{stroke:"none",fill:i},y),C),{},{index:n,payload:t,visibleTicksCount:h.length,tickFormatter:d});return l.a.createElement(p.a,x({className:"recharts-cartesian-axis-tick",key:"tick-".concat(n)},Object(b.b)(e.props,t,n)),r&&l.a.createElement("line",x({},w,j,{className:u()("recharts-cartesian-axis-tick-line",o()(r,"className"))})),c&&s.renderTickItem(c,k,"".concat(a()(d)?d(t.value,n):t.value).concat(f||"")))}));return l.a.createElement("g",{className:"recharts-cartesian-axis-ticks"},S)}},{key:"render",value:function(){var t=this.props,e=t.axisLine,n=t.width,r=t.height,o=t.ticksGenerator,i=t.className;if(t.hide)return null;var s=this.props,c=s.ticks,d=j(s,["ticks"]),f=c;return a()(o)&&(f=c&&c.length>0?o(this.props):o(d)),n<=0||r<=0||!f||!f.length?null:l.a.createElement(p.a,{className:u()("recharts-cartesian-axis",i)},e&&this.renderAxisLine(),this.renderTicks(f),v.a.renderCallByParent(this.props))}}])&&k(e.prototype,n),r&&k(e,r),s}(s.Component);T.displayName="CartesianAxis",T.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"}},function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return i}));var r=n(3);function o(t){return null!==t&&"object"===typeof t&&t.constructor===Object}function i(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?Object(r.a)({},t):t;return o(t)&&o(e)&&Object.keys(e).forEach((function(r){"__proto__"!==r&&(o(e[r])&&r in t&&o(t[r])?a[r]=i(t[r],e[r],n):a[r]=e[r])})),a}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(350);function i(t){var e=r.useRef(t);return Object(o.a)((function(){e.current=t})),r.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(1153),l=n(230),c=n(13),u=n(17),d=n(15),f=n(168),p=n(187);function h(t){return Object(f.a)("MuiTypography",t)}Object(p.a)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var v=n(0),g=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],m=Object(c.a)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.variant&&e[n.variant],"inherit"!==n.align&&e["align".concat(Object(d.a)(n.align))],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})((function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({margin:0},n.variant&&e.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=i.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiTypography"}),i=function(t){return y[t]||t}(n.color),c=Object(s.a)(Object(o.a)({},n,{color:i})),f=c.align,p=void 0===f?"inherit":f,x=c.className,w=c.component,O=c.gutterBottom,S=void 0!==O&&O,j=c.noWrap,C=void 0!==j&&j,k=c.paragraph,E=void 0!==k&&k,P=c.variant,_=void 0===P?"body1":P,M=c.variantMapping,T=void 0===M?b:M,A=Object(r.a)(c,g),R=Object(o.a)({},c,{align:p,color:i,className:x,component:w,gutterBottom:S,noWrap:C,paragraph:E,variant:_,variantMapping:T}),D=w||(E?"p":T[_]||b[_])||"span",I=function(t){var e=t.align,n=t.gutterBottom,r=t.noWrap,o=t.paragraph,i=t.variant,a=t.classes,s={root:["root",i,"inherit"!==t.align&&"align".concat(Object(d.a)(e)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Object(l.a)(s,h,a)}(R);return Object(v.jsx)(m,Object(o.a)({as:D,ref:e,ownerState:R,className:Object(a.default)(I.root,x)},A))}));e.a=x},,,,,,,,,function(t,e){t.exports=function(t,e){return t===e||t!==t&&e!==e}},function(t,e,n){var r=n(549);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},function(t,e,n){var r=n(559),o=n(823),i=n(213);t.exports=function(t){return i(t)?r(t,!0):o(t)}},function(t,e,n){var r=n(322),o=n(213),i=n(466),a=n(87);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?o(n)&&i(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},function(t,e,n){var r=n(849);t.exports=function(t){return null==t?"":r(t)}},function(t,e,n){var r=n(273);t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},function(t,e,n){(e=t.exports=n(599)).Stream=e,e.Readable=e,e.Writable=n(476),e.Duplex=n(241),e.Transform=n(602),e.PassThrough=n(929)},function(t,e,n){"use strict";var r,o="object"===typeof Reflect?Reflect:null,i=o&&"function"===typeof o.apply?o.apply:function(t,e,n){return Function.prototype.apply.call(t,e,n)};r=o&&"function"===typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var a=Number.isNaN||function(t){return t!==t};function s(){s.init.call(this)}t.exports=s,t.exports.once=function(t,e){return new Promise((function(n,r){function o(n){t.removeListener(e,i),r(n)}function i(){"function"===typeof t.removeListener&&t.removeListener("error",o),n([].slice.call(arguments))}m(t,e,i,{once:!0}),"error"!==e&&function(t,e,n){"function"===typeof t.on&&m(t,"error",e,n)}(t,o,{once:!0})}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(t){if("function"!==typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function d(t,e,n,r){var o,i,a,s;if(c(n),void 0===(i=t._events)?(i=t._events=Object.create(null),t._eventsCount=0):(void 0!==i.newListener&&(t.emit("newListener",e,n.listener?n.listener:n),i=t._events),a=i[e]),void 0===a)a=i[e]=n,++t._eventsCount;else if("function"===typeof a?a=i[e]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=u(t))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return t}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(t,e,n){var r={fired:!1,wrapFn:void 0,target:t,type:e,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function h(t,e,n){var r=t._events;if(void 0===r)return[];var o=r[e];return void 0===o?[]:"function"===typeof o?n?[o.listener||o]:[o]:n?function(t){for(var e=new Array(t.length),n=0;n<e.length;++n)e[n]=t[n].listener||t[n];return e}(o):g(o,o.length)}function v(t){var e=this._events;if(void 0!==e){var n=e[t];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function g(t,e){for(var n=new Array(e),r=0;r<e;++r)n[r]=t[r];return n}function m(t,e,n,r){if("function"===typeof t.on)r.once?t.once(e,n):t.on(e,n);else{if("function"!==typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function o(i){r.once&&t.removeEventListener(e,o),n(i)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");l=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!==typeof t||t<0||a(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e.push(arguments[n]);var r="error"===t,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(e.length>0&&(a=e[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[t];if(void 0===l)return!1;if("function"===typeof l)i(l,this,e);else{var c=l.length,u=g(l,c);for(n=0;n<c;++n)i(u[n],this,e)}return!0},s.prototype.addListener=function(t,e){return d(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return d(this,t,e,!0)},s.prototype.once=function(t,e){return c(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,p(this,t,e)),this},s.prototype.removeListener=function(t,e){var n,r,o,i,a;if(c(e),void 0===(r=this._events))return this;if(void 0===(n=r[t]))return this;if(n===e||n.listener===e)0===--this._eventsCount?this._events=Object.create(null):(delete r[t],r.removeListener&&this.emit("removeListener",t,n.listener||e));else if("function"!==typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===e||n[i].listener===e){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(n,o),1===n.length&&(r[t]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",t,a||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[t]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[t]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"===typeof(e=n[t]))this.removeListener(t,e);else if(void 0!==e)for(r=e.length-1;r>=0;r--)this.removeListener(t,e[r]);return this},s.prototype.listeners=function(t){return h(this,t,!0)},s.prototype.rawListeners=function(t){return h(this,t,!1)},s.listenerCount=function(t,e){return"function"===typeof t.listenerCount?t.listenerCount(e):v.call(t,e)},s.prototype.listenerCount=v,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(t,e,n){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"===typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"===typeof t},e.isString=function(t){return"string"===typeof t},e.isSymbol=function(t){return"symbol"===typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"===typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"===typeof t},e.isPrimitive=function(t){return null===t||"boolean"===typeof t||"number"===typeof t||"string"===typeof t||"symbol"===typeof t||"undefined"===typeof t},e.isBuffer=n(193).Buffer.isBuffer},function(t,e,n){t.exports=n(1002)()},function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return a}));var r=n(47),o=n(64),i=Symbol("implicit");function a(){var t=new Map,e=[],n=[],s=i;function l(r){var o=r+"",a=t.get(o);if(!a){if(s!==i)return s;t.set(o,a=e.push(r))}return n[(a-1)%n.length]}return l.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;var o,i=Object(r.a)(n);try{for(i.s();!(o=i.n()).done;){var a=o.value,s=a+"";t.has(s)||t.set(s,e.push(a))}}catch(c){i.e(c)}finally{i.f()}return l},l.range=function(t){return arguments.length?(n=Array.from(t),l):n.slice()},l.unknown=function(t){return arguments.length?(s=t,l):s},l.copy=function(){return a(e,n).unknown(s)},o.b.apply(l,arguments),l}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M16.5 3c-.96 0-1.9.25-2.73.69L12 9h3l-3 10 1-9h-3l1.54-5.39C10.47 3.61 9.01 3 7.5 3 4.42 3 2 5.42 2 8.5c0 4.13 4.16 7.18 10 12.5 5.47-4.94 10-8.26 10-12.5C22 5.42 19.58 3 16.5 3z"}),"HeartBroken");e.default=a},function(t,e,n){"use strict";t.exports=function(t){for(var e=5381,n=t.length;n;)e=33*e^t.charCodeAt(--n);return e>>>0}},function(t,e,n){"use strict";var r=n(1108),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(t){var e;(e=o.length?o.pop():new l).task=t,r(e)}function l(){this.task=null}t.exports=s,l.prototype.call=function(){try{this.task.call()}catch(t){s.onerror?s.onerror(t):(i.push(t),a())}finally{this.task=null,o[o.length]=this}}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos");e.default=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));n(545);var r=n(1),o=n(284),i=n(3),a=n(112),s=n(135),l=n(200),c=o.a,u=function(t){return"theme"!==t},d=function(t){return"string"===typeof t&&t.charCodeAt(0)>96?c:u},f=function(t,e,n){var r;if(e){var o=e.shouldForwardProp;r=t.__emotion_forwardProp&&o?function(e){return t.__emotion_forwardProp(e)&&o(e)}:o}return"function"!==typeof r&&n&&(r=t.__emotion_forwardProp),r},p=r.useInsertionEffect?r.useInsertionEffect:function(t){t()};var h=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;Object(s.c)(e,n,r);p((function(){return Object(s.b)(e,n,r)}));return null},v=function t(e,n){var o,c,u=e.__emotion_real===e,p=u&&e.__emotion_base||e;void 0!==n&&(o=n.label,c=n.target);var v=f(e,n,u),g=v||d(p),m=!g("as");return function(){var b=arguments,y=u&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==b[0]||void 0===b[0].raw)y.push.apply(y,b);else{0,y.push(b[0][0]);for(var x=b.length,w=1;w<x;w++)y.push(b[w],b[0][w])}var O=Object(a.g)((function(t,e,n){var o=m&&t.as||p,i="",u=[],f=t;if(null==t.theme){for(var b in f={},t)f[b]=t[b];f.theme=Object(r.useContext)(a.c)}"string"===typeof t.className?i=Object(s.a)(e.registered,u,t.className):null!=t.className&&(i=t.className+" ");var x=Object(l.a)(y.concat(u),e.registered,f);i+=e.key+"-"+x.name,void 0!==c&&(i+=" "+c);var w=m&&void 0===v?d(o):g,O={};for(var S in t)m&&"as"===S||w(S)&&(O[S]=t[S]);return O.className=i,O.ref=n,Object(r.createElement)(r.Fragment,null,Object(r.createElement)(h,{cache:e,serialized:x,isStringTag:"string"===typeof o}),Object(r.createElement)(o,O))}));return O.displayName=void 0!==o?o:"Styled("+("string"===typeof p?p:p.displayName||p.name||"Component")+")",O.defaultProps=e.defaultProps,O.__emotion_real=O,O.__emotion_base=p,O.__emotion_styles=y,O.__emotion_forwardProp=v,Object.defineProperty(O,"toString",{value:function(){return"."+c}}),O.withComponent=function(e,r){return t(e,Object(i.a)({},n,r,{shouldForwardProp:f(O,r,!0)})).apply(void 0,y)},O}},g=v.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){g[t]=g(t)}));var m=g;function b(t,e){return m(t,e)}},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n(1);var r=n(66),o=n(0);e.a=Object(r.a)(Object(o.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft")},function(t,e,n){"use strict";n(1);var r=n(66),o=n(0);e.a=Object(r.a)(Object(o.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight")},function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(732);function o(t){if("string"!==typeof t)throw new Error(Object(r.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return a}));var r=n(4),o=n(47),i=Object(r.a)().mark(a);function a(t,e){var n,a,s,l,c,u,d;return Object(r.a)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(void 0!==e){r.next=21;break}n=Object(o.a)(t),r.prev=2,n.s();case 4:if((a=n.n()).done){r.next=11;break}if(!(null!=(s=a.value)&&(s=+s)>=s)){r.next=9;break}return r.next=9,s;case 9:r.next=4;break;case 11:r.next=16;break;case 13:r.prev=13,r.t0=r.catch(2),n.e(r.t0);case 16:return r.prev=16,n.f(),r.finish(16);case 19:r.next=40;break;case 21:l=-1,c=Object(o.a)(t),r.prev=23,c.s();case 25:if((u=c.n()).done){r.next=32;break}if(d=u.value,!(null!=(d=e(d,++l,t))&&(d=+d)>=d)){r.next=30;break}return r.next=30,d;case 30:r.next=25;break;case 32:r.next=37;break;case 34:r.prev=34,r.t1=r.catch(23),c.e(r.t1);case 37:return r.prev=37,c.f(),r.finish(37);case 40:case"end":return r.stop()}}),i,null,[[2,13,16,19],[23,34,37,40]])}e.a=function(t){return null===t?NaN:+t}},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}},function(t,e,n){"use strict";n.d(e,"b",(function(){return f})),n.d(e,"a",(function(){return p}));var r=n(2),o=n(12),i=n(3),a=n(1),s=n(127),l=n(0),c=["element"];var u=a.createContext({});var d=function(){};function f(t){var e=a.useState(),n=Object(r.a)(e,2)[1],o=a.useContext(u),l=o.registerDescendant,c=void 0===l?d:l,f=o.unregisterDescendant,p=void 0===f?d:f,h=o.descendants,v=void 0===h?[]:h,g=o.parentId,m=void 0===g?null:g,b=function(t,e){for(var n=0;n<t.length;n+=1)if(e(t[n]))return n;return-1}(v,(function(e){return e.element===t.element})),y=function(t){var e=a.useRef(null);return a.useEffect((function(){e.current=t}),[t]),e.current}(v),x=v.some((function(t,e){return y&&y[e]&&y[e].element!==t.element}));return Object(s.a)((function(){if(t.element)return c(Object(i.a)({},t,{index:b})),function(){p(t.element)};n({})}),[c,p,b,x,t]),{parentId:m,index:b}}function p(t){var e=t.children,n=t.id,s=a.useState([]),d=Object(r.a)(s,2),f=d[0],p=d[1],h=a.useCallback((function(t){var e=t.element,n=Object(o.a)(t,c);p((function(t){var r;if(0===t.length)return[Object(i.a)({},n,{element:e,index:0})];var o=function(t,e){for(var n=0,r=t.length-1;n<=r;){var o=Math.floor((n+r)/2);if(t[o].element===e)return o;t[o].element.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING?r=o-1:n=o+1}return n}(t,e);if(t[o]&&t[o].element===e)r=t;else{var a=Object(i.a)({},n,{element:e,index:o});(r=t.slice()).splice(o,0,a)}return r.forEach((function(t,e){t.index=e})),r}))}),[]),v=a.useCallback((function(t){p((function(e){return e.filter((function(e){return t!==e.element}))}))}),[]),g=a.useMemo((function(){return{descendants:f,registerDescendant:h,unregisterDescendant:v,parentId:n}}),[f,h,v,n]);return Object(l.jsx)(u.Provider,{value:g,children:e})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return yt}));var r=n(40),o=n.n(r),i=n(303),a=n.n(i),s=n(1),l=n.n(s),c=n(56),u=n.n(c),d=n(253),f=n(222),p=n.n(f),h=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),v=2*h;var g={draw:function(t,e){var n=Math.sqrt(e/h);t.moveTo(n,0),t.arc(0,0,n,0,v)}},m={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()}},b=Math.sqrt(1/3),y=2*b,x={draw:function(t,e){var n=Math.sqrt(e/y),r=n*b;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},w={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},O=Math.sin(h/10)/Math.sin(7*h/10),S=Math.sin(v/10)*O,j=-Math.cos(v/10)*O,C={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=S*n,o=j*n;t.moveTo(0,-n),t.lineTo(r,o);for(var i=1;i<5;++i){var a=v*i/5,s=Math.cos(a),l=Math.sin(a);t.lineTo(l*n,-s*n),t.lineTo(s*r-l*o,l*r+s*o)}t.closePath()}},k=Math.sqrt(3),E={draw:function(t,e){var n=-Math.sqrt(e/(3*k));t.moveTo(0,2*n),t.lineTo(-k*n,-n),t.lineTo(k*n,-n),t.closePath()}},P=-.5,_=Math.sqrt(3)/2,M=1/Math.sqrt(12),T=3*(M/2+1),A={draw:function(t,e){var n=Math.sqrt(e/T),r=n/2,o=n*M,i=r,a=n*M+n,s=-i,l=a;t.moveTo(r,o),t.lineTo(i,a),t.lineTo(s,l),t.lineTo(P*r-_*o,_*r+P*o),t.lineTo(P*i-_*a,_*i+P*a),t.lineTo(P*s-_*l,_*s+P*l),t.lineTo(P*r+_*o,P*o-_*r),t.lineTo(P*i+_*a,P*a-_*i),t.lineTo(P*s+_*l,P*l-_*s),t.closePath()}},R=n(1284),D=n(73),I=n(39);function N(t){return 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},N(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},L.apply(this,arguments)}function F(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function B(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 z=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},z(t,e)}function H(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=U(t);if(e){var o=U(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return V(this,n)}}function V(t,e){return!e||"object"!==N(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 U(t){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},U(t)}var W={symbolCircle:g,symbolCross:m,symbolDiamond:x,symbolSquare:w,symbolStar:C,symbolTriangle:E,symbolWye:A},q=Math.PI/180,G=function(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&&z(t,e)}(i,t);var e,n,r,o=H(i);function i(){return F(this,i),o.apply(this,arguments)}return e=i,n=[{key:"getPath",value:function(){var t=this.props,e=t.size,n=t.sizeType,r=t.type,o=function(t){var e="symbol".concat(p()(t));return W[e]||g}(r),i=function(t,e){var n=null;function r(){var r;if(n||(n=r=Object(R.a)()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return t="function"===typeof t?t:Object(D.a)(t||g),e="function"===typeof e?e:Object(D.a)(void 0===e?64:+e),r.type=function(e){return arguments.length?(t="function"===typeof e?e:Object(D.a)(e),r):t},r.size=function(t){return arguments.length?(e="function"===typeof t?t:Object(D.a)(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}().type(o).size(function(t,e,n){if("area"===e)return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var r=18*q;return 1.25*t*t*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(e,n,r));return i()}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.cx,r=t.cy,o=t.size;return n===+n&&r===+r&&o===+o?l.a.createElement("path",L({},Object(I.c)(this.props,!0),{className:u()("recharts-symbols",e),transform:"translate(".concat(n,", ").concat(r,")"),d:this.getPath()})):null}}],n&&B(e.prototype,n),r&&B(e,r),i}(s.PureComponent);function Y(t){return Y="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},Y(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},X.apply(this,arguments)}function K(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 $(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(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 J(t,e){return J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},J(t,e)}function tt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=nt(t);if(e){var o=nt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return et(this,n)}}function et(t,e){return!e||"object"!==Y(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 nt(t){return nt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},nt(t)}G.defaultProps={type:"circle",size:64,sizeType:"area"},G.registerSymbol=function(t,e){W["symbol".concat(p()(t))]=e};var rt=32,ot=function(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&&J(t,e)}(i,t);var e,n,r,o=tt(i);function i(){return Z(this,i),o.apply(this,arguments)}return e=i,n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,n=16,r=rt/6,o=rt/3,i=t.inactive?e:t.color;if("plainline"===t.type)return l.a.createElement("line",{strokeWidth:4,fill:"none",stroke:i,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:n,x2:rt,y2:n,className:"recharts-legend-icon"});if("line"===t.type)return l.a.createElement("path",{strokeWidth:4,fill:"none",stroke:i,d:"M0,".concat(n,"h").concat(o,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(2*o,",").concat(n,"\n            H").concat(rt,"M").concat(2*o,",").concat(n,"\n            A").concat(r,",").concat(r,",0,1,1,").concat(o,",").concat(n),className:"recharts-legend-icon"});if("rect"===t.type)return l.a.createElement("path",{stroke:"none",fill:i,d:"M0,".concat(4,"h").concat(rt,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(l.a.isValidElement(t.legendIcon)){var a=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?K(Object(n),!0).forEach((function(e){$(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t);return delete a.legendIcon,l.a.cloneElement(t.legendIcon,a)}return l.a.createElement(G,{fill:i,cx:n,cy:n,size:rt,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,n=e.payload,r=e.iconSize,o=e.layout,i=e.formatter,a=e.inactiveColor,s={x:0,y:0,width:rt,height:rt},c={display:"horizontal"===o?"inline-block":"block",marginRight:10},f={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map((function(e,n){var o,p=e.formatter||i,h=u()(($(o={"recharts-legend-item":!0},"legend-item-".concat(n),!0),$(o,"inactive",e.inactive),o));if("none"===e.type)return null;var v=e.inactive?a:e.color;return l.a.createElement("li",X({className:h,style:c,key:"legend-item-".concat(n)},Object(I.b)(t.props,e,n)),l.a.createElement(d.a,{width:r,height:r,viewBox:s,style:f},t.renderIcon(e)),l.a.createElement("span",{className:"recharts-legend-item-text",style:{color:v}},p?p(e.value,e,n):e.value))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,n=t.layout,r=t.align;if(!e||!e.length)return null;var o={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return l.a.createElement("ul",{className:"recharts-default-legend",style:o},this.renderItems())}}],n&&Q(e.prototype,n),r&&Q(e,r),i}(s.PureComponent);ot.displayName="Legend",ot.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var it=n(18);function at(t){return at="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},at(t)}function st(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 lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach((function(e){ct(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ut(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dt(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 ft(t,e){return ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},ft(t,e)}function pt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=vt(t);if(e){var o=vt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ht(this,n)}}function ht(t,e){return!e||"object"!==at(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 vt(t){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},vt(t)}function gt(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function mt(t){return t.value}function bt(t,e){return!0===t?a()(e,mt):o()(t)?a()(e,t):e}var yt=function(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&&ft(t,e)}(a,t);var e,n,r,i=pt(a);function a(){var t;ut(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).wrapperNode=void 0,t.state={boxWidth:-1,boxHeight:-1},t}return e=a,r=[{key:"getWithHeight",value:function(t,e){var n=t.props.layout;return"vertical"===n&&Object(it.g)(t.props.height)?{height:t.props.height}:"horizontal"===n?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;return e>=0&&n>=0?{width:e,height:n}:null}},{key:"getDefaultPosition",value:function(t){var e,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,s=r.margin,l=r.chartWidth,c=r.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===i&&"vertical"===o?{left:((l||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===i?{right:s&&s.right||0}:{left:s&&s.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(n="middle"===a?{top:((c||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),lt(lt({},e),n)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var o=this.wrapperNode.getBoundingClientRect();(Math.abs(o.width-e)>1||Math.abs(o.height-n)>1)&&this.setState({boxWidth:o.width,boxHeight:o.height},(function(){r&&r(o)}))}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},(function(){r&&r(null)}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.content,r=e.width,i=e.height,a=e.wrapperStyle,s=e.payloadUniqBy,c=e.payload,u=lt(lt({position:"absolute",width:r||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return l.a.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(e){t.wrapperNode=e}},function(t,e){if(l.a.isValidElement(t))return l.a.cloneElement(t,e);if(o()(t))return l.a.createElement(t,e);e.ref;var n=gt(e,["ref"]);return l.a.createElement(ot,n)}(n,lt(lt({},this.props),{},{payload:bt(s,c)})))}}])&&dt(e.prototype,n),r&&dt(e,r),a}(s.PureComponent);yt.displayName="Legend",yt.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(57),o=n(217);var i=n(396);function a(t,e,n){return a=Object(i.a)()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&Object(o.a)(i,n.prototype),i},a.apply(null,arguments)}function s(t){var e="function"===typeof Map?new Map:void 0;return s=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,i)}function i(){return a(t,arguments,Object(r.a)(this).constructor)}return i.prototype=Object.create(t.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Object(o.a)(i,t)},s(t)}},function(t,e,n){"use strict";var r=n(1),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;e.a=o},function(t,e,n){var r=n(619),o=n(979),i=n(272);t.exports=function(t){return t&&t.length?r(t,i,o):void 0}},function(t,e,n){var r=n(619),o=n(980),i=n(272);t.exports=function(t){return t&&t.length?r(t,i,o):void 0}},function(t,e,n){var r;self,r=function(){return function(){var t={3099:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},6077:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},1223:function(t,e,n){var r=n(5112),o=n(30),i=n(3070),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},1530:function(t,e,n){"use strict";var r=n(8710).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},5787:function(t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},9670:function(t,e,n){var r=n(111);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},4019:function(t){t.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},260:function(t,e,n){"use strict";var r,o=n(4019),i=n(9781),a=n(7854),s=n(111),l=n(6656),c=n(648),u=n(8880),d=n(1320),f=n(3070).f,p=n(9518),h=n(7674),v=n(5112),g=n(9711),m=a.Int8Array,b=m&&m.prototype,y=a.Uint8ClampedArray,x=y&&y.prototype,w=m&&p(m),O=b&&p(b),S=Object.prototype,j=S.isPrototypeOf,C=v("toStringTag"),k=g("TYPED_ARRAY_TAG"),E=o&&!!h&&"Opera"!==c(a.opera),P=!1,_={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M={BigInt64Array:8,BigUint64Array:8},T=function(t){if(!s(t))return!1;var e=c(t);return l(_,e)||l(M,e)};for(r in _)a[r]||(E=!1);if((!E||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},E))for(r in _)a[r]&&h(a[r],w);if((!E||!O||O===S)&&(O=w.prototype,E))for(r in _)a[r]&&h(a[r].prototype,O);if(E&&p(x)!==O&&h(x,O),i&&!l(O,C))for(r in P=!0,f(O,C,{get:function(){return s(this)?this[k]:void 0}}),_)a[r]&&u(a[r],k,r);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_TAG:P&&k,aTypedArray:function(t){if(T(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(h){if(j.call(w,t))return t}else for(var e in _)if(l(_,r)){var n=a[e];if(n&&(t===n||j.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(i){if(n)for(var r in _){var o=a[r];o&&l(o.prototype,t)&&delete o.prototype[t]}O[t]&&!n||d(O,t,n?e:E&&b[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var r,o;if(i){if(h){if(n)for(r in _)(o=a[r])&&l(o,t)&&delete o[t];if(w[t]&&!n)return;try{return d(w,t,n?e:E&&m[t]||e)}catch(s){}}for(r in _)!(o=a[r])||o[t]&&!n||d(o,t,e)}},isView:function(t){if(!s(t))return!1;var e=c(t);return"DataView"===e||l(_,e)||l(M,e)},isTypedArray:T,TypedArray:w,TypedArrayPrototype:O}},3331:function(t,e,n){"use strict";var r=n(7854),o=n(9781),i=n(4019),a=n(8880),s=n(2248),l=n(7293),c=n(5787),u=n(9958),d=n(7466),f=n(7067),p=n(1179),h=n(9518),v=n(7674),g=n(8006).f,m=n(3070).f,b=n(1285),y=n(8003),x=n(9909),w=x.get,O=x.set,S="ArrayBuffer",j="DataView",C="Wrong index",k=r.ArrayBuffer,E=k,P=r.DataView,_=P&&P.prototype,M=Object.prototype,T=r.RangeError,A=p.pack,R=p.unpack,D=function(t){return[255&t]},I=function(t){return[255&t,t>>8&255]},N=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},L=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},F=function(t){return A(t,23,4)},B=function(t){return A(t,52,8)},z=function(t,e){m(t.prototype,e,{get:function(){return w(this)[e]}})},H=function(t,e,n,r){var o=f(n),i=w(t);if(o+e>i.byteLength)throw T(C);var a=w(i.buffer).bytes,s=o+i.byteOffset,l=a.slice(s,s+e);return r?l:l.reverse()},V=function(t,e,n,r,o,i){var a=f(n),s=w(t);if(a+e>s.byteLength)throw T(C);for(var l=w(s.buffer).bytes,c=a+s.byteOffset,u=r(+o),d=0;d<e;d++)l[c+d]=u[i?d:e-d-1]};if(i){if(!l((function(){k(1)}))||!l((function(){new k(-1)}))||l((function(){return new k,new k(1.5),new k(NaN),k.name!=S}))){for(var U,W=(E=function(t){return c(this,E),new k(f(t))}).prototype=k.prototype,q=g(k),G=0;q.length>G;)(U=q[G++])in E||a(E,U,k[U]);W.constructor=E}v&&h(_)!==M&&v(_,M);var Y=new P(new E(2)),X=_.setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||s(_,{setInt8:function(t,e){X.call(this,t,e<<24>>24)},setUint8:function(t,e){X.call(this,t,e<<24>>24)}},{unsafe:!0})}else E=function(t){c(this,E,S);var e=f(t);O(this,{bytes:b.call(new Array(e),0),byteLength:e}),o||(this.byteLength=e)},P=function(t,e,n){c(this,P,j),c(t,E,j);var r=w(t).byteLength,i=u(e);if(i<0||i>r)throw T("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw T("Wrong length");O(this,{buffer:t,byteLength:n,byteOffset:i}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=i)},o&&(z(E,"byteLength"),z(P,"buffer"),z(P,"byteLength"),z(P,"byteOffset")),s(P.prototype,{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.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=H(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return L(H(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return L(H(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return R(H(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return R(H(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){V(this,1,t,D,e)},setUint8:function(t,e){V(this,1,t,D,e)},setInt16:function(t,e){V(this,2,t,I,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){V(this,2,t,I,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){V(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){V(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){V(this,4,t,F,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){V(this,8,t,B,e,arguments.length>2?arguments[2]:void 0)}});y(E,S),y(P,j),t.exports={ArrayBuffer:E,DataView:P}},1048:function(t,e,n){"use strict";var r=n(7908),o=n(1400),i=n(7466),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=i(n.length),l=o(t,s),c=o(e,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:o(u,s))-c,s-l),f=1;for(c<l&&l<c+d&&(f=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:delete n[l],l+=f,c+=f;return n}},1285:function(t,e,n){"use strict";var r=n(7908),o=n(1400),i=n(7466);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)e[s++]=t;return e}},8533:function(t,e,n){"use strict";var r=n(2092).forEach,o=n(9341)("forEach");t.exports=o?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},8457:function(t,e,n){"use strict";var r=n(9974),o=n(7908),i=n(3411),a=n(7659),s=n(7466),l=n(6135),c=n(1246);t.exports=function(t){var e,n,u,d,f,p,h=o(t),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,b=void 0!==m,y=c(h),x=0;if(b&&(m=r(m,g>2?arguments[2]:void 0,2)),void 0==y||v==Array&&a(y))for(n=new v(e=s(h.length));e>x;x++)p=b?m(h[x],x):h[x],l(n,x,p);else for(f=(d=y.call(h)).next,n=new v;!(u=f.call(d)).done;x++)p=b?i(d,m,[u.value,x],!0):u.value,l(n,x,p);return n.length=x,n}},1318:function(t,e,n){var r=n(5656),o=n(7466),i=n(1400),a=function(t){return function(e,n,a){var s,l=r(e),c=o(l.length),u=i(a,c);if(t&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((t||u in l)&&l[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2092:function(t,e,n){var r=n(9974),o=n(8361),i=n(7908),a=n(7466),s=n(5417),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,d=6==t,f=7==t,p=5==t||d;return function(h,v,g,m){for(var b,y,x=i(h),w=o(x),O=r(v,g,3),S=a(w.length),j=0,C=m||s,k=e?C(h,S):n||f?C(h,0):void 0;S>j;j++)if((p||j in w)&&(y=O(b=w[j],j,x),t))if(e)k[j]=y;else if(y)switch(t){case 3:return!0;case 5:return b;case 6:return j;case 2:l.call(k,b)}else switch(t){case 4:return!1;case 7:l.call(k,b)}return d?-1:c||u?u:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},6583:function(t,e,n){"use strict";var r=n(5656),o=n(9958),i=n(7466),a=n(9341),s=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf"),d=c||!u;t.exports=d?function(t){if(c)return l.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:l},1194:function(t,e,n){var r=n(7293),o=n(5112),i=n(7392),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,n){"use strict";var r=n(7293);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},3671:function(t,e,n){var r=n(3099),o=n(7908),i=n(8361),a=n(7466),s=function(t){return function(e,n,s,l){r(n);var c=o(e),u=i(c),d=a(c.length),f=t?d-1:0,p=t?-1:1;if(s<2)for(;;){if(f in u){l=u[f],f+=p;break}if(f+=p,t?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;t?f>=0:d>f;f+=p)f in u&&(l=n(l,u[f],f,c));return l}};t.exports={left:s(!1),right:s(!0)}},5417:function(t,e,n){var r=n(111),o=n(3157),i=n(5112)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},3411:function(t,e,n){var r=n(9670),o=n(9212);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){throw o(t),a}}},7072:function(t,e,n){var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(s){}return n}},4326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},648:function(t,e,n){var r=n(1694),o=n(4326),i=n(5112)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},9920:function(t,e,n){var r=n(6656),o=n(3887),i=n(1236),a=n(3070);t.exports=function(t,e){for(var n=o(e),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(t,u)||s(t,u,l(e,u))}}},8544:function(t,e,n){var r=n(7293);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},4994:function(t,e,n){"use strict";var r=n(3383).IteratorPrototype,o=n(30),i=n(9114),a=n(8003),s=n(7497),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,c,!1,!0),s[c]=l,t}},8880:function(t,e,n){var r=n(9781),o=n(3070),i=n(9114);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6135:function(t,e,n){"use strict";var r=n(7593),o=n(3070),i=n(9114);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},654:function(t,e,n){"use strict";var r=n(2109),o=n(4994),i=n(9518),a=n(7674),s=n(8003),l=n(8880),c=n(1320),u=n(5112),d=n(1913),f=n(7497),p=n(3383),h=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=u("iterator"),m="keys",b="values",y="entries",x=function(){return this};t.exports=function(t,e,n,u,p,w,O){o(n,e,u);var S,j,C,k=function(t){if(t===p&&T)return T;if(!v&&t in _)return _[t];switch(t){case m:case b:case y:return function(){return new n(this,t)}}return function(){return new n(this)}},E=e+" Iterator",P=!1,_=t.prototype,M=_[g]||_["@@iterator"]||p&&_[p],T=!v&&M||k(p),A="Array"==e&&_.entries||M;if(A&&(S=i(A.call(new t)),h!==Object.prototype&&S.next&&(d||i(S)===h||(a?a(S,h):"function"!=typeof S[g]&&l(S,g,x)),s(S,E,!0,!0),d&&(f[E]=x))),p==b&&M&&M.name!==b&&(P=!0,T=function(){return M.call(this)}),d&&!O||_[g]===T||l(_,g,T),f[e]=T,p)if(j={values:k(b),keys:w?T:k(m),entries:k(y)},O)for(C in j)(v||P||!(C in _))&&c(_,C,j[C]);else r({target:e,proto:!0,forced:v||P},j);return j}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(t,e,n){var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8324:function(t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(t,e,n){var r=n(5005);t.exports=r("navigator","userAgent")||""},7392:function(t,e,n){var r,o,i=n(7854),a=n(8113),s=i.process,l=s&&s.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(t,e,n){var r=n(7854),o=n(1236).f,i=n(8880),a=n(1320),s=n(3505),l=n(9920),c=n(4705);t.exports=function(t,e){var n,u,d,f,p,h=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in e){if(f=e[u],d=t.noTargetGet?(p=o(n,u))&&p.value:n[u],!c(v?u:h+(g?".":"#")+u,t.forced)&&void 0!==d){if(typeof f===typeof d)continue;l(f,d)}(t.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,t)}}},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},7007:function(t,e,n){"use strict";n(4916);var r=n(1320),o=n(7293),i=n(5112),a=n(2261),s=n(8880),l=i("species"),c=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),p=!o((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,d){var h=i(t),v=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),g=v&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!v||!g||"replace"===t&&(!c||!u||f)||"split"===t&&!p){var m=/./[h],b=n(h,""[t],(function(t,e,n,r,o){return e.exec===a?v&&!o?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=b[0],x=b[1];r(String.prototype,t,y),r(RegExp.prototype,h,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}d&&s(RegExp.prototype[h],"sham",!0)}},9974:function(t,e,n){var r=n(3099);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};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,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},5005:function(t,e,n){var r=n(857),o=n(7854),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},1246:function(t,e,n){var r=n(648),o=n(7497),i=n(5112)("iterator");t.exports=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},8554:function(t,e,n){var r=n(9670),o=n(1246);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},647:function(t,e,n){var r=n(7908),o=Math.floor,i="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;t.exports=function(t,e,n,l,c,u){var d=n+t.length,f=l.length,p=s;return void 0!==c&&(c=r(c),p=a),i.call(u,p,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(d);case"<":a=c[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>f){var u=o(s/10);return 0===u?r:u<=f?void 0===l[u-1]?i.charAt(1):l[u-1]+i.charAt(1):r}a=l[s-1]}return void 0===a?"":a}))}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1179:function(t){var e=Math.abs,n=Math.pow,r=Math.floor,o=Math.log,i=Math.LN2;t.exports={pack:function(t,a,s){var l,c,u,d=new Array(s),f=8*s-a-1,p=(1<<f)-1,h=p>>1,v=23===a?n(2,-24)-n(2,-77):0,g=t<0||0===t&&1/t<0?1:0,m=0;for((t=e(t))!=t||t===1/0?(c=t!=t?1:0,l=p):(l=r(o(t)/i),t*(u=n(2,-l))<1&&(l--,u*=2),(t+=l+h>=1?v/u:v*n(2,1-h))*u>=2&&(l++,u/=2),l+h>=p?(c=0,l=p):l+h>=1?(c=(t*u-1)*n(2,a),l+=h):(c=t*n(2,h-1)*n(2,a),l=0));a>=8;d[m++]=255&c,c/=256,a-=8);for(l=l<<a|c,f+=a;f>0;d[m++]=255&l,l/=256,f-=8);return d[--m]|=128*g,d},unpack:function(t,e){var r,o=t.length,i=8*o-e-1,a=(1<<i)-1,s=a>>1,l=i-7,c=o-1,u=t[c--],d=127&u;for(u>>=7;l>0;d=256*d+t[c],c--,l-=8);for(r=d&(1<<-l)-1,d>>=-l,l+=e;l>0;r=256*r+t[c],c--,l-=8);if(0===d)d=1-s;else{if(d===a)return r?NaN:u?-1/0:1/0;r+=n(2,e),d-=s}return(u?-1:1)*r*n(2,d-e)}}},8361:function(t,e,n){var r=n(7293),o=n(4326),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},9587:function(t,e,n){var r=n(111),o=n(7674);t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},2788:function(t,e,n){var r=n(5465),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},9909:function(t,e,n){var r,o,i,a=n(8536),s=n(7854),l=n(111),c=n(8880),u=n(6656),d=n(5465),f=n(6200),p=n(3501),h=s.WeakMap;if(a){var v=d.state||(d.state=new h),g=v.get,m=v.has,b=v.set;r=function(t,e){return e.facade=t,b.call(v,t,e),e},o=function(t){return g.call(v,t)||{}},i=function(t){return m.call(v,t)}}else{var y=f("state");p[y]=!0,r=function(t,e){return e.facade=t,c(t,y,e),e},o=function(t){return u(t,y)?t[y]:{}},i=function(t){return u(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},7659:function(t,e,n){var r=n(5112),o=n(7497),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3157:function(t,e,n){var r=n(4326);t.exports=Array.isArray||function(t){return"Array"==r(t)}},4705:function(t,e,n){var r=n(7293),o=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==c||n!=l&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},111:function(t){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},1913:function(t){t.exports=!1},7850:function(t,e,n){var r=n(111),o=n(4326),i=n(5112)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},9212:function(t,e,n){var r=n(9670);t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},3383:function(t,e,n){"use strict";var r,o,i,a=n(7293),s=n(9518),l=n(8880),c=n(6656),u=n(5112),d=n(1913),f=u("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):p=!0);var h=void 0==r||a((function(){var t={};return r[f].call(t)!==t}));h&&(r={}),d&&!h||c(r,f)||l(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},7497:function(t){t.exports={}},133:function(t,e,n){var r=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},590:function(t,e,n){var r=n(7293),o=n(5112),i=n(1913),a=o("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(t,e,n){var r=n(7854),o=n(2788),i=r.WeakMap;t.exports="function"===typeof i&&/native code/.test(o(i))},1574:function(t,e,n){"use strict";var r=n(9781),o=n(7293),i=n(1956),a=n(5181),s=n(5296),l=n(7908),c=n(8361),u=Object.assign,d=Object.defineProperty;t.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||i(u({},e)).join("")!=o}))?function(t,e){for(var n=l(t),o=arguments.length,u=1,d=a.f,f=s.f;o>u;)for(var p,h=c(arguments[u++]),v=d?i(h).concat(d(h)):i(h),g=v.length,m=0;g>m;)p=v[m++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:u},30:function(t,e,n){var r,o=n(9670),i=n(6048),a=n(748),s=n(3501),l=n(490),c=n(317),u=n(6200),d=u("IE_PROTO"),f=function(){},p=function(t){return"<script>"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):function(){var t,e=c("iframe");return e.style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F}();for(var t=a.length;t--;)delete h.prototype[a[t]];return h()};s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=o(t),n=new f,f.prototype=null,n[d]=t):n=h(),void 0===e?n:i(n,e)}},6048:function(t,e,n){var r=n(9781),o=n(3070),i=n(9670),a=n(1956);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),s=r.length,l=0;s>l;)o.f(t,n=r[l++],e[n]);return t}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(9670),a=n(7593),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return s(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){var r=n(9781),o=n(5296),i=n(9114),a=n(5656),s=n(7593),l=n(6656),c=n(4664),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=a(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(l(t,e))return i(!o.f.call(t,e),t[e])}},8006:function(t,e,n){var r=n(6324),o=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},5181:function(t,e){e.f=Object.getOwnPropertySymbols},9518:function(t,e,n){var r=n(6656),o=n(7908),i=n(6200),a=n(8544),s=i("IE_PROTO"),l=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},6324:function(t,e,n){var r=n(6656),o=n(5656),i=n(1318).indexOf,a=n(3501);t.exports=function(t,e){var n,s=o(t),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;e.length>l;)r(s,n=e[l++])&&(~i(c,n)||c.push(n));return c}},1956:function(t,e,n){var r=n(6324),o=n(748);t.exports=Object.keys||function(t){return r(t,o)}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){var r=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},288:function(t,e,n){"use strict";var r=n(1694),o=n(648);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},3887:function(t,e,n){var r=n(5005),o=n(8006),i=n(5181),a=n(9670);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},857:function(t,e,n){var r=n(7854);t.exports=r},2248:function(t,e,n){var r=n(1320);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},1320:function(t,e,n){var r=n(7854),o=n(8880),i=n(6656),a=n(3505),s=n(2788),l=n(9909),c=l.get,u=l.enforce,d=String(String).split("String");(t.exports=function(t,e,n,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),(l=u(n)).source||(l.source=d.join("string"==typeof e?e:""))),t!==r?(c?!p&&t[e]&&(f=!0):delete t[e],f?t[e]=n:o(t,e,n)):f?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},7651:function(t,e,n){var r=n(4326),o=n(2261);t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var i=n.call(t,e);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},2261:function(t,e,n){"use strict";var r=n(7066),o=n(2999),i=RegExp.prototype.exec,a=String.prototype.replace,s=i,l=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),c=o.UNSUPPORTED_Y||o.BROKEN_CARET,u=void 0!==/()??/.exec("")[1];(l||u||c)&&(s=function(t){var e,n,o,s,d=this,f=c&&d.sticky,p=r.call(d),h=d.source,v=0,g=t;return f&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(t).slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==t[d.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,v++),n=new RegExp("^(?:"+h+")",p)),u&&(n=new RegExp("^"+h+"$(?!\\s)",p)),l&&(e=d.lastIndex),o=i.call(f?n:d,g),f?o?(o.input=o.input.slice(v),o[0]=o[0].slice(v),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:l&&o&&(d.lastIndex=d.global?o.index+o[0].length:e),u&&o&&o.length>1&&a.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o}),t.exports=s},7066:function(t,e,n){"use strict";var r=n(9670);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},2999:function(t,e,n){"use strict";var r=n(7293);function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},4488:function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3505:function(t,e,n){var r=n(7854),o=n(8880);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},6340:function(t,e,n){"use strict";var r=n(5005),o=n(3070),i=n(5112),a=n(9781),s=i("species");t.exports=function(t){var e=r(t),n=o.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},8003:function(t,e,n){var r=n(3070).f,o=n(6656),i=n(5112)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3505),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.9.0",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(t,e,n){var r=n(9670),o=n(3099),i=n(5112)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[i])?e:o(n)}},8710:function(t,e,n){var r=n(9958),o=n(4488),i=function(t){return function(e,n){var i,a,s=String(o(e)),l=r(n),c=s.length;return l<0||l>=c?t?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):i:t?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},3197:function(t){"use strict";var e=2147483647,n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,a=String.fromCharCode,s=function(t){return t+22+75*(t<26)},l=function(t,e,n){var r=0;for(t=n?i(t/700):t>>1,t+=i(t/e);t>455;r+=36)t=i(t/35);return i(r+36*t/(t+38))},c=function(t){var n=[];t=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=t.charCodeAt(n++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),n--)}else e.push(o)}return e}(t);var r,c,u=t.length,d=128,f=0,p=72;for(r=0;r<t.length;r++)(c=t[r])<128&&n.push(a(c));var h=n.length,v=h;for(h&&n.push("-");v<u;){var g=e;for(r=0;r<t.length;r++)(c=t[r])>=d&&c<g&&(g=c);var m=v+1;if(g-d>i((e-f)/m))throw RangeError(o);for(f+=(g-d)*m,d=g,r=0;r<t.length;r++){if((c=t[r])<d&&++f>e)throw RangeError(o);if(c==d){for(var b=f,y=36;;y+=36){var x=y<=p?1:y>=p+26?26:y-p;if(b<x)break;var w=b-x,O=36-x;n.push(a(s(x+w%O))),b=i(w/O)}n.push(a(s(b))),p=l(f,m,v==h),f=0,++v}}++f,++d}return n.join("")};t.exports=function(t){var e,o,i=[],a=t.toLowerCase().replace(r,".").split(".");for(e=0;e<a.length;e++)o=a[e],i.push(n.test(o)?"xn--"+c(o):o);return i.join(".")}},6091:function(t,e,n){var r=n(7293),o=n(1361);t.exports=function(t){return r((function(){return!!o[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||o[t].name!==t}))}},3111:function(t,e,n){var r=n(4488),o="["+n(1361)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},1400:function(t,e,n){var r=n(9958),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},7067:function(t,e,n){var r=n(9958),o=n(7466);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length or index");return n}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9958:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},7466:function(t,e,n){var r=n(9958),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488);t.exports=function(t){return Object(r(t))}},4590:function(t,e,n){var r=n(3002);t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},3002:function(t,e,n){var r=n(9958);t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},7593:function(t,e,n){var r=n(111);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},1694:function(t,e,n){var r={};r[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(r)},9843:function(t,e,n){"use strict";var r=n(2109),o=n(7854),i=n(9781),a=n(3832),s=n(260),l=n(3331),c=n(5787),u=n(9114),d=n(8880),f=n(7466),p=n(7067),h=n(4590),v=n(7593),g=n(6656),m=n(648),b=n(111),y=n(30),x=n(7674),w=n(8006).f,O=n(7321),S=n(2092).forEach,j=n(6340),C=n(3070),k=n(1236),E=n(9909),P=n(9587),_=E.get,M=E.set,T=C.f,A=k.f,R=Math.round,D=o.RangeError,I=l.ArrayBuffer,N=l.DataView,L=s.NATIVE_ARRAY_BUFFER_VIEWS,F=s.TYPED_ARRAY_TAG,B=s.TypedArray,z=s.TypedArrayPrototype,H=s.aTypedArrayConstructor,V=s.isTypedArray,U="BYTES_PER_ELEMENT",W="Wrong length",q=function(t,e){for(var n=0,r=e.length,o=new(H(t))(r);r>n;)o[n]=e[n++];return o},G=function(t,e){T(t,e,{get:function(){return _(this)[e]}})},Y=function(t){var e;return t instanceof I||"ArrayBuffer"==(e=m(t))||"SharedArrayBuffer"==e},X=function(t,e){return V(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},K=function(t,e){return X(t,e=v(e,!0))?u(2,t[e]):A(t,e)},$=function(t,e,n){return!(X(t,e=v(e,!0))&&b(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?T(t,e,n):(t[e]=n.value,t)};i?(L||(k.f=K,C.f=$,G(z,"buffer"),G(z,"byteOffset"),G(z,"byteLength"),G(z,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:K,defineProperty:$}),t.exports=function(t,e,n){var i=t.match(/\d+$/)[0]/8,s=t+(n?"Clamped":"")+"Array",l="get"+t,u="set"+t,v=o[s],g=v,m=g&&g.prototype,C={},k=function(t,e){T(t,e,{get:function(){return function(t,e){var n=_(t);return n.view[l](e*i+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,r){var o=_(t);n&&(r=(r=R(r))<0?0:r>255?255:255&r),o.view[u](e*i+o.byteOffset,r,!0)}(this,e,t)},enumerable:!0})};L?a&&(g=e((function(t,e,n,r){return c(t,g,s),P(b(e)?Y(e)?void 0!==r?new v(e,h(n,i),r):void 0!==n?new v(e,h(n,i)):new v(e):V(e)?q(g,e):O.call(g,e):new v(p(e)),t,g)})),x&&x(g,B),S(w(v),(function(t){t in g||d(g,t,v[t])})),g.prototype=m):(g=e((function(t,e,n,r){c(t,g,s);var o,a,l,u=0,d=0;if(b(e)){if(!Y(e))return V(e)?q(g,e):O.call(g,e);o=e,d=h(n,i);var v=e.byteLength;if(void 0===r){if(v%i)throw D(W);if((a=v-d)<0)throw D(W)}else if((a=f(r)*i)+d>v)throw D(W);l=a/i}else l=p(e),o=new I(a=l*i);for(M(t,{buffer:o,byteOffset:d,byteLength:a,length:l,view:new N(o)});u<l;)k(t,u++)})),x&&x(g,B),m=g.prototype=y(z)),m.constructor!==g&&d(m,"constructor",g),F&&d(m,F,s),C[s]=g,r({global:!0,forced:g!=v,sham:!L},C),U in g||d(g,U,i),U in m||d(m,U,i),j(s)}):t.exports=function(){}},3832:function(t,e,n){var r=n(7854),o=n(7293),i=n(7072),a=n(260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;t.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},3074:function(t,e,n){var r=n(260).aTypedArrayConstructor,o=n(6707);t.exports=function(t,e){for(var n=o(t,t.constructor),i=0,a=e.length,s=new(r(n))(a);a>i;)s[i]=e[i++];return s}},7321:function(t,e,n){var r=n(7908),o=n(7466),i=n(1246),a=n(7659),s=n(9974),l=n(260).aTypedArrayConstructor;t.exports=function(t){var e,n,c,u,d,f,p=r(t),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,m=i(p);if(void 0!=m&&!a(m))for(f=(d=m.call(p)).next,p=[];!(u=f.call(d)).done;)p.push(u.value);for(g&&h>2&&(v=s(v,arguments[2],2)),n=o(p.length),c=new(l(this))(n),e=0;n>e;e++)c[e]=g?v(p[e],e):p[e];return c}},9711:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},3307:function(t,e,n){var r=n(133);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(6656),a=n(9711),s=n(133),l=n(3307),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;t.exports=function(t){return i(c,t)||(s&&i(u,t)?c[t]=u[t]:c[t]=d("Symbol."+t)),c[t]}},1361:function(t){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},8264:function(t,e,n){"use strict";var r=n(2109),o=n(7854),i=n(3331),a=n(6340),s="ArrayBuffer",l=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==l},{ArrayBuffer:l}),a(s)},2222:function(t,e,n){"use strict";var r=n(2109),o=n(7293),i=n(3157),a=n(111),s=n(7908),l=n(7466),c=n(6135),u=n(5417),d=n(1194),f=n(5112),p=n(7392),h=f("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=p>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),b=d("concat"),y=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!m||!b},{concat:function(t){var e,n,r,o,i,a=s(this),d=u(a,0),f=0;for(e=-1,r=arguments.length;e<r;e++)if(y(i=-1===e?a:arguments[e])){if(f+(o=l(i.length))>v)throw TypeError(g);for(n=0;n<o;n++,f++)n in i&&c(d,f,i[n])}else{if(f>=v)throw TypeError(g);c(d,f++,i)}return d.length=f,d}})},7327:function(t,e,n){"use strict";var r=n(2109),o=n(2092).filter;r({target:"Array",proto:!0,forced:!n(1194)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},2772:function(t,e,n){"use strict";var r=n(2109),o=n(1318).indexOf,i=n(9341),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,l=i("indexOf");r({target:"Array",proto:!0,forced:s||!l},{indexOf:function(t){return s?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},6992:function(t,e,n){"use strict";var r=n(5656),o=n(1223),i=n(7497),a=n(9909),s=n(654),l="Array Iterator",c=a.set,u=a.getterFor(l);t.exports=s(Array,"Array",(function(t,e){c(this,{type:l,target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1249:function(t,e,n){"use strict";var r=n(2109),o=n(2092).map;r({target:"Array",proto:!0,forced:!n(1194)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},7042:function(t,e,n){"use strict";var r=n(2109),o=n(111),i=n(3157),a=n(1400),s=n(7466),l=n(5656),c=n(6135),u=n(5112),d=n(1194)("slice"),f=u("species"),p=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var n,r,u,d=l(this),v=s(d.length),g=a(t,v),m=a(void 0===e?v:e,v);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(d,g,m);for(r=new(void 0===n?Array:n)(h(m-g,0)),u=0;g<m;g++,u++)g in d&&c(r,u,d[g]);return r.length=u,r}})},561:function(t,e,n){"use strict";var r=n(2109),o=n(1400),i=n(9958),a=n(7466),s=n(7908),l=n(5417),c=n(6135),u=n(1194)("splice"),d=Math.max,f=Math.min,p=9007199254740991,h="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!u},{splice:function(t,e){var n,r,u,v,g,m,b=s(this),y=a(b.length),x=o(t,y),w=arguments.length;if(0===w?n=r=0:1===w?(n=0,r=y-x):(n=w-2,r=f(d(i(e),0),y-x)),y+n-r>p)throw TypeError(h);for(u=l(b,r),v=0;v<r;v++)(g=x+v)in b&&c(u,v,b[g]);if(u.length=r,n<r){for(v=x;v<y-r;v++)m=v+n,(g=v+r)in b?b[m]=b[g]:delete b[m];for(v=y;v>y-r+n;v--)delete b[v-1]}else if(n>r)for(v=y-r;v>x;v--)m=v+n-1,(g=v+r-1)in b?b[m]=b[g]:delete b[m];for(v=0;v<n;v++)b[v+x]=arguments[v+2];return b.length=y-r+n,u}})},8309:function(t,e,n){var r=n(9781),o=n(3070).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in i)&&o(i,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},489:function(t,e,n){var r=n(2109),o=n(7293),i=n(7908),a=n(9518),s=n(8544);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},1539:function(t,e,n){var r=n(1694),o=n(1320),i=n(288);r||o(Object.prototype,"toString",i,{unsafe:!0})},4916:function(t,e,n){"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:function(t,e,n){"use strict";var r=n(1320),o=n(9670),i=n(7293),a=n(7066),s="toString",l=RegExp.prototype,c=l.toString,u=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=c.name!=s;(u||d)&&r(RegExp.prototype,s,(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in l)?a.call(t):n)}),{unsafe:!0})},8783:function(t,e,n){"use strict";var r=n(8710).charAt,o=n(9909),i=n(654),a="String Iterator",s=o.set,l=o.getterFor(a);i(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=l(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},4723:function(t,e,n){"use strict";var r=n(7007),o=n(9670),i=n(7466),a=n(4488),s=n(1530),l=n(7651);r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=void 0==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),c=String(this);if(!a.global)return l(a,c);var u=a.unicode;a.lastIndex=0;for(var d,f=[],p=0;null!==(d=l(a,c));){var h=String(d[0]);f[p]=h,""===h&&(a.lastIndex=s(c,i(a.lastIndex),u)),p++}return 0===p?null:f}]}))},5306:function(t,e,n){"use strict";var r=n(7007),o=n(9670),i=n(7466),a=n(9958),s=n(4488),l=n(1530),c=n(647),u=n(7651),d=Math.max,f=Math.min;r("replace",2,(function(t,e,n,r){var p=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,h=r.REPLACE_KEEPS_$0,v=p?"$":"$0";return[function(n,r){var o=s(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!p&&h||"string"===typeof r&&-1===r.indexOf(v)){var s=n(e,t,this,r);if(s.done)return s.value}var g=o(t),m=String(this),b="function"===typeof r;b||(r=String(r));var y=g.global;if(y){var x=g.unicode;g.lastIndex=0}for(var w=[];;){var O=u(g,m);if(null===O)break;if(w.push(O),!y)break;""===String(O[0])&&(g.lastIndex=l(m,i(g.lastIndex),x))}for(var S,j="",C=0,k=0;k<w.length;k++){O=w[k];for(var E=String(O[0]),P=d(f(a(O.index),m.length),0),_=[],M=1;M<O.length;M++)_.push(void 0===(S=O[M])?S:String(S));var T=O.groups;if(b){var A=[E].concat(_,P,m);void 0!==T&&A.push(T);var R=String(r.apply(void 0,A))}else R=c(E,m,P,_,T,r);P>=C&&(j+=m.slice(C,P)+R,C=P+E.length)}return j+m.slice(C)}]}))},3123:function(t,e,n){"use strict";var r=n(7007),o=n(7850),i=n(9670),a=n(4488),s=n(6707),l=n(1530),c=n(7466),u=n(7651),d=n(2261),f=n(7293),p=[].push,h=Math.min,v=4294967295,g=!f((function(){return!RegExp(v,"y")}));r("split",2,(function(t,e,n){var r;return r="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,n){var r=String(a(this)),i=void 0===n?v:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var s,l,c,u=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,g=new RegExp(t.source,f+"g");(s=d.call(g,r))&&!((l=g.lastIndex)>h&&(u.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&p.apply(u,s.slice(1)),c=s[0].length,h=l,u.length>=i));)g.lastIndex===s.index&&g.lastIndex++;return h===r.length?!c&&g.test("")||u.push(""):u.push(r.slice(h)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=void 0==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var d=i(t),f=String(this),p=s(d,RegExp),m=d.unicode,b=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(g?"y":"g"),y=new p(g?d:"^(?:"+d.source+")",b),x=void 0===o?v:o>>>0;if(0===x)return[];if(0===f.length)return null===u(y,f)?[f]:[];for(var w=0,O=0,S=[];O<f.length;){y.lastIndex=g?O:0;var j,C=u(y,g?f:f.slice(O));if(null===C||(j=h(c(y.lastIndex+(g?0:O)),f.length))===w)O=l(f,O,m);else{if(S.push(f.slice(w,O)),S.length===x)return S;for(var k=1;k<=C.length-1;k++)if(S.push(C[k]),S.length===x)return S;O=w=j}}return S.push(f.slice(w)),S}]}),!g)},3210:function(t,e,n){"use strict";var r=n(2109),o=n(3111).trim;r({target:"String",proto:!0,forced:n(6091)("trim")},{trim:function(){return o(this)}})},2990:function(t,e,n){"use strict";var r=n(260),o=n(1048),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(t,e){return o.call(i(this),t,e,arguments.length>2?arguments[2]:void 0)}))},8927:function(t,e,n){"use strict";var r=n(260),o=n(2092).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},3105:function(t,e,n){"use strict";var r=n(260),o=n(1285),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(t){return o.apply(i(this),arguments)}))},5035:function(t,e,n){"use strict";var r=n(260),o=n(2092).filter,i=n(3074),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(t){var e=o(a(this),t,arguments.length>1?arguments[1]:void 0);return i(this,e)}))},7174:function(t,e,n){"use strict";var r=n(260),o=n(2092).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},4345:function(t,e,n){"use strict";var r=n(260),o=n(2092).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},2846:function(t,e,n){"use strict";var r=n(260),o=n(2092).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(t){o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},4731:function(t,e,n){"use strict";var r=n(260),o=n(1318).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},7209:function(t,e,n){"use strict";var r=n(260),o=n(1318).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},6319:function(t,e,n){"use strict";var r=n(7854),o=n(260),i=n(6992),a=n(5112)("iterator"),s=r.Uint8Array,l=i.values,c=i.keys,u=i.entries,d=o.aTypedArray,f=o.exportTypedArrayMethod,p=s&&s.prototype[a],h=!!p&&("values"==p.name||void 0==p.name),v=function(){return l.call(d(this))};f("entries",(function(){return u.call(d(this))})),f("keys",(function(){return c.call(d(this))})),f("values",v,!h),f(a,v,!h)},8867:function(t,e,n){"use strict";var r=n(260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(t){return a.apply(o(this),arguments)}))},7789:function(t,e,n){"use strict";var r=n(260),o=n(6583),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(t){return o.apply(i(this),arguments)}))},3739:function(t,e,n){"use strict";var r=n(260),o=n(2092).map,i=n(6707),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(s(i(t,t.constructor)))(e)}))}))},4483:function(t,e,n){"use strict";var r=n(260),o=n(3671).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},9368:function(t,e,n){"use strict";var r=n(260),o=n(3671).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},2056:function(t,e,n){"use strict";var r=n(260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var t,e=this,n=o(e).length,r=a(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e}))},3462:function(t,e,n){"use strict";var r=n(260),o=n(7466),i=n(4590),a=n(7908),s=n(7293),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(t){l(this);var e=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(t),s=o(r.length),c=0;if(s+e>n)throw RangeError("Wrong length");for(;c<s;)this[e+c]=r[c++]}),s((function(){new Int8Array(1).set({})})))},678:function(t,e,n){"use strict";var r=n(260),o=n(6707),i=n(7293),a=r.aTypedArray,s=r.aTypedArrayConstructor,l=r.exportTypedArrayMethod,c=[].slice;l("slice",(function(t,e){for(var n=c.call(a(this),t,e),r=o(this,this.constructor),i=0,l=n.length,u=new(s(r))(l);l>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},7462:function(t,e,n){"use strict";var r=n(260),o=n(2092).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},3824:function(t,e,n){"use strict";var r=n(260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i("sort",(function(t){return a.call(o(this),t)}))},5021:function(t,e,n){"use strict";var r=n(260),o=n(7466),i=n(1400),a=n(6707),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(t,e){var n=s(this),r=n.length,l=i(t,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===e?r:i(e,r))-l))}))},2974:function(t,e,n){"use strict";var r=n(7854),o=n(260),i=n(7293),a=r.Int8Array,s=o.aTypedArray,l=o.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!a&&i((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},5016:function(t,e,n){"use strict";var r=n(260).exportTypedArrayMethod,o=n(7293),i=n(7854).Uint8Array,a=i&&i.prototype||{},s=[].toString,l=[].join;o((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;r("toString",s,c)},2472:function(t,e,n){n(9843)("Uint8",(function(t){return function(e,n,r){return t(this,e,n,r)}}))},4747:function(t,e,n){var r=n(7854),o=n(8324),i=n(8533),a=n(8880);for(var s in o){var l=r[s],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(u){c.forEach=i}}},3948:function(t,e,n){var r=n(7854),o=n(8324),i=n(6992),a=n(8880),s=n(5112),l=s("iterator"),c=s("toStringTag"),u=i.values;for(var d in o){var f=r[d],p=f&&f.prototype;if(p){if(p[l]!==u)try{a(p,l,u)}catch(v){p[l]=u}if(p[c]||a(p,c,d),o[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(v){p[h]=i[h]}}}},1637:function(t,e,n){"use strict";n(6992);var r=n(2109),o=n(5005),i=n(590),a=n(1320),s=n(2248),l=n(8003),c=n(4994),u=n(9909),d=n(5787),f=n(6656),p=n(9974),h=n(648),v=n(9670),g=n(111),m=n(30),b=n(9114),y=n(8554),x=n(1246),w=n(5112),O=o("fetch"),S=o("Headers"),j=w("iterator"),C="URLSearchParams",k="URLSearchParamsIterator",E=u.set,P=u.getterFor(C),_=u.getterFor(k),M=/\+/g,T=Array(4),A=function(t){return T[t-1]||(T[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},R=function(t){try{return decodeURIComponent(t)}catch(e){return t}},D=function(t){var e=t.replace(M," "),n=4;try{return decodeURIComponent(e)}catch(r){for(;n;)e=e.replace(A(n--),R);return e}},I=/[!'()~]|%20/g,N={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(t){return N[t]},F=function(t){return encodeURIComponent(t).replace(I,L)},B=function(t,e){if(e)for(var n,r,o=e.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),t.push({key:D(r.shift()),value:D(r.join("="))}))},z=function(t){this.entries.length=0,B(this.entries,t)},H=function(t,e){if(t<e)throw TypeError("Not enough arguments")},V=c((function(t,e){E(this,{type:k,iterator:y(P(t).entries),kind:e})}),"Iterator",(function(){var t=_(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),U=function(){d(this,U,C);var t,e,n,r,o,i,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(E(u,{type:C,entries:p,updateURL:function(){},updateSearchParams:z}),void 0!==c)if(g(c))if("function"===typeof(t=x(c)))for(n=(e=t.call(c)).next;!(r=n.call(e)).done;){if((a=(i=(o=y(v(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(l in c)f(c,l)&&p.push({key:l,value:c[l]+""});else B(p,"string"===typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},W=U.prototype;s(W,{append:function(t,e){H(arguments.length,2);var n=P(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){H(arguments.length,1);for(var e=P(this),n=e.entries,r=t+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;e.updateURL()},get:function(t){H(arguments.length,1);for(var e=P(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){H(arguments.length,1);for(var e=P(this).entries,n=t+"",r=[],o=0;o<e.length;o++)e[o].key===n&&r.push(e[o].value);return r},has:function(t){H(arguments.length,1);for(var e=P(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){H(arguments.length,1);for(var n,r=P(this),o=r.entries,i=!1,a=t+"",s=e+"",l=0;l<o.length;l++)(n=o[l]).key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=P(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(t=i[n],e=0;e<n;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){for(var e,n=P(this).entries,r=p(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),a(W,j,W.entries),a(W,"toString",(function(){for(var t,e=P(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(F(t.key)+"="+F(t.value));return n.join("&")}),{enumerable:!0}),l(U,C),r({global:!0,forced:!i},{URLSearchParams:U}),i||"function"!=typeof O||"function"!=typeof S||r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,o=[t];return arguments.length>1&&(g(e=arguments[1])&&(n=e.body,h(n)===C&&((r=e.headers?new S(e.headers):new S).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=m(e,{body:b(0,String(n)),headers:b(0,r)}))),o.push(e)),O.apply(this,o)}}),t.exports={URLSearchParams:U,getState:P}},285:function(t,e,n){"use strict";n(8783);var r,o=n(2109),i=n(9781),a=n(590),s=n(7854),l=n(6048),c=n(1320),u=n(5787),d=n(6656),f=n(1574),p=n(8457),h=n(8710).codeAt,v=n(3197),g=n(8003),m=n(1637),b=n(9909),y=s.URL,x=m.URLSearchParams,w=m.getState,O=b.set,S=b.getterFor("URL"),j=Math.floor,C=Math.pow,k="Invalid scheme",E="Invalid host",P="Invalid port",_=/[A-Za-z]/,M=/[\d+-.A-Za-z]/,T=/\d/,A=/^(0x|0X)/,R=/^[0-7]+$/,D=/^\d+$/,I=/^[\dA-Fa-f]+$/,N=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,L=/[\u0000\t\u000A\u000D #/:?@[\\]]/,F=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,B=/[\t\u000A\u000D]/g,z=function(t,e){var n,r,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return E;if(!(n=V(e.slice(1,-1))))return E;t.host=n}else if($(t)){if(e=v(e),N.test(e))return E;if(null===(n=H(e)))return E;t.host=n}else{if(L.test(e))return E;for(n="",r=p(e),o=0;o<r.length;o++)n+=X(r[o],W);t.host=n}},H=function(t){var e,n,r,o,i,a,s,l=t.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(e=l.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(o=l[r]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=A.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?D:8==i?R:I).test(o))return t;a=parseInt(o,i)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=C(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*C(256,3-r);return s},V=function(t){var e,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,f=function(){return t.charAt(d)};if(":"==f()){if(":"!=t.charAt(1))return;d+=2,u=++c}for(;f();){if(8==c)return;if(":"!=f()){for(e=n=0;n<4&&I.test(f());)e=16*e+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,c>6)return;for(r=0;f();){if(o=null,r>0){if(!("."==f()&&r<4))return;d++}if(!T.test(f()))return;for(;T.test(f());){if(i=parseInt(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[c++]=e}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},U=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=j(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,o=0,i=0;i<8;i++)0!==t[i]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},W={},q=f({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),G=f({},q,{"#":1,"?":1,"{":1,"}":1}),Y=f({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),X=function(t,e){var n=h(t,0);return n>32&&n<127&&!d(e,t)?t:encodeURIComponent(t)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$=function(t){return d(K,t.scheme)},Z=function(t){return""!=t.username||""!=t.password},Q=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},J=function(t,e){var n;return 2==t.length&&_.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},tt=function(t){var e;return t.length>1&&J(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},et=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&J(e[0],!0)||e.pop()},nt=function(t){return"."===t||"%2e"===t.toLowerCase()},rt={},ot={},it={},at={},st={},lt={},ct={},ut={},dt={},ft={},pt={},ht={},vt={},gt={},mt={},bt={},yt={},xt={},wt={},Ot={},St={},jt=function(t,e,n,o){var i,a,s,l,c,u=n||rt,f=0,h="",v=!1,g=!1,m=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(F,"")),e=e.replace(B,""),i=p(e);f<=i.length;){switch(a=i[f],u){case rt:if(!a||!_.test(a)){if(n)return k;u=it;continue}h+=a.toLowerCase(),u=ot;break;case ot:if(a&&(M.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return k;h="",u=it,f=0;continue}if(n&&($(t)!=d(K,h)||"file"==h&&(Z(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=h,n)return void($(t)&&K[t.scheme]==t.port&&(t.port=null));h="","file"==t.scheme?u=gt:$(t)&&o&&o.scheme==t.scheme?u=at:$(t)?u=ut:"/"==i[f+1]?(u=st,f++):(t.cannotBeABaseURL=!0,t.path.push(""),u=wt)}break;case it:if(!o||o.cannotBeABaseURL&&"#"!=a)return k;if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,u=St;break}u="file"==o.scheme?gt:lt;continue;case at:if("/"!=a||"/"!=i[f+1]){u=lt;continue}u=dt,f++;break;case st:if("/"==a){u=ft;break}u=xt;continue;case lt:if(t.scheme=o.scheme,a==r)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&$(t))u=ct;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",u=Ot;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),u=xt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",u=St}break;case ct:if(!$(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,u=xt;continue}u=ft}else u=dt;break;case ut:if(u=dt,"/"!=a||"/"!=h.charAt(f+1))continue;f++;break;case dt:if("/"!=a&&"\\"!=a){u=ft;continue}break;case ft:if("@"==a){v&&(h="%40"+h),v=!0,s=p(h);for(var b=0;b<s.length;b++){var y=s[b];if(":"!=y||m){var x=X(y,Y);m?t.password+=x:t.username+=x}else m=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)){if(v&&""==h)return"Invalid authority";f-=p(h).length+1,h="",u=pt}else h+=a;break;case pt:case ht:if(n&&"file"==t.scheme){u=bt;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)){if($(t)&&""==h)return E;if(n&&""==h&&(Z(t)||null!==t.port))return;if(l=z(t,h))return l;if(h="",u=yt,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return E;if(l=z(t,h))return l;if(h="",u=vt,n==ht)return}break;case vt:if(!T.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(t)||n){if(""!=h){var w=parseInt(h,10);if(w>65535)return P;t.port=$(t)&&w===K[t.scheme]?null:w,h=""}if(n)return;u=yt;continue}return P}h+=a;break;case gt:if(t.scheme="file","/"==a||"\\"==a)u=mt;else{if(!o||"file"!=o.scheme){u=xt;continue}if(a==r)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",u=Ot;else{if("#"!=a){tt(i.slice(f).join(""))||(t.host=o.host,t.path=o.path.slice(),et(t)),u=xt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",u=St}}break;case mt:if("/"==a||"\\"==a){u=bt;break}o&&"file"==o.scheme&&!tt(i.slice(f).join(""))&&(J(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),u=xt;continue;case bt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&J(h))u=xt;else if(""==h){if(t.host="",n)return;u=yt}else{if(l=z(t,h))return l;if("localhost"==t.host&&(t.host=""),n)return;h="",u=yt}continue}h+=a;break;case yt:if($(t)){if(u=xt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=xt,"/"!=a))continue}else t.fragment="",u=St;else t.query="",u=Ot;break;case xt:if(a==r||"/"==a||"\\"==a&&$(t)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(et(t),"/"==a||"\\"==a&&$(t)||t.path.push("")):nt(h)?"/"==a||"\\"==a&&$(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&J(h)&&(t.host&&(t.host=""),h=h.charAt(0)+":"),t.path.push(h)),h="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",u=Ot):"#"==a&&(t.fragment="",u=St)}else h+=X(a,G);break;case wt:"?"==a?(t.query="",u=Ot):"#"==a?(t.fragment="",u=St):a!=r&&(t.path[0]+=X(a,W));break;case Ot:n||"#"!=a?a!=r&&("'"==a&&$(t)?t.query+="%27":t.query+="#"==a?"%23":X(a,W)):(t.fragment="",u=St);break;case St:a!=r&&(t.fragment+=X(a,q))}f++}},Ct=function(t){var e,n,r=u(this,Ct,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),s=O(r,{type:"URL"});if(void 0!==o)if(o instanceof Ct)e=S(o);else if(n=jt(e={},String(o)))throw TypeError(n);if(n=jt(s,a,null,e))throw TypeError(n);var l=s.searchParams=new x,c=w(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},i||(r.href=Et.call(r),r.origin=Pt.call(r),r.protocol=_t.call(r),r.username=Mt.call(r),r.password=Tt.call(r),r.host=At.call(r),r.hostname=Rt.call(r),r.port=Dt.call(r),r.pathname=It.call(r),r.search=Nt.call(r),r.searchParams=Lt.call(r),r.hash=Ft.call(r))},kt=Ct.prototype,Et=function(){var t=S(this),e=t.scheme,n=t.username,r=t.password,o=t.host,i=t.port,a=t.path,s=t.query,l=t.fragment,c=e+":";return null!==o?(c+="//",Z(t)&&(c+=n+(r?":"+r:"")+"@"),c+=U(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Pt=function(){var t=S(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(r){return"null"}return"file"!=e&&$(t)?e+"://"+U(t.host)+(null!==n?":"+n:""):"null"},_t=function(){return S(this).scheme+":"},Mt=function(){return S(this).username},Tt=function(){return S(this).password},At=function(){var t=S(this),e=t.host,n=t.port;return null===e?"":null===n?U(e):U(e)+":"+n},Rt=function(){var t=S(this).host;return null===t?"":U(t)},Dt=function(){var t=S(this).port;return null===t?"":String(t)},It=function(){var t=S(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Nt=function(){var t=S(this).query;return t?"?"+t:""},Lt=function(){return S(this).searchParams},Ft=function(){var t=S(this).fragment;return t?"#"+t:""},Bt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&l(kt,{href:Bt(Et,(function(t){var e=S(this),n=String(t),r=jt(e,n);if(r)throw TypeError(r);w(e.searchParams).updateSearchParams(e.query)})),origin:Bt(Pt),protocol:Bt(_t,(function(t){var e=S(this);jt(e,String(t)+":",rt)})),username:Bt(Mt,(function(t){var e=S(this),n=p(String(t));if(!Q(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=X(n[r],Y)}})),password:Bt(Tt,(function(t){var e=S(this),n=p(String(t));if(!Q(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=X(n[r],Y)}})),host:Bt(At,(function(t){var e=S(this);e.cannotBeABaseURL||jt(e,String(t),pt)})),hostname:Bt(Rt,(function(t){var e=S(this);e.cannotBeABaseURL||jt(e,String(t),ht)})),port:Bt(Dt,(function(t){var e=S(this);Q(e)||(""==(t=String(t))?e.port=null:jt(e,t,vt))})),pathname:Bt(It,(function(t){var e=S(this);e.cannotBeABaseURL||(e.path=[],jt(e,t+"",yt))})),search:Bt(Nt,(function(t){var e=S(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",jt(e,t,Ot)),w(e.searchParams).updateSearchParams(e.query)})),searchParams:Bt(Lt),hash:Bt(Ft,(function(t){var e=S(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",jt(e,t,St)):e.fragment=null}))}),c(kt,"toJSON",(function(){return Et.call(this)}),{enumerable:!0}),c(kt,"toString",(function(){return Et.call(this)}),{enumerable:!0}),y){var zt=y.createObjectURL,Ht=y.revokeObjectURL;zt&&c(Ct,"createObjectURL",(function(t){return zt.apply(y,arguments)})),Ht&&c(Ct,"revokeObjectURL",(function(t){return Ht.apply(y,arguments)}))}g(Ct,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Ct})}},e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return function(){"use strict";function t(t,n){var r;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(r=function(t,n){if(t){if("string"===typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,n):void 0}}(t))||n&&t&&"number"===typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return s=t.done,t},e:function(t){l=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}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)}}n.r(r),n.d(r,{Dropzone:function(){return x},default:function(){return C}}),n(2222),n(7327),n(2772),n(6992),n(1249),n(7042),n(561),n(8264),n(8309),n(489),n(1539),n(4916),n(9714),n(8783),n(4723),n(5306),n(3123),n(3210),n(2472),n(2990),n(8927),n(3105),n(5035),n(4345),n(7174),n(2846),n(4731),n(7209),n(6319),n(8867),n(7789),n(3739),n(9368),n(4483),n(2056),n(3462),n(678),n(7462),n(3824),n(5021),n(2974),n(5016),n(4747),n(3948),n(285);var i=function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,r,i;return n=e,r=[{key:"on",value:function(t,e){return this._callbacks=this._callbacks||{},this._callbacks[t]||(this._callbacks[t]=[]),this._callbacks[t].push(e),this}},{key:"emit",value:function(e){this._callbacks=this._callbacks||{};for(var n=this._callbacks[e],r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];if(n){var a,s=t(n,!0);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.apply(this,o)}}catch(c){s.e(c)}finally{s.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+e,{args:o})),this}},{key:"makeEvent",value:function(t,e){var n={bubbles:!0,cancelable:!0,detail:e};if("function"===typeof window.CustomEvent)return new CustomEvent(t,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),r}},{key:"off",value:function(t,e){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[t];if(!n)return this;if(1===arguments.length)return delete this._callbacks[t],this;for(var r=0;r<n.length;r++){var o=n[r];if(o===e){n.splice(r,1);break}}return this}}],r&&o(n.prototype,r),i&&o(n,i),e}();function a(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){l=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var l={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(t,e,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(t,e){return e()},chunksUploaded:function(t,e){e()},fallback:function(){var t;this.element.className="".concat(this.element.className," dz-browser-not-supported");var e,n=a(this.element.getElementsByTagName("div"),!0);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(/(^| )dz-message($| )/.test(r.className)){t=r,r.className="dz-message";break}}}catch(i){n.e(i)}finally{n.f()}t||(t=x.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(t));var o=t.getElementsByTagName("span")[0];return o&&(null!=o.textContent?o.textContent=this.options.dictFallbackMessage:null!=o.innerText&&(o.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(t,e,n,r){var o={srcX:0,srcY:0,srcWidth:t.width,srcHeight:t.height},i=t.width/t.height;null==e&&null==n?(e=o.srcWidth,n=o.srcHeight):null==e?e=n*i:null==n&&(n=e/i);var a=(e=Math.min(e,o.srcWidth))/(n=Math.min(n,o.srcHeight));if(o.srcWidth>e||o.srcHeight>n)if("crop"===r)i>a?(o.srcHeight=t.height,o.srcWidth=o.srcHeight*a):(o.srcWidth=t.width,o.srcHeight=o.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '".concat(r,"'"));i>a?n=e/i:e=n*i}return o.srcX=(t.width-o.srcWidth)/2,o.srcY=(t.height-o.srcHeight)/2,o.trgWidth=e,o.trgHeight=n,o},transformFile:function(t,e){return(this.options.resizeWidth||this.options.resizeHeight)&&t.type.match(/image.*/)?this.resizeImage(t,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,e):e(t)},previewTemplate:'<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',drop:function(t){return this.element.classList.remove("dz-drag-hover")},dragstart:function(t){},dragend:function(t){return this.element.classList.remove("dz-drag-hover")},dragenter:function(t){return this.element.classList.add("dz-drag-hover")},dragover:function(t){return this.element.classList.add("dz-drag-hover")},dragleave:function(t){return this.element.classList.remove("dz-drag-hover")},paste:function(t){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var e=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){t.previewElement=x.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);var n,r=a(t.previewElement.querySelectorAll("[data-dz-name]"),!0);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.textContent=t.name}}catch(d){r.e(d)}finally{r.f()}var i,s=a(t.previewElement.querySelectorAll("[data-dz-size]"),!0);try{for(s.s();!(i=s.n()).done;)(o=i.value).innerHTML=this.filesize(t.size)}catch(d){s.e(d)}finally{s.f()}this.options.addRemoveLinks&&(t._removeLink=x.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),t.previewElement.appendChild(t._removeLink));var l,c=function(n){return n.preventDefault(),n.stopPropagation(),t.status===x.UPLOADING?x.confirm(e.options.dictCancelUploadConfirmation,(function(){return e.removeFile(t)})):e.options.dictRemoveFileConfirmation?x.confirm(e.options.dictRemoveFileConfirmation,(function(){return e.removeFile(t)})):e.removeFile(t)},u=a(t.previewElement.querySelectorAll("[data-dz-remove]"),!0);try{for(u.s();!(l=u.n()).done;)l.value.addEventListener("click",c)}catch(d){u.e(d)}finally{u.f()}}},removedfile:function(t){return null!=t.previewElement&&null!=t.previewElement.parentNode&&t.previewElement.parentNode.removeChild(t.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(t,e){if(t.previewElement){t.previewElement.classList.remove("dz-file-preview");var n,r=a(t.previewElement.querySelectorAll("[data-dz-thumbnail]"),!0);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.alt=t.name,o.src=e}}catch(i){r.e(i)}finally{r.f()}return setTimeout((function(){return t.previewElement.classList.add("dz-image-preview")}),1)}},error:function(t,e){if(t.previewElement){t.previewElement.classList.add("dz-error"),"string"!==typeof e&&e.error&&(e=e.error);var n,r=a(t.previewElement.querySelectorAll("[data-dz-errormessage]"),!0);try{for(r.s();!(n=r.n()).done;)n.value.textContent=e}catch(o){r.e(o)}finally{r.f()}}},errormultiple:function(){},processing:function(t){if(t.previewElement&&(t.previewElement.classList.add("dz-processing"),t._removeLink))return t._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(t,e,n){if(t.previewElement){var r,o=a(t.previewElement.querySelectorAll("[data-dz-uploadprogress]"),!0);try{for(o.s();!(r=o.n()).done;){var i=r.value;"PROGRESS"===i.nodeName?i.value=e:i.style.width="".concat(e,"%")}}catch(s){o.e(s)}finally{o.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(t){if(t.previewElement)return t.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(t){return this.emit("error",t,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(t){if(t._removeLink&&(t._removeLink.innerHTML=this.options.dictRemoveFile),t.previewElement)return t.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}};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},c(t)}function u(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 h(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function v(t,e){return v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},v(t,e)}function g(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==c(e)&&"function"!==typeof e?b(t):e}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}var x=function(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&&v(t,e)}(n,t);var e=g(n);function n(t,r){var o,i,a;if(f(this,n),(o=e.call(this)).element=t,o.version=n.version,o.clickableElements=[],o.listeners=[],o.files=[],"string"===typeof o.element&&(o.element=document.querySelector(o.element)),!o.element||null==o.element.nodeType)throw new Error("Invalid dropzone element.");if(o.element.dropzone)throw new Error("Dropzone already attached.");n.instances.push(b(o)),o.element.dropzone=b(o);var s=null!=(a=n.optionsForElement(o.element))?a:{};if(o.options=n.extend({},l,s,null!=r?r:{}),o.options.previewTemplate=o.options.previewTemplate.replace(/\n*/g,""),o.options.forceFallback||!n.isBrowserSupported())return m(o,o.options.fallback.call(b(o)));if(null==o.options.url&&(o.options.url=o.element.getAttribute("action")),!o.options.url)throw new Error("No URL provided.");if(o.options.acceptedFiles&&o.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(o.options.uploadMultiple&&o.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return o.options.acceptedMimeTypes&&(o.options.acceptedFiles=o.options.acceptedMimeTypes,delete o.options.acceptedMimeTypes),null!=o.options.renameFilename&&(o.options.renameFile=function(t){return o.options.renameFilename.call(b(o),t.name,t)}),"string"===typeof o.options.method&&(o.options.method=o.options.method.toUpperCase()),(i=o.getExistingFallback())&&i.parentNode&&i.parentNode.removeChild(i),!1!==o.options.previewsContainer&&(o.options.previewsContainer?o.previewsContainer=n.getElement(o.options.previewsContainer,"previewsContainer"):o.previewsContainer=o.element),o.options.clickable&&(!0===o.options.clickable?o.clickableElements=[o.element]:o.clickableElements=n.getElements(o.options.clickable,"clickable")),o.init(),o}return h(n,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(t){return t.accepted})).map((function(t){return t}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(t){return!t.accepted})).map((function(t){return t}))}},{key:"getFilesWithStatus",value:function(t){return this.files.filter((function(e){return e.status===t})).map((function(t){return t}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(n.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(n.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(n.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(t){return t.status===n.UPLOADING||t.status===n.QUEUED})).map((function(t){return t}))}},{key:"init",value:function(){var t=this;"form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(n.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length&&function e(){t.hiddenFileInput&&t.hiddenFileInput.parentNode.removeChild(t.hiddenFileInput),t.hiddenFileInput=document.createElement("input"),t.hiddenFileInput.setAttribute("type","file"),(null===t.options.maxFiles||t.options.maxFiles>1)&&t.hiddenFileInput.setAttribute("multiple","multiple"),t.hiddenFileInput.className="dz-hidden-input",null!==t.options.acceptedFiles&&t.hiddenFileInput.setAttribute("accept",t.options.acceptedFiles),null!==t.options.capture&&t.hiddenFileInput.setAttribute("capture",t.options.capture),t.hiddenFileInput.setAttribute("tabindex","-1"),t.hiddenFileInput.style.visibility="hidden",t.hiddenFileInput.style.position="absolute",t.hiddenFileInput.style.top="0",t.hiddenFileInput.style.left="0",t.hiddenFileInput.style.height="0",t.hiddenFileInput.style.width="0",n.getElement(t.options.hiddenInputContainer,"hiddenInputContainer").appendChild(t.hiddenFileInput),t.hiddenFileInput.addEventListener("change",(function(){var n=t.hiddenFileInput.files;if(n.length){var r,o=u(n,!0);try{for(o.s();!(r=o.n()).done;){var i=r.value;t.addFile(i)}}catch(a){o.e(a)}finally{o.f()}}t.emit("addedfiles",n),e()}))}(),this.URL=null!==window.URL?window.URL:window.webkitURL;var e,r=u(this.events,!0);try{for(r.s();!(e=r.n()).done;){var o=e.value;this.on(o,this.options[o])}}catch(a){r.e(a)}finally{r.f()}this.on("uploadprogress",(function(){return t.updateTotalUploadProgress()})),this.on("removedfile",(function(){return t.updateTotalUploadProgress()})),this.on("canceled",(function(e){return t.emit("complete",e)})),this.on("complete",(function(e){if(0===t.getAddedFiles().length&&0===t.getUploadingFiles().length&&0===t.getQueuedFiles().length)return setTimeout((function(){return t.emit("queuecomplete")}),0)}));var i=function(t){if(function(t){if(t.dataTransfer.types)for(var e=0;e<t.dataTransfer.types.length;e++)if("Files"===t.dataTransfer.types[e])return!0;return!1}(t))return t.stopPropagation(),t.preventDefault?t.preventDefault():t.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(e){return t.emit("dragstart",e)},dragenter:function(e){return i(e),t.emit("dragenter",e)},dragover:function(e){var n;try{n=e.dataTransfer.effectAllowed}catch(r){}return e.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",i(e),t.emit("dragover",e)},dragleave:function(e){return t.emit("dragleave",e)},drop:function(e){return i(e),t.drop(e)},dragend:function(e){return t.emit("dragend",e)}}}],this.clickableElements.forEach((function(e){return t.listeners.push({element:e,events:{click:function(r){return(e!==t.element||r.target===t.element||n.elementInside(r.target,t.element.querySelector(".dz-message")))&&t.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,n.instances.splice(n.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var t,e=0,n=0;if(this.getActiveFiles().length){var r,o=u(this.getActiveFiles(),!0);try{for(o.s();!(r=o.n()).done;){var i=r.value;e+=i.upload.bytesSent,n+=i.upload.total}}catch(a){o.e(a)}finally{o.f()}t=100*e/n}else t=100;return this.emit("totaluploadprogress",t,n,e)}},{key:"_getParamName",value:function(t){return"function"===typeof this.options.paramName?this.options.paramName(t):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(t,"]"):"")}},{key:"_renameFile",value:function(t){return"function"!==typeof this.options.renameFile?t.name:this.options.renameFile(t)}},{key:"getFallbackForm",value:function(){var t,e;if(t=this.getExistingFallback())return t;var r='<div class="dz-fallback">';this.options.dictFallbackText&&(r+="<p>".concat(this.options.dictFallbackText,"</p>")),r+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var o=n.createElement(r);return"FORM"!==this.element.tagName?(e=n.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'))).appendChild(o):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:o}},{key:"getExistingFallback",value:function(){for(var t=function(t){var e,n=u(t,!0);try{for(n.s();!(e=n.n()).done;){var r=e.value;if(/(^| )fallback($| )/.test(r.className))return r}}catch(o){n.e(o)}finally{n.f()}},e=0,n=["div","form"];e<n.length;e++){var r,o=n[e];if(r=t(this.element.getElementsByTagName(o)))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.addEventListener(n,r,!1))}return e}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(t){return function(){var e=[];for(var n in t.events){var r=t.events[n];e.push(t.element.removeEventListener(n,r,!1))}return e}()}))}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach((function(t){return t.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(e){return t.cancelUpload(e)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(t){return t.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(t){var e=0,n="b";if(t>0){for(var r=["tb","gb","mb","kb","b"],o=0;o<r.length;o++){var i=r[o];if(t>=Math.pow(this.options.filesizeBase,4-o)/10){e=t/Math.pow(this.options.filesizeBase,4-o),n=i;break}}e=Math.round(10*e)/10}return"<strong>".concat(e,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(t){if(t.dataTransfer){this.emit("drop",t);for(var e=[],n=0;n<t.dataTransfer.files.length;n++)e[n]=t.dataTransfer.files[n];if(e.length){var r=t.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(e)}this.emit("addedfiles",e)}}},{key:"paste",value:function(t){if(null!=(e=null!=t?t.clipboardData:void 0,n=function(t){return t.items},"undefined"!==typeof e&&null!==e?n(e):void 0)){var e,n;this.emit("paste",t);var r=t.clipboardData.items;return r.length?this._addFilesFromItems(r):void 0}}},{key:"handleFiles",value:function(t){var e,n=u(t,!0);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.addFile(r)}}catch(o){n.e(o)}finally{n.f()}}},{key:"_addFilesFromItems",value:function(t){var e=this;return function(){var n,r=[],o=u(t,!0);try{for(o.s();!(n=o.n()).done;){var i,a=n.value;null!=a.webkitGetAsEntry&&(i=a.webkitGetAsEntry())?i.isFile?r.push(e.addFile(a.getAsFile())):i.isDirectory?r.push(e._addFilesFromDirectory(i,i.name)):r.push(void 0):null==a.getAsFile||null!=a.kind&&"file"!==a.kind?r.push(void 0):r.push(e.addFile(a.getAsFile()))}}catch(s){o.e(s)}finally{o.f()}return r}()}},{key:"_addFilesFromDirectory",value:function(t,e){var n=this,r=t.createReader(),o=function(t){return e=console,n="log",r=function(e){return e.log(t)},"undefined"!==typeof e&&null!==e&&"function"===typeof e[n]?r(e,n):void 0;var e,n,r};return function t(){return r.readEntries((function(r){if(r.length>0){var o,i=u(r,!0);try{for(i.s();!(o=i.n()).done;){var a=o.value;a.isFile?a.file((function(t){if(!n.options.ignoreHiddenFiles||"."!==t.name.substring(0,1))return t.fullPath="".concat(e,"/").concat(t.name),n.addFile(t)})):a.isDirectory&&n._addFilesFromDirectory(a,"".concat(e,"/").concat(a.name))}}catch(s){i.e(s)}finally{i.f()}t()}return null}),o)}()}},{key:"accept",value:function(t,e){this.options.maxFilesize&&t.size>1024*this.options.maxFilesize*1024?e(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(t.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):n.isValidFile(t,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(e(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",t)):this.options.accept.call(this,t,e):e(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var e=this;t.upload={uuid:n.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=n.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,(function(n){n?(t.accepted=!1,e._errorProcessing([t],n)):(t.accepted=!0,e.options.autoQueue&&e.enqueueFile(t)),e._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(t){var e,n=u(t,!0);try{for(n.s();!(e=n.n()).done;){var r=e.value;this.enqueueFile(r)}}catch(o){n.e(o)}finally{n.f()}return null}},{key:"enqueueFile",value:function(t){var e=this;if(t.status!==n.ADDED||!0!==t.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(t.status=n.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return e.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(t){var e=this;if(this.options.createImageThumbnails&&t.type.match(/image.*/)&&t.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(t),setTimeout((function(){return e._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var t=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var e=this._thumbnailQueue.shift();return this.createThumbnail(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return t.emit("thumbnail",e,n),t._processingThumbnail=!1,t._processThumbnailQueue()}))}}},{key:"removeFile",value:function(t){if(t.status===n.UPLOADING&&this.cancelUpload(t),this.files=w(this.files,t),this.emit("removedfile",t),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(t){null==t&&(t=!1);var e,r=u(this.files.slice(),!0);try{for(r.s();!(e=r.n()).done;){var o=e.value;(o.status!==n.UPLOADING||t)&&this.removeFile(o)}}catch(i){r.e(i)}finally{r.f()}return null}},{key:"resizeImage",value:function(t,e,r,o,i){var a=this;return this.createThumbnail(t,e,r,o,!0,(function(e,r){if(null==r)return i(t);var o=a.options.resizeMimeType;null==o&&(o=t.type);var s=r.toDataURL(o,a.options.resizeQuality);return"image/jpeg"!==o&&"image/jpg"!==o||(s=j.restore(t.dataURL,s)),i(n.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(t,e,n,r,o,i){var a=this,s=new FileReader;s.onload=function(){t.dataURL=s.result,"image/svg+xml"!==t.type?a.createThumbnailFromUrl(t,e,n,r,o,i):null!=i&&i(s.result)},s.readAsDataURL(t)}},{key:"displayExistingFile",value:function(t,e,n,r){var o=this,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(this.emit("addedfile",t),this.emit("complete",t),i){var a=function(e){o.emit("thumbnail",t,e),n&&n()};t.dataURL=e,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.resizeMethod,this.options.fixOrientation,a,r)}else this.emit("thumbnail",t,e),n&&n()}},{key:"createThumbnailFromUrl",value:function(t,e,n,r,o,i,a){var s=this,l=document.createElement("img");return a&&(l.crossOrigin=a),o="from-image"!=getComputedStyle(document.body).imageOrientation&&o,l.onload=function(){var a=function(t){return t(1)};return"undefined"!==typeof EXIF&&null!==EXIF&&o&&(a=function(t){return EXIF.getData(l,(function(){return t(EXIF.getTag(this,"Orientation"))}))}),a((function(o){t.width=l.width,t.height=l.height;var a=s.options.resize.call(s,t,e,n,r),c=document.createElement("canvas"),u=c.getContext("2d");switch(c.width=a.trgWidth,c.height=a.trgHeight,o>4&&(c.width=a.trgHeight,c.height=a.trgWidth),o){case 2:u.translate(c.width,0),u.scale(-1,1);break;case 3:u.translate(c.width,c.height),u.rotate(Math.PI);break;case 4:u.translate(0,c.height),u.scale(1,-1);break;case 5:u.rotate(.5*Math.PI),u.scale(1,-1);break;case 6:u.rotate(.5*Math.PI),u.translate(0,-c.width);break;case 7:u.rotate(.5*Math.PI),u.translate(c.height,-c.width),u.scale(-1,1);break;case 8:u.rotate(-.5*Math.PI),u.translate(-c.height,0)}S(u,l,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var d=c.toDataURL("image/png");if(null!=i)return i(d,c)}))},null!=i&&(l.onerror=i),l.src=t.dataURL}},{key:"processQueue",value:function(){var t=this.options.parallelUploads,e=this.getUploadingFiles().length,n=e;if(!(e>=t)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-e));for(;n<t;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(t){return this.processFiles([t])}},{key:"processFiles",value:function(t){var e,r=u(t,!0);try{for(r.s();!(e=r.n()).done;){var o=e.value;o.processing=!0,o.status=n.UPLOADING,this.emit("processing",o)}}catch(i){r.e(i)}finally{r.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",t),this.uploadFiles(t)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter((function(e){return e.xhr===t})).map((function(t){return t}))}},{key:"cancelUpload",value:function(t){if(t.status===n.UPLOADING){var e,r=this._getFilesWithXhr(t.xhr),o=u(r,!0);try{for(o.s();!(e=o.n()).done;)e.value.status=n.CANCELED}catch(l){o.e(l)}finally{o.f()}"undefined"!==typeof t.xhr&&t.xhr.abort();var i,a=u(r,!0);try{for(a.s();!(i=a.n()).done;){var s=i.value;this.emit("canceled",s)}}catch(l){a.e(l)}finally{a.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else t.status!==n.ADDED&&t.status!==n.QUEUED||(t.status=n.CANCELED,this.emit("canceled",t),this.options.uploadMultiple&&this.emit("canceledmultiple",[t]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value: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(this,n)}return t}},{key:"uploadFile",value:function(t){return this.uploadFiles([t])}},{key:"uploadFiles",value:function(t){var e=this;this._transformFiles(t,(function(r){if(e.options.chunking){var o=r[0];t[0].upload.chunked=e.options.chunking&&(e.options.forceChunking||o.size>e.options.chunkSize),t[0].upload.totalChunkCount=Math.ceil(o.size/e.options.chunkSize)}if(t[0].upload.chunked){var i=t[0],a=r[0];i.upload.chunks=[];var s=function(){for(var r=0;void 0!==i.upload.chunks[r];)r++;if(!(r>=i.upload.totalChunkCount)){var o=r*e.options.chunkSize,s=Math.min(o+e.options.chunkSize,a.size),l={name:e._getParamName(0),data:a.webkitSlice?a.webkitSlice(o,s):a.slice(o,s),filename:i.upload.filename,chunkIndex:r};i.upload.chunks[r]={file:i,index:r,dataBlock:l,status:n.UPLOADING,progress:0,retries:0},e._uploadData(t,[l])}};if(i.upload.finishedChunkUpload=function(r,o){var a=!0;r.status=n.SUCCESS,r.dataBlock=null,r.xhr=null;for(var l=0;l<i.upload.totalChunkCount;l++){if(void 0===i.upload.chunks[l])return s();i.upload.chunks[l].status!==n.SUCCESS&&(a=!1)}a&&e.options.chunksUploaded(i,(function(){e._finished(t,o,null)}))},e.options.parallelChunkUploads)for(var l=0;l<i.upload.totalChunkCount;l++)s();else s()}else{for(var c=[],u=0;u<t.length;u++)c[u]={name:e._getParamName(u),data:r[u],filename:t[u].upload.filename};e._uploadData(t,c)}}))}},{key:"_getChunk",value:function(t,e){for(var n=0;n<t.upload.totalChunkCount;n++)if(void 0!==t.upload.chunks[n]&&t.upload.chunks[n].xhr===e)return t.upload.chunks[n]}},{key:"_uploadData",value:function(t,e){var r,o=this,i=new XMLHttpRequest,a=u(t,!0);try{for(a.s();!(r=a.n()).done;)r.value.xhr=i}catch(S){a.e(S)}finally{a.f()}t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=i);var s=this.resolveOption(this.options.method,t),l=this.resolveOption(this.options.url,t);i.open(s,l,!0),this.resolveOption(this.options.timeout,t)&&(i.timeout=this.resolveOption(this.options.timeout,t)),i.withCredentials=!!this.options.withCredentials,i.onload=function(e){o._finishedUploading(t,i,e)},i.ontimeout=function(){o._handleUploadError(t,i,"Request timedout after ".concat(o.options.timeout/1e3," seconds"))},i.onerror=function(){o._handleUploadError(t,i)},(null!=i.upload?i.upload:i).onprogress=function(e){return o._updateFilesUploadProgress(t,i,e)};var c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var d in this.options.headers&&n.extend(c,this.options.headers),c){var f=c[d];f&&i.setRequestHeader(d,f)}var p=new FormData;if(this.options.params){var h=this.options.params;for(var v in"function"===typeof h&&(h=h.call(this,t,i,t[0].upload.chunked?this._getChunk(t[0],i):null)),h){var g=h[v];if(Array.isArray(g))for(var m=0;m<g.length;m++)p.append(v,g[m]);else p.append(v,g)}}var b,y=u(t,!0);try{for(y.s();!(b=y.n()).done;){var x=b.value;this.emit("sending",x,i,p)}}catch(S){y.e(S)}finally{y.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",t,i,p),this._addFormElementData(p);for(var w=0;w<e.length;w++){var O=e[w];p.append(O.name,O.data,O.filename)}this.submitRequest(i,p,t)}},{key:"_transformFiles",value:function(t,e){for(var n=this,r=[],o=0,i=function(i){n.options.transformFile.call(n,t[i],(function(n){r[i]=n,++o===t.length&&e(r)}))},a=0;a<t.length;a++)i(a)}},{key:"_addFormElementData",value:function(t){if("FORM"===this.element.tagName){var e,n=u(this.element.querySelectorAll("input, textarea, select, button"),!0);try{for(n.s();!(e=n.n()).done;){var r=e.value,o=r.getAttribute("name"),i=r.getAttribute("type");if(i&&(i=i.toLowerCase()),"undefined"!==typeof o&&null!==o)if("SELECT"===r.tagName&&r.hasAttribute("multiple")){var a,s=u(r.options,!0);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.selected&&t.append(o,l.value)}}catch(c){s.e(c)}finally{s.f()}}else(!i||"checkbox"!==i&&"radio"!==i||r.checked)&&t.append(o,r.value)}}catch(c){n.e(c)}finally{n.f()}}}},{key:"_updateFilesUploadProgress",value:function(t,e,n){if(t[0].upload.chunked){var r=t[0],o=this._getChunk(r,e);n?(o.progress=100*n.loaded/n.total,o.total=n.total,o.bytesSent=n.loaded):(o.progress=100,o.bytesSent=o.total),r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(var i=0;i<r.upload.totalChunkCount;i++)r.upload.chunks[i]&&"undefined"!==typeof r.upload.chunks[i].progress&&(r.upload.progress+=r.upload.chunks[i].progress,r.upload.total+=r.upload.chunks[i].total,r.upload.bytesSent+=r.upload.chunks[i].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent)}else{var a,s=u(t,!0);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.upload.total&&l.upload.bytesSent&&l.upload.bytesSent==l.upload.total||(n?(l.upload.progress=100*n.loaded/n.total,l.upload.total=n.total,l.upload.bytesSent=n.loaded):(l.upload.progress=100,l.upload.bytesSent=l.upload.total),this.emit("uploadprogress",l,l.upload.progress,l.upload.bytesSent))}}catch(c){s.e(c)}finally{s.f()}}}},{key:"_finishedUploading",value:function(t,e,r){var o;if(t[0].status!==n.CANCELED&&4===e.readyState){if("arraybuffer"!==e.responseType&&"blob"!==e.responseType&&(o=e.responseText,e.getResponseHeader("content-type")&&~e.getResponseHeader("content-type").indexOf("application/json")))try{o=JSON.parse(o)}catch(i){r=i,o="Invalid JSON response from server."}this._updateFilesUploadProgress(t,e),200<=e.status&&e.status<300?t[0].upload.chunked?t[0].upload.finishedChunkUpload(this._getChunk(t[0],e),o):this._finished(t,o,r):this._handleUploadError(t,e,o)}}},{key:"_handleUploadError",value:function(t,e,r){if(t[0].status!==n.CANCELED){if(t[0].upload.chunked&&this.options.retryChunks){var o=this._getChunk(t[0],e);if(o.retries++<this.options.retryChunksLimit)return void this._uploadData(t,[o.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(t,r||this.options.dictResponseError.replace("{{statusCode}}",e.status),e)}}},{key:"submitRequest",value:function(t,e,n){1==t.readyState?t.send(e):console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.")}},{key:"_finished",value:function(t,e,r){var o,i=u(t,!0);try{for(i.s();!(o=i.n()).done;){var a=o.value;a.status=n.SUCCESS,this.emit("success",a,e,r),this.emit("complete",a)}}catch(s){i.e(s)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",t,e,r),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(t,e,r){var o,i=u(t,!0);try{for(i.s();!(o=i.n()).done;){var a=o.value;a.status=n.ERROR,this.emit("error",a,e,r),this.emit("complete",a)}}catch(s){i.e(s)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",t,e,r),this.emit("completemultiple",t)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=i,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value: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];for(var o=0,i=n;o<i.length;o++){var a=i[o];for(var s in a){var l=a[s];t[s]=l}}return t}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}}]),n}(i);x.initClass(),x.version="5.9.2",x.options={},x.optionsForElement=function(t){return t.getAttribute("id")?x.options[O(t.getAttribute("id"))]:void 0},x.instances=[],x.forElement=function(t){if("string"===typeof t&&(t=document.querySelector(t)),null==(null!=t?t.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return t.dropzone},x.autoDiscover=!0,x.discover=function(){var t;if(document.querySelectorAll)t=document.querySelectorAll(".dropzone");else{t=[];var e=function(e){return function(){var n,r=[],o=u(e,!0);try{for(o.s();!(n=o.n()).done;){var i=n.value;/(^| )dropzone($| )/.test(i.className)?r.push(t.push(i)):r.push(void 0)}}catch(a){o.e(a)}finally{o.f()}return r}()};e(document.getElementsByTagName("div")),e(document.getElementsByTagName("form"))}return function(){var e,n=[],r=u(t,!0);try{for(r.s();!(e=r.n()).done;){var o=e.value;!1!==x.optionsForElement(o)?n.push(new x(o)):n.push(void 0)}}catch(i){r.e(i)}finally{r.f()}return n}()},x.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],x.isBrowserSupported=function(){var t=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){void 0!==x.blacklistedBrowsers&&(x.blockedBrowsers=x.blacklistedBrowsers);var e,n=u(x.blockedBrowsers,!0);try{for(n.s();!(e=n.n()).done;)e.value.test(navigator.userAgent)&&(t=!1)}catch(r){n.e(r)}finally{n.f()}}else t=!1;else t=!1;return t},x.dataURItoBlob=function(t){for(var e=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(e.length),o=new Uint8Array(r),i=0,a=e.length,s=0<=a;s?i<=a:i>=a;s?i++:i--)o[i]=e.charCodeAt(i);return new Blob([r],{type:n})};var w=function(t,e){return t.filter((function(t){return t!==e})).map((function(t){return t}))},O=function(t){return t.replace(/[\-_](\w)/g,(function(t){return t.charAt(1).toUpperCase()}))};x.createElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e.childNodes[0]},x.elementInside=function(t,e){if(t===e)return!0;for(;t=t.parentNode;)if(t===e)return!0;return!1},x.getElement=function(t,e){var n;if("string"===typeof t?n=document.querySelector(t):null!=t.nodeType&&(n=t),null==n)throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector or a plain HTML element."));return n},x.getElements=function(t,e){var n,r;if(t instanceof Array){r=[];try{var o,i=u(t,!0);try{for(i.s();!(o=i.n()).done;)n=o.value,r.push(this.getElement(n,e))}catch(l){i.e(l)}finally{i.f()}}catch(c){r=null}}else if("string"===typeof t){r=[];var a,s=u(document.querySelectorAll(t),!0);try{for(s.s();!(a=s.n()).done;)n=a.value,r.push(n)}catch(l){s.e(l)}finally{s.f()}}else null!=t.nodeType&&(r=[t]);if(null==r||!r.length)throw new Error("Invalid `".concat(e,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return r},x.confirm=function(t,e,n){return window.confirm(t)?e():null!=n?n():void 0},x.isValidFile=function(t,e){if(!e)return!0;e=e.split(",");var n,r=t.type,o=r.replace(/\/.*$/,""),i=u(e,!0);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("."===(a=a.trim()).charAt(0)){if(-1!==t.name.toLowerCase().indexOf(a.toLowerCase(),t.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(o===a.replace(/\/.*$/,""))return!0}else if(r===a)return!0}}catch(s){i.e(s)}finally{i.f()}return!1},"undefined"!==typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each((function(){return new x(this,t)}))}),x.ADDED="added",x.QUEUED="queued",x.ACCEPTED=x.QUEUED,x.UPLOADING="uploading",x.PROCESSING=x.UPLOADING,x.CANCELED="canceled",x.ERROR="error",x.SUCCESS="success";var S=function(t,e,n,r,o,i,a,s,l,c){var u=function(t){t.naturalWidth;var e=t.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=e;var r=n.getContext("2d");r.drawImage(t,0,0);for(var o=r.getImageData(1,0,1,e).data,i=0,a=e,s=e;s>i;)0===o[4*(s-1)+3]?a=s:i=s,s=a+i>>1;var l=s/e;return 0===l?1:l}(e);return t.drawImage(e,n,r,o,i,a,s,l,c/u)},j=function(){function t(){f(this,t)}return h(t,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(t){for(var e="",n=void 0,r=void 0,o="",i=void 0,a=void 0,s=void 0,l="",c=0;i=(n=t[c++])>>2,a=(3&n)<<4|(r=t[c++])>>4,s=(15&r)<<2|(o=t[c++])>>6,l=63&o,isNaN(r)?s=l=64:isNaN(o)&&(l=64),e=e+this.KEY_STR.charAt(i)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l),n=r=o="",i=a=s=l="",c<t.length;);return e}},{key:"restore",value:function(t,e){if(!t.match("data:image/jpeg;base64,"))return e;var n=this.decode64(t.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),o=this.exifManipulation(e,r);return"data:image/jpeg;base64,".concat(this.encode64(o))}},{key:"exifManipulation",value:function(t,e){var n=this.getExifArray(e),r=this.insertExif(t,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(t){for(var e=void 0,n=0;n<t.length;){if(255===(e=t[n])[0]&225===e[1])return e;n++}return[]}},{key:"insertExif",value:function(t,e){var n=t.replace("data:image/jpeg;base64,",""),r=this.decode64(n),o=r.indexOf(255,3),i=r.slice(0,o),a=r.slice(o),s=i;return s=(s=s.concat(e)).concat(a)}},{key:"slice2Segments",value:function(t){for(var e=0,n=[];!(255===t[e]&218===t[e+1]);){if(255===t[e]&216===t[e+1])e+=2;else{var r=e+(256*t[e+2]+t[e+3])+2,o=t.slice(e,r);n.push(o),e=r}if(e>t.length)break}return n}},{key:"decode64",value:function(t){var e=void 0,n=void 0,r="",o=void 0,i=void 0,a="",s=0,l=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(t)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");e=this.KEY_STR.indexOf(t.charAt(s++))<<2|(o=this.KEY_STR.indexOf(t.charAt(s++)))>>4,n=(15&o)<<4|(i=this.KEY_STR.indexOf(t.charAt(s++)))>>2,r=(3&i)<<6|(a=this.KEY_STR.indexOf(t.charAt(s++))),l.push(e),64!==i&&l.push(n),64!==a&&l.push(r),e=n=r="",o=i=a="",s<t.length;);return l}}]),t}();j.initClass(),x._autoDiscoverFunction=function(){if(x.autoDiscover)return x.discover()},function(t,e){var n=!1,r=!0,o=t.document,i=o.documentElement,a=o.addEventListener?"addEventListener":"attachEvent",s=o.addEventListener?"removeEventListener":"detachEvent",l=o.addEventListener?"":"on",c=function r(i){if("readystatechange"!==i.type||"complete"===o.readyState)return("load"===i.type?t:o)[s](l+i.type,r,!1),!n&&(n=!0)?e.call(t,i.type||i):void 0};if("complete"!==o.readyState){if(o.createEventObject&&i.doScroll){try{r=!t.frameElement}catch(u){}r&&function t(){try{i.doScroll("left")}catch(e){return void setTimeout(t,50)}return c("poll")}()}o[a](l+"DOMContentLoaded",c,!1),o[a](l+"readystatechange",c,!1),t[a](l+"load",c,!1)}}(window,x._autoDiscoverFunction),window.Dropzone=x;var C=x}(),r}()},t.exports=r()},function(t,e,n){"use strict";n.d(e,"b",(function(){return w})),n.d(e,"a",(function(){return S}));var r=n(14),o=n(2),i=n(3),a=n(12),s=n(339),l=n(1164),c=n(728),u=["variant"];function d(t){return 0===t.length}function f(t){var e=t.variant,n=Object(a.a)(t,u),r=e||"";return Object.keys(n).sort().forEach((function(e){r+="color"===e?d(r)?t[e]:Object(c.a)(t[e]):"".concat(d(r)?e:Object(c.a)(e)).concat(Object(c.a)(t[e].toString()))})),r}var p=n(1264),h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],v=["theme"],g=["theme"];function m(t){return 0===Object.keys(t).length}var b=function(t,e){return e.components&&e.components[t]&&e.components[t].styleOverrides?e.components[t].styleOverrides:null},y=function(t,e){var n=[];e&&e.components&&e.components[t]&&e.components[t].variants&&(n=e.components[t].variants);var r={};return n.forEach((function(t){var e=f(t.props);r[e]=t.style})),r},x=function(t,e,n,r){var o,i,a=t.ownerState,s=void 0===a?{}:a,l=[],c=null==n||null==(o=n.components)||null==(i=o[r])?void 0:i.variants;return c&&c.forEach((function(n){var r=!0;Object.keys(n.props).forEach((function(e){s[e]!==n.props[e]&&t[e]!==n.props[e]&&(r=!1)})),r&&l.push(e[f(n.props)])})),l};function w(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}var O=Object(l.a)();function S(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.defaultTheme,n=void 0===e?O:e,l=t.rootShouldForwardProp,c=void 0===l?w:l,u=t.slotShouldForwardProp,d=void 0===u?w:u,f=t.styleFunctionSx,S=void 0===f?p.a:f;return function(t){var e,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=l.name,f=l.slot,p=l.skipVariantsResolver,O=l.skipSx,j=l.overridesResolver,C=Object(a.a)(l,h),k=void 0!==p?p:f&&"Root"!==f||!1,E=O||!1;var P=w;"Root"===f?P=c:f&&(P=d);var _=Object(s.a)(t,Object(i.a)({shouldForwardProp:P,label:e},C)),M=function(t){for(var e=arguments.length,s=new Array(e>1?e-1:0),l=1;l<e;l++)s[l-1]=arguments[l];var c=s?s.map((function(t){return"function"===typeof t&&t.__emotion_real!==t?function(e){var r=e.theme,o=Object(a.a)(e,v);return t(Object(i.a)({theme:m(r)?n:r},o))}:t})):[],d=t;u&&j&&c.push((function(t){var e=m(t.theme)?n:t.theme,r=b(u,e);if(r){var a={};return Object.entries(r).forEach((function(n){var r=Object(o.a)(n,2),s=r[0],l=r[1];a[s]="function"===typeof l?l(Object(i.a)({},t,{theme:e})):l})),j(t,a)}return null})),u&&!k&&c.push((function(t){var e=m(t.theme)?n:t.theme;return x(t,y(u,e),e,u)})),E||c.push((function(t){var e=m(t.theme)?n:t.theme;return S(Object(i.a)({},t,{theme:e}))}));var f=c.length-s.length;if(Array.isArray(t)&&f>0){var p=new Array(f).fill("");(d=[].concat(Object(r.a)(t),Object(r.a)(p))).raw=[].concat(Object(r.a)(t.raw),Object(r.a)(p))}else"function"===typeof t&&t.__emotion_real!==t&&(d=function(e){var r=e.theme,o=Object(a.a)(e,g);return t(Object(i.a)({theme:m(r)?n:r},o))});var h=_.apply(void 0,[d].concat(Object(r.a)(c)));return h};return _.withConfig&&(M.withConfig=_.withConfig),M}}},,,,,,,,,,,function(t,e,n){var r=n(366),o=n(791),i=n(792),a=n(793),s=n(794),l=n(795);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,t.exports=c},function(t,e,n){var r=n(786),o=n(787),i=n(788),a=n(789),s=n(790);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},function(t,e,n){var r=n(322);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},function(t,e,n){var r=n(238)(Object,"create");t.exports=r},function(t,e,n){var r=n(810);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},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,n){var r=n(817),o=n(151),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},function(t,e,n){(function(t){var r=n(161),o=n(819),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;t.exports=l}).call(this,n(271)(t))},function(t,e){t.exports=function(t){return function(e){return t(e)}}},function(t,e,n){var r=n(841),o=n(458),i=n(842),a=n(571),s=n(843),l=n(191),c=n(547),u="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",v=c(r),g=c(o),m=c(i),b=c(a),y=c(s),x=l;(r&&x(new r(new ArrayBuffer(1)))!=h||o&&x(new o)!=u||i&&x(i.resolve())!=d||a&&x(new a)!=f||s&&x(new s)!=p)&&(x=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return h;case g:return u;case m:return d;case b:return f;case y:return p}return e}),t.exports=x},function(t,e,n){var r=n(376),o=n(327);t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},function(t,e,n){var r=n(59),o=n(471),i=n(846),a=n(326);t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},function(t,e,n){"use strict";t.exports=n(860)},function(t,e,n){"use strict";var r,o,i,a=n(861),s="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-";function l(){i=!1}function c(t){if(t){if(t!==r){if(t.length!==s.length)throw new Error("Custom alphabet for shortid must be "+s.length+" unique characters. You submitted "+t.length+" characters: "+t);var e=t.split("").filter((function(t,e,n){return e!==n.lastIndexOf(t)}));if(e.length)throw new Error("Custom alphabet for shortid must be "+s.length+" unique characters. These characters were not unique: "+e.join(", "));r=t,l()}}else r!==s&&(r=s,l())}function u(){return i||(i=function(){r||c(s);for(var t,e=r.split(""),n=[],o=a.nextValue();e.length>0;)o=a.nextValue(),t=Math.floor(o*e.length),n.push(e.splice(t,1)[0]);return n.join("")}())}t.exports={get:function(){return r||s},characters:function(t){return c(t),r},seed:function(t){a.seed(t),o!==t&&(l(),o=t)},lookup:function(t){return u()[t]},shuffled:u}},,function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){t.exports=n(895)()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dontSetMe=function(t,e,n){if(t[e])return new Error("Invalid prop ".concat(e," passed to ").concat(n," - do not set this, set it on the child."))},e.findInArray=function(t,e){for(var n=0,r=t.length;n<r;n++)if(e.apply(e,[t[n],n,t]))return t[n]},e.int=function(t){return parseInt(t,10)},e.isFunction=function(t){return"function"===typeof t||"[object Function]"===Object.prototype.toString.call(t)},e.isNum=function(t){return"number"===typeof t&&!isNaN(t)}},function(t,e,n){"use strict";(function(e){"undefined"===typeof e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,n,r,o){if("function"!==typeof t)throw new TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,n)}));case 3:return e.nextTick((function(){t.call(null,n,r)}));case 4:return e.nextTick((function(){t.call(null,n,r,o)}));default:for(i=new Array(s-1),a=0;a<i.length;)i[a++]=arguments[a];return e.nextTick((function(){t.apply(null,i)}))}}}:t.exports=e}).call(this,n(171))},function(t,e,n){(function(t){var r="undefined"!==typeof t&&t||"undefined"!==typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout((function(){t._onTimeout&&t._onTimeout()}),e))},n(926),e.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(119))},function(t,e,n){"use strict";var r=n(928).Buffer,o=r.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!==typeof e&&(r.isEncoding===o||!o(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=l,this.end=c,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=u,this.end=d,e=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(e)}function a(t){return t<=127?0:t>>5===6?2:t>>4===14?3:t>>3===30?4:t>>6===2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,n=function(t,e,n){if(128!==(192&e[0]))return t.lastNeed=0,"\ufffd";if(t.lastNeed>1&&e.length>1){if(128!==(192&e[1]))return t.lastNeed=1,"\ufffd";if(t.lastNeed>2&&e.length>2&&128!==(192&e[2]))return t.lastNeed=2,"\ufffd"}}(this,t);return void 0!==n?n:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function l(t,e){if((t.length-e)%2===0){var n=t.toString("utf16le",e);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function c(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,n)}return e}function u(t,e){var n=(t.length-e)%3;return 0===n?t.toString("base64",e):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-n))}function d(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function p(t){return t&&t.length?this.write(t):""}e.StringDecoder=i,i.prototype.write=function(t){if(0===t.length)return"";var e,n;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n<t.length?e?e+this.text(t,n):this.text(t,n):e||""},i.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"\ufffd":e},i.prototype.text=function(t,e){var n=function(t,e,n){var r=e.length-1;if(r<n)return 0;var o=a(e[r]);if(o>=0)return o>0&&(t.lastNeed=o-1),o;if(--r<n||-2===o)return 0;if((o=a(e[r]))>=0)return o>0&&(t.lastNeed=o-2),o;if(--r<n||-2===o)return 0;if((o=a(e[r]))>=0)return o>0&&(2===o?o=0:t.lastNeed=o-3),o;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=n;var r=t.length-(n-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",e,r)},i.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,n){(function(){var e,r={}.hasOwnProperty;e=n(153),t.exports=function(t){function e(t){e.__super__.constructor.call(this,t),this.value=""}return function(t,e){for(var n in e)r.call(e,n)&&(t[n]=e[n]);function o(){this.constructor=t}o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype}(e,t),Object.defineProperty(e.prototype,"data",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(e.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(e.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),e.prototype.clone=function(){return Object.create(this)},e.prototype.substringData=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendData=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.insertData=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.deleteData=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.replaceData=function(t,e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(t){return!!e.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.data===this.data},e}(e)}).call(this)},function(t,e){(function(){t.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},function(t,e,n){"use strict";function r(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==t&&void 0!==t&&this.setState(t)}function o(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!==n&&void 0!==n?n:null}.bind(this))}function i(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,s=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?s="componentWillUpdate":"function"===typeof e.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=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"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\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=o),"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=i;var u=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,t,e,r)}}return t}n.r(e),n.d(e,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(t,e,n){"use strict";e.a=function(t,e,n,r,o){return null}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r="NOT_FOUND";var o=function(t,e){return t===e};function i(t,e){var n="object"===typeof e?e:{equalityCheck:e},i=n.equalityCheck,a=void 0===i?o:i,s=n.maxSize,l=void 0===s?1:s,c=n.resultEqualityCheck,u=function(t){return function(e,n){if(null===e||null===n||e.length!==n.length)return!1;for(var r=e.length,o=0;o<r;o++)if(!t(e[o],n[o]))return!1;return!0}}(a),d=1===l?function(t){var e;return{get:function(n){return e&&t(e.key,n)?e.value:r},put:function(t,n){e={key:t,value:n}},getEntries:function(){return e?[e]:[]},clear:function(){e=void 0}}}(u):function(t,e){var n=[];function o(t){var o=n.findIndex((function(n){return e(t,n.key)}));if(o>-1){var i=n[o];return o>0&&(n.splice(o,1),n.unshift(i)),i.value}return r}return{get:o,put:function(e,i){o(e)===r&&(n.unshift({key:e,value:i}),n.length>t&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(l,u);function f(){var e=d.get(arguments);if(e===r){if(e=t.apply(null,arguments),c){var n=d.getEntries(),o=n.find((function(t){return c(t.value,e)}));o&&(e=o.value)}d.put(arguments,e)}return e}return f.clearCache=function(){return d.clear()},f}},function(t,e,n){"use strict";n.d(e,"useSpring",(function(){return Lt}));var r=n(89),o=n(14),i=n(2),a=n(63),s=n(57),l=n(37),c=n(46),u=n(349),d=n(4),f=n(9),p=n(23),h=n(25),v=n(47),g=n(11);n.d(e,"Globals",(function(){return g.b}));var m=n(1),b=n(81);n(652),n(653);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},y.apply(this,arguments)}function x(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 g.s.fun(t)?t.apply(void 0,n):t}var w=function(t,e){return!0===t||!!(e&&t&&(g.s.fun(t)?t(e):Object(g.y)(t).includes(e)))},O=function(t,e){return g.s.obj(t)?e&&t[e]:t},S=function(t,e){return!0===t.default?t[e]:t.default?t.default[e]:void 0},j=function(t){return t},C=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j,n=k;t.default&&!0!==t.default&&(t=t.default,n=Object.keys(t));var r,o={},i=Object(v.a)(n);try{for(i.s();!(r=i.n()).done;){var a=r.value,s=e(t[a],a);g.s.und(s)||(o[a]=s)}}catch(l){i.e(l)}finally{i.f()}return o},k=["config","onProps","onStart","onChange","onPause","onResume","onRest"],E={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function P(t){var e=function(t){var e={},n=0;if(Object(g.l)(t,(function(t,r){E[r]||(e[r]=t,n++)})),n)return e}(t);if(e){var n={to:e};return Object(g.l)(t,(function(t,r){return r in e||(n[r]=t)})),n}return y({},t)}function _(t){return t=Object(g.q)(t),g.s.arr(t)?t.map(_):Object(g.t)(t)?g.b.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function M(t){for(var e in t)return!0;return!1}function T(t){return g.s.fun(t)||g.s.arr(t)&&g.s.obj(t[0])}function A(t,e){var n;null==(n=t.ref)||n.delete(t),null==e||e.delete(t)}function R(t,e){var n;e&&t.ref!==e&&(null==(n=t.ref)||n.delete(t),e.add(t),t.ref=e)}var D=1.70158,I=1.525*D,N=D+1,L=2*Math.PI/3,F=2*Math.PI/4.5,B=function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},z=y({},{tension:170,friction:26},{mass:1,damping:1,easing:{linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-Math.pow(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-Math.pow(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-Math.pow(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2},easeInSine:function(t){return 1-Math.cos(t*Math.PI/2)},easeOutSine:function(t){return Math.sin(t*Math.PI/2)},easeInOutSine:function(t){return-(Math.cos(Math.PI*t)-1)/2},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2},easeInCirc:function(t){return 1-Math.sqrt(1-Math.pow(t,2))},easeOutCirc:function(t){return Math.sqrt(1-Math.pow(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2},easeInBack:function(t){return N*t*t*t-D*t*t},easeOutBack:function(t){return 1+N*Math.pow(t-1,3)+D*Math.pow(t-1,2)},easeInOutBack:function(t){return t<.5?Math.pow(2*t,2)*(7.189819*t-I)/2:(Math.pow(2*t-2,2)*((I+1)*(2*t-2)+I)+2)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-Math.pow(2,10*t-10)*Math.sin((10*t-10.75)*L)},easeOutElastic:function(t){return 0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin((10*t-.75)*L)+1},easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*F)/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*F)/2+1},easeInBounce:function(t){return 1-B(1-t)},easeOutBounce:B,easeInOutBounce:function(t){return t<.5?(1-B(1-2*t))/2:(1+B(2*t-1))/2}}.linear,clamp:!1}),H=Object(p.a)((function t(){Object(h.a)(this,t),this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,z)}));function V(t,e){if(g.s.und(e.decay)){var n=!g.s.und(e.tension)||!g.s.und(e.friction);!n&&g.s.und(e.frequency)&&g.s.und(e.damping)&&g.s.und(e.mass)||(t.duration=void 0,t.decay=void 0),n&&(t.frequency=void 0)}else t.duration=void 0}var U=[],W=Object(p.a)((function t(){Object(h.a)(this,t),this.changed=!1,this.values=U,this.toValues=null,this.fromValues=U,this.to=void 0,this.from=void 0,this.config=new H,this.immediate=!1}));function q(t,e){var n=e.key,r=e.props,o=e.defaultProps,i=e.state,a=e.actions;return new Promise((function(e,s){var l,c,u,d=w(null!=(l=r.cancel)?l:null==o?void 0:o.cancel,n);if(d)v();else{g.s.und(r.pause)||(i.paused=w(r.pause,n));var f=null==o?void 0:o.pause;!0!==f&&(f=i.paused||w(f,n)),c=x(r.delay||0,n),f?(i.resumeQueue.add(h),a.pause()):(a.resume(),h())}function p(){i.resumeQueue.add(h),i.timeouts.delete(u),u.cancel(),c=u.time-g.w.now()}function h(){c>0&&!g.b.skipAnimation?(i.delayed=!0,u=g.w.setTimeout(v,c),i.pauseQueue.add(p),i.timeouts.add(u)):v()}function v(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(p),i.timeouts.delete(u),t<=(i.cancelId||0)&&(d=!0);try{a.start(y({},r,{callId:t,cancel:d}),e)}catch(n){s(n)}}}))}var G=function(t,e){return 1==e.length?e[0]:e.some((function(t){return t.cancelled}))?K(t.get()):e.every((function(t){return t.noop}))?Y(t.get()):X(t.get(),e.every((function(t){return t.finished})))},Y=function(t){return{value:t,noop:!0,finished:!0,cancelled:!1}},X=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{value:t,finished:e,cancelled:n}},K=function(t){return{value:t,cancelled:!0,finished:!1}};function $(t,e,n,r){var o=e.callId,i=e.parentId,a=e.onRest,s=n.asyncTo,l=n.promise;return i||t!==s||e.reset?n.promise=Object(f.a)(Object(d.a)().mark((function c(){var u,p,h,m,b,x,w,O;return Object(d.a)().wrap((function(c){for(;;)switch(c.prev=c.next){case 0:if(n.asyncId=o,n.asyncTo=t,u=C(e,(function(t,e){return"onRest"===e?void 0:t})),m=new Promise((function(t,e){return p=t,h=e})),b=function(t){var e=o<=(n.cancelId||0)&&K(r)||o!==n.asyncId&&X(r,!1);if(e)throw t.result=e,h(t),t},x=function(t,e){var i=new Q,a=new J;return Object(f.a)(Object(d.a)().mark((function s(){var l,c;return Object(d.a)().wrap((function(s){for(;;)switch(s.prev=s.next){case 0:if(!g.b.skipAnimation){s.next=5;break}throw Z(n),a.result=X(r,!1),h(a),a;case 5:return b(i),(l=g.s.obj(t)?y({},t):y({},e,{to:t})).parentId=o,Object(g.l)(u,(function(t,e){g.s.und(l[e])&&(l[e]=t)})),s.next=11,r.start(l);case 11:if(c=s.sent,b(i),!n.paused){s.next=16;break}return s.next=16,new Promise((function(t){n.resumeQueue.add(t)}));case 16:return s.abrupt("return",c);case 17:case"end":return s.stop()}}),s)})))()},!g.b.skipAnimation){c.next=9;break}return Z(n),c.abrupt("return",X(r,!1));case 9:return c.prev=9,O=g.s.arr(t)?function(){var t=Object(f.a)(Object(d.a)().mark((function t(e){var n,r,o;return Object(d.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=Object(v.a)(e),t.prev=1,n.s();case 3:if((r=n.n()).done){t.next=9;break}return o=r.value,t.next=7,x(o);case 7:t.next=3;break;case 9:t.next=14;break;case 11:t.prev=11,t.t0=t.catch(1),n.e(t.t0);case 14:return t.prev=14,n.f(),t.finish(14);case 17:case"end":return t.stop()}}),t,null,[[1,11,14,17]])})));return function(e){return t.apply(this,arguments)}}()(t):Promise.resolve(t(x,r.stop.bind(r))),c.next=13,Promise.all([O.then(p),m]);case 13:w=X(r.get(),!0,!1),c.next=27;break;case 16:if(c.prev=16,c.t0=c.catch(9),!(c.t0 instanceof Q)){c.next=22;break}w=c.t0.result,c.next=27;break;case 22:if(!(c.t0 instanceof J)){c.next=26;break}w=c.t0.result,c.next=27;break;case 26:throw c.t0;case 27:return c.prev=27,o==n.asyncId&&(n.asyncId=i,n.asyncTo=i?s:void 0,n.promise=i?l:void 0),c.finish(27);case 30:return g.s.fun(a)&&g.w.batchedUpdates((function(){a(w,r,r.item)})),c.abrupt("return",w);case 32:case"end":return c.stop()}}),c,null,[[9,16,27,30]])})))():l}function Z(t,e){Object(g.m)(t.timeouts,(function(t){return t.cancel()})),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}var Q=function(t){Object(l.a)(n,t);var e=Object(c.a)(n);function n(){var t;return Object(h.a)(this,n),(t=e.call(this,"An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")).result=void 0,t}return Object(p.a)(n)}(Object(u.a)(Error)),J=function(t){Object(l.a)(n,t);var e=Object(c.a)(n);function n(){var t;return Object(h.a)(this,n),(t=e.call(this,"SkipAnimationSignal")).result=void 0,t}return Object(p.a)(n)}(Object(u.a)(Error)),tt=function(t){return t instanceof nt},et=1,nt=function(t){Object(l.a)(n,t);var e=Object(c.a)(n);function n(){var t;Object(h.a)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))).id=et++,t.key=void 0,t._priority=0,t}return Object(p.a)(n,[{key:"priority",get:function(){return this._priority},set:function(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}},{key:"get",value:function(){var t=Object(b.e)(this);return t&&t.getValue()}},{key:"to",value:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return g.b.to(this,e)}},{key:"interpolate",value:function(){Object(g.j)();for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return g.b.to(this,e)}},{key:"toJSON",value:function(){return this.get()}},{key:"observerAdded",value:function(t){1==t&&this._attach()}},{key:"observerRemoved",value:function(t){0==t&&this._detach()}},{key:"_attach",value:function(){}},{key:"_detach",value:function(){}},{key:"_onChange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(g.d)(this,{type:"change",parent:this,value:t,idle:e})}},{key:"_onPriorityChange",value:function(t){this.idle||g.o.sort(this),Object(g.d)(this,{type:"priority",parent:this,priority:t})}}]),n}(g.a),rt=Symbol.for("SpringPhase"),ot=function(t){return(1&t[rt])>0},it=function(t){return(2&t[rt])>0},at=function(t){return(4&t[rt])>0},st=function(t,e){return e?t[rt]|=3:t[rt]&=-3},lt=function(t,e){return e?t[rt]|=4:t[rt]&=-5},ct=function(t){Object(l.a)(n,t);var e=Object(c.a)(n);function n(t,r){var o;if(Object(h.a)(this,n),(o=e.call(this)).key=void 0,o.animation=new W,o.queue=void 0,o.defaultProps={},o._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},o._pendingCalls=new Set,o._lastCallId=0,o._lastToId=0,o._memoizedDuration=0,!g.s.und(t)||!g.s.und(r)){var i=g.s.obj(t)?y({},t):y({},r,{from:t});g.s.und(i.default)&&(i.default=!0),o.start(i)}return o}return Object(p.a)(n,[{key:"idle",get:function(){return!(it(this)||this._state.asyncTo)||at(this)}},{key:"goal",get:function(){return Object(g.q)(this.animation.to)}},{key:"velocity",get:function(){var t=Object(b.e)(this);return t instanceof b.c?t.lastVelocity||0:t.getPayload().map((function(t){return t.lastVelocity||0}))}},{key:"hasAnimated",get:function(){return ot(this)}},{key:"isAnimating",get:function(){return it(this)}},{key:"isPaused",get:function(){return at(this)}},{key:"isDelayed",get:function(){return this._state.delayed}},{key:"advance",value:function(t){var e=this,n=!0,r=!1,o=this.animation,i=o.config,a=o.toValues,s=Object(b.g)(o.to);!s&&Object(g.r)(o.to)&&(a=Object(g.y)(Object(g.q)(o.to))),o.values.forEach((function(l,c){if(!l.done){var u=l.constructor==b.b?1:s?s[c].lastPosition:a[c],d=o.immediate,f=u;if(!d){if(f=l.lastPosition,i.tension<=0)return void(l.done=!0);var p,h=l.elapsedTime+=t,v=o.fromValues[c],m=null!=l.v0?l.v0:l.v0=g.s.arr(i.velocity)?i.velocity[c]:i.velocity;if(g.s.und(i.duration))if(i.decay){var y=!0===i.decay?.998:i.decay,x=Math.exp(-(1-y)*h);f=v+m/(1-y)*(1-x),d=Math.abs(l.lastPosition-f)<.1,p=m*x}else{p=null==l.lastVelocity?m:l.lastVelocity;for(var w=i.precision||(v==u?.005:Math.min(1,.001*Math.abs(u-v))),O=i.restVelocity||w/10,S=i.clamp?0:i.bounce,j=!g.s.und(S),C=v==u?l.v0>0:v<u,k=Math.ceil(t/1),E=0;E<k&&(Math.abs(p)>O||!(d=Math.abs(u-f)<=w));++E){j&&(f==u||f>u==C)&&(p=-p*S,f=u),f+=1*(p+=1*((1e-6*-i.tension*(f-u)+.001*-i.friction*p)/i.mass))}}else{var P=1;i.duration>0&&(e._memoizedDuration!==i.duration&&(e._memoizedDuration=i.duration,l.durationProgress>0&&(l.elapsedTime=i.duration*l.durationProgress,h=l.elapsedTime+=t)),P=(P=(i.progress||0)+h/e._memoizedDuration)>1?1:P<0?0:P,l.durationProgress=P),p=((f=v+i.easing(P)*(u-v))-l.lastPosition)/t,d=1==P}l.lastVelocity=p,Number.isNaN(f)&&(console.warn("Got NaN while animating:",e),d=!0)}s&&!s[c].done&&(d=!1),d?l.done=!0:n=!1,l.setValue(f,i.round)&&(r=!0)}}));var l=Object(b.e)(this),c=l.getValue();if(n){var u=Object(g.q)(o.to);c===u&&!r||i.decay?r&&i.decay&&this._onChange(c):(l.setValue(u),this._onChange(u)),this._stop()}else r&&this._onChange(c)}},{key:"set",value:function(t){var e=this;return g.w.batchedUpdates((function(){e._stop(),e._focus(t),e._set(t)})),this}},{key:"pause",value:function(){this._update({pause:!0})}},{key:"resume",value:function(){this._update({pause:!1})}},{key:"finish",value:function(){var t=this;if(it(this)){var e=this.animation,n=e.to,r=e.config;g.w.batchedUpdates((function(){t._onStart(),r.decay||t._set(n,!1),t._stop()}))}return this}},{key:"update",value:function(t){return(this.queue||(this.queue=[])).push(t),this}},{key:"start",value:function(t,e){var n,r=this;return g.s.und(t)?(n=this.queue||[],this.queue=[]):n=[g.s.obj(t)?t:y({},e,{to:t})],Promise.all(n.map((function(t){return r._update(t)}))).then((function(t){return G(r,t)}))}},{key:"stop",value:function(t){var e=this,n=this.animation.to;return this._focus(this.get()),Z(this._state,t&&this._lastCallId),g.w.batchedUpdates((function(){return e._stop(n,t)})),this}},{key:"reset",value:function(){this._update({reset:!0})}},{key:"eventObserved",value:function(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}},{key:"_prepareNode",value:function(t){var e=this.key||"",n=t.to,r=t.from;(null==(n=g.s.obj(n)?n[e]:n)||T(n))&&(n=void 0),null==(r=g.s.obj(r)?r[e]:r)&&(r=void 0);var o={to:n,from:r};if(!ot(this)){if(t.reverse){var i=[r,n];n=i[0],r=i[1]}r=Object(g.q)(r),g.s.und(r)?Object(b.e)(this)||this._set(n):this._set(r)}return o}},{key:"_update",value:function(t,e){var n=this,r=y({},t),o=this.key,i=this.defaultProps;r.default&&Object.assign(i,C(r,(function(t,e){return/^on/.test(e)?O(t,o):t}))),gt(this,r,"onProps"),mt(this,"onProps",r,this);var a=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");var s=this._state;return q(++this._lastCallId,{key:o,props:r,defaultProps:i,state:s,actions:{pause:function(){at(n)||(lt(n,!0),Object(g.n)(s.pauseQueue),mt(n,"onPause",X(n,ut(n,n.animation.to)),n))},resume:function(){at(n)&&(lt(n,!1),it(n)&&n._resume(),Object(g.n)(s.resumeQueue),mt(n,"onResume",X(n,ut(n,n.animation.to)),n))},start:this._merge.bind(this,a)}}).then((function(t){if(r.loop&&t.finished&&(!e||!t.noop)){var o=dt(r);if(o)return n._update(o,!0)}return t}))}},{key:"_merge",value:function(t,e,n){var r=this;if(e.cancel)return this.stop(!0),n(K(this));var o=!g.s.und(t.to),i=!g.s.und(t.from);if(o||i){if(!(e.callId>this._lastToId))return n(K(this));this._lastToId=e.callId}var a=this.key,s=this.defaultProps,l=this.animation,c=l.to,u=l.from,d=t.to,f=void 0===d?c:d,p=t.from,h=void 0===p?u:p;if(!i||o||e.default&&!g.s.und(f)||(f=h),e.reverse){var v=[h,f];f=v[0],h=v[1]}var m=!Object(g.u)(h,u);m&&(l.from=h),h=Object(g.q)(h);var O=!Object(g.u)(f,c);O&&this._focus(f);var S=T(e.to),j=l.config,C=j.decay,k=j.velocity;(o||i)&&(j.velocity=0),e.config&&!S&&function(t,e,n){for(var r in n&&(V(n=y({},n),e),e=y({},n,e)),V(t,e),Object.assign(t,e),z)null==t[r]&&(t[r]=z[r]);var o=t.mass,i=t.frequency,a=t.damping;g.s.und(i)||(i<.01&&(i=.01),a<0&&(a=0),t.tension=Math.pow(2*Math.PI/i,2)*o,t.friction=4*Math.PI*a*o/i)}(j,x(e.config,a),e.config!==s.config?x(s.config,a):void 0);var E=Object(b.e)(this);if(!E||g.s.und(f))return n(X(this,!0));var P=g.s.und(e.reset)?i&&!e.default:!g.s.und(h)&&w(e.reset,a),M=P?h:this.get(),A=_(f),R=g.s.num(A)||g.s.arr(A)||Object(g.t)(A),D=!S&&(!R||w(s.immediate||e.immediate,a));if(O){var I=Object(b.f)(f);if(I!==E.constructor){if(!D)throw Error("Cannot animate between ".concat(E.constructor.name," and ").concat(I.name,', as the "to" prop suggests'));E=this._set(A)}}var N=E.constructor,L=Object(g.r)(f),F=!1;if(!L){var B=P||!ot(this)&&m;(O||B)&&(L=!(F=Object(g.u)(_(M),A))),(Object(g.u)(l.immediate,D)||D)&&Object(g.u)(j.decay,C)&&Object(g.u)(j.velocity,k)||(L=!0)}if(F&&it(this)&&(l.changed&&!P?L=!0:L||this._stop(c)),!S&&((L||Object(g.r)(c))&&(l.values=E.getPayload(),l.toValues=Object(g.r)(f)?null:N==b.b?[1]:Object(g.y)(A)),l.immediate!=D&&(l.immediate=D,D||P||this._set(c)),L)){var H=l.onRest;Object(g.k)(vt,(function(t){return gt(r,e,t)}));var U=X(this,ut(this,c));Object(g.n)(this._pendingCalls,U),this._pendingCalls.add(n),l.changed&&g.w.batchedUpdates((function(){l.changed=!P,null==H||H(U,r),P?x(s.onRest,U):null==l.onStart||l.onStart(U,r)}))}P&&this._set(M),S?n($(e.to,e,this._state,this)):L?this._start():it(this)&&!O?this._pendingCalls.add(n):n(Y(M))}},{key:"_focus",value:function(t){var e=this.animation;t!==e.to&&(Object(g.p)(this)&&this._detach(),e.to=t,Object(g.p)(this)&&this._attach())}},{key:"_attach",value:function(){var t=0,e=this.animation.to;Object(g.r)(e)&&(Object(g.c)(e,this),tt(e)&&(t=e.priority+1)),this.priority=t}},{key:"_detach",value:function(){var t=this.animation.to;Object(g.r)(t)&&Object(g.x)(t,this)}},{key:"_set",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=Object(g.q)(t);if(!g.s.und(r)){var o=Object(b.e)(this);if(!o||!Object(g.u)(r,o.getValue())){var i=Object(b.f)(r);o&&o.constructor==i?o.setValue(r):Object(b.h)(this,i.create(r)),o&&g.w.batchedUpdates((function(){e._onChange(r,n)}))}}return Object(b.e)(this)}},{key:"_onStart",value:function(){var t=this.animation;t.changed||(t.changed=!0,mt(this,"onStart",X(this,ut(this,t.to)),this))}},{key:"_onChange",value:function(t,e){e||(this._onStart(),x(this.animation.onChange,t,this)),x(this.defaultProps.onChange,t,this),Object(a.a)(Object(s.a)(n.prototype),"_onChange",this).call(this,t,e)}},{key:"_start",value:function(){var t=this.animation;Object(b.e)(this).reset(Object(g.q)(t.to)),t.immediate||(t.fromValues=t.values.map((function(t){return t.lastPosition}))),it(this)||(st(this,!0),at(this)||this._resume())}},{key:"_resume",value:function(){g.b.skipAnimation?this.finish():g.o.start(this)}},{key:"_stop",value:function(t,e){if(it(this)){st(this,!1);var n=this.animation;Object(g.k)(n.values,(function(t){t.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Object(g.d)(this,{type:"idle",parent:this});var r=e?K(this.get()):X(this.get(),ut(this,null!=t?t:n.to));Object(g.n)(this._pendingCalls,r),n.changed&&(n.changed=!1,mt(this,"onRest",r,this))}}}]),n}(nt);function ut(t,e){var n=_(e),r=_(t.get());return Object(g.u)(r,n)}function dt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.loop,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.to,r=x(e);if(r){var o=!0!==r&&P(r),i=(o||t).reverse,a=!o||o.reset;return ft(y({},t,{loop:e,default:!1,pause:void 0,to:!i||T(n)?n:void 0,from:a?t.from:void 0,reset:a},o))}}function ft(t){var e=t=P(t),n=e.to,r=e.from,o=new Set;return g.s.obj(n)&&ht(n,o),g.s.obj(r)&&ht(r,o),t.keys=o.size?Array.from(o):null,t}function pt(t){var e=ft(t);return g.s.und(e.default)&&(e.default=C(e)),e}function ht(t,e){Object(g.l)(t,(function(t,n){return null!=t&&e.add(n)}))}var vt=["onStart","onRest","onChange","onPause","onResume"];function gt(t,e,n){t.animation[n]=e[n]!==S(e,n)?O(e[n],t.key):void 0}function mt(t,e){for(var n,r,o,i,a,s,l=arguments.length,c=new Array(l>2?l-2:0),u=2;u<l;u++)c[u-2]=arguments[u];null==(o=(i=t.animation)[e])||(n=o).call.apply(n,[i].concat(c)),null==(a=(s=t.defaultProps)[e])||(r=a).call.apply(r,[s].concat(c))}var bt=["onStart","onChange","onRest"],yt=1,xt=function(){function t(e,n){Object(h.a)(this,t),this.id=yt++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),n&&(this._flush=n),e&&this.start(y({default:!0},e))}return Object(p.a)(t,[{key:"idle",get:function(){return!this._state.asyncTo&&Object.values(this.springs).every((function(t){return t.idle&&!t.isDelayed&&!t.isPaused}))}},{key:"item",get:function(){return this._item},set:function(t){this._item=t}},{key:"get",value:function(){var t={};return this.each((function(e,n){return t[n]=e.get()})),t}},{key:"set",value:function(t){for(var e in t){var n=t[e];g.s.und(n)||this.springs[e].set(n)}}},{key:"update",value:function(t){return t&&this.queue.push(ft(t)),this}},{key:"start",value:function(t){var e=this.queue;return t?e=Object(g.y)(t).map(ft):this.queue=[],this._flush?this._flush(this,e):(Pt(this,e),wt(this,e))}},{key:"stop",value:function(t,e){if(t!==!!t&&(e=t),e){var n=this.springs;Object(g.k)(Object(g.y)(e),(function(e){return n[e].stop(!!t)}))}else Z(this._state,this._lastAsyncId),this.each((function(e){return e.stop(!!t)}));return this}},{key:"pause",value:function(t){if(g.s.und(t))this.start({pause:!0});else{var e=this.springs;Object(g.k)(Object(g.y)(t),(function(t){return e[t].pause()}))}return this}},{key:"resume",value:function(t){if(g.s.und(t))this.start({pause:!1});else{var e=this.springs;Object(g.k)(Object(g.y)(t),(function(t){return e[t].resume()}))}return this}},{key:"each",value:function(t){Object(g.l)(this.springs,t)}},{key:"_onFrame",value:function(){var t=this,e=this._events,n=e.onStart,r=e.onChange,o=e.onRest,a=this._active.size>0,s=this._changed.size>0;(a&&!this._started||s&&!this._started)&&(this._started=!0,Object(g.m)(n,(function(e){var n=Object(i.a)(e,2),r=n[0],o=n[1];o.value=t.get(),r(o,t,t._item)})));var l=!a&&this._started,c=s||l&&o.size?this.get():null;s&&r.size&&Object(g.m)(r,(function(e){var n=Object(i.a)(e,2),r=n[0],o=n[1];o.value=c,r(o,t,t._item)})),l&&(this._started=!1,Object(g.m)(o,(function(e){var n=Object(i.a)(e,2),r=n[0],o=n[1];o.value=c,r(o,t,t._item)})))}},{key:"eventObserved",value:function(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}g.w.onFrame(this._onFrame)}}]),t}();function wt(t,e){return Promise.all(e.map((function(e){return Ot(t,e)}))).then((function(e){return G(t,e)}))}function Ot(t,e,n){return St.apply(this,arguments)}function St(){return St=Object(f.a)(Object(d.a)().mark((function t(e,n,r){var o,i,a,s,l,c,u,f,p,h,v,m,b;return Object(d.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=n.keys,i=n.to,a=n.from,s=n.loop,l=n.onRest,c=n.onResolve,u=g.s.obj(n.default)&&n.default,s&&(n.loop=!1),!1===i&&(n.to=null),!1===a&&(n.from=null),(f=g.s.arr(i)||g.s.fun(i)?i:void 0)?(n.to=void 0,n.onRest=void 0,u&&(u.onRest=void 0)):Object(g.k)(bt,(function(t){var r=n[t];if(g.s.fun(r)){var o=e._events[t];n[t]=function(t){var e=t.finished,n=t.cancelled,i=o.get(r);i?(e||(i.finished=!1),n&&(i.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:n||!1})},u&&(u[t]=n[t])}})),p=e._state,n.pause===!p.paused?(p.paused=n.pause,Object(g.n)(n.pause?p.pauseQueue:p.resumeQueue)):p.paused&&(n.pause=!0),h=(o||Object.keys(e.springs)).map((function(t){return e.springs[t].start(n)})),v=!0===n.cancel||!0===S(n,"cancel"),(f||v&&p.asyncId)&&h.push(q(++e._lastAsyncId,{props:n,state:p,actions:{pause:g.v,resume:g.v,start:function(t,n){v?(Z(p,e._lastAsyncId),n(K(e))):(t.onRest=l,n($(f,t,p,e)))}}})),!p.paused){t.next=15;break}return t.next=15,new Promise((function(t){p.resumeQueue.add(t)}));case 15:return t.t0=G,t.t1=e,t.next=19,Promise.all(h);case 19:if(t.t2=t.sent,m=(0,t.t0)(t.t1,t.t2),!s||!m.finished||r&&m.noop){t.next=26;break}if(!(b=dt(n,s,i))){t.next=26;break}return Pt(e,[b]),t.abrupt("return",Ot(e,b,!0));case 26:return c&&g.w.batchedUpdates((function(){return c(m,e,e.item)})),t.abrupt("return",m);case 28:case"end":return t.stop()}}),t)}))),St.apply(this,arguments)}function jt(t,e){var n=y({},t.springs);return e&&Object(g.k)(Object(g.y)(e),(function(t){g.s.und(t.keys)&&(t=ft(t)),g.s.obj(t.to)||(t=y({},t,{to:void 0})),Et(n,t,(function(t){return kt(t)}))})),Ct(t,n),n}function Ct(t,e){Object(g.l)(e,(function(e,n){t.springs[n]||(t.springs[n]=e,Object(g.c)(e,t))}))}function kt(t,e){var n=new ct;return n.key=t,e&&Object(g.c)(n,e),n}function Et(t,e,n){e.keys&&Object(g.k)(e.keys,(function(r){(t[r]||(t[r]=n(r)))._prepareNode(e)}))}function Pt(t,e){Object(g.k)(e,(function(e){Et(t.springs,e,(function(e){return kt(e,t)}))}))}function _t(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var Mt,Tt,At=["children"],Rt=function(t){var e=t.children,n=_t(t,At),r=Object(m.useContext)(Dt),o=n.pause||!!r.pause,i=n.immediate||!!r.immediate;n=Object(g.B)((function(){return{pause:o,immediate:i}}),[o,i]);var a=Dt.Provider;return m.createElement(a,{value:n},e)},Dt=(Mt=Rt,Tt={},Object.assign(Mt,m.createContext(Tt)),Mt.Provider._context=Mt,Mt.Consumer._context=Mt,Mt);Rt.Provider=Dt.Provider,Rt.Consumer=Dt.Consumer;var It=function(){var t=[],e=function(e){Object(g.i)();var r=[];return Object(g.k)(t,(function(t,o){if(g.s.und(e))r.push(t.start());else{var i=n(e,t,o);i&&r.push(t.start(i))}})),r};e.current=t,e.add=function(e){t.includes(e)||t.push(e)},e.delete=function(e){var n=t.indexOf(e);~n&&t.splice(n,1)},e.pause=function(){var e=arguments;return Object(g.k)(t,(function(t){return t.pause.apply(t,Object(o.a)(e))})),this},e.resume=function(){var e=arguments;return Object(g.k)(t,(function(t){return t.resume.apply(t,Object(o.a)(e))})),this},e.set=function(e){Object(g.k)(t,(function(t){return t.set(e)}))},e.start=function(e){var n=this,r=[];return Object(g.k)(t,(function(t,o){if(g.s.und(e))r.push(t.start());else{var i=n._getProps(e,t,o);i&&r.push(t.start(i))}})),r},e.stop=function(){var e=arguments;return Object(g.k)(t,(function(t){return t.stop.apply(t,Object(o.a)(e))})),this},e.update=function(e){var n=this;return Object(g.k)(t,(function(t,r){return t.update(n._getProps(e,t,r))})),this};var n=function(t,e,n){return g.s.fun(t)?t(n,e):t};return e._getProps=n,e};function Nt(t,e,n){var r=arguments,i=g.s.fun(e)&&e;i&&!n&&(n=[]);var a=Object(m.useMemo)((function(){return i||3==r.length?It():void 0}),[]),s=Object(m.useRef)(0),l=Object(g.z)(),c=Object(m.useMemo)((function(){return{ctrls:[],queue:[],flush:function(t,e){var n=jt(t,e);return s.current>0&&!c.queue.length&&!Object.keys(n).some((function(e){return!t.springs[e]}))?wt(t,e):new Promise((function(r){Ct(t,n),c.queue.push((function(){r(wt(t,e))})),l()}))}}}),[]),u=Object(m.useRef)(Object(o.a)(c.ctrls)),d=[],f=Object(g.D)(t)||0;function p(t,n){for(var r=t;r<n;r++){var o=u.current[r]||(u.current[r]=new xt(null,c.flush)),a=i?i(r,o):e[r];a&&(d[r]=pt(a))}}Object(m.useMemo)((function(){Object(g.k)(u.current.slice(t,f),(function(t){A(t,a),t.stop(!0)})),u.current.length=t,p(f,t)}),[t]),Object(m.useMemo)((function(){p(0,Math.min(f,t))}),n);var h=u.current.map((function(t,e){return jt(t,d[e])})),v=Object(m.useContext)(Rt),b=Object(g.D)(v),x=v!==b&&M(v);Object(g.A)((function(){s.current++,c.ctrls=u.current;var t=c.queue;t.length&&(c.queue=[],Object(g.k)(t,(function(t){return t()}))),Object(g.k)(u.current,(function(t,e){null==a||a.add(t),x&&t.start({default:v});var n=d[e];n&&(R(t,n.ref),t.ref?t.queue.push(n):t.start(n))}))})),Object(g.C)((function(){return function(){Object(g.k)(c.ctrls,(function(t){return t.stop(!0)}))}}));var w=h.map((function(t){return y({},t)}));return a?[w,a]:w}function Lt(t,e){var n=g.s.fun(t),r=Nt(1,n?t:[t],n?e||[]:e),o=Object(i.a)(r,2),a=Object(i.a)(o[0],1),s=a[0],l=o[1];return n||2==arguments.length?[s,l]:s}var Ft;!function(t){t.MOUNT="mount",t.ENTER="enter",t.UPDATE="update",t.LEAVE="leave"}(Ft||(Ft={}));var Bt=function(t){Object(l.a)(n,t);var e=Object(c.a)(n);function n(t,i){var a;Object(h.a)(this,n),(a=e.call(this)).key=void 0,a.idle=!0,a.calc=void 0,a._active=new Set,a.source=t,a.calc=g.f.apply(void 0,Object(o.a)(i));var s=a._get(),l=Object(b.f)(s);return Object(b.h)(Object(r.a)(a),l.create(s)),a}return Object(p.a)(n,[{key:"advance",value:function(t){var e=this._get(),n=this.get();Object(g.u)(e,n)||(Object(b.e)(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&Ht(this._active)&&Vt(this)}},{key:"_get",value:function(){var t=g.s.arr(this.source)?this.source.map(g.q):Object(g.y)(Object(g.q)(this.source));return this.calc.apply(this,Object(o.a)(t))}},{key:"_start",value:function(){var t=this;this.idle&&!Ht(this._active)&&(this.idle=!1,Object(g.k)(Object(b.g)(this),(function(t){t.done=!1})),g.b.skipAnimation?(g.w.batchedUpdates((function(){return t.advance()})),Vt(this)):g.o.start(this))}},{key:"_attach",value:function(){var t=this,e=1;Object(g.k)(Object(g.y)(this.source),(function(n){Object(g.r)(n)&&Object(g.c)(n,t),tt(n)&&(n.idle||t._active.add(n),e=Math.max(e,n.priority+1))})),this.priority=e,this._start()}},{key:"_detach",value:function(){var t=this;Object(g.k)(Object(g.y)(this.source),(function(e){Object(g.r)(e)&&Object(g.x)(e,t)})),this._active.clear(),Vt(this)}},{key:"eventObserved",value:function(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=Object(g.y)(this.source).reduce((function(t,e){return Math.max(t,(tt(e)?e.priority:0)+1)}),0))}}]),n}(nt);function zt(t){return!1!==t.idle}function Ht(t){return!t.size||Array.from(t).every(zt)}function Vt(t){t.idle||(t.idle=!0,Object(g.k)(Object(b.g)(t),(function(t){t.done=!0})),Object(g.d)(t,{type:"idle",parent:t}))}g.b.assign({createStringInterpolator:g.g,to:function(t,e){return new Bt(t,e)}});g.o.advance},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M17.41 6.59 15 5.5l2.41-1.09L18.5 2l1.09 2.41L22 5.5l-2.41 1.09L18.5 9l-1.09-2.41zm3.87 6.13L20.5 11l-.78 1.72-1.72.78 1.72.78.78 1.72.78-1.72L23 13.5l-1.72-.78zm-5.04 1.65 1.94 1.47-2.5 4.33-2.24-.94c-.2.13-.42.26-.64.37l-.3 2.4h-5l-.3-2.41c-.22-.11-.43-.23-.64-.37l-2.24.94-2.5-4.33 1.94-1.47c-.01-.11-.01-.24-.01-.36s0-.25.01-.37l-1.94-1.47 2.5-4.33 2.24.94c.2-.13.42-.26.64-.37L7.5 6h5l.3 2.41c.22.11.43.23.64.37l2.24-.94 2.5 4.33-1.94 1.47c.01.12.01.24.01.37s0 .24-.01.36zM13 14c0-1.66-1.34-3-3-3s-3 1.34-3 3 1.34 3 3 3 3-1.34 3-3z"}),"SettingsSuggest");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)([(0,i.jsx)("path",{d:"M21 8c-1.45 0-2.26 1.44-1.93 2.51l-3.55 3.56c-.3-.09-.74-.09-1.04 0l-2.55-2.55C12.27 10.45 11.46 9 10 9c-1.45 0-2.27 1.44-1.93 2.52l-4.56 4.55C2.44 15.74 1 16.55 1 18c0 1.1.9 2 2 2 1.45 0 2.26-1.44 1.93-2.51l4.55-4.56c.3.09.74.09 1.04 0l2.55 2.55C12.73 16.55 13.54 18 15 18c1.45 0 2.27-1.44 1.93-2.52l3.56-3.55c1.07.33 2.51-.48 2.51-1.93 0-1.1-.9-2-2-2z"},"0"),(0,i.jsx)("path",{d:"m15 9 .94-2.07L18 6l-2.06-.93L15 3l-.92 2.07L12 6l2.08.93zM3.5 11 4 9l2-.5L4 8l-.5-2L3 8l-2 .5L3 9z"},"1")],"Insights");e.default=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(733),o=n(514),i=n(178),a=n(1297);function s(t,e,n,s){var l,c=Object(r.c)(t,e,n);switch((s=Object(o.a)(null==s?",f":s)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(e));return null!=s.precision||isNaN(l=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Object(i.a)(e)/3)))-Object(i.a)(Math.abs(t)))}(c,u))||(s.precision=l),Object(a.b)(s,u);case"":case"e":case"g":case"p":case"r":null!=s.precision||isNaN(l=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Object(i.a)(e)-Object(i.a)(t))+1}(c,Math.max(Math.abs(t),Math.abs(e))))||(s.precision=l-("e"===s.type));break;case"f":case"%":null!=s.precision||isNaN(l=function(t){return Math.max(0,-Object(i.a)(Math.abs(t)))}(c))||(s.precision=l-2*("%"===s.type))}return Object(a.a)(s)}},function(t,e,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";e.a={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,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan: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}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(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("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];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]}(e);try{n.insertRule(t,n.cssRules.length)}catch(r){0}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}()},function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return u}));var r=n(12),o=n(3),i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},s={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function l(t){return"".concat(Math.round(t),"ms")}function c(t){if(!t)return 0;var e=t/36;return Math.round(10*(4+15*Math.pow(e,.25)+e/5))}function u(t){var e=Object(o.a)({},a,t.easing),n=Object(o.a)({},s,t.duration);return Object(o.a)({getAutoHeightDuration:c,create:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,s=void 0===a?n.standard:a,c=o.easing,u=void 0===c?e.easeInOut:c,d=o.delay,f=void 0===d?0:d;Object(r.a)(o,i);return(Array.isArray(t)?t:[t]).map((function(t){return"".concat(t," ").concat("string"===typeof s?s:l(s)," ").concat(u," ").concat("string"===typeof f?f:l(f))})).join(",")}},t,{easing:e,duration:n})}},function(t,e,n){"use strict";var r=n(1),o=r.createContext(null);e.a=o},function(t,e,n){"use strict";n(1);var r=n(66),o=n(0);e.a=Object(r.a)(Object(o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},function(t,e,n){"use strict";var r=n(1),o=r.createContext({});e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(343);function o(t,e){if(t){if("string"===typeof t)return Object(r.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(t,e):void 0}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t.scrollTop}},function(t,e,n){"use strict";e.a={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},function(t,e,n){"use strict";var r=n(1),o=r.createContext();e.a=o},function(t,e,n){"use strict";t.exports=n(917)},function(t,e,n){var r,o,i;i=function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Pane.js",[t["Core/Chart/Chart.js"],t["Series/CenteredUtilities.js"],t["Core/Globals.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o){function i(t,e,n){return Math.sqrt(Math.pow(t-n[0],2)+Math.pow(e-n[1],2))<=n[2]/2}var a=o.addEvent,s=o.extend,l=o.merge,c=o.pick,u=o.splat;return t.prototype.collectionsWithUpdate.push("pane"),o=function(){function t(t,e){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(t,e)}return t.prototype.init=function(t,e){this.chart=e,this.background=[],e.pane.push(this),this.setOptions(t)},t.prototype.setOptions=function(t){this.options=l(this.defaultOptions,this.chart.angular?{background:{}}:void 0,t)},t.prototype.render=function(){var t=this.options,e=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:t.zIndex||0}).add()),this.updateCenter(),e)for(e=u(e),t=Math.max(e.length,this.background.length||0),n=0;n<t;n++)e[n]&&this.axis?this.renderBackground(l(this.defaultBackgroundOptions,e[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},t.prototype.renderBackground=function(t,e){var n="animate",r={class:"highcharts-pane "+(t.className||"")};this.chart.styledMode||s(r,{fill:t.backgroundColor,stroke:t.borderColor,"stroke-width":t.borderWidth}),this.background[e]||(this.background[e]=this.chart.renderer.path().add(this.group),n="attr"),this.background[e][n]({d:this.axis.getPlotBandPath(t.from,t.to,t)}).attr(r)},t.prototype.updateCenter=function(t){this.center=(t||this.axis||{}).center=e.getCenter.call(this)},t.prototype.update=function(t,e){l(!0,this.options,t),this.setOptions(this.options),this.render(),this.chart.axes.forEach((function(t){t.pane===this&&(t.pane=null,t.update({},e))}),this)},t}(),t.prototype.getHoverPane=function(t){var e,n=this;return t&&n.pane.forEach((function(r){var o=t.chartX-n.plotLeft,a=t.chartY-n.plotTop;i(n.inverted?a:o,n.inverted?o:a,r.center)&&(e=r)})),e},a(t,"afterIsInsidePlot",(function(t){this.polar&&(t.isInsidePlot=this.pane.some((function(e){return i(t.x,t.y,e.center)})))})),a(r,"beforeGetHoverData",(function(t){var e=this.chart;e.polar?(e.hoverPane=e.getHoverPane(t),t.filter=function(n){return n.visible&&!(!t.shared&&n.directTouch)&&c(n.options.enableMouseTracking,!0)&&(!e.hoverPane||n.xAxis.pane===e.hoverPane)}):e.hoverPane=void 0})),a(r,"afterGetHoverData",(function(t){var e=this.chart;t.hoverPoint&&t.hoverPoint.plotX&&t.hoverPoint.plotY&&e.hoverPane&&!i(t.hoverPoint.plotX,t.hoverPoint.plotY,e.hoverPane.center)&&(t.hoverPoint=void 0)})),n.Pane=o,n.Pane})),e(t,"Series/AreaRange/AreaRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=(t=t.seriesTypes.area.prototype).pointClass.prototype,o=e.defined,i=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.high=void 0,e.low=void 0,e.options=void 0,e.plotHigh=void 0,e.plotLow=void 0,e.plotHighX=void 0,e.plotLowX=void 0,e.plotX=void 0,e.series=void 0,e}return n(e,t),e.prototype.setState=function(){var t=this.state,e=this.series,n=e.chart.polar;o(this.plotHigh)||(this.plotHigh=e.yAxis.toPixels(this.high,!0)),o(this.plotLow)||(this.plotLow=this.plotY=e.yAxis.toPixels(this.low,!0)),e.stateMarkerGraphic&&(e.lowerStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.upperStateMarkerGraphic),this.graphic=this.upperGraphic,this.plotY=this.plotHigh,n&&(this.plotX=this.plotHighX),r.setState.apply(this,arguments),this.state=t,this.plotY=this.plotLow,this.graphic=this.lowerGraphic,n&&(this.plotX=this.plotLowX),e.stateMarkerGraphic&&(e.upperStateMarkerGraphic=e.stateMarkerGraphic,e.stateMarkerGraphic=e.lowerStateMarkerGraphic,e.lowerStateMarkerGraphic=void 0),r.setState.apply(this,arguments)},e.prototype.haloPath=function(){var t=this.series.chart.polar,e=[];return this.plotY=this.plotLow,t&&(this.plotX=this.plotLowX),this.isInside&&(e=r.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,t&&(this.plotX=this.plotHighX),this.isTopInside&&(e=e.concat(r.haloPath.apply(this,arguments))),e},e.prototype.isValid=function(){return i(this.low)&&i(this.high)},e}(t.pointClass)})),e(t,"Series/AreaRange/AreaRangeSeries.js",[t["Series/AreaRange/AreaRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();e=e.noop;var i=n.seriesTypes,a=i.area,s=i.area.prototype,l=i.column.prototype,c=r.defined,u=r.extend,d=r.isArray,f=r.pick,p=r.merge,h={lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}};return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.lowerStateMarkerGraphic=void 0,e.xAxis=void 0,e}return o(e,t),e.prototype.toYData=function(t){return[t.low,t.high]},e.prototype.highToXY=function(t){var e=this.chart,n=this.xAxis.postTranslate(t.rectPlotX||0,this.yAxis.len-t.plotHigh);t.plotHighX=n.x-e.plotLeft,t.plotHigh=n.y-e.plotTop,t.plotLowX=t.plotX},e.prototype.translate=function(){var t=this,e=t.yAxis;s.translate.apply(t),t.points.forEach((function(n){var r=n.high,o=n.plotY;n.isNull?n.plotY=null:(n.plotLow=o,n.plotHigh=e.translate(t.dataModify?t.dataModify.modifyValue(r):r,0,1,0,1),t.dataModify&&(n.yBottom=n.plotHigh))})),this.chart.polar&&this.points.forEach((function(e){t.highToXY(e),e.tooltipPos=[(e.plotHighX+e.plotLowX)/2,(e.plotHigh+e.plotLow)/2]}))},e.prototype.getGraphPath=function(t){var e,n=[],r=[],o=s.getGraphPath,i=this.options,a=this.chart.polar,l=a&&!1!==i.connectEnds,c=i.connectNulls,u=i.step;for(e=(t=t||this.points).length;e--;){var d=t[e],p=a?{plotX:d.rectPlotX,plotY:d.yBottom,doCurve:!1}:{plotX:d.plotX,plotY:d.plotY,doCurve:!1};d.isNull||l||c||t[e+1]&&!t[e+1].isNull||r.push(p);var h={polarPlotY:d.polarPlotY,rectPlotX:d.rectPlotX,yBottom:d.yBottom,plotX:f(d.plotHighX,d.plotX),plotY:d.plotHigh,isNull:d.isNull};r.push(h),n.push(h),d.isNull||l||c||t[e-1]&&!t[e-1].isNull||r.push(p)}return t=o.call(this,t),u&&(!0===u&&(u="left"),i.step={left:"right",center:"center",right:"left"}[u]),n=o.call(this,n),r=o.call(this,r),i.step=u,i=[].concat(t,n),!this.chart.polar&&r[0]&&"M"===r[0][0]&&(r[0]=["L",r[0][1],r[0][2]]),this.graphPath=i,this.areaPath=t.concat(r),i.isArea=!0,i.xMap=t.xMap,this.areaPath.xMap=t.xMap,i},e.prototype.drawDataLabels=function(){var t,e,n=this.points,r=n.length,o=[],i=this.options.dataLabels,a=this.chart.inverted;if(i){if(d(i))var l=i[0]||{enabled:!1},c=i[1]||{enabled:!1};else(l=u({},i)).x=i.xHigh,l.y=i.yHigh,(c=u({},i)).x=i.xLow,c.y=i.yLow;if(l.enabled||this._hasPointLabels){for(t=r;t--;)if(e=n[t]){var f=l.inside?e.plotHigh<e.plotLow:e.plotHigh>e.plotLow;e.y=e.high,e._plotY=e.plotY,e.plotY=e.plotHigh,o[t]=e.dataLabel,e.dataLabel=e.dataLabelUpper,e.below=f,a?l.align||(l.align=f?"right":"left"):l.verticalAlign||(l.verticalAlign=f?"top":"bottom")}for(this.options.dataLabels=l,s.drawDataLabels&&s.drawDataLabels.apply(this,arguments),t=r;t--;)(e=n[t])&&(e.dataLabelUpper=e.dataLabel,e.dataLabel=o[t],delete e.dataLabels,e.y=e.low,e.plotY=e._plotY)}if(c.enabled||this._hasPointLabels){for(t=r;t--;)(e=n[t])&&(f=c.inside?e.plotHigh<e.plotLow:e.plotHigh>e.plotLow,e.below=!f,a?c.align||(c.align=f?"left":"right"):c.verticalAlign||(c.verticalAlign=f?"bottom":"top"));this.options.dataLabels=c,s.drawDataLabels&&s.drawDataLabels.apply(this,arguments)}if(l.enabled)for(t=r;t--;)(e=n[t])&&(e.dataLabels=[e.dataLabelUpper,e.dataLabel].filter((function(t){return!!t})));this.options.dataLabels=i}},e.prototype.alignDataLabel=function(){l.alignDataLabel.apply(this,arguments)},e.prototype.drawPoints=function(){var t,e=this.points.length;for(s.drawPoints.apply(this,arguments),t=0;t<e;){var n=this.points[t];n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},n.lowerGraphic=n.graphic,n.graphic=n.upperGraphic,n.plotY=n.plotHigh,c(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=f(n.high,n.origProps.y),n.negative=n.y<(this.options.threshold||0),this.zones.length&&(n.zone=n.getZone()),this.chart.polar||(n.isInside=n.isTopInside="undefined"!==typeof n.plotY&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len),t++}for(s.drawPoints.apply(this,arguments),t=0;t<e;)(n=this.points[t]).upperGraphic=n.graphic,n.graphic=n.lowerGraphic,n.origProps&&(u(n,n.origProps),delete n.origProps),t++},e.defaultOptions=p(a.defaultOptions,h),e}(a),u(r.prototype,{deferTranslatePolar:!0,pointArrayMap:["low","high"],pointClass:t,pointValKey:"low",setStackedPoints:e}),n.registerSeriesType("arearange",r),r})),e(t,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[t["Series/AreaRange/AreaRangeSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=e.seriesTypes.spline.prototype,i=n.merge;n=n.extend;var a=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.data=void 0,t.points=void 0,t}return r(n,e),n.defaultOptions=i(t.defaultOptions),n}(t);return n(a.prototype,{getPointSpline:o.getPointSpline}),e.registerSeriesType("areasplinerange",a),a})),e(t,"Series/BoxPlot/BoxPlotSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();e=e.noop;var i=r.extend,a=r.merge,s=r.pick;return r=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(n,e),n.prototype.pointAttribs=function(){return{}},n.prototype.translate=function(){var t=this.yAxis,n=this.pointArrayMap;e.prototype.translate.apply(this),this.points.forEach((function(e){n.forEach((function(n){null!==e[n]&&(e[n+"Plot"]=t.translate(e[n],0,1,0,1))})),e.plotHigh=e.highPlot}))},n.prototype.drawPoints=function(){var t,e,n,r,o,i,a,l,c,u,d,f=this,p=f.options,h=f.chart,v=h.renderer,g=0,m=!1!==f.doQuartiles,b=f.options.whiskerLength;f.points.forEach((function(y){var x=y.graphic,w=x?"animate":"attr",O=y.shapeArgs,S={},j={},C={},k={},E=y.color||f.color;"undefined"!==typeof y.plotY&&(a=Math.round(O.width),l=Math.floor(O.x),c=l+a,u=Math.round(a/2),t=Math.floor(m?y.q1Plot:y.lowPlot),e=Math.floor(m?y.q3Plot:y.lowPlot),n=Math.floor(y.highPlot),r=Math.floor(y.lowPlot),x||(y.graphic=x=v.g("point").add(f.group),y.stem=v.path().addClass("highcharts-boxplot-stem").add(x),b&&(y.whiskers=v.path().addClass("highcharts-boxplot-whisker").add(x)),m&&(y.box=v.path(void 0).addClass("highcharts-boxplot-box").add(x)),y.medianShape=v.path(void 0).addClass("highcharts-boxplot-median").add(x)),h.styledMode||(j.stroke=y.stemColor||p.stemColor||E,j["stroke-width"]=s(y.stemWidth,p.stemWidth,p.lineWidth),j.dashstyle=y.stemDashStyle||p.stemDashStyle||p.dashStyle,y.stem.attr(j),b&&(C.stroke=y.whiskerColor||p.whiskerColor||E,C["stroke-width"]=s(y.whiskerWidth,p.whiskerWidth,p.lineWidth),C.dashstyle=y.whiskerDashStyle||p.whiskerDashStyle||p.dashStyle,y.whiskers.attr(C)),m&&(S.fill=y.fillColor||p.fillColor||E,S.stroke=p.lineColor||E,S["stroke-width"]=p.lineWidth||0,S.dashstyle=y.boxDashStyle||p.boxDashStyle||p.dashStyle,y.box.attr(S)),k.stroke=y.medianColor||p.medianColor||E,k["stroke-width"]=s(y.medianWidth,p.medianWidth,p.lineWidth),k.dashstyle=y.medianDashStyle||p.medianDashStyle||p.dashStyle,y.medianShape.attr(k)),i=y.stem.strokeWidth()%2/2,x=[["M",g=l+u+i,e],["L",g,n],["M",g,t],["L",g,r]],y.stem[w]({d:x}),m&&(i=y.box.strokeWidth()%2/2,t=Math.floor(t)+i,e=Math.floor(e)+i,x=[["M",l+=i,e],["L",l,t],["L",c+=i,t],["L",c,e],["L",l,e],["Z"]],y.box[w]({d:x})),b&&(i=y.whiskers.strokeWidth()%2/2,n+=i,r+=i,d=/%$/.test(b)?u*parseFloat(b)/100:b/2,x=[["M",g-d,n],["L",g+d,n],["M",g-d,r],["L",g+d,r]],y.whiskers[w]({d:x})),o=Math.round(y.medianPlot),i=y.medianShape.strokeWidth()%2/2,x=[["M",l,o+=i],["L",c,o]],y.medianShape[w]({d:x}))}))},n.prototype.toYData=function(t){return[t.low,t.q1,t.median,t.q3,t.high]},n.defaultOptions=a(t.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),n}(t),i(r.prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:e,setStackedPoints:e}),n.registerSeriesType("boxplot",r),r})),e(t,"Series/Bubble/BubbleLegendDefaults.js",[],(function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}})),e(t,"Series/Bubble/BubbleLegendItem.js",[t["Core/Color/Color.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=t.parse,i=n.noop,a=r.arrayMax,s=r.arrayMin,l=r.isNumber,c=r.merge,u=r.pick,d=r.stableSort;return function(){function t(t,e){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=i,this.init(t,e)}return t.prototype.init=function(t,e){this.options=t,this.visible=!0,this.chart=e.chart,this.legend=e},t.prototype.addToLegend=function(t){t.splice(this.options.legendIndex,0,this)},t.prototype.drawLegendSymbol=function(t){var e=this.chart,n=this.options,r=u(t.options.itemDistance,20),o=n.ranges,i=n.connectorDistance;this.fontMetrics=e.renderer.fontMetrics(n.labels.style.fontSize),o&&o.length&&l(o[0].value)?(d(o,(function(t,e){return e.value-t.value})),this.ranges=o,this.setOptions(),this.render(),t=this.getMaxLabelSize(),e=2*(o=this.ranges[0].radius),i=0<(i=i-o+t.width)?i:0,this.maxLabel=t,this.movementX="left"===n.labels.align?i:0,this.legendItemWidth=e+i+r,this.legendItemHeight=e+this.fontMetrics.h/2):t.options.bubbleLegend.autoRanges=!0},t.prototype.setOptions=function(){var t=this.ranges,e=this.options,n=this.chart.series[e.seriesIndex],r=this.legend.baseline,i={zIndex:e.zIndex,"stroke-width":e.borderWidth},a={zIndex:e.zIndex,"stroke-width":e.connectorWidth},s={align:this.legend.options.rtl||"left"===e.labels.align?"right":"left",zIndex:e.zIndex},l=n.options.marker.fillOpacity,d=this.chart.styledMode;t.forEach((function(f,p){d||(i.stroke=u(f.borderColor,e.borderColor,n.color),i.fill=u(f.color,e.color,1!==l?o(n.color).setOpacity(l).get("rgba"):n.color),a.stroke=u(f.connectorColor,e.connectorColor,n.color)),t[p].radius=this.getRangeRadius(f.value),t[p]=c(t[p],{center:t[0].radius-t[p].radius+r}),d||c(!0,t[p],{bubbleAttribs:c(i),connectorAttribs:c(a),labelAttribs:s})}),this)},t.prototype.getRangeRadius=function(t){var e=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,e.ranges[e.ranges.length-1].value,e.ranges[0].value,e.minSize,e.maxSize,t)},t.prototype.render=function(){var t=this.chart.renderer,e=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=t.g("bubble-legend"),this.legendItem=t.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach((function(t){t.value>=e&&this.renderRange(t)}),this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},t.prototype.renderRange=function(t){var e=this.options,n=e.labels,r=this.chart,o=r.series[e.seriesIndex],i=r.renderer,a=this.symbols;r=a.labels;var s=t.center,l=Math.abs(t.radius),c=e.connectorDistance||0,u=n.align,d=e.connectorWidth,f=this.ranges[0].radius||0,p=s-l-e.borderWidth/2+d/2,h=this.fontMetrics;h=h.f/2-(h.h-h.f)/2;var v=i.styledMode;c=this.legend.options.rtl||"left"===u?-c:c,"center"===u&&(c=0,e.connectorDistance=0,t.labelAttribs.align="center"),u=p+e.labels.y;var g=f+c+e.labels.x;a.bubbleItems.push(i.circle(f,s+((p%1?1:.5)-(d%2?0:.5)),l).attr(v?{}:t.bubbleAttribs).addClass((v?"highcharts-color-"+o.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(e.className||"")).add(this.legendSymbol)),a.connectors.push(i.path(i.crispLine([["M",f,p],["L",f+c,p]],e.connectorWidth)).attr(v?{}:t.connectorAttribs).addClass((v?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(e.connectorClassName||"")).add(this.legendSymbol)),t=i.text(this.formatLabel(t),g,u+h).attr(v?{}:t.labelAttribs).css(v?{}:n.style).addClass("highcharts-bubble-legend-labels "+(e.labels.className||"")).add(this.legendSymbol),r.push(t),t.placed=!0,t.alignAttr={x:g,y:u+h}},t.prototype.getMaxLabelSize=function(){var t,e;return this.symbols.labels.forEach((function(n){e=n.getBBox(!0),t=t?e.width>t.width?e:t:e})),t||{}},t.prototype.formatLabel=function(t){var n=this.options,r=n.labels.formatter;n=n.labels.format;var o=this.chart.numberFormatter;return n?e.format(n,t):r?r.call(t):o(t.value,1)},t.prototype.hideOverlappingLabels=function(){var t=this.chart,e=this.symbols;!this.options.labels.allowOverlap&&e&&(t.hideOverlappingLabels(e.labels),e.labels.forEach((function(t,n){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[n].show():e.connectors[n].hide()})))},t.prototype.getRanges=function(){var t,e=this.legend.bubbleLegend,n=e.options.ranges,r=Number.MAX_VALUE,o=-Number.MAX_VALUE;e.chart.series.forEach((function(e){e.isBubble&&!e.ignoreSeries&&(t=e.zData.filter(l)).length&&(r=u(e.options.zMin,Math.min(r,Math.max(s(t),!1===e.options.displayNegative?e.options.zThreshold:-Number.MAX_VALUE))),o=u(e.options.zMax,Math.max(o,a(t))))}));var i=r===o?[{value:o}]:[{value:r},{value:(r+o)/2},{value:o,autoRanges:!0}];return n.length&&n[0].radius&&i.reverse(),i.forEach((function(t,e){n&&n[e]&&(i[e]=c(n[e],t))})),i},t.prototype.predictBubbleSizes=function(){var t=this.chart,e=this.fontMetrics,n=t.legend.options,r=n.floating,o=(n="horizontal"===n.layout)?t.legend.lastLineHeight:0,i=t.plotSizeX,a=t.plotSizeY,s=t.series[this.options.seriesIndex],l=s.getPxExtremes();t=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var c=Math.min(a,i);return s=s.options.maxSize,r||!/%$/.test(s)?e=l:(s=parseFloat(s),e=(c+o-e.h/2)*s/100/(s/100+1),(n&&a-e>=i||!n&&i-e>=a)&&(e=l)),[t,Math.ceil(e)]},t.prototype.updateRanges=function(t,e){var n=this.legend.options.bubbleLegend;n.minSize=t,n.maxSize=e,n.ranges=this.getRanges()},t.prototype.correctSizes=function(){var t=this.legend,e=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(e.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,e.maxPxSize),t.render())},t}()})),e(t,"Series/Bubble/BubbleLegendComposition.js",[t["Series/Bubble/BubbleLegendDefaults.js"],t["Series/Bubble/BubbleLegendItem.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o,i=n.setOptions,a=r.addEvent,s=r.objectEach,l=r.wrap;return function(n){function r(t,e,n){var r=this.legend,i=0<=o(this);if(r&&r.options.enabled&&r.bubbleLegend&&r.options.bubbleLegend.autoRanges&&i){var a=r.bubbleLegend.options;i=r.bubbleLegend.predictBubbleSizes(),r.bubbleLegend.updateRanges(i[0],i[1]),a.placed||(r.group.placed=!1,r.allItems.forEach((function(t){t.legendGroup.translateY=null}))),r.render(),this.getMargins(),this.axes.forEach((function(t){t.visible&&t.render(),a.placed||(t.setScale(),t.updateNames(),s(t.ticks,(function(t){t.isNew=!0,t.isNewLabel=!0})))})),a.placed=!0,this.getMargins(),t.call(this,e,n),r.bubbleLegend.correctSizes(),f(r,c(r))}else t.call(this,e,n),r&&r.options.enabled&&r.bubbleLegend&&(r.render(),f(r,c(r)))}function o(t){t=t.series;for(var e=0;e<t.length;){if(t[e]&&t[e].isBubble&&t[e].visible&&t[e].zData.length)return e;e++}return-1}function c(t){var e,n=[],r=(t=t.allItems).length,o=0;for(e=0;e<r;e++)if(t[e].legendItemHeight&&(t[e].itemHeight=t[e].legendItemHeight),t[e]===t[r-1]||t[e+1]&&t[e]._legendItemPos[1]!==t[e+1]._legendItemPos[1]){n.push({height:0});for(var i=n[n.length-1];o<=e;o++)t[o].itemHeight>i.height&&(i.height=t[o].itemHeight);i.step=e}return n}function u(t){var n=this.bubbleLegend,r=this.options,i=r.bubbleLegend,a=o(this.chart);n&&n.ranges&&n.ranges.length&&(i.ranges.length&&(i.autoRanges=!!i.ranges[0].autoRanges),this.destroyItem(n)),0<=a&&r.enabled&&i.enabled&&(i.seriesIndex=a,this.bubbleLegend=new e(i,this),this.bubbleLegend.addToLegend(t.allItems))}function d(){var t=this.chart,e=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!e,this.ignoreSeries=e,t=0<=o(t),n.bubbleLegend.visible!==t&&(n.update({bubbleLegend:{enabled:t}}),n.bubbleLegend.visible=t),this.visible=e)}function f(t,e){var n,r,o,i=t.options.rtl,a=0;t.allItems.forEach((function(t,s){n=t.legendGroup.translateX,r=t._legendItemPos[1],((o=t.movementX)||i&&t.ranges)&&(o=i?n-t.options.maxSize/2:n+o,t.legendGroup.attr({translateX:o})),s>e[a].step&&a++,t.legendGroup.attr({translateY:Math.round(r+e[a].height/2)}),t._legendItemPos[1]=r+e[a].height/2}))}var p=[];n.compose=function(e,n,o){-1===p.indexOf(e)&&(p.push(e),i({legend:{bubbleLegend:t}}),l(e.prototype,"drawChartBox",r)),-1===p.indexOf(n)&&(p.push(n),a(n,"afterGetAllItems",u)),-1===p.indexOf(o)&&(p.push(o),a(o,"legendItemClick",d))}}(o||(o={})),o})),e(t,"Series/Bubble/BubblePoint.js",[t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return n=n.extend,e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return r(n,e),n.prototype.haloPath=function(e){return t.prototype.haloPath.call(this,0===e?0:(this.marker&&this.marker.radius||0)+e)},n}(e.seriesTypes.scatter.prototype.pointClass),n(e.prototype,{ttBelow:!1}),e})),e(t,"Series/Bubble/BubbleSeries.js",[t["Core/Axis/Axis.js"],t["Series/Bubble/BubbleLegendComposition.js"],t["Series/Bubble/BubblePoint.js"],t["Core/Color/Color.js"],t["Core/Globals.js"],t["Core/Series/Series.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s){var l=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),c=r.parse;r=o.noop;var u=a.seriesTypes;o=u.column;var d=u.scatter;u=s.addEvent;var f=s.arrayMax,p=s.arrayMin,h=s.clamp,v=s.extend,g=s.isNumber,m=s.merge,b=s.pick;return s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.maxPxSize=void 0,e.minPxSize=void 0,e.options=void 0,e.points=void 0,e.radii=void 0,e.yData=void 0,e.zData=void 0,e}return l(n,t),n.prototype.animate=function(t){!t&&this.points.length<this.options.animationLimit&&this.points.forEach((function(t){var e=t.graphic;e&&e.width&&(this.hasRendered||e.attr({x:t.plotX,y:t.plotY,width:1,height:1}),e.animate(this.markerAttribs(t),this.options.animation))}),this)},n.prototype.getRadii=function(){var t=this,e=this.zData,n=this.yData,r=[],o=this.chart.bubbleZExtremes,i=this.getPxExtremes(),a=i.minPxSize,s=i.maxPxSize;if(!o){var l,c=Number.MAX_VALUE,u=-Number.MAX_VALUE;this.chart.series.forEach((function(e){e.bubblePadding&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&(e=(e.onPoint||e).getZExtremes())&&(c=Math.min(c||e.zMin,e.zMin),u=Math.max(u||e.zMax,e.zMax),l=!0)})),l?(o={zMin:c,zMax:u},this.chart.bubbleZExtremes=o):o={zMin:0,zMax:0}}var d=0;for(i=e.length;d<i;d++){var f=e[d];r.push(this.getRadius(o.zMin,o.zMax,a,s,f,n&&n[d]))}this.radii=r},n.prototype.getRadius=function(t,e,n,r,o,i){var a=this.options,s="width"!==a.sizeBy,l=a.zThreshold,c=e-t,u=.5;if(null===i||null===o)return null;if(g(o)){if(a.sizeByAbsoluteValue&&(o=Math.abs(o-l),c=Math.max(e-l,Math.abs(t-l)),t=0),o<t)return n/2-1;0<c&&(u=(o-t)/c)}return s&&0<=u&&(u=Math.sqrt(u)),Math.ceil(n+u*(r-n))/2},n.prototype.hasData=function(){return!!this.processedXData.length},n.prototype.pointAttribs=function(t,e){var n=this.options.marker.fillOpacity;return t=i.prototype.pointAttribs.call(this,t,e),1!==n&&(t.fill=c(t.fill).setOpacity(n).get("rgba")),t},n.prototype.translate=function(){t.prototype.translate.call(this),this.getRadii(),this.translateBubble()},n.prototype.translateBubble=function(){for(var t=this.data,e=this.radii,n=this.getPxExtremes().minPxSize,r=t.length;r--;){var o=t[r],i=e?e[r]:0;g(i)&&i>=n/2?(o.marker=v(o.marker,{radius:i,width:2*i,height:2*i}),o.dlBox={x:o.plotX-i,y:o.plotY-i,width:2*i,height:2*i}):(o.shapeArgs=o.dlBox=void 0,o.plotY=0,o.marker={width:0,height:0})}},n.prototype.getPxExtremes=function(){var t=Math.min(this.chart.plotWidth,this.chart.plotHeight),e=function(e){if("string"===typeof e){var n=/%$/.test(e);e=parseInt(e,10)}return n?t*e/100:e},n=e(b(this.options.minSize,8));return{minPxSize:n,maxPxSize:e=Math.max(e(b(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var t=this.options,e=(this.zData||[]).filter(g);if(e.length){var n=b(t.zMin,h(p(e),!1===t.displayNegative?t.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(t=b(t.zMax,f(e)),g(n)&&g(t))return{zMin:n,zMax:t}}},n.compose=e.compose,n.defaultOptions=m(d.defaultOptions,{dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.z;return g(e)?t(e,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),n}(d),v(s.prototype,{alignDataLabel:o.prototype.alignDataLabel,applyZones:r,bubblePadding:!0,buildKDTree:r,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:n,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),u(s,"updatedData",(function(t){delete t.target.chart.bubbleZExtremes})),t.prototype.beforePadding=function(){var t,e=this,n=this.len,r=this.chart,o=0,i=n,a=this.isXAxis,s=a?"xData":"yData",l=this.min,c=this.max-l,u=n/c;this.series.forEach((function(n){if(n.bubblePadding&&(n.visible||!r.options.chart.ignoreHiddenSeries)){t=e.allowZoomOutside=!0;var d=n[s];if(a&&((n.onPoint||n).getRadii(0,0,n),n.onPoint&&(n.radii=n.onPoint.radii)),0<c)for(var f=d.length;f--;)if(g(d[f])&&e.dataMin<=d[f]&&d[f]<=e.max){var p=n.radii&&n.radii[f]||0;o=Math.min((d[f]-l)*u-p,o),i=Math.max((d[f]-l)*u+p,i)}}})),t&&0<c&&!this.logarithmic&&(i-=n,u*=(n+Math.max(0,o)-Math.min(i,n))/n,[["min","userMin",o],["max","userMax",i]].forEach((function(t){"undefined"===typeof b(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/u)})))},a.registerSeriesType("bubble",s),s})),e(t,"Series/ColumnRange/ColumnRangePoint.js",[t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=t.seriesTypes;t=r.column.prototype.pointClass.prototype;var o=e.extend,i=e.isNumber;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return n(e,t),e.prototype.isValid=function(){return i(this.low)},e}(r.arearange.prototype.pointClass),o(e.prototype,{setState:t.setState}),e})),e(t,"Series/ColumnRange/ColumnRangeSeries.js",[t["Series/ColumnRange/ColumnRangePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();e=e.noop;var i=n.seriesTypes,a=i.arearange,s=i.column,l=i.column.prototype,c=r.clamp;i=r.extend;var u=r.merge,d=r.pick,f={pointRange:null,marker:null,states:{hover:{halo:!1}}};return r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.setOptions=function(){return u(!0,arguments[0],{stacking:void 0}),a.prototype.setOptions.apply(this,arguments)},e.prototype.translate=function(){var t,e,n,r,o,i=this,a=this.yAxis,s=this.xAxis,u=s.startAngleRad,f=this.chart,p=this.xAxis.isRadial,h=Math.max(f.chartWidth,f.chartHeight)+999;l.translate.apply(this),this.points.forEach((function(l){var v=l.shapeArgs||{},g=i.options.minPointLength;l.plotHigh=r=c(a.translate(l.high,0,1,0,1),-h,h),l.plotLow=c(l.plotY,-h,h),o=r,t=d(l.rectPlotY,l.plotY)-r,Math.abs(t)<g?(t+=e=g-t,o-=e/2):0>t&&(o-=t*=-1),p&&i.polar?(n=l.barX+u,l.shapeType="arc",l.shapeArgs=i.polar.arc(o+t,o,n,n+l.pointWidth)):(v.height=t,v.y=o,g=void 0===(g=v.x)?0:g,v=void 0===(v=v.width)?0:v,l.tooltipPos=f.inverted?[a.len+a.pos-f.plotLeft-o-t/2,s.len+s.pos-f.plotTop-g-v/2,t]:[s.left-f.plotLeft+g+v/2,a.pos-f.plotTop+o+t/2,t])}))},e.prototype.pointAttribs=function(){return l.pointAttribs.apply(this,arguments)},e.prototype.translate3dPoints=function(){return l.translate3dPoints.apply(this,arguments)},e.prototype.translate3dShapes=function(){return l.translate3dShapes.apply(this,arguments)},e.defaultOptions=u(s.defaultOptions,a.defaultOptions,f),e}(a),i(r.prototype,{directTouch:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"],adjustForMissingColumns:l.adjustForMissingColumns,animate:l.animate,crispCol:l.crispCol,drawGraph:e,drawPoints:l.drawPoints,getSymbol:e,drawTracker:l.drawTracker,getColumnMetrics:l.getColumnMetrics}),n.registerSeriesType("columnrange",r),r})),e(t,"Series/ColumnPyramid/ColumnPyramidSeries.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=t.prototype,i=n.clamp,a=n.merge,s=n.pick;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.translate=function(){var t=this,e=t.chart,n=t.options,r=t.dense=2>t.closestPointRange*t.xAxis.transA;r=t.borderWidth=s(n.borderWidth,r?0:1);var a=t.yAxis,l=n.threshold,c=t.translatedThreshold=a.getThreshold(l),u=s(n.minPointLength,5),d=t.getColumnMetrics(),f=d.width,p=t.barW=Math.max(f,1+2*r),h=t.pointXOffset=d.offset;e.inverted&&(c-=.5),n.pointPadding&&(p=Math.ceil(p)),o.translate.apply(t),t.points.forEach((function(r){var o=s(r.yBottom,c),d=999+Math.abs(o),v=i(r.plotY,-d,a.len+d);d=r.plotX+h;var g,m=p/2,b=Math.min(v,o);o=Math.max(v,o)-b,r.barX=d,r.pointWidth=f,r.tooltipPos=e.inverted?[a.len+a.pos-e.plotLeft-v,t.xAxis.len-d-m,o]:[d+m,v+a.pos-e.plotTop,o],v=l+(r.total||r.y),"percent"===n.stacking&&(v=l+(0>r.y)?-100:100),v=a.toPixels(v,!0);var y=(g=e.plotHeight-v-(e.plotHeight-c))?m*(b-v)/g:0,x=g?m*(b+o-v)/g:0;g=d-y+m,y=d+y+m;var w=d+x+m;x=d-x+m;var O=b-u,S=b+o;0>r.y&&(O=b,S=b+o+u),e.inverted&&(x=m*(v-((w=a.width-b)-o))/(g=v-(a.width-c)),y=(g=d+m+(y=m*(v-w)/g))-2*y,w=d-x+m,x=d+x+m,O=b,S=b+o-u,0>r.y&&(S=b+o+u)),r.shapeType="path",r.shapeArgs={x:g,y:O,width:y-g,height:o,d:[["M",g,O],["L",y,O],["L",w,S],["L",x,S],["Z"]]}}))},n.defaultOptions=a(t.defaultOptions,{}),n}(t),e.registerSeriesType("columnpyramid",n),n})),e(t,"Series/ErrorBar/ErrorBarSeries.js",[t["Series/BoxPlot/BoxPlotSeries.js"],t["Series/Column/ColumnSeries.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=n.seriesTypes.arearange,a=r.merge;r=r.extend;var s=function(n){function r(){var t=null!==n&&n.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return o(r,n),r.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||e.prototype.getColumnMetrics.call(this)},r.prototype.drawDataLabels=function(){var t=this.pointValKey;i&&(i.prototype.drawDataLabels.call(this),this.data.forEach((function(e){e.y=e[t]})))},r.prototype.toYData=function(t){return[t.low,t.high]},r.defaultOptions=a(t.defaultOptions,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),r}(t);return r(s.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),n.registerSeriesType("errorbar",s),s})),e(t,"Series/Gauge/GaugePoint.js",[t["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.shapeArgs=void 0,e}return e(n,t),n.prototype.setState=function(t){this.state=t},n}(t.series.prototype.pointClass)})),e(t,"Series/Gauge/GaugeSeries.js",[t["Series/Gauge/GaugePoint.js"],t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();e=e.noop;var i=n.series,a=n.seriesTypes.column,s=r.clamp,l=r.isNumber,c=r.extend,u=r.merge,d=r.pick,f=r.pInt;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e.yAxis=void 0,e}return o(e,t),e.prototype.translate=function(){var t=this.yAxis,e=this.options,n=t.center;this.generatePoints(),this.points.forEach((function(r){var o=u(e.dial,r.dial),i=f(o.radius)*n[2]/200,a=f(o.baseLength)*i/100,c=f(o.rearLength)*i/100,d=o.baseWidth,p=o.topWidth,h=e.overshoot,v=t.startAngleRad+t.translate(r.y,void 0,void 0,void 0,!0);(l(h)||!1===e.wrap)&&(h=l(h)?h/180*Math.PI:0,v=s(v,t.startAngleRad-h,t.endAngleRad+h)),v=180*v/Math.PI,r.shapeType="path",r.shapeArgs={d:o.path||[["M",-c,-d/2],["L",a,-d/2],["L",i,-p/2],["L",i,p/2],["L",a,d/2],["L",-c,d/2],["Z"]],translateX:n[0],translateY:n[1],rotation:v},r.plotX=n[0],r.plotY=n[1]}))},e.prototype.drawPoints=function(){var t=this,e=t.chart,n=t.yAxis.center,r=t.pivot,o=t.options,i=o.pivot,a=e.renderer;t.points.forEach((function(n){var r=n.graphic,i=n.shapeArgs,s=i.d,l=u(o.dial,n.dial);r?(r.animate(i),i.d=s):n.graphic=a[n.shapeType](i).attr({rotation:i.rotation,zIndex:1}).addClass("highcharts-dial").add(t.group),e.styledMode||n.graphic[r?"animate":"attr"]({stroke:l.borderColor,"stroke-width":l.borderWidth,fill:l.backgroundColor})})),r?r.animate({translateX:n[0],translateY:n[1]}):i&&(t.pivot=a.circle(0,0,i.radius).attr({zIndex:2}).addClass("highcharts-pivot").translate(n[0],n[1]).add(t.group),e.styledMode||t.pivot.attr({fill:i.backgroundColor,stroke:i.borderColor,"stroke-width":i.borderWidth}))},e.prototype.animate=function(t){var e=this;t||e.points.forEach((function(t){var n=t.graphic;n&&(n.attr({rotation:180*e.yAxis.startAngleRad/Math.PI}),n.animate({rotation:t.shapeArgs.rotation},e.options.animation))}))},e.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"inherit":"hidden",this.options.zIndex,this.chart.seriesGroup),i.prototype.render.call(this),this.group.clip(this.chart.clipRect)},e.prototype.setData=function(t,e){i.prototype.setData.call(this,t,!1),this.processData(),this.generatePoints(),d(e,!0)&&this.chart.redraw()},e.prototype.hasData=function(){return!!this.points.length},e.defaultOptions=u(i.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{backgroundColor:"#000000",baseLength:"70%",baseWidth:3,borderColor:"#cccccc",borderWidth:0,radius:"80%",rearLength:"10%",topWidth:1},pivot:{radius:5,borderWidth:0,borderColor:"#cccccc",backgroundColor:"#000000"},tooltip:{headerFormat:""},showInLegend:!1}),e}(i),c(r.prototype,{angular:!0,directTouch:!0,drawGraph:e,drawTracker:a.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:t,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("gauge",r),r})),e(t,"Series/PackedBubble/PackedBubblePoint.js",[t["Core/Chart/Chart.js"],t["Core/Series/Point.js"],t["Core/Series/SeriesRegistry.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return function(n){function o(){var t=null!==n&&n.apply(this,arguments)||this;return t.degree=NaN,t.mass=NaN,t.radius=NaN,t.options=void 0,t.series=void 0,t.value=null,t}return r(o,n),o.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),e.prototype.destroy.apply(this,arguments)},o.prototype.firePointEvent=function(){var t=this.series.options;if(this.isParentNode&&t.parentNode){var n=t.allowPointSelect;t.allowPointSelect=t.parentNode.allowPointSelect,e.prototype.firePointEvent.apply(this,arguments),t.allowPointSelect=n}else e.prototype.firePointEvent.apply(this,arguments)},o.prototype.select=function(){var n=this.series.chart;this.isParentNode?(n.getSelectedPoints=n.getSelectedParentNodes,e.prototype.select.apply(this,arguments),n.getSelectedPoints=t.prototype.getSelectedPoints):e.prototype.select.apply(this,arguments)},o}(n.seriesTypes.bubble.prototype.pointClass)})),e(t,"Series/Networkgraph/DraggableNodes.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=n.addEvent;e.dragNodesMixin={onMouseDown:function(t,e){e=this.chart.pointer.normalize(e),t.fixedPosition={chartX:e.chartX,chartY:e.chartY,plotX:t.plotX,plotY:t.plotY},t.inDragMode=!0},onMouseMove:function(t,e){if(t.fixedPosition&&t.inDragMode){var n=this.chart,r=n.pointer.normalize(e);e=t.fixedPosition.chartX-r.chartX,r=t.fixedPosition.chartY-r.chartY;var o=void 0,i=void 0,a=n.graphLayoutsLookup;(5<Math.abs(e)||5<Math.abs(r))&&(o=t.fixedPosition.plotX-e,i=t.fixedPosition.plotY-r,n.isInsidePlot(o,i)&&(t.plotX=o,t.plotY=i,t.hasDragged=!0,this.redrawHalo(t),a.forEach((function(t){t.restartSimulation()}))))}},onMouseUp:function(t,e){t.fixedPosition&&(t.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),t.inDragMode=t.hasDragged=!1,this.options.fixedDraggable||delete t.fixedPosition)},redrawHalo:function(t){t&&this.halo&&this.halo.attr({d:t.haloPath(this.options.states.hover.halo.size)})}},r(t,"load",(function(){var t,e,n,o=this;o.container&&(t=r(o.container,"mousedown",(function(t){var i=o.hoverPoint;i&&i.series&&i.series.hasDraggableNodes&&i.series.options.draggable&&(i.series.onMouseDown(i,t),e=r(o.container,"mousemove",(function(t){return i&&i.series&&i.series.onMouseMove(i,t)})),n=r(o.container.ownerDocument,"mouseup",(function(t){return e(),n(),i&&i.series&&i.series.onMouseUp(i,t)})))}))),r(o,"destroy",(function(){t()}))}))})),e(t,"Series/Networkgraph/Integrations.js",[t["Core/Globals.js"]],(function(t){t.networkgraphIntegrations={verlet:{attractiveForceFunction:function(t,e){return(e-t)/t},repulsiveForceFunction:function(t,e){return(e-t)/t*(e>t?1:0)},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;e=(e-(this.box.left+this.box.width)/2)*t,n=(n-(this.box.top+this.box.height)/2)*t,this.nodes.forEach((function(t){t.fixedPosition||(t.plotX-=e/t.mass/t.degree,t.plotY-=n/t.mass/t.degree)}))},repulsive:function(t,e,n){e=e*this.diffTemperature/t.mass/t.degree,t.fixedPosition||(t.plotX+=n.x*e,t.plotY+=n.y*e)},attractive:function(t,e,n){var r=t.getMass(),o=-n.x*e*this.diffTemperature;e=-n.y*e*this.diffTemperature,t.fromNode.fixedPosition||(t.fromNode.plotX-=o*r.fromNode/t.fromNode.degree,t.fromNode.plotY-=e*r.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.plotX+=o*r.toNode/t.toNode.degree,t.toNode.plotY+=e*r.toNode/t.toNode.degree)},integrate:function(t,e){var n=-t.options.friction,r=t.options.maxSpeed,o=(e.plotX+e.dispX-e.prevX)*n;n*=e.plotY+e.dispY-e.prevY;var i=Math.abs,a=i(o)/(o||1);i=i(n)/(n||1),o=a*Math.min(r,Math.abs(o)),n=i*Math.min(r,Math.abs(n)),e.prevX=e.plotX+e.dispX,e.prevY=e.plotY+e.dispY,e.plotX+=o,e.plotY+=n,e.temperature=t.vectorLength({x:o,y:n})},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.5)}},euler:{attractiveForceFunction:function(t,e){return t*t/e},repulsiveForceFunction:function(t,e){return e*e/t},barycenter:function(){var t=this.options.gravitationalConstant,e=this.barycenter.xFactor,n=this.barycenter.yFactor;this.nodes.forEach((function(r){if(!r.fixedPosition){var o=r.getDegree();o*=1+o/2,r.dispX+=(e-r.plotX)*t*o/r.degree,r.dispY+=(n-r.plotY)*t*o/r.degree}}))},repulsive:function(t,e,n,r){t.dispX+=n.x/r*e/t.degree,t.dispY+=n.y/r*e/t.degree},attractive:function(t,e,n,r){var o=t.getMass(),i=n.x/r*e;e*=n.y/r,t.fromNode.fixedPosition||(t.fromNode.dispX-=i*o.fromNode/t.fromNode.degree,t.fromNode.dispY-=e*o.fromNode/t.fromNode.degree),t.toNode.fixedPosition||(t.toNode.dispX+=i*o.toNode/t.toNode.degree,t.toNode.dispY+=e*o.toNode/t.toNode.degree)},integrate:function(t,e){e.dispX+=e.dispX*t.options.friction,e.dispY+=e.dispY*t.options.friction;var n=e.temperature=t.vectorLength({x:e.dispX,y:e.dispY});0!==n&&(e.plotX+=e.dispX/n*Math.min(Math.abs(e.dispX),t.temperature),e.plotY+=e.dispY/n*Math.min(Math.abs(e.dispY),t.temperature))},getK:function(t){return Math.pow(t.box.width*t.box.height/t.nodes.length,.3)}}}})),e(t,"Series/Networkgraph/QuadTree.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){e=e.extend;var n=t.QuadTreeNode=function(t){this.box=t,this.boxSize=Math.min(t.width,t.height),this.nodes=[],this.body=this.isInternal=!1,this.isEmpty=!0};e(n.prototype,{insert:function(t,e){this.isInternal?this.nodes[this.getBoxPosition(t)].insert(t,e-1):(this.isEmpty=!1,this.body?e?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,e-1),this.body=!0),this.nodes[this.getBoxPosition(t)].insert(t,e-1)):((e=new n({top:t.plotX,left:t.plotY,width:.1,height:.1})).body=t,e.isInternal=!1,this.nodes.push(e)):(this.isInternal=!1,this.body=t))},updateMassAndCenter:function(){var t=0,e=0,n=0;this.isInternal?(this.nodes.forEach((function(r){r.isEmpty||(t+=r.mass,e+=r.plotX*r.mass,n+=r.plotY*r.mass)})),e/=t,n/=t):this.body&&(t=this.body.mass,e=this.body.plotX,n=this.body.plotY),this.mass=t,this.plotX=e,this.plotY=n},divideBox:function(){var t=this.box.width/2,e=this.box.height/2;this.nodes[0]=new n({left:this.box.left,top:this.box.top,width:t,height:e}),this.nodes[1]=new n({left:this.box.left+t,top:this.box.top,width:t,height:e}),this.nodes[2]=new n({left:this.box.left+t,top:this.box.top+e,width:t,height:e}),this.nodes[3]=new n({left:this.box.left,top:this.box.top+e,width:t,height:e})},getBoxPosition:function(t){var e=t.plotY<this.box.top+this.box.height/2;return t.plotX<this.box.left+this.box.width/2?e?0:3:e?1:2}}),t=t.QuadTree=function(t,e,r,o){this.box={left:t,top:e,width:r,height:o},this.maxDepth=25,this.root=new n(this.box,"0"),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()},e(t.prototype,{insertNodes:function(t){t.forEach((function(t){this.root.insert(t,this.maxDepth)}),this)},visitNodeRecursive:function(t,e,n){var r;t||(t=this.root),t===this.root&&e&&(r=e(t)),!1!==r&&(t.nodes.forEach((function(t){if(t.isInternal){if(e&&(r=e(t)),!1===r)return;this.visitNodeRecursive(t,e,n)}else t.body&&e&&e(t.body);n&&n(t)}),this),t===this.root&&n&&n(t))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,(function(t){t.updateMassAndCenter()}))}})})),e(t,"Series/Networkgraph/Layouts.js",[t["Core/Chart/Chart.js"],t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=e.setAnimation;e=r.addEvent;var i=r.clamp,a=r.defined,s=r.extend,l=r.isFunction,c=r.pick;n.layouts={"reingold-fruchterman":function(){}},s(n.layouts["reingold-fruchterman"].prototype,{init:function(t){this.options=t,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=n.networkgraphIntegrations[t.integration],this.enableSimulation=t.enableSimulation,this.attractiveForce=c(t.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(t.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=t.approximation},updateSimulation:function(t){this.enableSimulation=c(t,this.options.enableSimulation)},start:function(){var t=this.series,e=this.options;this.currentStep=0,this.forces=t[0]&&t[0].forces||[],this.chart=t[0]&&t[0].chart,this.initialRendering&&(this.initPositions(),t.forEach((function(t){t.finishedAnimating=!0,t.render()}))),this.setK(),this.resetSimulation(e),this.enableSimulation&&this.step()},step:function(){var t=this,e=this.series;t.currentStep++,"barnes-hut"===t.approximation&&(t.createQuadTree(),t.quadTree.calculateMassAndCenter()),t.forces.forEach((function(e){t[e+"Forces"](t.temperature)})),t.applyLimits(t.temperature),t.temperature=t.coolDown(t.startTemperature,t.diffTemperature,t.currentStep),t.prevSystemTemperature=t.systemTemperature,t.systemTemperature=t.getSystemTemperature(),t.enableSimulation&&(e.forEach((function(t){t.chart&&t.render()})),t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()?(t.simulation&&n.win.cancelAnimationFrame(t.simulation),t.simulation=n.win.requestAnimationFrame((function(){t.step()}))):t.simulation=!1)},stop:function(){this.simulation&&n.win.cancelAnimationFrame(this.simulation)},setArea:function(t,e,n,r){this.box={left:t,top:e,width:n,height:r}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(t,e){t.forEach((function(t){-1===e.indexOf(t)&&e.push(t)}))},removeElementFromCollection:function(t,e){-1!==(t=e.indexOf(t))&&e.splice(t,1)},clear:function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(t){this.maxIterations=c(t,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(t){this.initialRendering=t},createQuadTree:function(){this.quadTree=new n.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},initPositions:function(){var t=this.options.initialPositions;l(t)?(t.call(this),this.nodes.forEach((function(t){a(t.prevX)||(t.prevX=t.plotX),a(t.prevY)||(t.prevY=t.plotY),t.dispX=0,t.dispY=0}))):"circle"===t?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){function t(e){e.linksFrom.forEach((function(e){a[e.toNode.id]||(a[e.toNode.id]=!0,i.push(e.toNode),t(e.toNode))}))}var e=this.box,n=this.nodes,r=2*Math.PI/(n.length+1),o=n.filter((function(t){return 0===t.linksTo.length})),i=[],a={},s=this.options.initialPositionRadius;o.forEach((function(e){i.push(e),t(e)})),i.length?n.forEach((function(t){-1===i.indexOf(t)&&i.push(t)})):i=n,i.forEach((function(t,n){t.plotX=t.prevX=c(t.plotX,e.width/2+s*Math.cos(n*r)),t.plotY=t.prevY=c(t.plotY,e.height/2+s*Math.sin(n*r)),t.dispX=0,t.dispY=0}))},setRandomPositions:function(){function t(t){return(t=t*t/Math.PI)-Math.floor(t)}var e=this.box,n=this.nodes,r=n.length+1;n.forEach((function(n,o){n.plotX=n.prevX=c(n.plotX,e.width*t(o)),n.plotY=n.prevY=c(n.plotY,e.height*t(r+o)),n.dispX=0,n.dispY=0}))},force:function(t){this.integration[t].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter(),this.force("barycenter")},getBarycenter:function(){var t=0,e=0,n=0;return this.nodes.forEach((function(r){e+=r.plotX*r.mass,n+=r.plotY*r.mass,t+=r.mass})),this.barycenter={x:e,y:n,xFactor:e/t,yFactor:n/t}},barnesHutApproximation:function(t,e){var n=this.getDistXY(t,e),r=this.vectorLength(n);if(t!==e&&0!==r)if(e.isInternal)if(e.boxSize/r<this.options.theta&&0!==r){var o=this.repulsiveForce(r,this.k);this.force("repulsive",t,o*e.mass,n,r);var i=!1}else i=!0;else o=this.repulsiveForce(r,this.k),this.force("repulsive",t,o*e.mass,n,r);return i},repulsiveForces:function(){var t=this;"barnes-hut"===t.approximation?t.nodes.forEach((function(e){t.quadTree.visitNodeRecursive(null,(function(n){return t.barnesHutApproximation(e,n)}))})):t.nodes.forEach((function(e){t.nodes.forEach((function(n){if(e!==n&&!e.fixedPosition){var r=t.getDistXY(e,n),o=t.vectorLength(r);if(0!==o){var i=t.repulsiveForce(o,t.k);t.force("repulsive",e,i*n.mass,r,o)}}}))}))},attractiveForces:function(){var t,e,n,r=this;r.links.forEach((function(o){o.fromNode&&o.toNode&&(t=r.getDistXY(o.fromNode,o.toNode),0!==(e=r.vectorLength(t))&&(n=r.attractiveForce(e,r.k),r.force("attractive",o,n,t,e)))}))},applyLimits:function(){var t=this;t.nodes.forEach((function(e){e.fixedPosition||(t.integration.integrate(t,e),t.applyLimitBox(e,t.box),e.dispX=0,e.dispY=0)}))},applyLimitBox:function(t,e){var n=t.radius;t.plotX=i(t.plotX,e.left+n,e.width-n),t.plotY=i(t.plotY,e.top+n,e.height-n)},coolDown:function(t,e,n){return t-e*n},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce((function(t,e){return t+e.temperature}),0)},vectorLength:function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},getDistR:function(t,e){return t=this.getDistXY(t,e),this.vectorLength(t)},getDistXY:function(t,e){var n=t.plotX-e.plotX;return{x:n,y:t=t.plotY-e.plotY,absX:Math.abs(n),absY:Math.abs(t)}}}),e(t,"predraw",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.stop()}))})),e(t,"render",(function(){function t(t){t.maxIterations--&&isFinite(t.temperature)&&!t.isStable()&&!t.enableSimulation&&(t.beforeStep&&t.beforeStep(),t.step(),n=!1,e=!0)}var e=!1;if(this.graphLayoutsLookup){for(o(!1,this),this.graphLayoutsLookup.forEach((function(t){t.start()}));!n;){var n=!0;this.graphLayoutsLookup.forEach(t)}e&&this.series.forEach((function(t){t&&t.layout&&t.render()}))}})),e(t,"beforePrint",(function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach((function(t){t.updateSimulation(!1)})),this.redraw())})),e(t,"afterPrint",(function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach((function(t){t.updateSimulation()})),this.redraw()}))})),e(t,"Series/PackedBubble/PackedBubbleComposition.js",[t["Core/Chart/Chart.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=e.layouts["reingold-fruchterman"],o=n.addEvent,i=n.extendClass,a=n.pick;t.prototype.getSelectedParentNodes=function(){var t=[];return this.series.forEach((function(e){e.parentNode&&e.parentNode.selected&&t.push(e.parentNode)})),t},e.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(t,e,n,r){return Math.min(t,(n.marker.radius+r.marker.radius)/2)},barycenter:function(){var t,e,n=this,r=n.options.gravitationalConstant,o=n.box,i=n.nodes;i.forEach((function(a){n.options.splitSeries&&!a.isParentNode?(t=a.series.parentNode.plotX,e=a.series.parentNode.plotY):(t=o.width/2,e=o.height/2),a.fixedPosition||(a.plotX-=(a.plotX-t)*r/(a.mass*Math.sqrt(i.length)),a.plotY-=(a.plotY-e)*r/(a.mass*Math.sqrt(i.length)))}))},repulsive:function(t,e,n,r){var o=e*this.diffTemperature/t.mass/t.degree;e=n.x*o,n=n.y*o,t.fixedPosition||(t.plotX+=e,t.plotY+=n),r.fixedPosition||(r.plotX-=e,r.plotY-=n)},integrate:e.networkgraphIntegrations.verlet.integrate,getK:e.noop},e.layouts.packedbubble=i(r,{beforeStep:function(){this.options.marker&&this.series.forEach((function(t){t&&t.calculateParentRadius()}))},isStable:function(){var t=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>t||0>=this.temperature},setCircularPositions:function(){var t,e,n=this,r=n.box,o=n.nodes,i=2*Math.PI/(o.length+1),s=n.options.initialPositionRadius;o.forEach((function(o,l){n.options.splitSeries&&!o.isParentNode?(t=o.series.parentNode.plotX,e=o.series.parentNode.plotY):(t=r.width/2,e=r.height/2),o.plotX=o.prevX=a(o.plotX,t+s*Math.cos(o.index||l*i)),o.plotY=o.prevY=a(o.plotY,e+s*Math.sin(o.index||l*i)),o.dispX=0,o.dispY=0}))},repulsiveForces:function(){var t,e,n,r=this,o=r.options.bubblePadding;r.nodes.forEach((function(i){i.degree=i.mass,i.neighbours=0,r.nodes.forEach((function(a){t=0,i===a||i.fixedPosition||!r.options.seriesInteraction&&i.series!==a.series||(n=r.getDistXY(i,a),0>(e=r.vectorLength(n)-(i.marker.radius+a.marker.radius+o))&&(i.degree+=.01,i.neighbours++,t=r.repulsiveForce(-e/Math.sqrt(i.neighbours),r.k,i,a)),r.force("repulsive",i,t*a.mass,n,a,e))}))}))},applyLimitBox:function(t){if(this.options.splitSeries&&!t.isParentNode&&this.options.parentNodeLimit){var e=this.getDistXY(t,t.series.parentNode),n=t.series.parentNodeRadius-t.marker.radius-this.vectorLength(e);0>n&&n>-2*t.marker.radius&&(t.plotX-=.01*e.x,t.plotY-=.01*e.y)}r.prototype.applyLimitBox.apply(this,arguments)}}),o(t,"beforeRedraw",(function(){this.allDataPoints&&delete this.allDataPoints}))})),e(t,"Series/PackedBubble/PackedBubbleSeries.js",[t["Core/Color/Color.js"],t["Core/Globals.js"],t["Series/PackedBubble/PackedBubblePoint.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o){var i=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=t.parse,s=r.series,l=r.seriesTypes.bubble,c=o.addEvent,u=o.clamp,d=o.defined,f=o.extend,p=o.fireEvent,h=o.isArray,v=o.isNumber,g=o.merge,m=o.pick,b=e.dragNodesMixin;return t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.layout=void 0,e.options=void 0,e.points=void 0,e.xData=void 0,e}return i(n,t),n.prototype.accumulateAllPoints=function(t){var e,n,r=t.chart,o=[];for(e=0;e<r.series.length;e++)if((t=r.series[e]).is("packedbubble")&&t.visible||!r.options.chart.ignoreHiddenSeries)for(n=0;n<t.yData.length;n++)o.push([null,null,t.yData[n],t.index,n,{id:n,marker:{radius:0}}]);return o},n.prototype.addLayout=function(){var t=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,r=this.chart.graphLayoutsLookup,o=this.chart.options.chart;n||(this.chart.graphLayoutsStorage=n={},this.chart.graphLayoutsLookup=r=[]);var i=n[t.type];i||(t.enableSimulation=d(o.forExport)?!o.forExport:t.enableSimulation,n[t.type]=i=new e.layouts[t.type],i.init(t),r.splice(i.index,0,i)),this.layout=i,this.points.forEach((function(t){t.mass=2,t.degree=1,t.collisionNmb=1})),i.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),i.addElementsToCollection([this],i.series),i.addElementsToCollection(this.points,i.nodes)},n.prototype.addSeriesLayout=function(){var t=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,r=this.chart.graphLayoutsLookup,o=g(t,t.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),i=n[t.type+"-series"];i||(n[t.type+"-series"]=i=new e.layouts[t.type],i.init(o),r.splice(i.index,0,i)),this.parentNodeLayout=i,this.createParentNodes()},n.prototype.calculateParentRadius=function(){var t=this.seriesBox();this.parentNodeRadius=u(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,t?Math.max(Math.sqrt(Math.pow(t.width,2)+Math.pow(t.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},n.prototype.calculateZExtremes=function(){var t=this.options.zMin,e=this.options.zMax,n=1/0,r=-1/0;return t&&e?[t,e]:(this.chart.series.forEach((function(t){t.yData.forEach((function(t){d(t)&&(t>r&&(r=t),t<n&&(n=t))}))})),[t=m(t,n),e=m(e,r)])},n.prototype.checkOverlap=function(t,e){var n=t[0]-e[0],r=t[1]-e[1];return-.001>Math.sqrt(n*n+r*r)-Math.abs(t[2]+e[2])},n.prototype.createParentNodes=function(){var t,e=this,n=e.chart,r=e.parentNodeLayout,o=e.parentNode,i=e.pointClass,s=e.layout.options,l={radius:e.parentNodeRadius,lineColor:e.color,fillColor:a(e.color).brighten(.4).get()};s.parentNodeOptions&&(l=g(s.parentNodeOptions.marker||{},l)),e.parentNodeMass=0,e.points.forEach((function(t){e.parentNodeMass+=Math.PI*Math.pow(t.marker.radius,2)})),e.calculateParentRadius(),r.nodes.forEach((function(n){n.seriesIndex===e.index&&(t=!0)})),r.setArea(0,0,n.plotWidth,n.plotHeight),t||(o||(o=(new i).init(this,{mass:e.parentNodeRadius/2,marker:l,dataLabels:{inside:!1},states:{normal:{marker:l},hover:{marker:l}},dataLabelOnNull:!0,degree:e.parentNodeRadius,isParentNode:!0,seriesIndex:e.index})),e.parentNode&&(o.plotX=e.parentNode.plotX,o.plotY=e.parentNode.plotY),e.parentNode=o,r.addElementsToCollection([e],r.series),r.addElementsToCollection([o],r.nodes))},n.prototype.deferLayout=function(){var t=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),t.splitSeries&&this.addSeriesLayout())},n.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach((function(t){t.removeElementFromCollection(this,t.series)}),this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),s.prototype.destroy.apply(this,arguments)},n.prototype.drawDataLabels=function(){var t=this.options.dataLabels.textPath,e=this.points;s.prototype.drawDataLabels.apply(this,arguments),this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,s.prototype.drawDataLabels.apply(this,arguments),this.points=e,this.options.dataLabels.textPath=t)},n.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var t=this.chart,e=this.layout.options.parentNodeOptions.marker,n={fill:e.fillColor||a(this.color).brighten(.4).get(),opacity:e.fillOpacity,stroke:e.lineColor||this.color,"stroke-width":m(e.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,t.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius(),e=g({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},n),this.parentNode.graphic||(this.graph=this.parentNode.graphic=t.renderer.symbol(n.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(e)}},n.prototype.drawTracker=function(){var e=this.parentNode;if(t.prototype.drawTracker.call(this),e){var n=h(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[];e.graphic&&(e.graphic.element.point=e),n.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))}},n.prototype.getPointRadius=function(){var t,e,n,r,o=this,i=o.chart,a=o.options,s=a.useSimulation,l=Math.min(i.plotWidth,i.plotHeight),c={},d=[],f=i.allDataPoints;["minSize","maxSize"].forEach((function(t){var e=parseInt(a[t],10),n=/%$/.test(a[t]);c[t]=n?l*e/100:e*Math.sqrt(f.length)})),i.minRadius=t=c.minSize/Math.sqrt(f.length),i.maxRadius=e=c.maxSize/Math.sqrt(f.length);var p=s?o.calculateZExtremes():[t,e];(f||[]).forEach((function(i,a){n=s?u(i[2],p[0],p[1]):i[2],0===(r=o.getRadius(p[0],p[1],t,e,n))&&(r=null),f[a][2]=r,d.push(r)})),o.radii=d},n.prototype.init=function(){return s.prototype.init.apply(this,arguments),this.eventsToUnbind.push(c(this,"updatedData",(function(){this.chart.series.forEach((function(t){t.type===this.type&&(t.isDirty=!0)}),this)}))),this},n.prototype.onMouseUp=function(t){if(t.fixedPosition&&!t.removed){var e,n=this.layout,r=this.parentNodeLayout;r&&n.options.dragBetweenSeries&&r.nodes.forEach((function(r){t&&t.marker&&r!==t.series.parentNode&&(e=n.getDistXY(t,r),0>n.vectorLength(e)-r.marker.radius-t.marker.radius&&(r.series.addPoint(g(t.options,{plotX:t.plotX,plotY:t.plotY}),!1),n.removeElementFromCollection(t,n.nodes),t.remove()))})),b.onMouseUp.apply(this,arguments)}},n.prototype.placeBubbles=function(t){var e,n=this.checkOverlap,r=this.positionBubble,o=[],i=1,a=0,s=0,l=[];if(t=t.sort((function(t,e){return e[2]-t[2]})),t.length){if(o.push([[0,0,t[0][2],t[0][3],t[0][4]]]),1<t.length)for(o.push([[0,0-t[1][2]-t[0][2],t[1][2],t[1][3],t[1][4]]]),e=2;e<t.length;e++)t[e][2]=t[e][2]||1,n(l=r(o[i][a],o[i-1][s],t[e]),o[i][0])?(o.push([]),s=0,o[i+1].push(r(o[i][a],o[i][0],t[e])),i++,a=0):1<i&&o[i-1][s+1]&&n(l,o[i-1][s+1])?(s++,o[i].push(r(o[i][a],o[i-1][s],t[e])),a++):(a++,o[i].push(l));this.chart.stages=o,this.chart.rawPositions=[].concat.apply([],o),this.resizeRadius(),l=this.chart.rawPositions}return l},n.prototype.pointAttribs=function(t,e){var n=this.options,r=n.marker;return t&&t.isParentNode&&n.layoutAlgorithm&&n.layoutAlgorithm.parentNodeOptions&&(r=n.layoutAlgorithm.parentNodeOptions.marker),n=r.fillOpacity,t=s.prototype.pointAttribs.call(this,t,e),1!==n&&(t["fill-opacity"]=n),t},n.prototype.positionBubble=function(t,e,n){var r=Math.sqrt,o=Math.asin,i=Math.acos,a=Math.pow,s=Math.abs;return r=r(a(t[0]-e[0],2)+a(t[1]-e[1],2)),i=i((a(r,2)+a(n[2]+e[2],2)-a(n[2]+t[2],2))/(2*(n[2]+e[2])*r)),o=o(s(t[0]-e[0])/r),t=(0>t[1]-e[1]?0:Math.PI)+i+o*(0>(t[0]-e[0])*(t[1]-e[1])?1:-1),[e[0]+(e[2]+n[2])*Math.sin(t),e[1]-(e[2]+n[2])*Math.cos(t),n[2],n[3],n[4]]},n.prototype.render=function(){var t=[];s.prototype.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach((function(e){h(e.dataLabels)&&e.dataLabels.forEach((function(e){t.push(e)}))})),this.options.useSimulation&&this.chart.hideOverlappingLabels(t))},n.prototype.resizeRadius=function(){var t,e,n,r=this.chart,o=r.rawPositions,i=Math.min,a=Math.max,s=r.plotLeft,l=r.plotTop,c=r.plotHeight,u=r.plotWidth,d=t=Number.POSITIVE_INFINITY,f=e=Number.NEGATIVE_INFINITY;for(n=0;n<o.length;n++){var p=o[n][2];d=i(d,o[n][0]-p),f=a(f,o[n][0]+p),t=i(t,o[n][1]-p),e=a(e,o[n][1]+p)}if(n=[f-d,e-t],i=i.apply([],[(u-s)/n[0],(c-l)/n[1]]),1e-10<Math.abs(i-1)){for(n=0;n<o.length;n++)o[n][2]*=i;this.placeBubbles(o)}else r.diffY=c/2+l-t-(e-t)/2,r.diffX=u/2+s-d-(f-d)/2},n.prototype.seriesBox=function(){var t,e=this.chart,n=Math.max,r=Math.min,o=[e.plotLeft,e.plotLeft+e.plotWidth,e.plotTop,e.plotTop+e.plotHeight];return this.data.forEach((function(e){d(e.plotX)&&d(e.plotY)&&e.marker.radius&&(t=e.marker.radius,o[0]=r(o[0],e.plotX-t),o[1]=n(o[1],e.plotX+t),o[2]=r(o[2],e.plotY-t),o[3]=n(o[3],e.plotY+t))})),v(o.width/o.height)?o:null},n.prototype.setVisible=function(){var t=this;s.prototype.setVisible.apply(t,arguments),t.parentNodeLayout&&t.graph?t.visible?(t.graph.show(),t.parentNode.dataLabel&&t.parentNode.dataLabel.show()):(t.graph.hide(),t.parentNodeLayout.removeElementFromCollection(t.parentNode,t.parentNodeLayout.nodes),t.parentNode.dataLabel&&t.parentNode.dataLabel.hide()):t.layout&&(t.visible?t.layout.addElementsToCollection(t.points,t.layout.nodes):t.points.forEach((function(e){t.layout.removeElementFromCollection(e,t.layout.nodes)})))},n.prototype.translate=function(){var t,e=this.chart,n=this.data,r=this.index,o=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),d(e.allDataPoints)||(e.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),o)var i=e.allDataPoints;else i=this.placeBubbles(e.allDataPoints),this.options.draggable=!1;for(t=0;t<i.length;t++)if(i[t][3]===r){var a=n[i[t][4]],s=m(i[t][2],void 0);o||(a.plotX=i[t][0]-e.plotLeft+e.diffX,a.plotY=i[t][1]-e.plotTop+e.diffY),v(s)&&(a.marker=f(a.marker,{radius:s,width:2*s,height:2*s}),a.radius=s)}o&&this.deferLayout(),p(this,"afterTranslate")},n.defaultOptions=g(l.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var t=this.series.chart.numberFormatter,e=this.point.value;return v(e)?t(e,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}),n}(l),f(t.prototype,{alignDataLabel:s.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:b.onMouseDown,onMouseMove:b.onMouseMove,pointArrayMap:["value"],pointClass:n,pointValKey:"value",redrawHalo:b.redrawHalo,requireSorting:!1,searchPoint:e.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]}),r.registerSeriesType("packedbubble",t),t})),e(t,"Series/Polygon/PolygonSeries.js",[t["Core/Globals.js"],t["Core/Legend/LegendSymbol.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();t=t.noop;var i=n.series,a=n.seriesTypes,s=a.area,l=a.line,c=a.scatter;a=r.extend;var u=r.merge;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.getGraphPath=function(){for(var t=l.prototype.getGraphPath.call(this),e=t.length+1;e--;)(e===t.length||"M"===t[e][0])&&0<e&&t.splice(e,0,["Z"]);return this.areaPath=t},e.prototype.drawGraph=function(){this.options.fillColor=this.color,s.prototype.drawGraph.call(this)},e.defaultOptions=u(c.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),e}(c),a(r.prototype,{type:"polygon",drawLegendSymbol:e.drawRectangle,drawTracker:i.prototype.drawTracker,setStackedPoints:t}),n.registerSeriesType("polygon",r),r})),e(t,"Core/Axis/WaterfallAxis.js",[t["Extensions/Stacking.js"],t["Core/Utilities.js"]],(function(t,e){var n,r=e.addEvent,o=e.objectEach;return function(e){function n(){var t=this.waterfall.stacks;t&&(t.changed=!1,delete t.alreadyChanged)}function i(){var t=this.options.stackLabels;t&&t.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function a(){for(var t=this.axes,e=this.series,n=e.length;n--;)e[n].options.stacking&&(t.forEach((function(t){t.isXAxis||(t.waterfall.stacks.changed=!0)})),n=0)}function s(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function e(t){this.axis=t,this.stacks={changed:!1}}return e.prototype.renderStackTotals=function(){var e=this.axis,n=e.waterfall.stacks,r=e.stacking&&e.stacking.stackTotalGroup,i=new t(e,e.options.stackLabels,!1,0,void 0);this.dummyStackItem=i,o(n,(function(e){o(e,(function(e){i.total=e.stackTotal,e.label&&(i.label=e.label),t.prototype.render.call(i,r),e.label=i.label,delete i.label}))})),i.total=null},e}();e.Composition=l,e.compose=function(t,e){r(t,"init",s),r(t,"afterBuildStacks",n),r(t,"afterRender",i),r(e,"beforeRedraw",a)}}(n||(n={})),n})),e(t,"Series/Waterfall/WaterfallPoint.js",[t["Series/Column/ColumnSeries.js"],t["Core/Series/Point.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=n.isNumber;return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return r(n,t),n.prototype.getClassName=function(){var t=e.prototype.getClassName.call(this);return this.isSum?t+=" highcharts-sum":this.isIntermediateSum&&(t+=" highcharts-intermediate-sum"),t},n.prototype.isValid=function(){return o(this.y)||this.isSum||!!this.isIntermediateSum},n}(t.prototype.pointClass)})),e(t,"Series/Waterfall/WaterfallSeries.js",[t["Core/Axis/Axis.js"],t["Core/Chart/Chart.js"],t["Core/Series/SeriesRegistry.js"],t["Core/Utilities.js"],t["Core/Axis/WaterfallAxis.js"],t["Series/Waterfall/WaterfallPoint.js"]],(function(t,e,n,r,o,i){var a=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=n.seriesTypes,l=s.column,c=s.line,u=r.arrayMax,d=r.arrayMin,f=r.correctFloat;s=r.extend;var p=r.isNumber,h=r.merge,v=r.objectEach,g=r.pick;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.chart=void 0,e.data=void 0,e.options=void 0,e.points=void 0,e.stackedYNeg=void 0,e.stackedYPos=void 0,e.stackKey=void 0,e.xData=void 0,e.yAxis=void 0,e.yData=void 0,e}return a(e,t),e.prototype.generatePoints=function(){var t;l.prototype.generatePoints.apply(this);var e=0;for(t=this.points.length;e<t;e++){var n=this.points[e],r=this.processedYData[e];(n.isIntermediateSum||n.isSum)&&(n.y=f(r))}},e.prototype.translate=function(){var t=this.options,e=this.yAxis,n=g(t.minPointLength,5),r=n/2,o=t.threshold||0,i=o,a=o;t=t.stacking;var s=e.waterfall.stacks[this.stackKey];l.prototype.translate.apply(this);for(var c=this.points,u=0;u<c.length;u++){var d=c[u],f=this.processedYData[u],h=d.shapeArgs;if(h&&p(f)){var v=[0,f],m=d.y;if(t){if(s){if(v=s[u],"overlap"===t){var b=v.stackState[v.stateIndex--];b=0<=m?b:b-m,Object.hasOwnProperty.call(v,"absolutePos")&&delete v.absolutePos,Object.hasOwnProperty.call(v,"absoluteNeg")&&delete v.absoluteNeg}else 0<=m?(b=v.threshold+v.posTotal,v.posTotal-=m):(b=v.threshold+v.negTotal,v.negTotal-=m,b-=m),!v.posTotal&&Object.hasOwnProperty.call(v,"absolutePos")&&(v.posTotal=v.absolutePos,delete v.absolutePos),!v.negTotal&&Object.hasOwnProperty.call(v,"absoluteNeg")&&(v.negTotal=v.absoluteNeg,delete v.absoluteNeg);d.isSum||(v.connectorThreshold=v.threshold+v.stackTotal),e.reversed?(f=0<=m?b-m:b+m,m=b):(f=b,m=b-m),d.below=f<=o,h.y=e.translate(f,!1,!0,!1,!0),h.height=Math.abs(h.y-e.translate(m,!1,!0,!1,!0)),(m=e.waterfall.dummyStackItem)&&(m.x=u,m.label=s[u].label,m.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[u],this.stackedYPos[u]))}}else b=Math.max(i,i+m)+v[0],h.y=e.translate(b,!1,!0,!1,!0),d.isSum?(h.y=e.translate(v[1],!1,!0,!1,!0),h.height=Math.min(e.translate(v[0],!1,!0,!1,!0),e.len)-h.y,d.below=v[1]<=o):d.isIntermediateSum?(0<=m?(f=v[1]+a,m=a):(f=a,m=v[1]+a),e.reversed&&(f^=m,f^=m^=f),h.y=e.translate(f,!1,!0,!1,!0),h.height=Math.abs(h.y-Math.min(e.translate(m,!1,!0,!1,!0),e.len)),a+=v[1],d.below=f<=o):(h.height=0<f?e.translate(i,!1,!0,!1,!0)-h.y:e.translate(i,!1,!0,!1,!0)-e.translate(i-f,!1,!0,!1,!0),i+=f,d.below=i<o),0>h.height&&(h.y+=h.height,h.height*=-1);d.plotY=h.y=Math.round(h.y||0)-this.borderWidth%2/2,h.height=Math.max(Math.round(h.height||0),.001),d.yBottom=h.y+h.height,h.height<=n&&!d.isNull?(h.height=n,h.y-=r,d.plotY=h.y,d.minPointLengthOffset=0>d.y?-r:r):(d.isNull&&(h.width=0),d.minPointLengthOffset=0),m=d.plotY+(d.negative?h.height:0),d.below&&(d.plotY+=h.height),d.tooltipPos&&(this.chart.inverted?d.tooltipPos[0]=e.len-m:d.tooltipPos[1]=m),d.isInside=this.isPointInside(d)}}},e.prototype.processData=function(e){var n,r,o,i,a,s=this.options,l=this.yData,c=s.data,u=l.length,d=s.threshold||0;for(a=r=n=o=i=0;a<u;a++){var p=l[a],h=c&&c[a]?c[a]:{};"sum"===p||h.isSum?l[a]=f(r):"intermediateSum"===p||h.isIntermediateSum?(l[a]=f(n),n=0):(r+=p,n+=p),o=Math.min(r,o),i=Math.max(r,i)}t.prototype.processData.call(this,e),s.stacking||(this.dataMin=o+d,this.dataMax=i)},e.prototype.toYData=function(t){return t.isSum?"sum":t.isIntermediateSum?"intermediateSum":t.y},e.prototype.updateParallelArrays=function(e,n){t.prototype.updateParallelArrays.call(this,e,n),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},e.prototype.pointAttribs=function(t,e){var n=this.options.upColor;return n&&!t.options.color&&(t.color=0<t.y?n:null),delete(t=l.prototype.pointAttribs.call(this,t,e)).dashstyle,t},e.prototype.getGraphPath=function(){return[["M",0,0]]},e.prototype.getCrispPath=function(){var t,e=this.data,n=this.yAxis,r=e.length,o=Math.round(this.graph.strokeWidth())%2/2,i=Math.round(this.borderWidth)%2/2,a=this.xAxis.reversed,s=this.yAxis.reversed,l=this.options.stacking,c=[];for(t=1;t<r;t++){var u=e[t].shapeArgs,d=e[t-1],f=e[t-1].shapeArgs,p=n.waterfall.stacks[this.stackKey],h=0<d.y?-f.height:0;p&&f&&u&&(p=p[t-1],l?(p=p.connectorThreshold,h=Math.round(n.translate(p,0,1,0,1)+(s?h:0))-o):h=f.y+d.minPointLengthOffset+i-o,c.push(["M",(f.x||0)+(a?0:f.width||0),h],["L",(u.x||0)+(a&&u.width||0),h])),f&&c.length&&(!l&&0>d.y&&!s||0<d.y&&s)&&((d=c[c.length-2])&&"number"===typeof d[2]&&(d[2]+=f.height||0),(d=c[c.length-1])&&"number"===typeof d[2]&&(d[2]+=f.height||0))}return c},e.prototype.drawGraph=function(){c.prototype.drawGraph.call(this),this.graph.attr({d:this.getCrispPath()})},e.prototype.setStackedPoints=function(){function t(t,e,n,r){if(x)for(;n<x;n++)g.stackState[n]+=r;else g.stackState[0]=t,x=g.stackState.length;g.stackState.push(g.stackState[x-1]+e)}var e,n,r,o=this.options,i=this.yAxis.waterfall.stacks,a=o.threshold,s=a||0,l=s,c=this.stackKey,u=this.xData,d=u.length;this.yAxis.stacking.usePercentage=!1;var f=n=r=s;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var p=i.changed;(e=i.alreadyChanged)&&0>e.indexOf(c)&&(p=!0),i[c]||(i[c]={}),e=i[c];for(var h=0;h<d;h++){var v=u[h];e[v]&&!p||(e[v]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:p&&e[v]?e[v].label:void 0});var g=e[v],m=this.yData[h];0<=m?g.posTotal+=m:g.negTotal+=m;var b=o.data[h];v=g.absolutePos=g.posTotal;var y=g.absoluteNeg=g.negTotal;g.stackTotal=v+y;var x=g.stackState.length;b&&b.isIntermediateSum?(t(r,n,0,r),r=n,n=a,s^=l,s^=l^=s):b&&b.isSum?(t(a,f,x),s=a):(t(s,m,0,f),b&&(f+=m,n+=m)),g.stateIndex++,g.threshold=s,s+=g.stackTotal}i.changed=!1,i.alreadyChanged||(i.alreadyChanged=[]),i.alreadyChanged.push(c)}},e.prototype.getExtremes=function(){var t=this.options.stacking;if(t){var e=this.yAxis;e=e.waterfall.stacks;var n=this.stackedYNeg=[],r=this.stackedYPos=[];return v(e[this.stackKey],"overlap"===t?function(t){n.push(d(t.stackState)),r.push(u(t.stackState))}:function(t){n.push(t.negTotal+t.threshold),r.push(t.posTotal+t.threshold)}),{dataMin:d(n),dataMax:u(r)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},e.defaultOptions=h(l.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),e}(l),s(r.prototype,{getZonesGraphs:c.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:i}),n.registerSeriesType("waterfall",r),o.compose(t,e),r})),e(t,"Core/Axis/RadialAxis.js",[t["Core/Axis/AxisDefaults.js"],t["Core/DefaultOptions.js"],t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o,i=e.defaultOptions,a=n.noop,s=r.addEvent,l=r.correctFloat,c=r.defined,u=r.extend,d=r.fireEvent,f=r.merge,p=r.pick,h=r.relativeLength,v=r.wrap;return function(e){function n(){this.autoConnect=this.isCircular&&"undefined"===typeof p(this.userMax,this.options.max)&&l(this.endAngleRad-this.startAngleRad)===l(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function r(){var t=this;return function(){if(t.isRadial&&t.tickPositions&&t.options.labels&&!0!==t.options.labels.allowOverlap)return t.tickPositions.map((function(e){return t.ticks[e]&&t.ticks[e].label})).filter((function(t){return!!t}))}}function o(){return a}function g(t,e,n){var r=this.pane.center,o=t.value;if(this.isCircular){if(c(o))t.point&&(i=t.point.shapeArgs||{}).start&&(o=this.chart.inverted?this.translate(t.point.rectPlotY,!0):t.point.x);else{var i=t.chartX||0,a=t.chartY||0;o=this.translate(Math.atan2(a-n,i-e)-this.startAngleRad,!0)}i=(t=this.getPosition(o)).x,a=t.y}else c(o)||(i=t.chartX,a=t.chartY),c(i)&&c(a)&&(n=r[1]+this.chart.plotTop,o=this.translate(Math.min(Math.sqrt(Math.pow(i-e,2)+Math.pow(a-n,2)),r[2]/2)-r[3]/2,!0));return[o,i||0,a||0]}function m(t,e,n){t=this.pane.center;var r=this.chart,o=this.left||0,i=this.top||0,a=p(e,t[2]/2-this.offset);return"undefined"===typeof n&&(n=this.horiz?0:this.center&&-this.center[3]/2),n&&(a+=n),this.isCircular||"undefined"!==typeof e?((e=this.chart.renderer.symbols.arc(o+t[0],i+t[1],a,a,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[o+t[0]],e.yBounds=[i+t[1]-a]):(e=this.postTranslate(this.angleRad,a),e=[["M",this.center[0]+r.plotLeft,this.center[1]+r.plotTop],["L",e.x,e.y]]),e}function b(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function y(t,e,n){var r=this.chart,o=function(t){if("string"===typeof t){var e=parseInt(t,10);return d.test(t)&&(e=e*s/100),e}return t},i=this.center,a=this.startAngleRad,s=i[2]/2,l=Math.min(this.offset,0),c=this.left||0,u=this.top||0,d=/%$/,f=this.isCircular,h=p(o(n.outerRadius),s),v=o(n.innerRadius);if(o=p(o(n.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:t}).concat(this.getPlotLinePath({value:e,reverse:!0}));else{if(t=Math.max(t,this.min),e=Math.min(e,this.max),t=this.translate(t),e=this.translate(e),f||(h=t||0,v=e||0),"circle"!==n.shape&&f)n=a+(t||0),a+=e||0;else{n=-Math.PI/2,a=1.5*Math.PI;var g=!0}h-=l,l=r.renderer.symbols.arc(c+i[0],u+i[1],h,h,{start:Math.min(n,a),end:Math.max(n,a),innerR:p(v,h-(o-l)),open:g}),f&&(f=(a+n)/2,c=c+i[0]+i[2]/2*Math.cos(f),l.xBounds=f>-Math.PI/2&&f<Math.PI/2?[c,r.plotWidth]:[0,c],l.yBounds=[u+i[1]+i[2]/2*Math.sin(f)],l.yBounds[0]+=f>-Math.PI&&0>f||f>Math.PI?-10:10)}return l}function x(t){var e=this,n=this.pane.center,r=this.chart,o=r.inverted,i=t.reverse,a=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},s=a.innerRadius||"0%",l=a.outerRadius||"100%",c=n[0]+r.plotLeft,u=n[1]+r.plotTop,d=this.height,f=t.isCrosshair;a=n[3]/2;var p,v=t.value,g=this.getPosition(v),m=g.x;if(g=g.y,f&&(v=(g=this.getCrosshairPosition(t,c,u))[0],m=g[1],g=g[2]),this.isCircular)v=Math.sqrt(Math.pow(m-c,2)+Math.pow(g-u,2)),i="string"===typeof s?h(s,1):s/v,r="string"===typeof l?h(l,1):l/v,n&&a&&(i<(a/=v)&&(i=a),r<a&&(r=a)),n=[["M",c+i*(m-c),u-i*(u-g)],["L",m-(1-r)*(m-c),g+(1-r)*(u-g)]];else if((v=this.translate(v))&&(0>v||v>d)&&(v=0),"circle"===this.options.gridLineInterpolation)n=this.getLinePath(0,v,a);else if(n=[],r[o?"yAxis":"xAxis"].forEach((function(t){t.pane===e.pane&&(p=t)})),p)for(c=p.tickPositions,p.autoConnect&&(c=c.concat([c[0]])),i&&(c=c.slice().reverse()),v&&(v+=a),u=0;u<c.length;u++)a=p.getPosition(c[u],v),n.push(u?["L",a.x,a.y]:["M",a.x,a.y]);return n}function w(t,e){return t=this.translate(t),this.postTranslate(this.isCircular?t:this.angleRad,p(this.isCircular?e:0>t?0:t,this.center[2]/2)-this.offset)}function O(){var t=this.center,e=this.chart,n=this.options.title;return{x:e.plotLeft+t[0]+(n.x||0),y:e.plotTop+t[1]-{high:.5,middle:.25,low:0}[n.align]*t[2]+(n.y||0)}}function S(t){t.beforeSetTickPositions=n,t.createLabelCollector=r,t.getCrosshairPosition=g,t.getLinePath=m,t.getOffset=b,t.getPlotBandPath=y,t.getPlotLinePath=x,t.getPosition=w,t.getTitlePosition=O,t.postTranslate=T,t.setAxisSize=R,t.setAxisTranslation=D,t.setOptions=I}function j(){var t=this.chart,e=this.options,n=this.pane,r=n&&n.options;t.angular&&this.isXAxis||!n||!t.angular&&!t.polar||(this.angleRad=(e.angle||0)*Math.PI/180,this.startAngleRad=(r.startAngle-90)*Math.PI/180,this.endAngleRad=(p(r.endAngle,r.startAngle+360)-90)*Math.PI/180,this.offset=e.offset||0)}function C(t){this.isRadial&&(t.align=void 0,t.preventDefault())}function k(){if(this.chart&&this.chart.labelCollectors){var t=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=t&&this.chart.labelCollectors.splice(t,1)}}function E(e){var n,r=this.chart,i=r.inverted,s=r.angular,l=r.polar,c=this.isXAxis,u=this.coll,d=s&&c,p=r.options;e=e.userOptions.pane||0,e=this.pane=r.pane&&r.pane[e],"colorAxis"===u?this.isRadial=!1:(s?(d?(this.isHidden=!0,this.createLabelCollector=o,this.getOffset=a,this.render=this.redraw=A,this.setTitle=this.setCategories=this.setScale=a):S(this),(n=!c)&&(this.defaultPolarOptions=B)):l&&(S(this),this.defaultPolarOptions=(n=this.horiz)?F:f("xAxis"===u?t.defaultXAxisOptions:t.defaultYAxisOptions,z),i&&"yAxis"===u&&(this.defaultPolarOptions.stackLabels=t.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||l?(this.isRadial=!0,p.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&r.labelCollectors.push(this.labelCollector)):this.isRadial=!1,e&&n&&(e.axis=this),this.isCircular=n)}function P(){this.isRadial&&this.beforeSetTickPositions()}function _(t){var e=this.label;if(e){var n=this.axis,r=e.getBBox(),o=n.options.labels,i=(n.translate(this.pos)+n.startAngleRad+Math.PI/2)/Math.PI*180%360,a=Math.round(i),s=c(o.y)?0:.3*-r.height,l=o.y,u=20,d=o.align,f="end",v=0>a?a+360:a,g=v,m=0,b=0;if(n.isRadial){var y=n.getPosition(this.pos,n.center[2]/2+h(p(o.distance,-25),n.center[2]/2,-n.center[2]/2));"auto"===o.rotation?e.attr({rotation:i}):c(l)||(l=n.chart.renderer.fontMetrics(e.styles&&e.styles.fontSize).b-r.height/2),c(d)||(n.isCircular?(r.width>n.len*n.tickInterval/(n.max-n.min)&&(u=0),d=i>u&&i<180-u?"left":i>180+u&&i<360-u?"right":"center"):d="center",e.attr({align:d})),"auto"===d&&2===n.tickPositions.length&&n.isCircular&&(90<v&&180>v?v=180-v:270<v&&360>=v&&(v=540-v),180<g&&360>=g&&(g=360-g),n.pane.options.startAngle!==a&&n.pane.options.startAngle!==a+360&&n.pane.options.startAngle!==a-360||(f="start"),d=-90<=a&&90>=a||-360<=a&&-270>=a||270<=a&&360>=a?"start"===f?"right":"left":"start"===f?"left":"right",70<g&&110>g&&(d="center"),15>v||180<=v&&195>v?m=.3*r.height:15<=v&&35>=v?m="start"===f?0:.75*r.height:195<=v&&215>=v?m="start"===f?.75*r.height:0:35<v&&90>=v?m="start"===f?.25*-r.height:r.height:215<v&&270>=v&&(m="start"===f?r.height:.25*-r.height),15>g?b="start"===f?.15*-r.height:.15*r.height:165<g&&180>=g&&(b="start"===f?.15*r.height:.15*-r.height),e.attr({align:d}),e.translate(b,m+s)),t.pos.x=y.x+(o.x||0),t.pos.y=y.y+(l||0)}}}function M(t){this.axis.getPosition&&u(t.pos,this.axis.getPosition(this.pos))}function T(t,e){var n=this.chart,r=this.center;return t=this.startAngleRad+t,{x:n.plotLeft+r[0]+Math.cos(t)*e,y:n.plotTop+r[1]+Math.sin(t)*e}}function A(){this.isDirty=!1}function R(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var t=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var e=this.postTranslate(this.angleRad,t[3]/2);t[0]=e.x-this.chart.plotLeft,t[1]=e.y-this.chart.plotTop}this.len=this.width=this.height=(t[2]-t[3])*p(this.sector,1)/2}}function D(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function I(t){(t=this.options=f(this.constructor.defaultOptions,this.defaultPolarOptions,i[this.coll],t)).plotBands||(t.plotBands=[]),d(this,"afterSetOptions")}function N(t,e,n,r,o,i,a){var s=this.axis;return e=s.isRadial?["M",e,n,"L",(t=s.getPosition(this.pos,s.center[2]/2+r)).x,t.y]:t.call(this,e,n,r,o,i,a)}var L=[],F={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},B={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},z={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};e.compose=function(t,e){return-1===L.indexOf(t)&&(L.push(t),s(t,"afterInit",j),s(t,"autoLabelAlign",C),s(t,"destroy",k),s(t,"init",E),s(t,"initialAxisTranslation",P)),-1===L.indexOf(e)&&(L.push(e),s(e,"afterGetLabelPosition",_),s(e,"afterGetPosition",M),v(e.prototype,"getMarkPath",N)),t}}(o||(o={})),o})),e(t,"Series/PolarComposition.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Globals.js"],t["Extensions/Pane.js"],t["Core/Axis/RadialAxis.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o){function i(t,e,n,r){var o=r?1:0,a=0<=e&&e<=t.length-1?e:0>e?t.length-1+e:0,s=t[e=0>a-1?t.length-(1+o):a-1];o=t[a+1>t.length-1?o:a+1];var l=s.plotY,c=o.plotX,u=o.plotY;o=t[a].plotX,a=t[a].plotY,s=(1.5*o+s.plotX)/2.5,l=(1.5*a+l)/2.5,c=(1.5*o+c)/2.5;var d=(1.5*a+u)/2.5;u=Math.sqrt(Math.pow(s-o,2)+Math.pow(l-a,2));var f=Math.sqrt(Math.pow(c-o,2)+Math.pow(d-a,2));return s=Math.atan2(l-a,s-o),d=Math.PI/2+(s+Math.atan2(d-a,c-o))/2,Math.abs(s-d)>Math.PI/2&&(d-=Math.PI),s=o+Math.cos(d)*u,l=a+Math.sin(d)*u,o={rightContX:c=o+Math.cos(Math.PI+d)*f,rightContY:d=a+Math.sin(Math.PI+d)*f,leftContX:s,leftContY:l,plotX:o,plotY:a},n&&(o.prevPointCont=i(t,e,!1,r)),o}function a(){(this.pane||[]).forEach((function(t){t.render()}))}function s(){var t=this;this.pane||(this.pane=[]),this.options.pane=S(this.options.pane),this.options.pane.forEach((function(e){new n(e,t)}),this)}function l(){var t=this.chart;t.polar&&(this.polar=new E(this),t.inverted&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0)))}function c(){if(this.chart.polar&&this.xAxis){var t=this.chart;if((this.kdByAngle=t.tooltip&&t.tooltip.shared)?this.searchPoint=this.polar.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(var n=this.points,r=n.length,o=void 0;r--;)o=n[r],this.polar.toXY(o),!t.hasParallelCoordinates&&!this.yAxis.reversed&&o.y<this.yAxis.min&&(o.isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(b(this,"afterRender",(function(){if(t.polar){var n=this.yAxis.pane.center;if(this.clipCircle)this.clipCircle.animate({x:n[0],y:n[1],r:n[2]/2,innerR:n[3]/2});else{var r=t.renderer,o=n[0],i=n[1],a=n[2]/2,s=n[3]/2;n=j();var l=r.createElement("clipPath").attr({id:n}).add(r.defs);(r=s?r.arc(o,i,a,s,0,2*Math.PI).add(l):r.circle(o,i,a).add(l)).id=n,r.clipPath=l,this.clipCircle=r}this.group.clip(this.clipCircle),this.setClip=e.noop}}))))}}function u(t,e){return x(this.pane||[],(function(t){return t.options.id===e}))||t.call(this,e)}function d(t,e,n,r,o,i){var a=this.chart,s=O(r.inside,!!this.options.stacking);a.polar?(t=e.rectPlotX/Math.PI*180,a.inverted?(this.forceDL=a.isInsidePlot(e.plotX,Math.round(e.plotY)),s&&e.shapeArgs?(o=e.shapeArgs,o={x:(o=this.yAxis.postTranslate(((o.start||0)+(o.end||0))/2-this.xAxis.startAngleRad,e.barX+e.pointWidth/2)).x-a.plotLeft,y:o.y-a.plotTop}):e.tooltipPos&&(o={x:e.tooltipPos[0],y:e.tooltipPos[1]}),r.align=O(r.align,"center"),r.verticalAlign=O(r.verticalAlign,"middle")):(null===r.align&&(r.align=20<t&&160>t?"left":200<t&&340>t?"right":"center"),null===r.verticalAlign&&(r.verticalAlign=45>t||315<t?"bottom":135<t&&225>t?"top":"middle")),Object.getPrototypeOf(Object.getPrototypeOf(this)).alignDataLabel.call(this,e,n,r,o,i),this.isRadialBar&&e.shapeArgs&&e.shapeArgs.start===e.shapeArgs.end?n.hide():n.show()):t.call(this,e,n,r,o,i)}function f(t){var e=this.options,n=e.stacking,r=this.chart,i=this.xAxis,a=this.yAxis,s=a.reversed,l=a.center,c=i.startAngleRad,u=i.endAngleRad-c,d=0,f=0,p=0;if(this.preventPostTranslate=!0,t.call(this),i.isRadial){i=(t=this.points).length;var h=a.translate(a.min),v=a.translate(a.max);for(e=e.threshold||0,r.inverted&&w(e)&&(d=a.translate(e),y(d)&&(0>d?d=0:d>u&&(d=u),this.translatedThreshold=d+c));i--;){var g=(e=t[i]).barX,m=e.x,b=e.y;e.shapeType="arc",r.inverted?(e.plotY=a.translate(b),n&&a.stacking?(b=a.stacking.stacks[(0>b?"-":"")+this.stackKey],this.visible&&b&&b[m]&&!e.isNull&&(p=b[m].points[this.getStackIndicator(void 0,m,this.index).key],f=a.translate(p[0]),p=a.translate(p[1]),y(f)&&(f=o.clamp(f,0,u)))):(f=d,p=e.plotY),f>p&&(p=[f,f=p][0]),s?p>h?p=h:f<v?f=v:(f>h||p<v)&&(f=p=u):f<h?f=h:p>v?p=v:(p<h||f>v)&&(f=p=0),a.min>a.max&&(f=p=s?u:0),f+=c,p+=c,l&&(e.barX=g+=l[3]/2),m=Math.max(g,0),b=Math.max(g+e.pointWidth,0),e.shapeArgs={x:l&&l[0],y:l&&l[1],r:b,innerR:m,start:f,end:p},e.opacity=f===p?0:void 0,e.plotY=(y(this.translatedThreshold)&&(f<this.translatedThreshold?f:p))-c):(f=g+c,e.shapeArgs=this.polar.arc(e.yBottom,e.plotY,f,f+e.pointWidth)),this.polar.toXY(e),r.inverted?(g=a.postTranslate(e.rectPlotY,g+e.pointWidth/2),e.tooltipPos=[g.x-r.plotLeft,g.y-r.plotTop]):e.tooltipPos=[e.plotX,e.plotY],l&&(e.ttBelow=e.plotY>l[1])}}}function p(t,e){var n=this;if(this.chart.polar){e=e||this.points;for(var r=0;r<e.length;r++)if(!e[r].isNull){var o=r;break}if(!1!==this.options.connectEnds&&"undefined"!==typeof o){this.connectEnds=!0,e.splice(e.length,0,e[o]);var i=!0}e.forEach((function(t){"undefined"===typeof t.polarPlotY&&n.polar.toXY(t)}))}return o=t.apply(this,[].slice.call(arguments,1)),i&&e.pop(),o}function h(t,e){var n=this.chart,r={xAxis:[],yAxis:[]};return n.polar?n.axes.forEach((function(t){if("colorAxis"!==t.coll){var o=t.isXAxis,i=t.center,a=e.chartX-i[0]-n.plotLeft;i=e.chartY-i[1]-n.plotTop,r[o?"xAxis":"yAxis"].push({axis:t,value:t.translate(o?Math.PI-Math.atan2(a,i):Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),!0)})}})):r=t.call(this,e),r}function v(t,n){var r,o,i,a,s=this,l=this.chart,c=this.group,u=this.markerGroup,d=this.xAxis&&this.xAxis.center,f=l.plotLeft,p=l.plotTop,h=this.options.animation;if(l.polar){if(s.isRadialBar)n||(s.startAngleRad=O(s.translatedThreshold,s.xAxis.startAngleRad),e.seriesTypes.pie.prototype.animate.call(s,n));else if(l.renderer.isSVG)if(h=m(h),s.is("column")){if(!n){var v=d[3]/2;s.points.forEach((function(t){r=t.graphic,i=(o=t.shapeArgs)&&o.r,a=o&&o.innerR,r&&o&&(r.attr({r:v,innerR:v}),r.animate({r:i,innerR:a},s.options.animation))}))}}else n?(t={translateX:d[0]+f,translateY:d[1]+p,scaleX:.001,scaleY:.001},c.attr(t),u&&u.attr(t)):(t={translateX:f,translateY:p,scaleX:1,scaleY:1},c.animate(t,h),u&&u.animate(t,h))}else t.call(this,n)}function g(t,e,n,r){return this.chart.polar?r?(e=(t=i(e,r,!0,this.connectEnds)).prevPointCont&&t.prevPointCont.rightContX,n=t.prevPointCont&&t.prevPointCont.rightContY,t=["C",w(e)?e:t.plotX,w(n)?n:t.plotY,w(t.leftContX)?t.leftContX:t.plotX,w(t.leftContY)?t.leftContY:t.plotY,t.plotX,t.plotY]):t=["M",n.plotX,n.plotY]:t=t.call(this,e,n,r),t}var m=t.animObject,b=o.addEvent,y=o.defined,x=o.find,w=o.isNumber,O=o.pick,S=o.splat,j=o.uniqueKey,C=o.wrap,k=[],E=function(){function t(t){this.series=t}return t.compose=function(t,e,n,o,i,m,y,x,w){r.compose(t,i),-1===k.indexOf(e)&&(k.push(e),b(e,"afterDrawChartBox",a),b(e,"getAxes",s),C(e.prototype,"get",u)),-1===k.indexOf(n)&&(k.push(n),C(n.prototype,"getCoordinates",h)),-1===k.indexOf(o)&&(k.push(o),b(o,"afterInit",l),b(o,"afterTranslate",c,{order:2}),C(o.prototype,"animate",v)),y&&-1===k.indexOf(y)&&(k.push(y),t=y.prototype,C(t,"alignDataLabel",d),C(t,"animate",v),C(t,"translate",f)),x&&-1===k.indexOf(x)&&(k.push(x),C(x.prototype,"getGraphPath",p)),w&&-1===k.indexOf(w)&&(k.push(w),x=w.prototype,C(x,"getPointSpline",g),m&&-1===k.indexOf(m)&&(k.push(m),m.prototype.getPointSpline=x.getPointSpline))},t.prototype.arc=function(t,e,n,r){var o=this.series,i=o.xAxis.center,a=o.yAxis.len,s=i[3]/2;return e=a-e+s,t=a-O(t,a)+s,o.yAxis.reversed&&(0>e&&(e=s),0>t&&(t=s)),{x:i[0],y:i[1],r:e,innerR:t,start:n,end:r}},t.prototype.searchPointByAngle=function(t){var e=this.series,n=e.chart,r=e.xAxis.pane.center;return e.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(t.chartX-r[0]-n.plotLeft,t.chartY-r[1]-n.plotTop)})},t.prototype.toXY=function(t){var e=this.series,n=e.chart,r=e.xAxis,o=e.yAxis,i=t.plotX,a=n.inverted,s=t.y,l=t.plotY,c=a?i:o.len-l;a&&e&&!e.isRadialBar&&(t.plotY=l=w(s)?o.translate(s):0),t.rectPlotX=i,t.rectPlotY=l,o.center&&(c+=o.center[3]/2),w(l)&&(o=a?o.postTranslate(l,c):r.postTranslate(i,c),t.plotX=t.polarPlotX=o.x-n.plotLeft,t.plotY=t.polarPlotY=o.y-n.plotTop),e.kdByAngle?(0>(e=(i/Math.PI*180+r.pane.options.startAngle)%360)&&(e+=360),t.clientX=e):t.clientX=t.plotX},t}();return E})),e(t,"masters/highcharts-more.src.js",[t["Core/Globals.js"],t["Core/Series/SeriesRegistry.js"],t["Series/Bubble/BubbleSeries.js"],t["Series/PolarComposition.js"]],(function(t,e,n,r){n.compose(t.Chart,t.Legend,t.Series),r.compose(t.Axis,t.Chart,t.Pointer,t.Series,t.Tick,e.seriesTypes.areasplinerange,e.seriesTypes.column,e.seriesTypes.line,e.seriesTypes.spline)}))},t.exports?(i.default=i,t.exports=i):(r=[n(21)],void 0===(o=function(t){return i(t),i.Highcharts=t,i}.apply(e,r))||(t.exports=o))},function(t,e,n){"use strict";var r=n(1),o=n.n(r);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function a(t,e){var n;if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"===typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t[Symbol.iterator]()).next.bind(n)}function s(t,e){return t(e={exports:{}},e.exports),e.exports}var l="function"===typeof Symbol&&Symbol.for,c=l?Symbol.for("react.element"):60103,u=l?Symbol.for("react.portal"):60106,d=l?Symbol.for("react.fragment"):60107,f=l?Symbol.for("react.strict_mode"):60108,p=l?Symbol.for("react.profiler"):60114,h=l?Symbol.for("react.provider"):60109,v=l?Symbol.for("react.context"):60110,g=l?Symbol.for("react.async_mode"):60111,m=l?Symbol.for("react.concurrent_mode"):60111,b=l?Symbol.for("react.forward_ref"):60112,y=l?Symbol.for("react.suspense"):60113,x=l?Symbol.for("react.suspense_list"):60120,w=l?Symbol.for("react.memo"):60115,O=l?Symbol.for("react.lazy"):60116,S=l?Symbol.for("react.block"):60121,j=l?Symbol.for("react.fundamental"):60117,C=l?Symbol.for("react.responder"):60118,k=l?Symbol.for("react.scope"):60119;function E(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case c:switch(t=t.type){case g:case m:case d:case p:case f:case y:return t;default:switch(t=t&&t.$$typeof){case v:case b:case O:case w:case h:return t;default:return e}}case u:return e}}}function P(t){return E(t)===m}var _={AsyncMode:g,ConcurrentMode:m,ContextConsumer:v,ContextProvider:h,Element:c,ForwardRef:b,Fragment:d,Lazy:O,Memo:w,Portal:u,Profiler:p,StrictMode:f,Suspense:y,isAsyncMode:function(t){return P(t)||E(t)===g},isConcurrentMode:P,isContextConsumer:function(t){return E(t)===v},isContextProvider:function(t){return E(t)===h},isElement:function(t){return"object"===typeof t&&null!==t&&t.$$typeof===c},isForwardRef:function(t){return E(t)===b},isFragment:function(t){return E(t)===d},isLazy:function(t){return E(t)===O},isMemo:function(t){return E(t)===w},isPortal:function(t){return E(t)===u},isProfiler:function(t){return E(t)===p},isStrictMode:function(t){return E(t)===f},isSuspense:function(t){return E(t)===y},isValidElementType:function(t){return"string"===typeof t||"function"===typeof t||t===d||t===m||t===p||t===f||t===y||t===x||"object"===typeof t&&null!==t&&(t.$$typeof===O||t.$$typeof===w||t.$$typeof===h||t.$$typeof===v||t.$$typeof===b||t.$$typeof===j||t.$$typeof===C||t.$$typeof===k||t.$$typeof===S)},typeOf:E},M=(s((function(t,e){0})),s((function(t){t.exports=_})),Object.getOwnPropertySymbols),T=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable;function R(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(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;var r=Object.getOwnPropertyNames(e).map((function(t){return e[t]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(t){o[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}})()&&Object.assign;var D="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";function I(t,e,n,r,o){}I.resetWarningCache=function(){0};Function.call.bind(Object.prototype.hasOwnProperty);function N(){}function L(){}L.resetWarningCache=N;var F=s((function(t){t.exports=function(){function t(t,e,n,r,o,i){if(i!==D){var a=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 a.name="Invariant Violation",a}}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:L,resetWarningCache:N};return n.PropTypes=n,n}()}));function B(t,e,n){void 0===n&&(n=window);var o=Object(r.useRef)();Object(r.useEffect)((function(){o.current=e}),[e]),Object(r.useEffect)((function(){if(n&&n.addEventListener){var e=function(t){return o.current(t)};return n.addEventListener(t,e),function(){n.removeEventListener(t,e)}}}),[t,n])}var z={"modal-pane":"_3WGgp","modal-content":"_315cL","modal-header":"_19ZDP","modal-body":"_3-4yw",bold:"_o2-tb","align-center":"_2t0S1","button-primary":"_1szgW","button-secondary":"_3t0Wm","show-modal":"_r3Qnu"},H=function(t){for(var e,n=t.intro,i=t.index,s=t.setIndex,l=t.className,c=t.maxLength,u=t.isVisible,d=t.onClose,f=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["intro","index","setIndex","className","maxLength","isVisible","onClose"]),p=function(t){return t>=0&&t<=c-1},h=function(){p(i-1)?s(i-1):g()},v=function(){p(i+1)?s(i+1):g()},g=function(){d(),s(0)},m=a(document.getElementsByTagName("section"));!(e=m()).done;){var b=e.value;document.body.removeChild(b)}var y=Object(r.useCallback)((function(t){var e=(t=t||window.event).keyCode;[38,39].includes(e)?v():[40,37].includes(e)?h():27===e&&g()}));return B("keydown",y),o.a.createElement("div",{className:l+" "+z["modal-pane"]+" "+(u&&z["show-modal"])},o.a.createElement("div",{className:""+z["modal-content"]},o.a.createElement("img",{src:"https://cdn4.iconfinder.com/data/icons/avatar-circle-1-1/72/6-512.png"}),o.a.createElement("div",{className:z["modal-header"]+" "+z["fixed-top"]},o.a.createElement("h4",null),o.a.createElement("p",{onClick:d},"close")),o.a.createElement("div",{className:""+z["modal-body"]},f.children,n?o.a.createElement("div",{className:z["align-center"]},o.a.createElement("button",{className:z["button-primary"],onClick:v},"Yes, show me"),o.a.createElement("button",{className:z["button-secondary"],onClick:g},"Not right now")):i===c-1?o.a.createElement("div",{className:z["align-center"]},o.a.createElement("button",{className:z["button-secondary"],onClick:h},"previous"),o.a.createElement("button",{className:z["button-primary"],onClick:g},"End Tour")):o.a.createElement("div",{className:z["align-center"]},o.a.createElement("button",{className:z["button-secondary"],onClick:h},"previous"),o.a.createElement("button",{className:z["button-primary"],onClick:v},"next")))))};H.propTypes={intro:F.bool.isRequired,index:F.number.isRequired,setIndex:F.func.isRequired,className:F.string,maxLength:F.number.isRequired,isVisible:F.bool.isRequired,onClose:F.func.isRequired},H.defaultProps={isVisible:!1};var V={container:"_ijPnU",tooltipContent:"_2hASn",fadeIn:"_3xW5u",sm:"_88Wrj",md:"_Ks2th",cancel:"_1RyPu",arrow:"_33nJ1",top:"_3QwLY",right:"_37Jt9",left:"_26cC8",center:"_1x_r7",bottom:"_Kl1rb","align-center":"_2Q31f","button-primary":"_1hnkw","button-secondary":"_2rcQQ",exclude:"_zIGqj",overlayZ:"_1WC86"},U=function(t){var e=t&&t.getBoundingClientRect()||[],n=e.width,r=e.height,o=0,i=0,a=0,s=0;if(t.offsetParent)do{o+=t.offsetLeft,a+=t.offsetTop,t=t.offsetParent}while(t);return i=o+n,s=a+r,{left:o=o>=0?o:0,right:i=i>=0?i:0,top:a=a>=0?a:0,bottom:s=s>=0?s:0}},W=n(961),q=function(t){var e=t.index,n=t.setIndex,i=t.selectedData,s=t.maxLength,l=t.title,c=t.isVisible,u=t.onClose,d=Object(r.useRef)(null),f=Object(r.useRef)(null),p=Object(r.useState)(null),h=p[0],v=p[1],g=Object(r.useState)(null),m=g[0],b=g[1],y=Object(r.useState)([null,""]),x=y[0],w=y[1],O=Object(r.useState)(!1),S=O[0],j=O[1];Object(r.useEffect)((function(){if(f.current&&!h){var t=f.current||[],e=t.offsetWidth,n=t.offsetHeight;v({offsetWidth:e,offsetHeight:n})}}),[f]);var C=function(t){return t>=0&&t<=s-1},k=function(){A&&A.style.removeProperty("z-index"),C(e-1)?n(e-1):P()},E=function(){A&&A.style.removeProperty("z-index"),C(e+1)?n(e+1):P()},P=function(){_(),u(),n(0)},_=function(){for(var t,e=a(document.getElementsByTagName("section"));!(t=e()).done;){var n=t.value;document.body.removeChild(n)}A&&(A.style.zIndex=0)},M=function(t){var e=t||[],n=e.width,r=e.height,o=U(A)||[],i=o.top,a=o.left,s=function(){var t=U(A)||[],e=t.left,n=t.right,r=t.bottom,o=t.top,i=document.body,a=i.scrollWidth,s=i.scrollHeight,l=h||[],c=l.offsetWidth,u=l.offsetHeight,d=a<n+c,f=s<r+u,p=e<c,v=o<u;return console.log(d,f,p,v),f?p&&!d||!d?"right":d&&!p?"left":f&&!v?"top":"center":"bottom"}();return[{position:"absolute",background:"transparent",left:a+"px",width:n+"px",height:r+"px",top:i+"px",opacity:1},s]},T=function(t){var e=U(t).top,n=(f.current.getBoundingClientRect()||[]).height,r=parseInt(e-n);(function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)})(t)||window.scrollTo(0,r)},A=i.ref.current,R=Object(r.useCallback)((function(){var t=A&&A.getBoundingClientRect();b(t)}));Object(r.useEffect)((function(){var t,n=document.body,r=document.documentElement,o=Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight);C(e)&&A&&(A.style.zIndex=999,0!==document.getElementsByTagName("section").length||S||((t=document.createElement("section")).style.overflow="scroll",t.style.width=document.body.scrollWidth+"px",t.style.height=o+"px",document.body.prepend(t)),function(){var t=A&&A.getBoundingClientRect();b(t)}())}),[e]);var D=Object(r.useCallback)((function(t){var e=(t=t||window.event).keyCode;[38,39].includes(e)?E():[40,37].includes(e)?k():27===e&&(_(),j(!0),P())}));B("keydown",D),B("resize",R),Object(r.useEffect)((function(){var t=m?M(m):[],e=t[0],n=t[1];w([e,n]),T(A)}),[m]);var I=x[0],N=x[1];return o.a.createElement("div",{className:V.container,"data-testid":"tooltip",ref:d,style:I},o.a.createElement("div",{"data-testid":"tooltip-placeholder"}),c&&o.a.createElement("div",{ref:f,className:V.tooltipContent+" "+V[N],"data-testid":"tooltip-content"},o.a.createElement("div",{className:V.cancel},o.a.createElement("img",{src:W,alt:"cancel",onClick:u})),o.a.createElement("span",{className:V.arrow}),l,o.a.createElement("div",{className:V["align-center"]},o.a.createElement("button",{className:V["button-secondary"],onClick:k},"Prev"),o.a.createElement("button",{className:V["button-primary"],onClick:E},"Next"))))};q.propTypes={index:F.number.isRequired,setIndex:F.func.isRequired,selectedData:F.object.isRequired,maxLength:F.number.isRequired,title:F.object.isRequired,isVisible:F.bool.isRequired,onClose:F.func.isRequired};var G="_3rS0E",Y="_3a-Cs",X="_T5Wmi",K="_9Ojvx",$="_342p1",Z="_2R6VH",Q="_1OmM8",J="_3PCpd",tt="_23QPx",et=function(t){var e=t.index,n=t.setIndex,i=t.maxLength,s=t.title,l=t.isVisible,c=t.onClose,u=Object(r.useRef)(null),d=Object(r.useState)(!1),f=d[0],p=d[1],h=function(t){return t>=0&&t<=i-1},v=function(){h(e-1)?n(e-1):m()},g=function(){h(e+1)?n(e+1):m()},m=function(){b(),c(),n(0)},b=function(){for(var t,e=a(document.getElementsByTagName("section"));!(t=e()).done;){var n=t.value;document.body.removeChild(n)}};Object(r.useEffect)((function(){if(h(e)){var t;0!==document.getElementsByTagName("section").length||f||((t=document.createElement("section")).style.width=document.body.scrollWidth+"px",t.style.height=document.body.scrollHeight+"px",document.body.prepend(t));var n=u&&u.current;n&&y(n)}}),[e,u]);var y=function(t){var e=U(t).top,n=t.offsetHeight;console.log(e,n),function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)}(t)||window.scrollTo(0,e)},x=Object(r.useCallback)((function(t){var e=(t=t||window.event).keyCode;[38,39].includes(e)?(console.log("Forward Keys"),g()):[40,37].includes(e)?(console.log("Back Keys"),v()):27===e&&(console.log("Cancel Keys"),b(),p(!0),m())}));return B("keydown",x),o.a.createElement("div",{className:G,"data-testid":"tooltip",style:{width:"100px",height:"100px",position:"fixed",bottom:0,left:0,zIndex:999}},o.a.createElement("div",{"data-testid":"tooltip-placeholder"},o.a.createElement("img",{className:Y,style:{bottom:window.innerHeight+window.screenY+" px"},src:"https://cdn4.iconfinder.com/data/icons/avatar-circle-1-1/72/6-512.png"})),l&&o.a.createElement("div",{ref:u,className:X+" "+$,"data-testid":"tooltip-content"},o.a.createElement("div",{className:tt},o.a.createElement("img",{src:W,alt:"cancel",onClick:c})),o.a.createElement("span",{className:K}),s,o.a.createElement("div",{className:Z},o.a.createElement("button",{className:J,onClick:v},"Prev"),o.a.createElement("button",{className:Q,onClick:g},"Next"))))};et.propTypes={index:F.number.isRequired,setIndex:F.func.isRequired,maxLength:F.number.isRequired,title:F.object.isRequired,isVisible:F.bool.isRequired,onClose:F.func.isRequired};var nt=function(t){var e=t.story,n=t.isVisible,i=t.onClose,s=t.initialPosition,l=Object(r.useState)(0),c=l[0],u=l[1],d=Object(r.useState)(!1),f=d[0],p=d[1];Object(r.useEffect)((function(){p(n),n||h()}),[n]),Object(r.useEffect)((function(){s&&u(s)}),[s]);var h=function(){for(var t,e=a(document.getElementsByTagName("section"));!(t=e()).done;){var n=t.value;document.body.removeChild(n)}},v=e[c];return f?o.a.createElement("div",null,"modal"===v.component?o.a.createElement(H,{index:c,onClose:i,isVisible:f,setIndex:u,maxLength:e.length,className:v.className,intro:v.intro||!1},v.children):"tooltip"===v.component?o.a.createElement(q,{index:c,selectedData:v,setIndex:u,maxLength:e.length,isVisible:f,className:v.className,onClose:i,title:v.children}):"speech-bubble"===v.component?o.a.createElement(et,{index:c,setIndex:u,maxLength:e.length,className:v.className,isVisible:f,onClose:i,title:v.children}):null):null};nt.propTypes={story:F.array.isRequired,isVisible:F.bool.isRequired,onClose:F.func.isRequired,initialPosition:F.number},nt.defaultProps={isVisible:!1,initialPosition:0},e.a=nt},function(t,e,n){var r=n(962),o=n(963),i=n(192),a=n(59),s=n(325);t.exports=function(t,e,n){var l=a(t)?r:o;return n&&s(t,e,n)&&(e=void 0),l(t,i(e,3))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(1),o=n.n(r),i=n(56),a=n.n(i),s=n(39);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},l(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},c.apply(this,arguments)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 f(t,e){return f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},f(t,e)}function p(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==l(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 v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}var g=function(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&&f(t,e)}(l,t);var e,n,r,i=p(l);function l(){return u(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.r,i=t.className,l=a()("recharts-dot",i);return e===+e&&n===+n&&r===+r?o.a.createElement("circle",c({},Object(s.c)(this.props),Object(s.a)(this.props),{className:l,cx:e,cy:n,r:r})):null}}])&&d(e.prototype,n),r&&d(e,r),l}(r.PureComponent)},function(t,e,n){"use strict";var r=s(n(1001)),o=s(n(1007)),i=s(n(623)),a=s(n(621));function s(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;!function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}r.default=t,n&&n.set(t,r)}(n(1));var o=r(n(45)),i=n(0);function a(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}var s=(0,o.default)((0,i.jsx)("path",{d:"M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z"}),"Twitter");e.default=s},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;!function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}r.default=t,n&&n.set(t,r)}(n(1));var o=r(n(45)),i=n(0);function a(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}var s=(0,o.default)((0,i.jsx)("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram");e.default=s},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(119))},function(t,e,n){"use strict";(function(t){var r=n(95),o=n(683),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.a.Buffer:void 0,l=(s?s.isBuffer:void 0)||o.a;e.a=l}).call(this,n(496)(t))},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"}),"Folder");e.default=a},function(t,e,n){!function(e){"use strict";var n=function(){return{escape:function(t){return t.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1")},parseExtension:t,mimeType:function(e){var n=t(e).toLowerCase();return function(){var t="application/font-woff",e="image/jpeg";return{woff:t,woff2:t,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:e,jpeg:e,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml"}}()[n]||""},dataAsUrl:function(t,e){return"data:"+e+";base64,"+t},isDataUrl:function(t){return-1!==t.search(/^(data:)/)},canvasToBlob:function(t){return t.toBlob?new Promise((function(e){t.toBlob(e)})):function(t){return new Promise((function(e){for(var n=window.atob(t.toDataURL().split(",")[1]),r=n.length,o=new Uint8Array(r),i=0;i<r;i++)o[i]=n.charCodeAt(i);e(new Blob([o],{type:"image/png"}))}))}(t)},resolveUrl:function(t,e){var n=document.implementation.createHTMLDocument(),r=n.createElement("base");n.head.appendChild(r);var o=n.createElement("a");return n.body.appendChild(o),r.href=e,o.href=t,o.href},getAndEncode:function(t){var e=3e4;s.impl.options.cacheBust&&(t+=(/\?/.test(t)?"&":"?")+(new Date).getTime());return new Promise((function(n){var r,o=new XMLHttpRequest;if(o.onreadystatechange=a,o.ontimeout=l,o.responseType="blob",o.timeout=e,o.open("GET",t,!0),o.send(),s.impl.options.imagePlaceholder){var i=s.impl.options.imagePlaceholder.split(/,/);i&&i[1]&&(r=i[1])}function a(){if(4===o.readyState)if(200===o.status){var e=new FileReader;e.onloadend=function(){var t=e.result.split(/,/)[1];n(t)},e.readAsDataURL(o.response)}else r?n(r):c("cannot fetch resource: "+t+", status: "+o.status)}function l(){r?n(r):c("timeout of "+e+"ms occured while fetching resource: "+t)}function c(t){console.error(t),n("")}}))},uid:function(){var t=0;return function(){return"u"+e()+t++;function e(){return("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)}}}(),delay:function(t){return function(e){return new Promise((function(n){setTimeout((function(){n(e)}),t)}))}},asArray:function(t){for(var e=[],n=t.length,r=0;r<n;r++)e.push(t[r]);return e},escapeXhtml:function(t){return t.replace(/#/g,"%23").replace(/\n/g,"%0A")},makeImage:function(t){return new Promise((function(e,n){var r=new Image;r.onload=function(){e(r)},r.onerror=n,r.src=t}))},width:function(t){var n=e(t,"border-left-width"),r=e(t,"border-right-width");return t.scrollWidth+n+r},height:function(t){var n=e(t,"border-top-width"),r=e(t,"border-bottom-width");return t.scrollHeight+n+r}};function t(t){var e=/\.([^\.\/]*?)$/g.exec(t);return e?e[1]:""}function e(t,e){var n=window.getComputedStyle(t).getPropertyValue(e);return parseFloat(n.replace("px",""))}}(),r=function(){var t=/url\(['"]?([^'"]+?)['"]?\)/g;return{inlineAll:function(t,n,i){return a()?Promise.resolve(t):Promise.resolve(t).then(r).then((function(e){var r=Promise.resolve(t);return e.forEach((function(t){r=r.then((function(e){return o(e,t,n,i)}))})),r}));function a(){return!e(t)}},shouldProcess:e,impl:{readUrls:r,inline:o}};function e(e){return-1!==e.search(t)}function r(e){for(var r,o=[];null!==(r=t.exec(e));)o.push(r[1]);return o.filter((function(t){return!n.isDataUrl(t)}))}function o(t,e,r,o){return Promise.resolve(e).then((function(t){return r?n.resolveUrl(t,r):t})).then(o||n.getAndEncode).then((function(t){return n.dataAsUrl(t,n.mimeType(e))})).then((function(r){return t.replace(function(t){return new RegExp("(url\\(['\"]?)("+n.escape(t)+")(['\"]?\\))","g")}(e),"$1"+r+"$3")}))}}(),o=function(){return{resolveAll:function(){return t(document).then((function(t){return Promise.all(t.map((function(t){return t.resolve()})))})).then((function(t){return t.join("\n")}))},impl:{readAll:t}};function t(){return Promise.resolve(n.asArray(document.styleSheets)).then((function(t){var e=[];return t.forEach((function(t){try{n.asArray(t.cssRules||[]).forEach(e.push.bind(e))}catch(r){console.log("Error while reading CSS rules from "+t.href,r.toString())}})),e})).then((function(t){return t.filter((function(t){return t.type===CSSRule.FONT_FACE_RULE})).filter((function(t){return r.shouldProcess(t.style.getPropertyValue("src"))}))})).then((function(e){return e.map(t)}));function t(t){return{resolve:function(){var e=(t.parentStyleSheet||{}).href;return r.inlineAll(t.cssText,e)},src:function(){return t.style.getPropertyValue("src")}}}}}(),i=function(){return{inlineAll:function e(o){return o instanceof Element?i(o).then((function(){return o instanceof HTMLImageElement?t(o).inline():Promise.all(n.asArray(o.childNodes).map((function(t){return e(t)})))})):Promise.resolve(o);function i(t){var e=t.style.getPropertyValue("background");return e?r.inlineAll(e).then((function(e){t.style.setProperty("background",e,t.style.getPropertyPriority("background"))})).then((function(){return t})):Promise.resolve(t)}},impl:{newImage:t}};function t(t){return{inline:function(e){return n.isDataUrl(t.src)?Promise.resolve():Promise.resolve(t.src).then(e||n.getAndEncode).then((function(e){return n.dataAsUrl(e,n.mimeType(t.src))})).then((function(e){return new Promise((function(n,r){t.onload=n,t.onerror=r,t.src=e}))}))}}}}(),a={imagePlaceholder:void 0,cacheBust:!1},s={toSvg:l,toPng:function(t,e){return c(t,e||{}).then((function(t){return t.toDataURL()}))},toJpeg:function(t,e){return c(t,e=e||{}).then((function(t){return t.toDataURL("image/jpeg",e.quality||1)}))},toBlob:function(t,e){return c(t,e||{}).then(n.canvasToBlob)},toPixelData:function(t,e){return c(t,e||{}).then((function(e){return e.getContext("2d").getImageData(0,0,n.width(t),n.height(t)).data}))},impl:{fontFaces:o,images:i,util:n,inliner:r,options:{}}};function l(t,e){return function(t){"undefined"===typeof t.imagePlaceholder?s.impl.options.imagePlaceholder=a.imagePlaceholder:s.impl.options.imagePlaceholder=t.imagePlaceholder;"undefined"===typeof t.cacheBust?s.impl.options.cacheBust=a.cacheBust:s.impl.options.cacheBust=t.cacheBust}(e=e||{}),Promise.resolve(t).then((function(t){return u(t,e.filter,!0)})).then(d).then(f).then((function(t){e.bgcolor&&(t.style.backgroundColor=e.bgcolor);e.width&&(t.style.width=e.width+"px");e.height&&(t.style.height=e.height+"px");e.style&&Object.keys(e.style).forEach((function(n){t.style[n]=e.style[n]}));return t})).then((function(r){return function(t,e,r){return Promise.resolve(t).then((function(t){return t.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),(new XMLSerializer).serializeToString(t)})).then(n.escapeXhtml).then((function(t){return'<foreignObject x="0" y="0" width="100%" height="100%">'+t+"</foreignObject>"})).then((function(t){return'<svg xmlns="http://www.w3.org/2000/svg" width="'+e+'" height="'+r+'">'+t+"</svg>"})).then((function(t){return"data:image/svg+xml;charset=utf-8,"+t}))}(r,e.width||n.width(t),e.height||n.height(t))}))}function c(t,e){return l(t,e).then(n.makeImage).then(n.delay(100)).then((function(r){var o=function(t){var r=document.createElement("canvas");if(r.width=e.width||n.width(t),r.height=e.height||n.height(t),e.bgcolor){var o=r.getContext("2d");o.fillStyle=e.bgcolor,o.fillRect(0,0,r.width,r.height)}return r}(t);return o.getContext("2d").drawImage(r,0,0),o}))}function u(t,e,r){return r||!e||e(t)?Promise.resolve(t).then((function(t){return t instanceof HTMLCanvasElement?n.makeImage(t.toDataURL()):t.cloneNode(!1)})).then((function(r){return function(t,e,r){var o=t.childNodes;return 0===o.length?Promise.resolve(e):i(e,n.asArray(o),r).then((function(){return e}));function i(t,e,n){var r=Promise.resolve();return e.forEach((function(e){r=r.then((function(){return u(e,n)})).then((function(e){e&&t.appendChild(e)}))})),r}}(t,r,e)})).then((function(e){return function(t,e){return e instanceof Element?Promise.resolve().then(r).then(o).then(i).then(a).then((function(){return e})):e;function r(){function r(t,e){function r(t,e){n.asArray(t).forEach((function(n){e.setProperty(n,t.getPropertyValue(n),t.getPropertyPriority(n))}))}t.cssText?e.cssText=t.cssText:r(t,e)}r(window.getComputedStyle(t),e.style)}function o(){function r(r){var o=window.getComputedStyle(t,r),i=o.getPropertyValue("content");if(""!==i&&"none"!==i){var a=n.uid();e.className=e.className+" "+a;var s=document.createElement("style");s.appendChild(l(a,r,o)),e.appendChild(s)}function l(t,e,r){var o="."+t+":"+e,i=r.cssText?a(r):s(r);return document.createTextNode(o+"{"+i+"}");function a(t){var e=t.getPropertyValue("content");return t.cssText+" content: "+e+";"}function s(t){return n.asArray(t).map(e).join("; ")+";";function e(e){return e+": "+t.getPropertyValue(e)+(t.getPropertyPriority(e)?" !important":"")}}}}[":before",":after"].forEach((function(t){r(t)}))}function i(){t instanceof HTMLTextAreaElement&&(e.innerHTML=t.value),t instanceof HTMLInputElement&&e.setAttribute("value",t.value)}function a(){e instanceof SVGElement&&(e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e instanceof SVGRectElement&&["width","height"].forEach((function(t){var n=e.getAttribute(t);n&&e.style.setProperty(t,n)})))}}(t,e)})):Promise.resolve()}function d(t){return o.resolveAll().then((function(e){var n=document.createElement("style");return t.appendChild(n),n.appendChild(document.createTextNode(e)),t}))}function f(t){return i.inlineAll(t).then((function(){return t}))}t.exports=s}()},function(t,e,n){"use strict";n.d(e,"a",(function(){return Bl}));var r=n(5),o=n(4),i=n(47),a=n(1),s=n.n(a),l=n(51),c=n.n(l),u=Object(o.a)().mark(Or);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 f(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function p(t){if("string"===typeof t||"number"===typeof t)return""+t;var e="";if(Array.isArray(t))for(var n,r=0;r<t.length;r++)""!==(n=p(t[r]))&&(e+=(e&&" ")+n);else for(var o in t)t[o]&&(e+=(e&&" ")+o);return e}function h(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var v="function"===typeof Symbol&&Symbol.observable||"@@observable",g=function(){return Math.random().toString(36).substring(7).split("").join(".")},m={INIT:"@@redux/INIT"+g(),REPLACE:"@@redux/REPLACE"+g(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+g()}};function b(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 y(t,e,n){var r;if("function"===typeof e&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(h(0));if("function"===typeof e&&"undefined"===typeof n&&(n=e,e=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(h(1));return n(y)(t,e)}if("function"!==typeof t)throw new Error(h(2));var o=t,i=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(h(3));return i}function d(t){if("function"!==typeof t)throw new Error(h(4));if(l)throw new Error(h(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(h(6));e=!1,c();var n=s.indexOf(t);s.splice(n,1),a=null}}}function f(t){if(!b(t))throw new Error(h(7));if("undefined"===typeof t.type)throw new Error(h(8));if(l)throw new Error(h(9));try{l=!0,i=o(i,t)}finally{l=!1}for(var e=a=s,n=0;n<e.length;n++){(0,e[n])()}return t}function p(t){if("function"!==typeof t)throw new Error(h(10));o=t,f({type:m.REPLACE})}function g(){var t,e=d;return(t={subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(h(11));function n(){t.next&&t.next(u())}return n(),{unsubscribe:e(n)}}})[v]=function(){return this},t}return f({type:m.INIT}),(r={dispatch:f,subscribe:d,getState:u,replaceReducer:p})[v]=g,r}function x(t,e){return function(){return e(t.apply(this,arguments))}}function w(t,e){if("function"===typeof t)return x(t,e);if("object"!==typeof t||null===t)throw new Error(h(16));var n={};for(var r in t){var o=t[r];"function"===typeof o&&(n[r]=x(o,e))}return n}function O(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})})),e}var S={exports:{}},j={exports:{}},C={},k="function"===typeof Symbol&&Symbol.for,E=k?Symbol.for("react.element"):60103,P=k?Symbol.for("react.portal"):60106,_=k?Symbol.for("react.fragment"):60107,M=k?Symbol.for("react.strict_mode"):60108,T=k?Symbol.for("react.profiler"):60114,A=k?Symbol.for("react.provider"):60109,R=k?Symbol.for("react.context"):60110,D=k?Symbol.for("react.async_mode"):60111,I=k?Symbol.for("react.concurrent_mode"):60111,N=k?Symbol.for("react.forward_ref"):60112,L=k?Symbol.for("react.suspense"):60113,F=k?Symbol.for("react.suspense_list"):60120,B=k?Symbol.for("react.memo"):60115,z=k?Symbol.for("react.lazy"):60116,H=k?Symbol.for("react.block"):60121,V=k?Symbol.for("react.fundamental"):60117,U=k?Symbol.for("react.responder"):60118,W=k?Symbol.for("react.scope"):60119;function q(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case E:switch(t=t.type){case D:case I:case _:case T:case M:case L:return t;default:switch(t=t&&t.$$typeof){case R:case N:case z:case B:case A:return t;default:return e}}case P:return e}}}function G(t){return q(t)===I}C.AsyncMode=D,C.ConcurrentMode=I,C.ContextConsumer=R,C.ContextProvider=A,C.Element=E,C.ForwardRef=N,C.Fragment=_,C.Lazy=z,C.Memo=B,C.Portal=P,C.Profiler=T,C.StrictMode=M,C.Suspense=L,C.isAsyncMode=function(t){return G(t)||q(t)===D},C.isConcurrentMode=G,C.isContextConsumer=function(t){return q(t)===R},C.isContextProvider=function(t){return q(t)===A},C.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===E},C.isForwardRef=function(t){return q(t)===N},C.isFragment=function(t){return q(t)===_},C.isLazy=function(t){return q(t)===z},C.isMemo=function(t){return q(t)===B},C.isPortal=function(t){return q(t)===P},C.isProfiler=function(t){return q(t)===T},C.isStrictMode=function(t){return q(t)===M},C.isSuspense=function(t){return q(t)===L},C.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===_||t===I||t===T||t===M||t===L||t===F||"object"===typeof t&&null!==t&&(t.$$typeof===z||t.$$typeof===B||t.$$typeof===A||t.$$typeof===R||t.$$typeof===N||t.$$typeof===V||t.$$typeof===U||t.$$typeof===W||t.$$typeof===H)},C.typeOf=q,j.exports=C;var Y=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;function $(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(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;var r=Object.getOwnPropertyNames(e).map((function(t){return e[t]}));if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(t){o[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}})()&&Object.assign,Function.call.bind(Object.prototype.hasOwnProperty);function Z(t,e,n,r,o){}Z.resetWarningCache=function(){0};j.exports;function Q(){}function J(){}J.resetWarningCache=Q;S.exports=function(){function t(t,e,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=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 a.name="Invariant Violation",a}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:J,resetWarningCache:Q};return n.PropTypes=n,n}();S.exports;var tt=s.a.createContext(null);var et=function(t){t()},nt=function(){return et};var rt={notify:function(){},get:function(){return[]}};function ot(t,e){var n,r=rt;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=e?e.addNestedSub(o):t.subscribe(o),r=function(){var t=nt(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}var a={addNestedSub:function(t){return i(),r.subscribe(t)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=rt)},getListeners:function(){return r}};return a}var it="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?a.useLayoutEffect:a.useEffect;function at(t){var e=t.store,n=t.context,r=t.children,o=Object(a.useMemo)((function(){var t=ot(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),i=Object(a.useMemo)((function(){return e.getState()}),[e]);it((function(){var t=o.subscription;return t.trySubscribe(),i!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[o,i]);var l=n||tt;return s.a.createElement(l.Provider,{value:o},r)}var st=j.exports,lt={};lt[st.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},lt[st.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var ct={},ut=60103,dt=60106,ft=60107,pt=60108,ht=60114,vt=60109,gt=60110,mt=60112,bt=60113,yt=60120,xt=60115,wt=60116,Ot=60121,St=60122,jt=60117,Ct=60129,kt=60131;if("function"===typeof Symbol&&Symbol.for){var Et=Symbol.for;ut=Et("react.element"),dt=Et("react.portal"),ft=Et("react.fragment"),pt=Et("react.strict_mode"),ht=Et("react.profiler"),vt=Et("react.provider"),gt=Et("react.context"),mt=Et("react.forward_ref"),bt=Et("react.suspense"),yt=Et("react.suspense_list"),xt=Et("react.memo"),wt=Et("react.lazy"),Ot=Et("react.block"),St=Et("react.server.block"),jt=Et("react.fundamental"),Ct=Et("react.debug_trace_mode"),kt=Et("react.legacy_hidden")}function Pt(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case ut:switch(t=t.type){case ft:case ht:case pt:case bt:case yt:return t;default:switch(t=t&&t.$$typeof){case gt:case mt:case wt:case xt:case vt:return t;default:return e}}case dt:return e}}}var _t=vt,Mt=ut,Tt=mt,At=ft,Rt=wt,Dt=xt,It=dt,Nt=ht,Lt=pt,Ft=bt;function Bt(){return Object(a.useContext)(tt)}function zt(t){void 0===t&&(t=tt);var e=t===tt?Bt:function(){return Object(a.useContext)(t)};return function(){return e().store}}ct.ContextConsumer=gt,ct.ContextProvider=_t,ct.Element=Mt,ct.ForwardRef=Tt,ct.Fragment=At,ct.Lazy=Rt,ct.Memo=Dt,ct.Portal=It,ct.Profiler=Nt,ct.StrictMode=Lt,ct.Suspense=Ft,ct.isAsyncMode=function(){return!1},ct.isConcurrentMode=function(){return!1},ct.isContextConsumer=function(t){return Pt(t)===gt},ct.isContextProvider=function(t){return Pt(t)===vt},ct.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===ut},ct.isForwardRef=function(t){return Pt(t)===mt},ct.isFragment=function(t){return Pt(t)===ft},ct.isLazy=function(t){return Pt(t)===wt},ct.isMemo=function(t){return Pt(t)===xt},ct.isPortal=function(t){return Pt(t)===dt},ct.isProfiler=function(t){return Pt(t)===ht},ct.isStrictMode=function(t){return Pt(t)===pt},ct.isSuspense=function(t){return Pt(t)===bt},ct.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===ft||t===ht||t===Ct||t===pt||t===bt||t===yt||t===kt||"object"===typeof t&&null!==t&&(t.$$typeof===wt||t.$$typeof===xt||t.$$typeof===vt||t.$$typeof===gt||t.$$typeof===mt||t.$$typeof===jt||t.$$typeof===Ot||t[0]===St)},ct.typeOf=Pt;var Ht=zt();function Vt(t){void 0===t&&(t=tt);var e=t===tt?Ht:zt(t);return function(){return e().dispatch}}var Ut=Vt(),Wt=function(t,e){return t===e};function qt(t){void 0===t&&(t=tt);var e=t===tt?Bt:function(){return Object(a.useContext)(t)};return function(t,n){void 0===n&&(n=Wt);var r=e(),o=function(t,e,n,r){var o,i=Object(a.useReducer)((function(t){return t+1}),0)[1],s=Object(a.useMemo)((function(){return ot(n,r)}),[n,r]),l=Object(a.useRef)(),c=Object(a.useRef)(),u=Object(a.useRef)(),d=Object(a.useRef)(),f=n.getState();try{if(t!==c.current||f!==u.current||l.current){var p=t(f);o=void 0!==d.current&&e(p,d.current)?d.current:p}else o=d.current}catch(h){throw l.current&&(h.message+="\nThe error may be correlated with this previous error:\n"+l.current.stack+"\n\n"),h}return it((function(){c.current=t,u.current=f,d.current=o,l.current=void 0})),it((function(){function t(){try{var t=n.getState();if(t===u.current)return;var r=c.current(t);if(e(r,d.current))return;d.current=r,u.current=t}catch(h){l.current=h}i()}return s.onStateChange=t,s.trySubscribe(),t(),function(){return s.tryUnsubscribe()}}),[n,s]),o}(t,n,r.store,r.subscription);return Object(a.useDebugValue)(o),o}}var Gt,Yt=qt();function Xt(t,e){return{type:t,payload:e}}Gt=l.unstable_batchedUpdates,et=Gt;var Kt="SET_ON_CONNECT",$t="SET_ON_CONNECT_START",Zt="SET_ON_CONNECT_STOP",Qt="SET_ON_CONNECT_END",Jt="SET_ELEMENTS",te="UPDATE_NODE_DIMENSIONS",ee="UPDATE_NODE_POS",ne="UPDATE_NODE_POS_DIFF",re="SET_USER_SELECTION",oe="UPDATE_USER_SELECTION",ie="UNSET_USER_SELECTION",ae="UNSET_NODES_SELECTION",se="SET_SELECTED_ELEMENTS",le="RESET_SELECTED_ELEMENTS",ce="ADD_SELECTED_ELEMENTS",ue="UPDATE_TRANSFORM",de="UPDATE_SIZE",fe="INIT_D3ZOOM",pe="SET_MINZOOM",he="SET_MAXZOOM",ve="SET_TRANSLATEEXTENT",ge="SET_CONNECTION_POSITION",me="SET_CONNECTION_NODEID",be="SET_SNAPTOGRID",ye="SET_SNAPGRID",xe="SET_INTERACTIVE",we="SET_NODES_DRAGGABLE",Oe="SET_NODES_CONNECTABLE",Se="SET_ELEMENTS_SELECTABLE",je="SET_MULTI_SELECTION_ACTIVE",Ce="SET_CONNECTION_MODE",ke="SET_NODE_EXTENT",Ee=Object.freeze({__proto__:null,setOnConnect:function(t){return Xt(Kt,{onConnect:t})},setOnConnectStart:function(t){return Xt($t,{onConnectStart:t})},setOnConnectStop:function(t){return Xt(Zt,{onConnectStop:t})},setOnConnectEnd:function(t){return Xt(Qt,{onConnectEnd:t})},setElements:function(t){return Xt(Jt,t)},updateNodeDimensions:function(t){return Xt(te,t)},updateNodePos:function(t){return Xt(ee,t)},updateNodePosDiff:function(t){return Xt(ne,t)},setUserSelection:function(t){return Xt(re,t)},updateUserSelection:function(t){return Xt(oe,t)},unsetUserSelection:function(){return Xt(ie)},setSelection:function(t){return Xt("SET_SELECTION",{selectionActive:t})},unsetNodesSelection:function(){return Xt(ae,{nodesSelectionActive:!1})},resetSelectedElements:function(){return Xt(le,{selectedElements:null})},setSelectedElements:function(t){return Xt(se,t)},addSelectedElements:function(t){return Xt(ce,t)},updateTransform:function(t){return Xt(ue,{transform:t})},updateSize:function(t){return Xt(de,{width:t.width||500,height:t.height||500})},initD3Zoom:function(t){return Xt(fe,t)},setMinZoom:function(t){return Xt(pe,t)},setMaxZoom:function(t){return Xt(he,t)},setTranslateExtent:function(t){return Xt(ve,t)},setConnectionPosition:function(t){return Xt(ge,{connectionPosition:t})},setConnectionNodeId:function(t){return Xt(me,t)},setSnapToGrid:function(t){return Xt(be,{snapToGrid:t})},setSnapGrid:function(t){return Xt(ye,{snapGrid:t})},setInteractive:function(t){return Xt(xe,{nodesDraggable:t,nodesConnectable:t,elementsSelectable:t})},setNodesDraggable:function(t){return Xt(we,{nodesDraggable:t})},setNodesConnectable:function(t){return Xt(Oe,{nodesConnectable:t})},setElementsSelectable:function(t){return Xt(Se,{elementsSelectable:t})},setMultiSelectionActive:function(t){return Xt(je,{multiSelectionActive:t})},setConnectionMode:function(t){return Xt(Ce,{connectionMode:t})},setNodeExtent:function(t){return Xt(ke,t)}});function Pe(t){var e=Ut(),n=t(Ee);return Object(a.useMemo)((function(){return w(n,e)}),[e,n])}var _e=Yt,Me=function(){return Ht()};function Te(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ae(t,e){if(t){if("string"===typeof t)return Te(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Te(t,e):void 0}}function Re(t){return function(t){if(Array.isArray(t))return Te(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Ae(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function De(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||Ae(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ie=function(t){var e=null===t||void 0===t?void 0:t.target;return["INPUT","SELECT","TEXTAREA","BUTTON"].includes(null===e||void 0===e?void 0:e.nodeName)||(null===e||void 0===e?void 0:e.hasAttribute("contenteditable"))},Ne=function(t){return{width:t.offsetWidth,height:t.offsetHeight}},Le=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)},Fe=function(t,e){return{x:Le(t.x,e[0][0],e[1][0]),y:Le(t.y,e[0][1],e[1][1])}},Be=function(t){var e=De(Object(a.useState)(!1),2),n=e[0],r=e[1];return Object(a.useEffect)((function(){if("undefined"!==typeof t){var e=function(e){Ie(e)||e.key!==t&&e.keyCode!==t||(e.preventDefault(),r(!0))},n=function(e){Ie(e)||e.key!==t&&e.keyCode!==t||r(!1)},o=function(){return r(!1)};return window.addEventListener("keydown",e),window.addEventListener("keyup",n),window.addEventListener("blur",o),function(){window.removeEventListener("keydown",e),window.removeEventListener("keyup",n),window.removeEventListener("blur",o)}}}),[t,r]),n};function ze(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 He(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ze(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ve=function(t){return"id"in t&&"source"in t&&"target"in t},Ue=function(t){return"id"in t&&!("source"in t)&&!("target"in t)},We=function(t,e,n,r){var o=t.x,i=t.y,a=De(e,3),s=a[0],l=a[1],c=a[2],u=De(r,2),d=u[0],f=u[1],p={x:(o-s)/c,y:(i-l)/c};return n?{x:d*Math.round(p.x/d),y:f*Math.round(p.y/f)}:p},qe=function(t){return function(e){var n=t.getState(),r=n.transform,o=n.snapToGrid,i=n.snapGrid;return We(e,r,o,i)}},Ge=function(t,e){var n,r;return He(He({},t),{},{id:t.id.toString(),type:t.type||"default",__rf:{position:Fe(t.position,e),width:(null===(n=t.style)||void 0===n?void 0:n.width)||null,height:(null===(r=t.style)||void 0===r?void 0:r.height)||null,handleBounds:{},isDragging:!1}})},Ye=function(t){return He(He({},t),{},{source:t.source.toString(),target:t.target.toString(),sourceHandle:t.sourceHandle?t.sourceHandle.toString():null,targetHandle:t.targetHandle?t.targetHandle.toString():null,id:t.id.toString(),type:t.type||"default"})},Xe=function(t,e){return{x:Math.min(t.x,e.x),y:Math.min(t.y,e.y),x2:Math.max(t.x2,e.x2),y2:Math.max(t.y2,e.y2)}},Ke=function(t){var e=t.x,n=t.y;return{x:e,y:n,x2:e+t.width,y2:n+t.height}},$e=function(t){var e=t.x,n=t.y;return{x:e,y:n,width:t.x2-e,height:t.y2-n}},Ze=function(t){var e=t.reduce((function(t,e){var n=e.__rf,r=(n=void 0===n?{}:n).position,o=n.width,i=n.height;return Xe(t,Ke(He(He({},r),{},{width:o,height:i})))}),{x:1/0,y:1/0,x2:-1/0,y2:-1/0});return $e(e)},Qe=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0,1],r=De(n,3),o=r[0],i=r[1],a=r[2],s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=Ke({x:(e.x-o)/a,y:(e.y-i)/a,width:e.width/a,height:e.height/a});return t.filter((function(t){var e=t.selectable,n=void 0===e||e,r=t.__rf,o=r.position,i=r.width,a=r.height,u=r.isDragging;if(l&&!n)return!1;var d=Ke(He(He({},o),{},{width:i,height:a})),f=Math.max(0,Math.min(c.x2,d.x2)-Math.max(c.x,d.x)),p=Math.max(0,Math.min(c.y2,d.y2)-Math.max(c.y,d.y)),h=Math.ceil(f*p);return!(null!==i&&null!==a&&!u)||(s?h>0:h>=i*a)}))},Je=function(t,e){var n=t.map((function(t){return t.id}));return e.filter((function(t){return n.includes(t.source)||n.includes(t.target)}))},tn=function(t,e){return[].concat(Re(t.map((function(t){var e=He({},t);return e.position=e.__rf.position,delete e.__rf,e}))),Re(e.map((function(t){return He({},t)}))))},en=function(t){return function(){var e=t.getState(),n=e.nodes,r=void 0===n?[]:n,o=e.edges;return tn(r,void 0===o?[]:o)}},nn=function(t){return function(){var e=t.getState(),n=e.nodes,r=void 0===n?[]:n,o=e.edges,i=void 0===o?[]:o,a=e.transform;return{elements:tn(r,i),position:[a[0],a[1]],zoom:a[2]}}},rn=function(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:.1,a=e/(t.width*(1+i)),s=n/(t.height*(1+i)),l=Math.min(a,s),c=Le(l,r,o),u=t.x+t.width/2,d=t.y+t.height/2,f=e/2-u*c,p=n/2-d*c;return[f,p,c]},on={value:function(){}};function an(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new sn(r)}function sn(t){this._=t}function ln(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function cn(t,e){for(var n,r=0,o=t.length;r<o;++r)if((n=t[r]).name===e)return n.value}function un(t,e,n){for(var r=0,o=t.length;r<o;++r)if(t[r].name===e){t[r]=on,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}sn.prototype=an.prototype={constructor:sn,on:function(t,e){var n,r=this._,o=ln(t+"",r),i=-1,a=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!==typeof e)throw new Error("invalid callback: "+e);for(;++i<a;)if(n=(t=o[i]).type)r[n]=un(r[n],t.name,e);else if(null==e)for(n in r)r[n]=un(r[n],t.name,null);return this}for(;++i<a;)if((n=(t=o[i]).type)&&(n=cn(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new sn(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,o=new Array(n),i=0;i<n;++i)o[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(i=0,n=(r=this._[t]).length;i<n;++i)r[i].value.apply(e,o)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],o=0,i=r.length;o<i;++o)r[o].value.apply(e,n)}};var dn="http://www.w3.org/1999/xhtml",fn={svg:"http://www.w3.org/2000/svg",xhtml:dn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function pn(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),fn.hasOwnProperty(e)?{space:fn[e],local:t}:t}function hn(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===dn&&e.documentElement.namespaceURI===dn?e.createElement(t):e.createElementNS(n,t)}}function vn(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function gn(t){var e=pn(t);return(e.local?vn:hn)(e)}function mn(){}function bn(t){return null==t?mn:function(){return this.querySelector(t)}}function yn(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function xn(){return[]}function wn(t){return null==t?xn:function(){return this.querySelectorAll(t)}}function On(t){return function(){return this.matches(t)}}function Sn(t){return function(e){return e.matches(t)}}var jn=Array.prototype.find;function Cn(){return this.firstElementChild}var kn=Array.prototype.filter;function En(){return Array.from(this.children)}function Pn(t){return new Array(t.length)}function _n(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function Mn(t){return function(){return t}}function Tn(t,e,n,r,o,i){for(var a,s=0,l=e.length,c=i.length;s<c;++s)(a=e[s])?(a.__data__=i[s],r[s]=a):n[s]=new _n(t,i[s]);for(;s<l;++s)(a=e[s])&&(o[s]=a)}function An(t,e,n,r,o,i,a){var s,l,c,u=new Map,d=e.length,f=i.length,p=new Array(d);for(s=0;s<d;++s)(l=e[s])&&(p[s]=c=a.call(l,l.__data__,s,e)+"",u.has(c)?o[s]=l:u.set(c,l));for(s=0;s<f;++s)c=a.call(t,i[s],s,i)+"",(l=u.get(c))?(r[s]=l,l.__data__=i[s],u.delete(c)):n[s]=new _n(t,i[s]);for(s=0;s<d;++s)(l=e[s])&&u.get(p[s])===l&&(o[s]=l)}function Rn(t){return t.__data__}function Dn(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}function In(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Nn(t){return function(){this.removeAttribute(t)}}function Ln(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Fn(t,e){return function(){this.setAttribute(t,e)}}function Bn(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function zn(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Hn(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 Vn(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function Un(t){return function(){this.style.removeProperty(t)}}function Wn(t,e,n){return function(){this.style.setProperty(t,e,n)}}function qn(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Gn(t,e){return t.style.getPropertyValue(e)||Vn(t).getComputedStyle(t,null).getPropertyValue(e)}function Yn(t){return function(){delete this[t]}}function Xn(t,e){return function(){this[t]=e}}function Kn(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function $n(t){return t.trim().split(/^|\s+/)}function Zn(t){return t.classList||new Qn(t)}function Qn(t){this._node=t,this._names=$n(t.getAttribute("class")||"")}function Jn(t,e){for(var n=Zn(t),r=-1,o=e.length;++r<o;)n.add(e[r])}function tr(t,e){for(var n=Zn(t),r=-1,o=e.length;++r<o;)n.remove(e[r])}function er(t){return function(){Jn(this,t)}}function nr(t){return function(){tr(this,t)}}function rr(t,e){return function(){(e.apply(this,arguments)?Jn:tr)(this,t)}}function or(){this.textContent=""}function ir(t){return function(){this.textContent=t}}function ar(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function sr(){this.innerHTML=""}function lr(t){return function(){this.innerHTML=t}}function cr(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function ur(){this.nextSibling&&this.parentNode.appendChild(this)}function dr(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function fr(){return null}function pr(){var t=this.parentNode;t&&t.removeChild(this)}function hr(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function vr(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function gr(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}}))}function mr(t){return function(){var e=this.__on;if(e){for(var n,r=0,o=-1,i=e.length;r<i;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++o]=n:this.removeEventListener(n.type,n.listener,n.options);++o?e.length=o:delete this.__on}}}function br(t,e,n){return function(){var r,o=this.__on,i=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(o)for(var a=0,s=o.length;a<s;++a)if((r=o[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=i,r.options=n),void(r.value=e);this.addEventListener(t.type,i,n),r={type:t.type,name:t.name,value:e,listener:i,options:n},o?o.push(r):this.__on=[r]}}function yr(t,e,n){var r=Vn(t),o=r.CustomEvent;"function"===typeof o?o=new o(e,n):(o=r.document.createEvent("Event"),n?(o.initEvent(e,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(e,!1,!1)),t.dispatchEvent(o)}function xr(t,e){return function(){return yr(this,t,e)}}function wr(t,e){return function(){return yr(this,t,e.apply(this,arguments))}}function Or(){var t,e,n,r,i,a,s;return Object(o.a)().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:t=this._groups,e=0,n=t.length;case 1:if(!(e<n)){o.next=13;break}r=t[e],i=0,a=r.length;case 3:if(!(i<a)){o.next=10;break}if(!(s=r[i])){o.next=7;break}return o.next=7,s;case 7:++i,o.next=3;break;case 10:++e,o.next=1;break;case 13:case"end":return o.stop()}}),u,this)}_n.prototype={constructor:_n,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)}},Qn.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}};var Sr=[null];function jr(t,e){this._groups=t,this._parents=e}function Cr(){return new jr([[document.documentElement]],Sr)}function kr(t){return"string"===typeof t?new jr([[document.querySelector(t)]],[document.documentElement]):new jr([[t]],Sr)}function Er(t,e){if(t=function(t){for(var e;e=t.sourceEvent;)t=e;return t}(t),void 0===e&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,[(r=r.matrixTransform(e.getScreenCTM().inverse())).x,r.y]}if(e.getBoundingClientRect){var o=e.getBoundingClientRect();return[t.clientX-o.left-e.clientLeft,t.clientY-o.top-e.clientTop]}}return[t.pageX,t.pageY]}jr.prototype=Cr.prototype=Object(r.a)({constructor:jr,select:function(t){"function"!==typeof t&&(t=bn(t));for(var e=this._groups,n=e.length,r=new Array(n),o=0;o<n;++o)for(var i,a,s=e[o],l=s.length,c=r[o]=new Array(l),u=0;u<l;++u)(i=s[u])&&(a=t.call(i,i.__data__,u,s))&&("__data__"in i&&(a.__data__=i.__data__),c[u]=a);return new jr(r,this._parents)},selectAll:function(t){t="function"===typeof t?function(t){return function(){return yn(t.apply(this,arguments))}}(t):wn(t);for(var e=this._groups,n=e.length,r=[],o=[],i=0;i<n;++i)for(var a,s=e[i],l=s.length,c=0;c<l;++c)(a=s[c])&&(r.push(t.call(a,a.__data__,c,s)),o.push(a));return new jr(r,o)},selectChild:function(t){return this.select(null==t?Cn:function(t){return function(){return jn.call(this.children,t)}}("function"===typeof t?t:Sn(t)))},selectChildren:function(t){return this.selectAll(null==t?En:function(t){return function(){return kn.call(this.children,t)}}("function"===typeof t?t:Sn(t)))},filter:function(t){"function"!==typeof t&&(t=On(t));for(var e=this._groups,n=e.length,r=new Array(n),o=0;o<n;++o)for(var i,a=e[o],s=a.length,l=r[o]=[],c=0;c<s;++c)(i=a[c])&&t.call(i,i.__data__,c,a)&&l.push(i);return new jr(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,Rn);var n=e?An:Tn,r=this._parents,o=this._groups;"function"!==typeof t&&(t=Mn(t));for(var i=o.length,a=new Array(i),s=new Array(i),l=new Array(i),c=0;c<i;++c){var u=r[c],d=o[c],f=d.length,p=Dn(t.call(u,u&&u.__data__,c,r)),h=p.length,v=s[c]=new Array(h),g=a[c]=new Array(h),m=l[c]=new Array(f);n(u,d,v,g,m,p,e);for(var b,y,x=0,w=0;x<h;++x)if(b=v[x]){for(x>=w&&(w=x+1);!(y=g[w])&&++w<h;);b._next=y||null}}return(a=new jr(a,r))._enter=s,a._exit=l,a},enter:function(){return new jr(this._enter||this._groups.map(Pn),this._parents)},exit:function(){return new jr(this._exit||this._groups.map(Pn),this._parents)},join:function(t,e,n){var r=this.enter(),o=this,i=this.exit();return"function"===typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(o=e(o))&&(o=o.selection()),null==n?i.remove():n(i),r&&o?r.merge(o).order():o},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,o=n.length,i=r.length,a=Math.min(o,i),s=new Array(o),l=0;l<a;++l)for(var c,u=n[l],d=r[l],f=u.length,p=s[l]=new Array(f),h=0;h<f;++h)(c=u[h]||d[h])&&(p[h]=c);for(;l<o;++l)s[l]=n[l];return new jr(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,o=t[e],i=o.length-1,a=o[i];--i>=0;)(r=o[i])&&(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=In);for(var n=this._groups,r=n.length,o=new Array(r),i=0;i<r;++i){for(var a,s=n[i],l=s.length,c=o[i]=new Array(l),u=0;u<l;++u)(a=s[u])&&(c[u]=a);c.sort(e)}return new jr(o,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],o=0,i=r.length;o<i;++o){var a=r[o];if(a)return a}return null},size:function(){var t,e=0,n=Object(i.a)(this);try{for(n.s();!(t=n.n()).done;){t.value;++e}}catch(r){n.e(r)}finally{n.f()}return e},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var o,i=e[n],a=0,s=i.length;a<s;++a)(o=i[a])&&t.call(o,o.__data__,a,i);return this},attr:function(t,e){var n=pn(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?Ln:Nn:"function"===typeof e?n.local?Hn:zn:n.local?Bn:Fn)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?Un:"function"===typeof e?qn:Wn)(t,e,null==n?"":n)):Gn(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Yn:"function"===typeof e?Kn:Xn)(t,e)):this.node()[t]},classed:function(t,e){var n=$n(t+"");if(arguments.length<2){for(var r=Zn(this.node()),o=-1,i=n.length;++o<i;)if(!r.contains(n[o]))return!1;return!0}return this.each(("function"===typeof e?rr:e?er:nr)(n,e))},text:function(t){return arguments.length?this.each(null==t?or:("function"===typeof t?ar:ir)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?sr:("function"===typeof t?cr:lr)(t)):this.node().innerHTML},raise:function(){return this.each(ur)},lower:function(){return this.each(dr)},append:function(t){var e="function"===typeof t?t:gn(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"===typeof t?t:gn(t),r=null==e?fr:"function"===typeof e?e:bn(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(pr)},clone:function(t){return this.select(t?vr:hr)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,o,i=gr(t+""),a=i.length;if(!(arguments.length<2)){for(s=e?br:mr,r=0;r<a;++r)this.each(s(i[r],e,n));return this}var s=this.node().__on;if(s)for(var l,c=0,u=s.length;c<u;++c)for(r=0,l=s[c];r<a;++r)if((o=i[r]).type===l.type&&o.name===l.name)return l.value},dispatch:function(t,e){return this.each(("function"===typeof e?wr:xr)(t,e))}},Symbol.iterator,Or);var Pr={capture:!0,passive:!1};function _r(t){t.preventDefault(),t.stopImmediatePropagation()}function Mr(t){var e=t.document.documentElement,n=kr(t).on("dragstart.drag",_r,Pr);"onselectstart"in e?n.on("selectstart.drag",_r,Pr):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}function Tr(t,e){var n=t.document.documentElement,r=kr(t).on("dragstart.drag",null);e&&(r.on("click.drag",_r,Pr),setTimeout((function(){r.on("click.drag",null)}),0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function Ar(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Rr(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Dr(){}var Ir=.7,Nr=1/Ir,Lr="\\s*([+-]?\\d+)\\s*",Fr="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Br="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",zr=/^#([0-9a-f]{3,8})$/,Hr=new RegExp("^rgb\\("+[Lr,Lr,Lr]+"\\)$"),Vr=new RegExp("^rgb\\("+[Br,Br,Br]+"\\)$"),Ur=new RegExp("^rgba\\("+[Lr,Lr,Lr,Fr]+"\\)$"),Wr=new RegExp("^rgba\\("+[Br,Br,Br,Fr]+"\\)$"),qr=new RegExp("^hsl\\("+[Fr,Br,Br]+"\\)$"),Gr=new RegExp("^hsla\\("+[Fr,Br,Br,Fr]+"\\)$"),Yr={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 Xr(){return this.rgb().formatHex()}function Kr(){return this.rgb().formatRgb()}function $r(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=zr.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Zr(e):3===n?new eo(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Qr(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Qr(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=Hr.exec(t))?new eo(e[1],e[2],e[3],1):(e=Vr.exec(t))?new eo(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ur.exec(t))?Qr(e[1],e[2],e[3],e[4]):(e=Wr.exec(t))?Qr(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=qr.exec(t))?io(e[1],e[2]/100,e[3]/100,1):(e=Gr.exec(t))?io(e[1],e[2]/100,e[3]/100,e[4]):Yr.hasOwnProperty(t)?Zr(Yr[t]):"transparent"===t?new eo(NaN,NaN,NaN,0):null}function Zr(t){return new eo(t>>16&255,t>>8&255,255&t,1)}function Qr(t,e,n,r){return r<=0&&(t=e=n=NaN),new eo(t,e,n,r)}function Jr(t){return t instanceof Dr||(t=$r(t)),t?new eo((t=t.rgb()).r,t.g,t.b,t.opacity):new eo}function to(t,e,n,r){return 1===arguments.length?Jr(t):new eo(t,e,n,null==r?1:r)}function eo(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function no(){return"#"+oo(this.r)+oo(this.g)+oo(this.b)}function ro(){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 oo(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function io(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new so(t,e,n,r)}function ao(t){if(t instanceof so)return new so(t.h,t.s,t.l,t.opacity);if(t instanceof Dr||(t=$r(t)),!t)return new so;if(t instanceof so)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),i=Math.max(e,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=e===i?(n-r)/s+6*(n<r):n===i?(r-e)/s+2:(e-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new so(a,s,l,t.opacity)}function so(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function lo(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Ar(Dr,$r,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Xr,formatHex:Xr,formatHsl:function(){return ao(this).formatHsl()},formatRgb:Kr,toString:Kr}),Ar(eo,to,Rr(Dr,{brighter:function(t){return t=null==t?Nr:Math.pow(Nr,t),new eo(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Ir:Math.pow(Ir,t),new eo(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:no,formatHex:no,formatRgb:ro,toString:ro})),Ar(so,(function(t,e,n,r){return 1===arguments.length?ao(t):new so(t,e,n,null==r?1:r)}),Rr(Dr,{brighter:function(t){return t=null==t?Nr:Math.pow(Nr,t),new so(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ir:Math.pow(Ir,t),new so(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,o=2*n-r;return new eo(lo(t>=240?t-240:t+120,o,r),lo(t,o,r),lo(t<120?t+240:t-120,o,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+")")}}));var co=function(t){return function(){return t}};function uo(t){return 1===(t=+t)?fo: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):co(isNaN(e)?n:e)}}function fo(t,e){var n=e-t;return n?function(t,e){return function(n){return t+n*e}}(t,n):co(isNaN(t)?e:t)}var po=function t(e){var n=uo(e);function r(t,e){var r=n((t=to(t)).r,(e=to(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=fo(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function ho(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var vo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,go=new RegExp(vo.source,"g");function mo(t,e){var n,r,o,i=vo.lastIndex=go.lastIndex=0,a=-1,s=[],l=[];for(t+="",e+="";(n=vo.exec(t))&&(r=go.exec(e));)(o=r.index)>i&&(o=e.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:ho(n,r)})),i=go.lastIndex;return i<e.length&&(o=e.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,r=0;r<e;++r)s[(n=l[r]).i]=n.x(t);return s.join("")})}var bo,yo=180/Math.PI,xo={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function wo(t,e,n,r,o,i){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r<e*n&&(t=-t,e=-e,l=-l,a=-a),{translateX:o,translateY:i,rotate:Math.atan2(e,t)*yo,skewX:Math.atan(l)*yo,scaleX:a,scaleY:s}}function Oo(t,e,n,r){function o(t){return t.length?t.pop()+" ":""}return function(i,a){var s=[],l=[];return i=t(i),a=t(a),function(t,r,o,i,a,s){if(t!==o||r!==i){var l=a.push("translate(",null,e,null,n);s.push({i:l-4,x:ho(t,o)},{i:l-2,x:ho(r,i)})}else(o||i)&&a.push("translate("+o+e+i+n)}(i.translateX,i.translateY,a.translateX,a.translateY,s,l),function(t,e,n,i){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:ho(t,e)})):e&&n.push(o(n)+"rotate("+e+r)}(i.rotate,a.rotate,s,l),function(t,e,n,i){t!==e?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:ho(t,e)}):e&&n.push(o(n)+"skewX("+e+r)}(i.skewX,a.skewX,s,l),function(t,e,n,r,i,a){if(t!==n||e!==r){var s=i.push(o(i)+"scale(",null,",",null,")");a.push({i:s-4,x:ho(t,n)},{i:s-2,x:ho(e,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}(i.scaleX,i.scaleY,a.scaleX,a.scaleY,s,l),i=a=null,function(t){for(var e,n=-1,r=l.length;++n<r;)s[(e=l[n]).i]=e.x(t);return s.join("")}}}var So=Oo((function(t){var e=new("function"===typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?xo:wo(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),jo=Oo((function(t){return null==t?xo:(bo||(bo=document.createElementNS("http://www.w3.org/2000/svg","g")),bo.setAttribute("transform",t),(t=bo.transform.baseVal.consolidate())?wo((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):xo)}),", ",")",")");function Co(t){return((t=Math.exp(t))+1/t)/2}var ko,Eo,Po=function t(e,n,r){function o(t,o){var i,a,s=t[0],l=t[1],c=t[2],u=o[0],d=o[1],f=o[2],p=u-s,h=d-l,v=p*p+h*h;if(v<1e-12)a=Math.log(f/c)/e,i=function(t){return[s+t*p,l+t*h,c*Math.exp(e*t*a)]};else{var g=Math.sqrt(v),m=(f*f-c*c+r*v)/(2*c*n*g),b=(f*f-c*c-r*v)/(2*f*n*g),y=Math.log(Math.sqrt(m*m+1)-m),x=Math.log(Math.sqrt(b*b+1)-b);a=(x-y)/e,i=function(t){var r=t*a,o=Co(y),i=c/(n*g)*(o*function(t){return((t=Math.exp(2*t))-1)/(t+1)}(e*r+y)-function(t){return((t=Math.exp(t))-1/t)/2}(y));return[s+i*p,l+i*h,c*o/Co(e*r+y)]}}return i.duration=1e3*a*e/Math.SQRT2,i}return o.rho=function(e){var n=Math.max(.001,+e),r=n*n;return t(n,r,r*r)},o}(Math.SQRT2,2,4),_o=0,Mo=0,To=0,Ao=0,Ro=0,Do=0,Io="object"===typeof performance&&performance.now?performance:Date,No="object"===typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Lo(){return Ro||(No(Fo),Ro=Io.now()+Do)}function Fo(){Ro=0}function Bo(){this._call=this._time=this._next=null}function zo(t,e,n){var r=new Bo;return r.restart(t,e,n),r}function Ho(){Ro=(Ao=Io.now())+Do,_o=Mo=0;try{!function(){Lo(),++_o;for(var t,e=ko;e;)(t=Ro-e._time)>=0&&e._call.call(void 0,t),e=e._next;--_o}()}finally{_o=0,function(){var t,e,n=ko,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:ko=e);Eo=t,Uo(r)}(),Ro=0}}function Vo(){var t=Io.now(),e=t-Ao;e>1e3&&(Do-=e,Ao=t)}function Uo(t){_o||(Mo&&(Mo=clearTimeout(Mo)),t-Ro>24?(t<1/0&&(Mo=setTimeout(Ho,t-Io.now()-Do)),To&&(To=clearInterval(To))):(To||(Ao=Io.now(),To=setInterval(Vo,1e3)),_o=1,No(Ho)))}function Wo(t,e,n){var r=new Bo;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}Bo.prototype=zo.prototype={constructor:Bo,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?Lo():+n)+(null==e?0:+e),this._next||Eo===this||(Eo?Eo._next=this:ko=this,Eo=this),this._call=t,this._time=n,Uo()},stop:function(){this._call&&(this._call=null,this._time=1/0,Uo())}};var qo=an("start","end","cancel","interrupt"),Go=[];function Yo(t,e,n,r,o,i){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,o=t.__transition;function i(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(i){var c,u,d,f;if(1!==n.state)return l();for(c in o)if((f=o[c]).name===n.name){if(3===f.state)return Wo(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete o[c]):+c<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete o[c])}if(Wo((function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(i))})),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(d=n.tween.length),c=0,u=-1;c<d;++c)(f=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=f);r.length=u+1}}function s(e){for(var o=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=5,1),i=-1,a=r.length;++i<a;)r[i].call(t,o);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var r in n.state=6,n.timer.stop(),delete o[e],o)return;delete t.__transition}o[e]=n,n.timer=zo(i,0,n.time)}(t,n,{name:e,index:r,group:o,on:qo,tween:Go,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:0})}function Xo(t,e){var n=$o(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function Ko(t,e){var n=$o(t,e);if(n.state>3)throw new Error("too late; already running");return n}function $o(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Zo(t,e){var n,r,o,i=t.__transition,a=!0;if(i){for(o in e=null==e?null:e+"",i)(n=i[o]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete i[o]):a=!1;a&&delete t.__transition}}function Qo(t,e){var n,r;return function(){var o=Ko(this,t),i=o.tween;if(i!==n)for(var a=0,s=(r=n=i).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}o.tween=r}}function Jo(t,e,n){var r,o;if("function"!==typeof n)throw new Error;return function(){var i=Ko(this,t),a=i.tween;if(a!==r){o=(r=a).slice();for(var s={name:e,value:n},l=0,c=o.length;l<c;++l)if(o[l].name===e){o[l]=s;break}l===c&&o.push(s)}i.tween=o}}function ti(t,e,n){var r=t._id;return t.each((function(){var t=Ko(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return $o(t,r).value[e]}}function ei(t,e){var n;return("number"===typeof e?ho:e instanceof $r?po:(n=$r(e))?(e=n,po):mo)(t,e)}function ni(t){return function(){this.removeAttribute(t)}}function ri(t){return function(){this.removeAttributeNS(t.space,t.local)}}function oi(t,e,n){var r,o,i=n+"";return function(){var a=this.getAttribute(t);return a===i?null:a===r?o:o=e(r=a,n)}}function ii(t,e,n){var r,o,i=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===i?null:a===r?o:o=e(r=a,n)}}function ai(t,e,n){var r,o,i;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttribute(t))===(s=l+"")?null:a===r&&s===o?i:(o=s,i=e(r=a,l));this.removeAttribute(t)}}function si(t,e,n){var r,o,i;return function(){var a,s,l=n(this);if(null!=l)return(a=this.getAttributeNS(t.space,t.local))===(s=l+"")?null:a===r&&s===o?i:(o=s,i=e(r=a,l));this.removeAttributeNS(t.space,t.local)}}function li(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}function ci(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}function ui(t,e){var n,r;function o(){var o=e.apply(this,arguments);return o!==r&&(n=(r=o)&&ci(t,o)),n}return o._value=e,o}function di(t,e){var n,r;function o(){var o=e.apply(this,arguments);return o!==r&&(n=(r=o)&&li(t,o)),n}return o._value=e,o}function fi(t,e){return function(){Xo(this,t).delay=+e.apply(this,arguments)}}function pi(t,e){return e=+e,function(){Xo(this,t).delay=e}}function hi(t,e){return function(){Ko(this,t).duration=+e.apply(this,arguments)}}function vi(t,e){return e=+e,function(){Ko(this,t).duration=e}}function gi(t,e){if("function"!==typeof e)throw new Error;return function(){Ko(this,t).ease=e}}function mi(t,e,n){var r,o,i=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)?Xo:Ko;return function(){var a=i(this,t),s=a.on;s!==r&&(o=(r=s).copy()).on(e,n),a.on=o}}var bi=Cr.prototype.constructor;function yi(t){return function(){this.style.removeProperty(t)}}function xi(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function wi(t,e,n){var r,o;function i(){var i=e.apply(this,arguments);return i!==o&&(r=(o=i)&&xi(t,i,n)),r}return i._value=e,i}function Oi(t){return function(e){this.textContent=t.call(this,e)}}function Si(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Oi(r)),e}return r._value=t,r}var ji=0;function Ci(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function ki(){return++ji}var Ei=Cr.prototype;Ci.prototype=Object(r.a)({constructor:Ci,select:function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=bn(t));for(var r=this._groups,o=r.length,i=new Array(o),a=0;a<o;++a)for(var s,l,c=r[a],u=c.length,d=i[a]=new Array(u),f=0;f<u;++f)(s=c[f])&&(l=t.call(s,s.__data__,f,c))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,Yo(d[f],e,n,f,d,$o(s,n)));return new Ci(i,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=wn(t));for(var r=this._groups,o=r.length,i=[],a=[],s=0;s<o;++s)for(var l,c=r[s],u=c.length,d=0;d<u;++d)if(l=c[d]){for(var f,p=t.call(l,l.__data__,d,c),h=$o(l,n),v=0,g=p.length;v<g;++v)(f=p[v])&&Yo(f,e,n,v,p,h);i.push(p),a.push(l)}return new Ci(i,a,e,n)},selectChild:Ei.selectChild,selectChildren:Ei.selectChildren,filter:function(t){"function"!==typeof t&&(t=On(t));for(var e=this._groups,n=e.length,r=new Array(n),o=0;o<n;++o)for(var i,a=e[o],s=a.length,l=r[o]=[],c=0;c<s;++c)(i=a[c])&&t.call(i,i.__data__,c,a)&&l.push(i);return new Ci(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,o=n.length,i=Math.min(r,o),a=new Array(r),s=0;s<i;++s)for(var l,c=e[s],u=n[s],d=c.length,f=a[s]=new Array(d),p=0;p<d;++p)(l=c[p]||u[p])&&(f[p]=l);for(;s<r;++s)a[s]=e[s];return new Ci(a,this._parents,this._name,this._id)},selection:function(){return new bi(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=ki(),r=this._groups,o=r.length,i=0;i<o;++i)for(var a,s=r[i],l=s.length,c=0;c<l;++c)if(a=s[c]){var u=$o(a,e);Yo(a,t,n,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new Ci(r,this._parents,t,n)},call:Ei.call,nodes:Ei.nodes,node:Ei.node,size:Ei.size,empty:Ei.empty,each:Ei.each,on:function(t,e){var n=this._id;return arguments.length<2?$o(this.node(),n).on.on(t):this.each(mi(n,t,e))},attr:function(t,e){var n=pn(t),r="transform"===n?jo:ei;return this.attrTween(t,"function"===typeof e?(n.local?si:ai)(n,r,ti(this,"attr."+t,e)):null==e?(n.local?ri:ni)(n):(n.local?ii:oi)(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=pn(t);return this.tween(n,(r.local?ui:di)(r,e))},style:function(t,e,n){var r="transform"===(t+="")?So:ei;return null==e?this.styleTween(t,function(t,e){var n,r,o;return function(){var i=Gn(this,t),a=(this.style.removeProperty(t),Gn(this,t));return i===a?null:i===n&&a===r?o:o=e(n=i,r=a)}}(t,r)).on("end.style."+t,yi(t)):"function"===typeof e?this.styleTween(t,function(t,e,n){var r,o,i;return function(){var a=Gn(this,t),s=n(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=Gn(this,t)),a===l?null:a===r&&l===o?i:(o=l,i=e(r=a,s))}}(t,r,ti(this,"style."+t,e))).each(function(t,e){var n,r,o,i,a="style."+e,s="end."+a;return function(){var l=Ko(this,t),c=l.on,u=null==l.value[a]?i||(i=yi(e)):void 0;c===n&&o===u||(r=(n=c).copy()).on(s,o=u),l.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,o,i=n+"";return function(){var a=Gn(this,t);return a===i?null:a===r?o:o=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,wi(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}}(ti(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!==typeof t)throw new Error;return this.tween(e,Si(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,o=$o(this.node(),n).tween,i=0,a=o.length;i<a;++i)if((r=o[i]).name===t)return r.value;return null}return this.each((null==e?Qo:Jo)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?fi:pi)(e,t)):$o(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"===typeof t?hi:vi)(e,t)):$o(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(gi(e,t)):$o(this.node(),e).ease},easeVarying:function(t){if("function"!==typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!==typeof n)throw new Error;Ko(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,o=n.size();return new Promise((function(i,a){var s={value:a},l={value:function(){0===--o&&i()}};n.each((function(){var n=Ko(this,r),o=n.on;o!==t&&((e=(t=o).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(l)),n.on=e})),0===o&&i()}))}},Symbol.iterator,Ei[Symbol.iterator]);var Pi={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function _i(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error("transition ".concat(e," not found"));return n}Cr.prototype.interrupt=function(t){return this.each((function(){Zo(this,t)}))},Cr.prototype.transition=function(t){var e,n;t instanceof Ci?(e=t._id,t=t._name):(e=ki(),(n=Pi).time=Lo(),t=null==t?null:t+"");for(var r=this._groups,o=r.length,i=0;i<o;++i)for(var a,s=r[i],l=s.length,c=0;c<l;++c)(a=s[c])&&Yo(a,t,e,c,s,n||_i(a,e));return new Ci(r,this._parents,t,e)};var Mi=function(t){return function(){return t}};function Ti(t,e){var n=e.sourceEvent,r=e.target,o=e.transform,i=e.dispatch;Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},transform:{value:o,enumerable:!0,configurable:!0},_:{value:i}})}function Ai(t,e,n){this.k=t,this.x=e,this.y=n}Ai.prototype={constructor:Ai,scale:function(t){return 1===t?this:new Ai(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Ai(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 Ri=new Ai(1,0,0);function Di(t){t.stopImmediatePropagation()}function Ii(t){t.preventDefault(),t.stopImmediatePropagation()}function Ni(t){return(!t.ctrlKey||"wheel"===t.type)&&!t.button}function Li(){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 Fi(){return this.__zoom||Ri}function Bi(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function zi(){return navigator.maxTouchPoints||"ontouchstart"in this}function Hi(t,e,n){var r=t.invertX(e[0][0])-n[0][0],o=t.invertX(e[1][0])-n[1][0],i=t.invertY(e[0][1])-n[0][1],a=t.invertY(e[1][1])-n[1][1];return t.translate(o>r?(r+o)/2:Math.min(0,r)||Math.max(0,o),a>i?(i+a)/2:Math.min(0,i)||Math.max(0,a))}var Vi,Ui,Wi,qi,Gi,Yi;!function(t){t.Left="left",t.Top="top",t.Right="right",t.Bottom="bottom"}(Vi||(Vi={})),function(t){t.Arrow="arrow",t.ArrowClosed="arrowclosed"}(Ui||(Ui={})),function(t){t.Lines="lines",t.Dots="dots"}(Wi||(Wi={})),function(t){t.Strict="strict",t.Loose="loose"}(qi||(qi={})),function(t){t.Bezier="default",t.Straight="straight",t.Step="step",t.SmoothStep="smoothstep"}(Gi||(Gi={})),function(t){t.Free="free",t.Vertical="vertical",t.Horizontal="horizontal"}(Yi||(Yi={}));var Xi=function(t){return{x:t.x,y:t.y,zoom:t.k}},Ki=function(t){return t.target.closest(".nowheel")},$i=function(t){var e=t.onMove,n=t.onMoveStart,r=t.onMoveEnd,o=t.zoomOnScroll,i=void 0===o||o,l=t.zoomOnPinch,c=void 0===l||l,u=t.panOnScroll,d=void 0!==u&&u,f=t.panOnScrollSpeed,p=void 0===f?.5:f,h=t.panOnScrollMode,v=void 0===h?Yi.Free:h,g=t.zoomOnDoubleClick,m=void 0===g||g,b=t.selectionKeyPressed,y=t.elementsSelectable,x=t.paneMoveable,w=void 0===x||x,O=t.defaultPosition,S=void 0===O?[0,0]:O,j=t.defaultZoom,C=void 0===j?1:j,k=t.translateExtent,E=t.zoomActivationKeyCode,P=t.preventScrolling,_=void 0===P||P,M=t.children,T=Object(a.useRef)(null),A=Object(a.useRef)({x:0,y:0,zoom:0}),R=Me(),D=_e((function(t){return t.d3Zoom})),I=_e((function(t){return t.d3Selection})),N=_e((function(t){return t.d3ZoomHandler})),L=Pe((function(t){return t.initD3Zoom})),F=Pe((function(t){return t.updateTransform})),B=Be(E);return function(t){var e=Pe((function(t){return t.updateSize}));Object(a.useEffect)((function(){var n,r=function(){if(t.current){var n=Ne(t.current);0!==n.height&&0!==n.width||console.warn("The React Flow parent container needs a width and a height to render the graph."),e(n)}};return r(),window.onresize=r,t.current&&(n=new ResizeObserver((function(){return r()}))).observe(t.current),function(){window.onresize=null,n&&t.current&&n.unobserve(t.current)}}),[])}(T),Object(a.useEffect)((function(){if(T.current){var t=R.getState(),e="undefined"!==typeof k?k:t.translateExtent,n=function(){var t,e,n,r=Ni,o=Li,i=Hi,a=Bi,s=zi,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],u=250,d=Po,f=an("start","zoom","end"),p=500,h=0,v=10;function g(t){t.property("__zoom",Fi).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",j).on("dblclick.zoom",C).filter(s).on("touchstart.zoom",k).on("touchmove.zoom",E).on("touchend.zoom touchcancel.zoom",P).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function m(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new Ai(e,t.x,t.y)}function b(t,e,n){var r=e[0]-n[0]*t.k,o=e[1]-n[1]*t.k;return r===t.x&&o===t.y?t:new Ai(t.k,r,o)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,e,n,r){t.on("start.zoom",(function(){w(this,arguments).event(r).start()})).on("interrupt.zoom end.zoom",(function(){w(this,arguments).event(r).end()})).tween("zoom",(function(){var t=this,i=arguments,a=w(t,i).event(r),s=o.apply(t,i),l=null==n?y(s):"function"===typeof n?n.apply(t,i):n,c=Math.max(s[1][0]-s[0][0],s[1][1]-s[0][1]),u=t.__zoom,f="function"===typeof e?e.apply(t,i):e,p=d(u.invert(l).concat(c/u.k),f.invert(l).concat(c/f.k));return function(t){if(1===t)t=f;else{var e=p(t),n=c/e[2];t=new Ai(n,l[0]-e[0]*n,l[1]-e[1]*n)}a.zoom(null,t)}}))}function w(t,e,n){return!n&&t.__zooming||new O(t,e)}function O(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=o.apply(t,e),this.taps=0}function S(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];if(r.apply(this,arguments)){var s=w(this,n).event(t),u=this.__zoom,d=Math.max(l[0],Math.min(l[1],u.k*Math.pow(2,a.apply(this,arguments)))),f=Er(t);if(s.wheel)s.mouse[0][0]===f[0]&&s.mouse[0][1]===f[1]||(s.mouse[1]=u.invert(s.mouse[0]=f)),clearTimeout(s.wheel);else{if(u.k===d)return;s.mouse=[f,u.invert(f)],Zo(this),s.start()}Ii(t),s.wheel=setTimeout(p,150),s.zoom("mouse",i(b(m(u,d),s.mouse[0],s.mouse[1]),s.extent,c))}function p(){s.wheel=null,s.end()}}function j(t){for(var e=arguments.length,o=new Array(e>1?e-1:0),a=1;a<e;a++)o[a-1]=arguments[a];if(!n&&r.apply(this,arguments)){var s=t.currentTarget,l=w(this,o,!0).event(t),u=kr(t.view).on("mousemove.zoom",v,!0).on("mouseup.zoom",g,!0),d=Er(t,s),f=t.clientX,p=t.clientY;Mr(t.view),Di(t),l.mouse=[d,this.__zoom.invert(d)],Zo(this),l.start()}function v(t){if(Ii(t),!l.moved){var e=t.clientX-f,n=t.clientY-p;l.moved=e*e+n*n>h}l.event(t).zoom("mouse",i(b(l.that.__zoom,l.mouse[0]=Er(t,s),l.mouse[1]),l.extent,c))}function g(t){u.on("mousemove.zoom mouseup.zoom",null),Tr(t.view,l.moved),Ii(t),l.event(t).end()}}function C(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),a=1;a<e;a++)n[a-1]=arguments[a];if(r.apply(this,arguments)){var s=this.__zoom,l=Er(t.changedTouches?t.changedTouches[0]:t,this),d=s.invert(l),f=s.k*(t.shiftKey?.5:2),p=i(b(m(s,f),l,d),o.apply(this,n),c);Ii(t),u>0?kr(this).transition().duration(u).call(x,p,l,t):kr(this).call(g.transform,p,l,t)}}function k(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];if(r.apply(this,arguments)){var s,l,c,u,d=n.touches,f=d.length,h=w(this,i,n.changedTouches.length===f).event(n);for(Di(n),l=0;l<f;++l)u=[u=Er(c=d[l],this),this.__zoom.invert(u),c.identifier],h.touch0?h.touch1||h.touch0[2]===u[2]||(h.touch1=u,h.taps=0):(h.touch0=u,s=!0,h.taps=1+!!t);t&&(t=clearTimeout(t)),s&&(h.taps<2&&(e=u[0],t=setTimeout((function(){t=null}),p)),Zo(this),h.start())}}function E(t){if(this.__zooming){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o,a,s,l,u=w(this,n).event(t),d=t.changedTouches,f=d.length;for(Ii(t),o=0;o<f;++o)s=Er(a=d[o],this),u.touch0&&u.touch0[2]===a.identifier?u.touch0[0]=s:u.touch1&&u.touch1[2]===a.identifier&&(u.touch1[0]=s);if(a=u.that.__zoom,u.touch1){var p=u.touch0[0],h=u.touch0[1],v=u.touch1[0],g=u.touch1[1],y=(y=v[0]-p[0])*y+(y=v[1]-p[1])*y,x=(x=g[0]-h[0])*x+(x=g[1]-h[1])*x;a=m(a,Math.sqrt(y/x)),s=[(p[0]+v[0])/2,(p[1]+v[1])/2],l=[(h[0]+g[0])/2,(h[1]+g[1])/2]}else{if(!u.touch0)return;s=u.touch0[0],l=u.touch0[1]}u.zoom("touch",i(b(a,s,l),u.extent,c))}}function P(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];if(this.__zooming){var a,s,l=w(this,o).event(t),c=t.changedTouches,u=c.length;for(Di(t),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),a=0;a<u;++a)s=c[a],l.touch0&&l.touch0[2]===s.identifier?delete l.touch0:l.touch1&&l.touch1[2]===s.identifier&&delete l.touch1;if(l.touch1&&!l.touch0&&(l.touch0=l.touch1,delete l.touch1),l.touch0)l.touch0[1]=this.__zoom.invert(l.touch0[0]);else if(l.end(),2===l.taps&&(s=Er(s,this),Math.hypot(e[0]-s[0],e[1]-s[1])<v)){var d=kr(this).on("dblclick.zoom");d&&d.apply(this,arguments)}}}return g.transform=function(t,e,n,r){var o=t.selection?t.selection():t;o.property("__zoom",Fi),t!==o?x(t,e,n,r):o.interrupt().each((function(){w(this,arguments).event(r).start().zoom(null,"function"===typeof e?e.apply(this,arguments):e).end()}))},g.scaleBy=function(t,e,n,r){g.scaleTo(t,(function(){return this.__zoom.k*("function"===typeof e?e.apply(this,arguments):e)}),n,r)},g.scaleTo=function(t,e,n,r){g.transform(t,(function(){var t=o.apply(this,arguments),r=this.__zoom,a=null==n?y(t):"function"===typeof n?n.apply(this,arguments):n,s=r.invert(a),l="function"===typeof e?e.apply(this,arguments):e;return i(b(m(r,l),a,s),t,c)}),n,r)},g.translateBy=function(t,e,n,r){g.transform(t,(function(){return i(this.__zoom.translate("function"===typeof e?e.apply(this,arguments):e,"function"===typeof n?n.apply(this,arguments):n),o.apply(this,arguments),c)}),null,r)},g.translateTo=function(t,e,n,r,a){g.transform(t,(function(){var t=o.apply(this,arguments),a=this.__zoom,s=null==r?y(t):"function"===typeof r?r.apply(this,arguments):r;return i(Ri.translate(s[0],s[1]).scale(a.k).translate("function"===typeof e?-e.apply(this,arguments):-e,"function"===typeof n?-n.apply(this,arguments):-n),t,c)}),r,a)},O.prototype={event:function(t){return t&&(this.sourceEvent=t),this},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){var e=kr(this.that).datum();f.call(t,this.that,new Ti(t,{sourceEvent:this.sourceEvent,target:g,type:t,transform:this.that.__zoom,dispatch:f}),e)}},g.wheelDelta=function(t){return arguments.length?(a="function"===typeof t?t:Mi(+t),g):a},g.filter=function(t){return arguments.length?(r="function"===typeof t?t:Mi(!!t),g):r},g.touchable=function(t){return arguments.length?(s="function"===typeof t?t:Mi(!!t),g):s},g.extent=function(t){return arguments.length?(o="function"===typeof t?t:Mi([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),g):o},g.scaleExtent=function(t){return arguments.length?(l[0]=+t[0],l[1]=+t[1],g):[l[0],l[1]]},g.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],g):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},g.constrain=function(t){return arguments.length?(i=t,g):i},g.duration=function(t){return arguments.length?(u=+t,g):u},g.interpolate=function(t){return arguments.length?(d=t,g):d},g.on=function(){var t=f.on.apply(f,arguments);return t===f?g:t},g.clickDistance=function(t){return arguments.length?(h=(t=+t)*t,g):Math.sqrt(h)},g.tapDistance=function(t){return arguments.length?(v=+t,g):v},g}().scaleExtent([t.minZoom,t.maxZoom]).translateExtent(e),r=kr(T.current).call(n),o=Le(S[0],e[0][0],e[1][0]),i=Le(S[1],e[0][1],e[1][1]),a=Le(C,t.minZoom,t.maxZoom),s=Ri.translate(o,i).scale(a);n.transform(r,s),L({d3Zoom:n,d3Selection:r,d3ZoomHandler:r.on("wheel.zoom"),transform:[o,i,a]})}}),[]),Object(a.useEffect)((function(){I&&D&&(d&&!B?I.on("wheel",(function(t){if(Ki(t))return!1;t.preventDefault(),t.stopImmediatePropagation();var e=I.property("__zoom").k||1;if(t.ctrlKey&&c){var n=Er(t),r=-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*10,o=e*Math.pow(2,r);D.scaleTo(I,o,n)}else{var i=1===t.deltaMode?20:1,a=v===Yi.Vertical?0:t.deltaX*i,s=v===Yi.Horizontal?0:t.deltaY*i;D.translateBy(I,-a/e*p,-s/e*p)}})).on("wheel.zoom",null):"undefined"!==typeof N&&I.on("wheel",(function(t){if(!_||Ki(t))return null;t.preventDefault()})).on("wheel.zoom",N))}),[d,v,I,D,N,B,c,_]),Object(a.useEffect)((function(){D&&(b?D.on("zoom",null):D.on("zoom",(function(t){if(F([t.transform.x,t.transform.y,t.transform.k]),e){var n=Xi(t.transform);e(n)}})))}),[b,D,F,e]),Object(a.useEffect)((function(){D&&(n?D.on("start",(function(t){var e=Xi(t.transform);A.current=e,n(e)})):D.on("start",null))}),[D,n]),Object(a.useEffect)((function(){D&&(r?D.on("end",(function(t){if(function(t,e){return t.x!==e.x||t.y!==e.y||t.zoom!==e.k}(A.current,t.transform)){var e=Xi(t.transform);A.current=e,r(e)}})):D.on("end",null))}),[D,r]),Object(a.useEffect)((function(){D&&D.filter((function(t){var e=B||i,n=c&&t.ctrlKey;return!!(w||e||d||m||c)&&(!b&&(!(!m&&"dblclick"===t.type)&&((!Ki(t)||"wheel"!==t.type)&&((!t.target.closest(".react-flow__node")&&!t.target.closest(".react-flow__edge")||"wheel"===t.type)&&((!t.target.closest(".react-flow__nodesselection")||"wheel"===t.type)&&(!(!c&&t.ctrlKey&&"wheel"===t.type)&&(!!(e||d||n||"wheel"!==t.type)&&(!!(w||"mousedown"!==t.type&&"touchstart"!==t.type)&&((!t.ctrlKey||"wheel"===t.type)&&!t.button)))))))))}))}),[D,i,c,d,m,w,b,y,B]),s.a.createElement("div",{className:"react-flow__renderer react-flow__zoompane",ref:T},M)};function Zi(t){var e=t.target.closest(".react-flow");if(e){var n=e.getBoundingClientRect();return{x:t.clientX-n.left,y:t.clientY-n.top}}}var Qi=function(){var t=_e((function(t){return t.userSelectionRect}));return t.draw?s.a.createElement("div",{className:"react-flow__selection",style:{width:t.width,height:t.height,transform:"translate(".concat(t.x,"px, ").concat(t.y,"px)")}}):null},Ji=Object(a.memo)((function(t){var e=t.selectionKeyPressed,n=_e((function(t){return t.selectionActive})),r=_e((function(t){return t.elementsSelectable})),o=Pe((function(t){return t.setUserSelection})),i=Pe((function(t){return t.updateUserSelection})),a=Pe((function(t){return t.unsetUserSelection})),l=Pe((function(t){return t.unsetNodesSelection}));if(!r||!(n||e))return null;return s.a.createElement("div",{className:"react-flow__selectionpane",onMouseDown:function(t){var e=Zi(t);e&&o(e)},onMouseMove:function(t){if(e&&n){var r=Zi(t);r&&i(r)}},onMouseUp:function(){return a()},onMouseLeave:function(){a(),l()}},s.a.createElement(Qi,null))})),ta={exports:{}},ea={};function na(t){var e,n,r="";if("string"===typeof t||"number"===typeof t)r+=t;else if("object"===typeof t)if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=na(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}var ra=Object.freeze({__proto__:null,default:function(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=na(t))&&(r&&(r+=" "),r+=e);return r}}),oa=O(ra),ia={},aa={};Object.defineProperty(aa,"__esModule",{value:!0}),aa.findInArray=function(t,e){for(var n=0,r=t.length;n<r;n++)if(e.apply(e,[t[n],n,t]))return t[n]},aa.isFunction=function(t){return"function"===typeof t||"[object Function]"===Object.prototype.toString.call(t)},aa.isNum=function(t){return"number"===typeof t&&!isNaN(t)},aa.int=function(t){return parseInt(t,10)},aa.dontSetMe=function(t,e,n){if(t[e])return new Error("Invalid prop ".concat(e," passed to ").concat(n," - do not set this, set it on the child."))};var sa={};Object.defineProperty(sa,"__esModule",{value:!0}),sa.getPrefix=ca,sa.browserPrefixToKey=ua,sa.browserPrefixToStyle=function(t,e){return e?"-".concat(e.toLowerCase(),"-").concat(t):t},sa.default=void 0;var la=["Moz","Webkit","O","ms"];function ca(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"===typeof window)return"";var r=null===(t=window.document)||void 0===t||null===(e=t.documentElement)||void 0===e?void 0:e.style;if(!r)return"";if(n in r)return"";for(var o=0;o<la.length;o++)if(ua(n,la[o])in r)return la[o];return""}function ua(t,e){return e?"".concat(e).concat(function(t){for(var e="",n=!0,r=0;r<t.length;r++)n?(e+=t[r].toUpperCase(),n=!1):"-"===t[r]?n=!0:e+=t[r];return e}(t)):t}var da=ca();function fa(t){return fa="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},fa(t)}sa.default=da,Object.defineProperty(ia,"__esModule",{value:!0}),ia.matchesSelector=xa,ia.matchesSelectorAndParentsTo=function(t,e,n){var r=t;do{if(xa(r,e))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},ia.addEvent=function(t,e,n,r){if(!t)return;var o=ma({capture:!0},r);t.addEventListener?t.addEventListener(e,n,o):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},ia.removeEvent=function(t,e,n,r){if(!t)return;var o=ma({capture:!0},r);t.removeEventListener?t.removeEventListener(e,n,o):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null},ia.outerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,pa.int)(n.borderTopWidth),e+=(0,pa.int)(n.borderBottomWidth)},ia.outerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,pa.int)(n.borderLeftWidth),e+=(0,pa.int)(n.borderRightWidth)},ia.innerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,pa.int)(n.paddingTop),e-=(0,pa.int)(n.paddingBottom)},ia.innerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,pa.int)(n.paddingLeft),e-=(0,pa.int)(n.paddingRight)},ia.offsetXYFromParent=function(t,e,n){var r=e===e.ownerDocument.body?{left:0,top:0}:e.getBoundingClientRect(),o=(t.clientX+e.scrollLeft-r.left)/n,i=(t.clientY+e.scrollTop-r.top)/n;return{x:o,y:i}},ia.createCSSTransform=function(t,e){var n=wa(t,e,"px");return ba({},(0,ha.browserPrefixToKey)("transform",ha.default),n)},ia.createSVGTransform=function(t,e){return wa(t,e,"")},ia.getTranslation=wa,ia.getTouch=function(t,e){return t.targetTouches&&(0,pa.findInArray)(t.targetTouches,(function(t){return e===t.identifier}))||t.changedTouches&&(0,pa.findInArray)(t.changedTouches,(function(t){return e===t.identifier}))},ia.getTouchIdentifier=function(t){if(t.targetTouches&&t.targetTouches[0])return t.targetTouches[0].identifier;if(t.changedTouches&&t.changedTouches[0])return t.changedTouches[0].identifier},ia.addUserSelectStyles=function(t){if(!t)return;var e=t.getElementById("react-draggable-style-el");e||((e=t.createElement("style")).type="text/css",e.id="react-draggable-style-el",e.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",e.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",t.getElementsByTagName("head")[0].appendChild(e));t.body&&Oa(t.body,"react-draggable-transparent-selection")},ia.removeUserSelectStyles=function(t){if(!t)return;try{if(t.body&&Sa(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{var e=(t.defaultView||window).getSelection();e&&"Caret"!==e.type&&e.removeAllRanges()}}catch(pt){}},ia.addClassName=Oa,ia.removeClassName=Sa;var pa=aa,ha=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==fa(t)&&"function"!==typeof t)return{default:t};var n=va(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var a=o?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=t[i]}r.default=t,n&&n.set(t,r);return r}(sa);function va(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(va=function(t){return t?n:e})(t)}function ga(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 ma(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ga(Object(n),!0).forEach((function(e){ba(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ga(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ba(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ya="";function xa(t,e){return ya||(ya=(0,pa.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(e){return(0,pa.isFunction)(t[e])}))),!!(0,pa.isFunction)(t[ya])&&t[ya](e)}function wa(t,e,n){var r=t.x,o=t.y,i="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(e){var a="".concat("string"===typeof e.x?e.x:e.x+n),s="".concat("string"===typeof e.y?e.y:e.y+n);i="translate(".concat(a,", ").concat(s,")")+i}return i}function Oa(t,e){t.classList?t.classList.add(e):t.className.match(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)")))||(t.className+=" ".concat(e))}function Sa(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g"),"")}var ja={};Object.defineProperty(ja,"__esModule",{value:!0}),ja.getBoundPosition=function(t,e,n){if(!t.props.bounds)return[e,n];var r=t.props.bounds;r="string"===typeof r?r:function(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}(r);var o=Ea(t);if("string"===typeof r){var i,a=o.ownerDocument,s=a.defaultView;if(!((i="parent"===r?o.parentNode:a.querySelector(r))instanceof s.HTMLElement))throw new Error('Bounds selector "'+r+'" could not find an element.');var l=i,c=s.getComputedStyle(o),u=s.getComputedStyle(l);r={left:-o.offsetLeft+(0,Ca.int)(u.paddingLeft)+(0,Ca.int)(c.marginLeft),top:-o.offsetTop+(0,Ca.int)(u.paddingTop)+(0,Ca.int)(c.marginTop),right:(0,ka.innerWidth)(l)-(0,ka.outerWidth)(o)-o.offsetLeft+(0,Ca.int)(u.paddingRight)-(0,Ca.int)(c.marginRight),bottom:(0,ka.innerHeight)(l)-(0,ka.outerHeight)(o)-o.offsetTop+(0,Ca.int)(u.paddingBottom)-(0,Ca.int)(c.marginBottom)}}(0,Ca.isNum)(r.right)&&(e=Math.min(e,r.right));(0,Ca.isNum)(r.bottom)&&(n=Math.min(n,r.bottom));(0,Ca.isNum)(r.left)&&(e=Math.max(e,r.left));(0,Ca.isNum)(r.top)&&(n=Math.max(n,r.top));return[e,n]},ja.snapToGrid=function(t,e,n){var r=Math.round(e/t[0])*t[0],o=Math.round(n/t[1])*t[1];return[r,o]},ja.canDragX=function(t){return"both"===t.props.axis||"x"===t.props.axis},ja.canDragY=function(t){return"both"===t.props.axis||"y"===t.props.axis},ja.getControlPosition=function(t,e,n){var r="number"===typeof e?(0,ka.getTouch)(t,e):null;if("number"===typeof e&&!r)return null;var o=Ea(n),i=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return(0,ka.offsetXYFromParent)(r||t,i,n.props.scale)},ja.createCoreData=function(t,e,n){var r=t.state,o=!(0,Ca.isNum)(r.lastX),i=Ea(t);return o?{node:i,deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}:{node:i,deltaX:e-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:e,y:n}},ja.createDraggableData=function(t,e){var n=t.props.scale;return{node:e.node,x:t.state.x+e.deltaX/n,y:t.state.y+e.deltaY/n,deltaX:e.deltaX/n,deltaY:e.deltaY/n,lastX:t.state.x,lastY:t.state.y}};var Ca=aa,ka=ia;function Ea(t){var e=t.findDOMNode();if(!e)throw new Error("<DraggableCore>: Unmounted during event!");return e}var Pa={},_a={};function Ma(t){return Ma="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},Ma(t)}Object.defineProperty(_a,"__esModule",{value:!0}),_a.default=function(){},Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.default=void 0;var Ta=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==Ma(t)&&"function"!==typeof t)return{default:t};var n=Ba(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var a=o?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=t[i]}r.default=t,n&&n.set(t,r);return r}(s.a),Aa=Fa(S.exports),Ra=Fa(c.a),Da=ia,Ia=ja,Na=aa,La=Fa(_a);function Fa(t){return t&&t.__esModule?t:{default:t}}function Ba(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(Ba=function(t){return t?n:e})(t)}function za(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return Ha(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ha(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ha(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ua(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 Wa(t,e){return Wa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Wa(t,e)}function qa(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(pt){return!1}}();return function(){var n,r=Xa(t);if(e){var o=Xa(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ga(this,n)}}function Ga(t,e){if(e&&("object"===Ma(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ya(t)}function Ya(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xa(t){return Xa=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Xa(t)}function Ka(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $a={start:"touchstart",move:"touchmove",stop:"touchend"},Za={start:"mousedown",move:"mousemove",stop:"mouseup"},Qa=Za,Ja=function(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&&Wa(t,e)}(i,t);var e,n,r,o=qa(i);function i(){var t;Va(this,i);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Ka(Ya(t=o.call.apply(o,[this].concat(n))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),Ka(Ya(t),"mounted",!1),Ka(Ya(t),"handleDragStart",(function(e){if(t.props.onMouseDown(e),!t.props.allowAnyClick&&"number"===typeof e.button&&0!==e.button)return!1;var n=t.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var r=n.ownerDocument;if(!(t.props.disabled||!(e.target instanceof r.defaultView.Node)||t.props.handle&&!(0,Da.matchesSelectorAndParentsTo)(e.target,t.props.handle,n)||t.props.cancel&&(0,Da.matchesSelectorAndParentsTo)(e.target,t.props.cancel,n))){"touchstart"===e.type&&e.preventDefault();var o=(0,Da.getTouchIdentifier)(e);t.setState({touchIdentifier:o});var i=(0,Ia.getControlPosition)(e,o,Ya(t));if(null!=i){var a=i.x,s=i.y,l=(0,Ia.createCoreData)(Ya(t),a,s);(0,La.default)("DraggableCore: handleDragStart: %j",l),(0,La.default)("calling",t.props.onStart),!1!==t.props.onStart(e,l)&&!1!==t.mounted&&(t.props.enableUserSelectHack&&(0,Da.addUserSelectStyles)(r),t.setState({dragging:!0,lastX:a,lastY:s}),(0,Da.addEvent)(r,Qa.move,t.handleDrag),(0,Da.addEvent)(r,Qa.stop,t.handleDragStop))}}})),Ka(Ya(t),"handleDrag",(function(e){var n=(0,Ia.getControlPosition)(e,t.state.touchIdentifier,Ya(t));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(t.props.grid)){var i=r-t.state.lastX,a=o-t.state.lastY,s=za((0,Ia.snapToGrid)(t.props.grid,i,a),2);if(i=s[0],a=s[1],!i&&!a)return;r=t.state.lastX+i,o=t.state.lastY+a}var l=(0,Ia.createCoreData)(Ya(t),r,o);if((0,La.default)("DraggableCore: handleDrag: %j",l),!1!==t.props.onDrag(e,l)&&!1!==t.mounted)t.setState({lastX:r,lastY:o});else try{t.handleDragStop(new MouseEvent("mouseup"))}catch(u){var c=document.createEvent("MouseEvents");c.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),t.handleDragStop(c)}}})),Ka(Ya(t),"handleDragStop",(function(e){if(t.state.dragging){var n=(0,Ia.getControlPosition)(e,t.state.touchIdentifier,Ya(t));if(null!=n){var r=n.x,o=n.y,i=(0,Ia.createCoreData)(Ya(t),r,o);if(!1===t.props.onStop(e,i)||!1===t.mounted)return!1;var a=t.findDOMNode();a&&t.props.enableUserSelectHack&&(0,Da.removeUserSelectStyles)(a.ownerDocument),(0,La.default)("DraggableCore: handleDragStop: %j",i),t.setState({dragging:!1,lastX:NaN,lastY:NaN}),a&&((0,La.default)("DraggableCore: Removing handlers"),(0,Da.removeEvent)(a.ownerDocument,Qa.move,t.handleDrag),(0,Da.removeEvent)(a.ownerDocument,Qa.stop,t.handleDragStop))}}})),Ka(Ya(t),"onMouseDown",(function(e){return Qa=Za,t.handleDragStart(e)})),Ka(Ya(t),"onMouseUp",(function(e){return Qa=Za,t.handleDragStop(e)})),Ka(Ya(t),"onTouchStart",(function(e){return Qa=$a,t.handleDragStart(e)})),Ka(Ya(t),"onTouchEnd",(function(e){return Qa=$a,t.handleDragStop(e)})),t}return e=i,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var t=this.findDOMNode();t&&(0,Da.addEvent)(t,$a.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.findDOMNode();if(t){var e=t.ownerDocument;(0,Da.removeEvent)(e,Za.move,this.handleDrag),(0,Da.removeEvent)(e,$a.move,this.handleDrag),(0,Da.removeEvent)(e,Za.stop,this.handleDragStop),(0,Da.removeEvent)(e,$a.stop,this.handleDragStop),(0,Da.removeEvent)(t,$a.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,Da.removeUserSelectStyles)(e)}}},{key:"findDOMNode",value:function(){var t,e,n;return null!==(t=null===(e=this.props)||void 0===e||null===(n=e.nodeRef)||void 0===n?void 0:n.current)&&void 0!==t?t:Ra.default.findDOMNode(this)}},{key:"render",value:function(){return Ta.cloneElement(Ta.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&Ua(e.prototype,n),r&&Ua(e,r),i}(Ta.Component);Pa.default=Ja,Ka(Ja,"displayName","DraggableCore"),Ka(Ja,"propTypes",{allowAnyClick:Aa.default.bool,disabled:Aa.default.bool,enableUserSelectHack:Aa.default.bool,offsetParent:function(t,e){if(t[e]&&1!==t[e].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:Aa.default.arrayOf(Aa.default.number),handle:Aa.default.string,cancel:Aa.default.string,nodeRef:Aa.default.object,onStart:Aa.default.func,onDrag:Aa.default.func,onStop:Aa.default.func,onMouseDown:Aa.default.func,scale:Aa.default.number,className:Na.dontSetMe,style:Na.dontSetMe,transform:Na.dontSetMe}),Ka(Ja,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),function(t){function e(t){return e="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(t)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return d.default}}),t.default=void 0;var n=function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!==e(t)&&"function"!==typeof t)return{default:t};var r=v(n);if(r&&r.has(t))return r.get(t);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=t[a]}o.default=t,r&&r.set(t,o);return o}(s.a),r=h(S.exports),o=h(c.a),i=h(oa),a=ia,l=ja,u=aa,d=h(Pa),f=h(_a),p=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function h(t){return t&&t.__esModule?t:{default:t}}function v(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(v=function(t){return t?n:e})(t)}function g(){return g=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},g.apply(this,arguments)}function m(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}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 y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach((function(e){_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}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 j(t,e){return j=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},j(t,e)}function C(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(pt){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k(this,n)}}function k(t,n){if(n&&("object"===e(n)||"function"===typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return E(t)}function E(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P(t){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},P(t)}function _(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(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&&j(t,e)}(u,t);var e,r,s,c=C(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),_(E(e=c.call(this,t)),"onDragStart",(function(t,n){if((0,f.default)("Draggable: onDragStart: %j",n),!1===e.props.onStart(t,(0,l.createDraggableData)(E(e),n)))return!1;e.setState({dragging:!0,dragged:!0})})),_(E(e),"onDrag",(function(t,n){if(!e.state.dragging)return!1;(0,f.default)("Draggable: onDrag: %j",n);var r=(0,l.createDraggableData)(E(e),n),o={x:r.x,y:r.y};if(e.props.bounds){var i=o.x,a=o.y;o.x+=e.state.slackX,o.y+=e.state.slackY;var s=x((0,l.getBoundPosition)(E(e),o.x,o.y),2),c=s[0],u=s[1];o.x=c,o.y=u,o.slackX=e.state.slackX+(i-o.x),o.slackY=e.state.slackY+(a-o.y),r.x=o.x,r.y=o.y,r.deltaX=o.x-e.state.x,r.deltaY=o.y-e.state.y}if(!1===e.props.onDrag(t,r))return!1;e.setState(o)})),_(E(e),"onDragStop",(function(t,n){if(!e.state.dragging)return!1;if(!1===e.props.onStop(t,(0,l.createDraggableData)(E(e),n)))return!1;(0,f.default)("Draggable: onDragStop: %j",n);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(e.props.position)){var o=e.props.position,i=o.x,a=o.y;r.x=i,r.y=a}e.setState(r)})),e.state={dragging:!1,dragged:!1,x:t.position?t.position.x:t.defaultPosition.x,y:t.position?t.position.y:t.defaultPosition.y,prevPropsPosition:y({},t.position),slackX:0,slackY:0,isElementSVG:!1},!t.position||t.onDrag||t.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),e}return e=u,r=[{key:"componentDidMount",value:function(){"undefined"!==typeof window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var t,e,n;return null!==(t=null===(e=this.props)||void 0===e||null===(n=e.nodeRef)||void 0===n?void 0:n.current)&&void 0!==t?t:o.default.findDOMNode(this)}},{key:"render",value:function(){var t,e=this.props;e.axis,e.bounds;var r=e.children,o=e.defaultPosition,s=e.defaultClassName,c=e.defaultClassNameDragging,u=e.defaultClassNameDragged,f=e.position,h=e.positionOffset;e.scale;var v=m(e,p),b={},x=null,w=!Boolean(f)||this.state.dragging,O=f||o,S={x:(0,l.canDragX)(this)&&w?this.state.x:O.x,y:(0,l.canDragY)(this)&&w?this.state.y:O.y};this.state.isElementSVG?x=(0,a.createSVGTransform)(S,h):b=(0,a.createCSSTransform)(S,h);var j=(0,i.default)(r.props.className||"",s,(_(t={},c,this.state.dragging),_(t,u,this.state.dragged),t));return n.createElement(d.default,g({},v,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),n.cloneElement(n.Children.only(r),{className:j,style:y(y({},r.props.style),b),transform:x}))}}],s=[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.position,r=e.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,f.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:y({},n)})}}],r&&O(e.prototype,r),s&&O(e,s),u}(n.Component);t.default=M,_(M,"displayName","Draggable"),_(M,"propTypes",y(y({},d.default.propTypes),{},{axis:r.default.oneOf(["both","x","y","none"]),bounds:r.default.oneOfType([r.default.shape({left:r.default.number,right:r.default.number,top:r.default.number,bottom:r.default.number}),r.default.string,r.default.oneOf([!1])]),defaultClassName:r.default.string,defaultClassNameDragging:r.default.string,defaultClassNameDragged:r.default.string,defaultPosition:r.default.shape({x:r.default.number,y:r.default.number}),positionOffset:r.default.shape({x:r.default.oneOfType([r.default.number,r.default.string]),y:r.default.oneOfType([r.default.number,r.default.string])}),position:r.default.shape({x:r.default.number,y:r.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe})),_(M,"defaultProps",y(y({},d.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))}(ea);var ts=ea.default,es=ea.DraggableCore;ta.exports=ts,ta.exports.default=ts;var ns=ta.exports.DraggableCore=es,rs=ta.exports;function os(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 is(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?os(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):os(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var as=function(t){var e=t.onSelectionDragStart,n=t.onSelectionDrag,r=t.onSelectionDragStop,o=t.onSelectionContextMenu,i=De(_e((function(t){return t.transform})),3),l=i[0],c=i[1],u=i[2],d=_e((function(t){return t.selectedNodesBbox})),f=_e((function(t){return t.selectionActive})),p=_e((function(t){return t.selectedElements})),h=_e((function(t){return t.snapToGrid})),v=_e((function(t){return t.snapGrid})),g=_e((function(t){return t.nodes})),m=Pe((function(t){return t.updateNodePosDiff})),b=Object(a.useRef)(null),y=Object(a.useMemo)((function(){return h?v:[1,1]}),[h,v]),x=Object(a.useMemo)((function(){return p?p.filter(Ue).map((function(t){var e=g.find((function(e){return e.id===t.id}));return is(is({},e),{},{position:null===e||void 0===e?void 0:e.__rf.position})})):[]}),[p,g]),w=Object(a.useMemo)((function(){return{transform:"translate(".concat(l,"px,").concat(c,"px) scale(").concat(u,")")}}),[l,c,u]),O=Object(a.useMemo)((function(){return{width:d.width,height:d.height,top:d.y,left:d.x}}),[d]),S=Object(a.useCallback)((function(t){null===e||void 0===e||e(t,x)}),[e,x]),j=Object(a.useCallback)((function(t,e){n&&n(t,x),m({diff:{x:e.deltaX,y:e.deltaY},isDragging:!0})}),[n,x,m]),C=Object(a.useCallback)((function(t){m({isDragging:!1}),null===r||void 0===r||r(t,x)}),[x,r]),k=Object(a.useCallback)((function(t){var e=p?p.filter(Ue).map((function(t){return g.find((function(e){return e.id===t.id}))})):[];null===o||void 0===o||o(t,e)}),[o]);return!p||f?null:s.a.createElement("div",{className:"react-flow__nodesselection",style:w},s.a.createElement(rs,{scale:u,grid:y,onStart:function(t){return S(t)},onDrag:function(t,e){return j(t,e)},onStop:function(t){return C(t)},nodeRef:b,enableUserSelectHack:!1},s.a.createElement("div",{ref:b,className:"react-flow__nodesselection-rect",onContextMenu:k,style:O})))},ss=function(t){var e=t.children,n=t.onPaneClick,r=t.onPaneContextMenu,o=t.onPaneScroll,i=t.onElementsRemove,l=t.deleteKeyCode,c=t.onMove,u=t.onMoveStart,d=t.onMoveEnd,f=t.selectionKeyCode,p=t.multiSelectionKeyCode,h=t.zoomActivationKeyCode,v=t.elementsSelectable,g=t.zoomOnScroll,m=t.zoomOnPinch,b=t.panOnScroll,y=t.panOnScrollSpeed,x=t.panOnScrollMode,w=t.zoomOnDoubleClick,O=t.paneMoveable,S=t.defaultPosition,j=t.defaultZoom,C=t.translateExtent,k=t.preventScrolling,E=t.onSelectionDragStart,P=t.onSelectionDrag,_=t.onSelectionDragStop,M=t.onSelectionContextMenu,T=Pe((function(t){return t.unsetNodesSelection})),A=Pe((function(t){return t.resetSelectedElements})),R=_e((function(t){return t.nodesSelectionActive})),D=Be(f);!function(t){var e=t.deleteKeyCode,n=t.multiSelectionKeyCode,r=t.onElementsRemove,o=Me(),i=Pe((function(t){return t.unsetNodesSelection})),s=Pe((function(t){return t.setMultiSelectionActive})),l=Pe((function(t){return t.resetSelectedElements})),c=Be(e),u=Be(n);Object(a.useEffect)((function(){var t=o.getState(),e=t.edges,n=t.selectedElements;if(r&&c&&n){var a=n.filter(Ue),s=Je(a,e),u=[].concat(Re(n),Re(s)).reduce((function(t,e){return t.set(e.id,e)}),new Map);r(Array.from(u.values())),i(),l()}}),[c]),Object(a.useEffect)((function(){s(u)}),[u])}({onElementsRemove:i,deleteKeyCode:l,multiSelectionKeyCode:p});var I=Object(a.useCallback)((function(t){null===n||void 0===n||n(t),T(),A()}),[n]),N=Object(a.useCallback)((function(t){null===r||void 0===r||r(t)}),[r]),L=Object(a.useCallback)((function(t){null===o||void 0===o||o(t)}),[o]);return s.a.createElement($i,{onMove:c,onMoveStart:u,onMoveEnd:d,selectionKeyPressed:D,elementsSelectable:v,zoomOnScroll:g,zoomOnPinch:m,panOnScroll:b,panOnScrollSpeed:y,panOnScrollMode:x,zoomOnDoubleClick:w,paneMoveable:O,defaultPosition:S,defaultZoom:j,translateExtent:C,zoomActivationKeyCode:h,preventScrolling:k},e,s.a.createElement(Ji,{selectionKeyPressed:D}),R&&s.a.createElement(as,{onSelectionDragStart:E,onSelectionDrag:P,onSelectionDragStop:_,onSelectionContextMenu:M}),s.a.createElement("div",{className:"react-flow__pane",onClick:I,onContextMenu:N,onWheel:L}))};ss.displayName="FlowRenderer";var ls=Object(a.memo)(ss),cs=function(t){var e=_e((function(t){return t.transform})),n=_e((function(t){return t.selectedElements})),r=_e((function(t){return t.nodesDraggable})),o=_e((function(t){return t.nodesConnectable})),i=_e((function(t){return t.elementsSelectable})),l=_e((function(t){return t.width})),c=_e((function(t){return t.height})),u=_e((function(t){return t.nodes})),d=Pe((function(t){return t.updateNodeDimensions})),f=t.onlyRenderVisibleElements?Qe(u,{x:0,y:0,width:l,height:c},e,!0):u,p=Object(a.useMemo)((function(){return{transform:"translate(".concat(e[0],"px,").concat(e[1],"px) scale(").concat(e[2],")")}}),[e[0],e[1],e[2]]),h=Object(a.useMemo)((function(){return"undefined"===typeof ResizeObserver?null:new ResizeObserver((function(t){var e=t.map((function(t){return{id:t.target.getAttribute("data-id"),nodeElement:t.target}}));d(e)}))}),[]);return s.a.createElement("div",{className:"react-flow__nodes",style:p},f.map((function(a){var l=a.type||"default",c=t.nodeTypes[l]||t.nodeTypes.default;t.nodeTypes[l]||console.warn('Node type "'.concat(l,'" not found. Using fallback type "default".'));var u=!!(a.draggable||r&&"undefined"===typeof a.draggable),d=!!(a.selectable||i&&"undefined"===typeof a.selectable),f=!!(a.connectable||o&&"undefined"===typeof a.connectable);return s.a.createElement(c,{key:a.id,id:a.id,className:a.className,style:a.style,type:l,data:a.data,sourcePosition:a.sourcePosition,targetPosition:a.targetPosition,isHidden:a.isHidden,xPos:a.__rf.position.x,yPos:a.__rf.position.y,isDragging:a.__rf.isDragging,isInitialized:null!==a.__rf.width&&null!==a.__rf.height,snapGrid:t.snapGrid,snapToGrid:t.snapToGrid,selectNodesOnDrag:t.selectNodesOnDrag,onClick:t.onElementClick,onMouseEnter:t.onNodeMouseEnter,onMouseMove:t.onNodeMouseMove,onMouseLeave:t.onNodeMouseLeave,onContextMenu:t.onNodeContextMenu,onNodeDoubleClick:t.onNodeDoubleClick,onNodeDragStart:t.onNodeDragStart,onNodeDrag:t.onNodeDrag,onNodeDragStop:t.onNodeDragStop,scale:e[2],selected:(null===n||void 0===n?void 0:n.some((function(t){return t.id===a.id})))||!1,isDraggable:u,isSelectable:d,isConnectable:f,resizeObserver:h,dragHandle:a.dragHandle})})))};cs.displayName="NodeRenderer";var us=Object(a.memo)(cs),ds=["x","y","label","labelStyle","labelShowBg","labelBgStyle","labelBgPadding","labelBgBorderRadius","children","className"];function fs(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 ps=function(t){var e=t.x,n=t.y,r=t.label,o=t.labelStyle,i=void 0===o?{}:o,l=t.labelShowBg,c=void 0===l||l,u=t.labelBgStyle,h=void 0===u?{}:u,v=t.labelBgPadding,g=void 0===v?[2,4]:v,m=t.labelBgBorderRadius,b=void 0===m?2:m,y=t.children,x=t.className,w=f(t,ds),O=Object(a.useRef)(null),S=De(Object(a.useState)({x:0,y:0,width:0,height:0}),2),j=S[0],C=S[1],k=p(["react-flow__edge-textwrapper",x]);return Object(a.useEffect)((function(){if(O.current){var t=O.current.getBBox();C({x:t.x,y:t.y,width:t.width,height:t.height})}}),[r]),"undefined"!==typeof r&&r?s.a.createElement("g",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fs(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fs(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({transform:"translate(".concat(e-j.width/2," ").concat(n-j.height/2,")"),className:k},w),c&&s.a.createElement("rect",{width:j.width+2*g[0],x:-g[0],y:-g[1],height:j.height+2*g[1],className:"react-flow__edge-textbg",style:h,rx:b,ry:b}),s.a.createElement("text",{className:"react-flow__edge-text",y:j.height/2,dy:"0.3em",ref:O,style:i},r),y):null},hs=Object(a.memo)(ps),vs=function(t,e){return"undefined"!==typeof e&&e?"url(#".concat(e,")"):"undefined"!==typeof t?"url(#react-flow__".concat(t,")"):"none"},gs=[Vi.Left,Vi.Right],ms=function(t){var e=t.sourceX,n=t.sourceY,r=t.targetX,o=t.targetY,i=t.sourcePosition,a=void 0===i?Vi.Bottom:i,s=t.targetPosition,l=void 0===s?Vi.Top:s,c=gs.includes(a),u=gs.includes(l);if(c&&!u||u&&!c){var d=c?Math.abs(r-e):0,f=e>r?e-d:e+d,p=c?0:Math.abs(o-n);return[f,n<o?n+p:n-p,d,p]}var h=Math.abs(r-e)/2,v=r<e?r+h:r-h,g=Math.abs(o-n)/2;return[v,o<n?o+g:o-g,h,g]};function bs(t){var e=t.sourceX,n=t.sourceY,r=t.sourcePosition,o=void 0===r?Vi.Bottom:r,i=t.targetX,a=t.targetY,s=t.targetPosition,l=void 0===s?Vi.Top:s,c=t.centerX,u=t.centerY,d=De(ms({sourceX:e,sourceY:n,targetX:i,targetY:a}),2),f=d[0],p=d[1],h=[Vi.Left,Vi.Right],v="undefined"!==typeof c?c:f,g="undefined"!==typeof u?u:p,m="M".concat(e,",").concat(n," C").concat(e,",").concat(g," ").concat(i,",").concat(g," ").concat(i,",").concat(a);return h.includes(o)&&h.includes(l)?m="M".concat(e,",").concat(n," C").concat(v,",").concat(n," ").concat(v,",").concat(a," ").concat(i,",").concat(a):h.includes(l)?m="M".concat(e,",").concat(n," Q").concat(e,",").concat(a," ").concat(i,",").concat(a):h.includes(o)&&(m="M".concat(e,",").concat(n," Q").concat(i,",").concat(n," ").concat(i,",").concat(a)),m}var ys=Object(a.memo)((function(t){var e=t.sourceX,n=t.sourceY,r=t.targetX,o=t.targetY,i=t.sourcePosition,a=void 0===i?Vi.Bottom:i,l=t.targetPosition,c=void 0===l?Vi.Top:l,u=t.label,d=t.labelStyle,f=t.labelShowBg,p=t.labelBgStyle,h=t.labelBgPadding,v=t.labelBgBorderRadius,g=t.style,m=t.arrowHeadType,b=t.markerEndId,y=De(ms({sourceX:e,sourceY:n,targetX:r,targetY:o,sourcePosition:a,targetPosition:c}),2),x=y[0],w=y[1],O=bs({sourceX:e,sourceY:n,sourcePosition:a,targetX:r,targetY:o,targetPosition:c}),S=u?s.a.createElement(hs,{x:x,y:w,label:u,labelStyle:d,labelShowBg:f,labelBgStyle:p,labelBgPadding:h,labelBgBorderRadius:v}):null,j=vs(m,b);return s.a.createElement(s.a.Fragment,null,s.a.createElement("path",{style:g,d:O,className:"react-flow__edge-path",markerEnd:j}),S)})),xs=function(t,e,n){return"L ".concat(t,",").concat(e-n,"Q ").concat(t,",").concat(e," ").concat(t+n,",").concat(e)},ws=function(t,e,n){return"L ".concat(t+n,",").concat(e,"Q ").concat(t,",").concat(e," ").concat(t,",").concat(e-n)},Os=function(t,e,n){return"L ".concat(t,",").concat(e-n,"Q ").concat(t,",").concat(e," ").concat(t-n,",").concat(e)},Ss=function(t,e,n){return"L ".concat(t-n,",").concat(e,"Q ").concat(t,",").concat(e," ").concat(t,",").concat(e-n)},js=function(t,e,n){return"L ".concat(t+n,",").concat(e,"Q ").concat(t,",").concat(e," ").concat(t,",").concat(e+n)},Cs=function(t,e,n){return"L ".concat(t,",").concat(e+n,"Q ").concat(t,",").concat(e," ").concat(t+n,",").concat(e)},ks=function(t,e,n){return"L ".concat(t,",").concat(e+n,"Q ").concat(t,",").concat(e," ").concat(t-n,",").concat(e)},Es=function(t,e,n){return"L ".concat(t-n,",").concat(e,"Q ").concat(t,",").concat(e," ").concat(t,",").concat(e+n)};function Ps(t){var e=t.sourceX,n=t.sourceY,r=t.sourcePosition,o=void 0===r?Vi.Bottom:r,i=t.targetX,a=t.targetY,s=t.targetPosition,l=void 0===s?Vi.Top:s,c=t.borderRadius,u=void 0===c?5:c,d=t.centerX,f=t.centerY,p=De(ms({sourceX:e,sourceY:n,targetX:i,targetY:a}),4),h=p[0],v=p[1],g=p[2],m=p[3],b=Math.min(u,Math.abs(i-e)),y=Math.min(u,Math.abs(a-n)),x=Math.min(b,y,g,m),w=[Vi.Left,Vi.Right],O="undefined"!==typeof d?d:h,S="undefined"!==typeof f?f:v,j=null,C=null;return e<=i?(j=n<=a?xs(e,S,x):Cs(e,S,x),C=n<=a?Es(i,S,x):Ss(i,S,x)):(j=n<a?Os(e,S,x):ks(e,S,x),C=n<a?js(i,S,x):ws(i,S,x)),w.includes(o)&&w.includes(l)?e<=i?(j=n<=a?Es(O,n,x):Ss(O,n,x),C=n<=a?xs(O,a,x):Cs(O,a,x)):(o===Vi.Right&&l===Vi.Left||o===Vi.Left&&l===Vi.Right||o===Vi.Left&&l===Vi.Left)&&(j=n<=a?js(O,n,x):ws(O,n,x),C=n<=a?Os(O,a,x):ks(O,a,x)):w.includes(o)&&!w.includes(l)?(j=e<=i?n<=a?Es(i,n,x):Ss(i,n,x):n<=a?js(i,n,x):ws(i,n,x),C=""):!w.includes(o)&&w.includes(l)&&(j=e<=i?n<=a?xs(e,a,x):Cs(e,a,x):n<=a?Os(e,a,x):ks(e,a,x),C=""),"M ".concat(e,",").concat(n).concat(j).concat(C,"L ").concat(i,",").concat(a)}var _s=Object(a.memo)((function(t){var e=t.sourceX,n=t.sourceY,r=t.targetX,o=t.targetY,i=t.label,a=t.labelStyle,l=t.labelShowBg,c=t.labelBgStyle,u=t.labelBgPadding,d=t.labelBgBorderRadius,f=t.style,p=t.sourcePosition,h=void 0===p?Vi.Bottom:p,v=t.targetPosition,g=void 0===v?Vi.Top:v,m=t.arrowHeadType,b=t.markerEndId,y=t.borderRadius,x=void 0===y?5:y,w=De(ms({sourceX:e,sourceY:n,targetX:r,targetY:o,sourcePosition:h,targetPosition:g}),2),O=w[0],S=w[1],j=Ps({sourceX:e,sourceY:n,sourcePosition:h,targetX:r,targetY:o,targetPosition:g,borderRadius:x}),C=vs(m,b),k=i?s.a.createElement(hs,{x:O,y:S,label:i,labelStyle:a,labelShowBg:l,labelBgStyle:c,labelBgPadding:u,labelBgBorderRadius:d}):null;return s.a.createElement(s.a.Fragment,null,s.a.createElement("path",{style:f,className:"react-flow__edge-path",d:j,markerEnd:C}),k)})),Ms=function(t){var e=t.connectionNodeId,n=t.connectionHandleId,r=t.connectionHandleType,o=t.connectionLineStyle,i=t.connectionPositionX,l=t.connectionPositionY,c=t.connectionLineType,u=void 0===c?Gi.Bezier:c,d=t.nodes,f=void 0===d?[]:d,p=t.transform,h=t.isConnectable,v=t.CustomConnectionLineComponent,g=De(Object(a.useState)(null),2),m=g[0],b=g[1],y=e,x=n;if(Object(a.useEffect)((function(){var t=f.find((function(t){return t.id===y}))||null;b(t)}),[]),!m||!h)return null;var w=function(t,e,n){var r="source"===n?"target":"source",o=e.__rf.handleBounds[n]||e.__rf.handleBounds[r];return t?o.find((function(e){return e.id===t})):o[0]}(x,m,r),O=w?w.x+w.width/2:m.__rf.width/2,S=w?w.y+w.height/2:m.__rf.height,j=m.__rf.position.x+O,C=m.__rf.position.y+S,k=(i-p[0])/p[2],E=(l-p[1])/p[2],P=(null===w||void 0===w?void 0:w.position)===Vi.Left||(null===w||void 0===w?void 0:w.position)===Vi.Right?Vi.Left:Vi.Top;if(v)return s.a.createElement("g",{className:"react-flow__connection"},s.a.createElement(v,{sourceX:j,sourceY:C,sourcePosition:null===w||void 0===w?void 0:w.position,targetX:k,targetY:E,targetPosition:P,connectionLineType:u,connectionLineStyle:o,sourceNode:m,sourceHandle:w}));var _="";return _=u===Gi.Bezier?bs({sourceX:j,sourceY:C,sourcePosition:null===w||void 0===w?void 0:w.position,targetX:k,targetY:E,targetPosition:P}):u===Gi.Step?Ps({sourceX:j,sourceY:C,sourcePosition:null===w||void 0===w?void 0:w.position,targetX:k,targetY:E,targetPosition:P,borderRadius:0}):u===Gi.SmoothStep?Ps({sourceX:j,sourceY:C,sourcePosition:null===w||void 0===w?void 0:w.position,targetX:k,targetY:E,targetPosition:P}):"M".concat(j,",").concat(C," ").concat(k,",").concat(E),s.a.createElement("g",{className:"react-flow__connection"},s.a.createElement("path",{d:_,className:"react-flow__connection-path",style:o}))},Ts=function(t){var e=t.id,n=t.children;return s.a.createElement("marker",{className:"react-flow__arrowhead",id:e,markerWidth:"12.5",markerHeight:"12.5",viewBox:"-10 -10 20 20",orient:"auto",refX:"0",refY:"0"},n)},As=function(t){var e=t.color;return s.a.createElement("defs",null,s.a.createElement(Ts,{id:"react-flow__arrowclosed"},s.a.createElement("polyline",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",fill:e,points:"-5,-4 0,0 -5,4 -5,-4"})),s.a.createElement(Ts,{id:"react-flow__arrow"},s.a.createElement("polyline",{stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",fill:"none",points:"-5,-4 0,0 -5,4"})))};function Rs(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 Ds(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Rs(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rs(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}As.displayName="MarkerDefinitions";var Is=Object(a.memo)((function(t){return s.a.createElement(_s,Ds(Ds({},t),{},{borderRadius:0}))})),Ns=Object(a.memo)((function(t){var e=t.sourceX,n=t.sourceY,r=t.targetX,o=t.targetY,i=t.label,a=t.labelStyle,l=t.labelShowBg,c=t.labelBgStyle,u=t.labelBgPadding,d=t.labelBgBorderRadius,f=t.style,p=t.arrowHeadType,h=t.markerEndId,v=Math.abs(o-n)/2,g=o<n?o+v:o-v,m=Math.abs(r-e)/2,b=r<e?r+m:r-m,y=vs(p,h),x=i?s.a.createElement(hs,{x:b,y:g,label:i,labelStyle:a,labelShowBg:l,labelBgStyle:c,labelBgPadding:u,labelBgBorderRadius:d}):null;return s.a.createElement(s.a.Fragment,null,s.a.createElement("path",{style:f,className:"react-flow__edge-path",d:"M ".concat(e,",").concat(n,"L ").concat(r,",").concat(o),markerEnd:y}),x)}));function Ls(t,e,n,r,o,i,a){var s=a.elementFromPoint(t.clientX,t.clientY),l=(null===s||void 0===s?void 0:s.classList.contains("target"))||!1,c=(null===s||void 0===s?void 0:s.classList.contains("source"))||!1,u={elementBelow:s,isValid:!1,connection:{source:null,target:null,sourceHandle:null,targetHandle:null},isHoveringHandle:!1};if(s&&(l||c)&&(u.isHoveringHandle=!0,e!==qi.Strict||(n&&c||!n&&l))){var d=s.getAttribute("data-nodeid"),f=s.getAttribute("data-handleid"),p=n?{source:d,sourceHandle:f,target:r,targetHandle:o}:{source:r,sourceHandle:o,target:d,targetHandle:f};u.connection=p,u.isValid=i(p)}return u}function Fs(t){null===t||void 0===t||t.classList.remove("react-flow__handle-valid"),null===t||void 0===t||t.classList.remove("react-flow__handle-connecting")}function Bs(t,e,n,r,o,i,a,s,l,c,u,d,f,p){var h=t.target.closest(".react-flow"),v=function(t){var e,n;return(null===(e=t.getRootNode)||void 0===e?void 0:e.call(t))||(null===(n=window)||void 0===n?void 0:n.document)}(t.target);if(v){var g=v.elementFromPoint(t.clientX,t.clientY),m=null===g||void 0===g?void 0:g.classList.contains("target"),b=null===g||void 0===g?void 0:g.classList.contains("source");if(h&&(m||b||c)){var y,x=c||(m?"target":"source"),w=h.getBoundingClientRect();o({x:t.clientX-w.left,y:t.clientY-w.top}),r({connectionNodeId:n,connectionHandleId:e,connectionHandleType:x}),null===d||void 0===d||d(t,{nodeId:n,handleId:e,handleType:x}),v.addEventListener("mousemove",O),v.addEventListener("mouseup",(function t(o){var d=Ls(o,l,a,n,e,s,v),h=d.connection,g=d.isValid;null===f||void 0===f||f(o),g&&(null===i||void 0===i||i(h)),null===p||void 0===p||p(o),c&&u&&u(o),Fs(y),r({connectionNodeId:null,connectionHandleId:null,connectionHandleType:null}),v.removeEventListener("mousemove",O),v.removeEventListener("mouseup",t)}))}}function O(t){o({x:t.clientX-w.left,y:t.clientY-w.top});var r=Ls(t,l,a,n,e,s,v),i=r.connection,c=r.elementBelow,u=r.isValid;if(!r.isHoveringHandle)return Fs(y);!(i.source===i.target)&&c&&(y=c,c.classList.add("react-flow__handle-connecting"),c.classList.toggle("react-flow__handle-valid",u))}}var zs=function(t,e,n){return n===Vi.Left?t-e:n===Vi.Right?t+e:t},Hs=function(t,e,n){return n===Vi.Top?t-e:n===Vi.Bottom?t+e:t},Vs=function(t){var e=t.className,n=t.position,r=t.centerX,o=t.centerY,i=t.radius,a=void 0===i?10:i;return s.a.createElement("circle",{className:p(["react-flow__edgeupdater",e]),cx:zs(r,a,n),cy:Hs(o,a,n),r:a,stroke:"transparent",fill:"transparent"})},Us=function(t){var e=function(e){var n=e.id,r=e.className,o=e.type,i=e.data,l=e.onClick,c=e.onEdgeDoubleClick,u=e.selected,d=e.animated,f=e.label,h=e.labelStyle,v=e.labelShowBg,g=e.labelBgStyle,m=e.labelBgPadding,b=e.labelBgBorderRadius,y=e.style,x=e.arrowHeadType,w=e.source,O=e.target,S=e.sourceX,j=e.sourceY,C=e.targetX,k=e.targetY,E=e.sourcePosition,P=e.targetPosition,_=e.elementsSelectable,M=e.markerEndId,T=e.isHidden,A=e.sourceHandleId,R=e.targetHandleId,D=e.handleEdgeUpdate,I=e.onConnectEdge,N=e.onContextMenu,L=e.onMouseEnter,F=e.onMouseMove,B=e.onMouseLeave,z=e.edgeUpdaterRadius,H=e.onEdgeUpdateStart,V=e.onEdgeUpdateEnd,U=Pe((function(t){return t.addSelectedElements})),W=Pe((function(t){return t.setConnectionNodeId})),q=Pe((function(t){return t.unsetNodesSelection})),G=Pe((function(t){return t.setConnectionPosition})),Y=_e((function(t){return t.connectionMode})),X=De(Object(a.useState)(!1),2),K=X[0],$=X[1],Z=!_&&!l,Q=p(["react-flow__edge","react-flow__edge-".concat(o),r,{selected:u,animated:d,inactive:Z,updating:K}]),J=Object(a.useMemo)((function(){var t={id:n,source:w,target:O,type:o};return A&&(t.sourceHandle=A),R&&(t.targetHandle=R),"undefined"!==typeof i&&(t.data=i),t}),[n,w,O,o,A,R,i]),tt=Object(a.useCallback)((function(t){_&&(q(),U(J)),null===l||void 0===l||l(t,J)}),[_,J,l]),et=Object(a.useCallback)((function(t){null===c||void 0===c||c(t,J)}),[J,c]),nt=Object(a.useCallback)((function(t){null===N||void 0===N||N(t,J)}),[J,N]),rt=Object(a.useCallback)((function(t){null===L||void 0===L||L(t,J)}),[J,N]),ot=Object(a.useCallback)((function(t){null===F||void 0===F||F(t,J)}),[J,N]),it=Object(a.useCallback)((function(t){null===B||void 0===B||B(t,J)}),[J,N]),at=Object(a.useCallback)((function(t,e){var n=e?O:w,r=e?R:A,o=e;null===H||void 0===H||H(t,J),Bs(t,r,n,W,G,I,o,(function(){return!0}),Y,e?"target":"source",V?function(t){return V(t,J)}:void 0)}),[n,w,O,o,A,R,W,G,J,I]),st=Object(a.useCallback)((function(t){at(t,!0)}),[n,w,A,at]),lt=Object(a.useCallback)((function(t){at(t,!1)}),[n,O,R,at]),ct=Object(a.useCallback)((function(){return $(!0)}),[$]),ut=Object(a.useCallback)((function(){return $(!1)}),[$]);return T?null:s.a.createElement("g",{className:Q,onClick:tt,onDoubleClick:et,onContextMenu:nt,onMouseEnter:rt,onMouseMove:ot,onMouseLeave:it},s.a.createElement(t,{id:n,source:w,target:O,selected:u,animated:d,label:f,labelStyle:h,labelShowBg:v,labelBgStyle:g,labelBgPadding:m,labelBgBorderRadius:b,data:i,style:y,arrowHeadType:x,sourceX:S,sourceY:j,targetX:C,targetY:k,sourcePosition:E,targetPosition:P,markerEndId:M,sourceHandleId:A,targetHandleId:R}),D&&s.a.createElement("g",{onMouseDown:st,onMouseEnter:ct,onMouseOut:ut},s.a.createElement(Vs,{position:E,centerX:S,centerY:j,radius:z})),D&&s.a.createElement("g",{onMouseDown:lt,onMouseEnter:ct,onMouseOut:ut},s.a.createElement(Vs,{position:P,centerX:C,centerY:k,radius:z})))};return e.displayName="EdgeWrapper",Object(a.memo)(e)};function Ws(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 qs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ws(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ws(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Gs(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=((null===n||void 0===n?void 0:n.x)||0)+e.__rf.position.x,o=((null===n||void 0===n?void 0:n.y)||0)+e.__rf.position.y,i=(null===n||void 0===n?void 0:n.width)||e.__rf.width,a=(null===n||void 0===n?void 0:n.height)||e.__rf.height;switch(t){case Vi.Top:return{x:r+i/2,y:o};case Vi.Right:return{x:r+i,y:o+a/2};case Vi.Bottom:return{x:r+i/2,y:o+a};case Vi.Left:return{x:r,y:o+a/2}}}function Ys(t,e){if(!t)return null;var n=null;return 1!==t.length&&e?e&&(n=t.find((function(t){return t.id===e}))):n=t[0],"undefined"===typeof n?null:n}var Xs=function(t){var e=t.edge,n=t.props,r=t.nodes,o=t.selectedElements,i=t.elementsSelectable,l=t.transform,c=t.width,u=t.height,d=t.onlyRenderVisibleElements,f=t.connectionMode,p=e.sourceHandle||null,h=e.targetHandle||null,v=function(t,e){return e.reduce((function(e,n){return n.id===t.source&&(e.sourceNode=n),n.id===t.target&&(e.targetNode=n),e}),{sourceNode:null,targetNode:null})}(e,r),g=v.sourceNode,m=v.targetNode,b=Object(a.useCallback)((function(t){var r;null===(r=n.onEdgeUpdate)||void 0===r||r.call(n,e,t)}),[e,n.onEdgeUpdate]);if(!g)return console.warn("couldn't create edge for source id: ".concat(e.source,"; edge id: ").concat(e.id)),null;if(!m)return console.warn("couldn't create edge for target id: ".concat(e.target,"; edge id: ").concat(e.id)),null;if(!g.__rf.width||!m.__rf.width)return null;var y=e.type||"default",x=n.edgeTypes[y]||n.edgeTypes.default,w=m.__rf.handleBounds,O=f===qi.Strict?w.target:w.target||w.source,S=Ys(g.__rf.handleBounds.source,p),j=Ys(O,h),C=S?S.position:Vi.Bottom,k=j?j.position:Vi.Top;if(!S)return console.warn("couldn't create edge for source handle id: ".concat(p,"; edge id: ").concat(e.id)),null;if(!j)return console.warn("couldn't create edge for target handle id: ".concat(h,"; edge id: ").concat(e.id)),null;var E=function(t,e,n,r,o,i){var a=Gs(n,t,e),s=Gs(i,r,o);return{sourceX:a.x,sourceY:a.y,targetX:s.x,targetY:s.y}}(g,S,C,m,j,k),P=E.sourceX,_=E.sourceY,M=E.targetX,T=E.targetY,A=!d||function(t){var e=t.sourcePos,n=t.targetPos,r=t.width,o=t.height,i=t.transform,a={x:Math.min(e.x,n.x),y:Math.min(e.y,n.y),x2:Math.max(e.x,n.x),y2:Math.max(e.y,n.y)};a.x===a.x2&&(a.x2+=1),a.y===a.y2&&(a.y2+=1);var s=Ke({x:(0-i[0])/i[2],y:(0-i[1])/i[2],width:r/i[2],height:o/i[2]}),l=Math.max(0,Math.min(s.x2,a.x2)-Math.max(s.x,a.x)),c=Math.max(0,Math.min(s.y2,a.y2)-Math.max(s.y,a.y));return Math.ceil(l*c)>0}({sourcePos:{x:P,y:_},targetPos:{x:M,y:T},width:c,height:u,transform:l});if(!A)return null;var R=(null===o||void 0===o?void 0:o.some((function(t){return Ve(t)&&t.id===e.id})))||!1;return s.a.createElement(x,{key:e.id,id:e.id,className:e.className,type:e.type,data:e.data,onClick:n.onElementClick,selected:R,animated:e.animated,label:e.label,labelStyle:e.labelStyle,labelShowBg:e.labelShowBg,labelBgStyle:e.labelBgStyle,labelBgPadding:e.labelBgPadding,labelBgBorderRadius:e.labelBgBorderRadius,style:e.style,arrowHeadType:e.arrowHeadType,source:e.source,target:e.target,sourceHandleId:p,targetHandleId:h,sourceX:P,sourceY:_,targetX:M,targetY:T,sourcePosition:C,targetPosition:k,elementsSelectable:i,markerEndId:n.markerEndId,isHidden:e.isHidden,onConnectEdge:b,handleEdgeUpdate:"undefined"!==typeof n.onEdgeUpdate,onContextMenu:n.onEdgeContextMenu,onMouseEnter:n.onEdgeMouseEnter,onMouseMove:n.onEdgeMouseMove,onMouseLeave:n.onEdgeMouseLeave,edgeUpdaterRadius:n.edgeUpdaterRadius,onEdgeDoubleClick:n.onEdgeDoubleClick,onEdgeUpdateStart:n.onEdgeUpdateStart,onEdgeUpdateEnd:n.onEdgeUpdateEnd})},Ks=function(t){var e=_e((function(t){return t.transform})),n=_e((function(t){return t.nodes})),r=_e((function(t){return t.edges})),o=_e((function(t){return t.connectionNodeId})),i=_e((function(t){return t.connectionHandleId})),a=_e((function(t){return t.connectionHandleType})),l=_e((function(t){return t.connectionPosition})),c=_e((function(t){return t.selectedElements})),u=_e((function(t){return t.nodesConnectable})),d=_e((function(t){return t.elementsSelectable})),f=_e((function(t){return t.width})),p=_e((function(t){return t.height}));if(!f)return null;var h=t.connectionLineType,v=t.arrowHeadColor,g=t.connectionLineStyle,m=t.connectionLineComponent,b=t.onlyRenderVisibleElements,y="translate(".concat(e[0],"px,").concat(e[1],"px) scale(").concat(e[2],")"),x=o&&a;return s.a.createElement("svg",{width:f,height:p,className:"react-flow__edges"},s.a.createElement(As,{color:v}),s.a.createElement("g",{style:{transform:y}},r.map((function(r){return s.a.createElement(Xs,{key:r.id,edge:r,props:t,nodes:n,selectedElements:c,elementsSelectable:d,transform:e,width:f,height:p,onlyRenderVisibleElements:b})})),x&&s.a.createElement(Ms,{nodes:n,connectionNodeId:o,connectionHandleId:i,connectionHandleType:a,connectionPositionX:l.x,connectionPositionY:l.y,transform:e,connectionLineStyle:g,connectionLineType:h,isConnectable:u,CustomConnectionLineComponent:m})))};Ks.displayName="EdgeRenderer";var $s=Object(a.memo)(Ks),Zs=.1,Qs={zoomIn:function(){},zoomOut:function(){},zoomTo:function(t){},transform:function(t){},fitView:function(){},setCenter:function(t,e){},fitBounds:function(t){},project:function(t){return t},initialized:!1},Js=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.transition().duration(e)},tl=function(){var t=Me(),e=_e((function(t){return t.d3Zoom})),n=_e((function(t){return t.d3Selection})),r=Object(a.useMemo)((function(){return n&&e?{zoomIn:function(t){return e.scaleBy(Js(n,t),1.2)},zoomOut:function(t){return e.scaleBy(Js(n,t),1/1.2)},zoomTo:function(t,r){return e.scaleTo(Js(n,r),t)},transform:function(t,r){var o=Ri.translate(t.x,t.y).scale(t.zoom);e.transform(Js(n,r),o)},fitView:function(){var r,o,i,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{padding:Zs,includeHiddenNodes:!1,duration:0},s=t.getState(),l=s.nodes,c=s.width,u=s.height,d=s.minZoom,f=s.maxZoom;if(l.length){var p=Ze(a.includeHiddenNodes?l:l.filter((function(t){return!t.isHidden}))),h=rn(p,c,u,null!==(r=a.minZoom)&&void 0!==r?r:d,null!==(o=a.maxZoom)&&void 0!==o?o:f,null!==(i=a.padding)&&void 0!==i?i:Zs),v=De(h,3),g=v[0],m=v[1],b=v[2],y=Ri.translate(g,m).scale(b);e.transform(Js(n,a.duration),y)}},setCenter:function(r,o,i,a){var s=t.getState(),l=s.width,c=s.height,u=s.maxZoom,d="undefined"!==typeof i?i:u,f=l/2-r*d,p=c/2-o*d,h=Ri.translate(f,p).scale(d);e.transform(Js(n,a),h)},fitBounds:function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zs,i=arguments.length>2?arguments[2]:void 0,a=t.getState(),s=a.width,l=a.height,c=a.minZoom,u=a.maxZoom,d=rn(r,s,l,c,u,o),f=De(d,3),p=f[0],h=f[1],v=f[2],g=Ri.translate(p,h).scale(v);e.transform(Js(n,i),g)},project:function(e){var n=t.getState(),r=n.transform,o=n.snapToGrid,i=n.snapGrid;return We(e,r,o,i)},initialized:!0}:Qs}),[e,n]);return r},el=function(t){var e=t.nodeTypes,n=t.edgeTypes,r=t.onMove,o=t.onMoveStart,i=t.onMoveEnd,l=t.onLoad,c=t.onElementClick,u=t.onNodeDoubleClick,d=t.onEdgeDoubleClick,f=t.onNodeMouseEnter,p=t.onNodeMouseMove,h=t.onNodeMouseLeave,v=t.onNodeContextMenu,g=t.onNodeDragStart,m=t.onNodeDrag,b=t.onNodeDragStop,y=t.onSelectionDragStart,x=t.onSelectionDrag,w=t.onSelectionDragStop,O=t.onSelectionContextMenu,S=t.connectionMode,j=t.connectionLineType,C=t.connectionLineStyle,k=t.connectionLineComponent,E=t.selectionKeyCode,P=t.multiSelectionKeyCode,_=t.zoomActivationKeyCode,M=t.onElementsRemove,T=t.deleteKeyCode,A=t.onConnect,R=t.onConnectStart,D=t.onConnectStop,I=t.onConnectEnd,N=t.snapToGrid,L=t.snapGrid,F=t.onlyRenderVisibleElements,B=t.nodesDraggable,z=t.nodesConnectable,H=t.elementsSelectable,V=t.selectNodesOnDrag,U=t.minZoom,W=t.maxZoom,q=t.defaultZoom,G=t.defaultPosition,Y=t.translateExtent,X=t.preventScrolling,K=t.nodeExtent,$=t.arrowHeadColor,Z=t.markerEndId,Q=t.zoomOnScroll,J=t.zoomOnPinch,tt=t.panOnScroll,et=t.panOnScrollSpeed,nt=t.panOnScrollMode,rt=t.zoomOnDoubleClick,ot=t.paneMoveable,it=t.onPaneClick,at=t.onPaneScroll,st=t.onPaneContextMenu,lt=t.onEdgeUpdate,ct=t.onEdgeContextMenu,ut=t.onEdgeMouseEnter,dt=t.onEdgeMouseMove,ft=t.onEdgeMouseLeave,pt=t.edgeUpdaterRadius,ht=t.onEdgeUpdateStart,vt=t.onEdgeUpdateEnd,gt=Object(a.useRef)(!1),mt=Pe((function(t){return t.setOnConnect})),bt=Pe((function(t){return t.setOnConnectStart})),yt=Pe((function(t){return t.setOnConnectStop})),xt=Pe((function(t){return t.setOnConnectEnd})),wt=Pe((function(t){return t.setSnapGrid})),Ot=Pe((function(t){return t.setSnapToGrid})),St=Pe((function(t){return t.setNodesDraggable})),jt=Pe((function(t){return t.setNodesConnectable})),Ct=Pe((function(t){return t.setElementsSelectable})),kt=Pe((function(t){return t.setMinZoom})),Et=Pe((function(t){return t.setMaxZoom})),Pt=Pe((function(t){return t.setTranslateExtent})),_t=Pe((function(t){return t.setNodeExtent})),Mt=Pe((function(t){return t.setConnectionMode})),Tt=Me(),At=tl(),Rt=At.zoomIn,Dt=At.zoomOut,It=At.zoomTo,Nt=At.transform,Lt=At.fitView,Ft=At.initialized;return Object(a.useEffect)((function(){!gt.current&&Ft&&(l&&l({fitView:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{padding:.1};return Lt(t)},zoomIn:Rt,zoomOut:Dt,zoomTo:It,setTransform:Nt,project:qe(Tt),getElements:en(Tt),toObject:nn(Tt)}),gt.current=!0)}),[l,Rt,Dt,It,Nt,Lt,Ft]),Object(a.useEffect)((function(){A&&mt(A)}),[A]),Object(a.useEffect)((function(){R&&bt(R)}),[R]),Object(a.useEffect)((function(){D&&yt(D)}),[D]),Object(a.useEffect)((function(){I&&xt(I)}),[I]),Object(a.useEffect)((function(){"undefined"!==typeof N&&Ot(N)}),[N]),Object(a.useEffect)((function(){"undefined"!==typeof L&&wt(L)}),[L]),Object(a.useEffect)((function(){"undefined"!==typeof B&&St(B)}),[B]),Object(a.useEffect)((function(){"undefined"!==typeof z&&jt(z)}),[z]),Object(a.useEffect)((function(){"undefined"!==typeof H&&Ct(H)}),[H]),Object(a.useEffect)((function(){"undefined"!==typeof U&&kt(U)}),[U]),Object(a.useEffect)((function(){"undefined"!==typeof W&&Et(W)}),[W]),Object(a.useEffect)((function(){"undefined"!==typeof Y&&Pt(Y)}),[Y]),Object(a.useEffect)((function(){"undefined"!==typeof K&&_t(K)}),[K]),Object(a.useEffect)((function(){"undefined"!==typeof S&&Mt(S)}),[S]),s.a.createElement(ls,{onPaneClick:it,onPaneContextMenu:st,onPaneScroll:at,onElementsRemove:M,deleteKeyCode:T,selectionKeyCode:E,multiSelectionKeyCode:P,zoomActivationKeyCode:_,elementsSelectable:H,onMove:r,onMoveStart:o,onMoveEnd:i,zoomOnScroll:Q,zoomOnPinch:J,zoomOnDoubleClick:rt,panOnScroll:tt,panOnScrollSpeed:et,panOnScrollMode:nt,paneMoveable:ot,defaultPosition:G,defaultZoom:q,translateExtent:Y,onSelectionDragStart:y,onSelectionDrag:x,onSelectionDragStop:w,onSelectionContextMenu:O,preventScrolling:X},s.a.createElement(us,{nodeTypes:e,onElementClick:c,onNodeDoubleClick:u,onNodeMouseEnter:f,onNodeMouseMove:p,onNodeMouseLeave:h,onNodeContextMenu:v,onNodeDragStop:b,onNodeDrag:m,onNodeDragStart:g,selectNodesOnDrag:V,snapToGrid:N,snapGrid:L,onlyRenderVisibleElements:F}),s.a.createElement($s,{edgeTypes:n,onElementClick:c,onEdgeDoubleClick:d,connectionLineType:j,connectionLineStyle:C,connectionLineComponent:k,connectionMode:S,arrowHeadColor:$,markerEndId:Z,onEdgeUpdate:lt,onlyRenderVisibleElements:F,onEdgeContextMenu:ct,onEdgeMouseEnter:ut,onEdgeMouseMove:dt,onEdgeMouseLeave:ft,onEdgeUpdateStart:ht,onEdgeUpdateEnd:vt,edgeUpdaterRadius:pt}))};el.displayName="GraphView";var nl=Object(a.memo)(el),rl=function(t){var e=t.elements,n=Pe((function(t){return t.setElements}));return Object(a.useEffect)((function(){n(e)}),[e]),null},ol=Object(a.createContext)(null),il=ol.Provider;ol.Consumer;var al=["type","position","isValidConnection","isConnectable","id","onConnect","children","className"];function sl(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 ll=function(){return!0},cl=Object(a.forwardRef)((function(t,e){var n=t.type,r=void 0===n?"source":n,o=t.position,i=void 0===o?Vi.Top:o,l=t.isValidConnection,c=void 0===l?ll:l,u=t.isConnectable,h=void 0===u||u,v=t.id,g=t.onConnect,m=t.children,b=t.className,y=f(t,al),x=Object(a.useContext)(ol),w=Pe((function(t){return t.setConnectionPosition})),O=Pe((function(t){return t.setConnectionNodeId})),S=_e((function(t){return t.onConnect})),j=_e((function(t){return t.onConnectStart})),C=_e((function(t){return t.onConnectStop})),k=_e((function(t){return t.onConnectEnd})),E=_e((function(t){return t.connectionMode})),P=v||null,_="target"===r,M=Object(a.useCallback)((function(t){null===S||void 0===S||S(t),null===g||void 0===g||g(t)}),[S,g]),T=Object(a.useCallback)((function(t){Bs(t,P,x,O,w,M,_,c,E,void 0,void 0,j,C,k)}),[P,x,O,w,M,_,c,E,j,C,k]),A=p(["react-flow__handle","react-flow__handle-".concat(i),"nodrag",b,{source:!_,target:_,connectable:h}]);return s.a.createElement("div",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?sl(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sl(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({"data-handleid":P,"data-nodeid":x,"data-handlepos":i,className:A,onMouseDown:T,ref:e},y),m)}));cl.displayName="Handle";var ul=Object(a.memo)(cl),dl=function(t){var e=t.data,n=t.isConnectable,r=t.targetPosition,o=void 0===r?Vi.Top:r,i=t.sourcePosition,a=void 0===i?Vi.Bottom:i;return s.a.createElement(s.a.Fragment,null,s.a.createElement(ul,{type:"target",position:o,isConnectable:n}),e.label,s.a.createElement(ul,{type:"source",position:a,isConnectable:n}))};dl.displayName="DefaultNode";var fl=Object(a.memo)(dl),pl=function(t){var e=t.data,n=t.isConnectable,r=t.sourcePosition,o=void 0===r?Vi.Bottom:r;return s.a.createElement(s.a.Fragment,null,e.label,s.a.createElement(ul,{type:"source",position:o,isConnectable:n}))};pl.displayName="InputNode";var hl=Object(a.memo)(pl),vl=function(t){var e=t.data,n=t.isConnectable,r=t.targetPosition,o=void 0===r?Vi.Top:r;return s.a.createElement(s.a.Fragment,null,s.a.createElement(ul,{type:"target",position:o,isConnectable:n}),e.label)};vl.displayName="OutputNode";var gl=Object(a.memo)(vl);function ml(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 bl=function(t){var e=function(e){var n=e.id,r=e.type,o=e.data,i=e.scale,l=e.xPos,c=e.yPos,u=e.selected,f=e.onClick,h=e.onMouseEnter,v=e.onMouseMove,g=e.onMouseLeave,m=e.onContextMenu,b=e.onNodeDoubleClick,y=e.onNodeDragStart,x=e.onNodeDrag,w=e.onNodeDragStop,O=e.style,S=e.className,j=e.isDraggable,C=e.isSelectable,k=e.isConnectable,E=e.selectNodesOnDrag,P=e.sourcePosition,_=e.targetPosition,M=e.isHidden,T=e.isInitialized,A=e.snapToGrid,R=e.snapGrid,D=e.isDragging,I=e.resizeObserver,N=e.dragHandle,L=Pe((function(t){return t.updateNodeDimensions})),F=Pe((function(t){return t.addSelectedElements})),B=Pe((function(t){return t.updateNodePosDiff})),z=Pe((function(t){return t.unsetNodesSelection})),H=Object(a.useRef)(null),V=Object(a.useMemo)((function(){return{id:n,type:r,position:{x:l,y:c},data:o}}),[n,r,l,c,o]),U=Object(a.useMemo)((function(){return A?R:[1,1]}),[A,R]),W=Object(a.useMemo)((function(){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ml(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ml(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({zIndex:u?10:3,transform:"translate(".concat(l,"px,").concat(c,"px)"),pointerEvents:C||j||f||h||v||g?"all":"none",opacity:T?1:0},O)}),[u,l,c,C,j,f,T,O,h,v,g]),q=Object(a.useMemo)((function(){if(h&&!D)return function(t){return h(t,V)}}),[h,D,V]),G=Object(a.useMemo)((function(){if(v&&!D)return function(t){return v(t,V)}}),[v,D,V]),Y=Object(a.useMemo)((function(){if(g&&!D)return function(t){return g(t,V)}}),[g,D,V]),X=Object(a.useMemo)((function(){if(m)return function(t){return m(t,V)}}),[m,V]),K=Object(a.useCallback)((function(t){j||(C&&(z(),u||F(V)),null===f||void 0===f||f(t,V))}),[C,u,j,f,V]),$=Object(a.useCallback)((function(t){null===y||void 0===y||y(t,V),E&&C?(z(),u||F(V)):E||u||!C||(z(),F([]))}),[V,u,E,C,y]),Z=Object(a.useCallback)((function(t,e){x&&(V.position.x+=e.deltaX,V.position.y+=e.deltaY,x(t,V)),B({id:n,diff:{x:e.deltaX,y:e.deltaY},isDragging:!0})}),[n,V,x]),Q=Object(a.useCallback)((function(t){if(!D)return!C||E||u||F(V),void(null===f||void 0===f||f(t,V));B({id:V.id,isDragging:!1}),null===w||void 0===w||w(t,V)}),[V,C,E,f,w,D,u]),J=Object(a.useCallback)((function(t){null===b||void 0===b||b(t,V)}),[V,b]);if(Object(a.useLayoutEffect)((function(){H.current&&!M&&L([{id:n,nodeElement:H.current,forceUpdate:!0}])}),[n,M,P,_]),Object(a.useEffect)((function(){if(H.current){var t=H.current;return null===I||void 0===I||I.observe(t),function(){return null===I||void 0===I?void 0:I.unobserve(t)}}}),[]),M)return null;var tt=p(["react-flow__node","react-flow__node-".concat(r),S,{selected:u,selectable:C}]);return s.a.createElement(ns,{onStart:$,onDrag:Z,onStop:Q,scale:i,disabled:!j,cancel:".nodrag",nodeRef:H,grid:U,enableUserSelectHack:!1,handle:N},s.a.createElement("div",{className:tt,ref:H,style:W,onMouseEnter:q,onMouseMove:G,onMouseLeave:Y,onContextMenu:X,onClick:K,onDoubleClick:J,"data-id":n},s.a.createElement(il,{value:n},s.a.createElement(t,{id:n,data:o,type:r,xPos:l,yPos:c,selected:u,isConnectable:k,sourcePosition:P,targetPosition:_,isDragging:D,dragHandle:N}))))};return e.displayName="NodeWrapper",Object(a.memo)(e)};function yl(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 xl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yl(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yl(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var wl=function(t){var e=t.onSelectionChange,n=_e((function(t){return t.selectedElements}));return Object(a.useEffect)((function(){e(n)}),[n]),null},Ol=function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(e)){if((r=e.length)!=n.length)return!1;for(o=r;0!==o--;)if(!t(e[o],n[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if((r=(i=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(o=r;0!==o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!==o--;){var a=i[o];if(!t(e[a],n[a]))return!1}return!0}return e!==e&&n!==n};function Sl(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 jl=function(t,e){var n=t.getBoundingClientRect();return{source:Cl(".source",t,n,e),target:Cl(".target",t,n,e)}},Cl=function(t,e,n,r){var o=e.querySelectorAll(t);return o&&o.length?Array.from(o).map((function(t){var e=t.getBoundingClientRect(),o=Ne(t);return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Sl(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sl(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({id:t.getAttribute("data-handleid"),position:t.getAttribute("data-handlepos"),x:(e.left-n.left)/r,y:(e.top-n.top)/r},o)})):null};function kl(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 El(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?kl(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):kl(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Pl(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ml,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Jt:var n=e.payload,r={nextNodes:[],nextEdges:[]},o=n.reduce((function(e,n){if(Ue(n)){var r=t.nodes.find((function(t){return t.id===n.id}));if(r){var o=El(El({},r),n);r.position.x===n.position.x&&r.position.y===n.position.y||(o.__rf.position=n.position),"undefined"!==typeof n.type&&n.type!==r.type&&(o.__rf.width=null),e.nextNodes.push(o)}else e.nextNodes.push(Ge(n,t.nodeExtent))}else if(Ve(n)){var i=t.edges.find((function(t){return t.id===n.id}));i?e.nextEdges.push(El(El({},i),n)):e.nextEdges.push(Ye(n))}return e}),r),i=o.nextNodes,a=o.nextEdges;return El(El({},t),{},{nodes:i,edges:a});case te:var s=t.nodes.map((function(n){var r=e.payload.find((function(t){return t.id===n.id}));if(r){var o=Ne(r.nodeElement);if(o.width&&o.height&&(n.__rf.width!==o.width||n.__rf.height!==o.height||r.forceUpdate)){var i=jl(r.nodeElement,t.transform[2]);return El(El({},n),{},{__rf:El(El(El({},n.__rf),o),{},{handleBounds:i})})}}return n}));return El(El({},t),{},{nodes:s});case ee:var l=e.payload,c=l.id,u=l.pos,d=u;if(t.snapToGrid){var f=De(t.snapGrid,2),p=f[0],h=f[1];d={x:p*Math.round(u.x/p),y:h*Math.round(u.y/h)}}var v=t.nodes.map((function(t){return t.id===c?El(El({},t),{},{__rf:El(El({},t.__rf),{},{position:d})}):t}));return El(El({},t),{},{nodes:v});case ne:var g=e.payload,m=g.id,b=g.diff,y=g.isDragging,x=t.nodes.map((function(e){var n;if(m===e.id||null!==(n=t.selectedElements)&&void 0!==n&&n.find((function(t){return t.id===e.id}))){var r=El(El({},e),{},{__rf:El(El({},e.__rf),{},{isDragging:y})});return b&&(r.__rf.position={x:e.__rf.position.x+b.x,y:e.__rf.position.y+b.y}),r}return e}));return El(El({},t),{},{nodes:x});case re:var w=e.payload;return El(El({},t),{},{selectionActive:!0,userSelectionRect:{width:0,height:0,startX:w.x,startY:w.y,x:w.x,y:w.y,draw:!0}});case oe:var O,S,j=e.payload,C=null!==(O=t.userSelectionRect.startX)&&void 0!==O?O:0,k=null!==(S=t.userSelectionRect.startY)&&void 0!==S?S:0,E=El(El({},t.userSelectionRect),{},{x:j.x<C?j.x:C,y:j.y<k?j.y:k,width:Math.abs(j.x-C),height:Math.abs(j.y-k)}),P=Qe(t.nodes,E,t.transform,!1,!0),_=Je(P,t.edges),M=[].concat(Re(P),Re(_)),T=!Ol(M,t.selectedElements),A=T?{selectedElements:M.length>0?M:null}:{};return El(El(El({},t),A),{},{userSelectionRect:E});case ie:var R,D=null===(R=t.selectedElements)||void 0===R?void 0:R.filter((function(t){return Ue(t)&&t.__rf})),I=El(El({},t),{},{selectionActive:!1,userSelectionRect:El(El({},t.userSelectionRect),{},{draw:!1})});if(D&&0!==D.length){var N=Ze(D);I.selectedNodesBbox=N,I.nodesSelectionActive=!0}else I.selectedElements=null,I.nodesSelectionActive=!1;return I;case se:var L=e.payload,F=Array.isArray(L)?L:[L],B=!Ol(F,t.selectedElements),z=B?F:t.selectedElements;return El(El({},t),{},{selectedElements:z});case ce:var H=t.multiSelectionActive,V=t.selectedElements,U=e.payload,W=Array.isArray(U)?U:[U],q=W;H&&(q=V?[].concat(Re(V),Re(W)):W);var G=!Ol(q,t.selectedElements),Y=G?q:t.selectedElements;return El(El({},t),{},{selectedElements:Y});case fe:var X=e.payload,K=X.d3Zoom,$=X.d3Selection,Z=X.d3ZoomHandler,Q=X.transform;return El(El({},t),{},{d3Zoom:K,d3Selection:$,d3ZoomHandler:Z,transform:Q});case pe:var J,tt=e.payload;return null===(J=t.d3Zoom)||void 0===J||J.scaleExtent([tt,t.maxZoom]),El(El({},t),{},{minZoom:tt});case he:var et,nt=e.payload;return null===(et=t.d3Zoom)||void 0===et||et.scaleExtent([t.minZoom,nt]),El(El({},t),{},{maxZoom:nt});case ve:var rt,ot=e.payload;return null===(rt=t.d3Zoom)||void 0===rt||rt.translateExtent(ot),El(El({},t),{},{translateExtent:ot});case ke:var it=e.payload;return El(El({},t),{},{nodeExtent:it,nodes:t.nodes.map((function(t){return El(El({},t),{},{__rf:El(El({},t.__rf),{},{position:Fe(t.__rf.position,it)})})}))});case Kt:case $t:case Zt:case Qt:case le:case ae:case ue:case de:case ge:case me:case be:case ye:case xe:case we:case Oe:case Se:case je:case Ce:return El(El({},t),e.payload);default:return t}}function _l(t){return y(Pl,t)}var Ml={width:0,height:0,transform:[0,0,1],nodes:[],edges:[],selectedElements:null,selectedNodesBbox:{x:0,y:0,width:0,height:0},d3Zoom:null,d3Selection:null,d3ZoomHandler:void 0,minZoom:.5,maxZoom:2,translateExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodeExtent:[[Number.NEGATIVE_INFINITY,Number.NEGATIVE_INFINITY],[Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY]],nodesSelectionActive:!1,selectionActive:!1,userSelectionRect:{startX:0,startY:0,x:0,y:0,width:0,height:0,draw:!1},connectionNodeId:null,connectionHandleId:null,connectionHandleType:"source",connectionPosition:{x:0,y:0},connectionMode:qi.Strict,snapGrid:[15,15],snapToGrid:!1,nodesDraggable:!0,nodesConnectable:!0,elementsSelectable:!0,multiSelectionActive:!1,reactFlowVersion:"9.7.4"},Tl=_l(Ml),Al=function(t){var e=t.children,n=Object(a.useContext)(tt);return Object(a.useMemo)((function(){var t,e;return null===n||void 0===n||null===(t=n.store)||void 0===t||null===(e=t.getState())||void 0===e?void 0:e.reactFlowVersion}),[n])?s.a.createElement(s.a.Fragment,null,e):s.a.createElement(at,{store:Tl},e)};function Rl(t,e){void 0===e&&(e={});var n=e.insertAt;if(t&&"undefined"!==typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}Al.displayName="ReactFlowWrapper";Rl(".react-flow{height:100%;overflow:hidden;position:relative;width:100%}.react-flow__pane,.react-flow__renderer,.react-flow__selectionpane{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{z-index:1}.react-flow__renderer{z-index:4}.react-flow__selectionpane{z-index:5}.react-flow__edges,.react-flow__selection{left:0;position:absolute;top:0}.react-flow__edges{pointer-events:none;z-index:2}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.inactive{pointer-events:none}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edge-path{fill:none}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connection-path{fill:none}.react-flow__nodes{height:100%;pointer-events:none;width:100%;z-index:3}.react-flow__node,.react-flow__nodes{position:absolute;transform-origin:0 0}.react-flow__node{pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-flow__nodesselection{height:100%;left:0;pointer-events:none;position:absolute;top:0;transform-origin:left top;width:100%;z-index:3}.react-flow__nodesselection-rect{cursor:-webkit-grab;cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{pointer-events:none}.react-flow__handle.connectable{pointer-events:all}.react-flow__handle-bottom{bottom:-4px;left:50%;top:auto;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{left:-4px;top:50%;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__background{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__controls{bottom:10px;left:10px;position:absolute;z-index:5}.react-flow__controls-button{border:none;height:24px;width:24px}.react-flow__controls-button svg{width:100%}.react-flow__minimap{bottom:10px;position:absolute;right:10px;z-index:5}");Rl(".react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__edge.selected .react-flow__edge-path{stroke:#555}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-path{stroke:#b1b1b7;stroke-width:1}.react-flow__edge-text{font-size:10px}.react-flow__edge-textbg{fill:#fff}.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1}.react-flow__node{cursor:-webkit-grab;cursor:grab}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output{border-radius:3px;border-style:solid;border-width:1px;color:#222;font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px rgba(0,0,0,.08)}.react-flow__node-input{background:#fff;border-color:#0041d0}.react-flow__node-input.selected,.react-flow__node-input.selected:hover{box-shadow:0 0 0 .5px #0041d0}.react-flow__node-input .react-flow__handle{background:#0041d0}.react-flow__node-default{background:#fff;border-color:#1a192b}.react-flow__node-default.selected,.react-flow__node-default.selected:hover{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-default .react-flow__handle{background:#1a192b}.react-flow__node-output{background:#fff;border-color:#ff0072}.react-flow__node-output.selected,.react-flow__node-output.selected:hover{box-shadow:0 0 0 .5px #ff0072}.react-flow__node-output .react-flow__handle{background:#ff0072}.react-flow__nodesselection-rect{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__handle{background:#555;border:1px solid #fff;border-radius:100%;height:6px;position:absolute;width:6px}.react-flow__handle.connectable{cursor:crosshair}.react-flow__minimap{background-color:#fff}.react-flow__controls{box-shadow:0 0 2px 1px rgba(0,0,0,.08)}.react-flow__controls-button{align-items:center;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;cursor:pointer;display:flex;height:16px;justify-content:center;padding:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:16px}.react-flow__controls-button svg{max-height:12px;max-width:12px}.react-flow__controls-button:hover{background:#f4f4f4}");var Dl=["elements","className","nodeTypes","edgeTypes","onElementClick","onLoad","onMove","onMoveStart","onMoveEnd","onElementsRemove","onConnect","onConnectStart","onConnectStop","onConnectEnd","onNodeMouseEnter","onNodeMouseMove","onNodeMouseLeave","onNodeContextMenu","onNodeDoubleClick","onNodeDragStart","onNodeDrag","onNodeDragStop","onSelectionChange","onSelectionDragStart","onSelectionDrag","onSelectionDragStop","onSelectionContextMenu","connectionMode","connectionLineType","connectionLineStyle","connectionLineComponent","deleteKeyCode","selectionKeyCode","multiSelectionKeyCode","zoomActivationKeyCode","snapToGrid","snapGrid","onlyRenderVisibleElements","selectNodesOnDrag","nodesDraggable","nodesConnectable","elementsSelectable","minZoom","maxZoom","defaultZoom","defaultPosition","translateExtent","preventScrolling","nodeExtent","arrowHeadColor","markerEndId","zoomOnScroll","zoomOnPinch","panOnScroll","panOnScrollSpeed","panOnScrollMode","zoomOnDoubleClick","paneMoveable","onPaneClick","onPaneScroll","onPaneContextMenu","children","onEdgeUpdate","onEdgeContextMenu","onEdgeDoubleClick","onEdgeMouseEnter","onEdgeMouseMove","onEdgeMouseLeave","onEdgeUpdateStart","onEdgeUpdateEnd","edgeUpdaterRadius","nodeTypesId","edgeTypesId"];function Il(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 Nl(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Il(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Il(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ll={input:hl,default:fl,output:gl},Fl={default:ys,straight:Ns,step:Is,smoothstep:_s},Bl=Object(a.forwardRef)((function(t,e){var n=t.elements,r=void 0===n?[]:n,o=t.className,i=t.nodeTypes,l=void 0===i?Ll:i,c=t.edgeTypes,u=void 0===c?Fl:c,d=t.onElementClick,h=t.onLoad,v=t.onMove,g=t.onMoveStart,m=t.onMoveEnd,b=t.onElementsRemove,y=t.onConnect,x=t.onConnectStart,w=t.onConnectStop,O=t.onConnectEnd,S=t.onNodeMouseEnter,j=t.onNodeMouseMove,C=t.onNodeMouseLeave,k=t.onNodeContextMenu,E=t.onNodeDoubleClick,P=t.onNodeDragStart,_=t.onNodeDrag,M=t.onNodeDragStop,T=t.onSelectionChange,A=t.onSelectionDragStart,R=t.onSelectionDrag,D=t.onSelectionDragStop,I=t.onSelectionContextMenu,N=t.connectionMode,L=void 0===N?qi.Strict:N,F=t.connectionLineType,B=void 0===F?Gi.Bezier:F,z=t.connectionLineStyle,H=t.connectionLineComponent,V=t.deleteKeyCode,U=void 0===V?"Backspace":V,W=t.selectionKeyCode,q=void 0===W?"Shift":W,G=t.multiSelectionKeyCode,Y=void 0===G?"Meta":G,X=t.zoomActivationKeyCode,K=void 0===X?"Meta":X,$=t.snapToGrid,Z=void 0!==$&&$,Q=t.snapGrid,J=void 0===Q?[15,15]:Q,tt=t.onlyRenderVisibleElements,et=void 0!==tt&&tt,nt=t.selectNodesOnDrag,rt=void 0===nt||nt,ot=t.nodesDraggable,it=t.nodesConnectable,at=t.elementsSelectable,st=t.minZoom,lt=t.maxZoom,ct=t.defaultZoom,ut=void 0===ct?1:ct,dt=t.defaultPosition,ft=void 0===dt?[0,0]:dt,pt=t.translateExtent,ht=t.preventScrolling,vt=void 0===ht||ht,gt=t.nodeExtent,mt=t.arrowHeadColor,bt=void 0===mt?"#b1b1b7":mt,yt=t.markerEndId,xt=t.zoomOnScroll,wt=void 0===xt||xt,Ot=t.zoomOnPinch,St=void 0===Ot||Ot,jt=t.panOnScroll,Ct=void 0!==jt&&jt,kt=t.panOnScrollSpeed,Et=void 0===kt?.5:kt,Pt=t.panOnScrollMode,_t=void 0===Pt?Yi.Free:Pt,Mt=t.zoomOnDoubleClick,Tt=void 0===Mt||Mt,At=t.paneMoveable,Rt=void 0===At||At,Dt=t.onPaneClick,It=t.onPaneScroll,Nt=t.onPaneContextMenu,Lt=t.children,Ft=t.onEdgeUpdate,Bt=t.onEdgeContextMenu,zt=t.onEdgeDoubleClick,Ht=t.onEdgeMouseEnter,Vt=t.onEdgeMouseMove,Ut=t.onEdgeMouseLeave,Wt=t.onEdgeUpdateStart,qt=t.onEdgeUpdateEnd,Gt=t.edgeUpdaterRadius,Yt=void 0===Gt?10:Gt,Xt=t.nodeTypesId,Kt=void 0===Xt?"1":Xt,$t=t.edgeTypesId,Zt=void 0===$t?"1":$t,Qt=f(t,Dl),Jt=Object(a.useMemo)((function(){return function(t){var e={input:bl(t.input||hl),default:bl(t.default||fl),output:bl(t.output||gl)},n=Object.keys(t).filter((function(t){return!["input","default","output"].includes(t)})).reduce((function(e,n){return e[n]=bl(t[n]||fl),e}),{});return xl(xl({},e),n)}(l)}),[Kt]),te=Object(a.useMemo)((function(){return function(t){var e={default:Us(t.default||ys),straight:Us(t.bezier||Ns),step:Us(t.step||Is),smoothstep:Us(t.step||_s)},n=Object.keys(t).filter((function(t){return!["default","bezier"].includes(t)})).reduce((function(e,n){return e[n]=Us(t[n]||ys),e}),{});return qs(qs({},e),n)}(u)}),[Zt]),ee=p(["react-flow",o]);return s.a.createElement("div",Nl(Nl({},Qt),{},{ref:e,className:ee}),s.a.createElement(Al,null,s.a.createElement(nl,{onLoad:h,onMove:v,onMoveStart:g,onMoveEnd:m,onElementClick:d,onNodeMouseEnter:S,onNodeMouseMove:j,onNodeMouseLeave:C,onNodeContextMenu:k,onNodeDoubleClick:E,onNodeDragStart:P,onNodeDrag:_,onNodeDragStop:M,nodeTypes:Jt,edgeTypes:te,connectionMode:L,connectionLineType:B,connectionLineStyle:z,connectionLineComponent:H,selectionKeyCode:q,onElementsRemove:b,deleteKeyCode:U,multiSelectionKeyCode:Y,zoomActivationKeyCode:K,onConnect:y,onConnectStart:x,onConnectStop:w,onConnectEnd:O,snapToGrid:Z,snapGrid:J,onlyRenderVisibleElements:et,nodesDraggable:ot,nodesConnectable:it,elementsSelectable:at,selectNodesOnDrag:rt,minZoom:st,maxZoom:lt,defaultZoom:ut,defaultPosition:ft,translateExtent:pt,preventScrolling:vt,nodeExtent:gt,arrowHeadColor:bt,markerEndId:yt,zoomOnScroll:wt,zoomOnPinch:St,zoomOnDoubleClick:Tt,panOnScroll:Ct,panOnScrollSpeed:Et,panOnScrollMode:_t,paneMoveable:Rt,onPaneClick:Dt,onPaneScroll:It,onPaneContextMenu:Nt,onSelectionDragStart:A,onSelectionDrag:R,onSelectionDragStop:D,onSelectionContextMenu:I,onEdgeUpdate:Ft,onEdgeContextMenu:Bt,onEdgeDoubleClick:zt,onEdgeMouseEnter:Ht,onEdgeMouseMove:Vt,onEdgeMouseLeave:Ut,onEdgeUpdateStart:Wt,onEdgeUpdateEnd:qt,edgeUpdaterRadius:Yt}),s.a.createElement(rl,{elements:r}),T&&s.a.createElement(wl,{onSelectionChange:T}),Lt))}));Bl.displayName="ReactFlow";var zl=function(t){var e=t.x,n=t.y,r=t.width,o=t.height,i=t.style,a=t.color,l=t.strokeColor,c=t.strokeWidth,u=t.className,d=t.borderRadius,f=t.shapeRendering,h=i||{},v=h.background,g=h.backgroundColor,m=a||v||g;return s.a.createElement("rect",{className:p(["react-flow__minimap-node",u]),x:e,y:n,rx:d,ry:d,width:r,height:o,fill:m,stroke:l,strokeWidth:c,shapeRendering:f})};zl.displayName="MiniMapNode";var Hl=Object(a.memo)(zl),Vl=function(t){var e,n=t.style,r=t.className,o=t.nodeStrokeColor,i=void 0===o?"#555":o,a=t.nodeColor,l=void 0===a?"#fff":a,c=t.nodeClassName,u=void 0===c?"":c,d=t.nodeBorderRadius,f=void 0===d?5:d,h=t.nodeStrokeWidth,v=void 0===h?2:h,g=t.maskColor,m=void 0===g?"rgb(240, 242, 243, 0.7)":g,b=_e((function(t){return t.width})),y=_e((function(t){return t.height})),x=De(_e((function(t){return t.transform})),3),w=x[0],O=x[1],S=x[2],j=_e((function(t){return t.nodes})),C=p(["react-flow__minimap",r]),k=(null===n||void 0===n?void 0:n.width)||200,E=(null===n||void 0===n?void 0:n.height)||150,P=l instanceof Function?l:function(){return l},_=i instanceof Function?i:function(){return i},M=u instanceof Function?u:function(){return u},T=j&&j.length,A=Ze(j),R={x:-w/S,y:-O/S,width:b/S,height:y/S},D=T?(e=R,$e(Xe(Ke(A),Ke(e)))):R,I=D.width/k,N=D.height/E,L=Math.max(I,N),F=L*k,B=L*E,z=5*L,H=D.x-(F-D.width)/2-z,V=D.y-(B-D.height)/2-z,U=F+2*z,W=B+2*z,q="undefined"===typeof window||window.chrome?"crispEdges":"geometricPrecision";return s.a.createElement("svg",{width:k,height:E,viewBox:"".concat(H," ").concat(V," ").concat(U," ").concat(W),style:n,className:C},j.filter((function(t){return!t.isHidden})).map((function(t){return s.a.createElement(Hl,{key:t.id,x:t.__rf.position.x,y:t.__rf.position.y,width:t.__rf.width,height:t.__rf.height,style:t.style,className:M(t),color:P(t),borderRadius:f,strokeColor:_(t),strokeWidth:v,shapeRendering:q})})),s.a.createElement("path",{className:"react-flow__minimap-mask",d:"M".concat(H-z,",").concat(V-z,"h").concat(U+2*z,"v").concat(W+2*z,"h").concat(-U-2*z,"z\n        M").concat(R.x,",").concat(R.y,"h").concat(R.width,"v").concat(R.height,"h").concat(-R.width,"z"),fill:m,fillRule:"evenodd"}))};Vl.displayName="MiniMap";var Ul;function Wl(){return Wl=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},Wl.apply(this,arguments)}var ql,Gl=function(t){return a.createElement("svg",Wl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},t),Ul||(Ul=a.createElement("path",{d:"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z"})))};function Yl(){return Yl=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},Yl.apply(this,arguments)}var Xl,Kl=function(t){return a.createElement("svg",Yl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 5"},t),ql||(ql=a.createElement("path",{d:"M0 0h32v4.2H0z"})))};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},$l.apply(this,arguments)}var Zl,Ql=function(t){return a.createElement("svg",$l({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 30"},t),Xl||(Xl=a.createElement("path",{d:"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z"})))};function Jl(){return Jl=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},Jl.apply(this,arguments)}var tc,ec=function(t){return a.createElement("svg",Jl({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},t),Zl||(Zl=a.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z"})))};function nc(){return nc=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},nc.apply(this,arguments)}var rc=function(t){return a.createElement("svg",nc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 25 32"},t),tc||(tc=a.createElement("path",{d:"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z"})))},oc=["children","className"];function ic(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 ac=function(t){var e=t.children,n=t.className,r=f(t,oc);return s.a.createElement("button",function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ic(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ic(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({type:"button",className:p(["react-flow__controls-button",n])},r),e)},sc=function(t){var e=t.style,n=t.showZoom,r=void 0===n||n,o=t.showFitView,i=void 0===o||o,l=t.showInteractive,c=void 0===l||l,u=t.fitViewParams,d=t.onZoomIn,f=t.onZoomOut,h=t.onFitView,v=t.onInteractiveChange,g=t.className,m=t.children,b=De(Object(a.useState)(!1),2),y=b[0],x=b[1],w=Pe((function(t){return t.setInteractive})),O=tl(),S=O.zoomIn,j=O.zoomOut,C=O.fitView,k=_e((function(t){return t.nodesDraggable&&t.nodesConnectable&&t.elementsSelectable})),E=p(["react-flow__controls",g]),P=Object(a.useCallback)((function(){null===S||void 0===S||S(),null===d||void 0===d||d()}),[S,d]),_=Object(a.useCallback)((function(){null===j||void 0===j||j(),null===f||void 0===f||f()}),[j,f]),M=Object(a.useCallback)((function(){null===C||void 0===C||C(u),null===h||void 0===h||h()}),[C,u,h]),T=Object(a.useCallback)((function(){null===w||void 0===w||w(!k),null===v||void 0===v||v(!k)}),[k,w,v]);return Object(a.useEffect)((function(){x(!0)}),[]),y?s.a.createElement("div",{className:E,style:e},r&&s.a.createElement(s.a.Fragment,null,s.a.createElement(ac,{onClick:P,className:"react-flow__controls-zoomin"},s.a.createElement(Gl,null)),s.a.createElement(ac,{onClick:_,className:"react-flow__controls-zoomout"},s.a.createElement(Kl,null))),i&&s.a.createElement(ac,{className:"react-flow__controls-fitview",onClick:M},s.a.createElement(Ql,null)),c&&s.a.createElement(ac,{className:"react-flow__controls-interactive",onClick:T},k?s.a.createElement(rc,null):s.a.createElement(ec,null)),m):null};sc.displayName="Controls";var lc;function cc(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 uc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cc(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var dc=(d(lc={},Wi.Dots,"#81818a"),d(lc,Wi.Lines,"#eee"),lc),fc=function(t){var e=t.variant,n=void 0===e?Wi.Dots:e,r=t.gap,o=void 0===r?15:r,i=t.size,l=void 0===i?.4:i,c=t.color,u=t.style,d=t.className,f=De(_e((function(t){return t.transform})),3),h=f[0],v=f[1],g=f[2],m=Object(a.useMemo)((function(){return"pattern-".concat(Math.floor(1e5*Math.random()))}),[]),b=p(["react-flow__background",d]),y=o*g,x=h%y,w=v%y,O=n===Wi.Lines,S=c||dc[n],j=O?function(t,e,n){return s.a.createElement("path",{stroke:n,strokeWidth:e,d:"M".concat(t/2," 0 V").concat(t," M0 ").concat(t/2," H").concat(t)})}(y,l,S):function(t,e){return s.a.createElement("circle",{cx:t,cy:t,r:t,fill:e})}(l*g,S);return s.a.createElement("svg",{className:b,style:uc(uc({},u),{},{width:"100%",height:"100%"})},s.a.createElement("pattern",{id:m,x:x,y:w,width:y,height:y,patternUnits:"userSpaceOnUse"},j),s.a.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"url(#".concat(m,")")}))};fc.displayName="Background"},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z"}),"Download");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m10 16.5 6-4.5-6-4.5v9zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"PlayCircleOutline");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10zm2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99zm0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99h-8.97z"}),"PieChart");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z"}),"ContentCopy");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M14 9v2h-3V9H8.5V7H11V1H4v6h2.5v2H4v6h2.5v2H4v6h7v-6H8.5v-2H11v-2h3v2h7V9h-7z"}),"Schema");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"ReportProblem");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{fillRule:"evenodd",d:"m9 17 3-2.94c-.39-.04-.68-.06-1-.06-2.67 0-8 1.34-8 4v2h9l-3-3zm2-5c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m4.47 8.5L12 17l1.4-1.41 2.07 2.08 5.13-5.17 1.4 1.41z"}),"HowToReg");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l4 4 4-4H6c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7c-1.9 0-3.62-.76-4.88-1.99L6.7 18.42C8.32 20.01 10.55 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm2 8v-1c0-1.1-.9-2-2-2s-2 .9-2 2v1c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-3c0-.55-.45-1-1-1zm-1 0h-2v-1c0-.55.45-1 1-1s1 .45 1 1v1z"}),"LockReset");e.default=a},function(t,e,n){"use strict";n.r(e),n.d(e,"scaleBand",(function(){return r.a})),n.d(e,"scalePoint",(function(){return r.b})),n.d(e,"scaleIdentity",(function(){return a})),n.d(e,"scaleLinear",(function(){return o.a})),n.d(e,"scaleLog",(function(){return y})),n.d(e,"scaleSymlog",(function(){return S})),n.d(e,"scaleOrdinal",(function(){return j.a})),n.d(e,"scaleImplicit",(function(){return j.b})),n.d(e,"scalePow",(function(){return _})),n.d(e,"scaleSqrt",(function(){return M})),n.d(e,"scaleRadial",(function(){return R})),n.d(e,"scaleQuantile",(function(){return W})),n.d(e,"scaleQuantize",(function(){return G})),n.d(e,"scaleThreshold",(function(){return Y})),n.d(e,"scaleTime",(function(){return En})),n.d(e,"scaleUtc",(function(){return Pn})),n.d(e,"scaleSequential",(function(){return Rn})),n.d(e,"scaleSequentialLog",(function(){return Dn})),n.d(e,"scaleSequentialPow",(function(){return Nn})),n.d(e,"scaleSequentialSqrt",(function(){return Ln})),n.d(e,"scaleSequentialSymlog",(function(){return In})),n.d(e,"scaleSequentialQuantile",(function(){return Fn})),n.d(e,"scaleDiverging",(function(){return Hn})),n.d(e,"scaleDivergingLog",(function(){return Vn})),n.d(e,"scaleDivergingPow",(function(){return Wn})),n.d(e,"scaleDivergingSqrt",(function(){return qn})),n.d(e,"scaleDivergingSymlog",(function(){return Un})),n.d(e,"tickFormat",(function(){return Gn.a}));var r=n(503),o=n(120),i=n(254);function a(t){var e;function n(t){return null==t||isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,i.a),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return a(t).unknown(e)},t=arguments.length?Array.from(t,i.a):[0,1],Object(o.b)(n)}var s=n(733),l=n(1297);function c(t,e){var n,r=0,o=(t=t.slice()).length-1,i=t[r],a=t[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),t[r]=e.floor(i),t[o]=e.ceil(a),t}var u=n(75),d=n(64);function f(t){return Math.log(t)}function p(t){return Math.exp(t)}function h(t){return-Math.log(-t)}function v(t){return-Math.exp(-t)}function g(t){return isFinite(t)?+("1e"+t):t<0?0:t}function m(t){return function(e){return-t(-e)}}function b(t){var e,n,r=t(f,p),o=r.domain,i=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})}(i),n=function(t){return 10===t?g:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(i),o()[0]<0?(e=m(e),n=m(n),t(h,v)):t(f,p),r}return r.base=function(t){return arguments.length?(i=+t,a()):i},r.domain=function(t){return arguments.length?(o(t),a()):o()},r.ticks=function(t){var r,a=o(),l=a[0],c=a[a.length-1];(r=c<l)&&(p=l,l=c,c=p);var u,d,f,p=e(l),h=e(c),v=null==t?10:+t,g=[];if(!(i%1)&&h-p<v){if(p=Math.floor(p),h=Math.ceil(h),l>0){for(;p<=h;++p)for(d=1,u=n(p);d<i;++d)if(!((f=u*d)<l)){if(f>c)break;g.push(f)}}else for(;p<=h;++p)for(d=i-1,u=n(p);d>=1;--d)if(!((f=u*d)<l)){if(f>c)break;g.push(f)}2*g.length<v&&(g=Object(s.a)(l,c,v))}else g=Object(s.a)(p,h,Math.min(h-p,v)).map(n);return r?g.reverse():g},r.tickFormat=function(t,o){if(null==o&&(o=10===i?".0e":","),"function"!==typeof o&&(o=Object(l.a)(o)),t===1/0)return o;null==t&&(t=10);var a=Math.max(1,i*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*i<i-.5&&(r*=i),r<=a?o(t):""}},r.nice=function(){return o(c(o(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function y(){var t=b(Object(u.d)()).domain([1,10]);return t.copy=function(){return Object(u.a)(t,y()).base(t.base())},d.b.apply(t,arguments),t}function x(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function w(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function O(t){var e=1,n=t(x(e),w(e));return n.constant=function(n){return arguments.length?t(x(e=+n),w(e)):e},Object(o.b)(n)}function S(){var t=O(Object(u.d)());return t.copy=function(){return Object(u.a)(t,S()).constant(t.constant())},d.b.apply(t,arguments)}var j=n(332);function C(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function k(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function E(t){return t<0?-t*t:t*t}function P(t){var e=t(u.c,u.c),n=1;function r(){return 1===n?t(u.c,u.c):.5===n?t(k,E):t(C(n),C(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,r()):n},Object(o.b)(e)}function _(){var t=P(Object(u.d)());return t.copy=function(){return Object(u.a)(t,_()).exponent(t.exponent())},d.b.apply(t,arguments),t}function M(){return _.apply(null,arguments).exponent(.5)}function T(t){return Math.sign(t)*t*t}function A(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function R(){var t,e=Object(u.b)(),n=[0,1],r=!1;function a(n){var o=A(e(n));return isNaN(o)?t:r?Math.round(o):o}return a.invert=function(t){return e.invert(T(t))},a.domain=function(t){return arguments.length?(e.domain(t),a):e.domain()},a.range=function(t){return arguments.length?(e.range((n=Array.from(t,i.a)).map(T)),a):n.slice()},a.rangeRound=function(t){return a.range(t).round(!0)},a.round=function(t){return arguments.length?(r=!!t,a):r},a.clamp=function(t){return arguments.length?(e.clamp(t),a):e.clamp()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.copy=function(){return R(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},d.b.apply(a,arguments),Object(o.b)(a)}var D=n(47);function I(t,e){var n;if(void 0===e){var r,o=Object(D.a)(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n<i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,s=-1,l=Object(D.a)(t);try{for(l.s();!(a=l.n()).done;){var c=a.value;null!=(c=e(c,++s,t))&&(n<c||void 0===n&&c>=c)&&(n=c)}}catch(u){l.e(u)}finally{l.f()}}return n}function N(t,e){var n;if(void 0===e){var r,o=Object(D.a)(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n>i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,s=-1,l=Object(D.a)(t);try{for(l.s();!(a=l.n()).done;){var c=a.value;null!=(c=e(c,++s,t))&&(n>c||void 0===n&&c>=c)&&(n=c)}}catch(u){l.e(u)}finally{l.f()}}return n}var L=n(291);function F(t,e){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:L.a;r>n;){if(r-n>600){var i=r-n+1,a=e-n+1,s=Math.log(i),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(i-l)/i)*(a-i/2<0?-1:1),u=Math.max(n,Math.floor(e-a*l/i+c)),d=Math.min(r,Math.floor(e+(i-a)*l/i+c));F(t,e,u,d,o)}var f=t[e],p=n,h=r;for(B(t,n,e),o(t[r],f)>0&&B(t,n,r);p<h;){for(B(t,p,h),++p,--h;o(t[p],f)<0;)++p;for(;o(t[h],f)>0;)--h}0===o(t[n],f)?B(t,n,h):B(t,++h,r),h<=e&&(n=h+1),e<=h&&(r=h-1)}return t}function B(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}var z=n(345);function H(t,e,n){if(r=(t=Float64Array.from(Object(z.b)(t,n))).length){if((e=+e)<=0||r<2)return N(t);if(e>=1)return I(t);var r,o=(r-1)*e,i=Math.floor(o),a=I(F(t,i).subarray(0,i+1));return a+(N(t.subarray(i+1))-a)*(o-i)}}function V(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:z.a;if(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,o=(r-1)*e,i=Math.floor(o),a=+n(t[i],i,t),s=+n(t[i+1],i+1,t);return a+(s-a)*(o-i)}}var U=n(1285);function W(){var t,e=[],n=[],r=[];function o(){var t=0,o=Math.max(1,n.length);for(r=new Array(o-1);++t<o;)r[t-1]=V(e,t/o);return i}function i(e){return null==e||isNaN(e=+e)?t:n[Object(U.a)(r,e)]}return i.invertExtent=function(t){var o=n.indexOf(t);return o<0?[NaN,NaN]:[o>0?r[o-1]:e[0],o<r.length?r[o]:e[e.length-1]]},i.domain=function(t){if(!arguments.length)return e.slice();e=[];var n,r=Object(D.a)(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;null==i||isNaN(i=+i)||e.push(i)}}catch(a){r.e(a)}finally{r.f()}return e.sort(L.a),o()},i.range=function(t){return arguments.length?(n=Array.from(t),o()):n.slice()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.quantiles=function(){return r.slice()},i.copy=function(){return W().domain(e).range(n).unknown(t)},d.b.apply(i,arguments)}var q=n(2);function G(){var t,e=0,n=1,r=1,i=[.5],a=[0,1];function s(e){return null!=e&&e<=e?a[Object(U.a)(i,e,0,r)]:t}function l(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*n-(t-r)*e)/(r+1);return s}return s.domain=function(t){var r;return arguments.length?(r=Object(q.a)(t,2),e=r[0],n=r[1],e=+e,n=+n,l()):[e,n]},s.range=function(t){return arguments.length?(r=(a=Array.from(t)).length-1,l()):a.slice()},s.invertExtent=function(t){var o=a.indexOf(t);return o<0?[NaN,NaN]:o<1?[e,i[0]]:o>=r?[i[r-1],n]:[i[o-1],i[o]]},s.unknown=function(e){return arguments.length?(t=e,s):s},s.thresholds=function(){return i.slice()},s.copy=function(){return G().domain([e,n]).range(a).unknown(t)},d.b.apply(Object(o.b)(s),arguments)}function Y(){var t,e=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[Object(U.a)(e,o,0,r)]:t}return o.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),o):e.slice()},o.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),o):n.slice()},o.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},o.unknown=function(e){return arguments.length?(t=e,o):t},o.copy=function(){return Y().domain(e).range(n).unknown(t)},d.b.apply(o,arguments)}var X=n(515),K=1e3,$=6e4,Z=36e5,Q=864e5,J=6048e5,tt=2592e6,et=31536e6,nt=new Date,rt=new Date;function ot(t,e,n,r){function o(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return o.floor=function(e){return t(e=new Date(+e)),e},o.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},o.round=function(t){var e=o(t),n=o.ceil(t);return t-e<n-t?e:n},o.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},o.range=function(n,r,i){var a,s=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r)||!(i>0))return s;do{s.push(a=new Date(+n)),e(n,i),t(n)}while(a<n&&n<r);return s},o.filter=function(n){return ot((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&&(o.count=function(e,r){return nt.setTime(+e),rt.setTime(+r),t(nt),t(rt),Math.floor(n(nt,rt))},o.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?o.filter(r?function(e){return r(e)%t===0}:function(e){return o.count(0,e)%t===0}):o:null}),o}var it=ot((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));it.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?ot((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):it:null};var at=it,st=(it.range,ot((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*K)}),(function(t,e){return(e-t)/K}),(function(t){return t.getUTCSeconds()}))),lt=st,ct=(st.range,ot((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*K)}),(function(t,e){t.setTime(+t+e*$)}),(function(t,e){return(e-t)/$}),(function(t){return t.getMinutes()}))),ut=ct,dt=(ct.range,ot((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*K-t.getMinutes()*$)}),(function(t,e){t.setTime(+t+e*Z)}),(function(t,e){return(e-t)/Z}),(function(t){return t.getHours()}))),ft=dt,pt=(dt.range,ot((function(t){return t.setHours(0,0,0,0)}),(function(t,e){return t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*$)/Q}),(function(t){return t.getDate()-1}))),ht=pt;pt.range;function vt(t){return ot((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())*$)/J}))}var gt=vt(0),mt=vt(1),bt=vt(2),yt=vt(3),xt=vt(4),wt=vt(5),Ot=vt(6),St=(gt.range,mt.range,bt.range,yt.range,xt.range,wt.range,Ot.range,ot((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()}))),jt=St,Ct=(St.range,ot((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()})));Ct.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ot((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 kt=Ct,Et=(Ct.range,ot((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*$)}),(function(t,e){return(e-t)/$}),(function(t){return t.getUTCMinutes()}))),Pt=Et,_t=(Et.range,ot((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*Z)}),(function(t,e){return(e-t)/Z}),(function(t){return t.getUTCHours()}))),Mt=_t,Tt=(_t.range,ot((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Q}),(function(t){return t.getUTCDate()-1}))),At=Tt;Tt.range;function Rt(t){return ot((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)/J}))}var Dt=Rt(0),It=Rt(1),Nt=Rt(2),Lt=Rt(3),Ft=Rt(4),Bt=Rt(5),zt=Rt(6),Ht=(Dt.range,It.range,Nt.range,Lt.range,Ft.range,Bt.range,zt.range,ot((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()}))),Vt=Ht,Ut=(Ht.range,ot((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()})));Ut.every=function(t){return isFinite(t=Math.floor(t))&&t>0?ot((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 Wt=Ut;Ut.range;function qt(t,e,n,r,o,i){var a=[[lt,1,K],[lt,5,5e3],[lt,15,15e3],[lt,30,3e4],[i,1,$],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Z],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,Q],[r,2,1728e5],[n,1,J],[e,1,tt],[e,3,7776e6],[t,1,et]];function l(e,n,r){var o=Math.abs(n-e)/r,i=Object(X.a)((function(t){return Object(q.a)(t,3)[2]})).right(a,o);if(i===a.length)return t.every(Object(s.c)(e/et,n/et,r));if(0===i)return at.every(Math.max(Object(s.c)(e,n,r),1));var l=Object(q.a)(a[o/a[i-1][2]<a[i][2]/o?i-1:i],2),c=l[0],u=l[1];return c.every(u)}return[function(t,e,n){var r=e<t;if(r){var o=[e,t];t=o[0],e=o[1]}var i=n&&"function"===typeof n.range?n:l(t,e,n),a=i?i.range(t,+e+1):[];return r?a.reverse():a},l]}var Gt=qt(Wt,Vt,Dt,At,Mt,Pt),Yt=Object(q.a)(Gt,2),Xt=Yt[0],Kt=Yt[1],$t=qt(kt,jt,gt,ht,ft,ut),Zt=Object(q.a)($t,2),Qt=Zt[0],Jt=Zt[1];function te(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 ee(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 ne(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var re,oe,ie,ae={"-":"",_:" ",0:"0"},se=/^\s*\d+/,le=/^%/,ce=/[\\^$*+?|[\]().{}]/g;function ue(t,e,n){var r=t<0?"-":"",o=(r?-t:t)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(e)+o:o)}function de(t){return t.replace(ce,"\\$&")}function fe(t){return new RegExp("^(?:"+t.map(de).join("|")+")","i")}function pe(t){return new Map(t.map((function(t,e){return[t.toLowerCase(),e]})))}function he(t,e,n){var r=se.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function ve(t,e,n){var r=se.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function ge(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function me(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function be(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function ye(t,e,n){var r=se.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function xe(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function we(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 Oe(t,e,n){var r=se.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function Se(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function je(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Ce(t,e,n){var r=se.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function ke(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Ee(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Pe(t,e,n){var r=se.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function _e(t,e,n){var r=se.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Me(t,e,n){var r=se.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Te(t,e,n){var r=le.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Ae(t,e,n){var r=se.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Re(t,e,n){var r=se.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function De(t,e){return ue(t.getDate(),e,2)}function Ie(t,e){return ue(t.getHours(),e,2)}function Ne(t,e){return ue(t.getHours()%12||12,e,2)}function Le(t,e){return ue(1+ht.count(kt(t),t),e,3)}function Fe(t,e){return ue(t.getMilliseconds(),e,3)}function Be(t,e){return Fe(t,e)+"000"}function ze(t,e){return ue(t.getMonth()+1,e,2)}function He(t,e){return ue(t.getMinutes(),e,2)}function Ve(t,e){return ue(t.getSeconds(),e,2)}function Ue(t){var e=t.getDay();return 0===e?7:e}function We(t,e){return ue(gt.count(kt(t)-1,t),e,2)}function qe(t){var e=t.getDay();return e>=4||0===e?xt(t):xt.ceil(t)}function Ge(t,e){return t=qe(t),ue(xt.count(kt(t),t)+(4===kt(t).getDay()),e,2)}function Ye(t){return t.getDay()}function Xe(t,e){return ue(mt.count(kt(t)-1,t),e,2)}function Ke(t,e){return ue(t.getFullYear()%100,e,2)}function $e(t,e){return ue((t=qe(t)).getFullYear()%100,e,2)}function Ze(t,e){return ue(t.getFullYear()%1e4,e,4)}function Qe(t,e){var n=t.getDay();return ue((t=n>=4||0===n?xt(t):xt.ceil(t)).getFullYear()%1e4,e,4)}function Je(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ue(e/60|0,"0",2)+ue(e%60,"0",2)}function tn(t,e){return ue(t.getUTCDate(),e,2)}function en(t,e){return ue(t.getUTCHours(),e,2)}function nn(t,e){return ue(t.getUTCHours()%12||12,e,2)}function rn(t,e){return ue(1+At.count(Wt(t),t),e,3)}function on(t,e){return ue(t.getUTCMilliseconds(),e,3)}function an(t,e){return on(t,e)+"000"}function sn(t,e){return ue(t.getUTCMonth()+1,e,2)}function ln(t,e){return ue(t.getUTCMinutes(),e,2)}function cn(t,e){return ue(t.getUTCSeconds(),e,2)}function un(t){var e=t.getUTCDay();return 0===e?7:e}function dn(t,e){return ue(Dt.count(Wt(t)-1,t),e,2)}function fn(t){var e=t.getUTCDay();return e>=4||0===e?Ft(t):Ft.ceil(t)}function pn(t,e){return t=fn(t),ue(Ft.count(Wt(t),t)+(4===Wt(t).getUTCDay()),e,2)}function hn(t){return t.getUTCDay()}function vn(t,e){return ue(It.count(Wt(t)-1,t),e,2)}function gn(t,e){return ue(t.getUTCFullYear()%100,e,2)}function mn(t,e){return ue((t=fn(t)).getUTCFullYear()%100,e,2)}function bn(t,e){return ue(t.getUTCFullYear()%1e4,e,4)}function yn(t,e){var n=t.getUTCDay();return ue((t=n>=4||0===n?Ft(t):Ft.ceil(t)).getUTCFullYear()%1e4,e,4)}function xn(){return"+0000"}function wn(){return"%"}function On(t){return+t}function Sn(t){return Math.floor(+t/1e3)}function jn(t){return new Date(t)}function Cn(t){return t instanceof Date?+t:+new Date(+t)}function kn(t,e,n,r,o,i,a,s,l,d){var f=Object(u.b)(),p=f.invert,h=f.domain,v=d(".%L"),g=d(":%S"),m=d("%I:%M"),b=d("%I %p"),y=d("%a %d"),x=d("%b %d"),w=d("%B"),O=d("%Y");function S(t){return(l(t)<t?v:s(t)<t?g:a(t)<t?m:i(t)<t?b:r(t)<t?o(t)<t?y:x:n(t)<t?w:O)(t)}return f.invert=function(t){return new Date(p(t))},f.domain=function(t){return arguments.length?h(Array.from(t,Cn)):h().map(jn)},f.ticks=function(e){var n=h();return t(n[0],n[n.length-1],null==e?10:e)},f.tickFormat=function(t,e){return null==e?S:d(e)},f.nice=function(t){var n=h();return t&&"function"===typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?h(c(n,t)):f},f.copy=function(){return Object(u.a)(f,kn(t,e,n,r,o,i,a,s,l,d))},f}function En(){return d.b.apply(kn(Qt,Jt,kt,jt,gt,ht,ft,ut,lt,oe).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Pn(){return d.b.apply(kn(Xt,Kt,Wt,Vt,Dt,At,Mt,Pt,lt,ie).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}re=function(t){var e=t.dateTime,n=t.date,r=t.time,o=t.periods,i=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,c=fe(o),u=pe(o),d=fe(i),f=pe(i),p=fe(a),h=pe(a),v=fe(s),g=pe(s),m=fe(l),b=pe(l),y={a:function(t){return a[t.getDay()]},A:function(t){return i[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:De,e:De,f:Be,g:$e,G:Qe,H:Ie,I:Ne,j:Le,L:Fe,m:ze,M:He,p:function(t){return o[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:On,s:Sn,S:Ve,u:Ue,U:We,V:Ge,w:Ye,W:Xe,x:null,X:null,y:Ke,Y:Ze,Z:Je,"%":wn},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return i[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:tn,e:tn,f:an,g:mn,G:yn,H:en,I:nn,j:rn,L:on,m:sn,M:ln,p:function(t){return o[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:On,s:Sn,S:cn,u:un,U:dn,V:pn,w:hn,W:vn,x:null,X:null,y:gn,Y:bn,Z:xn,"%":wn},w={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=b.get(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.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return j(t,e,n,r)},d:je,e:je,f:Me,g:xe,G:ye,H:ke,I:ke,j:Ce,L:_e,m:Se,M:Ee,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:Oe,Q:Ae,s:Re,S:Pe,u:ve,U:ge,V:me,w:he,W:be,x:function(t,e,r){return j(t,n,e,r)},X:function(t,e,n){return j(t,r,e,n)},y:xe,Y:ye,Z:we,"%":Te};function O(t,e){return function(n){var r,o,i,a=[],s=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===t.charCodeAt(s)&&(a.push(t.slice(l,s)),null!=(o=ae[r=t.charAt(++s)])?r=t.charAt(++s):o="e"===r?" ":"0",(i=e[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(t.slice(l,s)),a.join("")}}function S(t,e){return function(n){var r,o,i=ne(1900,void 0,1);if(j(i,t,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(e&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=ee(ne(i.y,0,1))).getUTCDay(),r=o>4||0===o?It.ceil(r):It(r),r=At.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=te(ne(i.y,0,1))).getDay(),r=o>4||0===o?mt.ceil(r):mt(r),r=ht.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?ee(ne(i.y,0,1)).getUTCDay():te(ne(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,ee(i)):te(i)}}function j(t,e,n,r){for(var o,i,a=0,s=e.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=e.charCodeAt(a++))){if(o=e.charAt(a++),!(i=w[o in ae?e.charAt(a++):o])||(r=i(t,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return y.x=O(n,y),y.X=O(r,y),y.c=O(e,y),x.x=O(n,x),x.X=O(r,x),x.c=O(e,x),{format:function(t){var e=O(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=O(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t+="",!0);return e.toString=function(){return t},e}}}({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"]}),oe=re.format,re.parse,ie=re.utcFormat,re.utcParse;var _n=n(720),Mn=n(1286);function Tn(){var t,e,n,r,o,i=0,a=1,s=u.c,l=!1;function c(e){return null==e||isNaN(e=+e)?o:s(0===n?.5:(e=(r(e)-t)*n,l?Math.max(0,Math.min(1,e)):e))}function d(t){return function(e){var n,r,o;return arguments.length?(r=(n=Object(q.a)(e,2))[0],o=n[1],s=t(r,o),c):[s(0),s(1)]}}return c.domain=function(o){var s;return arguments.length?(s=Object(q.a)(o,2),i=s[0],a=s[1],t=r(i=+i),e=r(a=+a),n=t===e?0:1/(e-t),c):[i,a]},c.clamp=function(t){return arguments.length?(l=!!t,c):l},c.interpolator=function(t){return arguments.length?(s=t,c):s},c.range=d(_n.a),c.rangeRound=d(Mn.a),c.unknown=function(t){return arguments.length?(o=t,c):o},function(o){return r=o,t=o(i),e=o(a),n=t===e?0:1/(e-t),c}}function An(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Rn(){var t=Object(o.b)(Tn()(u.c));return t.copy=function(){return An(t,Rn())},d.a.apply(t,arguments)}function Dn(){var t=b(Tn()).domain([1,10]);return t.copy=function(){return An(t,Dn()).base(t.base())},d.a.apply(t,arguments)}function In(){var t=O(Tn());return t.copy=function(){return An(t,In()).constant(t.constant())},d.a.apply(t,arguments)}function Nn(){var t=P(Tn());return t.copy=function(){return An(t,Nn()).exponent(t.exponent())},d.a.apply(t,arguments)}function Ln(){return Nn.apply(null,arguments).exponent(.5)}function Fn(){var t=[],e=u.c;function n(n){if(null!=n&&!isNaN(n=+n))return e((Object(U.a)(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];var r,o=Object(D.a)(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null==i||isNaN(i=+i)||t.push(i)}}catch(a){o.e(a)}finally{o.f()}return t.sort(L.a),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map((function(n,r){return e(r/(t.length-1))}))},n.quantiles=function(e){return Array.from({length:e+1},(function(n,r){return H(t,r/e)}))},n.copy=function(){return Fn(e).domain(t)},d.a.apply(n,arguments)}function Bn(t,e){void 0===e&&(e=t,t=_n.a);for(var n=0,r=e.length-1,o=e[0],i=new Array(r<0?0:r);n<r;)i[n]=t(o,o=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return i[e](t-e)}}function zn(){var t,e,n,r,o,i,a,s=0,l=.5,c=1,d=1,f=u.c,p=!1;function h(t){return isNaN(t=+t)?a:(t=.5+((t=+i(t))-e)*(d*t<d*e?r:o),f(p?Math.max(0,Math.min(1,t)):t))}function v(t){return function(e){var n,r,o,i;return arguments.length?(r=(n=Object(q.a)(e,3))[0],o=n[1],i=n[2],f=Bn(t,[r,o,i]),h):[f(0),f(.5),f(1)]}}return h.domain=function(a){var u;return arguments.length?(u=Object(q.a)(a,3),s=u[0],l=u[1],c=u[2],t=i(s=+s),e=i(l=+l),n=i(c=+c),r=t===e?0:.5/(e-t),o=e===n?0:.5/(n-e),d=e<t?-1:1,h):[s,l,c]},h.clamp=function(t){return arguments.length?(p=!!t,h):p},h.interpolator=function(t){return arguments.length?(f=t,h):f},h.range=v(_n.a),h.rangeRound=v(Mn.a),h.unknown=function(t){return arguments.length?(a=t,h):a},function(a){return i=a,t=a(s),e=a(l),n=a(c),r=t===e?0:.5/(e-t),o=e===n?0:.5/(n-e),d=e<t?-1:1,h}}function Hn(){var t=Object(o.b)(zn()(u.c));return t.copy=function(){return An(t,Hn())},d.a.apply(t,arguments)}function Vn(){var t=b(zn()).domain([.1,1,10]);return t.copy=function(){return An(t,Vn()).base(t.base())},d.a.apply(t,arguments)}function Un(){var t=O(zn());return t.copy=function(){return An(t,Un()).constant(t.constant())},d.a.apply(t,arguments)}function Wn(){var t=P(zn());return t.copy=function(){return An(t,Wn()).exponent(t.exponent())},d.a.apply(t,arguments)}function qn(){return Wn.apply(null,arguments).exponent(.5)}var Gn=n(395)},function(t,e,n){"use strict";var r=n(182),o=n(71),i=n(1327),a=n(50),s=["xs","sm","md","lg","xl"];function l(t){var e=t.values,n=void 0===e?{xs:0,sm:600,md:960,lg:1280,xl:1920}:e,r=t.unit,i=void 0===r?"px":r,l=t.step,c=void 0===l?5:l,u=Object(o.a)(t,["values","unit","step"]);function d(t){var e="number"===typeof n[t]?n[t]:t;return"@media (min-width:".concat(e).concat(i,")")}function f(t,e){var r=s.indexOf(e);return r===s.length-1?d(t):"@media (min-width:".concat("number"===typeof n[t]?n[t]:t).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[s[r+1]]?n[s[r+1]]:e)-c/100).concat(i,")")}return Object(a.a)({keys:s,values:n,up:d,down:function(t){var e=s.indexOf(t)+1,r=n[s[e]];return e===s.length?d("xs"):"@media (max-width:".concat(("number"===typeof r&&e>0?r:t)-c/100).concat(i,")")},between:f,only:function(t){return f(t,t)},width:function(t){return n[t]}},u)}function c(t,e,n){var o;return Object(a.a)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n      paddingLeft: theme.spacing(2),\n      paddingRight: theme.spacing(2),\n      [theme.breakpoints.up('sm')]: {\n        paddingLeft: theme.spacing(3),\n        paddingRight: theme.spacing(3),\n      },\n      "].join("\n")),Object(a.a)({paddingLeft:e(2),paddingRight:e(2)},n,Object(r.a)({},t.up("sm"),Object(a.a)({paddingLeft:e(3),paddingRight:e(3)},n[t.up("sm")])))},toolbar:(o={minHeight:56},Object(r.a)(o,"".concat(t.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(o,t.up("sm"),{minHeight:64}),o)},n)}var u=n(732),d={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},p={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"},h={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"},v={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"},g={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:"#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"},b={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"},y=n(258),x={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:f[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:f[800],default:"#303030"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(t,e,n,r){var o=r.light||r,i=r.dark||1.5*r;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=Object(y.d)(t.main,o):"dark"===e&&(t.dark=Object(y.b)(t.main,i)))}function S(t){var e=t.primary,n=void 0===e?{light:p[300],main:p[500],dark:p[700]}:e,r=t.secondary,s=void 0===r?{light:h.A200,main:h.A400,dark:h.A700}:r,l=t.error,c=void 0===l?{light:v[300],main:v[500],dark:v[700]}:l,S=t.warning,j=void 0===S?{light:g[300],main:g[500],dark:g[700]}:S,C=t.info,k=void 0===C?{light:m[300],main:m[500],dark:m[700]}:C,E=t.success,P=void 0===E?{light:b[300],main:b[500],dark:b[700]}:E,_=t.type,M=void 0===_?"light":_,T=t.contrastThreshold,A=void 0===T?3:T,R=t.tonalOffset,D=void 0===R?.2:R,I=Object(o.a)(t,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function N(t){return Object(y.c)(t,w.text.primary)>=A?w.text.primary:x.text.primary}var L=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(t=Object(a.a)({},t)).main&&t[e]&&(t.main=t[e]),!t.main)throw new Error(Object(u.a)(4,e));if("string"!==typeof t.main)throw new Error(Object(u.a)(5,JSON.stringify(t.main)));return O(t,"light",n,D),O(t,"dark",r,D),t.contrastText||(t.contrastText=N(t.main)),t},F={dark:w,light:x};return Object(i.a)(Object(a.a)({common:d,type:M,primary:L(n),secondary:L(s,"A400","A200","A700"),error:L(c),warning:L(j),info:L(k),success:L(P),grey:f,contrastThreshold:A,getContrastText:N,augmentColor:L,tonalOffset:D},F[M]),I)}function j(t){return Math.round(1e5*t)/1e5}function C(t){return j(t)}var k={textTransform:"uppercase"},E='"Roboto", "Helvetica", "Arial", sans-serif';function P(t,e){var n="function"===typeof e?e(t):e,r=n.fontFamily,s=void 0===r?E:r,l=n.fontSize,c=void 0===l?14:l,u=n.fontWeightLight,d=void 0===u?300:u,f=n.fontWeightRegular,p=void 0===f?400:f,h=n.fontWeightMedium,v=void 0===h?500:h,g=n.fontWeightBold,m=void 0===g?700:g,b=n.htmlFontSize,y=void 0===b?16:b,x=n.allVariants,w=n.pxToRem,O=Object(o.a)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var S=c/14,P=w||function(t){return"".concat(t/y*S,"rem")},_=function(t,e,n,r,o){return Object(a.a)({fontFamily:s,fontWeight:t,fontSize:P(e),lineHeight:n},s===E?{letterSpacing:"".concat(j(r/e),"em")}:{},o,x)},M={h1:_(d,96,1.167,-1.5),h2:_(d,60,1.2,-.5),h3:_(p,48,1.167,0),h4:_(p,34,1.235,.25),h5:_(p,24,1.334,0),h6:_(v,20,1.6,.15),subtitle1:_(p,16,1.75,.15),subtitle2:_(v,14,1.57,.1),body1:_(p,16,1.5,.15),body2:_(p,14,1.43,.15),button:_(v,14,1.75,.4,k),caption:_(p,12,1.66,.4),overline:_(p,12,2.66,1,k)};return Object(i.a)(Object(a.a)({htmlFontSize:y,pxToRem:P,round:C,fontFamily:s,fontSize:c,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:v,fontWeightBold:m},M),O,{clone:!1})}function _(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var M=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)],T={borderRadius:4};function A(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function R(t,e){if(t){if("string"===typeof t)return A(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?A(t,e):void 0}}function D(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||R(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}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},I(t)}var N=function(t,e){return e?Object(i.a)(t,e,{clone:!1}):t},L={xs:0,sm:600,md:960,lg:1280,xl:1920},F={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(L[t],"px)")}};var B={m:"margin",p:"padding"},z={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},H={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},V=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){if(t.length>2){if(!H[t])return[t];t=H[t]}var e=D(t.split(""),2),n=e[0],r=e[1],o=B[n],i=z[r]||"";return Array.isArray(i)?i.map((function(t){return o+t})):[o+i]})),U=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function W(t){var e=t.spacing||8;return"number"===typeof e?function(t){return e*t}:Array.isArray(e)?function(t){return e[t]}:"function"===typeof e?e:function(){}}function q(t,e){return function(n){return t.reduce((function(t,r){return t[r]=function(t,e){if("string"===typeof e||null==e)return e;var n=t(Math.abs(e));return e>=0?n:"number"===typeof n?-n:"-".concat(n)}(e,n),t}),{})}}function G(t){var e=W(t.theme);return Object.keys(t).map((function(n){if(-1===U.indexOf(n))return null;var r=q(V(n),e),o=t[n];return function(t,e,n){if(Array.isArray(e)){var r=t.theme.breakpoints||F;return e.reduce((function(t,o,i){return t[r.up(r.keys[i])]=n(e[i]),t}),{})}if("object"===I(e)){var o=t.theme.breakpoints||F;return Object.keys(e).reduce((function(t,r){return t[o.up(r)]=n(e[r]),t}),{})}return n(e)}(t,o,r)})).reduce(N,{})}G.propTypes={},G.filterProps=U;function Y(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=W({spacing:t}),n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return 0===n.length?e(1):1===n.length?e(n[0]):n.map((function(t){if("string"===typeof t)return t;var n=e(t);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n}var X=n(165),K=n(408);function $(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,n=void 0===e?{}:e,r=t.mixins,a=void 0===r?{}:r,s=t.palette,u=void 0===s?{}:s,d=t.spacing,f=t.typography,p=void 0===f?{}:f,h=Object(o.a)(t,["breakpoints","mixins","palette","spacing","typography"]),v=S(u),g=l(n),m=Y(d),b=Object(i.a)({breakpoints:g,direction:"ltr",mixins:c(g,m,a),overrides:{},palette:v,props:{},shadows:M,typography:P(v,p),spacing:m,shape:T,transitions:X.a,zIndex:K.a},h),y=arguments.length,x=new Array(y>1?y-1:0),w=1;w<y;w++)x[w-1]=arguments[w];return b=x.reduce((function(t,e){return Object(i.a)(t,e)}),b)}var Z=$();e.a=Z},function(t,e,n){"use strict";n.d(e,"b",(function(){return X})),n.d(e,"a",(function(){return K}));n(5);var r=n(34),o=n(176);var i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return e.filterProps.forEach((function(n){t[n]=e})),t}),{}),i=function(t){return Object.keys(t).reduce((function(e,n){return r[n]?Object(o.a)(e,r[n](t)):e}),{})};return i.propTypes={},i.filterProps=e.reduce((function(t,e){return t.concat(e.filterProps)}),[]),i},a=n(113),s=n(84);function l(t){return"number"!==typeof t?t:"".concat(t,"px solid")}var c=Object(r.a)({prop:"border",themeKey:"borders",transform:l}),u=Object(r.a)({prop:"borderTop",themeKey:"borders",transform:l}),d=Object(r.a)({prop:"borderRight",themeKey:"borders",transform:l}),f=Object(r.a)({prop:"borderBottom",themeKey:"borders",transform:l}),p=Object(r.a)({prop:"borderLeft",themeKey:"borders",transform:l}),h=Object(r.a)({prop:"borderColor",themeKey:"palette"}),v=Object(r.a)({prop:"borderTopColor",themeKey:"palette"}),g=Object(r.a)({prop:"borderRightColor",themeKey:"palette"}),m=Object(r.a)({prop:"borderBottomColor",themeKey:"palette"}),b=Object(r.a)({prop:"borderLeftColor",themeKey:"palette"}),y=function(t){if(void 0!==t.borderRadius&&null!==t.borderRadius){var e=Object(a.b)(t.theme,"shape.borderRadius",4,"borderRadius");return Object(s.b)(t,t.borderRadius,(function(t){return{borderRadius:Object(a.d)(e,t)}}))}return null};y.propTypes={},y.filterProps=["borderRadius"];var x=i(c,u,d,f,p,h,v,g,m,b,y),w=i(Object(r.a)({prop:"displayPrint",cssProperty:!1,transform:function(t){return{"@media print":{display:t}}}}),Object(r.a)({prop:"display"}),Object(r.a)({prop:"overflow"}),Object(r.a)({prop:"textOverflow"}),Object(r.a)({prop:"visibility"}),Object(r.a)({prop:"whiteSpace"})),O=i(Object(r.a)({prop:"flexBasis"}),Object(r.a)({prop:"flexDirection"}),Object(r.a)({prop:"flexWrap"}),Object(r.a)({prop:"justifyContent"}),Object(r.a)({prop:"alignItems"}),Object(r.a)({prop:"alignContent"}),Object(r.a)({prop:"order"}),Object(r.a)({prop:"flex"}),Object(r.a)({prop:"flexGrow"}),Object(r.a)({prop:"flexShrink"}),Object(r.a)({prop:"alignSelf"}),Object(r.a)({prop:"justifyItems"}),Object(r.a)({prop:"justifySelf"})),S=function(t){if(void 0!==t.gap&&null!==t.gap){var e=Object(a.b)(t.theme,"spacing",8,"gap");return Object(s.b)(t,t.gap,(function(t){return{gap:Object(a.d)(e,t)}}))}return null};S.propTypes={},S.filterProps=["gap"];var j=function(t){if(void 0!==t.columnGap&&null!==t.columnGap){var e=Object(a.b)(t.theme,"spacing",8,"columnGap");return Object(s.b)(t,t.columnGap,(function(t){return{columnGap:Object(a.d)(e,t)}}))}return null};j.propTypes={},j.filterProps=["columnGap"];var C=function(t){if(void 0!==t.rowGap&&null!==t.rowGap){var e=Object(a.b)(t.theme,"spacing",8,"rowGap");return Object(s.b)(t,t.rowGap,(function(t){return{rowGap:Object(a.d)(e,t)}}))}return null};C.propTypes={},C.filterProps=["rowGap"];var k=i(S,j,C,Object(r.a)({prop:"gridColumn"}),Object(r.a)({prop:"gridRow"}),Object(r.a)({prop:"gridAutoFlow"}),Object(r.a)({prop:"gridAutoColumns"}),Object(r.a)({prop:"gridAutoRows"}),Object(r.a)({prop:"gridTemplateColumns"}),Object(r.a)({prop:"gridTemplateRows"}),Object(r.a)({prop:"gridTemplateAreas"}),Object(r.a)({prop:"gridArea"})),E=i(Object(r.a)({prop:"position"}),Object(r.a)({prop:"zIndex",themeKey:"zIndex"}),Object(r.a)({prop:"top"}),Object(r.a)({prop:"right"}),Object(r.a)({prop:"bottom"}),Object(r.a)({prop:"left"})),P=i(Object(r.a)({prop:"color",themeKey:"palette"}),Object(r.a)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"}),Object(r.a)({prop:"backgroundColor",themeKey:"palette"})),_=Object(r.a)({prop:"boxShadow",themeKey:"shadows"});function M(t){return t<=1&&0!==t?"".concat(100*t,"%"):t}var T=Object(r.a)({prop:"width",transform:M}),A=function(t){if(void 0!==t.maxWidth&&null!==t.maxWidth){return Object(s.b)(t,t.maxWidth,(function(e){var n,r,o;return{maxWidth:(null==(n=t.theme)||null==(r=n.breakpoints)||null==(o=r.values)?void 0:o[e])||s.e[e]||M(e)}}))}return null};A.filterProps=["maxWidth"];var R=Object(r.a)({prop:"minWidth",transform:M}),D=Object(r.a)({prop:"height",transform:M}),I=Object(r.a)({prop:"maxHeight",transform:M}),N=Object(r.a)({prop:"minHeight",transform:M}),L=(Object(r.a)({prop:"size",cssProperty:"width",transform:M}),Object(r.a)({prop:"size",cssProperty:"height",transform:M}),i(T,A,R,D,I,N,Object(r.a)({prop:"boxSizing"}))),F=Object(r.a)({prop:"fontFamily",themeKey:"typography"}),B=Object(r.a)({prop:"fontSize",themeKey:"typography"}),z=Object(r.a)({prop:"fontStyle",themeKey:"typography"}),H=Object(r.a)({prop:"fontWeight",themeKey:"typography"}),V=Object(r.a)({prop:"letterSpacing"}),U=Object(r.a)({prop:"textTransform"}),W=Object(r.a)({prop:"lineHeight"}),q=Object(r.a)({prop:"textAlign"}),G=i(Object(r.a)({prop:"typography",cssProperty:!1,themeKey:"typography"}),F,B,z,H,V,W,q,U),Y={borders:x.filterProps,display:w.filterProps,flexbox:O.filterProps,grid:k.filterProps,positions:E.filterProps,palette:P.filterProps,shadows:_.filterProps,sizing:L.filterProps,spacing:a.c.filterProps,typography:G.filterProps},X={borders:x,display:w,flexbox:O,grid:k,positions:E,palette:P,shadows:_,sizing:L,spacing:a.c,typography:G},K=Object.keys(Y).reduce((function(t,e){return Y[e].forEach((function(n){t[n]=X[e]})),t}),{})},function(t,e,n){"use strict";var r=n(2),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(15),u=n(13),d=n(162),f=n(104),p=n(1163),h=n(168),v=n(187);function g(t){return Object(h.a)("PrivateSwitchBase",t)}Object(v.a)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var m=n(0),b=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],y=Object(u.a)(p.a)((function(t){var e=t.ownerState;return Object(i.a)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})})),x=Object(u.a)("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),w=a.forwardRef((function(t,e){var n=t.autoFocus,a=t.checked,u=t.checkedIcon,p=t.className,h=t.defaultChecked,v=t.disabled,w=t.disableFocusRipple,O=void 0!==w&&w,S=t.edge,j=void 0!==S&&S,C=t.icon,k=t.id,E=t.inputProps,P=t.inputRef,_=t.name,M=t.onBlur,T=t.onChange,A=t.onFocus,R=t.readOnly,D=t.required,I=t.tabIndex,N=t.type,L=t.value,F=Object(o.a)(t,b),B=Object(d.a)({controlled:a,default:Boolean(h),name:"SwitchBase",state:"checked"}),z=Object(r.a)(B,2),H=z[0],V=z[1],U=Object(f.a)(),W=v;U&&"undefined"===typeof W&&(W=U.disabled);var q="checkbox"===N||"radio"===N,G=Object(i.a)({},t,{checked:H,disabled:W,disableFocusRipple:O,edge:j}),Y=function(t){var e=t.classes,n=t.checked,r=t.disabled,o=t.edge,i={root:["root",n&&"checked",r&&"disabled",o&&"edge".concat(Object(c.a)(o))],input:["input"]};return Object(l.a)(i,g,e)}(G);return Object(m.jsxs)(y,Object(i.a)({component:"span",className:Object(s.default)(Y.root,p),centerRipple:!0,focusRipple:!O,disabled:W,tabIndex:null,role:void 0,onFocus:function(t){A&&A(t),U&&U.onFocus&&U.onFocus(t)},onBlur:function(t){M&&M(t),U&&U.onBlur&&U.onBlur(t)},ownerState:G,ref:e},F,{children:[Object(m.jsx)(x,Object(i.a)({autoFocus:n,checked:a,defaultChecked:h,className:Y.input,disabled:W,id:q&&k,name:_,onChange:function(t){if(!t.nativeEvent.defaultPrevented){var e=t.target.checked;V(e),T&&T(t,e)}},readOnly:R,ref:P,required:D,ownerState:G,tabIndex:I,type:N},"checkbox"===N&&void 0===L?{}:{value:L},E)),H?u:C]}))}));e.a=w},function(t,e,n){"use strict";function r(t){for(var e="https://mui.com/production-error/?code="+t,n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(168),o=n(187);function i(t){return Object(r.a)("MuiListItemText",t)}var a=Object(o.a)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);e.a=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s(n(992)),o=n(997),i=s(n(620)),a=s(n(1e3));function s(t){return t&&t.__esModule?t:{default:t}}var l=/((?:\-[a-z]+\-)?calc)/;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return(0,r.default)(t).walk((function(t){if("function"===t.type&&l.test(t.value)){var n=r.default.stringify(t.nodes);if(!(n.indexOf("constant")>=0||n.indexOf("env")>=0)){var s=o.parser.parse(n),c=(0,i.default)(s,e);t.type="word",t.value=(0,a.default)(t.value,c,e)}}}),!0).toString()},t.exports=e.default},function(t,e,n){"use strict";n.d(e,"a",(function(){return F}));var r=n(40),o=n.n(r),i=n(1),a=n.n(i),s=n(56),l=n.n(s),c=n(74),u=n(414),d=n(164),f=n(18),p=function(t,e){var n=t.alwaysShow,r=t.ifOverflow;return n&&(r="extendDomain"),r===e},h=n(179),v=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o]},g=n(39);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},m.apply(this,arguments)}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 y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach((function(e){x(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function w(t){var e=t.x,n=t.y,r=t.r,o=t.alwaysShow,i=t.clipPathId,s=Object(f.f)(e),u=Object(f.f)(n);if(v(void 0===o,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!s||!u)return null;var m=function(t){var e=t.x,n=t.y,r=t.xAxis,o=t.yAxis,i=Object(h.a)({x:r.scale,y:o.scale}),a=i.apply({x:e,y:n},{bandAware:!0});return p(t,"discard")&&!i.isInRange(a)?null:a}(t);if(!m)return null;var b=m.x,x=m.y,O=t.shape,S=t.className,j=y(y({clipPath:p(t,"hidden")?"url(#".concat(i,")"):void 0},Object(g.c)(t,!0)),{},{cx:b,cy:x});return a.a.createElement(c.a,{className:l()("recharts-reference-dot",S)},w.renderDot(O,j),d.a.renderCallByParent(t,{x:b-r,y:x-r,width:2*r,height:2*r}))}w.displayName="ReferenceDot",w.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},w.renderDot=function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):o()(t)?t(e):a.a.createElement(u.a,m({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var O=n(506),S=n.n(O);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 C(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){k(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function E(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return P(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function _(){return _=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){var e=t.x,n=t.y,r=t.segment,i=t.xAxis,s=t.yAxis,u=t.shape,m=t.className,b=t.alwaysShow,y=t.clipPathId;v(void 0===b,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var x=function(t,e,n,r,o){var i=o.viewBox,a=i.x,s=i.y,l=i.width,c=i.height,u=o.position;if(n){var d=o.y,f=o.yAxis.orientation,h=t.y.apply(d,{position:u});if(p(o,"discard")&&!t.y.isInRange(h))return null;var v=[{x:a+l,y:h},{x:a,y:h}];return"left"===f?v.reverse():v}if(e){var g=o.x,m=o.xAxis.orientation,b=t.x.apply(g,{position:u});if(p(o,"discard")&&!t.x.isInRange(b))return null;var y=[{x:b,y:s+c},{x:b,y:s}];return"top"===m?y.reverse():y}if(r){var x=o.segment.map((function(e){return t.apply(e,{position:u})}));return p(o,"discard")&&S()(x,(function(e){return!t.isInRange(e)}))?null:x}return null}(Object(h.a)({x:i.scale,y:s.scale}),Object(f.f)(e),Object(f.f)(n),r&&2===r.length,t);if(!x)return null;var w=E(x,2),O=w[0],j=O.x,k=O.y,P=w[1],M=P.x,T=P.y,A=C(C({clipPath:p(t,"hidden")?"url(#".concat(y,")"):void 0},Object(g.c)(t,!0)),{},{x1:j,y1:k,x2:M,y2:T});return a.a.createElement(c.a,{className:l()("recharts-reference-line",m)},function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):o()(t)?t(e):a.a.createElement("line",_({},e,{className:"recharts-reference-line-line"}))}(u,A),d.a.renderCallByParent(t,Object(h.c)({x1:j,y1:k,x2:M,y2:T})))}M.displayName="ReferenceLine",M.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};var T=n(198);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},A.apply(this,arguments)}function R(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){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?R(Object(n),!0).forEach((function(e){I(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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}function N(t){var e=t.x1,n=t.x2,r=t.y1,o=t.y2,i=t.className,s=t.alwaysShow,u=t.clipPathId;v(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var m=Object(f.f)(e),b=Object(f.f)(n),y=Object(f.f)(r),x=Object(f.f)(o),w=t.shape;if(!m&&!b&&!y&&!x&&!w)return null;var O=function(t,e,n,r,o){var i=o.x1,a=o.x2,s=o.y1,l=o.y2,c=o.xAxis,u=o.yAxis;if(!c||!u)return null;var d=Object(h.a)({x:c.scale,y:u.scale}),f={x:t?d.x.apply(i,{position:"start"}):d.x.rangeMin,y:n?d.y.apply(s,{position:"start"}):d.y.rangeMin},v={x:e?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:r?d.y.apply(l,{position:"end"}):d.y.rangeMax};return!p(o,"discard")||d.isInRange(f)&&d.isInRange(v)?Object(h.d)(f,v):null}(m,b,y,x,t);if(!O&&!w)return null;var S=p(t,"hidden")?"url(#".concat(u,")"):void 0;return a.a.createElement(c.a,{className:l()("recharts-reference-area",i)},N.renderRect(w,D(D({clipPath:S},Object(g.c)(t,!0)),O)),d.a.renderCallByParent(t,O))}N.displayName="ReferenceArea",N.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},N.renderRect=function(t,e){return a.a.isValidElement(t)?a.a.cloneElement(t,e):o()(t)?t(e):a.a.createElement(T.a,A({},e,{className:"recharts-reference-area-rect"}))};var L=n(58),F=function(t,e,n,r,o){var i=Object(L.b)(t,M.displayName),a=Object(L.b)(t,w.displayName),s=i.concat(a),l=Object(L.b)(t,N.displayName),c="".concat(r,"Id"),u=r[0],d=e;if(s.length&&(d=s.reduce((function(t,e){if(e.props[c]===n&&p(e.props,"extendDomain")&&Object(f.g)(e.props[u])){var r=e.props[u];return[Math.min(t[0],r),Math.max(t[1],r)]}return t}),d)),l.length){var h="".concat(u,"1"),v="".concat(u,"2");d=l.reduce((function(t,e){if(e.props[c]===n&&p(e.props,"extendDomain")&&Object(f.g)(e.props[h])&&Object(f.g)(e.props[v])){var r=e.props[h],o=e.props[v];return[Math.min(t[0],r,o),Math.max(t[1],r,o)]}return t}),d)}return o&&o.length&&(d=o.reduce((function(t,e){return Object(f.g)(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),d)),d}},function(t,e,n){"use strict";n.d(e,"a",(function(){return R}));var r=n(40),o=n.n(r),i=n(302),a=n.n(i),s=n(1),l=n.n(s),c=n(56),u=n.n(c),d=n(503),f=n(74),p=n(255),h=n(43),v=n(18);function g(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 m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?g(Object(n),!0).forEach((function(e){b(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}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}var y=["Webkit","Moz","O","ms"],x=n(39);function w(t){return 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},w(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},O.apply(this,arguments)}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 j(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?S(Object(n),!0).forEach((function(e){C(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):S(Object(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 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,e){return E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},E(t,e)}function P(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=T(t);if(e){var o=T(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(t,e){return!e||"object"!==w(e)&&"function"!==typeof e?M(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 T(t){return T=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},T(t)}var A=function(t){return t.changedTouches&&!!t.changedTouches.length},R=function(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&&E(t,e)}(c,t);var e,n,r,i=P(c);function c(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),(e=i.call(this,t)).leaveTimer=void 0,e.travellerDragStartHandlers=void 0,e.handleDrag=function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])},e.handleDragEnd=function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()},e.handleLeaveWrapper=function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))},e.handleEnterSlideOrTraveller=function(){e.setState({isTextActive:!0})},e.handleLeaveSlideOrTraveller=function(){e.setState({isTextActive:!1})},e.handleSlideDragStart=function(t){var n=A(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),e.attachDragEndListener()},e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(M(e),"startX"),endX:e.handleTravellerDragStart.bind(M(e),"endX")},e.state={},e}return e=c,r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,n=t.y,r=t.width,o=t.height,i=t.stroke,a=Math.floor(n+o/2)-1;return l.a.createElement(l.a.Fragment,null,l.a.createElement("rect",{x:e,y:n,width:r,height:o,fill:i,stroke:"none"}),l.a.createElement("line",{x1:e+1,y1:a,x2:e+r-1,y2:a,fill:"none",stroke:"#fff"}),l.a.createElement("line",{x1:e+1,y1:a+2,x2:e+r-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return l.a.isValidElement(t)?l.a.cloneElement(t,e):o()(t)?t(e):c.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var n=t.data,r=t.width,o=t.x,i=t.travellerWidth,s=t.updateId,l=t.startIndex,c=t.endIndex;if(n!==e.prevData||s!==e.prevUpdateId)return j({prevData:n,prevTravellerWidth:i,prevUpdateId:s,prevX:o,prevWidth:r},n&&n.length?function(t){var e=t.data,n=t.startIndex,r=t.endIndex,o=t.x,i=t.width,s=t.travellerWidth;if(!e||!e.length)return{};var l=e.length,c=Object(d.b)().domain(a()(0,l)).range([o,o+i-s]),u=c.domain().map((function(t){return c(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:c(n),endX:c(r),scale:c,scaleValues:u}}({data:n,width:r,x:o,travellerWidth:i,startIndex:l,endIndex:c}):{scale:null,scaleValues:null});if(e.scale&&(r!==e.prevWidth||o!==e.prevX||i!==e.prevTravellerWidth)){e.scale.range([o,o+r-i]);var u=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:s,prevX:o,prevWidth:r,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(t,e){for(var n=0,r=t.length-1;r-n>1;){var o=Math.floor((n+r)/2);t[o]>e?r=o:n=o}return e>=t[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,n=t.endX,r=this.state.scaleValues,o=this.props,i=o.gap,a=o.data.length-1,s=Math.min(e,n),l=Math.max(e,n),u=c.getIndexInRange(r,s),d=c.getIndexInRange(r,l);return{startIndex:u-u%i,endIndex:d===a?a:d-d%i}}},{key:"getTextOfTick",value:function(t){var e=this.props,n=e.data,r=e.tickFormatter,i=e.dataKey,a=Object(h.v)(n[t],i,t);return o()(r)?r(a,t):a}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,n=e.slideMoveStartX,r=e.startX,o=e.endX,i=this.props,a=i.x,s=i.width,l=i.travellerWidth,c=i.startIndex,u=i.endIndex,d=i.onChange,f=t.pageX-n;f>0?f=Math.min(f,a+s-l-o,a+s-l-r):f<0&&(f=Math.max(f,a-r,a-o));var p=this.getIndex({startX:r+f,endX:o+f});p.startIndex===c&&p.endIndex===u||!d||d(p),this.setState({startX:r+f,endX:o+f,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var n=A(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,n=this.state,r=n.brushMoveStartX,o=n.movingTravellerId,i=n.endX,a=n.startX,s=this.state[o],l=this.props,c=l.x,u=l.width,d=l.travellerWidth,f=l.onChange,p=l.gap,h=l.data,v={startX:this.state.startX,endX:this.state.endX},g=t.pageX-r;g>0?g=Math.min(g,c+u-d-s):g<0&&(g=Math.max(g,c-s)),v[o]=s+g;var m=this.getIndex(v),b=m.startIndex,y=m.endIndex;this.setState((C(e={},o,s+g),C(e,"brushMoveStartX",t.pageX),e),(function(){f&&function(){var t=h.length-1;return"startX"===o&&(i>a?b%p===0:y%p===0)||i<a&&y===t||"endX"===o&&(i>a?y%p===0:b%p===0)||i>a&&y===t}()&&f(m)}))}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,o=t.height,i=t.fill,a=t.stroke;return l.a.createElement("rect",{stroke:a,fill:i,x:e,y:n,width:r,height:o})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,o=t.height,i=t.data,a=t.children,c=t.padding,u=s.Children.only(a);return u?l.a.cloneElement(u,{x:e,y:n,width:r,height:o,margin:c,compact:!0,data:i}):null}},{key:"renderTravellerLayer",value:function(t,e){var n=this.props,r=n.y,o=n.travellerWidth,i=n.height,a=n.traveller,s=Math.max(t,this.props.x),u=j(j({},Object(x.c)(this.props)),{},{x:s,y:r,width:o,height:i});return l.a.createElement(f.a,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},c.renderTraveller(a,u))}},{key:"renderSlide",value:function(t,e){var n=this.props,r=n.y,o=n.height,i=n.stroke,a=n.travellerWidth,s=Math.min(t,e)+a,c=Math.max(Math.abs(e-t)-a,0);return l.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:s,y:r,width:c,height:o})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,n=t.endIndex,r=t.y,o=t.height,i=t.travellerWidth,a=t.stroke,s=this.state,c=s.startX,u=s.endX,d={pointerEvents:"none",fill:a};return l.a.createElement(f.a,{className:"recharts-brush-texts"},l.a.createElement(p.a,O({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,u)-5,y:r+o/2},d),this.getTextOfTick(e)),l.a.createElement(p.a,O({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,u)+i+5,y:r+o/2},d),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,e=t.data,n=t.className,r=t.children,o=t.x,i=t.y,a=t.width,s=t.height,c=t.alwaysShowText,d=this.state,p=d.startX,h=d.endX,g=d.isTextActive,x=d.isSlideMoving,w=d.isTravellerMoving;if(!e||!e.length||!Object(v.g)(o)||!Object(v.g)(i)||!Object(v.g)(a)||!Object(v.g)(s)||a<=0||s<=0)return null;var O=u()("recharts-brush",n),S=1===l.a.Children.count(r),j=function(t,e){if(!t)return null;var n=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),r=y.reduce((function(t,r){return m(m({},t),{},b({},r+n,e))}),{});return r[t]=e,r}("userSelect","none");return l.a.createElement(f.a,{className:O,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:j},this.renderBackground(),S&&this.renderPanorama(),this.renderSlide(p,h),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(h,"endX"),(g||x||w||c)&&this.renderText())}}])&&k(e.prototype,n),r&&k(e,r),c}(s.PureComponent);R.displayName="Brush",R.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(308);function i(t,e){return r.useMemo((function(){return null==t&&null==e?null:function(n){Object(o.a)(t,n),Object(o.a)(e,n)}}),[t,e])}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(2),o=n(1);function i(t){var e=t.controlled,n=t.default,i=(t.name,t.state,o.useRef(void 0!==e).current),a=o.useState(n),s=Object(r.a)(a,2),l=s[0],c=s[1];return[i?e:l,o.useCallback((function(t){i||c(t)}),[])]}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=function(t){return t},o=function(){var t=r;return{configure:function(e){t=e},generate:function(e){return t(e)},reset:function(){t=r}}}(),i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",r=i[e];return r?"".concat(n,"-").concat(r):"".concat(o.generate(t),"-").concat(e)}},,,,,,,,,,,,,,function(t,e,n){var r=n(238)(n(161),"Map");t.exports=r},function(t,e,n){var r=n(802),o=n(809),i=n(811),a=n(812),s=n(813);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},function(t,e,n){var r=n(553);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},function(t,e,n){var r=n(556)(Object.getPrototypeOf,Object);t.exports=r},function(t,e){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},function(t,e,n){var r=n(820),o=n(373),i=n(464),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},function(t,e,n){(function(t){var r=n(546),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=s}).call(this,n(271)(t))},function(t,e,n){var r=n(323),o=n(322),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},function(t,e,n){var r=n(834),o=n(151);t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!==e&&n!==n:r(e,n,i,a,t,s))}},function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},function(t,e,n){var r=n(840),o=n(570),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=s},function(t,e,n){var r=n(59),o=n(273),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!o(t))||(a.test(t)||!i.test(t)||null!=e&&t in Object(e))}},function(t,e,n){(function(t,n){var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",h="[object Promise]",v="[object RegExp]",g="[object Set]",m="[object String]",b="[object Symbol]",y="[object WeakMap]",x="[object ArrayBuffer]",w="[object DataView]",O=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,j={};j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j[i]=j[a]=j[x]=j[s]=j[w]=j[l]=j[c]=j[u]=j[d]=j[f]=j[p]=j[v]=j[g]=j[m]=j[y]=!1;var C="object"==typeof t&&t&&t.Object===Object&&t,k="object"==typeof self&&self&&self.Object===Object&&self,E=C||k||Function("return this")(),P=e&&!e.nodeType&&e,_=P&&"object"==typeof n&&n&&!n.nodeType&&n,M=_&&_.exports===P,T=M&&C.process,A=function(){try{return T&&T.binding&&T.binding("util")}catch(t){}}(),R=A&&A.isTypedArray;function D(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function I(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function N(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var L,F,B=Array.prototype,z=Function.prototype,H=Object.prototype,V=E["__core-js_shared__"],U=z.toString,W=H.hasOwnProperty,q=function(){var t=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),G=H.toString,Y=RegExp("^"+U.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),X=M?E.Buffer:void 0,K=E.Symbol,$=E.Uint8Array,Z=H.propertyIsEnumerable,Q=B.splice,J=K?K.toStringTag:void 0,tt=Object.getOwnPropertySymbols,et=X?X.isBuffer:void 0,nt=(L=Object.keys,F=Object,function(t){return L(F(t))}),rt=Tt(E,"DataView"),ot=Tt(E,"Map"),it=Tt(E,"Promise"),at=Tt(E,"Set"),st=Tt(E,"WeakMap"),lt=Tt(Object,"create"),ct=It(rt),ut=It(ot),dt=It(it),ft=It(at),pt=It(st),ht=K?K.prototype:void 0,vt=ht?ht.valueOf:void 0;function gt(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 mt(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 bt(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 yt(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new bt;++e<n;)this.add(t[e])}function xt(t){var e=this.__data__=new mt(t);this.size=e.size}function wt(t,e){var n=Ft(t),r=!n&&Lt(t),o=!n&&!r&&Bt(t),i=!n&&!r&&!o&&Wt(t),a=n||r||o||i,s=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],l=s.length;for(var c in t)!e&&!W.call(t,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Dt(c,l))||s.push(c);return s}function Ot(t,e){for(var n=t.length;n--;)if(Nt(t[n][0],e))return n;return-1}function St(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":J&&J in Object(t)?function(t){var e=W.call(t,J),n=t[J];try{t[J]=void 0;var r=!0}catch(i){}var o=G.call(t);r&&(e?t[J]=n:delete t[J]);return o}(t):function(t){return G.call(t)}(t)}function jt(t){return Ut(t)&&St(t)==i}function Ct(t,e,n,r,o){return t===e||(null==t||null==e||!Ut(t)&&!Ut(e)?t!==t&&e!==e:function(t,e,n,r,o,u){var h=Ft(t),y=Ft(e),O=h?a:Rt(t),S=y?a:Rt(e),j=(O=O==i?p:O)==p,C=(S=S==i?p:S)==p,k=O==S;if(k&&Bt(t)){if(!Bt(e))return!1;h=!0,j=!1}if(k&&!j)return u||(u=new xt),h||Wt(t)?Pt(t,e,n,r,o,u):function(t,e,n,r,o,i,a){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||!i(new $(t),new $(e)));case s:case l:case f:return Nt(+t,+e);case c:return t.name==e.name&&t.message==e.message;case v:case m:return t==e+"";case d:var u=I;case g:var p=1&r;if(u||(u=N),t.size!=e.size&&!p)return!1;var h=a.get(t);if(h)return h==e;r|=2,a.set(t,e);var y=Pt(u(t),u(e),r,o,i,a);return a.delete(t),y;case b:if(vt)return vt.call(t)==vt.call(e)}return!1}(t,e,O,n,r,o,u);if(!(1&n)){var E=j&&W.call(t,"__wrapped__"),P=C&&W.call(e,"__wrapped__");if(E||P){var _=E?t.value():t,M=P?e.value():e;return u||(u=new xt),o(_,M,n,r,u)}}if(!k)return!1;return u||(u=new xt),function(t,e,n,r,o,i){var a=1&n,s=_t(t),l=s.length,c=_t(e).length;if(l!=c&&!a)return!1;var u=l;for(;u--;){var d=s[u];if(!(a?d in e:W.call(e,d)))return!1}var f=i.get(t);if(f&&i.get(e))return f==e;var p=!0;i.set(t,e),i.set(e,t);var h=a;for(;++u<l;){var v=t[d=s[u]],g=e[d];if(r)var m=a?r(g,v,d,e,t,i):r(v,g,d,t,e,i);if(!(void 0===m?v===g||o(v,g,n,r,i):m)){p=!1;break}h||(h="constructor"==d)}if(p&&!h){var b=t.constructor,y=e.constructor;b==y||!("constructor"in t)||!("constructor"in e)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(p=!1)}return i.delete(t),i.delete(e),p}(t,e,n,r,o,u)}(t,e,n,r,Ct,o))}function kt(t){return!(!Vt(t)||function(t){return!!q&&q in t}(t))&&(zt(t)?Y:O).test(It(t))}function Et(t){if(!function(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||H;return t===n}(t))return nt(t);var e=[];for(var n in Object(t))W.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Pt(t,e,n,r,o,i){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(t);if(c&&i.get(e))return c==e;var u=-1,d=!0,f=2&n?new yt:void 0;for(i.set(t,e),i.set(e,t);++u<s;){var p=t[u],h=e[u];if(r)var v=a?r(h,p,u,e,t,i):r(p,h,u,t,e,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!D(e,(function(t,e){if(a=e,!f.has(a)&&(p===t||o(p,t,n,r,i)))return f.push(e);var a}))){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(t),i.delete(e),d}function _t(t){return function(t,e,n){var r=e(t);return Ft(t)?r:function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}(r,n(t))}(t,qt,At)}function Mt(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function Tt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return kt(n)?n:void 0}gt.prototype.clear=function(){this.__data__=lt?lt(null):{},this.size=0},gt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},gt.prototype.get=function(t){var e=this.__data__;if(lt){var n=e[t];return n===r?void 0:n}return W.call(e,t)?e[t]:void 0},gt.prototype.has=function(t){var e=this.__data__;return lt?void 0!==e[t]:W.call(e,t)},gt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=lt&&void 0===e?r:e,this},mt.prototype.clear=function(){this.__data__=[],this.size=0},mt.prototype.delete=function(t){var e=this.__data__,n=Ot(e,t);return!(n<0)&&(n==e.length-1?e.pop():Q.call(e,n,1),--this.size,!0)},mt.prototype.get=function(t){var e=this.__data__,n=Ot(e,t);return n<0?void 0:e[n][1]},mt.prototype.has=function(t){return Ot(this.__data__,t)>-1},mt.prototype.set=function(t,e){var n=this.__data__,r=Ot(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},bt.prototype.clear=function(){this.size=0,this.__data__={hash:new gt,map:new(ot||mt),string:new gt}},bt.prototype.delete=function(t){var e=Mt(this,t).delete(t);return this.size-=e?1:0,e},bt.prototype.get=function(t){return Mt(this,t).get(t)},bt.prototype.has=function(t){return Mt(this,t).has(t)},bt.prototype.set=function(t,e){var n=Mt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},yt.prototype.add=yt.prototype.push=function(t){return this.__data__.set(t,r),this},yt.prototype.has=function(t){return this.__data__.has(t)},xt.prototype.clear=function(){this.__data__=new mt,this.size=0},xt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},xt.prototype.get=function(t){return this.__data__.get(t)},xt.prototype.has=function(t){return this.__data__.has(t)},xt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof mt){var r=n.__data__;if(!ot||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new bt(r)}return n.set(t,e),this.size=n.size,this};var At=tt?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}(tt(t),(function(e){return Z.call(t,e)})))}:function(){return[]},Rt=St;function Dt(t,e){return!!(e=null==e?o:e)&&("number"==typeof t||S.test(t))&&t>-1&&t%1==0&&t<e}function It(t){if(null!=t){try{return U.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Nt(t,e){return t===e||t!==t&&e!==e}(rt&&Rt(new rt(new ArrayBuffer(1)))!=w||ot&&Rt(new ot)!=d||it&&Rt(it.resolve())!=h||at&&Rt(new at)!=g||st&&Rt(new st)!=y)&&(Rt=function(t){var e=St(t),n=e==p?t.constructor:void 0,r=n?It(n):"";if(r)switch(r){case ct:return w;case ut:return d;case dt:return h;case ft:return g;case pt:return y}return e});var Lt=jt(function(){return arguments}())?jt:function(t){return Ut(t)&&W.call(t,"callee")&&!Z.call(t,"callee")},Ft=Array.isArray;var Bt=et||function(){return!1};function zt(t){if(!Vt(t))return!1;var e=St(t);return e==u||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Ht(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}function Vt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ut(t){return null!=t&&"object"==typeof t}var Wt=R?function(t){return function(e){return t(e)}}(R):function(t){return Ut(t)&&Ht(t.length)&&!!j[St(t)]};function qt(t){return null!=(e=t)&&Ht(e.length)&&!zt(e)?wt(t):Et(t);var e}n.exports=function(t,e){return Ct(t,e)}}).call(this,n(119),n(271)(t))},function(t,e,n){"use strict";var r=n(897),o=r.default,i=r.DraggableCore;t.exports=o,t.exports.default=o,t.exports.DraggableCore=i},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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.addClassName=p,e.addEvent=function(t,e,n,r){if(!t)return;var o=l({capture:!0},r);t.addEventListener?t.addEventListener(e,n,o):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},e.addUserSelectStyles=function(t){if(!t)return;var e=t.getElementById("react-draggable-style-el");e||((e=t.createElement("style")).type="text/css",e.id="react-draggable-style-el",e.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",e.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",t.getElementsByTagName("head")[0].appendChild(e));t.body&&p(t.body,"react-draggable-transparent-selection")},e.createCSSTransform=function(t,e){var n=f(t,e,"px");return c({},(0,i.browserPrefixToKey)("transform",i.default),n)},e.createSVGTransform=function(t,e){return f(t,e,"")},e.getTouch=function(t,e){return t.targetTouches&&(0,o.findInArray)(t.targetTouches,(function(t){return e===t.identifier}))||t.changedTouches&&(0,o.findInArray)(t.changedTouches,(function(t){return e===t.identifier}))},e.getTouchIdentifier=function(t){if(t.targetTouches&&t.targetTouches[0])return t.targetTouches[0].identifier;if(t.changedTouches&&t.changedTouches[0])return t.changedTouches[0].identifier},e.getTranslation=f,e.innerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,o.int)(n.paddingTop),e-=(0,o.int)(n.paddingBottom)},e.innerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,o.int)(n.paddingLeft),e-=(0,o.int)(n.paddingRight)},e.matchesSelector=d,e.matchesSelectorAndParentsTo=function(t,e,n){var r=t;do{if(d(r,e))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},e.offsetXYFromParent=function(t,e,n){var r=e===e.ownerDocument.body?{left:0,top:0}:e.getBoundingClientRect(),o=(t.clientX+e.scrollLeft-r.left)/n,i=(t.clientY+e.scrollTop-r.top)/n;return{x:o,y:i}},e.outerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,o.int)(n.borderTopWidth),e+=(0,o.int)(n.borderBottomWidth)},e.outerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,o.int)(n.borderLeftWidth),e+=(0,o.int)(n.borderRightWidth)},e.removeClassName=h,e.removeEvent=function(t,e,n,r){if(!t)return;var o=l({capture:!0},r);t.removeEventListener?t.removeEventListener(e,n,o):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null},e.removeUserSelectStyles=function(t){if(!t)return;try{if(t.body&&h(t.body,"react-draggable-transparent-selection"),t.selection)t.selection.empty();else{var e=(t.defaultView||window).getSelection();e&&"Caret"!==e.type&&e.removeAllRanges()}}catch(n){}};var o=n(383),i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var l=i?Object.getOwnPropertyDescriptor(t,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=t[s]}o.default=t,n&&n.set(t,o);return o}(n(900));function a(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(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 l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(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}var u="";function d(t,e){return u||(u=(0,o.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(e){return(0,o.isFunction)(t[e])}))),!!(0,o.isFunction)(t[u])&&t[u](e)}function f(t,e,n){var r=t.x,o=t.y,i="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(e){var a="".concat("string"===typeof e.x?e.x:e.x+n),s="".concat("string"===typeof e.y?e.y:e.y+n);i="translate(".concat(a,", ").concat(s,")")+i}return i}function p(t,e){t.classList?t.classList.add(e):t.className.match(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)")))||(t.className+=" ".concat(e))}function h(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(?:^|\\s)".concat(e,"(?!\\S)"),"g"),"")}},function(t,e,n){var r=n(193),o=r.Buffer;function i(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return o(t,e,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=a),i(o,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return o(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=o(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return o(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){"use strict";(function(e,r,o){var i=n(384);function a(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,n){var r=t.entry;t.entry=null;for(;r;){var o=r.callback;e.pendingcb--,o(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=b;var s,l=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?r:i.nextTick;b.WritableState=m;var c=Object.create(n(330));c.inherits=n(152);var u={deprecate:n(927)},d=n(600),f=n(475).Buffer,p=o.Uint8Array||function(){};var h,v=n(601);function g(){}function m(t,e){s=s||n(241),t=t||{};var r=e instanceof s;this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var o=t.highWaterMark,c=t.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(c||0===c)?c:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===t.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var n=t._writableState,r=n.sync,o=n.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(n),e)!function(t,e,n,r,o){--e.pendingcb,n?(i.nextTick(o,r),i.nextTick(j,t,e),t._writableState.errorEmitted=!0,t.emit("error",r)):(o(r),t._writableState.errorEmitted=!0,t.emit("error",r),j(t,e))}(t,n,r,e,o);else{var a=O(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||w(t,n),r?l(x,t,n,a,o):x(t,n,a,o)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function b(t){if(s=s||n(241),!h.call(b,this)&&!(this instanceof s))return new b(t);this._writableState=new m(t,this),this.writable=!0,t&&("function"===typeof t.write&&(this._write=t.write),"function"===typeof t.writev&&(this._writev=t.writev),"function"===typeof t.destroy&&(this._destroy=t.destroy),"function"===typeof t.final&&(this._final=t.final)),d.call(this)}function y(t,e,n,r,o,i,a){e.writelen=r,e.writecb=a,e.writing=!0,e.sync=!0,n?t._writev(o,e.onwrite):t._write(o,i,e.onwrite),e.sync=!1}function x(t,e,n,r){n||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,r(),j(t,e)}function w(t,e){e.bufferProcessing=!0;var n=e.bufferedRequest;if(t._writev&&n&&n.next){var r=e.bufferedRequestCount,o=new Array(r),i=e.corkedRequestsFree;i.entry=n;for(var s=0,l=!0;n;)o[s]=n,n.isBuf||(l=!1),n=n.next,s+=1;o.allBuffers=l,y(t,e,!0,e.length,o,"",i.finish),e.pendingcb++,e.lastBufferedRequest=null,i.next?(e.corkedRequestsFree=i.next,i.next=null):e.corkedRequestsFree=new a(e),e.bufferedRequestCount=0}else{for(;n;){var c=n.chunk,u=n.encoding,d=n.callback;if(y(t,e,!1,e.objectMode?1:c.length,c,u,d),n=n.next,e.bufferedRequestCount--,e.writing)break}null===n&&(e.lastBufferedRequest=null)}e.bufferedRequest=n,e.bufferProcessing=!1}function O(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function S(t,e){t._final((function(n){e.pendingcb--,n&&t.emit("error",n),e.prefinished=!0,t.emit("prefinish"),j(t,e)}))}function j(t,e){var n=O(e);return n&&(!function(t,e){e.prefinished||e.finalCalled||("function"===typeof t._final?(e.pendingcb++,e.finalCalled=!0,i.nextTick(S,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),n}c.inherits(b,d),m.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(m.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"===typeof Symbol&&Symbol.hasInstance&&"function"===typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(b,Symbol.hasInstance,{value:function(t){return!!h.call(this,t)||this===b&&(t&&t._writableState instanceof m)}})):h=function(t){return t instanceof this},b.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},b.prototype.write=function(t,e,n){var r,o=this._writableState,a=!1,s=!o.objectMode&&(r=t,f.isBuffer(r)||r instanceof p);return s&&!f.isBuffer(t)&&(t=function(t){return f.from(t)}(t)),"function"===typeof e&&(n=e,e=null),s?e="buffer":e||(e=o.defaultEncoding),"function"!==typeof n&&(n=g),o.ended?function(t,e){var n=new Error("write after end");t.emit("error",n),i.nextTick(e,n)}(this,n):(s||function(t,e,n,r){var o=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"===typeof n||void 0===n||e.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(t.emit("error",a),i.nextTick(r,a),o=!1),o}(this,o,t,n))&&(o.pendingcb++,a=function(t,e,n,r,o,i){if(!n){var a=function(t,e,n){t.objectMode||!1===t.decodeStrings||"string"!==typeof e||(e=f.from(e,n));return e}(e,r,o);r!==a&&(n=!0,o="buffer",r=a)}var s=e.objectMode?1:r.length;e.length+=s;var l=e.length<e.highWaterMark;l||(e.needDrain=!0);if(e.writing||e.corked){var c=e.lastBufferedRequest;e.lastBufferedRequest={chunk:r,encoding:o,isBuf:n,callback:i,next:null},c?c.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else y(t,e,!1,s,r,o,i);return l}(this,o,s,t,e,n)),a},b.prototype.cork=function(){this._writableState.corked++},b.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||w(this,t))},b.prototype.setDefaultEncoding=function(t){if("string"===typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(b.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),b.prototype._write=function(t,e,n){n(new Error("_write() is not implemented"))},b.prototype._writev=null,b.prototype.end=function(t,e,n){var r=this._writableState;"function"===typeof t?(n=t,t=null,e=null):"function"===typeof e&&(n=e,e=null),null!==t&&void 0!==t&&this.write(t,e),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(t,e,n){e.ending=!0,j(t,e),n&&(e.finished?i.nextTick(n):t.once("finish",n));e.ended=!0,t.writable=!1}(this,r,n)},Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),b.prototype.destroy=v.destroy,b.prototype._undestroy=v.undestroy,b.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,n(171),n(385).setImmediate,n(119))},function(t,e,n){"use strict";var r=n(933),o=n(934);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}e.parse=y,e.resolve=function(t,e){return y(t,!1,!0).resolve(e)},e.resolveObject=function(t,e){return t?y(t,!1,!0).resolveObject(e):e},e.format=function(t){o.isString(t)&&(t=y(t));return t instanceof i?t.format():i.prototype.format.call(t)},e.Url=i;var a=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,l=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},b=n(935);function y(t,e,n){if(t&&o.isObject(t)&&t instanceof i)return t;var r=new i;return r.parse(t,e,n),r}i.prototype.parse=function(t,e,n){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var i=t.indexOf("?"),s=-1!==i&&i<t.indexOf("#")?"?":"#",c=t.split(s);c[0]=c[0].replace(/\\/g,"/");var y=t=c.join(s);if(y=y.trim(),!n&&1===t.split("#").length){var x=l.exec(y);if(x)return this.path=y,this.href=y,this.pathname=x[1],x[2]?(this.search=x[2],this.query=e?b.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var w=a.exec(y);if(w){var O=(w=w[0]).toLowerCase();this.protocol=O,y=y.substr(w.length)}if(n||w||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var S="//"===y.substr(0,2);!S||w&&g[w]||(y=y.substr(2),this.slashes=!0)}if(!g[w]&&(S||w&&!m[w])){for(var j,C,k=-1,E=0;E<f.length;E++){-1!==(P=y.indexOf(f[E]))&&(-1===k||P<k)&&(k=P)}-1!==(C=-1===k?y.lastIndexOf("@"):y.lastIndexOf("@",k))&&(j=y.slice(0,C),y=y.slice(C+1),this.auth=decodeURIComponent(j)),k=-1;for(E=0;E<d.length;E++){var P;-1!==(P=y.indexOf(d[E]))&&(-1===k||P<k)&&(k=P)}-1===k&&(k=y.length),this.host=y.slice(0,k),y=y.slice(k),this.parseHost(),this.hostname=this.hostname||"";var _="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!_)for(var M=this.hostname.split(/\./),T=(E=0,M.length);E<T;E++){var A=M[E];if(A&&!A.match(p)){for(var R="",D=0,I=A.length;D<I;D++)A.charCodeAt(D)>127?R+="x":R+=A[D];if(!R.match(p)){var N=M.slice(0,E),L=M.slice(E+1),F=A.match(h);F&&(N.push(F[1]),L.unshift(F[2])),L.length&&(y="/"+L.join(".")+y),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),_||(this.hostname=r.toASCII(this.hostname));var B=this.port?":"+this.port:"",z=this.hostname||"";this.host=z+B,this.href+=this.host,_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!v[O])for(E=0,T=u.length;E<T;E++){var H=u[E];if(-1!==y.indexOf(H)){var V=encodeURIComponent(H);V===H&&(V=escape(H)),y=y.split(H).join(V)}}var U=y.indexOf("#");-1!==U&&(this.hash=y.substr(U),y=y.slice(0,U));var W=y.indexOf("?");if(-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),e&&(this.query=b.parse(this.query)),y=y.slice(0,W)):e&&(this.search="",this.query={}),y&&(this.pathname=y),m[O]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){B=this.pathname||"";var q=this.search||"";this.path=B+q}return this.href=this.format(),this},i.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",r=this.hash||"",i=!1,a="";this.host?i=t+this.host:this.hostname&&(i=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(a=b.stringify(this.query));var s=this.search||a&&"?"+a||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||m[e])&&!1!==i?(i="//"+(i||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),s&&"?"!==s.charAt(0)&&(s="?"+s),e+i+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(s=s.replace("#","%23"))+r},i.prototype.resolve=function(t){return this.resolveObject(y(t,!1,!0)).format()},i.prototype.resolveObject=function(t){if(o.isString(t)){var e=new i;e.parse(t,!1,!0),t=e}for(var n=new i,r=Object.keys(this),a=0;a<r.length;a++){var s=r[a];n[s]=this[s]}if(n.hash=t.hash,""===t.href)return n.href=n.format(),n;if(t.slashes&&!t.protocol){for(var l=Object.keys(t),c=0;c<l.length;c++){var u=l[c];"protocol"!==u&&(n[u]=t[u])}return m[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(t.protocol&&t.protocol!==n.protocol){if(!m[t.protocol]){for(var d=Object.keys(t),f=0;f<d.length;f++){var p=d[f];n[p]=t[p]}return n.href=n.format(),n}if(n.protocol=t.protocol,t.host||g[t.protocol])n.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=t.search,n.query=t.query,n.host=t.host||"",n.auth=t.auth,n.hostname=t.hostname||t.host,n.port=t.port,n.pathname||n.search){var v=n.pathname||"",b=n.search||"";n.path=v+b}return n.slashes=n.slashes||t.slashes,n.href=n.format(),n}var y=n.pathname&&"/"===n.pathname.charAt(0),x=t.host||t.pathname&&"/"===t.pathname.charAt(0),w=x||y||n.host&&t.pathname,O=w,S=n.pathname&&n.pathname.split("/")||[],j=(h=t.pathname&&t.pathname.split("/")||[],n.protocol&&!m[n.protocol]);if(j&&(n.hostname="",n.port=null,n.host&&(""===S[0]?S[0]=n.host:S.unshift(n.host)),n.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===h[0]?h[0]=t.host:h.unshift(t.host)),t.host=null),w=w&&(""===h[0]||""===S[0])),x)n.host=t.host||""===t.host?t.host:n.host,n.hostname=t.hostname||""===t.hostname?t.hostname:n.hostname,n.search=t.search,n.query=t.query,S=h;else if(h.length)S||(S=[]),S.pop(),S=S.concat(h),n.search=t.search,n.query=t.query;else if(!o.isNullOrUndefined(t.search)){if(j)n.hostname=n.host=S.shift(),(_=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=_.shift(),n.host=n.hostname=_.shift());return n.search=t.search,n.query=t.query,o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!S.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=S.slice(-1)[0],k=(n.host||t.host||S.length>1)&&("."===C||".."===C)||""===C,E=0,P=S.length;P>=0;P--)"."===(C=S[P])?S.splice(P,1):".."===C?(S.splice(P,1),E++):E&&(S.splice(P,1),E--);if(!w&&!O)for(;E--;E)S.unshift("..");!w||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),k&&"/"!==S.join("/").substr(-1)&&S.push("");var _,M=""===S[0]||S[0]&&"/"===S[0].charAt(0);j&&(n.hostname=n.host=M?"":S.length?S.shift():"",(_=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=_.shift(),n.host=n.hostname=_.shift()));return(w=w||n.host&&S.length)&&!M&&S.unshift(""),S.length?n.pathname=S.join("/"):(n.pathname=null,n.path=null),o.isNull(n.pathname)&&o.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var t=this.host,e=s.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e){(function(){e.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:"  ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},function(t,e,n){(function(){var e,r,o,i,a,s,l,c,u={}.hasOwnProperty;c=n(194),l=c.isObject,s=c.isFunction,a=c.getValue,i=n(153),e=n(93),r=n(606),o=n(480),t.exports=function(t){function n(t,r,o){var i,a,s,l;if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(r),this.type=e.Element,this.attribs={},this.schemaTypeInfo=null,null!=o&&this.attribute(o),t.type===e.Document&&(this.isRoot=!0,this.documentObject=t,t.rootObject=this,t.children))for(a=0,s=(l=t.children).length;a<s;a++)if((i=l[a]).type===e.DocType){i.name=this.name;break}}return function(t,e){for(var n in e)u.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),Object.defineProperty(n.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(n.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(n.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(n.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(n.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new o(this.attribs)),this.attributeMap}}),n.prototype.clone=function(){var t,e,n,r;for(e in(n=Object.create(this)).isRoot&&(n.documentObject=null),n.attribs={},r=this.attribs)u.call(r,e)&&(t=r[e],n.attribs[e]=t.clone());return n.children=[],this.children.forEach((function(t){var e;return(e=t.clone()).parent=n,n.children.push(e)})),n},n.prototype.attribute=function(t,e){var n,o;if(null!=t&&(t=a(t)),l(t))for(n in t)u.call(t,n)&&(o=t[n],this.attribute(n,o));else s(e)&&(e=e.apply()),this.options.keepNullAttributes&&null==e?this.attribs[t]=new r(this,t,""):null!=e&&(this.attribs[t]=new r(this,t,e));return this},n.prototype.removeAttribute=function(t){var e,n,r;if(null==t)throw new Error("Missing attribute name. "+this.debugInfo());if(t=a(t),Array.isArray(t))for(n=0,r=t.length;n<r;n++)e=t[n],delete this.attribs[e];else delete this.attribs[t];return this},n.prototype.toString=function(t){return this.options.writer.element(this,this.options.writer.filterOptions(t))},n.prototype.att=function(t,e){return this.attribute(t,e)},n.prototype.a=function(t,e){return this.attribute(t,e)},n.prototype.getAttribute=function(t){return this.attribs.hasOwnProperty(t)?this.attribs[t].value:null},n.prototype.setAttribute=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getAttributeNode=function(t){return this.attribs.hasOwnProperty(t)?this.attribs[t]:null},n.prototype.setAttributeNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.removeAttributeNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getAttributeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.setAttributeNS=function(t,e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.removeAttributeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getAttributeNodeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.setAttributeNodeNS=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagNameNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.hasAttribute=function(t){return this.attribs.hasOwnProperty(t)},n.prototype.hasAttributeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.setIdAttribute=function(t,e){return this.attribs.hasOwnProperty(t)?this.attribs[t].isId:e},n.prototype.setIdAttributeNS=function(t,e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.setIdAttributeNode=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagNameNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByClassName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.isEqualNode=function(t){var e,r,o;if(!n.__super__.isEqualNode.apply(this,arguments).isEqualNode(t))return!1;if(t.namespaceURI!==this.namespaceURI)return!1;if(t.prefix!==this.prefix)return!1;if(t.localName!==this.localName)return!1;if(t.attribs.length!==this.attribs.length)return!1;for(e=r=0,o=this.attribs.length-1;0<=o?r<=o:r>=o;e=0<=o?++r:--r)if(!this.attribs[e].isEqualNode(t.attribs[e]))return!1;return!0},n}(i)}).call(this)},function(t,e){(function(){t.exports=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.getNamedItem=function(t){return this.nodes[t]},t.prototype.setNamedItem=function(t){var e;return e=this.nodes[t.nodeName],this.nodes[t.nodeName]=t,e||null},t.prototype.removeNamedItem=function(t){var e;return e=this.nodes[t],delete this.nodes[t],e||null},t.prototype.item=function(t){return this.nodes[Object.keys(this.nodes)[t]]||null},t.prototype.getNamedItemNS=function(t,e){throw new Error("This DOM method is not implemented.")},t.prototype.setNamedItemNS=function(t){throw new Error("This DOM method is not implemented.")},t.prototype.removeNamedItemNS=function(t,e){throw new Error("This DOM method is not implemented.")},t}()}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;e=n(93),r=n(387),t.exports=function(t){function n(t,r){if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=e.CData,this.value=this.stringify.cdata(r)}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(t){return this.options.writer.cdata(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;e=n(93),r=n(387),t.exports=function(t){function n(t,r){if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=e.Comment,this.value=this.stringify.comment(r)}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(t){return this.options.writer.comment(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o,i={}.hasOwnProperty;o=n(194).isObject,r=n(153),e=n(93),t.exports=function(t){function n(t,r,i,a){var s;n.__super__.constructor.call(this,t),o(r)&&(r=(s=r).version,i=s.encoding,a=s.standalone),r||(r="1.0"),this.type=e.Declaration,this.version=this.stringify.xmlVersion(r),null!=i&&(this.encoding=this.stringify.xmlEncoding(i)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return function(t,e){for(var n in e)i.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.toString=function(t){return this.options.writer.declaration(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o,i,a,s,l,c,u={}.hasOwnProperty;c=n(194).isObject,l=n(153),e=n(93),r=n(485),i=n(486),o=n(487),a=n(488),s=n(480),t.exports=function(t){function n(t,r,o){var i,a,s,l,u,d;if(n.__super__.constructor.call(this,t),this.type=e.DocType,t.children)for(a=0,s=(l=t.children).length;a<s;a++)if((i=l[a]).type===e.Element){this.name=i.name;break}this.documentObject=t,c(r)&&(r=(u=r).pubID,o=u.sysID),null==o&&(o=(d=[r,o])[0],r=d[1]),null!=r&&(this.pubID=this.stringify.dtdPubID(r)),null!=o&&(this.sysID=this.stringify.dtdSysID(o))}return function(t,e){for(var n in e)u.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),Object.defineProperty(n.prototype,"entities",{get:function(){var t,n,r,o,i;for(o={},n=0,r=(i=this.children).length;n<r;n++)(t=i[n]).type!==e.EntityDeclaration||t.pe||(o[t.name]=t);return new s(o)}}),Object.defineProperty(n.prototype,"notations",{get:function(){var t,n,r,o,i;for(o={},n=0,r=(i=this.children).length;n<r;n++)(t=i[n]).type===e.NotationDeclaration&&(o[t.name]=t);return new s(o)}}),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),n.prototype.element=function(t,e){var n;return n=new o(this,t,e),this.children.push(n),this},n.prototype.attList=function(t,e,n,o,i){var a;return a=new r(this,t,e,n,o,i),this.children.push(a),this},n.prototype.entity=function(t,e){var n;return n=new i(this,!1,t,e),this.children.push(n),this},n.prototype.pEntity=function(t,e){var n;return n=new i(this,!0,t,e),this.children.push(n),this},n.prototype.notation=function(t,e){var n;return n=new a(this,t,e),this.children.push(n),this},n.prototype.toString=function(t){return this.options.writer.docType(this,this.options.writer.filterOptions(t))},n.prototype.ele=function(t,e){return this.element(t,e)},n.prototype.att=function(t,e,n,r,o){return this.attList(t,e,n,r,o)},n.prototype.ent=function(t,e){return this.entity(t,e)},n.prototype.pent=function(t,e){return this.pEntity(t,e)},n.prototype.not=function(t,e){return this.notation(t,e)},n.prototype.up=function(){return this.root()||this.documentObject},n.prototype.isEqualNode=function(t){return!!n.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&(t.name===this.name&&(t.publicId===this.publicId&&t.systemId===this.systemId))},n}(l)}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;r=n(153),e=n(93),t.exports=function(t){function n(t,r,o,i,a,s){if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==o)throw new Error("Missing DTD attribute name. "+this.debugInfo(r));if(!i)throw new Error("Missing DTD attribute type. "+this.debugInfo(r));if(!a)throw new Error("Missing DTD attribute default. "+this.debugInfo(r));if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(r));if(s&&!a.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(r));this.elementName=this.stringify.name(r),this.type=e.AttributeDeclaration,this.attributeName=this.stringify.name(o),this.attributeType=this.stringify.dtdAttType(i),s&&(this.defaultValue=this.stringify.dtdAttDefault(s)),this.defaultValueType=a}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.toString=function(t){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o,i={}.hasOwnProperty;o=n(194).isObject,r=n(153),e=n(93),t.exports=function(t){function n(t,r,i,a){if(n.__super__.constructor.call(this,t),null==i)throw new Error("Missing DTD entity name. "+this.debugInfo(i));if(null==a)throw new Error("Missing DTD entity value. "+this.debugInfo(i));if(this.pe=!!r,this.name=this.stringify.name(i),this.type=e.EntityDeclaration,o(a)){if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(i));if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(i));if(this.internal=!1,null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(i))}else this.value=this.stringify.dtdEntityValue(a),this.internal=!0}return function(t,e){for(var n in e)i.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(n.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"xmlVersion",{get:function(){return null}}),n.prototype.toString=function(t){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;r=n(153),e=n(93),t.exports=function(t){function n(t,r,o){if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());o||(o="(#PCDATA)"),Array.isArray(o)&&(o="("+o.join(",")+")"),this.name=this.stringify.name(r),this.type=e.ElementDeclaration,this.value=this.stringify.dtdElementValue(o)}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.toString=function(t){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;r=n(153),e=n(93),t.exports=function(t){function n(t,r,o){if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing DTD notation name. "+this.debugInfo(r));if(!o.pubID&&!o.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(r));this.name=this.stringify.name(r),this.type=e.NotationDeclaration,null!=o.pubID&&(this.pubID=this.stringify.dtdPubID(o.pubID)),null!=o.sysID&&(this.sysID=this.stringify.dtdSysID(o.sysID))}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),n.prototype.toString=function(t){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;e=n(93),r=n(153),t.exports=function(t){function n(t,r){if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing raw text. "+this.debugInfo());this.type=e.Raw,this.value=this.stringify.raw(r)}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(t){return this.options.writer.raw(this,this.options.writer.filterOptions(t))},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;e=n(93),r=n(387),t.exports=function(t){function n(t,r){if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=e.Text,this.value=this.stringify.text(r)}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),Object.defineProperty(n.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"wholeText",{get:function(){var t,e,n;for(n="",e=this.previousSibling;e;)n=e.data+n,e=e.previousSibling;for(n+=this.data,t=this.nextSibling;t;)n+=t.data,t=t.nextSibling;return n}}),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(t){return this.options.writer.text(this,this.options.writer.filterOptions(t))},n.prototype.splitText=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceWholeText=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n}(r)}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;e=n(93),r=n(387),t.exports=function(t){function n(t,r,o){if(n.__super__.constructor.call(this,t),null==r)throw new Error("Missing instruction target. "+this.debugInfo());this.type=e.ProcessingInstruction,this.target=this.stringify.insTarget(r),this.name=this.target,o&&(this.value=this.stringify.insValue(o))}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(t){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(t))},n.prototype.isEqualNode=function(t){return!!n.__super__.isEqualNode.apply(this,arguments).isEqualNode(t)&&t.target===this.target},n}(r)}).call(this)},function(t,e,n){(function(){var e,r={}.hasOwnProperty;e=n(609),t.exports=function(t){function e(t){e.__super__.constructor.call(this,t)}return function(t,e){for(var n in e)r.call(e,n)&&(t[n]=e[n]);function o(){this.constructor=t}o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype}(e,t),e.prototype.document=function(t,e){var n,r,o,i,a;for(e=this.filterOptions(e),i="",r=0,o=(a=t.children).length;r<o;r++)n=a[r],i+=this.writeChildNode(n,e,0);return e.pretty&&i.slice(-e.newline.length)===e.newline&&(i=i.slice(0,-e.newline.length)),i},e}(e)}).call(this)},function(t,e,n){var r=n(494),o=n(964)(r);t.exports=o},function(t,e,n){var r=n(550),o=n(240);t.exports=function(t,e){return t&&r(t,e,o)}},function(t,e,n){var r=n(469),o=n(967);t.exports=function t(e,n,i,a,s){var l=-1,c=e.length;for(i||(i=o),s||(s=[]);++l<c;){var u=e[l];n>0&&i(u)?n>1?t(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}return s}},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}},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.filter((function(t){return!(0,r.default)(t)})).map((function(t,n){var r=void 0;return"function"!==typeof e||null!==(r=e(t,n))&&!r?(0,o.default)(t,n,e):r}))};var r=i(n(1063)),o=i(n(629));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},function(t,e,n){var r;!function(){"use strict";var o=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(e,n,e,t))||(t.exports=r)}()},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!("undefined"===typeof window||!window)&&("ontouchstart"in window||navigator.maxTouchPoints)},e.getPadding=function(){if("undefined"===typeof window||!window||!document)return 0;var t=parseInt(document.body.paddingRight,10)||0,e=document.body?document.body.clientWidth:0;return window.innerWidth-e+t||0},e.camelToKebab=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},e.getWindowHeight=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if("undefined"!==typeof window&&window&&window.innerHeight)return window.innerHeight*t},e.getDocumentHeight=function(){if("undefined"!==typeof window&&document&&document.body)return document.body.clientHeight},e.parse=function(t){return isNaN(t)?t:t+"px"},e.makeStyleTag=function(t){var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-react-scrolllock",""),e},e.injectStyles=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))},e.insertStyleTag=function(t){(document.head||document.getElementsByTagName("head")[0]).appendChild(t)}},function(t,e,n){"use strict";n(3);e.a=function(t,e){return function(){return null}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"b",(function(){return c}));var r=n(2),o=function(t,e,n){t=+t,e=+e,n=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((e-t)/n)),i=new Array(o);++r<o;)i[r]=t+r*n;return i},i=n(64),a=n(332);function s(){var t,e,n=Object(a.a)().unknown(void 0),l=n.domain,c=n.range,u=0,d=1,f=!1,p=0,h=0,v=.5;function g(){var n=l().length,r=d<u,i=r?d:u,a=r?u:d;t=(a-i)/Math.max(1,n-p+2*h),f&&(t=Math.floor(t)),i+=(a-i-t*(n-p))*v,e=t*(1-p),f&&(i=Math.round(i),e=Math.round(e));var s=o(n).map((function(e){return i+t*e}));return c(r?s.reverse():s)}return delete n.unknown,n.domain=function(t){return arguments.length?(l(t),g()):l()},n.range=function(t){var e;return arguments.length?(e=Object(r.a)(t,2),u=e[0],d=e[1],u=+u,d=+d,g()):[u,d]},n.rangeRound=function(t){var e;return e=Object(r.a)(t,2),u=e[0],d=e[1],u=+u,d=+d,f=!0,g()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(f=!!t,g()):f},n.padding=function(t){return arguments.length?(p=Math.min(1,h=+t),g()):p},n.paddingInner=function(t){return arguments.length?(p=Math.min(1,t),g()):p},n.paddingOuter=function(t){return arguments.length?(h=+t,g()):h},n.align=function(t){return arguments.length?(v=Math.max(0,Math.min(1,t)),g()):v},n.copy=function(){return s(l(),[u,d]).round(f).paddingInner(p).paddingOuter(h).align(v)},i.b.apply(g(),arguments)}function l(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return l(e())},t}function c(){return l(s.apply(null,arguments).paddingInner(1))}},function(t,e,n){"use strict";var r=n(134),o=n.n(r);e.a=function(t,e){return o()(t,e)}},function(t,e,n){var r=n(191),o=n(151);t.exports=function(t){return"number"==typeof t||o(t)&&"[object Number]"==r(t)}},function(t,e,n){var r=n(566),o=n(192),i=n(991),a=n(59),s=n(325);t.exports=function(t,e,n){var l=a(t)?r:i;return n&&s(t,e,n)&&(e=void 0),l(t,o(e,3))}},function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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="/dist/",n(n.s=3)}([function(t,e,n){t.exports=n(5)()},function(t,e,n){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){"use strict";t.exports=n(8)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=(r=n(4))&&r.__esModule?r:{default:r};e.default=o.default},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}}(),o=l(n(0)),i=n(2),a=l(i),s=l(n(11));function l(t){return t&&t.__esModule?t:{default:t}}var c=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.values=Array(t.length).fill("").map((function(e,n){return t.initialValue.toString()[n]||""})),n.elements=[],n.currentIndex=0,n.onPaste=n.onPaste.bind(n),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,t),r(e,[{key:"componentDidMount",value:function(){this.props.focus&&this.props.length&&this.elements[0].focus()}},{key:"clear",value:function(){this.elements.forEach((function(t){return t.clear()})),this.values=this.values.map((function(){})),this.elements[0].focus()}},{key:"focus",value:function(){this.props.length&&this.elements[0].focus()}},{key:"onItemChange",value:function(t,e,n){var r=this.props,o=r.length,i=r.onComplete,a=r.onChange,s=n;this.values[n]=t,1===t.length&&n<o-1&&(s+=1,this.elements[s].focus());var l=this.values.join("");if(e||a(l,s),l.length===o){if(e&&n<o-1)return;i(l,s)}}},{key:"onBackspace",value:function(t){t>0&&this.elements[t-1].focus()}},{key:"onPaste",value:function(t){var e=this.props.length;t.length===e&&this.elements.forEach((function(e,n){return e.update(t[n],!0)}))}},{key:"render",value:function(){var t=this;return a.default.createElement("div",{style:this.props.style,className:"pincode-input-container"},this.values.map((function(e,n){return a.default.createElement(s.default,{initialValue:e,ref:function(e){return t.elements[n]=e},key:n,disabled:t.props.disabled,onBackspace:function(){return t.onBackspace(n)},secret:t.props.secret||!1,onChange:function(e,r){return t.onItemChange(e,r,n)},type:t.props.type,inputMode:t.props.inputMode,validate:t.props.validate,inputStyle:t.props.inputStyle,inputFocusStyle:t.props.inputFocusStyle,autoSelect:t.props.autoSelect,onPaste:0===n?t.onPaste:null,regexCriteria:t.props.regexCriteria,ariaLabel:t.props.ariaLabel,placeholder:t.props.placeholder})})))}}]),e}(i.Component);c.propTypes={initialValue:o.default.oneOfType([o.default.string,o.default.number]),length:o.default.number.isRequired,type:o.default.string,onComplete:o.default.func,validate:o.default.func,secret:o.default.bool,disabled:o.default.bool,focus:o.default.bool,onChange:o.default.func,inputMode:o.default.string,style:o.default.object,inputStyle:o.default.object,inputFocusStyle:o.default.object,autoSelect:o.default.bool,regexCriteria:o.default.any,ariaLabel:o.default.string,placeholder:o.default.string},c.defaultProps={initialValue:"",type:"numeric",secret:!1,validate:null,focus:!1,disabled:!1,onChange:function(){},onComplete:function(){},inputMode:void 0,style:{},inputStyle:{},inputFocusStyle:{},autoSelect:!0,regexCriteria:/^[a-zA-Z0-9]+$/,ariaLabel:"",placeholder:""},e.default=c},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(7);t.exports=function(){function t(t,e,n,r,a,s){s!==i&&o(!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,n){"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var l;if(void 0===e)l=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,o,i,a,s],u=0;(l=new Error(e.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var r=n(9),o=n(10),i=n(1),a="function"==typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103,l=a?Symbol.for("react.call"):60104,c=a?Symbol.for("react.return"):60105,u=a?Symbol.for("react.portal"):60106,d=a?Symbol.for("react.fragment"):60107,f="function"==typeof Symbol&&Symbol.iterator;function p(t){for(var e=arguments.length-1,n="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);throw(e=Error(n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.")).name="Invariant Violation",e.framesToPop=1,e}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};function v(t,e,n){this.props=t,this.context=e,this.refs=o,this.updater=n||h}function g(t,e,n){this.props=t,this.context=e,this.refs=o,this.updater=n||h}function m(){}v.prototype.isReactComponent={},v.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&p("85"),this.updater.enqueueSetState(this,t,e,"setState")},v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=v.prototype;var b=g.prototype=new m;function y(t,e,n){this.props=t,this.context=e,this.refs=o,this.updater=n||h}b.constructor=g,r(b,v.prototype),b.isPureReactComponent=!0;var x=y.prototype=new m;x.constructor=y,r(x,v.prototype),x.unstable_isAsyncReactComponent=!0,x.render=function(){return this.props.children};var w={current:null},O=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function j(t,e,n){var r,o={},i=null,a=null;if(null!=e)for(r in void 0!==e.ref&&(a=e.ref),void 0!==e.key&&(i=""+e.key),e)O.call(e,r)&&!S.hasOwnProperty(r)&&(o[r]=e[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];o.children=c}if(t&&t.defaultProps)for(r in l=t.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:s,type:t,key:i,ref:a,props:o,_owner:w.current}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===s}var k=/\/+/g,E=[];function P(t,e,n,r){if(E.length){var o=E.pop();return o.result=t,o.keyPrefix=e,o.func=n,o.context=r,o.count=0,o}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function _(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>E.length&&E.push(t)}function M(t,e,n,r){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var i=!1;if(null===t)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(t.$$typeof){case s:case l:case c:case u:i=!0}}if(i)return n(r,t,""===e?"."+T(t,0):e),1;if(i=0,e=""===e?".":e+":",Array.isArray(t))for(var a=0;a<t.length;a++){var d=e+T(o=t[a],a);i+=M(o,d,n,r)}else if("function"==typeof(d=null==t?null:"function"==typeof(d=f&&t[f]||t["@@iterator"])?d:null))for(t=d.call(t),a=0;!(o=t.next()).done;)i+=M(o=o.value,d=e+T(o,a++),n,r);else"object"===o&&p("31","[object Object]"===(n=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":n,"");return i}function T(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 A(t,e){t.func.call(t.context,e,t.count++)}function R(t,e,n){var r=t.result,o=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?D(t,r,n,i.thatReturnsArgument):null!=t&&(C(t)&&(e=o+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(k,"$&/")+"/")+n,t={$$typeof:s,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}),r.push(t))}function D(t,e,n,r,o){var i="";null!=n&&(i=(""+n).replace(k,"$&/")+"/"),e=P(e,i,r,o),null==t||M(t,"",R,e),_(e)}var I={Children:{map:function(t,e,n){if(null==t)return t;var r=[];return D(t,r,null,e,n),r},forEach:function(t,e,n){if(null==t)return t;e=P(null,null,e,n),null==t||M(t,"",A,e),_(e)},count:function(t){return null==t?0:M(t,"",i.thatReturnsNull,null)},toArray:function(t){var e=[];return D(t,e,null,i.thatReturnsArgument),e},only:function(t){return C(t)||p("143"),t}},Component:v,PureComponent:g,unstable_AsyncComponent:y,Fragment:d,createElement:j,cloneElement:function(t,e,n){var o=r({},t.props),i=t.key,a=t.ref,l=t._owner;if(null!=e){if(void 0!==e.ref&&(a=e.ref,l=w.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(u in e)O.call(e,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===e[u]&&void 0!==c?c[u]:e[u])}var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:s,type:t.type,key:i,ref:a,props:o,_owner:l}},createFactory:function(t){var e=j.bind(null,t);return e.type=t,e},isValidElement:C,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:w,assign:r}},N=Object.freeze({default:I}),L=N&&I||N;t.exports=L.default?L.default:L},function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}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,s,l=a(t),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(t,e,n){"use strict";t.exports={}},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}}(),o=s(n(0)),i=n(2),a=s(i);function s(t){return t&&t.__esModule?t:{default:t}}var l={padding:0,margin:"0 2px",textAlign:"center",border:"1px solid",background:"transparent",width:"50px",height:"50px"},c={outline:"none",boxShadow:"none"},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={value:n.validate(t.initialValue),focus:!1},n.onChange=n.onChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.onFocus=n.onFocus.bind(n),n.onBlur=n.onBlur.bind(n),n.onPaste=n.onPaste.bind(n),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,t),r(e,[{key:"onKeyDown",value:function(t){8!==t.keyCode||this.state.value&&this.state.value.length||this.props.onBackspace()}},{key:"clear",value:function(){this.setState({value:""})}},{key:"update",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.validate(t);(this.state.value!==r||n)&&r.length<2&&(this.setState({value:r}),setTimeout((function(){e.props.onChange(r,n)}),0))}},{key:"onChange",value:function(t){this.update(t.target.value)}},{key:"focus",value:function(){this.input.focus()}},{key:"onFocus",value:function(t){this.props.autoSelect&&t.target.select(),this.setState({focus:!0})}},{key:"onBlur",value:function(){this.setState({focus:!1})}},{key:"onPaste",value:function(t){if(this.props.onPaste){var e=t.clipboardData.getData("text");this.props.onPaste(e)}}},{key:"validate",value:function(t){if(this.props.validate)return this.props.validate(t);if("numeric"===this.props.type){var e=t.charCodeAt(0);return e>="0".charCodeAt(0)&&e<="9".charCodeAt(0)?t:""}return this.props.regexCriteria.test(t)?t.toUpperCase():""}},{key:"render",value:function(){var t=this,e=this.state,n=e.focus,r=e.value,o=this.props,i=o.type,s=o.inputMode,u=o.inputStyle,d=o.inputFocusStyle,f="numeric"===i?"tel":i||"text";return a.default.createElement("input",{disabled:this.props.disabled?"disabled":void 0,className:"pincode-input-text",onChange:this.onChange,onKeyDown:this.onKeyDown,placeholder:this.props.placeholder?this.props.placeholder:r,"aria-label":this.props.ariaLabel?this.props.ariaLabel:r,maxLength:"1",autoComplete:"off",type:this.props.secret?"password":f,inputMode:s||"text",pattern:"numeric"===this.props.type?"[0-9]*":"^[a-zA-Z0-9]+$",ref:function(e){return t.input=e},onFocus:this.onFocus,onBlur:this.onBlur,onPaste:this.onPaste,style:Object.assign({},l,u,n?Object.assign({},c,d):{}),value:r})}}]),e}(i.Component);u.propTypes={initialValue:o.default.string,onChange:o.default.func.isRequired,onBackspace:o.default.func.isRequired,onPaste:o.default.func,secret:o.default.bool,disabled:o.default.bool,type:o.default.string,inputMode:o.default.string,validate:o.default.func,inputStyle:o.default.object.isRequired,inputFocusStyle:o.default.object.isRequired,autoSelect:o.default.bool,regexCriteria:o.default.any,ariaLabel:o.default.string,placeholder:o.default.string},u.defaultProps={secret:!1,type:"numeric",inputMode:void 0,disabled:!1,validate:void 0,autoSelect:!1,onPaste:void 0,regexCriteria:/^[a-zA-Z0-9]+$/,ariaLabel:"",placeholder:""},e.default=u}])},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)([(0,i.jsx)("path",{d:"M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM19 14.9 14.9 19H9.1L5 14.9V9.1L9.1 5h5.8L19 9.1v5.8z"},"0"),(0,i.jsx)("path",{d:"M11 7h2v6h-2zm0 8h2v2h-2z"},"1")],"ReportGmailerrorred");e.default=a},function(t,e,n){"use strict";var r=n(401),o="-ms-",i="-moz-",a="-webkit-",s="comm",l="rule",c="decl",u="@keyframes",d=Math.abs,f=String.fromCharCode,p=Object.assign;function h(t){return t.trim()}function v(t,e,n){return t.replace(e,n)}function g(t,e){return t.indexOf(e)}function m(t,e){return 0|t.charCodeAt(e)}function b(t,e,n){return t.slice(e,n)}function y(t){return t.length}function x(t){return t.length}function w(t,e){return e.push(t),t}function O(t,e){return t.map(e).join("")}var S=1,j=1,C=0,k=0,E=0,P="";function _(t,e,n,r,o,i,a){return{value:t,root:e,parent:n,type:r,props:o,children:i,line:S,column:j,length:a,return:""}}function M(t,e){return p(_("",null,null,"",null,null,0),t,{length:-t.length},e)}function T(){return E=k>0?m(P,--k):0,j--,10===E&&(j=1,S--),E}function A(){return E=k<C?m(P,k++):0,j++,10===E&&(j=1,S++),E}function R(){return m(P,k)}function D(){return k}function I(t,e){return b(P,t,e)}function N(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function L(t){return S=j=1,C=y(P=t),k=0,[]}function F(t){return P="",t}function B(t){return h(I(k-1,V(91===t?t+2:40===t?t+1:t)))}function z(t){for(;(E=R())&&E<33;)A();return N(t)>2||N(E)>3?"":" "}function H(t,e){for(;--e&&A()&&!(E<48||E>102||E>57&&E<65||E>70&&E<97););return I(t,D()+(e<6&&32==R()&&32==A()))}function V(t){for(;A();)switch(E){case t:return k;case 34:case 39:34!==t&&39!==t&&V(E);break;case 40:41===t&&V(t);break;case 92:A()}return k}function U(t,e){for(;A()&&t+E!==57&&(t+E!==84||47!==R()););return"/*"+I(e,k-1)+"*"+f(47===t?t:A())}function W(t){for(;!N(R());)A();return I(t,k)}function q(t){return F(G("",null,null,null,[""],t=L(t),0,[0],t))}function G(t,e,n,r,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,b=1,x=1,O=1,S=0,j="",C=o,k=i,E=r,P=j;x;)switch(m=S,S=A()){case 40:if(108!=m&&58==P.charCodeAt(d-1)){-1!=g(P+=v(B(S),"&","&\f"),"&\f")&&(O=-1);break}case 34:case 39:case 91:P+=B(S);break;case 9:case 10:case 13:case 32:P+=z(m);break;case 92:P+=H(D()-1,7);continue;case 47:switch(R()){case 42:case 47:w(X(U(A(),D()),e,n),l);break;default:P+="/"}break;case 123*b:s[c++]=y(P)*O;case 125*b:case 59:case 0:switch(S){case 0:case 125:x=0;case 59+u:h>0&&y(P)-d&&w(h>32?K(P+";",r,n,d-1):K(v(P," ","")+";",r,n,d-2),l);break;case 59:P+=";";default:if(w(E=Y(P,e,n,c,u,o,s,j,C=[],k=[],d),i),123===S)if(0===u)G(P,e,E,E,C,i,d,s,k);else switch(p){case 100:case 109:case 115:G(t,E,E,r&&w(Y(t,E,E,0,0,o,s,j,o,C=[],d),k),o,k,d,s,r?C:k);break;default:G(P,E,E,E,[""],k,0,s,k)}}c=u=h=0,b=O=1,j=P="",d=a;break;case 58:d=1+y(P),h=m;default:if(b<1)if(123==S)--b;else if(125==S&&0==b++&&125==T())continue;switch(P+=f(S),S*b){case 38:O=u>0?1:(P+="\f",-1);break;case 44:s[c++]=(y(P)-1)*O,O=1;break;case 64:45===R()&&(P+=B(A())),p=R(),u=d=y(j=P+=W(D())),S++;break;case 45:45===m&&2==y(P)&&(b=0)}}return i}function Y(t,e,n,r,o,i,a,s,c,u,f){for(var p=o-1,g=0===o?i:[""],m=x(g),y=0,w=0,O=0;y<r;++y)for(var S=0,j=b(t,p+1,p=d(w=a[y])),C=t;S<m;++S)(C=h(w>0?g[S]+" "+j:v(j,/&\f/g,g[S])))&&(c[O++]=C);return _(t,e,n,0===o?l:s,c,u,f)}function X(t,e,n){return _(t,e,n,s,f(E),b(t,2,-2),0)}function K(t,e,n,r){return _(t,e,n,c,b(t,0,r),b(t,r+1,-1),r)}function $(t,e){switch(function(t,e){return(((e<<2^m(t,0))<<2^m(t,1))<<2^m(t,2))<<2^m(t,3)}(t,e)){case 5103:return a+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return a+t+i+t+o+t+t;case 6828:case 4268:return a+t+o+t+t;case 6165:return a+t+o+"flex-"+t+t;case 5187:return a+t+v(t,/(\w+).+(:[^]+)/,a+"box-$1$2"+o+"flex-$1$2")+t;case 5443:return a+t+o+"flex-item-"+v(t,/flex-|-self/,"")+t;case 4675:return a+t+o+"flex-line-pack"+v(t,/align-content|flex-|-self/,"")+t;case 5548:return a+t+o+v(t,"shrink","negative")+t;case 5292:return a+t+o+v(t,"basis","preferred-size")+t;case 6060:return a+"box-"+v(t,"-grow","")+a+t+o+v(t,"grow","positive")+t;case 4554:return a+v(t,/([^-])(transform)/g,"$1"+a+"$2")+t;case 6187:return v(v(v(t,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),t,"")+t;case 5495:case 3959:return v(t,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return v(v(t,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+o+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+t+t;case 4095:case 3583:case 4068:case 2532:return v(t,/(.+)-inline(.+)/,a+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(y(t)-1-e>6)switch(m(t,e+1)){case 109:if(45!==m(t,e+4))break;case 102:return v(t,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+i+(108==m(t,e+3)?"$3":"$2-$3"))+t;case 115:return~g(t,"stretch")?$(v(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==m(t,e+1))break;case 6444:switch(m(t,y(t)-3-(~g(t,"!important")&&10))){case 107:return v(t,":",":"+a)+t;case 101:return v(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===m(t,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+o+"$2box$3")+t}break;case 5936:switch(m(t,e+11)){case 114:return a+t+o+v(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return a+t+o+v(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return a+t+o+v(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return a+t+o+t+t}return t}function Z(t,e){for(var n="",r=x(t),o=0;o<r;o++)n+=e(t[o],o,t,e)||"";return n}function Q(t,e,n,r){switch(t.type){case"@import":case c:return t.return=t.return||t.value;case s:return"";case u:return t.return=t.value+"{"+Z(t.children,r)+"}";case l:t.value=t.props.join(",")}return y(n=Z(t.children,r))?t.return=t.value+"{"+n+"}":""}function J(t){return function(e){e.root||(e=e.return)&&t(e)}}n(278),n(277);var tt=function(t,e,n){for(var r=0,o=0;r=o,o=R(),38===r&&12===o&&(e[n]=1),!N(o);)A();return I(t,k)},et=function(t,e){return F(function(t,e){var n=-1,r=44;do{switch(N(r)){case 0:38===r&&12===R()&&(e[n]=1),t[n]+=tt(k-1,e,n);break;case 2:t[n]+=B(r);break;case 4:if(44===r){t[++n]=58===R()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=f(r)}}while(r=A());return t}(L(t),e))},nt=new WeakMap,rt=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||nt.get(n))&&!r){nt.set(t,!0);for(var o=[],i=et(e,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)t.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},ot=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}},it=[function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case c:t.return=$(t.value,t.length);break;case u:return Z([M(t,{value:v(t.value,"@","@"+a)})],r);case l:if(t.length)return O(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Z([M(t,{props:[v(e,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Z([M(t,{props:[v(e,/:(plac\w+)/,":"+a+"input-$1")]}),M(t,{props:[v(e,/:(plac\w+)/,":-moz-$1")]}),M(t,{props:[v(e,/:(plac\w+)/,o+"input-$1")]})],r)}return""}))}}];e.a=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var o=t.stylisPlugins||it;var i,a,s={},l=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)s[e[n]]=!0;l.push(t)}));var c=[rt,ot];var u,d=[Q,J((function(t){u.insert(t)}))],f=function(t){var e=x(t);return function(n,r,o,i){for(var a="",s=0;s<e;s++)a+=t[s](n,r,o,i)||"";return a}}(c.concat(o,d));a=function(t,e,n,r){u=n,Z(q(t?t+"{"+e.styles+"}":e.styles),f),r&&(p.inserted[e.name]=!0)};var p={key:e,sheet:new r.a({key:e,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return p.sheet.hydrate(l),p}},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");e.default=a},function(t,e,n){var r=n(465),o=n(239),i=n(560),a=n(213),s=n(370),l=n(240),c=Object.prototype.hasOwnProperty,u=i((function(t,e){if(s(e)||a(e))o(e,l(e),t);else for(var n in e)c.call(e,n)&&r(t,n,e[n])}));t.exports=u},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M10.02 6 8.61 7.41 13.19 12l-4.58 4.59L10.02 18l6-6-6-6z"}),"NavigateNextOutlined");e.default=a},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new i({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 i(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=i.prototype,i.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}},function(t,e,n){"use strict";var r=n(291);e.a=function(t){var e=t,n=t;function o(t,e,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;n(t[i],e)<0?r=i+1:o=i}return r}return 1===t.length&&(e=function(e,n){return t(e)-n},n=function(t){return function(e,n){return Object(r.a)(t(e),n)}}(t)),{left:o,center:function(t,n,r,i){null==r&&(r=0),null==i&&(i=t.length);var a=o(t,n,r,i-1);return a>r&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var i=r+o>>>1;n(t[i],e)>0?o=i:r=i+1}return r}}}},function(t,e,n){var r=n(628)((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));t.exports=r},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z"}),"Save");e.default=a},function(t,e,n){"use strict";var r=n(651);n.o(r,"animated")&&n.d(e,"animated",(function(){return r.animated})),n.o(r,"useSpring")&&n.d(e,"useSpring",(function(){return r.useSpring}))},function(t,e,n){"use strict";function r(t){return function(e){var n=e.dispatch,r=e.getState;return function(e){return function(o){return"function"===typeof o?o(n,r,t):e(o)}}}}var o=r();o.withExtraArgument=r,e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return et}));var r=n(59),o=n.n(r),i=n(222),a=n.n(i),s=n(40),l=n.n(s),c=n(1),u=n.n(c),d=function(){};function f(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 p(t){this._context=t}p.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:f(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:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function h(t){this._context=t}h.prototype={areaStart:d,areaEnd:d,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:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function v(t){this._context=t}v.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:f(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function g(t){this._context=t}g.prototype={areaStart:d,areaEnd:d,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))}};function m(t){this._context=t}m.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 b=function(t){return new m(t)};function y(t){return t<0?-1:1}function x(t,e,n){var r=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(r||o<0&&-0),a=(n-t._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(y(i)+y(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function w(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function O(t,e,n){var r=t._x0,o=t._y0,i=t._x1,a=t._y1,s=(i-r)/3;t._context.bezierCurveTo(r+s,o+s*e,i-s,a-s*n,i,a)}function S(t){this._context=t}function j(t){this._context=new C(t)}function C(t){this._context=t}function k(t){this._context=t}function E(t){var e,n,r=t.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=o[e]/i[e-1],i[e]-=n,a[e]-=n*a[e-1];for(o[r-1]=a[r-1]/i[r-1],e=r-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[r-1]=(t[r]+o[r-1])/2,e=0;e<r-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}S.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:O(this,this._t0,w(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,O(this,w(this,n=x(this,t,e)),n);break;default:O(this,this._t0,n=x(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(j.prototype=Object.create(S.prototype)).point=function(t,e){S.prototype.point.call(this,e,t)},C.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,o,i){this._context.bezierCurveTo(e,t,r,n,i,o)}},k.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=E(t),o=E(e),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],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)}};function P(t,e){this._context=t,this._t=e}P.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 _=n(1284),M=n(292),T=n(73);function A(t){return t[0]}function R(t){return t[1]}var D=function(t,e){var n=Object(T.a)(!0),r=null,o=b,i=null;function a(a){var s,l,c,u=(a=Object(M.a)(a)).length,d=!1;for(null==r&&(i=o(c=Object(_.a)())),s=0;s<=u;++s)!(s<u&&n(l=a[s],s,a))===d&&((d=!d)?i.lineStart():i.lineEnd()),d&&i.point(+t(l,s,a),+e(l,s,a));if(c)return i=null,c+""||null}return t="function"===typeof t?t:void 0===t?A:Object(T.a)(t),e="function"===typeof e?e:void 0===e?R:Object(T.a)(e),a.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(T.a)(+e),a):t},a.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(T.a)(+t),a):e},a.defined=function(t){return arguments.length?(n="function"===typeof t?t:Object(T.a)(!!t),a):n},a.curve=function(t){return arguments.length?(o=t,null!=r&&(i=o(r)),a):o},a.context=function(t){return arguments.length?(null==t?r=i=null:i=o(r=t),a):r},a},I=function(t,e,n){var r=null,o=Object(T.a)(!0),i=null,a=b,s=null;function l(l){var c,u,d,f,p,h=(l=Object(M.a)(l)).length,v=!1,g=new Array(h),m=new Array(h);for(null==i&&(s=a(p=Object(_.a)())),c=0;c<=h;++c){if(!(c<h&&o(f=l[c],c,l))===v)if(v=!v)u=c,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),d=c-1;d>=u;--d)s.point(g[d],m[d]);s.lineEnd(),s.areaEnd()}v&&(g[c]=+t(f,c,l),m[c]=+e(f,c,l),s.point(r?+r(f,c,l):g[c],n?+n(f,c,l):m[c]))}if(p)return s=null,p+""||null}function c(){return D().defined(o).curve(a).context(i)}return t="function"===typeof t?t:void 0===t?A:Object(T.a)(+t),e="function"===typeof e?e:void 0===e?Object(T.a)(0):Object(T.a)(+e),n="function"===typeof n?n:void 0===n?R:Object(T.a)(+n),l.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(T.a)(+e),r=null,l):t},l.x0=function(e){return arguments.length?(t="function"===typeof e?e:Object(T.a)(+e),l):t},l.x1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:Object(T.a)(+t),l):r},l.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(T.a)(+t),n=null,l):e},l.y0=function(t){return arguments.length?(e="function"===typeof t?t:Object(T.a)(+t),l):e},l.y1=function(t){return arguments.length?(n=null==t?null:"function"===typeof t?t:Object(T.a)(+t),l):n},l.lineX0=l.lineY0=function(){return c().x(t).y(e)},l.lineY1=function(){return c().x(t).y(n)},l.lineX1=function(){return c().x(r).y(e)},l.defined=function(t){return arguments.length?(o="function"===typeof t?t:Object(T.a)(!!t),l):o},l.curve=function(t){return arguments.length?(a=t,null!=i&&(s=a(i)),l):a},l.context=function(t){return arguments.length?(null==t?i=s=null:s=a(i=t),l):i},l},N=n(56),L=n.n(N),F=n(39),B=n(18);function z(t){return z="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},z(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},H.apply(this,arguments)}function V(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 U(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){W(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function G(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 Y(t,e){return Y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Y(t,e)}function X(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=$(t);if(e){var o=$(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return K(this,n)}}function K(t,e){return!e||"object"!==z(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 $(t){return $=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},$(t)}var Z={curveBasisClosed:function(t){return new h(t)},curveBasisOpen:function(t){return new v(t)},curveBasis:function(t){return new p(t)},curveLinearClosed:function(t){return new g(t)},curveLinear:b,curveMonotoneX:function(t){return new S(t)},curveMonotoneY:function(t){return new j(t)},curveNatural:function(t){return new k(t)},curveStep:function(t){return new P(t,.5)},curveStepAfter:function(t){return new P(t,1)},curveStepBefore:function(t){return new P(t,0)}},Q=function(t){return t.x===+t.x&&t.y===+t.y},J=function(t){return t.x},tt=function(t){return t.y},et=function(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&&Y(t,e)}(s,t);var e,n,r,i=X(s);function s(){return q(this,s),i.apply(this,arguments)}return e=s,(n=[{key:"getPath",value:function(){var t,e=this.props,n=e.type,r=e.points,i=e.baseLine,s=e.layout,c=e.connectNulls,u=function(t,e){if(l()(t))return t;var n="curve".concat(a()(t));return"curveMonotone"===n&&e?Z["".concat(n).concat("vertical"===e?"Y":"X")]:Z[n]||b}(n,s),d=c?r.filter((function(t){return Q(t)})):r;if(o()(i)){var f=c?i.filter((function(t){return Q(t)})):i,p=d.map((function(t,e){return U(U({},t),{},{base:f[e]})}));return(t="vertical"===s?I().y(tt).x1(J).x0((function(t){return t.base.x})):I().x(J).y1(tt).y0((function(t){return t.base.y}))).defined(Q).curve(u),t(p)}return(t="vertical"===s&&Object(B.g)(i)?I().y(tt).x1(J).x0(i):Object(B.g)(i)?I().x(J).y1(tt).y0(i):D().x(J).y(tt)).defined(Q).curve(u),t(d)}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.points,r=t.path,o=t.pathRef;if((!n||!n.length)&&!r)return null;var i=n&&n.length?this.getPath():r;return u.a.createElement("path",H({},Object(F.c)(this.props),Object(F.a)(this.props),{className:L()("recharts-curve",e),d:i,ref:o}))}}])&&G(e.prototype,n),r&&G(e,r),s}(c.PureComponent);et.defaultProps={type:"linear",points:[],connectNulls:!1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var r=n(23),o=n(25),i=n(37),a=n(46),s=n(304),l=n.n(s),c=n(695),u=n.n(c),d=n(696),f=n.n(d),p=n(697),h=n.n(p);l.a.extend(u.a),l.a.extend(f.a),l.a.extend(h.a);var v={normalDateWithWeekday:"ddd, MMM D",normalDate:"D MMMM",shortDate:"MMM D",monthAndDate:"MMMM D",dayOfMonth:"D",year:"YYYY",month:"MMMM",monthShort:"MMM",monthAndYear:"MMMM YYYY",weekday:"dddd",weekdayShort:"ddd",minutes:"mm",hours12h:"hh",hours24h:"HH",seconds:"ss",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",fullDate:"ll",fullDateWithWeekday:"dddd, LL",fullDateTime:"lll",fullDateTime12h:"ll hh:mm A",fullDateTime24h:"ll HH:mm",keyboardDate:"L",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},g=function(t){var e=this,n=void 0===t?{}:t,r=n.locale,o=n.formats,i=n.instance;this.lib="dayjs",this.is12HourCycleInCurrentLocale=function(){var t,n;return/A|a/.test(null===(n=null===(t=e.rawDayJsInstance.Ls[e.locale||"en"])||void 0===t?void 0:t.formats)||void 0===n?void 0:n.LT)},this.getCurrentLocaleCode=function(){return e.locale||"en"},this.getFormatHelperText=function(t){return t.match(/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?)|./g).map((function(t){var n,r;return"L"===t[0]&&null!==(r=null===(n=e.rawDayJsInstance.Ls[e.locale||"en"])||void 0===n?void 0:n.formats[t])&&void 0!==r?r:t})).join("").replace(/a/gi,"(a|p)m").toLocaleLowerCase()},this.parseISO=function(t){return e.dayjs(t)},this.toISO=function(t){return t.toISOString()},this.parse=function(t,n){return""===t?null:e.dayjs(t,n,e.locale,!0)},this.date=function(t){return null===t?null:e.dayjs(t)},this.toJsDate=function(t){return t.toDate()},this.isValid=function(t){return e.dayjs(t).isValid()},this.isNull=function(t){return null===t},this.getDiff=function(t,e,n){return t.diff(e,n)},this.isAfter=function(t,e){return t.isAfter(e)},this.isBefore=function(t,e){return t.isBefore(e)},this.isAfterDay=function(t,e){return t.isAfter(e,"day")},this.isBeforeDay=function(t,e){return t.isBefore(e,"day")},this.isBeforeYear=function(t,e){return t.isBefore(e,"year")},this.isAfterYear=function(t,e){return t.isAfter(e,"year")},this.startOfDay=function(t){return t.startOf("day")},this.endOfDay=function(t){return t.endOf("day")},this.format=function(t,n){return e.formatByString(t,e.formats[n])},this.formatByString=function(t,n){return e.dayjs(t).format(n)},this.formatNumber=function(t){return t},this.getHours=function(t){return t.hour()},this.addSeconds=function(t,e){return e<0?t.subtract(Math.abs(e),"second"):t.add(e,"second")},this.addMinutes=function(t,e){return e<0?t.subtract(Math.abs(e),"minute"):t.add(e,"minute")},this.addHours=function(t,e){return e<0?t.subtract(Math.abs(e),"hour"):t.add(e,"hour")},this.addDays=function(t,e){return e<0?t.subtract(Math.abs(e),"day"):t.add(e,"day")},this.addWeeks=function(t,e){return e<0?t.subtract(Math.abs(e),"week"):t.add(e,"week")},this.addMonths=function(t,e){return e<0?t.subtract(Math.abs(e),"month"):t.add(e,"month")},this.addYears=function(t,e){return e<0?t.subtract(Math.abs(e),"year"):t.add(e,"year")},this.setMonth=function(t,e){return t.set("month",e)},this.setHours=function(t,e){return t.set("hour",e)},this.getMinutes=function(t){return t.minute()},this.setMinutes=function(t,e){return t.set("minute",e)},this.getSeconds=function(t){return t.second()},this.setSeconds=function(t,e){return t.set("second",e)},this.getMonth=function(t){return t.month()},this.getDaysInMonth=function(t){return t.daysInMonth()},this.isSameDay=function(t,e){return t.isSame(e,"day")},this.isSameMonth=function(t,e){return t.isSame(e,"month")},this.isSameYear=function(t,e){return t.isSame(e,"year")},this.isSameHour=function(t,e){return t.isSame(e,"hour")},this.getMeridiemText=function(t){return"am"===t?"AM":"PM"},this.startOfYear=function(t){return t.startOf("year")},this.endOfYear=function(t){return t.endOf("year")},this.startOfMonth=function(t){return t.startOf("month")},this.endOfMonth=function(t){return t.endOf("month")},this.startOfWeek=function(t){return t.startOf("week")},this.endOfWeek=function(t){return t.endOf("week")},this.getNextMonth=function(t){return t.add(1,"month")},this.getPreviousMonth=function(t){return t.subtract(1,"month")},this.getMonthArray=function(t){for(var n=[t.startOf("year")];n.length<12;){var r=n[n.length-1];n.push(e.getNextMonth(r))}return n},this.getYear=function(t){return t.year()},this.setYear=function(t,e){return t.set("year",e)},this.mergeDateAndTime=function(t,e){return t.hour(e.hour()).minute(e.minute()).second(e.second())},this.getWeekdays=function(){var t=e.dayjs().startOf("week");return[0,1,2,3,4,5,6].map((function(n){return e.formatByString(t.add(n,"day"),"dd")}))},this.isEqual=function(t,n){return null===t&&null===n||e.dayjs(t).isSame(n)},this.getWeekArray=function(t){for(var n=e.dayjs(t).startOf("month").startOf("week"),r=e.dayjs(t).endOf("month").endOf("week"),o=0,i=n,a=[];i.isBefore(r);){var s=Math.floor(o/7);a[s]=a[s]||[],a[s].push(i),i=i.add(1,"day"),o+=1}return a},this.getYearRange=function(t,n){for(var r=e.dayjs(t).startOf("year"),o=e.dayjs(n).endOf("year"),i=[],a=r;a.isBefore(o);)i.push(a),a=a.add(1,"year");return i},this.isWithinRange=function(t,e){var n=e[0],r=e[1];return t.isBetween(n,r,null,"[]")},this.rawDayJsInstance=i||l.a,this.dayjs=function(t,e){return e?function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return t.apply(void 0,n).locale(e)}:t}(this.rawDayJsInstance,r),this.locale=r,this.formats=Object.assign({},v,o)},m={YY:"year",YYYY:"year",M:"month",MM:"month",MMM:"month",MMMM:"month",D:"day",DD:"day",H:"hour",HH:"hour",h:"hour",hh:"hour",m:"minute",mm:"minute",s:"second",ss:"second",A:"am-pm",a:"am-pm"},b=function(t){Object(i.a)(n,t);var e=Object(a.a)(n);function n(){var t;Object(o.a)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return(t=e.call.apply(e,[this].concat(i))).formatTokenMap=m,t.expandFormat=function(e){var n,r=null==(n=t.rawDayJsInstance.Ls[t.locale||"en"])?void 0:n.formats;return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,e,n){var o=n&&n.toUpperCase();return e||r[n]||r[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))},t.getFormatHelperText=function(e){return t.expandFormat(e).replace(/a/gi,"(a|p)m").toLocaleLowerCase()},t}return Object(r.a)(n)}(g)},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"d",(function(){return l})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u}));var r=n(2),o=n(1),i=n(0),a=o.createContext(null);function s(t){var e=t.children,n=t.value,s=function(){var t=o.useState(null),e=Object(r.a)(t,2),n=e[0],i=e[1];return o.useEffect((function(){i("mui-p-".concat(Math.round(1e5*Math.random())))}),[]),n}(),l=o.useMemo((function(){return{idPrefix:s,value:n}}),[s,n]);return Object(i.jsx)(a.Provider,{value:l,children:e})}function l(){return o.useContext(a)}function c(t,e){return null===t.idPrefix?null:"".concat(t.idPrefix,"-P-").concat(e)}function u(t,e){return null===t.idPrefix?null:"".concat(t.idPrefix,"-T-").concat(e)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(444);function o(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",o={};return e.forEach((function(e){o[e]=Object(r.a)(t,e,n)})),o}},,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";t.exports=n(777)},function(t,e){function n(){return t.exports=n=Object.assign?Object.assign.bind():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},t.exports.__esModule=!0,t.exports.default=t.exports,n.apply(this,arguments)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(119))},function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},function(t,e,n){var r=n(323),o=n(322);t.exports=function(t,e,n){(void 0!==n&&!o(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},function(t,e,n){var r=n(238),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=o},function(t,e,n){var r=n(814)();t.exports=r},function(t,e,n){(function(t){var r=n(161),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(this,n(271)(t))},function(t,e,n){var r=n(460);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},function(t,e,n){var r=n(161).Uint8Array;t.exports=r},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}},function(t,e,n){var r=n(816),o=n(461),i=n(370);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},function(t,e,n){var r=n(191),o=n(461),i=n(151),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}},function(t,e,n){var r=n(822),o=n(371),i=n(59),a=n(372),s=n(466),l=n(463),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),u=!n&&o(t),d=!n&&!u&&a(t),f=!n&&!u&&!d&&l(t),p=n||u||d||f,h=p?r(t.length,String):[],v=h.length;for(var g in t)!e&&!c.call(t,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},function(t,e,n){var r=n(561),o=n(325);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var l=n[r];l&&t(e,l,r,a)}return e}))}},function(t,e,n){var r=n(272),o=n(562),i=n(563);t.exports=function(t,e){return i(o(t,e,r),t+"")}},function(t,e,n){var r=n(825),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),l=Array(s);++a<s;)l[a]=i[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=i[a];return c[e]=n(l),r(t,this,c)}}},function(t,e,n){var r=n(826),o=n(828)(r);t.exports=o},function(t,e,n){var r=n(565),o=n(566),i=n(567);t.exports=function(t,e,n,a,s,l){var c=1&n,u=t.length,d=e.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(t),p=l.get(e);if(f&&p)return f==e&&p==t;var h=-1,v=!0,g=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++h<u;){var m=t[h],b=e[h];if(a)var y=c?a(b,m,h,e,t,l):a(m,b,h,t,e,l);if(void 0!==y){if(y)continue;v=!1;break}if(g){if(!o(e,(function(t,e){if(!i(g,e)&&(m===t||s(m,t,n,a,l)))return g.push(e)}))){v=!1;break}}else if(m!==b&&!s(m,b,n,a,l)){v=!1;break}}return l.delete(t),l.delete(e),v}},function(t,e,n){var r=n(459),o=n(835),i=n(836);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=o,a.prototype.has=i,t.exports=a},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}},function(t,e){t.exports=function(t,e){return t.has(e)}},function(t,e,n){var r=n(569),o=n(470),i=n(240);t.exports=function(t){return r(t,i,o)}},function(t,e,n){var r=n(469),o=n(59);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},function(t,e){t.exports=function(){return[]}},function(t,e,n){var r=n(238)(n(161),"Set");t.exports=r},function(t,e,n){var r=n(87);t.exports=function(t){return t===t&&!r(t)}},function(t,e){t.exports=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}},function(t,e,n){var r=n(376),o=n(371),i=n(59),a=n(466),s=n(462),l=n(327);t.exports=function(t,e,n){for(var c=-1,u=(e=r(e,t)).length,d=!1;++c<u;){var f=l(e[c]);if(!(d=null!=t&&n(t,f)))break;t=t[f]}return d||++c!=u?d:!!(u=null==t?0:t.length)&&s(u)&&a(f,u)&&(i(t)||o(t))}},function(t,e){t.exports=function(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},function(t,e,n){var r=n(577),o=1/0;t.exports=function(t){return t?(t=r(t))===o||t===-1/0?17976931348623157e292*(t<0?-1:1):t===t?t:0:0===t?t:0}},function(t,e,n){var r=n(857),o=n(87),i=n(273),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=s.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):a.test(t)?NaN:+t}},function(t,e){t.exports=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}},function(t,e,n){"use strict";var r=function(){};t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default={RESISTANCE_COEF:.6,UNCERTAINTY_THRESHOLD:3}},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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var n=f(e);if(n&&n.has(t))return n.get(t);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=t[a]}o.default=t,n&&n.set(t,o);return o}(n(1)),i=d(n(472)),a=d(n(10)),s=n(274),l=n(582),c=d(n(894)),u=d(n(589));function d(t){return t&&t.__esModule?t:{default:t}}function f(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:e})(t)}function p(t){return function(t){if(Array.isArray(t))return b(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||m(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}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 v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){k(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||m(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){if(t){if("string"===typeof t)return b(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(t,e):void 0}}function b(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function x(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 w(t,e){return w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},w(t,e)}function O(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=C(t);if(e){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){if(e&&("object"===r(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return j(t)}function j(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function C(t){return C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},C(t)}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var E="react-grid-layout",P=!1;try{P=/firefox/i.test(navigator.userAgent)}catch(M){}var _=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&w(t,e)}(d,t);var e,n,r,u=O(d);function d(){var t;y(this,d);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return k(j(t=u.call.apply(u,[this].concat(n))),"state",{activeDrag:null,layout:(0,s.synchronizeLayoutWithChildren)(t.props.layout,t.props.children,t.props.cols,(0,s.compactType)(t.props),t.props.allowOverlap),mounted:!1,oldDragItem:null,oldLayout:null,oldResizeItem:null,droppingDOMNode:null,children:[]}),k(j(t),"dragEnterCounter",0),k(j(t),"onDragStart",(function(e,n,r,o){var i=o.e,a=o.node,l=t.state.layout,c=(0,s.getLayoutItem)(l,e);if(c)return t.setState({oldDragItem:(0,s.cloneLayoutItem)(c),oldLayout:l}),t.props.onDragStart(l,c,c,null,i,a)})),k(j(t),"onDrag",(function(e,n,r,o){var i=o.e,a=o.node,l=t.state.oldDragItem,c=t.state.layout,u=t.props,d=u.cols,f=u.allowOverlap,p=u.preventCollision,h=(0,s.getLayoutItem)(c,e);if(h){var v={w:h.w,h:h.h,x:h.x,y:h.y,placeholder:!0,i:e};c=(0,s.moveElement)(c,h,n,r,!0,p,(0,s.compactType)(t.props),d,f),t.props.onDrag(c,l,h,v,i,a),t.setState({layout:f?c:(0,s.compact)(c,(0,s.compactType)(t.props),d),activeDrag:v})}})),k(j(t),"onDragStop",(function(e,n,r,o){var i=o.e,a=o.node;if(t.state.activeDrag){var l=t.state.oldDragItem,c=t.state.layout,u=t.props,d=u.cols,f=u.preventCollision,p=u.allowOverlap,h=(0,s.getLayoutItem)(c,e);if(h){c=(0,s.moveElement)(c,h,n,r,!0,f,(0,s.compactType)(t.props),d,p),t.props.onDragStop(c,l,h,null,i,a);var v=p?c:(0,s.compact)(c,(0,s.compactType)(t.props),d),g=t.state.oldLayout;t.setState({activeDrag:null,layout:v,oldDragItem:null,oldLayout:null}),t.onLayoutMaybeChanged(v,g)}}})),k(j(t),"onResizeStart",(function(e,n,r,o){var i=o.e,a=o.node,l=t.state.layout,c=(0,s.getLayoutItem)(l,e);c&&(t.setState({oldResizeItem:(0,s.cloneLayoutItem)(c),oldLayout:t.state.layout}),t.props.onResizeStart(l,c,c,null,i,a))})),k(j(t),"onResize",(function(e,n,r,o){var i=o.e,a=o.node,l=t.state,c=l.layout,u=l.oldResizeItem,d=t.props,f=d.cols,p=d.preventCollision,h=d.allowOverlap,m=(0,s.withLayoutItem)(c,e,(function(t){var e;if(p&&!h){var o=(0,s.getAllCollisions)(c,v(v({},t),{},{w:n,h:r})).filter((function(e){return e.i!==t.i}));if(e=o.length>0){var i=1/0,a=1/0;o.forEach((function(e){e.x>t.x&&(i=Math.min(i,e.x)),e.y>t.y&&(a=Math.min(a,e.y))})),Number.isFinite(i)&&(t.w=i-t.x),Number.isFinite(a)&&(t.h=a-t.y)}}return e||(t.w=n,t.h=r),t})),b=g(m,2),y=b[0],x=b[1];if(x){var w={w:x.w,h:x.h,x:x.x,y:x.y,static:!0,i:e};t.props.onResize(y,u,x,w,i,a),t.setState({layout:h?y:(0,s.compact)(y,(0,s.compactType)(t.props),f),activeDrag:w})}})),k(j(t),"onResizeStop",(function(e,n,r,o){var i=o.e,a=o.node,l=t.state,c=l.layout,u=l.oldResizeItem,d=t.props,f=d.cols,p=d.allowOverlap,h=(0,s.getLayoutItem)(c,e);t.props.onResizeStop(c,u,h,null,i,a);var v=p?c:(0,s.compact)(c,(0,s.compactType)(t.props),f),g=t.state.oldLayout;t.setState({activeDrag:null,layout:v,oldResizeItem:null,oldLayout:null}),t.onLayoutMaybeChanged(v,g)})),k(j(t),"onDragOver",(function(e){var n;if(e.preventDefault(),e.stopPropagation(),P&&(null===(n=e.nativeEvent.target)||void 0===n||!n.classList.contains(E)))return!1;var r=t.props,i=r.droppingItem,a=r.onDropDragOver,s=r.margin,c=r.cols,u=r.rowHeight,d=r.maxRows,f=r.width,h=r.containerPadding,g=r.transformScale,m=null===a||void 0===a?void 0:a(e);if(!1===m)return t.state.droppingDOMNode&&t.removeDroppingPlaceholder(),!1;var b=v(v({},i),m),y=t.state.layout,x=e.nativeEvent,w=x.layerX,O=x.layerY,S={left:w/g,top:O/g,e:e};if(t.state.droppingDOMNode){if(t.state.droppingPosition){var j=t.state.droppingPosition,C=j.left,k=j.top;(C!=w||k!=O)&&t.setState({droppingPosition:S})}}else{var _={cols:c,margin:s,maxRows:d,rowHeight:u,containerWidth:f,containerPadding:h||s},M=(0,l.calcXY)(_,O,w,b.w,b.h);t.setState({droppingDOMNode:o.createElement("div",{key:b.i}),droppingPosition:S,layout:[].concat(p(y),[v(v({},b),{},{x:M.x,y:M.y,static:!1,isDraggable:!0})])})}})),k(j(t),"removeDroppingPlaceholder",(function(){var e=t.props,n=e.droppingItem,r=e.cols,o=t.state.layout,i=(0,s.compact)(o.filter((function(t){return t.i!==n.i})),(0,s.compactType)(t.props),r);t.setState({layout:i,droppingDOMNode:null,activeDrag:null,droppingPosition:void 0})})),k(j(t),"onDragLeave",(function(e){e.preventDefault(),e.stopPropagation(),t.dragEnterCounter--,0===t.dragEnterCounter&&t.removeDroppingPlaceholder()})),k(j(t),"onDragEnter",(function(e){e.preventDefault(),e.stopPropagation(),t.dragEnterCounter++})),k(j(t),"onDrop",(function(e){e.preventDefault(),e.stopPropagation();var n=t.props.droppingItem,r=t.state.layout,o=r.find((function(t){return t.i===n.i}));t.dragEnterCounter=0,t.removeDroppingPlaceholder(),t.props.onDrop(r,o,e)})),t}return e=d,r=[{key:"getDerivedStateFromProps",value:function(t,e){var n;return e.activeDrag?null:((0,i.default)(t.layout,e.propsLayout)&&t.compactType===e.compactType?(0,s.childrenEqual)(t.children,e.children)||(n=e.layout):n=t.layout,n?{layout:(0,s.synchronizeLayoutWithChildren)(n,t.children,t.cols,(0,s.compactType)(t),t.allowOverlap),compactType:t.compactType,children:t.children,propsLayout:t.layout}:null)}}],(n=[{key:"componentDidMount",value:function(){this.setState({mounted:!0}),this.onLayoutMaybeChanged(this.state.layout,this.props.layout)}},{key:"shouldComponentUpdate",value:function(t,e){return this.props.children!==t.children||!(0,s.fastRGLPropsEqual)(this.props,t,i.default)||this.state.activeDrag!==e.activeDrag||this.state.mounted!==e.mounted||this.state.droppingPosition!==e.droppingPosition}},{key:"componentDidUpdate",value:function(t,e){if(!this.state.activeDrag){var n=this.state.layout,r=e.layout;this.onLayoutMaybeChanged(n,r)}}},{key:"containerHeight",value:function(){if(this.props.autoSize){var t=(0,s.bottom)(this.state.layout),e=this.props.containerPadding?this.props.containerPadding[1]:this.props.margin[1];return t*this.props.rowHeight+(t-1)*this.props.margin[1]+2*e+"px"}}},{key:"onLayoutMaybeChanged",value:function(t,e){e||(e=this.state.layout),(0,i.default)(e,t)||this.props.onLayoutChange(t)}},{key:"placeholder",value:function(){var t=this.state.activeDrag;if(!t)return null;var e=this.props,n=e.width,r=e.cols,i=e.margin,a=e.containerPadding,s=e.rowHeight,l=e.maxRows,u=e.useCSSTransforms,d=e.transformScale;return o.createElement(c.default,{w:t.w,h:t.h,x:t.x,y:t.y,i:t.i,className:"react-grid-placeholder",containerWidth:n,cols:r,margin:i,containerPadding:a||i,maxRows:l,rowHeight:s,isDraggable:!1,isResizable:!1,isBounded:!1,useCSSTransforms:u,transformScale:d},o.createElement("div",null))}},{key:"processGridItem",value:function(t,e){if(t&&t.key){var n=(0,s.getLayoutItem)(this.state.layout,String(t.key));if(!n)return null;var r=this.props,i=r.width,a=r.cols,l=r.margin,u=r.containerPadding,d=r.rowHeight,f=r.maxRows,p=r.isDraggable,h=r.isResizable,v=r.isBounded,g=r.useCSSTransforms,m=r.transformScale,b=r.draggableCancel,y=r.draggableHandle,x=r.resizeHandles,w=r.resizeHandle,O=this.state,S=O.mounted,j=O.droppingPosition,C="boolean"===typeof n.isDraggable?n.isDraggable:!n.static&&p,k="boolean"===typeof n.isResizable?n.isResizable:!n.static&&h,E=n.resizeHandles||x,P=C&&v&&!1!==n.isBounded;return o.createElement(c.default,{containerWidth:i,cols:a,margin:l,containerPadding:u||l,maxRows:f,rowHeight:d,cancel:b,handle:y,onDragStop:this.onDragStop,onDragStart:this.onDragStart,onDrag:this.onDrag,onResizeStart:this.onResizeStart,onResize:this.onResize,onResizeStop:this.onResizeStop,isDraggable:C,isResizable:k,isBounded:P,useCSSTransforms:g&&S,usePercentages:!S,transformScale:m,w:n.w,h:n.h,x:n.x,y:n.y,i:n.i,minH:n.minH,minW:n.minW,maxH:n.maxH,maxW:n.maxW,static:n.static,droppingPosition:e?j:void 0,resizeHandles:E,resizeHandle:w},t)}}},{key:"render",value:function(){var t=this,e=this.props,n=e.className,r=e.style,i=e.isDroppable,l=e.innerRef,c=(0,a.default)(E,n),u=v({height:this.containerHeight()},r);return o.createElement("div",{ref:l,className:c,style:u,onDrop:i?this.onDrop:s.noop,onDragLeave:i?this.onDragLeave:s.noop,onDragEnter:i?this.onDragEnter:s.noop,onDragOver:i?this.onDragOver:s.noop},o.Children.map(this.props.children,(function(e){return t.processGridItem(e)})),i&&this.state.droppingDOMNode&&this.processGridItem(this.state.droppingDOMNode,!0),this.placeholder())}}])&&x(e.prototype,n),r&&x(e,r),Object.defineProperty(e,"prototype",{writable:!1}),d}(o.Component);e.default=_,k(_,"displayName","ReactGridLayout"),k(_,"propTypes",u.default),k(_,"defaultProps",{autoSize:!0,cols:12,className:"",style:{},draggableHandle:"",draggableCancel:"",containerPadding:null,rowHeight:150,maxRows:1/0,layout:[],margin:[10,10],isBounded:!1,isDraggable:!0,isResizable:!0,allowOverlap:!1,isDroppable:!1,useCSSTransforms:!0,transformScale:1,verticalCompact:!0,compactType:"vertical",preventCollision:!1,droppingItem:{i:"__dropping-elem__",h:1,w:1},resizeHandles:["se"],onLayoutChange:s.noop,onDragStart:s.noop,onDrag:s.noop,onDragStop:s.noop,onResizeStart:s.noop,onResize:s.noop,onResizeStop:s.noop,onDrop:s.noop,onDropDragOver:s.noop})},function(t,e,n){"use strict";function r(t){var e=t.margin,n=t.containerPadding,r=t.containerWidth,o=t.cols;return(r-e[0]*(o-1)-2*n[0])/o}function o(t,e,n){return Number.isFinite(t)?Math.round(e*t+Math.max(0,t-1)*n):t}function i(t,e,n){return Math.max(Math.min(t,n),e)}Object.defineProperty(e,"__esModule",{value:!0}),e.calcGridColWidth=r,e.calcGridItemPosition=function(t,e,n,i,a,s){var l=t.margin,c=t.containerPadding,u=t.rowHeight,d=r(t),f={};s&&s.resizing?(f.width=Math.round(s.resizing.width),f.height=Math.round(s.resizing.height)):(f.width=o(i,d,l[0]),f.height=o(a,u,l[1]));s&&s.dragging?(f.top=Math.round(s.dragging.top),f.left=Math.round(s.dragging.left)):(f.top=Math.round((u+l[1])*n+c[1]),f.left=Math.round((d+l[0])*e+c[0]));return f},e.calcGridItemWHPx=o,e.calcWH=function(t,e,n,o,a){var s=t.margin,l=t.maxRows,c=t.cols,u=t.rowHeight,d=r(t),f=Math.round((e+s[0])/(d+s[0])),p=Math.round((n+s[1])/(u+s[1]));return f=i(f,0,c-o),p=i(p,0,l-a),{w:f,h:p}},e.calcXY=function(t,e,n,o,a){var s=t.margin,l=t.cols,c=t.rowHeight,u=t.maxRows,d=r(t),f=Math.round((n-s[0])/(d+s[0])),p=Math.round((e-s[1])/(c+s[1]));return f=i(f,0,l-o),p=i(p,0,u-a),{x:f,y:p}},e.clamp=i},function(t,e,n){t.exports=n(898)()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.canDragX=function(t){return"both"===t.props.axis||"x"===t.props.axis},e.canDragY=function(t){return"both"===t.props.axis||"y"===t.props.axis},e.createCoreData=function(t,e,n){var o=t.state,a=!(0,r.isNum)(o.lastX),s=i(t);return a?{node:s,deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}:{node:s,deltaX:e-o.lastX,deltaY:n-o.lastY,lastX:o.lastX,lastY:o.lastY,x:e,y:n}},e.createDraggableData=function(t,e){var n=t.props.scale;return{node:e.node,x:t.state.x+e.deltaX/n,y:t.state.y+e.deltaY/n,deltaX:e.deltaX/n,deltaY:e.deltaY/n,lastX:t.state.x,lastY:t.state.y}},e.getBoundPosition=function(t,e,n){if(!t.props.bounds)return[e,n];var a=t.props.bounds;a="string"===typeof a?a:function(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}(a);var s=i(t);if("string"===typeof a){var l,c=s.ownerDocument,u=c.defaultView;if(!((l="parent"===a?s.parentNode:c.querySelector(a))instanceof u.HTMLElement))throw new Error('Bounds selector "'+a+'" could not find an element.');var d=l,f=u.getComputedStyle(s),p=u.getComputedStyle(d);a={left:-s.offsetLeft+(0,r.int)(p.paddingLeft)+(0,r.int)(f.marginLeft),top:-s.offsetTop+(0,r.int)(p.paddingTop)+(0,r.int)(f.marginTop),right:(0,o.innerWidth)(d)-(0,o.outerWidth)(s)-s.offsetLeft+(0,r.int)(p.paddingRight)-(0,r.int)(f.marginRight),bottom:(0,o.innerHeight)(d)-(0,o.outerHeight)(s)-s.offsetTop+(0,r.int)(p.paddingBottom)-(0,r.int)(f.marginBottom)}}(0,r.isNum)(a.right)&&(e=Math.min(e,a.right));(0,r.isNum)(a.bottom)&&(n=Math.min(n,a.bottom));(0,r.isNum)(a.left)&&(e=Math.max(e,a.left));(0,r.isNum)(a.top)&&(n=Math.max(n,a.top));return[e,n]},e.getControlPosition=function(t,e,n){var r="number"===typeof e?(0,o.getTouch)(t,e):null;if("number"===typeof e&&!r)return null;var a=i(n),s=n.props.offsetParent||a.offsetParent||a.ownerDocument.body;return(0,o.offsetXYFromParent)(r||t,s,n.props.scale)},e.snapToGrid=function(t,e,n){var r=Math.round(e/t[0])*t[0],o=Math.round(n/t[1])*t[1];return[r,o]};var r=n(383),o=n(474);function i(t){var e=t.findDOMNode();if(!e)throw new Error("<DraggableCore>: Unmounted during event!");return e}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){void 0}},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=l(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var a=o?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=t[i]}r.default=t,n&&n.set(t,r);return r}(n(1)),o=n(473),i=n(903),a=n(587),s=["children","className","draggableOpts","width","height","handle","handleSize","lockAspectRatio","axis","minConstraints","maxConstraints","onResize","onResizeStop","onResizeStart","resizeHandles","transformScale"];function l(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(l=function(t){return t?n:e})(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},c.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 d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){f(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}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}function p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}var h=function(t){var e,n;function a(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handleRefs={},e.lastHandleRect=null,e.slack=null,e}n=t,(e=a).prototype=Object.create(n.prototype),e.prototype.constructor=e,p(e,n);var l=a.prototype;return l.componentWillUnmount=function(){this.resetData()},l.resetData=function(){this.lastHandleRect=this.slack=null},l.runConstraints=function(t,e){var n=this.props,r=n.minConstraints,o=n.maxConstraints,i=n.lockAspectRatio;if(!r&&!o&&!i)return[t,e];if(i){var a=this.props.width/this.props.height,s=t-this.props.width,l=e-this.props.height;Math.abs(s)>Math.abs(l*a)?e=t/a:t=e*a}var c=t,u=e,d=this.slack||[0,0],f=d[0],p=d[1];return t+=f,e+=p,r&&(t=Math.max(r[0],t),e=Math.max(r[1],e)),o&&(t=Math.min(o[0],t),e=Math.min(o[1],e)),this.slack=[f+(c-t),p+(u-e)],[t,e]},l.resizeHandler=function(t,e){var n=this;return function(r,o){var i=o.node,a=o.deltaX,s=o.deltaY;"onResizeStart"===t&&n.resetData();var l=("both"===n.props.axis||"x"===n.props.axis)&&"n"!==e&&"s"!==e,c=("both"===n.props.axis||"y"===n.props.axis)&&"e"!==e&&"w"!==e;if(l||c){var u=e[0],d=e[e.length-1],f=i.getBoundingClientRect();if(null!=n.lastHandleRect){if("w"===d)a+=f.left-n.lastHandleRect.left;if("n"===u)s+=f.top-n.lastHandleRect.top}n.lastHandleRect=f,"w"===d&&(a=-a),"n"===u&&(s=-s);var p=n.props.width+(l?a/n.props.transformScale:0),h=n.props.height+(c?s/n.props.transformScale:0),v=n.runConstraints(p,h);p=v[0],h=v[1];var g=p!==n.props.width||h!==n.props.height,m="function"===typeof n.props[t]?n.props[t]:null;m&&!("onResize"===t&&!g)&&(null==r.persist||r.persist(),m(r,{node:i,size:{width:p,height:h},handle:e})),"onResizeStop"===t&&n.resetData()}}},l.renderResizeHandle=function(t,e){var n=this.props.handle;if(!n)return r.createElement("span",{className:"react-resizable-handle react-resizable-handle-"+t,ref:e});if("function"===typeof n)return n(t,e);var o=d({ref:e},"string"===typeof n.type?{}:{handleAxis:t});return r.cloneElement(n,o)},l.render=function(){var t=this,e=this.props,n=e.children,a=e.className,l=e.draggableOpts,u=(e.width,e.height,e.handle,e.handleSize,e.lockAspectRatio,e.axis,e.minConstraints,e.maxConstraints,e.onResize,e.onResizeStop,e.onResizeStart,e.resizeHandles),f=(e.transformScale,function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(e,s));return(0,i.cloneElement)(n,d(d({},f),{},{className:(a?a+" ":"")+"react-resizable",children:[].concat(n.props.children,u.map((function(e){var n,i=null!=(n=t.handleRefs[e])?n:t.handleRefs[e]=r.createRef();return r.createElement(o.DraggableCore,c({},l,{nodeRef:i,key:"resizableHandle-"+e,onStop:t.resizeHandler("onResizeStop",e),onStart:t.resizeHandler("onResizeStart",e),onDrag:t.resizeHandler("onResize",e)}),t.renderResizeHandle(e,i))})))}))},a}(r.Component);e.default=h,h.propTypes=a.resizableProps,h.defaultProps={axis:"both",handleSize:[20,20],lockAspectRatio:!1,minConstraints:[20,20],maxConstraints:[1/0,1/0],resizeHandles:["se"],transformScale:1}},function(t,e,n){"use strict";e.__esModule=!0,e.resizableProps=void 0;var r,o=(r=n(588))&&r.__esModule?r:{default:r};n(473);var i={axis:o.default.oneOf(["both","x","y","none"]),className:o.default.string,children:o.default.element.isRequired,draggableOpts:o.default.shape({allowAnyClick:o.default.bool,cancel:o.default.string,children:o.default.node,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:o.default.node,grid:o.default.arrayOf(o.default.number),handle:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number}),height:o.default.number.isRequired,handle:o.default.oneOfType([o.default.node,o.default.func]),handleSize:o.default.arrayOf(o.default.number),lockAspectRatio:o.default.bool,maxConstraints:o.default.arrayOf(o.default.number),minConstraints:o.default.arrayOf(o.default.number),onResizeStop:o.default.func,onResizeStart:o.default.func,onResize:o.default.func,resizeHandles:o.default.arrayOf(o.default.oneOf(["s","w","e","n","sw","nw","se","ne"])),transformScale:o.default.number,width:o.default.number.isRequired};e.resizableProps=i},function(t,e,n){t.exports=n(904)()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resizeHandleType=e.resizeHandleAxesType=e.default=void 0;var r=i(n(382)),o=i(n(1));function i(t){return t&&t.__esModule?t:{default:t}}var a=r.default.arrayOf(r.default.oneOf(["s","w","e","n","sw","nw","se","ne"]));e.resizeHandleAxesType=a;var s=r.default.oneOfType([r.default.node,r.default.func]);e.resizeHandleType=s;var l={className:r.default.string,style:r.default.object,width:r.default.number,autoSize:r.default.bool,cols:r.default.number,draggableCancel:r.default.string,draggableHandle:r.default.string,verticalCompact:function(t){t.verticalCompact,0},compactType:r.default.oneOf(["vertical","horizontal"]),layout:function(t){var e=t.layout;void 0!==e&&n(274).validateLayout(e,"layout")},margin:r.default.arrayOf(r.default.number),containerPadding:r.default.arrayOf(r.default.number),rowHeight:r.default.number,maxRows:r.default.number,isBounded:r.default.bool,isDraggable:r.default.bool,isResizable:r.default.bool,allowOverlap:r.default.bool,preventCollision:r.default.bool,useCSSTransforms:r.default.bool,transformScale:r.default.number,isDroppable:r.default.bool,resizeHandles:a,resizeHandle:s,onLayoutChange:r.default.func,onDragStart:r.default.func,onDrag:r.default.func,onDragStop:r.default.func,onResizeStart:r.default.func,onResize:r.default.func,onResizeStop:r.default.func,onDrop:r.default.func,droppingItem:r.default.shape({i:r.default.string.isRequired,w:r.default.number.isRequired,h:r.default.number.isRequired}),children:function(t,e){var n=t[e],r={};o.default.Children.forEach(n,(function(t){if(null!=(null===t||void 0===t?void 0:t.key)){if(r[t.key])throw new Error('Duplicate child key "'+t.key+'" found! This will cause problems in ReactGridLayout.');r[t.key]=!0}}))},innerRef:r.default.any};e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findOrGenerateResponsiveLayout=function(t,e,n,i,a,s){if(t[n])return(0,r.cloneLayout)(t[n]);for(var l=t[i],c=o(e),u=c.slice(c.indexOf(n)),d=0,f=u.length;d<f;d++){var p=u[d];if(t[p]){l=t[p];break}}return l=(0,r.cloneLayout)(l||[]),(0,r.compact)((0,r.correctBounds)(l,{cols:a}),s,a)},e.getBreakpointFromWidth=function(t,e){for(var n=o(t),r=n[0],i=1,a=n.length;i<a;i++){var s=n[i];e>t[s]&&(r=s)}return r},e.getColsFromBreakpoint=function(t,e){if(!e[t])throw new Error("ResponsiveReactGridLayout: `cols` entry for breakpoint "+t+" is missing!");return e[t]},e.sortBreakpoints=o;var r=n(274);function o(t){return Object.keys(t).sort((function(e,n){return t[e]-t[n]}))}},function(t,e,n){var r=n(592).default;function o(){"use strict";t.exports=o=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(_){u=function(t,e,n){return t[e]=n}}function d(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(t,e,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(t,n,a),i}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(_){return{type:"throw",arg:_}}}e.wrap=d;var p={};function h(){}function v(){}function g(){}var m={};u(m,s,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(E([])));y&&y!==n&&i.call(y,s)&&(m=y);var x=g.prototype=h.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function n(o,a,s,l){var c=f(t[o],t,a);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==r(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,l)}),(function(t){n("throw",t,s,l)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return n("throw",t,s,l)}))}l(c.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=f(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,p;var o=r.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function j(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function E(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,r=function e(){for(;++n<t.length;)if(i.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return r.next=r}}return{next:P}}function P(){return{value:void 0,done:!0}}return v.prototype=g,u(x,"constructor",g),u(g,"constructor",v),v.displayName=u(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},w(O.prototype),u(O.prototype,l,(function(){return this})),e.AsyncIterator=O,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new O(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(x),u(x,c,"Generator"),u(x,s,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.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}},e.values=E,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},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 n(n,r){return a.type="throw",a.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(s&&l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.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,p):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),p},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),C(n),p}},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 o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:E(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(e){return t.exports=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.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){!function(){var e=n(912),r=n(594).utf8,o=n(913),i=n(594).bin,a=function t(n,a){n.constructor==String?n=a&&"binary"===a.encoding?i.stringToBytes(n):r.stringToBytes(n):o(n)?n=Array.prototype.slice.call(n,0):Array.isArray(n)||n.constructor===Uint8Array||(n=n.toString());for(var s=e.bytesToWords(n),l=8*n.length,c=1732584193,u=-271733879,d=-1732584194,f=271733878,p=0;p<s.length;p++)s[p]=16711935&(s[p]<<8|s[p]>>>24)|4278255360&(s[p]<<24|s[p]>>>8);s[l>>>5]|=128<<l%32,s[14+(l+64>>>9<<4)]=l;var h=t._ff,v=t._gg,g=t._hh,m=t._ii;for(p=0;p<s.length;p+=16){var b=c,y=u,x=d,w=f;c=h(c,u,d,f,s[p+0],7,-680876936),f=h(f,c,u,d,s[p+1],12,-389564586),d=h(d,f,c,u,s[p+2],17,606105819),u=h(u,d,f,c,s[p+3],22,-1044525330),c=h(c,u,d,f,s[p+4],7,-176418897),f=h(f,c,u,d,s[p+5],12,1200080426),d=h(d,f,c,u,s[p+6],17,-1473231341),u=h(u,d,f,c,s[p+7],22,-45705983),c=h(c,u,d,f,s[p+8],7,1770035416),f=h(f,c,u,d,s[p+9],12,-1958414417),d=h(d,f,c,u,s[p+10],17,-42063),u=h(u,d,f,c,s[p+11],22,-1990404162),c=h(c,u,d,f,s[p+12],7,1804603682),f=h(f,c,u,d,s[p+13],12,-40341101),d=h(d,f,c,u,s[p+14],17,-1502002290),c=v(c,u=h(u,d,f,c,s[p+15],22,1236535329),d,f,s[p+1],5,-165796510),f=v(f,c,u,d,s[p+6],9,-1069501632),d=v(d,f,c,u,s[p+11],14,643717713),u=v(u,d,f,c,s[p+0],20,-373897302),c=v(c,u,d,f,s[p+5],5,-701558691),f=v(f,c,u,d,s[p+10],9,38016083),d=v(d,f,c,u,s[p+15],14,-660478335),u=v(u,d,f,c,s[p+4],20,-405537848),c=v(c,u,d,f,s[p+9],5,568446438),f=v(f,c,u,d,s[p+14],9,-1019803690),d=v(d,f,c,u,s[p+3],14,-187363961),u=v(u,d,f,c,s[p+8],20,1163531501),c=v(c,u,d,f,s[p+13],5,-1444681467),f=v(f,c,u,d,s[p+2],9,-51403784),d=v(d,f,c,u,s[p+7],14,1735328473),c=g(c,u=v(u,d,f,c,s[p+12],20,-1926607734),d,f,s[p+5],4,-378558),f=g(f,c,u,d,s[p+8],11,-2022574463),d=g(d,f,c,u,s[p+11],16,1839030562),u=g(u,d,f,c,s[p+14],23,-35309556),c=g(c,u,d,f,s[p+1],4,-1530992060),f=g(f,c,u,d,s[p+4],11,1272893353),d=g(d,f,c,u,s[p+7],16,-155497632),u=g(u,d,f,c,s[p+10],23,-1094730640),c=g(c,u,d,f,s[p+13],4,681279174),f=g(f,c,u,d,s[p+0],11,-358537222),d=g(d,f,c,u,s[p+3],16,-722521979),u=g(u,d,f,c,s[p+6],23,76029189),c=g(c,u,d,f,s[p+9],4,-640364487),f=g(f,c,u,d,s[p+12],11,-421815835),d=g(d,f,c,u,s[p+15],16,530742520),c=m(c,u=g(u,d,f,c,s[p+2],23,-995338651),d,f,s[p+0],6,-198630844),f=m(f,c,u,d,s[p+7],10,1126891415),d=m(d,f,c,u,s[p+14],15,-1416354905),u=m(u,d,f,c,s[p+5],21,-57434055),c=m(c,u,d,f,s[p+12],6,1700485571),f=m(f,c,u,d,s[p+3],10,-1894986606),d=m(d,f,c,u,s[p+10],15,-1051523),u=m(u,d,f,c,s[p+1],21,-2054922799),c=m(c,u,d,f,s[p+8],6,1873313359),f=m(f,c,u,d,s[p+15],10,-30611744),d=m(d,f,c,u,s[p+6],15,-1560198380),u=m(u,d,f,c,s[p+13],21,1309151649),c=m(c,u,d,f,s[p+4],6,-145523070),f=m(f,c,u,d,s[p+11],10,-1120210379),d=m(d,f,c,u,s[p+2],15,718787259),u=m(u,d,f,c,s[p+9],21,-343485551),c=c+b>>>0,u=u+y>>>0,d=d+x>>>0,f=f+w>>>0}return e.endian([c,u,d,f])};a._ff=function(t,e,n,r,o,i,a){var s=t+(e&n|~e&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},a._gg=function(t,e,n,r,o,i,a){var s=t+(e&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},a._hh=function(t,e,n,r,o,i,a){var s=t+(e^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},a._ii=function(t,e,n,r,o,i,a){var s=t+(n^(e|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,n){if(void 0===t||null===t)throw new Error("Illegal argument "+t);var r=e.wordsToBytes(a(t,n));return n&&n.asBytes?r:n&&n.asString?i.bytesToString(r):e.bytesToHex(r)}}()},function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},function(t,e,n){(function(t){var r=n(920),o=n(598),i=n(931),a=n(932),s=n(477),l=e;l.request=function(e,n){e="string"===typeof e?s.parse(e):i(e);var o=-1===t.location.protocol.search(/^https?:$/)?"http:":"",a=e.protocol||o,l=e.hostname||e.host,c=e.port,u=e.path||"/";l&&-1!==l.indexOf(":")&&(l="["+l+"]"),e.url=(l?a+"//"+l:"")+(c?":"+c:"")+u,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var d=new r(e);return n&&d.on("response",n),d},l.get=function(t,e){var n=l.request(t,e);return n.end(),n},l.ClientRequest=r,l.IncomingMessage=o.IncomingMessage,l.Agent=function(){},l.Agent.defaultMaxSockets=4,l.globalAgent=new l.Agent,l.STATUS_CODES=a,l.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]}).call(this,n(119))},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e,n){(function(t){e.fetch=s(t.fetch)&&s(t.ReadableStream),e.writableStream=s(t.WritableStream),e.abortController=s(t.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(l){}var n;function r(){if(void 0!==n)return n;if(t.XMLHttpRequest){n=new t.XMLHttpRequest;try{n.open("GET",t.XDomainRequest?"/":"https://example.com")}catch(l){n=null}}else n=null;return n}function o(t){var e=r();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(l){}return!1}var i="undefined"!==typeof t.ArrayBuffer,a=i&&s(t.ArrayBuffer.prototype.slice);function s(t){return"function"===typeof t}e.arraybuffer=e.fetch||i&&o("arraybuffer"),e.msstream=!e.fetch&&a&&o("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&i&&o("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!r()&&s(r().overrideMimeType),e.vbArray=s(t.VBArray),n=null}).call(this,n(119))},function(t,e,n){(function(t,r,o){var i=n(597),a=n(152),s=n(328),l=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},c=e.IncomingMessage=function(e,n,a,l){var c=this;if(s.Readable.call(c),c._mode=a,c.headers={},c.rawHeaders=[],c.trailers={},c.rawTrailers=[],c.on("end",(function(){t.nextTick((function(){c.emit("close")}))})),"fetch"===a){if(c._fetchResponse=n,c.url=n.url,c.statusCode=n.status,c.statusMessage=n.statusText,n.headers.forEach((function(t,e){c.headers[e.toLowerCase()]=t,c.rawHeaders.push(e,t)})),i.writableStream){var u=new WritableStream({write:function(t){return new Promise((function(e,n){c._destroyed?n():c.push(new o(t))?e():c._resumeFetch=e}))},close:function(){r.clearTimeout(l),c._destroyed||c.push(null)},abort:function(t){c._destroyed||c.emit("error",t)}});try{return void n.body.pipeTo(u).catch((function(t){r.clearTimeout(l),c._destroyed||c.emit("error",t)}))}catch(h){}}var d=n.body.getReader();!function t(){d.read().then((function(e){if(!c._destroyed){if(e.done)return r.clearTimeout(l),void c.push(null);c.push(new o(e.value)),t()}})).catch((function(t){r.clearTimeout(l),c._destroyed||c.emit("error",t)}))}()}else{if(c._xhr=e,c._pos=0,c.url=e.responseURL,c.statusCode=e.status,c.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(t){var e=t.match(/^([^:]+):\s*(.*)/);if(e){var n=e[1].toLowerCase();"set-cookie"===n?(void 0===c.headers[n]&&(c.headers[n]=[]),c.headers[n].push(e[2])):void 0!==c.headers[n]?c.headers[n]+=", "+e[2]:c.headers[n]=e[2],c.rawHeaders.push(e[1],e[2])}})),c._charset="x-user-defined",!i.overrideMimeType){var f=c.rawHeaders["mime-type"];if(f){var p=f.match(/;\s*charset=([^;])(;|$)/);p&&(c._charset=p[1].toLowerCase())}c._charset||(c._charset="utf-8")}}};a(c,s.Readable),c.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},c.prototype._onXHRProgress=function(){var t=this,e=t._xhr,n=null;switch(t._mode){case"text:vbarray":if(e.readyState!==l.DONE)break;try{n=new r.VBArray(e.responseBody).toArray()}catch(u){}if(null!==n){t.push(new o(n));break}case"text":try{n=e.responseText}catch(u){t._mode="text:vbarray";break}if(n.length>t._pos){var i=n.substr(t._pos);if("x-user-defined"===t._charset){for(var a=new o(i.length),s=0;s<i.length;s++)a[s]=255&i.charCodeAt(s);t.push(a)}else t.push(i,t._charset);t._pos=n.length}break;case"arraybuffer":if(e.readyState!==l.DONE||!e.response)break;n=e.response,t.push(new o(new Uint8Array(n)));break;case"moz-chunked-arraybuffer":if(n=e.response,e.readyState!==l.LOADING||!n)break;t.push(new o(new Uint8Array(n)));break;case"ms-stream":if(n=e.response,e.readyState!==l.LOADING)break;var c=new r.MSStreamReader;c.onprogress=function(){c.result.byteLength>t._pos&&(t.push(new o(new Uint8Array(c.result.slice(t._pos)))),t._pos=c.result.byteLength)},c.onload=function(){t.push(null)},c.readAsArrayBuffer(n)}t._xhr.readyState===l.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,n(171),n(119),n(193).Buffer)},function(t,e,n){"use strict";(function(e,r){var o=n(384);t.exports=y;var i,a=n(596);y.ReadableState=b;n(329).EventEmitter;var s=function(t,e){return t.listeners(e).length},l=n(600),c=n(475).Buffer,u=e.Uint8Array||function(){};var d=Object.create(n(330));d.inherits=n(152);var f=n(923),p=void 0;p=f&&f.debuglog?f.debuglog("stream"):function(){};var h,v=n(924),g=n(601);d.inherits(y,l);var m=["error","close","destroy","pause","resume"];function b(t,e){t=t||{};var r=e instanceof(i=i||n(241));this.objectMode=!!t.objectMode,r&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var o=t.highWaterMark,a=t.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new v,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(h||(h=n(386).StringDecoder),this.decoder=new h(t.encoding),this.encoding=t.encoding)}function y(t){if(i=i||n(241),!(this instanceof y))return new y(t);this._readableState=new b(t,this),this.readable=!0,t&&("function"===typeof t.read&&(this._read=t.read),"function"===typeof t.destroy&&(this._destroy=t.destroy)),l.call(this)}function x(t,e,n,r,o){var i,a=t._readableState;null===e?(a.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var n=e.decoder.end();n&&n.length&&(e.buffer.push(n),e.length+=e.objectMode?1:n.length)}e.ended=!0,j(t)}(t,a)):(o||(i=function(t,e){var n;r=e,c.isBuffer(r)||r instanceof u||"string"===typeof e||void 0===e||t.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,e)),i?t.emit("error",i):a.objectMode||e&&e.length>0?("string"===typeof e||a.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),r?a.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):w(t,a,e,!0):a.ended?t.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(e=a.decoder.write(e),a.objectMode||0!==e.length?w(t,a,e,!1):k(t,a)):w(t,a,e,!1))):r||(a.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(a)}function w(t,e,n,r){e.flowing&&0===e.length&&!e.sync?(t.emit("data",n),t.read(0)):(e.length+=e.objectMode?1:n.length,r?e.buffer.unshift(n):e.buffer.push(n),e.needReadable&&j(t)),k(t,e)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(t,e){this.push(null),e(t)},y.prototype.push=function(t,e){var n,r=this._readableState;return r.objectMode?n=!0:"string"===typeof t&&((e=e||r.defaultEncoding)!==r.encoding&&(t=c.from(t,e),e=""),n=!0),x(this,t,e,!1,n)},y.prototype.unshift=function(t){return x(this,t,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(t){return h||(h=n(386).StringDecoder),this._readableState.decoder=new h(t),this._readableState.encoding=t,this};var O=8388608;function S(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!==t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=O?t=O:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function j(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(p("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?o.nextTick(C,t):C(t))}function C(t){p("emit readable"),t.emit("readable"),M(t)}function k(t,e){e.readingMore||(e.readingMore=!0,o.nextTick(E,t,e))}function E(t,e){for(var n=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(p("maybeReadMore read 0"),t.read(0),n!==e.length);)n=e.length;e.readingMore=!1}function P(t){p("readable nexttick read 0"),t.read(0)}function _(t,e){e.reading||(p("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),M(t),e.flowing&&!e.reading&&t.read(0)}function M(t){var e=t._readableState;for(p("flow",e.flowing);e.flowing&&null!==t.read(););}function T(t,e){return 0===e.length?null:(e.objectMode?n=e.buffer.shift():!t||t>=e.length?(n=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):n=function(t,e,n){var r;t<e.head.data.length?(r=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):r=t===e.head.data.length?e.shift():n?function(t,e){var n=e.head,r=1,o=n.data;t-=o.length;for(;n=n.next;){var i=n.data,a=t>i.length?i.length:t;if(a===i.length?o+=i:o+=i.slice(0,t),0===(t-=a)){a===i.length?(++r,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=i.slice(a));break}++r}return e.length-=r,o}(t,e):function(t,e){var n=c.allocUnsafe(t),r=e.head,o=1;r.data.copy(n),t-=r.data.length;for(;r=r.next;){var i=r.data,a=t>i.length?i.length:t;if(i.copy(n,n.length-t,0,a),0===(t-=a)){a===i.length?(++o,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=i.slice(a));break}++o}return e.length-=o,n}(t,e);return r}(t,e.buffer,e.decoder),n);var n}function A(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,o.nextTick(R,e,t))}function R(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function D(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}y.prototype.read=function(t){p("read",t),t=parseInt(t,10);var e=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return p("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?A(this):j(this),null;if(0===(t=S(t,e))&&e.ended)return 0===e.length&&A(this),null;var r,o=e.needReadable;return p("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&p("length less than watermark",o=!0),e.ended||e.reading?p("reading or ended",o=!1):o&&(p("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=S(n,e))),null===(r=t>0?T(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&A(this)),null!==r&&this.emit("data",r),r},y.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(t,e){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,e);var l=(!e||!1!==e.end)&&t!==r.stdout&&t!==r.stderr?u:y;function c(e,r){p("onunpipe"),e===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),t.removeListener("close",m),t.removeListener("finish",b),t.removeListener("drain",d),t.removeListener("error",g),t.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",y),n.removeListener("data",v),f=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||d())}function u(){p("onend"),t.end()}i.endEmitted?o.nextTick(l):n.once("end",l),t.on("unpipe",c);var d=function(t){return function(){var e=t._readableState;p("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&s(t,"data")&&(e.flowing=!0,M(t))}}(n);t.on("drain",d);var f=!1;var h=!1;function v(e){p("ondata"),h=!1,!1!==t.write(e)||h||((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==D(i.pipes,t))&&!f&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function g(e){p("onerror",e),y(),t.removeListener("error",g),0===s(t,"error")&&t.emit("error",e)}function m(){t.removeListener("finish",b),y()}function b(){p("onfinish"),t.removeListener("close",m),y()}function y(){p("unpipe"),n.unpipe(t)}return n.on("data",v),function(t,e,n){if("function"===typeof t.prependListener)return t.prependListener(e,n);t._events&&t._events[e]?a(t._events[e])?t._events[e].unshift(n):t._events[e]=[n,t._events[e]]:t.on(e,n)}(t,"error",g),t.once("close",m),t.once("finish",b),t.emit("pipe",n),i.flowing||(p("pipe resume"),n.resume()),t},y.prototype.unpipe=function(t){var e=this._readableState,n={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,n)),this;if(!t){var r=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)r[i].emit("unpipe",this,n);return this}var a=D(e.pipes,t);return-1===a||(e.pipes.splice(a,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,n)),this},y.prototype.on=function(t,e){var n=l.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&j(this):o.nextTick(P,this))}return n},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var t=this._readableState;return t.flowing||(p("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,o.nextTick(_,t,e))}(this,t)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(t){var e=this,n=this._readableState,r=!1;for(var o in t.on("end",(function(){if(p("wrapped end"),n.decoder&&!n.ended){var t=n.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){(p("wrapped data"),n.decoder&&(o=n.decoder.write(o)),!n.objectMode||null!==o&&void 0!==o)&&((n.objectMode||o&&o.length)&&(e.push(o)||(r=!0,t.pause())))})),t)void 0===this[o]&&"function"===typeof t[o]&&(this[o]=function(e){return function(){return t[e].apply(t,arguments)}}(o));for(var i=0;i<m.length;i++)t.on(m[i],this.emit.bind(this,m[i]));return this._read=function(e){p("wrapped _read",e),r&&(r=!1,t.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=T}).call(this,n(119),n(171))},function(t,e,n){t.exports=n(329).EventEmitter},function(t,e,n){"use strict";var r=n(384);function o(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var n=this,i=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return i||a?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||r.nextTick(o,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(r.nextTick(o,n,t),n._writableState&&(n._writableState.errorEmitted=!0)):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(t,e,n){"use strict";t.exports=a;var r=n(241),o=Object.create(n(330));function i(t,e){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=e&&this.push(e),r(t);var o=this._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}function a(t){if(!(this instanceof a))return new a(t);r.call(this,t),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"===typeof t.transform&&(this._transform=t.transform),"function"===typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",s)}function s(){var t=this;"function"===typeof this._flush?this._flush((function(e,n){l(t,e,n)})):l(this,null,null)}function l(t,e,n){if(e)return t.emit("error",e);if(null!=n&&t.push(n),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}o.inherits=n(152),o.inherits(a,r),a.prototype.push=function(t,e){return this._transformState.needTransform=!1,r.prototype.push.call(this,t,e)},a.prototype._transform=function(t,e,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(t,e,n){var r=this._transformState;if(r.writecb=n,r.writechunk=t,r.writeencoding=e,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},a.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},a.prototype._destroy=function(t,e){var n=this;r.prototype._destroy.call(this,t,(function(t){e(t),n.emit("close")}))}},function(t,e,n){(function(){"use strict";var t,r,o,i,a={}.hasOwnProperty;r=n(478),t=n(939),o=n(948),i=n(610),e.defaults=r.defaults,e.processors=i,e.ValidationError=function(t){function e(t){this.message=t}return function(t,e){for(var n in e)a.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(e,Error),e}(),e.Builder=t.Builder,e.Parser=o.Parser,e.parseString=o.parseString,e.parseStringPromise=o.parseStringPromise}).call(this)},function(t,e){(function(){t.exports=function(){function t(){}return t.prototype.hasFeature=function(t,e){return!0},t.prototype.createDocumentType=function(t,e,n){throw new Error("This DOM method is not implemented.")},t.prototype.createDocument=function(t,e,n){throw new Error("This DOM method is not implemented.")},t.prototype.createHTMLDocument=function(t){throw new Error("This DOM method is not implemented.")},t.prototype.getFeature=function(t,e){throw new Error("This DOM method is not implemented.")},t}()}).call(this)},function(t,e,n){(function(){var e,r,o,i,a,s,l,c={}.hasOwnProperty;l=n(194).isPlainObject,o=n(604),r=n(941),i=n(153),e=n(93),s=n(608),a=n(492),t.exports=function(t){function n(t){n.__super__.constructor.call(this,null),this.name="#document",this.type=e.Document,this.documentURI=null,this.domConfig=new r,t||(t={}),t.writer||(t.writer=new a),this.options=t,this.stringify=new s(t)}return function(t,e){for(var n in e)c.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),Object.defineProperty(n.prototype,"implementation",{value:new o}),Object.defineProperty(n.prototype,"doctype",{get:function(){var t,n,r,o;for(n=0,r=(o=this.children).length;n<r;n++)if((t=o[n]).type===e.DocType)return t;return null}}),Object.defineProperty(n.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(n.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(n.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration?this.children[0].encoding:null}}),Object.defineProperty(n.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(n.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===e.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(n.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(n.prototype,"origin",{get:function(){return null}}),Object.defineProperty(n.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(n.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(n.prototype,"contentType",{get:function(){return null}}),n.prototype.end=function(t){var e;return e={},t?l(t)&&(e=t,t=this.options.writer):t=this.options.writer,t.document(this,t.filterOptions(e))},n.prototype.toString=function(t){return this.options.writer.document(this,this.options.writer.filterOptions(t))},n.prototype.createElement=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createTextNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createComment=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createCDATASection=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createProcessingInstruction=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createAttribute=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createEntityReference=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.importNode=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createElementNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createAttributeNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagNameNS=function(t,e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementById=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.adoptNode=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.renameNode=function(t,e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByClassName=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createEvent=function(t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createNodeIterator=function(t,e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createTreeWalker=function(t,e,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n}(i)}).call(this)},function(t,e,n){(function(){var e;e=n(93),n(153),t.exports=function(){function t(t,n,r){if(this.parent=t,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==n)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(r),this.type=e.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(t.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(t){return this.value=t||""}}),Object.defineProperty(t.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(t.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(t.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(t.prototype,"specified",{get:function(){return!0}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.toString=function(t){return this.options.writer.attribute(this,this.options.writer.filterOptions(t))},t.prototype.debugInfo=function(t){return null==(t=t||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+t+"}, parent: <"+this.parent.name+">"},t.prototype.isEqualNode=function(t){return t.namespaceURI===this.namespaceURI&&(t.prefix===this.prefix&&(t.localName===this.localName&&t.value===this.value))},t}()}).call(this)},function(t,e,n){(function(){var e,r,o={}.hasOwnProperty;r=n(153),e=n(93),t.exports=function(t){function n(t){n.__super__.constructor.call(this,t),this.type=e.Dummy}return function(t,e){for(var n in e)o.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(t){return""},n}(r)}).call(this)},function(t,e){(function(){var e=function(t,e){return function(){return t.apply(e,arguments)}},n={}.hasOwnProperty;t.exports=function(){function t(t){var r,o,i;for(r in this.assertLegalName=e(this.assertLegalName,this),this.assertLegalChar=e(this.assertLegalChar,this),t||(t={}),this.options=t,this.options.version||(this.options.version="1.0"),o=t.stringify||{})n.call(o,r)&&(i=o[r],this[r]=i)}return t.prototype.name=function(t){return this.options.noValidation?t:this.assertLegalName(""+t||"")},t.prototype.text=function(t){return this.options.noValidation?t:this.assertLegalChar(this.textEscape(""+t||""))},t.prototype.cdata=function(t){return this.options.noValidation?t:(t=(t=""+t||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(t))},t.prototype.comment=function(t){if(this.options.noValidation)return t;if((t=""+t||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+t);return this.assertLegalChar(t)},t.prototype.raw=function(t){return this.options.noValidation?t:""+t||""},t.prototype.attValue=function(t){return this.options.noValidation?t:this.assertLegalChar(this.attEscape(t=""+t||""))},t.prototype.insTarget=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.insValue=function(t){if(this.options.noValidation)return t;if((t=""+t||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+t);return this.assertLegalChar(t)},t.prototype.xmlVersion=function(t){if(this.options.noValidation)return t;if(!(t=""+t||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+t);return t},t.prototype.xmlEncoding=function(t){if(this.options.noValidation)return t;if(!(t=""+t||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+t);return this.assertLegalChar(t)},t.prototype.xmlStandalone=function(t){return this.options.noValidation?t:t?"yes":"no"},t.prototype.dtdPubID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdSysID=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdElementValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdAttType=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdAttDefault=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdEntityValue=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.dtdNData=function(t){return this.options.noValidation?t:this.assertLegalChar(""+t||"")},t.prototype.convertAttKey="@",t.prototype.convertPIKey="?",t.prototype.convertTextKey="#text",t.prototype.convertCDataKey="#cdata",t.prototype.convertCommentKey="#comment",t.prototype.convertRawKey="#raw",t.prototype.assertLegalChar=function(t){var e,n;if(this.options.noValidation)return t;if(e="","1.0"===this.options.version){if(e=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=t.match(e))throw new Error("Invalid character in string: "+t+" at index "+n.index)}else if("1.1"===this.options.version&&(e=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=t.match(e)))throw new Error("Invalid character in string: "+t+" at index "+n.index);return t},t.prototype.assertLegalName=function(t){var e;if(this.options.noValidation)return t;if(this.assertLegalChar(t),e=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!t.match(e))throw new Error("Invalid character in name");return t},t.prototype.textEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},t.prototype.attEscape=function(t){var e;return this.options.noValidation?t:(e=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,t.replace(e,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},t}()}).call(this)},function(t,e,n){(function(){var e,r,o,i={}.hasOwnProperty;o=n(194).assign,e=n(93),n(483),n(484),n(481),n(482),n(479),n(489),n(490),n(491),n(607),n(485),n(487),n(486),n(488),r=n(388),t.exports=function(){function t(t){var e,n,r;for(e in t||(t={}),this.options=t,n=t.writer||{})i.call(n,e)&&(r=n[e],this["_"+e]=this[e],this[e]=r)}return t.prototype.filterOptions=function(t){var e,n,i,a,s,l,c,u;return t||(t={}),t=o({},this.options,t),(e={writer:this}).pretty=t.pretty||!1,e.allowEmpty=t.allowEmpty||!1,e.indent=null!=(n=t.indent)?n:"  ",e.newline=null!=(i=t.newline)?i:"\n",e.offset=null!=(a=t.offset)?a:0,e.dontPrettyTextNodes=null!=(s=null!=(l=t.dontPrettyTextNodes)?l:t.dontprettytextnodes)?s:0,e.spaceBeforeSlash=null!=(c=null!=(u=t.spaceBeforeSlash)?u:t.spacebeforeslash)?c:"",!0===e.spaceBeforeSlash&&(e.spaceBeforeSlash=" "),e.suppressPrettyCount=0,e.user={},e.state=r.None,e},t.prototype.indent=function(t,e,n){var r;return!e.pretty||e.suppressPrettyCount?"":e.pretty&&(r=(n||0)+e.offset+1)>0?new Array(r).join(e.indent):""},t.prototype.endline=function(t,e,n){return!e.pretty||e.suppressPrettyCount?"":e.newline},t.prototype.attribute=function(t,e,n){var r;return this.openAttribute(t,e,n),r=" "+t.name+'="'+t.value+'"',this.closeAttribute(t,e,n),r},t.prototype.cdata=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n)+"<![CDATA[",e.state=r.InsideTag,o+=t.value,e.state=r.CloseTag,o+="]]>"+this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.comment=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n)+"\x3c!-- ",e.state=r.InsideTag,o+=t.value,e.state=r.CloseTag,o+=" --\x3e"+this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.declaration=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n)+"<?xml",e.state=r.InsideTag,o+=' version="'+t.version+'"',null!=t.encoding&&(o+=' encoding="'+t.encoding+'"'),null!=t.standalone&&(o+=' standalone="'+t.standalone+'"'),e.state=r.CloseTag,o+=e.spaceBeforeSlash+"?>",o+=this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.docType=function(t,e,n){var o,i,a,s,l;if(n||(n=0),this.openNode(t,e,n),e.state=r.OpenTag,s=this.indent(t,e,n),s+="<!DOCTYPE "+t.root().name,t.pubID&&t.sysID?s+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(s+=' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(s+=" [",s+=this.endline(t,e,n),e.state=r.InsideTag,i=0,a=(l=t.children).length;i<a;i++)o=l[i],s+=this.writeChildNode(o,e,n+1);e.state=r.CloseTag,s+="]"}return e.state=r.CloseTag,s+=e.spaceBeforeSlash+">",s+=this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),s},t.prototype.element=function(t,n,o){var a,s,l,c,u,d,f,p,h,v,g,m,b,y;for(h in o||(o=0),v=!1,g="",this.openNode(t,n,o),n.state=r.OpenTag,g+=this.indent(t,n,o)+"<"+t.name,m=t.attribs)i.call(m,h)&&(a=m[h],g+=this.attribute(a,n,o));if(c=0===(l=t.children.length)?null:t.children[0],0===l||t.children.every((function(t){return(t.type===e.Text||t.type===e.Raw)&&""===t.value})))n.allowEmpty?(g+=">",n.state=r.CloseTag,g+="</"+t.name+">"+this.endline(t,n,o)):(n.state=r.CloseTag,g+=n.spaceBeforeSlash+"/>"+this.endline(t,n,o));else if(!n.pretty||1!==l||c.type!==e.Text&&c.type!==e.Raw||null==c.value){if(n.dontPrettyTextNodes)for(u=0,f=(b=t.children).length;u<f;u++)if(((s=b[u]).type===e.Text||s.type===e.Raw)&&null!=s.value){n.suppressPrettyCount++,v=!0;break}for(g+=">"+this.endline(t,n,o),n.state=r.InsideTag,d=0,p=(y=t.children).length;d<p;d++)s=y[d],g+=this.writeChildNode(s,n,o+1);n.state=r.CloseTag,g+=this.indent(t,n,o)+"</"+t.name+">",v&&n.suppressPrettyCount--,g+=this.endline(t,n,o),n.state=r.None}else g+=">",n.state=r.InsideTag,n.suppressPrettyCount++,v=!0,g+=this.writeChildNode(c,n,o+1),n.suppressPrettyCount--,v=!1,n.state=r.CloseTag,g+="</"+t.name+">"+this.endline(t,n,o);return this.closeNode(t,n,o),g},t.prototype.writeChildNode=function(t,n,r){switch(t.type){case e.CData:return this.cdata(t,n,r);case e.Comment:return this.comment(t,n,r);case e.Element:return this.element(t,n,r);case e.Raw:return this.raw(t,n,r);case e.Text:return this.text(t,n,r);case e.ProcessingInstruction:return this.processingInstruction(t,n,r);case e.Dummy:return"";case e.Declaration:return this.declaration(t,n,r);case e.DocType:return this.docType(t,n,r);case e.AttributeDeclaration:return this.dtdAttList(t,n,r);case e.ElementDeclaration:return this.dtdElement(t,n,r);case e.EntityDeclaration:return this.dtdEntity(t,n,r);case e.NotationDeclaration:return this.dtdNotation(t,n,r);default:throw new Error("Unknown XML node type: "+t.constructor.name)}},t.prototype.processingInstruction=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n)+"<?",e.state=r.InsideTag,o+=t.target,t.value&&(o+=" "+t.value),e.state=r.CloseTag,o+=e.spaceBeforeSlash+"?>",o+=this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.raw=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n),e.state=r.InsideTag,o+=t.value,e.state=r.CloseTag,o+=this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.text=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n),e.state=r.InsideTag,o+=t.value,e.state=r.CloseTag,o+=this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.dtdAttList=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n)+"<!ATTLIST",e.state=r.InsideTag,o+=" "+t.elementName+" "+t.attributeName+" "+t.attributeType,"#DEFAULT"!==t.defaultValueType&&(o+=" "+t.defaultValueType),t.defaultValue&&(o+=' "'+t.defaultValue+'"'),e.state=r.CloseTag,o+=e.spaceBeforeSlash+">"+this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.dtdElement=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n)+"<!ELEMENT",e.state=r.InsideTag,o+=" "+t.name+" "+t.value,e.state=r.CloseTag,o+=e.spaceBeforeSlash+">"+this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.dtdEntity=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n)+"<!ENTITY",e.state=r.InsideTag,t.pe&&(o+=" %"),o+=" "+t.name,t.value?o+=' "'+t.value+'"':(t.pubID&&t.sysID?o+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(o+=' SYSTEM "'+t.sysID+'"'),t.nData&&(o+=" NDATA "+t.nData)),e.state=r.CloseTag,o+=e.spaceBeforeSlash+">"+this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.dtdNotation=function(t,e,n){var o;return this.openNode(t,e,n),e.state=r.OpenTag,o=this.indent(t,e,n)+"<!NOTATION",e.state=r.InsideTag,o+=" "+t.name,t.pubID&&t.sysID?o+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.pubID?o+=' PUBLIC "'+t.pubID+'"':t.sysID&&(o+=' SYSTEM "'+t.sysID+'"'),e.state=r.CloseTag,o+=e.spaceBeforeSlash+">"+this.endline(t,e,n),e.state=r.None,this.closeNode(t,e,n),o},t.prototype.openNode=function(t,e,n){},t.prototype.closeNode=function(t,e,n){},t.prototype.openAttribute=function(t,e,n){},t.prototype.closeAttribute=function(t,e,n){},t}()}).call(this)},function(t,e){(function(){"use strict";var t;t=new RegExp(/(?!xmlns)^.*:/),e.normalize=function(t){return t.toLowerCase()},e.firstCharLowerCase=function(t){return t.charAt(0).toLowerCase()+t.slice(1)},e.stripPrefix=function(e){return e.replace(t,"")},e.parseNumbers=function(t){return isNaN(t)||(t=t%1===0?parseInt(t,10):parseFloat(t)),t},e.parseBooleans=function(t){return/^(?:true|false)$/i.test(t)&&(t="true"===t.toLowerCase()),t}}).call(this)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var r=n(612),o=n(615);e.decode=function(t,e){return(!e||e<=0?r.decodeXML:r.decodeHTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?r.decodeXML:r.decodeHTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?o.encodeXML:o.encodeHTML)(t)};var i=n(615);Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=n(612);Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var o=r(n(613)),i=r(n(958)),a=r(n(614)),s=r(n(959)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(t){var e=d(t);return function(t){return String(t).replace(l,e)}}e.decodeXML=c(a.default),e.decodeHTMLStrict=c(o.default);var u=function(t,e){return t<e?1:-1};function d(t){return function(e){if("#"===e.charAt(1)){var n=e.charAt(2);return"X"===n||"x"===n?s.default(parseInt(e.substr(3),16)):s.default(parseInt(e.substr(2),10))}return t[e.slice(1,-1)]||e}}e.decodeHTML=function(){for(var t=Object.keys(i.default).sort(u),e=Object.keys(o.default).sort(u),n=0,r=0;n<e.length;n++)t[r]===e[n]?(e[n]+=";?",r++):e[n]+=";";var a=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=d(o.default);function l(t){return";"!==t.substr(-1)&&(t+=";"),s(t)}return function(t){return String(t).replace(a,l)}}()},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var o=u(r(n(614)).default),i=d(o);e.encodeXML=g(o);var a,s,l=u(r(n(613)).default),c=d(l);function u(t){return Object.keys(t).sort().reduce((function(e,n){return e[t[n]]="&"+n+";",e}),{})}function d(t){for(var e=[],n=[],r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];1===i.length?e.push("\\"+i):n.push(i)}e.sort();for(var a=0;a<e.length-1;a++){for(var s=a;s<e.length-1&&e[s].charCodeAt(1)+1===e[s+1].charCodeAt(1);)s+=1;var l=1+s-a;l<3||e.splice(a,l,e[a]+"-"+e[s])}return n.unshift("["+e.join("")+"]"),new RegExp(n.join("|"),"g")}e.encodeHTML=(a=l,s=c,function(t){return t.replace(s,(function(t){return a[t]})).replace(f,h)}),e.encodeNonAsciiHTML=g(l);var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=null!=String.prototype.codePointAt?function(t){return t.codePointAt(0)}:function(t){return 1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536};function h(t){return"&#x"+(t.length>1?p(t):t.charCodeAt(0)).toString(16).toUpperCase()+";"}var v=new RegExp(i.source+"|"+f.source,"g");function g(t){return function(e){return e.replace(v,(function(e){return t[e]||h(e)}))}}e.escape=function(t){return t.replace(v,h)},e.escapeUTF8=function(t){return t.replace(i,h)}},function(t,e,n){var r=n(493),o=n(213);t.exports=function(t,e){var n=-1,i=o(t)?Array(t.length):[];return r(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}},function(t,e){t.exports=function(t,e,n){var r=-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 i=Array(o);++r<o;)i[r]=t[r+e];return i}},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)}},function(t,e,n){var r=n(273);t.exports=function(t,e,n){for(var o=-1,i=t.length;++o<i;){var a=t[o],s=e(a);if(null!=s&&(void 0===l?s===s&&!r(s):n(s,l)))var l=s,c=a}return c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.flip=c;var r,o=n(998),i=(r=o)&&r.__esModule?r:{default:r};function a(t,e){return"MathExpression"===t.type?function(t,e){switch(t=function(t,e){var n=(0,i.default)(t.left,t.right,e),r=a(n.left,e),o=a(n.right,e);"MathExpression"===r.type&&"MathExpression"===o.type&&("/"===r.operator&&"*"===o.operator||"-"===r.operator&&"+"===o.operator||"*"===r.operator&&"/"===o.operator||"+"===r.operator&&"-"===o.operator)&&(s(r.right,o.right)?n=(0,i.default)(r.left,o.left,e):s(r.right,o.left)&&(n=(0,i.default)(r.left,o.right,e)),r=a(n.left,e),o=a(n.right,e));return t.left=r,t.right=o,t}(t,e),t.operator){case"+":case"-":return function(t,e){var n=t,r=n.left,o=n.right,i=n.operator;if("CssVariable"===r.type||"CssVariable"===o.type)return t;if(0===o.value)return r;if(0===r.value&&"+"===i)return o;if(0===r.value&&"-"===i)return u(o);r.type===o.type&&l(r.type)&&((t=Object.assign({},r)).value="+"===i?r.value+o.value:r.value-o.value);if(l(r.type)&&("+"===o.operator||"-"===o.operator)&&"MathExpression"===o.type){if(r.type===o.left.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:i,left:r,right:o.left},e),t.right=o.right,t.operator="-"===i?c(o.operator):o.operator,a(t,e);if(r.type===o.right.type)return(t=Object.assign({},t)).left=a({type:"MathExpression",operator:"-"===i?c(o.operator):o.operator,left:r,right:o.right},e),t.right=o.left,a(t,e)}if("MathExpression"===r.type&&("+"===r.operator||"-"===r.operator)&&l(o.type)){if(o.type===r.left.type)return(t=Object.assign({},r)).left=a({type:"MathExpression",operator:i,left:r.left,right:o},e),a(t,e);if(o.type===r.right.type)return t=Object.assign({},r),"-"===r.operator?(t.right=a({type:"MathExpression",operator:"-"===i?"+":"-",left:o,right:r.right},e),t.operator="-"===i?"-":"+"):t.right=a({type:"MathExpression",operator:i,left:r.right,right:o},e),t.right.value<0&&(t.right.value*=-1,t.operator="-"===t.operator?"+":"-"),a(t,e)}return t}(t,e);case"/":return function(t,e){if(!l(t.right.type))return t;if("Value"!==t.right.type)throw new Error('Cannot divide by "'+t.right.unit+'", number expected');if(0===t.right.value)throw new Error("Cannot divide by zero");if("MathExpression"===t.left.type)return l(t.left.left.type)&&l(t.left.right.type)?(t.left.left.value/=t.right.value,t.left.right.value/=t.right.value,a(t.left,e)):t;if(l(t.left.type))return t.left.value/=t.right.value,t.left;return t}(t,e);case"*":return function(t){if("MathExpression"===t.left.type&&"Value"===t.right.type){if(l(t.left.left.type)&&l(t.left.right.type))return t.left.left.value*=t.right.value,t.left.right.value*=t.right.value,t.left}else{if(l(t.left.type)&&"Value"===t.right.type)return t.left.value*=t.right.value,t.left;if("Value"===t.left.type&&"MathExpression"===t.right.type){if(l(t.right.left.type)&&l(t.right.right.type))return t.right.left.value*=t.left.value,t.right.right.value*=t.left.value,t.right}else if("Value"===t.left.type&&l(t.right.type))return t.right.value*=t.left.value,t.right}return t}(t)}return t}(t,e):"Calc"===t.type?a(t.value,e):t}function s(t,e){return t.type===e.type&&t.value===e.value}function l(t){switch(t){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function c(t){return"+"===t?"-":"+"}function u(t){return l(t.type)?t.value=-t.value:"MathExpression"==t.type&&(t.left=u(t.left),t.right=u(t.right)),t}e.default=a},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(331)),o=s(n(1)),i=s(n(51)),a=n(389);n(622);function s(t){return t&&t.__esModule?t:{default:t}}var l="unmounted";e.UNMOUNTED=l;var c="exited";e.EXITED=c;var u="entering";e.ENTERING=u;var d="entered";e.ENTERED=d;var f="exiting";e.EXITING=f;var p=function(t){var e,n;function r(e,n){var r;r=t.call(this,e,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?a?(o=c,r.appearStatus=u):o=d:o=e.unmountOnExit||e.mountOnEnter?l:c,r.state={status:o},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===l?{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!==u&&n!==d&&(e=u):n!==u&&n!==d||(e=f)}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=i.default.findDOMNode(this);e===u?this.performEnter(n,t):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:l})},a.performEnter=function(t,e){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,i=this.getTimeouts(),a=o?i.appear:i.enter;e||r?(this.props.onEnter(t,o),this.safeSetState({status:u},(function(){n.props.onEntering(t,o),n.onTransitionEnd(t,a,(function(){n.safeSetState({status:d},(function(){n.props.onEntered(t,o)}))}))}))):this.safeSetState({status:d},(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:f},(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===l)return null;var e=this.props,n=e.children,r=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(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 i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function h(){}p.contextTypes={transitionGroup:r.object},p.childContextTypes={transitionGroup:function(){}},p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4;var v=(0,a.polyfill)(p);e.default=v},function(t,e,n){"use strict";e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0;var r;(r=n(331))&&r.__esModule;e.timeoutsShape=null;e.classNamesShape=null},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=s(n(331)),o=s(n(1)),i=n(389),a=n(1008);function s(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},l.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 u=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},d=function(t){var e,n;function r(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(c(c(r)));return r.state={handleExited:o,firstRender:!0},r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.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}},i.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=l({},e.children);return delete n[t.key],{children:n}})))},i.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["component","childFactory"]),i=u(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?i:o.default.createElement(e,r,i)},r}(o.default.Component);d.childContextTypes={transitionGroup:r.default.object.isRequired},d.propTypes={},d.defaultProps={component:"div",childFactory:function(t){return t}};var f=(0,i.polyfill)(d);e.default=f,t.exports=e.default},function(t,e,n){var r=n(469),o=n(461),i=n(470),a=n(570),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:a;t.exports=s},function(t,e,n){var r=n(569),o=n(624),i=n(324);t.exports=function(t){return r(t,i,o)}},function(t,e,n){var r=n(627);t.exports=function(t,e){if(t){if("string"===typeof t)return r(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(1045),o=n(1046),i=n(1049),a=RegExp("['\u2019]","g");t.exports=function(t){return function(e){return r(i(o(e).replace(a,"")),t,"")}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){return i.default[t.type](t,e,n)};var r,o=n(1064),i=(r=o)&&r.__esModule?r:{default:r}},function(t,e,n){var r=n(631),o={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},c=/\s|\//;function u(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(r=this._options.Tokenizer),this._tokenizer=new r(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}n(152)(u,n(329).EventEmitter),u.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},u.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in i)for(var e;(e=this._stack[this._stack.length-1])in i[t];this.onclosetag(e));!this._options.xmlMode&&t in a||(this._stack.push(t),t in s?this._foreignContext.push(!0):t in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in s||t in l)&&this._foreignContext.pop(),!this._stack.length||t in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else"p"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},u.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},u.prototype.onattribdata=function(t){this._attribvalue+=t},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(t){var e=t.search(c),n=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},u.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},u.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},u.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},u.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(t){this.reset(),this.end(t)},u.prototype.write=function(t){this._tokenizer.write(t)},u.prototype.end=function(t){this._tokenizer.end(t)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,t.exports=u},function(t,e,n){t.exports=gt;var r=n(1065),o=n(1067),i=n(1068),a=n(1069),s=0,l=s++,c=s++,u=s++,d=s++,f=s++,p=s++,h=s++,v=s++,g=s++,m=s++,b=s++,y=s++,x=s++,w=s++,O=s++,S=s++,j=s++,C=s++,k=s++,E=s++,P=s++,_=s++,M=s++,T=s++,A=s++,R=s++,D=s++,I=s++,N=s++,L=s++,F=s++,B=s++,z=s++,H=s++,V=s++,U=s++,W=s++,q=s++,G=s++,Y=s++,X=s++,K=s++,$=s++,Z=s++,Q=s++,J=s++,tt=s++,et=s++,nt=s++,rt=s++,ot=s++,it=s++,at=s++,st=s++,lt=s++,ct=0,ut=ct++,dt=ct++,ft=ct++;function pt(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function ht(t,e,n){var r=t.toLowerCase();return t===r?function(t){t===r?this._state=e:(this._state=n,this._index--)}:function(o){o===r||o===t?this._state=e:(this._state=n,this._index--)}}function vt(t,e){var n=t.toLowerCase();return function(r){r===n||r===t?this._state=e:(this._state=u,this._index--)}}function gt(t,e){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ut,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}gt.prototype._stateText=function(t){"<"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=c,this._sectionStart=this._index):this._decodeEntities&&this._special===ut&&"&"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=ot,this._sectionStart=this._index)},gt.prototype._stateBeforeTagName=function(t){"/"===t?this._state=f:"<"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===t||this._special!==ut||pt(t)?this._state=l:"!"===t?(this._state=O,this._sectionStart=this._index+1):"?"===t?(this._state=j,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==t&&"S"!==t?u:F,this._sectionStart=this._index)},gt.prototype._stateInTagName=function(t){("/"===t||">"===t||pt(t))&&(this._emitToken("onopentagname"),this._state=v,this._index--)},gt.prototype._stateBeforeCloseingTagName=function(t){pt(t)||(">"===t?this._state=l:this._special!==ut?"s"===t||"S"===t?this._state=B:(this._state=l,this._index--):(this._state=p,this._sectionStart=this._index))},gt.prototype._stateInCloseingTagName=function(t){(">"===t||pt(t))&&(this._emitToken("onclosetag"),this._state=h,this._index--)},gt.prototype._stateAfterCloseingTagName=function(t){">"===t&&(this._state=l,this._sectionStart=this._index+1)},gt.prototype._stateBeforeAttributeName=function(t){">"===t?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===t?this._state=d:pt(t)||(this._state=g,this._sectionStart=this._index)},gt.prototype._stateInSelfClosingTag=function(t){">"===t?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):pt(t)||(this._state=v,this._index--)},gt.prototype._stateInAttributeName=function(t){("="===t||"/"===t||">"===t||pt(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=m,this._index--)},gt.prototype._stateAfterAttributeName=function(t){"="===t?this._state=b:"/"===t||">"===t?(this._cbs.onattribend(),this._state=v,this._index--):pt(t)||(this._cbs.onattribend(),this._state=g,this._sectionStart=this._index)},gt.prototype._stateBeforeAttributeValue=function(t){'"'===t?(this._state=y,this._sectionStart=this._index+1):"'"===t?(this._state=x,this._sectionStart=this._index+1):pt(t)||(this._state=w,this._sectionStart=this._index,this._index--)},gt.prototype._stateInAttributeValueDoubleQuotes=function(t){'"'===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=v):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ot,this._sectionStart=this._index)},gt.prototype._stateInAttributeValueSingleQuotes=function(t){"'"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=v):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ot,this._sectionStart=this._index)},gt.prototype._stateInAttributeValueNoQuotes=function(t){pt(t)||">"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=v,this._index--):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ot,this._sectionStart=this._index)},gt.prototype._stateBeforeDeclaration=function(t){this._state="["===t?_:"-"===t?C:S},gt.prototype._stateInDeclaration=function(t){">"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},gt.prototype._stateInProcessingInstruction=function(t){">"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},gt.prototype._stateBeforeComment=function(t){"-"===t?(this._state=k,this._sectionStart=this._index+1):this._state=S},gt.prototype._stateInComment=function(t){"-"===t&&(this._state=E)},gt.prototype._stateAfterComment1=function(t){this._state="-"===t?P:k},gt.prototype._stateAfterComment2=function(t){">"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==t&&(this._state=k)},gt.prototype._stateBeforeCdata1=ht("C",M,S),gt.prototype._stateBeforeCdata2=ht("D",T,S),gt.prototype._stateBeforeCdata3=ht("A",A,S),gt.prototype._stateBeforeCdata4=ht("T",R,S),gt.prototype._stateBeforeCdata5=ht("A",D,S),gt.prototype._stateBeforeCdata6=function(t){"["===t?(this._state=I,this._sectionStart=this._index+1):(this._state=S,this._index--)},gt.prototype._stateInCdata=function(t){"]"===t&&(this._state=N)},gt.prototype._stateAfterCdata1=function(t){this._state="]"===t?L:I},gt.prototype._stateAfterCdata2=function(t){">"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==t&&(this._state=I)},gt.prototype._stateBeforeSpecial=function(t){"c"===t||"C"===t?this._state=z:"t"===t||"T"===t?this._state=$:(this._state=u,this._index--)},gt.prototype._stateBeforeSpecialEnd=function(t){this._special!==dt||"c"!==t&&"C"!==t?this._special!==ft||"t"!==t&&"T"!==t?this._state=l:this._state=tt:this._state=q},gt.prototype._stateBeforeScript1=vt("R",H),gt.prototype._stateBeforeScript2=vt("I",V),gt.prototype._stateBeforeScript3=vt("P",U),gt.prototype._stateBeforeScript4=vt("T",W),gt.prototype._stateBeforeScript5=function(t){("/"===t||">"===t||pt(t))&&(this._special=dt),this._state=u,this._index--},gt.prototype._stateAfterScript1=ht("R",G,l),gt.prototype._stateAfterScript2=ht("I",Y,l),gt.prototype._stateAfterScript3=ht("P",X,l),gt.prototype._stateAfterScript4=ht("T",K,l),gt.prototype._stateAfterScript5=function(t){">"===t||pt(t)?(this._special=ut,this._state=p,this._sectionStart=this._index-6,this._index--):this._state=l},gt.prototype._stateBeforeStyle1=vt("Y",Z),gt.prototype._stateBeforeStyle2=vt("L",Q),gt.prototype._stateBeforeStyle3=vt("E",J),gt.prototype._stateBeforeStyle4=function(t){("/"===t||">"===t||pt(t))&&(this._special=ft),this._state=u,this._index--},gt.prototype._stateAfterStyle1=ht("Y",et,l),gt.prototype._stateAfterStyle2=ht("L",nt,l),gt.prototype._stateAfterStyle3=ht("E",rt,l),gt.prototype._stateAfterStyle4=function(t){">"===t||pt(t)?(this._special=ut,this._state=p,this._sectionStart=this._index-5,this._index--):this._state=l},gt.prototype._stateBeforeEntity=ht("#",it,at),gt.prototype._stateBeforeNumericEntity=ht("X",lt,st),gt.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?a:o;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},gt.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;for(e>6&&(e=6);e>=2;){var n=this._buffer.substr(t,e);if(i.hasOwnProperty(n))return this._emitPartial(i[n]),void(this._sectionStart+=e+1);e--}},gt.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||t>"z")&&(t<"A"||t>"Z")&&(t<"0"||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},gt.prototype._decodeNumericEntity=function(t,e){var n=this._sectionStart+t;if(n!==this._index){var o=this._buffer.substring(n,this._index),i=parseInt(o,e);this._emitPartial(r(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},gt.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},gt.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},gt.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},gt.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},gt.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var t=this._buffer.charAt(this._index);this._state===l?this._stateText(t):this._state===c?this._stateBeforeTagName(t):this._state===u?this._stateInTagName(t):this._state===f?this._stateBeforeCloseingTagName(t):this._state===p?this._stateInCloseingTagName(t):this._state===h?this._stateAfterCloseingTagName(t):this._state===d?this._stateInSelfClosingTag(t):this._state===v?this._stateBeforeAttributeName(t):this._state===g?this._stateInAttributeName(t):this._state===m?this._stateAfterAttributeName(t):this._state===b?this._stateBeforeAttributeValue(t):this._state===y?this._stateInAttributeValueDoubleQuotes(t):this._state===x?this._stateInAttributeValueSingleQuotes(t):this._state===w?this._stateInAttributeValueNoQuotes(t):this._state===O?this._stateBeforeDeclaration(t):this._state===S?this._stateInDeclaration(t):this._state===j?this._stateInProcessingInstruction(t):this._state===C?this._stateBeforeComment(t):this._state===k?this._stateInComment(t):this._state===E?this._stateAfterComment1(t):this._state===P?this._stateAfterComment2(t):this._state===_?this._stateBeforeCdata1(t):this._state===M?this._stateBeforeCdata2(t):this._state===T?this._stateBeforeCdata3(t):this._state===A?this._stateBeforeCdata4(t):this._state===R?this._stateBeforeCdata5(t):this._state===D?this._stateBeforeCdata6(t):this._state===I?this._stateInCdata(t):this._state===N?this._stateAfterCdata1(t):this._state===L?this._stateAfterCdata2(t):this._state===F?this._stateBeforeSpecial(t):this._state===B?this._stateBeforeSpecialEnd(t):this._state===z?this._stateBeforeScript1(t):this._state===H?this._stateBeforeScript2(t):this._state===V?this._stateBeforeScript3(t):this._state===U?this._stateBeforeScript4(t):this._state===W?this._stateBeforeScript5(t):this._state===q?this._stateAfterScript1(t):this._state===G?this._stateAfterScript2(t):this._state===Y?this._stateAfterScript3(t):this._state===X?this._stateAfterScript4(t):this._state===K?this._stateAfterScript5(t):this._state===$?this._stateBeforeStyle1(t):this._state===Z?this._stateBeforeStyle2(t):this._state===Q?this._stateBeforeStyle3(t):this._state===J?this._stateBeforeStyle4(t):this._state===tt?this._stateAfterStyle1(t):this._state===et?this._stateAfterStyle2(t):this._state===nt?this._stateAfterStyle3(t):this._state===rt?this._stateAfterStyle4(t):this._state===ot?this._stateBeforeEntity(t):this._state===it?this._stateBeforeNumericEntity(t):this._state===at?this._stateInNamedEntity(t):this._state===st?this._stateInNumericEntity(t):this._state===lt?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},gt.prototype.pause=function(){this._running=!1},gt.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},gt.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},gt.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},gt.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===I||this._state===N||this._state===L?this._cbs.oncdata(t):this._state===k||this._state===E||this._state===P?this._cbs.oncomment(t):this._state!==at||this._xmlMode?this._state!==st||this._xmlMode?this._state!==lt||this._xmlMode?this._state!==u&&this._state!==v&&this._state!==b&&this._state!==m&&this._state!==g&&this._state!==x&&this._state!==y&&this._state!==w&&this._state!==p&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},gt.prototype.reset=function(){gt.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},gt.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},gt.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},gt.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},gt.prototype._emitPartial=function(t){this._baseState!==l?this._cbs.onattribdata(t):this._cbs.ontext(t)}},function(t,e,n){var r=n(633),o=/\s+/g,i=n(634),a=n(1070);function s(t,e,n){"object"===typeof t?(n=e,e=t,t=null):"function"===typeof e&&(n=e,e=l),this._callback=t,this._options=e||l,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(t){this._parser=t},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(t){if("function"===typeof this._callback)this._callback(t,this.dom);else if(t)throw t},s.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},s.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;for(var n in e="tag"===t.type?Object.create(a):Object.create(i),t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},s.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],n=e?e.children:this.dom,r=n[n.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),r?(t.prev=r,r.next=t):t.prev=null,n.push(t),t.parent=e||null},s.prototype.onopentag=function(t,e){var n={type:"script"===t?r.Script:"style"===t?r.Style:r.Tag,name:t,attribs:e,children:[]},o=this._createDomElement(n);this._addDomElement(o),this._tagStack.push(o)},s.prototype.ontext=function(t){var e,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===r.Text)n?e.data=(e.data+t).replace(o," "):e.data+=t;else if(this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===r.Text)n?e.data=(e.data+t).replace(o," "):e.data+=t;else{n&&(t=t.replace(o," "));var i=this._createDomElement({data:t,type:r.Text});this._addDomElement(i)}},s.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===r.Comment)e.data+=t;else{var n={data:t,type:r.Comment},o=this._createDomElement(n);this._addDomElement(o),this._tagStack.push(o)}},s.prototype.oncdatastart=function(){var t={children:[{data:"",type:r.Text}],type:r.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(t,e){var n=this._createDomElement({name:t,data:e,type:r.Directive});this._addDomElement(n)},t.exports=s},function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},function(t,e){var n=t.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return o[this.type]||o.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},o={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(t){var e=r[t];Object.defineProperty(n,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,n){var r=t.exports;[n(1072),n(1076),n(1077),n(1078),n(1079),n(1080)].forEach((function(t){Object.keys(t).forEach((function(e){r[e]=t[e].bind(r)}))}))},function(t,e,n){t.exports=s;var r=n(630),o=n(1082).Writable,i=n(386).StringDecoder,a=n(193).Buffer;function s(t,e){var n=this._parser=new r(t,e),a=this._decoder=new i;o.call(this,{decodeStrings:!1}),this.once("finish",(function(){n.end(a.end())}))}n(152)(s,o),s.prototype._write=function(t,e,n){t instanceof a&&(t=this._decoder.write(t)),this._parser.write(t),n()}},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.default=function(t,e){var n=r({},(0,o.default)(t),{key:e});"string"===typeof n.style||n.style instanceof String?n.style=(0,i.default)(n.style):delete n.style;return n};var o=a(n(1087)),i=a(n(1090));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){o.hasOwnProperty(t)||(o[t]=r.test(t));return o[t]};var r=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,o={}},function(t,e,n){(function(e){var n;"undefined"!==typeof self&&self,n=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,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=109)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),a=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),f=n(32),p=n(33),h=n(31),v=n(1),g={Scope:v.Scope,create:v.create,find:v.find,query:v.query,register:v.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:f.default,Style:p.default,Store:h.default}};e.default=g},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var n=this;return e="[Parchment] "+e,(n=t.call(this,e)||this).message=e,n.name=n.constructor.name,n}return r(e,t),e}(Error);e.ParchmentError=o;var i,a={},s={},l={},c={};function u(t,e){var n;if(void 0===e&&(e=i.ANY),"string"===typeof t)n=c[t]||a[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=c.text;else if("number"===typeof t)t&i.LEVEL&i.BLOCK?n=c.block:t&i.LEVEL&i.INLINE&&(n=c.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=s[r[o]])break;n=n||l[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=function(t,e){var n=u(t);if(null==n)throw new o("Unable to create "+t+" blot");var r=n,i=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:r.create(e);return new r(i,e)},e.find=function t(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:r?t(n.parentNode,r):null},e.query=u,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map((function(e){return t(e)}));var r=e[0];if("string"!==typeof r.blotName&&"string"!==typeof r.attrName)throw new o("Invalid definition");if("abstract"===r.blotName)throw new o("Cannot register abstract class");if(c[r.blotName||r.attrName]=r,"string"===typeof r.keyName)a[r.keyName]=r;else if(null!=r.className&&(s[r.className]=r),null!=r.tagName){Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(t){return t.toUpperCase()})):r.tagName=r.tagName.toUpperCase();var i=Array.isArray(r.tagName)?r.tagName:[r.tagName];i.forEach((function(t){null!=l[t]&&null!=r.className||(l[t]=r)}))}return r}},function(t,e,n){var r=n(51),o=n(11),i=n(3),a=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=i(!0,{},t),"object"===typeof n){if("number"===typeof t.delete&&"number"===typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"===typeof n.delete&&null!=t.insert&&(e-=1,"object"!==typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"===typeof t.insert&&"string"===typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach((function(r){(t(r)?e:n).push(r)})),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce((function(t,e){return e.insert?t+a.length(e):e.delete?t-e.delete:t}),0)},l.prototype.length=function(){return this.reduce((function(t,e){return t+a.length(e)}),0)},l.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);for(var n=[],r=a.iterator(this.ops),o=0;o<e&&r.hasNext();){var i;o<t?i=r.next(t-o):(i=r.next(e-o),n.push(i)),o+=a.length(i)}return new l(n)},l.prototype.compose=function(t){var e=a.iterator(this.ops),n=a.iterator(t.ops),r=[],i=n.peek();if(null!=i&&"number"===typeof i.retain&&null==i.attributes){for(var s=i.retain;"insert"===e.peekType()&&e.peekLength()<=s;)s-=e.peekLength(),r.push(e.next());i.retain-s>0&&n.next(i.retain-s)}for(var c=new l(r);e.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===e.peekType())c.push(e.next());else{var u=Math.min(e.peekLength(),n.peekLength()),d=e.next(u),f=n.next(u);if("number"===typeof f.retain){var p={};"number"===typeof d.retain?p.retain=u:p.insert=d.insert;var h=a.attributes.compose(d.attributes,f.attributes,"number"===typeof d.retain);if(h&&(p.attributes=h),c.push(p),!n.hasNext()&&o(c.ops[c.ops.length-1],p)){var v=new l(e.rest());return c.concat(v).chop()}}else"number"===typeof f.delete&&"number"===typeof d.retain&&c.push(f)}return c.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map((function(e){return e.map((function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")})).join("")})),i=new l,c=r(n[0],n[1],e),u=a.iterator(this.ops),d=a.iterator(t.ops);return c.forEach((function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(d.peekLength(),e),i.push(d.next(n));break;case r.DELETE:n=Math.min(e,u.peekLength()),u.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),e);var s=u.next(n),l=d.next(n);o(s.insert,l.insert)?i.retain(n,a.attributes.diff(s.attributes,l.attributes)):i.push(l).delete(n)}e-=n}})),i.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";for(var n=a.iterator(this.ops),r=new l,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),s=a.length(i)-n.peekLength(),c="string"===typeof i.insert?i.insert.indexOf(e,s)-s:-1;if(c<0)r.push(n.next());else if(c>0)r.push(n.next(c));else{if(!1===t(r,n.next(1).attributes||{},o))return;o+=1,r=new l}}r.length()>0&&t(r,{},o)},l.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);for(var n=a.iterator(this.ops),r=a.iterator(t.ops),o=new l;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),s=n.next(i),c=r.next(i);if(s.delete)continue;c.delete?o.push(c):o.retain(i,a.attributes.transform(s.attributes,c.attributes,e))}else o.retain(a.length(n.next()));return o.chop()},l.prototype.transformPosition=function(t,e){e=!!e;for(var n=a.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<t||!e)&&(t+=o),r+=o):t-=Math.min(o,t-r)}return t},t.exports=l},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},s=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e,o=n.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!o&&!i)return!1;for(e in t);return"undefined"===typeof e||n.call(t,e)},l=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,n,r,o,i,u,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"===typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});f<p;++f)if(null!=(e=arguments[f]))for(n in e)r=c(d,n),d!==(o=c(e,n))&&(h&&o&&(s(o)||(i=a(o)))?(i?(i=!1,u=r&&a(r)?r:[]):u=r&&s(r)?r:{},l(d,{name:n,newValue:t(h,u,o)})):"undefined"!==typeof o&&l(d,{name:n,newValue:o}));return d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=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}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=d(n(3)),a=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(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)}var v=function(t){function e(){return f(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),r(e,[{key:"attach",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=s.default.query(t,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,r){this.format(n,r)}},{key:"insertAt",value:function(t,n,r){if("string"===typeof n&&n.endsWith("\n")){var i=s.default.create(g.blotName);this.parent.insertBefore(i,0===t?this:this.next),i.insertAt(0,n.slice(0,-1))}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r)}}]),e}(s.default.Embed);v.scope=s.default.Scope.BLOCK_BLOT;var g=function(t){function e(t){f(this,e);var n=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return h(e,t),r(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(t,e){return 0===e.length()?t:t.insert(e.value(),m(e))}),new a.default).insert("\n",m(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,r,i){n<=0||(s.default.query(r,s.default.Scope.BLOCK)?t+n===this.length()&&this.format(r,i):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),r,i),this.cache={})}},{key:"insertAt",value:function(t,n,r){if(null!=r)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);if(0!==n.length){var i=n.split("\n"),a=i.shift();a.length>0&&(t<this.length()-1||null==this.children.tail?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var s=this;i.reduce((function(t,e){return(s=s.split(t,!0)).insertAt(0,e),e.length}),t+a.length)}}},{key:"insertBefore",value:function(t,n){var r=this.children.head;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),r instanceof l.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var i=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},i}}]),e}(s.default.Block);function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"===typeof t.formats&&(e=(0,i.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:m(t.parent,e))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[c.default,s.default.Embed,u.default],e.bubbleFormats=m,e.BlockEmbed=v,e.default=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 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},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}();n(50);var a=g(n(2)),s=g(n(14)),l=g(n(8)),c=g(n(9)),u=g(n(0)),d=n(15),f=g(d),p=g(n(3)),h=g(n(10)),v=g(n(34));function g(t){return t&&t.__esModule?t:{default:t}}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var y=(0,h.default)("quill"),x=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b(this,t),this.options=w(e,r),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new f.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t){t===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(t,e){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;O.call(n,(function(){return n.editor.update(null,e,o)}),t)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),h.default.level(t)}},{key:"find",value:function(t){return t.__quill||u.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&y.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof t){var o=t.attrName||t.blotName;"string"===typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach((function(r){n.register(r,t[r],e)}))}else null==this.imports[t]||r||y.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?u.default.register(e):t.startsWith("modules")&&"function"===typeof e.register&&e.register()}}]),i(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof t){var n=t;(t=document.createElement("div")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,i=S(t,e,n),a=o(i,4);return t=a[0],e=a[1],n=a[3],O.call(this,(function(){return r.editor.deleteText(t,e)}),n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return O.call(this,(function(){var r=n.getSelection(!0),o=new a.default;if(null==r)return o;if(u.default.query(t,u.default.Scope.BLOCK))o=n.editor.formatLine(r.index,r.length,m({},t,e));else{if(0===r.length)return n.selection.format(t,e),o;o=n.editor.formatText(r.index,r.length,m({},t,e))}return n.setSelection(r,l.default.sources.SILENT),o}),r)}},{key:"formatLine",value:function(t,e,n,r,i){var a,s=this,l=S(t,e,n,r,i),c=o(l,4);return t=c[0],e=c[1],a=c[2],i=c[3],O.call(this,(function(){return s.editor.formatLine(t,e,a)}),i,t,0)}},{key:"formatText",value:function(t,e,n,r,i){var a,s=this,l=S(t,e,n,r,i),c=o(l,4);return t=c[0],e=c[1],a=c[2],i=c[3],O.call(this,(function(){return s.editor.formatText(t,e,a)}),i,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=S(t,e),r=o(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=S(t,e),r=o(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return O.call(this,(function(){return o.editor.insertEmbed(e,n,r)}),i,e)}},{key:"insertText",value:function(t,e,n,r,i){var a,s=this,l=S(t,0,n,r,i),c=o(l,4);return t=c[0],a=c[2],i=c[3],O.call(this,(function(){return s.editor.insertText(t,e,a)}),i,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,i=S(t,e,n),a=o(i,4);return t=a[0],e=a[1],n=a[3],O.call(this,(function(){return r.editor.removeFormat(t,e)}),n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return O.call(this,(function(){t=new a.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];return null!=i&&"string"===typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1)),r.compose(o)}),n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var i=S(e,n,r),a=o(i,4);e=a[0],n=a[1],r=a[3],this.selection.setRange(new d.Range(e,n),r),r!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new a.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return O.call(this,(function(){return t=new a.default(t),e.editor.applyDelta(t,n)}),n,!0)}}]),t}();function w(t,e){if((e=(0,p.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==x.DEFAULTS.theme){if(e.theme=x.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=v.default;var n=(0,p.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach((function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach((function(e){!0===t.modules[e]&&(t.modules[e]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce((function(t,e){var n=x.import("modules/"+e);return null==n?y.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t}),{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,p.default)(!0,{},x.DEFAULTS,{modules:r},n,e),["bounds","container","scrollingContainer"].forEach((function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))})),e.modules=Object.keys(e.modules).reduce((function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t}),{}),e}function O(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===l.default.sources.USER)return new a.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,s=t();if(null!=o&&(!0===n&&(n=o.index),null==r?o=j(o,s,e):0!==r&&(o=j(o,n,r,e)),this.setSelection(o,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,i,e];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),e!==l.default.sources.SILENT&&(u=this.emitter).emit.apply(u,d)}return s}function S(t,e,n,o,i){var a={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(i=o,o=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(i=o,o=n,n=e,e=0),"object"===("undefined"===typeof n?"undefined":r(n))?(a=n,i=o):"string"===typeof n&&(null!=o?a[n]=o:i=n),[t,e,a,i=i||l.default.sources.API]}function j(t,e,n,r){if(null==t)return null;var i=void 0,s=void 0;if(e instanceof a.default){var c=[t.index,t.index+t.length].map((function(t){return e.transformPosition(t,r!==l.default.sources.USER)})),u=o(c,2);i=u[0],s=u[1]}else{var f=[t.index,t.index+t.length].map((function(t){return t<e||t===e&&r===l.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)})),p=o(f,2);i=p[0],s=p[1]}return new d.Range(i,s-i)}x.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},x.events=l.default.events,x.sources=l.default.sources,x.version="1.3.7",x.imports={delta:a.default,parchment:u.default,"core/module":c.default,"core/theme":v.default},e.expandConfig=w,e.overload=S,e.default=x},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}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(7)),a=s(n(0));function s(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 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 u=function(t){function e(){return l(this,e),c(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,t),r(e,[{key:"formatAt",value:function(t,n,r,i){if(e.compare(this.statics.blotName,r)<0&&a.default.query(r,a.default.Scope.BLOT)){var s=this.isolate(t,n);i&&s.wrap(r,i)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,i)}},{key:"optimize",value:function(t){if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),o=e.order.indexOf(n);return r>=0||o>=0?r-o:t===n?0:t<n?-1:1}}]),e}(a.default.Inline);u.allowedChildren=[u,a.default.Embed,i.default],u.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(0);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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=function(t){function e(){return i(this,e),a(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,t),e}(((r=o)&&r.__esModule?r:{default:r}).default.Text);e.default=s},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}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=a(n(54));function a(t){return t&&t.__esModule?t:{default:t}}var s=(0,a(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(t){document.addEventListener(t,(function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)}))}))}));var l=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=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 t.listeners={},t.on("error",s.error),t}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,t),r(e,[{key:"emit",value:function(){s.log.apply(s,arguments),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",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];(this.listeners[t.type]||[]).forEach((function(e){var r=e.node,o=e.handler;(t.target===r||r.contains(t.target))&&o.apply(void 0,[t].concat(n))}))}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(i.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},e.default=l},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var o=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,t),this.quill=e,this.options=n};o.DEFAULTS={},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["error","warn","log","info"],o="warn";function i(t){if(r.indexOf(t)<=r.indexOf(o)){for(var e,n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(e=console)[t].apply(e,i)}}function a(t){return r.reduce((function(e,n){return e[n]=i.bind(console,n,t),e}),{})}i.level=a.level=function(t){o=t},e.default=a},function(t,e,n){var r=Array.prototype.slice,o=n(52),i=n(53),a=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var c,u;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(i(t))return!!i(e)&&(t=r.call(t),e=r.call(e),a(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(c=0;c<t.length;c++)if(t[c]!==e[c])return!1;return!0}try{var d=o(t),f=o(e)}catch(p){return!1}if(d.length!=f.length)return!1;for(d.sort(),f.sort(),c=d.length-1;c>=0;c--)if(d[c]!=f[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!a(t[u],e[u],n))return!1;return typeof t===typeof e}(t,e,n))};function s(t){return null===t||void 0===t}function l(t){return!(!t||"object"!==typeof t||"number"!==typeof t.length)&&"function"===typeof t.copy&&"function"===typeof t.slice&&!(t.length>0&&"number"!==typeof t[0])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,(function(t){return t.name}))},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(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)}var v=function(t){function e(){return f(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),e}(c.default);v.blotName="code",v.tagName="CODE";var g=function(t){function e(){return f(this,e),p(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return h(e,t),o(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce((function(e,n){return e.insert(n).insert("\n",t.formats())}),new a.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var o=this.descendant(u.default,this.length()-1),a=r(o,1)[0];null!=a&&a.deleteAt(a.length()-1,1),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,r,o){if(0!==n&&null!=s.default.query(r,s.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(t);if(!(i<0||i>=t+n)){var a=this.newlineIndex(t,!0)+1,l=i-a+1,c=this.isolate(a,l),u=c.next;c.format(r,o),u instanceof e&&u.formatAt(0,t-a+n-l,r,o)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var o=this.descendant(u.default,t),i=r(o,2),a=i[0],s=i[1];a.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var n=this.domNode.textContent.slice(t).indexOf("\n");return n>-1?t+n:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()}))}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(l.default);g.blotName="code-block",g.tagName="PRE",g.TAB="  ",e.Code=v,e.default=g},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},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}(),a=m(n(2)),s=m(n(20)),l=m(n(0)),c=m(n(13)),u=m(n(24)),d=n(4),f=m(d),p=m(n(16)),h=m(n(21)),v=m(n(11)),g=m(n(3));function m(t){return t&&t.__esModule?t:{default:t}}var b=/^[ -~]*$/,y=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this.delta=this.getDelta()}return i(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),(t=function(t){return t.reduce((function(t,e){if(1===e.insert){var n=(0,h.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,h.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var r=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(r,e.attributes)}return t.push(e)}),new a.default)}(t)).reduce((function(t,a){var c=a.retain||a.delete||a.insert.length||1,u=a.attributes||{};if(null!=a.insert){if("string"===typeof a.insert){var p=a.insert;p.endsWith("\n")&&n&&(n=!1,p=p.slice(0,-1)),t>=i&&!p.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,p);var h=e.scroll.line(t),v=o(h,2),m=v[0],b=v[1],y=(0,g.default)({},(0,d.bubbleFormats)(m));if(m instanceof f.default){var x=m.descendant(l.default.Leaf,b),w=o(x,1)[0];y=(0,g.default)(y,(0,d.bubbleFormats)(w))}u=s.default.attributes.diff(y,u)||{}}else if("object"===r(a.insert)){var O=Object.keys(a.insert)[0];if(null==O)return t;e.scroll.insertAt(t,O,a.insert[O])}i+=c}return Object.keys(u).forEach((function(n){e.scroll.formatAt(t,c,n,u[n])})),t+c}),0),t.reduce((function(t,n){return"number"===typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new a.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(t,Math.max(e,1)),a=e;i.forEach((function(e){var i=e.length();if(e instanceof c.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+a)-s+1;e.formatAt(s,l,o,r[o])}else e.format(o,r[o]);a-=i}))}})),this.scroll.optimize(),this.update((new a.default).retain(t).retain(e,(0,h.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(o){n.scroll.formatAt(t,e,o,r[o])})),this.update((new a.default).retain(t).retain(e,(0,h.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(t,e){return t.concat(e.delta())}),new a.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach((function(t){var e=o(t,1)[0];e instanceof f.default?n.push(e):e instanceof l.default.Leaf&&r.push(e)})):(n=this.scroll.lines(t,e),r=this.scroll.descendants(l.default.Leaf,t,e));var i=[n,r].map((function(t){if(0===t.length)return{};for(var e=(0,d.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=x((0,d.bubbleFormats)(n),e)}return e}));return g.default.apply(g.default,i)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter((function(t){return"string"===typeof t.insert})).map((function(t){return t.insert})).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new a.default).retain(t).insert(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,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach((function(o){n.scroll.formatAt(t,e.length,o,r[o])})),this.update((new a.default).retain(t).insert(e,(0,h.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===f.default.blotName&&!(t.children.length>1)&&t.children.head instanceof p.default}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),i=o(r,2),s=i[0],l=i[1],u=0,d=new a.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var f=this.getContents(t,e+u).diff((new a.default).insert(n).concat(d)),p=(new a.default).retain(t).concat(f);return this.applyDelta(p)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(b)&&l.default.find(e[0].target)){var o=l.default.find(e[0].target),i=(0,d.bubbleFormats)(o),s=o.offset(this.scroll),c=e[0].oldValue.replace(u.default.CONTENTS,""),f=(new a.default).insert(c),p=(new a.default).insert(o.value()),h=(new a.default).retain(s).concat(f.diff(p,n));t=h.reduce((function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)}),new a.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,v.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();function x(t,e){return Object.keys(e).reduce((function(n,r){return null==t[r]||(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]]),n}),{})}e.default=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}(),i=c(n(0)),a=c(n(21)),s=c(n(11)),l=c(n(8));function c(t){return t&&t.__esModule?t:{default:t}}function u(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 d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=(0,c(n(10)).default)("quill:selection"),p=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,t),this.index=e,this.length=n},h=function(){function t(e,n){var r=this;d(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(t,e){t===l.default.events.TEXT_CHANGE&&e.length()>0&&r.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(e){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(t,e){if(e.range){var n=e.range,o=n.startNode,i=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(o,i,a,s)}})),this.update(l.default.sources.SILENT)}return o(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",(function(){t.composing=!0})),this.root.addEventListener("compositionend",(function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout((function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,(function(){t.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){t.mouseDown=!1,t.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(t,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=i.default.find(n.start.node,!1);if(null==r)return;if(r instanceof i.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var o=void 0,i=this.scroll.leaf(t),a=r(i,2),s=a[0],l=a[1];if(null==s)return null;var c=s.position(l,!0),u=r(c,2);o=u[0],l=u[1];var d=document.createRange();if(e>0){d.setStart(o,l);var f=this.scroll.leaf(t+e),p=r(f,2);if(s=p[0],l=p[1],null==s)return null;var h=s.position(l,!0),v=r(h,2);return o=v[0],l=v[1],d.setEnd(o,l),d.getBoundingClientRect()}var g="left",m=void 0;return o instanceof Text?(l<o.data.length?(d.setStart(o,l),d.setEnd(o,l+1)):(d.setStart(o,l-1),d.setEnd(o,l),g="right"),m=d.getBoundingClientRect()):(m=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:m.top+m.height,height:m.height,left:m[g],right:m[g],top:m.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return f.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var o=n.map((function(t){var n=r(t,2),o=n[0],a=n[1],s=i.default.find(o,!0),l=s.offset(e.scroll);return 0===a?l:s instanceof i.default.Container?l+s.length():l+s.index(o,a)})),a=Math.min(Math.max.apply(Math,u(o)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(u(o)));return new p(s,a-s)}},{key:"normalizeNative",value:function(t){if(!v(this.root,t.startContainer)||!t.collapsed&&!v(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach((function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n})),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],o=[],i=this.scroll.length();return n.forEach((function(t,n){t=Math.min(i-1,t);var a,s=e.scroll.leaf(t),l=r(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),f=r(d,2);a=f[0],u=f[1],o.push(a,u)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(e.index,o)),a=r(i,1)[0],s=a;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,o));s=r(l,1)[0]}if(null!=a&&null!=s){var c=t.getBoundingClientRect();n.top<c.top?t.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(f.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||t!==a.startContainer||e!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,r),i.removeAllRanges(),i.addRange(s)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"===typeof e&&(n=e,e=!1),f.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,u(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.lastRange,n=this.getRange(),o=r(n,2),i=o[0],c=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(e,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,f=[l.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(e),t];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(f)),t!==l.default.sources.SILENT&&(d=this.emitter).emit.apply(d,f)}}}]),t}();function v(t,e){try{e.parentNode}catch(n){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=p,e.default=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 c=function(t){function e(){return s(this,e),l(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,t),o(e,[{key:"insertInto",value:function(t,n){0===t.children.length?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default.Embed);c.blotName="break",c.tagName="BR",e.default=c},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(44),i=n(30),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return r(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach((function(t){t.attach()}))},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(e){try{var n=l(e);t.insertBefore(n,t.children.head||void 0)}catch(r){if(r instanceof a.ParchmentError)return;throw r}}))},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,(function(t,e,n){t.deleteAt(e,n)}))},e.prototype.descendant=function(t,n){var r=this.children.find(n),o=r[0],i=r[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,(function(n,r,a){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&o.push(n),n instanceof e&&(o=o.concat(n.descendants(t,r,i))),i-=a})),o},e.prototype.detach=function(){this.children.forEach((function(t){t.detach()})),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,(function(t,e,o){t.formatAt(e,o,n,r)}))},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),o=r[0],i=r[1];if(o)o.insertAt(i,e,n);else{var s=null==n?a.create("text",e):a.create(e,n);this.appendChild(s)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(e){return t instanceof e})))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce((function(t,e){return t+e.length()}),0)},e.prototype.moveChildren=function(t,e){this.children.forEach((function(n){t.insertBefore(n,e)}))},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),o=r[0],i=r[1],a=[[this,t]];return o instanceof e?a.concat(o.path(i,n)):(null!=o&&a.push([o,i]),a)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),(function(t,r,o){t=t.split(r,e),n.appendChild(t)})),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,r=[],o=[];t.forEach((function(t){t.target===n.domNode&&"childList"===t.type&&(r.push.apply(r,t.addedNodes),o.push.apply(o,t.removedNodes))})),o.forEach((function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}})),r.filter((function(t){return t.parentNode==n.domNode})).sort((function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var r=l(t);r.next==e&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,e||void 0))}))},e}(i.default);function l(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(n){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach((function(t){e.domNode.appendChild(t)})),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(12),i=n(31),a=n(17),s=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=s.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some((function(t){return t.target===r.domNode&&"attributes"===t.type}))&&this.attributes.build()},e.prototype.wrap=function(n,r){var o=t.prototype.wrap.call(this,n,r);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(30),i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=a},function(t,e,n){var r=n(11),o=n(3),i={attributes:{compose:function(t,e,n){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var r=o(!0,{},e);for(var i in n||(r=Object.keys(r).reduce((function(t,e){return null!=r[e]&&(t[e]=r[e]),t}),{})),t)void 0!==t[i]&&void 0===e[i]&&(r[i]=t[i]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce((function(n,o){return r(t[o],e[o])||(n[o]=void 0===e[o]?null:e[o]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!==typeof t)return e;if("object"===typeof e){if(!n)return e;var r=Object.keys(e).reduce((function(n,r){return void 0===t[r]&&(n[r]=e[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new a(t)},length:function(t){return"number"===typeof t.delete?t.delete:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function a(t){this.ops=t,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=i.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"===typeof e.retain?o.retain=t:"string"===typeof e.insert?o.insert=e.insert.substr(n,t):o.insert=e.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index].delete?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=i},function(t,n){var r=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var n,r,o;try{n=Map}catch(l){n=function(){}}try{r=Set}catch(l){r=function(){}}try{o=Promise}catch(l){o=function(){}}function i(a,l,c,u,d){"object"===typeof l&&(c=l.depth,u=l.prototype,d=l.includeNonEnumerable,l=l.circular);var f=[],p=[],h="undefined"!=typeof e;return"undefined"==typeof l&&(l=!0),"undefined"==typeof c&&(c=1/0),function a(c,v){if(null===c)return null;if(0===v)return c;var g,m;if("object"!=typeof c)return c;if(t(c,n))g=new n;else if(t(c,r))g=new r;else if(t(c,o))g=new o((function(t,e){c.then((function(e){t(a(e,v-1))}),(function(t){e(a(t,v-1))}))}));else if(i.__isArray(c))g=[];else if(i.__isRegExp(c))g=new RegExp(c.source,s(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(i.__isDate(c))g=new Date(c.getTime());else{if(h&&e.isBuffer(c))return g=e.allocUnsafe?e.allocUnsafe(c.length):new e(c.length),c.copy(g),g;t(c,Error)?g=Object.create(c):"undefined"==typeof u?(m=Object.getPrototypeOf(c),g=Object.create(m)):(g=Object.create(u),m=u)}if(l){var b=f.indexOf(c);if(-1!=b)return p[b];f.push(c),p.push(g)}for(var y in t(c,n)&&c.forEach((function(t,e){var n=a(e,v-1),r=a(t,v-1);g.set(n,r)})),t(c,r)&&c.forEach((function(t){var e=a(t,v-1);g.add(e)})),c){var x;m&&(x=Object.getOwnPropertyDescriptor(m,y)),x&&null==x.set||(g[y]=a(c[y],v-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(c);for(y=0;y<w.length;y++){var O=w[y];(!(j=Object.getOwnPropertyDescriptor(c,O))||j.enumerable||d)&&(g[O]=a(c[O],v-1),j.enumerable||Object.defineProperty(g,O,{enumerable:!1}))}}if(d){var S=Object.getOwnPropertyNames(c);for(y=0;y<S.length;y++){var j,C=S[y];(j=Object.getOwnPropertyDescriptor(c,C))&&j.enumerable||(g[C]=a(c[C],v-1),Object.defineProperty(g,C,{enumerable:!1}))}}return g}(a,c)}function a(t){return Object.prototype.toString.call(t)}function s(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return i.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},i.__objToStr=a,i.__isDate=function(t){return"object"===typeof t&&"[object Date]"===a(t)},i.__isArray=function(t){return"object"===typeof t&&"[object Array]"===a(t)},i.__isRegExp=function(t){return"object"===typeof t&&"[object RegExp]"===a(t)},i.__getRegExpFlags=s,i}();"object"===typeof t&&t.exports&&(t.exports=r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=p(n(0)),s=p(n(8)),l=n(4),c=p(l),u=p(n(16)),d=p(n(13)),f=p(n(25));function p(t){return t&&t.__esModule?t:{default:t}}function h(t){return t instanceof c.default||t instanceof l.BlockEmbed}var v=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,t));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce((function(t,e){return t[e]=!0,t}),{})),r.domNode.addEventListener("DOMNodeInserted",(function(){})),r.optimize(),r.enable(),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,t),o(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var o=this.line(t),a=r(o,2),s=a[0],c=a[1],f=this.line(t+n),p=r(f,1)[0];if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=p&&s!==p&&c>0){if(s instanceof l.BlockEmbed||p instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var h=s.newlineIndex(s.length(),!0);if(h>-1&&(s=s.split(h+1))===p)return void this.optimize()}else if(p instanceof d.default){var v=p.newlineIndex(0);v>-1&&p.split(v+1)}var g=p.children.head instanceof u.default?null:p.children.head;s.moveChildren(p,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,o){(null==this.whitelist||this.whitelist[r])&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==a.default.query(n,a.default.Scope.BLOCK)){var o=a.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var s=a.default.create(n,r);this.appendChild(s)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===a.default.Scope.INLINE_BLOT){var r=a.default.create(this.statics.defaultChild);r.appendChild(t),t=r}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(h,t)}},{key:"lines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function t(e,n,r){var o=[],i=r;return e.children.forEachAt(n,r,(function(e,n,r){h(e)?o.push(e):e instanceof a.default.Container&&(o=o.concat(t(e,n,i))),i-=r})),o};return n(this,t,e)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=s.default.sources.USER;"string"===typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,t),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,t)}}}]),e}(a.default.Scroll);v.blotName="scroll",v.className="ql-editor",v.tagName="DIV",v.defaultChild="block",v.allowedChildren=[c.default,l.BlockEmbed,f.default],e.default=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 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},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}(),a=v(n(21)),s=v(n(11)),l=v(n(3)),c=v(n(2)),u=v(n(20)),d=v(n(0)),f=v(n(5)),p=v(n(10)),h=v(n(9));function v(t){return t&&t.__esModule?t:{default: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 m=(0,p.default)("quill:keyboard"),b=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",y=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,t,n));return r.bindings={},Object.keys(r.options.bindings).forEach((function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&r.options.bindings[e]&&r.addBinding(r.options.bindings[e])})),r.addBinding({key:e.keys.ENTER,shiftKey:null},j),r.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},w),r.addBinding({key:e.keys.DELETE},{collapsed:!0},O)):(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},w),r.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},O)),r.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},S),r.addBinding({key:e.keys.DELETE},{collapsed:!1},S),r.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},w),r.listen(),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,t),i(e,null,[{key:"match",value:function(t,e){return e=E(e),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!e[n]!==t[n]&&null!==e[n]}))&&e.key===(t.which||t.keyCode)}}]),i(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=E(t);if(null==r||null==r.key)return m.warn("Attempted to add invalid keyboard binding",r);"function"===typeof e&&(e={handler:e}),"function"===typeof n&&(n={handler:n}),r=(0,l.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,a=(t.bindings[i]||[]).filter((function(t){return e.match(n,t)}));if(0!==a.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var c=t.quill.getLine(l.index),u=o(c,2),f=u[0],p=u[1],h=t.quill.getLeaf(l.index),v=o(h,2),g=v[0],m=v[1],b=0===l.length?[g,m]:t.quill.getLeaf(l.index+l.length),y=o(b,2),x=y[0],w=y[1],O=g instanceof d.default.Text?g.value().slice(0,m):"",S=x instanceof d.default.Text?x.value().slice(w):"",j={collapsed:0===l.length,empty:0===l.length&&f.length()<=1,format:t.quill.getFormat(l),offset:p,prefix:O,suffix:S};a.some((function(e){if(null!=e.collapsed&&e.collapsed!==j.collapsed)return!1;if(null!=e.empty&&e.empty!==j.empty)return!1;if(null!=e.offset&&e.offset!==j.offset)return!1;if(Array.isArray(e.format)){if(e.format.every((function(t){return null==j.format[t]})))return!1}else if("object"===r(e.format)&&!Object.keys(e.format).every((function(t){return!0===e.format[t]?null!=j.format[t]:!1===e.format[t]?null==j.format[t]:(0,s.default)(e.format[t],j.format[t])})))return!1;return!(null!=e.prefix&&!e.prefix.test(j.prefix))&&!(null!=e.suffix&&!e.suffix.test(j.suffix))&&!0!==e.handler.call(t,l,j)}))&&n.preventDefault()}}}}))}}]),e}(h.default);function x(t,e){var n,r=t===y.keys.LEFT?"prefix":"suffix";return g(n={key:t,shiftKey:e,altKey:null},r,/^$/),g(n,"handler",(function(n){var r=n.index;t===y.keys.RIGHT&&(r+=n.length+1);var i=this.quill.getLeaf(r);return!(o(i,1)[0]instanceof d.default.Embed)||(t===y.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,f.default.sources.USER):this.quill.setSelection(n.index-1,f.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,f.default.sources.USER):this.quill.setSelection(n.index+n.length+1,f.default.sources.USER),!1)})),n}function w(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=o(n,1)[0],i={};if(0===e.offset){var a=this.quill.getLine(t.index-1),s=o(a,1)[0];if(null!=s&&s.length()>1){var l=r.formats(),c=this.quill.getFormat(t.index-1,1);i=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-d,d,f.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index-d,d,i,f.default.sources.USER),this.quill.focus()}}function O(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},i=0,a=this.quill.getLine(t.index),s=o(a,1)[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),c=o(l,1)[0];if(c){var d=s.formats(),p=this.quill.getFormat(t.index,1);r=u.default.attributes.diff(d,p)||{},i=c.length()}}this.quill.deleteText(t.index,n,f.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+i-1,n,r,f.default.sources.USER)}}function S(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),o=e[e.length-1].formats();n=u.default.attributes.diff(o,r)||{}}this.quill.deleteText(t,f.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,f.default.sources.USER),this.quill.setSelection(t.index,f.default.sources.SILENT),this.quill.focus()}function j(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce((function(t,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t}),{});this.quill.insertText(t.index,"\n",r,f.default.sources.USER),this.quill.setSelection(t.index+1,f.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach((function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],f.default.sources.USER))}))}function C(t){return{key:y.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=d.default.query("code-block"),r=e.index,i=e.length,a=this.quill.scroll.descendant(n,r),s=o(a,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),p=l.newlineIndex(c,!0)+1,h=l.newlineIndex(u+c+i),v=l.domNode.textContent.slice(p,h).split("\n");c=0,v.forEach((function(e,o){t?(l.insertAt(p+c,n.TAB),c+=n.TAB.length,0===o?r+=n.TAB.length:i+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(p+c,n.TAB.length),c-=n.TAB.length,0===o?r-=n.TAB.length:i-=n.TAB.length),c+=e.length+1})),this.quill.update(f.default.sources.USER),this.quill.setSelection(r,i,f.default.sources.SILENT)}}}}function k(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],f.default.sources.USER)}}}function E(t){if("string"===typeof t||"number"===typeof t)return E({key:t});if("object"===("undefined"===typeof t?"undefined":r(t))&&(t=(0,a.default)(t,!1)),"string"===typeof t.key)if(null!=y.keys[t.key.toUpperCase()])t.key=y.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[b]=t.shortKey,delete t.shortKey),t}y.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},y.DEFAULTS={bindings:{bold:k("bold"),italic:k("italic"),underline:k("underline"),indent:{key:y.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",f.default.sources.USER)}},outdent:{key:y.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",f.default.sources.USER)}},"outdent backspace":{key:y.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",f.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,f.default.sources.USER)}},"indent code-block":C(!0),"outdent code-block":C(!1),"remove tab":{key:y.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,f.default.sources.USER)}},tab:{key:y.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new c.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,f.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,f.default.sources.SILENT)}},"list empty enter":{key:y.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,f.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,f.default.sources.USER)}},"checklist enter":{key:y.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=o(e,2),r=n[0],i=n[1],a=(0,l.default)({},r.formats(),{list:"checked"}),s=(new c.default).retain(t.index).insert("\n",a).retain(r.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,f.default.sources.USER),this.quill.setSelection(t.index+1,f.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:y.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=o(n,2),i=r[0],a=r[1],s=(new c.default).retain(t.index).insert("\n",e.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,f.default.sources.USER),this.quill.setSelection(t.index+1,f.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),i=o(r,2),a=i[0],s=i[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",f.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(t.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,f.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,f.default.sources.SILENT)}},"code exit":{key:y.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=o(e,2),r=n[0],i=n[1],a=(new c.default).retain(t.index+r.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,f.default.sources.USER)}},"embed left":x(y.keys.LEFT,!1),"embed left shift":x(y.keys.LEFT,!0),"embed right":x(y.keys.RIGHT,!1),"embed right shift":x(y.keys.RIGHT,!0)}},e.default=y,e.SHORTKEY=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},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}}(),a=l(n(0)),s=l(n(7));function l(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,t));return r.selection=n,r.textNode=document.createTextNode(e.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,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,t),i(e,null,[{key:"value",value:function(){}}]),i(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var r=this,i=0;null!=r&&r.statics.scope!==a.default.Scope.BLOCK_BLOT;)i+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=e.CONTENTS.length,r.optimize(),r.formatAt(i,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),o=void 0,i=void 0,l=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var c=[t,n.start.offset,n.end.offset];o=c[0],i=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var u=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof s.default?(o=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=e.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var d=[i,l].map((function(t){return Math.max(0,Math.min(o.data.length,t-1))})),f=r(d,2);return i=f[0],l=f[1],{startNode:o,startOffset:i,endNode:o,endOffset:l}}}}},{key:"update",value:function(t,e){var n=this;if(t.some((function(t){return"characterData"===t.type&&t.target===n.textNode}))){var r=this.restore();r&&(e.range=r)}}},{key:"value",value:function(){return""}}]),e}(a.default.Embed);c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),o=n(4),i=a(o);function a(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 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 c=function(t){function e(){return s(this,e),l(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,t),e}(r.default.Container);c.allowedChildren=[i.default,o.BlockEmbed,c],e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};function l(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}var u=function(t){function e(){return l(this,e),c(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,t),o(e,[{key:"value",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(t){return("00"+parseInt(t).toString(16)).slice(-2)})).join("")):n}}]),e}(s.default.Attributor.Style),d=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),f=new u("color","color",{scope:s.default.Scope.INLINE});e.ColorAttributor=u,e.ColorClass=d,e.ColorStyle=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 c=function(t){function e(){return s(this,e),l(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,t),o(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return u(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);function u(t,e){var n=document.createElement("a");n.href=t;var r=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(r)>-1}c.blotName="link",c.tagName="A",c.SANITIZED_URL="about:blank",c.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=c,e.sanitize=u},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},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}}(),i=s(n(23)),a=s(n(107));function s(t){return t&&t.__esModule?t:{default:t}}var l=0;function c(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var u=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(t){switch(t.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),t.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return o(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",(function(){e.selectItem(n,!0)})),n.addEventListener("keydown",(function(t){switch(t.keyCode){case i.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case i.default.keys.ESCAPE:e.escape(),t.preventDefault()}})),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=a.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach((function(n){var r=t.buildItem(n);e.appendChild(r),!0===n.selected&&t.selectItem(r)})),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach((function(e){t.container.setAttribute(e.name,e.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout((function(){return t.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=m(n(0)),o=m(n(5)),i=n(4),a=m(i),s=m(n(16)),l=m(n(25)),c=m(n(24)),u=m(n(35)),d=m(n(6)),f=m(n(22)),p=m(n(7)),h=m(n(55)),v=m(n(42)),g=m(n(23));function m(t){return t&&t.__esModule?t:{default:t}}o.default.register({"blots/block":a.default,"blots/block/embed":i.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":f.default,"blots/text":p.default,"modules/clipboard":h.default,"modules/history":v.default,"modules/keyboard":g.default}),r.default.register(a.default,s.default,c.default,d.default,f.default,p.default),e.default=o.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,o){var i=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);i.wrap(a),a.format(n,o)}},t.prototype.insertAt=function(t,e,n){var o=null==n?r.create("text",e):r.create(e,n),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"===typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"===typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),o=n(32),i=n(33),a=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=o.default.keys(this.domNode),s=i.default.keys(this.domNode);e.concat(n).concat(s).forEach((function(e){var n=a.query(e,a.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)}))},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach((function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)}))},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach((function(t){e.attributes[t].remove(e.domNode)})),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce((function(e,n){return e[n]=t.attributes[n].value(t.domNode),e}),{})},t}();e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function o(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter((function(t){return 0===t.indexOf(e+"-")}))}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map((function(t){return t.split("-").slice(0,-1).join("-")}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){o(t,this.keyName).forEach((function(e){t.classList.remove(e)})),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(o(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function o(t){var e=t.split("-"),n=e.slice(1).map((function(t){return t[0].toUpperCase()+t.slice(1)})).join("");return e[0]+n}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map((function(t){return t.split(":")[0].trim()}))},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[o(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[o(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[o(this.keyName)];return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=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}}(),o=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.options=n,this.modules={}}return r(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach((function(e){null==t.modules[e]&&t.addModule(e)}))}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();o.DEFAULTS={modules:{}},o.themes={default:o},e.default=o},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}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(0)),a=s(n(7));function s(t){return t&&t.__esModule?t:{default:t}}var l="\ufeff",c=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.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(t){n.contentNode.appendChild(t)})),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),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,t),r(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,r=t.data.split(l).join("");if(t===this.leftGuard)if(this.prev instanceof a.default){var o=this.prev.length();this.prev.insertAt(o,r),e={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),e={startNode:n,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof a.default?(this.next.insertAt(0,r),e={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),e={startNode:n,startOffset:r.length}));return t.data=l,e}},{key:"update",value:function(t,e){var n=this;t.forEach((function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}}))}}]),e}(i.default.Embed);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new i.default.Attributor.Attribute("align","align",a),l=new i.default.Attributor.Class("align","ql-align",a),c=new i.default.Attributor.Style("align","text-align",a);e.AlignAttribute=s,e.AlignClass=l,e.AlignStyle=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=n(26),s=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),l=new a.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});e.BackgroundClass=s,e.BackgroundStyle=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},s=new i.default.Attributor.Attribute("direction","dir",a),l=new i.default.Attributor.Class("direction","ql-direction",a),c=new i.default.Attributor.Style("direction","direction",a);e.DirectionAttribute=s,e.DirectionClass=l,e.DirectionStyle=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};function l(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}var u={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new s.default.Attributor.Class("font","ql-font",u),f=function(t){function e(){return l(this,e),c(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,t),o(e,[{key:"value",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(s.default.Attributor.Style),p=new f("font","font-family",u);e.FontStyle=p,e.FontClass=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=a,e.SizeStyle=s},function(t,e,n){"use strict";t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=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}}(),o=a(n(0)),i=a(n(5));function a(t){return t&&t.__esModule?t:{default:t}}var s=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,t,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(i.default.events.EDITOR_CHANGE,(function(t,e,n,o){t!==i.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==i.default.sources.USER?r.transform(e):r.record(e,n))})),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),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,t),r(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],i.default.sources.USER),this.ignoreChange=!1;var r=l(n[t]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})),this.stack.redo.forEach((function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(a(n(9)).default);function l(t){var e=t.reduce((function(t,e){return t+=e.delete||0}),0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"===typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some((function(t){return null!=o.default.query(t,o.default.Scope.BLOCK)})))}(t)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=s,e.getLastChangeIndex=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=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}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=h(n(3)),a=h(n(2)),s=h(n(8)),l=h(n(23)),c=h(n(34)),u=h(n(59)),d=h(n(60)),f=h(n(28)),p=h(n(61));function h(t){return t&&t.__esModule?t:{default:t}}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(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 m(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 b=[!1,"center","right","justify"],y=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],x=[!1,"serif","monospace"],w=["1","2","3",!1],O=["small",!1,"large","huge"],S=function(t){function e(t,n){v(this,e);var r=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM("click",document.body,(function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach((function(t){t.container.contains(n.target)||t.close()}))})),r}return m(e,t),r(e,[{key:"addModule",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach((function(t){(t.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"===typeof e[n])t.innerHTML=e[n];else{var r=t.value||"";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}}))}))}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map((function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&C(t,b),new d.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&C(t,y,"background"===n?"#ffffff":"#000000"),new u.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?C(t,x):t.classList.contains("ql-header")?C(t,w):t.classList.contains("ql-size")&&C(t,O)),new f.default(t)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(t){t.update()}))}))}}]),e}(c.default);S.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",(function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new a.default).retain(r.index).delete(r.length).insert({image:n.target.result}),s.default.sources.USER),t.quill.setSelection(r.index+1,s.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}})),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var j=function(t){function e(t,n){v(this,e);var r=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return m(e,t),r(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",(function(e){l.default.match(e,"enter")?(t.save(),e.preventDefault()):l.default.match(e,"escape")&&(t.cancel(),e.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,s.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=function(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",s.default.sources.USER),this.quill.setSelection(r+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(p.default);function C(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach((function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)}))}e.BaseTooltip=j,e.default=S},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(t<o||e&&t===o&&(null==n.next||0!==n.next.length()))return[n,t];t-=o}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var r,o=this.find(t),i=o[0],a=t-o[1],s=this.iterator(i);(r=s())&&a<t+e;){var l=r.length();t>a?n(r,t-a,Math.min(e,a+l-t)):n(r,0,Math.min(l,t+e-a)),a+=l}},t.prototype.map=function(t){return this.reduce((function(e,n){return e.push(t(n)),e}),[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver((function(t){n.update(t)})),n.observer.observe(n.domNode,a),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach((function(t){t.remove()})):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,o){this.update(),t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var a=[].slice.call(this.observer.takeRecords());a.length>0;)e.push(a.pop());for(var s=function t(e,n){void 0===n&&(n=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[i.DATA_KEY].mutations&&(e.domNode[i.DATA_KEY].mutations=[]),n&&t(e.parent))},l=function t(e){null!=e.domNode[i.DATA_KEY]&&null!=e.domNode[i.DATA_KEY].mutations&&(e instanceof o.default&&e.children.forEach(t),e.optimize(n))},c=e,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach((function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,(function(t){var e=i.find(t,!1);s(e,!1),e instanceof o.default&&e.children.forEach((function(t){s(t,!1)}))}))):"attributes"===t.type&&s(e.prev)),s(e))})),this.children.forEach(l),a=(c=[].slice.call(this.observer.takeRecords())).slice();a.length>0;)e.push(a.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map((function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)})).forEach((function(t){null!=t&&t!==r&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)})),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var i=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach((function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),i.attributes.copy(t)})),this.unwrap())},e.prototype.formatAt=function(e,n,r,o){null!=this.formats()[r]||i.query(r,i.Scope.ATTRIBUTE)?this.isolate(e,n).format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var o=this.next;o instanceof e&&o.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(r,o.formats())&&(o.moveChildren(this),o.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(o.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=i.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var o=this.split(e),a=i.create(n,r);o.parent.insertBefore(a,o)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,o){0===e&&n===this.length()?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(n(19).default);e.default=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=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])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),a=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some((function(t){return"characterData"===t.type&&t.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=a},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(e=n[i],t.call(o,e,i,n))return e}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(t,e){var n=-1;function r(t,e,l){if(t==e)return t?[[0,t]]:[];(l<0||t.length<l)&&(l=null);var u=i(t,e),d=t.substring(0,u);u=a(t=t.substring(u),e=e.substring(u));var f=t.substring(t.length-u),p=function(t,e){var s;if(!t)return[[1,e]];if(!e)return[[n,t]];var l=t.length>e.length?t:e,c=t.length>e.length?e:t,u=l.indexOf(c);if(-1!=u)return s=[[1,l.substring(0,u)],[0,c],[1,l.substring(u+c.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==c.length)return[[n,t],[1,e]];var d=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function o(t,e,n){for(var r,o,s,l,c=t.substring(n,n+Math.floor(t.length/4)),u=-1,d="";-1!=(u=e.indexOf(c,u+1));){var f=i(t.substring(n),e.substring(u)),p=a(t.substring(0,n),e.substring(0,u));d.length<p+f&&(d=e.substring(u-p,u)+e.substring(u,u+f),r=t.substring(0,n-p),o=t.substring(n+f),s=e.substring(0,u-p),l=e.substring(u+f))}return 2*d.length>=t.length?[r,o,s,l,d]:null}var s,l,c,u,d,f=o(n,r,Math.ceil(n.length/4)),p=o(n,r,Math.ceil(n.length/2));if(!f&&!p)return null;s=p?f&&f[4].length>p[4].length?f:p:f,t.length>e.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]);var h=s[4];return[l,c,u,d,h]}(t,e);if(d){var f=d[0],p=d[1],h=d[2],v=d[3],g=d[4],m=r(f,h),b=r(p,v);return m.concat([[0,g]],b)}return function(t,e){for(var r=t.length,i=e.length,a=Math.ceil((r+i)/2),s=a,l=2*a,c=new Array(l),u=new Array(l),d=0;d<l;d++)c[d]=-1,u[d]=-1;c[s+1]=0,u[s+1]=0;for(var f=r-i,p=f%2!=0,h=0,v=0,g=0,m=0,b=0;b<a;b++){for(var y=-b+h;y<=b-v;y+=2){for(var x=s+y,w=(k=y==-b||y!=b&&c[x-1]<c[x+1]?c[x+1]:c[x-1]+1)-y;k<r&&w<i&&t.charAt(k)==e.charAt(w);)k++,w++;if(c[x]=k,k>r)v+=2;else if(w>i)h+=2;else if(p&&(j=s+f-y)>=0&&j<l&&-1!=u[j]&&k>=(S=r-u[j]))return o(t,e,k,w)}for(var O=-b+g;O<=b-m;O+=2){for(var S,j=s+O,C=(S=O==-b||O!=b&&u[j-1]<u[j+1]?u[j+1]:u[j-1]+1)-O;S<r&&C<i&&t.charAt(r-S-1)==e.charAt(i-C-1);)S++,C++;if(u[j]=S,S>r)m+=2;else if(C>i)g+=2;else if(!p){var k;if((x=s+f-O)>=0&&x<l&&-1!=c[x])if(w=s+(k=c[x])-x,k>=(S=r-S))return o(t,e,k,w)}}}return[[n,t],[1,e]]}(t,e)}(t=t.substring(0,t.length-u),e=e.substring(0,e.length-u));return d&&p.unshift([0,d]),f&&p.push([0,f]),s(p),null!=l&&(p=function(t,e){var r=function(t,e){if(0===e)return[0,t];for(var r=0,o=0;o<t.length;o++){var i=t[o];if(i[0]===n||0===i[0]){var a=r+i[1].length;if(e===a)return[o+1,t];if(e<a){t=t.slice();var s=e-r,l=[i[0],i[1].slice(0,s)],c=[i[0],i[1].slice(s)];return t.splice(o,1,l,c),[o+1,t]}r=a}}throw new Error("cursor_pos is out of bounds!")}(t,e),o=r[1],i=r[0],a=o[i],s=o[i+1];if(null==a)return t;if(0!==a[0])return t;if(null!=s&&a[1]+s[1]===s[1]+a[1])return o.splice(i,2,s,a),c(o,i,2);if(null!=s&&0===s[1].indexOf(a[1])){o.splice(i,2,[s[0],a[1]],[0,a[1]]);var l=s[1].slice(a[1].length);return l.length>0&&o.splice(i+2,0,[s[0],l]),c(o,i,3)}return t}(p,l)),p=function(t){for(var e=!1,r=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},o=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},i=2;i<t.length;i+=1)0===t[i-2][0]&&o(t[i-2][1])&&t[i-1][0]===n&&r(t[i-1][1])&&1===t[i][0]&&r(t[i][1])&&(e=!0,t[i-1][1]=t[i-2][1].slice(-1)+t[i-1][1],t[i][1]=t[i-2][1].slice(-1)+t[i][1],t[i-2][1]=t[i-2][1].slice(0,-1));if(!e)return t;var a=[];for(i=0;i<t.length;i+=1)t[i][1].length>0&&a.push(t[i]);return a}(p)}function o(t,e,n,o){var i=t.substring(0,n),a=e.substring(0,o),s=t.substring(n),l=e.substring(o),c=r(i,a),u=r(s,l);return c.concat(u)}function i(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(i,o)==e.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function a(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function s(t){t.push([0,""]);for(var e,r=0,o=0,l=0,c="",u="";r<t.length;)switch(t[r][0]){case 1:l++,u+=t[r][1],r++;break;case n:o++,c+=t[r][1],r++;break;case 0:o+l>1?(0!==o&&0!==l&&(0!==(e=i(u,c))&&(r-o-l>0&&0==t[r-o-l-1][0]?t[r-o-l-1][1]+=u.substring(0,e):(t.splice(0,0,[0,u.substring(0,e)]),r++),u=u.substring(e),c=c.substring(e)),0!==(e=a(u,c))&&(t[r][1]=u.substring(u.length-e)+t[r][1],u=u.substring(0,u.length-e),c=c.substring(0,c.length-e))),0===o?t.splice(r-l,o+l,[1,u]):0===l?t.splice(r-o,o+l,[n,c]):t.splice(r-o-l,o+l,[n,c],[1,u]),r=r-o-l+(o?1:0)+(l?1:0)+1):0!==r&&0==t[r-1][0]?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,l=0,o=0,c="",u=""}""===t[t.length-1][1]&&t.pop();var d=!1;for(r=1;r<t.length-1;)0==t[r-1][0]&&0==t[r+1][0]&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)==t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),d=!0):t[r][1].substring(0,t[r+1][1].length)==t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),d=!0)),r++;d&&s(t)}var l=r;function c(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1<t.length){var o=t[r],i=t[r+1];o[0]===i[1]&&t.splice(r,2,[o[0],o[1]+i[1]])}return t}l.INSERT=1,l.DELETE=n,l.EQUAL=0,t.exports=l},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"===typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?r:o).supported=r,e.unsupported=o},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function o(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),a.prototype.eventNames=function(){var t,e,o=[];if(0===this._eventsCount)return o;for(e in t=this._events)n.call(t,e)&&o.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},a.prototype.listeners=function(t,e){var n=r?r+t:t,o=this._events[n];if(e)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,a=o.length,s=new Array(a);i<a;i++)s[i]=o[i].fn;return s},a.prototype.emit=function(t,e,n,o,i,a){var s=r?r+t:t;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,o),!0;case 5:return u.fn.call(u.context,e,n,o,i),!0;case 6:return u.fn.call(u.context,e,n,o,i,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,n);break;case 4:u[c].fn.call(u[c].context,e,n,o);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},a.prototype.on=function(t,e,n){var o=new i(e,n||this),a=r?r+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.once=function(t,e,n){var o=new i(e,n||this,!0),a=r?r+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.removeListener=function(t,e,n,i){var a=r?r+t:t;if(!this._events[a])return this;if(!e)return 0===--this._eventsCount?this._events=new o:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==e||i&&!s.once||n&&s.context!==n||(0===--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==e||i&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:0===--this._eventsCount?this._events=new o:delete this._events[a]}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&(0===--this._eventsCount?this._events=new o:delete this._events[e])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=r,a.EventEmitter=a,"undefined"!==typeof t&&(t.exports=a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 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},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}(),a=y(n(3)),s=y(n(2)),l=y(n(0)),c=y(n(5)),u=y(n(10)),d=y(n(9)),f=n(36),p=n(37),h=y(n(13)),v=n(26),g=n(38),m=n(39),b=n(40);function y(t){return t&&t.__esModule?t:{default:t}}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=(0,u.default)("quill:clipboard"),O="__ql-matcher",S=[[Node.TEXT_NODE,L],[Node.TEXT_NODE,I],["br",function(t,e){return _(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,I],[Node.ELEMENT_NODE,D],[Node.ELEMENT_NODE,N],[Node.ELEMENT_NODE,R],[Node.ELEMENT_NODE,function(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===P(t).fontStyle&&(n.italic=!0),r.fontWeight&&(P(t).fontWeight.startsWith("bold")||parseInt(P(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=E(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new s.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=l.default.query(t);if(null==n||"list-item"!==n.blotName||!_(e,"\n"))return e;for(var r=-1,o=t.parentNode;!o.classList.contains("ql-clipboard");)"list"===(l.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?e:e.compose((new s.default).retain(e.length()-1).retain(1,{indent:r}))}],["b",A.bind(A,"bold")],["i",A.bind(A,"italic")],["style",function(){return new s.default}]],j=[f.AlignAttribute,g.DirectionAttribute].reduce((function(t,e){return t[e.keyName]=e,t}),{}),C=[f.AlignStyle,p.BackgroundStyle,v.ColorStyle,g.DirectionStyle,m.FontStyle,b.SizeStyle].reduce((function(t,e){return t[e.keyName]=e,t}),{}),k=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,t,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],S.concat(r.options.matchers).forEach((function(t){var e=o(t,2),i=e[0],a=e[1];(n.matchVisual||a!==N)&&r.addMatcher(i,a)})),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,t),i(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"===typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[h.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,x({},h.default.blotName,e[h.default.blotName]))}var r=this.prepareMatching(),i=o(r,2),a=i[0],l=i[1],c=T(this.container,a,l);return _(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),w.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"===typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,c.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new s.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new s.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout((function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,c.default.sources.USER),e.quill.setSelection(r.length()-n.length,c.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach((function(r){var i=o(r,2),a=i[0],s=i[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(a),(function(t){t[O]=t[O]||[],t[O].push(s)}))}})),[e,n]}}]),e}(d.default);function E(t,e,n){return"object"===("undefined"===typeof e?"undefined":r(e))?Object.keys(e).reduce((function(t,n){return E(t,n,e[n])}),t):t.reduce((function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,a.default)({},x({},e,n),r.attributes))}),new s.default)}function P(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function _(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length<e.length;--r){var o=t.ops[r];if("string"!==typeof o.insert)break;n=o.insert+n}return n.slice(-1*e.length)===e}function M(t){if(0===t.childNodes.length)return!1;var e=P(t);return["block","list-item"].indexOf(e.display)>-1}function T(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce((function(e,n){return n(t,e)}),new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],(function(r,o){var i=T(o,e,n);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce((function(t,e){return e(o,t)}),i),i=(o[O]||[]).reduce((function(t,e){return e(o,t)}),i)),r.concat(i)}),new s.default):new s.default}function A(t,e,n){return E(n,t,!0)}function R(t,e){var n=l.default.Attributor.Attribute.keys(t),r=l.default.Attributor.Class.keys(t),o=l.default.Attributor.Style.keys(t),i={};return n.concat(r).concat(o).forEach((function(e){var n=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(t),i[n.attrName])||(null==(n=j[e])||n.attrName!==e&&n.keyName!==e||(i[n.attrName]=n.value(t)||void 0),null==(n=C[e])||n.attrName!==e&&n.keyName!==e||(n=C[e],i[n.attrName]=n.value(t)||void 0))})),Object.keys(i).length>0&&(e=E(e,i)),e}function D(t,e){var n=l.default.query(t);if(null==n)return e;if(n.prototype instanceof l.default.Embed){var r={},o=n.value(t);null!=o&&(r[n.blotName]=o,e=(new s.default).insert(r,n.formats(t)))}else"function"===typeof n.formats&&(e=E(e,n.blotName,n.formats(t)));return e}function I(t,e){return _(e,"\n")||(M(t)||e.length()>0&&t.nextSibling&&M(t.nextSibling))&&e.insert("\n"),e}function N(t,e){if(M(t)&&null!=t.nextElementSibling&&!_(e,"\n\n")){var n=t.offsetHeight+parseFloat(P(t).marginTop)+parseFloat(P(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function L(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!P(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&M(t.parentNode)||null!=t.previousSibling&&M(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&M(t.parentNode)||null!=t.nextSibling&&M(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}k.DEFAULTS={matchers:[],matchVisual:!0},e.default=k,e.matchAttributor=R,e.matchBlot=D,e.matchNewline=I,e.matchSpacing=N,e.matchText=L},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 c=function(t){function e(){return s(this,e),l(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,t),o(e,[{key:"optimize",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);c.blotName="bold",c.tagName=["STRONG","B"],e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}(),i=u(n(2)),a=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}function d(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=(0,l.default)("quill:toolbar"),p=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 o,i=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(i.options.container)){var a=document.createElement("div");v(a,i.options.container),t.container.parentNode.insertBefore(a,t.container),i.container=a}else"string"===typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(t){i.addHandler(t,i.options.handlers[t])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(t){i.attach(t)})),i.quill.on(s.default.events.EDITOR_CHANGE,(function(t,e){t===s.default.events.SELECTION_CHANGE&&i.update(e)})),i.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var t=i.quill.selection.getRange(),e=r(t,1)[0];i.update(e)})),i):(o=f.error("Container required for toolbar",i.options),d(i,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)}(e,t),o(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,(function(t){return 0===t.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void f.warn("ignoring attaching to disabled format",n,t);if(null==a.default.query(n))return void f.warn("ignoring attaching to nonexistent format",n,t)}var o="SELECT"===t.tagName?"change":"click";t.addEventListener(o,(function(o){var l=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var c=t.options[t.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),o.preventDefault();e.quill.focus();var u=e.quill.selection.getRange(),d=r(u,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,l);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(l=prompt("Enter "+n)))return;e.quill.updateContents((new i.default).retain(d.index).delete(d.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,l)),s.default.sources.USER)}else e.quill.format(n,l,s.default.sources.USER);e.update(d)})),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach((function(n){var o=r(n,2),i=o[0],a=o[1];if("SELECT"===a.tagName){var s=void 0;if(null==t)s=null;else if(null==e[i])s=a.querySelector("option[selected]");else if(!Array.isArray(e[i])){var l=e[i];"string"===typeof l&&(l=l.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+l+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==t)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var c=e[i]===a.getAttribute("value")||null!=e[i]&&e[i].toString()===a.getAttribute("value")||null==e[i]&&!a.getAttribute("value");a.classList.toggle("ql-active",c)}else a.classList.toggle("ql-active",null!=e[i])}))}}]),e}(c.default);function h(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function v(t,e){Array.isArray(e[0])||(e=[e]),e.forEach((function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach((function(t){if("string"===typeof t)h(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?function(t,e,n){var r=document.createElement("select");r.classList.add("ql-"+e),n.forEach((function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),r.appendChild(e)})),t.appendChild(r)}(n,e,r):h(n,e,r)}})),t.appendChild(n)}))}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(e){null!=a.default.query(e,a.default.Scope.INLINE)&&t.quill.format(e,!1)}))}else this.quill.removeFormat(e,s.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",s.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",t,s.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if("+1"===t||"-1"===t){var o="+1"===t?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,s.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,s.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",t,s.default.sources.USER)}}},e.default=p,e.addControls=v},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(28),s=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,t));return r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(t){t.classList.add("ql-primary")})),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,t),o(e,[{key:"buildItem",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var r=this.label.querySelector(".ql-color-label"),o=t&&t.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(28),s=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,t));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),(function(t){t.innerHTML=n[t.getAttribute("data-value")||""]})),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),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,t),o(e,[{key:"selectItem",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);e.default=s},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}}(),o=function(){function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"})),this.hide()}return r(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>r.right&&(i=r.right-o.right,this.root.style.left=e+i+"px"),o.left<r.left&&(i=r.left-o.left,this.root.style.left=e+i+"px"),o.bottom>r.bottom){var a=o.bottom-o.top,s=t.bottom-t.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},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}}(),a=p(n(3)),s=p(n(8)),l=n(43),c=p(l),u=p(n(27)),d=n(15),f=p(n(41));function p(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(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 g(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 m=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],b=function(t){function e(t,n){h(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var r=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-snow"),r}return g(e,t),i(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),f.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),f.default),this.tooltip=new y(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(e,n){t.handlers.link.call(t,!n.format.link)}))}}]),e}(c.default);b.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var y=function(t){function e(t,n){h(this,e);var r=v(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return g(e,t),i(e,[{key:"listen",value:function(){var t=this;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,s.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(e,n,o){if(null!=e){if(0===e.length&&o===s.default.sources.USER){var i=t.quill.scroll.descendant(u.default,e.index),a=r(i,2),l=a[0],c=a[1];if(null!=l){t.linkRange=new d.Range(e.index-c,l.length());var f=u.default.formats(l.domNode);return t.preview.textContent=f,t.preview.setAttribute("href",f),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}}))}},{key:"show",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(l.BaseTooltip);y.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=I(n(29)),o=n(36),i=n(38),a=n(64),s=I(n(65)),l=I(n(66)),c=n(67),u=I(c),d=n(37),f=n(26),p=n(39),h=n(40),v=I(n(56)),g=I(n(68)),m=I(n(27)),b=I(n(69)),y=I(n(70)),x=I(n(71)),w=I(n(72)),O=I(n(73)),S=n(13),j=I(S),C=I(n(74)),k=I(n(75)),E=I(n(57)),P=I(n(41)),_=I(n(28)),M=I(n(59)),T=I(n(60)),A=I(n(61)),R=I(n(108)),D=I(n(62));function I(t){return t&&t.__esModule?t:{default:t}}r.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":f.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":h.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":f.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":h.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":a.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":f.ColorStyle,"formats/font":p.FontClass,"formats/size":h.SizeClass,"formats/blockquote":s.default,"formats/code-block":j.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":v.default,"formats/code":S.Code,"formats/italic":g.default,"formats/link":m.default,"formats/script":b.default,"formats/strike":y.default,"formats/underline":x.default,"formats/image":w.default,"formats/video":O.default,"formats/list/item":c.ListItem,"modules/formula":C.default,"modules/syntax":k.default,"modules/toolbar":E.default,"themes/bubble":R.default,"themes/snow":D.default,"ui/icons":P.default,"ui/picker":_.default,"ui/icon-picker":T.default,"ui/color-picker":M.default,"ui/tooltip":A.default},!0),e.default=r.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};function l(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}var u=function(t){function e(){return l(this,e),c(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,t),o(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var r=this.value(t)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(t),!0):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(s.default.Attributor.Class),d=new u("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(4);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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=function(t){function e(){return i(this,e),a(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,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="blockquote",s.tagName="blockquote",e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=n(4);function a(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}var l=function(t){function e(){return a(this,e),s(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,t),o(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(((r=i)&&r.__esModule?r:{default:r}).default);l.blotName="header",l.tagName=["H1","H2","H3","H4","H5","H6"],e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=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}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(0)),a=l(n(4)),s=l(n(25));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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}function d(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(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),r(e,[{key:"format",value:function(t,n){t!==p.blotName||n?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:o(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(a.default);f.blotName="list-item",f.tagName="LI";var p=function(t){function e(t){c(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),r=function(e){if(e.target.parentNode===t){var r=n.statics.formats(t),o=i.default.find(e.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return t.addEventListener("touchstart",r),t.addEventListener("mousedown",r),n}return d(e,t),r(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||r.setAttribute("data-checked","checked"===t),r}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,n){if(t instanceof f)o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),i=this.split(r);i.parent.insertBefore(t,i)}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(s.default);p.blotName="list",p.scope=i.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[f],e.ListItem=f,e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(56);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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=function(t){function e(){return i(this,e),a(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,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="italic",s.tagName=["EM","I"],e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 c=function(t){function e(){return s(this,e),l(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,t),o(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);c.blotName="script",c.tagName=["SUB","SUP"],e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(6);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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=function(t){function e(){return i(this,e),a(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,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="strike",s.tagName="S",e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(6);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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=function(t){function e(){return i(this,e),a(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,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="underline",s.tagName="U",e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r},l=n(27);function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 d=["alt","height","width"],f=function(t){function e(){return c(this,e),u(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,t),o(e,[{key:"format",value:function(t,n){d.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return d.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.default.Embed);f.blotName="image",f.tagName="IMG",e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(4),s=n(27),l=(r=s)&&r.__esModule?r:{default:r};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 d=["height","width"],f=function(t){function e(){return c(this,e),u(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,t),o(e,[{key:"format",value:function(t,n){d.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return d.reduce((function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e}),{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.BlockEmbed);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=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}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(35)),a=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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}function d(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(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),r(e,null,[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(i.default);f.blotName="formula",f.className="ql-formula",f.tagName="SPAN";var p=function(t){function e(){c(this,e);var t=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return d(e,t),r(e,null,[{key:"register",value:function(){a.default.register(f,!0)}}]),e}(s.default);e.FormulaBlot=f,e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=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}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(0)),a=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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}function d(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(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),r(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(l(n(13)).default);f.className="ql-syntax";var p=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),h=function(t){function e(t,n){c(this,e);var r=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return r.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){r.highlight(),o=null}),r.options.interval)})),r.highlight(),r}return d(e,t),r(e,null,[{key:"register",value:function(){a.default.register(p,!0),a.default.register(f,!0)}}]),r(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(f).forEach((function(e){e.highlight(t.options.highlight)})),this.quill.update(a.default.sources.SILENT),null!=e&&this.quill.setSelection(e,a.default.sources.SILENT)}}}]),e}(s.default);h.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=f,e.CodeToken=p,e.default=h},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var r=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},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}}(),i=d(n(3)),a=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(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)}var v=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(t){function e(t,n){f(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var r=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-bubble"),r}return h(e,t),o(e,[{key:"extendToolbar",value:function(t){this.tooltip=new m(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),u.default)}}]),e}(l.default);g.DEFAULTS=(0,i.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var m=function(t){function e(t,n){f(this,e);var r=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.on(a.default.events.EDITOR_CHANGE,(function(t,e,n,o){if(t===a.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&o===a.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(e.index,e.length);if(1===i.length)r.position(r.quill.getBounds(e));else{var s=i[i.length-1],l=r.quill.getIndex(s),u=Math.min(s.length()-1,e.index+e.length-l),d=r.quill.getBounds(new c.Range(l,u));r.position(d)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return h(e,t),o(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){t.root.classList.remove("ql-editing")})),this.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),e}(s.BaseTooltip);m.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=m,e.default=g},function(t,e,n){t.exports=n(63)}]).default},t.exports=n()}).call(this,n(193).Buffer)},function(t,e,n){"use strict";var r=n(1),o=n(1098);if("undefined"===typeof r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;t.exports=o(r.Component,r.isValidElement,i)},function(t,e,n){"use strict";var r=n(639),o={createEditor:function(t,e){var n=new r(t,e);return void 0!==e.tabIndex&&this.setEditorTabIndex(n,e.tabIndex),this.hookEditor(n),n},hookEditor:function(t){var e=this.makeUnprivilegedEditor(t);this.handleTextChange=function(n,r,o){this.onEditorChangeText&&(this.onEditorChangeText(t.root.innerHTML,n,o,e),this.onEditorChangeSelection(t.getSelection(),o,e))}.bind(this),this.handleSelectionChange=function(t,n,r){this.onEditorChangeSelection&&this.onEditorChangeSelection(t,r,e)}.bind(this),t.on("editor-change",function(t,e,n,o){t===r.events.SELECTION_CHANGE&&this.handleSelectionChange(e,n,o),t===r.events.TEXT_CHANGE&&this.handleTextChange(e,n,o)}.bind(this))},unhookEditor:function(t){t.off("selection-change"),t.off("text-change")},setEditorReadOnly:function(t,e){e?t.disable():t.enable()},setEditorContents:function(t,e){var n=t.getSelection();"string"===typeof e?t.setContents(t.clipboard.convert(e)):t.setContents(e),n&&t.hasFocus()&&this.setEditorSelection(t,n)},setEditorSelection:function(t,e){if(e){var n=t.getLength();e.index=Math.max(0,Math.min(e.index,n-1)),e.length=Math.max(0,Math.min(e.length,n-1-e.index))}t.setSelection(e)},setEditorTabIndex:function(t,e){t.editor&&t.editor.scroll&&t.editor.scroll.domNode&&(t.editor.scroll.domNode.tabIndex=e)},makeUnprivilegedEditor:function(t){var e=t;return{getLength:function(){return e.getLength.apply(e,arguments)},getText:function(){return e.getText.apply(e,arguments)},getHTML:function(){return e.root.innerHTML},getContents:function(){return e.getContents.apply(e,arguments)},getSelection:function(){return e.getSelection.apply(e,arguments)},getBounds:function(){return e.getBounds.apply(e,arguments)}}}};t.exports=o},function(t,e,n){t.exports=n(1099)()},function(t,e,n){"use strict";t.exports=function(t){function e(e){var n=t.createElement.bind(null,e);return n.type=e,n}return{a:e("a"),abbr:e("abbr"),address:e("address"),area:e("area"),article:e("article"),aside:e("aside"),audio:e("audio"),b:e("b"),base:e("base"),bdi:e("bdi"),bdo:e("bdo"),big:e("big"),blockquote:e("blockquote"),body:e("body"),br:e("br"),button:e("button"),canvas:e("canvas"),caption:e("caption"),cite:e("cite"),code:e("code"),col:e("col"),colgroup:e("colgroup"),data:e("data"),datalist:e("datalist"),dd:e("dd"),del:e("del"),details:e("details"),dfn:e("dfn"),dialog:e("dialog"),div:e("div"),dl:e("dl"),dt:e("dt"),em:e("em"),embed:e("embed"),fieldset:e("fieldset"),figcaption:e("figcaption"),figure:e("figure"),footer:e("footer"),form:e("form"),h1:e("h1"),h2:e("h2"),h3:e("h3"),h4:e("h4"),h5:e("h5"),h6:e("h6"),head:e("head"),header:e("header"),hgroup:e("hgroup"),hr:e("hr"),html:e("html"),i:e("i"),iframe:e("iframe"),img:e("img"),input:e("input"),ins:e("ins"),kbd:e("kbd"),keygen:e("keygen"),label:e("label"),legend:e("legend"),li:e("li"),link:e("link"),main:e("main"),map:e("map"),mark:e("mark"),menu:e("menu"),menuitem:e("menuitem"),meta:e("meta"),meter:e("meter"),nav:e("nav"),noscript:e("noscript"),object:e("object"),ol:e("ol"),optgroup:e("optgroup"),option:e("option"),output:e("output"),p:e("p"),param:e("param"),picture:e("picture"),pre:e("pre"),progress:e("progress"),q:e("q"),rp:e("rp"),rt:e("rt"),ruby:e("ruby"),s:e("s"),samp:e("samp"),script:e("script"),section:e("section"),select:e("select"),small:e("small"),source:e("source"),span:e("span"),strong:e("strong"),style:e("style"),sub:e("sub"),summary:e("summary"),sup:e("sup"),table:e("table"),tbody:e("tbody"),td:e("td"),textarea:e("textarea"),tfoot:e("tfoot"),th:e("th"),thead:e("thead"),time:e("time"),title:e("title"),tr:e("tr"),track:e("track"),u:e("u"),ul:e("ul"),var:e("var"),video:e("video"),wbr:e("wbr"),circle:e("circle"),clipPath:e("clipPath"),defs:e("defs"),ellipse:e("ellipse"),g:e("g"),image:e("image"),line:e("line"),linearGradient:e("linearGradient"),mask:e("mask"),path:e("path"),pattern:e("pattern"),polygon:e("polygon"),polyline:e("polyline"),radialGradient:e("radialGradient"),rect:e("rect"),stop:e("stop"),svg:e("svg"),text:e("text"),tspan:e("tspan")}}(n(1))},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},o=u(n(125)),i=u(n(1)),a=n(243),s=u(n(242)),l=n(276),c=u(n(645));function u(t){return t&&t.__esModule?t:{default:t}}function d(t){var e=t.direction,n=t.icon,o=t.onClick,u=t.size,d=t.theme,p=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,["direction","icon","onClick","size","theme"]),h=a.StyleSheet.create((0,l.deepMerge)(f,d));return i.default.createElement("button",r({type:"button",className:(0,a.css)(h.arrow,h["arrow__direction__"+e],u&&h["arrow__size__"+u]),onClick:o,onTouchEnd:o},p),i.default.createElement(c.default,{fill:!!d.arrow&&d.arrow.fill||s.default.arrow.fill,type:n}))}d.propTypes={theme:o.default.object,direction:o.default.oneOf(["left","right"]),icon:o.default.string,onClick:o.default.func.isRequired,size:o.default.oneOf(["medium","small"]).isRequired},d.defaultProps={size:"medium"};var f={arrow:{background:"none",border:"none",borderRadius:4,cursor:"pointer",outline:"none",padding:10,position:"absolute",top:"50%",WebkitTouchCallout:"none",userSelect:"none"},arrow__size__medium:{height:s.default.arrow.height,marginTop:s.default.arrow.height/-2,width:40,"@media (min-width: 768px)":{width:70}},arrow__size__small:{height:s.default.thumbnail.size,marginTop:s.default.thumbnail.size/-2,width:30,"@media (min-width: 500px)":{width:40}},arrow__direction__right:{right:s.default.container.gutter.horizontal},arrow__direction__left:{left:s.default.container.gutter.horizontal}};e.default=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},o=c(n(125)),i=c(n(1)),a=c(n(1115)),s=c(n(1116)),l=c(n(1117));function c(t){return t&&t.__esModule?t:{default:t}}var u={arrowLeft:a.default,arrowRight:s.default,close:l.default},d=function(t){var e=t.fill,n=t.type,o=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","type"]),a=u[n];return i.default.createElement("span",r({dangerouslySetInnerHTML:{__html:a(e)}},o))};d.propTypes={fill:o.default.string,type:o.default.oneOf(Object.keys(u))},d.defaultProps={fill:"#fff"},e.default=d},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(125)),o=s(n(1)),i=s(n(51)),a=n(389);n(647);function s(t){return t&&t.__esModule?t:{default:t}}var l="unmounted";e.UNMOUNTED=l;var c="exited";e.EXITED=c;var u="entering";e.ENTERING=u;var d="entered";e.ENTERED=d;var f="exiting";e.EXITING=f;var p=function(t){var e,n;function r(e,n){var r;r=t.call(this,e,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?a?(o=c,r.appearStatus=u):o=d:o=e.unmountOnExit||e.mountOnEnter?l:c,r.state={status:o},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===l?{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!==u&&n!==d&&(e=u):n!==u&&n!==d||(e=f)}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=i.default.findDOMNode(this);e===u?this.performEnter(n,t):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:l})},a.performEnter=function(t,e){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:e,i=this.getTimeouts(),a=o?i.appear:i.enter;e||r?(this.props.onEnter(t,o),this.safeSetState({status:u},(function(){n.props.onEntering(t,o),n.onTransitionEnd(t,a,(function(){n.safeSetState({status:d},(function(){n.props.onEntered(t,o)}))}))}))):this.safeSetState({status:d},(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:f},(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===l)return null;var e=this.props,n=e.children,r=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(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 i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function h(){}p.contextTypes={transitionGroup:r.object},p.childContextTypes={transitionGroup:function(){}},p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4;var v=(0,a.polyfill)(p);e.default=v},function(t,e,n){"use strict";e.__esModule=!0,e.classNamesShape=e.timeoutsShape=void 0;var r;(r=n(125))&&r.__esModule;e.timeoutsShape=null;e.classNamesShape=null},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=s(n(125)),o=s(n(1)),i=n(389),a=n(1130);function s(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},l.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 u=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},d=function(t){var e,n;function r(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(c(c(r)));return r.state={handleExited:o,firstRender:!0},r}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var i=r.prototype;return i.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},i.componentDidMount=function(){this.appeared=!0,this.mounted=!0},i.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}},i.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=l({},e.children);return delete n[t.key],{children:n}})))},i.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["component","childFactory"]),i=u(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?i:o.default.createElement(e,r,i)},r}(o.default.Component);d.childContextTypes={transitionGroup:r.default.object.isRequired},d.propTypes={},d.defaultProps={component:"div",childFactory:function(t){return t}};var f=(0,i.polyfill)(d);e.default=f,t.exports=e.default},,,function(t,e,n){"use strict";n.d(e,"animated",(function(){return P}));var r=n(2),o=n(23),i=n(25),a=n(37),s=n(46),l=n(392);n.o(l,"useSpring")&&n.d(e,"useSpring",(function(){return l.useSpring}));var c=n(51),u=n(11),d=n(81);function f(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var p=["style","children","scrollTop","scrollLeft"],h=/^--/;function v(t,e){return null==e||"boolean"===typeof e||""===e?"":"number"!==typeof e||0===e||h.test(t)||m.hasOwnProperty(t)&&m[t]?(""+e).trim():e+"px"}var g={};var m={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,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},b=["Webkit","Ms","Moz","O"];m=Object.keys(m).reduce((function(t,e){return b.forEach((function(n){return t[function(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}(n,e)]=t[e]})),t}),m);var y=["x","y","z"],x=/^(matrix|translate|scale|rotate|skew)/,w=/^(translate)/,O=/^(rotate|skew)/,S=function(t,e){return u.s.num(t)&&0!==t?t+e:t},j=function t(e,n){return u.s.arr(e)?e.every((function(e){return t(e,n)})):u.s.num(e)?e===n:parseFloat(e)===n},C=function(t){Object(a.a)(n,t);var e=Object(s.a)(n);function n(t){Object(i.a)(this,n);var o=t.x,a=t.y,s=t.z,l=f(t,y),c=[],d=[];return(o||a||s)&&(c.push([o||0,a||0,s||0]),d.push((function(t){return["translate3d(".concat(t.map((function(t){return S(t,"px")})).join(","),")"),j(t,0)]}))),Object(u.l)(l,(function(t,e){if("transform"===e)c.push([t||""]),d.push((function(t){return[t,""===t]}));else if(x.test(e)){if(delete l[e],u.s.und(t))return;var n=w.test(e)?"px":O.test(e)?"deg":"";c.push(Object(u.y)(t)),d.push("rotate3d"===e?function(t){var e=Object(r.a)(t,4),o=e[0],i=e[1],a=e[2],s=e[3];return["rotate3d(".concat(o,",").concat(i,",").concat(a,",").concat(S(s,n),")"),j(s,0)]}:function(t){return["".concat(e,"(").concat(t.map((function(t){return S(t,n)})).join(","),")"),j(t,e.startsWith("scale")?1:0)]})}})),c.length&&(l.transform=new k(c,d)),e.call(this,l)}return Object(o.a)(n)}(d.a),k=function(t){Object(a.a)(n,t);var e=Object(s.a)(n);function n(t,r){var o;return Object(i.a)(this,n),(o=e.call(this))._value=null,o.inputs=t,o.transforms=r,o}return Object(o.a)(n,[{key:"get",value:function(){return this._value||(this._value=this._get())}},{key:"_get",value:function(){var t=this,e="",n=!0;return Object(u.k)(this.inputs,(function(o,i){var a=Object(u.q)(o[0]),s=t.transforms[i](u.s.arr(a)?a:o.map(u.q)),l=Object(r.a)(s,2),c=l[0],d=l[1];e+=" "+c,n=n&&d})),n?"none":e}},{key:"observerAdded",value:function(t){var e=this;1==t&&Object(u.k)(this.inputs,(function(t){return Object(u.k)(t,(function(t){return Object(u.r)(t)&&Object(u.c)(t,e)}))}))}},{key:"observerRemoved",value:function(t){var e=this;0==t&&Object(u.k)(this.inputs,(function(t){return Object(u.k)(t,(function(t){return Object(u.r)(t)&&Object(u.x)(t,e)}))}))}},{key:"eventObserved",value:function(t){"change"==t.type&&(this._value=null),Object(u.d)(this,t)}}]),n}(u.a),E=["scrollTop","scrollLeft"];l.Globals.assign({batchedUpdates:c.unstable_batchedUpdates,createStringInterpolator:u.g,colors:u.e});var P=Object(d.d)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(t,e){if(!t.nodeType||!t.setAttribute)return!1;var n="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,r=e,o=r.style,i=r.children,a=r.scrollTop,s=r.scrollLeft,l=f(r,p),c=Object.values(l),u=Object.keys(l).map((function(e){return n||t.hasAttribute(e)?e:g[e]||(g[e]=e.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()})))}));for(var d in void 0!==i&&(t.textContent=i),o)if(o.hasOwnProperty(d)){var m=v(d,o[d]);h.test(d)?t.style.setProperty(d,m):t.style[d]=m}u.forEach((function(e,n){t.setAttribute(e,c[n])})),void 0!==a&&(t.scrollTop=a),void 0!==s&&(t.scrollLeft=s)},createAnimatedStyle:function(t){return new C(t)},getComponentProps:function(t){return f(t,E)}}).animated},function(t,e){},function(t,e){},function(t,e,n){"use strict";var r=n(1152);function o(t){return 0===Object.keys(t).length}e.a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=Object(r.a)();return!e||o(e)?t:e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(1156);function o(t){var e=t.theme,n=t.name,o=t.props;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?Object(r.a)(e.components[n].defaultProps,o):o}},function(t,e,n){"use strict";t.exports=n(783)},function(t,e,n){"use strict";function r(t,e){return"function"===typeof t?t(e):t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(168),o=n(187);function i(t){return Object(r.a)("MuiDivider",t)}var a=Object(o.a)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);e.a=a},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(168),o=n(187);function i(t){return Object(r.a)("MuiListItemIcon",t)}var a=Object(o.a)("MuiListItemIcon",["root","alignItemsFlexStart"]);e.a=a},function(t,e,n){var r=n(785),o=n(560)((function(t,e,n){r(t,e,n)}));t.exports=o},function(t,e,n){"use strict";var r=n(578);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"SwipeableViewsContext",{enumerable:!0,get:function(){return o.SwipeableViewsContext}});var o=r(n(868))},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z"}),"CancelOutlined");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z"}),"DeleteForever");e.default=a},function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t){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 o=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 i(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 s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(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,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?t:l(s(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function f(t){return 11===t?u:10===t?d:u||d}function p(t){if(!t)return document.documentElement;for(var e=f(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")?p(n):n:t?t.ownerDocument.documentElement:document.documentElement}function h(t){return null!==t.parentNode?h(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,o=n?e:t,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(t!==a&&e!==a||r.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||p(t.firstElementChild)===t)}(a)?a:p(a);var s=h(t);return s.host?v(s.host,e):v(t,h(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var o=t.ownerDocument.documentElement,i=t.ownerDocument.scrollingElement||o;return i[n]}return t[n]}function m(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),o=g(e,"left"),i=n?-1:1;return t.top+=r*i,t.bottom+=r*i,t.left+=o*i,t.right+=o*i,t}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function y(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],f(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function x(t){var e=t.body,n=t.documentElement,r=f(10)&&getComputedStyle(n);return{height:y("Height",e,n,r),width:y("Width",e,n,r)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},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}}(),S=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},j=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 C(t){return j({},t,{right:t.left+t.width,bottom:t.top+t.height})}function k(t){var e={};try{if(f(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(p){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},i="HTML"===t.nodeName?x(t.ownerDocument):{},s=i.width||t.clientWidth||o.width,l=i.height||t.clientHeight||o.height,c=t.offsetWidth-s,u=t.offsetHeight-l;if(c||u){var d=a(t);c-=b(d,"x"),u-=b(d,"y"),o.width-=c,o.height-=u}return C(o)}function E(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=f(10),o="HTML"===e.nodeName,i=k(t),s=k(e),c=l(t),u=a(e),d=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=C({top:i.top-s.top-d,left:i.left-s.left-p,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var v=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);h.top-=d-v,h.bottom-=d-v,h.left-=p-g,h.right-=p-g,h.marginTop=v,h.marginLeft=g}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(h=m(h,e)),h}function P(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=E(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return C(l)}function _(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===a(t,"position"))return!0;var n=s(t);return!!n&&_(n)}function M(t){if(!t||!t.parentElement||f())return document.documentElement;for(var e=t.parentElement;e&&"none"===a(e,"transform");)e=e.parentElement;return e||document.documentElement}function T(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?M(t):v(t,c(e));if("viewport"===r)i=P(a,o);else{var u=void 0;"scrollParent"===r?"BODY"===(u=l(s(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===r?t.ownerDocument.documentElement:r;var d=E(u,a,o);if("HTML"!==u.nodeName||_(a))i=d;else{var f=x(t.ownerDocument),p=f.height,h=f.width;i.top+=d.top-d.marginTop,i.bottom=p+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var g="number"===typeof(n=n||0);return i.left+=g?n:n.left||0,i.top+=g?n:n.top||0,i.right-=g?n:n.right||0,i.bottom-=g?n:n.bottom||0,i}function A(t){return t.width*t.height}function R(t,e,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=T(n,r,i,o),s={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}},l=Object.keys(s).map((function(t){return j({key:t},s[t],{area:A(s[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function D(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?M(e):v(e,c(n));return E(n,o,r)}function I(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 N(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 L(t,e,n){n=n.split("-")[0];var r=I(t),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=e[a]+e[l]/2-r[l]/2,o[s]=n===s?e[s]-r[c]:e[N(s)],o}function F(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function B(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=F(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&&i(n)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=n(e,t))})),e}function z(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=D(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=R(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=L(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=B(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function H(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function V(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var o=e[r],i=o?""+o+n:t;if("undefined"!==typeof document.body.style[i])return i}return null}function U(){return this.state.isDestroyed=!0,H(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[V("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(t){var e=t.ownerDocument;return e?e.defaultView:window}function q(t,e,n,r){var o="BODY"===t.nodeName,i=o?t.ownerDocument.defaultView:t;i.addEventListener(e,n,{passive:!0}),o||q(l(i.parentNode),e,n,r),r.push(i)}function G(t,e,n,r){n.updateBound=r,W(t).addEventListener("resize",n.updateBound,{passive:!0});var o=l(t);return q(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Y(){this.state.eventsEnabled||(this.state=G(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,W(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 K(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&K(e[n])&&(r="px"),t.style[n]=e[n]+r}))}var Z=n&&/Firefox/i.test(navigator.userAgent);function Q(t,e,n){var r=F(t,(function(t){return t.name===e})),o=!!r&&t.some((function(t){return t.name===n&&t.enabled&&t.order<r.order}));if(!o){var i="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var J=["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"],tt=J.slice(3);function et(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=tt.indexOf(t),r=tt.slice(n+1).concat(tt.slice(0,n));return e?r.reverse():r}var nt="flip",rt="clockwise",ot="counterclockwise";function it(t,e,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map((function(t){return t.trim()})),s=a.indexOf(F(a,(function(t){return-1!==t.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(t,r){var o=(1===r?!i:i)?"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 o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return t;if(0===a.indexOf("%")){return C("%p"===a?n:r)[e]/100*i}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*i;return i}(t,o,e,n)}))})),c.forEach((function(t,e){t.forEach((function(n,r){K(n)&&(o[e]+=n*("-"===t[r-1]?-1:1))}))})),o}var at={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var o=t.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:S({},l,i[l]),end:S({},l,i[l]+i[c]-a[c])};t.offsets.popper=j({},a,u[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,o=t.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=K(+n)?[+n,0]:it(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),t.popper=i,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||p(t.instance.popper);t.instance.reference===n&&(n=p(n));var r=V("transform"),o=t.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=T(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=i,o.left=a,o[r]=s,e.boundaries=l;var c=e.priority,u=t.offsets.popper,d={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),S({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(r=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),S({},n,r)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=j({},u,d[e](t))})),t.offsets.popper=u,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,o=t.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(t.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(t.offsets.popper[l]=i(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Q(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 o=t.placement.split("-")[0],i=t.offsets,s=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",v=I(r)[u];l[h]-v<s[f]&&(t.offsets.popper[f]-=s[f]-(l[h]-v)),l[f]+v>s[h]&&(t.offsets.popper[f]+=l[f]+v-s[h]),t.offsets.popper=C(t.offsets.popper);var g=l[f]+l[u]/2-v/2,m=a(t.instance.popper),b=parseFloat(m["margin"+d]),y=parseFloat(m["border"+d+"Width"]),x=g-t.offsets.popper[f]-b-y;return x=Math.max(Math.min(s[u]-v,x),0),t.arrowElement=r,t.offsets.arrow=(S(n={},f,Math.round(x)),S(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(H(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=T(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],o=N(r),i=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case nt:a=[r,o];break;case rt:a=et(r);break;case ot:a=et(r,!0);break;default:a=e.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return t;r=t.placement.split("-")[0],o=N(r);var c=t.offsets.popper,u=t.offsets.reference,d=Math.floor,f="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),p=d(c.left)<d(n.left),h=d(c.right)>d(n.right),v=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),m="left"===r&&p||"right"===r&&h||"top"===r&&v||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!e.flipVariations&&(b&&"start"===i&&p||b&&"end"===i&&h||!b&&"start"===i&&v||!b&&"end"===i&&g),x=!!e.flipVariationsByContent&&(b&&"start"===i&&h||b&&"end"===i&&p||!b&&"start"===i&&g||!b&&"end"===i&&v),w=y||x;(f||m||w)&&(t.flipped=!0,(f||m)&&(r=a[l+1]),w&&(i=function(t){return"end"===t?"start":"start"===t?"end":t}(i)),t.placement=r+(i?"-"+i:""),t.offsets.popper=j({},t.offsets.popper,L(t.instance.popper,t.offsets.reference,t.placement)),t=B(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,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),t.placement=N(e),t.offsets.popper=C(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Q(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=F(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,o=t.offsets.popper,i=F(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:e.gpuAcceleration,s=p(t.instance.popper),l=k(s),c={position:o.position},u=function(t,e){var n=t.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(t){return t},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),f=e?u||d||l%2===c%2?i:a:s,p=e?i:s;return{left:f(l%2===1&&c%2===1&&!d&&e?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:f(r.right)}}(t,window.devicePixelRatio<2||!Z),d="bottom"===n?"top":"bottom",f="right"===r?"left":"right",h=V("transform"),v=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,v="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&h)c[h]="translate3d("+v+"px, "+g+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var m="bottom"===d?-1:1,b="right"===f?-1:1;c[d]=g*m,c[f]=v*b,c.willChange=d+", "+f}var y={"x-placement":t.placement};return t.attributes=j({},y,t.attributes),t.styles=j({},c,t.styles),t.arrowStyles=j({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return $(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&&$(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,o){var i=D(o,e,t,n.positionFixed),a=R(n.placement,i,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),$(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},st={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:at},lt=function(){function t(e,n){var r=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=o(this.update.bind(this)),this.options=j({},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(j({},t.Defaults.modifiers,a.modifiers)).forEach((function(e){r.options.modifiers[e]=j({},t.Defaults.modifiers[e]||{},a.modifiers?a.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return j({name:t},r.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&i(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return O(t,[{key:"update",value:function(){return z.call(this)}},{key:"destroy",value:function(){return U.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return X.call(this)}}]),t}();lt.Utils=("undefined"!==typeof window?window:t).PopperUtils,lt.placements=J,lt.Defaults=st,e.a=lt}).call(this,n(119))},function(t,e,n){"use strict";function r(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t,r){n.d(e,"a",(function(){return wt}));var o=n(413),i=n.n(o),a=n(279),s=n.n(a),l=n(40),c=n.n(l),u=n(669),d=n.n(u),f=n(290),p=n.n(f),h=n(90),v=n.n(h),g=n(302),m=n.n(g),b=n(48),y=n.n(b),x=n(670),w=n.n(x),O=n(59),S=n.n(O),j=n(1),C=n.n(j),k=n(56),E=n.n(k),P=n(253),_=n(74),M=n(205),T=n(348),A=n(520),R=n(674),D=n(675),I=n(414),N=n(198),L=n(58),F=n(310),B=n(441),z=n(136),H=n(18),V=n(43),U=n(440),W=n(80),q=n(227),G=n(129),Y=n(39);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},X(t)}function K(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||it(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $(){return $=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 Z(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}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 J(t,e){return J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},J(t,e)}function tt(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=rt(t);if(e){var o=rt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return et(this,n)}}function et(t,e){return!e||"object"!==X(e)&&"function"!==typeof e?nt(t):e}function nt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rt(t){return rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},rt(t)}function ot(t){return function(t){if(Array.isArray(t))return at(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||it(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function it(t,e){if(t){if("string"===typeof t)return at(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?at(t,e):void 0}}function at(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function st(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 lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?st(Object(n),!0).forEach((function(e){ct(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):st(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ut={xAxis:["bottom","top"],yAxis:["left","right"]},dt={x:0,y:0},ft=Number.isFinite?Number.isFinite:isFinite,pt="function"===typeof requestAnimationFrame?requestAnimationFrame:"function"===typeof t?t:setTimeout,ht="function"===typeof cancelAnimationFrame?cancelAnimationFrame:"function"===typeof r?r:clearTimeout,vt=function(t,e,n){var r=e.graphicalItems,o=e.dataStartIndex,i=e.dataEndIndex,a=(r||[]).reduce((function(t,e){var n=e.props.data;return n&&n.length?[].concat(ot(t),ot(n)):t}),[]);return a&&a.length>0?a:n&&n.props&&n.props.data&&n.props.data.length>0?n.props.data:t&&t.length&&Object(H.g)(o)&&Object(H.g)(i)?t.slice(o,i+1):[]},gt=function(t,e,n,r){var o=t.graphicalItems,i=t.tooltipAxis,a=vt(e,t);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(t,e){if(e.props.hide)return t;var o,s=e.props.data;if(i.dataKey&&!i.allowDuplicatedCategory){var l=void 0===s?a:s;o=Object(H.a)(l,i.dataKey,r)}else o=s&&s[n]||a[n];return o?[].concat(ot(t),[Object(V.u)(e,o)]):t}),[])},mt=function(t,e,n,r){var o=r||{x:t.chartX,y:t.chartY},i=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(o,n),a=t.orderedTooltipTicks,s=t.tooltipAxis,l=t.tooltipTicks,c=Object(V.b)(i,a,l,s);if(c>=0&&l){var u=l[c]&&l[c].value,d=gt(t,e,c,u),f=function(t,e,n,r){var o=e.find((function(t){return t&&t.index===n}));if(o){if("horizontal"===t)return{x:o.coordinate,y:r.y};if("vertical"===t)return{x:r.x,y:o.coordinate};if("centric"===t){var i=o.coordinate,a=r.radius;return lt(lt(lt({},r),Object(W.c)(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var s=o.coordinate,l=r.angle;return lt(lt(lt({},r),Object(W.c)(r.cx,r.cy,s,l)),{},{angle:l,radius:s})}return dt}(n,a,c,o);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:f}}return null},bt=function(t,e){var n=e.axisType,r=void 0===n?"xAxis":n,o=e.AxisComp,i=e.graphicalItems,a=e.stackGroups,s=e.dataStartIndex,l=e.dataEndIndex,c=t.children,u="".concat(r,"Id"),d=Object(L.b)(c,o),f={};return d&&d.length?f=function(t,e){var n=e.axes,r=e.graphicalItems,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,l=e.dataEndIndex,c=t.layout,u=t.children,d=t.stackOffset,f=Object(V.w)(c,o);return n.reduce((function(e,n){var p=n.props,h=p.type,v=p.dataKey,g=p.allowDataOverflow,b=p.allowDuplicatedCategory,x=p.scale,w=p.ticks,O=n.props[i],S=vt(t.data,{graphicalItems:r.filter((function(t){return t.props[i]===O})),dataStartIndex:s,dataEndIndex:l}),j=S.length;if(!e[O]){var C,k,E;if(v){if(C=Object(V.l)(S,v,h),"category"===h&&f){var P=Object(H.d)(C);b&&P?(k=C,C=m()(0,j)):b||(C=Object(V.x)(n.props.domain,C,n).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(ot(t),[e])}),[]))}else if("category"===h)C=b?C.filter((function(t){return""!==t&&!y()(t)})):Object(V.x)(n.props.domain,C,n).reduce((function(t,e){return t.indexOf(e)>=0||""===e||y()(e)?t:[].concat(ot(t),[e])}),[]);else if("number"===h){var _=Object(V.y)(S,r.filter((function(t){return t.props[i]===O&&!t.props.hide})),v,o);_&&(C=_)}!f||"number"!==h&&"auto"===x||(E=Object(V.l)(S,v,"category"))}else C=f?m()(0,j):a&&a[O]&&a[O].hasStack&&"number"===h?"expand"===d?[0,1]:Object(V.n)(a[O].stackGroups,s,l):Object(V.m)(S,r.filter((function(t){return t.props[i]===O&&!t.props.hide})),h,!0);if("number"===h)C=Object(U.a)(u,C,O,o,w),n.props.domain&&(C=Object(V.A)(n.props.domain,C,g));else if("category"===h&&n.props.domain){var M=n.props.domain;C.every((function(t){return M.indexOf(t)>=0}))&&(C=M)}return lt(lt({},e),{},ct({},O,lt(lt({},n.props),{},{axisType:o,domain:C,categoricalDomain:E,duplicateDomain:k,originalDomain:n.props.domain,isCategorical:f,layout:c})))}return e}),{})}(t,{axes:d,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:l}):i&&i.length&&(f=function(t,e){var n=e.graphicalItems,r=e.Axis,o=e.axisType,i=e.axisIdKey,a=e.stackGroups,s=e.dataStartIndex,l=e.dataEndIndex,c=t.layout,u=t.children,d=vt(t.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:l}),f=d.length,p=Object(V.w)(c,o),h=-1;return n.reduce((function(t,e){var g,b=e.props[i];return t[b]?t:(h++,p?g=m()(0,f):a&&a[b]&&a[b].hasStack?(g=Object(V.n)(a[b].stackGroups,s,l),g=Object(U.a)(u,g,b,o)):(g=Object(V.A)(r.defaultProps.domain,Object(V.m)(d,n.filter((function(t){return t.props[i]===b&&!t.props.hide})),"number"),r.defaultProps.allowDataOverflow),g=Object(U.a)(u,g,b,o)),lt(lt({},t),{},ct({},b,lt(lt({axisType:o},r.defaultProps),{},{hide:!0,orientation:v()(ut,"".concat(o,".").concat(h%2),null),domain:g,originalDomain:r.defaultProps.domain,isCategorical:p,layout:c}))))}),{})}(t,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:l})),f},yt=function(t){var e=t.children,n=t.defaultShowTooltip,r=Object(L.c)(e,B.a.displayName);return{chartX:0,chartY:0,dataStartIndex:r&&r.props&&r.props.startIndex||0,dataEndIndex:r&&r.props&&r.props.endIndex||t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!y()(n)&&n}},xt=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},wt=function(t){var e,n,r=t.chartName,o=t.GraphicalChild,a=t.defaultTooltipEventType,l=void 0===a?"axis":a,u=t.validateTooltipEventTypes,f=void 0===u?["axis"]:u,h=t.axisComponents,g=t.legendContent,m=t.formatAxisMap,b=t.defaultProps,x=function(t,e){var n=e.graphicalItems,r=e.stackGroups,o=e.offset,i=e.updateId,a=e.dataStartIndex,s=e.dataEndIndex,l=t.barSize,c=t.layout,u=t.barGap,d=t.barCategoryGap,f=t.maxBarSize,p=xt(c),v=p.numericAxisName,g=p.cateAxisName,m=function(t){return!(!t||!t.length)&&t.some((function(t){var e=Object(L.d)(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(n),b=m&&Object(V.h)({barSize:l,stackGroups:r}),x=[];return n.forEach((function(n,l){var p=vt(t.data,{dataStartIndex:a,dataEndIndex:s},n),m=n.props,w=m.dataKey,O=m.maxBarSize,S=n.props["".concat(v,"Id")],j=n.props["".concat(g,"Id")],C=h.reduce((function(t,r){var o,i=e["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")],s=i&&i[a];return lt(lt({},t),{},(ct(o={},r.axisType,s),ct(o,"".concat(r.axisType,"Ticks"),Object(V.s)(s)),o))}),{}),k=C[g],E=C["".concat(g,"Ticks")],P=r&&r[S]&&r[S].hasStack&&Object(V.r)(n,r[S].stackGroups),_=Object(L.d)(n.type).indexOf("Bar")>=0,M=Object(V.f)(k,E),T=[];if(_){var A,R,D=y()(O)?f:O,I=null!==(A=null!==(R=Object(V.f)(k,E,!0))&&void 0!==R?R:D)&&void 0!==A?A:0;T=Object(V.g)({barGap:u,barCategoryGap:d,bandSize:I!==M?I:M,sizeList:b[j],maxBarSize:D}),I!==M&&(T=T.map((function(t){return lt(lt({},t),{},{position:lt(lt({},t.position),{},{offset:t.position.offset-I/2})})})))}var N,F=n&&n.type&&n.type.getComposedData;F&&x.push({props:lt(lt({},F(lt(lt({},C),{},{displayedData:p,props:t,dataKey:w,item:n,bandSize:M,barPosition:T,offset:o,stackedData:P,layout:c,dataStartIndex:a,dataEndIndex:s}))),{},(N={key:n.key||"item-".concat(l)},ct(N,v,C[v]),ct(N,g,C[g]),ct(N,"animationId",i),N)),childIndex:Object(L.g)(n,t.children),item:n})})),x},O=function(t,e){var n=t.props,i=t.dataStartIndex,a=t.dataEndIndex,s=t.updateId;if(!Object(L.i)({props:n}))return null;var l=n.children,c=n.layout,u=n.stackOffset,d=n.data,f=n.reverseStackOrder,g=xt(c),b=g.numericAxisName,y=g.cateAxisName,w=Object(L.b)(l,o),O=Object(V.q)(d,w,"".concat(b,"Id"),"".concat(y,"Id"),u,f),S=h.reduce((function(t,e){var r="".concat(e.axisType,"Map");return lt(lt({},t),{},ct({},r,bt(n,lt(lt({},e),{},{graphicalItems:w,stackGroups:e.axisType===b&&O,dataStartIndex:i,dataEndIndex:a}))))}),{}),j=function(t,e){var n=t.props,r=t.graphicalItems,o=t.xAxisMap,i=void 0===o?{}:o,a=t.yAxisMap,s=void 0===a?{}:a,l=n.width,c=n.height,u=n.children,d=n.margin||{},f=Object(L.c)(u,B.a.displayName),p=Object(L.c)(u,T.a.displayName),h=Object.keys(s).reduce((function(t,e){var n=s[e],r=n.orientation;return n.mirror||n.hide?t:lt(lt({},t),{},ct({},r,t[r]+n.width))}),{left:d.left||0,right:d.right||0}),g=Object.keys(i).reduce((function(t,e){var n=i[e],r=n.orientation;return n.mirror||n.hide?t:lt(lt({},t),{},ct({},r,v()(t,"".concat(r))+n.height))}),{top:d.top||0,bottom:d.bottom||0}),m=lt(lt({},g),h),b=m.bottom;return f&&(m.bottom+=f.props.height||B.a.defaultProps.height),p&&e&&(m=Object(V.a)(m,r,n,e)),lt(lt({brushBottom:b},m),{},{width:l-m.left-m.right,height:c-m.top-m.bottom})}(lt(lt({},S),{},{props:n,graphicalItems:w}),null===e||void 0===e?void 0:e.legendBBox);Object.keys(S).forEach((function(t){S[t]=m(n,S[t],j,t.replace("Map",""),r)}));var C=function(t){var e=Object(H.b)(t),n=Object(V.s)(e,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:p()(n,(function(t){return t.coordinate})),tooltipAxis:e,tooltipAxisBandSize:Object(V.f)(e,n)}}(S["".concat(y,"Map")]),k=x(n,lt(lt({},S),{},{dataStartIndex:i,dataEndIndex:a,updateId:s,graphicalItems:w,stackGroups:O,offset:j}));return lt(lt({formattedGraphicalItems:k,graphicalItems:w,offset:j,stackGroups:O},C),S)};return n=e=function(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&&J(t,e)}(u,t);var e,n,o,a=tt(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).uniqueChartId=void 0,e.clipPathId=void 0,e.legendInstance=void 0,e.deferId=void 0,e.container=void 0,e.clearDeferId=function(){!y()(e.deferId)&&ht&&ht(e.deferId),e.deferId=null},e.handleLegendBBoxUpdate=function(t){if(t){var n=e.state,r=n.dataStartIndex,o=n.dataEndIndex,i=n.updateId;e.setState(lt({legendBBox:t},O({props:e.props,dataStartIndex:r,dataEndIndex:o,updateId:i},lt(lt({},e.state),{},{legendBBox:t}))))}},e.handleReceiveSyncEvent=function(t,n,r){e.props.syncId===t&&n!==e.uniqueChartId&&(e.clearDeferId(),e.deferId=pt&&pt(e.applySyncEvent.bind(nt(e),r)))},e.handleBrushChange=function(t){var n=t.startIndex,r=t.endIndex;if(n!==e.state.dataStartIndex||r!==e.state.dataEndIndex){var o=e.state.updateId;e.setState((function(){return lt({dataStartIndex:n,dataEndIndex:r},O({props:e.props,dataStartIndex:n,dataEndIndex:r,updateId:o},e.state))})),e.triggerSyncEvent({dataStartIndex:n,dataEndIndex:r})}},e.handleMouseEnter=function(t){var n=e.props.onMouseEnter,r=e.getMouseInfo(t);if(r){var o=lt(lt({},r),{},{isTooltipActive:!0});e.setState(o),e.triggerSyncEvent(o),c()(n)&&n(o,t)}},e.triggeredAfterMouseMove=function(t){var n=e.props.onMouseMove,r=e.getMouseInfo(t),o=r?lt(lt({},r),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(o),e.triggerSyncEvent(o),c()(n)&&n(o,t)},e.handleItemMouseEnter=function(t){e.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))},e.handleItemMouseLeave=function(){e.setState((function(){return{isTooltipActive:!1}}))},e.handleMouseMove=function(t){t&&c()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)},e.handleMouseLeave=function(t){var n=e.props.onMouseLeave,r={isTooltipActive:!1};e.setState(r),e.triggerSyncEvent(r),c()(n)&&n(r,t),e.cancelThrottledTriggerAfterMouseMove()},e.handleOuterEvent=function(t){var n=Object(L.e)(t),r=v()(e.props,"".concat(n));n&&c()(r)&&r(/.*touch.*/i.test(n)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)},e.handleClick=function(t){var n=e.props.onClick,r=e.getMouseInfo(t);if(r){var o=lt(lt({},r),{},{isTooltipActive:!0});e.setState(o),e.triggerSyncEvent(o),c()(n)&&n(o,t)}},e.handleMouseDown=function(t){var n=e.props.onMouseDown;c()(n)&&n(e.getMouseInfo(t),t)},e.handleMouseUp=function(t){var n=e.props.onMouseUp;c()(n)&&n(e.getMouseInfo(t),t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])},e.handleTouchStart=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])},e.handleTouchEnd=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])},e.verticalCoordinatesGenerator=function(t){var e=t.xAxis,n=t.width,r=t.height,o=t.offset;return Object(V.k)(F.a.getTicks(lt(lt(lt({},F.a.defaultProps),e),{},{ticks:Object(V.s)(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.left,o.left+o.width)},e.horizontalCoordinatesGenerator=function(t){var e=t.yAxis,n=t.width,r=t.height,o=t.offset;return Object(V.k)(F.a.getTicks(lt(lt(lt({},F.a.defaultProps),e),{},{ticks:Object(V.s)(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.top,o.top+o.height)},e.axesTicksGenerator=function(t){return Object(V.s)(t,!0)},e.renderCursor=function(t){var n=e.state,o=n.isTooltipActive,i=n.activeCoordinate,a=n.activePayload,s=n.offset,l=n.activeTooltipIndex,c=e.getTooltipEventType();if(!t||!t.props.cursor||!o||!i||"ScatterChart"!==r&&"axis"!==c)return null;var u,d=e.props.layout,f=A.a;if("ScatterChart"===r)u=i,f=R.a;else if("BarChart"===r)u=e.getCursorRectangle(),f=N.a;else if("radial"===d){var p=e.getCursorPoints(),h=p.cx,v=p.cy,g=p.radius;u={cx:h,cy:v,startAngle:p.startAngle,endAngle:p.endAngle,innerRadius:g,outerRadius:g},f=D.a}else u={points:e.getCursorPoints()},f=A.a;var m=t.key||"_recharts-cursor",b=lt(lt(lt(lt({stroke:"#ccc",pointerEvents:"none"},s),u),Object(Y.c)(t.props.cursor)),{},{payload:a,payloadIndex:l,key:m,className:"recharts-tooltip-cursor"});return Object(j.isValidElement)(t.props.cursor)?Object(j.cloneElement)(t.props.cursor,b):Object(j.createElement)(f,b)},e.renderPolarAxis=function(t,n,r){var o=v()(t,"type.axisType"),i=v()(e.state,"".concat(o,"Map"))[t.props["".concat(o,"Id")]];return Object(j.cloneElement)(t,lt(lt({},i),{},{className:o,key:t.key||"".concat(n,"-").concat(r),ticks:Object(V.s)(i,!0)}))},e.renderXAxis=function(t,n,r){var o=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(o,t,n,r)},e.renderYAxis=function(t,n,r){var o=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(o,t,n,r)},e.renderGrid=function(t){var n=e.state,r=n.xAxisMap,o=n.yAxisMap,a=n.offset,l=e.props,c=l.width,u=l.height,d=Object(H.b)(r),f=s()(o,(function(t){return i()(t.domain,ft)}))||Object(H.b)(o),p=t.props||{};return Object(j.cloneElement)(t,{key:t.key||"grid",x:Object(H.g)(p.x)?p.x:a.left,y:Object(H.g)(p.y)?p.y:a.top,width:Object(H.g)(p.width)?p.width:a.width,height:Object(H.g)(p.height)?p.height:a.height,xAxis:d,yAxis:f,offset:a,chartWidth:c,chartHeight:u,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})},e.renderPolarGrid=function(t){var n=t.props,r=n.radialLines,o=n.polarAngles,i=n.polarRadius,a=e.state,s=a.radiusAxisMap,l=a.angleAxisMap,c=Object(H.b)(s),u=Object(H.b)(l),d=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius;return Object(j.cloneElement)(t,{polarAngles:S()(o)?o:Object(V.s)(u,!0).map((function(t){return t.coordinate})),polarRadius:S()(i)?i:Object(V.s)(c,!0).map((function(t){return t.coordinate})),cx:d,cy:f,innerRadius:p,outerRadius:h,key:t.key||"polar-grid",radialLines:r})},e.renderLegend=function(){var t=e.state.formattedGraphicalItems,n=e.props,r=n.children,o=n.width,i=n.height,a=e.props.margin||{},s=o-(a.left||0)-(a.right||0),l=Object(V.o)({children:r,formattedGraphicalItems:t,legendWidth:s,legendContent:g});if(!l)return null;var c=l.item,u=Z(l,["item"]);return Object(j.cloneElement)(c,lt(lt({},u),{},{chartWidth:o,chartHeight:i,margin:a,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))},e.renderTooltip=function(){var t=e.props.children,n=Object(L.c)(t,M.a.displayName);if(!n)return null;var r=e.state,o=r.isTooltipActive,i=r.activeCoordinate,a=r.activePayload,s=r.activeLabel,l=r.offset;return Object(j.cloneElement)(n,{viewBox:lt(lt({},l),{},{x:l.left,y:l.top}),active:o,label:s,payload:o?a:[],coordinate:i})},e.renderBrush=function(t){var n=e.props,r=n.margin,o=n.data,i=e.state,a=i.offset,s=i.dataStartIndex,l=i.dataEndIndex,c=i.updateId;return Object(j.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:Object(V.d)(e.handleBrushChange,null,t.props.onChange),data:o,x:Object(H.g)(t.props.x)?t.props.x:a.left,y:Object(H.g)(t.props.y)?t.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Object(H.g)(t.props.width)?t.props.width:a.width,startIndex:s,endIndex:l,updateId:"brush-".concat(c)})},e.renderReferenceElement=function(t,n,r){if(!t)return null;var o=nt(e).clipPathId,i=e.state,a=i.xAxisMap,s=i.yAxisMap,l=i.offset,c=t.props,u=c.xAxisId,d=c.yAxisId;return Object(j.cloneElement)(t,{key:t.key||"".concat(n,"-").concat(r),xAxis:a[u],yAxis:s[d],viewBox:{x:l.left,y:l.top,width:l.width,height:l.height},clipPathId:o})},e.renderActivePoints=function(t){var e=t.item,n=t.activePoint,r=t.basePoint,o=t.childIndex,i=t.isRange,a=[],s=e.props.key,l=e.item.props,c=l.activeDot,d=lt(lt({index:o,dataKey:l.dataKey,cx:n.x,cy:n.y,r:4,fill:Object(V.p)(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(s,"-activePoint-").concat(o)},Object(Y.c)(c)),Object(Y.a)(c));return a.push(u.renderActiveDot(c,d)),r?a.push(u.renderActiveDot(c,lt(lt({},d),{},{cx:r.x,cy:r.y,key:"".concat(s,"-basePoint-").concat(o)}))):i&&a.push(null),a},e.renderGraphicChild=function(t,n,r){var o=e.filterFormatItem(t,n,r);if(!o)return null;var i=e.getTooltipEventType(),a=e.state,s=a.isTooltipActive,l=a.tooltipAxis,c=a.activeTooltipIndex,u=a.activeLabel,d=e.props.children,f=Object(L.c)(d,M.a.displayName),p=o.props,h=p.points,v=p.isRange,g=p.baseLine,m=o.item.props,b=m.activeDot,x=!m.hide&&s&&f&&b&&c>=0,w={};"axis"!==i&&f&&"click"===f.props.trigger?w={onClick:Object(V.d)(e.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==i&&(w={onMouseLeave:Object(V.d)(e.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:Object(V.d)(e.handleItemMouseEnter,null,t.props.onMouseEnter)});var O=Object(j.cloneElement)(t,lt(lt({},o.props),w));if(x){var S,C;if(l.dataKey&&!l.allowDuplicatedCategory){var k="function"===typeof l.dataKey?function(t){return"function"===typeof l.dataKey?l.dataKey(t.payload):null}:"payload.".concat(l.dataKey.toString());S=Object(H.a)(h,k,u),C=v&&g&&Object(H.a)(g,k,u)}else S=h[c],C=v&&g&&g[c];if(!y()(S))return[O].concat(ot(e.renderActivePoints({item:o,activePoint:S,basePoint:C,childIndex:c,isRange:v})))}return v?[O,null,null]:[O,null]},e.renderCustomized=function(t,n,r){return Object(j.cloneElement)(t,lt(lt({key:"recharts-customized-".concat(r)},e.props),e.state))},e.uniqueChartId=y()(t.id)?Object(H.j)("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=d()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return e=u,(n=[{key:"componentDidMount",value:function(){y()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){y()(t.syncId)&&!y()(this.props.syncId)&&this.addListener(),!y()(t.syncId)&&y()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),y()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Object(L.c)(this.props.children,M.a.displayName);if(t&&w()(t.props.shared)){var e=t.props.shared?"axis":"item";return f.indexOf(e)>=0?e:l}return l}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e=Object(z.b)(this.container),n=Object(z.a)(t,e),r=this.inRange(n.chartX,n.chartY);if(!r)return null;var o=this.state,i=o.xAxisMap,a=o.yAxisMap;if("axis"!==this.getTooltipEventType()&&i&&a){var s=Object(H.b)(i).scale,l=Object(H.b)(a).scale,c=s&&s.invert?s.invert(n.chartX):null,u=l&&l.invert?l.invert(n.chartY):null;return lt(lt({},n),{},{xValue:c,yValue:u})}var d=mt(this.state,this.props.data,this.props.layout,r);return d?lt(lt({},n),d):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,n=e.activeCoordinate,r=e.offset,o=e.tooltipAxisBandSize,i=o/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?n.x-i:r.left+.5,y:"horizontal"===t?r.top+.5:n.y-i,width:"horizontal"===t?o:r.width-1,height:"horizontal"===t?r.height-1:o}}},{key:"getCursorPoints",value:function(){var t,e,n,r,o=this.props.layout,i=this.state,a=i.activeCoordinate,s=i.offset;if("horizontal"===o)n=t=a.x,e=s.top,r=s.top+s.height;else if("vertical"===o)r=e=a.y,t=s.left,n=s.left+s.width;else if(!y()(a.cx)||!y()(a.cy)){if("centric"!==o){var l=a.cx,c=a.cy,u=a.radius,d=a.startAngle,f=a.endAngle;return{points:[Object(W.c)(l,c,u,d),Object(W.c)(l,c,u,f)],cx:l,cy:c,radius:u,startAngle:d,endAngle:f}}var p=a.cx,h=a.cy,v=a.innerRadius,g=a.outerRadius,m=a.angle,b=Object(W.c)(p,h,v,m),x=Object(W.c)(p,h,g,m);t=b.x,e=b.y,n=x.x,r=x.y}return[{x:t,y:e},{x:n,y:r}]}},{key:"inRange",value:function(t,e){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return t>=r.left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height?{x:t,y:e}:null}var o=this.state,i=o.angleAxisMap,a=o.radiusAxisMap;if(i&&a){var s=Object(H.b)(i);return Object(W.b)({x:t,y:e},s)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),n=Object(L.c)(t,M.a.displayName),r={};return n&&"axis"===e&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),lt(lt({},Object(Y.a)(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){G.b.on(G.a,this.handleReceiveSyncEvent),G.b.setMaxListeners&&G.b._maxListeners&&G.b.setMaxListeners(G.b._maxListeners+1)}},{key:"removeListener",value:function(){G.b.removeListener(G.a,this.handleReceiveSyncEvent),G.b.setMaxListeners&&G.b._maxListeners&&G.b.setMaxListeners(G.b._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;y()(e)||G.b.emit(G.a,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,n=e.layout,r=e.syncMethod,o=this.state.updateId,i=t.dataStartIndex,a=t.dataEndIndex;if(y()(t.dataStartIndex)&&y()(t.dataEndIndex))if(y()(t.activeTooltipIndex))this.setState(t);else{var s=t.chartX,l=t.chartY,c=t.activeTooltipIndex,u=this.state,d=u.offset,f=u.tooltipTicks;if(!d)return;if("function"===typeof r)c=r(f,t);else if("value"===r){c=-1;for(var p=0;p<f.length;p++)if(f[p].value===t.activeLabel){c=p;break}}var h=lt(lt({},d),{},{x:d.left,y:d.top}),v=Math.min(s,h.x+h.width),g=Math.min(l,h.y+h.height),m=f[c]&&f[c].value,b=gt(this.state,this.props.data,c),x=f[c]?{x:"horizontal"===n?f[c].coordinate:v,y:"horizontal"===n?g:f[c].coordinate}:dt;this.setState(lt(lt({},t),{},{activeLabel:m,activeCoordinate:x,activePayload:b,activeTooltipIndex:c}))}else this.setState(lt({dataStartIndex:i,dataEndIndex:a},O({props:this.props,dataStartIndex:i,dataEndIndex:a,updateId:o},this.state)))}},{key:"filterFormatItem",value:function(t,e,n){for(var r=this.state.formattedGraphicalItems,o=0,i=r.length;o<i;o++){var a=r[o];if(a.item===t||a.props.key===t.key||e===Object(L.d)(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,n,r){var o=this.props,i=o.width,a=o.height;return C.a.createElement(F.a,$({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(n,"-").concat(r),viewBox:{x:0,y:0,width:i,height:a},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,n=e.left,r=e.top,o=e.height,i=e.width;return C.a.createElement("defs",null,C.a.createElement("clipPath",{id:t},C.a.createElement("rect",{x:n,y:r,height:o,width:i})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=K(e,2),r=n[0],o=n[1];return lt(lt({},t),{},ct({},r,o.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=K(e,2),r=n[0],o=n[1];return lt(lt({},t),{},ct({},r,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e,n;return null===(e=this.state.xAxisMap)||void 0===e||null===(n=e[t])||void 0===n?void 0:n.scale}},{key:"getYScaleByAxisId",value:function(t){var e,n;return null===(e=this.state.yAxisMap)||void 0===e||null===(n=e[t])||void 0===n?void 0:n.scale}},{key:"getItemByXY",value:function(t){var e=this.state.formattedGraphicalItems;if(e&&e.length)for(var n=0,r=e.length;n<r;n++){var o=e[n],i=o.props,a=o.item,s=Object(L.d)(a.type);if("Bar"===s){var l=(i.data||[]).find((function(e){return Object(N.b)(t,e)}));if(l)return{graphicalItem:o,payload:l}}else if("RadialBar"===s){var c=(i.data||[]).find((function(e){return Object(W.b)(t,e)}));if(c)return{graphicalItem:o,payload:c}}}return null}},{key:"render",value:function(){var t=this;if(!Object(L.i)(this))return null;var e=this.props,n=e.children,r=e.className,o=e.width,i=e.height,a=e.style,s=e.compact,l=Z(e,["children","className","width","height","style","compact"]),c=Object(Y.c)(l),u={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(s)return C.a.createElement(P.a,$({},c,{width:o,height:i}),this.renderClipPath(),Object(L.h)(n,u));var d=this.parseEventsOfWrapper();return C.a.createElement("div",$({className:E()("recharts-wrapper",r),style:lt({position:"relative",cursor:"default",width:o,height:i},a)},d,{ref:function(e){t.container=e}}),C.a.createElement(P.a,$({},c,{width:o,height:i}),this.renderClipPath(),Object(L.h)(n,u)),this.renderLegend(),this.renderTooltip())}}])&&Q(e.prototype,n),o&&Q(e,o),u}(j.Component),e.displayName=r,e.defaultProps=lt({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},b),e.getDerivedStateFromProps=function(t,e){var n=t.data,r=t.children,o=t.width,i=t.height,a=t.layout,s=t.stackOffset,l=t.margin;if(y()(e.updateId)){var c=yt(t);return lt(lt(lt({},c),{},{updateId:0},O(lt(lt({props:t},c),{},{updateId:0}),e)),{},{prevData:n,prevWidth:o,prevHeight:i,prevLayout:a,prevStackOffset:s,prevMargin:l,prevChildren:r})}if(n!==e.prevData||o!==e.prevWidth||i!==e.prevHeight||a!==e.prevLayout||s!==e.prevStackOffset||!Object(q.a)(l,e.prevMargin)){var u=yt(t),d={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},f=lt(lt({},mt(e,n,a)),{},{updateId:e.updateId+1}),p=lt(lt(lt({},u),d),f);return lt(lt(lt({},p),O(lt({props:t},p),e)),{},{prevData:n,prevWidth:o,prevHeight:i,prevLayout:a,prevStackOffset:s,prevMargin:l,prevChildren:r})}if(!Object(L.f)(r,e.prevChildren)){var h=!y()(n)?e.updateId:e.updateId+1;return lt(lt({updateId:h},O(lt(lt({props:t},e),{},{updateId:h}),e)),{},{prevChildren:r})}return null},e.renderActiveDot=function(t,e){var n;return n=Object(j.isValidElement)(t)?Object(j.cloneElement)(t,e):c()(t)?t(e):C.a.createElement(I.a,e),C.a.createElement(_.a,{className:"recharts-active-dot",key:e.key},n)},n}}).call(this,n(385).setImmediate,n(385).clearImmediate)},function(t,e,n){var r=n(965),o=n(87);t.exports=function(t,e,n){var i=!0,a=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(n)&&(i="leading"in n?!!n.leading:i,a="trailing"in n?!!n.trailing:a),r(t,e,{leading:i,maxWait:e,trailing:a})}},function(t,e,n){var r=n(191),o=n(151);t.exports=function(t){return!0===t||!1===t||o(t)&&"[object Boolean]"==r(t)}},function(t,e,n){var r=n(495),o=n(981);t.exports=function(t,e){return r(o(t,e),1)}},function(t,e,n){"use strict";t.exports=n(982)},function(t,e,n){!function(t){"use strict";var e="function"===typeof WeakSet,n=Object.keys;function r(t,e){return t===e||t!==t&&e!==e}function o(t){return t.constructor===Object||null==t.constructor}function i(t){return!!t&&"function"===typeof t.then}function a(t){return!(!t||!t.$$typeof)}function s(){var t=[];return{add:function(e){t.push(e)},has:function(e){return-1!==t.indexOf(e)}}}var l=e?function(){return new WeakSet}:s;function c(t){return function(e){var n=t||e;return function(t,e,r){void 0===r&&(r=l());var o=!!t&&"object"===typeof t,i=!!e&&"object"===typeof e;if(o||i){var a=o&&r.has(t),s=i&&r.has(e);if(a||s)return a&&s;o&&r.add(t),i&&r.add(e)}return n(t,e,r)}}}function u(t,e,n,r){var o=t.length;if(e.length!==o)return!1;for(;o-- >0;)if(!n(t[o],e[o],r))return!1;return!0}function d(t,e,n,r){var o=t.size===e.size;if(o&&t.size){var i={};t.forEach((function(t,a){if(o){var s=!1,l=0;e.forEach((function(e,o){s||i[l]||(s=n(a,o,r)&&n(t,e,r))&&(i[l]=!0),l++})),o=s}}))}return o}var f="_owner",p=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(t,e,r,o){var i=n(t),s=i.length;if(n(e).length!==s)return!1;if(s)for(var l=void 0;s-- >0;){if((l=i[s])===f){var c=a(t),u=a(e);if((c||u)&&c!==u)return!1}if(!p(e,l)||!r(t[l],e[l],o))return!1}return!0}function v(t,e){return t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.unicode===e.unicode&&t.sticky===e.sticky&&t.lastIndex===e.lastIndex}function g(t,e,n,r){var o=t.size===e.size;if(o&&t.size){var i={};t.forEach((function(t){if(o){var a=!1,s=0;e.forEach((function(e){a||i[s]||(a=n(t,e,r))&&(i[s]=!0),s++})),o=a}}))}return o}var m="function"===typeof Map,b="function"===typeof Set;function y(t){var e="function"===typeof t?t(n):n;function n(t,n,a){if(t===n)return!0;if(t&&n&&"object"===typeof t&&"object"===typeof n){if(o(t)&&o(n))return h(t,n,e,a);var s=Array.isArray(t),l=Array.isArray(n);return s||l?s===l&&u(t,n,e,a):(s=t instanceof Date,l=n instanceof Date,s||l?s===l&&r(t.getTime(),n.getTime()):(s=t instanceof RegExp,l=n instanceof RegExp,s||l?s===l&&v(t,n):i(t)||i(n)?t===n:m&&(s=t instanceof Map,l=n instanceof Map,s||l)?s===l&&d(t,n,e,a):b&&(s=t instanceof Set,l=n instanceof Set,s||l)?s===l&&g(t,n,e,a):h(t,n,e,a)))}return t!==t&&n!==n}return n}var x=y(),w=y((function(){return r})),O=y(c()),S=y(c(r));t.circularDeepEqual=O,t.circularShallowEqual=S,t.createCustomEqual=y,t.deepEqual=x,t.sameValueZeroEqual=r,t.shallowEqual=w,Object.defineProperty(t,"__esModule",{value:!0})}(e)},function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var r=n(1),o=n.n(r),i=n(56),a=n.n(i),s=n(18),l=n(39);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},c(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},u.apply(this,arguments)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function h(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(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 g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}var m=function(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&&p(t,e)}(c,t);var e,n,r,i=h(c);function c(){return d(this,c),i.apply(this,arguments)}return e=c,r=[{key:"getPath",value:function(t,e,n,r,o,i){return"M".concat(t,",").concat(o,"v").concat(r,"M").concat(i,",").concat(e,"h").concat(n)}}],(n=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,d=t.top,f=t.left,p=t.className;return Object(s.g)(e)&&Object(s.g)(n)&&Object(s.g)(r)&&Object(s.g)(i)&&Object(s.g)(d)&&Object(s.g)(f)?o.a.createElement("path",u({},Object(l.c)(this.props,!0),{className:a()("recharts-cross",p),d:c.getPath(e,n,r,i,d,f)})):null}}])&&f(e.prototype,n),r&&f(e,r),c}(r.PureComponent);m.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return x}));var r=n(1),o=n.n(r),i=n(56),a=n.n(i),s=n(39),l=n(80),c=n(18);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},u(t)}function d(){return d=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},d.apply(this,arguments)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 h(t,e){return h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},h(t,e)}function v(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=m(t);if(e){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==u(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 m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}var b=function(t){var e=t.cx,n=t.cy,r=t.radius,o=t.angle,i=t.sign,a=t.isExternal,s=t.cornerRadius,c=t.cornerIsExternal,u=s*(a?1:-1)+r,d=Math.asin(s/u)/l.a,f=c?o:o+i*d,p=c?o-i*d:o;return{center:Object(l.c)(e,n,u,f),circleTangency:Object(l.c)(e,n,r,f),lineTangency:Object(l.c)(e,n,u*Math.cos(d*l.a),p),theta:d}},y=function(t){var e=t.cx,n=t.cy,r=t.innerRadius,o=t.outerRadius,i=t.startAngle,a=function(t,e){return Object(c.i)(e-t)*Math.min(Math.abs(e-t),359.999)}(i,t.endAngle),s=i+a,u=Object(l.c)(e,n,o,i),d=Object(l.c)(e,n,o,s),f="M ".concat(u.x,",").concat(u.y,"\n    A ").concat(o,",").concat(o,",0,\n    ").concat(+(Math.abs(a)>180),",").concat(+(i>s),",\n    ").concat(d.x,",").concat(d.y,"\n  ");if(r>0){var p=Object(l.c)(e,n,r,i),h=Object(l.c)(e,n,r,s);f+="L ".concat(h.x,",").concat(h.y,"\n            A ").concat(r,",").concat(r,",0,\n            ").concat(+(Math.abs(a)>180),",").concat(+(i<=s),",\n            ").concat(p.x,",").concat(p.y," Z")}else f+="L ".concat(e,",").concat(n," Z");return f},x=function(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&&h(t,e)}(l,t);var e,n,r,i=v(l);function l(){return f(this,l),i.apply(this,arguments)}return e=l,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,l=t.cornerRadius,u=t.forceCornerRadius,f=t.cornerIsExternal,p=t.startAngle,h=t.endAngle,v=t.className;if(i<r||p===h)return null;var g,m=a()("recharts-sector",v),x=i-r,w=Object(c.c)(l,x,0,!0);return g=w>0&&Math.abs(p-h)<360?function(t){var e=t.cx,n=t.cy,r=t.innerRadius,o=t.outerRadius,i=t.cornerRadius,a=t.forceCornerRadius,s=t.cornerIsExternal,l=t.startAngle,u=t.endAngle,d=Object(c.i)(u-l),f=b({cx:e,cy:n,radius:o,angle:l,sign:d,cornerRadius:i,cornerIsExternal:s}),p=f.circleTangency,h=f.lineTangency,v=f.theta,g=b({cx:e,cy:n,radius:o,angle:u,sign:-d,cornerRadius:i,cornerIsExternal:s}),m=g.circleTangency,x=g.lineTangency,w=g.theta,O=s?Math.abs(l-u):Math.abs(l-u)-v-w;if(O<0)return a?"M ".concat(h.x,",").concat(h.y,"\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n      "):y({cx:e,cy:n,innerRadius:r,outerRadius:o,startAngle:l,endAngle:u});var S="M ".concat(h.x,",").concat(h.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(p.x,",").concat(p.y,"\n    A").concat(o,",").concat(o,",0,").concat(+(O>180),",").concat(+(d<0),",").concat(m.x,",").concat(m.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(x.x,",").concat(x.y,"\n  ");if(r>0){var j=b({cx:e,cy:n,radius:r,angle:l,sign:d,isExternal:!0,cornerRadius:i,cornerIsExternal:s}),C=j.circleTangency,k=j.lineTangency,E=j.theta,P=b({cx:e,cy:n,radius:r,angle:u,sign:-d,isExternal:!0,cornerRadius:i,cornerIsExternal:s}),_=P.circleTangency,M=P.lineTangency,T=P.theta,A=s?Math.abs(l-u):Math.abs(l-u)-E-T;if(A<0&&0===i)return"".concat(S,"L").concat(e,",").concat(n,"Z");S+="L".concat(M.x,",").concat(M.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(_.x,",").concat(_.y,"\n      A").concat(r,",").concat(r,",0,").concat(+(A>180),",").concat(+(d>0),",").concat(C.x,",").concat(C.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(k.x,",").concat(k.y,"Z")}else S+="L".concat(e,",").concat(n,"Z");return S}({cx:e,cy:n,innerRadius:r,outerRadius:i,cornerRadius:Math.min(w,x/2),forceCornerRadius:u,cornerIsExternal:f,startAngle:p,endAngle:h}):y({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:p,endAngle:h}),o.a.createElement("path",d({},Object(s.c)(this.props,!0),{className:m,d:g}))}}])&&p(e.prototype,n),r&&p(e,r),l}(r.PureComponent);x.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1}},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,o="~";function i(){}function a(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function s(t,e,n,r,i){if("function"!==typeof n)throw new TypeError("The listener must be a function");var s=new a(n,r||t,i),l=o?o+e:e;return t._events[l]?t._events[l].fn?t._events[l]=[t._events[l],s]:t._events[l].push(s):(t._events[l]=s,t._eventsCount++),t}function l(t,e){0===--t._eventsCount?t._events=new i:delete t._events[e]}function c(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(o=!1)),c.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(o?e.slice(1):e);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(t)):n},c.prototype.listeners=function(t){var e=o?o+t:t,n=this._events[e];if(!n)return[];if(n.fn)return[n.fn];for(var r=0,i=n.length,a=new Array(i);r<i;r++)a[r]=n[r].fn;return a},c.prototype.listenerCount=function(t){var e=o?o+t:t,n=this._events[e];return n?n.fn?1:n.length:0},c.prototype.emit=function(t,e,n,r,i,a){var s=o?o+t:t;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,r),!0;case 5:return u.fn.call(u.context,e,n,r,i),!0;case 6:return u.fn.call(u.context,e,n,r,i,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,n);break;case 4:u[c].fn.call(u[c].context,e,n,r);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},c.prototype.on=function(t,e,n){return s(this,t,e,n,!1)},c.prototype.once=function(t,e,n){return s(this,t,e,n,!0)},c.prototype.removeListener=function(t,e,n,r){var i=o?o+t:t;if(!this._events[i])return this;if(!e)return l(this,i),this;var a=this._events[i];if(a.fn)a.fn!==e||r&&!a.once||n&&a.context!==n||l(this,i);else{for(var s=0,c=[],u=a.length;s<u;s++)(a[s].fn!==e||r&&!a[s].once||n&&a[s].context!==n)&&c.push(a[s]);c.length?this._events[i]=1===c.length?c[0]:c:l(this,i)}return this},c.prototype.removeAllListeners=function(t){var e;return t?(e=o?o+t:t,this._events[e]&&l(this,e)):(this._events=new i,this._eventsCount=0),this},c.prototype.off=c.prototype.removeListener,c.prototype.addListener=c.prototype.on,c.prefixed=o,c.EventEmitter=c,t.exports=c},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return null};r.displayName="XAxis",r.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){return null};r.displayName="YAxis",r.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},function(t,e,n){var r=n(377),o=n(1009),i=n(1024),a=n(376),s=n(239),l=n(1026),c=n(1027),u=n(625),d=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})),s(t,u(t),n),c&&(n=o(n,7,l));for(var d=e.length;d--;)i(n,e[d]);return n}));t.exports=d},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(76),o=!1;"undefined"!==typeof t&&void 0!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).GRID_EXPERIMENTAL_ENABLED&&Object(r.f)()&&window.localStorage.getItem("GRID_EXPERIMENTAL_ENABLED")?o="true"===window.localStorage.getItem("GRID_EXPERIMENTAL_ENABLED"):"undefined"!==typeof t&&(o="true"===Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).GRID_EXPERIMENTAL_ENABLED);var i=o}).call(this,n(171))},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(444),o=n(523);function i(t){return Object(r.a)("MuiTimelineContent",t)}var a=Object(o.a)("MuiTimelineContent",["root","positionLeft","positionRight","positionAlternate"]);e.a=a},function(t,e,n){"use strict";n.d(e,"b",(function(){return i}));var r=n(444),o=n(523);function i(t){return Object(r.a)("MuiTimelineOppositeContent",t)}var a=Object(o.a)("MuiTimelineOppositeContent",["root","positionLeft","positionRight","positionAlternate"]);e.a=a},function(t,e,n){"use strict";e.a=function(){return!1}},function(t,e,n){"use strict";(function(t){var r=n(95),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(this,n(496)(t))},function(t,e,n){var r=n(1053),o=n(628)((function(t,e,n){return e=e.toLowerCase(),t+(n?r(e):e)}));t.exports=o},function(t,e,n){var r=n(323),o=n(494),i=n(192);t.exports=function(t,e){var n={};return e=i(e,3),o(t,(function(t,o,i){r(n,e(t,o,i),t)})),n}},function(t,e){function n(t,e){var n=t.length,r=new Array(n),o={},i=n,a=function(t){for(var e=new Map,n=0,r=t.length;n<r;n++){var o=t[n];e.has(o[0])||e.set(o[0],new Set),e.has(o[1])||e.set(o[1],new Set),e.get(o[0]).add(o[1])}return e}(e),s=function(t){for(var e=new Map,n=0,r=t.length;n<r;n++)e.set(t[n],n);return e}(t);for(e.forEach((function(t){if(!s.has(t[0])||!s.has(t[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")}));i--;)o[i]||l(t[i],i,new Set);return r;function l(t,e,i){if(i.has(t)){var c;try{c=", node was:"+JSON.stringify(t)}catch(f){c=""}throw new Error("Cyclic dependency"+c)}if(!s.has(t))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!o[e]){o[e]=!0;var u=a.get(t)||new Set;if(e=(u=Array.from(u)).length){i.add(t);do{var d=u[--e];l(d,s.get(d),i)}while(e);i.delete(t)}r[--n]=t}}}t.exports=function(t){return n(function(t){for(var e=new Set,n=0,r=t.length;n<r;n++){var o=t[n];e.add(o[0]),e.add(o[1])}return Array.from(e)}(t),t)},t.exports.array=n},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zM14 5h-3l-1-1H6L5 5H2v2h12z"}),"DeleteSweep");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm15 0h-2v3h-3v2h3v3h2v-3h3v-2h-3z"}),"DashboardCustomize");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M22 9V7h-2v2h-2v2h2v2h2v-2h2V9zM8 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 1c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4zm4.51-8.95C13.43 5.11 14 6.49 14 8s-.57 2.89-1.49 3.95C14.47 11.7 16 10.04 16 8s-1.53-3.7-3.49-3.95zm4.02 9.78C17.42 14.66 18 15.7 18 17v3h2v-3c0-1.45-1.59-2.51-3.47-3.17z"}),"GroupAdd");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m22 5.72-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM7.88 3.39 6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM12.5 8H11v6l4.75 2.85.75-1.23-4-2.37V8zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4.03-9-9-9zm0 16c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"}),"Alarm");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z"}),"Accessibility");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 12.75c1.63 0 3.07.39 4.24.9 1.08.48 1.76 1.56 1.76 2.73V18H6v-1.61c0-1.18.68-2.26 1.76-2.73 1.17-.52 2.61-.91 4.24-.91zM4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58C.48 14.9 0 15.62 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29zM20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm4 3.43c0-.81-.48-1.53-1.22-1.85-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H24v-1.57zM12 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3z"}),"Groups");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)([(0,i.jsx)("path",{d:"m16.6 10.88-1.42-1.42-4.24 4.25-2.12-2.13L7.4 13l3.54 3.54z"},"0"),(0,i.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2zm0 14H5V8h14v10z"},"1")],"DomainVerification");e.default=a},function(t,e,n){t.exports=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,r=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,i={},a=function(t){return(t=+t)+(t>68?1900:2e3)},s=function(t){return function(e){this[t]=+e}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],c=function(t){var e=i[t];return e&&(e.indexOf?e:e.s.concat(e.f))},u=function(t,e){var n,r=i.meridiem;if(r){for(var o=1;o<=24;o+=1)if(t.indexOf(r(o,0,e))>-1){n=o>12;break}}else n=t===(e?"pm":"PM");return n},d={A:[o,function(t){this.afternoon=u(t,!1)}],a:[o,function(t){this.afternoon=u(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[o,function(t){var e=i.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var r=1;r<=31;r+=1)e(r).replace(/\[|\]/g,"")===t&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[o,function(t){var e=c("months"),n=(c("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(t){var e=c("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function f(n){var r,o;r=n,o=i&&i.formats;for(var a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,r){var i=r&&r.toUpperCase();return n||o[r]||t[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),s=a.length,l=0;l<s;l+=1){var c=a[l],u=d[c],f=u&&u[0],p=u&&u[1];a[l]=p?{regex:f,parser:p}:c.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,r=0;n<s;n+=1){var o=a[n];if("string"==typeof o)r+=o.length;else{var i=o.regex,l=o.parser,c=t.slice(r),u=i.exec(c)[0];l.call(e,u),t=t.replace(u,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(a=t.parseTwoDigitYear);var r=e.prototype,o=r.parse;r.parse=function(t){var e=t.date,r=t.utc,a=t.args;this.$u=r;var s=a[1];if("string"==typeof s){var l=!0===a[2],c=!0===a[3],u=l||c,d=a[2];c&&(d=a[2]),i=this.$locale(),!l&&d&&(i=n.Ls[d]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var r=f(e)(t),o=r.year,i=r.month,a=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,p=new Date,h=a||(o||i?1:p.getDate()),v=o||p.getFullYear(),g=0;o&&!i||(g=i>0?i-1:p.getMonth());var m=s||0,b=l||0,y=c||0,x=u||0;return d?new Date(Date.UTC(v,g,h,m,b,y,x+60*d.offset*1e3)):n?new Date(Date.UTC(v,g,h,m,b,y,x)):new Date(v,g,h,m,b,y,x)}catch(t){return new Date("")}}(e,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&e!=this.format(s)&&(this.$d=new Date("")),i={}}else if(s instanceof Array)for(var p=s.length,h=1;h<=p;h+=1){a[1]=s[h-1];var v=n.apply(this,a);if(v.isValid()){this.$d=v.$d,this.$L=v.$L,this.init();break}h===p&&(this.$d=new Date(""))}else o.call(this,t)}}}()},function(t,e,n){t.exports=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,n,r){var o=n.prototype,i=o.format;r.en.formats=t,o.format=function(e){void 0===e&&(e="YYYY-MM-DDTHH:mm:ssZ");var n=this.$locale().formats,r=function(e,n){return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,r,o){var i=o&&o.toUpperCase();return r||n[o]||t[o]||n[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))}(e,void 0===n?{}:n);return i.call(this,r)}}}()},function(t,e,n){t.exports=function(){"use strict";return function(t,e,n){e.prototype.isBetween=function(t,e,r,o){var i=n(t),a=n(e),s="("===(o=o||"()")[0],l=")"===o[1];return(s?this.isAfter(i,r):!this.isBefore(i,r))&&(l?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(i,r):!this.isAfter(i,r))&&(l?this.isAfter(a,r):!this.isBefore(a,r))}}}()},function(t,e,n){"use strict";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},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}}(),i=u(n(1)),a=u(n(593)),s=u(n(1054)),l=u(n(1056)),c=u(n(32));function u(t){return t&&t.__esModule?t:{default:t}}function d(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}var p=function(t){function e(){return d(this,e),f(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,t),o(e,[{key:"render",value:function(){var t=this.props.protocol+"www.gravatar.com/avatar/",e=s.default.stringify({s:this.props.size,r:this.props.rating,d:this.props.default}),n=s.default.stringify({s:2*this.props.size,r:this.props.rating,d:this.props.default}),o=(""+this.props.email).trim().toLowerCase(),c=void 0;if(this.props.md5)c=this.props.md5;else{if("string"!==typeof this.props.email)return console.warn('Gravatar image can not be fetched. Either the "email" or "md5" prop must be specified.'),i.default.createElement("script",null);c=(0,a.default)(o,{encoding:"binary"})}var u=""+t+c+"?"+e,d=""+t+c+"?"+n,f=!0;"undefined"!==typeof window&&(f="srcset"in document.createElement("img"));var p="react-gravatar";this.props.className&&(p=p+" "+this.props.className);var h=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 delete h.md5,delete h.email,delete h.protocol,delete h.rating,delete h.size,delete h.style,delete h.className,delete h.default,!f&&(0,l.default)()?i.default.createElement("img",r({alt:"Gravatar for "+o,style:this.props.style,src:d,height:this.props.size,width:this.props.size},h,{className:p})):i.default.createElement("img",r({alt:"Gravatar for "+o,style:this.props.style,src:u,srcSet:d+" 2x",height:this.props.size,width:this.props.size},h,{className:p}))}}]),e}(i.default.Component);p.displayName="Gravatar",p.propTypes={email:c.default.string,md5:c.default.string,size:c.default.number,rating:c.default.string,default:c.default.string,className:c.default.string,protocol:c.default.string,style:c.default.object},p.defaultProps={size:50,rating:"g",default:"retro",protocol:"//"},t.exports=p},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;!function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}r.default=t,n&&n.set(t,r)}(n(1));var o=r(n(45)),i=n(0);function a(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}var s=(0,o.default)((0,i.jsx)("path",{d:"M9.04 21.54c.96.29 1.93.46 2.96.46a10 10 0 0 0 10-10A10 10 0 0 0 12 2 10 10 0 0 0 2 12c0 4.25 2.67 7.9 6.44 9.34-.09-.78-.18-2.07 0-2.96l1.15-4.94s-.29-.58-.29-1.5c0-1.38.86-2.41 1.84-2.41.86 0 1.26.63 1.26 1.44 0 .86-.57 2.09-.86 3.27-.17.98.52 1.84 1.52 1.84 1.78 0 3.16-1.9 3.16-4.58 0-2.4-1.72-4.04-4.19-4.04-2.82 0-4.48 2.1-4.48 4.31 0 .86.28 1.73.74 2.3.09.06.09.14.06.29l-.29 1.09c0 .17-.11.23-.28.11-1.28-.56-2.02-2.38-2.02-3.85 0-3.16 2.24-6.03 6.56-6.03 3.44 0 6.12 2.47 6.12 5.75 0 3.44-2.13 6.2-5.18 6.2-.97 0-1.92-.52-2.26-1.13l-.67 2.37c-.23.86-.86 2.01-1.29 2.7v-.03z"}),"Pinterest");e.default=s},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;!function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=a(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var s=o?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}r.default=t,n&&n.set(t,r)}(n(1));var o=r(n(45)),i=n(0);function a(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(a=function(t){return t?n:e})(t)}var s=(0,o.default)((0,i.jsx)("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn");e.default=s},function(t,e,n){"use strict";var r=n(8),o=n(7);r.eb.touchMouseIgnoreWait=500;var i=0,a=0,s=!1,l=function(){function t(t){var e=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(t){if(!e.shouldIgnoreMouse()&&function(t){return 0===t.button&&!t.ctrlKey}(t)&&e.tryStart(t)){var n=e.createEventFromMouse(t,!0);e.emitter.trigger("pointerdown",n),e.initScrollWatch(n),e.shouldIgnoreMove||document.addEventListener("mousemove",e.handleMouseMove),document.addEventListener("mouseup",e.handleMouseUp)}},this.handleMouseMove=function(t){var n=e.createEventFromMouse(t);e.recordCoords(n),e.emitter.trigger("pointermove",n)},this.handleMouseUp=function(t){document.removeEventListener("mousemove",e.handleMouseMove),document.removeEventListener("mouseup",e.handleMouseUp),e.emitter.trigger("pointerup",e.createEventFromMouse(t)),e.cleanup()},this.handleTouchStart=function(t){if(e.tryStart(t)){e.isTouchDragging=!0;var n=e.createEventFromTouch(t,!0);e.emitter.trigger("pointerdown",n),e.initScrollWatch(n);var r=t.target;e.shouldIgnoreMove||r.addEventListener("touchmove",e.handleTouchMove),r.addEventListener("touchend",e.handleTouchEnd),r.addEventListener("touchcancel",e.handleTouchEnd),window.addEventListener("scroll",e.handleTouchScroll,!0)}},this.handleTouchMove=function(t){var n=e.createEventFromTouch(t);e.recordCoords(n),e.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(t){if(e.isDragging){var n=t.target;n.removeEventListener("touchmove",e.handleTouchMove),n.removeEventListener("touchend",e.handleTouchEnd),n.removeEventListener("touchcancel",e.handleTouchEnd),window.removeEventListener("scroll",e.handleTouchScroll,!0),e.emitter.trigger("pointerup",e.createEventFromTouch(t)),e.cleanup(),e.isTouchDragging=!1,i+=1,setTimeout((function(){i-=1}),r.eb.touchMouseIgnoreWait)}},this.handleTouchScroll=function(){e.wasTouchScroll=!0},this.handleScroll=function(t){if(!e.shouldIgnoreMove){var n=window.pageXOffset-e.prevScrollX+e.prevPageX,r=window.pageYOffset-e.prevScrollY+e.prevPageY;e.emitter.trigger("pointermove",{origEvent:t,isTouch:e.isTouchDragging,subjectEl:e.subjectEl,pageX:n,pageY:r,deltaX:n-e.origPageX,deltaY:r-e.origPageY})}},this.containerEl=t,this.emitter=new r.q,t.addEventListener("mousedown",this.handleMouseDown),t.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),1===(a+=1)&&window.addEventListener("touchmove",c,{passive:!1})}return t.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),(a-=1)||window.removeEventListener("touchmove",c,{passive:!1})},t.prototype.tryStart=function(t){var e=this.querySubjectEl(t),n=t.target;return!(!e||this.handleSelector&&!Object(r.sb)(n,this.handleSelector))&&(this.subjectEl=e,this.isDragging=!0,this.wasTouchScroll=!1,!0)},t.prototype.cleanup=function(){s=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},t.prototype.querySubjectEl=function(t){return this.selector?Object(r.sb)(t.target,this.selector):this.containerEl},t.prototype.shouldIgnoreMouse=function(){return i||this.isTouchDragging},t.prototype.cancelTouchScroll=function(){this.isDragging&&(s=!0)},t.prototype.initScrollWatch=function(t){this.shouldWatchScroll&&(this.recordCoords(t),window.addEventListener("scroll",this.handleScroll,!0))},t.prototype.recordCoords=function(t){this.shouldWatchScroll&&(this.prevPageX=t.pageX,this.prevPageY=t.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},t.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},t.prototype.createEventFromMouse=function(t,e){var n=0,r=0;return e?(this.origPageX=t.pageX,this.origPageY=t.pageY):(n=t.pageX-this.origPageX,r=t.pageY-this.origPageY),{origEvent:t,isTouch:!1,subjectEl:this.subjectEl,pageX:t.pageX,pageY:t.pageY,deltaX:n,deltaY:r}},t.prototype.createEventFromTouch=function(t,e){var n,r,o=t.touches,i=0,a=0;return o&&o.length?(n=o[0].pageX,r=o[0].pageY):(n=t.pageX,r=t.pageY),e?(this.origPageX=n,this.origPageY=r):(i=n-this.origPageX,a=r-this.origPageY),{origEvent:t,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:i,deltaY:a}},t}();function c(t){s&&t.preventDefault()}var u=function(){function t(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return t.prototype.start=function(t,e,n){this.sourceEl=t,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=e-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},t.prototype.handleMove=function(t,e){this.deltaX=t-window.pageXOffset-this.origScreenX,this.deltaY=e-window.pageYOffset-this.origScreenY,this.updateElPosition()},t.prototype.setIsVisible=function(t){t?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=t,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=t)},t.prototype.stop=function(t,e){var n=this,r=function(){n.cleanup(),e()};t&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},t.prototype.doRevertAnimation=function(t,e){var n=this.mirrorEl,o=this.sourceEl.getBoundingClientRect();n.style.transition="top "+e+"ms,left "+e+"ms",Object(r.R)(n,{left:o.left,top:o.top}),Object(r.mc)(n,(function(){n.style.transition="",t()}))},t.prototype.cleanup=function(){this.mirrorEl&&(Object(r.fc)(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},t.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&Object(r.R)(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},t.prototype.getMirrorEl=function(){var t=this.sourceElRect,e=this.mirrorEl;return e||((e=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),e.classList.add("fc-event-dragging"),Object(r.R)(e,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:t.right-t.left,height:t.bottom-t.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(e)),e},t}(),d=function(t){function e(e,n){var r=t.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=e,r.doesListening=n,r.scrollTop=r.origScrollTop=e.getScrollTop(),r.scrollLeft=r.origScrollLeft=e.getScrollLeft(),r.scrollWidth=e.getScrollWidth(),r.scrollHeight=e.getScrollHeight(),r.clientWidth=e.getClientWidth(),r.clientHeight=e.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return Object(o.b)(e,t),e.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},e.prototype.getScrollTop=function(){return this.scrollTop},e.prototype.getScrollLeft=function(){return this.scrollLeft},e.prototype.setScrollTop=function(t){this.scrollController.setScrollTop(t),this.doesListening||(this.scrollTop=Math.max(Math.min(t,this.getMaxScrollTop()),0),this.handleScrollChange())},e.prototype.setScrollLeft=function(t){this.scrollController.setScrollLeft(t),this.doesListening||(this.scrollLeft=Math.max(Math.min(t,this.getMaxScrollLeft()),0),this.handleScrollChange())},e.prototype.getClientWidth=function(){return this.clientWidth},e.prototype.getClientHeight=function(){return this.clientHeight},e.prototype.getScrollWidth=function(){return this.scrollWidth},e.prototype.getScrollHeight=function(){return this.scrollHeight},e.prototype.handleScrollChange=function(){},e}(r.B),f=function(t){function e(e,n){return t.call(this,new r.p(e),n)||this}return Object(o.b)(e,t),e.prototype.getEventTarget=function(){return this.scrollController.el},e.prototype.computeClientRect=function(){return Object(r.cb)(this.scrollController.el)},e}(d),p=function(t){function e(e){return t.call(this,new r.K,e)||this}return Object(o.b)(e,t),e.prototype.getEventTarget=function(){return window},e.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},e.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},e}(d),h="function"===typeof performance?performance.now:Date.now,v=function(){function t(){var t=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(t.isAnimating){var e=t.computeBestEdge(t.pointerScreenX+window.pageXOffset,t.pointerScreenY+window.pageYOffset);if(e){var n=h();t.handleSide(e,(n-t.msSinceRequest)/1e3),t.requestAnimation(n)}else t.isAnimating=!1}}}return t.prototype.start=function(t,e,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(t,e))},t.prototype.handleMove=function(t,e){if(this.isEnabled){var n=t-window.pageXOffset,r=e-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,i=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),i<0?this.everMovedLeft=!0:i>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(h()))}},t.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var t=0,e=this.scrollCaches;t<e.length;t++){e[t].destroy()}this.scrollCaches=null}},t.prototype.requestAnimation=function(t){this.msSinceRequest=t,requestAnimationFrame(this.animate)},t.prototype.handleSide=function(t,e){var n=t.scrollCache,r=this.edgeThreshold,o=r-t.distance,i=o*o/(r*r)*this.maxVelocity*e,a=1;switch(t.name){case"left":a=-1;case"right":n.setScrollLeft(n.getScrollLeft()+i*a);break;case"top":a=-1;case"bottom":n.setScrollTop(n.getScrollTop()+i*a)}},t.prototype.computeBestEdge=function(t,e){for(var n=this.edgeThreshold,r=null,o=0,i=this.scrollCaches;o<i.length;o++){var a=i[o],s=a.clientRect,l=t-s.left,c=s.right-t,u=e-s.top,d=s.bottom-e;l>=0&&c>=0&&u>=0&&d>=0&&(u<=n&&this.everMovedUp&&a.canScrollUp()&&(!r||r.distance>u)&&(r={scrollCache:a,name:"top",distance:u}),d<=n&&this.everMovedDown&&a.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:a,name:"bottom",distance:d}),l<=n&&this.everMovedLeft&&a.canScrollLeft()&&(!r||r.distance>l)&&(r={scrollCache:a,name:"left",distance:l}),c<=n&&this.everMovedRight&&a.canScrollRight()&&(!r||r.distance>c)&&(r={scrollCache:a,name:"right",distance:c}))}return r},t.prototype.buildCaches=function(t){return this.queryScrollEls(t).map((function(t){return t===window?new p(!1):new f(t,!1)}))},t.prototype.queryScrollEls=function(t){for(var e=[],n=0,o=this.scrollQuery;n<o.length;n++){var i=o[n];"object"===typeof i?e.push(i):e.push.apply(e,Array.prototype.slice.call(Object(r.zb)(t).querySelectorAll(i)))}return e},t}(),g=function(t){function e(e,n){var o=t.call(this,e)||this;o.containerEl=e,o.delay=null,o.minDistance=0,o.touchScrollAllowed=!0,o.mirrorNeedsRevert=!1,o.isInteracting=!1,o.isDragging=!1,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,o.delayTimeoutId=null,o.onPointerDown=function(t){o.isDragging||(o.isInteracting=!0,o.isDelayEnded=!1,o.isDistanceSurpassed=!1,Object(r.bc)(document.body),Object(r.ac)(document.body),t.isTouch||t.origEvent.preventDefault(),o.emitter.trigger("pointerdown",t),o.isInteracting&&!o.pointer.shouldIgnoreMove&&(o.mirror.setIsVisible(!1),o.mirror.start(t.subjectEl,t.pageX,t.pageY),o.startDelay(t),o.minDistance||o.handleDistanceSurpassed(t)))},o.onPointerMove=function(t){if(o.isInteracting){if(o.emitter.trigger("pointermove",t),!o.isDistanceSurpassed){var e=o.minDistance,n=t.deltaX,r=t.deltaY;n*n+r*r>=e*e&&o.handleDistanceSurpassed(t)}o.isDragging&&("scroll"!==t.origEvent.type&&(o.mirror.handleMove(t.pageX,t.pageY),o.autoScroller.handleMove(t.pageX,t.pageY)),o.emitter.trigger("dragmove",t))}},o.onPointerUp=function(t){o.isInteracting&&(o.isInteracting=!1,Object(r.P)(document.body),Object(r.O)(document.body),o.emitter.trigger("pointerup",t),o.isDragging&&(o.autoScroller.stop(),o.tryStopDrag(t)),o.delayTimeoutId&&(clearTimeout(o.delayTimeoutId),o.delayTimeoutId=null))};var i=o.pointer=new l(e);return i.emitter.on("pointerdown",o.onPointerDown),i.emitter.on("pointermove",o.onPointerMove),i.emitter.on("pointerup",o.onPointerUp),n&&(i.selector=n),o.mirror=new u,o.autoScroller=new v,o}return Object(o.b)(e,t),e.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},e.prototype.startDelay=function(t){var e=this;"number"===typeof this.delay?this.delayTimeoutId=setTimeout((function(){e.delayTimeoutId=null,e.handleDelayEnd(t)}),this.delay):this.handleDelayEnd(t)},e.prototype.handleDelayEnd=function(t){this.isDelayEnded=!0,this.tryStartDrag(t)},e.prototype.handleDistanceSurpassed=function(t){this.isDistanceSurpassed=!0,this.tryStartDrag(t)},e.prototype.tryStartDrag=function(t){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(t.pageX,t.pageY,this.containerEl),this.emitter.trigger("dragstart",t),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},e.prototype.tryStopDrag=function(t){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,t))},e.prototype.stopDrag=function(t){this.isDragging=!1,this.emitter.trigger("dragend",t)},e.prototype.setIgnoreMove=function(t){this.pointer.shouldIgnoreMove=t},e.prototype.setMirrorIsVisible=function(t){this.mirror.setIsVisible(t)},e.prototype.setMirrorNeedsRevert=function(t){this.mirrorNeedsRevert=t},e.prototype.setAutoScrollEnabled=function(t){this.autoScroller.isEnabled=t},e}(r.o),m=function(){function t(t){this.origRect=Object(r.db)(t),this.scrollCaches=Object(r.xb)(t).map((function(t){return new f(t,!0)}))}return t.prototype.destroy=function(){for(var t=0,e=this.scrollCaches;t<e.length;t++){e[t].destroy()}},t.prototype.computeLeft=function(){for(var t=this.origRect.left,e=0,n=this.scrollCaches;e<n.length;e++){var r=n[e];t+=r.origScrollLeft-r.getScrollLeft()}return t},t.prototype.computeTop=function(){for(var t=this.origRect.top,e=0,n=this.scrollCaches;e<n.length;e++){var r=n[e];t+=r.origScrollTop-r.getScrollTop()}return t},t.prototype.isWithinClipping=function(t,e){for(var n={left:t,top:e},o=0,i=this.scrollCaches;o<i.length;o++){var a=i[o];if(!b(a.getEventTarget())&&!Object(r.Zb)(n,a.clientRect))return!1}return!0},t}();function b(t){var e=t.tagName;return"HTML"===e||"BODY"===e}var y=function(){function t(t,e){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(t){var e=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(t),n.initialHit||!n.requireInitial?(e.setIgnoreMove(!1),n.emitter.trigger("pointerdown",t)):e.setIgnoreMove(!0)},this.handleDragStart=function(t){n.emitter.trigger("dragstart",t),n.handleMove(t,!0)},this.handleDragMove=function(t){n.emitter.trigger("dragmove",t),n.handleMove(t)},this.handlePointerUp=function(t){n.releaseHits(),n.emitter.trigger("pointerup",t)},this.handleDragEnd=function(t){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,t),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",t)},this.droppableStore=e,t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragstart",this.handleDragStart),t.emitter.on("dragmove",this.handleDragMove),t.emitter.on("pointerup",this.handlePointerUp),t.emitter.on("dragend",this.handleDragEnd),this.dragging=t,this.emitter=new r.q}return t.prototype.processFirstCoord=function(t){var e,n={left:t.pageX,top:t.pageY},o=n,i=t.subjectEl;i instanceof HTMLElement&&(e=Object(r.db)(i),o=Object(r.fb)(o,e));var a=this.initialHit=this.queryHitForOffset(o.left,o.top);if(a){if(this.useSubjectCenter&&e){var s=Object(r.Ob)(e,a.rect);s&&(o=Object(r.Db)(s))}this.coordAdjust=Object(r.pb)(o,n)}else this.coordAdjust={left:0,top:0}},t.prototype.handleMove=function(t,e){var n=this.queryHitForOffset(t.pageX+this.coordAdjust.left,t.pageY+this.coordAdjust.top);!e&&x(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,t))},t.prototype.prepareHits=function(){this.offsetTrackers=Object(r.Ub)(this.droppableStore,(function(t){return t.component.prepareHits(),new m(t.el)}))},t.prototype.releaseHits=function(){var t=this.offsetTrackers;for(var e in t)t[e].destroy();this.offsetTrackers={}},t.prototype.queryHitForOffset=function(t,e){var n=this.droppableStore,o=this.offsetTrackers,i=null;for(var a in n){var s=n[a].component,l=o[a];if(l&&l.isWithinClipping(t,e)){var c=l.computeLeft(),u=l.computeTop(),d=t-c,f=e-u,p=l.origRect,h=p.right-p.left,v=p.bottom-p.top;if(d>=0&&d<h&&f>=0&&f<v){var g=s.queryHit(d,f,h,v);g&&Object(r.dc)(g.dateProfile.activeRange,g.dateSpan.range)&&(!i||g.layer>i.layer)&&(g.componentId=a,g.context=s.context,g.rect.left+=c,g.rect.right+=c,g.rect.top+=u,g.rect.bottom+=u,i=g)}}}return i},t}();function x(t,e){return!t&&!e||Boolean(t)===Boolean(e)&&Object(r.Rb)(t.dateSpan,e.dateSpan)}function w(t,e){for(var n,r,i={},a=0,s=e.pluginHooks.datePointTransforms;a<s.length;a++){var l=s[a];Object(o.a)(i,l(t,e))}return Object(o.a)(i,(n=t,{date:(r=e.dateEnv).toDate(n.range.start),dateStr:r.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay})),i}var O=function(t){function e(e){var n=t.call(this,e)||this;n.handlePointerDown=function(t){var e=n.dragging,r=t.origEvent.target;e.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(t){var e=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,i=r.initialHit,a=r.finalHit;if(i&&a&&x(i,a)){var s=e.context,l=Object(o.a)(Object(o.a)({},w(i.dateSpan,s)),{dayEl:i.dayEl,jsEvent:t.origEvent,view:s.viewApi||s.calendarApi.view});s.emitter.trigger("dateClick",l)}}},n.dragging=new g(e.el),n.dragging.autoScroller.isEnabled=!1;var i=n.hitDragging=new y(n.dragging,Object(r.Mb)(e));return i.emitter.on("pointerdown",n.handlePointerDown),i.emitter.on("dragend",n.handleDragEnd),n}return Object(o.b)(e,t),e.prototype.destroy=function(){this.dragging.destroy()},e}(r.u),S=function(t){function e(e){var n=t.call(this,e)||this;n.dragSelection=null,n.handlePointerDown=function(t){var e=n,r=e.component,o=e.dragging,i=r.context.options.selectable&&r.isValidDateDownEl(t.origEvent.target);o.setIgnoreMove(!i),o.delay=t.isTouch?function(t){var e=t.context.options,n=e.selectLongPressDelay;null==n&&(n=e.longPressDelay);return n}(r):null},n.handleDragStart=function(t){n.component.context.calendarApi.unselect(t)},n.handleHitUpdate=function(t,e){var i=n.component.context,a=null,s=!1;if(t){var l=n.hitDragging.initialHit;t.componentId===l.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(l,t)||(a=function(t,e,n){var i=t.dateSpan,a=e.dateSpan,s=[i.range.start,i.range.end,a.range.start,a.range.end];s.sort(r.ab);for(var l={},c=0,u=n;c<u.length;c++){var d=(0,u[c])(t,e);if(!1===d)return null;d&&Object(o.a)(l,d)}return l.range={start:s[0],end:s[3]},l.allDay=i.allDay,l}(l,t,i.pluginHooks.dateSelectionTransformers)),a&&Object(r.Qb)(a,t.dateProfile,i)||(s=!0,a=null)}a?i.dispatch({type:"SELECT_DATES",selection:a}):e||i.dispatch({type:"UNSELECT_DATES"}),s?Object(r.rb)():Object(r.ub)(),e||(n.dragSelection=a)},n.handlePointerUp=function(t){n.dragSelection&&(Object(r.lc)(n.dragSelection,t,n.component.context),n.dragSelection=null)};var i=e.component.context.options,a=n.dragging=new g(e.el);a.touchScrollAllowed=!1,a.minDistance=i.selectMinDistance||0,a.autoScroller.isEnabled=i.dragScroll;var s=n.hitDragging=new y(n.dragging,Object(r.Mb)(e));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("pointerup",n.handlePointerUp),n}return Object(o.b)(e,t),e.prototype.destroy=function(){this.dragging.destroy()},e}(r.u);var j=function(t){function e(n){var i=t.call(this,n)||this;i.subjectEl=null,i.subjectSeg=null,i.isDragging=!1,i.eventRange=null,i.relevantEvents=null,i.receivingContext=null,i.validMutation=null,i.mutatedRelevantEvents=null,i.handlePointerDown=function(t){var e=t.origEvent.target,n=i,o=n.component,a=n.dragging,s=a.mirror,l=o.context.options,c=o.context;i.subjectEl=t.subjectEl;var u=i.subjectSeg=Object(r.Ab)(t.subjectEl),d=(i.eventRange=u.eventRange).instance.instanceId;i.relevantEvents=Object(r.Eb)(c.getCurrentData().eventStore,d),a.minDistance=t.isTouch?0:l.eventDragMinDistance,a.delay=t.isTouch&&d!==o.props.eventSelection?function(t){var e=t.context.options,n=e.eventLongPressDelay;null==n&&(n=e.longPressDelay);return n}(o):null,l.fixedMirrorParent?s.parentNode=l.fixedMirrorParent:s.parentNode=Object(r.sb)(e,".fc"),s.revertDuration=l.dragRevertDuration;var f=o.isValidSegDownEl(e)&&!Object(r.sb)(e,".fc-event-resizer");a.setIgnoreMove(!f),i.isDragging=f&&t.subjectEl.classList.contains("fc-event-draggable")},i.handleDragStart=function(t){var e=i.component.context,n=i.eventRange,o=n.instance.instanceId;t.isTouch?o!==i.component.props.eventSelection&&e.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):e.dispatch({type:"UNSELECT_EVENT"}),i.isDragging&&(e.calendarApi.unselect(t),e.emitter.trigger("eventDragStart",{el:i.subjectEl,event:new r.r(e,n.def,n.instance),jsEvent:t.origEvent,view:e.viewApi}))},i.handleHitUpdate=function(t,e){if(i.isDragging){var n=i.relevantEvents,o=i.hitDragging.initialHit,a=i.component.context,s=null,l=null,c=null,u=!1,d={affectedEvents:n,mutatedEvents:Object(r.ib)(),isEvent:!0};if(t){var f=(s=t.context).options;a===s||f.editable&&f.droppable?(l=function(t,e,n){var o=t.dateSpan,i=e.dateSpan,a=o.range.start,s=i.range.start,l={};o.allDay!==i.allDay&&(l.allDay=i.allDay,l.hasEnd=e.context.options.allDayMaintainDuration,i.allDay&&(a=Object(r.kc)(a)));var c=Object(r.nb)(a,s,t.context.dateEnv,t.componentId===e.componentId?t.largeUnit:null);c.milliseconds&&(l.allDay=!1);for(var u={datesDelta:c,standardProps:l},d=0,f=n;d<f.length;d++){(0,f[d])(u,t,e)}return u}(o,t,s.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(c=Object(r.Q)(n,s.getCurrentData().eventUiBases,l,s),d.mutatedEvents=c,Object(r.Sb)(d,t.dateProfile,s)||(u=!0,l=null,c=null,d.mutatedEvents=Object(r.ib)())):s=null}i.displayDrag(s,d),u?Object(r.rb)():Object(r.ub)(),e||(a===s&&x(o,t)&&(l=null),i.dragging.setMirrorNeedsRevert(!l),i.dragging.setMirrorIsVisible(!t||!Object(r.zb)(i.subjectEl).querySelector(".fc-event-mirror")),i.receivingContext=s,i.validMutation=l,i.mutatedRelevantEvents=c)}},i.handlePointerUp=function(){i.isDragging||i.cleanup()},i.handleDragEnd=function(t){if(i.isDragging){var e=i.component.context,n=e.viewApi,a=i,s=a.receivingContext,l=a.validMutation,c=i.eventRange.def,u=i.eventRange.instance,d=new r.r(e,c,u),f=i.relevantEvents,p=i.mutatedRelevantEvents,h=i.hitDragging.finalHit;if(i.clearDrag(),e.emitter.trigger("eventDragStop",{el:i.subjectEl,event:d,jsEvent:t.origEvent,view:n}),l){if(s===e){var v=new r.r(e,p.defs[c.defId],u?p.instances[u.instanceId]:null);e.dispatch({type:"MERGE_EVENTS",eventStore:p});for(var g={oldEvent:d,event:v,relatedEvents:Object(r.V)(p,e,u),revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:f})}},m={},b=0,y=e.getCurrentData().pluginHooks.eventDropTransformers;b<y.length;b++){var x=y[b];Object(o.a)(m,x(l,e))}e.emitter.trigger("eventDrop",Object(o.a)(Object(o.a)(Object(o.a)({},g),m),{el:t.subjectEl,delta:l.datesDelta,jsEvent:t.origEvent,view:n})),e.emitter.trigger("eventChange",g)}else if(s){var O={event:d,relatedEvents:Object(r.V)(f,e,u),revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:f})}};e.emitter.trigger("eventLeave",Object(o.a)(Object(o.a)({},O),{draggedEl:t.subjectEl,view:n})),e.dispatch({type:"REMOVE_EVENTS",eventStore:f}),e.emitter.trigger("eventRemove",O);var S=p.defs[c.defId],j=p.instances[u.instanceId],C=new r.r(s,S,j);s.dispatch({type:"MERGE_EVENTS",eventStore:p});var k={event:C,relatedEvents:Object(r.V)(p,s,j),revert:function(){s.dispatch({type:"REMOVE_EVENTS",eventStore:p})}};s.emitter.trigger("eventAdd",k),t.isTouch&&s.dispatch({type:"SELECT_EVENT",eventInstanceId:u.instanceId}),s.emitter.trigger("drop",Object(o.a)(Object(o.a)({},w(h.dateSpan,s)),{draggedEl:t.subjectEl,jsEvent:t.origEvent,view:h.context.viewApi})),s.emitter.trigger("eventReceive",Object(o.a)(Object(o.a)({},k),{draggedEl:t.subjectEl,view:h.context.viewApi}))}}else e.emitter.trigger("_noEventDrop")}i.cleanup()};var a=i.component.context.options,s=i.dragging=new g(n.el);s.pointer.selector=e.SELECTOR,s.touchScrollAllowed=!1,s.autoScroller.isEnabled=a.dragScroll;var l=i.hitDragging=new y(i.dragging,r.Lb);return l.useSubjectCenter=n.useEventCenter,l.emitter.on("pointerdown",i.handlePointerDown),l.emitter.on("dragstart",i.handleDragStart),l.emitter.on("hitupdate",i.handleHitUpdate),l.emitter.on("pointerup",i.handlePointerUp),l.emitter.on("dragend",i.handleDragEnd),i}return Object(o.b)(e,t),e.prototype.destroy=function(){this.dragging.destroy()},e.prototype.displayDrag=function(t,e){var n=this.component.context,o=this.receivingContext;o&&o!==t&&(o===n?o.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:e.affectedEvents,mutatedEvents:Object(r.ib)(),isEvent:!0}}):o.dispatch({type:"UNSET_EVENT_DRAG"})),t&&t.dispatch({type:"SET_EVENT_DRAG",state:e})},e.prototype.clearDrag=function(){var t=this.component.context,e=this.receivingContext;e&&e.dispatch({type:"UNSET_EVENT_DRAG"}),t!==e&&t.dispatch({type:"UNSET_EVENT_DRAG"})},e.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},e.SELECTOR=".fc-event-draggable, .fc-event-resizable",e}(r.u);var C=function(t){function e(e){var n=t.call(this,e)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(t){var e=n.component,o=n.querySegEl(t),i=Object(r.Ab)(o),a=n.eventRange=i.eventRange;n.dragging.minDistance=e.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(t.origEvent.target)||t.isTouch&&n.component.props.eventSelection!==a.instance.instanceId)},n.handleDragStart=function(t){var e=n.component.context,o=n.eventRange;n.relevantEvents=Object(r.Eb)(e.getCurrentData().eventStore,n.eventRange.instance.instanceId);var i=n.querySegEl(t);n.draggingSegEl=i,n.draggingSeg=Object(r.Ab)(i),e.calendarApi.unselect(),e.emitter.trigger("eventResizeStart",{el:i,event:new r.r(e,o.def,o.instance),jsEvent:t.origEvent,view:e.viewApi})},n.handleHitUpdate=function(t,e,o){var i=n.component.context,a=n.relevantEvents,s=n.hitDragging.initialHit,l=n.eventRange.instance,c=null,u=null,d=!1,f={affectedEvents:a,mutatedEvents:Object(r.ib)(),isEvent:!0};t&&(t.componentId===s.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(s,t)||(c=function(t,e,n,o){var i=t.context.dateEnv,a=t.dateSpan.range.start,s=e.dateSpan.range.start,l=Object(r.nb)(a,s,i,t.largeUnit);if(n){if(i.add(o.start,l)<o.end)return{startDelta:l}}else if(i.add(o.end,l)>o.start)return{endDelta:l};return null}(s,t,o.subjectEl.classList.contains("fc-event-resizer-start"),l.range)));c&&(u=Object(r.Q)(a,i.getCurrentData().eventUiBases,c,i),f.mutatedEvents=u,Object(r.Sb)(f,t.dateProfile,i)||(d=!0,c=null,u=null,f.mutatedEvents=null)),u?i.dispatch({type:"SET_EVENT_RESIZE",state:f}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),d?Object(r.rb)():Object(r.ub)(),e||(c&&x(s,t)&&(c=null),n.validMutation=c,n.mutatedRelevantEvents=u)},n.handleDragEnd=function(t){var e=n.component.context,i=n.eventRange.def,a=n.eventRange.instance,s=new r.r(e,i,a),l=n.relevantEvents,c=n.mutatedRelevantEvents;if(e.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:s,jsEvent:t.origEvent,view:e.viewApi}),n.validMutation){var u=new r.r(e,c.defs[i.defId],a?c.instances[a.instanceId]:null);e.dispatch({type:"MERGE_EVENTS",eventStore:c});var d={oldEvent:s,event:u,relatedEvents:Object(r.V)(c,e,a),revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:l})}};e.emitter.trigger("eventResize",Object(o.a)(Object(o.a)({},d),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||Object(r.gb)(0),endDelta:n.validMutation.endDelta||Object(r.gb)(0),jsEvent:t.origEvent,view:e.viewApi})),e.emitter.trigger("eventChange",d)}else e.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var i=e.component,a=n.dragging=new g(e.el);a.pointer.selector=".fc-event-resizer",a.touchScrollAllowed=!1,a.autoScroller.isEnabled=i.context.options.dragScroll;var s=n.hitDragging=new y(n.dragging,Object(r.Mb)(e));return s.emitter.on("pointerdown",n.handlePointerDown),s.emitter.on("dragstart",n.handleDragStart),s.emitter.on("hitupdate",n.handleHitUpdate),s.emitter.on("dragend",n.handleDragEnd),n}return Object(o.b)(e,t),e.prototype.destroy=function(){this.dragging.destroy()},e.prototype.querySegEl=function(t){return Object(r.sb)(t.subjectEl,".fc-event")},e}(r.u);var k=function(){function t(t){var e=this;this.context=t,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(t){t.jsEvent&&(e.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(t){var n=e.context.options.unselectCancel,o=Object(r.Cb)(t.origEvent);e.matchesCancel=!!Object(r.sb)(o,n),e.matchesEvent=!!Object(r.sb)(o,j.SELECTOR)},this.onDocumentPointerUp=function(t){var n=e.context,r=e.documentPointer,o=n.getCurrentData();if(!r.wasTouchScroll){if(o.dateSelection&&!e.isRecentPointerDateSelect){var i=n.options.unselectAuto;!i||i&&e.matchesCancel||n.calendarApi.unselect(t)}o.eventSelection&&!e.matchesEvent&&n.dispatch({type:"UNSELECT_EVENT"})}e.isRecentPointerDateSelect=!1};var n=this.documentPointer=new l(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),t.emitter.on("select",this.onSelect)}return t.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},t}(),E={fixedMirrorParent:r.Kb},P={dateClick:r.Kb,eventDragStart:r.Kb,eventDragStop:r.Kb,eventDrop:r.Kb,eventResizeStart:r.Kb,eventResizeStop:r.Kb,eventResize:r.Kb,drop:r.Kb,eventReceive:r.Kb,eventLeave:r.Kb},_=function(){function t(t,e){var n=this;this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(t){n.dragMeta=n.buildDragMeta(t.subjectEl)},this.handleHitUpdate=function(t,e,i){var a=n.hitDragging.dragging,s=null,l=null,c=!1,u={affectedEvents:Object(r.ib)(),mutatedEvents:Object(r.ib)(),isEvent:n.dragMeta.create};t&&(s=t.context,n.canDropElOnCalendar(i.subjectEl,s)&&(l=function(t,e,n){for(var i=Object(o.a)({},e.leftoverProps),a=0,s=n.pluginHooks.externalDefTransforms;a<s.length;a++){var l=s[a];Object(o.a)(i,l(t,e))}var c=Object(r.ec)(i,n),u=c.refined,d=c.extra,f=Object(r.Yb)(u,d,e.sourceId,t.allDay,n.options.forceEventDuration||Boolean(e.duration),n),p=t.range.start;t.allDay&&e.startTime&&(p=n.dateEnv.add(p,e.startTime));var h=e.duration?n.dateEnv.add(p,e.duration):Object(r.yb)(t.allDay,p,n),v=Object(r.jb)(f.defId,{start:p,end:h});return{def:f,instance:v}}(t.dateSpan,n.dragMeta,s),u.mutatedEvents=Object(r.vb)(l),(c=!Object(r.Sb)(u,t.dateProfile,s))&&(u.mutatedEvents=Object(r.ib)(),l=null))),n.displayDrag(s,u),a.setMirrorIsVisible(e||!l||!document.querySelector(".fc-event-mirror")),c?Object(r.rb)():Object(r.ub)(),e||(a.setMirrorNeedsRevert(!l),n.receivingContext=s,n.droppableEvent=l)},this.handleDragEnd=function(t){var e=n,i=e.receivingContext,a=e.droppableEvent;if(n.clearDrag(),i&&a){var s=n.hitDragging.finalHit,l=s.context.viewApi,c=n.dragMeta;if(i.emitter.trigger("drop",Object(o.a)(Object(o.a)({},w(s.dateSpan,i)),{draggedEl:t.subjectEl,jsEvent:t.origEvent,view:l})),c.create){var u=Object(r.vb)(a);i.dispatch({type:"MERGE_EVENTS",eventStore:u}),t.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:a.instance.instanceId}),i.emitter.trigger("eventReceive",{event:new r.r(i,a.def,a.instance),relatedEvents:[],revert:function(){i.dispatch({type:"REMOVE_EVENTS",eventStore:u})},draggedEl:t.subjectEl,view:l})}}n.receivingContext=null,n.droppableEvent=null};var i=this.hitDragging=new y(t,r.Lb);i.requireInitial=!1,i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=e}return t.prototype.buildDragMeta=function(t){return"object"===typeof this.suppliedDragMeta?Object(r.Xb)(this.suppliedDragMeta):"function"===typeof this.suppliedDragMeta?Object(r.Xb)(this.suppliedDragMeta(t)):function(t){var e=function(t,e){var n=r.eb.dataAttrPrefix,o=(n?n+"-":"")+e;return t.getAttribute("data-"+o)||""}(t,"event"),n=e?JSON.parse(e):{create:!1};return Object(r.Xb)(n)}(t)},t.prototype.displayDrag=function(t,e){var n=this.receivingContext;n&&n!==t&&n.dispatch({type:"UNSET_EVENT_DRAG"}),t&&t.dispatch({type:"SET_EVENT_DRAG",state:e})},t.prototype.clearDrag=function(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.canDropElOnCalendar=function(t,e){var n=e.options.dropAccept;return"function"===typeof n?n.call(e.calendarApi,t):"string"!==typeof n||!n||Boolean(Object(r.tb)(t,n))},t}();r.eb.dataAttrPrefix="";!function(){function t(t,e){var n=this;void 0===e&&(e={}),this.handlePointerDown=function(t){var e=n.dragging,o=n.settings,i=o.minDistance,a=o.longPressDelay;e.minDistance=null!=i?i:t.isTouch?0:r.a.eventDragMinDistance,e.delay=t.isTouch?null!=a?a:r.a.longPressDelay:0},this.handleDragStart=function(t){t.isTouch&&n.dragging.delay&&t.subjectEl.classList.contains("fc-event")&&n.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=e;var o=this.dragging=new g(t);o.touchScrollAllowed=!1,null!=e.itemSelector&&(o.pointer.selector=e.itemSelector),null!=e.appendTo&&(o.mirror.parentNode=e.appendTo),o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),new _(o,e.eventData)}t.prototype.destroy=function(){this.dragging.destroy()}}();var M=function(t){function e(e){var n=t.call(this,e)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(t){n.emitter.trigger("pointerdown",t),n.shouldIgnoreMove||n.emitter.trigger("dragstart",t)},n.handlePointerMove=function(t){n.shouldIgnoreMove||n.emitter.trigger("dragmove",t)},n.handlePointerUp=function(t){n.emitter.trigger("pointerup",t),n.shouldIgnoreMove||n.emitter.trigger("dragend",t)};var r=n.pointer=new l(e);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}return Object(o.b)(e,t),e.prototype.destroy=function(){this.pointer.destroy()},e.prototype.setIgnoreMove=function(t){this.shouldIgnoreMove=t},e.prototype.setMirrorIsVisible=function(t){if(t)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var e=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;e&&(this.currentMirrorEl=e,e.style.visibility="hidden")}},e}(r.o),T=(function(){function t(t,e){var n=document;t===document||t instanceof Element?(n=t,e=e||{}):e=t||{};var r=this.dragging=new M(n);"string"===typeof e.itemSelector?r.pointer.selector=e.itemSelector:n===document&&(r.pointer.selector="[data-event]"),"string"===typeof e.mirrorSelector&&(r.mirrorSelector=e.mirrorSelector),new _(r,e.eventData)}t.prototype.destroy=function(){this.dragging.destroy()}}(),Object(r.lb)({componentInteractions:[O,S,j,C],calendarInteractions:[k],elementDraggingImpl:g,optionRefiners:E,listenerRefiners:P}));e.a=T},function(t,e,n){var r,o,i,a=n(591).default;window,t.exports=(r=n(1),o=n(51),i=n(172),function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=11)}([function(t,e){t.exports=r},function(t,e,n){"use strict";t.exports=n(5)},function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e,n){"use strict";var r=n(3),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={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},s={};function l(t){return r.isMemo(t)?a:s[t.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&t(e,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(e),v=l(n),g=0;g<a.length;++g){var m=a[g];if(!(i[m]||r&&r[m]||v&&v[m]||s&&s[m])){var b=f(n,m);try{c(e,m,b)}catch(t){}}}}return e}},function(t,e,n){"use strict";n(6);var r=n(0),o=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),e.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(u=e.ref),e)s.call(e,r)&&!l.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:c,ref:u,props:i,_owner:a.current}}e.jsx=c,e.jsxs=c},function(t,e,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}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,s,l=a(t),c=1;c<arguments.length;c++){for(var u in n=Object(arguments[c]))o.call(n,u)&&(l[u]=n[u]);if(r){s=r(n);for(var d=0;d<s.length;d++)i.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},function(t,e,n){t.exports=n(8)()},function(t,e,n){"use strict";var r=n(9);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return Ia})),n.d(e,"moveColumn",(function(){return ga})),n.d(e,"moveCard",(function(){return ma})),n.d(e,"addColumn",(function(){return ba})),n.d(e,"removeColumn",(function(){return ya})),n.d(e,"changeColumn",(function(){return xa})),n.d(e,"addCard",(function(){return wa})),n.d(e,"removeCard",(function(){return Oa})),n.d(e,"changeCard",(function(){return Sa}));var r=n(0),o=n.n(r);function i(t,e){return(i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(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)}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 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 d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function f(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var p="function"==typeof Symbol&&Symbol.observable||"@@observable",h=function(){return Math.random().toString(36).substring(7).split("").join(".")},v={INIT:"@@redux/INIT"+h(),REPLACE:"@@redux/REPLACE"+h(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+h()}};function g(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 m(t,e,n){var r;if("function"==typeof e&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(f(0));if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error(f(1));return n(m)(t,e)}if("function"!=typeof t)throw new Error(f(2));var o=t,i=e,a=[],s=a,l=!1;function c(){s===a&&(s=a.slice())}function u(){if(l)throw new Error(f(3));return i}function d(t){if("function"!=typeof t)throw new Error(f(4));if(l)throw new Error(f(5));var e=!0;return c(),s.push(t),function(){if(e){if(l)throw new Error(f(6));e=!1,c();var n=s.indexOf(t);s.splice(n,1),a=null}}}function h(t){if(!g(t))throw new Error(f(7));if(void 0===t.type)throw new Error(f(8));if(l)throw new Error(f(9));try{l=!0,i=o(i,t)}finally{l=!1}for(var e=a=s,n=0;n<e.length;n++)(0,e[n])();return t}function b(t){if("function"!=typeof t)throw new Error(f(10));o=t,h({type:v.REPLACE})}function y(){var t,e=d;return(t={subscribe:function(t){if("object"!=typeof t||null===t)throw new Error(f(11));function n(){t.next&&t.next(u())}return n(),{unsubscribe:e(n)}}})[p]=function(){return this},t}return h({type:v.INIT}),(r={dispatch:h,subscribe:d,getState:u,replaceReducer:b})[p]=y,r}function b(t,e){return function(){return e(t.apply(this,arguments))}}function y(t,e){if("function"==typeof t)return b(t,e);if("object"!=typeof t||null===t)throw new Error(f(16));var n={};for(var r in t){var o=t[r];"function"==typeof o&&(n[r]=b(o,e))}return n}function x(){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))}}))}n(7);var w=o.a.createContext(null),O=function(t){t()};function S(){var t=O,e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var j={notify:function(){},get:function(){return[]}};function C(t,e){var n,r=j;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=e?e.addNestedSub(o):t.subscribe(o),r=S())}var a={addNestedSub:function(t){return i(),r.subscribe(t)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=j)},getListeners:function(){return r}};return a}var k="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,E=function(t){var e=t.store,n=t.context,i=t.children,a=Object(r.useMemo)((function(){var t=C(e);return t.onStateChange=t.notifyNestedSubs,{store:e,subscription:t}}),[e]),s=Object(r.useMemo)((function(){return e.getState()}),[e]);k((function(){var t=a.subscription;return t.trySubscribe(),s!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}}),[a,s]);var l=n||w;return o.a.createElement(l.Provider,{value:a},i)};function P(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var _=n(4),M=n.n(_),T=n(3),A=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],R=["reactReduxForwardedRef"],D=[],I=[null,null];function N(t,e){var n=t[1];return[e.payload,n+1]}function L(t,e,n){k((function(){return t.apply(void 0,e)}),n)}function F(t,e,n,r,o,i,a){t.current=r,e.current=o,n.current=!1,i.current&&(i.current=null,a())}function B(t,e,n,r,o,i,a,s,l,c){if(t){var u=!1,d=null,f=function(){if(!u){var t,n,f=e.getState();try{t=r(f,o.current)}catch(t){n=t,d=t}n||(d=null),t===i.current?a.current||l():(i.current=t,s.current=t,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=f,n.trySubscribe(),f(),function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var z=function(){return[null,0]};function H(t,e){void 0===e&&(e={});var n=e,i=n.getDisplayName,a=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,s=n.methodName,c=void 0===s?"connectAdvanced":s,u=n.renderCountProp,d=void 0===u?void 0:u,f=n.shouldHandleStateChanges,p=void 0===f||f,h=n.storeKey,v=void 0===h?"store":h,g=(n.withRef,n.forwardRef),m=void 0!==g&&g,b=n.context,y=void 0===b?w:b,x=P(n,A),O=y;return function(e){var n=e.displayName||e.name||"Component",i=a(n),s=l({},x,{getDisplayName:a,methodName:c,renderCountProp:d,shouldHandleStateChanges:p,storeKey:v,displayName:i,wrappedComponentName:n,WrappedComponent:e}),u=x.pure,f=u?r.useMemo:function(t){return t()};function h(n){var i=Object(r.useMemo)((function(){var t=n.reactReduxForwardedRef,e=P(n,R);return[n.context,t,e]}),[n]),a=i[0],c=i[1],u=i[2],d=Object(r.useMemo)((function(){return a&&a.Consumer&&Object(T.isContextConsumer)(o.a.createElement(a.Consumer,null))?a:O}),[a,O]),h=Object(r.useContext)(d),v=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(h)&&Boolean(h.store);var g=v?n.store:h.store,m=Object(r.useMemo)((function(){return function(e){return t(e.dispatch,s)}(g)}),[g]),b=Object(r.useMemo)((function(){if(!p)return I;var t=C(g,v?null:h.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[g,v,h]),y=b[0],x=b[1],w=Object(r.useMemo)((function(){return v?h:l({},h,{subscription:y})}),[v,h,y]),S=Object(r.useReducer)(N,D,z),j=S[0][0],k=S[1];if(j&&j.error)throw j.error;var E=Object(r.useRef)(),_=Object(r.useRef)(u),M=Object(r.useRef)(),A=Object(r.useRef)(!1),H=f((function(){return M.current&&u===_.current?M.current:m(g.getState(),u)}),[g,j,u]);L(F,[_,E,A,u,H,M,x]),L(B,[p,g,y,m,_,E,A,M,x,k],[g,y,m]);var V=Object(r.useMemo)((function(){return o.a.createElement(e,l({},H,{ref:c}))}),[c,e,H]);return Object(r.useMemo)((function(){return p?o.a.createElement(d.Provider,{value:w},V):V}),[d,V,w])}var g=u?o.a.memo(h):h;if(g.WrappedComponent=e,g.displayName=h.displayName=i,m){var b=o.a.forwardRef((function(t,e){return o.a.createElement(g,l({},t,{reactReduxForwardedRef:e}))}));return b.displayName=i,b.WrappedComponent=e,M()(b,e)}return M()(g,e)}}function V(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function U(t,e){if(V(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 o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(e,n[o])||!V(t[n[o]],e[n[o]]))return!1;return!0}function W(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function q(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function G(t,e){return function(e,n){n.displayName;var r=function t(e,n){return t.dependsOnOwnProps?t.mapToProps(e,n):t.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=q(t);var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=q(o),o=r(e,n)),o},r}}var Y=[function(t){return"function"==typeof t?G(t):void 0},function(t){return t?void 0:W((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?W((function(e){return function(t,e){var n={},r=function(r){var o=t[r];"function"==typeof o&&(n[r]=function(){return e(o.apply(void 0,arguments))})};for(var o in t)r(o);return n}(t,e)})):void 0}],X=[function(t){return"function"==typeof t?G(t):void 0},function(t){return t?void 0:W((function(){return{}}))}];function K(t,e,n){return l({},n,t,e)}var $=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(e,n,s){var l=t(e,n,s);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(t):void 0},function(t){return t?void 0:function(){return K}}],Z=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Q(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function J(t,e,n,r,o){var i,a,s,l,c,u=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,p=!1;function h(o,p){var h,v,g=!d(p,a),m=!u(o,i);return i=o,a=p,g&&m?(s=t(i,a),e.dependsOnOwnProps&&(l=e(r,a)),c=n(s,l,a)):g?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(l=e(r,a)),c=n(s,l,a)):m?(h=t(i,a),v=!f(h,s),s=h,v&&(c=n(s,l,a)),c):c}return function(o,u){return p?h(o,u):(s=t(i=o,a=u),l=e(r,a),c=n(s,l,a),p=!0,c)}}function tt(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=P(e,Z),a=n(t,i),s=r(t,i),l=o(t,i);return(i.pure?J:Q)(a,s,l,t,i)}var et=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function nt(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function rt(t,e){return t===e}function ot(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?H:n,o=e.mapStateToPropsFactories,i=void 0===o?X:o,a=e.mapDispatchToPropsFactories,s=void 0===a?Y:a,c=e.mergePropsFactories,u=void 0===c?$:c,d=e.selectorFactory,f=void 0===d?tt:d;return function(t,e,n,o){void 0===o&&(o={});var a=o,c=a.pure,d=void 0===c||c,p=a.areStatesEqual,h=void 0===p?rt:p,v=a.areOwnPropsEqual,g=void 0===v?U:v,m=a.areStatePropsEqual,b=void 0===m?U:m,y=a.areMergedPropsEqual,x=void 0===y?U:y,w=P(a,et),O=nt(t,i,"mapStateToProps"),S=nt(e,s,"mapDispatchToProps"),j=nt(n,u,"mergeProps");return r(f,l({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:O,initMapDispatchToProps:S,initMergeProps:j,pure:d,areStatesEqual:h,areOwnPropsEqual:g,areStatePropsEqual:b,areMergedPropsEqual:x},w))}}var it,at=ot(),st=n(2),lt=n.n(st);function ct(t,e){var n=Object(r.useState)((function(){return{inputs:e,result:t()}}))[0],o=Object(r.useRef)(!0),i=Object(r.useRef)(n),a=o.current||Boolean(e&&i.current.inputs&&function(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}(e,i.current.inputs))?i.current:{inputs:e,result:t()};return Object(r.useEffect)((function(){o.current=!1,i.current=a}),[a]),a.result}it=st.unstable_batchedUpdates,O=it;var ut=ct,dt=function(t,e){return ct((function(){return t}),e)},ft=function(t,e){if(!t)throw new Error("Invariant failed")},pt=function(t){var e=t.top,n=t.right,r=t.bottom,o=t.left;return{top:e,right:n,bottom:r,left:o,width:n-o,height:r-e,x:o,y:e,center:{x:(n+o)/2,y:(r+e)/2}}},ht=function(t,e){return{top:t.top-e.top,left:t.left-e.left,bottom:t.bottom+e.bottom,right:t.right+e.right}},vt=function(t,e){return{top:t.top+e.top,left:t.left+e.left,bottom:t.bottom-e.bottom,right:t.right-e.right}},gt={top:0,right:0,bottom:0,left:0},mt=function(t){var e=t.borderBox,n=t.margin,r=void 0===n?gt:n,o=t.border,i=void 0===o?gt:o,a=t.padding,s=void 0===a?gt:a,l=pt(ht(e,r)),c=pt(vt(e,i)),u=pt(vt(c,s));return{marginBox:l,borderBox:pt(e),paddingBox:c,contentBox:u,margin:r,border:i,padding:s}},bt=function(t){var e=t.slice(0,-2);if("px"!==t.slice(-2))return 0;var n=Number(e);return isNaN(n)&&ft(!1),n},yt=function(t,e){var n,r,o=t.borderBox,i=t.border,a=t.margin,s=t.padding,l=(r=e,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return mt({borderBox:l,border:i,margin:a,padding:s})},xt=function(t,e){return void 0===e&&(e={x:window.pageXOffset,y:window.pageYOffset}),yt(t,e)},wt=function(t,e){var n={top:bt(e.marginTop),right:bt(e.marginRight),bottom:bt(e.marginBottom),left:bt(e.marginLeft)},r={top:bt(e.paddingTop),right:bt(e.paddingRight),bottom:bt(e.paddingBottom),left:bt(e.paddingLeft)},o={top:bt(e.borderTopWidth),right:bt(e.borderRightWidth),bottom:bt(e.borderBottomWidth),left:bt(e.borderLeftWidth)};return mt({borderBox:t,margin:n,padding:r,border:o})},Ot=function(t){var e=t.getBoundingClientRect(),n=window.getComputedStyle(t);return wt(e,n)},St=Number.isNaN||function(t){return"number"==typeof t&&t!=t};function jt(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!((r=t[n])===(o=e[n])||St(r)&&St(o)))return!1;var r,o;return!0}var Ct=function(t,e){var n;void 0===e&&(e=jt);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&e(a,o)||(r=t.apply(this,a),i=!0,n=this,o=a),r}},kt=function(t){var e=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];e=o,n||(n=requestAnimationFrame((function(){n=null,t.apply(void 0,e)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function Et(t,e){}function Pt(){}function _t(t,e,n){var r=e.map((function(e){var r=l({},n,{},e.options);return t.addEventListener(e.eventName,e.fn,r),function(){t.removeEventListener(e.eventName,e.fn,r)}}));return function(){r.forEach((function(t){t()}))}}function Mt(t){this.message=t}function Tt(t,e){if(!t)throw new Mt("Invariant failed")}Et.bind(null,"warn"),Et.bind(null,"error"),Mt.prototype.toString=function(){return this.message};var At=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).callbacks=null,e.unbind=Pt,e.onWindowError=function(t){var n=e.getCallbacks();n.isDragging()&&n.tryAbort(),t.error instanceof Mt&&t.preventDefault()},e.getCallbacks=function(){if(!e.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return e.callbacks},e.setCallbacks=function(t){e.callbacks=t},e}s(e,t);var n=e.prototype;return n.componentDidMount=function(){this.unbind=_t(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(t){if(!(t instanceof Mt))throw t;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},e}(o.a.Component),Rt=function(t){return t+1},Dt=function(t,e){var n=t.droppableId===e.droppableId,r=Rt(t.index),o=Rt(e.index);return n?"\n      You have moved the item from position "+r+"\n      to position "+o+"\n    ":"\n    You have moved the item from position "+r+"\n    in list "+t.droppableId+"\n    to list "+e.droppableId+"\n    in position "+o+"\n  "},It=function(t,e,n){return e.droppableId===n.droppableId?"\n      The item "+t+"\n      has been combined with "+n.draggableId:"\n      The item "+t+"\n      in list "+e.droppableId+"\n      has been combined with "+n.draggableId+"\n      in list "+n.droppableId+"\n    "},Nt=function(t){return"\n  The item has returned to its starting position\n  of "+Rt(t.index)+"\n"},Lt="\n  Press space bar to start a drag.\n  When dragging you can use the arrow keys to move the item around and escape to cancel.\n  Some screen readers may require you to be in focus mode or to use your pass through key\n",Ft=function(t){return"\n  You have lifted an item in position "+Rt(t.source.index)+"\n"},Bt=function(t){var e=t.destination;if(e)return Dt(t.source,e);var n=t.combine;return n?It(t.draggableId,t.source,n):"You are over an area that cannot be dropped on"},zt=function(t){if("CANCEL"===t.reason)return"\n      Movement cancelled.\n      "+Nt(t.source)+"\n    ";var e=t.destination,n=t.combine;return e?"\n      You have dropped the item.\n      "+Dt(t.source,e)+"\n    ":n?"\n      You have dropped the item.\n      "+It(t.draggableId,t.source,n)+"\n    ":"\n    The item has been dropped while not over a drop area.\n    "+Nt(t.source)+"\n  "},Ht={x:0,y:0},Vt=function(t,e){return{x:t.x+e.x,y:t.y+e.y}},Ut=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},Wt=function(t,e){return t.x===e.x&&t.y===e.y},qt=function(t){return{x:0!==t.x?-t.x:0,y:0!==t.y?-t.y:0}},Gt=function(t,e,n){var r;return void 0===n&&(n=0),(r={})[t]=e,r["x"===t?"y":"x"]=n,r},Yt=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},Xt=function(t,e){return Math.min.apply(Math,e.map((function(e){return Yt(t,e)})))},Kt=function(t){return function(e){return{x:t(e.x),y:t(e.y)}}},$t=function(t,e){return{top:t.top+e.y,left:t.left+e.x,bottom:t.bottom+e.y,right:t.right+e.x}},Zt=function(t){return[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}]},Qt=function(t,e){return e&&e.shouldClipSubject?function(t,e){var n=pt({top:Math.max(e.top,t.top),right:Math.min(e.right,t.right),bottom:Math.min(e.bottom,t.bottom),left:Math.max(e.left,t.left)});return n.width<=0||n.height<=0?null:n}(e.pageMarginBox,t):pt(t)},Jt=function(t){var e=t.page,n=t.withPlaceholder,r=t.axis,o=t.frame,i=function(t,e,n){var r;return n&&n.increasedBy?l({},t,((r={})[e.end]=t[e.end]+n.increasedBy[e.line],r)):t}(function(t,e){return e?$t(t,e.scroll.diff.displacement):t}(e.marginBox,o),r,n);return{page:e,withPlaceholder:n,active:Qt(i,o)}},te=function(t,e){t.frame||Tt(!1);var n=t.frame,r=Ut(e,n.scroll.initial),o=qt(r),i=l({},n,{scroll:{initial:n.scroll.initial,current:e,diff:{value:r,displacement:o},max:n.scroll.max}});return l({},t,{frame:i,subject:Jt({page:t.subject.page,withPlaceholder:t.subject.withPlaceholder,axis:t.axis,frame:i})})};function ee(t){return Object.values?Object.values(t):Object.keys(t).map((function(e){return t[e]}))}function ne(t,e){if(t.findIndex)return t.findIndex(e);for(var n=0;n<t.length;n++)if(e(t[n]))return n;return-1}function re(t,e){if(t.find)return t.find(e);var n=ne(t,e);return-1!==n?t[n]:void 0}function oe(t){return Array.prototype.slice.call(t)}var ie=Ct((function(t){return t.reduce((function(t,e){return t[e.descriptor.id]=e,t}),{})})),ae=Ct((function(t){return t.reduce((function(t,e){return t[e.descriptor.id]=e,t}),{})})),se=Ct((function(t){return ee(t)})),le=Ct((function(t){return ee(t)})),ce=Ct((function(t,e){return le(e).filter((function(e){return t===e.descriptor.droppableId})).sort((function(t,e){return t.descriptor.index-e.descriptor.index}))}));function ue(t){return t.at&&"REORDER"===t.at.type?t.at.destination:null}function de(t){return t.at&&"COMBINE"===t.at.type?t.at.combine:null}var fe=Ct((function(t,e){return e.filter((function(e){return e.descriptor.id!==t.descriptor.id}))})),pe=function(t,e){return t.descriptor.droppableId===e.descriptor.id},he={point:Ht,value:0},ve={invisible:{},visible:{},all:[]},ge={displaced:ve,displacedBy:he,at:null},me=function(t,e){return function(n){return t<=n&&n<=e}},be=function(t){var e=me(t.top,t.bottom),n=me(t.left,t.right);return function(r){if(e(r.top)&&e(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=e(r.top)||e(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<t.top&&r.bottom>t.bottom,s=r.left<t.left&&r.right>t.right;return!(!a||!s)||a&&i||s&&o}},ye=function(t){var e=me(t.top,t.bottom),n=me(t.left,t.right);return function(t){return e(t.top)&&e(t.bottom)&&n(t.left)&&n(t.right)}},xe={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},we={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Oe=function(t){var e=t.target,n=t.destination,r=t.viewport,o=t.withDroppableDisplacement,i=t.isVisibleThroughFrameFn,a=o?function(t,e){var n=e.frame?e.frame.scroll.diff.displacement:Ht;return $t(t,n)}(e,n):e;return function(t,e,n){return!!e.subject.active&&n(e.subject.active)(t)}(a,n,i)&&function(t,e,n){return n(e)(t)}(a,r,i)},Se=function(t){return Oe(l({},t,{isVisibleThroughFrameFn:be}))},je=function(t){return Oe(l({},t,{isVisibleThroughFrameFn:ye}))};function Ce(t){var e=t.afterDragging,n=t.destination,r=t.displacedBy,o=t.viewport,i=t.forceShouldAnimate,a=t.last;return e.reduce((function(t,e){var s=function(t,e){var n=t.page.marginBox,r={top:e.point.y,right:0,bottom:0,left:e.point.x};return pt(ht(n,r))}(e,r),l=e.descriptor.id;if(t.all.push(l),!Se({target:s,destination:n,viewport:o,withDroppableDisplacement:!0}))return t.invisible[e.descriptor.id]=!0,t;var c={draggableId:l,shouldAnimate:function(t,e,n){if("boolean"==typeof n)return n;if(!e)return!0;var r=e.invisible,o=e.visible;if(r[t])return!1;var i=o[t];return!i||i.shouldAnimate}(l,a,i)};return t.visible[l]=c,t}),{all:[],visible:{},invisible:{}})}function ke(t){var e=t.insideDestination,n=t.inHomeList,r=t.displacedBy,o=t.destination,i=function(t,e){if(!t.length)return 0;var n=t[t.length-1].descriptor.index;return e.inHomeList?n:n+1}(e,{inHomeList:n});return{displaced:ve,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function Ee(t){var e=t.draggable,n=t.insideDestination,r=t.destination,o=t.viewport,i=t.displacedBy,a=t.last,s=t.index,l=t.forceShouldAnimate,c=pe(e,r);if(null==s)return ke({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var u=re(n,(function(t){return t.descriptor.index===s}));if(!u)return ke({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var d=fe(e,n),f=n.indexOf(u);return{displaced:Ce({afterDragging:d.slice(f),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:l}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function Pe(t,e){return Boolean(e.effected[t])}var _e=function(t){var e=t.isMovingForward,n=t.isInHomeList,r=t.draggable,o=t.draggables,i=t.destination,a=t.insideDestination,s=t.previousImpact,l=t.viewport,c=t.afterCritical,u=s.at;if(u||Tt(!1),"REORDER"===u.type){var d=function(t){var e=t.isMovingForward,n=t.isInHomeList,r=t.insideDestination,o=t.location;if(!r.length)return null;var i=o.index,a=e?i+1:i-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return a<s||a>(n?l:l+1)?null:a}({isMovingForward:e,isInHomeList:n,location:u.destination,insideDestination:a});return null==d?null:Ee({draggable:r,insideDestination:a,destination:i,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:d})}var f=function(t){var e=t.isMovingForward,n=t.destination,r=t.draggables,o=t.combine,i=t.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,s=r[a].descriptor.index;return Pe(a,i)?e?s:s-1:e?s+1:s}({isMovingForward:e,destination:i,displaced:s.displaced,draggables:o,combine:u.combine,afterCritical:c});return null==f?null:Ee({draggable:r,insideDestination:a,destination:i,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:f})},Me=function(t){var e=t.afterCritical,n=t.impact,r=t.draggables,o=de(n);o||Tt(!1);var i=o.draggableId,a=r[i].page.borderBox.center,s=function(t){var e=t.displaced,n=t.afterCritical,r=t.combineWith,o=t.displacedBy,i=Boolean(e.visible[r]||e.invisible[r]);return Pe(r,n)?i?Ht:qt(o.point):i?o.point:Ht}({displaced:n.displaced,afterCritical:e,combineWith:i,displacedBy:n.displacedBy});return Vt(a,s)},Te=function(t,e){return e.margin[t.start]+e.borderBox[t.size]/2},Ae=function(t,e,n){return e[t.crossAxisStart]+n.margin[t.crossAxisStart]+n.borderBox[t.crossAxisSize]/2},Re=function(t){var e=t.axis,n=t.moveRelativeTo,r=t.isMoving;return Gt(e.line,n.marginBox[e.end]+Te(e,r),Ae(e,n.marginBox,r))},De=function(t){var e=t.axis,n=t.moveRelativeTo,r=t.isMoving;return Gt(e.line,n.marginBox[e.start]-function(t,e){return e.margin[t.end]+e.borderBox[t.size]/2}(e,r),Ae(e,n.marginBox,r))},Ie=function(t){var e=t.impact,n=t.draggable,r=t.draggables,o=t.droppable,i=t.afterCritical,a=ce(o.descriptor.id,r),s=n.page,l=o.axis;if(!a.length)return function(t){var e=t.axis,n=t.moveInto,r=t.isMoving;return Gt(e.line,n.contentBox[e.start]+Te(e,r),Ae(e,n.contentBox,r))}({axis:l,moveInto:o.page,isMoving:s});var c=e.displaced,u=e.displacedBy,d=c.all[0];if(d){var f=r[d];if(Pe(d,i))return De({axis:l,moveRelativeTo:f.page,isMoving:s});var p=yt(f.page,u.point);return De({axis:l,moveRelativeTo:p,isMoving:s})}var h=a[a.length-1];if(h.descriptor.id===n.descriptor.id)return s.borderBox.center;if(Pe(h.descriptor.id,i)){var v=yt(h.page,qt(i.displacedBy.point));return Re({axis:l,moveRelativeTo:v,isMoving:s})}return Re({axis:l,moveRelativeTo:h.page,isMoving:s})},Ne=function(t,e){var n=t.frame;return n?Vt(e,n.scroll.diff.displacement):e},Le=function(t){var e=function(t){var e=t.impact,n=t.draggable,r=t.droppable,o=t.draggables,i=t.afterCritical,a=n.page.borderBox.center,s=e.at;return r&&s?"REORDER"===s.type?Ie({impact:e,draggable:n,draggables:o,droppable:r,afterCritical:i}):Me({impact:e,draggables:o,afterCritical:i}):a}(t),n=t.droppable;return n?Ne(n,e):e},Fe=function(t,e){var n=Ut(e,t.scroll.initial),r=qt(n);return{frame:pt({top:e.y,bottom:e.y+t.frame.height,left:e.x,right:e.x+t.frame.width}),scroll:{initial:t.scroll.initial,max:t.scroll.max,current:e,diff:{value:n,displacement:r}}}};function Be(t,e){return t.map((function(t){return e[t]}))}var ze=function(t){var e=t.pageBorderBoxCenter,n=t.draggable,r=function(t,e){return Vt(t.scroll.diff.displacement,e)}(t.viewport,e),o=Ut(r,n.page.borderBox.center);return Vt(n.client.borderBox.center,o)},He=function(t){var e=t.draggable,n=t.destination,r=t.newPageBorderBoxCenter,o=t.viewport,i=t.withDroppableDisplacement,a=t.onlyOnMainAxis,s=void 0!==a&&a,c=Ut(r,e.page.borderBox.center),u={target:$t(e.page.borderBox,c),destination:n,withDroppableDisplacement:i,viewport:o};return s?function(t){return Oe(l({},t,{isVisibleThroughFrameFn:(e=t.destination.axis,function(t){var n=me(t.top,t.bottom),r=me(t.left,t.right);return function(t){return e===xe?n(t.top)&&n(t.bottom):r(t.left)&&r(t.right)}})}));var e}(u):je(u)},Ve=function(t){var e=t.isMovingForward,n=t.draggable,r=t.destination,o=t.draggables,i=t.previousImpact,a=t.viewport,s=t.previousPageBorderBoxCenter,c=t.previousClientSelection,u=t.afterCritical;if(!r.isEnabled)return null;var d=ce(r.descriptor.id,o),f=pe(n,r),p=function(t){var e=t.isMovingForward,n=t.draggable,r=t.destination,o=t.insideDestination,i=t.previousImpact;if(!r.isCombineEnabled)return null;if(!ue(i))return null;function a(t){var e={type:"COMBINE",combine:{draggableId:t,droppableId:r.descriptor.id}};return l({},i,{at:e})}var s=i.displaced.all,c=s.length?s[0]:null;if(e)return c?a(c):null;var u=fe(n,o);if(!c)return u.length?a(u[u.length-1].descriptor.id):null;var d=ne(u,(function(t){return t.descriptor.id===c}));-1===d&&Tt(!1);var f=d-1;return f<0?null:a(u[f].descriptor.id)}({isMovingForward:e,draggable:n,destination:r,insideDestination:d,previousImpact:i})||_e({isMovingForward:e,isInHomeList:f,draggable:n,draggables:o,destination:r,insideDestination:d,previousImpact:i,viewport:a,afterCritical:u});if(!p)return null;var h=Le({impact:p,draggable:n,droppable:r,draggables:o,afterCritical:u});if(He({draggable:n,destination:r,newPageBorderBoxCenter:h,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:ze({pageBorderBoxCenter:h,draggable:n,viewport:a}),impact:p,scrollJumpRequest:null};var v=Ut(h,s);return{clientSelection:c,impact:function(t){var e=t.impact,n=t.viewport,r=t.destination,o=t.draggables,i=t.maxScrollChange,a=Fe(n,Vt(n.scroll.current,i)),s=r.frame?te(r,Vt(r.frame.scroll.current,i)):r,c=e.displaced,u=Ce({afterDragging:Be(c.all,o),destination:r,displacedBy:e.displacedBy,viewport:a.frame,last:c,forceShouldAnimate:!1}),d=Ce({afterDragging:Be(c.all,o),destination:s,displacedBy:e.displacedBy,viewport:n.frame,last:c,forceShouldAnimate:!1}),f={},p={},h=[c,u,d];return c.all.forEach((function(t){var e=function(t,e){for(var n=0;n<e.length;n++){var r=e[n].visible[t];if(r)return r}return null}(t,h);e?p[t]=e:f[t]=!0})),l({},e,{displaced:{all:c.all,invisible:f,visible:p}})}({impact:p,viewport:a,destination:r,draggables:o,maxScrollChange:v}),scrollJumpRequest:v}},Ue=function(t){var e=t.subject.active;return e||Tt(!1),e},We=function(t,e){var n=t.page.borderBox.center;return Pe(t.descriptor.id,e)?Ut(n,e.displacedBy.point):n},qe=function(t,e){var n=t.page.borderBox;return Pe(t.descriptor.id,e)?$t(n,qt(e.displacedBy.point)):n},Ge=Ct((function(t,e){var n=e[t.line];return{value:n,point:Gt(t.line,n)}})),Ye=function(t,e){return l({},t,{scroll:l({},t.scroll,{max:e})})},Xe=function(t,e,n){var r=t.frame;pe(e,t)&&Tt(!1),t.subject.withPlaceholder&&Tt(!1);var o=Ge(t.axis,e.displaceBy).point,i=function(t,e,n){var r=t.axis;if("virtual"===t.descriptor.mode)return Gt(r.line,e[r.line]);var o=t.subject.page.contentBox[r.size],i=ce(t.descriptor.id,n).reduce((function(t,e){return t+e.client.marginBox[r.size]}),0)+e[r.line]-o;return i<=0?null:Gt(r.line,i)}(t,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:t.frame?t.frame.scroll.max:null};if(!r)return l({},t,{subject:Jt({page:t.subject.page,withPlaceholder:a,axis:t.axis,frame:t.frame})});var s=i?Vt(r.scroll.max,i):r.scroll.max,c=Ye(r,s);return l({},t,{subject:Jt({page:t.subject.page,withPlaceholder:a,axis:t.axis,frame:c}),frame:c})},Ke=function(t){var e=t.isMovingForward,n=t.previousPageBorderBoxCenter,r=t.draggable,o=t.isOver,i=t.draggables,a=t.droppables,s=t.viewport,l=t.afterCritical,c=function(t){var e=t.isMovingForward,n=t.pageBorderBoxCenter,r=t.source,o=t.droppables,i=t.viewport,a=r.subject.active;if(!a)return null;var s=r.axis,l=me(a[s.start],a[s.end]),c=se(o).filter((function(t){return t!==r})).filter((function(t){return t.isEnabled})).filter((function(t){return Boolean(t.subject.active)})).filter((function(t){return be(i.frame)(Ue(t))})).filter((function(t){var n=Ue(t);return e?a[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<a[s.crossAxisStart]})).filter((function(t){var e=Ue(t),n=me(e[s.start],e[s.end]);return l(e[s.start])||l(e[s.end])||n(a[s.start])||n(a[s.end])})).sort((function(t,n){var r=Ue(t)[s.crossAxisStart],o=Ue(n)[s.crossAxisStart];return e?r-o:o-r})).filter((function(t,e,n){return Ue(t)[s.crossAxisStart]===Ue(n[0])[s.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var u=c.filter((function(t){return me(Ue(t)[s.start],Ue(t)[s.end])(n[s.line])}));return 1===u.length?u[0]:u.length>1?u.sort((function(t,e){return Ue(t)[s.start]-Ue(e)[s.start]}))[0]:c.sort((function(t,e){var r=Xt(n,Zt(Ue(t))),o=Xt(n,Zt(Ue(e)));return r!==o?r-o:Ue(t)[s.start]-Ue(e)[s.start]}))[0]}({isMovingForward:e,pageBorderBoxCenter:n,source:o,droppables:a,viewport:s});if(!c)return null;var u=ce(c.descriptor.id,i),d=function(t){var e=t.previousPageBorderBoxCenter,n=t.moveRelativeTo,r=t.insideDestination,o=t.draggable,i=t.draggables,a=t.destination,s=t.viewport,l=t.afterCritical;if(!n){if(r.length)return null;var c={displaced:ve,displacedBy:he,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},u=Le({impact:c,draggable:o,droppable:a,draggables:i,afterCritical:l}),d=pe(o,a)?a:Xe(a,o,i);return He({draggable:o,destination:d,newPageBorderBoxCenter:u,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?c:null}var f,p=Boolean(e[a.axis.line]<=n.page.borderBox.center[a.axis.line]),h=(f=n.descriptor.index,n.descriptor.id===o.descriptor.id||p?f:f+1);return Ee({draggable:o,insideDestination:r,destination:a,viewport:s,displacedBy:Ge(a.axis,o.displaceBy),last:ve,index:h})}({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:i,moveRelativeTo:function(t){var e=t.pageBorderBoxCenter,n=t.viewport,r=t.destination,o=t.insideDestination,i=t.afterCritical;return o.filter((function(t){return je({target:qe(t,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(t,n){var o=Yt(e,Ne(r,We(t,i))),a=Yt(e,Ne(r,We(n,i)));return o<a?-1:a<o?1:t.descriptor.index-n.descriptor.index}))[0]||null}({pageBorderBoxCenter:n,viewport:s,destination:c,insideDestination:u,afterCritical:l}),insideDestination:u,viewport:s,afterCritical:l});if(!d)return null;var f=Le({impact:d,draggable:r,droppable:c,draggables:i,afterCritical:l});return{clientSelection:ze({pageBorderBoxCenter:f,draggable:r,viewport:s}),impact:d,scrollJumpRequest:null}},$e=function(t){var e=t.at;return e?"REORDER"===e.type?e.destination.droppableId:e.combine.droppableId:null},Ze=function(t){var e=t.state,n=t.type,r=function(t,e){var n=$e(t);return n?e[n]:null}(e.impact,e.dimensions.droppables),o=Boolean(r),i=e.dimensions.droppables[e.critical.droppable.id],a=r||i,s=a.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!o)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=e.dimensions.draggables[e.critical.draggable.id],d=e.current.page.borderBoxCenter,f=e.dimensions,p=f.draggables,h=f.droppables;return l?Ve({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,destination:a,draggables:p,viewport:e.viewport,previousClientSelection:e.current.client.selection,previousImpact:e.impact,afterCritical:e.afterCritical}):Ke({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,isOver:a,draggables:p,droppables:h,viewport:e.viewport,afterCritical:e.afterCritical})};function Qe(t){return"DRAGGING"===t.phase||"COLLECTING"===t.phase}function Je(t){var e=me(t.top,t.bottom),n=me(t.left,t.right);return function(t){return e(t.y)&&n(t.x)}}function tn(t){var e=t.pageBorderBox,n=t.draggable,r=t.droppables,o=se(r).filter((function(t){if(!t.isEnabled)return!1;var n,r,o=t.subject.active;if(!o)return!1;if(r=o,!((n=e).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(Je(o)(e.center))return!0;var i=t.axis,a=o.center[i.crossAxisLine],s=e[i.crossAxisStart],l=e[i.crossAxisEnd],c=me(o[i.crossAxisStart],o[i.crossAxisEnd]),u=c(s),d=c(l);return!u&&!d||(u?s<a:l>a)}));return o.length?1===o.length?o[0].descriptor.id:function(t){var e=t.pageBorderBox,n=t.draggable,r=t.candidates,o=n.page.borderBox.center,i=r.map((function(t){var n=t.axis,r=Gt(t.axis.line,e.center[n.line],t.page.borderBox.center[n.crossAxisLine]);return{id:t.descriptor.id,distance:Yt(o,r)}})).sort((function(t,e){return e.distance-t.distance}));return i[0]?i[0].id:null}({pageBorderBox:e,draggable:n,candidates:o}):null}var en=function(t,e){return pt($t(t,e))};function nn(t){var e=t.displaced,n=t.id;return Boolean(e.visible[n]||e.invisible[n])}var rn=function(t){var e=t.pageOffset,n=t.draggable,r=t.draggables,o=t.droppables,i=t.previousImpact,a=t.viewport,s=t.afterCritical,l=en(n.page.borderBox,e),c=tn({pageBorderBox:l,draggable:n,droppables:o});if(!c)return ge;var u,d,f=o[c],p=ce(f.descriptor.id,r),h=(u=l,(d=f.frame)?en(u,d.scroll.diff.value):u);return function(t){var e=t.draggable,n=t.pageBorderBoxWithDroppableScroll,r=t.previousImpact,o=t.destination,i=t.insideDestination,a=t.afterCritical;if(!o.isCombineEnabled)return null;var s=o.axis,l=Ge(o.axis,e.displaceBy),c=l.value,u=n[s.start],d=n[s.end],f=re(fe(e,i),(function(t){var e=t.descriptor.id,n=t.page.borderBox,o=n[s.size]/4,i=Pe(e,a),l=nn({displaced:r.displaced,id:e});return i?l?d>n[s.start]+o&&d<n[s.end]-o:u>n[s.start]-c+o&&u<n[s.end]-c-o:l?d>n[s.start]+c+o&&d<n[s.end]+c-o:u>n[s.start]+o&&u<n[s.end]-o}));return f?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:f.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:h,draggable:n,previousImpact:i,destination:f,insideDestination:p,afterCritical:s})||function(t){var e=t.pageBorderBoxWithDroppableScroll,n=t.draggable,r=t.destination,o=t.insideDestination,i=t.last,a=t.viewport,s=t.afterCritical,l=r.axis,c=Ge(r.axis,n.displaceBy),u=c.value,d=e[l.start],f=e[l.end],p=function(t){var e=t.draggable,n=t.closest,r=t.inHomeList;return n?r&&n.descriptor.index>e.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:re(fe(n,o),(function(t){var e=t.descriptor.id,n=t.page.borderBox.center[l.line],r=Pe(e,s),o=nn({displaced:i,id:e});return r?o?f<=n:d<n-u:o?f<=n+u:d<n})),inHomeList:pe(n,r)});return Ee({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:c,index:p})}({pageBorderBoxWithDroppableScroll:h,draggable:n,destination:f,insideDestination:p,last:i.displaced,viewport:a,afterCritical:s})},on=function(t,e){var n;return l({},t,((n={})[e.descriptor.id]=e,n))},an=function(t){var e=t.previousImpact,n=t.impact,r=t.droppables,o=$e(e),i=$e(n);if(!o)return r;if(o===i)return r;var a=r[o];if(!a.subject.withPlaceholder)return r;var s=function(t){var e=t.subject.withPlaceholder;e||Tt(!1);var n=t.frame;if(!n)return l({},t,{subject:Jt({page:t.subject.page,axis:t.axis,frame:null,withPlaceholder:null})});var r=e.oldFrameMaxScroll;r||Tt(!1);var o=Ye(n,r);return l({},t,{subject:Jt({page:t.subject.page,axis:t.axis,frame:o,withPlaceholder:null}),frame:o})}(a);return on(r,s)},sn=function(t){var e=t.state,n=t.clientSelection,r=t.dimensions,o=t.viewport,i=t.impact,a=t.scrollJumpRequest,s=o||e.viewport,c=r||e.dimensions,u=n||e.current.client.selection,d=Ut(u,e.initial.client.selection),f={offset:d,selection:u,borderBoxCenter:Vt(e.initial.client.borderBoxCenter,d)},p={selection:Vt(f.selection,s.scroll.current),borderBoxCenter:Vt(f.borderBoxCenter,s.scroll.current),offset:Vt(f.offset,s.scroll.diff.value)},h={client:f,page:p};if("COLLECTING"===e.phase)return l({phase:"COLLECTING"},e,{dimensions:c,viewport:s,current:h});var v=c.draggables[e.critical.draggable.id],g=i||rn({pageOffset:p.offset,draggable:v,draggables:c.draggables,droppables:c.droppables,previousImpact:e.impact,viewport:s,afterCritical:e.afterCritical}),m=function(t){var e=t.draggable,n=t.draggables,r=t.droppables,o=t.previousImpact,i=t.impact,a=an({previousImpact:o,impact:i,droppables:r}),s=$e(i);if(!s)return a;var l=r[s];if(pe(e,l))return a;if(l.subject.withPlaceholder)return a;var c=Xe(l,e,n);return on(a,c)}({draggable:v,impact:g,previousImpact:e.impact,draggables:c.draggables,droppables:c.droppables});return l({},e,{current:h,dimensions:{draggables:c.draggables,droppables:m},impact:g,viewport:s,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})},ln=function(t){var e=t.impact,n=t.viewport,r=t.draggables,o=t.destination,i=t.forceShouldAnimate,a=e.displaced;return l({},e,{displaced:Ce({afterDragging:function(t,e){return t.map((function(t){return e[t]}))}(a.all,r),destination:o,displacedBy:e.displacedBy,viewport:n.frame,forceShouldAnimate:i,last:a})})},cn=function(t){var e=t.impact,n=t.draggable,r=t.droppable,o=t.draggables,i=t.viewport,a=t.afterCritical,s=Le({impact:e,draggable:n,draggables:o,droppable:r,afterCritical:a});return ze({pageBorderBoxCenter:s,draggable:n,viewport:i})},un=function(t){var e=t.state,n=t.dimensions,r=t.viewport;"SNAP"!==e.movementMode&&Tt(!1);var o=e.impact,i=r||e.viewport,a=n||e.dimensions,s=a.draggables,l=a.droppables,c=s[e.critical.draggable.id],u=$e(o);u||Tt(!1);var d=l[u],f=ln({impact:o,viewport:i,destination:d,draggables:s}),p=cn({impact:f,draggable:c,droppable:d,draggables:s,viewport:i,afterCritical:e.afterCritical});return sn({impact:f,clientSelection:p,state:e,dimensions:a,viewport:i})},dn=function(t){var e=t.draggable,n=t.home,r=t.draggables,o=t.viewport,i=Ge(n.axis,e.displaceBy),a=ce(n.descriptor.id,r),s=a.indexOf(e);-1===s&&Tt(!1);var l,c=a.slice(s+1),u=c.reduce((function(t,e){return t[e.descriptor.id]=!0,t}),{}),d={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:u};return{impact:{displaced:Ce({afterDragging:c,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(l=e.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},fn=function(t){},pn=function(t){},hn=function(t){var e=t.additions,n=t.updatedDroppables,r=t.viewport,o=r.scroll.diff.value;return e.map((function(t){var e=t.descriptor.droppableId,i=function(t){var e=t.frame;return e||Tt(!1),e}(n[e]).scroll.diff.value;return function(t){var e=t.draggable,n=t.offset,r=t.initialWindowScroll,o=yt(e.client,n),i=xt(o,r);return l({},e,{placeholder:l({},e.placeholder,{client:o}),client:o,page:i})}({draggable:t,offset:Vt(o,i),initialWindowScroll:r.scroll.initial})}))},vn=function(t){return"SNAP"===t.movementMode},gn=function(t,e,n){var r=function(t,e){return{draggables:t.draggables,droppables:on(t.droppables,e)}}(t.dimensions,e);return!vn(t)||n?sn({state:t,dimensions:r}):un({state:t,dimensions:r})};function mn(t){return t.isDragging&&"SNAP"===t.movementMode?l({phase:"DRAGGING"},t,{scrollJumpRequest:null}):t}var bn={phase:"IDLE",completed:null,shouldFlush:!1},yn=function(t,e){if(void 0===t&&(t=bn),"FLUSH"===e.type)return l({},bn,{shouldFlush:!0});if("INITIAL_PUBLISH"===e.type){"IDLE"!==t.phase&&Tt(!1);var n=e.payload,r=n.critical,o=n.clientSelection,i=n.viewport,a=n.dimensions,s=n.movementMode,c=a.draggables[r.draggable.id],u=a.droppables[r.droppable.id],d={selection:o,borderBoxCenter:c.client.borderBox.center,offset:Ht},f={client:d,page:{selection:Vt(d.selection,i.scroll.initial),borderBoxCenter:Vt(d.selection,i.scroll.initial),offset:Vt(d.selection,i.scroll.diff.value)}},p=se(a.droppables).every((function(t){return!t.isFixedOnPage})),h=dn({draggable:c,home:u,draggables:a.draggables,viewport:i}),v=h.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:s,dimensions:a,initial:f,current:f,isWindowScrollAllowed:p,impact:v,afterCritical:h.afterCritical,onLiftImpact:v,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===e.type)return"COLLECTING"===t.phase||"DROP_PENDING"===t.phase?t:("DRAGGING"!==t.phase&&Tt(!1),l({phase:"COLLECTING"},t,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===e.type)return"COLLECTING"!==t.phase&&"DROP_PENDING"!==t.phase&&Tt(!1),function(t){var e=t.state,n=t.published;fn();var r=n.modified.map((function(t){var n=e.dimensions.droppables[t.droppableId];return te(n,t.scroll)})),o=l({},e.dimensions.droppables,{},ie(r)),i=ae(hn({additions:n.additions,updatedDroppables:o,viewport:e.viewport})),a=l({},e.dimensions.draggables,{},i);n.removals.forEach((function(t){delete a[t]}));var s={droppables:o,draggables:a},c=$e(e.impact),u=c?s.droppables[c]:null,d=s.draggables[e.critical.draggable.id],f=s.droppables[e.critical.droppable.id],p=dn({draggable:d,home:f,draggables:a,viewport:e.viewport}),h=p.impact,v=p.afterCritical,g=u&&u.isCombineEnabled?e.impact:h,m=rn({pageOffset:e.current.page.offset,draggable:s.draggables[e.critical.draggable.id],draggables:s.draggables,droppables:s.droppables,previousImpact:g,viewport:e.viewport,afterCritical:v});pn();var b=l({phase:"DRAGGING"},e,{phase:"DRAGGING",impact:m,onLiftImpact:h,dimensions:s,afterCritical:v,forceShouldAnimate:!1});return"COLLECTING"===e.phase?b:l({phase:"DROP_PENDING"},b,{phase:"DROP_PENDING",reason:e.reason,isWaiting:!1})}({state:t,published:e.payload});if("MOVE"===e.type){if("DROP_PENDING"===t.phase)return t;Qe(t)||Tt(!1);var g=e.payload.client;return Wt(g,t.current.client.selection)?t:sn({state:t,clientSelection:g,impact:vn(t)?t.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===e.type){if("DROP_PENDING"===t.phase)return mn(t);if("COLLECTING"===t.phase)return mn(t);Qe(t)||Tt(!1);var m=e.payload,b=m.id,y=m.newScroll,x=t.dimensions.droppables[b];if(!x)return t;var w=te(x,y);return gn(t,w,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===e.type){if("DROP_PENDING"===t.phase)return t;Qe(t)||Tt(!1);var O=e.payload,S=O.id,j=O.isEnabled,C=t.dimensions.droppables[S];C||Tt(!1),C.isEnabled===j&&Tt(!1);var k=l({},C,{isEnabled:j});return gn(t,k,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===e.type){if("DROP_PENDING"===t.phase)return t;Qe(t)||Tt(!1);var E=e.payload,P=E.id,_=E.isCombineEnabled,M=t.dimensions.droppables[P];M||Tt(!1),M.isCombineEnabled===_&&Tt(!1);var T=l({},M,{isCombineEnabled:_});return gn(t,T,!0)}if("MOVE_BY_WINDOW_SCROLL"===e.type){if("DROP_PENDING"===t.phase||"DROP_ANIMATING"===t.phase)return t;Qe(t)||Tt(!1),t.isWindowScrollAllowed||Tt(!1);var A=e.payload.newScroll;if(Wt(t.viewport.scroll.current,A))return mn(t);var R=Fe(t.viewport,A);return vn(t)?un({state:t,viewport:R}):sn({state:t,viewport:R})}if("UPDATE_VIEWPORT_MAX_SCROLL"===e.type){if(!Qe(t))return t;var D=e.payload.maxScroll;if(Wt(D,t.viewport.scroll.max))return t;var I=l({},t.viewport,{scroll:l({},t.viewport.scroll,{max:D})});return l({phase:"DRAGGING"},t,{viewport:I})}if("MOVE_UP"===e.type||"MOVE_DOWN"===e.type||"MOVE_LEFT"===e.type||"MOVE_RIGHT"===e.type){if("COLLECTING"===t.phase||"DROP_PENDING"===t.phase)return t;"DRAGGING"!==t.phase&&Tt(!1);var N=Ze({state:t,type:e.type});return N?sn({state:t,impact:N.impact,clientSelection:N.clientSelection,scrollJumpRequest:N.scrollJumpRequest}):t}if("DROP_PENDING"===e.type){var L=e.payload.reason;return"COLLECTING"!==t.phase&&Tt(!1),l({phase:"DROP_PENDING"},t,{phase:"DROP_PENDING",isWaiting:!0,reason:L})}if("DROP_ANIMATE"===e.type){var F=e.payload,B=F.completed,z=F.dropDuration,H=F.newHomeClientOffset;return"DRAGGING"!==t.phase&&"DROP_PENDING"!==t.phase&&Tt(!1),{phase:"DROP_ANIMATING",completed:B,dropDuration:z,newHomeClientOffset:H,dimensions:t.dimensions}}return"DROP_COMPLETE"===e.type?{phase:"IDLE",completed:e.payload.completed,shouldFlush:!1}:t},xn=function(t){return{type:"PUBLISH_WHILE_DRAGGING",payload:t}},wn=function(){return{type:"COLLECTION_STARTING",payload:null}},On=function(t){return{type:"UPDATE_DROPPABLE_SCROLL",payload:t}},Sn=function(t){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:t}},jn=function(t){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:t}},Cn=function(t){return{type:"MOVE",payload:t}},kn=function(){return{type:"MOVE_UP",payload:null}},En=function(){return{type:"MOVE_DOWN",payload:null}},Pn=function(){return{type:"MOVE_RIGHT",payload:null}},_n=function(){return{type:"MOVE_LEFT",payload:null}},Mn=function(t){return{type:"DROP_COMPLETE",payload:t}},Tn=function(t){return{type:"DROP",payload:t}},An=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}},Rn="cubic-bezier(.2,1,.1,1)",Dn={drop:0,combining:.7},In={drop:.75},Nn="0.2s cubic-bezier(0.2, 0, 0, 1)",Ln={fluid:"opacity "+Nn,snap:"transform "+Nn+", opacity "+Nn,drop:function(t){var e=t+"s "+Rn;return"transform "+e+", opacity "+e},outOfTheWay:"transform "+Nn,placeholder:"height "+Nn+", width "+Nn+", margin "+Nn},Fn=function(t){return Wt(t,Ht)?null:"translate("+t.x+"px, "+t.y+"px)"},Bn=Fn,zn=function(t,e){var n=Fn(t);return n?e?n+" scale("+In.drop+")":n:null},Hn=.33,Vn=.55,Un=Vn-Hn,Wn=function(t){var e=t.getState,n=t.dispatch;return function(t){return function(r){if("DROP"===r.type){var o=e(),i=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&Tt(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&Tt(!1);var a=o.critical,s=o.dimensions,c=s.draggables[o.critical.draggable.id],u=function(t){var e=t.draggables,n=t.reason,r=t.lastImpact,o=t.home,i=t.viewport,a=t.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:l({},r,{displaced:ve}),didDropInsideDroppable:!0}:{impact:ln({draggables:e,impact:a,destination:o,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),d=u.impact,f=u.didDropInsideDroppable,p=f?ue(d):null,h=f?de(d):null,v={index:a.draggable.index,droppableId:a.droppable.id},g={draggableId:c.descriptor.id,type:c.descriptor.type,source:v,reason:i,mode:o.movementMode,destination:p,combine:h},m=function(t){var e=t.impact,n=t.draggable,r=t.dimensions,o=t.viewport,i=t.afterCritical,a=r.draggables,s=r.droppables,l=$e(e),c=l?s[l]:null,u=s[n.descriptor.droppableId],d=cn({impact:e,draggable:n,draggables:a,afterCritical:i,droppable:c||u,viewport:o});return Ut(d,n.client.borderBox.center)}({impact:d,draggable:c,dimensions:s,viewport:o.viewport,afterCritical:o.afterCritical}),b={critical:o.critical,afterCritical:o.afterCritical,result:g,impact:d};if(!Wt(o.current.client.offset,m)||Boolean(g.combine)){var y=function(t){var e=t.current,n=t.destination,r=t.reason,o=Yt(e,n);if(o<=0)return Hn;if(o>=1500)return Vn;var i=Hn+Un*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:m,reason:i});n(function(t){return{type:"DROP_ANIMATE",payload:t}}({newHomeClientOffset:m,dropDuration:y,completed:b}))}else n(Mn({completed:b}))}}else n(function(t){return{type:"DROP_PENDING",payload:t}}({reason:i}))}else t(r)}}},qn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Gn(t){var e,n=t.onWindowScroll,r=kt((function(){n(qn())})),o=(e=r,{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}),i=Pt;function a(){return i!==Pt}return{start:function(){a()&&Tt(!1),i=_t(window,[o])},stop:function(){a()||Tt(!1),r.cancel(),i(),i=Pt},isActive:a}}var Yn=function(t){var e=Gn({onWindowScroll:function(e){t.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:e}})}});return function(t){return function(n){e.isActive()||"INITIAL_PUBLISH"!==n.type||e.start(),e.isActive()&&function(t){return"DROP_COMPLETE"===t.type||"DROP_ANIMATE"===t.type||"FLUSH"===t.type}(n)&&e.stop(),t(n)}}},Xn=function(){var t=[];return{add:function(e){var n=setTimeout((function(){return function(e){var n=ne(t,(function(t){return t.timerId===e}));-1===n&&Tt(!1),t.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:e};t.push(r)},flush:function(){if(t.length){var e=[].concat(t);t.length=0,e.forEach((function(t){clearTimeout(t.timerId),t.callback()}))}}}},Kn=function(t,e){fn(),e(),pn()},$n=function(t,e){return{draggableId:t.draggable.id,type:t.droppable.type,source:{droppableId:t.droppable.id,index:t.draggable.index},mode:e}},Zn=function(t,e,n,r){if(t){var o=function(t){var e=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){e||n||(e=!0,t(o),clearTimeout(r))};return o.wasCalled=function(){return e},o}(n);t(e,{announce:o}),o.wasCalled()||n(r(e))}else n(r(e))},Qn=function(t,e){var n=function(t,e){var n=Xn(),r=null,o=function(n){r||Tt(!1),r=null,Kn(0,(function(){return Zn(t().onDragEnd,n,e,zt)}))};return{beforeCapture:function(e,n){r&&Tt(!1),Kn(0,(function(){var r=t().onBeforeCapture;r&&r({draggableId:e,mode:n})}))},beforeStart:function(e,n){r&&Tt(!1),Kn(0,(function(){var r=t().onBeforeDragStart;r&&r($n(e,n))}))},start:function(o,i){r&&Tt(!1);var a=$n(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((function(){Kn(0,(function(){return Zn(t().onDragStart,a,e,Ft)}))}))},update:function(o,i){var a=ue(i),s=de(i);r||Tt(!1);var c=!function(t,e){if(t===e)return!0;var n=t.draggable.id===e.draggable.id&&t.draggable.droppableId===e.draggable.droppableId&&t.draggable.type===e.draggable.type&&t.draggable.index===e.draggable.index,r=t.droppable.id===e.droppable.id&&t.droppable.type===e.droppable.type;return n&&r}(o,r.lastCritical);c&&(r.lastCritical=o);var u,d,f=(d=a,!(null==(u=r.lastLocation)&&null==d||null!=u&&null!=d&&u.droppableId===d.droppableId&&u.index===d.index));f&&(r.lastLocation=a);var p=!function(t,e){return null==t&&null==e||null!=t&&null!=e&&t.draggableId===e.draggableId&&t.droppableId===e.droppableId}(r.lastCombine,s);if(p&&(r.lastCombine=s),c||f||p){var h=l({},$n(o,r.mode),{combine:s,destination:a});n.add((function(){Kn(0,(function(){return Zn(t().onDragUpdate,h,e,Bt)}))}))}},flush:function(){r||Tt(!1),n.flush()},drop:o,abort:function(){if(r){var t=l({},$n(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(t)}}}}(t,e);return function(t){return function(e){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),e(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),e(r),void n.drop(i)}if(e(r),"FLUSH"!==r.type){var a=t.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Jn=function(t){return function(e){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=t.getState();"DROP_ANIMATING"!==r.phase&&Tt(!1),t.dispatch(Mn({completed:r.completed}))}else e(n)}}},tr=function(t){var e=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),e&&(e(),e=null)),r(o),"DROP_ANIMATE"===o.type){var i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===t.getState().phase&&t.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,e=_t(window,[i])}))}}}},er=function(t){return function(e){return function(n){if(e(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=t.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||t.dispatch(Tn({reason:r.reason})))}}}},nr=x,rr=function(t){var e,n=t.dimensionMarshal,r=t.focusMarshal,o=t.styleMarshal,i=t.getResponders,a=t.announce,s=t.autoScroller;return m(yn,nr(function(){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(f(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map((function(t){return t(o)}));return r=x.apply(void 0,i)(n.dispatch),d(d({},n),{},{dispatch:r})}}}((e=o,function(){return function(t){return function(n){"INITIAL_PUBLISH"===n.type&&e.dragging(),"DROP_ANIMATE"===n.type&&e.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||e.resting(),t(n)}}}),function(t){return function(){return function(e){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||t.stopPublishing(),e(n)}}}}(n),function(t){return function(e){var n=e.getState,r=e.dispatch;return function(e){return function(o){if("LIFT"===o.type){var i=o.payload,a=i.id,s=i.clientSelection,l=i.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(Mn({completed:c.completed})),"IDLE"!==n().phase&&Tt(!1),r({type:"FLUSH",payload:null}),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var u={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=t.startPublishing(u),f=d.critical,p=d.dimensions,h=d.viewport;r(function(t){return{type:"INITIAL_PUBLISH",payload:t}}({critical:f,dimensions:p,clientSelection:s,movementMode:l,viewport:h}))}else e(o)}}}}(n),Wn,Jn,tr,er,function(t){return function(e){return function(n){return function(r){if(function(t){return"DROP_COMPLETE"===t.type||"DROP_ANIMATE"===t.type||"FLUSH"===t.type}(r))return t.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var o=e.getState();return"DRAGGING"!==o.phase&&Tt(!1),void t.start(o)}n(r),t.scroll(e.getState())}}}}(s),Yn,function(t){var e=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return e=!0,t.tryRecordFocus(r.payload.critical.draggable.id),n(r),void t.tryRestoreFocusRecorded();if(n(r),e){if("FLUSH"===r.type)return e=!1,void t.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){e=!1;var o=r.payload.completed.result;o.combine&&t.tryShiftRecord(o.draggableId,o.combine.draggableId),t.tryRestoreFocusRecorded()}}}}}}(r),Qn(i,a))))},or=function(t){var e=t.scrollHeight,n=t.scrollWidth,r=t.height,o=t.width,i=Ut({x:n,y:e},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},ir=function(){var t=document.documentElement;return t||Tt(!1),t},ar=function(){var t=ir();return or({scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth,width:t.clientWidth,height:t.clientHeight})},sr=function(t){var e=t.critical,n=t.scrollOptions,r=t.registry;fn();var o,i,a,s,l,c,u,d=(o=qn(),i=ar(),a=o.y,s=o.x,c=(l=ir()).clientWidth,u=l.clientHeight,{frame:pt({top:a,left:s,right:s+c,bottom:a+u}),scroll:{initial:o,current:o,max:i,diff:{value:Ht,displacement:Ht}}}),f=d.scroll.current,p=e.droppable,h=r.droppable.getAllByType(p.type).map((function(t){return t.callbacks.getDimensionAndWatchScroll(f,n)})),v=r.draggable.getAllByType(e.draggable.type).map((function(t){return t.getDimension(f)})),g={draggables:ae(v),droppables:ie(h)};return pn(),{dimensions:g,critical:e,viewport:d}};function lr(t,e,n){return n.descriptor.id!==e.id&&n.descriptor.type===e.type&&"virtual"===t.droppable.getById(n.descriptor.droppableId).descriptor.mode}var cr,ur,dr=function(t,e){var n=null,r=function(t){var e=t.registry,n=t.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null,fn();var t=r,i=t.additions,a=t.removals,s=t.modified,l=Object.keys(i).map((function(t){return e.draggable.getById(t).getDimension(Ht)})).sort((function(t,e){return t.descriptor.index-e.descriptor.index})),c=Object.keys(s).map((function(t){return{droppableId:t,scroll:e.droppable.getById(t).callbacks.getScrollWhileDragging()}})),u={additions:l,removals:Object.keys(a),modified:c};r={additions:{},removals:{},modified:{}},pn(),n.publish(u)})))};return{add:function(t){var e=t.descriptor.id;r.additions[e]=t,r.modified[t.descriptor.droppableId]=!0,r.removals[e]&&delete r.removals[e],i()},remove:function(t){var e=t.descriptor;r.removals[e.id]=!0,r.modified[e.droppableId]=!0,r.additions[e.id]&&delete r.additions[e.id],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:e.publishWhileDragging,collectionStarting:e.collectionStarting},registry:t}),o=function(e){n||Tt(!1);var o=n.critical.draggable;"ADDITION"===e.type&&lr(t,o,e.value)&&r.add(e.value),"REMOVAL"===e.type&&lr(t,o,e.value)&&r.remove(e.value)};return{updateDroppableIsEnabled:function(r,o){t.droppable.exists(r)||Tt(!1),n&&e.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(t.droppable.exists(r)||Tt(!1),e.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(e,r){n&&t.droppable.getById(e).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(t.droppable.exists(r)||Tt(!1),e.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(e){n&&Tt(!1);var r=t.draggable.getById(e.draggableId),i=t.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},s=t.subscribe(o);return n={critical:a,unsubscribe:s},sr({critical:a,registry:t,scrollOptions:e.scrollOptions})},stopPublishing:function(){if(n){r.stop();var e=n.critical.droppable;t.droppable.getAllByType(e.type).forEach((function(t){return t.callbacks.dragStopped()})),n.unsubscribe(),n=null}}}},fr=function(t,e){return"IDLE"===t.phase||"DROP_ANIMATING"===t.phase&&t.completed.result.draggableId!==e&&"DROP"===t.completed.result.reason},pr=function(t){window.scrollBy(t.x,t.y)},hr=Ct((function(t){return se(t).filter((function(t){return!!t.isEnabled&&!!t.frame}))})),vr=function(t){var e=t.center,n=t.destination,r=t.droppables;if(n){var o=r[n];return o.frame?o:null}return function(t,e){return re(hr(e),(function(e){return e.frame||Tt(!1),Je(e.frame.pageMarginBox)(t)}))}(e,r)},gr=.25,mr=.05,br=28,yr=function(t){return Math.pow(t,2)},xr={stopDampeningAt:1200,accelerateAt:360},wr=function(t){var e=t.startOfRange,n=t.endOfRange,r=t.current,o=n-e;return 0===o?0:(r-e)/o},Or=xr.accelerateAt,Sr=xr.stopDampeningAt,jr=function(t){var e=t.distanceToEdge,n=t.thresholds,r=t.dragStartTime,o=t.shouldUseTimeDampening,i=function(t,e){if(t>e.startScrollingFrom)return 0;if(t<=e.maxScrollValueAt)return br;if(t===e.startScrollingFrom)return 1;var n=wr({startOfRange:e.maxScrollValueAt,endOfRange:e.startScrollingFrom,current:t}),r=br*yr(1-n);return Math.ceil(r)}(e,n);return 0===i?0:o?Math.max(function(t,e){var n=e,r=Sr,o=Date.now()-n;if(o>=Sr)return t;if(o<Or)return 1;var i=wr({startOfRange:Or,endOfRange:r,current:o}),a=t*yr(i);return Math.ceil(a)}(i,r),1):i},Cr=function(t){var e=t.container,n=t.distanceToEdges,r=t.dragStartTime,o=t.axis,i=t.shouldUseTimeDampening,a=function(t,e){return{startScrollingFrom:t[e.size]*gr,maxScrollValueAt:t[e.size]*mr}}(e,o);return n[o.end]<n[o.start]?jr({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*jr({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},kr=Kt((function(t){return 0===t?0:t})),Er=function(t){var e=t.dragStartTime,n=t.container,r=t.subject,o=t.center,i=t.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},s=Cr({container:n,distanceToEdges:a,dragStartTime:e,axis:xe,shouldUseTimeDampening:i}),l=Cr({container:n,distanceToEdges:a,dragStartTime:e,axis:we,shouldUseTimeDampening:i}),c=kr({x:l,y:s});if(Wt(c,Ht))return null;var u=function(t){var e=t.container,n=t.subject,r=t.proposedScroll,o=n.height>e.height,i=n.width>e.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return u?Wt(u,Ht)?null:u:null},Pr=Kt((function(t){return 0===t?0:t>0?1:-1})),_r=(cr=function(t,e){return t<0?t:t>e?t-e:0},function(t){var e=t.current,n=t.max,r=t.change,o=Vt(e,r),i={x:cr(o.x,n.x),y:cr(o.y,n.y)};return Wt(i,Ht)?null:i}),Mr=function(t){var e=t.max,n=t.current,r=t.change,o={x:Math.max(n.x,e.x),y:Math.max(n.y,e.y)},i=Pr(r),a=_r({max:o,current:n,change:i});return!a||0!==i.x&&0===a.x||0!==i.y&&0===a.y},Tr=function(t,e){return Mr({current:t.scroll.current,max:t.scroll.max,change:e})},Ar=function(t,e){var n=t.frame;return!!n&&Mr({current:n.scroll.current,max:n.scroll.max,change:e})},Rr=function(t){var e=t.state,n=t.dragStartTime,r=t.shouldUseTimeDampening,o=t.scrollWindow,i=t.scrollDroppable,a=e.current.page.borderBoxCenter,s=e.dimensions.draggables[e.critical.draggable.id].page.marginBox;if(e.isWindowScrollAllowed){var l=function(t){var e=t.viewport,n=t.subject,r=t.center,o=t.dragStartTime,i=t.shouldUseTimeDampening,a=Er({dragStartTime:o,container:e.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&Tr(e,a)?a:null}({dragStartTime:n,viewport:e.viewport,subject:s,center:a,shouldUseTimeDampening:r});if(l)return void o(l)}var c=vr({center:a,destination:$e(e.impact),droppables:e.dimensions.droppables});if(c){var u=function(t){var e=t.droppable,n=t.subject,r=t.center,o=t.dragStartTime,i=t.shouldUseTimeDampening,a=e.frame;if(!a)return null;var s=Er({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return s&&Ar(e,s)?s:null}({dragStartTime:n,droppable:c,subject:s,center:a,shouldUseTimeDampening:r});u&&i(c.descriptor.id,u)}},Dr=function(t){var e=t.move,n=t.scrollDroppable,r=t.scrollWindow,o=function(t,e){if(!Ar(t,e))return e;var r=function(t,e){var n=t.frame;return n&&Ar(t,e)?_r({current:n.scroll.current,max:n.scroll.max,change:e}):null}(t,e);if(!r)return n(t.descriptor.id,e),null;var o=Ut(e,r);return n(t.descriptor.id,o),Ut(e,o)},i=function(t,e,n){if(!t)return n;if(!Tr(e,n))return n;var o=function(t,e){if(!Tr(t,e))return null;var n=t.scroll.max,r=t.scroll.current;return _r({current:r,max:n,change:e})}(e,n);if(!o)return r(n),null;var i=Ut(n,o);return r(i),Ut(n,i)};return function(t){var n=t.scrollJumpRequest;if(n){var r=$e(t.impact);r||Tt(!1);var a=o(t.dimensions.droppables[r],n);if(a){var s=t.viewport,l=i(t.isWindowScrollAllowed,s,a);l&&function(t,n){var r=Vt(t.current.client.selection,n);e({client:r})}(t,l)}}}},Ir=function(t){var e=t.scrollDroppable,n=t.scrollWindow,r=t.move,o=function(t){var e=t.scrollWindow,n=t.scrollDroppable,r=kt(e),o=kt(n),i=null,a=function(t){i||Tt(!1);var e=i,n=e.shouldUseTimeDampening,a=e.dragStartTime;Rr({state:t,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(t){fn(),i&&Tt(!1);var e=Date.now(),n=!1,r=function(){n=!0};Rr({state:t,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:e,shouldUseTimeDampening:n},pn(),n&&a(t)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:e}),i=Dr({move:r,scrollWindow:n,scrollDroppable:e});return{scroll:function(t){"DRAGGING"===t.phase&&("FLUID"!==t.movementMode?t.scrollJumpRequest&&i(t):o.scroll(t))},start:o.start,stop:o.stop}},Nr={base:ur="data-rbd-drag-handle",draggableId:ur+"-draggable-id",contextId:ur+"-context-id"},Lr=function(){var t="data-rbd-draggable";return{base:t,contextId:t+"-context-id",id:t+"-id"}}(),Fr=function(){var t="data-rbd-droppable";return{base:t,contextId:t+"-context-id",id:t+"-id"}}(),Br={contextId:"data-rbd-scroll-container-context-id"},zr=function(t,e){return t.map((function(t){var n=t.styles[e];return n?t.selector+" { "+n+" }":""})).join(" ")},Hr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,Vr=function(){var t=document.querySelector("head");return t||Tt(!1),t},Ur=function(t){var e=document.createElement("style");return t&&e.setAttribute("nonce",t),e.type="text/css",e};function Wr(t,e){var n=ut((function(){return function(t){var e,n,r,o=(e=t,function(t){return"["+t+'="'+e+'"]'}),i=(n="\n      cursor: -webkit-grab;\n      cursor: grab;\n    ",{selector:o(Nr.contextId),styles:{always:"\n          -webkit-touch-callout: none;\n          -webkit-tap-highlight-color: rgba(0,0,0,0);\n          touch-action: manipulation;\n        ",resting:n,dragging:"pointer-events: none;",dropAnimating:n}}),a=[(r="\n      transition: "+Ln.outOfTheWay+";\n    ",{selector:o(Lr.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),i,{selector:o(Fr.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n        cursor: grabbing;\n        cursor: -webkit-grabbing;\n        user-select: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        overflow-anchor: none;\n      "}}];return{always:zr(a,"always"),resting:zr(a,"resting"),dragging:zr(a,"dragging"),dropAnimating:zr(a,"dropAnimating"),userCancel:zr(a,"userCancel")}}(t)}),[t]),o=Object(r.useRef)(null),i=Object(r.useRef)(null),a=dt(Ct((function(t){var e=i.current;e||Tt(!1),e.textContent=t})),[]),s=dt((function(t){var e=o.current;e||Tt(!1),e.textContent=t}),[]);Hr((function(){(o.current||i.current)&&Tt(!1);var r=Ur(e),l=Ur(e);return o.current=r,i.current=l,r.setAttribute("data-rbd-always",t),l.setAttribute("data-rbd-dynamic",t),Vr().appendChild(r),Vr().appendChild(l),s(n.always),a(n.resting),function(){var t=function(t){var e=t.current;e||Tt(!1),Vr().removeChild(e),t.current=null};t(o),t(i)}}),[e,s,a,n.always,n.resting,t]);var l=dt((function(){return a(n.dragging)}),[a,n.dragging]),c=dt((function(t){a("DROP"!==t?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),u=dt((function(){i.current&&a(n.resting)}),[a,n.resting]);return ut((function(){return{dragging:l,dropping:c,resting:u}}),[l,c,u])}var qr=function(t){return t&&t.ownerDocument?t.ownerDocument.defaultView:window};function Gr(t){return t instanceof qr(t).HTMLElement}function Yr(t,e){var n="["+Nr.contextId+'="'+t+'"]',r=oe(document.querySelectorAll(n));if(!r.length)return null;var o=re(r,(function(t){return t.getAttribute(Nr.draggableId)===e}));return o&&Gr(o)?o:null}function Xr(){var t={draggables:{},droppables:{}},e=[];function n(t){e.length&&e.forEach((function(e){return e(t)}))}function r(e){return t.draggables[e]||null}function o(e){return t.droppables[e]||null}return{draggable:{register:function(e){t.draggables[e.descriptor.id]=e,n({type:"ADDITION",value:e})},update:function(e,n){var r=t.draggables[n.descriptor.id];r&&r.uniqueId===e.uniqueId&&(delete t.draggables[n.descriptor.id],t.draggables[e.descriptor.id]=e)},unregister:function(e){var o=e.descriptor.id,i=r(o);i&&e.uniqueId===i.uniqueId&&(delete t.draggables[o],n({type:"REMOVAL",value:e}))},getById:function(t){var e=r(t);return e||Tt(!1),e},findById:r,exists:function(t){return Boolean(r(t))},getAllByType:function(e){return ee(t.draggables).filter((function(t){return t.descriptor.type===e}))}},droppable:{register:function(e){t.droppables[e.descriptor.id]=e},unregister:function(e){var n=o(e.descriptor.id);n&&e.uniqueId===n.uniqueId&&delete t.droppables[e.descriptor.id]},getById:function(t){var e=o(t);return e||Tt(!1),e},findById:o,exists:function(t){return Boolean(o(t))},getAllByType:function(e){return ee(t.droppables).filter((function(t){return t.descriptor.type===e}))}},subscribe:function(t){return e.push(t),function(){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},clean:function(){t.draggables={},t.droppables={},e.length=0}}}var Kr=o.a.createContext(null),$r=function(){var t=document.body;return t||Tt(!1),t},Zr={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Qr=0,Jr={separator:"::"};function to(t,e){return void 0===e&&(e=Jr),ut((function(){return""+t+e.separator+Qr++}),[e.separator,t])}var eo=o.a.createContext(null);function no(t){}function ro(t,e){no()}function oo(){ro()}function io(t){var e=Object(r.useRef)(t);return Object(r.useEffect)((function(){e.current=t})),e}var ao,so,lo=((ao={})[13]=!0,ao[9]=!0,ao),co=function(t){lo[t.keyCode]&&t.preventDefault()},uo=function(){var t="visibilitychange";return"undefined"==typeof document?t:re([t,"ms"+t,"webkit"+t,"moz"+t,"o"+t],(function(t){return"on"+t in document}))||t}(),fo={type:"IDLE"};function po(t){var e=t.cancel,n=t.completed,r=t.getPhase,o=t.setPhase;return[{eventName:"mousemove",fn:function(t){var e=t.button,n=t.clientX,i=t.clientY;if(0===e){var a={x:n,y:i},s=r();if("DRAGGING"===s.type)return t.preventDefault(),void s.actions.move(a);if("PENDING"!==s.type&&Tt(!1),l=s.point,c=a,Math.abs(c.x-l.x)>=5||Math.abs(c.y-l.y)>=5){var l,c;t.preventDefault();var u=s.actions.fluidLift(a);o({type:"DRAGGING",actions:u})}}}},{eventName:"mouseup",fn:function(t){var o=r();"DRAGGING"===o.type?(t.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):e()}},{eventName:"mousedown",fn:function(t){"DRAGGING"===r().type&&t.preventDefault(),e()}},{eventName:"keydown",fn:function(t){if("PENDING"!==r().type)return 27===t.keyCode?(t.preventDefault(),void e()):void co(t);e()}},{eventName:"resize",fn:e},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&e()}},{eventName:"webkitmouseforcedown",fn:function(t){var n=r();"IDLE"===n.type&&Tt(!1),n.actions.shouldRespectForcePress()?e():t.preventDefault()}},{eventName:uo,fn:e}]}function ho(){}var vo=((so={})[34]=!0,so[33]=!0,so[36]=!0,so[35]=!0,so);function go(t,e){function n(){e(),t.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),e(),void t.drop()):40===r.keyCode?(r.preventDefault(),void t.moveDown()):38===r.keyCode?(r.preventDefault(),void t.moveUp()):39===r.keyCode?(r.preventDefault(),void t.moveRight()):37===r.keyCode?(r.preventDefault(),void t.moveLeft()):void(vo[r.keyCode]?r.preventDefault():co(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:uo,fn:n}]}var mo={type:"IDLE"},bo={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function yo(t,e){var n=e.target;return!!Gr(n)&&function t(e,n){if(null==n)return!1;if(Boolean(bo[n.tagName.toLowerCase()]))return!0;var r=n.getAttribute("contenteditable");return"true"===r||""===r||n!==e&&t(e,n.parentElement)}(t,n)}var xo=function(t){return pt(t.getBoundingClientRect()).center},wo="undefined"==typeof document?"matches":re(["matches","msMatchesSelector","webkitMatchesSelector"],(function(t){return t in Element.prototype}))||"matches";function Oo(t,e){return t.closest?t.closest(e):function t(e,n){return null==e?null:e[wo](n)?e:t(e.parentElement,n)}(t,e)}function So(t,e){var n,r=e.target;if(!((n=r)instanceof qr(n).Element))return null;var o=Oo(r,function(t){return"["+Nr.contextId+'="'+t+'"]'}(t));return o&&Gr(o)?o:null}function jo(t){t.preventDefault()}function Co(t){var e=t.expected,n=t.phase,r=t.isLockActive;return t.shouldWarn,!!r()&&e===n}function ko(t){var e=t.lockAPI,n=t.store,r=t.registry,o=t.draggableId;if(e.isClaimed())return!1;var i=r.draggable.findById(o);return!!i&&!!i.options.isEnabled&&!!fr(n.getState(),o)}function Eo(t){var e=t.lockAPI,n=t.contextId,r=t.store,o=t.registry,i=t.draggableId,a=t.forceSensorStop,s=t.sourceEvent;if(!ko({lockAPI:e,store:r,registry:o,draggableId:i}))return null;var c=o.draggable.getById(i),u=function(t,e){var n="["+Lr.contextId+'="'+t+'"]',r=re(oe(document.querySelectorAll(n)),(function(t){return t.getAttribute(Lr.id)===e}));return r&&Gr(r)?r:null}(n,c.descriptor.id);if(!u)return null;if(s&&!c.options.canDragInteractiveElements&&yo(u,s))return null;var d=e.claim(a||Pt),f="PRE_DRAG";function p(){return c.options.shouldRespectForcePress}function h(){return e.isActive(d)}var v=function(t,e){Co({expected:t,phase:f,isLockActive:h,shouldWarn:!0})&&r.dispatch(e())}.bind(null,"DRAGGING");function g(t){function n(){e.release(),f="COMPLETED"}function o(e,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),t.cleanup(),o.shouldBlockNextClick){var i=_t(window,[{eventName:"click",fn:jo,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch(Tn({reason:e}))}return"PRE_DRAG"!==f&&(n(),"PRE_DRAG"!==f&&Tt(!1)),r.dispatch(function(t){return{type:"LIFT",payload:t}}(t.liftActionArgs)),f="DRAGGING",l({isActive:function(){return Co({expected:"DRAGGING",phase:f,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(t){return o("DROP",t)},cancel:function(t){return o("CANCEL",t)}},t.actions)}return{isActive:function(){return Co({expected:"PRE_DRAG",phase:f,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(t){var e=kt((function(t){v((function(){return Cn({client:t})}))}));return l({},g({liftActionArgs:{id:i,clientSelection:t,movementMode:"FLUID"},cleanup:function(){return e.cancel()},actions:{move:e}}),{move:e})},snapLift:function(){var t={moveUp:function(){return v(kn)},moveRight:function(){return v(Pn)},moveDown:function(){return v(En)},moveLeft:function(){return v(_n)}};return g({liftActionArgs:{id:i,clientSelection:xo(u),movementMode:"SNAP"},cleanup:Pt,actions:t})},abort:function(){Co({expected:"PRE_DRAG",phase:f,isLockActive:h,shouldWarn:!0})&&e.release()}}}var Po=[function(t){var e=Object(r.useRef)(fo),n=Object(r.useRef)(Pt),o=ut((function(){return{eventName:"mousedown",fn:function(e){if(!e.defaultPrevented&&0===e.button&&!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)){var r=t.findClosestDraggableId(e);if(r){var o=t.tryGetLock(r,s,{sourceEvent:e});if(o){e.preventDefault();var i={x:e.clientX,y:e.clientY};n.current(),u(o,i)}}}}}}),[t]),i=ut((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(e){if(!e.defaultPrevented){var n=t.findClosestDraggableId(e);if(n){var r=t.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||t.canGetLock(n)&&e.preventDefault())}}}}}),[t]),a=dt((function(){n.current=_t(window,[i,o],{passive:!1,capture:!0})}),[i,o]),s=dt((function(){"IDLE"!==e.current.type&&(e.current=fo,n.current(),a())}),[a]),l=dt((function(){var t=e.current;s(),"DRAGGING"===t.type&&t.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===t.type&&t.actions.abort()}),[s]),c=dt((function(){var t=po({cancel:l,completed:s,getPhase:function(){return e.current},setPhase:function(t){e.current=t}});n.current=_t(window,t,{capture:!0,passive:!1})}),[l,s]),u=dt((function(t,n){"IDLE"!==e.current.type&&Tt(!1),e.current={type:"PENDING",point:n,actions:t},c()}),[c]);Hr((function(){return a(),function(){n.current()}}),[a])},function(t){var e=Object(r.useRef)(ho),n=ut((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var r=t.findClosestDraggableId(n);if(r){var i=t.tryGetLock(r,l,{sourceEvent:n});if(i){n.preventDefault();var a=!0,s=i.snapLift();e.current(),e.current=_t(window,go(s,l),{capture:!0,passive:!1})}}}function l(){a||Tt(!1),a=!1,e.current(),o()}}}}),[t]),o=dt((function(){e.current=_t(window,[n],{passive:!1,capture:!0})}),[n]);Hr((function(){return o(),function(){e.current()}}),[o])},function(t){var e=Object(r.useRef)(mo),n=Object(r.useRef)(Pt),o=dt((function(){return e.current}),[]),i=dt((function(t){e.current=t}),[]),a=ut((function(){return{eventName:"touchstart",fn:function(e){if(!e.defaultPrevented){var r=t.findClosestDraggableId(e);if(r){var o=t.tryGetLock(r,l,{sourceEvent:e});if(o){var i=e.touches[0],a={x:i.clientX,y:i.clientY};n.current(),f(o,a)}}}}}}),[t]),s=dt((function(){n.current=_t(window,[a],{capture:!0,passive:!1})}),[a]),l=dt((function(){var t=e.current;"IDLE"!==t.type&&("PENDING"===t.type&&clearTimeout(t.longPressTimerId),i(mo),n.current(),s())}),[s,i]),c=dt((function(){var t=e.current;l(),"DRAGGING"===t.type&&t.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===t.type&&t.actions.abort()}),[l]),u=dt((function(){var t={capture:!0,passive:!1},e={cancel:c,completed:l,getPhase:o},r=_t(window,function(t){var e=t.cancel,n=t.completed,r=t.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(t){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var o=t.touches[0],i={x:o.clientX,y:o.clientY};t.preventDefault(),n.actions.move(i)}else e()}},{eventName:"touchend",fn:function(t){var o=r();"DRAGGING"===o.type?(t.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):e()}},{eventName:"touchcancel",fn:function(t){"DRAGGING"===r().type?(t.preventDefault(),e()):e()}},{eventName:"touchforcechange",fn:function(t){var n=r();"IDLE"===n.type&&Tt(!1);var o=t.touches[0];if(o&&o.force>=.15){var i=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return i?n.hasMoved?void t.preventDefault():void e():void t.preventDefault();i&&e()}}},{eventName:uo,fn:e}]}(e),t),i=_t(window,function(t){var e=t.cancel,n=t.getPhase;return[{eventName:"orientationchange",fn:e},{eventName:"resize",fn:e},{eventName:"contextmenu",fn:function(t){t.preventDefault()}},{eventName:"keydown",fn:function(t){"DRAGGING"===n().type?(27===t.keyCode&&t.preventDefault(),e()):e()}},{eventName:uo,fn:e}]}(e),t);n.current=function(){r(),i()}}),[c,o,l]),d=dt((function(){var t=o();"PENDING"!==t.type&&Tt(!1);var e=t.actions.fluidLift(t.point);i({type:"DRAGGING",actions:e,hasMoved:!1})}),[o,i]),f=dt((function(t,e){"IDLE"!==o().type&&Tt(!1);var n=setTimeout(d,120);i({type:"PENDING",point:e,actions:t,longPressTimerId:n}),u()}),[u,o,i,d]);Hr((function(){return s(),function(){n.current();var t=o();"PENDING"===t.type&&(clearTimeout(t.longPressTimerId),i(mo))}}),[o,s,i]),Hr((function(){return _t(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function _o(t){var e=t.contextId,n=t.store,o=t.registry,i=t.customSensors,a=t.enableDefaultSensors,s=[].concat(a?Po:[],i||[]),l=Object(r.useState)((function(){return function(){var t=null;function e(){t||Tt(!1),t=null}return{isClaimed:function(){return Boolean(t)},isActive:function(e){return e===t},claim:function(e){t&&Tt(!1);var n={abandon:e};return t=n,n},release:e,tryAbandon:function(){t&&(t.abandon(),e())}}}()}))[0],c=dt((function(t,e){t.isDragging&&!e.isDragging&&l.tryAbandon()}),[l]);Hr((function(){var t=n.getState();return n.subscribe((function(){var e=n.getState();c(t,e),t=e}))}),[l,n,c]),Hr((function(){return l.tryAbandon}),[l.tryAbandon]);var u=dt((function(t){return ko({lockAPI:l,registry:o,store:n,draggableId:t})}),[l,o,n]),d=dt((function(t,r,i){return Eo({lockAPI:l,registry:o,contextId:e,store:n,draggableId:t,forceSensorStop:r,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})}),[e,l,o,n]),f=dt((function(t){return function(t,e){var n=So(t,e);return n?n.getAttribute(Nr.draggableId):null}(e,t)}),[e]),p=dt((function(t){var e=o.draggable.findById(t);return e?e.options:null}),[o.draggable]),h=dt((function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch({type:"FLUSH",payload:null}))}),[l,n]),v=dt(l.isClaimed,[l]),g=ut((function(){return{canGetLock:u,tryGetLock:d,findClosestDraggableId:f,findOptionsForDraggable:p,tryReleaseLock:h,isLockClaimed:v}}),[u,d,f,p,h,v]);no();for(var m=0;m<s.length;m++)s[m](g)}function Mo(t){return t.current||Tt(!1),t.current}function To(t){var e=t.contextId,n=t.setCallbacks,i=t.sensors,a=t.nonce,s=t.dragHandleUsageInstructions,c=Object(r.useRef)(null);oo();var u=io(t),d=dt((function(){return function(t){return{onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragEnd:t.onDragEnd,onDragUpdate:t.onDragUpdate}}(u.current)}),[u]),f=function(t){var e=ut((function(){return function(t){return"rbd-announcement-"+t}(t)}),[t]),n=Object(r.useRef)(null);return Object(r.useEffect)((function(){var t=document.createElement("div");return n.current=t,t.id=e,t.setAttribute("aria-live","assertive"),t.setAttribute("aria-atomic","true"),l(t.style,Zr),$r().appendChild(t),function(){setTimeout((function(){var e=$r();e.contains(t)&&e.removeChild(t),t===n.current&&(n.current=null)}))}}),[e]),dt((function(t){var e=n.current;e&&(e.textContent=t)}),[])}(e),p=function(t){var e=t.contextId,n=t.text,o=to("hidden-text",{separator:"-"}),i=ut((function(){return"rbd-hidden-text-"+(t={contextId:e,uniqueId:o}).contextId+"-"+t.uniqueId;var t}),[o,e]);return Object(r.useEffect)((function(){var t=document.createElement("div");return t.id=i,t.textContent=n,t.style.display="none",$r().appendChild(t),function(){var e=$r();e.contains(t)&&e.removeChild(t)}}),[i,n]),i}({contextId:e,text:s}),h=Wr(e,a),v=dt((function(t){Mo(c).dispatch(t)}),[]),g=ut((function(){return y({publishWhileDragging:xn,updateDroppableScroll:On,updateDroppableIsEnabled:Sn,updateDroppableIsCombineEnabled:jn,collectionStarting:wn},v)}),[v]),m=function(){var t=ut(Xr,[]);return Object(r.useEffect)((function(){return function(){requestAnimationFrame(t.clean)}}),[t]),t}(),b=ut((function(){return dr(m,g)}),[m,g]),x=ut((function(){return Ir(l({scrollWindow:pr,scrollDroppable:b.scrollDroppable},y({move:Cn},v)))}),[b.scrollDroppable,v]),w=function(t){var e=Object(r.useRef)({}),n=Object(r.useRef)(null),o=Object(r.useRef)(null),i=Object(r.useRef)(!1),a=dt((function(t,n){var r={id:t,focus:n};return e.current[t]=r,function(){var n=e.current;n[t]!==r&&delete n[t]}}),[]),s=dt((function(e){var n=Yr(t,e);n&&n!==document.activeElement&&n.focus()}),[t]),l=dt((function(t,e){n.current===t&&(n.current=e)}),[]),c=dt((function(){o.current||i.current&&(o.current=requestAnimationFrame((function(){o.current=null;var t=n.current;t&&s(t)})))}),[s]),u=dt((function(t){n.current=null;var e=document.activeElement;e&&e.getAttribute(Nr.draggableId)===t&&(n.current=t)}),[]);return Hr((function(){return i.current=!0,function(){i.current=!1;var t=o.current;t&&cancelAnimationFrame(t)}}),[]),ut((function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:c,tryShiftRecord:l}}),[a,u,c,l])}(e),O=ut((function(){return rr({announce:f,autoScroller:x,dimensionMarshal:b,focusMarshal:w,getResponders:d,styleMarshal:h})}),[f,x,b,w,d,h]);c.current=O;var S=dt((function(){var t=Mo(c);"IDLE"!==t.getState().phase&&t.dispatch({type:"FLUSH",payload:null})}),[]),j=dt((function(){var t=Mo(c).getState();return t.isDragging||"DROP_ANIMATING"===t.phase}),[]);n(ut((function(){return{isDragging:j,tryAbort:S}}),[j,S]));var C=dt((function(t){return fr(Mo(c).getState(),t)}),[]),k=dt((function(){return Qe(Mo(c).getState())}),[]),P=ut((function(){return{marshal:b,focus:w,contextId:e,canLift:C,isMovementAllowed:k,dragHandleUsageInstructionsId:p,registry:m}}),[e,b,p,w,C,k,m]);return _o({contextId:e,store:O,registry:m,customSensors:i,enableDefaultSensors:!1!==t.enableDefaultSensors}),Object(r.useEffect)((function(){return S}),[S]),o.a.createElement(eo.Provider,{value:P},o.a.createElement(E,{context:Kr,store:O},t.children))}var Ao=0;function Ro(t){var e=ut((function(){return""+Ao++}),[]),n=t.dragHandleUsageInstructions||Lt;return o.a.createElement(At,null,(function(r){return o.a.createElement(To,{nonce:t.nonce,contextId:e,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:t.enableDefaultSensors,sensors:t.sensors,onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragUpdate:t.onDragUpdate,onDragEnd:t.onDragEnd},t.children)}))}var Do=function(t){return function(e){return t===e}},Io=Do("scroll"),No=Do("auto"),Lo=(Do("visible"),function(t,e){return e(t.overflowX)||e(t.overflowY)}),Fo=function(t){var e=window.getComputedStyle(t),n={overflowX:e.overflowX,overflowY:e.overflowY};return Lo(n,Io)||Lo(n,No)},Bo=function t(e){return null==e||e===document.body||e===document.documentElement?null:Fo(e)?e:t(e.parentElement)},zo=function(t){return{x:t.scrollLeft,y:t.scrollTop}},Ho=function(t){return{closestScrollable:Bo(t),isFixedOnPage:function t(e){return!!e&&("fixed"===window.getComputedStyle(e).position||t(e.parentElement))}(t)}},Vo=function(t){var e=t.ref,n=t.descriptor,r=t.env,o=t.windowScroll,i=t.direction,a=t.isDropDisabled,s=t.isCombineEnabled,l=t.shouldClipSubject,c=r.closestScrollable,u=function(t,e){var n=Ot(t);if(!e)return n;if(t!==e)return n;var r=n.paddingBox.top-e.scrollTop,o=n.paddingBox.left-e.scrollLeft,i=r+e.scrollHeight,a=o+e.scrollWidth,s=ht({top:r,right:a,bottom:i,left:o},n.border);return mt({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})}(e,c),d=xt(u,o),f=function(){if(!c)return null;var t=Ot(c),e={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:t,page:xt(t,o),scroll:zo(c),scrollSize:e,shouldClipSubject:l}}();return function(t){var e=t.descriptor,n=t.isEnabled,r=t.isCombineEnabled,o=t.isFixedOnPage,i=t.direction,a=t.client,s=t.page,l=t.closest,c=function(){if(!l)return null;var t=l.scrollSize,e=l.client,n=or({scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth,height:e.paddingBox.height,width:e.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:e,scrollSize:t,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:Ht,displacement:Ht}}}}(),u="vertical"===i?xe:we;return{descriptor:e,isCombineEnabled:r,isFixedOnPage:o,axis:u,isEnabled:n,client:a,page:s,frame:c,subject:Jt({page:s,withPlaceholder:null,axis:u,frame:c})}}({descriptor:n,isEnabled:!a,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:i,client:u,page:d,closest:f})},Uo={passive:!1},Wo={passive:!0},qo=function(t){return t.shouldPublishImmediately?Uo:Wo};function Go(t){var e=Object(r.useContext)(t);return e||Tt(!1),e}var Yo=function(t){return t&&t.env.closestScrollable||null};function Xo(){}var Ko={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},$o=function(t){var e=t.isAnimatingOpenOnMount,n=t.placeholder,r=t.animate,o=function(t){var e=t.isAnimatingOpenOnMount,n=t.placeholder,r=t.animate;return e||"close"===r?Ko:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:e,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?Ln.placeholder:null}},Zo=o.a.memo((function(t){var e=Object(r.useRef)(null),n=dt((function(){e.current&&(clearTimeout(e.current),e.current=null)}),[]),i=t.animate,a=t.onTransitionEnd,s=t.onClose,l=t.contextId,c=Object(r.useState)("open"===t.animate),u=c[0],d=c[1];Object(r.useEffect)((function(){return u?"open"!==i?(n(),d(!1),Xo):e.current?Xo:(e.current=setTimeout((function(){e.current=null,d(!1)})),n):Xo}),[i,u,n]);var f=dt((function(t){"height"===t.propertyName&&(a(),"close"===i&&s())}),[i,s,a]),p=$o({isAnimatingOpenOnMount:u,animate:t.animate,placeholder:t.placeholder});return o.a.createElement(t.placeholder.tagName,{style:p,"data-rbd-placeholder-context-id":l,onTransitionEnd:f,ref:t.innerRef})})),Qo=o.a.createContext(null),Jo=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).state={isVisible:Boolean(e.props.on),data:e.props.on,animate:e.props.shouldAnimate&&e.props.on?"open":"none"},e.onClose=function(){"close"===e.state.animate&&e.setState({isVisible:!1})},e}return s(e,t),e.getDerivedStateFromProps=function(t,e){return t.shouldAnimate?t.on?{isVisible:!0,data:t.on,animate:"open"}:e.isVisible?{isVisible:!0,data:e.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(t.on),data:t.on,animate:"none"}},e.prototype.render=function(){if(!this.state.isVisible)return null;var t={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(t)},e}(o.a.PureComponent),ti=5e3,ei=4500,ni=function(t,e){return e?Ln.drop(e.duration):t?Ln.snap:Ln.fluid},ri=function(t,e){return t?e?Dn.drop:Dn.combining:null};function oi(t){return"DRAGGING"===t.type?(r=(n=t).dimension.client,o=n.offset,i=n.combineWith,a=n.dropping,s=Boolean(i),l=function(t){return null!=t.forceShouldAnimate?t.forceShouldAnimate:"SNAP"===t.mode}(n),u=(c=Boolean(a))?zn(o,s):Bn(o),{position:"fixed",top:r.marginBox.top,left:r.marginBox.left,boxSizing:"border-box",width:r.borderBox.width,height:r.borderBox.height,transition:ni(l,a),transform:u,opacity:ri(s,c),zIndex:c?ei:ti,pointerEvents:"none"}):{transform:Bn((e=t).offset),transition:e.shouldAnimateDisplacement?null:"none"};var e,n,r,o,i,a,s,l,c,u}function ii(t){var e=to("draggable"),n=t.descriptor,o=t.registry,i=t.getDraggableRef,a=t.canDragInteractiveElements,s=t.shouldRespectForcePress,l=t.isEnabled,c=ut((function(){return{canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:l}}),[a,l,s]),u=dt((function(t){var e=i();return e||Tt(!1),function(t,e,n){void 0===n&&(n=Ht);var r=window.getComputedStyle(e),o=e.getBoundingClientRect(),i=wt(o,r),a=xt(i,n);return{descriptor:t,placeholder:{client:i,tagName:e.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(n,e,t)}),[n,i]),d=ut((function(){return{uniqueId:e,descriptor:n,options:c,getDimension:u}}),[n,u,c,e]),f=Object(r.useRef)(d),p=Object(r.useRef)(!0);Hr((function(){return o.draggable.register(f.current),function(){return o.draggable.unregister(f.current)}}),[o.draggable]),Hr((function(){if(p.current)p.current=!1;else{var t=f.current;f.current=d,o.draggable.update(d,t)}}),[d,o.draggable])}function ai(t,e,n){ro()}function si(t){t.preventDefault()}var li=function(t,e){return t===e},ci=function(t){var e=t.combine,n=t.destination;return n?n.droppableId:e?e.droppableId:null};function ui(t){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:t,combineWith:null}}var di={mapped:{type:"SECONDARY",offset:Ht,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:ui(null)}},fi=at((function(){var t,e,n,r=(t=Ct((function(t,e){return{x:t,y:e}})),e=Ct((function(t,e,n,r,o){return{isDragging:!0,isClone:e,isDropAnimating:Boolean(o),dropAnimation:o,mode:t,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=Ct((function(t,n,r,o,i,a,s){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:t,dimension:r,forceShouldAnimate:s,snapshot:e(n,o,i,a,null)}}})),function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var i=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],s=$e(r.impact),l=(u=r.impact).at&&"COMBINE"===u.at.type?u.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(t(i.x,i.y),r.movementMode,a,o.isClone,s,l,c)}var u;if("DROP_ANIMATING"===r.phase){var d=r.completed;if(d.result.draggableId!==o.draggableId)return null;var f=o.isClone,p=r.dimensions.draggables[o.draggableId],h=d.result,v=h.mode,g=ci(h),m=function(t){return t.combine?t.combine.draggableId:null}(h),b={duration:r.dropDuration,curve:Rn,moveTo:r.newHomeClientOffset,opacity:m?Dn.drop:null,scale:m?In.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:p,dropping:b,draggingOver:g,combineWith:m,mode:v,forceShouldAnimate:null,snapshot:e(v,f,g,m,b)}}}return null}),o=function(){var t=Ct((function(t,e){return{x:t,y:e}})),e=Ct(ui),n=Ct((function(t,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:t,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:e(n)}}})),r=function(t){return t?n(Ht,t,!0):null},o=function(e,o,i,a){var s=i.displaced.visible[e],l=Boolean(a.inVirtualList&&a.effected[e]),c=de(i),u=c&&c.draggableId===e?o:null;if(!s){if(!l)return r(u);if(i.displaced.invisible[e])return null;var d=qt(a.displacedBy.point),f=t(d.x,d.y);return n(f,u,!0)}if(l)return r(u);var p=i.displacedBy.point,h=t(p.x,p.y);return n(h,u,s.shouldAnimate)};return function(t,e){if(t.isDragging)return t.critical.draggable.id===e.draggableId?null:o(e.draggableId,t.critical.draggable.id,t.impact,t.afterCritical);if("DROP_ANIMATING"===t.phase){var n=t.completed;return n.result.draggableId===e.draggableId?null:o(e.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(t,e){return r(t,e)||o(t,e)||di}}),{dropAnimationFinished:An},null,{context:Kr,pure:!0,areStatePropsEqual:li})((function(t){var e=Object(r.useRef)(null),n=dt((function(t){e.current=t}),[]),o=dt((function(){return e.current}),[]),i=Go(eo),a=i.contextId,s=i.dragHandleUsageInstructionsId,l=i.registry,c=Go(Qo),u=c.type,d=c.droppableId,f=ut((function(){return{id:t.draggableId,index:t.index,type:u,droppableId:d}}),[t.draggableId,t.index,u,d]),p=t.children,h=t.draggableId,v=t.isEnabled,g=t.shouldRespectForcePress,m=t.canDragInteractiveElements,b=t.isClone,y=t.mapped,x=t.dropAnimationFinished;ai(),no(),b||ii(ut((function(){return{descriptor:f,registry:l,getDraggableRef:o,canDragInteractiveElements:m,shouldRespectForcePress:g,isEnabled:v}}),[f,l,o,m,g,v]));var w=ut((function(){return v?{tabIndex:0,role:"button","aria-describedby":s,"data-rbd-drag-handle-draggable-id":h,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:si}:null}),[a,s,h,v]),O=dt((function(t){"DRAGGING"===y.type&&y.dropping&&"transform"===t.propertyName&&x()}),[x,y]),S=ut((function(){var t=oi(y),e="DRAGGING"===y.type&&y.dropping?O:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":h,style:t,onTransitionEnd:e},dragHandleProps:w}}),[a,w,h,y,O,n]),j=ut((function(){return{draggableId:f.id,type:f.type,source:{index:f.index,droppableId:f.droppableId}}}),[f.droppableId,f.id,f.index,f.type]);return p(S,y.snapshot,j)}));function pi(t){return Go(Qo).isUsingCloneFor!==t.draggableId||t.isClone?o.a.createElement(fi,t):null}function hi(t){var e="boolean"!=typeof t.isDragDisabled||!t.isDragDisabled,n=Boolean(t.disableInteractiveElementBlocking),r=Boolean(t.shouldRespectForcePress);return o.a.createElement(pi,l({},t,{isClone:!1,isEnabled:e,canDragInteractiveElements:n,shouldRespectForcePress:r}))}var vi=function(t,e){return t===e.droppable.type},gi=function(t,e){return e.draggables[t.draggable.id]},mi={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Tt(!1),document.body}},bi=at((function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},e=l({},t,{shouldAnimatePlaceholder:!1}),n=Ct((function(t){return{draggableId:t.id,type:t.type,source:{index:t.index,droppableId:t.droppableId}}})),r=Ct((function(r,o,i,a,s,l){var c=s.descriptor.id;if(s.descriptor.droppableId===r){var u=l?{render:l,dragging:n(s.descriptor)}:null,d={isDraggingOver:i,draggingOverWith:i?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:u}}if(!o)return e;if(!a)return t;var f={isDraggingOver:i,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:f,useClone:null}}));return function(n,o){var i=o.droppableId,a=o.type,s=!o.isDropDisabled,l=o.renderClone;if(n.isDragging){var c=n.critical;if(!vi(a,c))return e;var u=gi(c,n.dimensions),d=$e(n.impact)===i;return r(i,s,d,d,u,l)}if("DROP_ANIMATING"===n.phase){var f=n.completed;if(!vi(a,f.critical))return e;var p=gi(f.critical,n.dimensions);return r(i,s,ci(f.result)===i,$e(f.impact)===i,p,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var h=n.completed;if(!vi(a,h.critical))return e;var v=$e(h.impact)===i,g=Boolean(h.impact.at&&"COMBINE"===h.impact.at.type),m=h.critical.droppable.id===i;return v?g?t:e:m?t:e}return e}}),{updateViewportMaxScroll:function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}}},null,{context:Kr,pure:!0,areStatePropsEqual:li})((function(t){var e=Object(r.useContext)(eo);e||Tt(!1);var n=e.contextId,i=e.isMovementAllowed,a=Object(r.useRef)(null),s=Object(r.useRef)(null),l=t.children,c=t.droppableId,u=t.type,d=t.mode,f=t.direction,p=t.ignoreContainerClipping,h=t.isDropDisabled,v=t.isCombineEnabled,g=t.snapshot,m=t.useClone,b=t.updateViewportMaxScroll,y=t.getContainerForClone,x=dt((function(){return a.current}),[]),w=dt((function(t){a.current=t}),[]),O=(dt((function(){return s.current}),[]),dt((function(t){s.current=t}),[]));ro();var S=dt((function(){i()&&b({maxScroll:ar()})}),[i,b]);!function(t){var e=Object(r.useRef)(null),n=Go(eo),o=to("droppable"),i=n.registry,a=n.marshal,s=io(t),l=ut((function(){return{id:t.droppableId,type:t.type,mode:t.mode}}),[t.droppableId,t.mode,t.type]),c=Object(r.useRef)(l),u=ut((function(){return Ct((function(t,n){e.current||Tt(!1);var r={x:t,y:n};a.updateDroppableScroll(l.id,r)}))}),[l.id,a]),d=dt((function(){var t=e.current;return t&&t.env.closestScrollable?zo(t.env.closestScrollable):Ht}),[]),f=dt((function(){var t=d();u(t.x,t.y)}),[d,u]),p=ut((function(){return kt(f)}),[f]),h=dt((function(){var t=e.current,n=Yo(t);t&&n||Tt(!1),t.scrollOptions.shouldPublishImmediately?f():p()}),[p,f]),v=dt((function(t,r){e.current&&Tt(!1);var o=s.current,i=o.getDroppableRef();i||Tt(!1);var a=Ho(i),c={ref:i,descriptor:l,env:a,scrollOptions:r};e.current=c;var u=Vo({ref:i,descriptor:l,env:a,windowScroll:t,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),d=a.closestScrollable;return d&&(d.setAttribute(Br.contextId,n.contextId),d.addEventListener("scroll",h,qo(c.scrollOptions))),u}),[n.contextId,l,h,s]),g=dt((function(){var t=e.current,n=Yo(t);return t&&n||Tt(!1),zo(n)}),[]),m=dt((function(){var t=e.current;t||Tt(!1);var n=Yo(t);e.current=null,n&&(p.cancel(),n.removeAttribute(Br.contextId),n.removeEventListener("scroll",h,qo(t.scrollOptions)))}),[h,p]),b=dt((function(t){var n=e.current;n||Tt(!1);var r=Yo(n);r||Tt(!1),r.scrollTop+=t.y,r.scrollLeft+=t.x}),[]),y=ut((function(){return{getDimensionAndWatchScroll:v,getScrollWhileDragging:g,dragStopped:m,scroll:b}}),[m,v,g,b]),x=ut((function(){return{uniqueId:o,descriptor:l,callbacks:y}}),[y,l,o]);Hr((function(){return c.current=x.descriptor,i.droppable.register(x),function(){e.current&&m(),i.droppable.unregister(x)}}),[y,l,m,x,a,i.droppable]),Hr((function(){e.current&&a.updateDroppableIsEnabled(c.current.id,!t.isDropDisabled)}),[t.isDropDisabled,a]),Hr((function(){e.current&&a.updateDroppableIsCombineEnabled(c.current.id,t.isCombineEnabled)}),[t.isCombineEnabled,a])}({droppableId:c,type:u,mode:d,direction:f,isDropDisabled:h,isCombineEnabled:v,ignoreContainerClipping:p,getDroppableRef:x});var j=o.a.createElement(Jo,{on:t.placeholder,shouldAnimate:t.shouldAnimatePlaceholder},(function(t){var e=t.onClose,r=t.data,i=t.animate;return o.a.createElement(Zo,{placeholder:r,onClose:e,innerRef:O,animate:i,contextId:n,onTransitionEnd:S})})),C=ut((function(){return{innerRef:w,placeholder:j,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":n}}}),[n,c,j,w]),k=m?m.dragging.draggableId:null,E=ut((function(){return{droppableId:c,type:u,isUsingCloneFor:k}}),[c,k,u]);return o.a.createElement(Qo.Provider,{value:E},l(C,g),function(){if(!m)return null;var t=m.dragging,e=m.render,n=o.a.createElement(pi,{draggableId:t.draggableId,index:t.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return e(n,r,t)}));return lt.a.createPortal(n,y())}())}));bi.defaultProps=mi;var yi=n(1);function xi(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 wi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xi(Object(n),!0).forEach((function(e){Oi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Oi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Si=function(t){var e=t.children,n=t.index,r=t.renderCard,o=t.disableCardDrag;return Object(yi.jsx)(hi,{draggableId:String(e.id),index:n,isDragDisabled:o,children:function(t,e){var n=e.isDragging;return Object(yi.jsx)("div",wi(wi(wi({ref:t.innerRef},t.draggableProps),t.dragHandleProps),{},{children:Object(yi.jsx)("div",{style:{display:"inline-block",whiteSpace:"normal"},children:r(n)})}))}})},ji=["children"];function Ci(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 ki(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ci(Object(n),!0).forEach((function(e){Ei(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ci(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pi(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var _i=function(t){return function(e){var n=e.children,r=Pi(e,ji);return Object(yi.jsx)(bi,ki(ki({},r),{},{children:function(e){return Object(yi.jsxs)(t,ki(ki({ref:e.innerRef},e.droppableProps),{},{children:[n,e.placeholder]}))}}))}};function Mi(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 Ti(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mi(Object(n),!0).forEach((function(e){Ai(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ai(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ri(t){return function(t){if(Array.isArray(t))return Di(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Di(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Di(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Di(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ii(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 function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.apply(void 0,r.concat(n))}}function Ni(t,e,n){var r=Ri(t);return r.splice(n,0,e),r}function Li(t,e){return t.reduce((function(t,n,r){return r===e?t:[].concat(Ri(t),[n])}),[])}function Fi(t,e,n){return function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return e.reduce((function(t,e){return e(t)}),t)}}(Ii(Li,e),Ii(Ni,t[e],n))(t)}function Bi(t){return t}function zi(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Bi;return function(n){if(e(t))return n(t)}}function Hi(t){return function(e){return t.map((function(t){return e.when(t)?e.for(t):t}))}}var Vi=function(t){var e=t.onConfirm,n=t.onCancel,o=Object(r.useRef)(),i=Object(r.useRef)();return Object(yi.jsx)("div",{className:"react-kanban-card-adder-form",children:Object(yi.jsxs)("form",{onSubmit:function(t){t.preventDefault(),zi(o.current.value)((function(t){e({title:t,description:i.current.value})}))},children:[Object(yi.jsx)("input",{className:"react-kanban-card-adder-form__title",name:"title",autoFocus:!0,defaultValue:"Title",ref:o}),Object(yi.jsx)("input",{className:"react-kanban-card-adder-form__description",name:"description",defaultValue:"Description",ref:i}),Object(yi.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:"5px"},children:[Object(yi.jsx)("button",{className:"react-kanban-card-adder-form__button",type:"submit",children:"Add"}),Object(yi.jsx)("button",{className:"react-kanban-card-adder-form__button",type:"button",onClick:n,children:"Cancel"})]})]})})};function Ui(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Wi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wi(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function qi(t){var e=t.column,n=t.onConfirm,o=Ui(Object(r.useState)(!1),2),i=o[0],a=o[1];return Object(yi.jsx)(yi.Fragment,{children:i?Object(yi.jsx)(Vi,{onConfirm:function(t){n(e,t),a(!1)},onCancel:function(){return a(!1)}}):Object(yi.jsx)("button",{className:"react-kanban-card-adder-button",onClick:function(){return a(!i)},children:"+"})})}function Gi(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 Yi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gi(Object(n),!0).forEach((function(e){Xi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Xi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ki=_i(Object(r.forwardRef)((function(t,e){return Object(yi.jsx)("div",Yi({ref:e,style:{minHeight:"inherit",height:"inherit"}},t))}))),$i=function(t){var e=t.children,n=t.index,r=t.renderCard,o=t.renderColumnHeader,i=t.disableColumnDrag,a=t.disableCardDrag,s=t.onCardNew,l=t.allowAddCard;return Object(yi.jsx)(hi,{draggableId:"column-draggable-".concat(e.id),index:n,isDragDisabled:i,children:function(t){var n,i,c=(n=t.draggableProps,i="style",Object.keys(n).reduce((function(t,e){return e===i?t:Ti(Ti({},t),{},Ai({},e,n[e]))}),{}));return Object(yi.jsxs)("div",Yi(Yi({ref:t.innerRef},c),{},{style:Yi({height:"100%",minHeight:"28px",display:"inline-block",verticalAlign:"top"},t.draggableProps.style),className:"react-kanban-column",children:[Object(yi.jsx)("div",Yi(Yi({},t.dragHandleProps),{},{children:o(e)})),l&&Object(yi.jsx)(qi,{column:e,onConfirm:s}),Object(yi.jsx)(Ki,{droppableId:String(e.id),children:e.cards.length?e.cards.map((function(t,n){return Object(yi.jsx)(Si,{index:n,renderCard:function(n){return r(e,t,n)},disableCardDrag:a,children:t},t.id)})):Object(yi.jsx)("div",{className:"react-kanban-card-skeleton"})})]}))}})},Zi=function(t){var e=t.onConfirm,n=t.onCancel,o=Object(r.createRef)();return Object(yi.jsx)("div",{className:"react-kanban-column",style:{minWidth:"230px"},children:Object(yi.jsxs)("form",{style:{display:"flex",justifyContent:"space-between"},onSubmit:function(t){t.preventDefault(),zi(o.current.value)(e)},children:[Object(yi.jsx)("input",{type:"text",ref:o,autoFocus:!0}),Object(yi.jsx)("button",{type:"submit",children:"Add"}),Object(yi.jsx)("button",{type:"button",onClick:n,children:"Cancel"})]})})};function Qi(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ji(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ji(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ji(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var ta=function(t){var e=t.onConfirm,n=Qi(Object(r.useState)(!1),2),o=n[0],i=n[1];return o?Object(yi.jsx)(Zi,{onConfirm:function(t){e(t),i(!1)},onCancel:function(){return i(!1)}}):Object(yi.jsx)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",minWidth:"230px"},className:"react-kanban-column-adder-button",onClick:function(){return i(!0)},role:"button",children:"\u2795"})};function ea(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?na(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function na(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ra(t){var e=t.allowRenameColumn,n=t.onClick,r=t.children;return e?Object(yi.jsx)("span",{style:{cursor:"pointer"},onClick:n,children:r}):Object(yi.jsx)("span",{children:r})}var oa=function(t){var e=t.children,n=t.allowRemoveColumn,o=t.onColumnRemove,i=t.allowRenameColumn,a=t.onColumnRename,s=function(t){var e=ea(Object(r.useState)(t),2),n=e[0],o=e[1];return[n,function(){o(!n)}]}(!1),l=ea(s,2),c=l[0],u=l[1],d=ea(Object(r.useState)(""),2),f=d[0],p=d[1];function h(){p(e.title),u()}return Object(yi.jsx)("div",{className:"react-kanban-column-header",children:c?Object(yi.jsxs)("form",{onSubmit:function(t){t.preventDefault(),a(e,f),u()},children:[Object(yi.jsx)("span",{children:Object(yi.jsx)("input",{type:"text",value:f,onChange:function(t){var e=t.target.value;return p(e)},autoFocus:!0})}),Object(yi.jsxs)("span",{children:[Object(yi.jsx)("button",{className:"react-kanban-column-header__button",type:"submit",children:"Rename"}),Object(yi.jsx)("button",{className:"react-kanban-column-header__button",type:"button",onClick:h,children:"Cancel"})]})]}):Object(yi.jsxs)(yi.Fragment,{children:[Object(yi.jsx)(ra,{allowRenameColumn:i,onClick:h,children:e.title}),n&&Object(yi.jsx)("span",{onClick:function(){return o(e)},children:"\xd7"})]})})},ia=function(t){var e=t.children,n=t.dragging,r=t.allowRemoveCard,o=t.onCardRemove;return Object(yi.jsxs)("div",{className:"react-kanban-card ".concat(n?"react-kanban-card--dragging":""),children:[Object(yi.jsx)("span",{children:Object(yi.jsxs)("div",{className:"react-kanban-card__title",children:[Object(yi.jsx)("span",{children:e.title}),r&&Object(yi.jsx)("span",{style:{cursor:"pointer"},onClick:function(){return o(e)},children:"\xd7"})]})}),Object(yi.jsx)("div",{className:"react-kanban-card__description",children:e.description})]})};function aa(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 sa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?aa(Object(n),!0).forEach((function(e){la(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):aa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ca(t){return"BOARD"===t}function ua(t,e){return t.columns.find((function(t){return t.id===e.fromColumnId})).cards[e.fromPosition]}function da(t,e){return t.columns.find((function(t){var n=t.id;return String(n)===e}))}function fa(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 pa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fa(Object(n),!0).forEach((function(e){ha(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ha(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function va(t,e){return pa(pa({},t),{},{cards:e(t.cards)})}function ga(t,e,n){var r=e.fromPosition,o=n.toPosition;return pa(pa({},t),{},{columns:Fi(t.columns,r,o)})}function ma(t,e,n){var r=e.fromPosition,o=e.fromColumnId,i=n.toPosition,a=n.toColumnId,s=t.columns.find((function(t){return t.id===o})),l=t.columns.find((function(t){return t.id===a})),c=function(e){return pa(pa({},t),{},{columns:t.columns.map(e)})},u=va.bind(null,s),d=va.bind(null,l);if(s.id===l.id){var f=u((function(t){return Fi(t,r,i)}));return c((function(t){return t.id===s.id?f:t}))}var p=u((function(t){return Li(t,r)})),h=d((function(t){return Ni(t,s.cards[r],i)}));return c((function(t){return t.id===s.id?p:t.id===l.id?h:t}))}function ba(t,e){return pa(pa({},t),{},{columns:Ni(t.columns,e,t.columns.length)})}function ya(t,e){return pa(pa({},t),{},{columns:t.columns.filter((function(t){return t.id!==e.id}))})}function xa(t,e,n){var r=Hi(t.columns)({when:function(t){return t.id===e.id},for:function(t){return pa(pa({},t),n)}});return pa(pa({},t),{},{columns:r})}function wa(t,e,n){var r=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{}).on,o=t.columns.find((function(t){return t.id===e.id})),i=Ni(o.cards,n,"top"===r?0:o.cards.length),a=Hi(t.columns)({when:function(t){var n=t.id;return e.id===n},for:function(t){return pa(pa({},t),{},{cards:i})}});return pa(pa({},t),{},{columns:a})}function Oa(t,e,n){var r=t.columns.find((function(t){return t.id===e.id})),o=r.cards.filter((function(t){var e=t.id;return n.id!==e})),i=pa(pa({},r),{},{cards:o}),a=t.columns.map((function(t){return e.id===t.id?i:t}));return pa(pa({},t),{},{columns:a})}function Sa(t,e,n){return pa(pa({},t),{},{columns:t.columns.map((function(t){return pa(pa({},t),{},{cards:(r=t.cards,Hi(r)({when:function(t){return t.id===e},for:function(t){return pa(pa({},t),n)}}))});var r}))})}function ja(t,e,n,r,o,i,a){try{var s=t[i](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,o)}function Ca(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){ja(i,r,o,a,s,"next",t)}function s(t){ja(i,r,o,a,s,"throw",t)}a(void 0)}))}}function ka(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ea(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ea(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ea(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Pa(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 _a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pa(Object(n),!0).forEach((function(e){Ma(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ma(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ta=_i(Object(r.forwardRef)((function(t,e){return Object(yi.jsx)("div",_a({ref:e,style:{whiteSpace:"nowrap"}},t))})));function Aa(t){var e=t.initialBoard,n=t.onCardDragEnd,o=t.onColumnDragEnd,i=t.allowAddColumn,s=t.renderColumnAdder,l=t.onNewColumnConfirm,c=t.onColumnRemove,u=t.renderColumnHeader,d=t.allowRemoveColumn,f=t.allowRenameColumn,p=t.onColumnRename,h=t.onCardNew,v=t.renderCard,g=t.allowRemoveCard,m=t.onCardRemove,b=t.onColumnNew,y=t.disableCardDrag,x=t.disableColumnDrag,w=t.allowAddCard,O=t.onNewCardConfirm,S=ka(Object(r.useState)(e),2),j=S[0],C=S[1],k=Ii(P,{moveCallback:ma,notifyCallback:n}),E=Ii(P,{moveCallback:ga,notifyCallback:o});function P(t,e){var n=t.source,r=t.destination,o=t.subject,i=e.moveCallback,a=e.notifyCallback,s=i(j,n,r);zi(a)((function(t){return t(s,o,n,r)})),C(s)}function _(t){return M.apply(this,arguments)}function M(){return(M=Ca(a().mark((function t(e){var n,r;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!s){t.next=4;break}t.t0=e,t.next=7;break;case 4:return t.next=6,l(e);case 6:t.t0=t.sent;case 7:n=t.t0,r=ba(j,n),b(r,n),C(r);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function T(t){var e=ya(j,t);c(e,t),C(e)}function A(t,e){var n=xa(j,t,{title:e});p(n,_a(_a({},t),{},{title:e})),C(n)}function R(t,e){var n=wa(j,t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{});h(n,n.columns.find((function(e){return e.id===t.id})),e),C(n)}function D(){return(D=Ca(a().mark((function t(e,n){var r,o,i=arguments;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>2&&void 0!==i[2]?i[2]:{},t.next=3,O(n);case 3:o=t.sent,R(e,o,r);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function I(t,e){var n=Oa(j,t,e);m(n,n.columns.find((function(e){return e.id===t.id})),e),C(n)}return Object(yi.jsx)(Da,_a(_a({onCardDragEnd:k,onColumnDragEnd:E,renderColumnAdder:function(){return i?s?s({addColumn:_}):l?Object(yi.jsx)(ta,{onConfirm:function(t){return _({title:t,cards:[]})}}):null:null}},u&&{renderColumnHeader:function(t){return u(t,{removeColumn:T.bind(null,t),renameColumn:A.bind(null,t),addCard:R.bind(null,t)})}}),{},{renderCard:function(t,e,n){return v?v(e,{removeCard:I.bind(null,t,e),dragging:n}):Object(yi.jsx)(ia,{dragging:n,allowRemoveCard:g,onCardRemove:function(e){return I(t,e)},children:e})},allowRemoveColumn:d,onColumnRemove:T,allowRenameColumn:f,onColumnRename:A,disableColumnDrag:x,disableCardDrag:y,onCardNew:function(t,e){return function(t,e){return D.apply(this,arguments)}(t,e,w)},allowAddCard:w&&O,children:j}))}function Ra(t){var e=t.children,n=t.onCardDragEnd,r=t.onColumnDragEnd,o=t.allowAddColumn,i=t.renderColumnAdder,a=t.onNewColumnConfirm,s=t.onColumnRemove,l=t.renderColumnHeader,c=t.allowRemoveColumn,u=t.allowRenameColumn,d=t.onColumnRename,f=t.renderCard,p=t.allowRemoveCard,h=t.onCardRemove,v=t.disableCardDrag,g=t.disableColumnDrag,m=Ii(y,{notifyCallback:n}),b=Ii(y,{notifyCallback:r});function y(t,e){var n=t.source,r=t.destination,o=t.subject;zi(e.notifyCallback)((function(t){return t(o,n,r)}))}return Object(yi.jsx)(Da,_a(_a({onCardDragEnd:m,onColumnDragEnd:b,renderColumnAdder:function(){return o?i?i():a?Object(yi.jsx)(ta,{onConfirm:function(t){return a({title:t,cards:[]})}}):null:null}},l&&{renderColumnHeader:l}),{},{renderCard:function(t,e,n){return f?f(e,{dragging:n}):Object(yi.jsx)(ia,{dragging:n,allowRemoveCard:p,onCardRemove:h,children:e})},allowRemoveColumn:c,onColumnRemove:s,allowRenameColumn:u,onColumnRename:d,disableColumnDrag:g,disableCardDrag:v,children:e}))}function Da(t){var e=t.children,n=t.renderCard,r=t.disableColumnDrag,o=t.disableCardDrag,i=t.renderColumnHeader,a=t.renderColumnAdder,s=t.allowRemoveColumn,l=t.onColumnRemove,c=t.allowRenameColumn,u=t.onColumnRename,d=t.onColumnDragEnd,f=t.onCardDragEnd,p=t.onCardNew,h=t.allowAddCard;return Object(yi.jsx)(Ro,{onDragEnd:function(t){var n=function(t,e){if(null===t.destination)return{};var n={fromPosition:t.source.index},r={toPosition:t.destination.index};return ca(t.type)?{source:n,destination:r}:{source:sa(sa({},n),{},{fromColumnId:da(e,t.source.droppableId).id}),destination:sa(sa({},r),{},{toColumnId:da(e,t.destination.droppableId).id})}}(t,e);n.source&&(ca(t.type)?function(t){return t.source.fromPosition!==t.destination.toPosition}(n)&&d(_a(_a({},n),{},{subject:e.columns[n.source.fromPosition]})):function(t){return!(t.source.fromPosition===t.destination.toPosition&&t.source.fromColumnId===t.destination.toColumnId)}(n)&&f(_a(_a({},n),{},{subject:ua(e,n.source)})))},children:Object(yi.jsxs)("div",{style:{overflowY:"hidden",display:"flex",alignItems:"flex-start"},className:"react-kanban-board",children:[Object(yi.jsx)(Ta,{droppableId:"board-droppable",direction:"horizontal",type:"BOARD",children:e.columns.map((function(t,e){return Object(yi.jsx)($i,{index:e,renderCard:n,renderColumnHeader:function(t){return i?i(t):Object(yi.jsx)(oa,{allowRemoveColumn:s,onColumnRemove:l,allowRenameColumn:c,onColumnRename:u,children:t})},disableColumnDrag:r,disableCardDrag:o,onCardNew:p,allowAddCard:h,children:t},t.id)}))}),a()]})})}var Ia=function(t){return t.initialBoard?Object(yi.jsx)(Aa,_a({},t)):Object(yi.jsx)(Ra,_a({},t))}}]))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.htmlparser2=e.convertNodeToElement=e.processNodes=void 0;var r=n(498);Object.defineProperty(e,"processNodes",{enumerable:!0,get:function(){return s(r).default}});var o=n(629);Object.defineProperty(e,"convertNodeToElement",{enumerable:!0,get:function(){return s(o).default}});var i=n(275);Object.defineProperty(e,"htmlparser2",{enumerable:!0,get:function(){return s(i).default}});var a=s(n(1094));function s(t){return t&&t.__esModule?t:{default:t}}e.default=a.default},function(t,e,n){var r;self,t.exports=(r=n(1),function(){var t={4184:function(t,e){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var i=typeof n;if("string"===i||"number"===i)t.push(n);else if(Array.isArray(n)){if(n.length){var a=o.apply(null,n);a&&t.push(a)}}else if("object"===i)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&t.push(s);else t.push(n.toString())}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(n=function(){return o}.apply(e,[]))||(t.exports=n)}()},8552:function(t,e,n){var r=n(852)(n(5639),"DataView");t.exports=r},1989:function(t,e,n){var r=n(1789),o=n(401),i=n(7667),a=n(1327),s=n(1866);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},8407:function(t,e,n){var r=n(7040),o=n(4125),i=n(2117),a=n(7518),s=n(4705);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},7071:function(t,e,n){var r=n(852)(n(5639),"Map");t.exports=r},3369:function(t,e,n){var r=n(4785),o=n(1285),i=n(6e3),a=n(9916),s=n(5265);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},3818:function(t,e,n){var r=n(852)(n(5639),"Promise");t.exports=r},8525:function(t,e,n){var r=n(852)(n(5639),"Set");t.exports=r},8668:function(t,e,n){var r=n(3369),o=n(619),i=n(2385);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=o,a.prototype.has=i,t.exports=a},6384:function(t,e,n){var r=n(8407),o=n(7465),i=n(3779),a=n(7599),s=n(4758),l=n(4309);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,t.exports=c},2705:function(t,e,n){var r=n(5639).Symbol;t.exports=r},1149:function(t,e,n){var r=n(5639).Uint8Array;t.exports=r},577:function(t,e,n){var r=n(852)(n(5639),"WeakMap");t.exports=r},4963:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},4636:function(t,e,n){var r=n(2545),o=n(5694),i=n(1469),a=n(4144),s=n(5776),l=n(6719),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),u=!n&&o(t),d=!n&&!u&&a(t),f=!n&&!u&&!d&&l(t),p=n||u||d||f,h=p?r(t.length,String):[],v=h.length;for(var g in t)!e&&!c.call(t,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},2488:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},2908:function(t){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}},8470:function(t,e,n){var r=n(7813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},8866:function(t,e,n){var r=n(2488),o=n(1469);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},4239:function(t,e,n){var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},9454:function(t,e,n){var r=n(4239),o=n(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},939:function(t,e,n){var r=n(2492),o=n(7005);t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,s))}},2492:function(t,e,n){var r=n(6384),o=n(7114),i=n(8351),a=n(6096),s=n(4160),l=n(1469),c=n(4144),u=n(6719),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,v,g,m){var b=l(t),y=l(e),x=b?f:s(t),w=y?f:s(e),O=(x=x==d?p:x)==p,S=(w=w==d?p:w)==p,j=x==w;if(j&&c(t)){if(!c(e))return!1;b=!0,O=!1}if(j&&!O)return m||(m=new r),b||u(t)?o(t,e,n,v,g,m):i(t,e,x,n,v,g,m);if(!(1&n)){var C=O&&h.call(t,"__wrapped__"),k=S&&h.call(e,"__wrapped__");if(C||k){var E=C?t.value():t,P=k?e.value():e;return m||(m=new r),g(E,P,n,v,m)}}return!!j&&(m||(m=new r),a(t,e,n,v,g,m))}},8458:function(t,e,n){var r=n(3560),o=n(5346),i=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?f:s).test(a(t))}},8749:function(t,e,n){var r=n(4239),o=n(1780),i=n(7005),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 i(t)&&o(t.length)&&!!a[r(t)]}},280:function(t,e,n){var r=n(5726),o=n(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},2545:function(t){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},1717:function(t){t.exports=function(t){return function(e){return t(e)}}},4757:function(t){t.exports=function(t,e){return t.has(e)}},4429:function(t,e,n){var r=n(5639)["__core-js_shared__"];t.exports=r},7114:function(t,e,n){var r=n(8668),o=n(2908),i=n(4757);t.exports=function(t,e,n,a,s,l){var c=1&n,u=t.length,d=e.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(t),p=l.get(e);if(f&&p)return f==e&&p==t;var h=-1,v=!0,g=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++h<u;){var m=t[h],b=e[h];if(a)var y=c?a(b,m,h,e,t,l):a(m,b,h,t,e,l);if(void 0!==y){if(y)continue;v=!1;break}if(g){if(!o(e,(function(t,e){if(!i(g,e)&&(m===t||s(m,t,n,a,l)))return g.push(e)}))){v=!1;break}}else if(m!==b&&!s(m,b,n,a,l)){v=!1;break}}return l.delete(t),l.delete(e),v}},8351:function(t,e,n){var r=n(2705),o=n(1149),i=n(7813),a=n(7114),s=n(8776),l=n(1814),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,d,f){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=l),t.size!=e.size&&!h)return!1;var v=f.get(t);if(v)return v==e;r|=2,f.set(t,e);var g=a(p(t),p(e),r,c,d,f);return f.delete(t),g;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},6096:function(t,e,n){var r=n(8234),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,a,s){var l=1&n,c=r(t),u=c.length;if(u!=r(e).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in e:o.call(e,f)))return!1}var p=s.get(t),h=s.get(e);if(p&&h)return p==e&&h==t;var v=!0;s.set(t,e),s.set(e,t);for(var g=l;++d<u;){var m=t[f=c[d]],b=e[f];if(i)var y=l?i(b,m,f,e,t,s):i(m,b,f,t,e,s);if(!(void 0===y?m===b||a(m,b,n,i,s):y)){v=!1;break}g||(g="constructor"==f)}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}},1957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8234:function(t,e,n){var r=n(8866),o=n(9551),i=n(3674);t.exports=function(t){return r(t,i,o)}},5050:function(t,e,n){var r=n(7019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},852:function(t,e,n){var r=n(8458),o=n(7801);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},9607:function(t,e,n){var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[s]=n:delete t[s]),o}},9551:function(t,e,n){var r=n(4963),o=n(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=s},4160:function(t,e,n){var r=n(8552),o=n(7071),i=n(3818),a=n(8525),s=n(577),l=n(4239),c=n(346),u="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",v=c(r),g=c(o),m=c(i),b=c(a),y=c(s),x=l;(r&&x(new r(new ArrayBuffer(1)))!=h||o&&x(new o)!=u||i&&x(i.resolve())!=d||a&&x(new a)!=f||s&&x(new s)!=p)&&(x=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case v:return h;case g:return u;case m:return d;case b:return f;case y:return p}return e}),t.exports=x},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},1789:function(t,e,n){var r=n(4536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},1327:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},1866:function(t,e,n){var r=n(4536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,n){var r,o=n(4429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,n){var r=n(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},2117:function(t,e,n){var r=n(8470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},7518:function(t,e,n){var r=n(8470);t.exports=function(t){return r(this.__data__,t)>-1}},4705:function(t,e,n){var r=n(8470);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},4785:function(t,e,n){var r=n(1989),o=n(8407),i=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(t,e,n){var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:function(t,e,n){var r=n(5050);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},8776:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},4536:function(t,e,n){var r=n(852)(Object,"create");t.exports=r},6916:function(t,e,n){var r=n(5569)(Object.keys,Object);t.exports=r},1167:function(t,e,n){t=n.nmd(t);var r=n(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},5639:function(t,e,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},619:function(t){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2385:function(t){t.exports=function(t){return this.__data__.has(t)}},1814:function(t){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},7465:function(t,e,n){var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,n){var r=n(8407),o=n(7071),i=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},5694:function(t,e,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,n){var r=n(3560),o=n(1780);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),o=n(5062),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;t.exports=l},8446:function(t,e,n){var r=n(939);t.exports=function(t,e){return r(t,e)}},3560:function(t,e,n){var r=n(4239),o=n(3218);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},6719:function(t,e,n){var r=n(8749),o=n(1717),i=n(1167),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},3674:function(t,e,n){var r=n(4636),o=n(280),i=n(8612);t.exports=function(t){return i(t)?r(t):o(t)}},8306:function(t,e,n){var r=n(3369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},2703:function(t,e,n){"use strict";var r=n(414);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},5697:function(t,e,n){t.exports=n(2703)()},414:function(t){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9787:function(t){"use strict";t.exports=r}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={id:r,loaded:!1,exports:{}};return t[r](i,i.exports,n),i.loaded=!0,i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(r){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var o={};return function(){"use strict";n.r(o),n.d(o,{default:function(){return xt},expandNodesToLevel:function(){return yt}});var t=n(4184),e=n.n(t),r=n(8446),i=n.n(r),a=n(8306),s=n.n(a),l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(t)).reduce((function(t,e){return t+((e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_")}),"")},c=n(5697),u=n.n(c),d=n(9787),f=n.n(d);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},p(t)}var h=["children","title"];function v(){return v=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},v.apply(this,arguments)}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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,e){return b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},b(t,e)}function y(t,e){if(e&&("object"===p(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}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}var O=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&b(t,e)}(a,t);var e,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=x(r);if(o){var n=x(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return y(this,t)});function a(){return g(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"render",value:function(){var t=this.props,e=t.children,n=t.title,r=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(t,h);return f().createElement("button",v({"aria-label":n,title:n,type:"button"},r),e)}}])&&m(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),a}(f().PureComponent);w(O,"propTypes",{children:u().node.isRequired,title:u().string}),w(O,"defaultProps",{title:null});var S=O,j={ALL:"all",PARENT:"parent",LEAF:"leaf"};function C(t){this.message=t,this.stack=Error().stack}C.prototype=Object.create(Error.prototype),C.prototype.name="CheckboxTreeError";var k=C;function E(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 P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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)}}var T=j,A=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_(this,t),this.props=e,this.flatNodes=n}var e,n;return e=t,n=[{key:"setProps",value:function(t){this.props=t}},{key:"clone",value:function(){var e=this,n={};return Object.keys(this.flatNodes).forEach((function(t){var r=e.flatNodes[t];n[t]=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?E(Object(n),!0).forEach((function(e){P(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},r)})),new t(this.props,n)}},{key:"getNode",value:function(t){return this.flatNodes[t]}},{key:"reset",value:function(){this.flatNodes={}}},{key:"flattenNodes",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Array.isArray(t)&&0!==t.length){var o=this.props,i=o.disabled,a=o.noCascade;t.forEach((function(t,o){var s=e.nodeHasChildren(t);if(void 0!==e.flatNodes[t.value])throw new k("Duplicate value '".concat(t.value,"' detected. All node values must be unique."));e.flatNodes[t.value]={label:t.label,value:t.value,children:t.children,parent:n,isChild:void 0!==n.value,isParent:s,isLeaf:!s,showCheckbox:void 0===t.showCheckbox||t.showCheckbox,disabled:e.getDisabledState(t,n,i,a),treeDepth:r,index:o},e.flattenNodes(t.children,t,r+1)}))}}},{key:"nodeHasChildren",value:function(t){return Array.isArray(t.children)}},{key:"getDisabledState",value:function(t,e,n,r){return!!n||!(r||!e.disabled)||Boolean(t.disabled)}},{key:"deserializeLists",value:function(t){var e=this,n=["checked","expanded"];Object.keys(this.flatNodes).forEach((function(t){n.forEach((function(n){e.flatNodes[t][n]=!1}))})),n.forEach((function(n){t[n].forEach((function(t){void 0!==e.flatNodes[t]&&(e.flatNodes[t][n]=!0)}))}))}},{key:"serializeList",value:function(t){var e=this,n=[];return Object.keys(this.flatNodes).forEach((function(r){e.flatNodes[r][t]&&n.push(r)})),n}},{key:"expandAllNodes",value:function(t){var e=this;return Object.keys(this.flatNodes).forEach((function(n){e.flatNodes[n].isParent&&(e.flatNodes[n].expanded=t)})),this}},{key:"toggleChecked",value:function(t,e,n,r){var o=this,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=this.flatNodes[t.value],s=[T.PARENT,T.ALL].indexOf(n)>-1,l=[T.LEAF,T.ALL].indexOf(n)>-1;if(a.isLeaf||r){if(t.disabled)return this;this.toggleNode(t.value,"checked",e)}else(s||0===a.children.length)&&this.toggleNode(t.value,"checked",e),l&&a.children.forEach((function(t){o.toggleChecked(t,e,n,r,!1)}));return i&&!r&&a.isChild&&s&&this.toggleParentStatus(a.parent,n),this}},{key:"toggleParentStatus",value:function(t,e){var n=this.flatNodes[t.value];n.isChild?(e===T.ALL&&this.toggleNode(t.value,"checked",this.isEveryChildChecked(n)),this.toggleParentStatus(n.parent,e)):this.toggleNode(t.value,"checked",this.isEveryChildChecked(n))}},{key:"isEveryChildChecked",value:function(t){var e=this;return t.children.every((function(t){return e.getNode(t.value).checked}))}},{key:"toggleNode",value:function(t,e,n){return this.flatNodes[t][e]=n,this}}],n&&M(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();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},R(t)}function D(){return D=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},D.apply(this,arguments)}function I(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 N(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){return F=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},F(t,e)}function B(t,e){if(e&&("object"===R(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function z(t){return z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},z(t)}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}var V=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&F(t,e)}(a,t);var e,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=z(r);if(o){var n=z(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return B(this,t)});function a(){return N(this,a),i.apply(this,arguments)}return e=a,n=[{key:"componentDidMount",value:function(){this.updateDeterminateProperty()}},{key:"componentDidUpdate",value:function(){this.updateDeterminateProperty()}},{key:"updateDeterminateProperty",value:function(){var t=this.props.indeterminate;this.checkbox.indeterminate=t}},{key:"render",value:function(){var t=this,e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){H(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.props);return delete e.indeterminate,f().createElement("input",D({},e,{ref:function(e){t.checkbox=e},type:"checkbox"}))}}],n&&L(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),a}(f().PureComponent);H(V,"propTypes",{indeterminate:u().bool}),H(V,"defaultProps",{indeterminate:!1});var U=V,W=u().shape({check:u().node,uncheck:u().node,halfCheck:u().node,expandClose:u().node,expandOpen:u().node,expandAll:u().node,collapseAll:u().node,parentClose:u().node,parentOpen:u().node,leaf:u().node}),q=u().shape({collapseAll:u().string.isRequired,expandAll:u().string.isRequired,toggle:u().string.isRequired});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},G(t)}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 X(t,e){return X=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},X(t,e)}function K(t,e){if(e&&("object"===G(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return $(t)}function $(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z(t){return Z=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Z(t)}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var J=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&X(t,e)}(s,t);var n,r,o,i,a=(o=s,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=Z(o);if(i){var n=Z(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return K(this,t)});function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=a.call(this,t)).onCheck=e.onCheck.bind($(e)),e.onCheckboxKeyPress=e.onCheckboxKeyPress.bind($(e)),e.onCheckboxKeyUp=e.onCheckboxKeyUp.bind($(e)),e.onClick=e.onClick.bind($(e)),e.onExpand=e.onExpand.bind($(e)),e}return n=s,(r=[{key:"onCheck",value:function(){var t=this.props,e=t.value;(0,t.onCheck)({value:e,checked:this.getCheckState({toggle:!0})})}},{key:"onCheckboxKeyPress",value:function(t){32===t.which&&t.preventDefault()}},{key:"onCheckboxKeyUp",value:function(t){var e=t.keyCode;[13,32].includes(e)&&this.onCheck()}},{key:"onClick",value:function(){var t=this.props,e=t.expandOnClick,n=t.isParent,r=t.value,o=t.onClick;n&&e&&this.onExpand(),o({value:r,checked:this.getCheckState({toggle:!1})})}},{key:"onExpand",value:function(){var t=this.props,e=t.expanded,n=t.value;(0,t.onExpand)({value:n,expanded:!e})}},{key:"getCheckState",value:function(t){var e=t.toggle,n=this.props,r=n.checked,o=n.optimisticToggle;return!(0!==r||!e)||1===r&&!e||2===r&&o}},{key:"renderCollapseButton",value:function(){var t=this.props,e=t.expandDisabled,n=t.isLeaf,r=t.lang;return n?f().createElement("span",{className:"rct-collapse"},f().createElement("span",{className:"rct-icon"})):f().createElement(S,{className:"rct-collapse rct-collapse-btn",disabled:e,title:r.toggle,onClick:this.onExpand},this.renderCollapseIcon())}},{key:"renderCollapseIcon",value:function(){var t=this.props,e=t.expanded,n=t.icons,r=n.expandClose,o=n.expandOpen;return e?o:r}},{key:"renderCheckboxIcon",value:function(){var t=this.props,e=t.checked,n=t.icons,r=n.uncheck,o=n.check,i=n.halfCheck;return 0===e?r:1===e?o:i}},{key:"renderNodeIcon",value:function(){var t=this.props,e=t.expanded,n=t.icon,r=t.icons,o=r.leaf,i=r.parentClose,a=r.parentOpen,s=t.isLeaf;return null!==n?n:s?o:e?a:i}},{key:"renderBareLabel",value:function(t){var e=this.props,n=e.onClick,r=e.title,o=null!==n;return f().createElement("span",{className:"rct-bare-label",title:r},o?f().createElement("span",{className:"rct-node-clickable",onClick:this.onClick,onKeyPress:this.onClick,role:"button",tabIndex:0},t):t)}},{key:"renderCheckboxLabel",value:function(t){var e=this.props,n=e.checked,r=e.disabled,o=e.title,i=e.treeId,a=e.value,s=null!==e.onClick,l="".concat(i,"-").concat(String(a).split(" ").join("_")),c=[f().createElement("label",{key:0,htmlFor:l,title:o},f().createElement(U,{checked:1===n,disabled:r,id:l,indeterminate:2===n,onClick:this.onCheck,onChange:function(){}}),f().createElement("span",{"aria-checked":1===n,"aria-disabled":r,className:"rct-checkbox",role:"checkbox",tabIndex:0,onKeyPress:this.onCheckboxKeyPress,onKeyUp:this.onCheckboxKeyUp},this.renderCheckboxIcon()),s?null:t)];return s&&c.push(f().createElement("span",{key:1,className:"rct-node-clickable",onClick:this.onClick,onKeyPress:this.onClick,role:"link",tabIndex:0},t)),c}},{key:"renderLabel",value:function(){var t=this.props,e=t.label,n=t.showCheckbox,r=[t.showNodeIcon?f().createElement("span",{key:0,className:"rct-node-icon"},this.renderNodeIcon()):null,f().createElement("span",{key:1,className:"rct-title"},e)];return n?this.renderCheckboxLabel(r):this.renderBareLabel(r)}},{key:"renderChildren",value:function(){return this.props.expanded?this.props.children:null}},{key:"render",value:function(){var t=this.props,n=t.className,r=t.disabled,o=t.expanded,i=t.isLeaf,a=e()({"rct-node":!0,"rct-node-leaf":i,"rct-node-parent":!i,"rct-node-expanded":!i&&o,"rct-node-collapsed":!i&&!o,"rct-disabled":r},n);return f().createElement("li",{className:a},f().createElement("span",{className:"rct-text"},this.renderCollapseButton(),this.renderLabel()),this.renderChildren())}}])&&Y(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(f().PureComponent);Q(J,"propTypes",{checked:u().number.isRequired,disabled:u().bool.isRequired,expandDisabled:u().bool.isRequired,expanded:u().bool.isRequired,icons:W.isRequired,isLeaf:u().bool.isRequired,isParent:u().bool.isRequired,label:u().node.isRequired,lang:q.isRequired,optimisticToggle:u().bool.isRequired,showNodeIcon:u().bool.isRequired,treeId:u().string.isRequired,value:u().oneOfType([u().string,u().number]).isRequired,onCheck:u().func.isRequired,onExpand:u().func.isRequired,children:u().node,className:u().string,expandOnClick:u().bool,icon:u().node,showCheckbox:u().bool,title:u().string,onClick:u().func}),Q(J,"defaultProps",{children:null,className:null,expandOnClick:!1,icon:null,showCheckbox:!0,title:null,onClick:function(){}});var tt=J,et=u().oneOfType([u().arrayOf(u().string),u().arrayOf(u().number)]);function nt(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 rt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?nt(Object(n),!0).forEach((function(e){ot(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):nt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var it={label:u().node.isRequired,value:u().oneOfType([u().string,u().number]).isRequired,disabled:u().bool,icon:u().node,showCheckbox:u().bool,title:u().string},at=u().oneOfType([u().shape(it),u().shape(rt(rt({},it),{},{children:u().arrayOf(it).isRequired}))]);function st(t){return st="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},st(t)}function lt(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 ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lt(Object(n),!0).forEach((function(e){vt(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ut(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 dt(t,e){return dt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},dt(t,e)}function ft(t,e){if(e&&("object"===st(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return pt(t)}function pt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ht(t)}function vt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gt=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&dt(t,e)}(d,t);var n,r,o,a,c,u=(a=d,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=ht(a);if(c){var n=ht(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return ft(this,t)});function d(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),e=u.call(this,t);var n=new A(t);return n.flattenNodes(t.nodes),n.deserializeLists({checked:t.checked,expanded:t.expanded}),e.state={id:t.id||"rct-".concat(l()),model:n,prevProps:t},e.onCheck=e.onCheck.bind(pt(e)),e.onExpand=e.onExpand.bind(pt(e)),e.onNodeClick=e.onNodeClick.bind(pt(e)),e.onExpandAll=e.onExpandAll.bind(pt(e)),e.onCollapseAll=e.onCollapseAll.bind(pt(e)),e.combineMemorized=s()((function(t,e){return ct(ct({},t),e)})).bind(pt(e)),e}return n=d,r=[{key:"onCheck",value:function(t){var e=this.props,n=e.checkModel,r=e.noCascade,o=e.onCheck,i=this.state.model.clone(),a=i.getNode(t.value);i.toggleChecked(t,t.checked,n,r),o(i.serializeList("checked"),ct(ct({},a),t))}},{key:"onExpand",value:function(t){var e=this.props.onExpand,n=this.state.model.clone(),r=n.getNode(t.value);n.toggleNode(t.value,"expanded",t.expanded),e(n.serializeList("expanded"),ct(ct({},r),t))}},{key:"onNodeClick",value:function(t){(0,this.props.onClick)(ct(ct({},this.state.model.getNode(t.value)),t))}},{key:"onExpandAll",value:function(){this.expandAllNodes()}},{key:"onCollapseAll",value:function(){this.expandAllNodes(!1)}},{key:"expandAllNodes",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,this.props.onExpand)(this.state.model.clone().expandAllNodes(t).serializeList("expanded"))}},{key:"determineShallowCheckState",value:function(t,e){var n=this.state.model.getNode(t.value);return n.isLeaf||e||0===t.children.length?n.checked?1:0:this.isEveryChildChecked(t)?1:this.isSomeChildChecked(t)?2:0}},{key:"isEveryChildChecked",value:function(t){var e=this;return t.children.every((function(t){return 1===e.state.model.getNode(t.value).checkState}))}},{key:"isSomeChildChecked",value:function(t){var e=this;return t.children.some((function(t){return e.state.model.getNode(t.value).checkState>0}))}},{key:"renderTreeNodes",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.props,o=r.expandDisabled,i=r.expandOnClick,a=r.icons,s=r.lang,l=r.noCascade,c=r.onClick,u=r.onlyLeafCheckboxes,p=r.optimisticToggle,h=r.showNodeTitle,v=r.showNodeIcon,g=this.state,m=g.id,b=g.model,y=d.defaultProps.icons,x=t.map((function(t){var r=t.value,d=b.getNode(t.value),g=d.isParent?e.renderTreeNodes(t.children,t):null;d.checkState=e.determineShallowCheckState(t,l);var x=u?d.isLeaf:d.showCheckbox;return!n.value||b.getNode(n.value).expanded?f().createElement(tt,{key:r,checked:d.checkState,className:t.className,disabled:d.disabled,expandDisabled:o,expandOnClick:i,expanded:d.expanded,icon:t.icon,icons:e.combineMemorized(y,a),label:t.label,lang:s,optimisticToggle:p,isLeaf:d.isLeaf,isParent:d.isParent,showCheckbox:x,showNodeIcon:v,title:h?t.title||t.label:t.title,treeId:m,value:t.value,onCheck:e.onCheck,onClick:c&&e.onNodeClick,onExpand:e.onExpand},g):null}));return f().createElement("ol",null,x)}},{key:"renderExpandAll",value:function(){var t=this.props,e=t.icons,n=e.expandAll,r=e.collapseAll,o=t.lang;return t.showExpandAll?f().createElement("div",{className:"rct-options"},f().createElement(S,{className:"rct-option rct-option-expand-all",title:o.expandAll,onClick:this.onExpandAll},n),f().createElement(S,{className:"rct-option rct-option-collapse-all",title:o.collapseAll,onClick:this.onCollapseAll},r)):null}},{key:"renderHiddenInput",value:function(){var t=this.props,e=t.name,n=t.nameAsArray;return void 0===e?null:n?this.renderArrayHiddenInput():this.renderJoinedHiddenInput()}},{key:"renderArrayHiddenInput",value:function(){var t=this.props,e=t.checked,n=t.name;return e.map((function(t){var e="".concat(n,"[]");return f().createElement("input",{key:t,name:e,type:"hidden",value:t})}))}},{key:"renderJoinedHiddenInput",value:function(){var t=this.props,e=t.checked,n=t.name,r=e.join(",");return f().createElement("input",{name:n,type:"hidden",value:r})}},{key:"render",value:function(){var t,n=this.props,r=n.direction,o=n.disabled,i=n.iconsClass,a=n.nodes,s=n.nativeCheckboxes,l=this.state.id,c=this.renderTreeNodes(a),u=e()((vt(t={"react-checkbox-tree":!0,"rct-disabled":o},"rct-icons-".concat(i),!0),vt(t,"rct-native-display",s),vt(t,"rct-direction-rtl","rtl"===r),t));return f().createElement("div",{className:u,id:l},this.renderExpandAll(),this.renderHiddenInput(),c)}}],o=[{key:"getDerivedStateFromProps",value:function(t,e){var n=e.model,r=e.prevProps,o=t.disabled,a=t.id,s=t.nodes,l=ct(ct({},e),{},{prevProps:t});return n.setProps(t),i()(r.nodes,s)&&r.disabled===o||(n.reset(),n.flattenNodes(s)),null!==a&&(l=ct(ct({},l),{},{id:a})),n.deserializeLists({checked:t.checked,expanded:t.expanded}),l}}],r&&ut(n.prototype,r),o&&ut(n,o),Object.defineProperty(n,"prototype",{writable:!1}),d}(f().Component);function mt(t){return function(t){if(Array.isArray(t))return bt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return bt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function yt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n>e)return[];var r=[];return t.forEach((function(t){t.children&&(r=[].concat(mt(r),[t.value],mt(yt(t.children,e,n+1))))})),r}vt(gt,"propTypes",{nodes:u().arrayOf(at).isRequired,checkModel:u().oneOf([j.LEAF,j.ALL]),checked:et,direction:u().string,disabled:u().bool,expandDisabled:u().bool,expandOnClick:u().bool,expanded:et,icons:W,iconsClass:u().string,id:u().string,lang:q,name:u().string,nameAsArray:u().bool,nativeCheckboxes:u().bool,noCascade:u().bool,onlyLeafCheckboxes:u().bool,optimisticToggle:u().bool,showExpandAll:u().bool,showNodeIcon:u().bool,showNodeTitle:u().bool,onCheck:u().func,onClick:u().func,onExpand:u().func}),vt(gt,"defaultProps",{checkModel:j.LEAF,checked:[],direction:"ltr",disabled:!1,expandDisabled:!1,expandOnClick:!1,expanded:[],icons:{check:f().createElement("span",{className:"rct-icon rct-icon-check"}),uncheck:f().createElement("span",{className:"rct-icon rct-icon-uncheck"}),halfCheck:f().createElement("span",{className:"rct-icon rct-icon-half-check"}),expandClose:f().createElement("span",{className:"rct-icon rct-icon-expand-close"}),expandOpen:f().createElement("span",{className:"rct-icon rct-icon-expand-open"}),expandAll:f().createElement("span",{className:"rct-icon rct-icon-expand-all"}),collapseAll:f().createElement("span",{className:"rct-icon rct-icon-collapse-all"}),parentClose:f().createElement("span",{className:"rct-icon rct-icon-parent-close"}),parentOpen:f().createElement("span",{className:"rct-icon rct-icon-parent-open"}),leaf:f().createElement("span",{className:"rct-icon rct-icon-leaf"})},iconsClass:"fa4",id:null,lang:{collapseAll:"Collapse all",expandAll:"Expand all",toggle:"Toggle"},name:void 0,nameAsArray:!1,nativeCheckboxes:!1,noCascade:!1,onlyLeafCheckboxes:!1,optimisticToggle:!0,showExpandAll:!1,showNodeIcon:!0,showNodeTitle:!1,onCheck:function(){},onClick:null,onExpand:function(){}});var xt=gt}(),o}())},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 8H3V9h9v2zm0-4H3V5h9v2z"}),"FeaturedPlayList");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M20 6h-8l-2-2H6.83l14.93 14.93c.15-.28.24-.59.24-.93V8c0-1.1-.9-2-2-2zM2.1 2.1.69 3.51l1.56 1.56c-.15.28-.24.59-.24.93L2 18c0 1.1.9 2 2 2h13.17l3.31 3.31 1.41-1.41L2.1 2.1z"}),"FolderOff");e.default=a},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z"}),"FolderOpen");e.default=a},function(t,e,n){var r=n(639),o=n(1097);t.exports=o,t.exports.default=o,t.exports.Quill=r,t.exports.Mixin=n(641),t.exports.Toolbar=n(1101)},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}}(),o=b(n(125)),i=n(1),a=b(i),s=n(1151),l=b(n(1109)),c=b(n(242)),u=b(n(644)),d=b(n(1118)),f=b(n(1119)),p=b(n(1120)),h=b(n(1121)),v=b(n(1123)),g=b(n(1131)),m=n(276);function b(t){return t&&t.__esModule?t:{default:t}}function y(t){var e=t.srcSet||t.srcset;return Array.isArray(e)?e.join():e}var x=a.default.createContext(c.default),w=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.theme=(0,m.deepMerge)(c.default,n.props.theme),n.classes=s.StyleSheet.create((0,m.deepMerge)(O,n.props.theme)),n.state={imgLoaded:!1},m.bindFunctions.call(n,["gotoNext","gotoPrev","closeBackdrop","handleKeyboardInput","handleImgLoaded"]),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,t),r(e,[{key:"componentDidMount",value:function(){this.props.isOpen&&(this.props.enableKeyboardInput&&window.addEventListener("keydown",this.handleKeyboardInput),"number"===typeof this.props.currImg&&this.preloadImg(this.props.currImg,this.handleImgLoaded))}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){if(m.canUseDom){if(t.preloadNextImg){var e=t.currImg+1,n=t.currImg-1;this.preloadImg(n),this.preloadImg(e)}if(this.props.currImg!==t.currImg||!this.props.isOpen&&t.isOpen){var r=this.preloadImgData(t.imgs[t.currImg],this.handleImgLoaded);r&&this.setState({imgLoaded:r.complete})}return!this.props.isOpen&&t.isOpen&&t.enableKeyboardInput&&window.addEventListener("keydown",this.handleKeyboardInput),!t.isOpen&&t.enableKeyboardInput&&window.removeEventListener("keydown",this.handleKeyboardInput),null}}},{key:"componentWillUnmount",value:function(){this.props.enableKeyboardInput&&window.removeEventListener("keydown",this.handleKeyboardInput)}},{key:"preloadImg",value:function(t,e){return this.preloadImgData(this.props.imgs[t],e)}},{key:"preloadImgData",value:function(t,e){if(t){var n=new Image,r=y(t);return n.onerror=e,n.onload=e,n.src=t.src,r&&(n.srcset=r),n}}},{key:"gotoNext",value:function(t){var e=this.props,n=e.currImg,r=e.imgs;this.state.imgLoaded&&n!==r.length-1&&(t&&(t.preventDefault(),t.stopPropagation()),this.props.onClickNext())}},{key:"gotoPrev",value:function(t){var e=this.props.currImg;this.state.imgLoaded&&0!==e&&(t&&(t.preventDefault(),t.stopPropagation()),this.props.onClickPrev())}},{key:"closeBackdrop",value:function(t){"viewerBackdrop"!==t.target.id&&"FIGURE"!==t.target.tagName||this.props.onClose()}},{key:"handleKeyboardInput",value:function(t){var e=t.keyCode;return 37===e||33===e||38===e?(this.gotoPrev(t),!0):39===e||34===e||40===e?(this.gotoNext(t),!0):(27===e||32===e)&&(this.props.onClose(),!0)}},{key:"handleImgLoaded",value:function(){this.setState({imgLoaded:!0})}},{key:"renderArrowPrev",value:function(t){return 0===this.props.currImg?null:a.default.createElement(u.default,{theme:t,direction:"left",icon:"arrowLeft",onClick:this.gotoPrev,title:this.props.leftArrowTitle,type:"button"})}},{key:"renderArrowNext",value:function(t){return this.props.currImg===this.props.imgs.length-1?null:a.default.createElement(u.default,{theme:t,direction:"right",icon:"arrowRight",onClick:this.gotoNext,title:this.props.rightArrowTitle,type:"button"})}},{key:"renderDialog",value:function(){var t=this,e=this.props,n=e.backdropCloseable,r=e.isOpen,o=e.showThumbnails,c=e.width,u=this.state.imgLoaded;if(!r)return a.default.createElement("span",{key:"closed"});var f=o?this.theme.thumbnail.size+this.theme.container.gutter.vertical:0;return a.default.createElement(x.Consumer,null,(function(e){return a.default.createElement(d.default,{theme:e,key:"open",onClick:n&&t.closeBackdrop,onTouchEnd:n&&t.closeBackdrop},a.default.createElement(i.Fragment,null,a.default.createElement("div",{className:(0,s.css)(t.classes.content),style:{marginBottom:f,maxWidth:c}},u&&t.renderHeader(e)," ",t.renderImgs(),t.renderSpinner()," ",u&&t.renderFooter(e)),u&&t.renderThumbnails(e),u&&t.renderArrowPrev(e),u&&t.renderArrowNext(e),t.props.preventScroll&&a.default.createElement(l.default,null)))}))}},{key:"renderImgs",value:function(){var t=this.props,e=t.currImg,n=t.imgs,r=t.onClickImg,o=t.showThumbnails,i=this.state.imgLoaded;if(!n||!n.length)return null;var l=n[e],c=y(l),u=c?"100vw":null,d=o?this.theme.thumbnail.size:0,f=this.theme.header.height+this.theme.footer.height+d+this.theme.container.gutter.vertical+"px";return a.default.createElement("figure",{className:(0,s.css)(this.classes.figure)},a.default.createElement("img",{className:(0,s.css)(this.classes.img,i&&this.classes.imgLoaded),onClick:r,sizes:u,alt:l.alt,src:l.src,srcSet:c,style:{cursor:r?"pointer":"auto",maxHeight:"calc(100vh - "+f}}))}},{key:"renderThumbnails",value:function(t){var e=this.props,n=e.imgs,r=e.currImg,o=e.leftArrowTitle,i=e.rightArrowTitle,s=e.onClickThumbnail,l=e.showThumbnails,c=e.thumbnailOffset;return l?a.default.createElement(h.default,{theme:t,leftTitle:o,rightTitle:i,currImg:r,imgs:n,offset:c,onClickThumbnail:s}):null}},{key:"renderHeader",value:function(t){var e=this.props,n=e.closeBtnTitle,r=e.customControls,o=e.onClose,i=e.showCloseBtn;return a.default.createElement(p.default,{theme:t,customControls:r,onClose:o,showCloseBtn:i,closeBtnTitle:n})}},{key:"renderFooter",value:function(t){var e=this.props,n=e.currImg,r=e.imgs,o=e.imgCountSeparator,i=e.showImgCount;return r&&r.length?a.default.createElement(f.default,{theme:t,caption:r[n].caption,countCurr:n+1,countSeparator:o,countTotal:r.length,showCount:i}):null}},{key:"renderSpinner",value:function(){var t=this.props,e=t.spinner,n=t.spinnerDisabled,r=t.spinnerColor,o=t.spinnerSize,i=this.state.imgLoaded,l=e;return n?null:a.default.createElement("div",{className:(0,s.css)(this.classes.spinner,!i&&this.classes.spinnerActive)},a.default.createElement(l,{color:r,size:o}))}},{key:"render",value:function(){return a.default.createElement(x.Provider,{value:this.props.theme},a.default.createElement(v.default,null," ",this.renderDialog()," "))}}]),e}(i.Component);w.propTypes={backdropCloseable:o.default.bool,closeBtnTitle:o.default.string,currImg:o.default.number,customControls:o.default.arrayOf(o.default.node),enableKeyboardInput:o.default.bool,imgCountSeparator:o.default.string,imgs:o.default.arrayOf(o.default.shape({src:o.default.string.isRequired,srcSet:o.default.oneOfType([o.default.array,o.default.string]),caption:o.default.oneOfType([o.default.string,o.default.element]),thumbnail:o.default.string})).isRequired,isOpen:o.default.bool,leftArrowTitle:o.default.string,onClickImg:o.default.func,onClickNext:o.default.func,onClickPrev:o.default.func,onClickThumbnail:o.default.func,onClose:o.default.func.isRequired,preloadNextImg:o.default.bool,preventScroll:o.default.bool,rightArrowTitle:o.default.string,showCloseBtn:o.default.bool,showImgCount:o.default.bool,showThumbnails:o.default.bool,spinnerDisabled:o.default.bool,spinner:o.default.func,spinnerColor:o.default.string,spinnerSize:o.default.number,theme:o.default.object,thumbnailOffset:o.default.number,width:o.default.number},w.defaultProps={currImg:0,enableKeyboardInput:!0,imgCountSeparator:" / ",onClickShowNextImg:!0,preloadNextImg:!0,preventScroll:!0,showCloseBtn:!0,showImgCount:!0,spinnerDisabled:!1,spinner:g.default,spinnerColor:"#fff",spinnerSize:50,theme:{},thumbnailOffset:2,width:1024};var O={content:{position:"relative"},figure:{margin:0},img:{display:"block",height:"auto",margin:"0 auto",maxWidth:"100%",WebkitTouchCallout:"none",userSelect:"none",opacity:0,transition:"opacity .3s"},imgLoaded:{opacity:1},spinner:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",opacity:0,transition:"opacity .3s",pointerEvents:"none"},spinnerActive:{opacity:1}};e.default=w},function(t,e,n){var r,o,i;o="undefined"!==typeof window?window:this,i=function(t){function e(e,n,r,o){e.hasOwnProperty(n)||(e[n]=o.apply(null,r),"function"===typeof CustomEvent&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:n,module:e[n]}})))}var n={};return e(n,"Core/Globals.js",[],(function(){var e;return function(e){e.SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="10.2.0",e.win="undefined"!==typeof t?t:{},e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&4>parseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,n),e.win.removeEventListener("testPassive",e.noop,n))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(e||(e={})),e})),e(n,"Core/Utilities.js",[n["Core/Globals.js"]],(function(t){function e(n,r,o,i){var a=r?"Highcharts error":"Highcharts warning";32===n&&(n=a+": Deprecated member");var s=l(n),c=s?a+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if("undefined"!==typeof i){var u="";s&&(c+="?"),g(i,(function(t,e){u+="\n - ".concat(e,": ").concat(t),s&&(c+=encodeURI(e)+"="+encodeURI(t))})),c+=u}b(t,"displayError",{chart:o,code:n,message:c,params:i},(function(){if(r)throw Error(c);w.console&&-1===e.messages.indexOf(c)&&console.warn(c)})),e.messages.push(c)}function n(t,e){return parseInt(t,e||10)}function r(t){return"string"===typeof t}function o(t){return"[object Array]"===(t=Object.prototype.toString.call(t))||"[object Array Iterator]"===t}function i(t,e){return!!t&&"object"===typeof t&&(!e||!o(t))}function a(t){return i(t)&&"number"===typeof t.nodeType}function s(t){var e=t&&t.constructor;return!(!i(t,!0)||a(t)||!e||!e.name||"Object"===e.name)}function l(t){return"number"===typeof t&&!isNaN(t)&&1/0>t&&-1/0<t}function c(t){return"undefined"!==typeof t&&null!==t}function u(t,e,n){var o,i=r(e)&&!c(n),a=function(e,n){c(e)?t.setAttribute(n,e):i?(o=t.getAttribute(n))||"class"!==n||(o=t.getAttribute(n+"Name")):t.removeAttribute(n)};return r(e)?a(n,e):g(e,a),o}function d(t,e){var n;for(n in t||(t={}),e)t[n]=e[n];return t}function f(){for(var t=arguments,e=t.length,n=0;n<e;n++){var r=t[n];if("undefined"!==typeof r&&null!==r)return r}}function p(e,n){t.isMS&&!t.svg&&n&&c(n.opacity)&&(n.filter="alpha(opacity=".concat(100*n.opacity,")")),d(e.style,n)}function h(t){return Math.pow(10,Math.floor(Math.log(t)/Math.LN10))}function v(t,e){return 1e14<t?t:parseFloat(t.toPrecision(e||14))}function g(t,e,n){for(var r in t)Object.hasOwnProperty.call(t,r)&&e.call(n||t[r],t[r],r,t)}function m(e,n,r){function o(n,r){var o=e.removeEventListener||t.removeEventListenerPolyfill;o&&o.call(e,n,r,!1)}function i(t){var r;if(e.nodeName){if(n){var i={};i[n]=!0}else i=t;g(i,(function(e,n){if(t[n])for(r=t[n].length;r--;)o(n,t[n][r].fn)}))}}var a="function"===typeof e&&e.prototype||e;if(Object.hasOwnProperty.call(a,"hcEvents")){var s=a.hcEvents;n?(a=s[n]||[],r?(s[n]=a.filter((function(t){return r!==t.fn})),o(n,r)):(i(s),s[n]=[])):(i(s),delete a.hcEvents)}}function b(e,n,r,o){if(r=r||{},x.createEvent&&(e.dispatchEvent||e.fireEvent&&e!==t)){var i=x.createEvent("Events");i.initEvent(n,!0,!0),r=d(i,r),e.dispatchEvent?e.dispatchEvent(r):e.fireEvent(n,r)}else if(e.hcEvents){r.target||d(r,{preventDefault:function(){r.defaultPrevented=!0},target:e,type:n}),i=[];for(var a=e,s=!1;a.hcEvents;)Object.hasOwnProperty.call(a,"hcEvents")&&a.hcEvents[n]&&(i.length&&(s=!0),i.unshift.apply(i,a.hcEvents[n])),a=Object.getPrototypeOf(a);s&&i.sort((function(t,e){return t.order-e.order})),i.forEach((function(t){!1===t.fn.call(e,r)&&r.preventDefault()}))}o&&!r.defaultPrevented&&o.call(e,r)}var y=t.charts,x=t.doc,w=t.win;(e||(e={})).messages=[],Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)};var O=Array.prototype.find?function(t,e){return t.find(e)}:function(t,e){var n,r=t.length;for(n=0;n<r;n++)if(e(t[n],n))return t[n]};g({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},(function(n,r){t[r]=function(t){var o;return e(32,!1,void 0,((o={})["Highcharts.".concat(r)]="use Array.".concat(n),o)),Array.prototype[n].apply(t,[].slice.call(arguments,1))}}));var S,j=function(){var t=Math.random().toString(36).substring(2,9)+"-",e=0;return function(){return"highcharts-"+(S?"":t)+e++}}();return w.jQuery&&(w.jQuery.fn.highcharts=function(){var e=[].slice.call(arguments);if(this[0])return e[0]?(new(t[r(e[0])?e.shift():"Chart"])(this[0],e[0],e[1]),this):y[u(this[0],"data-highcharts-chart")]}),O={addEvent:function(e,n,r,o){void 0===o&&(o={});var i="function"===typeof e&&e.prototype||e;Object.hasOwnProperty.call(i,"hcEvents")||(i.hcEvents={}),i=i.hcEvents,t.Point&&e instanceof t.Point&&e.series&&e.series.chart&&(e.series.chart.runTrackerClick=!0);var a=e.addEventListener||t.addEventListenerPolyfill;return a&&a.call(e,n,r,!!t.supportsPassiveEvents&&{passive:void 0===o.passive?-1!==n.indexOf("touch"):o.passive,capture:!1}),i[n]||(i[n]=[]),i[n].push({fn:r,order:"number"===typeof o.order?o.order:1/0}),i[n].sort((function(t,e){return t.order-e.order})),function(){m(e,n,r)}},arrayMax:function(t){for(var e=t.length,n=t[0];e--;)t[e]>n&&(n=t[e]);return n},arrayMin:function(t){for(var e=t.length,n=t[0];e--;)t[e]<n&&(n=t[e]);return n},attr:u,clamp:function(t,e,n){return t>e?t<n?t:n:e},cleanRecursively:function t(e,n){var r={};return g(e,(function(o,a){i(e[a],!0)&&!e.nodeType&&n[a]?(o=t(e[a],n[a]),Object.keys(o).length&&(r[a]=o)):(i(e[a])||e[a]!==n[a]||a in e&&!(a in n))&&(r[a]=e[a])})),r},clearTimeout:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){c(t)&&clearTimeout(t)})),correctFloat:v,createElement:function(t,e,n,r,o){return t=x.createElement(t),e&&d(t,e),o&&p(t,{padding:"0",border:"none",margin:"0"}),n&&p(t,n),r&&r.appendChild(t),t},css:p,defined:c,destroyObjectProperties:function(t,e){g(t,(function(n,r){n&&n!==e&&n.destroy&&n.destroy(),delete t[r]}))},discardElement:function(t){t&&t.parentElement&&t.parentElement.removeChild(t)},erase:function(t,e){for(var n=t.length;n--;)if(t[n]===e){t.splice(n,1);break}},error:e,extend:d,extendClass:function(t,e){var n=function(){};return d(n.prototype=new t,e),n},find:O,fireEvent:b,getMagnitude:h,getNestedProperty:function(t,e){for(t=t.split(".");t.length&&c(e);){var n=t.shift();if("undefined"===typeof n||"__proto__"===n)return;if(!c(e=e[n])||"function"===typeof e||"number"===typeof e.nodeType||e===w)return}return e},getStyle:function r(o,i,a){var s=t.getStyle||r;if("width"===i)return i=Math.min(o.offsetWidth,o.scrollWidth),(a=o.getBoundingClientRect&&o.getBoundingClientRect().width)<i&&a>=i-1&&(i=Math.floor(a)),Math.max(0,i-(s(o,"padding-left",!0)||0)-(s(o,"padding-right",!0)||0));if("height"===i)return Math.max(0,Math.min(o.offsetHeight,o.scrollHeight)-(s(o,"padding-top",!0)||0)-(s(o,"padding-bottom",!0)||0));if(w.getComputedStyle||e(27,!0),o=w.getComputedStyle(o,void 0)){var l=o.getPropertyValue(i);f(a,"opacity"!==i)&&(l=n(l))}return l},inArray:function(t,n,r){return e(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(t,r)},isArray:o,isClass:s,isDOMElement:a,isFunction:function(t){return"function"===typeof t},isNumber:l,isObject:i,isString:r,keys:function(t){return e(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(t)},merge:function(){var t,e=arguments,n={},r=function t(e,n){return"object"!==typeof e&&(e={}),g(n,(function(r,o){"__proto__"!==o&&"constructor"!==o&&(!i(r,!0)||s(r)||a(r)?e[o]=n[o]:e[o]=t(e[o]||{},r))})),e};!0===e[0]&&(n=e[1],e=Array.prototype.slice.call(e,2));var o=e.length;for(t=0;t<o;t++)n=r(n,e[t]);return n},normalizeTickInterval:function(t,e,n,r,o){var i=t,a=t/(n=f(n,h(t)));for(e||(e=o?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===r&&(1===n?e=e.filter((function(t){return 0===t%1})):.1>=n&&(e=[1/n]))),r=0;r<e.length&&(i=e[r],!(o&&i*n>=t||!o&&a<=(e[r]+(e[r+1]||e[r]))/2));r++);return v(i*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(t){var e=x.documentElement;return{top:(t=t.parentElement||t.parentNode?t.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(w.pageYOffset||e.scrollTop)-(e.clientTop||0),left:t.left+(w.pageXOffset||e.scrollLeft)-(e.clientLeft||0),width:t.width,height:t.height}},pad:function(t,e,n){return Array((e||2)+1-String(t).replace("-","").length).join(n||"0")+t},pick:f,pInt:n,relativeLength:function(t,e,n){return/%$/.test(t)?e*parseFloat(t)/100+(n||0):parseFloat(t)},removeEvent:m,splat:function(t){return o(t)?t:[t]},stableSort:function(t,e){var n,r,o=t.length;for(r=0;r<o;r++)t[r].safeI=r;for(t.sort((function(t,r){return 0===(n=e(t,r))?t.safeI-r.safeI:n})),r=0;r<o;r++)delete t[r].safeI},syncTimeout:function(t,e,n){return 0<e?setTimeout(t,e,n):(t.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:j,useSerialIds:function(t){return S=f(t,S)},wrap:function(t,e,n){var r=t[e];t[e]=function(){var t=Array.prototype.slice.call(arguments),e=arguments,o=this;return o.proceed=function(){r.apply(o,arguments.length?arguments:e)},t.unshift(r),t=n.apply(this,t),o.proceed=null,t}}},O})),e(n,"Core/Chart/ChartDefaults.js",[],(function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}})),e(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.isNumber,r=e.merge,o=e.pInt;return e=function(){function e(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var r=t.Color;return r&&r!==e?new r(n):this instanceof e?void this.init(n):new e(n)}return e.parse=function(t){return t?new e(t):e.None},e.prototype.init=function(t){var n;if("object"===typeof t&&"undefined"!==typeof t.stops)this.stops=t.stops.map((function(t){return new e(t[1])}));else if("string"===typeof t){if(this.input=t=e.names[t.toLowerCase()]||t,"#"===t.charAt(0)){var r=t.length,o=parseInt(t.substr(1),16);7===r?n=[(16711680&o)>>16,(65280&o)>>8,255&o,1]:4===r&&(n=[(3840&o)>>4|(3840&o)>>8,(240&o)>>4|240&o,(15&o)<<4|15&o,1])}if(!n)for(o=e.parsers.length;o--&&!n;){var i=e.parsers[o];(r=i.regex.exec(t))&&(n=i.parse(r))}}n&&(this.rgba=n)},e.prototype.get=function(t){var e=this.input,o=this.rgba;if("object"===typeof e&&"undefined"!==typeof this.stops){var i=r(e);return i.stops=[].slice.call(i.stops),this.stops.forEach((function(e,n){i.stops[n]=[i.stops[n][0],e.get(t)]})),i}return o&&n(o[0])?"rgb"===t||!t&&1===o[3]?"rgb("+o[0]+","+o[1]+","+o[2]+")":"a"===t?"".concat(o[3]):"rgba("+o.join(",")+")":e},e.prototype.brighten=function(t){var e=this.rgba;if(this.stops)this.stops.forEach((function(e){e.brighten(t)}));else if(n(t)&&0!==t)for(var r=0;3>r;r++)e[r]+=o(255*t),0>e[r]&&(e[r]=0),255<e[r]&&(e[r]=255);return this},e.prototype.setOpacity=function(t){return this.rgba[3]=t,this},e.prototype.tweenTo=function(t,e){var r=this.rgba,o=t.rgba;return n(r[0])&&n(o[0])?((t=1!==o[3]||1!==r[3])?"rgba(":"rgb(")+Math.round(o[0]+(r[0]-o[0])*(1-e))+","+Math.round(o[1]+(r[1]-o[1])*(1-e))+","+Math.round(o[2]+(r[2]-o[2])*(1-e))+(t?","+(o[3]+(r[3]-o[3])*(1-e)):"")+")":t.input||"none"},e.names={white:"#ffffff",black:"#000000"},e.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),parseFloat(t[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(t){return[o(t[1]),o(t[2]),o(t[3]),1]}}],e.None=new e(""),e}(),e})),e(n,"Core/Color/Palettes.js",[],(function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}})),e(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.win,r=e.defined,o=e.error,i=e.extend,a=e.isObject,s=e.merge,l=e.objectEach,c=e.pad,u=e.pick,d=e.splat,f=e.timeUnits,p=t.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,h=t.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return e=function(){function e(t){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(t)}return e.prototype.get=function(t,e){if(this.variableTimezone||this.timezoneOffset){var n=e.getTime(),r=n-this.getTimezoneOffset(e);return e.setTime(r),t=e["getUTC"+t](),e.setTime(n),t}return this.useUTC?e["getUTC"+t]():e["get"+t]()},e.prototype.set=function(t,e,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===t||"Seconds"===t||"Minutes"===t&&0===this.getTimezoneOffset(e)%36e5)return e["setUTC"+t](n);var r=this.getTimezoneOffset(e);return r=e.getTime()-r,e.setTime(r),e["setUTC"+t](n),t=this.getTimezoneOffset(e),r=e.getTime()+t,e.setTime(r)}return this.useUTC||p&&"FullYear"===t?e["setUTC"+t](n):e["set"+t](n)},e.prototype.update=function(t){var e=u(t&&t.useUTC,!0);this.options=t=s(!0,this.options||{},t),this.Date=t.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=e)&&t.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=e&&!(!t.getTimezoneOffset&&!t.timezone)},e.prototype.makeTime=function(t,e,n,r,o,i){if(this.useUTC){var a=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(a);a+=s;var l=this.getTimezoneOffset(a);s!==l?a+=l-s:s-36e5!==this.getTimezoneOffset(a-36e5)||h||(a-=36e5)}else a=new this.Date(t,e,u(n,1),u(r,0),u(o,0),u(i,0)).getTime();return a},e.prototype.timezoneOffsetFunction=function(){var t=this,e=this.options,r=e.getTimezoneOffset,i=e.moment||n.moment;if(!this.useUTC)return function(t){return 6e4*new Date(t.toString()).getTimezoneOffset()};if(e.timezone){if(i)return function(t){return 6e4*-i.tz(t,e.timezone).utcOffset()};o(25)}return this.useUTC&&r?function(t){return 6e4*r(t.valueOf())}:function(){return 6e4*(t.timezoneOffset||0)}},e.prototype.dateFormat=function(e,n,o){if(!r(n)||isNaN(n))return t.defaultOptions.lang&&t.defaultOptions.lang.invalidDate||"";e=u(e,"%Y-%m-%d %H:%M:%S");var a=this,s=new this.Date(n),d=this.get("Hours",s),f=this.get("Day",s),p=this.get("Date",s),h=this.get("Month",s),v=this.get("FullYear",s),g=t.defaultOptions.lang,m=g&&g.weekdays,b=g&&g.shortWeekdays;return s=i({a:b?b[f]:m[f].substr(0,3),A:m[f],d:c(p),e:c(p,2," "),w:f,b:g.shortMonths[h],B:g.months[h],m:c(h+1),o:h+1,y:v.toString().substr(2,2),Y:v,H:c(d),k:d,I:c(d%12||12),l:d%12||12,M:c(this.get("Minutes",s)),p:12>d?"AM":"PM",P:12>d?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},t.dateFormats),l(s,(function(t,r){for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"===typeof t?t.call(a,n):t)})),o?e.substr(0,1).toUpperCase()+e.substr(1):e},e.prototype.resolveDTLFormat=function(t){return a(t,!0)?t:{main:(t=d(t))[0],from:t[1],to:t[2]}},e.prototype.getTimeTicks=function(t,e,n,o){var a,s=this,l=[],c={},d=new s.Date(e),p=t.unitRange,h=t.count||1;if(o=u(o,1),r(e)){if(s.set("Milliseconds",d,p>=f.second?0:h*Math.floor(s.get("Milliseconds",d)/h)),p>=f.second&&s.set("Seconds",d,p>=f.minute?0:h*Math.floor(s.get("Seconds",d)/h)),p>=f.minute&&s.set("Minutes",d,p>=f.hour?0:h*Math.floor(s.get("Minutes",d)/h)),p>=f.hour&&s.set("Hours",d,p>=f.day?0:h*Math.floor(s.get("Hours",d)/h)),p>=f.day&&s.set("Date",d,p>=f.month?1:Math.max(1,h*Math.floor(s.get("Date",d)/h))),p>=f.month){s.set("Month",d,p>=f.year?0:h*Math.floor(s.get("Month",d)/h));var v=s.get("FullYear",d)}p>=f.year&&s.set("FullYear",d,v-v%h),p===f.week&&(v=s.get("Day",d),s.set("Date",d,s.get("Date",d)-v+o+(v<o?-7:0))),v=s.get("FullYear",d),o=s.get("Month",d);var g=s.get("Date",d),m=s.get("Hours",d);for(e=d.getTime(),!s.variableTimezone&&s.useUTC||!r(n)||(a=n-e>4*f.month||s.getTimezoneOffset(e)!==s.getTimezoneOffset(n)),e=d.getTime(),d=1;e<n;)l.push(e),e=p===f.year?s.makeTime(v+d*h,0):p===f.month?s.makeTime(v,o+d*h):!a||p!==f.day&&p!==f.week?a&&p===f.hour&&1<h?s.makeTime(v,o,g,m+d*h):e+p*h:s.makeTime(v,o,g+d*h*(p===f.day?1:7)),d++;l.push(e),p<=f.hour&&1e4>l.length&&l.forEach((function(t){0===t%18e5&&"000000000"===s.dateFormat("%H%M%S%L",t)&&(c[t]="day")}))}return l.info=i(t,{higherRanks:c,totalRange:p*h}),l},e.prototype.getDateFormat=function(t,e,n,r){var o=this.dateFormat("%m-%d %H:%M:%S.%L",e),i={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in f){if(t===f.week&&+this.dateFormat("%w",e)===n&&"00:00:00.000"===o.substr(6)){var s="week";break}if(f[s]>t){s=a;break}if(i[s]&&o.substr(i[s])!=="01-01 00:00:00.000".substr(i[s]))break;"week"!==s&&(a=s)}return this.resolveDTLFormat(r[s]).main},e}(),e})),e(n,"Core/DefaultOptions.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i){e=e.parse;var a=i.merge,s={colors:r.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:t,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:e("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new o(a(s.global,s.time));return t={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(t){return a(!0,s,t),(t.time||t.global)&&(n.time?n.time.update(a(s.global,s.time,t.global,t.time)):n.time=l),s}}})),e(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=t.parse,o=e.win,i=n.isNumber,a=n.objectEach;return function(){function t(t,e,n){this.pos=NaN,this.options=e,this.elem=t,this.prop=n}return t.prototype.dSetter=function(){var t=this.paths,e=t&&t[0];t=t&&t[1];var n=this.now||0,r=[];if(1!==n&&e&&t)if(e.length===t.length&&1>n)for(var o=0;o<t.length;o++){for(var a=e[o],s=t[o],l=[],c=0;c<s.length;c++){var u=a[c],d=s[c];i(u)&&i(d)&&("A"!==s[0]||4!==c&&5!==c)?l[c]=u+n*(d-u):l[c]=d}r.push(l)}else r=t;else r=this.toD||[];this.elem.attr("d",r,void 0,!0)},t.prototype.update=function(){var t=this.elem,e=this.prop,n=this.now,r=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,r&&r.call(t,n,this)},t.prototype.run=function(e,n,r){var i=this,a=i.options,s=function t(e){return!t.stopped&&i.step(e)},l=o.requestAnimationFrame||function(t){setTimeout(t,13)};e!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=e,this.end=n,this.unit=r,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===t.timers.push(s)&&l((function e(){for(var n=0;n<t.timers.length;n++)t.timers[n]()||t.timers.splice(n--,1);t.timers.length&&l(e)}))):(delete a.curAnim[this.prop],a.complete&&0===Object.keys(a.curAnim).length&&a.complete.call(this.elem))},t.prototype.step=function(t){var e=+new Date,n=this.options,r=this.elem,o=n.complete,i=n.duration,s=n.curAnim;if(r.attr&&!r.element)t=!1;else if(t||e>=i+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,(function(t){!0!==t&&(l=!1)})),l&&o&&o.call(r),t=!1}else this.pos=n.easing((e-this.startTime)/i),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0;return t},t.prototype.initPath=function(t,e,n){function r(t,e){for(;t.length<f;){var n=t[0],r=e[f-t.length];r&&"M"===n[0]&&(t[0]="C"===r[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),t.unshift(n),l&&(n=t.pop(),t.push(t[t.length-1],n))}}function o(t,e){for(;t.length<f;)if("C"===(e=t[Math.floor(t.length/c)-1].slice())[0]&&(e[1]=e[5],e[2]=e[6]),l){var n=t[Math.floor(t.length/c)].slice();t.splice(t.length/2,0,e,n)}else t.push(e)}var a=t.startX,s=t.endX;n=n.slice();var l=t.isArea,c=l?2:1;if(!(e=e&&e.slice()))return[n,n];if(a&&s&&s.length){for(t=0;t<a.length;t++){if(a[t]===s[0]){var u=t;break}if(a[0]===s[s.length-a.length+t]){u=t;var d=!0;break}if(a[a.length-1]===s[s.length-a.length+t]){u=a.length-t;break}}"undefined"===typeof u&&(e=[])}if(e.length&&i(u)){var f=n.length+u*c;d?(r(e,n),o(n,e)):(r(n,e),o(e,n))}return[e,n]},t.prototype.fillSetter=function(){t.prototype.strokeSetter.apply(this,arguments)},t.prototype.strokeSetter=function(){this.elem.attr(this.prop,r(this.start).tweenTo(r(this.end),this.pos),void 0,!0)},t.timers=[],t}()})),e(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],(function(t,e){function n(t){return l(t)?c({duration:500,defer:0},t):{duration:t?500:0,defer:0}}function r(e,n){for(var r=t.timers.length;r--;)t.timers[r].elem!==e||n&&n!==t.timers[r].prop||(t.timers[r].stopped=!0)}var o=e.defined,i=e.getStyle,a=e.isArray,s=e.isNumber,l=e.isObject,c=e.merge,u=e.objectEach,d=e.pick;return{animate:function(e,n,o){var d,f,p,h="";if(!l(o)){var v=arguments;o={duration:v[2],easing:v[3],complete:v[4]}}s(o.duration)||(o.duration=400),o.easing="function"===typeof o.easing?o.easing:Math[o.easing]||Math.easeInOutSine,o.curAnim=c(n),u(n,(function(s,l){r(e,l),p=new t(e,o,l),f=void 0,"d"===l&&a(n.d)?(p.paths=p.initPath(e,e.pathArray,n.d),p.toD=n.d,d=0,f=1):e.attr?d=e.attr(l):(d=parseFloat(i(e,l))||0,"opacity"!==l&&(h="px")),f||(f=s),"string"===typeof f&&f.match("px")&&(f=f.replace(/px/g,"")),p.run(d,f,h)}))},animObject:n,getDeferredAnimation:function(t,e,r){var i=n(e),a=0,s=0;return(r?[r]:t.series).forEach((function(t){t=n(t.options.animation),a=e&&o(e.defer)?i.defer:Math.max(a,t.duration+t.defer),s=Math.min(i.duration,t.duration)})),t.renderer.forExport&&(a=0),{defer:Math.max(0,a-s),duration:Math.min(a,s)}},setAnimation:function(t,e){e.renderer.globalAnimation=d(t,e.options.chart.animation,!0)},stop:r}})),e(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.SVG_NS,r=e.attr,o=e.createElement,i=e.css,a=e.error,s=e.isFunction,l=e.isString,c=e.objectEach,u=e.splat,d=(e=t.win.trustedTypes)&&s(e.createPolicy)&&e.createPolicy("highcharts",{createHTML:function(t){return t}}),f=d?d.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(f,"text/html")}catch(h){p=!1}return s=function(){function e(t){this.nodes="string"===typeof t?this.parseMarkup(t):t}return e.filterUserAttributes=function(t){return c(t,(function(n,r){var o=!0;-1===e.allowedAttributes.indexOf(r)&&(o=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(r)&&(o=l(n)&&e.allowedReferences.some((function(t){return 0===n.indexOf(t)}))),o||(a(33,!1,void 0,{"Invalid attribute in config":"".concat(r)}),delete t[r])})),t},e.parseStyle=function(t){return t.split(";").reduce((function(t,e){e=e.split(":").map((function(t){return t.trim()}));var n=e.shift();return n&&e.length&&(t[n.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))]=e.join(":")),t}),{})},e.setElementHTML=function(t,n){t.innerHTML=e.emptyHTML,n&&new e(n).addToDOM(t)},e.prototype.addToDOM=function(o){return function o(s,l){var d;return u(s).forEach((function(s){var u=s.tagName,f=s.textContent?t.doc.createTextNode(s.textContent):void 0,p=e.bypassHTMLFiltering;if(u)if("#text"===u)var h=f;else if(-1!==e.allowedTags.indexOf(u)||p){u=t.doc.createElementNS("svg"===u?n:l.namespaceURI||n,u);var v=s.attributes||{};c(s,(function(t,e){"tagName"!==e&&"attributes"!==e&&"children"!==e&&"style"!==e&&"textContent"!==e&&(v[e]=t)})),r(u,p?v:e.filterUserAttributes(v)),s.style&&i(u,s.style),f&&u.appendChild(f),o(s.children||[],u),h=u}else a(33,!1,void 0,{"Invalid tagName in config":u});h&&l.appendChild(h),d=h})),d}(this.nodes,o)},e.prototype.parseMarkup=function(t){var n=[];if(t=t.trim().replace(/ style="/g,' data-style="'),p)t=(new DOMParser).parseFromString(d?d.createHTML(t):t,"text/html");else{var r=o("div");r.innerHTML=t,t={body:r}}var i=function t(n,r){var o=n.nodeName.toLowerCase(),i={tagName:o};if("#text"===o&&(i.textContent=n.textContent||""),o=n.attributes){var a={};[].forEach.call(o,(function(t){"data-style"===t.name?i.style=e.parseStyle(t.value):a[t.name]=t.value})),i.attributes=a}if(n.childNodes.length){var s=[];[].forEach.call(n.childNodes,(function(e){t(e,s)})),s.length&&(i.children=s)}r.push(i)};return[].forEach.call(t.body.childNodes,(function(t){return i(t,n)})),n},e.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),e.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),e.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),e.emptyHTML=f,e.bypassHTMLFiltering=!1,e}(),s})),e(n,"Core/FormatUtilities.js",[n["Core/DefaultOptions.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e,n,o){t=+t||0,e=+e;var i=r.lang,c=(t.toString().split(".")[1]||"").split("e")[0].length,u=t.toString().split("e"),d=e;if(-1===e)e=Math.min(c,20);else if(a(e)){if(e&&u[1]&&0>u[1]){var f=e+ +u[1];0<=f?(u[0]=(+u[0]).toExponential(f).split("e")[0],e=f):(u[0]=u[0].split(".")[0]||0,t=20>e?(u[0]*Math.pow(10,u[1])).toFixed(e):0,u[1]=0)}}else e=2;f=(Math.abs(u[1]?u[0]:t)+Math.pow(10,-Math.max(e,c)-1)).toFixed(e);var p=3<(c=String(l(f))).length?c.length%3:0;return n=s(n,i.decimalPoint),o=s(o,i.thousandsSep),t=(0>t?"-":"")+(p?c.substr(0,p)+o:""),t=0>+u[1]&&!d?"0":t+c.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+o),e&&(t+=n+f.slice(-e)),u[1]&&0!==+t&&(t+="e"+u[1]),t}var r=t.defaultOptions,o=t.defaultTime,i=e.getNestedProperty,a=e.isNumber,s=e.pick,l=e.pInt;return{dateFormat:function(t,e,n){return o.dateFormat(t,e,n)},format:function(t,e,a){var s="{",l=!1,c=/f$/,u=/\.([0-9])/,d=r.lang,f=a&&a.time||o;a=a&&a.numberFormatter||n;for(var p=[];t;){var h=t.indexOf(s);if(-1===h)break;var v=t.slice(0,h);if(l){if(v=v.split(":"),s=i(v.shift()||"",e),v.length&&"number"===typeof s)if(v=v.join(":"),c.test(v)){var g=parseInt((v.match(u)||["","-1"])[1],10);null!==s&&(s=a(s,g,d.decimalPoint,-1<v.indexOf(",")?d.thousandsSep:""))}else s=f.dateFormat(v,s);p.push(s)}else p.push(v);t=t.slice(h+1),s=(l=!l)?"}":"{"}return p.push(t),p.join("")},numberFormat:n}})),e(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.clamp,r=t.pick,o=t.stableSort;return function(t){t.distribute=function t(e,i,a){var s,l=e,c=l.reducedLen||i,u=function(t,e){return(e.rank||0)-(t.rank||0)},d=function(t,e){return t.target-e.target},f=!0,p=[],h=0;for(s=e.length;s--;)h+=e[s].size;if(h>c){for(o(e,u),h=s=0;h<=c;)h+=e[s].size,s++;p=e.splice(s-1,e.length)}for(o(e,d),e=e.map((function(t){return{size:t.size,targets:[t.target],align:r(t.align,.5)}}));f;){for(s=e.length;s--;)c=e[s],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(u-c.size*c.align,0,i-c.size);for(s=e.length,f=!1;s--;)0<s&&e[s-1].pos+e[s-1].size>e[s].pos&&(e[s-1].size+=e[s].size,e[s-1].targets=e[s-1].targets.concat(e[s].targets),e[s-1].align=.5,e[s-1].pos+e[s-1].size>i&&(e[s-1].pos=i-e[s-1].size),e.splice(s,1),f=!0)}return l.push.apply(l,p),s=0,e.some((function(e){var n=0;return(e.targets||[]).some((function(){return l[s].pos=e.pos+n,"undefined"!==typeof a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach((function(t){return delete t.pos})),l.reducedLen=(l.reducedLen||i)-.1*i,l.reducedLen>.1*i&&t(l,i,a),!0):(n+=l[s].size,s++,!1)}))})),o(l,d),l}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i=t.animate,a=t.animObject,s=t.stop,l=r.deg2rad,c=r.doc,u=r.noop,d=r.svg,f=r.SVG_NS,p=r.win,h=o.addEvent,v=o.attr,g=o.createElement,m=o.css,b=o.defined,y=o.erase,x=o.extend,w=o.fireEvent,O=o.isArray,S=o.isFunction,j=o.isNumber,C=o.isString,k=o.merge,E=o.objectEach,P=o.pick,_=o.pInt,M=o.syncTimeout,T=o.uniqueKey;return t=function(){function t(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=f,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return t.prototype._defaultGetter=function(t){return t=P(this[t+"Value"],this[t],this.element?this.element.getAttribute(t):null,0),/^[\-0-9\.]+$/.test(t)&&(t=parseFloat(t)),t},t.prototype._defaultSetter=function(t,e,n){n.setAttribute(e,t)},t.prototype.add=function(t){var e=this.renderer,n=this.element;if(t&&(this.parentGroup=t),this.parentInverted=t&&t.inverted,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&e.buildText(this),this.added=!0,!t||t.handleZ||this.zIndex)var r=this.zIndexSetter();return r||(t?t.element:e.box).appendChild(n),this.onAdd&&this.onAdd(),this},t.prototype.addClass=function(t,e){var n=e?"":this.attr("class")||"";return t=(t||"").split(/ /g).reduce((function(t,e){return-1===n.indexOf(e)&&t.push(e),t}),n?[n]:[]).join(" "),t!==n&&this.attr("class",t),this},t.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},t.prototype.align=function(t,e,n){var r,o,i,a={},s=this.renderer,l=s.alignedObjects;t?(this.alignOptions=t,this.alignByTranslate=e,(!n||C(n))&&(this.alignTo=r=n||"renderer",y(l,this),l.push(this),n=void 0)):(t=this.alignOptions,e=this.alignByTranslate,r=this.alignTo),n=P(n,s[r],"scrollablePlotBox"===r?s.plotBox:void 0,s),r=t.align;var c=t.verticalAlign;return s=(n.x||0)+(t.x||0),l=(n.y||0)+(t.y||0),"right"===r?o=1:"center"===r&&(o=2),o&&(s+=(n.width-(t.width||0))/o),a[e?"translateX":"x"]=Math.round(s),"bottom"===c?i=1:"middle"===c&&(i=2),i&&(l+=(n.height-(t.height||0))/i),a[e?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},t.prototype.alignSetter=function(t){var e={left:"start",center:"middle",right:"end"};e[t]&&(this.alignValue=t,this.element.setAttribute("text-anchor",e[t]))},t.prototype.animate=function(t,e,n){var r=this,o=a(P(e,this.renderer.globalAnimation,!0));return e=o.defer,P(c.hidden,c.msHidden,c.webkitHidden,!1)&&(o.duration=0),0!==o.duration?(n&&(o.complete=n),M((function(){r.element&&i(r,t,o)}),e)):(this.attr(t,void 0,n||o.complete),E(t,(function(t,e){o.step&&o.step.call(this,t,{prop:e,pos:1,elem:this})}),this)),this},t.prototype.applyTextOutline=function(t){var e=this.element;-1!==t.indexOf("contrast")&&(t=t.replace(/contrast/g,this.renderer.getContrast(e.style.fill)));var n=t.split(" ");if(t=n[n.length-1],(n=n[0])&&"none"!==n&&r.svg){this.fakeTS=!0,this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,(function(t,e,n){return 2*Number(e)+n})),this.removeTextOutline();var o=c.createElementNS(f,"tspan");v(o,{class:"highcharts-text-outline",fill:t,stroke:t,"stroke-width":n,"stroke-linejoin":"round"}),[].forEach.call(e.childNodes,(function(t){var e=t.cloneNode(!0);e.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(t){return e.removeAttribute(t)})),o.appendChild(e)}));var i=c.createElementNS(f,"tspan");i.textContent="\u200b",["x","y"].forEach((function(t){var n=e.getAttribute(t);n&&i.setAttribute(t,n)})),o.appendChild(i),e.insertBefore(o,e.firstChild)}},t.prototype.attr=function(t,e,n,r){var o,i,a,l=this.element,c=this.symbolCustomAttribs,u=this;if("string"===typeof t&&"undefined"!==typeof e){var d=t;(t={})[d]=e}return"string"===typeof t?u=(this[t+"Getter"]||this._defaultGetter).call(this,t,l):(E(t,(function(e,n){i=!1,r||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(o||(this.symbolAttr(t),o=!0),i=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),i||((a=this[n+"Setter"]||this._defaultSetter).call(this,e,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,e,a))}),this),this.afterSetters()),n&&n.call(this),u},t.prototype.clip=function(t){return this.attr("clip-path",t?"url("+this.renderer.url+"#"+t.id+")":"none")},t.prototype.crisp=function(t,e){e=e||t.strokeWidth||0;var n=Math.round(e)%2/2;return t.x=Math.floor(t.x||this.x||0)+n,t.y=Math.floor(t.y||this.y||0)+n,t.width=Math.floor((t.width||this.width||0)-2*n),t.height=Math.floor((t.height||this.height||0)-2*n),b(t.strokeWidth)&&(t.strokeWidth=e),t},t.prototype.complexColor=function(t,e,r){var o,i,a,s,l,c,u,d,f,p,h,v=this.renderer,g=[];w(this.renderer,"complexColor",{args:arguments},(function(){if(t.radialGradient?i="radialGradient":t.linearGradient&&(i="linearGradient"),i){if(a=t[i],l=v.gradients,c=t.stops,f=r.radialReference,O(a)&&(t[i]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===i&&f&&!b(a.gradientUnits)&&(s=a,a=k(a,v.getRadialAttr(f,s),{gradientUnits:"userSpaceOnUse"})),E(a,(function(t,e){"id"!==e&&g.push(e,t)})),E(c,(function(t){g.push(t)})),g=g.join(","),l[g])p=l[g].attr("id");else{a.id=p=T();var m=l[g]=v.createElement(i).attr(a).add(v.defs);m.radAttr=s,m.stops=[],c.forEach((function(t){0===t[1].indexOf("rgba")?(o=n.parse(t[1]),u=o.get("rgb"),d=o.get("a")):(u=t[1],d=1),t=v.createElement("stop").attr({offset:t[0],"stop-color":u,"stop-opacity":d}).add(m),m.stops.push(t)}))}h="url("+v.url+"#"+p+")",r.setAttribute(e,h),r.gradient=g,t.toString=function(){return h}}}))},t.prototype.css=function(t){var e=this.styles,n={},r=this.element,o=!e;if(t.color&&(t.fill=t.color),e&&E(t,(function(t,r){e&&e[r]!==t&&(n[r]=t,o=!0)})),o){if(e&&(t=x(e,n)),null===t.width||"auto"===t.width)delete this.textWidth;else if("text"===r.nodeName.toLowerCase()&&t.width)var i=this.textWidth=_(t.width);this.styles=t,i&&!d&&this.renderer.forExport&&delete t.width;var a=k(t);r.namespaceURI===this.SVG_NS&&["textOutline","textOverflow","width"].forEach((function(t){return a&&delete a[t]})),m(r,a),this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),t.textOutline&&this.applyTextOutline(t.textOutline))}return this},t.prototype.dashstyleSetter=function(t){var e=this["stroke-width"];if("inherit"===e&&(e=1),t=t&&t.toLowerCase()){var n=t.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(t=n.length;t--;)n[t]=""+_(n[t])*P(e,NaN);t=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",t)}},t.prototype.destroy=function(){var t=this,e=t.element||{},n=t.renderer,r=e.ownerSVGElement,o=n.isSVG&&"SPAN"===e.nodeName&&t.parentGroup||void 0;if(e.onclick=e.onmouseout=e.onmouseover=e.onmousemove=e.point=null,s(t),t.clipPath&&r){var i=t.clipPath;[].forEach.call(r.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(t){-1<t.getAttribute("clip-path").indexOf(i.element.id)&&t.removeAttribute("clip-path")})),t.clipPath=i.destroy()}if(t.stops){for(r=0;r<t.stops.length;r++)t.stops[r].destroy();t.stops.length=0,t.stops=void 0}for(t.safeRemoveChild(e),n.styledMode||t.destroyShadows();o&&o.div&&0===o.div.childNodes.length;)e=o.parentGroup,t.safeRemoveChild(o.div),delete o.div,o=e;t.alignTo&&y(n.alignedObjects,t),E(t,(function(e,n){t[n]&&t[n].parentGroup===t&&t[n].destroy&&t[n].destroy(),delete t[n]}))},t.prototype.destroyShadows=function(){(this.shadows||[]).forEach((function(t){this.safeRemoveChild(t)}),this),this.shadows=void 0},t.prototype.destroyTextPath=function(t,e){var n=t.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),e.element.setAttribute("id",""),this.textPathWrapper&&n.getElementsByTagName("textPath").length){for(t=this.textPathWrapper.element.childNodes;t.length;)n.appendChild(t[0]);n.removeChild(this.textPathWrapper.element)}}else(t.getAttribute("dx")||t.getAttribute("dy"))&&(t.removeAttribute("dx"),t.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},t.prototype.dSetter=function(t,e,n){O(t)&&("string"===typeof t[0]&&(t=this.renderer.pathToSegments(t)),this.pathArray=t,t=t.reduce((function(t,e,n){return e&&e.join?(n?t+" ":"")+e.join(" "):(e||"").toString()}),"")),/(NaN| {2}|^$)/.test(t)&&(t="M 0 0"),this[e]!==t&&(n.setAttribute(e,t),this[e]=t)},t.prototype.fadeOut=function(t){var e=this;e.animate({opacity:0},{duration:P(t,150),complete:function(){e.hide()}})},t.prototype.fillSetter=function(t,e,n){"string"===typeof t?n.setAttribute(e,t):t&&this.complexColor(t,e,n)},t.prototype.getBBox=function(e,n){var r=this.alignValue,o=this.element,i=this.renderer,a=this.styles,s=this.textStr,c=i.cache,u=i.cacheKeys,d=o.namespaceURI===this.SVG_NS;n=P(n,this.rotation,0);var f,p=i.styledMode?o&&t.prototype.getStyle.call(o,"font-size"):a&&a.fontSize;if(b(s)){var h=s.toString();-1===h.indexOf("<")&&(h=h.replace(/[0-9]/g,"0")),h+=["",n,p,this.textWidth,r,a&&a.textOverflow,a&&a.fontWeight].join()}if(h&&!e&&(f=c[h]),!f){if(d||i.forExport){try{var v=this.fakeTS&&function(t){var e=o.querySelector(".highcharts-text-outline");e&&m(e,{display:t})};S(v)&&v("none"),f=o.getBBox?x({},o.getBBox()):{width:o.offsetWidth,height:o.offsetHeight},S(v)&&v("")}catch(y){}(!f||0>f.width)&&(f={x:0,y:0,width:0,height:0})}else f=this.htmlGetBBox();if(i.isSVG&&(i=f.width,e=f.height,d&&(f.height=e={"11px,17":14,"13px,20":16}[""+(p||"")+",".concat(Math.round(e))]||e),n)){d=Number(o.getAttribute("y")||0)-f.y,r={right:1,center:.5}[r||0]||0,a=n*l,p=(n-90)*l;var g=i*Math.cos(a);n=i*Math.sin(a),v=Math.cos(p),a=Math.sin(p),g=(v=(p=(i=f.x+r*(i-g)+d*v)+g)-e*v)-g,n=(e=(r=(d=f.y+d-r*n+d*a)+n)-e*a)-n,f.x=Math.min(i,p,v,g),f.y=Math.min(d,r,e,n),f.width=Math.max(i,p,v,g)-f.x,f.height=Math.max(d,r,e,n)-f.y}if(h&&(""===s||0<f.height)){for(;250<u.length;)delete c[u.shift()];c[h]||u.push(h),c[h]=f}}return f},t.prototype.getStyle=function(t){return p.getComputedStyle(this.element||this,"").getPropertyValue(t)},t.prototype.hasClass=function(t){return-1!==(""+this.attr("class")).split(" ").indexOf(t)},t.prototype.hide=function(){return this.attr({visibility:"hidden"})},t.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},t.prototype.init=function(t,e){this.element="span"===e?g(e):c.createElementNS(this.SVG_NS,e),this.renderer=t,w(this,"afterInit")},t.prototype.invert=function(t){return this.inverted=t,this.updateTransform(),this},t.prototype.on=function(t,e){var n=this.onEvents;return n[t]&&n[t](),n[t]=h(this.element,t,e),this},t.prototype.opacitySetter=function(t,e,n){this.opacity=t=Number(Number(t).toFixed(3)),n.setAttribute(e,t)},t.prototype.removeClass=function(t){return this.attr("class",(""+this.attr("class")).replace(C(t)?new RegExp("(^| )".concat(t,"( |$)")):t," ").replace(/ +/g," ").trim())},t.prototype.removeTextOutline=function(){var t=this.element.querySelector("tspan.highcharts-text-outline");t&&this.safeRemoveChild(t)},t.prototype.safeRemoveChild=function(t){var e=t.parentNode;e&&e.removeChild(t)},t.prototype.setRadialReference=function(t){var e=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=t,e&&e.radAttr&&e.animate(this.renderer.getRadialAttr(t,e.radAttr)),this},t.prototype.setTextPath=function(t,n){var r=this.element,o=this.text?this.text.element:r,i={textAnchor:"text-anchor"},a=!1,s=this.textPathWrapper,l=!s;n=k(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},n);var c=e.filterUserAttributes(n.attributes);if(t&&n&&n.enabled){s&&null===s.element.parentNode?(l=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),a=!0);var d=s.element;if((n=t.element.getAttribute("id"))||t.element.setAttribute("id",n=T()),l)for(o.setAttribute("y",0),j(c.dx)&&o.setAttribute("x",-c.dx),t=[].slice.call(o.childNodes),l=0;l<t.length;l++){var f=t[l];f.nodeType!==p.Node.TEXT_NODE&&"tspan"!==f.nodeName||d.appendChild(f)}a&&s&&s.add({element:o}),d.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+n),b(c.dy)&&(d.parentNode.setAttribute("dy",c.dy),delete c.dy),b(c.dx)&&(d.parentNode.setAttribute("dx",c.dx),delete c.dx),E(c,(function(t,e){d.setAttribute(i[e]||e,t)})),r.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=u}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(r,t),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},t.prototype.shadow=function(t,e,n){var r,o=[],i=this.element,a=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===t?r=s:"object"===typeof t&&(r=x(s,t)),r&&(r&&a&&E(r,(function(t,e){t!==a[e]&&(l=!0)})),l&&this.destroyShadows(),this.oldShadowOptions=r),r){if(!this.shadows){var c=r.opacity/r.width,u=this.parentInverted?"translate(".concat(r.offsetY,", ").concat(r.offsetX,")"):"translate(".concat(r.offsetX,", ").concat(r.offsetY,")");for(s=1;s<=r.width;s++){var d=i.cloneNode(!1),f=2*r.width+1-2*s;v(d,{stroke:t.color||"#000000","stroke-opacity":c*s,"stroke-width":f,transform:u,fill:"none"}),d.setAttribute("class",(d.getAttribute("class")||"")+" highcharts-shadow"),n&&(v(d,"height",Math.max(v(d,"height")-f,0)),d.cutHeight=f),e?e.element.appendChild(d):i.parentNode&&i.parentNode.insertBefore(d,i),o.push(d)}this.shadows=o}}else this.destroyShadows();return this},t.prototype.show=function(t){return void 0===t&&(t=!0),this.attr({visibility:t?"inherit":"visible"})},t.prototype.strokeSetter=function(e,n,r){this[n]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",r),r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===e&&this.hasStroke?(r.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},t.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var t=this.getStyle("stroke-width"),e=0;if(t.indexOf("px")===t.length-2)e=_(t);else if(""!==t){var n=c.createElementNS(f,"rect");v(n,{width:t,"stroke-width":0}),this.element.parentNode.appendChild(n),e=n.getBBox().width,n.parentNode.removeChild(n)}return e},t.prototype.symbolAttr=function(t){var e=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach((function(n){e[n]=P(t[n],e[n])})),e.attr({d:e.renderer.symbols[e.symbolName](e.x,e.y,e.width,e.height,e)})},t.prototype.textSetter=function(t){t!==this.textStr&&(delete this.textPxLength,this.textStr=t,this.added&&this.renderer.buildText(this))},t.prototype.titleSetter=function(t){var e=this.element,n=e.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");e.insertBefore?e.insertBefore(n,e.firstChild):e.appendChild(n),n.textContent=String(P(t,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},t.prototype.toFront=function(){var t=this.element;return t.parentNode.appendChild(t),this},t.prototype.translate=function(t,e){return this.attr({translateX:t,translateY:e})},t.prototype.updateShadows=function(t,e,n){var r=this.shadows;if(r)for(var o=r.length;o--;)n.call(r[o],"height"===t?Math.max(e-(r[o].cutHeight||0),0):"d"===t?this.d:e,t,r[o])},t.prototype.updateTransform=function(){var t=this.scaleX,e=this.scaleY,n=this.inverted,r=this.rotation,o=this.matrix,i=this.element,a=this.translateX||0,s=this.translateY||0;n&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],b(o)&&a.push("matrix("+o.join(",")+")"),n?a.push("rotate(90) scale(-1,1)"):r&&a.push("rotate("+r+" "+P(this.rotationOriginX,i.getAttribute("x"),0)+" "+P(this.rotationOriginY,i.getAttribute("y")||0)+")"),(b(t)||b(e))&&a.push("scale("+P(t,1)+" "+P(e,1)+")"),a.length&&i.setAttribute("transform",a.join(" "))},t.prototype.visibilitySetter=function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},t.prototype.xGetter=function(t){return"circle"===this.element.nodeName&&("x"===t?t="cx":"y"===t&&(t="cy")),this._defaultGetter(t)},t.prototype.zIndexSetter=function(t,e){var n=this.renderer,r=this.parentGroup,o=(r||n).element||n.box,i=this.element;n=o===n.box;var a,s=!1,l=this.added;if(b(t)?(i.setAttribute("data-z-index",t),t=+t,this[e]===t&&(l=!1)):b(this[e])&&i.removeAttribute("data-z-index"),this[e]=t,l){for((t=this.zIndex)&&r&&(r.handleZ=!0),a=(e=o.childNodes).length-1;0<=a&&!s;a--){l=(r=e[a]).getAttribute("data-z-index");var c=!b(l);r!==i&&(0>t&&c&&!n&&!a?(o.insertBefore(i,e[a]),s=!0):(_(l)<=t||c&&(!b(t)||0<=t))&&(o.insertBefore(i,e[a+1]||null),s=!0))}s||(o.insertBefore(i,e[n?3:0]||null),s=!0)}return s},t}(),t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter,t.prototype.yGetter=t.prototype.xGetter,t.prototype.matrixSetter=t.prototype.rotationOriginXSetter=t.prototype.rotationOriginYSetter=t.prototype.rotationSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.verticalAlignSetter=function(t,e){this[e]=t,this.doTransform=!0},t})),e(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],(function(t){var e;return function(e){var n;e.rendererTypes={},e.getRendererType=function(t){return void 0===t&&(t=n),e.rendererTypes[t]||e.rendererTypes[n]},e.registerRendererType=function(r,o,i){e.rendererTypes[r]=o,n&&!i||(n=r,t.Renderer=o)}}(e||(e={})),e})),e(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e.defined,o=e.extend,i=e.isNumber,a=e.merge,s=e.pick,l=e.removeEvent;return function(e){function c(t,n,r,o,i,a,s,l,u,d){var f,p=e.call(this)||this;return p.paddingLeftSetter=p.paddingSetter,p.paddingRightSetter=p.paddingSetter,p.init(t,"g"),p.textStr=n,p.x=r,p.y=o,p.anchorX=a,p.anchorY=s,p.baseline=u,p.className=d,p.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&p.addClass("highcharts-"+d),p.text=t.text(void 0,0,0,l).attr({zIndex:1}),"string"===typeof i&&((f=/^url\((.*?)\)$/.test(i))||p.renderer.symbols[i])&&(p.symbolKey=i),p.bBox=c.emptyBBox,p.padding=3,p.baselineOffset=0,p.needsBox=t.styledMode||f,p.deferredAttr={},p.alignFactor=0,p}return n(c,e),c.prototype.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==this.alignFactor&&(this.alignFactor=t,this.bBox&&i(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(t,e){this.anchorX=t,this.boxAttr(e,Math.round(t)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(t,e){this.anchorY=t,this.boxAttr(e,t-this.ySetting)},c.prototype.boxAttr=function(t,e){this.box?this.box.attr(t,e):this.deferredAttr[t]=e},c.prototype.css=function(e){if(e){var n={};e=a(e),c.textProps.forEach((function(t){"undefined"!==typeof e[t]&&(n[t]=e[t],delete e[t])})),this.text.css(n);var r="width"in n;"fontSize"in n||"fontWeight"in n?this.updateTextPadding():r&&this.updateBoxSize()}return t.prototype.css.call(this,e)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),t.prototype.destroy.call(this)},c.prototype.fillSetter=function(t,e){t&&(this.needsBox=!0),this.fill=t,this.boxAttr(e,t)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var t=this.padding,e=s(this.paddingLeft,t);return{width:this.width,height:this.height,x:this.bBox.x-e,y:this.bBox.y-t}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(t){this.heightSetting=t},c.prototype.onAdd=function(){var t=this.textStr;this.text.add(this),this.attr({text:r(t)?t:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(t,e){i(t)?t!==this[e]&&(this[e]=t,this.updateTextPadding()):this[e]=void 0},c.prototype.rSetter=function(t,e){this.boxAttr(e,t)},c.prototype.shadow=function(t){return t&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(t)),this},c.prototype.strokeSetter=function(t,e){this.stroke=t,this.boxAttr(e,t)},c.prototype["stroke-widthSetter"]=function(t,e){t&&(this.needsBox=!0),this["stroke-width"]=t,this.boxAttr(e,t)},c.prototype["text-alignSetter"]=function(t){this.textAlign=t},c.prototype.textSetter=function(t){"undefined"!==typeof t&&this.text.attr({text:t}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var t=this.text.element.style,e={},n=this.padding,a=this.bBox=i(this.widthSetting)&&i(this.heightSetting)&&!this.textAlign||!r(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*n,t=this.renderer.fontMetrics(t&&t.fontSize,this.text),this.baselineOffset=n+Math.min((this.text.firstLineMetrics||t).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-t.h)/2),this.needsBox&&(this.box||((n=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),n.add(this)),n=this.getCrispAdjust(),e.x=n,e.y=(this.baseline?-this.baselineOffset:0)+n,e.width=Math.round(this.width),e.height=Math.round(this.height),this.box.attr(o(e,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var t=this.text;this.updateBoxSize();var e=this.baseline?0:this.baselineOffset,n=s(this.paddingLeft,this.padding);r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===t.x&&e===t.y||(t.attr("x",n),t.hasBoxWidthChanged&&(this.bBox=t.getBBox(!0)),"undefined"!==typeof e&&t.attr("y",e)),t.x=n,t.y=e},c.prototype.widthSetter=function(t){this.widthSetting=i(t)?t:void 0},c.prototype.getPaddedWidth=function(){var t=this.padding,e=s(this.paddingLeft,t);return t=s(this.paddingRight,t),(this.widthSetting||this.bBox.width||0)+e+t},c.prototype.xSetter=function(t){this.x=t,this.alignFactor&&(t-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(t),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(t){this.ySetting=this.y=Math.round(t),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(t)})),e(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],(function(t){function e(t,e,n,r,i){var s=[];if(i){var l=i.start||0,c=a(i.r,n);n=a(i.r,r||n);var u=(i.end||0)-.001;r=i.innerR;var d=a(i.open,.001>Math.abs((i.end||0)-l-2*Math.PI)),f=Math.cos(l),p=Math.sin(l),h=Math.cos(u),v=Math.sin(u);l=a(i.longArc,.001>u-l-Math.PI?0:1),s.push(["M",t+c*f,e+n*p],["A",c,n,0,l,a(i.clockwise,1),t+c*h,e+n*v]),o(r)&&s.push(d?["M",t+r*h,e+r*v]:["L",t+r*h,e+r*v],["A",r,r,0,l,o(i.clockwise)?1-i.clockwise:0,t+r*f,e+r*p]),d||s.push(["Z"])}return s}function n(t,e,n,o,i){return i&&i.r?r(t,e,n,o,i):[["M",t,e],["L",t+n,e],["L",t+n,e+o],["L",t,e+o],["Z"]]}function r(t,e,n,r,o){return[["M",t+(o=o&&o.r||0),e],["L",t+n-o,e],["C",t+n,e,t+n,e,t+n,e+o],["L",t+n,e+r-o],["C",t+n,e+r,t+n,e+r,t+n-o,e+r],["L",t+o,e+r],["C",t,e+r,t,e+r,t,e+r-o],["L",t,e+o],["C",t,e,t,e,t+o,e]]}var o=t.defined,i=t.isNumber,a=t.pick;return{arc:e,callout:function(t,e,n,o,a){var s=Math.min(a&&a.r||0,n,o),l=s+6,c=a&&a.anchorX;a=a&&a.anchorY||0;var u=r(t,e,n,o,{r:s});return i(c)?(t+c>=n?a>e+l&&a<e+o-l?u.splice(3,1,["L",t+n,a-6],["L",t+n+6,a],["L",t+n,a+6],["L",t+n,e+o-s]):u.splice(3,1,["L",t+n,o/2],["L",c,a],["L",t+n,o/2],["L",t+n,e+o-s]):0>=t+c?a>e+l&&a<e+o-l?u.splice(7,1,["L",t,a+6],["L",t-6,a],["L",t,a-6],["L",t,e+s]):u.splice(7,1,["L",t,o/2],["L",c,a],["L",t,o/2],["L",t,e+s]):a&&a>o&&c>t+l&&c<t+n-l?u.splice(5,1,["L",c+6,e+o],["L",c,e+o+6],["L",c-6,e+o],["L",t+s,e+o]):a&&0>a&&c>t+l&&c<t+n-l&&u.splice(1,1,["L",c-6,e],["L",c,e-6],["L",c+6,e],["L",n-s,e]),u):u},circle:function(t,n,r,o){return e(t+r/2,n+o/2,r/2,o/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r/2],["L",t+n/2,e+r],["L",t,e+r/2],["Z"]]},rect:n,roundedRect:r,square:n,triangle:function(t,e,n,r){return[["M",t+n/2,e],["L",t+n,e+r],["L",t,e+r],["Z"]]},"triangle-down":function(t,e,n,r){return[["M",t,e],["L",t+n,e],["L",t+n/2,e+r],["Z"]]}}})),e(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=e.doc,o=e.SVG_NS,i=e.win,a=n.attr,s=n.extend,l=n.isString,c=n.objectEach,u=n.pick;return function(){function e(t){var e=t.styles;this.renderer=t.renderer,this.svgElement=t,this.width=t.textWidth,this.textLineHeight=e&&e.lineHeight,this.textOutline=e&&e.textOutline,this.ellipsis=!(!e||"ellipsis"!==e.textOverflow),this.noWrap=!(!e||"nowrap"!==e.whiteSpace),this.fontSize=e&&e.fontSize}return e.prototype.buildSVG=function(){var e=this.svgElement,n=e.element,o=e.renderer,i=u(e.textStr,"").toString(),a=-1!==i.indexOf("<"),s=n.childNodes;o=this.width&&!e.added&&o.box;var c=[i,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(c!==e.textCache){for(e.textCache=c,delete e.actualWidth,c=s.length;c--;)n.removeChild(s[c]);a||this.ellipsis||this.width||-1!==i.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(i))?""!==i&&(o&&o.appendChild(n),i=new t(i),this.modifyTree(i.nodes),i.addToDOM(e.element),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("\u2026")&&e.attr("title",this.unescapeEntities(e.textStr||"",["&lt;","&gt;"])),o&&o.removeChild(n)):n.appendChild(r.createTextNode(this.unescapeEntities(i))),l(this.textOutline)&&e.applyTextOutline&&e.applyTextOutline(this.textOutline)}},e.prototype.modifyDOM=function(){var t,e=this,n=this.svgElement,s=a(n.element,"x");for(n.firstLineMetrics=void 0;(t=n.element.firstChild)&&/^[\s\u200B]*$/.test(t.textContent||" ");)n.element.removeChild(t);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),(function(t,r){t.nextSibling&&t.previousSibling&&(0===r&&1===t.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,t.previousSibling)),a(t,{dy:e.getLineHeight(t.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(t,i){var c=t.textContent||"",u=c.replace(/([^\^])-/g,"$1- ").split(" "),d=!e.noWrap&&(1<u.length||1<n.element.childNodes.length),f=e.getLineHeight(i),p=0,h=n.actualWidth;if(e.ellipsis)c&&e.truncate(t,c,void 0,0,Math.max(0,l-parseInt(e.fontSize||12,10)),(function(t,e){return t.substring(0,e)+"\u2026"}));else if(d){for(c=[],d=[];i.firstChild&&i.firstChild!==t;)d.push(i.firstChild),i.removeChild(i.firstChild);for(;u.length;)u.length&&!e.noWrap&&0<p&&(c.push(t.textContent||""),t.textContent=u.join(" ").replace(/- /g,"-")),e.truncate(t,void 0,u,0===p&&h||0,l,(function(t,e){return u.slice(0,e).join(" ").replace(/- /g,"-")})),h=n.actualWidth,p++;d.forEach((function(e){i.insertBefore(e,t)})),c.forEach((function(e){i.insertBefore(r.createTextNode(e),t),(e=r.createElementNS(o,"tspan")).textContent="\u200b",a(e,{dy:f,x:s}),i.insertBefore(e,t)}))}};!function t(e){[].slice.call(e.childNodes).forEach((function(r){r.nodeType===i.Node.TEXT_NODE?c(r,e):(-1!==r.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),t(r))}))}(n.element)}},e.prototype.getLineHeight=function(t){var e;return t=t.nodeType===i.Node.TEXT_NODE?t.parentElement:t,this.renderer.styledMode||(e=t&&/(px|em)$/.test(t.style.fontSize)?t.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(e,t||this.svgElement.element).h},e.prototype.modifyTree=function(t){var e=this;t.forEach((function n(r,o){var i=r.attributes;i=void 0===i?{}:i;var a=r.children,l=r.style;l=void 0===l?{}:l;var c=r.tagName,u=e.renderer.styledMode;"b"===c||"strong"===c?u?i.class="highcharts-strong":l.fontWeight="bold":"i"!==c&&"em"!==c||(u?i.class="highcharts-emphasized":l.fontStyle="italic"),l&&l.color&&(l.fill=l.color),"br"===c?(i.class="highcharts-br",r.textContent="\u200b",(o=t[o+1])&&o.textContent&&(o.textContent=o.textContent.replace(/^ +/gm,""))):"a"===c&&a&&a.some((function(t){return"#text"===t.tagName}))&&(r.children=[{children:a,tagName:"tspan"}]),"#text"!==c&&"a"!==c&&(r.tagName="tspan"),s(r,{attributes:i,style:l}),a&&a.filter((function(t){return"#text"!==t.tagName})).forEach(n)}))},e.prototype.truncate=function(t,e,n,r,o,i){var a,s=this.svgElement,l=s.renderer,c=s.rotation,u=[],d=n?1:0,f=(e||n||"").length,p=f,h=function(o,a){a=a||o;var c=t.parentNode;if(c&&"undefined"===typeof u[a])if(c.getSubStringLength)try{u[a]=r+c.getSubStringLength(0,n?a+1:a)}catch(d){}else l.getSpanWidth&&(t.textContent=i(e||n,o),u[a]=r+l.getSpanWidth(s,t));return u[a]};s.rotation=0;var v=h(t.textContent.length);if(r+v>o){for(;d<=f;)p=Math.ceil((d+f)/2),n&&(a=i(n,p)),v=h(p,a&&a.length-1),d===f?d=f+1:v>o?f=p-1:d=p;0===f?t.textContent="":e&&f===e.length-1||(t.textContent=a||i(e||n,p))}n&&n.splice(0,p),s.actualWidth=v,s.rotation=c},e.prototype.unescapeEntities=function(t,e){return c(this.renderer.escapes,(function(n,r){e&&-1!==e.indexOf(n)||(t=t.toString().replace(new RegExp(n,"g"),r))})),t},e}()})),e(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l){var c,u=n.charts,d=n.deg2rad,f=n.doc,p=n.isFirefox,h=n.isMS,v=n.isWebKit,g=n.noop,m=n.SVG_NS,b=n.symbolSizes,y=n.win,x=l.addEvent,w=l.attr,O=l.createElement,S=l.css,j=l.defined,C=l.destroyObjectProperties,k=l.extend,E=l.isArray,P=l.isNumber,_=l.isObject,M=l.isString,T=l.merge,A=l.pick,R=l.pInt,D=l.uniqueKey;return n=function(){function n(t,e,n,r,o,i,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(t,e,n,r,o,i,a)}return n.prototype.init=function(t,e,n,r,o,i,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;a||l.css(this.getStyle(r)),t.appendChild(c),w(t,"dir","ltr"),-1===t.innerHTML.indexOf("xmlns")&&w(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(f.createTextNode("Created with Highcharts 10.2.0")),this.defs=this.createElement("defs").add(),this.allowHTML=i,this.forExport=o,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1),p&&t.getBoundingClientRect&&((e=function(){S(t,{left:0,top:0}),s=t.getBoundingClientRect(),S(t,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=x(y,"resize",e))},n.prototype.definition=function(e){return new t([e]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((p||v)&&f.getElementsByTagName("base").length){if(!j(c)){var e=D();e=new t([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:e},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#".concat(e,")"),fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(f.body),S(e,{position:"fixed",top:0,left:0,zIndex:9e5});var n=f.elementFromPoint(6,6);c="hitme"===(n&&n.id),f.body.removeChild(e)}if(c)return y.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(t){return this.style=k({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},n.prototype.setStyle=function(t){this.boxWrapper.css(this.getStyle(t))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),C(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(t){var e=new this.Element;return e.init(this,t),e},n.prototype.getRadialAttr=function(t,e){return{cx:t[0]-t[2]/2+(e.cx||0)*t[2],cy:t[1]-t[2]/2+(e.cy||0)*t[2],r:(e.r||0)*t[2]}},n.prototype.buildText=function(t){new s(t).buildSVG()},n.prototype.getContrast=function(t){return 1.05/(.05+(t=.2126*(t=e.parse(t).rgba.map((function(t){return.03928>=(t/=255)?t/12.92:Math.pow((t+.055)/1.055,2.4)})))[0]+.7152*t[1]+.0722*t[2]))>(t+.05)/.05?"#FFFFFF":"#000000"},n.prototype.button=function(e,n,r,o,i,a,s,l,c,u){void 0===i&&(i={});var d=this.label(e,n,r,c,void 0,void 0,u,void 0,"button"),f=this.styledMode;e=i.states||{};var p=0;delete(i=T(i)).states;var v=T({color:"#333333",cursor:"pointer",fontWeight:"normal"},i.style);delete i.style;var g=t.filterUserAttributes(i);if(d.attr(T({padding:8,r:2},g)),!f){g=T({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1},g);var m=(a=T(g,{fill:"#e6e6e6"},t.filterUserAttributes(a||e.hover||{}))).style;delete a.style;var b=(s=T(g,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},t.filterUserAttributes(s||e.select||{}))).style;delete s.style;var y=(l=T(g,{style:{color:"#cccccc"}},t.filterUserAttributes(l||e.disabled||{}))).style;delete l.style}return x(d.element,h?"mouseover":"mouseenter",(function(){3!==p&&d.setState(1)})),x(d.element,h?"mouseout":"mouseleave",(function(){3!==p&&d.setState(p)})),d.setState=function(t){1!==t&&(d.state=p=t),d.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][t||0]),f||(d.attr([g,a,s,l][t||0]),_(t=[v,m,b,y][t||0])&&d.css(t))},f||d.attr(g).css(k({cursor:"default"},v)),d.on("touchstart",(function(t){return t.stopPropagation()})).on("click",(function(t){3!==p&&o.call(d,t)}))},n.prototype.crispLine=function(t,e,n){void 0===n&&(n="round");var r=t[0],o=t[1];return j(r[1])&&r[1]===o[1]&&(r[1]=o[1]=Math[n](r[1])-e%2/2),j(r[2])&&r[2]===o[2]&&(r[2]=o[2]=Math[n](r[2])+e%2/2),t},n.prototype.path=function(t){var e=this.styledMode?{}:{fill:"none"};return E(t)?e.d=t:_(t)&&k(e,t),this.createElement("path").attr(e)},n.prototype.circle=function(t,e,n){return t=_(t)?t:"undefined"===typeof t?{}:{x:t,y:e,r:n},(e=this.createElement("circle")).xSetter=e.ySetter=function(t,e,n){n.setAttribute("c"+e,t)},e.attr(t)},n.prototype.arc=function(t,e,n,r,o,i){return _(t)?(e=(r=t).y,n=r.r,t=r.x):r={innerR:r,start:o,end:i},(t=this.symbol("arc",t,e,n,n,r)).r=n,t},n.prototype.rect=function(t,e,n,r,o,i){o=_(t)?t.r:o;var a=this.createElement("rect");return t=_(t)?t:"undefined"===typeof t?{}:{x:t,y:e,width:Math.max(n,0),height:Math.max(r,0)},this.styledMode||("undefined"!==typeof i&&(t["stroke-width"]=i,t=a.crisp(t)),t.fill="none"),o&&(t.r=o),a.rSetter=function(t,e,n){a.r=t,w(n,{rx:t,ry:t})},a.rGetter=function(){return a.r||0},a.attr(t)},n.prototype.setSize=function(t,e,n){this.width=t,this.height=e,this.boxWrapper.animate({width:t,height:e},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:A(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(t){var e=this.createElement("g");return t?e.attr({class:"highcharts-"+t}):e},n.prototype.image=function(t,e,n,r,o,i){var a={preserveAspectRatio:"none"},s=function(t,e){t.setAttributeNS?t.setAttributeNS("http://www.w3.org/1999/xlink","href",e):t.setAttribute("hc-svg-href",e)};P(e)&&(a.x=e),P(n)&&(a.y=n),P(r)&&(a.width=r),P(o)&&(a.height=o);var l=this.createElement("image").attr(a);return e=function(e){s(l.element,t),i.call(l,e)},i?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new y.Image,x(n,"load",e),n.src=t,n.complete&&e({})):s(l.element,t),l},n.prototype.symbol=function(t,e,n,r,o,i){var a,s=this,l=/^url\((.*?)\)$/,c=l.test(t),d=!c&&(this.symbols[t]?t:"circle"),p=d&&this.symbols[d];if(p){"number"===typeof e&&(a=p.call(this.symbols,Math.round(e||0),Math.round(n||0),r||0,o||0,i));var h=this.path(a);s.styledMode||h.attr("fill","none"),k(h,{symbolName:d||void 0,x:e,y:n,width:r,height:o}),i&&k(h,i)}else if(c){var v=t.match(l)[1],g=h=this.image(v);g.imgwidth=A(b[v]&&b[v].width,i&&i.width),g.imgheight=A(b[v]&&b[v].height,i&&i.height);var m=function(t){return t.attr({width:t.width,height:t.height})};["width","height"].forEach((function(t){g[t+"Setter"]=function(t,e){var n=this["img"+e];this[e]=t,j(n)&&(i&&"within"===i.backgroundSize&&this.width&&this.height&&(n=Math.round(n*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(e,n),this.alignByTranslate||(t=((this[e]||0)-n)/2,this.attr("width"===e?{translateX:t}:{translateY:t})))}})),j(e)&&g.attr({x:e,y:n}),g.isImg=!0,j(g.imgwidth)&&j(g.imgheight)?m(g):(g.attr({width:0,height:0}),O("img",{onload:function(){var t=u[s.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),f.body.appendChild(this)),b[v]={width:this.width,height:this.height},g.imgwidth=this.width,g.imgheight=this.height,g.element&&m(g),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!t||t.hasLoaded||t.onload()},src:v}),this.imgCount++)}return h},n.prototype.clipRect=function(t,e,n,r){var o=D()+"-",i=this.createElement("clipPath").attr({id:o}).add(this.defs);return(t=this.rect(t,e,n,r,0).add(i)).id=o,t.clipPath=i,t.count=0,t},n.prototype.text=function(t,e,n,r){var o={};return!r||!this.allowHTML&&this.forExport?(o.x=Math.round(e||0),n&&(o.y=Math.round(n)),j(t)&&(o.text=t),t=this.createElement("text").attr(o),(!r||this.forExport&&!this.allowHTML)&&(t.xSetter=function(t,e,n){for(var r,o=n.getElementsByTagName("tspan"),i=n.getAttribute(e),a=0;a<o.length;a++)(r=o[a]).getAttribute(e)===i&&r.setAttribute(e,t);n.setAttribute(e,t)}),t):this.html(t,e,n)},n.prototype.fontMetrics=function(t,e){return t=!this.styledMode&&/px/.test(t)||!y.getComputedStyle?t||e&&e.style&&e.style.fontSize||this.style&&this.style.fontSize:e&&o.prototype.getStyle.call(e,"font-size"),{h:e=24>(t=/px/.test(t)?R(t):12)?t+3:Math.round(1.2*t),b:Math.round(.8*e),f:t}},n.prototype.rotCorr=function(t,e,n){var r=t;return e&&n&&(r=Math.max(r*Math.cos(e*d),4)),{x:-t/3*Math.sin(e*d),y:r}},n.prototype.pathToSegments=function(t){for(var e=[],n=[],r={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},o=0;o<t.length;o++)M(n[0])&&P(t[o])&&n.length===r[n[0].toUpperCase()]&&t.splice(o,0,n[0].replace("M","L").replace("m","l")),"string"===typeof t[o]&&(n.length&&e.push(n.slice(0)),n.length=0),n.push(t[o]);return e.push(n.slice(0)),e},n.prototype.label=function(t,e,n,r,o,a,s,l,c){return new i(this,t,e,n,r,o,a,s,l,c)},n.prototype.alignElements=function(){this.alignedObjects.forEach((function(t){return t.align()}))},n}(),k(n.prototype,{Element:o,SVG_NS:m,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:a,draw:g}),r.registerRendererType("svg",n,!0),n})),e(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=t.isFirefox,i=t.isMS,a=t.isWebKit,s=t.win,l=n.css,c=n.defined,u=n.extend,d=n.pick,f=n.pInt;return function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.compose=function(t){if(-1===e.composedClasses.indexOf(t)){e.composedClasses.push(t);var n=e.prototype,r=t.prototype;r.getSpanCorrection=n.getSpanCorrection,r.htmlCss=n.htmlCss,r.htmlGetBBox=n.htmlGetBBox,r.htmlUpdateTransform=n.htmlUpdateTransform,r.setSpanRotation=n.setSpanRotation}return t},e.prototype.getSpanCorrection=function(t,e,n){this.xCorr=-t*n,this.yCorr=-e},e.prototype.htmlCss=function(t){var e="SPAN"===this.element.tagName&&t&&"width"in t,n=d(e&&t.width,void 0);if(e){delete t.width,this.textWidth=n;var r=!0}return t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=u(this.styles,t),l(this.element,t),r&&this.htmlUpdateTransform(),this},e.prototype.htmlGetBBox=function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},e.prototype.htmlUpdateTransform=function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,r=this.translateY||0,o=this.x||0,i=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],u=this.styles;if(u=u&&u.whiteSpace,l(e,{marginLeft:n,marginTop:r}),!t.styledMode&&this.shadows&&this.shadows.forEach((function(t){l(t,{marginLeft:n+1,marginTop:r+1})})),this.inverted&&[].forEach.call(e.childNodes,(function(n){t.invertChild(n,e)})),"SPAN"===e.tagName){var d=this.rotation,p=this.textWidth&&f(this.textWidth),h=[d,a,e.innerHTML,this.textWidth,this.textAlign].join(),v=void 0;if(v=!1,p!==this.oldTextWidth){if(this.textPxLength)var g=this.textPxLength;else l(e,{width:"",whiteSpace:u||"nowrap"}),g=e.offsetWidth;(p>this.oldTextWidth||g>p)&&(/[ \-]/.test(e.textContent||e.innerText)||"ellipsis"===e.style.textOverflow)&&(l(e,{width:g>p||d?p+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=p,v=!0)}this.hasBoxWidthChanged=v,h!==this.cTT&&(v=t.fontMetrics(e.style.fontSize,e).b,!c(d)||d===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(d,s,v),this.getSpanCorrection(!c(d)&&this.textPxLength||e.offsetWidth,v,s,d,a)),l(e,{left:o+(this.xCorr||0)+"px",top:i+(this.yCorr||0)+"px"}),this.cTT=h,this.oldRotation=d,this.oldAlign=a}}else this.alignOnAdd=!0},e.prototype.setSpanRotation=function(t,e,n){var r={},c=i&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":o?"MozTransform":s.opera?"-o-transform":void 0;c&&(r[c]=r.transform="rotate("+t+"deg)",r[c+(o?"Origin":"-origin")]=r.transformOrigin=100*e+"% "+n+"px",l(this.element,r))},e.composedClasses=[],e}(e)})),e(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=r.attr,a=r.createElement,s=r.extend,l=r.pick;return function(n){function r(){return null!==n&&n.apply(this,arguments)||this}return o(r,n),r.compose=function(t){return-1===r.composedClasses.indexOf(t)&&(r.composedClasses.push(t),t.prototype.html=r.prototype.html),t},r.prototype.html=function(n,r,o){var c=this.createElement("span"),u=c.element,d=c.renderer,f=d.isSVG,p=function(t,n){["opacity","visibility"].forEach((function(r){t[r+"Setter"]=function(o,i,a){var s=t.div?t.div.style:n;e.prototype[r+"Setter"].call(this,o,i,a),s&&(s[i]=o)}})),t.addedSetters=!0};return c.textSetter=function(e){e!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,t.setElementHTML(this.element,l(e,"")),this.textStr=e,c.doTransform=!0)},f&&p(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(t,e){"align"===e?c.alignValue=c.textAlign=t:c[e]=t,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:n,x:Math.round(r),y:Math.round(o)}).css({position:"absolute"}),d.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,f&&(c.add=function(t){var e=d.box.parentNode,n=[];if(this.parentGroup=t){var r=t.div;if(!r){for(;t;)n.push(t),t=t.parentGroup;n.reverse().forEach((function(t){function o(e,n){t[n]=e,"translateX"===n?f.left=e+"px":f.top=e+"px",t.doTransform=!0}var l,u=i(t.element,"class"),d=t.styles||{},f=(r=t.div=t.div||a("div",u?{className:u}:void 0,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,cursor:d.cursor,pointerEvents:d.pointerEvents,visibility:t.visibility},r||e)).style;s(t,{classSetter:(l=r,function(t){this.element.setAttribute("class",t),l.className=t}),on:function(){return n[0].div&&c.on.apply({element:n[0].div,onEvents:t.onEvents},arguments),t},translateXSetter:o,translateYSetter:o}),t.addedSetters||p(t)}))}}else r=e;return r.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},r.composedClasses=[],r}(n)})),e(n,"Core/Axis/AxisDefaults.js",[],(function(){var t;return function(t){t.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},t.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},t.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},t.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},t.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},t.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(t||(t={})),t})),e(n,"Core/Foundation.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,r=t.isFunction,o=t.objectEach,i=t.removeEvent;return function(t){t.registerEventOptions=function(t,e){t.eventOptions=t.eventOptions||{},o(e.events,(function(e,o){t.eventOptions[o]!==e&&(t.eventOptions[o]&&(i(t,o,t.eventOptions[o]),delete t.eventOptions[o]),r(e)&&(t.eventOptions[o]=e,n(t,o,e)))}))}}(e||(e={})),e})),e(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=e.deg2rad,o=n.clamp,i=n.correctFloat,a=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,u=n.isNumber,d=n.merge,f=n.objectEach,p=n.pick;return e=function(){function e(t,e,n,r,o){this.isNewLabel=this.isNew=!0,this.axis=t,this.pos=e,this.type=n||"",this.parameters=o||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||r||this.addLabel()}return e.prototype.addLabel=function(){var e=this,n=e.axis,r=n.options,o=n.chart,s=n.categories,d=n.logarithmic,f=n.names,h=e.pos,v=p(e.options&&e.options.labels,r.labels),g=n.tickPositions,m=h===g[0],b=h===g[g.length-1],y=(!v.step||1===v.step)&&1===n.tickInterval;g=g.info;var x,w=e.label;if(s=this.parameters.category||(s?p(s[h],f[h],h):h),d&&u(s)&&(s=i(d.lin2log(s))),n.dateTime)if(g)var O=o.time.resolveDTLFormat(r.dateTimeLabelFormats[!r.grid&&g.higherRanks[h]||g.unitName]),S=O.main;else u(s)&&(S=n.dateTime.getXDateFormat(s,r.dateTimeLabelFormats||{}));e.isFirst=m,e.isLast=b;var j={axis:n,chart:o,dateTimeLabelFormat:S,isFirst:m,isLast:b,pos:h,tick:e,tickPositionInfo:g,value:s};c(this,"labelFormat",j);var C=function(e){return v.formatter?v.formatter.call(e,e):v.format?(e.text=n.defaultLabelFormatter.call(e),t.format(v.format,e,o)):n.defaultLabelFormatter.call(e,e)};r=C.call(j,j);var k=O&&O.list;e.shortenLabel=k?function(){for(x=0;x<k.length;x++)if(l(j,{dateTimeLabelFormat:k[x]}),w.attr({text:C.call(j,j)}),w.getBBox().width<n.getSlotWidth(e)-2*v.padding)return;w.attr({text:""})}:void 0,y&&n._addedPlotLB&&e.moveLabel(r,v),a(w)||e.movedLabel?w&&w.textStr!==r&&!y&&(!w.textWidth||v.style.width||w.styles.width||w.css({width:null}),w.attr({text:r}),w.textPxLength=w.getBBox().width):(e.label=w=e.createLabel({x:0,y:0},r,v),e.rotation=0)},e.prototype.createLabel=function(t,e,n){var r=this.axis,o=r.chart;return(t=a(e)&&n.enabled?o.renderer.text(e,t.x,t.y,n.useHTML).add(r.labelGroup):null)&&(o.styledMode||t.css(d(n.style)),t.textPxLength=t.getBBox().width),t},e.prototype.destroy=function(){s(this,this.axis)},e.prototype.getPosition=function(t,e,n,r){var a=this.axis,s=a.chart,l=r&&s.oldChartHeight||s.chartHeight;return(t={x:t?i(a.translate(e+n,void 0,void 0,r)+a.transB):a.left+a.offset+(a.opposite?(r&&s.oldChartWidth||s.chartWidth)-a.right-a.left:0),y:t?l-a.bottom+a.offset-(a.opposite?a.height:0):i(l-a.translate(e+n,void 0,void 0,r)-a.transB)}).y=o(t.y,-1e5,1e5),c(this,"afterGetPosition",{pos:t}),t},e.prototype.getLabelPosition=function(t,e,n,o,i,s,l,u){var d=this.axis,f=d.transA,p=d.isLinked&&d.linkedParent?d.linkedParent.reversed:d.reversed,h=d.staggerLines,v=d.tickRotCorr||{x:0,y:0},g=o||d.reserveSpaceDefault?0:-d.labelOffset*("center"===d.labelAlign?.5:1),m={};return n=0===d.side?n.rotation?-8:-n.getBBox().height:2===d.side?v.y+8:Math.cos(n.rotation*r)*(v.y-n.getBBox(!1,0).height/2),a(i.y)&&(n=0===d.side&&d.horiz?i.y+n:i.y),t=t+i.x+g+v.x-(s&&o?s*f*(p?-1:1):0),e=e+n-(s&&!o?s*f*(p?1:-1):0),h&&(o=l/(u||1)%h,d.opposite&&(o=h-o-1),e+=d.labelOffset/h*o),m.x=t,m.y=Math.round(e),c(this,"afterGetLabelPosition",{pos:m,tickmarkOffset:s,index:l}),m},e.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},e.prototype.getMarkPath=function(t,e,n,r,o,i){return i.crispLine([["M",t,e],["L",t+(o?0:-n),e+(o?n:0)]],r)},e.prototype.handleOverflow=function(t){var e=this.axis,n=e.options.labels,o=t.x,i=e.chart.chartWidth,a=e.chart.spacing,s=p(e.labelLeft,Math.min(e.pos,a[3]));a=p(e.labelRight,Math.max(e.isRadial?0:e.pos+e.len,i-a[1]));var l,c=this.label,u=this.rotation,d={left:0,center:.5,right:1}[e.labelAlign||c.attr("align")],f=c.getBBox().width,h=e.getSlotWidth(this),v={},g=h,m=1;u||"justify"!==n.overflow?0>u&&o-d*f<s?l=Math.round(o/Math.cos(u*r)-s):0<u&&o+d*f>a&&(l=Math.round((i-o)/Math.cos(u*r))):(i=o+(1-d)*f,o-d*f<s?g=t.x+g*(1-d)-s:i>a&&(g=a-t.x+g*d,m=-1),(g=Math.min(h,g))<h&&"center"===e.labelAlign&&(t.x+=m*(h-g-d*(h-Math.min(f,g)))),(f>g||e.autoRotation&&(c.styles||{}).width)&&(l=g)),l&&(this.shortenLabel?this.shortenLabel():(v.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(v.textOverflow="ellipsis"),c.css(v)))},e.prototype.moveLabel=function(t,e){var n=this,r=n.label,o=n.axis,i=o.reversed,a=!1;if(r&&r.textStr===t?(n.movedLabel=r,a=!0,delete n.label):f(o.ticks,(function(e){a||e.isNew||e===n||!e.label||e.label.textStr!==t||(n.movedLabel=e.label,a=!0,e.labelPos=n.movedLabel.xy,delete e.label)})),!a&&(n.labelPos||r)){var s=n.labelPos||r.xy;r=o.horiz?i?0:o.width+o.left:s.x,o=o.horiz?s.y:i?o.width+o.left:0,n.movedLabel=n.createLabel({x:r,y:o},t,e),n.movedLabel&&n.movedLabel.attr({opacity:0})}},e.prototype.render=function(t,e,n){var r=this.axis,o=r.horiz,i=this.pos,a=p(this.tickmarkOffset,r.tickmarkOffset);a=(i=this.getPosition(o,i,a,e)).x;var s=i.y;r=o&&a===r.pos+r.len||!o&&s===r.pos?-1:1,o=p(n,this.label&&this.label.newOpacity,1),n=p(n,1),this.isActive=!0,this.renderGridLine(e,n,r),this.renderMark(i,n,r),this.renderLabel(i,e,o,t),this.isNew=!1,c(this,"afterRender")},e.prototype.renderGridLine=function(t,e,n){var r=this.axis,o=r.options,i={},a=this.pos,s=this.type,l=p(this.tickmarkOffset,r.tickmarkOffset),c=r.chart.renderer,u=this.gridLine,d=o.gridLineWidth,f=o.gridLineColor,h=o.gridLineDashStyle;"minor"===this.type&&(d=o.minorGridLineWidth,f=o.minorGridLineColor,h=o.minorGridLineDashStyle),u||(r.chart.styledMode||(i.stroke=f,i["stroke-width"]=d||0,i.dashstyle=h),s||(i.zIndex=1),t&&(e=0),this.gridLine=u=c.path().attr(i).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(r.gridGroup)),u&&(n=r.getPlotLinePath({value:a+l,lineWidth:u.strokeWidth()*n,force:"pass",old:t}))&&u[t||this.isNew?"attr":"animate"]({d:n,opacity:e})},e.prototype.renderMark=function(t,e,n){var r=this.axis,o=r.options,i=r.chart.renderer,a=this.type,s=r.tickSize(a?a+"Tick":"tick"),l=t.x;t=t.y;var c=p(o["minor"!==a?"tickWidth":"minorTickWidth"],!a&&r.isXAxis?1:0);o=o["minor"!==a?"tickColor":"minorTickColor"];var u=this.mark,d=!u;s&&(r.opposite&&(s[0]=-s[0]),u||(this.mark=u=i.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(r.axisGroup),r.chart.styledMode||u.attr({stroke:o,"stroke-width":c})),u[d?"attr":"animate"]({d:this.getMarkPath(l,t,s[0],u.strokeWidth()*n,r.horiz,i),opacity:e}))},e.prototype.renderLabel=function(t,e,n,r){var o=this.axis,i=o.horiz,a=o.options,s=this.label,l=a.labels,c=l.step;o=p(this.tickmarkOffset,o.tickmarkOffset);var d=t.x;t=t.y;var f=!0;s&&u(d)&&(s.xy=t=this.getLabelPosition(d,t,s,i,l,o,r,c),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?f=!1:!i||l.step||l.rotation||e||0===n||this.handleOverflow(t),c&&r%c&&(f=!1),f&&u(t.y)?(t.opacity=n,s[this.isNewLabel?"attr":"animate"](t).show(!0),this.isNewLabel=!1):(s.hide(),this.isNewLabel=!0))},e.prototype.replaceMovedLabel=function(){var t=this.label,e=this.axis,n=e.reversed;if(t&&!this.isNew){var r=e.horiz?n?e.left:e.width+e.left:t.xy.x;n=e.horiz?t.xy.y:n?e.width+e.top:e.top,t.animate({x:r,y:n,opacity:0},void 0,t.destroy),delete this.label}e.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},e}(),e})),e(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s){var l=t.animObject,c=r.defaultOptions,u=o.registerEventOptions,d=i.deg2rad,f=s.arrayMax,p=s.arrayMin,h=s.clamp,v=s.correctFloat,g=s.defined,m=s.destroyObjectProperties,b=s.erase,y=s.error,x=s.extend,w=s.fireEvent,O=s.isArray,S=s.isNumber,j=s.isString,C=s.merge,k=s.normalizeTickInterval,E=s.objectEach,P=s.pick,_=s.relativeLength,M=s.removeEvent,T=s.splat,A=s.syncTimeout,R=function(t,e){return k(e,void 0,void 0,P(t.options.allowDecimals,.5>e||void 0!==t.tickAmount),!!t.tickAmount)};return t=function(){function t(t,e){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.bottom=this.alternateBands=void 0,this.init(t,e)}return t.prototype.init=function(t,e){var n=e.isX;this.chart=t,this.horiz=t.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),w(this,"init",{userOptions:e}),this.opposite=P(e.opposite,this.opposite),this.side=P(e.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(e);var r=this.options,o=r.labels,i=r.type;this.userOptions=e,this.minPixelPadding=0,this.reversed=P(r.reversed,this.reversed),this.visible=r.visible,this.zoomEnabled=r.zoomEnabled,this.hasNames="category"===i||!0===r.categories,this.categories=r.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=g(r.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=r.minRange||r.maxZoom,this.range=r.range,this.offset=r.offset||0,this.min=this.max=null,e=P(r.crosshair,T(t.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===e?{}:e,-1===t.axes.indexOf(this)&&(n?t.axes.splice(t.xAxis.length,0,this):t.axes.push(this),t[this.coll].push(this)),this.series=this.series||[],t.inverted&&!this.isZAxis&&n&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=S(o.rotation)?o.rotation:void 0,u(this,r),w(this,"afterInit")},t.prototype.setOptions=function(t){this.options=C(e.defaultXAxisOptions,"yAxis"===this.coll&&e.defaultYAxisOptions,[e.defaultTopAxisOptions,e.defaultRightAxisOptions,e.defaultBottomAxisOptions,e.defaultLeftAxisOptions][this.side],C(c[this.coll],t)),w(this,"afterSetOptions",{userOptions:t})},t.prototype.defaultLabelFormatter=function(t){var e=this.axis;t=this.chart.numberFormatter;var n=S(this.value)?this.value:NaN,r=e.chart.time,o=this.dateTimeLabelFormat,i=c.lang,a=i.numericSymbols;i=i.numericSymbolMagnitude||1e3;var s=e.logarithmic?Math.abs(n):e.tickInterval,l=a&&a.length;if(e.categories)var u="".concat(this.value);else if(o)u=r.dateFormat(o,n);else if(l&&1e3<=s)for(;l--&&"undefined"===typeof u;)s>=(e=Math.pow(i,l+1))&&0===10*n%e&&null!==a[l]&&0!==n&&(u=t(n/e,-1)+a[l]);return"undefined"===typeof u&&(u=1e4<=Math.abs(n)?t(n,-1):t(n,-1,void 0,"")),u},t.prototype.getSeriesExtremes=function(){var t,e=this,n=e.chart;w(this,"getSeriesExtremes",null,(function(){e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.stacking&&e.stacking.buildStacks(),e.series.forEach((function(r){if(r.visible||!n.options.chart.ignoreHiddenSeries){var o=r.options,i=o.threshold;if(e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=i&&(i=null),e.isXAxis){if((o=r.xData).length){o=e.logarithmic?o.filter(e.validatePositiveValue):o;var a=(t=r.getXExtremes(o)).min,s=t.max;S(a)||a instanceof Date||(o=o.filter(S),a=(t=r.getXExtremes(o)).min,s=t.max),o.length&&(e.dataMin=Math.min(P(e.dataMin,a),a),e.dataMax=Math.max(P(e.dataMax,s),s))}}else r=r.applyExtremes(),S(r.dataMin)&&(a=r.dataMin,e.dataMin=Math.min(P(e.dataMin,a),a)),S(r.dataMax)&&(s=r.dataMax,e.dataMax=Math.max(P(e.dataMax,s),s)),g(i)&&(e.threshold=i),(!o.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1)}}))})),w(this,"afterGetSeriesExtremes")},t.prototype.translate=function(t,e,n,r,o,i){var a=this.linkedParent||this,s=r&&a.old?a.old.min:a.min;if(!S(s))return NaN;var l=a.minPixelPadding;o=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&o)&&a.lin2val;var c=1,u=0;return(r=r&&a.old?a.old.transA:a.transA)||(r=a.transA),n&&(c*=-1,u=a.len),a.reversed&&(u-=(c*=-1)*(a.sector||a.len)),e?(i=(t*c+u-l)/r+s,o&&(i=a.lin2val(i))):(o&&(t=a.val2lin(t)),t=c*(t-s)*r,i=(a.isRadial?t:v(t))+u+c*l+(S(i)?r*i:0)),i},t.prototype.toPixels=function(t,e){return this.translate(t,!1,!this.horiz,void 0,!0)+(e?0:this.pos)},t.prototype.toValue=function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,void 0,!0)},t.prototype.getPlotLinePath=function(t){function e(t,e,n){return("pass"!==y&&t<e||t>n)&&(y?t=h(t,e,n):a=!0),t}var n,r,o,i,a,s=this,l=s.chart,c=s.left,u=s.top,d=t.old,f=t.value,p=t.lineWidth,v=d&&l.oldChartHeight||l.chartHeight,g=d&&l.oldChartWidth||l.chartWidth,m=s.transB,b=t.translatedValue,y=t.force;return t={value:f,lineWidth:p,old:d,force:y,acrossPanes:t.acrossPanes,translatedValue:b},w(this,"getPlotLinePath",t,(function(t){b=P(b,s.translate(f,void 0,void 0,d)),b=h(b,-1e5,1e5),n=o=Math.round(b+m),r=i=Math.round(v-b-m),S(b)?s.horiz?(r=u,i=v-s.bottom,n=o=e(n,c,c+s.width)):(n=c,o=g-s.right,r=i=e(r,u,u+s.height)):(a=!0,y=!1),t.path=a&&!y?null:l.renderer.crispLine([["M",n,r],["L",o,i]],p||1)})),t.path},t.prototype.getLinearTickPositions=function(t,e,n){var r=v(Math.floor(e/t)*t);n=v(Math.ceil(n/t)*t);var o,i=[];if(v(r+t)===r&&(o=20),this.single)return[e];for(e=r;e<=n&&(i.push(e),(e=v(e+t,o))!==a);)var a=e;return i},t.prototype.getMinorTickInterval=function(){var t=this.options;return!0===t.minorTicks?P(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},t.prototype.getMinorTickPositions=function(){var t=this.options,e=this.tickPositions,n=this.minorTickInterval,r=this.pointRangePadding||0,o=this.min-r,i=(r=this.max+r)-o,a=[];if(i&&i/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach((function(t,e,r){e&&a.push.apply(a,s.getLogTickPositions(n,r[e-1],r[e],!0))}));else if(this.dateTime&&"auto"===this.getMinorTickInterval())a=a.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),o,r,t.startOfWeek));else for(t=o+(e[0]-o)%n;t<=r&&t!==a[0];t+=n)a.push(t)}return 0!==a.length&&this.trimTicks(a),a},t.prototype.adjustForMinRange=function(){var t,e,n,r,o=this.options,i=this.logarithmic,a=this.min,s=this.max,l=0;if(this.isXAxis&&"undefined"===typeof this.minRange&&!i&&(g(o.min)||g(o.max)||g(o.floor)||g(o.ceiling)?this.minRange=null:(this.series.forEach((function(o){if(n=o.xData,r=o.xIncrement?1:n.length-1,1<n.length)for(t=r;0<t;t--)e=n[t]-n[t-1],(!l||e<l)&&(l=e)})),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-a<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,u=this.minRange,d=(u-s+a)/2;d=[a-d,P(o.min,a-d)],c&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=f(d))+u,P(o.max,a+u)],c&&(s[2]=i?i.log2lin(this.dataMax):this.dataMax),(s=p(s))-a<u&&(d[0]=s-u,d[1]=P(o.min,s-u),a=f(d))}this.min=a,this.max=s},t.prototype.getClosest=function(){var t;return this.categories?t=1:this.series.forEach((function(e){var n=e.closestPointRange,r=e.visible||!e.chart.options.chart.ignoreHiddenSeries;!e.noSharedTooltip&&g(n)&&r&&(t=g(t)?Math.min(t,n):n)})),t},t.prototype.nameToX=function(t){var e=O(this.options.categories),n=e?this.categories:this.names,r=t.options.x;if(t.series.requireSorting=!1,g(r)||(r=this.options.uniqueNames&&n?e?n.indexOf(t.name):P(n.keys[t.name],-1):t.series.autoIncrement()),-1===r){if(!e&&n)var o=n.length}else o=r;return"undefined"!==typeof o&&(this.names[o]=t.name,this.names.keys[t.name]=o),o},t.prototype.updateNames=function(){var t=this,e=this.names;0<e.length&&(Object.keys(e.keys).forEach((function(t){delete e.keys[t]})),e.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach((function(e){e.xIncrement=null,e.points&&!e.isDirtyData||(t.max=Math.max(t.max,e.xData.length-1),e.processData(),e.generatePoints()),e.data.forEach((function(n,r){if(n&&n.options&&"undefined"!==typeof n.name){var o=t.nameToX(n);"undefined"!==typeof o&&o!==n.x&&(n.x=o,e.xData[r]=o)}}))})))},t.prototype.setAxisTranslation=function(){var t=this,e=t.max-t.min,n=t.linkedParent,r=!!t.categories,o=t.isXAxis,i=t.axisPointRange||0,a=0,s=0,l=t.transA;if(o||r||i){var c=t.getClosest();n?(a=n.minPointOffset,s=n.pointRangePadding):t.series.forEach((function(e){var n=r?1:o?P(e.options.pointRange,c,0):t.axisPointRange||0,l=e.options.pointPlacement;i=Math.max(i,n),t.single&&!r||(e=e.is("xrange")?!o:o,a=Math.max(a,e&&j(l)?0:n/2),s=Math.max(s,e&&"on"===l?0:n))})),n=t.ordinal&&t.ordinal.slope&&c?t.ordinal.slope/c:1,t.minPointOffset=a*=n,t.pointRangePadding=s*=n,t.pointRange=Math.min(i,t.single&&r?1:e),o&&(t.closestPointRange=c)}t.translationSlope=t.transA=l=t.staticScale||t.len/(e+s||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=l*a,w(this,"afterSetAxisTranslation")},t.prototype.minFromRange=function(){return this.max-this.range},t.prototype.setTickInterval=function(t){var e=this.chart,n=this.logarithmic,r=this.options,o=this.isXAxis,i=this.isLinked,a=r.tickPixelInterval,s=this.categories,l=this.softThreshold,c=r.maxPadding,u=r.minPadding,d=S(r.tickInterval)&&0<=r.tickInterval?r.tickInterval:void 0,f=S(this.threshold)?this.threshold:null;this.dateTime||s||i||this.getTickAmount();var p=P(this.userMin,r.min),h=P(this.userMax,r.max);if(i){this.linkedParent=e[this.coll][r.linkedTo];var m=this.linkedParent.getExtremes();this.min=P(m.min,m.dataMin),this.max=P(m.max,m.dataMax),r.type!==this.linkedParent.options.type&&y(11,1,e)}else{if(l&&g(f))if(this.dataMin>=f)m=f,u=0;else if(this.dataMax<=f){var b=f;c=0}this.min=P(p,m,this.dataMin),this.max=P(h,b,this.dataMax)}if(n&&(this.positiveValuesOnly&&!t&&0>=Math.min(this.min,P(this.dataMin,this.min))&&y(10,1,e),this.min=v(n.log2lin(this.min),16),this.max=v(n.log2lin(this.max),16)),this.range&&g(this.max)&&(this.userMin=this.min=p=Math.max(this.dataMin,this.minFromRange()),this.userMax=h=this.max,this.range=null),w(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||i)&&g(this.min)&&g(this.max)&&(e=this.max-this.min)&&(!g(p)&&u&&(this.min-=e*u),!g(h)&&c&&(this.max+=e*c)),S(this.userMin)||(S(r.softMin)&&r.softMin<this.min&&(this.min=p=r.softMin),S(r.floor)&&(this.min=Math.max(this.min,r.floor))),S(this.userMax)||(S(r.softMax)&&r.softMax>this.max&&(this.max=h=r.softMax),S(r.ceiling)&&(this.max=Math.min(this.max,r.ceiling))),l&&g(this.dataMin)&&(f=f||0,!g(p)&&this.min<f&&this.dataMin>=f?this.min=this.options.minRange?Math.min(f,this.max-this.minRange):f:!g(h)&&this.max>f&&this.dataMax<=f&&(this.max=this.options.minRange?Math.max(f,this.min+this.minRange):f)),S(this.min)&&S(this.max)&&!this.chart.polar&&this.min>this.max&&(g(this.options.min)?this.max=this.min:g(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:i&&this.linkedParent&&!d&&a===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:P(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),o&&!t){var x=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(t){t.forceCrop=t.forceCropping&&t.forceCropping(),t.processData(x)})),w(this,"postProcessData",{hasExtemesChanged:x})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),t=P(r.minTickInterval,this.dateTime&&!this.series.some((function(t){return t.noSharedTooltip}))?this.closestPointRange:0),!d&&this.tickInterval<t&&(this.tickInterval=t),this.dateTime||this.logarithmic||d||(this.tickInterval=R(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},t.prototype.setTickPositions=function(){var t=this.options,e=t.tickPositions,n=this.getMinorTickInterval(),r=this.hasVerticalPanning(),o="colorAxis"===this.coll,i=(o||!r)&&t.startOnTick;if(r=(o||!r)&&t.endOnTick,o=t.tickPositioner,this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&g(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=n=e&&e.slice(),!n){if(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200)))if(this.dateTime)n=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0);else if(this.logarithmic)n=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else for(var a=t=this.tickInterval;a<=2*t&&(n=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&n.length>this.tickAmount);)this.tickInterval=R(this,a*=1.1);else n=[this.min,this.max],y(19,!1,this.chart);n.length>this.len&&(n=[n[0],n.pop()])[0]===n[1]&&(n.length=1),this.tickPositions=n,o&&(o=o.apply(this,[this.min,this.max]))&&(this.tickPositions=n=o)}this.paddedTicks=n.slice(0),this.trimTicks(n,i,r),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some((function(t){return t.is("heatmap")&&"between"===t.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),e||o||this.adjustTickAmount()),w(this,"afterSetTickPositions")},t.prototype.trimTicks=function(t,e,n){var r=t[0],o=t[t.length-1],i=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(e&&-1/0!==r)this.min=r;else for(;this.min-i>t[0];)t.shift();if(n)this.max=o;else for(;this.max+i<t[t.length-1];)t.pop();0===t.length&&g(r)&&!this.options.tickPositions&&t.push((o+r)/2)}},t.prototype.alignToOthers=function(){var t,e=this,n=[this],r=e.options,o="yAxis"===this.coll&&this.chart.options.chart.alignThresholds,i=[];if(e.thresholdAlignment=void 0,(!1!==this.chart.options.chart.alignTicks&&r.alignTicks||o)&&!1!==r.startOnTick&&!1!==r.endOnTick&&!e.logarithmic){var a=function(t){var e=t.options;return[t.horiz?e.left:e.top,e.width,e.height,e.pane].join()},s=a(this);this.chart[this.coll].forEach((function(r){var o=r.series;o.length&&o.some((function(t){return t.visible}))&&r!==e&&a(r)===s&&(t=!0,n.push(r))}))}if(t&&o){n.forEach((function(t){t=t.getThresholdAlignment(e),S(t)&&i.push(t)}));var l=1<i.length?i.reduce((function(t,e){return t+e}),0)/i.length:void 0;n.forEach((function(t){t.thresholdAlignment=l}))}return t},t.prototype.getThresholdAlignment=function(t){if((!S(this.dataMin)||this!==t&&this.series.some((function(t){return t.isDirty||t.isDirtyData})))&&this.getSeriesExtremes(),S(this.threshold))return t=h((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1),this.options.reversed&&(t=1-t),t},t.prototype.getTickAmount=function(){var t=this.options,e=t.tickPixelInterval,n=t.tickAmount;!g(t.tickInterval)&&!n&&this.len<e&&!this.isRadial&&!this.logarithmic&&t.startOnTick&&t.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/e)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},t.prototype.adjustTickAmount=function(){var t=this,e=t.finalTickAmt,n=t.max,r=t.min,o=t.options,i=t.tickPositions,a=t.tickAmount,s=t.thresholdAlignment,l=i&&i.length,c=P(t.threshold,t.softThreshold?0:null),u=t.tickInterval;if(S(s)){var d=.5>s?Math.ceil(s*(a-1)):Math.floor(s*(a-1));o.reversed&&(d=a-1-d)}if(t.hasData()&&S(r)&&S(n)){if(s=function(){t.transA*=(l-1)/(a-1),t.min=o.startOnTick?i[0]:Math.min(r,i[0]),t.max=o.endOnTick?i[i.length-1]:Math.max(n,i[i.length-1])},S(d)&&S(t.threshold)){for(;i[d]!==c||i.length!==a||i[0]>r||i[i.length-1]<n;){for(i.length=0,i.push(t.threshold);i.length<a;)void 0===i[d]||i[d]>t.threshold?i.unshift(v(i[0]-u)):i.push(v(i[i.length-1]+u));if(u>8*t.tickInterval)break;u*=2}s()}else if(l<a){for(;i.length<a;)i.length%2||r===c?i.push(v(i[i.length-1]+u)):i.unshift(v(i[0]-u));s()}if(g(e)){for(u=c=i.length;u--;)(3===e&&1===u%2||2>=e&&0<u&&u<c-1)&&i.splice(u,1);t.finalTickAmt=void 0}}},t.prototype.setScale=function(){var t=!1,e=!1;this.series.forEach((function(n){t=t||n.isDirtyData||n.isDirty,e=e||n.xAxis&&n.xAxis.isDirty||!1})),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||t||e||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),t&&this.panningState&&(this.panningState.isDirty=!0),w(this,"afterSetScale")},t.prototype.setExtremes=function(t,e,n,r,o){var i=this,a=i.chart;n=P(n,!0),i.series.forEach((function(t){delete t.kdTree})),o=x(o,{min:t,max:e}),w(i,"setExtremes",o,(function(){i.userMin=t,i.userMax=e,i.eventArgs=o,n&&a.redraw(r)}))},t.prototype.zoom=function(t,e){var n=this,r=this.dataMin,o=this.dataMax,i=this.options,a=Math.min(r,P(i.min,r)),s=Math.max(o,P(i.max,o));return w(this,"zoom",t={newMin:t,newMax:e},(function(t){var e=t.newMin,i=t.newMax;e===n.min&&i===n.max||(n.allowZoomOutside||(g(r)&&(e<a&&(e=a),e>s&&(e=s)),g(o)&&(i<a&&(i=a),i>s&&(i=s))),n.displayBtn="undefined"!==typeof e||"undefined"!==typeof i,n.setExtremes(e,i,!1,void 0,{trigger:"zoom"})),t.zoomed=!0})),t.zoomed},t.prototype.setAxisSize=function(){var t=this.chart,e=this.options,n=e.offsets||[0,0,0,0],r=this.horiz,o=this.width=Math.round(_(P(e.width,t.plotWidth-n[3]+n[1]),t.plotWidth)),i=this.height=Math.round(_(P(e.height,t.plotHeight-n[0]+n[2]),t.plotHeight)),a=this.top=Math.round(_(P(e.top,t.plotTop+n[0]),t.plotHeight,t.plotTop));e=this.left=Math.round(_(P(e.left,t.plotLeft+n[3]),t.plotWidth,t.plotLeft)),this.bottom=t.chartHeight-i-a,this.right=t.chartWidth-o-e,this.len=Math.max(r?o:i,0),this.pos=r?e:a},t.prototype.getExtremes=function(){var t=this.logarithmic;return{min:t?v(t.lin2log(this.min)):this.min,max:t?v(t.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},t.prototype.getThreshold=function(t){var e=this.logarithmic,n=e?e.lin2log(this.min):this.min;return e=e?e.lin2log(this.max):this.max,null===t||-1/0===t?t=n:1/0===t?t=e:n>t?t=n:e<t&&(t=e),this.translate(t,0,1,0,1)},t.prototype.autoLabelAlign=function(t){var e=(P(t,0)-90*this.side+720)%360;return w(this,"autoLabelAlign",t={align:"center"},(function(t){15<e&&165>e?t.align="right":195<e&&345>e&&(t.align="left")})),t.align},t.prototype.tickSize=function(t){var e=this.options,n=P(e["tick"===t?"tickWidth":"minorTickWidth"],"tick"===t&&this.isXAxis&&!this.categories?1:0),r=e["tick"===t?"tickLength":"minorTickLength"];if(n&&r){"inside"===e[t+"Position"]&&(r=-r);var o=[r,n]}return w(this,"afterTickSize",t={tickSize:o}),t.tickSize},t.prototype.labelMetrics=function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},t.prototype.unsquish=function(){var t,e,n=this.options.labels,r=this.horiz,o=this.tickInterval,i=this.len/(((this.categories?1:0)+this.max-this.min)/o),a=n.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(t){var e=t/(i||1);return(e=1<e?Math.ceil(e):1)*o>l&&1/0!==t&&1/0!==i&&l&&(e=Math.ceil(l/o)),v(e*o)},u=o,f=Number.MAX_VALUE;if(r){if(!n.staggerLines&&!n.step)if(S(a))var p=[a];else i<n.autoRotationLimit&&(p=n.autoRotation);p&&p.forEach((function(n){if(n===a||n&&-90<=n&&90>=n){var r=(e=c(Math.abs(s.h/Math.sin(d*n))))+Math.abs(n/360);r<f&&(f=r,t=n,u=e)}}))}else n.step||(u=c(s.h));return this.autoRotation=p,this.labelRotation=P(t,S(a)?a:0),u},t.prototype.getSlotWidth=function(t){var e=this.chart,n=this.horiz,r=this.options.labels,o=Math.max(this.tickPositions.length-(this.categories?0:1),1),i=e.margin[3];if(t&&S(t.slotWidth))return t.slotWidth;if(n&&2>r.step)return r.rotation?0:(this.staggerLines||1)*this.len/o;if(!n){if(void 0!==(t=r.style.width))return parseInt(String(t),10);if(i)return i-e.spacing[3]}return.33*e.chartWidth},t.prototype.renderUnsquish=function(){var t=this.chart,e=t.renderer,n=this.tickPositions,r=this.ticks,o=this.options.labels,i=o.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*o.padding)),c={},u=this.labelMetrics(),d=i.textOverflow,f=0;if(j(o.rotation)||(c.rotation=o.rotation||0),n.forEach((function(t){(t=r[t]).movedLabel&&t.replaceMovedLabel(),t&&t.label&&t.label.textPxLength>f&&(f=t.label.textPxLength)})),this.maxLabelLength=f,this.autoRotation)f>l&&f>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var p=l;if(!d){var h="clip";for(l=n.length;!a&&l--;){var v=n[l];(v=r[v].label)&&(v.styles&&"ellipsis"===v.styles.textOverflow?v.css({textOverflow:"clip"}):v.textPxLength>s&&v.css({width:s+"px"}),v.getBBox().height>this.len/n.length-(u.h-u.f)&&(v.specificTextOverflow="ellipsis"))}}}c.rotation&&(p=f>.5*t.chartHeight?.33*t.chartHeight:f,d||(h="ellipsis")),(this.labelAlign=o.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach((function(t){var e=(t=r[t])&&t.label,n=i.width,o={};e&&(e.attr(c),t.shortenLabel?t.shortenLabel():p&&!n&&"nowrap"!==i.whiteSpace&&(p<e.textPxLength||"SPAN"===e.element.tagName)?(o.width=p+"px",d||(o.textOverflow=e.specificTextOverflow||h),e.css(o)):e.styles&&e.styles.width&&!o.width&&!n&&e.css({width:null}),delete e.specificTextOverflow,t.rotation=c.rotation)}),this),this.tickRotCorr=e.rotCorr(u.b,this.labelRotation||0,0!==this.side)},t.prototype.hasData=function(){return this.series.some((function(t){return t.hasData()}))||this.options.showEmpty&&g(this.min)&&g(this.max)},t.prototype.addTitle=function(t){var e,n=this.chart.renderer,r=this.horiz,o=this.opposite,i=this.options.title,a=this.chart.styledMode;this.axisTitle||((e=i.textAlign)||(e=(r?{low:"left",middle:"center",high:"right"}:{low:o?"right":"left",middle:"center",high:o?"left":"right"})[i.align]),this.axisTitle=n.text(i.text||"",0,0,i.useHTML).attr({zIndex:7,rotation:i.rotation,align:e}).addClass("highcharts-axis-title"),a||this.axisTitle.css(C(i.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),a||i.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[t?"show":"hide"](t)},t.prototype.generateTick=function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new a(this,t)},t.prototype.getOffset=function(){var t=this,e=this,n=e.chart,r=e.horiz,o=e.options,i=e.side,a=e.ticks,s=e.tickPositions,l=e.coll,c=e.axisParent,u=n.renderer,d=n.inverted&&!e.isZAxis?[1,0,3,2][i]:i,f=e.hasData(),p=o.title,h=o.labels,v=n.axisOffset;n=n.clipOffset;var m,b=[-1,1,1,-1][i],y=o.className,x=0,O=0,S=0;if(e.showAxis=m=f||o.showEmpty,e.staggerLines=e.horiz&&h.staggerLines||void 0,!e.axisGroup){var j=function(e,n,r){return u.g(e).attr({zIndex:r}).addClass("highcharts-".concat(l.toLowerCase()).concat(n," ")+(t.isRadial?"highcharts-radial-axis".concat(n," "):"")+(y||"")).add(c)};e.gridGroup=j("grid","-grid",o.gridZIndex),e.axisGroup=j("axis","",o.zIndex),e.labelGroup=j("axis-labels","-labels",h.zIndex)}if(f||e.isLinked?(s.forEach((function(t){e.generateTick(t)})),e.renderUnsquish(),e.reserveSpaceDefault=0===i||2===i||{1:"left",3:"right"}[i]===e.labelAlign,P(h.reserveSpace,"center"===e.labelAlign||null,e.reserveSpaceDefault)&&s.forEach((function(t){S=Math.max(a[t].getLabelSize(),S)})),e.staggerLines&&(S*=e.staggerLines),e.labelOffset=S*(e.opposite?-1:1)):E(a,(function(t,e){t.destroy(),delete a[e]})),p&&p.text&&!1!==p.enabled&&(e.addTitle(m),m&&!1!==p.reserveSpace)){e.titleOffset=x=e.axisTitle.getBBox()[r?"height":"width"];var C=p.offset;O=g(C)?0:P(p.margin,r?5:10)}e.renderLine(),e.offset=b*P(o.offset,v[i]?v[i]+(o.margin||0):0),e.tickRotCorr=e.tickRotCorr||{x:0,y:0},p=0===i?-e.labelMetrics().h:2===i?e.tickRotCorr.y:0,f=Math.abs(S)+O,S&&(f=f-p+b*(r?P(h.y,e.tickRotCorr.y+8*b):h.x)),e.axisTitleMargin=P(C,f),e.getMaxLabelDimensions&&(e.maxLabelDimensions=e.getMaxLabelDimensions(a,s)),"colorAxis"!==l&&(r=this.tickSize("tick"),v[i]=Math.max(v[i],(e.axisTitleMargin||0)+x+b*e.offset,f,s&&s.length&&r?r[0]+b*e.offset:0),o=!e.axisLine||o.offset?0:2*Math.floor(e.axisLine.strokeWidth()/2),n[d]=Math.max(n[d],o)),w(this,"afterGetOffset")},t.prototype.getLinePath=function(t){var e=this.chart,n=this.opposite,r=this.offset,o=this.horiz,i=this.left+(n?this.width:0)+r;return r=e.chartHeight-this.bottom-(n?this.height:0)+r,n&&(t*=-1),e.renderer.crispLine([["M",o?this.left:i,o?r:this.top],["L",o?e.chartWidth-this.right:i,o?r:e.chartHeight-this.bottom]],t)},t.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},t.prototype.getTitlePosition=function(){var t=this.horiz,e=this.left,n=this.top,r=this.len,o=this.options.title,i=t?e:n,a=this.opposite,s=this.offset,l=o.x,c=o.y,u=this.axisTitle,d=this.chart.renderer.fontMetrics(o.style.fontSize,u);return u=u?Math.max(u.getBBox(!1,0).height-d.h-1,0):0,r={low:i+(t?0:r),middle:i+r/2,high:i+(t?r:0)}[o.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*(this.axisTitleMargin||0)+[-u,u,d.f,-u][this.side],t={x:t?r+l:e+(a?this.width:0)+s+l,y:t?e+c-(a?this.height:0)+s:r+c},w(this,"afterGetTitlePosition",{titlePosition:t}),t},t.prototype.renderMinorTick=function(t,e){var n=this.minorTicks;n[t]||(n[t]=new a(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},t.prototype.renderTick=function(t,e,n){var r=this.ticks;(!this.isLinked||t>=this.min&&t<=this.max||this.grid&&this.grid.isColumn)&&(r[t]||(r[t]=new a(this,t)),n&&r[t].isNew&&r[t].render(e,!0,-1),r[t].render(e))},t.prototype.render=function(){var t,e,n=this,r=n.chart,o=n.logarithmic,s=n.options,c=n.isLinked,u=n.tickPositions,d=n.axisTitle,f=n.ticks,p=n.minorTicks,h=n.alternateBands,v=s.stackLabels,g=s.alternateGridColor,m=n.tickmarkOffset,b=n.axisLine,y=n.showAxis,x=l(r.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[f,p,h].forEach((function(t){E(t,(function(t){t.isActive=!1}))})),n.hasData()||c){var O=n.chart.hasRendered&&n.old&&S(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach((function(t){n.renderMinorTick(t,O)})),u.length&&(u.forEach((function(t,e){n.renderTick(t,e,O)})),m&&(0===n.min||n.single)&&(f[-1]||(f[-1]=new a(n,-1,null,!0)),f[-1].render(-1))),g&&u.forEach((function(a,s){e="undefined"!==typeof u[s+1]?u[s+1]+m:n.max-m,0===s%2&&a<n.max&&e<=n.max+(r.polar?-m:m)&&(h[a]||(h[a]=new i.PlotLineOrBand(n)),t=a+m,h[a].options={from:o?o.lin2log(t):t,to:o?o.lin2log(e):e,color:g,className:"highcharts-alternate-grid"},h[a].render(),h[a].isActive=!0)})),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach((function(t){n.addPlotBandOrLine(t)})))}[f,p,h].forEach((function(t){var e=[],n=x.duration;E(t,(function(t,n){t.isActive||(t.render(n,!1,0),t.isActive=!1,e.push(n))})),A((function(){for(var n=e.length;n--;)t[e[n]]&&!t[e[n]].isActive&&(t[e[n]].destroy(),delete t[e[n]])}),t!==h&&r.hasRendered&&n?n:0)})),b&&(b[b.isPlaced?"animate":"attr"]({d:this.getLinePath(b.strokeWidth())}),b.isPlaced=!0,b[y?"show":"hide"](y)),d&&y&&(s=n.getTitlePosition(),d[d.isNew?"attr":"animate"](s),d.isNew=!1),v&&v.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,w(this,"afterRender")},t.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach((function(t){t.render()}))),this.series.forEach((function(t){t.isDirty=!0}))},t.prototype.getKeepProps=function(){return this.keepProps||t.keepProps},t.prototype.destroy=function(t){var e=this,n=e.plotLinesAndBands,r=this.eventOptions;if(w(this,"destroy",{keepEvents:t}),t||M(e),[e.ticks,e.minorTicks,e.alternateBands].forEach((function(t){m(t)})),n)for(t=n.length;t--;)n[t].destroy();for(var o in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),e.plotLinesAndBandsGroups)e.plotLinesAndBandsGroups[o]=e.plotLinesAndBandsGroups[o].destroy();E(e,(function(t,n){-1===e.getKeepProps().indexOf(n)&&delete e[n]})),this.eventOptions=r},t.prototype.drawCrosshair=function(t,e){var r,o=this.crosshair,i=P(o&&o.snap,!0),a=this.chart,s=this.cross;if(w(this,"drawCrosshair",{e:t,point:e}),t||(t=this.cross&&this.cross.e),o&&!1!==(g(e)||!i)){if(i?g(e)&&(r=P("colorAxis"!==this.coll?e.crosshairPos:null,this.isXAxis?e.plotX:this.len-e.plotY)):r=t&&(this.horiz?t.chartX-this.pos:this.len-t.chartY+this.pos),g(r)){var l={value:e&&(this.isXAxis?e.x:P(e.stackY,e.y)),translatedValue:r};a.polar&&x(l,{isCrosshair:!0,chartX:t&&t.chartX,chartY:t&&t.chartY,point:e}),l=this.getPlotLinePath(l)||null}if(!g(l))return void this.hideCrosshair();i=this.categories&&!this.isRadial,s||(this.cross=s=a.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(i?"category ":"thin ")+(o.className||"")).attr({zIndex:P(o.zIndex,2)}).add(),a.styledMode||(s.attr({stroke:o.color||(i?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":P(o.width,1)}).css({"pointer-events":"none"}),o.dashStyle&&s.attr({dashstyle:o.dashStyle}))),s.show().attr({d:l}),i&&!o.width&&s.attr({"stroke-width":this.transA}),this.cross.e=t}else this.hideCrosshair();w(this,"afterDrawCrosshair",{e:t,point:e})},t.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),w(this,"afterHideCrosshair")},t.prototype.hasVerticalPanning=function(){var t=this.chart.options.chart.panning;return!!(t&&t.enabled&&/y/.test(t.type))},t.prototype.validatePositiveValue=function(t){return S(t)&&0<t},t.prototype.update=function(t,e){var n=this.chart;t=C(this.userOptions,t),this.destroy(!0),this.init(n,t),n.isDirtyBox=!0,P(e,!0)&&n.redraw()},t.prototype.remove=function(t){for(var e=this.chart,n=this.coll,r=this.series,o=r.length;o--;)r[o]&&r[o].remove(!1);b(e.axes,this),b(e[n],this),e[n].forEach((function(t,e){t.options.index=t.userOptions.index=e})),this.destroy(),e.isDirtyBox=!0,P(t,!0)&&e.redraw()},t.prototype.setTitle=function(t,e){this.update({title:t},e)},t.prototype.setCategories=function(t,e){this.update({categories:t},e)},t.defaultOptions=e.defaultXAxisOptions,t.keepProps="extKey hcEvents names series userMax userMin".split(" "),t}(),t})),e(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,r=t.getMagnitude,o=t.normalizeTickInterval,i=t.timeUnits;return function(t){function e(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function a(t){"datetime"!==t.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];t.compose=function(t){return-1===s.indexOf(t)&&(s.push(t),t.keepProps.push("dateTime"),t.prototype.getTimeTicks=e,n(t,"init",a)),t};var l=function(){function t(t){this.axis=t}return t.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var a,s=i[e[0]],l=e[1];for(a=0;a<n.length&&(e=n[a],s=i[e[0]],l=e[1],!(n[a+1]&&t<=(s*l[l.length-1]+i[n[a+1][0]])/2));a++);return s===i.year&&t<5*s&&(l=[1,2,5]),{unitRange:s,count:t=o(t/s,l,"year"===e[0]?Math.max(r(t/s),1):1),unitName:e[0]}},t.prototype.getXDateFormat=function(t,e){var n=this.axis,r=n.chart.time;return n.closestPointRange?r.getDateFormat(n.closestPointRange,t,n.options.startOfWeek,e)||r.resolveDTLFormat(e.year).main:r.resolveDTLFormat(e.day).main},t}();t.Additions=l}(e||(e={})),e})),e(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.addEvent,r=t.normalizeTickInterval,o=t.pick;return function(t){function e(t){var e=this.logarithmic;"logarithmic"!==t.userOptions.type?this.logarithmic=void 0:e||(this.logarithmic=new s(this))}function i(){var t=this.logarithmic;t&&(this.lin2val=function(e){return t.lin2log(e)},this.val2lin=function(e){return t.log2lin(e)})}var a=[];t.compose=function(t){return-1===a.indexOf(t)&&(a.push(t),t.keepProps.push("logarithmic"),n(t,"init",e),n(t,"afterInit",i)),t};var s=function(){function t(t){this.axis=t}return t.prototype.getLogTickPositions=function(t,e,n,i){var a=this.axis,s=a.len,l=a.options,c=[];if(i||(this.minorAutoInterval=void 0),.5<=t)t=Math.round(t),c=a.getLinearTickPositions(t,e,n);else if(.08<=t){var u,d=Math.floor(e),f=l=void 0;for(s=.3<t?[1,2,4]:.15<t?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];d<n+1&&!f;d++){var p=s.length;for(u=0;u<p&&!f;u++){var h=this.log2lin(this.lin2log(d)*s[u]);h>e&&(!i||l<=n)&&"undefined"!==typeof l&&c.push(l),l>n&&(f=!0),l=h}}}else e=this.lin2log(e),n=this.lin2log(n),t=i?a.getMinorTickInterval():l.tickInterval,t=o("auto"===t?null:t,this.minorAutoInterval,l.tickPixelInterval/(i?5:1)*(n-e)/((i?s/a.tickPositions.length:s)||1)),t=r(t),c=a.getLinearTickPositions(t,e,n).map(this.log2lin),i||(this.minorAutoInterval=t/5);return i||(a.tickInterval=t),c},t.prototype.lin2log=function(t){return Math.pow(10,t)},t.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},t}();t.Additions=s}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.erase,r=t.extend,o=t.isNumber;return function(t){var e,i=[];t.compose=function(t,n){return e||(e=t),-1===i.indexOf(n)&&(i.push(n),r(n.prototype,a.prototype)),n};var a=function(){function t(){}return t.prototype.getPlotBandPath=function(t,e,n){void 0===n&&(n=this.options);var r=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),i=[],a=this.horiz;if(e=!o(this.min)||!o(this.max)||t<this.min&&e<this.min||t>this.max&&e>this.max,t=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),n=1,t&&r){if(e){var s=t.toString()===r.toString();n=0}for(e=0;e<t.length;e+=2){var l=t[e],c=t[e+1],u=r[e],d=r[e+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==u[0]&&"L"!==u[0]||"M"!==d[0]&&"L"!==d[0]||(a&&u[1]===l[1]?(u[1]+=n,d[1]+=n):a||u[2]!==l[2]||(u[2]+=n,d[2]+=n),i.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",d[1],d[2]],["L",u[1],u[2]],["Z"])),i.isFlat=s}}return i},t.prototype.addPlotBand=function(t){return this.addPlotBandOrLine(t,"plotBands")},t.prototype.addPlotLine=function(t){return this.addPlotBandOrLine(t,"plotLines")},t.prototype.addPlotBandOrLine=function(t,n){var r=this,o=this.userOptions,i=new e(this,t);if(this.visible&&(i=i.render()),i){if(this._addedPlotLB||(this._addedPlotLB=!0,(o.plotLines||[]).concat(o.plotBands||[]).forEach((function(t){r.addPlotBandOrLine(t)}))),n){var a=o[n]||[];a.push(t),o[n]=a}this.plotLinesAndBands.push(i)}return i},t.prototype.removePlotBandOrLine=function(t){var e=this.plotLinesAndBands,r=this.options,o=this.userOptions;if(e){for(var i=e.length;i--;)e[i].id===t&&e[i].destroy();[r.plotLines||[],o.plotLines||[],r.plotBands||[],o.plotBands||[]].forEach((function(e){for(i=e.length;i--;)(e[i]||{}).id===t&&n(e,e[i])}))}},t.prototype.removePlotBand=function(t){this.removePlotBandOrLine(t)},t.prototype.removePlotLine=function(t){this.removePlotBandOrLine(t)},t}()}(e||(e={})),e})),e(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],(function(t,e){var n=e.arrayMax,r=e.arrayMin,o=e.defined,i=e.destroyObjectProperties,a=e.erase,s=e.fireEvent,l=e.merge,c=e.objectEach,u=e.pick;return e=function(){function e(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)}return e.compose=function(n){return t.compose(e,n)},e.prototype.render=function(){s(this,"render");var t=this,e=t.axis,n=e.horiz,r=e.logarithmic,i=t.options,a=i.color,d=u(i.zIndex,0),f=i.events,p={},h=e.chart.renderer,v=i.label,g=t.label,m=i.to,b=i.from,y=i.value,x=t.svgElem,w=[],O=o(b)&&o(m);w=o(y);var S=!x,j={class:"highcharts-plot-"+(O?"band ":"line ")+(i.className||"")},C=O?"bands":"lines";if(r&&(b=r.log2lin(b),m=r.log2lin(m),y=r.log2lin(y)),e.chart.styledMode||(w?(j.stroke=a||"#999999",j["stroke-width"]=u(i.width,1),i.dashStyle&&(j.dashstyle=i.dashStyle)):O&&(j.fill=a||"#e6ebf5",i.borderWidth&&(j.stroke=i.borderColor,j["stroke-width"]=i.borderWidth))),p.zIndex=d,C+="-"+d,(r=e.plotLinesAndBandsGroups[C])||(e.plotLinesAndBandsGroups[C]=r=h.g("plot-"+C).attr(p).add()),S&&(t.svgElem=x=h.path().attr(j).add(r)),w)w=e.getPlotLinePath({value:y,lineWidth:x.strokeWidth(),acrossPanes:i.acrossPanes});else{if(!O)return;w=e.getPlotBandPath(b,m,i)}return!t.eventsAdded&&f&&(c(f,(function(e,n){x.on(n,(function(e){f[n].apply(t,[e])}))})),t.eventsAdded=!0),(S||!x.d)&&w&&w.length?x.attr({d:w}):x&&(w?(x.show(),x.animate({d:w})):x.d&&(x.hide(),g&&(t.label=g=g.destroy()))),v&&(o(v.text)||o(v.formatter))&&w&&w.length&&0<e.width&&0<e.height&&!w.isFlat?(v=l({align:n&&O&&"center",x:n?!O&&4:10,verticalAlign:!n&&O&&"middle",y:n?O?16:10:O?6:-4,rotation:n&&!O&&90},v),this.renderLabel(v,w,O,d)):g&&g.hide(),t},e.prototype.renderLabel=function(t,e,o,i){var a=this.axis,s=a.chart.renderer,c=this.label;c||(this.label=c=s.text(this.getLabelText(t),0,0,t.useHTML).attr({align:t.textAlign||t.align,rotation:t.rotation,class:"highcharts-plot-"+(o?"band":"line")+"-label "+(t.className||""),zIndex:i}).add(),a.chart.styledMode||c.css(l({textOverflow:"ellipsis"},t.style))),i=e.xBounds||[e[0][1],e[1][1],o?e[2][1]:e[0][1]],e=e.yBounds||[e[0][2],e[1][2],o?e[2][2]:e[0][2]],o=r(i),s=r(e),c.align(t,!1,{x:o,y:s,width:n(i)-o,height:n(e)-s}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?a.height-(c.alignAttr.y-a.top):a.width-(c.alignAttr.x-a.left))+"px"}),c.show(!0)},e.prototype.getLabelText=function(t){return o(t.formatter)?t.formatter.call(this):t.text},e.prototype.destroy=function(){a(this.axis.plotLinesAndBands,this),delete this.axis,i(this)},e}()})),e(n,"Core/Tooltip.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i=t.format,a=e.doc,s=n.distribute,l=o.addEvent,c=o.clamp,u=o.css,d=o.defined,f=o.discardElement,p=o.extend,h=o.fireEvent,v=o.isArray,g=o.isNumber,m=o.isString,b=o.merge,y=o.pick,x=o.splat,w=o.syncTimeout;return t=function(){function t(t,e){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=t,this.init(t,e)}return t.prototype.applyFilter=function(){var t=this.chart;t.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+t.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},t.prototype.bodyFormatter=function(t){return t.map((function(t){var e=t.series.tooltipOptions;return(e[(t.point.formatPrefix||"point")+"Formatter"]||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"]||"")}))},t.prototype.cleanSplit=function(t){this.chart.series.forEach((function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)}))},t.prototype.defaultFormatter=function(t){var e=this.points||x(this),n=[t.tooltipFooterHeaderFormatter(e[0])];return(n=n.concat(t.bodyFormatter(e))).push(t.tooltipFooterHeaderFormatter(e[0],!0)),n},t.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),f(this.container)),o.clearTimeout(this.hideTimer),o.clearTimeout(this.tooltipTimeout)},t.prototype.getAnchor=function(t,e){var n,r,o=this.chart,i=o.pointer,a=o.inverted,s=o.plotTop,l=o.plotLeft,c=0,u=0;return t=x(t),this.followPointer&&e?("undefined"===typeof e.chartX&&(e=i.normalize(e)),i=[e.chartX-l,e.chartY-s]):t[0].tooltipPos?i=t[0].tooltipPos:(t.forEach((function(t){n=t.series.yAxis,r=t.series.xAxis,c+=t.plotX||0,u+=t.plotLow?(t.plotLow+(t.plotHigh||0))/2:t.plotY||0,r&&n&&(a?(c+=s+o.plotHeight-r.len-r.pos,u+=l+o.plotWidth-n.len-n.pos):(c+=r.pos-l,u+=n.pos-s))})),c/=t.length,u/=t.length,i=[a?o.plotWidth-u:c,a?o.plotHeight-c:u],this.shared&&1<t.length&&e&&(a?i[0]=e.chartX-l:i[1]=e.chartY-s)),i.map(Math.round)},t.prototype.getLabel=function(){var t,n=this,o=this.chart.styledMode,i=this.options,a=this.split&&this.allowShared,s="tooltip"+(d(i.className)?" "+i.className:""),c=i.style.pointerEvents||(!this.followPointer&&i.stickOnContact?"auto":"none"),f=function(){n.inContact=!0},p=function(t){var e=n.chart.hoverSeries;n.inContact=n.shouldStickOnContact()&&n.chart.pointer.inClass(t.relatedTarget,"highcharts-tooltip"),!n.inContact&&e&&e.onMouseOut&&e.onMouseOut()},h=this.chart.renderer;if(n.label){var v=!n.label.hasClass("highcharts-label");(a&&!v||!a&&v)&&n.destroy()}if(!this.label){if(this.outside){v=this.chart.options.chart.style;var g=r.getRendererType();this.container=t=e.doc.createElement("div"),t.className="highcharts-tooltip-container",u(t,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(v&&v.zIndex||0)+3)}),l(t,"mouseenter",f),l(t,"mouseleave",p),e.doc.body.appendChild(t),this.renderer=h=new g(t,0,0,v,void 0,void 0,h.styledMode)}if(a?this.label=h.g(s):(this.label=h.label("",0,0,i.shape,void 0,void 0,i.useHTML,void 0,s).attr({padding:i.padding,r:i.borderRadius}),o||this.label.attr({fill:i.backgroundColor,"stroke-width":i.borderWidth}).css(i.style).css({pointerEvents:c}).shadow(i.shadow)),o&&i.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var m=this.label,b=m.xSetter,y=m.ySetter;m.xSetter=function(e){b.call(m,n.distance),t.style.left=e+"px"},m.ySetter=function(e){y.call(m,n.distance),t.style.top=e+"px"}}this.label.on("mouseenter",f).on("mouseleave",p).attr({zIndex:8}).add()}return this.label},t.prototype.getPosition=function(t,e,n){var r,o=this.chart,i=this.distance,s={},l=o.inverted&&n.h||0,c=this.outside,u=c?a.documentElement.clientWidth-2*i:o.chartWidth,d=c?Math.max(a.body.scrollHeight,a.documentElement.scrollHeight,a.body.offsetHeight,a.documentElement.offsetHeight,a.documentElement.clientHeight):o.chartHeight,f=o.pointer.getChartPosition(),p=function(r){var a="x"===r;return[r,a?u:d,a?t:e].concat(c?[a?t*f.scaleX:e*f.scaleY,a?f.left-i+(n.plotX+o.plotLeft)*f.scaleX:f.top-i+(n.plotY+o.plotTop)*f.scaleY,0,a?u:d]:[a?t:e,a?n.plotX+o.plotLeft:n.plotY+o.plotTop,a?o.plotLeft:o.plotTop,a?o.plotLeft+o.plotWidth:o.plotTop+o.plotHeight])},h=p("y"),v=p("x");p=!!n.negative,!o.polar&&o.hoverSeries&&o.hoverSeries.yAxis&&o.hoverSeries.yAxis.reversed&&(p=!p);var g=!this.followPointer&&y(n.ttBelow,!o.inverted===p),m=function(t,e,n,r,o,a,u){var d=c?"y"===t?i*f.scaleY:i*f.scaleX:i,p=(n-r)/2,h=r<o-i,v=o+i+r<e,m=o-d-n+p;if(o=o+d-p,g&&v)s[t]=o;else if(!g&&h)s[t]=m;else if(h)s[t]=Math.min(u-r,0>m-l?m:m-l);else{if(!v)return!1;s[t]=Math.max(a,o+l+n>e?o:o+l)}},b=function(t,e,n,r,o){var a;return o<i||o>e-i?a=!1:s[t]=o<n/2?1:o>e-r/2?e-r-2:o-n/2,a},x=function(t){var e=h;h=v,v=e,r=t};return(o.inverted||1<this.len)&&x(),function t(){!1!==m.apply(0,h)?!1!==b.apply(0,v)||r||(x(!0),t()):r?s.x=s.y=0:(x(!0),t())}(),s},t.prototype.hide=function(t){var e=this;o.clearTimeout(this.hideTimer),t=y(t,this.options.hideDelay),this.isHidden||(this.hideTimer=w((function(){e.getLabel().fadeOut(t?void 0:t),e.isHidden=!0}),t))},t.prototype.init=function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted&&!t.polar,this.shared=e.shared||this.split,this.outside=y(e.outside,!(!t.scrollablePixelsX&&!t.scrollablePixelsY))},t.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},t.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},t.prototype.move=function(t,e,n,r){var i=this,a=i.now,s=!1!==i.options.animation&&!i.isHidden&&(1<Math.abs(t-a.x)||1<Math.abs(e-a.y)),l=i.followPointer||1<i.len;p(a,{x:s?(2*a.x+t)/3:t,y:s?(a.y+e)/2:e,anchorX:l?void 0:s?(2*a.anchorX+n)/3:n,anchorY:l?void 0:s?(a.anchorY+r)/2:r}),i.getLabel().attr(a),i.drawTracker(),s&&(o.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout((function(){i&&i.move(t,e,n,r)}),32))},t.prototype.refresh=function(t,e){var n=this.chart,r=this.options,i=x(t),a=i[0],s=[],l=r.formatter||this.defaultFormatter,c=this.shared,u=n.styledMode,d={};if(r.enabled&&a.series){o.clearTimeout(this.hideTimer),this.allowShared=!(!v(t)&&t.series&&t.series.noSharedTooltip),this.followPointer=!this.split&&a.series.tooltipOptions.followPointer;var f=(t=this.getAnchor(t,e))[0],p=t[1];if(c&&this.allowShared?(n.pointer.applyInactiveState(i),i.forEach((function(t){t.setState("hover"),s.push(t.getLabelConfig())})),(d={x:a.category,y:a.y}).points=s):d=a.getLabelConfig(),this.len=s.length,l=l.call(d,this),c=a.series,this.distance=y(c.tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,i);else{var g=f,m=p;if(e&&n.pointer.isDirectTouch&&(g=e.chartX-n.plotLeft,m=e.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!i.some((function(t){return t.series.shouldShowTooltip(g,m)})))return void this.hide();e=this.getLabel(),r.style.width&&!u||e.css({width:this.chart.spacingBox.width+"px"}),e.attr({text:l&&l.join?l.join(""):l}),e.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+y(a.colorIndex,c.colorIndex)),u||e.attr({stroke:r.borderColor||a.color||c.color||"#666666"}),this.updatePosition({plotX:f,plotY:p,negative:a.negative,ttBelow:a.ttBelow,h:t[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}h(this,"refresh")}},t.prototype.renderSplit=function(t,e){function n(t,e,n,o,i){return void 0===i&&(i=!0),n?(e=_?0:R,t=c(t-o/2,k.left,k.right-o-(r.outside?M:0))):(e-=T,t=c(t=i?t-o-S:t+S,i?t:k.left,k.right)),{x:t,y:e}}var r=this,o=r.chart,i=r.chart,l=i.chartWidth,u=i.chartHeight,d=i.plotHeight,f=i.plotLeft,h=i.plotTop,v=i.pointer,g=i.scrollablePixelsY;g=void 0===g?0:g;var b=i.scrollablePixelsX,x=i.scrollingContainer,w=(x=void 0===x?{scrollLeft:0,scrollTop:0}:x).scrollLeft;x=x.scrollTop;var O=i.styledMode,S=r.distance,j=r.options,C=r.options.positioner,k=r.outside&&"number"!==typeof b?a.documentElement.getBoundingClientRect():{left:w,right:w+l,top:x,bottom:x+u},E=r.getLabel(),P=this.renderer||o.renderer,_=!(!o.xAxis[0]||!o.xAxis[0].opposite),M=(o=v.getChartPosition()).left;o=o.top;var T=h+x,A=0,R=d-g;m(t)&&(t=[!1,t]),t=t.slice(0,e.length+1).reduce((function(t,o,i){if(!1!==o&&""!==o){var a=(i=e[i-1]||{isHeader:!0,plotX:e[0].plotX,plotY:d,series:{}}).isHeader,s=a?r:i.series;o=o.toString();var l=s.tt,u=i.isHeader,p=i.series,v="highcharts-color-"+y(i.colorIndex,p.colorIndex,"none");if(l||(l={padding:j.padding,r:j.borderRadius},O||(l.fill=j.backgroundColor,l["stroke-width"]=j.borderWidth),l=P.label("",0,0,j[u?"headerShape":"shape"],void 0,void 0,j.useHTML).addClass((u?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+v).attr(l).add(E)),l.isActive=!0,l.attr({text:o}),O||l.css(j.style).shadow(j.shadow).attr({stroke:j.borderColor||i.color||p.color||"#333333"}),o=(u=(s=s.tt=l).getBBox()).width+s.strokeWidth(),a&&(A=u.height,R+=A,_&&(T-=A)),p=void 0===(p=i.plotX)?0:p,v=void 0===(v=i.plotY)?0:v,l=i.series,i.isHeader){p=f+p;var g=h+d/2}else{var m=l.xAxis,b=l.yAxis;p=m.pos+c(p,-S,m.len+S),l.shouldShowTooltip(0,b.pos-h+v,{ignoreX:!0})&&(g=b.pos+v)}p=c(p,k.left-S,k.right+S),"number"===typeof g?(u=u.height+1,v=C?C.call(r,o,u,i):n(p,g,a,o),t.push({align:C?0:void 0,anchorX:p,anchorY:g,boxWidth:o,point:i,rank:y(v.rank,a?1:0),size:u,target:v.y,tt:s,x:v.x})):s.isActive=!1}return t}),[]),!C&&t.some((function(t){var e=(r.outside?M:0)+t.anchorX;return e<k.left&&e+t.boxWidth<k.right||e<M-k.left+t.boxWidth&&k.right-e>e}))&&(t=t.map((function(t){var e=n(t.anchorX,t.anchorY,t.point.isHeader,t.boxWidth,!1);return p(t,{target:e.y,x:e.x})}))),r.cleanSplit(),s(t,R);var D=M,I=M;t.forEach((function(t){var e=t.x,n=t.boxWidth;(t=t.isHeader)||(r.outside&&M+e<D&&(D=M+e),!t&&r.outside&&D+n>I&&(I=M+e))})),t.forEach((function(t){var e=t.x,n=t.anchorX,o=t.pos,i=t.point.isHeader;if(o={visibility:"undefined"===typeof o?"hidden":"inherit",x:e,y:o+T,anchorX:n,anchorY:t.anchorY},r.outside&&e<n){var a=M-D;0<a&&(i||(o.x=e+a,o.anchorX=n+a),i&&(o.x=(I-D)/2,o.anchorX=n+a))}t.tt.attr(o)})),t=r.container,g=r.renderer,r.outside&&t&&g&&(i=E.getBBox(),g.setSize(i.width+i.x,i.height+i.y,!1),t.style.left=D+"px",t.style.top=o+"px")},t.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var t=this.chart,e=this.label,n=this.shared?t.hoverPoints:t.hoverPoint;if(e&&n){var r={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var o=e.getBBox();n[0]+=t.plotLeft-e.translateX,n[1]+=t.plotTop-e.translateY,r.x=Math.min(0,n[0]),r.y=Math.min(0,n[1]),r.width=0>n[0]?Math.max(Math.abs(n[0]),o.width-n[0]):Math.max(Math.abs(n[0]),o.width),r.height=0>n[1]?Math.max(Math.abs(n[1]),o.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),o.height),this.tracker?this.tracker.attr(r):(this.tracker=e.renderer.rect(r).addClass("highcharts-tracker").add(e),t.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},t.prototype.styledModeFormat=function(t){return t.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},t.prototype.tooltipFooterHeaderFormatter=function(t,e){var n=t.series,r=n.tooltipOptions,o=n.xAxis,a=o&&o.dateTime;o={isFooter:e,labelConfig:t};var s=r.xDateFormat,l=r[e?"footerFormat":"headerFormat"];return h(this,"headerFormatter",o,(function(e){a&&!s&&g(t.key)&&(s=a.getXDateFormat(t.key,r.dateTimeLabelFormats)),a&&s&&(t.point&&t.point.tooltipDateKeys||["key"]).forEach((function(t){l=l.replace("{point."+t+"}","{point."+t+":"+s+"}")})),n.chart.styledMode&&(l=this.styledModeFormat(l)),e.text=i(l,{point:t,series:n},this.chart)})),o.text},t.prototype.update=function(t){this.destroy(),b(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,b(!0,this.options,t))},t.prototype.updatePosition=function(t){var e=this.chart,n=this.options,r=e.pointer,o=this.getLabel();r=r.getChartPosition();var i=(n.positioner||this.getPosition).call(this,o.width,o.height,t),a=t.plotX+e.plotLeft;t=t.plotY+e.plotTop,this.outside&&(n=n.borderWidth+2*this.distance,this.renderer.setSize(o.width+n,o.height+n,!1),1===r.scaleX&&1===r.scaleY||(u(this.container,{transform:"scale(".concat(r.scaleX,", ").concat(r.scaleY,")")}),a*=r.scaleX,t*=r.scaleY),a+=r.left-i.x,t+=r.top-i.y),this.move(Math.round(i.x),Math.round(i.y||0),a,t)},t}(),t})),e(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i=e.animObject,a=n.defaultOptions,s=r.format,l=o.addEvent,c=o.defined,u=o.erase,d=o.extend,f=o.fireEvent,p=o.getNestedProperty,h=o.isArray,v=o.isFunction,g=o.isNumber,m=o.isObject,b=o.merge,y=o.objectEach,x=o.pick,w=o.syncTimeout,O=o.removeEvent,S=o.uniqueKey;return e=function(){function e(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.shapeArgs=this.series=void 0,this.visible=!0,this.x=void 0}return e.prototype.animateBeforeDestroy=function(){var t=this,e={x:t.startXPos,opacity:0},n=t.getGraphicalProps();n.singular.forEach((function(n){t[n]=t[n].animate("dataLabel"===n?{x:t[n].startXPos,y:t[n].startYPos,opacity:0}:e)})),n.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.animate(d({x:t.startXPos},e.startYPos?{x:e.startXPos,y:e.startYPos}:{}))}))}))},e.prototype.applyOptions=function(t,n){var r=this.series,o=r.options.pointValKey||r.pointValKey;return t=e.prototype.optionsToObject.call(this,t),d(this,t),this.options=this.options?d(this.options,t):t,t.group&&delete this.group,t.dataLabels&&delete this.dataLabels,o&&(this.y=e.prototype.getNestedProperty.call(this,o)),this.formatPrefix=(this.isNull=x(this.isValid&&!this.isValid(),null===this.x||!g(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof n&&r.xAxis&&r.xAxis.hasNames&&(this.x=r.xAxis.nameToX(this)),"undefined"===typeof this.x&&r?this.x="undefined"===typeof n?r.autoIncrement():n:g(t.x)&&r.options.relativeXValue&&(this.x=r.autoIncrement(t.x)),this},e.prototype.destroy=function(){function t(){for(o in(e.graphic||e.dataLabel||e.dataLabels)&&(O(e),e.destroyElements()),e)e[o]=null}var e=this,n=e.series,r=n.chart;n=n.options.dataSorting;var o,a=r.hoverPoints,s=i(e.series.chart.renderer.globalAnimation);e.legendItem&&r.legend.destroyItem(e),a&&(e.setState(),u(a,e),a.length||(r.hoverPoints=null)),e===r.hoverPoint&&e.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),w(t,s.duration)):t(),r.pointCount--},e.prototype.destroyElements=function(t){var e=this;(t=e.getGraphicalProps(t)).singular.forEach((function(t){e[t]=e[t].destroy()})),t.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.destroy()})),delete e[t]}))},e.prototype.firePointEvent=function(t,e,n){var r=this,o=this.series.options;(o.point.events[t]||r.options&&r.options.events&&r.options.events[t])&&r.importEvents(),"click"===t&&o.allowPointSelect&&(n=function(t){r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),f(r,t,e,n)},e.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},e.prototype.getGraphicalProps=function(t){var e,n=this,r=[],o={singular:[],plural:[]};for((t=t||{graphic:1,dataLabel:1}).graphic&&r.push("graphic","upperGraphic","shadowGroup"),t.dataLabel&&r.push("dataLabel","dataLabelUpper","connector"),e=r.length;e--;){var i=r[e];n[i]&&o.singular.push(i)}return["dataLabel","connector"].forEach((function(e){var r=e+"s";t[e]&&n[r]&&o.plural.push(r)})),o},e.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},e.prototype.getNestedProperty=function(t){if(t)return 0===t.indexOf("custom.")?p(t,this.options):this[t]},e.prototype.getZone=function(){var t=this.series,e=t.zones;t=t.zoneAxis||"y";var n,r=0;for(n=e[r];this[t]>=n.value;)n=e[++r];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},e.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},e.prototype.init=function(t,e,n){return this.series=t,this.applyOptions(e,n),this.id=c(this.id)?this.id:S(),this.resolveColor(),t.chart.pointCount++,f(this,"afterInit"),this},e.prototype.optionsToObject=function(t){var n=this.series,r=n.options.keys,o=r||n.pointArrayMap||["y"],i=o.length,a={},s=0,l=0;if(g(t)||null===t)a[o[0]]=t;else if(h(t))for(!r&&t.length>i&&("string"===(n=typeof t[0])?a.name=t[0]:"number"===n&&(a.x=t[0]),s++);l<i;)r&&"undefined"===typeof t[s]||(0<o[l].indexOf(".")?e.prototype.setNestedProperty(a,t[s],o[l]):a[o[l]]=t[s]),s++,l++;else"object"===typeof t&&(a=t,t.dataLabels&&(n._hasPointLabels=!0),t.marker&&(n._hasPointMarkers=!0));return a},e.prototype.resolveColor=function(){var t=this.series,e=t.chart.styledMode,n=t.chart.options.chart.colorCount;if(delete this.nonZonedColor,t.options.colorByPoint){if(!e){var r=(n=t.options.colors||t.chart.options.colors)[t.colorCounter];n=n.length}e=t.colorCounter,t.colorCounter++,t.colorCounter===n&&(t.colorCounter=0)}else e||(r=t.color),e=t.colorIndex;this.colorIndex=x(this.options.colorIndex,e),this.color=x(this.options.color,r)},e.prototype.setNestedProperty=function(t,e,n){return n.split(".").reduce((function(t,n,r,o){return t[n]=o.length-1===r?e:m(t[n],!0)?t[n]:{},t[n]}),t),t},e.prototype.tooltipFormatter=function(t){var e=this.series,n=e.tooltipOptions,r=x(n.valueDecimals,""),o=n.valuePrefix||"",i=n.valueSuffix||"";return e.chart.styledMode&&(t=e.chart.tooltip.styledModeFormat(t)),(e.pointArrayMap||["y"]).forEach((function(e){e="{point."+e,(o||i)&&(t=t.replace(RegExp(e+"}","g"),o+e+"}"+i)),t=t.replace(RegExp(e+"}","g"),e+":,."+r+"f}")})),s(t,{point:this,series:this.series},e.chart)},e.prototype.update=function(t,e,n,r){function o(){a.applyOptions(t);var r=l&&a.hasDummyGraphic;r=null===a.y?!r:r,l&&r&&(a.graphic=l.destroy(),delete a.hasDummyGraphic),m(t,!0)&&(l&&l.element&&t&&t.marker&&"undefined"!==typeof t.marker.symbol&&(a.graphic=l.destroy()),t&&t.dataLabels&&a.dataLabel&&(a.dataLabel=a.dataLabel.destroy()),a.connector&&(a.connector=a.connector.destroy())),i=a.index,s.updateParallelArrays(a,i),u.data[i]=m(u.data[i],!0)||m(t,!0)?a.options:x(t,u.data[i]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===u.legendType&&(c.isDirtyLegend=!0),e&&c.redraw(n)}var i,a=this,s=a.series,l=a.graphic,c=s.chart,u=s.options;e=x(e,!0),!1===r?o():a.firePointEvent("update",{options:t},o)},e.prototype.remove=function(t,e){this.series.removePoint(this.series.data.indexOf(this),t,e)},e.prototype.select=function(t,e){var n=this,r=n.series,o=r.chart;this.selectedStaging=t=x(t,!n.selected),n.firePointEvent(t?"select":"unselect",{accumulate:e},(function(){n.selected=n.options.selected=t,r.options.data[r.data.indexOf(n)]=n.options,n.setState(t&&"select"),e||o.getSelectedPoints().forEach((function(t){var e=t.series;t.selected&&t!==n&&(t.selected=t.options.selected=!1,e.options.data[e.data.indexOf(t)]=t.options,t.setState(o.hoverPoints&&e.options.inactiveOtherPoints?"inactive":""),t.firePointEvent("unselect"))}))})),delete this.selectedStaging},e.prototype.onMouseOver=function(t){var e=this.series.chart,n=e.pointer;t=t?n.normalize(t):n.getChartCoordinatesFromPoint(this,e.inverted),n.runPointActions(t,this)},e.prototype.onMouseOut=function(){var t=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(t.hoverPoints||[]).forEach((function(t){t.setState()})),t.hoverPoints=t.hoverPoint=null},e.prototype.importEvents=function(){if(!this.hasImportedEvents){var t=this,e=b(t.series.options.point,t.options).events;t.events=e,y(e,(function(e,n){v(e)&&l(t,n,e)})),this.hasImportedEvents=!0}},e.prototype.setState=function(e,n){var r,o=this.series,i=this.state,s=o.options.states[e||"normal"]||{},l=a.plotOptions[o.type].marker&&o.options.marker,c=l&&!1===l.enabled,u=l&&l.states&&l.states[e||"normal"]||{},p=!1===u.enabled,h=this.marker||{},v=o.chart,m=l&&o.markerAttribs,b=o.halo,y=o.stateMarkerGraphic;if(!((e=e||"")===this.state&&!n||this.selected&&"select"!==e||!1===s.enabled||e&&(p||c&&!1===u.enabled)||e&&h.states&&h.states[e]&&!1===h.states[e].enabled)){if(this.state=e,m&&(r=o.markerAttribs(this,e)),this.graphic&&!this.hasDummyGraphic){if(i&&this.graphic.removeClass("highcharts-point-"+i),e&&this.graphic.addClass("highcharts-point-"+e),!v.styledMode){var w=o.pointAttribs(this,e),O=x(v.options.chart.animation,s.animation);o.options.inactiveOtherPoints&&g(w.opacity)&&((this.dataLabels||[]).forEach((function(t){t&&t.animate({opacity:w.opacity},O)})),this.connector&&this.connector.animate({opacity:w.opacity},O)),this.graphic.animate(w,O)}r&&this.graphic.animate(r,x(v.options.chart.animation,u.animation,l.animation)),y&&y.hide()}else e&&u&&(i=h.symbol||o.symbol,y&&y.currentSymbol!==i&&(y=y.destroy()),r&&(y?y[n?"animate":"attr"]({x:r.x,y:r.y}):i&&(o.stateMarkerGraphic=y=v.renderer.symbol(i,r.x,r.y,r.width,r.height).add(o.markerGroup),y.currentSymbol=i)),!v.styledMode&&y&&"inactive"!==this.state&&y.attr(o.pointAttribs(this,e))),y&&(y[e&&this.isInside?"show":"hide"](),y.element.point=this,y.addClass(this.getClassName(),!0));s=s.halo,r=(y=this.graphic||y)&&y.visibility||"inherit",s&&s.size&&y&&"hidden"!==r&&!this.isCluster?(b||(o.halo=b=v.renderer.path().add(y.parentGroup)),b.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),b.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,o.colorIndex)+(this.className?" "+this.className:""),visibility:r,zIndex:-1}),b.point=this,v.styledMode||b.attr(d({fill:this.color||o.color,"fill-opacity":s.opacity},t.filterUserAttributes(s.attributes||{})))):b&&b.point&&b.point.haloPath&&b.animate({d:b.point.haloPath(0)},null,b.hide),f(this,"afterSetState",{state:e})}},e.prototype.haloPath=function(t){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-t,this.plotY-t,2*t,2*t)},e}(),e})),e(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o=t.parse,i=e.charts,a=e.noop,s=r.addEvent,l=r.attr,c=r.css,u=r.defined,d=r.extend,f=r.find,p=r.fireEvent,h=r.isNumber,v=r.isObject,g=r.objectEach,m=r.offset,b=r.pick,y=r.splat;return t=function(){function t(t,e){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=t,this.hasDragged=!1,this.options=e,this.init(t,e)}return t.prototype.applyInactiveState=function(t){var e,n=[];(t||[]).forEach((function(t){e=t.series,n.push(e),e.linkedParent&&n.push(e.linkedParent),e.linkedSeries&&(n=n.concat(e.linkedSeries)),e.navigatorSeries&&n.push(e.navigatorSeries)})),this.chart.series.forEach((function(t){-1===n.indexOf(t)?t.setState("inactive",!0):t.options.inactiveOtherPoints&&t.setAllPointsToState("inactive")}))},t.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach((function(t){return t()})),this.eventsToUnbind=[],e.chartCount||(t.unbindDocumentMouseUp&&(t.unbindDocumentMouseUp=t.unbindDocumentMouseUp()),t.unbindDocumentTouchEnd&&(t.unbindDocumentTouchEnd=t.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),g(n,(function(t,e){n[e]=void 0}))},t.prototype.drag=function(t){var e=this.chart,n=e.options.chart,r=this.zoomHor,i=this.zoomVert,a=e.plotLeft,s=e.plotTop,l=e.plotWidth,c=e.plotHeight,u=this.mouseDownX||0,d=this.mouseDownY||0,f=v(n.panning)?n.panning&&n.panning.enabled:n.panning,p=n.panKey&&t[n.panKey+"Key"],h=t.chartX,g=t.chartY,m=this.selectionMarker;if((!m||!m.touch)&&(h<a?h=a:h>a+l&&(h=a+l),g<s?g=s:g>s+c&&(g=s+c),this.hasDragged=Math.sqrt(Math.pow(u-h,2)+Math.pow(d-g,2)),10<this.hasDragged)){var b=e.isInsidePlot(u-a,d-s,{visiblePlotOnly:!0});!e.hasCartesianSeries&&!e.mapView||!this.zoomX&&!this.zoomY||!b||p||m||(this.selectionMarker=m=e.renderer.rect(a,s,r?1:l,i?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),e.styledMode||m.attr({fill:n.selectionMarkerFill||o("#335cad").setOpacity(.25).get()})),m&&r&&(r=h-u,m.attr({width:Math.abs(r),x:(0<r?0:r)+u})),m&&i&&(r=g-d,m.attr({height:Math.abs(r),y:(0<r?0:r)+d})),b&&!m&&f&&e.pan(t,n.panning)}},t.prototype.dragStart=function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},t.prototype.drop=function(t){var e=this,n=this.chart,r=this.hasPinched;if(this.selectionMarker){var o=this.selectionMarker,i=o.attr?o.attr("x"):o.x,a=o.attr?o.attr("y"):o.y,s=o.attr?o.attr("width"):o.width,l=o.attr?o.attr("height"):o.height,f={originalEvent:t,xAxis:[],yAxis:[],x:i,y:a,width:s,height:l},v=!!n.mapView;(this.hasDragged||r)&&(n.axes.forEach((function(n){if(n.zoomEnabled&&u(n.min)&&(r||e[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&h(i)&&h(a)){var o=n.horiz,c="touchend"===t.type?n.minPixelPadding:0,d=n.toValue((o?i:a)+c);o=n.toValue((o?i+s:a+l)-c),f[n.coll].push({axis:n,min:Math.min(d,o),max:Math.max(d,o)}),v=!0}})),v&&p(n,"selection",f,(function(t){n.zoom(d(t,r?{animation:!1}:null))}))),h(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),r&&this.scaleGroups()}n&&h(n.index)&&(c(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},t.prototype.findNearestKDPoint=function(t,e,n){var r,o=this.chart,i=o.hoverPoint;return o=o.tooltip,i&&o&&o.isStickyOnContact()?i:(t.forEach((function(t){var o=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,o),(o=v(t,!0)&&t.series)&&!(o=!v(r,!0))){o=r.distX-t.distX;var i=r.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(r.series.group&&r.series.group.zIndex);o=0<(0!==o&&e?o:0!==i?i:0!==a?a:r.series.index>t.series.index?-1:1)}o&&(r=t)})),r)},t.prototype.getChartCoordinatesFromPoint=function(t,e){var n=t.series,r=n.xAxis;n=n.yAxis;var o=t.shapeArgs;if(r&&n){var i=b(t.clientX,t.plotX),a=t.plotY||0;return t.isNode&&o&&h(o.x)&&h(o.y)&&(i=o.x,a=o.y),e?{chartX:n.len+n.pos-a,chartY:r.len+r.pos-i}:{chartX:i+r.pos,chartY:a+n.pos}}if(o&&o.x&&o.y)return{chartX:o.x,chartY:o.y}},t.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var t=this.chart.container,e=m(t);this.chartPosition={left:e.left,top:e.top,scaleX:1,scaleY:1};var n=t.offsetWidth;return t=t.offsetHeight,2<n&&2<t&&(this.chartPosition.scaleX=e.width/n,this.chartPosition.scaleY=e.height/t),this.chartPosition},t.prototype.getCoordinates=function(t){var e={xAxis:[],yAxis:[]};return this.chart.axes.forEach((function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})})),e},t.prototype.getHoverData=function(t,e,n,r,o,i){var a=[];r=!(!r||!t);var s={chartX:i?i.chartX:void 0,chartY:i?i.chartY:void 0,shared:o};p(this,"beforeGetHoverData",s);var l=e&&!e.stickyTracking?[e]:n.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!o&&t.directTouch)&&b(t.options.enableMouseTracking,!0)&&t.stickyTracking})),c=r||!i?t:this.findNearestKDPoint(l,o,i);return e=c&&c.series,c&&(o&&!e.noSharedTooltip?(l=n.filter((function(t){return s.filter?s.filter(t):t.visible&&!(!o&&t.directTouch)&&b(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip})),l.forEach((function(t){var e=f(t.points,(function(t){return t.x===c.x&&!t.isNull}));v(e)&&(t.chart.isBoosting&&(e=t.getPoint(e)),a.push(e))}))):a.push(c)),p(this,"afterGetHoverData",s={hoverPoint:c}),{hoverPoint:s.hoverPoint,hoverSeries:e,hoverPoints:a}},t.prototype.getPointFromEvent=function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},t.prototype.onTrackerMouseOut=function(t){t=t.relatedTarget||t.toElement;var e=this.chart.hoverSeries;this.isDirectTouch=!1,!e||!t||e.stickyTracking||this.inClass(t,"highcharts-tooltip")||this.inClass(t,"highcharts-series-"+e.index)&&this.inClass(t,"highcharts-tracker")||e.onMouseOut()},t.prototype.inClass=function(t,e){for(var n;t;){if(n=l(t,"class")){if(-1!==n.indexOf(e))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}t=t.parentElement}},t.prototype.init=function(t,e){this.options=e,this.chart=t,this.runChartClick=!(!e.chart.events||!e.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(t.tooltip=new n(t,e.tooltip),this.followTouchMove=b(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},t.prototype.normalize=function(t,e){var n=t.touches,r=n?n.length?n.item(0):b(n.changedTouches,t.changedTouches)[0]:t;return e||(e=this.getChartPosition()),n=r.pageX-e.left,r=r.pageY-e.top,n/=e.scaleX,r/=e.scaleY,d(t,{chartX:Math.round(n),chartY:Math.round(r)})},t.prototype.onContainerClick=function(t){var e=this.chart,n=e.hoverPoint;t=this.normalize(t);var r=e.plotLeft,o=e.plotTop;e.cancelClick||(n&&this.inClass(t.target,"highcharts-tracker")?(p(n.series,"click",d(t,{point:n})),e.hoverPoint&&n.firePointEvent("click",t)):(d(t,this.getCoordinates(t)),e.isInsidePlot(t.chartX-r,t.chartY-o,{visiblePlotOnly:!0})&&p(e,"click",t)))},t.prototype.onContainerMouseDown=function(t){var n=1===(1&(t.buttons||t.button));t=this.normalize(t),e.isFirefox&&0!==t.button&&this.onContainerMouseMove(t),("undefined"===typeof t.button||n)&&(this.zoomOption(t),n&&t.preventDefault&&t.preventDefault(),this.dragStart(t))},t.prototype.onContainerMouseLeave=function(e){var n=i[b(t.hoverChartIndex,-1)],r=this.chart.tooltip;r&&r.shouldStickOnContact()&&this.inClass(e.relatedTarget,"highcharts-tooltip-container")||(e=this.normalize(e),n&&(e.relatedTarget||e.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),r&&!r.isHidden&&this.reset())},t.prototype.onContainerMouseEnter=function(t){delete this.chartPosition},t.prototype.onContainerMouseMove=function(t){var e=this.chart;t=this.normalize(t),this.setHoverChartIndex(),t.preventDefault||(t.returnValue=!1),("mousedown"===e.mouseIsDown||this.touchSelect(t))&&this.drag(t),e.openMenu||!this.inClass(t.target,"highcharts-tracker")&&!e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||(this.inClass(t.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(t))},t.prototype.onDocumentTouchEnd=function(e){var n=i[b(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.onContainerTouchMove=function(t){this.touchSelect(t)?this.onContainerMouseMove(t):this.touch(t)},t.prototype.onContainerTouchStart=function(t){this.touchSelect(t)?this.onContainerMouseDown(t):(this.zoomOption(t),this.touch(t,!0))},t.prototype.onDocumentMouseMove=function(t){var e=this.chart,n=this.chartPosition;t=this.normalize(t,n);var r=e.tooltip;!n||r&&r.isStickyOnContact()||e.isInsidePlot(t.chartX-e.plotLeft,t.chartY-e.plotTop,{visiblePlotOnly:!0})||this.inClass(t.target,"highcharts-tracker")||this.reset()},t.prototype.onDocumentMouseUp=function(e){var n=i[b(t.hoverChartIndex,-1)];n&&n.pointer.drop(e)},t.prototype.pinch=function(t){var e=this,n=e.chart,r=e.pinchDown,o=t.touches||[],i=o.length,s=e.lastValidTouch,l=e.hasZoom,c={},u=1===i&&(e.inClass(t.target,"highcharts-tracker")&&n.runTrackerClick||e.runChartClick),f={},h=e.selectionMarker;1<i?e.initiated=!0:1===i&&this.followTouchMove&&(e.initiated=!1),l&&e.initiated&&!u&&!1!==t.cancelable&&t.preventDefault(),[].map.call(o,(function(t){return e.normalize(t)})),"touchstart"===t.type?([].forEach.call(o,(function(t,e){r[e]={chartX:t.chartX,chartY:t.chartY}})),s.x=[r[0].chartX,r[1]&&r[1].chartX],s.y=[r[0].chartY,r[1]&&r[1].chartY],n.axes.forEach((function(t){if(t.zoomEnabled){var e=n.bounds[t.horiz?"h":"v"],r=t.minPixelPadding,o=t.toPixels(Math.min(b(t.options.min,t.dataMin),t.dataMin)),i=t.toPixels(Math.max(b(t.options.max,t.dataMax),t.dataMax)),a=Math.max(o,i);e.min=Math.min(t.pos,Math.min(o,i)-r),e.max=Math.max(t.pos+t.len,a+r)}})),e.res=!0):e.followTouchMove&&1===i?this.runPointActions(e.normalize(t)):r.length&&(p(n,"touchpan",{originalEvent:t},(function(){h||(e.selectionMarker=h=d({destroy:a,touch:!0},n.plotBox)),e.pinchTranslate(r,o,c,h,f,s),e.hasPinched=l,e.scaleGroups(c,f)})),e.res&&(e.res=!1,this.reset(!1,0)))},t.prototype.pinchTranslate=function(t,e,n,r,o,i){this.zoomHor&&this.pinchTranslateDirection(!0,t,e,n,r,o,i),this.zoomVert&&this.pinchTranslateDirection(!1,t,e,n,r,o,i)},t.prototype.pinchTranslateDirection=function(t,e,n,r,o,i,a,s){var l=this.chart,c=t?"x":"y",u=t?"X":"Y",d="chart"+u,f=t?"width":"height",p=l["plot"+(t?"Left":"Top")],h=l.inverted,v=l.bounds[t?"h":"v"],g=1===e.length,m=e[0][d],b=!g&&e[1][d];e=function(){"number"===typeof S&&20<Math.abs(m-b)&&(w=s||Math.abs(O-S)/Math.abs(m-b)),x=(p-O)/w+m,y=l["plot"+(t?"Width":"Height")]/w};var y,x,w=s||1,O=n[0][d],S=!g&&n[1][d];if(e(),(n=x)<v.min){n=v.min;var j=!0}else n+y>v.max&&(n=v.max-y,j=!0);j?(O-=.8*(O-a[c][0]),"number"===typeof S&&(S-=.8*(S-a[c][1])),e()):a[c]=[O,S],h||(i[c]=x-p,i[f]=y),i=h?1/w:w,o[f]=y,o[c]=n,r[h?t?"scaleY":"scaleX":"scale"+u]=w,r["translate"+u]=i*p+(O-i*m)},t.prototype.reset=function(t,e){var n=this.chart,r=n.hoverSeries,o=n.hoverPoint,i=n.hoverPoints,a=n.tooltip,s=a&&a.shared?i:o;t&&s&&y(s).forEach((function(e){e.series.isCartesian&&"undefined"===typeof e.plotX&&(t=!1)})),t?a&&s&&y(s).length&&(a.refresh(s),a.shared&&i?i.forEach((function(t){t.setState(t.state,!0),t.series.isCartesian&&(t.series.xAxis.crosshair&&t.series.xAxis.drawCrosshair(null,t),t.series.yAxis.crosshair&&t.series.yAxis.drawCrosshair(null,t))})):o&&(o.setState(o.state,!0),n.axes.forEach((function(t){t.crosshair&&o.series[t.coll]===t&&t.drawCrosshair(null,o)})))):(o&&o.onMouseOut(),i&&i.forEach((function(t){t.setState()})),r&&r.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach((function(t){t.hideCrosshair()})),this.hoverX=n.hoverPoints=n.hoverPoint=null)},t.prototype.runPointActions=function(e,n){var r=this.chart,o=r.tooltip&&r.tooltip.options.enabled?r.tooltip:void 0,a=!!o&&o.shared,l=n||r.hoverPoint,c=l&&l.series||r.hoverSeries;n=this.getHoverData(l,c,r.series,(!e||"touchmove"!==e.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),a,e),l=n.hoverPoint,c=n.hoverSeries;var u=n.hoverPoints;n=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split;var d=a&&c&&!c.noSharedTooltip;if(l&&(l!==r.hoverPoint||o&&o.isHidden)){if((r.hoverPoints||[]).forEach((function(t){-1===u.indexOf(t)&&t.setState()})),r.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(t){t.setState("hover")})),r.hoverPoint&&r.hoverPoint.firePointEvent("mouseOut"),!l.series)return;r.hoverPoints=u,r.hoverPoint=l,l.firePointEvent("mouseOver",void 0,(function(){o&&l&&o.refresh(d?u:l,e)}))}else n&&o&&!o.isHidden&&(a=o.getAnchor([{}],e),r.isInsidePlot(a[0],a[1],{visiblePlotOnly:!0})&&o.updatePosition({plotX:a[0],plotY:a[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(r.container.ownerDocument,"mousemove",(function(e){var n=i[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),this.eventsToUnbind.push(this.unDocMouseMove)),r.axes.forEach((function(t){var n,o=b((t.crosshair||{}).snap,!0);o&&((n=r.hoverPoint)&&n.series[t.coll]===t||(n=f(u,(function(e){return e.series&&e.series[t.coll]===t})))),n||!o?t.drawCrosshair(e,n):t.hideCrosshair()}))},t.prototype.scaleGroups=function(t,e){var n=this.chart;n.series.forEach((function(r){var o=t||r.getPlotBox();r.group&&(r.xAxis&&r.xAxis.zoomEnabled||n.mapView)&&(r.group.attr(o),r.markerGroup&&(r.markerGroup.attr(o),r.markerGroup.clip(e?n.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(o))})),n.clipRect.attr(e||n.clipBox)},t.prototype.setDOMEvents=function(){var n=this,r=this.chart.container,o=r.ownerDocument;r.onmousedown=this.onContainerMouseDown.bind(this),r.onmousemove=this.onContainerMouseMove.bind(this),r.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(r,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(r,"mouseleave",this.onContainerMouseLeave.bind(this))),t.unbindDocumentMouseUp||(t.unbindDocumentMouseUp=s(o,"mouseup",this.onDocumentMouseUp.bind(this)));for(var i=this.chart.renderTo.parentElement;i&&"BODY"!==i.tagName;)this.eventsToUnbind.push(s(i,"scroll",(function(){delete n.chartPosition}))),i=i.parentElement;e.hasTouch&&(this.eventsToUnbind.push(s(r,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(r,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),t.unbindDocumentTouchEnd||(t.unbindDocumentTouchEnd=s(o,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},t.prototype.setHoverChartIndex=function(){var n=this.chart,r=e.charts[b(t.hoverChartIndex,-1)];r&&r!==n&&r.pointer.onContainerMouseLeave({relatedTarget:n.container}),r&&r.mouseIsDown||(t.hoverChartIndex=n.index)},t.prototype.touch=function(t,e){var n=this.chart;if(this.setHoverChartIndex(),1===t.touches.length)if(t=this.normalize(t),n.isInsidePlot(t.chartX-n.plotLeft,t.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(e&&this.runPointActions(t),"touchmove"===t.type)var r=!!(e=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(e[0].chartX-t.chartX,2)+Math.pow(e[0].chartY-t.chartY,2));b(r,!0)&&this.pinch(t)}else e&&this.reset();else 2===t.touches.length&&this.pinch(t)},t.prototype.touchSelect=function(t){return!(!this.chart.options.chart.zoomBySingleTouch||!t.touches||1!==t.touches.length)},t.prototype.zoomOption=function(t){var e=this.chart,n=e.options.chart;e=e.inverted;var r=n.zoomType||"";/touch/.test(t.type)&&(r=b(n.pinchType,r)),this.zoomX=t=/x/.test(r),this.zoomY=n=/y/.test(r),this.zoomHor=t&&!e||n&&e,this.zoomVert=n&&!e||t&&e,this.hasZoom=t||n},t}(),t})),e(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],(function(t,e,n){function r(){var t=[];return t.item=function(t){return this[t]},f(h,(function(e){t.push({pageX:e.pageX,pageY:e.pageY,target:e.target})})),t}function o(t,n,o,i){var s=a[e.hoverChartIndex||NaN];"touch"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,i(t),s[n]({type:o,target:t.currentTarget,preventDefault:l,touches:r()}))}var i=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),a=t.charts,s=t.doc,l=t.noop,c=t.win,u=n.addEvent,d=n.css,f=n.objectEach,p=n.removeEvent,h={},v=!!c.PointerEvent;return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.isRequired=function(){return!(t.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},n.prototype.batchMSEvents=function(t){t(this.chart.container,v?"pointerdown":"MSPointerDown",this.onContainerPointerDown),t(this.chart.container,v?"pointermove":"MSPointerMove",this.onContainerPointerMove),t(s,v?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(p),e.prototype.destroy.call(this)},n.prototype.init=function(t,n){e.prototype.init.call(this,t,n),this.hasZoom&&d(t.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(t){o(t,"onContainerTouchStart","touchstart",(function(t){h[t.pointerId]={pageX:t.pageX,pageY:t.pageY,target:t.currentTarget}}))},n.prototype.onContainerPointerMove=function(t){o(t,"onContainerTouchMove","touchmove",(function(t){h[t.pointerId]={pageX:t.pageX,pageY:t.pageY},h[t.pointerId].target||(h[t.pointerId].target=t.currentTarget)}))},n.prototype.onDocumentPointerUp=function(t){o(t,"onDocumentTouchEnd","touchend",(function(t){delete h[t.pointerId]}))},n.prototype.setDOMEvents=function(){e.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(u)},n}(e)})),e(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i){var a=t.animObject,s=t.setAnimation,l=e.format;t=n.isFirefox;var c=n.marginNames;n=n.win;var u=o.distribute,d=i.addEvent,f=i.createElement,p=i.css,h=i.defined,v=i.discardElement,g=i.find,m=i.fireEvent,b=i.isNumber,y=i.merge,x=i.pick,w=i.relativeLength,O=i.stableSort,S=i.syncTimeout;return o=i.wrap,i=function(){function t(t,e){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options=void 0,this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=t,this.init(t,e)}return t.prototype.init=function(t,e){this.chart=t,this.setOptions(e),e.enabled&&(this.render(),d(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=d(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},t.prototype.setOptions=function(t){var e=x(t.padding,8);this.options=t,this.chart.styledMode||(this.itemStyle=t.itemStyle,this.itemHiddenStyle=y(this.itemStyle,t.itemHiddenStyle)),this.itemMarginTop=t.itemMarginTop||0,this.itemMarginBottom=t.itemMarginBottom||0,this.padding=e,this.initialItemY=e-5,this.symbolWidth=x(t.symbolWidth,16),this.pages=[],this.proximate="proximate"===t.layout&&!this.chart.inverted,this.baseline=void 0},t.prototype.update=function(t,e){var n=this.chart;this.setOptions(y(!0,this.options,t)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,x(e,!0)&&n.redraw(),m(this,"afterUpdate")},t.prototype.colorizeItem=function(t,e){if(t.legendGroup[e?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,r=t.legendItem,o=t.legendLine,i=t.legendSymbol,a=this.itemHiddenStyle.color;n=e?n.itemStyle.color:a;var s=e&&t.color||a,l=t.options&&t.options.marker,c={fill:s};r&&r.css({fill:n,color:n}),o&&o.attr({stroke:s}),i&&(l&&i.isMarker&&(c=t.pointAttribs(),e||(c.stroke=c.fill=a)),i.attr(c))}m(this,"afterColorizeItem",{item:t,visible:e})},t.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},t.prototype.positionItem=function(t){var e=this,n=this.options,r=n.symbolPadding,o=!n.rtl,i=t._legendItemPos;n=i[0],i=i[1];var a=t.checkbox,s=t.legendGroup;s&&s.element&&(r={translateX:o?n:this.legendWidth-n-2*r-4,translateY:i},o=function(){m(e,"afterPositionItem",{item:t})},h(s.translateY)?s.animate(r,void 0,o):(s.attr(r),o())),a&&(a.x=n,a.y=i)},t.prototype.destroyItem=function(t){var e=t.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(e){t[e]&&(t[e]=t[e].destroy())})),e&&v(t.checkbox)},t.prototype.destroy=function(){function t(t){this[t]&&(this[t]=this[t].destroy())}this.getAllItems().forEach((function(e){["legendItem","legendGroup"].forEach(t,e)})),"clipRect up down pager nav box title group".split(" ").forEach(t,this),this.display=null},t.prototype.positionCheckboxes=function(){var t=this.group&&this.group.alignAttr,e=this.clipHeight||this.legendHeight,n=this.titleHeight;if(t){var r=t.translateY;this.allItems.forEach((function(o){var i=o.checkbox;if(i){var a=r+n+i.y+(this.scrollOffset||0)+3;p(i,{left:t.translateX+o.checkboxOffset+i.x-20+"px",top:a+"px",display:this.proximate||a>r-6&&a<r+e-6?"":"none"})}}),this)}},t.prototype.renderTitle=function(){var t=this.options,e=this.padding,n=t.title,r=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,e-3,e-4,void 0,void 0,void 0,t.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),r=(t=this.title.getBBox()).height,this.offsetWidth=t.width,this.contentGroup.attr({translateY:r})),this.titleHeight=r},t.prototype.setText=function(t){var e=this.options;t.legendItem.attr({text:e.labelFormat?l(e.labelFormat,t,this.chart):e.labelFormatter.call(t)})},t.prototype.renderItem=function(t){var e=this.chart,n=e.renderer,r=this.options,o=this.symbolWidth,i=r.symbolPadding||0,a=this.itemStyle,s=this.itemHiddenStyle,l="horizontal"===r.layout?x(r.itemDistance,20):0,c=!r.rtl,u=!t.series,d=!u&&t.series.drawLegendSymbol?t.series:t,f=d.options,p=this.createCheckboxForItem&&f&&f.showCheckbox,h=r.useHTML,v=t.options.className,g=t.legendItem;f=o+i+l+(p?20:0),g||(t.legendGroup=n.g("legend-item").addClass("highcharts-"+d.type+"-series highcharts-color-"+t.colorIndex+(v?" "+v:"")+(u?" highcharts-series-"+t.index:"")).attr({zIndex:1}).add(this.scrollGroup),t.legendItem=g=n.text("",c?o+i:-i,this.baseline||0,h),e.styledMode||g.css(y(t.visible?a:s)),g.attr({align:c?"left":"right",zIndex:2}).add(t.legendGroup),this.baseline||(this.fontMetrics=n.fontMetrics(e.styledMode?12:a.fontSize,g),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,g.attr("y",this.baseline),this.symbolHeight=r.symbolHeight||this.fontMetrics.f,r.squareSymbol&&(this.symbolWidth=x(r.symbolWidth,Math.max(this.symbolHeight,16)),f=this.symbolWidth+i+l+(p?20:0),c&&g.attr("x",this.symbolWidth+i))),d.drawLegendSymbol(this,t),this.setItemEvents&&this.setItemEvents(t,g,h)),p&&!t.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(t),this.colorizeItem(t,t.visible),!e.styledMode&&a.width||g.css({width:(r.itemWidth||this.widthOption||e.spacingBox.width)-f+"px"}),this.setText(t),e=g.getBBox(),n=this.fontMetrics&&this.fontMetrics.h||0,t.itemWidth=t.checkboxOffset=r.itemWidth||t.legendItemWidth||e.width+f,this.maxItemWidth=Math.max(this.maxItemWidth,t.itemWidth),this.totalItemWidth+=t.itemWidth,this.itemHeight=t.itemHeight=Math.round(t.legendItemHeight||(e.height>1.5*n?e.height:n))},t.prototype.layoutItem=function(t){var e=this.options,n=this.padding,r="horizontal"===e.layout,o=t.itemHeight,i=this.itemMarginBottom,a=this.itemMarginTop,s=r?x(e.itemDistance,20):0,l=this.maxLegendWidth;e=e.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:t.itemWidth,r&&this.itemX-n+e>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+i),this.lastLineHeight=0),this.lastItemY=a+this.itemY+i,this.lastLineHeight=Math.max(o,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=e:(this.itemY+=a+o+i,this.lastLineHeight=o),this.offsetWidth=this.widthOption||Math.max((r?this.itemX-n-(t.checkbox?0:s):e)+n,this.offsetWidth)},t.prototype.getAllItems=function(){var t=[];return this.chart.series.forEach((function(e){var n=e&&e.options;e&&x(n.showInLegend,!h(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))})),m(this,"afterGetAllItems",{allItems:t}),t},t.prototype.getAlignment=function(){var t=this.options;return this.proximate?t.align.charAt(0)+"tv":t.floating?"":t.align.charAt(0)+t.verticalAlign.charAt(0)+t.layout.charAt(0)},t.prototype.adjustMargins=function(t,e){var n=this.chart,r=this.options,o=this.getAlignment();o&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(i,a){i.test(o)&&!h(t[a])&&(n[c[a]]=Math.max(n[c[a]],n.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*r[a%2?"x":"y"]+x(r.margin,12)+e[a]+(n.titleOffset[a]||0)))}))},t.prototype.proximatePositions=function(){var t=this.chart,e=[],n="left"===this.options.align;this.allItems.forEach((function(r){var o,i=n;if(r.yAxis){r.xAxis.options.reversed&&(i=!i),r.points&&(o=g(i?r.points:r.points.slice(0).reverse(),(function(t){return b(t.plotY)}))),i=this.itemMarginTop+r.legendItem.getBBox().height+this.itemMarginBottom;var a=r.yAxis.top-t.plotTop;r.visible?(o=o?o.plotY:r.yAxis.height,o+=a-.3*i):o=a+r.yAxis.height,e.push({target:o,size:i,item:r})}}),this),u(e,t.plotHeight).forEach((function(e){e.item._legendItemPos&&e.pos&&(e.item._legendItemPos[1]=t.plotTop-t.spacing[0]+e.pos)}))},t.prototype.render=function(){var t=this.chart,e=t.renderer,n=this.options,r=this.padding,o=this.getAllItems(),i=this.group,a=this.box;this.itemX=r,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=w(n.width,t.spacingBox.width-r);var s=t.spacingBox.width-2*r-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,i||(this.group=i=e.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=e.g().attr({zIndex:1}).add(i),this.scrollGroup=e.g().add(this.contentGroup)),this.renderTitle(),O(o,(function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)})),n.reversed&&o.reverse(),this.allItems=o,this.display=s=!!o.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,o.forEach(this.renderItem,this),o.forEach(this.layoutItem,this),o=(this.widthOption||this.offsetWidth)+r;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=r,a||(this.box=a=e.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(i)),t.styledMode||a.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<o&&0<l&&a[a.placed?"animate":"attr"](a.crisp.call({},{x:0,y:0,width:o,height:l},a.strokeWidth())),i[s?"show":"hide"](),t.styledMode&&"none"===i.getStyle("display")&&(o=l=0),this.legendWidth=o,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),m(this,"afterRender")},t.prototype.align=function(t){void 0===t&&(t=this.chart.spacingBox);var e=this.chart,n=this.options,r=t.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<e.titleOffset[0]?r+=e.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<e.titleOffset[2]&&(r-=e.titleOffset[2]),r!==t.y&&(t=y(t,{y:r})),e.hasRendered||(this.group.placed=!1),this.group.align(y(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,t)},t.prototype.handleOverflow=function(t){var e,n,r=this,o=this.chart,i=o.renderer,a=this.options,s=a.y,l="top"===a.verticalAlign,c=this.padding,u=a.maxHeight,d=a.navigation,f=x(d.animation,!0),p=d.arrowSize||12,h=this.pages,v=this.allItems,g=function(t){"number"===typeof t?y.attr({height:t}):y&&(r.clipRect=y.destroy(),r.contentGroup.clip()),r.contentGroup.div&&(r.contentGroup.div.style.clip=t?"rect("+c+"px,9999px,"+(c+t)+"px,0)":"auto")},m=function(t){return r[t]=i.circle(0,0,1.3*p).translate(p/2,p/2).add(b),o.styledMode||r[t].attr("fill","rgba(0,0,0,0.0001)"),r[t]};s=o.spacingBox.height+(l?-s:s)-c;var b=this.nav,y=this.clipRect;return"horizontal"!==a.layout||"middle"===a.verticalAlign||a.floating||(s/=2),u&&(s=Math.min(s,u)),h.length=0,t&&0<s&&t>s&&!1!==d.enabled?(this.clipHeight=e=Math.max(s-20-this.titleHeight-c,0),this.currentPage=x(this.currentPage,1),this.fullHeight=t,v.forEach((function(t,r){var o=t._legendItemPos[1],i=Math.round(t.legendItem.getBBox().height),a=h.length;(!a||o-h[a-1]>e&&(n||o)!==h[a-1])&&(h.push(n||o),a++),t.pageIx=a-1,n&&(v[r-1].pageIx=a-1),r===v.length-1&&o+i-h[a-1]>e&&i<=e&&(h.push(o),t.pageIx=a),o!==n&&(n=o)})),y||(y=r.clipRect=i.clipRect(0,c,9999,0),r.contentGroup.clip(y)),g(e),b||(this.nav=b=i.g().attr({zIndex:1}).add(this.group),this.up=i.symbol("triangle",0,0,p,p).add(b),m("upTracker").on("click",(function(){r.scroll(-1,f)})),this.pager=i.text("",15,10).addClass("highcharts-legend-navigation"),!o.styledMode&&d.style&&this.pager.css(d.style),this.pager.add(b),this.down=i.symbol("triangle-down",0,0,p,p).add(b),m("downTracker").on("click",(function(){r.scroll(1,f)}))),r.scroll(0),t=s):b&&(g(),this.nav=b.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},t.prototype.scroll=function(t,e){var n=this,r=this.chart,o=this.pages,i=o.length,l=this.clipHeight,c=this.options.navigation,u=this.pager,d=this.padding,f=this.currentPage+t;f>i&&(f=i),0<f&&("undefined"!==typeof e&&s(e,r),this.nav.attr({translateX:d,translateY:l+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach((function(t){t.attr({class:1===f?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})})),u.attr({text:f+"/"+i}),[this.down,this.downTracker].forEach((function(t){t.attr({x:18+this.pager.getBBox().width,class:f===i?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),this),r.styledMode||(this.up.attr({fill:1===f?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===f?"default":"pointer"}),this.down.attr({fill:f===i?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:f===i?"default":"pointer"})),this.scrollOffset=-o[f-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=f,this.positionCheckboxes(),t=a(x(e,r.renderer.globalAnimation,!0)),S((function(){m(n,"afterScroll",{currentPage:f})}),t.duration))},t.prototype.setItemEvents=function(t,e,n){var o=this,i=o.chart.renderer.boxWrapper,a=t instanceof r,s="highcharts-legend-"+(a?"point":"series")+"-active",l=o.chart.styledMode,c=function(e){o.allItems.forEach((function(n){t!==n&&[n].concat(n.linkedSeries||[]).forEach((function(t){t.setState(e,!a)}))}))};(n?[e,t.legendSymbol]:[t.legendGroup]).forEach((function(n){n&&n.on("mouseover",(function(){t.visible&&c("inactive"),t.setState("hover"),t.visible&&i.addClass(s),l||e.css(o.options.itemHoverStyle)})).on("mouseout",(function(){o.chart.styledMode||e.css(y(t.visible?o.itemStyle:o.itemHiddenStyle)),c(""),i.removeClass(s),t.setState()})).on("click",(function(e){var n=function(){t.setVisible&&t.setVisible(),c(t.visible?"inactive":"")};i.removeClass(s),e={browserEvent:e},t.firePointEvent?t.firePointEvent("legendItemClick",e,n):m(t,"legendItemClick",e,n)}))}))},t.prototype.createCheckboxForItem=function(t){t.checkbox=f("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:t.selected,defaultChecked:t.selected},this.options.itemCheckboxStyle,this.chart.container),d(t.checkbox,"click",(function(e){m(t.series||t,"checkboxClick",{checked:e.target.checked,item:t},(function(){t.select()}))}))},t}(),(/Trident\/7\.0/.test(n.navigator&&n.navigator.userAgent)||t)&&o(i.prototype,"positionItem",(function(t,e){var n=this,r=function(){e._legendItemPos&&t.call(n,e)};r(),n.bubbleLegend||setTimeout(r)})),i})),e(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/DefaultOptions.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o,i=e.defaultOptions,a=r.error,s=r.extendClass,l=r.merge;return function(e){function r(t,r){var o=i.plotOptions||{},a=r.defaultOptions;r.prototype.pointClass||(r.prototype.pointClass=n),r.prototype.type=t,a&&(o[t]=a),e.seriesTypes[t]=r}e.seriesTypes=t.seriesTypes,e.getSeries=function(t,n){void 0===n&&(n={});var r=t.options.chart;r=n.type||r.type||r.defaultSeriesType||"";var o=e.seriesTypes[r];return e||a(17,!0,t,{missingModuleFor:r}),"function"===typeof(r=new o).init&&r.init(t,n),r},e.registerSeriesType=r,e.seriesType=function(t,o,a,c,u){var d=i.plotOptions||{};return o=o||"",d[t]=l(d[o],a),r(t,s(e.seriesTypes[o]||function(){},c)),e.seriesTypes[t].prototype.type=t,u&&(e.seriesTypes[t].prototype.pointClass=s(n,u)),e.seriesTypes[t]}}(o||(o={})),o})),e(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.js"],n["Core/DefaultOptions.js"],n["Core/Pointer.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],(function(t,e,n,r,o,i,a,s,l,c,u,d,f,p,h){var v=t.animate,g=t.animObject,m=t.setAnimation,b=n.numberFormat,y=r.registerEventOptions,x=o.charts,w=o.doc,O=o.marginNames,S=o.svg,j=o.win,C=s.defaultOptions,k=s.defaultTime,E=u.seriesTypes,P=p.addEvent,_=p.attr,M=p.cleanRecursively,T=p.createElement,A=p.css,R=p.defined,D=p.discardElement,I=p.erase,N=p.error,L=p.extend,F=p.find,B=p.fireEvent,z=p.getStyle,H=p.isArray,V=p.isNumber,U=p.isObject,W=p.isString,q=p.merge,G=p.objectEach,Y=p.pick,X=p.pInt,K=p.relativeLength,$=p.removeEvent,Z=p.splat,Q=p.syncTimeout,J=p.uniqueKey;return t=function(){function t(t,e,n){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(t,e,n)}return t.chart=function(e,n,r){return new t(e,n,r)},t.prototype.getArgs=function(t,e,n){W(t)||t.nodeName?(this.renderTo=t,this.init(e,n)):this.init(t,e)},t.prototype.init=function(t,e){var n=t.plotOptions||{};B(this,"init",{args:arguments},(function(){var r=q(C,t),i=r.chart;G(r.plotOptions,(function(t,e){U(t)&&(t.tooltip=n[e]&&q(n[e].tooltip)||void 0)})),r.tooltip.userOptions=t.chart&&t.chart.forExport&&t.tooltip.userOptions||t.tooltip,this.userOptions=t,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=e,this.isResizing=0,this.options=r,this.axes=[],this.series=[],this.time=t.time&&Object.keys(t.time).length?new f(t.time):o.time,this.numberFormatter=i.numberFormatter||b,this.styledMode=i.styledMode,this.hasCartesianSeries=i.showAxes,this.index=x.length,x.push(this),o.chartCount++,y(this,i),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,B(this,"afterInit"),this.firstRender()}))},t.prototype.initSeries=function(t){var e=this.options.chart;e=t.type||e.type||e.defaultSeriesType;var n=E[e];return n||N(17,!0,this,{missingModuleFor:e}),"function"===typeof(e=new n).init&&e.init(this,t),e},t.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach((function(t){t.points||t.data||!t.enabledDataSorting||t.setData(t.options.data,!1)}))},t.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort((function(t,e){return t.linkedSeries.length||e.linkedSeries.length?e.linkedSeries.length-t.linkedSeries.length:0}))},t.prototype.orderSeries=function(t){var e=this.series;t=t||0;for(var n=e.length;t<n;++t)e[t]&&(e[t].index=t,e[t].name=e[t].getName())},t.prototype.isInsidePlot=function(t,e,n){void 0===n&&(n={});var r=this.inverted,o=this.plotBox,i=this.plotLeft,a=this.plotTop,s=this.scrollablePlotBox,l=0,c=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(c=this.scrollingContainer).scrollLeft,c=c.scrollTop);var u=n.series;if(o=n.visiblePlotOnly&&s||o,t={x:s=n.inverted?e:t,y:e=n.inverted?t:e,isInsidePlot:!0},!n.ignoreX){var d=u&&(r?u.yAxis:u.xAxis)||{pos:i,len:1/0};(s=n.paneCoordinates?d.pos+s:i+s)>=Math.max(l+i,d.pos)&&s<=Math.min(l+i+o.width,d.pos+d.len)||(t.isInsidePlot=!1)}return!n.ignoreY&&t.isInsidePlot&&(r=u&&(r?u.xAxis:u.yAxis)||{pos:a,len:1/0},(n=n.paneCoordinates?r.pos+e:a+e)>=Math.max(c+a,r.pos)&&n<=Math.min(c+a+o.height,r.pos+r.len)||(t.isInsidePlot=!1)),B(this,"afterIsInsidePlot",t),t.isInsidePlot},t.prototype.redraw=function(t){B(this,"beforeRedraw");var e=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,r=this.pointer,o=this.legend,i=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],c=this.isDirtyBox,u=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),m(!!this.hasRendered&&t,this),s&&this.temporaryDisplay(),this.layOutTitles(),t=n.length;t--;){var d=n[t];if(d.options.stacking||d.options.centerInCategory){var f=!0;if(d.isDirty){var p=!0;break}}}if(p)for(t=n.length;t--;)(d=n[t]).options.stacking&&(d.isDirty=!0);n.forEach((function(t){t.isDirty&&("point"===t.options.legendType?("function"===typeof t.updateTotals&&t.updateTotals(),u=!0):i&&(i.labelFormatter||i.labelFormat)&&(u=!0)),t.isDirtyData&&B(t,"updatedData")})),u&&o&&o.options.enabled&&(o.render(),this.isDirtyLegend=!1),f&&this.getStacks(),e.forEach((function(t){t.updateNames(),t.setScale()})),this.getMargins(),e.forEach((function(t){t.isDirty&&(c=!0)})),e.forEach((function(t){var e=t.min+","+t.max;t.extKey!==e&&(t.extKey=e,l.push((function(){B(t,"afterSetExtremes",L(t.eventArgs,t.getExtremes())),delete t.eventArgs}))),(c||f)&&t.redraw()})),c&&this.drawChartBox(),B(this,"predraw"),n.forEach((function(t){(c||t.isDirty)&&t.visible&&t.redraw(),t.isDirtyData=!1})),r&&r.reset(!0),a.draw(),B(this,"redraw"),B(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(t){t.call()}))},t.prototype.get=function(t){function e(e){return e.id===t||e.options&&e.options.id===t}for(var n=this.series,r=F(this.axes,e)||F(this.series,e),o=0;!r&&o<n.length;o++)r=F(n[o].points||[],e);return r},t.prototype.getAxes=function(){var t=this,n=this.options,r=n.xAxis=Z(n.xAxis||{});n=n.yAxis=Z(n.yAxis||{}),B(this,"getAxes"),r.forEach((function(t,e){t.index=e,t.isX=!0})),n.forEach((function(t,e){t.index=e})),r.concat(n).forEach((function(n){new e(t,n)})),B(this,"afterGetAxes")},t.prototype.getSelectedPoints=function(){return this.series.reduce((function(t,e){return e.getPointsCollection().forEach((function(e){Y(e.selectedStaging,e.selected)&&t.push(e)})),t}),[])},t.prototype.getSelectedSeries=function(){return this.series.filter((function(t){return t.selected}))},t.prototype.setTitle=function(t,e,n){this.applyDescription("title",t),this.applyDescription("subtitle",e),this.applyDescription("caption",void 0),this.layOutTitles(n)},t.prototype.applyDescription=function(t,e){var n=this,r="title"===t?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};r=this.options[t]=q(!this.styledMode&&{style:r},this.options[t],e);var o=this[t];o&&e&&(this[t]=o=o.destroy()),r&&!o&&((o=this.renderer.text(r.text,0,0,r.useHTML).attr({align:r.align,class:"highcharts-"+t,zIndex:r.zIndex||4}).add()).update=function(e){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[t]](e)},this.styledMode||o.css(r.style),this[t]=o)},t.prototype.layOutTitles=function(t){var e=[0,0,0],n=this.renderer,r=this.spacingBox;["title","subtitle","caption"].forEach((function(t){var o,i=this[t],a=this.options[t],s=a.verticalAlign||"top";if(t="title"===t?"top"===s?-3:0:"top"===s?e[0]+2:0,i){this.styledMode||(o=a.style&&a.style.fontSize),o=n.fontMetrics(o,i).b,i.css({width:(a.width||r.width+(a.widthAdjust||0))+"px"});var l=Math.round(i.getBBox(a.useHTML).height);i.align(L({y:"bottom"===s?o:t+o,height:l},a),!1,"spacingBox"),a.floating||("top"===s?e[0]=Math.ceil(e[0]+l):"bottom"===s&&(e[2]=Math.ceil(e[2]+l)))}}),this),e[0]&&"top"===(this.options.title.verticalAlign||"top")&&(e[0]+=this.options.title.margin),e[2]&&"bottom"===this.options.caption.verticalAlign&&(e[2]+=this.options.caption.margin);var o=!this.titleOffset||this.titleOffset.join(",")!==e.join(",");this.titleOffset=e,B(this,"afterLayOutTitles"),!this.isDirtyBox&&o&&(this.isDirtyBox=this.isDirtyLegend=o,this.hasRendered&&Y(t,!0)&&this.isDirtyBox&&this.redraw())},t.prototype.getChartSize=function(){var t=this.options.chart,e=t.width;t=t.height;var n=this.renderTo;R(e)||(this.containerWidth=z(n,"width")),R(t)||(this.containerHeight=z(n,"height")),this.chartWidth=Math.max(0,e||this.containerWidth||600),this.chartHeight=Math.max(0,K(t,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},t.prototype.temporaryDisplay=function(t){var e=this.renderTo;if(t)for(;e&&e.style;)e.hcOrigStyle&&(A(e,e.hcOrigStyle),delete e.hcOrigStyle),e.hcOrigDetached&&(w.body.removeChild(e),e.hcOrigDetached=!1),e=e.parentNode;else for(;e&&e.style&&(w.body.contains(e)||e.parentNode||(e.hcOrigDetached=!0,w.body.appendChild(e)),("none"===z(e,"display",!1)||e.hcOricDetached)&&(e.hcOrigStyle={display:e.style.display,height:e.style.height,overflow:e.style.overflow},t={display:"block",overflow:"hidden"},e!==this.renderTo&&(t.height=0),A(e,t),e.offsetWidth||e.style.setProperty("display","block","important")),(e=e.parentNode)!==w.body););},t.prototype.setClassName=function(t){this.container.className="highcharts-container "+(t||"")},t.prototype.getContainer=function(){var t,e=this.options,n=e.chart,r=J(),o=this.renderTo;o||(this.renderTo=o=n.renderTo),W(o)&&(this.renderTo=o=w.getElementById(o)),o||N(13,!0,this);var i=X(_(o,"data-highcharts-chart"));V(i)&&x[i]&&x[i].hasRendered&&x[i].destroy(),_(o,"data-highcharts-chart",this.index),o.innerHTML=h.emptyHTML,n.skipClone||o.offsetWidth||this.temporaryDisplay(),this.getChartSize(),i=this.chartWidth;var a=this.chartHeight;if(A(o,{overflow:"hidden"}),this.styledMode||(t=L({position:"relative",overflow:"hidden",width:i+"px",height:a+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{})),this.container=r=T("div",{id:r},t,o),this._cursor=r.style.cursor,this.renderer=new(n.renderer||!S?c.getRendererType(n.renderer):d)(r,i,a,void 0,n.forExport,e.exporting&&e.exporting.allowHTML,this.styledMode),m(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in e.defs)this.renderer.definition(e.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,B(this,"afterGetContainer")},t.prototype.getMargins=function(t){var e=this.spacing,n=this.margin,r=this.titleOffset;this.resetMargins(),r[0]&&!R(n[0])&&(this.plotTop=Math.max(this.plotTop,r[0]+e[0])),r[2]&&!R(n[2])&&(this.marginBottom=Math.max(this.marginBottom,r[2]+e[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,e),B(this,"getMargins"),t||this.getAxisMargins()},t.prototype.getAxisMargins=function(){var t=this,e=t.axisOffset=[0,0,0,0],n=t.colorAxis,r=t.margin,o=function(t){t.forEach((function(t){t.visible&&t.getOffset()}))};t.hasCartesianSeries?o(t.axes):n&&n.length&&o(n),O.forEach((function(n,o){R(r[o])||(t[n]+=e[o])})),t.setChartSize()},t.prototype.reflow=function(t){var e=this,n=e.options.chart,r=e.renderTo,o=R(n.width)&&R(n.height),i=n.width||z(r,"width");n=n.height||z(r,"height"),r=t?t.target:j,delete e.pointer.chartPosition,o||e.isPrinting||!i||!n||r!==j&&r!==w||(i===e.containerWidth&&n===e.containerHeight||(p.clearTimeout(e.reflowTimeout),e.reflowTimeout=Q((function(){e.container&&e.setSize(void 0,void 0,!1)}),t?100:0)),e.containerWidth=i,e.containerHeight=n)},t.prototype.setReflow=function(t){var e=this;!1===t||this.unbindReflow?!1===t&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=P(j,"resize",(function(t){e.options&&e.reflow(t)})),P(this,"destroy",this.unbindReflow))},t.prototype.setSize=function(t,e,n){var r=this,o=r.renderer;r.isResizing+=1,m(n,r),n=o.globalAnimation,r.oldChartHeight=r.chartHeight,r.oldChartWidth=r.chartWidth,"undefined"!==typeof t&&(r.options.chart.width=t),"undefined"!==typeof e&&(r.options.chart.height=e),r.getChartSize(),r.styledMode||(n?v:A)(r.container,{width:r.chartWidth+"px",height:r.chartHeight+"px"},n),r.setChartSize(!0),o.setSize(r.chartWidth,r.chartHeight,n),r.axes.forEach((function(t){t.isDirty=!0,t.setScale()})),r.isDirtyLegend=!0,r.isDirtyBox=!0,r.layOutTitles(),r.getMargins(),r.redraw(n),r.oldChartHeight=null,B(r,"resize"),Q((function(){r&&B(r,"endResize",null,(function(){--r.isResizing}))}),g(n).duration)},t.prototype.setChartSize=function(t){var e,n,r,o,i=this.inverted,a=this.renderer,s=this.chartWidth,l=this.chartHeight,c=this.options.chart,u=this.spacing,d=this.clipOffset;this.plotLeft=e=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=r=Math.max(0,Math.round(s-e-this.marginRight)),this.plotHeight=o=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=i?o:r,this.plotSizeY=i?r:o,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=a.spacingBox={x:u[3],y:u[0],width:s-u[3]-u[1],height:l-u[0]-u[2]},this.plotBox=a.plotBox={x:e,y:n,width:r,height:o},i=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(i,d[3])/2),l=Math.ceil(Math.max(i,d[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(i,d[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(i,d[2])/2-l))},t||(this.axes.forEach((function(t){t.setAxisSize(),t.setAxisTranslation()})),a.alignElements()),B(this,"afterSetChartSize",{skipAxes:t})},t.prototype.resetMargins=function(){B(this,"resetMargins");var t=this,e=t.options.chart;["margin","spacing"].forEach((function(n){var r=e[n],o=U(r)?r:[r,r,r,r];["Top","Right","Bottom","Left"].forEach((function(r,i){t[n][i]=Y(e[n+r],o[i])}))})),O.forEach((function(e,n){t[e]=Y(t.margin[n],t.spacing[n])})),t.axisOffset=[0,0,0,0],t.clipOffset=[0,0,0,0]},t.prototype.drawChartBox=function(){var t,e=this.options.chart,n=this.renderer,r=this.chartWidth,o=this.chartHeight,i=this.styledMode,a=this.plotBGImage,s=e.backgroundColor,l=e.plotBackgroundColor,c=e.plotBackgroundImage,u=this.plotLeft,d=this.plotTop,f=this.plotWidth,p=this.plotHeight,h=this.plotBox,v=this.clipRect,g=this.clipBox,m=this.chartBackground,b=this.plotBackground,y=this.plotBorder,x="animate";if(m||(this.chartBackground=m=n.rect().addClass("highcharts-background").add(),x="attr"),i)var w=t=m.strokeWidth();else t=(w=e.borderWidth||0)+(e.shadow?8:0),s={fill:s||"none"},(w||m["stroke-width"])&&(s.stroke=e.borderColor,s["stroke-width"]=w),m.attr(s).shadow(e.shadow);m[x]({x:t/2,y:t/2,width:r-t-w%2,height:o-t-w%2,r:e.borderRadius}),x="animate",b||(x="attr",this.plotBackground=b=n.rect().addClass("highcharts-plot-background").add()),b[x](h),i||(b.attr({fill:l||"none"}).shadow(e.plotShadow),c&&(a?(c!==a.attr("href")&&a.attr("href",c),a.animate(h)):this.plotBGImage=n.image(c,u,d,f,p).add())),v?v.animate({width:g.width,height:g.height}):this.clipRect=n.clipRect(g),x="animate",y||(x="attr",this.plotBorder=y=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),i||y.attr({stroke:e.plotBorderColor,"stroke-width":e.plotBorderWidth||0,fill:"none"}),y[x](y.crisp({x:u,y:d,width:f,height:p},-y.strokeWidth())),this.isDirtyBox=!1,B(this,"afterDrawChartBox")},t.prototype.propFromSeries=function(){var t,e,n,r=this,o=r.options.chart,i=r.options.series;["inverted","angular","polar"].forEach((function(a){for(e=E[o.type||o.defaultSeriesType],n=o[a]||e&&e.prototype[a],t=i&&i.length;!n&&t--;)(e=E[i[t].type])&&e.prototype[a]&&(n=!0);r[a]=n}))},t.prototype.linkSeries=function(){var t=this,e=t.series;e.forEach((function(t){t.linkedSeries.length=0})),e.forEach((function(e){var n=e.options.linkedTo;W(n)&&(n=":previous"===n?t.series[e.index-1]:t.get(n))&&n.linkedParent!==e&&(n.linkedSeries.push(e),e.linkedParent=n,n.enabledDataSorting&&e.setDataSortingOptions(),e.visible=Y(e.options.visible,n.options.visible,e.visible))})),B(this,"afterLinkSeries")},t.prototype.renderSeries=function(){this.series.forEach((function(t){t.translate(),t.render()}))},t.prototype.renderLabels=function(){var t=this,e=t.options.labels;e.items&&e.items.forEach((function(n){var r=L(e.style,n.style),o=X(r.left)+t.plotLeft,i=X(r.top)+t.plotTop+12;delete r.left,delete r.top,t.renderer.text(n.html,o,i).attr({zIndex:2}).css(r).add()}))},t.prototype.render=function(){var t=this.axes,e=this.colorAxis,n=this.renderer,r=this.options,o=function(t){t.forEach((function(t){t.visible&&t.render()}))},a=0;this.setTitle(),this.legend=new i(this,r.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),r=this.plotWidth,t.some((function(t){if(t.horiz&&t.visible&&t.options.labels.enabled&&t.series.length)return a=21,!0}));var s=this.plotHeight=Math.max(this.plotHeight-a,0);t.forEach((function(t){t.setScale()})),this.getAxisMargins();var l=1.1<r/this.plotWidth,c=1.05<s/this.plotHeight;(l||c)&&(t.forEach((function(t){(t.horiz&&l||!t.horiz&&c)&&t.setTickInterval(!0)})),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?o(t):e&&e.length&&o(e),this.seriesGroup||(this.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},t.prototype.addCredits=function(t){var e=this,n=q(!0,this.options.credits,t);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",(function(){n.href&&(j.location.href=n.href)})).attr({align:n.position.align,zIndex:8}),e.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(t){e.credits=e.credits.destroy(),e.addCredits(t)})},t.prototype.destroy=function(){var t,e=this,n=e.axes,r=e.series,i=e.container,a=i&&i.parentNode;for(B(e,"destroy"),e.renderer.forExport?I(x,e):x[e.index]=void 0,o.chartCount--,e.renderTo.removeAttribute("data-highcharts-chart"),$(e),t=n.length;t--;)n[t]=n[t].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),t=r.length;t--;)r[t]=r[t].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach((function(t){var n=e[t];n&&n.destroy&&(e[t]=n.destroy())})),i&&(i.innerHTML=h.emptyHTML,$(i),a&&D(i)),G(e,(function(t,n){delete e[n]}))},t.prototype.firstRender=function(){var t=this,e=t.options;t.isReadyToRender&&!t.isReadyToRender()||(t.getContainer(),t.resetMargins(),t.setChartSize(),t.propFromSeries(),t.getAxes(),(H(e.series)?e.series:[]).forEach((function(e){t.initSeries(e)})),t.linkSeries(),t.setSeriesData(),B(t,"beforeRender"),l&&(a.isRequired()?t.pointer=new a(t,e):t.pointer=new l(t,e)),t.render(),t.pointer.getChartPosition(),t.renderer.imgCount||t.hasLoaded||t.onload(),t.temporaryDisplay(!0))},t.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach((function(t){t&&"undefined"!==typeof this.index&&t.apply(this,[this])}),this),B(this,"load"),B(this,"render"),R(this.index)&&this.setReflow(this.options.chart.reflow),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0},t.prototype.warnIfA11yModuleNotLoaded=function(){var t=this.options,e=this.title;t&&!this.accessibility&&(this.renderer.boxWrapper.attr({role:"img","aria-label":e&&e.element.textContent||""}),t.accessibility&&!1===t.accessibility.enabled||N('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))},t.prototype.addSeries=function(t,e,n){var r,o=this;return t&&(e=Y(e,!0),B(o,"addSeries",{options:t},(function(){r=o.initSeries(t),o.isDirtyLegend=!0,o.linkSeries(),r.enabledDataSorting&&r.setData(t.data,!1),B(o,"afterAddSeries",{series:r}),e&&o.redraw(n)}))),r},t.prototype.addAxis=function(t,e,n,r){return this.createAxis(e?"xAxis":"yAxis",{axis:t,redraw:n,animation:r})},t.prototype.addColorAxis=function(t,e,n){return this.createAxis("colorAxis",{axis:t,redraw:e,animation:n})},t.prototype.createAxis=function(t,n){return t=new e(this,q(n.axis,{index:this[t].length,isX:"xAxis"===t})),Y(n.redraw,!0)&&this.redraw(n.animation),t},t.prototype.showLoading=function(t){var e=this,n=e.options,r=n.loading,o=function(){i&&A(i,{left:e.plotLeft+"px",top:e.plotTop+"px",width:e.plotWidth+"px",height:e.plotHeight+"px"})},i=e.loadingDiv,a=e.loadingSpan;i||(e.loadingDiv=i=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,e.container)),a||(e.loadingSpan=a=T("span",{className:"highcharts-loading-inner"},null,i),P(e,"redraw",o)),i.className="highcharts-loading",h.setElementHTML(a,Y(t,n.lang.loading,"")),e.styledMode||(A(i,L(r.style,{zIndex:10})),A(a,r.labelStyle),e.loadingShown||(A(i,{opacity:0,display:""}),v(i,{opacity:r.style.opacity||.5},{duration:r.showDuration||0}))),e.loadingShown=!0,o()},t.prototype.hideLoading=function(){var t=this.options,e=this.loadingDiv;e&&(e.className="highcharts-loading highcharts-loading-hidden",this.styledMode||v(e,{opacity:0},{duration:t.loading.hideDuration||100,complete:function(){A(e,{display:"none"})}})),this.loadingShown=!1},t.prototype.update=function(t,e,n,r){var o,i,a=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=t.isResponsiveOptions,c=[];B(a,"update",{options:t}),l||a.setResponsive(!1,!0),t=M(t,a.options),a.userOptions=q(a.userOptions,t);var u=t.chart;if(u){if(q(!0,a.options.chart,u),"className"in u&&a.setClassName(u.className),"reflow"in u&&a.setReflow(u.reflow),"inverted"in u||"polar"in u||"type"in u){a.propFromSeries();var d=!0}"alignTicks"in u&&(d=!0),"events"in u&&y(this,u),G(u,(function(t,e){-1!==a.propsRequireUpdateSeries.indexOf("chart."+e)&&(o=!0),-1!==a.propsRequireDirtyBox.indexOf(e)&&(a.isDirtyBox=!0),-1!==a.propsRequireReflow.indexOf(e)&&(l?a.isDirtyBox=!0:i=!0)})),!a.styledMode&&u.style&&a.renderer.setStyle(a.options.chart.style||{})}!a.styledMode&&t.colors&&(this.options.colors=t.colors),t.time&&(this.time===k&&(this.time=new f(t.time)),q(!0,a.options.time,t.time)),G(t,(function(e,n){a[n]&&"function"===typeof a[n].update?a[n].update(e,!1):"function"===typeof a[s[n]]?a[s[n]](e):"colors"!==n&&-1===a.collectionsWithUpdate.indexOf(n)&&q(!0,a.options[n],t[n]),"chart"!==n&&-1!==a.propsRequireUpdateSeries.indexOf(n)&&(o=!0)})),this.collectionsWithUpdate.forEach((function(e){if(t[e]){var r=[];a[e].forEach((function(t,e){t.options.isInternal||r.push(Y(t.options.index,e))})),Z(t[e]).forEach((function(t,o){var i,s=R(t.id);s&&(i=a.get(t.id)),!i&&a[e]&&(i=a[e][r?r[o]:o])&&s&&R(i.options.id)&&(i=void 0),i&&i.coll===e&&(i.update(t,!1),n&&(i.touched=!0)),!i&&n&&a.collectionsWithInit[e]&&(a.collectionsWithInit[e][0].apply(a,[t].concat(a.collectionsWithInit[e][1]||[]).concat([!1])).touched=!0)})),n&&a[e].forEach((function(t){t.touched||t.options.isInternal?delete t.touched:c.push(t)}))}})),c.forEach((function(t){t.chart&&t.remove&&t.remove(!1)})),d&&a.axes.forEach((function(t){t.update({},!1)})),o&&a.getSeriesOrderByLinks().forEach((function(t){t.chart&&t.update({},!1)}),this),d=u&&u.width,u=u&&(W(u.height)?K(u.height,d||a.chartWidth):u.height),i||V(d)&&d!==a.chartWidth||V(u)&&u!==a.chartHeight?a.setSize(d,u,r):Y(e,!0)&&a.redraw(r),B(a,"afterUpdate",{options:t,redraw:e,animation:r})},t.prototype.setSubtitle=function(t,e){this.applyDescription("subtitle",t),this.layOutTitles(e)},t.prototype.setCaption=function(t,e){this.applyDescription("caption",t),this.layOutTitles(e)},t.prototype.showResetZoom=function(){function t(){e.zoomOut()}var e=this,n=C.lang,r=e.options.chart.resetZoomButton,o=r.theme,i="chart"===r.relativeTo||"spacingBox"===r.relativeTo?null:"scrollablePlotBox";B(this,"beforeShowResetZoom",null,(function(){e.resetZoomButton=e.renderer.button(n.resetZoom,null,null,t,o).attr({align:r.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(r.position,!1,i)})),B(this,"afterShowResetZoom")},t.prototype.zoomOut=function(){B(this,"selection",{resetSelection:!0},this.zoom)},t.prototype.zoom=function(t){var e,n=this,r=n.pointer,o=n.inverted?r.mouseDownX:r.mouseDownY,i=!1;!t||t.resetSelection?(n.axes.forEach((function(t){e=t.zoom()})),r.initiated=!1):t.xAxis.concat(t.yAxis).forEach((function(t){var a=t.axis,s=n.inverted?a.left:a.top,l=n.inverted?s+a.width:s+a.height,c=a.isXAxis,u=!1;(!c&&o>=s&&o<=l||c||!R(o))&&(u=!0),r[c?"zoomX":"zoomY"]&&u&&(e=a.zoom(t.min,t.max),a.displayBtn&&(i=!0))}));var a=n.resetZoomButton;i&&!a?n.showResetZoom():!i&&U(a)&&(n.resetZoomButton=a.destroy()),e&&n.redraw(Y(n.options.chart.animation,t&&t.animation,100>n.pointCount))},t.prototype.pan=function(t,e){var n=this,r=n.hoverPoints;e="object"===typeof e?e:{enabled:e,type:"x"};var o=n.options.chart;o&&o.panning&&(o.panning=e);var i,a=e.type;B(this,"pan",{originalEvent:t},(function(){r&&r.forEach((function(t){t.setState()}));var e=n.xAxis;"xy"===a?e=e.concat(n.yAxis):"y"===a&&(e=n.yAxis);var o={};e.forEach((function(e){if(e.options.panningEnabled&&!e.options.isInternal){var r=e.horiz,s=t[r?"chartX":"chartY"],l=n[r=r?"mouseDownX":"mouseDownY"],c=e.minPointOffset||0,u=e.reversed&&!n.inverted||!e.reversed&&n.inverted?-1:1,d=e.getExtremes(),f=e.toValue(l-s,!0)+c*u,p=e.toValue(l+e.len-s,!0)-(c*u||e.isXAxis&&e.pointRangePadding||0),h=p<f;u=e.hasVerticalPanning(),l=h?p:f,f=h?f:p;var v=e.panningState;!u||e.isXAxis||v&&!v.isDirty||e.series.forEach((function(t){var e=t.getProcessedData(!0);e=t.getExtremes(e.yData,!0),v||(v={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),V(e.dataMin)&&V(e.dataMax)&&(v.startMin=Math.min(Y(t.options.threshold,1/0),e.dataMin,v.startMin),v.startMax=Math.max(Y(t.options.threshold,-1/0),e.dataMax,v.startMax))})),u=Math.min(Y(v&&v.startMin,d.dataMin),c?d.min:e.toValue(e.toPixels(d.min)-e.minPixelPadding)),p=Math.max(Y(v&&v.startMax,d.dataMax),c?d.max:e.toValue(e.toPixels(d.max)+e.minPixelPadding)),e.panningState=v,e.isOrdinal||(0<(c=u-l)&&(f+=c,l=u),0<(c=f-p)&&(f=p,l-=c),e.series.length&&l!==d.min&&f!==d.max&&l>=u&&f<=p&&(e.setExtremes(l,f,!1,!1,{trigger:"pan"}),!n.resetZoomButton&&l!==u&&f!==p&&a.match("y")&&(n.showResetZoom(),e.displayBtn=!1),i=!0),o[r]=s)}})),G(o,(function(t,e){n[e]=t})),i&&n.redraw(!1),A(n.container,{cursor:"move"})}))},t}(),L(t.prototype,{callbacks:[],collectionsWithInit:{xAxis:[t.prototype.addAxis,[!0]],yAxis:[t.prototype.addAxis,[!1]],series:[t.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),t})),e(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.merge,r=t.pick;return function(t){t.drawLineMarker=function(t){var e=this.options,o=t.symbolWidth,i=t.symbolHeight,a=i/2,s=this.chart.renderer,l=this.legendGroup;t=t.baseline-Math.round(.3*t.fontMetrics.b);var c={},u=e.marker;this.chart.styledMode||(c={"stroke-width":e.lineWidth||0},e.dashStyle&&(c.dashstyle=e.dashStyle)),this.legendLine=s.path([["M",0,t],["L",o,t]]).addClass("highcharts-graph").attr(c).add(l),u&&!1!==u.enabled&&o&&(e=Math.min(r(u.radius,a),a),0===this.symbol.indexOf("url")&&(u=n(u,{width:i,height:i}),e=0),this.legendSymbol=o=s.symbol(this.symbol,o/2-e,t-e,2*e,2*e,u).addClass("highcharts-point").add(l),o.isMarker=!0)},t.drawRectangle=function(t,e){var n=t.symbolHeight,o=t.options.squareSymbol;e.legendSymbol=this.chart.renderer.rect(o?(t.symbolWidth-n)/2:0,t.baseline-n+1,o?n:t.symbolWidth,n,r(t.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(e.legendGroup)}}(e||(e={})),e})),e(n,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var t=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":t(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),e(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l,c){var u=t.animObject,d=t.setAnimation,f=e.defaultOptions,p=n.registerEventOptions,h=r.hasTouch,v=r.svg,g=r.win,m=s.seriesTypes,b=c.addEvent,y=c.arrayMax,x=c.arrayMin,w=c.clamp,O=c.cleanRecursively,S=c.correctFloat,j=c.defined,C=c.erase,k=c.error,E=c.extend,P=c.find,_=c.fireEvent,M=c.getNestedProperty,T=c.isArray,A=c.isNumber,R=c.isString,D=c.merge,I=c.objectEach,N=c.pick,L=c.removeEvent,F=c.splat,B=c.syncTimeout;return t=function(){function t(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return t.prototype.init=function(t,e){_(this,"init",{options:e});var n=this,r=t.series;this.eventsToUnbind=[],n.chart=t,n.options=n.setOptions(e),e=n.options,n.linkedSeries=[],n.bindAxes(),E(n,{name:e.name,state:"",visible:!1!==e.visible,selected:!0===e.selected}),p(this,e);var o,i=e.events;(i&&i.click||e.point&&e.point.events&&e.point.events.click||e.allowPointSelect)&&(t.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach((function(t){n[t+"Data"]||(n[t+"Data"]=[])})),n.isCartesian&&(t.hasCartesianSeries=!0),r.length&&(o=r[r.length-1]),n._i=N(o&&o._i,-1)+1,n.opacity=n.options.opacity,t.orderSeries(this.insert(r)),e.dataSorting&&e.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(e.data,!1),_(this,"afterInit")},t.prototype.is=function(t){return m[t]&&this instanceof m[t]},t.prototype.insert=function(t){var e,n=this.options.index;if(A(n)){for(e=t.length;e--;)if(n>=N(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return N(e,t.length-1)},t.prototype.bindAxes=function(){var t,e=this,n=e.options,r=e.chart;_(this,"bindAxes",null,(function(){(e.axisTypes||[]).forEach((function(o){var i=0;r[o].forEach((function(r){t=r.options,(n[o]===i&&!t.isInternal||"undefined"!==typeof n[o]&&n[o]===t.id||"undefined"===typeof n[o]&&0===t.index)&&(e.insert(r.series),e[o]=r,r.isDirty=!0),t.isInternal||i++})),e[o]||e.optionalAxis===o||k(18,!0,r)}))})),_(this,"afterBindAxes")},t.prototype.updateParallelArrays=function(t,e){var n=t.series,r=arguments,o=A(e)?function(r){var o="y"===r&&n.toYData?n.toYData(t):t[r];n[r+"Data"][e]=o}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(r,2))};n.parallelArrays.forEach(o)},t.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0<this.yData.length},t.prototype.autoIncrement=function(t){var e,n=this.options,r=n.pointIntervalUnit,o=n.relativeXValue,i=this.chart.time,a=this.xIncrement;return a=N(a,n.pointStart,0),this.pointInterval=e=N(this.pointInterval,n.pointInterval,1),o&&A(t)&&(e*=t),r&&(n=new i.Date(a),"day"===r?i.set("Date",n,i.get("Date",n)+e):"month"===r?i.set("Month",n,i.get("Month",n)+e):"year"===r&&i.set("FullYear",n,i.get("FullYear",n)+e),e=n.getTime()-a),o&&A(t)?a+e:(this.xIncrement=a+e,a)},t.prototype.setDataSortingOptions=function(){var t=this.options;E(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),j(t.pointRange)||(t.pointRange=1)},t.prototype.setOptions=function(t){var e=this.chart,n=e.options,r=n.plotOptions,o=e.userOptions||{};t=D(t),e=e.styledMode;var i={plotOptions:r,userOptions:t};_(this,"setOptions",i);var a=i.plotOptions[this.type],s=o.plotOptions||{};return this.userOptions=i.userOptions,o=D(a,r.series,o.plotOptions&&o.plotOptions[this.type],t),this.tooltipOptions=D(f.tooltip,f.plotOptions.series&&f.plotOptions.series.tooltip,f.plotOptions[this.type].tooltip,n.tooltip.userOptions,r.series&&r.series.tooltip,r[this.type].tooltip,t.tooltip),this.stickyTracking=N(t.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||o.stickyTracking),null===a.marker&&delete o.marker,this.zoneAxis=o.zoneAxis,r=this.zones=(o.zones||[]).slice(),!o.negativeColor&&!o.negativeFillColor||o.zones||(n={value:o[this.zoneAxis+"Threshold"]||o.threshold||0,className:"highcharts-negative"},e||(n.color=o.negativeColor,n.fillColor=o.negativeFillColor),r.push(n)),r.length&&j(r[r.length-1].value)&&r.push(e?{}:{color:this.color,fillColor:this.fillColor}),_(this,"afterSetOptions",{options:o}),o},t.prototype.getName=function(){return N(this.options.name,"Series "+(this.index+1))},t.prototype.getCyclic=function(t,e,n){var r=this.chart,o=this.userOptions,i=t+"Index",a=t+"Counter",s=n?n.length:N(r.options.chart[t+"Count"],r[t+"Count"]);if(!e){var l=N(o[i],o["_"+i]);j(l)||(r.series.length||(r[a]=0),o["_"+i]=l=r[a]%s,r[a]+=1),n&&(e=n[l])}"undefined"!==typeof l&&(this[i]=l),this[t]=e},t.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||f.plotOptions[this.type].color,this.chart.options.colors)},t.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},t.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},t.prototype.findPointIndex=function(t,e){var n,r,o=t.id,a=t.x,s=this.points,l=this.options.dataSorting;if(o)(l=this.chart.get(o))instanceof i&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(e){return!e.touched&&e.index===t.index},l&&l.matchByName?n=function(e){return!e.touched&&e.name===t.name}:this.options.relativeXValue&&(n=function(e){return!e.touched&&e.options.x===t.x}),!(n=P(s,n))))return;if(n){var c=n&&n.index;"undefined"!==typeof c&&(r=!0)}return"undefined"===typeof c&&A(a)&&(c=this.xData.indexOf(a,e)),-1!==c&&"undefined"!==typeof c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!r&&A(c)&&s[c]&&s[c].touched&&(c=void 0),c},t.prototype.updateData=function(t,e){var n,r,o,i=this.options,a=i.dataSorting,s=this.points,l=[],c=this.requireSorting,u=t.length===s.length,d=!0;if(this.xIncrement=null,t.forEach((function(t,e){var r=j(t)&&this.pointClass.prototype.optionsToObject.call({series:this},t)||{},d=r.x;r.id||A(d)?(-1===(r=this.findPointIndex(r,o))||"undefined"===typeof r?l.push(t):s[r]&&t!==i.data[r]?(s[r].update(t,!1,null,!1),s[r].touched=!0,c&&(o=r+1)):s[r]&&(s[r].touched=!0),(!u||e!==r||a&&a.enabled||this.hasDerivedData)&&(n=!0)):l.push(t)}),this),n)for(t=s.length;t--;)(r=s[t])&&!r.touched&&r.remove&&r.remove(!1,e);else!u||a&&a.enabled?d=!1:(t.forEach((function(t,e){t!==s[e].y&&s[e].update&&s[e].update(t,!1,null,!1)})),l.length=0);return s.forEach((function(t){t&&(t.touched=!1)})),!!d&&(l.forEach((function(t){this.addPoint(t,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=y(this.xData),this.autoIncrement()),!0)},t.prototype.setData=function(t,e,n,r){var o=this,i=o.points,a=i&&i.length||0,s=o.options,l=o.chart,c=s.dataSorting,u=o.xAxis,d=s.turboThreshold,f=this.xData,p=this.yData,h=o.pointArrayMap;h=h&&h.length;var v,g=s.keys,m=0,b=1,y=null;if(!l.options.chart.allowMutatingData){s.data&&delete o.options.data,o.userOptions.data&&delete o.userOptions.data;var x=D(!0,t)}if(x=(t=x||t||[]).length,e=N(e,!0),c&&c.enabled&&(t=this.sortData(t)),l.options.chart.allowMutatingData&&!1!==r&&x&&a&&!o.cropped&&!o.hasGroupedData&&o.visible&&!o.isSeriesBoosting&&(v=this.updateData(t,n)),!v){if(o.xIncrement=null,o.colorCounter=0,this.parallelArrays.forEach((function(t){o[t+"Data"].length=0})),d&&x>d)if(y=o.getFirstValidPoint(t),A(y))for(n=0;n<x;n++)f[n]=this.autoIncrement(),p[n]=t[n];else if(T(y))if(h)if(y.length===h)for(n=0;n<x;n++)f[n]=this.autoIncrement(),p[n]=t[n];else for(n=0;n<x;n++)r=t[n],f[n]=r[0],p[n]=r.slice(1,h+1);else if(g&&(m=0<=(m=g.indexOf("x"))?m:0,b=0<=(b=g.indexOf("y"))?b:1),1===y.length&&(b=0),m===b)for(n=0;n<x;n++)f[n]=this.autoIncrement(),p[n]=t[n][b];else for(n=0;n<x;n++)r=t[n],f[n]=r[m],p[n]=r[b];else k(12,!1,l);else for(n=0;n<x;n++)"undefined"!==typeof t[n]&&(r={series:o},o.pointClass.prototype.applyOptions.apply(r,[t[n]]),o.updateParallelArrays(r,n));for(p&&R(p[0])&&k(14,!0,l),o.data=[],o.options.data=o.userOptions.data=t,n=a;n--;)i[n]&&i[n].destroy&&i[n].destroy();u&&(u.minRange=u.userMinRange),o.isDirty=l.isDirtyBox=!0,o.isDirtyData=!!i,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),e&&l.redraw(n)},t.prototype.sortData=function(t){var e=this,n=e.options.dataSorting.sortKey||"y",r=function(t,e){return j(e)&&t.pointClass.prototype.optionsToObject.call({series:t},e)||{}};return t.forEach((function(n,o){t[o]=r(e,n),t[o].index=o}),this),t.concat().sort((function(t,e){return t=M(n,t),(e=M(n,e))<t?-1:e>t?1:0})).forEach((function(t,e){t.x=e}),this),e.linkedSeries&&e.linkedSeries.forEach((function(e){var n=e.options,o=n.data;n.dataSorting&&n.dataSorting.enabled||!o||(o.forEach((function(n,i){o[i]=r(e,n),t[i]&&(o[i].x=t[i].x,o[i].index=i)})),e.setData(o,!1))})),t},t.prototype.getProcessedData=function(t){var e=this.xAxis,n=this.options,r=n.cropThreshold,o=t||this.getExtremesFromAll||n.getExtremesFromAll,i=this.isCartesian;t=e&&e.val2lin,n=!(!e||!e.logarithmic);var a=0,s=this.xData,l=this.yData,c=this.requireSorting,u=!1,d=s.length;if(e){var f=(u=e.getExtremes()).min,p=u.max;u=!(!e.categories||e.names.length)}if(i&&this.sorted&&!o&&(!r||d>r||this.forceCrop))if(s[d-1]<f||s[0]>p)s=[],l=[];else if(this.yData&&(s[0]<f||s[d-1]>p)){var h=this.cropData(this.xData,this.yData,f,p);s=h.xData,l=h.yData,a=h.start,h=!0}for(r=s.length||1;--r;)if(0<(e=n?t(s[r])-t(s[r-1]):s[r]-s[r-1])&&("undefined"===typeof v||e<v))var v=e;else 0>e&&c&&!u&&(k(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:h,cropStart:a,closestPointRange:v}},t.prototype.processData=function(t){var e=this.xAxis;if(this.isCartesian&&!this.isDirty&&!e.isDirty&&!this.yAxis.isDirty&&!t)return!1;t=this.getProcessedData(),this.cropped=t.cropped,this.cropStart=t.cropStart,this.processedXData=t.xData,this.processedYData=t.yData,this.closestPointRange=this.basePointRange=t.closestPointRange,_(this,"afterProcessData")},t.prototype.cropData=function(t,e,n,r,o){var i,a=t.length,s=0,l=a;for(o=N(o,this.cropShoulder),i=0;i<a;i++)if(t[i]>=n){s=Math.max(0,i-o);break}for(n=i;n<a;n++)if(t[n]>r){l=n+o;break}return{xData:t.slice(s,l),yData:e.slice(s,l),start:s,end:l}},t.prototype.generatePoints=function(){var t=this.options,e=this.processedData||t.data,n=this.processedXData,r=this.processedYData,o=this.pointClass,i=n.length,a=this.cropStart||0,s=this.hasGroupedData,l=t.keys,c=[];t=t.dataGrouping&&t.dataGrouping.groupAll?a:0;var u,d,f=this.data;if(!f&&!s){var p=[];p.length=e.length,f=this.data=p}for(l&&s&&(this.options.keys=!1),d=0;d<i;d++){if(p=a+d,s){var h=(new o).init(this,[n[d]].concat(F(r[d])));h.dataGroup=this.groupMap[t+d],h.dataGroup.options&&(h.options=h.dataGroup.options,E(h,h.dataGroup.options),delete h.dataLabels)}else(h=f[p])||"undefined"===typeof e[p]||(f[p]=h=(new o).init(this,e[p],n[d]));h&&(h.index=s?t+d:p,c[d]=h)}if(this.options.keys=l,f&&(i!==(u=f.length)||s))for(d=0;d<u;d++)d!==a||s||(d+=i),f[d]&&(f[d].destroyElements(),f[d].plotX=void 0);this.data=f,this.points=c,_(this,"afterGeneratePoints")},t.prototype.getXExtremes=function(t){return{min:x(t),max:y(t)}},t.prototype.getExtremes=function(t,e){var n=this.xAxis,r=this.yAxis,o=this.processedXData||this.xData,i=[],a=this.requireSorting?this.cropShoulder:0;r=!!r&&r.positiveValuesOnly;var s,l=0,c=0,u=0,d=(t=t||this.stackedYData||this.processedYData||[]).length;if(n){var f=n.getExtremes();l=f.min,c=f.max}for(s=0;s<d;s++){var p=o[s];f=t[s];var h=(A(f)||T(f))&&(f.length||0<f||!r);if(p=e||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(o[s+a]||p)>=l&&(o[s-a]||p)<=c,h&&p)if(h=f.length)for(;h--;)A(f[h])&&(i[u++]=f[h]);else i[u++]=f}return t={activeYData:i,dataMin:x(i),dataMax:y(i)},_(this,"afterGetExtremes",{dataExtremes:t}),t},t.prototype.applyExtremes=function(){var t=this.getExtremes();return this.dataMin=t.dataMin,this.dataMax=t.dataMax,t},t.prototype.getFirstValidPoint=function(t){for(var e=t.length,n=0,r=null;null===r&&n<e;)r=t[n],n++;return r},t.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n=this.options,r=n.stacking,o=this.xAxis,i=o.categories,a=this.enabledDataSorting,s=this.yAxis,l=this.points,c=l.length,u=this.pointPlacementToXValue(),d=!!u,f=n.threshold,p=n.startFromThreshold?f:0,h=this.zoneAxis||"y",v=Number.MAX_VALUE;for(t=0;t<c;t++){var g=l[t],m=g.x,b=void 0,y=void 0,x=g.y,O=g.low,C=r&&s.stacking&&s.stacking.stacks[(this.negStacks&&x<(p?0:f)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(x)||o.positiveValuesOnly&&!o.validatePositiveValue(m))&&(g.isNull=!0),g.plotX=e=S(w(o.translate(m,0,0,0,1,u,"flags"===this.type),-1e5,1e5)),r&&this.visible&&C&&C[m]){var k=this.getStackIndicator(k,m,this.index);g.isNull||(y=(b=C[m]).points[k.key])}if(T(y)&&(O=y[0],x=y[1],O===p&&k.key===C[m].base&&(O=N(A(f)&&f,s.min)),s.positiveValuesOnly&&0>=O&&(O=null),g.total=g.stackTotal=b.total,g.percentage=b.total&&g.y/b.total*100,g.stackY=x,this.irregularWidths||b.setOffset(this.pointXOffset||0,this.barW||0)),g.yBottom=j(O)?w(s.translate(O,0,1,0,1),-1e5,1e5):null,this.dataModify&&(x=this.dataModify.modifyValue(x,t)),g.plotY=void 0,A(x)&&"undefined"!==typeof(b=s.translate(x,!1,!0,!1,!0))&&(g.plotY=w(b,-1e5,1e5)),g.isInside=this.isPointInside(g),g.clientX=d?S(o.translate(m,0,0,0,1,u)):e,g.negative=g[h]<(n[h+"Threshold"]||f||0),g.category=N(i&&i[g.x],g.x),!g.isNull&&!1!==g.visible){"undefined"!==typeof E&&(v=Math.min(v,Math.abs(e-E)));var E=e}g.zone=this.zones.length?g.getZone():void 0,!g.graphic&&this.group&&a&&(g.isNew=!0)}this.closestPointRangePx=v,_(this,"afterTranslate")},t.prototype.getValidPoints=function(t,e,n){var r=this.chart;return(t||this.points||[]).filter((function(t){return!(e&&!r.isInsidePlot(t.plotX,t.plotY,{inverted:r.inverted}))&&!1!==t.visible&&(n||!t.isNull)}))},t.prototype.getClipBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis,r=D(t.clipBox);return e&&e.len!==t.plotSizeX&&(r.width=e.len),n&&n.len!==t.plotSizeY&&(r.height=n.len),r},t.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},t.prototype.setClip=function(){var t=this.chart,e=this.group,n=this.markerGroup,r=t.sharedClips;t=t.renderer;var o=this.getClipBox(),i=this.getSharedClipKey(),a=r[i];a?a.animate(o):r[i]=a=t.clipRect(o),e&&e.clip(!1===this.options.clip?void 0:a),n&&n.clip()},t.prototype.animate=function(t){var e=this.chart,n=this.group,r=this.markerGroup,o=e.inverted,i=u(this.options.animation),a=[this.getSharedClipKey(),i.duration,i.easing,i.defer].join(),s=e.sharedClips[a],l=e.sharedClips[a+"m"];if(t&&n)i=this.getClipBox(),s?s.attr("height",i.height):(i.width=0,o&&(i.x=e.plotHeight),s=e.renderer.clipRect(i),e.sharedClips[a]=s,l=e.renderer.clipRect({x:o?(e.plotSizeX||0)+99:-99,y:o?-e.plotLeft:-e.plotTop,width:99,height:o?e.chartWidth:e.chartHeight}),e.sharedClips[a+"m"]=l),n.clip(s),r&&r.clip(l);else if(s&&!s.hasClass("highcharts-animating")){e=this.getClipBox();var c=i.step;r&&r.element.childNodes.length&&(i.step=function(t,e){c&&c.apply(e,arguments),l&&l.element&&l.attr(e.prop,"width"===e.prop?t+99:t)}),s.addClass("highcharts-animating").animate(e,i)}},t.prototype.afterAnimate=function(){var t=this;this.setClip(),I(this.chart.sharedClips,(function(e,n,r){e&&!t.chart.container.querySelector('[clip-path="url(#'.concat(e.id,')"]'))&&(e.destroy(),delete r[n])})),this.finishedAnimating=!0,_(this,"afterAnimate")},t.prototype.drawPoints=function(){var t,e,n=this.points,r=this.chart,o=this.options.marker,i=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=N(o.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=o.enabledThreshold*o.radius);if(!1!==o.enabled||this._hasPointMarkers)for(t=0;t<n.length;t++){var l=n[t],c=(e=l.graphic)?"animate":"attr",u=l.marker||{},d=!!l.marker;if((s&&"undefined"===typeof u.enabled||u.enabled)&&!l.isNull&&!1!==l.visible){var f=N(u.symbol,this.symbol,"rect"),p=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=a.reversed?-(p.width||0):a.width);var h=!1!==l.isInside;e?e[h?"show":"hide"](h).animate(p):h&&(0<(p.width||0)||l.hasImage)&&(l.graphic=e=r.renderer.symbol(f,p.x,p.y,p.width,p.height,d?u:o).add(i),this.enabledDataSorting&&r.hasRendered&&(e.attr({x:l.startXPos}),c="animate")),e&&"animate"===c&&e[h?"show":"hide"](h).animate(p),e&&!r.styledMode&&e[c](this.pointAttribs(l,l.selected&&"select")),e&&e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}},t.prototype.markerAttribs=function(t,e){var n=this.options,r=n.marker,o=t.marker||{},i=o.symbol||r.symbol,a=N(o.radius,r&&r.radius);return e&&(r=r.states[e],e=o.states&&o.states[e],a=N(e&&e.radius,r&&r.radius,a&&a+(r&&r.radiusPlus||0))),t.hasImage=i&&0===i.indexOf("url"),t.hasImage&&(a=0),t=A(a)?{x:n.crisp?Math.floor(t.plotX-a):t.plotX-a,y:t.plotY-a}:{},a&&(t.width=t.height=2*a),t},t.prototype.pointAttribs=function(t,e){var n=this.options.marker,r=t&&t.options,o=r&&r.marker||{},i=r&&r.color,a=t&&t.color,s=t&&t.zone&&t.zone.color,l=this.color;return t=N(o.lineWidth,n.lineWidth),r=1,l=i||s||a||l,i=o.fillColor||n.fillColor||l,a=o.lineColor||n.lineColor||l,e=e||"normal",n=n.states[e]||{},e=o.states&&o.states[e]||{},t=N(e.lineWidth,n.lineWidth,t+N(e.lineWidthPlus,n.lineWidthPlus,0)),i=e.fillColor||n.fillColor||i,{stroke:a=e.lineColor||n.lineColor||a,"stroke-width":t,fill:i,opacity:r=N(e.opacity,n.opacity,r)}},t.prototype.destroy=function(t){var e,n,r,o=this,i=o.chart,a=/AppleWebKit\/533/.test(g.navigator.userAgent),s=o.data||[];for(_(o,"destroy",{keepEventsForUpdate:t}),this.removeEvents(t),(o.axisTypes||[]).forEach((function(t){(r=o[t])&&r.series&&(C(r.series,o),r.isDirty=r.forceRedraw=!0)})),o.legendItem&&o.chart.legend.destroyItem(o),e=s.length;e--;)(n=s[e])&&n.destroy&&n.destroy();o.clips&&o.clips.forEach((function(t){return t.destroy()})),c.clearTimeout(o.animationTimeout),I(o,(function(t,e){t instanceof l&&!t.survive&&t[a&&"group"===e?"hide":"destroy"]()})),i.hoverSeries===o&&(i.hoverSeries=void 0),C(i.series,o),i.orderSeries(),I(o,(function(e,n){t&&"hcEvents"===n||delete o[n]}))},t.prototype.applyZones=function(){var t,e,n,r,o,i,a,s,l=this,c=this.chart,u=c.renderer,d=this.zones,f=this.clips||[],p=this.graph,h=this.area,v=Math.max(c.chartWidth,c.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],m=c.inverted,b=!1;if(d.length&&(p||h)&&g&&"undefined"!==typeof g.min){var y=g.reversed,x=g.horiz;p&&!this.showLine&&p.hide(),h&&h.hide();var O=g.getExtremes();d.forEach((function(d,S){t=y?x?c.plotWidth:0:x?0:g.toPixels(O.min)||0,t=w(N(e,t),0,v),e=w(Math.round(g.toPixels(N(d.value,O.max),!0)||0),0,v),b&&(t=e=g.toPixels(O.max)),r=Math.abs(t-e),o=Math.min(t,e),i=Math.max(t,e),g.isXAxis?(n={x:m?i:o,y:0,width:r,height:v},x||(n.x=c.plotHeight-n.x)):(n={x:0,y:m?i:o,width:v,height:r},x&&(n.y=c.plotWidth-n.y)),m&&u.isVML&&(n=g.isXAxis?{x:0,y:y?o:i,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),f[S]?f[S].animate(n):f[S]=u.clipRect(n),a=l["zone-area-"+S],s=l["zone-graph-"+S],p&&s&&s.clip(f[S]),h&&a&&a.clip(f[S]),b=d.value>O.max,l.resetZones&&0===e&&(e=void 0)})),this.clips=f}else l.visible&&(p&&p.show(),h&&h.show())},t.prototype.invertGroups=function(t){function e(){["group","markerGroup"].forEach((function(e){n[e]&&(r.renderer.isVML&&n[e].attr({width:n.yAxis.len,height:n.xAxis.len}),n[e].width=n.yAxis.len,n[e].height=n.xAxis.len,n[e].invert(!n.isRadialSeries&&t))}))}var n=this,r=n.chart;n.xAxis&&(n.eventsToUnbind.push(b(r,"resize",e)),e(),n.invertGroups=e)},t.prototype.plotGroup=function(t,e,n,r,o){var i=this[t],a=!i;return n={visibility:n,zIndex:r||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),a&&(this[t]=i=this.chart.renderer.g().add(o)),i.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(j(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(i.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),i.attr(n)[a?"attr":"animate"](this.getPlotBox()),i},t.prototype.getPlotBox=function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},t.prototype.removeEvents=function(t){t||L(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind.length=0)},t.prototype.render=function(){var t=this,e=t.chart,n=t.options,r=u(n.animation),o=t.visible?"inherit":"hidden",i=n.zIndex,a=t.hasRendered,s=e.seriesGroup,l=e.inverted;e=!t.finishedAnimating&&e.renderer.isSVG?r.duration:0,_(this,"render");var c=t.plotGroup("group","series",o,i,s);t.markerGroup=t.plotGroup("markerGroup","markers",o,i,s),!1!==n.clip&&t.setClip(),t.animate&&e&&t.animate(!0),c.inverted=!!N(t.invertible,t.isCartesian)&&l,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.visible&&t.drawPoints(),t.drawDataLabels&&t.drawDataLabels(),t.redrawPoints&&t.redrawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(l),t.animate&&e&&t.animate(),a||(e&&r.defer&&(e+=r.defer),t.animationTimeout=B((function(){t.afterAnimate()}),e||0)),t.isDirty=!1,t.hasRendered=!0,_(t,"afterRender")},t.prototype.redraw=function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,r=this.xAxis,o=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:N(r&&r.left,t.plotLeft),translateY:N(o&&o.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},t.prototype.searchPoint=function(t,e){var n=this.xAxis,r=this.yAxis,o=this.chart.inverted;return this.searchKDTree({clientX:o?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:o?r.len-t.chartX+r.pos:t.chartY-r.pos},e,t)},t.prototype.buildKDTree=function(t){function e(t,r,o){var i=t&&t.length;if(i){var a=n.kdAxisArray[r%o];return t.sort((function(t,e){return t[a]-e[a]})),{point:t[i=Math.floor(i/2)],left:e(t.slice(0,i),r+1,o),right:e(t.slice(i+1),r+1,o)}}}this.buildingKdTree=!0;var n=this,r=-1<n.options.findNearestPointBy.indexOf("y")?2:1;delete n.kdTree,B((function(){n.kdTree=e(n.getValidPoints(null,!n.directTouch),r,r),n.buildingKdTree=!1}),n.options.kdNow||t&&"touchstart"===t.type?0:1)},t.prototype.searchKDTree=function(t,e,n){var r=this,o=this.kdAxisArray[0],i=this.kdAxisArray[1],a=e?"distX":"dist";if(e=-1<r.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function t(e,n,s,l){var c=n.point,u=r.kdAxisArray[s%l],d=c,f=j(e[o])&&j(c[o])?Math.pow(e[o]-c[o],2):null,p=j(e[i])&&j(c[i])?Math.pow(e[i]-c[i],2):null;return p=(f||0)+(p||0),c.dist=j(p)?Math.sqrt(p):Number.MAX_VALUE,c.distX=j(f)?Math.sqrt(f):Number.MAX_VALUE,f=0>(u=e[u]-c[u])?"right":"left",n[p=0>u?"left":"right"]&&(d=(p=t(e,n[p],s+1,l))[a]<d[a]?p:c),n[f]&&Math.sqrt(u*u)<d[a]&&(d=(e=t(e,n[f],s+1,l))[a]<d[a]?e:d),d}(t,this.kdTree,e,e)},t.prototype.pointPlacementToXValue=function(){var t=this.options,e=t.pointRange,n=this.xAxis;return"between"===(t=t.pointPlacement)&&(t=n.reversed?-.5:.5),A(t)?t*(e||n.pointRange):0},t.prototype.isPointInside=function(t){var e=this.chart,n=this.xAxis,r=this.yAxis;return"undefined"!==typeof t.plotY&&"undefined"!==typeof t.plotX&&0<=t.plotY&&t.plotY<=(r?r.len:e.plotHeight)&&0<=t.plotX&&t.plotX<=(n?n.len:e.plotWidth)},t.prototype.drawTracker=function(){var t=this,e=t.options,n=e.trackByArea,r=[].concat(n?t.areaPath:t.graphPath),o=t.chart,i=o.pointer,a=o.renderer,s=o.options.tooltip.snap,l=t.tracker,c=function(e){o.hoverSeries!==t&&t.onMouseOver()},u="rgba(192,192,192,"+(v?1e-4:.002)+")";l?l.attr({d:r}):t.graph&&(t.tracker=a.path(r).attr({visibility:t.visible?"inherit":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(t.group),o.styledMode||t.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:u,fill:n?u:"none","stroke-width":t.graph.strokeWidth()+(n?0:2*s)}),[t.tracker,t.markerGroup,t.dataLabelsGroup].forEach((function(t){t&&(t.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",(function(t){i.onTrackerMouseOut(t)})),e.cursor&&!o.styledMode&&t.css({cursor:e.cursor}),h)&&t.on("touchstart",c)}))),_(this,"afterDrawTracker")},t.prototype.addPoint=function(t,e,n,r,o){var i=this.options,a=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,u=i.data,d=this.xData;e=N(e,!0);var f={series:this};this.pointClass.prototype.applyOptions.apply(f,[t]);var p=f.x,h=d.length;if(this.requireSorting&&p<d[h-1])for(c=!0;h&&d[h-1]>p;)h--;this.updateParallelArrays(f,"splice",h,0,0),this.updateParallelArrays(f,h),l&&f.name&&(l[p]=f.name),u.splice(h,0,t),(c||this.processedData)&&(this.data.splice(h,0,null),this.processData()),"point"===i.legendType&&this.generatePoints(),n&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(f,"shift"),u.shift())),!1!==o&&_(this,"addPoint",{point:f}),this.isDirtyData=this.isDirty=!0,e&&s.redraw(r)},t.prototype.removePoint=function(t,e,n){var r=this,o=r.data,i=o[t],a=r.points,s=r.chart,l=function(){a&&a.length===o.length&&a.splice(t,1),o.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(i||{series:r},"splice",t,1),i&&i.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&s.redraw()};d(n,s),e=N(e,!0),i?i.firePointEvent("remove",null,l):l()},t.prototype.remove=function(t,e,n,r){function o(){i.destroy(r),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),N(t,!0)&&a.redraw(e)}var i=this,a=i.chart;!1!==n?_(i,"remove",null,o):o()},t.prototype.update=function(t,e){t=O(t,this.userOptions),_(this,"update",{options:t});var n,r=this,o=r.chart,i=r.userOptions,a=r.initialType||r.type,s=o.options.plotOptions,l=m[a].prototype,c=r.finishedAnimating&&{animation:!1},u={},d=["eventOptions","navigatorSeries","baseSeries"],f=t.type||i.type||o.options.chart.type,p=!(this.hasDerivedData||f&&f!==this.type||"undefined"!==typeof t.pointStart||"undefined"!==typeof t.pointInterval||"undefined"!==typeof t.relativeXValue||t.joinBy||t.mapData||r.hasOptionChanged("dataGrouping")||r.hasOptionChanged("pointStart")||r.hasOptionChanged("pointInterval")||r.hasOptionChanged("pointIntervalUnit")||r.hasOptionChanged("keys"));if(f=f||a,p&&(d.push("data","isDirtyData","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX"),!1!==t.visible&&d.push("area","graph"),r.parallelArrays.forEach((function(t){d.push(t+"Data")})),t.data&&(t.dataSorting&&E(r.options.dataSorting,t.dataSorting),this.setData(t.data,!1))),t=D(i,c,{index:"undefined"===typeof i.index?r.index:i.index,pointStart:N(s&&s.series&&s.series.pointStart,i.pointStart,r.xData[0])},!p&&{data:r.options.data},t),p&&t.data&&(t.data=r.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(t){d[t]=r[t],delete r[t]})),s=!1,m[f]){if(s=f!==r.type,r.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(r,m[f].prototype);else{for(n in c=Object.hasOwnProperty.call(r,"hcEvents")&&r.hcEvents,l)r[n]=void 0;E(r,m[f].prototype),c?r.hcEvents=c:delete r.hcEvents}}else k(17,!0,o,{missingModuleFor:f});if(d.forEach((function(t){r[t]=d[t]})),r.init(o,t),p&&this.points){var h=r.options;!1===h.visible?(u.graphic=1,u.dataLabel=1):r._hasPointLabels||(t=h.marker,l=h.dataLabels,!t||!1!==t.enabled&&(i.marker&&i.marker.symbol)===t.symbol||(u.graphic=1),l&&!1===l.enabled&&(u.dataLabel=1)),this.points.forEach((function(t){t&&t.series&&(t.resolveColor(),Object.keys(u).length&&t.destroyElements(u),!1===h.showInLegend&&t.legendItem&&o.legend.destroyItem(t))}),this)}r.initialType=a,o.linkSeries(),s&&r.linkedSeries.length&&(r.isDirtyData=!0),_(this,"afterUpdate"),N(e,!0)&&o.redraw(!!p&&void 0)},t.prototype.setName=function(t){this.name=this.options.name=this.userOptions.name=t,this.chart.isDirtyLegend=!0},t.prototype.hasOptionChanged=function(t){var e=this.options[t],n=this.chart.options.plotOptions,r=this.userOptions[t];return r?e!==r:e!==N(n&&n[this.type]&&n[this.type][t],n&&n.series&&n.series[t],e)},t.prototype.onMouseOver=function(){var t=this.chart,e=t.hoverSeries;t.pointer.setHoverChartIndex(),e&&e!==this&&e.onMouseOut(),this.options.events.mouseOver&&_(this,"mouseOver"),this.setState("hover"),t.hoverSeries=this},t.prototype.onMouseOut=function(){var t=this.options,e=this.chart,n=e.tooltip,r=e.hoverPoint;e.hoverSeries=null,r&&r.onMouseOut(),this&&t.events.mouseOut&&_(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),e.series.forEach((function(t){t.setState("",!0)}))},t.prototype.setState=function(t,e){var n=this,r=n.options,o=n.graph,i=r.inactiveOtherPoints,a=r.states,s=N(a[t||"normal"]&&a[t||"normal"].animation,n.chart.options.chart.animation),l=r.lineWidth,c=0,u=r.opacity;if(t=t||"",n.state!==t&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach((function(e){e&&(n.state&&e.removeClass("highcharts-series-"+n.state),t&&e.addClass("highcharts-series-"+t))})),n.state=t,!n.chart.styledMode)){if(a[t]&&!1===a[t].enabled)return;if(t&&(l=a[t].lineWidth||l+(a[t].lineWidthPlus||0),u=N(a[t].opacity,u)),o&&!o.dashstyle)for(r={"stroke-width":l},o.animate(r,s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(r,s),c+=1;i||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach((function(t){t&&t.animate({opacity:u},s)}))}e&&i&&n.points&&n.setAllPointsToState(t||void 0)},t.prototype.setAllPointsToState=function(t){this.points.forEach((function(e){e.setState&&e.setState(t)}))},t.prototype.setVisible=function(t,e){var n=this,r=n.chart,o=n.legendItem,i=r.options.chart.ignoreHiddenSeries,a=n.visible,s=(n.visible=t=n.options.visible=n.userOptions.visible="undefined"===typeof t?!a:t)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(t){n[t]&&n[t][s]()})),r.hoverSeries!==n&&(r.hoverPoint&&r.hoverPoint.series)!==n||n.onMouseOut(),o&&r.legend.colorizeItem(n,t),n.isDirty=!0,n.options.stacking&&r.series.forEach((function(t){t.options.stacking&&t.visible&&(t.isDirty=!0)})),n.linkedSeries.forEach((function(e){e.setVisible(t,!1)})),i&&(r.isDirtyBox=!0),_(n,s),!1!==e&&r.redraw()},t.prototype.show=function(){this.setVisible(!0)},t.prototype.hide=function(){this.setVisible(!1)},t.prototype.select=function(t){this.selected=t=this.options.selected="undefined"===typeof t?!this.selected:t,this.checkbox&&(this.checkbox.checked=t),_(this,t?"select":"unselect")},t.prototype.shouldShowTooltip=function(t,e,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(t,e,n)},t.defaultOptions=a,t}(),E(t.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:o.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:i,requireSorting:!0,sorted:!0}),s.series=t,t})),e(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i){var a=t.stop,s=i.addEvent,l=i.createElement,c=i.defined,u=i.merge,d=i.pick;s(n,"afterSetChartSize",(function(t){var n=this.options.chart.scrollablePlotArea,r=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(r){if(this.scrollablePixelsX=r=Math.max(0,r-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.width=this.plotWidth+=r,this.inverted?this.clipBox.height+=r:this.clipBox.width+=r;var o={1:{name:"right",value:r}}}}else n&&(this.scrollablePixelsY=r=Math.max(0,n-this.chartHeight),c(r)&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=u(this.plotBox),this.plotBox.height=this.plotHeight+=r,this.inverted?this.clipBox.width+=r:this.clipBox.height+=r,o={2:{name:"bottom",value:r}}));o&&!t.skipAxes&&this.axes.forEach((function(t){o[t.side]?t.getPlotLinePath=function(){var n=o[t.side].name,r=this[n];this[n]=r-o[t.side].value;var i=e.prototype.getPlotLinePath.apply(this,arguments);return this[n]=r,i}:(t.setAxisSize(),t.setAxisTranslation())}))}})),s(n,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),n.prototype.setUpScrolling=function(){var t=this,e={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(e.overflowX="auto"),this.scrollablePixelsY&&(e.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},e,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){t.pointer&&delete t.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var t,e=this.container,n=this.fixedRenderer,r=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?t=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?t=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(t=".highcharts-yaxis"),t&&r.push(t+":not(.highcharts-radial-axis)",t+"-labels:not(.highcharts-radial-axis-labels)"),r.forEach((function(t){[].forEach.call(e.querySelectorAll(t),(function(t){(t.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(t),t.style.pointerEvents="auto"}))}))},n.prototype.applyFixed=function(){var t=!this.fixedDiv,e=this.options.chart,n=e.scrollablePlotArea,r=o.getRendererType();t?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(e.style&&e.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=e=new r(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=e.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterApplyDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||t)&&(this.scrollableDirty=!1,this.moveFixedElements()),e=this.chartWidth+(this.scrollablePixelsX||0),r=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=e+"px",this.container.style.height=r+"px",this.renderer.boxWrapper.attr({width:e,height:r,viewBox:[0,0,e,r].join(" ")}),this.chartBackground.attr({width:e,height:r}),this.scrollingContainer.style.height=this.chartHeight+"px",t&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),r=this.axisOffset,t=this.plotTop-r[0]-1,n=this.plotLeft-r[3]-1,e=this.plotTop+this.plotHeight+r[2]+1,r=this.plotLeft+this.plotWidth+r[1]+1;var i=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);t=this.scrollablePixelsX?[["M",0,t],["L",this.plotLeft-1,t],["L",this.plotLeft-1,e],["L",0,e],["Z"],["M",i,t],["L",this.chartWidth,t],["L",this.chartWidth,e],["L",i,e],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",r,this.plotTop-1],["L",r,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",r,this.chartHeight],["L",r,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:t})},s(e,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(r,"show",(function(){this.chart.scrollableDirty=!0}))})),e(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=t.getDeferredAnimation,i=n.addEvent,a=n.destroyObjectProperties,s=n.fireEvent,l=n.isNumber,c=n.objectEach;return function(t){function e(){var t=this.stacking;if(t){var e=t.stacks;c(e,(function(t,n){a(t),e[n]=null})),t&&t.stackTotalGroup&&t.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new u(this))}var r=[];t.compose=function(t){return-1===r.indexOf(t)&&(r.push(t),i(t,"init",n),i(t,"destroy",e)),t};var u=function(){function t(t){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=t}return t.prototype.buildStacks=function(){var t,e=this.axis,n=e.series,r=e.options.reversedStacks,o=n.length;if(!e.isXAxis){for(this.usePercentage=!1,t=o;t--;){var i=n[r?t:o-t-1];i.setStackedPoints(),i.setGroupedPoints()}for(t=0;t<o;t++)n[t].modifyStacks();s(e,"afterBuildStacks")}},t.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var t=this.stacks=this.oldStacks;c(t,(function(t){c(t,(function(t){t.cumulative=t.total}))}))}},t.prototype.resetStacks=function(){var t=this,e=t.stacks;t.axis.isXAxis||c(e,(function(e){c(e,(function(n,r){l(n.touched)&&n.touched<t.stacksTouched?(n.destroy(),delete e[r]):(n.total=null,n.cumulative=null)}))}))},t.prototype.renderStackTotals=function(){var t=this.axis,e=t.chart,n=e.renderer,r=this.stacks;t=o(e,t.options.stackLabels&&t.options.stackLabels.animation||!1);var i=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({zIndex:6,opacity:0}).add();i.translate(e.plotLeft,e.plotTop),c(r,(function(t){c(t,(function(t){t.render(i)}))})),i.animate({opacity:1},t)},t}();t.Additions=u}(r||(r={})),r})),e(n,"Extensions/Stacking.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Axis/StackingAxis.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a){var s=n.format,l=a.correctFloat,c=a.defined,u=a.destroyObjectProperties,d=a.isArray,f=a.isNumber,p=a.objectEach,h=a.pick,v=function(){function t(t,e,n,r,o){var i=t.chart.inverted;this.axis=t,this.isNegative=n,this.options=e=e||{},this.x=r,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=o,this.rightCliff=this.leftCliff=0,this.alignOptions={align:e.align||(i?n?"left":"right":"center"),verticalAlign:e.verticalAlign||(i?"middle":n?"bottom":"top"),y:e.y,x:e.x},this.textAlign=e.textAlign||(i?n?"right":"left":"center")}return t.prototype.destroy=function(){u(this,this.axis)},t.prototype.render=function(t){var e=this.axis.chart,n=this.options,r=n.format;r=r?s(r,this,e):n.formatter.call(this),this.label?this.label.attr({text:r,visibility:"hidden"}):(this.label=e.renderer.label(r,null,null,n.shape,null,null,n.useHTML,!1,"stack-labels"),r={r:n.borderRadius||0,text:r,rotation:n.rotation,padding:h(n.padding,5),visibility:"hidden"},e.styledMode||(r.fill=n.backgroundColor,r.stroke=n.borderColor,r["stroke-width"]=n.borderWidth,this.label.css(n.style)),this.label.attr(r),this.label.added||this.label.add(t)),this.label.labelrank=e.plotSizeY},t.prototype.setOffset=function(t,e,n,r,i){var a=this.axis,s=a.chart;r=a.translate(a.stacking.usePercentage?100:r||this.total,0,0,0,1),n=a.translate(n||0),n=c(r)&&Math.abs(r-n),t=h(i,s.xAxis[0].translate(this.x))+t,a=c(r)&&this.getStackBox(s,this,t,r,e,n,a),e=this.label,n=this.isNegative,t="justify"===h(this.options.overflow,"justify");var l=this.textAlign;e&&a&&(i=e.getBBox(),r=e.padding,l="left"===l?s.inverted?-r:r:"right"===l?i.width:s.inverted&&"center"===l?i.width/2:s.inverted?n?i.width+r:-r:i.width/2,n=s.inverted?i.height/2:n?-r:i.height,this.alignOptions.x=h(this.options.x,0),this.alignOptions.y=h(this.options.y,0),a.x-=l,a.y-=n,e.align(this.alignOptions,null,a),s.isInsidePlot(e.alignAttr.x+l-this.alignOptions.x,e.alignAttr.y+n-this.alignOptions.y)?e.show():(e.hide(),t=!1),t&&o.prototype.justifyDataLabel.call(this.axis,e,this.alignOptions,e.alignAttr,i,a),e.attr({x:e.alignAttr.x,y:e.alignAttr.y}),h(!t&&this.options.crop,!0)&&((s=f(e.x)&&f(e.y)&&s.isInsidePlot(e.x-r+e.width,e.y)&&s.isInsidePlot(e.x+r,e.y))||e.hide()))},t.prototype.getStackBox=function(t,e,n,r,o,i,a){var s=e.axis.reversed,l=t.inverted,c=a.height+a.pos-(l?t.plotLeft:t.plotTop);return e=e.isNegative&&!s||!e.isNegative&&s,{x:l?e?r-a.right:r-i+a.pos-t.plotLeft:n+t.xAxis[0].transB-t.plotLeft,y:l?a.height-n-o:e?c-r-i:c-r,width:l?i:o,height:l?o:i}},t}();return e.prototype.getStacks=function(){var t=this,e=t.inverted;t.yAxis.forEach((function(t){t.stacking&&t.stacking.stacks&&t.hasVisibleSeries&&(t.stacking.oldStacks=t.stacking.stacks)})),t.series.forEach((function(n){var r=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==t.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,h(n.options.stack,""),e?r.top:r.left,e?r.height:r.width].join())}))},i.compose(t),o.prototype.setGroupedPoints=function(){var t=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?o.prototype.setStackedPoints.call(this,"group"):t&&p(t.stacks,(function(e,n){"group"===n.slice(-5)&&(p(e,(function(t){return t.destroy()})),delete t.stacks[n])}))},o.prototype.setStackedPoints=function(t){var e=t||this.options.stacking;if(e&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var n=this.processedXData,r=this.processedYData,o=[],i=r.length,a=this.options,s=a.threshold,u=h(a.startFromThreshold&&s,0);a=a.stack;var f,p,g="-"+(t=t?""+this.type+",".concat(e):this.stackKey),m=this.negStacks,b=this.yAxis,y=b.stacking.stacks,x=b.stacking.oldStacks;for(b.stacking.stacksTouched+=1,p=0;p<i;p++){var w=n[p],O=r[p],S=this.getStackIndicator(S,w,this.index),j=S.key,C=(f=m&&O<(u?0:s))?g:t;y[C]||(y[C]={}),y[C][w]||(x[C]&&x[C][w]?(y[C][w]=x[C][w],y[C][w].total=null):y[C][w]=new v(b,b.options.stackLabels,f,w,a)),C=y[C][w],null!==O?(C.points[j]=C.points[this.index]=[h(C.cumulative,u)],c(C.cumulative)||(C.base=j),C.touched=b.stacking.stacksTouched,0<S.index&&!1===this.singleStacks&&(C.points[j][0]=C.points[this.index+","+w+",0"][0])):C.points[j]=C.points[this.index]=null,"percent"===e?(f=f?t:g,m&&y[f]&&y[f][w]?(f=y[f][w],C.total=f.total=Math.max(f.total,C.total)+Math.abs(O)||0):C.total=l(C.total+(Math.abs(O)||0))):"group"===e?(d(O)&&(O=O[0]),null!==O&&(C.total=(C.total||0)+1)):C.total=l(C.total+(O||0)),C.cumulative="group"===e?(C.total||1)-1:h(C.cumulative,u)+(O||0),null!==O&&(C.points[j].push(C.cumulative),o[p]=C.cumulative,C.hasValidPoints=!0)}"percent"===e&&(b.stacking.usePercentage=!0),"group"!==e&&(this.stackedYData=o),b.stacking.oldStacks={}}},o.prototype.modifyStacks=function(){var t,e=this,n=e.stackKey,r=e.yAxis.stacking.stacks,o=e.processedXData,i=e.options.stacking;e[i+"Stacker"]&&[n,"-"+n].forEach((function(n){for(var a,s,l=o.length;l--;)a=o[l],t=e.getStackIndicator(t,a,e.index,n),(s=(a=r[n]&&r[n][a])&&a.points[t.key])&&e[i+"Stacker"](s,a,l)}))},o.prototype.percentStacker=function(t,e,n){e=e.total?100/e.total:0,t[0]=l(t[0]*e),t[1]=l(t[1]*e),this.stackedYData[n]=t[1]},o.prototype.getStackIndicator=function(t,e,n,r){return!c(t)||t.x!==e||r&&t.stackKey!==r?t={x:e,index:0,key:r,stackKey:r}:t.index++,t.key=[n,e,t.index].join(),t},r.StackItem=v,r.StackItem})),e(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=n.defined,i=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.prototype.drawGraph=function(){var t=this,e=this.options,n=(this.gappedPath||this.getGraphPath).call(this),r=this.chart.styledMode,o=[["graph","highcharts-graph"]];r||o[0].push(e.lineColor||this.color||"#cccccc",e.dashStyle),(o=t.getZonesGraphs(o)).forEach((function(o,i){var a=o[0],s=t[a],l=s?"animate":"attr";s?(s.endX=t.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(t[a]=s=t.chart.renderer.path(n).addClass(o[1]).attr({zIndex:1}).add(t.group)),s&&!r&&(a={stroke:o[2],"stroke-width":e.lineWidth,fill:t.fillGraph&&t.color||"none"},o[3]?a.dashstyle=o[3]:"square"!==e.linecap&&(a["stroke-linecap"]=a["stroke-linejoin"]="round"),s[l](a).shadow(2>i&&e.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)}))},n.prototype.getGraphPath=function(t,e,n){var r,i=this,a=i.options,s=[],l=[],c=a.step,u=(t=t||i.points).reversed;return u&&t.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(t=this.getValidPoints(t,!1,!(a.connectNulls&&!e&&!n))).forEach((function(u,d){var f=u.plotX,p=u.plotY,h=t[d-1];(u.leftCliff||h&&h.rightCliff)&&!n&&(r=!0),u.isNull&&!o(e)&&0<d?r=!a.connectNulls:u.isNull&&!e?r=!0:(0===d||r?d=[["M",u.plotX,u.plotY]]:i.getPointSpline?d=[i.getPointSpline(t,u,d)]:c?(d=1===c?[["L",h.plotX,p]]:2===c?[["L",(h.plotX+f)/2,h.plotY],["L",(h.plotX+f)/2,p]]:[["L",f,h.plotY]]).push(["L",f,p]):d=[["L",f,p]],l.push(u.x),c&&(l.push(u.x),2===c&&l.push(u.x)),s.push.apply(s,d),r=!1)})),s.xMap=l,i.graphPath=s},n.prototype.getZonesGraphs=function(t){return this.zones.forEach((function(e,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(e.className||"")],this.chart.styledMode||n.push(e.color||this.color,e.dashStyle||this.options.dashStyle),t.push(n)}),this),t},n.defaultOptions=i(t.defaultOptions,{}),n}(t),e.registerSeriesType("line",n),n})),e(n,"Series/Area/AreaSeries.js",[n["Core/Color/Color.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=t.parse,a=n.seriesTypes.line;t=r.extend;var s=r.merge,l=r.objectEach,c=r.pick;return r=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return o(e,t),e.prototype.drawGraph=function(){this.areaPath=[],t.prototype.drawGraph.apply(this);var e=this,n=this.areaPath,r=this.options,o=[["area","highcharts-area",this.color,r.fillColor]];this.zones.forEach((function(t,n){o.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+t.className,t.color||e.color,t.fillColor||r.fillColor])})),o.forEach((function(t){var o=t[0],a={},s=e[o],l=s?"animate":"attr";s?(s.endX=e.preventGraphAnimation?null:n.xMap,s.animate({d:n})):(a.zIndex=0,(s=e[o]=e.chart.renderer.path(n).addClass(t[1]).add(e.group)).isArea=!0),e.chart.styledMode||(a.fill=c(t[3],i(t[2]).setOpacity(c(r.fillOpacity,.75)).get())),s[l](a),s.startX=n.xMap,s.shiftUnit=r.step?2:1}))},e.prototype.getGraphPath=function(t){var e=a.prototype.getGraphPath,n=this.options,r=n.stacking,o=this.yAxis,i=[],s=[],l=this.index,u=o.stacking.stacks[this.stackKey],d=n.threshold,f=Math.round(o.getThreshold(n.threshold));n=c(n.connectNulls,"percent"===r);var p=function(e,n,a){var c=t[e];e=r&&u[c.x].points[l];var p=c[a+"Null"]||0;if(a=c[a+"Cliff"]||0,c=!0,a||p){var h=(p?e[0]:e[1])+a,v=e[0]+a;c=!!p}else!r&&t[n]&&t[n].isNull&&(h=v=d);"undefined"!==typeof h&&(s.push({plotX:m,plotY:null===h?f:o.getThreshold(h),isNull:c,isCliff:!0}),i.push({plotX:m,plotY:null===v?f:o.getThreshold(v),doCurve:!1}))};t=t||this.points,r&&(t=this.getStackPoints(t));for(var h=0,v=t.length;h<v;++h){r||(t[h].leftCliff=t[h].rightCliff=t[h].leftNull=t[h].rightNull=void 0);var g=t[h].isNull,m=c(t[h].rectPlotX,t[h].plotX),b=r?c(t[h].yBottom,f):f;g&&!n||(n||p(h,h-1,"left"),g&&!r&&n||(s.push(t[h]),i.push({x:h,plotX:m,plotY:b})),n||p(h,h+1,"right"))}return p=e.call(this,s,!0,!0),i.reversed=!0,(b=(g=e.call(this,i,!0,!0))[0])&&"M"===b[0]&&(g[0]=["L",b[1],b[2]]),(g=p.concat(g)).length&&g.push(["Z"]),e=e.call(this,s,!1,n),g.xMap=p.xMap,this.areaPath=g,e},e.prototype.getStackPoints=function(t){var e=this,n=[],r=[],o=this.xAxis,i=this.yAxis,a=i.stacking.stacks[this.stackKey],s={},u=i.series,d=u.length,f=i.options.reversedStacks?1:-1,p=u.indexOf(e);if(t=t||this.points,this.options.stacking){for(var h=0;h<t.length;h++)t[h].leftNull=t[h].rightNull=void 0,s[t[h].x]=t[h];l(a,(function(t,e){null!==t.total&&r.push(e)})),r.sort((function(t,e){return t-e}));var v=u.map((function(t){return t.visible}));r.forEach((function(t,l){var h,g,m=0;if(s[t]&&!s[t].isNull)n.push(s[t]),[-1,1].forEach((function(n){var o=1===n?"rightNull":"leftNull",i=a[r[l+n]],c=0;if(i)for(var m=p;0<=m&&m<d;){var b=u[m].index;(h=i.points[b])||(b===e.index?s[t][o]=!0:v[m]&&(g=a[t].points[b])&&(c-=g[1]-g[0])),m+=f}s[t][1===n?"rightCliff":"leftCliff"]=c}));else{for(var b=p;0<=b&&b<d;){if(h=a[t].points[u[b].index]){m=h[1];break}b+=f}m=c(m,0),m=i.translate(m,0,1,0,1),n.push({isNull:!0,plotX:o.translate(t,0,0,0,1),x:t,plotY:m,yBottom:m})}}))}return n},e.defaultOptions=s(a.defaultOptions,{threshold:0}),e}(a),t(r.prototype,{singleStacks:!1,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("area",r),r})),e(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=t.seriesTypes.line,o=e.merge,i=e.pick;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.getPointSpline=function(t,e,n){var r=e.plotX||0,o=e.plotY||0,a=t[n-1];if(n=t[n+1],a&&!a.isNull&&!1!==a.doCurve&&!e.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!e.isCliff){t=a.plotY||0;var s=n.plotX||0;n=n.plotY||0;var l=0,c=(1.5*r+(a.plotX||0))/2.5,u=(1.5*o+t)/2.5,d=(1.5*o+n)/2.5;(s=(1.5*r+s)/2.5)!==c&&(l=(d-u)*(s-r)/(s-c)+o-d),d+=l,(u+=l)>t&&u>o?d=2*o-(u=Math.max(t,o)):u<t&&u<o&&(d=2*o-(u=Math.min(t,o))),d>n&&d>o?u=2*o-(d=Math.max(n,o)):d<n&&d<o&&(u=2*o-(d=Math.min(n,o))),e.rightContX=s,e.rightContY=d}return e=["C",i(a.rightContX,a.plotX,0),i(a.rightContY,a.plotY,0),i(c,r,0),i(u,o,0),r,o],a.rightContX=a.rightContY=void 0,e},e.defaultOptions=o(r.defaultOptions),e}(r),t.registerSeriesType("spline",e),e})),e(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=n.seriesTypes,a=i.area;i=i.area.prototype;var s=r.extend,l=r.merge;return r=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return o(n,e),n.defaultOptions=l(t.defaultOptions,a.defaultOptions),n}(t),s(r.prototype,{getGraphPath:i.getGraphPath,getStackPoints:i.getStackPoints,drawGraph:i.drawGraph,drawLegendSymbol:e.drawRectangle}),n.registerSeriesType("areaspline",r),r})),e(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a){var s=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),l=t.animObject,c=e.parse,u=n.hasTouch;t=n.noop;var d=a.clamp,f=a.css,p=a.defined,h=a.extend,v=a.fireEvent,g=a.isArray,m=a.isNumber,b=a.merge,y=a.pick,x=a.objectEach;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.borderWidth=void 0,e.data=void 0,e.group=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){var e=this,n=this.yAxis,r=e.options,o=this.chart.inverted,i={},a=o?"translateX":"translateY";if(t)i.scaleY=.001,t=d(n.toPixels(r.threshold),n.pos,n.pos+n.len),o?i.translateX=t-n.len:i.translateY=t,e.clipBox&&e.setClip(),e.group.attr(i);else{var s=Number(e.group.attr(a));e.group.animate({scaleY:1},h(l(e.options.animation),{step:function(t,r){e.group&&(i[a]=s+r.pos*(n.pos-s),e.group.attr(i))}}))}},e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments);var r=this;(e=r.chart).hasRendered&&e.series.forEach((function(t){t.type===r.type&&(t.isDirty=!0)}))},e.prototype.getColumnMetrics=function(){var t=this,e=t.options,n=t.xAxis,r=t.yAxis,o=n.options.reversedStacks;o=n.reversed&&!o||!n.reversed&&o;var i,a={},s=0;!1===e.grouping?s=1:t.chart.series.forEach((function(e){var n=e.yAxis,o=e.options;if(e.type===t.type&&(e.visible||!t.chart.options.chart.ignoreHiddenSeries)&&r.len===n.len&&r.pos===n.pos){if(o.stacking&&"group"!==o.stacking){i=e.stackKey,"undefined"===typeof a[i]&&(a[i]=s++);var l=a[i]}else!1!==o.grouping&&(l=s++);e.columnIndex=l}}));var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||e.pointRange||n.closestPointRange||n.tickInterval||1),n.len),c=l*e.groupPadding,u=(l-2*c)/(s||1);return e=Math.min(e.maxPointWidth||n.len,y(e.pointWidth,u*(1-2*e.pointPadding))),t.columnMetrics={width:e,offset:(u-e)/2+(c+((t.columnIndex||0)+(o?1:0))*u-l/2)*(o?-1:1),paddedWidth:u,columnCount:s},t.columnMetrics},e.prototype.crispCol=function(t,e,n,r){var o=this.chart,i=this.borderWidth,a=-(i%2?.5:0);return i=i%2?.5:1,o.inverted&&o.renderer.isVML&&(i+=1),this.options.crisp&&(n=Math.round(t+n)+a,n-=t=Math.round(t)+a),r=Math.round(e+r)+i,a=.5>=Math.abs(e)&&.5<r,r-=e=Math.round(e)+i,a&&r&&(--e,r+=1),{x:t,y:e,width:n,height:r}},e.prototype.adjustForMissingColumns=function(t,e,n,r){var o=this,i=this.options.stacking;if(!n.isNull&&1<r.columnCount){var a=this.yAxis.options.reversedStacks,s=0,l=a?0:-r.columnCount;x(this.yAxis.stacking&&this.yAxis.stacking.stacks,(function(t){if("number"===typeof n.x&&(t=t[n.x.toString()])){var e=t.points[o.index],r=t.total;i?(e&&(s=l),t.hasValidPoints&&(a?l++:l--)):g(e)&&(s=e[1],l=r||0)}})),t=(n.plotX||0)+((l-1)*r.paddedWidth+e)/2-e-s*r.paddedWidth}return t},e.prototype.translate=function(){var t=this,e=t.chart,n=t.options,r=t.dense=2>t.closestPointRange*t.xAxis.transA;r=t.borderWidth=y(n.borderWidth,r?0:1);var i=t.xAxis,a=t.yAxis,s=n.threshold,l=t.translatedThreshold=a.getThreshold(s),c=y(n.minPointLength,5),u=t.getColumnMetrics(),f=u.width,h=t.pointXOffset=u.offset,v=t.dataMin,g=t.dataMax,b=t.barW=Math.max(f,1+2*r);e.inverted&&(l-=.5),n.pointPadding&&(b=Math.ceil(b)),o.prototype.translate.apply(t),t.points.forEach((function(r){var o=y(r.yBottom,l),x=999+Math.abs(o),w=r.plotX||0;x=d(r.plotY,-x,a.len+x);var O=Math.min(x,o),S=Math.max(x,o)-O,j=f,C=w+h,k=b;c&&Math.abs(S)<c&&(S=c,w=!a.reversed&&!r.negative||a.reversed&&r.negative,m(s)&&m(g)&&r.y===s&&g<=s&&(a.min||0)<s&&(v!==g||(a.max||0)<=s)&&(w=!w),O=Math.abs(O-l)>c?o-c:l-(w?c:0)),p(r.options.pointWidth)&&(j=k=Math.ceil(r.options.pointWidth),C-=Math.round((j-f)/2)),n.centerInCategory&&(C=t.adjustForMissingColumns(C,j,r,u)),r.barX=C,r.pointWidth=j,r.tooltipPos=e.inverted?[d(a.len+a.pos-e.plotLeft-x,a.pos-e.plotLeft,a.len+a.pos-e.plotLeft),i.len+i.pos-e.plotTop-C-k/2,S]:[i.left-e.plotLeft+C+k/2,d(x+a.pos-e.plotTop,a.pos-e.plotTop,a.len+a.pos-e.plotTop),S],r.shapeType=t.pointClass.prototype.shapeType||"rect",r.shapeArgs=t.crispCol.apply(t,r.isNull?[C,l,k,0]:[C,O,k,S])}))},e.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},e.prototype.pointAttribs=function(t,e){var n=this.options,r=this.pointAttrToOptions||{},o=r.stroke||"borderColor",i=r["stroke-width"]||"borderWidth",a=t&&t.color||this.color,s=t&&t[o]||n[o]||a;r=t&&t.options.dashStyle||n.dashStyle;var l=t&&t[i]||n[i]||this[i]||0,u=y(t&&t.opacity,n.opacity,1);if(t&&this.zones.length){var d=t.getZone();a=t.options.color||d&&(d.color||t.nonZonedColor)||this.color,d&&(s=d.borderColor||s,r=d.dashStyle||r,l=d.borderWidth||l)}return e&&t&&(e=(t=b(n.states[e],t.options.states&&t.options.states[e]||{})).brightness,a=t.color||"undefined"!==typeof e&&c(a).brighten(t.brightness).get()||a,s=t[o]||s,l=t[i]||l,r=t.dashStyle||r,u=y(t.opacity,u)),o={fill:a,stroke:s,"stroke-width":l,opacity:u},r&&(o.dashstyle=r),o},e.prototype.drawPoints=function(){var t,e=this,n=this.chart,r=e.options,o=n.renderer,i=r.animationLimit||250;e.points.forEach((function(a){var s=a.graphic,l=!!s,c=s&&n.pointCount<i?"animate":"attr";m(a.plotY)&&null!==a.y?(t=a.shapeArgs,s&&a.hasNewShapeType()&&(s=s.destroy()),e.enabledDataSorting&&(a.startXPos=e.xAxis.reversed?-(t&&t.width||0):e.xAxis.width),s||(a.graphic=s=o[a.shapeType](t).add(a.group||e.group))&&e.enabledDataSorting&&n.hasRendered&&n.pointCount<i&&(s.attr({x:a.startXPos}),l=!0,c="animate"),s&&l&&s[c](b(t)),r.borderRadius&&s[c]({r:r.borderRadius}),n.styledMode||s[c](e.pointAttribs(a,a.selected&&"select")).shadow(!1!==a.allowShadow&&r.shadow,null,r.stacking&&!r.borderRadius),s&&(s.addClass(a.getClassName(),!0),s.attr({visibility:a.visible?"inherit":"hidden"}))):s&&(a.graphic=s.destroy())}))},e.prototype.drawTracker=function(){var t,e=this,n=e.chart,r=n.pointer,o=function(t){var e=r.getPointFromEvent(t);"undefined"!==typeof e&&(r.isDirectTouch=!0,e.onMouseOver(t))};e.points.forEach((function(e){t=g(e.dataLabels)?e.dataLabels:e.dataLabel?[e.dataLabel]:[],e.graphic&&(e.graphic.element.point=e),t.forEach((function(t){t.div?t.div.point=e:t.element.point=e}))})),e._hasTracking||(e.trackerGroups.forEach((function(t){e[t]&&(e[t].addClass("highcharts-tracker").on("mouseover",o).on("mouseout",(function(t){r.onTrackerMouseOut(t)})),u&&e[t].on("touchstart",o),!n.styledMode&&e.options.cursor&&e[t].css(f).css({cursor:e.options.cursor}))})),e._hasTracking=!0),v(this,"afterDrawTracker")},e.prototype.remove=function(){var t=this,e=t.chart;e.hasRendered&&e.series.forEach((function(e){e.type===t.type&&(e.isDirty=!0)})),o.prototype.remove.apply(t,arguments)},e.defaultOptions=b(o.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),e}(o),h(a.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:r.drawRectangle,getSymbol:t,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),i.registerSeriesType("column",a),a})),e(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=t.getDeferredAnimation,i=e.format,a=n.defined,s=n.extend,l=n.fireEvent,c=n.isArray,u=n.merge,d=n.objectEach,f=n.pick,p=n.splat;return function(t){function e(t,e,n,r,o){var i=this,l=this.chart,c=this.isCartesian&&l.inverted,u=this.enabledDataSorting,d=f(t.dlBox&&t.dlBox.centerX,t.plotX),p=t.plotY,h=n.rotation,v=n.align,g=a(d)&&a(p)&&l.isInsidePlot(d,Math.round(p),{inverted:c,paneCoordinates:!0,series:i}),m=function(n){u&&i.xAxis&&!b&&i.setDataLabelStartPos(t,e,o,g,n)},b="justify"===f(n.overflow,u?"none":"justify"),y=this.visible&&!1!==t.visible&&(t.series.forceDL||u&&!b||g||f(n.inside,!!this.options.stacking)&&r&&l.isInsidePlot(d,c?r.x+1:r.y+r.height-1,{inverted:c,paneCoordinates:!0,series:i}));if(y&&a(d)&&a(p)){h&&e.attr({align:v}),v=e.getBBox(!0);var x=[0,0],w=l.renderer.fontMetrics(l.styledMode?void 0:n.style.fontSize,e).b;r=s({x:c?this.yAxis.len-p:d,y:Math.round(c?this.xAxis.len-d:p),width:0,height:0},r),s(n,{width:v.width,height:v.height}),h?(b=!1,x=l.renderer.rotCorr(w,h),d={x:r.x+(n.x||0)+r.width/2+x.x,y:r.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*r.height},x=[v.x-Number(e.attr("x")),v.y-Number(e.attr("y"))],m(d),e[o?"attr":"animate"](d)):(m(r),e.align(n,void 0,r),d=e.alignAttr),b&&0<=r.height?this.justifyDataLabel(e,n,d,v,r,o):f(n.crop,!0)&&(r=d.x,m=d.y,r+=x[0],m+=x[1],y=l.isInsidePlot(r,m,{paneCoordinates:!0,series:i})&&l.isInsidePlot(r+v.width,m+v.height,{paneCoordinates:!0,series:i})),n.shape&&!h&&e[o?"attr":"animate"]({anchorX:c?l.plotWidth-t.plotY:t.plotX,anchorY:c?l.plotHeight-t.plotX:t.plotY})}o&&u&&(e.placed=!1),y||u&&!b?e.show():(e.hide(),e.placed=!1)}function n(){var t=this,e=t.chart,n=t.options,r=t.points,s=t.hasRendered||0,u=e.renderer,v=n.dataLabels,g=v.animation;if(g=v.defer?o(e,g,t):{defer:0,duration:0},v=h(h(e.options.plotOptions&&e.options.plotOptions.series&&e.options.plotOptions.series.dataLabels,e.options.plotOptions&&e.options.plotOptions[t.type]&&e.options.plotOptions[t.type].dataLabels),v),l(this,"drawDataLabels"),c(v)||v.enabled||t._hasPointLabels){var m=t.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",v.zIndex||6);m.attr({opacity:+s}),!s&&(s=t.dataLabelsGroup)&&(t.visible&&m.show(),s[n.animation?"animate":"attr"]({opacity:1},g)),r.forEach((function(r){p(h(v,r.dlOptions||r.options&&r.options.dataLabels)).forEach((function(o,s){var l=o.enabled&&(!r.isNull||r.dataLabelOnNull)&&function(t,e){var n=e.filter;return!n||(e=n.operator,t=t[n.property],n=n.value,">"===e&&t>n||"<"===e&&t<n||">="===e&&t>=n||"<="===e&&t<=n||"=="===e&&t==n||"==="===e&&t===n)}(r,o),c=r.connectors?r.connectors[s]:r.connector,p=r.dataLabels?r.dataLabels[s]:r.dataLabel,h=!p,v=f(o.distance,r.labelDistance);if(l){var g=r.getLabelConfig(),b=f(o[r.formatPrefix+"Format"],o.format);g=a(b)?i(b,g,e):(o[r.formatPrefix+"Formatter"]||o.formatter).call(g,o),b=o.style;var y=o.rotation;e.styledMode||(b.color=f(o.color,b.color,t.color,"#000000"),"contrast"===b.color?(r.contrastColor=u.getContrast(r.color||t.color),b.color=!a(v)&&o.inside||0>v||n.stacking?r.contrastColor:"#000000"):delete r.contrastColor,n.cursor&&(b.cursor=n.cursor));var x={r:o.borderRadius||0,rotation:y,padding:o.padding,zIndex:1};e.styledMode||(x.fill=o.backgroundColor,x.stroke=o.borderColor,x["stroke-width"]=o.borderWidth),d(x,(function(t,e){"undefined"===typeof t&&delete x[e]}))}!p||l&&a(g)&&!!p.div===!!o.useHTML&&(p.rotation&&o.rotation||p.rotation===o.rotation)||(h=!0,r.dataLabel=p=r.dataLabel&&r.dataLabel.destroy(),r.dataLabels&&(1===r.dataLabels.length?delete r.dataLabels:delete r.dataLabels[s]),s||delete r.dataLabel,c&&(r.connector=r.connector.destroy(),r.connectors&&(1===r.connectors.length?delete r.connectors:delete r.connectors[s]))),l&&a(g)?(p?x.text=g:(r.dataLabels=r.dataLabels||[],p=r.dataLabels[s]=y?u.text(g,0,0,o.useHTML).addClass("highcharts-data-label"):u.label(g,0,0,o.shape,null,null,o.useHTML,null,"data-label"),s||(r.dataLabel=p),p.addClass(" highcharts-data-label-color-"+r.colorIndex+" "+(o.className||"")+(o.useHTML?" highcharts-tracker":""))),p.options=o,p.attr(x),e.styledMode||p.css(b).shadow(o.shadow),p.added||p.add(m),o.textPath&&!o.useHTML&&(p.setTextPath(r.getDataLabelPath&&r.getDataLabelPath(p)||r.graphic,o.textPath),r.dataLabelPath&&!o.textPath.enabled&&(r.dataLabelPath=r.dataLabelPath.destroy())),t.alignDataLabel(r,p,o,null,h)):p&&p.hide()}))}))}l(this,"afterDrawDataLabels")}function r(t,e,n,r,o,i){var a=this.chart,s=e.align,l=e.verticalAlign,c=t.box?0:t.padding||0,u=e.x;u=void 0===u?0:u;var d=e.y;d=void 0===d?0:d;var f=(n.x||0)+c;if(0>f){"right"===s&&0<=u?(e.align="left",e.inside=!0):u-=f;var p=!0}return(f=(n.x||0)+r.width-c)>a.plotWidth&&("left"===s&&0>=u?(e.align="right",e.inside=!0):u+=a.plotWidth-f,p=!0),0>(f=n.y+c)&&("bottom"===l&&0<=d?(e.verticalAlign="top",e.inside=!0):d-=f,p=!0),(f=(n.y||0)+r.height-c)>a.plotHeight&&("top"===l&&0>=d?(e.verticalAlign="bottom",e.inside=!0):d+=a.plotHeight-f,p=!0),p&&(e.x=u,e.y=d,t.placed=!i,t.align(e,void 0,o)),p}function h(t,e){var n,r=[];if(c(t)&&!c(e))r=t.map((function(t){return u(t,e)}));else if(c(e)&&!c(t))r=e.map((function(e){return u(t,e)}));else if(c(t)||c(e))for(n=Math.max(t.length,e.length);n--;)r[n]=u(t[n],e[n]);else r=u(t,e);return r}function v(t,e,n,r,o){var i=this.chart,a=i.inverted,s=this.xAxis,l=s.reversed,c=a?e.height/2:e.width/2;t=(t=t.pointWidth)?t/2:0,e.startXPos=a?o.x:l?-c-t:s.width-c+t,e.startYPos=a?l?this.yAxis.height-c+t:-c-t:o.y,r?"hidden"===e.visibility&&(e.show(),e.attr({opacity:0}).animate({opacity:1})):e.attr({opacity:1}).animate({opacity:0},void 0,e.hide),i.hasRendered&&(n&&e.attr({x:e.startXPos,y:e.startYPos}),e.placed=!0)}var g=[];t.compose=function(t){if(-1===g.indexOf(t)){var o=t.prototype;g.push(t),o.alignDataLabel=e,o.drawDataLabels=n,o.justifyDataLabel=r,o.setDataLabelStartPos=v}}}(r||(r={})),r})),e(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=e.series,i=n.merge,a=n.pick;return function(e){function n(t,e,n,r,s){var l=this.chart.inverted,c=t.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var d=t.dlBox||t.shapeArgs,f=a(t.below,t.plotY>a(this.translatedThreshold,c)),p=a(n.inside,!!this.options.stacking);d&&(0>(r=i(d)).y&&(r.height+=r.y,r.y=0),0<(d=r.y+r.height-c)&&d<r.height&&(r.height-=d),l&&(r={x:c-r.y-r.height,y:u-r.x-r.width,width:r.height,height:r.width}),p||(l?(r.x+=f?0:r.width,r.width=0):(r.y+=f?r.height:0,r.height=0))),n.align=a(n.align,!l||p?"center":f?"right":"left"),n.verticalAlign=a(n.verticalAlign,l||p?"middle":f?"top":"bottom"),o.prototype.alignDataLabel.call(this,t,e,n,r,s),n.inside&&t.contrastColor&&e.css({color:t.contrastColor})}var r=[];e.compose=function(e){t.compose(o),-1===r.indexOf(e)&&(r.push(e),e.prototype.alignDataLabel=n)}}(r||(r={})),r})),e(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=n.extend,i=n.merge;return n=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return r(n,e),n.defaultOptions=i(t.defaultOptions,{}),n}(t),o(n.prototype,{inverted:!0}),e.registerSeriesType("bar",n),n})),e(n,"Series/Scatter/ScatterSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=t.seriesTypes,o=r.column,i=r.line;r=e.addEvent;var a=e.extend,s=e.merge;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return n(e,t),e.prototype.applyJitter=function(){var t=this,e=this.options.jitter,n=this.points.length;e&&this.points.forEach((function(r,o){["x","y"].forEach((function(i,a){var s="plot"+i.toUpperCase();if(e[i]&&!r.isNull){var l=t[i+"Axis"],c=e[i]*l.transA;if(l&&!l.isLog){var u=Math.max(0,r[s]-c);l=Math.min(l.len,r[s]+c),a=1e4*Math.sin(o+a*n),r[s]=u+(l-u)*(a-Math.floor(a)),"x"===i&&(r.clientX=r.plotX)}}}))}))},e.prototype.drawGraph=function(){this.options.lineWidth?t.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},e.defaultOptions=s(i.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),e}(i),a(e.prototype,{drawTracker:o.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),r(e,"afterTranslate",(function(){this.applyJitter()})),t.registerSeriesType("scatter",e),e})),e(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=t.deg2rad,i=n.fireEvent,a=n.isNumber,s=n.pick,l=n.relativeLength;return function(t){t.getCenter=function(){var t=this.options,n=this.chart,r=2*(t.slicedOffset||0),o=n.plotWidth-2*r,c=n.plotHeight-2*r,u=t.center,d=Math.min(o,c),f=t.thickness,p=t.size,h=t.innerSize||0;for("string"===typeof p&&(p=parseFloat(p)),"string"===typeof h&&(h=parseFloat(h)),t=[s(u[0],"50%"),s(u[1],"50%"),s(p&&0>p?void 0:t.size,"100%"),s(h&&0>h?void 0:t.innerSize||0,"0%")],!n.angular||this instanceof e||(t[3]=0),u=0;4>u;++u)p=t[u],n=2>u||2===u&&/%$/.test(p),t[u]=l(p,[o,c,d,t[2]][u])+(n?r:0);return t[3]>t[2]&&(t[3]=t[2]),a(f)&&2*f<t[2]&&0<f&&(t[3]=t[2]-2*f),i(this,"afterGetCenter",{positions:t}),t},t.getStartAndEndRadians=function(t,e){return t=a(t)?t:0,e=a(e)&&e>t&&360>e-t?e:t+360,{start:o*(t+-90),end:o*(e+-90)}}}(r||(r={})),r})),e(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=t.setAnimation,i=n.addEvent,a=n.defined;t=n.extend;var s=n.isNumber,l=n.pick,c=n.relativeLength;return e=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.labelDistance=void 0,e.options=void 0,e.series=void 0,e}return r(e,t),e.prototype.getConnectorPath=function(){var t=this.labelPosition,e=this.series.options.dataLabels,n=this.connectorShapes,r=e.connectorShape;return n[r]&&(r=n[r]),r.call(this,{x:t.final.x,y:t.final.y,alignment:t.alignment},t.connectorPosition,e)},e.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},e.prototype.haloPath=function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:e.r-1,start:e.start,end:e.end})},e.prototype.init=function(){var e=this;t.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var n=function(t){e.slice("select"===t.type)};return i(this,"select",n),i(this,"unselect",n),this},e.prototype.isValid=function(){return s(this.y)&&0<=this.y},e.prototype.setVisible=function(t,e){var n=this,r=this.series,o=r.chart,i=r.options.ignoreHiddenPoint;e=l(e,i),t!==this.visible&&(this.visible=this.options.visible=t="undefined"===typeof t?!this.visible:t,r.options.data[r.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(e){n[e]&&n[e][t?"show":"hide"](t)})),this.legendItem&&o.legend.colorizeItem(this,t),t||"hover"!==this.state||this.setState(""),i&&(r.isDirty=!0),e&&o.redraw())},e.prototype.slice=function(t,e,n){var r=this.series;o(n,r.chart),l(e,!0),this.sliced=this.options.sliced=a(t)?t:!this.sliced,r.options.data[r.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},e}(e),t(e.prototype,{connectorShapes:{fixedOffset:function(t,e,n){var r=e.breakAt;return e=e.touchingSliceAt,[["M",t.x,t.y],n.softConnector?["C",t.x+("left"===t.alignment?-5:5),t.y,2*r.x-e.x,2*r.y-e.y,r.x,r.y]:["L",r.x,r.y],["L",e.x,e.y]]},straight:function(t,e){return e=e.touchingSliceAt,[["M",t.x,t.y],["L",e.x,e.y]]},crookedLine:function(t,e,n){e=e.touchingSliceAt;var r=this.series,o=r.center[0],i=r.chart.plotWidth,a=r.chart.plotLeft;r=t.alignment;var s=this.shapeArgs.r;return n=c(n.crookDistance,1),n=["L",i="left"===r?o+s+(i+a-o-s)*(1-n):a+(o-s)*n,t.y],o=!0,("left"===r?i>t.x||i<e.x:i<t.x||i>e.x)&&(o=!1),t=[["M",t.x,t.y]],o&&t.push(n),t.push(["L",e.x,e.y]),t}}}),e})),e(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l){var c=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),u=t.getStartAndEndRadians;n=n.noop;var d=l.clamp,f=l.extend,p=l.fireEvent,h=l.merge,v=l.pick,g=l.relativeLength;return l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.center=void 0,e.data=void 0,e.maxLabelDistance=void 0,e.options=void 0,e.points=void 0,e}return c(e,t),e.prototype.animate=function(t){var e=this,n=e.points,r=e.startAngleRad;t||n.forEach((function(t){var n=t.graphic,o=t.shapeArgs;n&&o&&(n.attr({r:v(t.startR,e.center&&e.center[3]/2),start:r,end:r}),n.animate({r:o.r,start:o.start,end:o.end},e.options.animation))}))},e.prototype.drawEmpty=function(){var t=this.startAngleRad,e=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var r=this.center[0],o=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(r,o,this.center[1]/2,0,t,e).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(r,o,this.center[2]/2,0,{start:t,end:e,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},e.prototype.drawPoints=function(){var t=this.chart.renderer;this.points.forEach((function(e){e.graphic&&e.hasNewShapeType()&&(e.graphic=e.graphic.destroy()),e.graphic||(e.graphic=t[e.shapeType](e.shapeArgs).add(e.series.group),e.delayedRendering=!0)}))},e.prototype.generatePoints=function(){t.prototype.generatePoints.call(this),this.updateTotals()},e.prototype.getX=function(t,e,n){var r=this.center,o=this.radii?this.radii[n.index]||0:r[2]/2;return t=Math.asin(d((t-r[1])/(o+n.labelDistance),-1,1)),r[0]+(e?-1:1)*Math.cos(t)*(o+n.labelDistance)+(0<n.labelDistance?(e?-1:1)*this.options.dataLabels.padding:0)},e.prototype.hasData=function(){return!!this.processedXData.length},e.prototype.redrawPoints=function(){var t,e,n,r,o=this,i=o.chart,a=i.renderer,s=o.options.shadow;this.drawEmpty(),!s||o.shadowGroup||i.styledMode||(o.shadowGroup=a.g("shadow").attr({zIndex:-1}).add(o.group)),o.points.forEach((function(l){var c={};if(e=l.graphic,!l.isNull&&e){var u=void 0;r=l.shapeArgs,t=l.getTranslate(),i.styledMode||(u=l.shadowGroup,s&&!u&&(u=l.shadowGroup=a.g("shadow").add(o.shadowGroup)),u&&u.attr(t),n=o.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(e.setRadialReference(o.center).attr(r).attr(t),i.styledMode||e.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,u),l.delayedRendering=!1):(e.setRadialReference(o.center),i.styledMode||h(!0,c,n),h(!0,c,r,t),e.animate(c)),e.attr({visibility:l.visible?"inherit":"hidden"}),e.addClass(l.getClassName(),!0)}else e&&(l.graphic=e.destroy())}))},e.prototype.sortByAngle=function(t,e){t.sort((function(t,n){return"undefined"!==typeof t.angle&&(n.angle-t.angle)*e}))},e.prototype.translate=function(t){p(this,"translate"),this.generatePoints();var e=this.options,n=e.slicedOffset,r=n+(e.borderWidth||0),o=u(e.startAngle,e.endAngle),i=this.startAngleRad=o.start;o=(this.endAngleRad=o.end)-i;var a=this.points,s=e.dataLabels.distance;e=e.ignoreHiddenPoint;var l,c=a.length,d=0;for(t||(this.center=t=this.getCenter()),l=0;l<c;l++){var f=a[l],h=i+d*o;!f.isValid()||e&&!f.visible||(d+=f.percentage/100);var m=i+d*o,b={x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2,start:Math.round(1e3*h)/1e3,end:Math.round(1e3*m)/1e3};f.shapeType="arc",f.shapeArgs=b,f.labelDistance=v(f.options.dataLabels&&f.options.dataLabels.distance,s),f.labelDistance=g(f.labelDistance,b.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,f.labelDistance),(m=(m+h)/2)>1.5*Math.PI?m-=2*Math.PI:m<-Math.PI/2&&(m+=2*Math.PI),f.slicedTranslation={translateX:Math.round(Math.cos(m)*n),translateY:Math.round(Math.sin(m)*n)},b=Math.cos(m)*t[2]/2;var y=Math.sin(m)*t[2]/2;f.tooltipPos=[t[0]+.7*b,t[1]+.7*y],f.half=m<-Math.PI/2||m>Math.PI/2?1:0,f.angle=m,h=Math.min(r,f.labelDistance/5),f.labelPosition={natural:{x:t[0]+b+Math.cos(m)*f.labelDistance,y:t[1]+y+Math.sin(m)*f.labelDistance},final:{},alignment:0>f.labelDistance?"center":f.half?"right":"left",connectorPosition:{breakAt:{x:t[0]+b+Math.cos(m)*h,y:t[1]+y+Math.sin(m)*h},touchingSliceAt:{x:t[0]+b,y:t[1]+y}}}}p(this,"afterTranslate")},e.prototype.updateTotals=function(){var t,e=this.points,n=e.length,r=this.options.ignoreHiddenPoint,o=0;for(t=0;t<n;t++){var i=e[t];!i.isValid()||r&&!i.visible||(o+=i.y)}for(this.total=o,t=0;t<n;t++)(i=e[t]).percentage=0<o&&(i.visible||!r)?i.y/o*100:0,i.total=o},e.defaultOptions=h(i.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),e}(i),f(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:r.drawRectangle,drawTracker:e.prototype.drawTracker,getCenter:t.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:e.prototype.pointAttribs,pointClass:o,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("pie",l),l})),e(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i,a=e.noop,s=n.distribute,l=r.series,c=o.arrayMax,u=o.clamp,d=o.defined,f=o.merge,p=o.pick,h=o.relativeLength;return function(e){function n(){var t,e,n,r,o,i,a,u,h,v,g,m,b=this,y=b.data,x=b.chart,w=b.options.dataLabels||{},O=w.connectorPadding,S=x.plotWidth,j=x.plotHeight,C=x.plotLeft,k=Math.round(x.chartWidth/3),E=b.center,P=E[2]/2,_=E[1],M=[[],[]],T=[0,0,0,0],A=b.dataLabelPositioners;b.visible&&(w.enabled||b._hasPointLabels)&&(y.forEach((function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)})),l.prototype.drawDataLabels.apply(b),y.forEach((function(t){t.dataLabel&&(t.visible?(M[t.half].push(t),t.dataLabel._pos=null,!d(w.style.width)&&!d(t.options.dataLabels&&t.options.dataLabels.style&&t.options.dataLabels.style.width)&&t.dataLabel.getBBox().width>k&&(t.dataLabel.css({width:Math.round(.7*k)+"px"}),t.dataLabel.shortened=!0)):(t.dataLabel=t.dataLabel.destroy(),t.dataLabels&&1===t.dataLabels.length&&delete t.dataLabels))})),M.forEach((function(e,n){var l,c=e.length,f=[];if(c){if(b.sortByAngle(e,n-.5),0<b.maxLabelDistance){var y=Math.max(0,_-P-b.maxLabelDistance),k=Math.min(_+P+b.maxLabelDistance,x.plotHeight);e.forEach((function(t){0<t.labelDistance&&t.dataLabel&&(t.top=Math.max(0,_-P-t.labelDistance),t.bottom=Math.min(_+P+t.labelDistance,x.plotHeight),l=t.dataLabel.getBBox().height||21,t.distributeBox={target:t.labelPosition.natural.y-t.top+l/2,size:l,rank:t.y},f.push(t.distributeBox))})),s(f,y=k+l-y,y/5)}for(g=0;g<c;g++){if(t=e[g],i=t.labelPosition,r=t.dataLabel,v=!1===t.visible?"hidden":"inherit",h=y=i.natural.y,f&&d(t.distributeBox)&&("undefined"===typeof t.distributeBox.pos?v="hidden":(a=t.distributeBox.size,h=A.radialDistributionY(t))),delete t.positionIndex,w.justify)u=A.justify(t,P,E);else switch(w.alignTo){case"connectors":u=A.alignToConnectors(e,n,S,C);break;case"plotEdges":u=A.alignToPlotEdges(r,n,S,C);break;default:u=A.radialDistributionX(b,t,h,y)}r._attr={visibility:v,align:i.alignment},m=t.options.dataLabels||{},r._pos={x:u+p(m.x,w.x)+({left:O,right:-O}[i.alignment]||0),y:h+p(m.y,w.y)-10},i.final.x=u,i.final.y=h,p(w.crop,!0)&&(o=r.getBBox().width,y=null,u-o<O&&1===n?(y=Math.round(o-u+O),T[3]=Math.max(y,T[3])):u+o>S-O&&0===n&&(y=Math.round(u+o-S+O),T[1]=Math.max(y,T[1])),0>h-a/2?T[0]=Math.max(Math.round(a/2-h),T[0]):h+a/2>j&&(T[2]=Math.max(Math.round(h+a/2-j),T[2])),r.sideOverflow=y)}}})),0===c(T)||this.verifyDataLabelOverflow(T))&&(this.placeDataLabels(),this.points.forEach((function(t){var o;m=f(w,t.options.dataLabels),(e=p(m.connectorWidth,1))&&(n=t.connector,(r=t.dataLabel)&&r._pos&&t.visible&&0<t.labelDistance?(v=r._attr.visibility,(o=!n)&&(t.connector=n=x.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+t.colorIndex+(t.className?" "+t.className:"")).add(b.dataLabelsGroup),x.styledMode||n.attr({"stroke-width":e,stroke:m.connectorColor||t.color||"#666666"})),n[o?"attr":"animate"]({d:t.getConnectorPath()}),n.attr("visibility",v)):n&&(t.connector=n.destroy()))})))}function r(){this.points.forEach((function(t){var e,n=t.dataLabel;n&&t.visible&&((e=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](e),n.moved=!0):n&&n.attr({y:-9999})),delete t.distributeBox}),this)}function o(t){var e=this.center,n=this.options,r=n.center,o=n.minSize||80,i=null!==n.size;if(!i){if(null!==r[0])var a=Math.max(e[2]-Math.max(t[1],t[3]),o);else a=Math.max(e[2]-t[1]-t[3],o),e[0]+=(t[3]-t[1])/2;null!==r[1]?a=u(a,o,e[2]-Math.max(t[0],t[2])):(a=u(a,o,e[2]-t[0]-t[2]),e[1]+=(t[0]-t[2])/2),a<e[2]?(e[2]=a,e[3]=Math.min(n.thickness?Math.max(0,a-2*n.thickness):Math.max(0,h(n.innerSize||0,a)),a),this.translate(e),this.drawDataLabels&&this.drawDataLabels()):i=!0}return i}var i=[],v={radialDistributionY:function(t){return t.top+t.distributeBox.pos},radialDistributionX:function(t,e,n,r){return t.getX(n<e.top+2||n>e.bottom-2?r:n,e.half,e)},justify:function(t,e,n){return n[0]+(t.half?-1:1)*(e+t.labelDistance)},alignToPlotEdges:function(t,e,n,r){return t=t.getBBox().width,e?t+r:n-t-r},alignToConnectors:function(t,e,n,r){var o,i=0;return t.forEach((function(t){(o=t.dataLabel.getBBox().width)>i&&(i=o)})),e?i+r:n-i-r}};e.compose=function(e){t.compose(l),-1===i.indexOf(e)&&(i.push(e),(e=e.prototype).dataLabelPositioners=v,e.alignDataLabel=a,e.drawDataLabels=n,e.placeDataLabels=r,e.verifyDataLabelOverflow=o)}}(i||(i={})),i})),e(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],(function(t,e){function n(t,e){var n=!1;if(t){var r=t.newOpacity;t.oldOpacity!==r&&(t.alignAttr&&t.placed?(t[r?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,t.alignAttr.opacity=r,t[t.isOld?"animate":"attr"](t.alignAttr,null,(function(){e.styledMode||t.css({pointerEvents:r?"auto":"none"})})),o(e,"afterHideOverlappingLabel")):t.attr({opacity:r})),t.isOld=!0}return n}var r=e.addEvent,o=e.fireEvent,i=e.isArray,a=e.isNumber,s=e.objectEach,l=e.pick;r(t,"render",(function(){var t=this,e=[];(this.labelCollectors||[]).forEach((function(t){e=e.concat(t())})),(this.yAxis||[]).forEach((function(t){t.stacking&&t.options.stackLabels&&!t.options.stackLabels.allowOverlap&&s(t.stacking.stacks,(function(t){s(t,(function(t){t.label&&e.push(t.label)}))}))})),(this.series||[]).forEach((function(r){var o=r.options.dataLabels;r.visible&&(!1!==o.enabled||r._hasPointLabels)&&(o=function(r){return r.forEach((function(r){r.visible&&(i(r.dataLabels)?r.dataLabels:r.dataLabel?[r.dataLabel]:[]).forEach((function(o){var i=o.options;o.labelrank=l(i.labelrank,r.labelrank,r.shapeArgs&&r.shapeArgs.height),i.allowOverlap?(o.oldOpacity=o.opacity,o.newOpacity=1,n(o,t)):e.push(o)}))}))},o(r.nodes||[]),o(r.points))})),this.hideOverlappingLabels(e)})),t.prototype.hideOverlappingLabels=function(t){var e,r,i,s=this,l=t.length,c=s.renderer,u=!1,d=function(t){var e,n,r=t.box?0:t.padding||0,o=e=0;if(t&&(!t.alignAttr||t.placed)){var i=t.alignAttr||{x:t.attr("x"),y:t.attr("y")},s=t.parentGroup;t.width||(e=t.getBBox(),t.width=e.width,t.height=e.height,e=c.fontMetrics(null,t.element).h);var l=t.width-2*r;return(n={left:"0",center:"0.5",right:"1"}[t.alignValue])?o=+n*l:a(t.x)&&Math.round(t.x)!==t.translateX&&(o=t.x-t.translateX),{x:i.x+(s.translateX||0)+r-(o||0),y:i.y+(s.translateY||0)+r-e,width:t.width-2*r,height:t.height-2*r}}};for(r=0;r<l;r++)(e=t[r])&&(e.oldOpacity=e.opacity,e.newOpacity=1,e.absoluteBox=d(e));for(t.sort((function(t,e){return(e.labelrank||0)-(t.labelrank||0)})),r=0;r<l;r++){var f=(d=t[r])&&d.absoluteBox;for(e=r+1;e<l;++e){var p=(i=t[e])&&i.absoluteBox;!f||!p||d===i||0===d.newOpacity||0===i.newOpacity||"hidden"===d.visibility||"hidden"===i.visibility||p.x>=f.x+f.width||p.x+p.width<=f.x||p.y>=f.y+f.height||p.y+p.height<=f.y||((d.labelrank<i.labelrank?d:i).newOpacity=0)}}t.forEach((function(t){n(t,s)&&(u=!0)})),u&&o(s,"afterHideAllOverlappingLabels")}})),e(n,"Core/Responsive.js",[n["Core/Utilities.js"]],(function(t){var e,n=t.extend,r=t.find,o=t.isArray,i=t.isObject,a=t.merge,s=t.objectEach,l=t.pick,c=t.splat,u=t.uniqueKey;return function(t){var e=[];t.compose=function(t){return-1===e.indexOf(t)&&(e.push(t),n(t.prototype,d.prototype)),t};var d=function(){function t(){}return t.prototype.currentOptions=function(t){var e=this,n={};return function t(n,r,a,l){var u;s(n,(function(n,s){if(!l&&-1<e.collectionsWithUpdate.indexOf(s)&&r[s])for(n=c(n),a[s]=[],u=0;u<Math.max(n.length,r[s].length);u++)r[s][u]&&(void 0===n[u]?a[s][u]=r[s][u]:(a[s][u]={},t(n[u],r[s][u],a[s][u],l+1)));else i(n)?(a[s]=o(n)?[]:{},t(n,r[s]||{},a[s],l+1)):a[s]="undefined"===typeof r[s]?null:r[s]}))}(t,this.options,n,0),n},t.prototype.matchResponsiveRule=function(t,e){var n=t.condition;(n.callback||function(){return this.chartWidth<=l(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&e.push(t._id)},t.prototype.setResponsive=function(t,e){var n=this,o=this.options.responsive,i=this.currentResponsive,s=[];!e&&o&&o.rules&&o.rules.forEach((function(t){"undefined"===typeof t._id&&(t._id=u()),n.matchResponsiveRule(t,s)}),this),e=a.apply(void 0,s.map((function(t){return r((o||{}).rules||[],(function(e){return e._id===t}))})).map((function(t){return t&&t.chartOptions}))),e.isResponsiveOptions=!0,(s=s.toString()||void 0)!==(i&&i.ruleIds)&&(i&&this.update(i.undoOptions,t,!0),s?((i=this.currentOptions(e)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:e,undoOptions:i},this.update(e,t,!0)):this.currentResponsive=void 0)},t}()}(e||(e={})),e})),e(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],(function(t,e,n,r,o,i,a,s,l,c,u,d,f,p,h,v,g,m,b,y,x,w,O,S,j,C,k,E,P,_,M,T,A){return t.animate=o.animate,t.animObject=o.animObject,t.getDeferredAnimation=o.getDeferredAnimation,t.setAnimation=o.setAnimation,t.stop=o.stop,t.timers=r.timers,t.AST=i,t.Axis=f,t.Chart=O,t.chart=O.chart,t.Fx=r,t.Legend=w,t.PlotLineOrBand=v,t.Point=b,t.Pointer=x.isRequired()?x:y,t.Series=S,t.SVGElement=l,t.SVGRenderer=c,t.Tick=g,t.Time=A,t.Tooltip=m,t.Color=T,t.color=T.parse,d.compose(c),u.compose(l),t.defaultOptions=n.defaultOptions,t.getOptions=n.getOptions,t.time=n.defaultTime,t.setOptions=n.setOptions,t.dateFormat=a.dateFormat,t.format=a.format,t.numberFormat=a.numberFormat,t.addEvent=e.addEvent,t.arrayMax=e.arrayMax,t.arrayMin=e.arrayMin,t.attr=e.attr,t.clearTimeout=e.clearTimeout,t.correctFloat=e.correctFloat,t.createElement=e.createElement,t.css=e.css,t.defined=e.defined,t.destroyObjectProperties=e.destroyObjectProperties,t.discardElement=e.discardElement,t.distribute=s.distribute,t.erase=e.erase,t.error=e.error,t.extend=e.extend,t.extendClass=e.extendClass,t.find=e.find,t.fireEvent=e.fireEvent,t.getMagnitude=e.getMagnitude,t.getStyle=e.getStyle,t.inArray=e.inArray,t.isArray=e.isArray,t.isClass=e.isClass,t.isDOMElement=e.isDOMElement,t.isFunction=e.isFunction,t.isNumber=e.isNumber,t.isObject=e.isObject,t.isString=e.isString,t.keys=e.keys,t.merge=e.merge,t.normalizeTickInterval=e.normalizeTickInterval,t.objectEach=e.objectEach,t.offset=e.offset,t.pad=e.pad,t.pick=e.pick,t.pInt=e.pInt,t.relativeLength=e.relativeLength,t.removeEvent=e.removeEvent,t.seriesType=j.seriesType,t.splat=e.splat,t.stableSort=e.stableSort,t.syncTimeout=e.syncTimeout,t.timeUnits=e.timeUnits,t.uniqueKey=e.uniqueKey,t.useSerialIds=e.useSerialIds,t.wrap=e.wrap,k.compose(C),_.compose(S),p.compose(f),h.compose(f),P.compose(E),v.compose(f),M.compose(O),t})),e(n,"Core/Axis/OrdinalAxis.js",[n["Core/Axis/Axis.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o,i=r.addEvent,a=r.correctFloat,s=r.css,l=r.defined,c=r.error,u=r.pick,d=r.timeUnits,f=[];return function(t){function r(t,e,n,r,o,i,a){void 0===o&&(o=[]),void 0===i&&(i=0);var s,u,f={},p=this.options.tickPixelInterval,h=this.chart.time,v=[],g=0,m=[],b=-Number.MAX_VALUE;if(!this.options.ordinal&&!this.options.breaks||!o||3>o.length||"undefined"===typeof e)return h.getTimeTicks.apply(h,arguments);var y=o.length;for(s=0;s<y;s++){var x=s&&o[s-1]>n;if(o[s]<e&&(g=s),s===y-1||o[s+1]-o[s]>5*i||x){if(o[s]>b){for(u=h.getTimeTicks(t,o[g],o[s],r);u.length&&u[0]<=b;)u.shift();u.length&&(b=u[u.length-1]),v.push(m.length),m=m.concat(u)}g=s+1}if(x)break}if(u){if(u=u.info,a&&u.unitRange<=d.hour){for(s=m.length-1,g=1;g<s;g++)if(h.dateFormat("%d",m[g])!==h.dateFormat("%d",m[g-1])){f[m[g]]="day";var w=!0}w&&(f[m[0]]="day"),u.higherRanks=f}u.segmentStarts=v,m.info=u}else c(12,!1,this.chart);if(a&&l(p)){for(h=[],g=[],s=void 0,w=u=m.length;w--;)v=this.translate(m[w]),s&&(g[w]=s-v),h[w]=s=v;for(g.sort(),(g=g[Math.floor(g.length/2)])<.6*p&&(g=null),w=m[u-1]>n?u-1:u,s=void 0;w--;)v=h[w],u=Math.abs(s-v),s&&u<.8*p&&(null===g||u<.8*g)?(f[m[w]]&&!f[m[w+1]]?(u=w+1,s=v):u=w,m.splice(u,1)):s=v}return m}function o(t){var e=this.ordinal.positions;if(!e)return t;var n=e.length-1;if(0>t)t=e[0];else if(t>n)t=e[n];else var r=t-(n=Math.floor(t));return"undefined"!==typeof r&&"undefined"!==typeof e[n]?e[n]+(r?r*(e[n+1]-e[n]):0):t}function p(t){var e=this.ordinal,n=e.positions;if(!n)return t;var r=(t-(this.old?this.old.min:this.min))*(this.old?this.old.transA:this.transA)+this.minPixelPadding;if(0<r&&r<this.left+this.len||(e.extendedOrdinalPositions||(e.extendedOrdinalPositions=e.getExtendedPositions()),n=e.extendedOrdinalPositions),n&&n.length){if(t=e.getIndexOfPoint(r,n),e=a(t%1),0<=t&&t<n.length-1)return n[Math.floor(t)]+e*(n[Math.ceil(t)]-n[Math.floor(t)]);e=n.length,r=n[0];var o=((n=n[e-1])-r)/(e-1);return 0>t?r+o*t:n+o*(t-e)}return t}function h(e,n){var r=t.Additions.findIndexOf(e,n,!0);return e[r]===n?r:r+(n-e[r])/(e[r+1]-e[r])}function v(){this.ordinal||(this.ordinal=new t.Additions(this))}function g(){this.isXAxis&&l(this.options.overscroll)&&this.max===this.dataMax&&(!this.chart.mouseIsDown||this.isInternal)&&(!this.eventArgs||this.eventArgs&&"navigator"!==this.eventArgs.trigger)&&(this.max+=this.options.overscroll,!this.isInternal&&l(this.userMin)&&(this.min+=this.options.overscroll))}function m(){this.horiz&&!this.isDirty&&(this.isDirty=this.isOrdinal&&this.chart.navigator&&!this.chart.navigator.adaptToUpdatedData)}function b(){this.ordinal&&(this.ordinal.beforeSetTickPositions(),this.tickInterval=this.ordinal.postProcessTickInterval(this.tickInterval))}function y(t){var e=this.xAxis[0],n=e.options.overscroll,r=t.originalEvent.chartX,o=this.options.chart.panning,i=!1;if(o&&"y"!==o.type&&e.options.ordinal&&e.series.length){var a=this.mouseDownX,l=e.getExtremes(),c=l.dataMax,u=l.min,d=l.max,f=this.hoverPoints,p=e.closestPointRange||e.ordinal&&e.ordinal.overscrollPointsRange;a=(a-r)/(e.translationSlope*(e.ordinal.slope||p)),p={ordinal:{positions:p=e.ordinal.getExtendedPositions(),extendedOrdinalPositions:p}};var h=e.index2val,v=e.val2lin,g=void 0,m=g=void 0,b=void 0;p.ordinal.positions?1<Math.abs(a)&&(f&&f.forEach((function(t){t.setState()})),0>a?(m=p,b=e.ordinal.positions?e:p):(m=e.ordinal.positions?e:p,b=p),c>(g=b.ordinal.positions)[g.length-1]&&g.push(c),this.fixedRange=d-u,(g=e.navigatorAxis.toFixedRange(void 0,void 0,h.apply(m,[v.apply(m,[u,!0])+a]),h.apply(b,[v.apply(b,[d,!0])+a]))).min>=Math.min(l.dataMin,u)&&g.max<=Math.max(c,d)+n&&e.setExtremes(g.min,g.max,!0,!1,{trigger:"pan"}),this.mouseDownX=r,s(this.container,{cursor:"move"})):i=!0}else i=!0;i||o&&/y/.test(o.type)?n&&(e.max=e.dataMax+n):t.preventDefault()}function x(){var t=this.xAxis;t&&t.options.ordinal&&(delete t.ordinal.index,delete t.ordinal.extendedOrdinalPositions)}function w(t,e){var n=this.ordinal,r=n.positions,o=n.slope,i=n.extendedOrdinalPositions;if(!r)return t;var a=r.length;if(r[0]<=t&&r[a-1]>=t)t=h(r,t);else{if(i||(i=n.getExtendedPositions&&n.getExtendedPositions(),n.extendedOrdinalPositions=i),!i||!i.length)return t;a=i.length,o||(o=(i[a-1]-i[0])/a),r=h(i,r[0]),t=t>=i[0]&&t<=i[a-1]?h(i,t)-r:t<i[0]?-r-(t=i[0]-t)/o:(t-=i[a-1])/o+a-r}return e?t:o*(t||0)+n.offset}t.compose=function(t,e,n){if(-1===f.indexOf(t)){f.push(t);var a=t.prototype;a.getTimeTicks=r,a.index2val=o,a.lin2val=p,a.val2lin=w,a.ordinal2lin=a.val2lin,i(t,"afterInit",v),i(t,"foundExtremes",g),i(t,"afterSetScale",m),i(t,"initialAxisTranslation",b)}return-1===f.indexOf(n)&&(f.push(n),i(n,"pan",y)),-1===f.indexOf(e)&&(f.push(e),i(e,"updatedData",x)),t};var O=function(){function t(t){this.index={},this.axis=t}return t.prototype.beforeSetTickPositions=function(){var t=this.axis,e=t.ordinal,n=t.getExtremes(),r=n.min,o=n.max,i=t.isXAxis&&!!t.options.breaks;n=t.options.ordinal;var a,s,l=t.chart.options.chart.ignoreHiddenSeries,c=[],d=Number.MAX_VALUE,f=!1,p=!1,h=!1;if(n||i){var v=0;t.series.forEach((function(t,e){if(a=[],0<e&&"highcharts-navigator-series"!==t.options.id&&(p=v!==t.processedXData[1]-t.processedXData[0]),v=t.processedXData[1]-t.processedXData[0],t.isSeriesBoosting&&(h=t.isSeriesBoosting),!(l&&!1===t.visible||!1===t.takeOrdinalPosition&&!i)&&(c=c.concat(t.processedXData),g=c.length,c.sort((function(t,e){return t-e})),d=Math.min(d,u(t.closestPointRange,d)),g)){for(e=0;e<g-1;)c[e]!==c[e+1]&&a.push(c[e+1]),e++;a[0]!==c[0]&&a.unshift(c[0]),c=a}})),p&&h&&(c.pop(),c.shift());var g=c.length;if(2<g){var m=c[1]-c[0];for(s=g-1;s--&&!f;)c[s+1]-c[s]!==m&&(f=!0);!t.options.keepOrdinalPadding&&(c[0]-r>m||o-c[c.length-1]>m)&&(f=!0)}else t.options.overscroll&&(2===g?d=c[1]-c[0]:1===g?(d=t.options.overscroll,c=[c[0],c[0]+d]):d=e.overscrollPointsRange);f||t.forceOrdinal?(t.options.overscroll&&(e.overscrollPointsRange=d,c=c.concat(e.getOverscrollPositions())),e.positions=c,m=t.ordinal2lin(Math.max(r,c[0]),!0),s=Math.max(t.ordinal2lin(Math.min(o,c[c.length-1]),!0),1),e.slope=o=(o-r)/(s-m),e.offset=r-m*o):(e.overscrollPointsRange=u(t.closestPointRange,e.overscrollPointsRange),e.positions=t.ordinal.slope=e.offset=void 0)}t.isOrdinal=n&&f,e.groupIntervalFactor=null},t.findIndexOf=function(t,e,n){for(var r,o=0,i=t.length-1;o<i;)t[r=Math.ceil((o+i)/2)]<=e?o=r:i=r-1;return t[o]===e||n?o:-1},t.prototype.getExtendedPositions=function(){var t=this,r=t.axis,o=r.constructor.prototype,i=r.chart,a=r.series[0].currentDataGrouping,s=a?a.count+a.unitName:"raw",l=r.options.overscroll,c=r.getExtremes(),u=void 0,d=t.index;if(d||(d=t.index={}),!d[s]){var f={series:[],chart:i,forceOrdinal:!1,getExtremes:function(){return{min:c.dataMin,max:c.dataMax+l}},getGroupPixelWidth:o.getGroupPixelWidth,getTimeTicks:o.getTimeTicks,options:{ordinal:!0},ordinal:{getGroupIntervalFactor:this.getGroupIntervalFactor},ordinal2lin:o.ordinal2lin,getIndexOfPoint:o.getIndexOfPoint,val2lin:o.val2lin};f.ordinal.axis=f,r.series.forEach((function(r){(u={xAxis:f,xData:r.xData.slice(),chart:i,destroyGroupedData:e.noop,getProcessedData:n.prototype.getProcessedData,applyGrouping:n.prototype.applyGrouping}).xData=u.xData.concat(t.getOverscrollPositions()),u.options={dataGrouping:a?{firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",enabled:!0,forced:!0,approximation:"open",units:[[a.unitName,[a.count]]]}:{enabled:!1}},f.series.push(u),r.processData.apply(u)})),u.closestPointRange!==u.basePointRange&&u.currentDataGrouping&&(f.forceOrdinal=!0),r.ordinal.beforeSetTickPositions.apply({axis:f}),d[s]=f.ordinal.positions}return d[s]},t.prototype.getGroupIntervalFactor=function(t,e,n){var r=(n=n.processedXData).length,o=[],i=this.groupIntervalFactor;if(!i){for(i=0;i<r-1;i++)o[i]=n[i+1]-n[i];o.sort((function(t,e){return t-e})),o=o[Math.floor(r/2)],t=Math.max(t,n[0]),e=Math.min(e,n[r-1]),this.groupIntervalFactor=i=r*o/(e-t)}return i},t.prototype.getIndexOfPoint=function(e,n){var r=this.axis,o=this.positions?this.positions[0]:0,i=r.series[0].points&&r.series[0].points[0]&&r.series[0].points[0].plotX||r.minPixelPadding;return 1<r.series.length&&r.series.forEach((function(t){t.points&&l(t.points[0])&&l(t.points[0].plotX)&&t.points[0].plotX<i&&(i=t.points[0].plotX)})),e=(e-i)/(r.translationSlope*(this.slope||r.closestPointRange||this.overscrollPointsRange)),t.findIndexOf(n,o)+e},t.prototype.getOverscrollPositions=function(){var t=this.axis,e=t.options.overscroll,n=this.overscrollPointsRange,r=[],o=t.dataMax;if(l(n))for(;o<=t.dataMax+e;)o+=n,r.push(o);return r},t.prototype.postProcessTickInterval=function(t){var e=this.axis,n=this.slope;return n?e.options.breaks?e.closestPointRange||t:t/(n/e.closestPointRange):t},t}();t.Additions=O}(o||(o={})),o})),e(n,"Series/DataModifyComposition.js",[n["Core/Axis/Axis.js"],n["Core/Series/Point.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n,r){var o,i=e.prototype.tooltipFormatter,a=r.addEvent,s=r.arrayMax,l=r.arrayMin,c=r.correctFloat,u=r.defined,d=r.isArray,f=r.isNumber,p=r.isString,h=r.pick;return function(t){function e(t,e,n){this.isXAxis||(this.series.forEach((function(n){"compare"===t&&"boolean"!==typeof e?n.setCompare(e,!1):"cumulative"!==t||p(e)||n.setCumulative(e,!1)})),h(n,!0)&&this.chart.redraw())}function n(t){var e=this,n=e.series.chart.numberFormatter,r=function(r){t=t.replace("{point."+r+"}",(0<e[r]&&"change"===r?"+":"")+n(e[r],h(e.series.tooltipOptions.changeDecimals,2)))};return u(e.change)&&r("change"),u(e.cumulativeSum)&&r("cumulativeSum"),i.apply(this,[t])}function r(){var t=this.options.compare;if("percent"===t||"value"===t||this.options.cumulative){var e=new w(this);"percent"===t||"value"===t?e.initCompare(t):e.initCumulative()}this.dataModify=e}function o(t){var e=(t=t.dataExtremes).activeYData;if(this.dataModify&&t){var n=void 0;this.options.compare?n=[this.dataModify.modifyValue(t.dataMin),this.dataModify.modifyValue(t.dataMax)]:this.options.cumulative&&d(e)&&2<=e.length&&(n=w.getCumulativeExtremes(e)),n&&(t.dataMin=l(n),t.dataMax=s(n))}}function v(t,e){this.options.compare=this.userOptions.compare=t,this.update({},h(e,!0)),!this.dataModify||"value"!==t&&"percent"!==t?this.points.forEach((function(t){delete t.change})):this.dataModify.initCompare(t)}function g(){if(this.xAxis&&this.processedYData&&this.dataModify){var t,e=this.processedXData,n=this.processedYData,r=n.length,o=!0===this.options.compareStart?0:1,i=-1;for(this.pointArrayMap&&(i=this.pointArrayMap.indexOf(this.options.pointValKey||this.pointValKey||"y")),t=0;t<r-o;t++){var a=n[t]&&-1<i?n[t][i]:n[t];if(f(a)&&0!==a&&e[t+o]>=(this.xAxis.min||0)){this.dataModify.compareValue=a;break}}}}function m(t,e){this.setModifier("compare",t,e)}function b(t,e){t=h(t,!1),this.options.cumulative=this.userOptions.cumulative=t,this.update({},h(e,!0)),this.dataModify?this.dataModify.initCumulative():this.points.forEach((function(t){delete t.cumulativeSum}))}function y(t,e){this.setModifier("cumulative",t,e)}var x=[];t.compose=function(t,i,s){if(-1===x.indexOf(t)){x.push(t);var l=t.prototype;l.setCompare=v,l.setCumulative=b,a(t,"afterInit",r),a(t,"afterGetExtremes",o),a(t,"afterProcessData",g)}return-1===x.indexOf(i)&&(x.push(i),(i=i.prototype).setCompare=m,i.setModifier=e,i.setCumulative=y),-1===x.indexOf(s)&&(x.push(s),s.prototype.tooltipFormatter=n),t};var w=function(){function t(t){this.series=t}return t.prototype.modifyValue=function(){return 0},t.getCumulativeExtremes=function(t){var e=1/0,n=-1/0;return t.reduce((function(t,r){return r=t+r,e=Math.min(e,r,t),n=Math.max(n,r,t),r})),[e,n]},t.prototype.initCompare=function(t){this.modifyValue=function(e,n){null===e&&(e=0);var r=this.compareValue;return"undefined"!==typeof e&&"undefined"!==typeof r?(e="value"===t?e-r:e/r*100-(100===this.series.options.compareBase?0:100),"undefined"!==typeof n&&(n=this.series.points[n])&&(n.change=e),e):0}},t.prototype.initCumulative=function(){this.modifyValue=function(t,e){if(null===t&&(t=0),void 0!==t&&void 0!==e){var n=0<e?this.series.points[e-1]:null;return n&&n.cumulativeSum&&(t=c(n.cumulativeSum+t)),(e=this.series.points[e])&&(e.cumulativeSum=t),t}return 0}},t}();t.Additions=w}(o||(o={})),o})),e(n,"Core/Axis/BrokenAxis.js",[n["Extensions/Stacking.js"],n["Core/Utilities.js"]],(function(t,e){var n,r=e.addEvent,o=e.find,i=e.fireEvent,a=e.isArray,s=e.isNumber,l=e.pick;return function(e){function n(){"undefined"!==typeof this.brokenAxis&&this.brokenAxis.setBreaks(this.options.breaks,!1)}function c(){this.brokenAxis&&this.brokenAxis.hasBreaks&&(this.options.ordinal=!1)}function u(){var t=this.brokenAxis;if(t&&t.hasBreaks){for(var e=this.tickPositions,n=this.tickPositions.info,r=[],o=0;o<e.length;o++)t.isInAnyBreak(e[o])||r.push(e[o]);this.tickPositions=r,this.tickPositions.info=n}}function d(){this.brokenAxis||(this.brokenAxis=new m(this))}function f(){var t=this.options.connectNulls,e=this.points,n=this.xAxis,r=this.yAxis;if(this.isDirty)for(var o=e.length;o--;){var i=e[o],a=!(null===i.y&&!1===t)&&(n&&n.brokenAxis&&n.brokenAxis.isInAnyBreak(i.x,!0)||r&&r.brokenAxis&&r.brokenAxis.isInAnyBreak(i.y,!0));i.visible=!a&&!1!==i.options.visible}}function p(){this.drawBreaks(this.xAxis,["x"]),this.drawBreaks(this.yAxis,l(this.pointArrayMap,["y"]))}function h(t,e){var n,r,o,a,c=this,u=c.points;if(t&&t.brokenAxis&&t.brokenAxis.hasBreaks){var d=t.brokenAxis;e.forEach((function(e){n=d&&d.breakArray||[],r=t.isXAxis?t.min:l(c.options.threshold,t.min),u.forEach((function(c){a=l(c["stack"+e.toUpperCase()],c[e]),n.forEach((function(e){s(r)&&s(a)&&(o=!1,r<e.from&&a>e.to||r>e.from&&a<e.from?o="pointBreak":(r<e.from&&a>e.from&&a<e.to||r>e.from&&a>e.to&&a<e.from)&&(o="pointInBreak"),o&&i(t,o,{point:c,brk:e}))}))}))}))}}function v(){var e=this.currentDataGrouping,n=e&&e.gapSize;e=this.points.slice();var r,o=this.yAxis,i=this.options.gapSize,a=e.length-1;if(i&&0<a)for("value"!==this.options.gapUnit&&(i*=this.basePointRange),n&&n>i&&n>=this.basePointRange&&(i=n),r=void 0;a--;)r&&!1!==r.visible||(r=e[a+1]),n=e[a],!1!==r.visible&&!1!==n.visible&&(r.x-n.x>i&&(r=(n.x+r.x)/2,e.splice(a+1,0,{isNull:!0,x:r}),o.stacking&&this.options.stacking&&((r=o.stacking.stacks[this.stackKey][r]=new t(o,o.options.stackLabels,!1,r,this.stack)).total=0)),r=n);return this.getGraphPath(e)}var g=[];e.compose=function(t,e){if(-1===g.indexOf(t)&&(g.push(t),t.keepProps.push("brokenAxis"),r(t,"init",d),r(t,"afterInit",n),r(t,"afterSetTickPositions",u),r(t,"afterSetOptions",c)),-1===g.indexOf(e)){g.push(e);var o=e.prototype;o.drawBreaks=h,o.gappedPath=v,r(e,"afterGeneratePoints",f),r(e,"afterRender",p)}return t};var m=function(){function t(t){this.hasBreaks=!1,this.axis=t}return t.isInBreak=function(t,e){var n=t.repeat||1/0,r=t.from,o=t.to-t.from;return e=e>=r?(e-r)%n:n-(r-e)%n,t.inclusive?e<=o:e<o&&0!==e},t.lin2Val=function(e){var n,r=this.brokenAxis;if(!(r=r&&r.breakArray)||!s(e))return e;for(n=0;n<r.length;n++){var o=r[n];if(o.from>=e)break;(o.to<e||t.isInBreak(o,e))&&(e+=o.len)}return e},t.val2Lin=function(e){var n=this.brokenAxis;if(!(n=n&&n.breakArray)||!s(e))return e;var r,o=e;for(r=0;r<n.length;r++){var i=n[r];if(i.to<=e)o-=i.len;else{if(i.from>=e)break;if(t.isInBreak(i,e)){o-=e-i.from;break}}}return o},t.prototype.findBreakAt=function(t,e){return o(e,(function(e){return e.from<t&&t<e.to}))},t.prototype.isInAnyBreak=function(e,n){var r,o=this.axis,i=o.options.breaks||[],a=i.length;if(a&&s(e)){for(;a--;)if(t.isInBreak(i[a],e)){var c=!0;r||(r=l(i[a].showPoints,!o.isXAxis))}var u=c&&n?c&&!r:c}return u},t.prototype.setBreaks=function(e,n){var r=this,o=r.axis,c=a(e)&&!!e.length;o.isDirty=r.hasBreaks!==c,r.hasBreaks=c,o.options.breaks=o.userOptions.breaks=e,o.forceRedraw=!0,o.series.forEach((function(t){t.isDirty=!0})),c||o.val2lin!==t.val2Lin||(delete o.val2lin,delete o.lin2val),c&&(o.userOptions.ordinal=!1,o.lin2val=t.lin2Val,o.val2lin=t.val2Lin,o.setExtremes=function(t,e,n,i,a){if(r.hasBreaks){for(var s,l=this.options.breaks||[];s=r.findBreakAt(t,l);)t=s.to;for(;s=r.findBreakAt(e,l);)e=s.from;e<t&&(e=t)}o.constructor.prototype.setExtremes.call(this,t,e,n,i,a)},o.setAxisTranslation=function(){if(o.constructor.prototype.setAxisTranslation.call(this),r.unitLength=void 0,r.hasBreaks){var e,n,a=o.options.breaks||[],c=[],u=[],d=l(o.pointRangePadding,0),f=0,p=o.userMin||o.min,h=o.userMax||o.max;a.forEach((function(n){e=n.repeat||1/0,s(p)&&s(h)&&(t.isInBreak(n,p)&&(p+=n.to%e-p%e),t.isInBreak(n,h)&&(h-=h%e-n.from%e))})),a.forEach((function(t){if(g=t.from,e=t.repeat||1/0,s(p)&&s(h)){for(;g-e>p;)g-=e;for(;g<p;)g+=e;for(n=g;n<h;n+=e)c.push({value:n,move:"in"}),c.push({value:n+t.to-t.from,move:"out",size:t.breakSize})}})),c.sort((function(t,e){return t.value===e.value?("in"===t.move?0:1)-("in"===e.move?0:1):t.value-e.value}));var v=0,g=p;c.forEach((function(t){1===(v+="in"===t.move?1:-1)&&"in"===t.move&&(g=t.value),0===v&&s(g)&&(u.push({from:g,to:t.value,len:t.value-g-(t.size||0)}),f+=t.value-g-(t.size||0))})),r.breakArray=u,s(p)&&s(h)&&s(o.min)&&(r.unitLength=h-p-f+d,i(o,"afterBreaks"),o.staticScale?o.transA=o.staticScale:r.unitLength&&(o.transA*=(h-o.min+d)/r.unitLength),d&&(o.minPixelPadding=o.transA*(o.minPointOffset||0)),o.min=p,o.max=h)}}),l(n,!0)&&o.chart.redraw()},t}();e.Additions=m}(n||(n={})),n})),e(n,"masters/modules/broken-axis.src.js",[n["Core/Globals.js"],n["Core/Axis/BrokenAxis.js"]],(function(t,e){e.compose(t.Axis,t.Series)})),e(n,"Extensions/DataGrouping.js",[n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Series/Series.js"],n["Core/Tooltip.js"],n["Core/DefaultOptions.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l){var c=n.format,u=i.prototype;n=l.addEvent;var d=l.arrayMax,f=l.arrayMin,p=l.correctFloat,h=l.defined,v=l.error,g=l.extend,m=l.isNumber,b=l.merge,y=l.pick,x=r.approximations={sum:function(t){var e=t.length;if(!e&&t.hasNulls)var n=null;else if(e)for(n=0;e--;)n+=t[e];return n},average:function(t){var e=t.length;return t=x.sum(t),m(t)&&e&&(t=p(t/e)),t},averages:function(){var t=[];return[].forEach.call(arguments,(function(e){t.push(x.average(e))})),"undefined"===typeof t[0]?void 0:t},open:function(t){return t.length?t[0]:t.hasNulls?null:void 0},high:function(t){return t.length?d(t):t.hasNulls?null:void 0},low:function(t){return t.length?f(t):t.hasNulls?null:void 0},close:function(t){return t.length?t[t.length-1]:t.hasNulls?null:void 0},hlc:function(t,e,n){if(t=x.high(t),e=x.low(e),n=x.close(n),m(t)||m(e)||m(n))return[t,e,n]},ohlc:function(t,e,n,r){if(t=x.open(t),e=x.high(e),n=x.low(n),r=x.close(r),m(t)||m(e)||m(n)||m(r))return[t,e,n,r]},range:function(t,e){return t=x.low(t),e=x.high(e),m(t)||m(e)?[t,e]:null===t&&null===e?null:void 0}};l=function(t,e,n,r){var o,i=this,a=i.data,s=i.options&&i.options.data,l=[],c=[],u=[],d=t.length,f=!!e,p=[],v=i.pointArrayMap,g=v&&v.length,y=["x"].concat(v||["y"]),w=this.options.dataGrouping&&this.options.dataGrouping.groupAll,O=0,S=0;r="function"===typeof r?r:x[r]?x[r]:x[i.getDGApproximation&&i.getDGApproximation()||"average"],g?v.forEach((function(){p.push([])})):p.push([]);var j=g||1;for(o=0;o<=d&&!(t[o]>=n[0]);o++);for(;o<=d;o++){for(;"undefined"!==typeof n[O+1]&&t[o]>=n[O+1]||o===d;){var C=n[O];i.dataGroupInfo={start:w?S:i.cropStart+S,length:p[0].length};var k=r.apply(i,p);for(i.pointClass&&!h(i.dataGroupInfo.options)&&(i.dataGroupInfo.options=b(i.pointClass.prototype.optionsToObject.call({series:i},i.options.data[i.cropStart+S])),y.forEach((function(t){delete i.dataGroupInfo.options[t]}))),"undefined"!==typeof k&&(l.push(C),c.push(k),u.push(i.dataGroupInfo)),S=o,C=0;C<j;C++)p[C].length=0,p[C].hasNulls=!1;if(O+=1,o===d)break}if(o===d)break;if(v){C=i.options.dataGrouping&&i.options.dataGrouping.groupAll?o:i.cropStart+o,k=a&&a[C]||i.pointClass.prototype.applyOptions.apply({series:i},[s[C]]);var E=void 0;for(C=0;C<g;C++)E=k[v[C]],m(E)?p[C].push(E):null===E&&(p[C].hasNulls=!0)}else C=f?e[o]:null,m(C)?p[0].push(C):null===C&&(p[0].hasNulls=!0)}return{groupedXData:l,groupedYData:c,groupMap:u}};var w={approximations:x,groupData:l},O=u.generatePoints,S={groupPixelWidth:2,dateTimeLabelFormats:{millisecond:["%A, %b %e, %H:%M:%S.%L","%A, %b %e, %H:%M:%S.%L","-%H:%M:%S.%L"],second:["%A, %b %e, %H:%M:%S","%A, %b %e, %H:%M:%S","-%H:%M:%S"],minute:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],hour:["%A, %b %e, %H:%M","%A, %b %e, %H:%M","-%H:%M"],day:["%A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],week:["Week from %A, %b %e, %Y","%A, %b %e","-%A, %b %e, %Y"],month:["%B %Y","%B","-%B %Y"],year:["%Y","%Y","-%Y"]}},j={line:{},spline:{},area:{},areaspline:{},arearange:{},column:{groupPixelWidth:10},columnrange:{groupPixelWidth:10},candlestick:{groupPixelWidth:10},ohlc:{groupPixelWidth:5},hlc:{groupPixelWidth:5},heikinashi:{groupPixelWidth:10}},C=r.defaultDataGroupingUnits=[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1]],["week",[1]],["month",[1,3,6]],["year",null]];return u.getDGApproximation=function(){return this.is("arearange")?"range":this.is("ohlc")?"ohlc":this.is("hlc")?"hlc":this.is("column")?"sum":"average"},u.groupData=l,u.applyGrouping=function(t){var n,r=this.chart,o=this.options.dataGrouping,i=!1!==this.allowDG&&o&&y(o.enabled,r.options.isStock),a=this.visible||!r.options.chart.ignoreHiddenSeries,s=this.currentDataGrouping,l=!1;if(i&&!this.requireSorting&&(this.requireSorting=l=!0),t=!1===!(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!t)||!i,l&&(this.requireSorting=!1),!t){this.destroyGroupedData(),i=o.groupAll?this.xData:this.processedXData;var c=o.groupAll?this.yData:this.processedYData;t=r.plotSizeX;var d=(l=this.xAxis).options.ordinal,f=this.groupPixelWidth;if(f&&i&&i.length){this.isDirty=n=!0,this.points=null;var p=l.getExtremes(),g=p.min;p=p.max,d=d&&l.ordinal&&l.ordinal.getGroupIntervalFactor(g,p,this)||1,t=l.getTimeTicks(e.Additions.prototype.normalizeTimeTickInterval(f*(p-g)/t*d,o.units||C),Math.min(g,i[0]),Math.max(p,i[i.length-1]),l.options.startOfWeek,i,this.closestPointRange),i=(f=u.groupData.apply(this,[i,c,t,o.approximation])).groupedXData,c=f.groupedYData,d=0,o&&o.smoothed&&i.length&&(o.firstAnchor="firstPoint",o.anchor="middle",o.lastAnchor="lastPoint",v(32,!1,r,{"dataGrouping.smoothed":"use dataGrouping.anchor"})),r=i;var b=this.options.dataGrouping;if(g=this.currentDataGrouping&&this.currentDataGrouping.gapSize,b&&this.xData&&g&&this.groupMap){var x=r.length-1,w=b.anchor,O=y(b.firstAnchor,w);if(b=y(b.lastAnchor,w),w&&"start"!==w){var S=g*{middle:.5,end:1}[w];for(w=r.length-1;w--&&0<w;)r[w]+=S}if(O&&"start"!==O&&this.xData[0]>=r[0]){w=this.groupMap[0].start,S=this.groupMap[0].length;var j=void 0;m(w)&&m(S)&&(j=w+(S-1)),r[0]={middle:r[0]+.5*g,end:r[0]+g,firstPoint:this.xData[0],lastPoint:j&&this.xData[j]}[O]}b&&"start"!==b&&g&&r[x]>=p-g&&(p=this.groupMap[this.groupMap.length-1].start,r[x]={middle:r[x]+.5*g,end:r[x]+g,firstPoint:p&&this.xData[p],lastPoint:this.xData[this.xData.length-1]}[b])}for(p=1;p<t.length;p++)t.info.segmentStarts&&-1!==t.info.segmentStarts.indexOf(p)||(d=Math.max(t[p]-t[p-1],d));(p=t.info).gapSize=d,this.closestPointRange=t.info.totalRange,this.groupMap=f.groupMap,a&&(h((a=i)[0])&&m(l.min)&&m(l.dataMin)&&a[0]<l.min&&((!h(l.options.min)&&l.min<=l.dataMin||l.min===l.dataMin)&&(l.min=Math.min(a[0],l.min)),l.dataMin=Math.min(a[0],l.dataMin)),h(a[a.length-1])&&m(l.max)&&m(l.dataMax)&&a[a.length-1]>l.max&&((!h(l.options.max)&&m(l.dataMax)&&l.max>=l.dataMax||l.max===l.dataMax)&&(l.max=Math.max(a[a.length-1],l.max)),l.dataMax=Math.max(a[a.length-1],l.dataMax))),o.groupAll&&(this.allGroupedData=c,i=(o=this.cropData(i,c,l.min,l.max,1)).xData,c=o.yData,this.cropStart=o.start),this.processedXData=i,this.processedYData=c}else this.groupMap=null;this.hasGroupedData=n,this.currentDataGrouping=p,this.preventGraphAnimation=(s&&s.totalRange)!==(p&&p.totalRange)}},u.destroyGroupedData=function(){this.groupedData&&(this.groupedData.forEach((function(t,e){t&&(this.groupedData[e]=t.destroy?t.destroy():null)}),this),this.groupedData.length=0)},u.generatePoints=function(){O.apply(this),this.destroyGroupedData(),this.groupedData=this.hasGroupedData?this.points:null},t.prototype.applyGrouping=function(t){var e=this,n=e.series;n.forEach((function(t){t.groupPixelWidth=void 0})),n.forEach((function(n){n.groupPixelWidth=e.getGroupPixelWidth&&e.getGroupPixelWidth(),n.groupPixelWidth&&(n.hasProcessed=!0),n.applyGrouping(!!t.hasExtemesChanged)}))},t.prototype.getGroupPixelWidth=function(){var t,e,n=this.series,r=n.length,o=0,i=!1;for(t=r;t--;)(e=n[t].options.dataGrouping)&&(o=Math.max(o,y(e.groupPixelWidth,S.groupPixelWidth)));for(t=r;t--;)(e=n[t].options.dataGrouping)&&(r=(n[t].processedXData||n[t].data).length,(n[t].groupPixelWidth||r>this.chart.plotSizeX/o||r&&e.forced)&&(i=!0));return i?o:0},t.prototype.setDataGrouping=function(e,n){var r;if(n=y(n,!0),e||(e={forced:!1,units:null}),this instanceof t)for(r=this.series.length;r--;)this.series[r].update({dataGrouping:e},!1);else this.chart.options.series.forEach((function(t){t.dataGrouping="boolean"===typeof e?e:b(e,t.dataGrouping)}));this.ordinal&&(this.ordinal.slope=void 0),n&&this.chart.redraw()},n(t,"postProcessData",t.prototype.applyGrouping),n(o,"update",(function(){if(this.dataGroup)return v(24,!1,this.series.chart),!1})),n(a,"headerFormatter",(function(t){var e=this.chart,n=e.time,r=t.labelConfig,o=r.series,i=o.tooltipOptions,a=o.options.dataGrouping,s=i.xDateFormat,l=o.xAxis,u=i[t.isFooter?"footerFormat":"headerFormat"];if(l&&"datetime"===l.options.type&&a&&m(r.key)){var d=o.currentDataGrouping;if(a=a.dateTimeLabelFormats||S.dateTimeLabelFormats,d)if(i=a[d.unitName],1===d.count)s=i[0];else{s=i[1];var f=i[2]}else!s&&a&&l.dateTime&&(s=l.dateTime.getXDateFormat(r.x,i.dateTimeLabelFormats));s=n.dateFormat(s,r.key),f&&(s+=n.dateFormat(f,r.key+d.totalRange-1)),o.chart.styledMode&&(u=this.styledModeFormat(u)),t.text=c(u,{point:g(r.point,{key:s}),series:o},e),t.preventDefault()}})),n(i,"destroy",u.destroyGroupedData),n(i,"afterSetOptions",(function(t){t=t.options;var e=this.type,n=this.chart.options.plotOptions,r=s.defaultOptions.plotOptions[e].dataGrouping,o=this.useCommonDataGrouping&&S;if(n&&(j[e]||o)){r||(r=b(S,j[e]));var i=this.chart.rangeSelector;t.dataGrouping=b(o,r,n.series&&n.series.dataGrouping,n[e].dataGrouping,this.userOptions.dataGrouping,!t.isInternal&&i&&m(i.selected)&&i.buttonOptions[i.selected].dataGrouping)}})),n(t,"afterSetScale",(function(){this.series.forEach((function(t){t.hasProcessed=!1}))})),r.dataGrouping=w,w})),e(n,"Series/HLC/HLCPoint.js",[n["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.close=void 0,e.high=void 0,e.low=void 0,e.options=void 0,e.plotClose=void 0,e.series=void 0,e}return e(n,t),n}(t.seriesTypes.column.prototype.pointClass)})),e(n,"Series/HLC/HLCSeries.js",[n["Series/HLC/HLCPoint.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=e.seriesTypes.column,i=n.extend,a=n.merge;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e.yData=void 0,e}return r(e,t),e.prototype.extendStem=function(t,e,n){var r=t[0];t=t[1],"number"===typeof r[2]&&(r[2]=Math.max(n+e,r[2])),"number"===typeof t[2]&&(t[2]=Math.min(n-e,t[2]))},e.prototype.getPointPath=function(t,e){e=e.strokeWidth();var n=t.series,r=e%2/2,o=Math.round(t.plotX)-r,i=Math.round(t.shapeArgs.width/2),a=[["M",o,Math.round(t.yBottom)],["L",o,Math.round(t.plotHigh)]];return null!==t.close&&(t=Math.round(t.plotClose)+r,a.push(["M",o,t],["L",o+i,t]),n.extendStem(a,e/2,t)),a},e.prototype.drawSinglePoint=function(t){var e=t.series,n=e.chart,r=t.graphic,o=!r;"undefined"!==typeof t.plotY&&(r||(t.graphic=r=n.renderer.path().add(e.group)),n.styledMode||r.attr(e.pointAttribs(t,t.selected&&"select")),e=e.getPointPath(t,r),r[o?"attr":"animate"]({d:e}).addClass(t.getClassName(),!0))},e.prototype.drawPoints=function(){this.points.forEach(this.drawSinglePoint)},e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.options.stacking=void 0},e.prototype.pointAttribs=function(e,n){return delete(e=t.prototype.pointAttribs.call(this,e,n)).fill,e},e.prototype.toYData=function(t){return[t.high,t.low,t.close]},e.prototype.translate=function(){var e=this,n=e.yAxis,r=this.pointArrayMap&&this.pointArrayMap.slice()||[],o=r.map((function(t){return"plot".concat(t.charAt(0).toUpperCase()+t.slice(1))}));o.push("yBottom"),r.push("low"),t.prototype.translate.apply(e),e.points.forEach((function(t){r.forEach((function(r,i){null!==(r=t[r])&&(e.dataModify&&(r=e.dataModify.modifyValue(r)),t[o[i]]=n.toPixels(r,!0))})),t.tooltipPos[1]=t.plotHigh+n.pos-e.chart.plotTop}))},e.defaultOptions=a(o.defaultOptions,{lineWidth:1,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'},threshold:null,states:{hover:{lineWidth:3}},stickyTracking:!0}),e}(o),i(n.prototype,{animate:null,directTouch:!1,pointArrayMap:["high","low","close"],pointAttrToOptions:{stroke:"color","stroke-width":"lineWidth"},pointValKey:"close"}),n.prototype.pointClass=t,e.registerSeriesType("hlc",n),n})),e(n,"Series/OHLC/OHLCPoint.js",[n["Core/Series/SeriesRegistry.js"]],(function(t){var e=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.open=void 0,e.options=void 0,e.plotOpen=void 0,e.series=void 0,e}return e(n,t),n.prototype.getClassName=function(){return t.prototype.getClassName.call(this)+(this.open<this.close?" highcharts-point-up":" highcharts-point-down")},n.prototype.resolveUpColor=function(){this.open<this.close&&!this.options.color&&this.series.options.upColor&&(this.color=this.series.options.upColor)},n.prototype.resolveColor=function(){t.prototype.resolveColor.call(this),this.resolveUpColor()},n.prototype.getZone=function(){var e=t.prototype.getZone.call(this);return this.resolveUpColor(),e},n.prototype.applyOptions=function(){return t.prototype.applyOptions.apply(this,arguments),this.resolveColor&&this.resolveColor(),this},n}(t.seriesTypes.hlc.prototype.pointClass)})),e(n,"Series/OHLC/OHLCSeries.js",[n["Series/OHLC/OHLCPoint.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=e.series,i=e.seriesTypes.hlc,a=n.addEvent,s=n.extend,l=n.merge,c=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.getPointPath=function(e,n){var r=t.prototype.getPointPath.call(this,e,n),o=(n=n.strokeWidth())%2/2,i=Math.round(e.plotX)-o,a=Math.round(e.shapeArgs.width/2);return null!==e.open&&(e=Math.round(e.plotOpen)+o,r.push(["M",i,e],["L",i-a,e]),t.prototype.extendStem.call(this,r,n/2,e)),r},e.prototype.pointAttribs=function(e,n){n=t.prototype.pointAttribs.call(this,e,n);var r=this.options;return delete n.fill,!e.options.color&&r.upColor&&e.open<e.close&&(n.stroke=r.upColor),n},e.prototype.toYData=function(t){return[t.open,t.high,t.low,t.close]},e.defaultOptions=l(i.defaultOptions,{tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Open: {point.open}<br/>High: {point.high}<br/>Low: {point.low}<br/>Close: {point.close}<br/>'}}),e}(i);return s(c.prototype,{pointArrayMap:["open","high","low","close"]}),c.prototype.pointClass=t,e.registerSeriesType("ohlc",c),a(o,"init",(function(t){(t=t.options).useOhlcData&&"highcharts-navigator-series"!==t.id&&s(this,{pointValKey:c.prototype.pointValKey,pointArrayMap:c.prototype.pointArrayMap,toYData:c.prototype.toYData})})),a(o,"afterSetOptions",(function(t){var e=(t=t.options).dataGrouping;e&&t.useOhlcData&&"highcharts-navigator-series"!==t.id&&(e.approximation="ohlc")})),c})),e(n,"Series/Candlestick/CandlestickSeries.js",[n["Core/DefaultOptions.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n){var r=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=t.defaultOptions,i=(t=e.seriesTypes).column,a=t.ohlc,s=n.merge;return n=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(e,t),e.prototype.pointAttribs=function(t,e){var n=i.prototype.pointAttribs.call(this,t,e),r=this.options,o=t.open<t.close,a=r.lineColor||this.color,s=t.color||this.color;return n["stroke-width"]=r.lineWidth,n.fill=t.options.color||o&&r.upColor||s,n.stroke=t.options.lineColor||o&&r.upLineColor||a,e&&(t=r.states[e],n.fill=t.color||n.fill,n.stroke=t.lineColor||n.stroke,n["stroke-width"]=t.lineWidth||n["stroke-width"]),n},e.prototype.drawPoints=function(){var t=this,e=t.chart,n=t.yAxis.reversed;t.points.forEach((function(r){var o=r.graphic,i=!o;if("undefined"!==typeof r.plotY){o||(r.graphic=o=e.renderer.path().add(t.group)),t.chart.styledMode||o.attr(t.pointAttribs(r,r.selected&&"select")).shadow(t.options.shadow);var a=o.strokeWidth()%2/2,s=Math.round(r.plotX)-a,l=r.plotOpen,c=r.plotClose,u=Math.min(l,c);l=Math.max(l,c);var d=Math.round(r.shapeArgs.width/2);c=n?l!==r.yBottom:Math.round(u)!==Math.round(r.plotHigh);var f=n?Math.round(u)!==Math.round(r.plotHigh):l!==r.yBottom;u=Math.round(u)+a,l=Math.round(l)+a,(a=[]).push(["M",s-d,l],["L",s-d,u],["L",s+d,u],["L",s+d,l],["Z"],["M",s,u],["L",s,c?Math.round(n?r.yBottom:r.plotHigh):u],["M",s,l],["L",s,f?Math.round(n?r.plotHigh:r.yBottom):l]),o[i?"attr":"animate"]({d:a}).addClass(r.getClassName(),!0)}}))},e.defaultOptions=s(a.defaultOptions,o.plotOptions,{states:{hover:{lineWidth:2}},tooltip:o.plotOptions.ohlc.tooltip,threshold:null,lineColor:"#000000",lineWidth:1,upColor:"#ffffff",stickyTracking:!0}),e}(a),e.registerSeriesType("candlestick",n),n})),e(n,"Series/Flags/FlagsPoint.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e){var n=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),r=e.isNumber;return function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e.ttBelow=!1,e}return n(e,t),e.prototype.isValid=function(){return r(this.y)||"undefined"===typeof this.y},e.prototype.hasNewShapeType=function(){var t=this.options.shape||this.series.options.shape;return this.graphic&&t&&t!==this.graphic.symbolKey},e}(t.seriesTypes.column.prototype.pointClass)})),e(n,"Series/OnSeriesComposition.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],(function(t,e,n){var r,o=t.prototype,i=e.prototype,a=n.defined,s=n.stableSort;return function(t){function e(){return i.getPlotBox.call(this.options.onSeries&&this.chart.get(this.options.onSeries)||this)}function n(){o.translate.apply(this);var t,e=this,n=e.options,r=e.chart,i=e.points,l=n.onSeries,c=(l=l&&r.get(l))&&l.options.step,u=l&&l.points,d=r.inverted,f=e.xAxis,p=e.yAxis;r=i.length-1,n=n.onKey||"y";var h,v=u&&u.length,g=0;if(l&&l.visible&&v){g=(l.pointXOffset||0)+(l.barW||0)/2;var m=l.currentDataGrouping,b=u[v-1].x+(m?m.totalRange:0);for(s(i,(function(t,e){return t.x-e.x})),n="plot"+n[0].toUpperCase()+n.substr(1);v--&&i[r];){var y=u[v];if((m=i[r]).y=y.y,y.x<=m.x&&"undefined"!==typeof y[n]){if(m.x<=b&&(m.plotY=y[n],y.x<m.x&&!c&&(h=u[v+1])&&"undefined"!==typeof h[n])){var x=(m.x-y.x)/(h.x-y.x);m.plotY+=x*(h[n]-y[n]),m.y+=x*(h.y-y.y)}if(v++,0>--r)break}}}i.forEach((function(n,r){if(n.plotX+=g,("undefined"===typeof n.plotY||d)&&(0<=n.plotX&&n.plotX<=f.len?d?(n.plotY=f.translate(n.x,0,1,0,1),n.plotX=a(n.y)?p.translate(n.y,0,0,0,1):0):n.plotY=(f.opposite?0:e.yAxis.len)+f.offset:n.shapeArgs={}),(t=i[r-1])&&t.plotX===n.plotX){"undefined"===typeof t.stackIndex&&(t.stackIndex=0);var o=t.stackIndex+1}n.stackIndex=o})),this.onSeries=l}var r=[];t.compose=function(t){if(-1===r.indexOf(t)){r.push(t);var o=t.prototype;o.getPlotBox=e,o.translate=n}return t},t.getPlotBox=e,t.translate=n}(r||(r={})),r})),e(n,"Series/Flags/FlagsSymbols.js",[n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"]],(function(t,e){function n(t){r[t+"pin"]=function(e,n,o,i,a){var s=a&&a.anchorX;a=a&&a.anchorY,"circle"===t&&i>o&&(e-=Math.round((i-o)/2),o=i);var l=r[t](e,n,o,i);if(s&&a){var c=s;"circle"===t?c=e+o/2:(e=l[0],o=l[1],"M"===e[0]&&"L"===o[0]&&(c=(e[1]+o[1])/2)),l.push(["M",c,n>a?n:n+i],["L",s,a]),l=l.concat(r.circle(s-1,a-1,2,2))}return l}}var r=e.prototype.symbols;return r.flag=function(t,e,n,o,i){var a=i&&i.anchorX||t;i=i&&i.anchorY||e;var s=r.circle(a-1,i-1,2,2);return s.push(["M",a,i],["L",t,e+o],["L",t,e],["L",t+n,e],["L",t+n,e+o],["L",t,e+o],["Z"]),s},n("circle"),n("square"),(t=t.getRendererType())!==e&&(t.prototype.symbols.circlepin=r.circlepin,t.prototype.symbols.flag=r.flag,t.prototype.symbols.squarepin=r.squarepin),r})),e(n,"Series/Flags/FlagsSeries.js",[n["Series/Flags/FlagsPoint.js"],n["Core/Globals.js"],n["Series/OnSeriesComposition.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a){var s=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();e=e.noop;var l=r.distribute,c=o.series,u=o.seriesTypes.column,d=a.addEvent,f=a.defined;r=a.extend;var p=a.merge,h=a.objectEach,v=a.wrap;return a=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return s(e,t),e.prototype.animate=function(t){t&&this.setClip()},e.prototype.drawPoints=function(){var t,e=this.points,n=this.chart,r=n.renderer,o=n.inverted,a=this.options,s=a.y,c=this.yAxis,u={},d=[];for(t=e.length;t--;){var g=e[t],m=(o?g.plotY:g.plotX)>this.xAxis.len,b=g.plotX,y=g.stackIndex,x=g.options.shape||a.shape,w=g.plotY;"undefined"!==typeof w&&(w=g.plotY+s-("undefined"!==typeof y&&y*a.stackDistance)),g.anchorX=y?void 0:g.plotX;var O=y?void 0:g.plotY,S="flag"!==x;y=g.graphic,"undefined"!==typeof w&&0<=b&&!m?(y&&g.hasNewShapeType()&&(y=y.destroy()),y||(y=g.graphic=r.label("",null,null,x,null,null,a.useHTML).addClass("highcharts-point").add(this.markerGroup),g.graphic.div&&(g.graphic.div.point=g),y.isNew=!0),y.attr({align:S?"center":"left",width:a.width,height:a.height,"text-align":a.textAlign}),n.styledMode||y.attr(this.pointAttribs(g)).css(p(a.style,g.style)).shadow(a.shadow),0<b&&(b-=y.strokeWidth()%2),x={y:w,anchorY:O},a.allowOverlapX&&(x.x=b,x.anchorX=g.anchorX),y.attr({text:g.options.title||a.title||"A"})[y.isNew?"attr":"animate"](x),a.allowOverlapX||(u[g.plotX]?u[g.plotX].size=Math.max(u[g.plotX].size,y.width):u[g.plotX]={align:S?.5:0,size:y.width,target:b,anchorX:b}),g.tooltipPos=[b,w+c.pos-n.plotTop]):y&&(g.graphic=y.destroy())}if(!a.allowOverlapX){var j=100;h(u,(function(t){t.plotX=t.anchorX,d.push(t),j=Math.max(t.size,j)})),l(d,o?c.len:this.xAxis.len,j),e.forEach((function(t){var e=t.plotX,n=t.graphic;(e=n&&u[e])&&n&&(f(e.pos)?n[n.isNew?"attr":"animate"]({x:e.pos+(e.align||0)*e.size,anchorX:t.anchorX}).show().isNew=!1:n.hide().isNew=!0)}))}a.useHTML&&v(this.markerGroup,"on",(function(t){return i.prototype.on.apply(t.apply(this,[].slice.call(arguments,1)),[].slice.call(arguments,1))}))},e.prototype.drawTracker=function(){var e=this.points;t.prototype.drawTracker.call(this),e.forEach((function(t){var n=t.graphic;n&&(t.unbindMouseOver&&t.unbindMouseOver(),t.unbindMouseOver=d(n.element,"mouseover",(function(){0<t.stackIndex&&!t.raised&&(t._y=n.y,n.attr({y:t._y-8}),t.raised=!0),e.forEach((function(e){e!==t&&e.raised&&e.graphic&&(e.graphic.attr({y:e._y}),e.raised=!1)}))})))}))},e.prototype.pointAttribs=function(t,e){var n=this.options,r=t&&t.color||this.color,o=n.lineColor,i=t&&t.lineWidth;return t=t&&t.fillColor||n.fillColor,e&&(t=n.states[e].fillColor,o=n.states[e].lineColor,i=n.states[e].lineWidth),{fill:t||r,stroke:o||r,"stroke-width":i||n.lineWidth||0}},e.prototype.setClip=function(){c.prototype.setClip.apply(this,arguments),!1!==this.options.clip&&this.sharedClipKey&&this.markerGroup&&this.markerGroup.clip(this.chart.sharedClips[this.sharedClipKey])},e.defaultOptions=p(u.defaultOptions,{pointRange:0,allowOverlapX:!1,shape:"flag",stackDistance:12,textAlign:"center",tooltip:{pointFormat:"{point.text}"},threshold:null,y:-30,fillColor:"#ffffff",lineWidth:1,states:{hover:{lineColor:"#000000",fillColor:"#ccd6eb"}},style:{fontSize:"11px",fontWeight:"bold"}}),e}(u),n.compose(a),r(a.prototype,{allowDG:!1,forceCrop:!0,invertible:!1,noSharedTooltip:!0,pointClass:t,sorted:!1,takeOrdinalPosition:!1,trackerGroups:["markerGroup"],buildKDTree:e,init:c.prototype.init,invertGroups:e}),o.registerSeriesType("flags",a),a})),e(n,"Core/Axis/ScrollbarAxis.js",[n["Core/Utilities.js"]],(function(t){var e=t.addEvent,n=t.defined,r=t.pick;return function(){function t(){}return t.compose=function(o,i){if(-1!==t.composed.indexOf(o))return o;t.composed.push(o);var a=function(t){var e=r(t.options&&t.options.min,t.min),o=r(t.options&&t.options.max,t.max);return{axisMin:e,axisMax:o,scrollMin:n(t.dataMin)?Math.min(e,t.min,t.dataMin,r(t.threshold,1/0)):e,scrollMax:n(t.dataMax)?Math.max(o,t.max,t.dataMax,r(t.threshold,-1/0)):o}};return e(o,"afterInit",(function(){var t=this;t.options&&t.options.scrollbar&&t.options.scrollbar.enabled&&(t.options.scrollbar.vertical=!t.horiz,t.options.startOnTick=t.options.endOnTick=!1,t.scrollbar=new i(t.chart.renderer,t.options.scrollbar,t.chart),e(t.scrollbar,"changed",(function(e){var r=a(t),o=r.axisMax,i=r.scrollMin,s=r.scrollMax-i;n(r.axisMin)&&n(o)&&(t.horiz&&!t.reversed||!t.horiz&&t.reversed?(r=i+s*this.to,i+=s*this.from):(r=i+s*(1-this.from),i+=s*(1-this.to)),this.shouldUpdateExtremes(e.DOMType)?t.setExtremes(i,r,!0,"mousemove"!==e.DOMType&&"touchmove"!==e.DOMType,e):this.setRange(this.from,this.to))})))})),e(o,"afterRender",(function(){var t=a(this),e=t.scrollMin,r=t.scrollMax;t=this.scrollbar;var o=this.axisTitleMargin+(this.titleOffset||0),i=this.chart.scrollbarsOffsets,s=this.options.margin||0;t&&(this.horiz?(this.opposite||(i[1]+=o),t.position(this.left,this.top+this.height+2+i[1]-(this.opposite?s:0),this.width,this.height),this.opposite||(i[1]+=s),o=1):(this.opposite&&(i[0]+=o),t.position(t.options.opposite?this.left+this.width+2+i[0]-(this.opposite?0:s):this.opposite?0:s,this.top,this.width,this.height),this.opposite&&(i[0]+=s),o=0),i[o]+=t.size+t.options.margin,isNaN(e)||isNaN(r)||!n(this.min)||!n(this.max)||this.min===this.max?t.setRange(0,1):(i=(this.min-e)/(r-e),e=(this.max-e)/(r-e),this.horiz&&!this.reversed||!this.horiz&&this.reversed?t.setRange(i,e):t.setRange(1-e,1-i)))})),e(o,"afterGetOffset",(function(){var t=this.scrollbar&&!this.scrollbar.options.opposite;t=this.horiz?2:t?3:1;var e=this.scrollbar;e&&(this.chart.scrollbarsOffsets=[0,0],this.chart.axisOffset[t]+=e.size+e.options.margin)})),o},t.composed=[],t}()})),e(n,"Core/ScrollbarDefaults.js",[n["Core/Globals.js"]],(function(t){return{height:t.isTouchDevice?20:14,barBorderRadius:0,buttonBorderRadius:0,liveRedraw:void 0,margin:10,minWidth:6,opposite:!0,step:.2,zIndex:3,barBackgroundColor:"#cccccc",barBorderWidth:1,barBorderColor:"#cccccc",buttonArrowColor:"#333333",buttonBackgroundColor:"#e6e6e6",buttonBorderColor:"#cccccc",buttonBorderWidth:1,rifleColor:"#333333",trackBackgroundColor:"#f2f2f2",trackBorderColor:"#f2f2f2",trackBorderWidth:1}})),e(n,"Core/Scrollbar.js",[n["Core/DefaultOptions.js"],n["Core/Globals.js"],n["Core/Axis/ScrollbarAxis.js"],n["Core/ScrollbarDefaults.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o){var i=t.defaultOptions,a=o.addEvent,s=o.correctFloat,l=o.defined,c=o.destroyObjectProperties,u=o.fireEvent,d=o.merge,f=o.pick,p=o.removeEvent;return t=function(){function t(t,e,n){this._events=[],this.chart=void 0,this.from=this.chartY=this.chartX=0,this.scrollbar=this.renderer=this.options=this.group=void 0,this.scrollbarButtons=[],this.scrollbarGroup=void 0,this.scrollbarLeft=0,this.scrollbarRifles=void 0,this.scrollbarStrokeWidth=1,this.to=this.size=this.scrollbarTop=0,this.track=void 0,this.trackBorderWidth=1,this.userOptions=void 0,this.y=this.x=0,this.init(t,e,n)}return t.compose=function(e){n.compose(e,t)},t.swapXY=function(t,e){return e&&t.forEach((function(t){for(var e,n=t.length,r=0;r<n;r+=2)"number"===typeof(e=t[r+1])&&(t[r+1]=t[r+2],t[r+2]=e)})),t},t.prototype.addEvents=function(){var t=this.options.inverted?[1,0]:[0,1],n=this.scrollbarButtons,r=this.scrollbarGroup.element,o=this.track.element,i=this.mouseDownHandler.bind(this),s=this.mouseMoveHandler.bind(this),l=this.mouseUpHandler.bind(this);t=[[n[t[0]].element,"click",this.buttonToMinClick.bind(this)],[n[t[1]].element,"click",this.buttonToMaxClick.bind(this)],[o,"click",this.trackClick.bind(this)],[r,"mousedown",i],[r.ownerDocument,"mousemove",s],[r.ownerDocument,"mouseup",l]],e.hasTouch&&t.push([r,"touchstart",i],[r.ownerDocument,"touchmove",s],[r.ownerDocument,"touchend",l]),t.forEach((function(t){a.apply(null,t)})),this._events=t},t.prototype.buttonToMaxClick=function(t){var e=(this.to-this.from)*f(this.options.step,.2);this.updatePosition(this.from+e,this.to+e),u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.buttonToMinClick=function(t){var e=s(this.to-this.from)*f(this.options.step,.2);this.updatePosition(s(this.from-e),s(this.to-e)),u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.cursorToScrollbarPosition=function(t){var e=this.options;return e=e.minWidth>this.calculatedWidth?e.minWidth:0,{chartX:(t.chartX-this.x-this.xOffset)/(this.barWidth-e),chartY:(t.chartY-this.y-this.yOffset)/(this.barWidth-e)}},t.prototype.destroy=function(){var t=this,e=t.chart.scroller;t.removeEvents(),["track","scrollbarRifles","scrollbar","scrollbarGroup","group"].forEach((function(e){t[e]&&t[e].destroy&&(t[e]=t[e].destroy())})),e&&t===e.scrollbar&&(e.scrollbar=null,c(e.scrollbarButtons))},t.prototype.drawScrollbarButton=function(e){var n=this.renderer,r=this.scrollbarButtons,o=this.options,i=this.size,a=n.g().add(this.group);r.push(a),a=n.rect().addClass("highcharts-scrollbar-button").add(a),this.chart.styledMode||a.attr({stroke:o.buttonBorderColor,"stroke-width":o.buttonBorderWidth,fill:o.buttonBackgroundColor}),a.attr(a.crisp({x:-.5,y:-.5,width:i+1,height:i+1,r:o.buttonBorderRadius},a.strokeWidth())),a=n.path(t.swapXY([["M",i/2+(e?-1:1),i/2-3],["L",i/2+(e?-1:1),i/2+3],["L",i/2+(e?2:-2),i/2]],o.vertical)).addClass("highcharts-scrollbar-arrow").add(r[e]),this.chart.styledMode||a.attr({fill:o.buttonArrowColor})},t.prototype.init=function(t,e,n){this.scrollbarButtons=[],this.renderer=t,this.userOptions=e,this.options=d(r,i.scrollbar,e),this.chart=n,this.size=f(this.options.size,this.options.height),e.enabled&&(this.render(),this.addEvents())},t.prototype.mouseDownHandler=function(t){t=this.chart.pointer.normalize(t),t=this.cursorToScrollbarPosition(t),this.chartX=t.chartX,this.chartY=t.chartY,this.initPositions=[this.from,this.to],this.grabbedCenter=!0},t.prototype.mouseMoveHandler=function(t){var e=this.chart.pointer.normalize(t),n=this.options.vertical?"chartY":"chartX",r=this.initPositions||[];!this.grabbedCenter||t.touches&&0===t.touches[0][n]||(n=(e=this.cursorToScrollbarPosition(e)[n])-(n=this[n]),this.hasDragged=!0,this.updatePosition(r[0]+n,r[1]+n),this.hasDragged&&u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}))},t.prototype.mouseUpHandler=function(t){this.hasDragged&&u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMType:t.type,DOMEvent:t}),this.grabbedCenter=this.hasDragged=this.chartX=this.chartY=null},t.prototype.position=function(t,e,n,r){var o=this.options.vertical,i=this.rendered?"animate":"attr",a=r,s=0;this.group.show(),this.x=t,this.y=e+this.trackBorderWidth,this.width=n,this.height=r,this.xOffset=a,this.yOffset=s,o?(this.width=this.yOffset=n=s=this.size,this.xOffset=a=0,this.barWidth=r-2*n,this.x=t+=this.options.margin):(this.height=this.xOffset=r=a=this.size,this.barWidth=n-2*r,this.y+=this.options.margin),this.group[i]({translateX:t,translateY:this.y}),this.track[i]({width:n,height:r}),this.scrollbarButtons[1][i]({translateX:o?0:n-a,translateY:o?r-s:0})},t.prototype.removeEvents=function(){this._events.forEach((function(t){p.apply(null,t)})),this._events.length=0},t.prototype.render=function(){var e=this.renderer,n=this.options,r=this.size,o=this.chart.styledMode,i=e.g("scrollbar").attr({zIndex:n.zIndex}).hide().add();this.group=i,this.track=e.rect().addClass("highcharts-scrollbar-track").attr({x:0,r:n.trackBorderRadius||0,height:r,width:r}).add(i),o||this.track.attr({fill:n.trackBackgroundColor,stroke:n.trackBorderColor,"stroke-width":n.trackBorderWidth}),this.trackBorderWidth=this.track.strokeWidth(),this.track.attr({y:-this.trackBorderWidth%2/2}),this.scrollbarGroup=e.g().add(i),this.scrollbar=e.rect().addClass("highcharts-scrollbar-thumb").attr({height:r,width:r,r:n.barBorderRadius||0}).add(this.scrollbarGroup),this.scrollbarRifles=e.path(t.swapXY([["M",-3,r/4],["L",-3,2*r/3],["M",0,r/4],["L",0,2*r/3],["M",3,r/4],["L",3,2*r/3]],n.vertical)).addClass("highcharts-scrollbar-rifles").add(this.scrollbarGroup),o||(this.scrollbar.attr({fill:n.barBackgroundColor,stroke:n.barBorderColor,"stroke-width":n.barBorderWidth}),this.scrollbarRifles.attr({stroke:n.rifleColor,"stroke-width":1})),this.scrollbarStrokeWidth=this.scrollbar.strokeWidth(),this.scrollbarGroup.translate(-this.scrollbarStrokeWidth%2/2,-this.scrollbarStrokeWidth%2/2),this.drawScrollbarButton(0),this.drawScrollbarButton(1)},t.prototype.setRange=function(t,e){var n=this.options,r=n.vertical,o=n.minWidth,i=this.barWidth,a=!this.rendered||this.hasDragged||this.chart.navigator&&this.chart.navigator.hasDragged?"attr":"animate";if(l(i)){var c=i*Math.min(e,1);t=Math.max(t,0);var u=Math.ceil(i*t);this.calculatedWidth=c=s(c-u),c<o&&(u=(i-o+c)*t,c=o),o=Math.floor(u+this.xOffset+this.yOffset),i=c/2-.5,this.from=t,this.to=e,r?(this.scrollbarGroup[a]({translateY:o}),this.scrollbar[a]({height:c}),this.scrollbarRifles[a]({translateY:i}),this.scrollbarTop=o,this.scrollbarLeft=0):(this.scrollbarGroup[a]({translateX:o}),this.scrollbar[a]({width:c}),this.scrollbarRifles[a]({translateX:i}),this.scrollbarLeft=o,this.scrollbarTop=0),12>=c?this.scrollbarRifles.hide():this.scrollbarRifles.show(),!1===n.showFull&&(0>=t&&1<=e?this.group.hide():this.group.show()),this.rendered=!0}},t.prototype.shouldUpdateExtremes=function(t){return f(this.options.liveRedraw,e.svg&&!e.isTouchDevice&&!this.chart.isBoosting)||"mouseup"===t||"touchend"===t||!l(t)},t.prototype.trackClick=function(t){var e=this.chart.pointer.normalize(t),n=this.to-this.from,r=this.y+this.scrollbarTop,o=this.x+this.scrollbarLeft;this.options.vertical&&e.chartY>r||!this.options.vertical&&e.chartX>o?this.updatePosition(this.from+n,this.to+n):this.updatePosition(this.from-n,this.to-n),u(this,"changed",{from:this.from,to:this.to,trigger:"scrollbar",DOMEvent:t})},t.prototype.update=function(t){this.destroy(),this.init(this.chart.renderer,d(!0,this.options,t),this.chart)},t.prototype.updatePosition=function(t,e){1<e&&(t=s(1-s(e-t)),e=1),0>t&&(e=s(e-t),t=0),this.from=t,this.to=e},t.defaultOptions=r,t}(),i.scrollbar=d(!0,t.defaultOptions,i.scrollbar),t})),e(n,"Core/Axis/NavigatorAxis.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],(function(t,e){var n=t.isTouchDevice,r=e.addEvent,o=e.correctFloat,i=e.defined,a=e.isNumber,s=e.pick,l=function(){function t(t){this.axis=t}return t.prototype.destroy=function(){this.axis=void 0},t.prototype.toFixedRange=function(t,e,n,r){var l=this.axis,c=l.chart;c=c&&c.fixedRange;var u=(l.pointRange||0)/2;return t=s(n,l.translate(t,!0,!l.horiz)),e=s(r,l.translate(e,!0,!l.horiz)),l=c&&(e-t)/c,i(n)||(t=o(t+u)),i(r)||(e=o(e-u)),.7<l&&1.3>l&&(r?t=e-c:e=t+c),a(t)&&a(e)||(t=e=void 0),{min:t,max:e}},t}();return function(){function t(){}return t.compose=function(t){t.keepProps.push("navigatorAxis"),r(t,"init",(function(){this.navigatorAxis||(this.navigatorAxis=new l(this))})),r(t,"zoom",(function(t){var e=this.chart.options,r=e.navigator,o=this.navigatorAxis,a=e.chart.pinchType,s=e.rangeSelector;e=e.chart.zoomType,this.isXAxis&&(r&&r.enabled||s&&s.enabled)&&("y"===e?t.zoomed=!1:(!n&&"xy"===e||n&&"xy"===a)&&this.options.range&&(r=o.previousZoom,i(t.newMin)?o.previousZoom=[this.min,this.max]:r&&(t.newMin=r[0],t.newMax=r[1],o.previousZoom=void 0))),"undefined"!==typeof t.zoomed&&t.preventDefault()}))},t.AdditionsClass=l,t}()})),e(n,"Core/Navigator.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Axis/NavigatorAxis.js"],n["Core/DefaultOptions.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Scrollbar.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l,c,u){n=n.parse;var d=r.hasTouch,f=r.isTouchDevice,p=i.defaultOptions,h=u.addEvent,v=u.clamp,g=u.correctFloat,m=u.defined,b=u.destroyObjectProperties,y=u.erase,x=u.extend,w=u.find,O=u.isArray,S=u.isNumber,j=u.merge,C=u.pick,k=u.removeEvent,E=u.splat,P=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if((e=[].filter.call(e,S)).length)return Math[t].apply(0,e)};i="undefined"===typeof c.seriesTypes.areaspline?"line":"areaspline",x(p,{navigator:{height:40,margin:25,maskInside:!0,handles:{width:7,height:15,symbols:["navigator-handle","navigator-handle"],enabled:!0,lineWidth:1,backgroundColor:"#f2f2f2",borderColor:"#999999"},maskFill:n("#6685c2").setOpacity(.3).get(),outlineColor:"#cccccc",outlineWidth:1,series:{type:i,fillOpacity:.05,lineWidth:1,compare:null,dataGrouping:{approximation:"average",enabled:!0,groupPixelWidth:2,firstAnchor:"firstPoint",anchor:"middle",lastAnchor:"lastPoint",units:[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2,3,4]],["week",[1,2,3]],["month",[1,3,6]],["year",null]]},dataLabels:{enabled:!1,zIndex:2},id:"highcharts-navigator-series",className:"highcharts-navigator-series",lineColor:null,marker:{enabled:!1},threshold:null},xAxis:{overscroll:0,className:"highcharts-navigator-xaxis",tickLength:0,lineWidth:0,gridLineColor:"#e6e6e6",gridLineWidth:1,tickPixelInterval:200,labels:{align:"left",style:{color:"#999999"},x:3,y:-4},crosshair:!1},yAxis:{className:"highcharts-navigator-yaxis",gridLineWidth:0,startOnTick:!1,endOnTick:!1,minPadding:.1,maxPadding:.1,labels:{enabled:!1},crosshair:!1,title:{text:null},tickLength:0,tickWidth:0}}}),a.getRendererType().prototype.symbols["navigator-handle"]=function(t,e,n,r,o){return t=(o&&o.width||0)/2,e=Math.round(t/3)+.5,[["M",-t-1,.5],["L",t,.5],["L",t,(o=o&&o.height||0)+.5],["L",-t-1,o+.5],["L",-t-1,.5],["M",-e,4],["L",-e,o-3],["M",e-1,4],["L",e-1,o-3]]};var _=function(){function e(t){this.zoomedMin=this.zoomedMax=this.yAxis=this.xAxis=this.top=this.size=this.shades=this.rendered=this.range=this.outlineHeight=this.outline=this.opposite=this.navigatorSize=this.navigatorSeries=this.navigatorOptions=this.navigatorGroup=this.navigatorEnabled=this.left=this.height=this.handles=this.chart=this.baseSeries=void 0,this.init(t)}return e.prototype.drawHandle=function(t,e,n,r){var o=this.navigatorOptions.handles.height;this.handles[e][r](n?{translateX:Math.round(this.left+this.height/2),translateY:Math.round(this.top+parseInt(t,10)+.5-o)}:{translateX:Math.round(this.left+parseInt(t,10)),translateY:Math.round(this.top+this.height/2-o/2-1)})},e.prototype.drawOutline=function(t,e,n,r){var o=this.navigatorOptions.maskInside,i=this.outline.strokeWidth(),a=i/2,s=i%2/2;i=this.outlineHeight;var l=this.scrollbarHeight||0,c=this.size,u=this.left-l,d=this.top;n?(s=[["M",(u-=a)+i,d-l-s],["L",u+i,n=d+e+s],["L",u,n],["L",u,e=d+t+s],["L",u+i,e],["L",u+i,d+c+l]],o&&s.push(["M",u+i,n-a],["L",u+i,e+a])):(s=[["M",u,d+=a],["L",t+=u+l-s,d],["L",t,d+i],["L",e+=u+l-s,d+i],["L",e,d],["L",u+c+2*l,d]],o&&s.push(["M",t-a,d],["L",e+a,d])),this.outline[r]({d:s})},e.prototype.drawMasks=function(t,e,n,r){var o=this.left,i=this.top,a=this.height;if(n)var s=[o,o,o],l=[i,i+t,i+e],c=[a,a,a],u=[t,e-t,this.size-e];else s=[o,o+t,o+e],l=[i,i,i],c=[t,e-t,this.size-e],u=[a,a,a];this.shades.forEach((function(t,e){t[r]({x:s[e],y:l[e],width:c[e],height:u[e]})}))},e.prototype.renderElements=function(){var t,e=this,n=e.navigatorOptions,r=n.maskInside,o=e.chart,i=o.renderer,a={cursor:o.inverted?"ns-resize":"ew-resize"};e.navigatorGroup=t=i.g("navigator").attr({zIndex:8,visibility:"hidden"}).add(),[!r,r,!r].forEach((function(r,s){var l=i.rect().addClass("highcharts-navigator-mask"+(1===s?"-inside":"-outside")).add(t);o.styledMode||(l.attr({fill:r?n.maskFill:"rgba(0,0,0,0)"}),1===s&&l.css(a)),e.shades[s]=l})),e.outline=i.path().addClass("highcharts-navigator-outline").add(t),o.styledMode||e.outline.attr({"stroke-width":n.outlineWidth,stroke:n.outlineColor}),n.handles.enabled&&[0,1].forEach((function(r){if(n.handles.inverted=o.inverted,e.handles[r]=i.symbol(n.handles.symbols[r],-n.handles.width/2-1,0,n.handles.width,n.handles.height,n.handles),e.handles[r].attr({zIndex:7-r}).addClass("highcharts-navigator-handle highcharts-navigator-handle-"+["left","right"][r]).add(t),!o.styledMode){var s=n.handles;e.handles[r].attr({fill:s.backgroundColor,stroke:s.borderColor,"stroke-width":s.lineWidth}).css(a)}}))},e.prototype.update=function(t){(this.series||[]).forEach((function(t){t.baseSeries&&delete t.baseSeries.navigatorSeries})),this.destroy(),j(!0,this.chart.options.navigator,this.options,t),this.init(this.chart)},e.prototype.render=function(t,e,n,r){var o,i,a=this.chart,s=this.scrollbarHeight,l=this.xAxis,c=l.pointRange||0,u=l.navigatorAxis.fake?a.xAxis[0]:l,d=this.navigatorEnabled,f=this.rendered,p=a.inverted,h=a.xAxis[0].minRange,b=a.xAxis[0].options.maxRange;if(!this.hasDragged||m(n)){if(t=g(t-c/2),e=g(e+c/2),!S(t)||!S(e)){if(!f)return;n=0,r=C(l.width,u.width)}this.left=C(l.left,a.plotLeft+s+(p?a.plotWidth:0)),this.size=i=o=C(l.len,(p?a.plotHeight:a.plotWidth)-2*s),a=p?s:o+2*s,n=C(n,l.toPixels(t,!0)),r=C(r,l.toPixels(e,!0)),S(n)&&1/0!==Math.abs(n)||(n=0,r=a),t=l.toValue(n,!0),e=l.toValue(r,!0);var y=Math.abs(g(e-t));y<h?this.grabbedLeft?n=l.toPixels(e-h-c,!0):this.grabbedRight&&(r=l.toPixels(t+h+c,!0)):m(b)&&g(y-c)>b&&(this.grabbedLeft?n=l.toPixels(e-b-c,!0):this.grabbedRight&&(r=l.toPixels(t+b+c,!0))),this.zoomedMax=v(Math.max(n,r),0,i),this.zoomedMin=v(this.fixedWidth?this.zoomedMax-this.fixedWidth:Math.min(n,r),0,i),this.range=this.zoomedMax-this.zoomedMin,i=Math.round(this.zoomedMax),n=Math.round(this.zoomedMin),d&&(this.navigatorGroup.attr({visibility:"inherit"}),f=f&&!this.hasDragged?"animate":"attr",this.drawMasks(n,i,p,f),this.drawOutline(n,i,p,f),this.navigatorOptions.handles.enabled&&(this.drawHandle(n,0,p,f),this.drawHandle(i,1,p,f))),this.scrollbar&&(p?(p=this.top-s,u=this.left-s+(d||!u.opposite?0:(u.titleOffset||0)+u.axisTitleMargin),s=o+2*s):(p=this.top+(d?this.height:-s),u=this.left-s),this.scrollbar.position(u,p,a,s),this.scrollbar.setRange(this.zoomedMin/(o||1),this.zoomedMax/(o||1))),this.rendered=!0}},e.prototype.addMouseEvents=function(){var t,e,n=this,r=n.chart,o=r.container,i=[];n.mouseMoveHandler=t=function(t){n.onMouseMove(t)},n.mouseUpHandler=e=function(t){n.onMouseUp(t)},(i=n.getPartsEvents("mousedown")).push(h(r.renderTo,"mousemove",t),h(o.ownerDocument,"mouseup",e)),d&&(i.push(h(r.renderTo,"touchmove",t),h(o.ownerDocument,"touchend",e)),i.concat(n.getPartsEvents("touchstart"))),n.eventsToUnbind=i,n.series&&n.series[0]&&i.push(h(n.series[0].xAxis,"foundExtremes",(function(){r.navigator.modifyNavigatorAxisExtremes()})))},e.prototype.getPartsEvents=function(t){var e=this,n=[];return["shades","handles"].forEach((function(r){e[r].forEach((function(o,i){n.push(h(o.element,t,(function(t){e[r+"Mousedown"](t,i)})))}))})),n},e.prototype.shadesMousedown=function(t,e){t=this.chart.pointer.normalize(t);var n=this.chart,r=this.xAxis,o=this.zoomedMin,i=this.left,a=this.size,s=this.range,l=t.chartX;if(n.inverted&&(l=t.chartY,i=this.top),1===e)this.grabbedCenter=l,this.fixedWidth=s,this.dragOffset=l-o;else{if(t=l-i-s/2,0===e)t=Math.max(0,t);else if(2===e&&t+s>=a)if(t=a-s,this.reversedExtremes){t-=s;var c=this.getUnionExtremes().dataMin}else var u=this.getUnionExtremes().dataMax;t!==o&&(this.fixedWidth=s,e=r.navigatorAxis.toFixedRange(t,t+s,c,u),m(e.min)&&n.xAxis[0].setExtremes(Math.min(e.min,e.max),Math.max(e.min,e.max),!0,null,{trigger:"navigator"}))}},e.prototype.handlesMousedown=function(t,e){this.chart.pointer.normalize(t);var n=(t=this.chart).xAxis[0],r=this.reversedExtremes;0===e?(this.grabbedLeft=!0,this.otherHandlePos=this.zoomedMax,this.fixedExtreme=r?n.min:n.max):(this.grabbedRight=!0,this.otherHandlePos=this.zoomedMin,this.fixedExtreme=r?n.max:n.min),t.fixedRange=null},e.prototype.onMouseMove=function(t){var e=this,n=e.chart,o=e.left,i=e.navigatorSize,a=e.range,s=e.dragOffset,l=n.inverted;t.touches&&0===t.touches[0].pageX||(t=n.pointer.normalize(t),n=t.chartX,l&&(o=e.top,n=t.chartY),e.grabbedLeft?(e.hasDragged=!0,e.render(0,0,n-o,e.otherHandlePos)):e.grabbedRight?(e.hasDragged=!0,e.render(0,0,e.otherHandlePos,n-o)):e.grabbedCenter&&(e.hasDragged=!0,n<s?n=s:n>i+s-a&&(n=i+s-a),e.render(0,0,n-s,n-s+a)),e.hasDragged&&e.scrollbar&&C(e.scrollbar.options.liveRedraw,r.svg&&!f&&!this.chart.isBoosting)&&(t.DOMType=t.type,setTimeout((function(){e.onMouseUp(t)}),0)))},e.prototype.onMouseUp=function(t){var e=this.chart,n=this.xAxis,r=this.scrollbar,o=t.DOMEvent||t,i=e.inverted,a=this.rendered&&!this.hasDragged?"animate":"attr";if(this.hasDragged&&(!r||!r.hasDragged)||"scrollbar"===t.trigger){if(r=this.getUnionExtremes(),this.zoomedMin===this.otherHandlePos)var s=this.fixedExtreme;else if(this.zoomedMax===this.otherHandlePos)var l=this.fixedExtreme;this.zoomedMax===this.size&&(l=this.reversedExtremes?r.dataMin:r.dataMax),0===this.zoomedMin&&(s=this.reversedExtremes?r.dataMax:r.dataMin),n=n.navigatorAxis.toFixedRange(this.zoomedMin,this.zoomedMax,s,l),m(n.min)&&e.xAxis[0].setExtremes(Math.min(n.min,n.max),Math.max(n.min,n.max),!0,!this.hasDragged&&null,{trigger:"navigator",triggerOp:"navigator-drag",DOMEvent:o})}"mousemove"!==t.DOMType&&"touchmove"!==t.DOMType&&(this.grabbedLeft=this.grabbedRight=this.grabbedCenter=this.fixedWidth=this.fixedExtreme=this.otherHandlePos=this.hasDragged=this.dragOffset=null),this.navigatorEnabled&&S(this.zoomedMin)&&S(this.zoomedMax)&&(e=Math.round(this.zoomedMin),t=Math.round(this.zoomedMax),this.shades&&this.drawMasks(e,t,i,a),this.outline&&this.drawOutline(e,t,i,a),this.navigatorOptions.handles.enabled&&Object.keys(this.handles).length===this.handles.length&&(this.drawHandle(e,0,i,a),this.drawHandle(t,1,i,a)))},e.prototype.removeEvents=function(){this.eventsToUnbind&&(this.eventsToUnbind.forEach((function(t){t()})),this.eventsToUnbind=void 0),this.removeBaseSeriesEvents()},e.prototype.removeBaseSeriesEvents=function(){var t=this.baseSeries||[];this.navigatorEnabled&&t[0]&&(!1!==this.navigatorOptions.adaptToUpdatedData&&t.forEach((function(t){k(t,"updatedData",this.updatedDataHandler)}),this),t[0].xAxis&&k(t[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes))},e.prototype.init=function(e){var n=e.options,r=n.navigator,i=r.enabled,a=n.scrollbar,l=a.enabled;n=i?r.height:0;var c=l?a.height:0;this.handles=[],this.shades=[],this.chart=e,this.setBaseSeries(),this.height=n,this.scrollbarHeight=c,this.scrollbarEnabled=l,this.navigatorEnabled=i,this.navigatorOptions=r,this.scrollbarOptions=a,this.outlineHeight=n+c,this.opposite=C(r.opposite,!(i||!e.inverted));var u=this;i=u.baseSeries,a=e.xAxis.length,l=e.yAxis.length;var d=i&&i[0]&&i[0].xAxis||e.xAxis[0]||{options:{}};e.isDirtyBox=!0,u.navigatorEnabled?(u.xAxis=new t(e,j({breaks:d.options.breaks,ordinal:d.options.ordinal},r.xAxis,{id:"navigator-x-axis",yAxis:"navigator-y-axis",isX:!0,type:"datetime",index:a,isInternal:!0,offset:0,keepOrdinalPadding:!0,startOnTick:!1,endOnTick:!1,minPadding:0,maxPadding:0,zoomEnabled:!1},e.inverted?{offsets:[c,0,-c,0],width:n}:{offsets:[0,-c,0,c],height:n})),u.yAxis=new t(e,j(r.yAxis,{id:"navigator-y-axis",alignTicks:!1,offset:0,index:l,isInternal:!0,reversed:C(r.yAxis&&r.yAxis.reversed,e.yAxis[0]&&e.yAxis[0].reversed,!1),zoomEnabled:!1},e.inverted?{width:n}:{height:n})),i||r.series.data?u.updateNavigatorSeries(!1):0===e.series.length&&(u.unbindRedraw=h(e,"beforeRedraw",(function(){0<e.series.length&&!u.series&&(u.setBaseSeries(),u.unbindRedraw())}))),u.reversedExtremes=e.inverted&&!u.xAxis.reversed||!e.inverted&&u.xAxis.reversed,u.renderElements(),u.addMouseEvents()):(u.xAxis={chart:e,navigatorAxis:{fake:!0},translate:function(t,n){var r=e.xAxis[0],o=r.getExtremes(),i=r.len-2*c,a=P("min",r.options.min,o.dataMin);return r=P("max",r.options.max,o.dataMax)-a,n?t*r/i+a:i*(t-a)/r},toPixels:function(t){return this.translate(t)},toValue:function(t){return this.translate(t,!0)}},u.xAxis.navigatorAxis.axis=u.xAxis,u.xAxis.navigatorAxis.toFixedRange=o.AdditionsClass.prototype.toFixedRange.bind(u.xAxis.navigatorAxis)),e.options.scrollbar.enabled&&(e.scrollbar=u.scrollbar=new s(e.renderer,j(e.options.scrollbar,{margin:u.navigatorEnabled?0:10,vertical:e.inverted}),e),h(u.scrollbar,"changed",(function(t){var e=u.size,n=e*this.to;e*=this.from,u.hasDragged=u.scrollbar.hasDragged,u.render(0,0,e,n),this.shouldUpdateExtremes(t.DOMType)&&setTimeout((function(){u.onMouseUp(t)}))}))),u.addBaseSeriesEvents(),u.addChartEvents()},e.prototype.getUnionExtremes=function(t){var e,n=this.chart.xAxis[0],r=this.xAxis,o=r.options,i=n.options;return t&&null===n.dataMin||(e={dataMin:C(o&&o.min,P("min",i.min,n.dataMin,r.dataMin,r.min)),dataMax:C(o&&o.max,P("max",i.max,n.dataMax,r.dataMax,r.max))}),e},e.prototype.setBaseSeries=function(t,e){var n=this.chart,r=this.baseSeries=[];t=t||n.options&&n.options.navigator.baseSeries||(n.series.length?w(n.series,(function(t){return!t.options.isInternal})).index:0),(n.series||[]).forEach((function(e,n){e.options.isInternal||!e.options.showInNavigator&&(n!==t&&e.options.id!==t||!1===e.options.showInNavigator)||r.push(e)})),this.xAxis&&!this.xAxis.navigatorAxis.fake&&this.updateNavigatorSeries(!0,e)},e.prototype.updateNavigatorSeries=function(t,e){var n,r,o,i=this,a=i.chart,s=i.baseSeries,l=i.navigatorOptions.series,c={enableMouseTracking:!1,index:null,linkedTo:null,group:"nav",padXAxis:!1,xAxis:"navigator-x-axis",yAxis:"navigator-y-axis",showInLegend:!1,stacking:void 0,isInternal:!0,states:{inactive:{opacity:1}}},u=i.series=(i.series||[]).filter((function(t){var e=t.baseSeries;return!(0>s.indexOf(e))||(e&&(k(e,"updatedData",i.updatedDataHandler),delete e.navigatorSeries),t.chart&&t.destroy(),!1)}));s&&s.length&&s.forEach((function(t){var d=t.navigatorSeries,f=x({color:t.color,visible:t.visible},O(l)?p.navigator.series:l);d&&!1===i.navigatorOptions.adaptToUpdatedData||(c.name="Navigator "+s.length,n=t.options||{},o=n.navigatorOptions||{},f.dataLabels=E(f.dataLabels),(r=j(n,c,f,o)).pointRange=C(f.pointRange,o.pointRange,p.plotOptions[r.type||"line"].pointRange),f=o.data||f.data,i.hasNavigatorData=i.hasNavigatorData||!!f,r.data=f||n.data&&n.data.slice(0),d&&d.options?d.update(r,e):(t.navigatorSeries=a.initSeries(r),t.navigatorSeries.baseSeries=t,u.push(t.navigatorSeries)))})),(!l.data||s&&s.length)&&!O(l)||(i.hasNavigatorData=!1,(l=E(l)).forEach((function(t,e){c.name="Navigator "+(u.length+1),(r=j(p.navigator.series,{color:a.series[e]&&!a.series[e].options.isInternal&&a.series[e].color||a.options.colors[e]||a.options.colors[0]},c,t)).data=t.data,r.data&&(i.hasNavigatorData=!0,u.push(a.initSeries(r)))}))),t&&this.addBaseSeriesEvents()},e.prototype.addBaseSeriesEvents=function(){var t=this,e=t.baseSeries||[];e[0]&&e[0].xAxis&&e[0].eventsToUnbind.push(h(e[0].xAxis,"foundExtremes",this.modifyBaseAxisExtremes)),e.forEach((function(e){e.eventsToUnbind.push(h(e,"show",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!0,!1)}))),e.eventsToUnbind.push(h(e,"hide",(function(){this.navigatorSeries&&this.navigatorSeries.setVisible(!1,!1)}))),!1!==this.navigatorOptions.adaptToUpdatedData&&e.xAxis&&e.eventsToUnbind.push(h(e,"updatedData",this.updatedDataHandler)),e.eventsToUnbind.push(h(e,"remove",(function(){this.navigatorSeries&&(y(t.series,this.navigatorSeries),m(this.navigatorSeries.options)&&this.navigatorSeries.remove(!1),delete this.navigatorSeries)})))}),this)},e.prototype.getBaseSeriesMin=function(t){return this.baseSeries.reduce((function(t,e){return Math.min(t,e.xData&&e.xData.length?e.xData[0]:t)}),t)},e.prototype.modifyNavigatorAxisExtremes=function(){var t,e=this.xAxis;"undefined"!==typeof e.getExtremes&&(!(t=this.getUnionExtremes(!0))||t.dataMin===e.min&&t.dataMax===e.max||(e.min=t.dataMin,e.max=t.dataMax))},e.prototype.modifyBaseAxisExtremes=function(){var t=this.chart.navigator,e=this.getExtremes(),n=e.dataMin,r=e.dataMax;e=e.max-e.min;var o=t.stickToMin,i=t.stickToMax,a=C(this.options.overscroll,0),s=t.series&&t.series[0],l=!!this.setExtremes;if(!this.eventArgs||"rangeSelectorButton"!==this.eventArgs.trigger){if(o)var c=n,u=n+e;i&&(u=r+a,o||(c=Math.max(n,u-e,t.getBaseSeriesMin(s&&s.xData?s.xData[0]:-Number.MAX_VALUE)))),l&&(o||i)&&S(c)&&(this.min=this.userMin=c,this.max=this.userMax=u)}t.stickToMin=t.stickToMax=null},e.prototype.updatedDataHandler=function(){var t=this.chart.navigator,e=this.navigatorSeries;t.stickToMax=t.reversedExtremes?0===Math.round(t.zoomedMin):Math.round(t.zoomedMax)>=Math.round(t.size),t.stickToMin=t.shouldStickToMin(this,t),e&&!t.hasNavigatorData&&(e.options.pointStart=this.xData[0],e.setData(this.options.data,!1,null,!1))},e.prototype.shouldStickToMin=function(t,e){e=e.getBaseSeriesMin(t.xData[0]);var n=t.xAxis;t=n.max;var r=n.min;return n=n.options.range,!(!S(t)||!S(r))&&(n&&0<t-e?t-e<n:r<=e)},e.prototype.addChartEvents=function(){this.eventsToUnbind||(this.eventsToUnbind=[]),this.eventsToUnbind.push(h(this.chart,"redraw",(function(){var t=this.navigator,e=t&&(t.baseSeries&&t.baseSeries[0]&&t.baseSeries[0].xAxis||this.xAxis[0]);e&&t.render(e.min,e.max)})),h(this.chart,"getMargins",(function(){var t=this.navigator,e=t.opposite?"plotTop":"marginBottom";this.inverted&&(e=t.opposite?"marginRight":"plotLeft"),this[e]=(this[e]||0)+(t.navigatorEnabled||!this.inverted?t.outlineHeight:0)+t.navigatorOptions.margin})))},e.prototype.destroy=function(){this.removeEvents(),this.xAxis&&(y(this.chart.xAxis,this.xAxis),y(this.chart.axes,this.xAxis)),this.yAxis&&(y(this.chart.yAxis,this.yAxis),y(this.chart.axes,this.yAxis)),(this.series||[]).forEach((function(t){t.destroy&&t.destroy()})),"series xAxis yAxis shades outline scrollbarTrack scrollbarRifles scrollbarGroup scrollbar navigatorGroup rendered".split(" ").forEach((function(t){this[t]&&this[t].destroy&&this[t].destroy(),this[t]=null}),this),[this.handles].forEach((function(t){b(t)}),this)},e}();return r.Navigator||(r.Navigator=_,o.compose(t),h(e,"beforeShowResetZoom",(function(){var t=this.options,e=t.navigator,n=t.rangeSelector;if((e&&e.enabled||n&&n.enabled)&&(!f&&"x"===t.chart.zoomType||f&&"x"===t.chart.pinchType))return!1})),h(e,"beforeRender",(function(){var t=this.options;(t.navigator.enabled||t.scrollbar.enabled)&&(this.scroller=this.navigator=new _(this))})),h(e,"afterSetChartSize",(function(){var t=this.legend,e=this.navigator;if(e){var n=t&&t.options,r=e.xAxis,o=e.yAxis,i=e.scrollbarHeight;this.inverted?(e.left=e.opposite?this.chartWidth-i-e.height:this.spacing[3]+i,e.top=this.plotTop+i):(e.left=C(r.left,this.plotLeft+i),e.top=e.navigatorOptions.top||this.chartHeight-e.height-i-this.spacing[2]-(this.rangeSelector&&this.extraBottomMargin?this.rangeSelector.getHeight():0)-(n&&"bottom"===n.verticalAlign&&"proximate"!==n.layout&&n.enabled&&!n.floating?t.legendHeight+C(n.margin,10):0)-(this.titleOffset?this.titleOffset[2]:0)),r&&o&&(this.inverted?r.options.left=o.options.left=e.left:r.options.top=o.options.top=e.top,r.setAxisSize(),o.setAxisSize())}})),h(e,"update",(function(t){var e=t.options.navigator||{},n=t.options.scrollbar||{};this.navigator||this.scroller||!e.enabled&&!n.enabled||(j(!0,this.options.navigator,e),j(!0,this.options.scrollbar,n),delete t.options.navigator,delete t.options.scrollbar)})),h(e,"afterUpdate",(function(t){this.navigator||this.scroller||!this.options.navigator.enabled&&!this.options.scrollbar.enabled||(this.scroller=this.navigator=new _(this),C(t.redraw,!0)&&this.redraw(t.animation))})),h(e,"afterAddSeries",(function(){this.navigator&&this.navigator.setBaseSeries(null,!1)})),h(l,"afterUpdate",(function(){this.chart.navigator&&!this.options.isInternal&&this.chart.navigator.setBaseSeries(null,!1)})),e.prototype.callbacks.push((function(t){var e=t.navigator;e&&t.xAxis[0]&&(t=t.xAxis[0].getExtremes(),e.render(t.min,t.max))}))),r.Navigator=_,r.Navigator})),e(n,"Extensions/RangeSelector.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Globals.js"],n["Core/DefaultOptions.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],(function(e,n,r,o,i,a){var s=o.defaultOptions,l=a.addEvent,c=a.createElement,u=a.css,d=a.defined,f=a.destroyObjectProperties,p=a.discardElement,h=a.extend,v=a.find,g=a.fireEvent,m=a.isNumber,b=a.merge,y=a.objectEach,x=a.pad,w=a.pick,O=a.pInt,S=a.splat;h(s,{rangeSelector:{allButtonsEnabled:!1,buttons:void 0,buttonSpacing:5,dropdown:"responsive",enabled:void 0,verticalAlign:"top",buttonTheme:{width:28,height:18,padding:2,zIndex:7},floating:!1,x:0,y:0,height:void 0,inputBoxBorderColor:"none",inputBoxHeight:17,inputBoxWidth:void 0,inputDateFormat:"%b %e, %Y",inputDateParser:void 0,inputEditDateFormat:"%Y-%m-%d",inputEnabled:!0,inputPosition:{align:"right",x:0,y:0},inputSpacing:5,selected:void 0,buttonPosition:{align:"left",x:0,y:0},inputStyle:{color:"#335cad",cursor:"pointer"},labelStyle:{color:"#666666"}}}),h(s.lang,{rangeSelectorZoom:"Zoom",rangeSelectorFrom:"",rangeSelectorTo:"\u2192"});var j=function(){function n(t){this.buttons=void 0,this.buttonOptions=n.prototype.defaultButtons,this.initialButtonGroupWidth=0,this.options=void 0,this.chart=t,this.init(t)}return n.prototype.clickButton=function(t,n){var r=this.chart,o=this.buttonOptions[t],i=r.xAxis[0],a=r.scroller&&r.scroller.getUnionExtremes()||i||{},s=a.dataMin,c=a.dataMax,u=i&&Math.round(Math.min(i.max,w(c,i.max))),f=o.type;a=o._range;var p,h=o.dataGrouping,v=!0;if(null!==s&&null!==c){if(r.fixedRange=a,this.setSelected(t),h&&(this.forcedDataGrouping=!0,e.prototype.setDataGrouping.call(i||{chart:this.chart},h,!1),this.frozenStates=o.preserveDataGrouping),"month"===f||"year"===f)if(i){v={range:o,max:u,chart:r,dataMin:s,dataMax:c};var b=i.minFromRange.call(v);m(v.newMax)&&(u=v.newMax),v=!1}else a=o;else if(a)b=Math.max(u-a,s),u=Math.min(b+a,c),v=!1;else if("ytd"===f){if(!i)return void(this.deferredYTDClick=t);"undefined"!==typeof c&&"undefined"!==typeof s||(s=Number.MAX_VALUE,c=Number.MIN_VALUE,r.series.forEach((function(t){(t=t.xData)&&(s=Math.min(t[0],s),c=Math.max(t[t.length-1],c))})),n=!1),b=p=(u=this.getYTDExtremes(c,s,r.time.useUTC)).min,u=u.max}else"all"===f&&i&&(r.navigator&&r.navigator.baseSeries[0]&&(r.navigator.baseSeries[0].xAxis.options.range=void 0),b=s,u=c);if(v&&o._offsetMin&&d(b)&&(b+=o._offsetMin),o._offsetMax&&d(u)&&(u+=o._offsetMax),this.dropdown&&(this.dropdown.selectedIndex=t+1),i)i.setExtremes(b,u,w(n,!0),void 0,{trigger:"rangeSelectorButton",rangeSelectorButton:o});else{var y=S(r.options.xAxis)[0],x=y.range;y.range=a;var O=y.min;y.min=p,l(r,"load",(function(){y.range=x,y.min=O}))}g(this,"afterBtnClick")}},n.prototype.setSelected=function(t){this.selected=this.options.selected=t},n.prototype.init=function(t){var e=this,n=t.options.rangeSelector,r=n.buttons||e.defaultButtons.slice(),o=n.selected,i=function(){var t=e.minInput,n=e.maxInput;t&&t.blur&&g(t,"blur"),n&&n.blur&&g(n,"blur")};e.chart=t,e.options=n,e.buttons=[],e.buttonOptions=r,this.eventsToUnbind=[],this.eventsToUnbind.push(l(t.container,"mousedown",i)),this.eventsToUnbind.push(l(t,"resize",i)),r.forEach(e.computeButtonRange),"undefined"!==typeof o&&r[o]&&this.clickButton(o,!1),this.eventsToUnbind.push(l(t,"load",(function(){t.xAxis&&t.xAxis[0]&&l(t.xAxis[0],"setExtremes",(function(n){this.max-this.min!==t.fixedRange&&"rangeSelectorButton"!==n.trigger&&"updatedData"!==n.trigger&&e.forcedDataGrouping&&!e.frozenStates&&this.setDataGrouping(!1,!1)}))})))},n.prototype.updateButtonStates=function(){var t=this,e=this.chart,n=this.dropdown,r=e.xAxis[0],o=Math.round(r.max-r.min),i=!r.hasVisibleSeries,a=e.scroller&&e.scroller.getUnionExtremes()||r,s=a.dataMin,l=a.dataMax,c=(e=t.getYTDExtremes(l,s,e.time.useUTC)).min,u=e.max,d=t.selected,f=m(d),p=t.options.allButtonsEnabled,h=t.buttons;t.buttonOptions.forEach((function(e,a){var v=e._range,g=e.type,m=e.count||1,b=h[a],y=0,x=e._offsetMax-e._offsetMin;e=a===d;var w=v>l-s,O=v<r.minRange,S=!1,j=!1;v=v===o,("month"===g||"year"===g)&&o+36e5>=864e5*{month:28,year:365}[g]*m-x&&o-36e5<=864e5*{month:31,year:366}[g]*m+x?v=!0:"ytd"===g?(v=u-c+x===o,S=!e):"all"===g&&(v=r.max-r.min>=l-s,j=!e&&f&&v),g=!p&&(w||O||j||i),m=e&&v||v&&!f&&!S||e&&t.frozenStates,g?y=3:m&&(f=!0,y=2),b.state!==y&&(b.setState(y),n&&(n.options[a+1].disabled=g,2===y&&(n.selectedIndex=a+1)),0===y&&d===a&&t.setSelected())}))},n.prototype.computeButtonRange=function(t){var e=t.type,n=t.count||1,r={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5};r[e]?t._range=r[e]*n:"month"!==e&&"year"!==e||(t._range=864e5*{month:30,year:365}[e]*n),t._offsetMin=w(t.offsetMin,0),t._offsetMax=w(t.offsetMax,0),t._range+=t._offsetMax-t._offsetMin},n.prototype.getInputValue=function(t){t="min"===t?this.minInput:this.maxInput;var e=this.chart.options.rangeSelector,n=this.chart.time;return t?("text"===t.type&&e.inputDateParser||this.defaultInputDateParser)(t.value,n.useUTC,n):0},n.prototype.setInputValue=function(t,e){var n=this.options,r=this.chart.time,o="min"===t?this.minInput:this.maxInput;if(t="min"===t?this.minDateBox:this.maxDateBox,o){var i=o.getAttribute("data-hc-time");i=d(i)?Number(i):void 0,d(e)&&(d(i)&&o.setAttribute("data-hc-time-previous",i),o.setAttribute("data-hc-time",e),i=e),o.value=r.dateFormat(this.inputTypeFormats[o.type]||n.inputEditDateFormat,i),t&&t.attr({text:r.dateFormat(n.inputDateFormat,i)})}},n.prototype.setInputExtremes=function(t,e,n){if(t="min"===t?this.minInput:this.maxInput){var r=this.inputTypeFormats[t.type],o=this.chart.time;r&&(e=o.dateFormat(r,e),t.min!==e&&(t.min=e),n=o.dateFormat(r,n),t.max!==n&&(t.max=n))}},n.prototype.showInput=function(t){var e="min"===t?this.minDateBox:this.maxDateBox;if((t="min"===t?this.minInput:this.maxInput)&&e&&this.inputGroup){var n="text"===t.type,r=this.inputGroup,o=r.translateX;r=r.translateY;var i=this.options.inputBoxWidth;u(t,{width:n?e.width+(i?-2:20)+"px":"auto",height:n?e.height-2+"px":"auto",border:"2px solid silver"}),u(t,n&&i?{left:o+e.x+"px",top:r+"px"}:{left:Math.min(Math.round(e.x+o-(t.offsetWidth-e.width)/2),this.chart.chartWidth-t.offsetWidth)+"px",top:r-(t.offsetHeight-e.height)/2+"px"})}},n.prototype.hideInput=function(t){(t="min"===t?this.minInput:this.maxInput)&&u(t,{top:"-9999em",border:0,width:"1px",height:"1px"})},n.prototype.defaultInputDateParser=function(t,e,n){var o,i=t.split("/").join("-").split(" ").join("T");return-1===i.indexOf("T")&&(i+="T00:00"),e?i+="Z":((o=r.isSafari)&&(o=!(6<(o=i).length&&(o.lastIndexOf("-")===o.length-6||o.lastIndexOf("+")===o.length-6))),o&&(i+=0>=(o=new Date(i).getTimezoneOffset()/60)?"+".concat(x(-o),":00"):"-".concat(x(o),":00"))),i=Date.parse(i),m(i)||(t=t.split("-"),i=Date.UTC(O(t[0]),O(t[1])-1,O(t[2]))),n&&e&&m(i)&&(i+=n.getTimezoneOffset(i)),i},n.prototype.drawInput=function(t){function e(){var e=a.getInputValue(t),r=n.xAxis[0],o=n.scroller&&n.scroller.xAxis?n.scroller.xAxis:r,i=o.dataMin;o=o.dataMax;var s=a.maxInput,l=a.minInput;e!==Number(g.getAttribute("data-hc-time-previous"))&&m(e)&&(g.setAttribute("data-hc-time-previous",e),p&&s&&m(i)?e>Number(s.getAttribute("data-hc-time"))?e=void 0:e<i&&(e=i):l&&m(o)&&(e<Number(l.getAttribute("data-hc-time"))?e=void 0:e>o&&(e=o)),"undefined"!==typeof e&&r.setExtremes(p?e:r.min,p?r.max:e,void 0,void 0,{trigger:"rangeSelectorInput"}))}var n=this.chart,o=this.div,i=this.inputGroup,a=this,l=n.renderer.style||{},d=n.renderer,f=n.options.rangeSelector,p="min"===t,v=s.lang[p?"rangeSelectorFrom":"rangeSelectorTo"]||"";v=d.label(v,0).addClass("highcharts-range-label").attr({padding:v?2:0,height:v?f.inputBoxHeight:0}).add(i),d=d.label("",0).addClass("highcharts-range-input").attr({padding:2,width:f.inputBoxWidth,height:f.inputBoxHeight,"text-align":"center"}).on("click",(function(){a.showInput(t),a[t+"Input"].focus()})),n.styledMode||d.attr({stroke:f.inputBoxBorderColor,"stroke-width":1}),d.add(i);var g=c("input",{name:t,className:"highcharts-range-selector"},void 0,o);g.setAttribute("type",function(t){if(-1!==t.indexOf("%L"))return"text";var e="aAdewbBmoyY".split("").some((function(e){return-1!==t.indexOf("%"+e)})),n="HkIlMS".split("").some((function(e){return-1!==t.indexOf("%"+e)}));return e&&n?"datetime-local":e?"date":n?"time":"text"}(f.inputDateFormat||"%b %e, %Y")),n.styledMode||(v.css(b(l,f.labelStyle)),d.css(b({color:"#333333"},l,f.inputStyle)),u(g,h({position:"absolute",border:0,boxShadow:"0 0 15px rgba(0,0,0,0.3)",width:"1px",height:"1px",padding:0,textAlign:"center",fontSize:l.fontSize,fontFamily:l.fontFamily,top:"-9999em"},f.inputStyle))),g.onfocus=function(){a.showInput(t)},g.onblur=function(){g===r.doc.activeElement&&e(),a.hideInput(t),a.setInputValue(t),g.blur()};var y=!1;return g.onchange=function(){y||(e(),a.hideInput(t),g.blur())},g.onkeypress=function(t){13===t.keyCode&&e()},g.onkeydown=function(t){y=!0,38!==t.keyCode&&40!==t.keyCode||e()},g.onkeyup=function(){y=!1},{dateBox:d,input:g,label:v}},n.prototype.getPosition=function(){var t=this.chart,e=t.options.rangeSelector;return{buttonTop:(t="top"===e.verticalAlign?t.plotTop-t.axisOffset[0]:0)+e.buttonPosition.y,inputTop:t+e.inputPosition.y-10}},n.prototype.getYTDExtremes=function(t,e,n){var r=this.chart.time,o=new r.Date(t),i=r.get("FullYear",o);return n=n?r.Date.UTC(i,0,1):+new r.Date(i,0,1),e=Math.max(e,n),o=o.getTime(),{max:Math.min(t||o,o),min:e}},n.prototype.render=function(t,e){var n=this.chart,r=n.renderer,o=n.container,i=n.options,a=i.rangeSelector,s=w(i.chart.style&&i.chart.style.zIndex,0)+1;if(i=a.inputEnabled,!1!==a.enabled){if(this.rendered||(this.group=r.g("range-selector-group").attr({zIndex:7}).add(),this.div=c("div",void 0,{position:"relative",height:0,zIndex:s}),this.buttonOptions.length&&this.renderButtons(),o.parentNode&&o.parentNode.insertBefore(this.div,o),i&&(this.inputGroup=r.g("input-group").add(this.group),r=this.drawInput("min"),this.minDateBox=r.dateBox,this.minLabel=r.label,this.minInput=r.input,r=this.drawInput("max"),this.maxDateBox=r.dateBox,this.maxLabel=r.label,this.maxInput=r.input)),i&&(this.setInputValue("min",t),this.setInputValue("max",e),t=n.scroller&&n.scroller.getUnionExtremes()||n.xAxis[0]||{},d(t.dataMin)&&d(t.dataMax)&&(n=n.xAxis[0].minRange||0,this.setInputExtremes("min",t.dataMin,Math.min(t.dataMax,this.getInputValue("max"))-n),this.setInputExtremes("max",Math.max(t.dataMin,this.getInputValue("min"))+n,t.dataMax)),this.inputGroup)){var l=0;[this.minLabel,this.minDateBox,this.maxLabel,this.maxDateBox].forEach((function(t){if(t){var e=t.getBBox().width;e&&(t.attr({x:l}),l+=e+a.inputSpacing)}}))}this.alignElements(),this.rendered=!0}},n.prototype.renderButtons=function(){var t=this,e=this.buttons,n=this.options,o=s.lang,i=this.chart.renderer,a=b(n.buttonTheme),u=a&&a.states,d=a.width||28;delete a.width,delete a.states,this.buttonGroup=i.g("range-selector-buttons").add(this.group);var f=this.dropdown=c("select",void 0,{position:"absolute",width:"1px",height:"1px",padding:0,border:0,top:"-9999em",cursor:"pointer",opacity:1e-4},this.div);l(f,"touchstart",(function(){f.style.fontSize="16px"})),[[r.isMS?"mouseover":"mouseenter"],[r.isMS?"mouseout":"mouseleave"],["change","click"]].forEach((function(n){var r=n[0],o=n[1];l(f,r,(function(){var n=e[t.currentButtonIndex()];n&&g(n.element,o||r)}))})),this.zoomText=i.label(o&&o.rangeSelectorZoom||"",0).attr({padding:n.buttonTheme.padding,height:n.buttonTheme.height,paddingLeft:0,paddingRight:0}).add(this.buttonGroup),this.chart.styledMode||(this.zoomText.css(n.labelStyle),a["stroke-width"]=w(a["stroke-width"],0)),c("option",{textContent:this.zoomText.textStr,disabled:!0},void 0,f),this.buttonOptions.forEach((function(n,r){c("option",{textContent:n.title||n.text},void 0,f),e[r]=i.button(n.text,0,0,(function(e){var o,i=n.events&&n.events.click;i&&(o=i.call(n,e)),!1!==o&&t.clickButton(r),t.isActive=!0}),a,u&&u.hover,u&&u.select,u&&u.disabled).attr({"text-align":"center",width:d}).add(t.buttonGroup),n.title&&e[r].attr("title",n.title)}))},n.prototype.alignElements=function(){var t=this,e=this.buttonGroup,n=this.buttons,r=this.chart,o=this.group,i=this.inputGroup,a=this.options,s=this.zoomText,l=r.options,c=l.exporting&&!1!==l.exporting.enabled&&l.navigation&&l.navigation.buttonOptions;l=a.buttonPosition;var u=a.inputPosition,d=a.verticalAlign,f=function(e,n){return c&&t.titleCollision(r)&&"top"===d&&"right"===n.align&&n.y-e.getBBox().height-12<(c.y||0)+(c.height||0)+r.spacing[0]?-40:0},p=r.plotLeft;if(o&&l&&u){var h=l.x-r.spacing[3];if(e){if(this.positionButtons(),!this.initialButtonGroupWidth){var v=0;s&&(v+=s.getBBox().width+5),n.forEach((function(t,e){v+=t.width,e!==n.length-1&&(v+=a.buttonSpacing)})),this.initialButtonGroupWidth=v}p-=r.spacing[3],this.updateButtonStates(),s=f(e,l),this.alignButtonGroup(s),o.placed=e.placed=r.hasLoaded}e=0,i&&(e=f(i,u),"left"===u.align?h=p:"right"===u.align&&(h=-Math.max(r.axisOffset[1],-e)),i.align({y:u.y,width:i.getBBox().width,align:u.align,x:u.x+h-2},!0,r.spacingBox),i.placed=r.hasLoaded),this.handleCollision(e),o.align({verticalAlign:d},!0,r.spacingBox),i=o.alignAttr.translateY,e=o.getBBox().height+20,f=0,"bottom"===d&&(f=i-(e=e+(f=(f=r.legend&&r.legend.options)&&"bottom"===f.verticalAlign&&f.enabled&&!f.floating?r.legend.legendHeight+w(f.margin,10):0)-20)-(a.floating?0:a.y)-(r.titleOffset?r.titleOffset[2]:0)-10),"top"===d?(a.floating&&(f=0),r.titleOffset&&r.titleOffset[0]&&(f=r.titleOffset[0]),f+=r.margin[0]-r.spacing[0]||0):"middle"===d&&(u.y===l.y?f=i:(u.y||l.y)&&(f=0>u.y||0>l.y?f-Math.min(u.y,l.y):i-e)),o.translate(a.x,a.y+Math.floor(f)),l=this.minInput,u=this.maxInput,i=this.dropdown,a.inputEnabled&&l&&u&&(l.style.marginTop=o.translateY+"px",u.style.marginTop=o.translateY+"px"),i&&(i.style.marginTop=o.translateY+"px")}},n.prototype.alignButtonGroup=function(t,e){var n=this.chart,r=this.buttonGroup,o=this.options.buttonPosition,i=n.plotLeft-n.spacing[3],a=o.x-n.spacing[3];"right"===o.align?a+=t-i:"center"===o.align&&(a-=i/2),r&&r.align({y:o.y,width:w(e,this.initialButtonGroupWidth),align:o.align,x:a},!0,n.spacingBox)},n.prototype.positionButtons=function(){var t=this.buttons,e=this.chart,n=this.options,r=this.zoomText,o=e.hasLoaded?"animate":"attr",i=n.buttonPosition,a=e.plotLeft,s=a;r&&"hidden"!==r.visibility&&(r[o]({x:w(a+i.x,a)}),s+=i.x+r.getBBox().width+5),this.buttonOptions.forEach((function(e,r){"hidden"!==t[r].visibility?(t[r][o]({x:s}),s+=t[r].width+n.buttonSpacing):t[r][o]({x:a})}))},n.prototype.handleCollision=function(t){var e=this,n=this.chart,r=this.buttonGroup,o=this.inputGroup,i=this.options,a=i.buttonPosition,s=i.dropdown,l=i.inputPosition;i=function(){var t=0;return e.buttons.forEach((function(e){(e=e.getBBox()).width>t&&(t=e.width)})),t};var c=function(e){if(o&&r){var n=o.alignAttr.translateX+o.alignOptions.x-t+o.getBBox().x+2,i=o.alignOptions.width,s=r.alignAttr.translateX+r.getBBox().x;return s+e>n&&n+i>s&&a.y<l.y+o.getBBox().height}return!1},u=function(){o&&r&&o.attr({translateX:o.alignAttr.translateX+(n.axisOffset[1]>=-t?0:-t),translateY:o.alignAttr.translateY+r.getBBox().height+10})};if(r){if("always"===s)return this.collapseButtons(t),void(c(i())&&u());"never"===s&&this.expandButtons()}o&&r?l.align===a.align||c(this.initialButtonGroupWidth+20)?"responsive"===s?(this.collapseButtons(t),c(i())&&u()):u():"responsive"===s&&this.expandButtons():r&&"responsive"===s&&(this.initialButtonGroupWidth>n.plotWidth?this.collapseButtons(t):this.expandButtons())},n.prototype.collapseButtons=function(t){var e=this.buttons,n=this.buttonOptions,r=this.chart,o=this.dropdown,i=this.options,a=this.zoomText,s=r.userOptions.rangeSelector&&r.userOptions.rangeSelector.buttonTheme||{},l=function(t){return{text:t?t+" \u25be":"\u25be",width:"auto",paddingLeft:w(i.buttonTheme.paddingLeft,s.padding,8),paddingRight:w(i.buttonTheme.paddingRight,s.padding,8)}};a&&a.hide();var c=!1;n.forEach((function(t,n){2!==(n=e[n]).state?n.hide():(n.show(),n.attr(l(t.text)),c=!0)})),c||(o&&(o.selectedIndex=0),e[0].show(),e[0].attr(l(this.zoomText&&this.zoomText.textStr))),n=i.buttonPosition.align,this.positionButtons(),"right"!==n&&"center"!==n||this.alignButtonGroup(t,e[this.currentButtonIndex()].getBBox().width),this.showDropdown()},n.prototype.expandButtons=function(){var t=this.buttons,e=this.buttonOptions,n=this.options,r=this.zoomText;this.hideDropdown(),r&&r.show(),e.forEach((function(e,r){(r=t[r]).show(),r.attr({text:e.text,width:n.buttonTheme.width||28,paddingLeft:w(n.buttonTheme.paddingLeft,"unset"),paddingRight:w(n.buttonTheme.paddingRight,"unset")}),2>r.state&&r.setState(0)})),this.positionButtons()},n.prototype.currentButtonIndex=function(){var t=this.dropdown;return t&&0<t.selectedIndex?t.selectedIndex-1:0},n.prototype.showDropdown=function(){var t=this.buttonGroup,e=this.buttons,n=this.chart,r=this.dropdown;if(t&&r){var o=t.translateX;t=t.translateY,e=e[this.currentButtonIndex()].getBBox(),u(r,{left:n.plotLeft+o+"px",top:t+.5+"px",width:e.width+"px",height:e.height+"px"}),this.hasVisibleDropdown=!0}},n.prototype.hideDropdown=function(){var t=this.dropdown;t&&(u(t,{top:"-9999em",width:"1px",height:"1px"}),this.hasVisibleDropdown=!1)},n.prototype.getHeight=function(){var t=this.options,e=this.group,n=t.y,r=t.buttonPosition.y,o=t.inputPosition.y;return t.height?t.height:(this.alignElements(),t=e?e.getBBox(!0).height+13+n:0,e=Math.min(o,r),(0>o&&0>r||0<o&&0<r)&&(t+=Math.abs(e)),t)},n.prototype.titleCollision=function(t){return!(t.options.title.text||t.options.subtitle.text)},n.prototype.update=function(t){var e=this.chart;b(!0,e.options.rangeSelector,t),this.destroy(),this.init(e),this.render()},n.prototype.destroy=function(){var e=this,r=e.minInput,o=e.maxInput;e.eventsToUnbind&&(e.eventsToUnbind.forEach((function(t){return t()})),e.eventsToUnbind=void 0),f(e.buttons),r&&(r.onfocus=r.onblur=r.onchange=null),o&&(o.onfocus=o.onblur=o.onchange=null),y(e,(function(r,o){r&&"chart"!==o&&(r instanceof i?r.destroy():r instanceof t.HTMLElement&&p(r)),r!==n.prototype[o]&&(e[o]=null)}),this)},n}();if(j.prototype.defaultButtons=[{type:"month",count:1,text:"1m",title:"View 1 month"},{type:"month",count:3,text:"3m",title:"View 3 months"},{type:"month",count:6,text:"6m",title:"View 6 months"},{type:"ytd",text:"YTD",title:"View year to date"},{type:"year",count:1,text:"1y",title:"View 1 year"},{type:"all",text:"All",title:"View all"}],j.prototype.inputTypeFormats={"datetime-local":"%Y-%m-%dT%H:%M:%S",date:"%Y-%m-%d",time:"%H:%M:%S"},e.prototype.minFromRange=function(){var t=this.range,e=t.type,n=this.max,r=this.chart.time,o=function(t,n){var o="year"===e?"FullYear":"Month",i=new r.Date(t),a=r.get(o,i);return r.set(o,i,a+n),a===r.get(o,i)&&r.set("Date",i,0),i.getTime()-t};if(m(t))var i=n-t,a=t;else t&&(i=n+o(n,-(t.count||1)),this.chart&&(this.chart.fixedRange=n-i));var s=w(this.dataMin,Number.MIN_VALUE);return m(i)||(i=s),i<=s&&(i=s,"undefined"===typeof a&&(a=o(i,t.count)),this.newMax=Math.min(i+a,w(this.dataMax,Number.MAX_VALUE))),m(n)?!m(t)&&t&&t._offsetMin&&(i+=t._offsetMin):i=void 0,i},!r.RangeSelector){var C=[],k=function(t){function e(){a&&(n=t.xAxis[0].getExtremes(),r=t.legend,i=a&&a.options.verticalAlign,m(n.min)&&a.render(n.min,n.max),r.display&&"top"===i&&i===r.options.verticalAlign&&((o=b(t.spacingBox)).y="vertical"===r.options.layout?t.plotTop:o.y+a.getHeight(),r.group.placed=!1,r.align(o)))}var n,r,o,i,a=t.rangeSelector;a&&(v(C,(function(e){return e[0]===t}))||C.push([t,[l(t.xAxis[0],"afterSetExtremes",(function(t){a&&a.render(t.min,t.max)})),l(t,"redraw",e)]]),e())};l(n,"afterGetContainer",(function(){this.options.rangeSelector&&this.options.rangeSelector.enabled&&(this.rangeSelector=new j(this))})),l(n,"beforeRender",(function(){var t=this.axes,e=this.rangeSelector;e&&(m(e.deferredYTDClick)&&(e.clickButton(e.deferredYTDClick),delete e.deferredYTDClick),t.forEach((function(t){t.updateNames(),t.setScale()})),this.getAxisMargins(),e.render(),t=e.options.verticalAlign,e.options.floating||("bottom"===t?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0)))})),l(n,"update",(function(t){var e=t.options.rangeSelector;t=this.rangeSelector;var n=this.extraBottomMargin,r=this.extraTopMargin;e&&e.enabled&&!d(t)&&this.options.rangeSelector&&(this.options.rangeSelector.enabled=!0,this.rangeSelector=t=new j(this)),this.extraTopMargin=this.extraBottomMargin=!1,t&&(k(this),e=e&&e.verticalAlign||t.options&&t.options.verticalAlign,t.options.floating||("bottom"===e?this.extraBottomMargin=!0:"middle"!==e&&(this.extraTopMargin=!0)),this.extraBottomMargin!==n||this.extraTopMargin!==r)&&(this.isDirtyBox=!0)})),l(n,"render",(function(){var t=this.rangeSelector;t&&!t.options.floating&&(t.render(),"bottom"===(t=t.options.verticalAlign)?this.extraBottomMargin=!0:"middle"!==t&&(this.extraTopMargin=!0))})),l(n,"getMargins",(function(){var t=this.rangeSelector;t&&(t=t.getHeight(),this.extraTopMargin&&(this.plotTop+=t),this.extraBottomMargin&&(this.marginBottom+=t))})),n.prototype.callbacks.push(k),l(n,"destroy",(function(){for(var t=0;t<C.length;t++){var e=C[t];if(e[0]===this){e[1].forEach((function(t){return t()})),C.splice(t,1);break}}})),r.RangeSelector=j}return j})),e(n,"Core/Chart/StockChart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/FormatUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Series/Series.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s){function l(t,e){return"xAxis"===t?{minPadding:0,maxPadding:0,overscroll:0,ordinal:!0,title:{text:null},labels:{overflow:"justify"},showLastLabel:!0}:"yAxis"===t?{labels:{y:-2},opposite:x(e.opposite,!0),showLastLabel:!(!e.categories&&"category"!==e.type),title:{text:null}}:{}}function c(t,e){if("xAxis"===t){t=f();var n={type:"datetime",categories:void 0};return x(e.navigator&&e.navigator.enabled,t.navigator.enabled,!0)&&(n.startOnTick=!1,n.endOnTick=!1),n}return{}}var u=this&&this.__extends||function(){var t=function(e,n){return t=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,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=r.format,f=o.getOptions;t=s.addEvent;var p=s.clamp,h=s.defined,v=s.extend,g=s.find,m=s.isNumber,b=s.isString,y=s.merge,x=s.pick,w=s.splat;return s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(e,n){var r=f(),o=e.xAxis,i=e.yAxis,a=x(e.navigator&&e.navigator.enabled,r.navigator.enabled,!0);e.xAxis=e.yAxis=void 0,a=y({chart:{panning:{enabled:!0,type:"x"},pinchType:"x"},navigator:{enabled:a},scrollbar:{enabled:x(r.scrollbar&&r.scrollbar.enabled,!0)},rangeSelector:{enabled:x(r.rangeSelector.enabled,!0)},title:{text:null},tooltip:{split:x(r.tooltip.split,!0),crosshairs:!0},legend:{enabled:!1}},e,{isStock:!0}),e.xAxis=o,e.yAxis=i,a.xAxis=w(e.xAxis||{}).map((function(t,n){return y(l("xAxis",t),r.xAxis,r.xAxis&&r.xAxis[n],t,c("xAxis",e))})),a.yAxis=w(e.yAxis||{}).map((function(t,e){return y(l("yAxis",t),r.yAxis,r.yAxis&&r.yAxis[e],t)})),t.prototype.init.call(this,a,n)},e.prototype.createAxis=function(e,n){return n.axis=y(l(e,n.axis),n.axis,c(e,this.userOptions)),t.prototype.createAxis.call(this,e,n)},e}(n),function(t){t.stockChart=function(e,n,r){return new t(e,n,r)}}(s||(s={})),t(i,"setOptions",(function(t){var e;this.chart.options.isStock&&(this.is("column")||this.is("columnrange")?e={borderWidth:0,shadow:!1}:this.is("scatter")||this.is("sma")||(e={marker:{enabled:!1,radius:2}}),e&&(t.plotOptions[this.type]=y(t.plotOptions[this.type],e)))})),t(e,"autoLabelAlign",(function(t){var e=this.chart,n=this.options;e=e._labelPanes=e._labelPanes||{};var r=this.options.labels;this.chart.options.isStock&&"yAxis"===this.coll&&!e[n=n.top+","+n.height]&&r.enabled&&(15===r.x&&(r.x=0),"undefined"===typeof r.align&&(r.align="right"),e[n]=this,t.align="right",t.preventDefault())})),t(e,"destroy",(function(){var t=this.chart,e=this.options&&this.options.top+","+this.options.height;e&&t._labelPanes&&t._labelPanes[e]===this&&delete t._labelPanes[e]})),t(e,"getPlotLinePath",(function(t){var e,n,r,o,i=this,a=this.isLinked&&!this.series?this.linkedParent.series:this.series,s=i.chart,l=s.renderer,c=i.left,u=i.top,d=[],f=[],v=t.translatedValue,y=t.value,w=t.force;if(s.options.isStock&&!1!==t.acrossPanes&&"xAxis"===i.coll||"yAxis"===i.coll){t.preventDefault(),f=function(t){var e="xAxis"===t?"yAxis":"xAxis";return t=i.options[e],m(t)?[s[e][t]]:b(t)?[s.get(t)]:a.map((function(t){return t[e]}))}(i.coll),(i.isXAxis?s.yAxis:s.xAxis).forEach((function(t){if(!h(t.options.id)||-1===t.options.id.indexOf("navigator")){var e=t.isXAxis?"yAxis":"xAxis";e=h(t.options[e])?s[e][t.options[e]]:s[e][0],i===e&&f.push(t)}}));var O=f.length?[]:[i.isXAxis?s.yAxis[0]:s.xAxis[0]];f.forEach((function(t){-1!==O.indexOf(t)||g(O,(function(e){return e.pos===t.pos&&e.len===t.len}))||O.push(t)}));var S=x(v,i.translate(y,void 0,void 0,t.old));m(S)&&(i.horiz?O.forEach((function(t){var a;n=t.pos,o=n+t.len,e=r=Math.round(S+i.transB),"pass"!==w&&(e<c||e>c+i.width)&&(w?e=r=p(e,c,c+i.width):a=!0),a||d.push(["M",e,n],["L",r,o])})):O.forEach((function(t){var a;e=t.pos,r=e+t.len,n=o=Math.round(u+i.height-S),"pass"!==w&&(n<u||n>u+i.height)&&(w?n=o=p(n,u,u+i.height):a=!0),a||d.push(["M",e,n],["L",r,o])}))),t.path=0<d.length?l.crispPolyLine(d,t.lineWidth||1):null}})),a.prototype.crispPolyLine=function(t,e){for(var n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];r[1]===o[1]&&(r[1]=o[1]=Math.round(r[1])-e%2/2),r[2]===o[2]&&(r[2]=o[2]=Math.round(r[2])+e%2/2)}return t},t(e,"afterHideCrosshair",(function(){this.crossLabel&&(this.crossLabel=this.crossLabel.hide())})),t(e,"afterDrawCrosshair",(function(t){var e,n;if(this.crosshair&&this.crosshair.label&&this.crosshair.label.enabled&&this.cross&&m(this.min)&&m(this.max)){var r=this.chart,o=this.logarithmic,i=this.crosshair.label,a=this.horiz,s=this.opposite,l=this.left,c=this.top,u=this.crossLabel,f=i.format,p="",h="inside"===this.options.tickPosition,g=!1!==this.crosshair.snap,b=0,y=t.e||this.cross&&this.cross.e;t=t.point;var w=this.min,O=this.max;o&&(w=o.lin2log(w),O=o.lin2log(O)),o=a?"center":s?"right"===this.labelAlign?"right":"left":"left"===this.labelAlign?"left":"center",u||(u=this.crossLabel=r.renderer.label("",0,void 0,i.shape||"callout").addClass("highcharts-crosshair-label highcharts-color-"+(t?t.series.colorIndex:this.series[0]&&this.series[0].colorIndex)).attr({align:i.align||o,padding:x(i.padding,8),r:x(i.borderRadius,3),zIndex:2}).add(this.labelGroup),r.styledMode||u.attr({fill:i.backgroundColor||t&&t.series&&t.series.color||"#666666",stroke:i.borderColor||"","stroke-width":i.borderWidth||0}).css(v({color:"#ffffff",fontWeight:"normal",fontSize:"11px",textAlign:"center"},i.style||{}))),a?(o=g?(t.plotX||0)+l:y.chartX,c+=s?0:this.height):(o=s?this.width+l:0,c=g?(t.plotY||0)+c:y.chartY),f||i.formatter||(this.dateTime&&(p="%b %d, %Y"),f="{value"+(p?":"+p:"")+"}"),p=g?this.isXAxis?t.x:t.y:this.toValue(a?y.chartX:y.chartY),g=t?t.series.isPointInside(t):m(p)&&p>w&&p<O,y="",f?y=d(f,{value:p},r):i.formatter&&m(p)&&(y=i.formatter.call(this,p)),u.attr({text:y,x:o,y:c,visibility:g?"inherit":"hidden"}),i=u.getBBox(),m(u.y)&&(a?(h&&!s||!h&&s)&&(c=u.y-i.height):c=u.y-i.height/2),a?(e=l-i.x,n=l+this.width-i.x):(e="left"===this.labelAlign?l:0,n="right"===this.labelAlign?l+this.width:r.chartWidth),u.translateX<e&&(b=e-u.translateX),u.translateX+i.width>=n&&(b=-(u.translateX+i.width-n)),u.attr({x:o+b,y:c,anchorX:a?o:this.opposite?0:r.chartWidth,anchorY:a?this.opposite?r.chartHeight:0:c+i.height/2})}})),i.prototype.forceCropping=function(){var t=this.chart,e=this.options.dataGrouping;return!1!==this.allowDG&&e&&x(e.enabled,t.options.isStock)},t(n,"update",(function(t){"scrollbar"in(t=t.options)&&this.navigator&&(y(!0,this.options.scrollbar,t.scrollbar),this.navigator.update({},!1),delete t.scrollbar)})),s})),e(n,"masters/modules/stock.src.js",[n["Core/Globals.js"],n["Core/Axis/OrdinalAxis.js"],n["Series/DataModifyComposition.js"],n["Core/Scrollbar.js"],n["Core/Chart/StockChart.js"]],(function(t,e,n,r,o){t.Scrollbar=r,t.StockChart=t.stockChart=o.stockChart,r.compose(t.Axis),e.compose(t.Axis,t.Series,t.Chart),n.compose(t.Series,t.Axis,t.Point)})),e(n,"masters/highstock.src.js",[n["masters/highcharts.src.js"]],(function(t){return t.product="Highstock",t})),n["masters/highstock.src.js"]._modules=n,n["masters/highstock.src.js"]},t.exports?(i.default=i,t.exports=o.document?i(o):i):void 0===(r=function(){return i(o)}.call(e,n,e,t))||(t.exports=r)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);function o(t){return t&&"object"===typeof t&&"default"in t?t:{default:t}}var i=o(r),a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a.apply(this,arguments)},s=function(t){return void 0===t&&(t=""),t+Math.random().toString(36).substr(2,9)},l=document.getElementById.bind(document),c=function(){function t(t){var e=t.watermarkWrapperId,n=t.watermarkId;this.watermarkWrapperId=e,this.watermarkId=n}return t.prototype.getWatermarkWrapperObserver=function(){var t=this,e=l(this.watermarkWrapperId);return new MutationObserver((function(n){var r;n.forEach((function(e){var n=Array.from(e.removedNodes);r=n.find((function(e){return e.id===t.watermarkId}))})),r&&e.prepend(r)}))},t.prototype.getWatermarkObserver=function(){var t=l(this.watermarkId).attributes,e={};return Object.values(t).forEach((function(t){var n=t.name,r=t.value;e[n]=r})),new MutationObserver((function(t){t.forEach((function(t){var n=t.target,r=t.attributeName;r in e?n.getAttribute(r)!==e[r]&&n.setAttribute(r,e[r]):n.removeAttribute(r)}))}))},t}(),u={position:"relative",WebkitPrintColorAdjust:"exact"},d={position:"absolute",top:0,left:0,zIndex:9999,overflow:"hidden",pointerEvents:"none"},f={x:50,y:50};e.default=function(t){var e=t.text,n=t.style,o=t.position,p=void 0===o?f:o,h=t.multiple,v=t.className,g=void 0===v?"":v,m=t.children,b=r.useState(""),y=b[0],x=b[1],w=r.useRef({id:s("watermark-wrapper")}).current.id,O=r.useRef({id:s("watermark")}).current.id,S=r.useRef(null),j=r.useRef(null);r.useEffect((function(){var t=function(t){var e=t.text,n=t.style,r=t.position,o=t.multiple,i=document.createElement("canvas"),a=i.getContext("2d"),s=n.width,l=n.height,c=n.color,u=void 0===c?"#000":c,d=n.fontSize,f=void 0===d?16:d,p=n.fontFamily,h=void 0===p?"sans-serif":p,v=n.opacity,g=void 0===v?.13:v,m=n.rotate,b=void 0===m?25:m,y=n.space,x=void 0===y?0:y;if(i.width=s,i.height=l,a.font=f+"px "+h,a.fillStyle=u,a.globalAlpha=g,o){var w=a.measureText(e).width,O=x||Math.floor(1.5*w),S=x||Math.floor(2.5*f),j=Math.floor(s/2),C=Math.floor(l/2);a.translate(j,C),a.rotate(Math.PI/180*b),a.translate(-j,-C);for(var k=0;k<=s+w;k+=O)for(var E=0;E<=l+S;E+=O)a.fillText(e,k,E)}else{var P=r,_=P.x,M=P.y;a.rotate(Math.PI/180*b),a.fillText(e,_,M)}return i.toDataURL()}({text:e,style:n,position:p,multiple:h});x(t)}),[e,n,p,h]),r.useLayoutEffect((function(){if(y){var t=new c({watermarkWrapperId:w,watermarkId:O}),e=l(w),n=l(O);return e&&null===S.current&&(S.current=t.getWatermarkWrapperObserver(),S.current.observe(e,{childList:!0})),n&&null===j.current&&(j.current=t.getWatermarkObserver(),j.current.observe(n,{attributes:!0,attributeOldValue:!0})),function(){var t,e;null===(t=S.current)||void 0===t||t.disconnect(),null===(e=j.current)||void 0===e||e.disconnect()}}}),[y]);var C=n.width,k=n.height,E=a(a({},u),{width:C,height:k}),P=a(a({},d),{width:C,height:k,backgroundImage:'url("'+y+'")'});return i.default.createElement("div",{id:w,className:g,style:E},y&&i.default.createElement("div",{id:O,style:P}),m)}},function(t,e,n){"use strict";(function(t){var r=n(172),o=n(1),i=n.n(o),a=n(713),s=n.n(a),l=n(714),c=n(400),u=n(284),d=n(134),f=n.n(d);function p(){return(p=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 h=function(t,e){for(var n=[t[0]],r=0,o=e.length;r<o;r+=1)n.push(e[r],t[r+1]);return n},v=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!Object(r.typeOf)(t)},g=Object.freeze([]),m=Object.freeze({});function b(t){return"function"==typeof t}function y(t){return t.displayName||t.name||"Component"}function x(t){return t&&"string"==typeof t.styledComponentId}var w="undefined"!=typeof t&&(Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).REACT_APP_SC_ATTR||Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).SC_ATTR)||"data-styled",O="undefined"!=typeof window&&"HTMLElement"in window,S=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof t&&void 0!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).REACT_APP_SC_DISABLE_SPEEDY&&""!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).REACT_APP_SC_DISABLE_SPEEDY?"false"!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).REACT_APP_SC_DISABLE_SPEEDY&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof t&&void 0!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).SC_DISABLE_SPEEDY&&""!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).SC_DISABLE_SPEEDY&&("false"!==Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).SC_DISABLE_SPEEDY&&Object({NODE_ENV:"production",PUBLIC_URL:"",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0,REACT_APP_VERSION:"2.0",REACT_APP_SERVER_URL_SLOW:"https://api-lite.fintechinsights.io",REACT_APP_SERVER_URL:"https://api-lite.fintechinsights.io",REACT_APP_PUBLIC_URL:"https://lite.fintechinsights.io"}).SC_DISABLE_SPEEDY));function j(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+t+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var C=function(){function t(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}var e=t.prototype;return e.indexOfGroup=function(t){for(var e=0,n=0;n<t;n++)e+=this.groupSizes[n];return e},e.insertRules=function(t,e){if(t>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;t>=o;)(o<<=1)<0&&j(16,""+t);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var i=r;i<o;i++)this.groupSizes[i]=0}for(var a=this.indexOfGroup(t+1),s=0,l=e.length;s<l;s++)this.tag.insertRule(a,e[s])&&(this.groupSizes[t]++,a++)},e.clearGroup=function(t){if(t<this.length){var e=this.groupSizes[t],n=this.indexOfGroup(t),r=n+e;this.groupSizes[t]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.getGroup=function(t){var e="";if(t>=this.length||0===this.groupSizes[t])return e;for(var n=this.groupSizes[t],r=this.indexOfGroup(t),o=r+n,i=r;i<o;i++)e+=this.tag.getRule(i)+"/*!sc*/\n";return e},t}(),k=new Map,E=new Map,P=1,_=function(t){if(k.has(t))return k.get(t);for(;E.has(P);)P++;var e=P++;return k.set(t,e),E.set(e,t),e},M=function(t){return E.get(t)},T=function(t,e){e>=P&&(P=e+1),k.set(t,e),E.set(e,t)},A="style["+w+'][data-styled-version="5.3.5"]',R=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),D=function(t,e,n){for(var r,o=n.split(","),i=0,a=o.length;i<a;i++)(r=o[i])&&t.registerName(e,r)},I=function(t,e){for(var n=(e.textContent||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var a=n[o].trim();if(a){var s=a.match(R);if(s){var l=0|parseInt(s[1],10),c=s[2];0!==l&&(T(c,l),D(t,c,s[3]),t.getTag().insertRules(l,r)),r.length=0}else r.push(a)}}},N=function(){return"undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},L=function(t){var e=document.head,n=t||e,r=document.createElement("style"),o=function(t){for(var e=t.childNodes,n=e.length;n>=0;n--){var r=e[n];if(r&&1===r.nodeType&&r.hasAttribute(w))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(w,"active"),r.setAttribute("data-styled-version","5.3.5");var a=N();return a&&r.setAttribute("nonce",a),n.insertBefore(r,i),r},F=function(){function t(t){var e=this.element=L(t);e.appendChild(document.createTextNode("")),this.sheet=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets,n=0,r=e.length;n<r;n++){var o=e[n];if(o.ownerNode===t)return o}j(17)}(e),this.length=0}var e=t.prototype;return e.insertRule=function(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}},e.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.getRule=function(t){var e=this.sheet.cssRules[t];return void 0!==e&&"string"==typeof e.cssText?e.cssText:""},t}(),B=function(){function t(t){var e=this.element=L(t);this.nodes=e.childNodes,this.length=0}var e=t.prototype;return e.insertRule=function(t,e){if(t<=this.length&&t>=0){var n=document.createTextNode(e),r=this.nodes[t];return this.element.insertBefore(n,r||null),this.length++,!0}return!1},e.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},t}(),z=function(){function t(t){this.rules=[],this.length=0}var e=t.prototype;return e.insertRule=function(t,e){return t<=this.length&&(this.rules.splice(t,0,e),this.length++,!0)},e.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.getRule=function(t){return t<this.length?this.rules[t]:""},t}(),H=O,V={isServer:!O,useCSSOMInjection:!S},U=function(){function t(t,e,n){void 0===t&&(t=m),void 0===e&&(e={}),this.options=p({},V,{},t),this.gs=e,this.names=new Map(n),this.server=!!t.isServer,!this.server&&O&&H&&(H=!1,function(t){for(var e=document.querySelectorAll(A),n=0,r=e.length;n<r;n++){var o=e[n];o&&"active"!==o.getAttribute(w)&&(I(t,o),o.parentNode&&o.parentNode.removeChild(o))}}(this))}t.registerId=function(t){return _(t)};var e=t.prototype;return e.reconstructWithOptions=function(e,n){return void 0===n&&(n=!0),new t(p({},this.options,{},e),this.gs,n&&this.names||void 0)},e.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.getTag=function(){return this.tag||(this.tag=(n=(e=this.options).isServer,r=e.useCSSOMInjection,o=e.target,t=n?new z(o):r?new F(o):new B(o),new C(t)));var t,e,n,r,o},e.hasNameForId=function(t,e){return this.names.has(t)&&this.names.get(t).has(e)},e.registerName=function(t,e){if(_(t),this.names.has(t))this.names.get(t).add(e);else{var n=new Set;n.add(e),this.names.set(t,n)}},e.insertRules=function(t,e,n){this.registerName(t,e),this.getTag().insertRules(_(t),n)},e.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.clearRules=function(t){this.getTag().clearGroup(_(t)),this.clearNames(t)},e.clearTag=function(){this.tag=void 0},e.toString=function(){return function(t){for(var e=t.getTag(),n=e.length,r="",o=0;o<n;o++){var i=M(o);if(void 0!==i){var a=t.names.get(i),s=e.getGroup(o);if(a&&s&&a.size){var l=w+".g"+o+'[id="'+i+'"]',c="";void 0!==a&&a.forEach((function(t){t.length>0&&(c+=t+",")})),r+=""+s+l+'{content:"'+c+'"}/*!sc*/\n'}}}return r}(this)},t}(),W=/(a)(d)/gi,q=function(t){return String.fromCharCode(t+(t>25?39:97))};function G(t){var e,n="";for(e=Math.abs(t);e>52;e=e/52|0)n=q(e%52)+n;return(q(e%52)+n).replace(W,"$1-$2")}var Y=function(t,e){for(var n=e.length;n;)t=33*t^e.charCodeAt(--n);return t},X=function(t){return Y(5381,t)};function K(t){for(var e=0;e<t.length;e+=1){var n=t[e];if(b(n)&&!x(n))return!1}return!0}var $=X("5.3.5"),Z=function(){function t(t,e,n){this.rules=t,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&K(t),this.componentId=e,this.baseHash=Y($,e),this.baseStyle=n,U.registerId(e)}return t.prototype.generateAndInjectStyles=function(t,e,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(t,e,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&e.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else{var i=vt(this.rules,t,e,n).join(""),a=G(Y(this.baseHash,i)>>>0);if(!e.hasNameForId(r,a)){var s=n(i,"."+a,void 0,r);e.insertRules(r,a,s)}o.push(a),this.staticRulesId=a}else{for(var l=this.rules.length,c=Y(this.baseHash,n.hash),u="",d=0;d<l;d++){var f=this.rules[d];if("string"==typeof f)u+=f;else if(f){var p=vt(f,t,e,n),h=Array.isArray(p)?p.join(""):p;c=Y(c,h+d),u+=h}}if(u){var v=G(c>>>0);if(!e.hasNameForId(r,v)){var g=n(u,"."+v,void 0,r);e.insertRules(r,v,g)}o.push(v)}}return o.join(" ")},t}(),Q=/^\s*\/\/.*$/gm,J=[":","[",".","#"];function tt(t){var e,n,r,o,i=void 0===t?m:t,a=i.options,s=void 0===a?m:a,c=i.plugins,u=void 0===c?g:c,d=new l.a(s),f=[],p=function(t){function e(e){if(e)try{t(e+"}")}catch(t){}}return function(n,r,o,i,a,s,l,c,u,d){switch(n){case 1:if(0===u&&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(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(e)}}}((function(t){f.push(t)})),h=function(t,r,i){return 0===r&&-1!==J.indexOf(i[n.length])||i.match(o)?t:"."+e};function v(t,i,a,s){void 0===s&&(s="&");var l=t.replace(Q,""),c=i&&a?a+" "+i+" { "+l+" }":l;return e=s,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),d(a||!i?"":i,c)}return d.use([].concat(u,[function(t,e,o){2===t&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,h))},p,function(t){if(-2===t){var e=f;return f=[],e}}])),v.hash=u.length?u.reduce((function(t,e){return e.name||j(15),Y(t,e.name)}),5381).toString():"",v}var et=i.a.createContext(),nt=(et.Consumer,i.a.createContext()),rt=(nt.Consumer,new U),ot=tt();function it(){return Object(o.useContext)(et)||rt}function at(){return Object(o.useContext)(nt)||ot}function st(t){var e=Object(o.useState)(t.stylisPlugins),n=e[0],r=e[1],a=it(),l=Object(o.useMemo)((function(){var e=a;return t.sheet?e=t.sheet:t.target&&(e=e.reconstructWithOptions({target:t.target},!1)),t.disableCSSOMInjection&&(e=e.reconstructWithOptions({useCSSOMInjection:!1})),e}),[t.disableCSSOMInjection,t.sheet,t.target]),c=Object(o.useMemo)((function(){return tt({options:{prefix:!t.disableVendorPrefixes},plugins:n})}),[t.disableVendorPrefixes,n]);return Object(o.useEffect)((function(){s()(n,t.stylisPlugins)||r(t.stylisPlugins)}),[t.stylisPlugins]),i.a.createElement(et.Provider,{value:l},i.a.createElement(nt.Provider,{value:c},t.children))}var lt=function(){function t(t,e){var n=this;this.inject=function(t,e){void 0===e&&(e=ot);var r=n.name+e.hash;t.hasNameForId(n.id,r)||t.insertRules(n.id,r,e(n.rules,r,"@keyframes"))},this.toString=function(){return j(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=e}return t.prototype.getName=function(t){return void 0===t&&(t=ot),this.name+t.hash},t}(),ct=/([A-Z])/,ut=/([A-Z])/g,dt=/^ms-/,ft=function(t){return"-"+t.toLowerCase()};function pt(t){return ct.test(t)?t.replace(ut,ft).replace(dt,"-ms-"):t}var ht=function(t){return null==t||!1===t||""===t};function vt(t,e,n,r){if(Array.isArray(t)){for(var o,i=[],a=0,s=t.length;a<s;a+=1)""!==(o=vt(t[a],e,n,r))&&(Array.isArray(o)?i.push.apply(i,o):i.push(o));return i}return ht(t)?"":x(t)?"."+t.styledComponentId:b(t)?"function"!=typeof(l=t)||l.prototype&&l.prototype.isReactComponent||!e?t:vt(t(e),e,n,r):t instanceof lt?n?(t.inject(n,r),t.getName(r)):t:v(t)?function t(e,n){var r,o,i=[];for(var a in e)e.hasOwnProperty(a)&&!ht(e[a])&&(Array.isArray(e[a])&&e[a].isCss||b(e[a])?i.push(pt(a)+":",e[a],";"):v(e[a])?i.push.apply(i,t(e[a],a)):i.push(pt(a)+": "+(r=a,(null==(o=e[a])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in c.a?String(o).trim():o+"px")+";")));return n?[n+" {"].concat(i,["}"]):i}(t):t.toString();var l}var gt=function(t){return Array.isArray(t)&&(t.isCss=!0),t};function mt(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 b(t)||v(t)?gt(vt(h(g,[t].concat(n)))):0===n.length&&1===t.length&&"string"==typeof t[0]?t:gt(vt(h(t,n)))}new Set;var bt=function(t,e,n){return void 0===n&&(n=m),t.theme!==n.theme&&t.theme||e||n.theme},yt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xt=/(^-|-$)/g;function wt(t){return t.replace(yt,"-").replace(xt,"")}var Ot=function(t){return G(X(t)>>>0)};function St(t){return"string"==typeof t&&!0}var jt=function(t){return"function"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)},Ct=function(t){return"__proto__"!==t&&"constructor"!==t&&"prototype"!==t};function kt(t,e,n){var r=t[n];jt(e)&&jt(r)?Et(r,e):t[n]=e}function Et(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];if(jt(a))for(var s in a)Ct(s)&&kt(t,a[s],s)}return t}var Pt=i.a.createContext();Pt.Consumer;var _t={};function Mt(t,e,n){var r=x(t),a=!St(t),s=e.attrs,l=void 0===s?g:s,c=e.componentId,d=void 0===c?function(t,e){var n="string"!=typeof t?"sc":wt(t);_t[n]=(_t[n]||0)+1;var r=n+"-"+Ot("5.3.5"+n+_t[n]);return e?e+"-"+r:r}(e.displayName,e.parentComponentId):c,h=e.displayName,v=void 0===h?function(t){return St(t)?"styled."+t:"Styled("+y(t)+")"}(t):h,w=e.displayName&&e.componentId?wt(e.displayName)+"-"+e.componentId:e.componentId||d,O=r&&t.attrs?Array.prototype.concat(t.attrs,l).filter(Boolean):l,S=e.shouldForwardProp;r&&t.shouldForwardProp&&(S=e.shouldForwardProp?function(n,r,o){return t.shouldForwardProp(n,r,o)&&e.shouldForwardProp(n,r,o)}:t.shouldForwardProp);var j,C=new Z(n,w,r?t.componentStyle:void 0),k=C.isStatic&&0===l.length,E=function(t,e){return function(t,e,n,r){var i=t.attrs,a=t.componentStyle,s=t.defaultProps,l=t.foldedComponentIds,c=t.shouldForwardProp,d=t.styledComponentId,f=t.target,h=function(t,e,n){void 0===t&&(t=m);var r=p({},e,{theme:t}),o={};return n.forEach((function(t){var e,n,i,a=t;for(e in b(a)&&(a=a(r)),a)r[e]=o[e]="className"===e?(n=o[e],i=a[e],n&&i?n+" "+i:n||i):a[e]})),[r,o]}(bt(e,Object(o.useContext)(Pt),s)||m,e,i),v=h[0],g=h[1],y=function(t,e,n,r){var o=it(),i=at();return e?t.generateAndInjectStyles(m,o,i):t.generateAndInjectStyles(n,o,i)}(a,r,v),x=n,w=g.$as||e.$as||g.as||e.as||f,O=St(w),S=g!==e?p({},e,{},g):e,j={};for(var C in S)"$"!==C[0]&&"as"!==C&&("forwardedAs"===C?j.as=S[C]:(c?c(C,u.a,w):!O||Object(u.a)(C))&&(j[C]=S[C]));return e.style&&g.style!==e.style&&(j.style=p({},e.style,{},g.style)),j.className=Array.prototype.concat(l,d,y!==d?y:null,e.className,g.className).filter(Boolean).join(" "),j.ref=x,Object(o.createElement)(w,j)}(j,t,e,k)};return E.displayName=v,(j=i.a.forwardRef(E)).attrs=O,j.componentStyle=C,j.displayName=v,j.shouldForwardProp=S,j.foldedComponentIds=r?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):g,j.styledComponentId=w,j.target=r?t.target:t,j.withComponent=function(t){var r=e.componentId,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(e,["componentId"]),i=r&&r+"-"+(St(t)?t:wt(y(t)));return Mt(t,p({},o,{attrs:O,componentId:i}),n)},Object.defineProperty(j,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=r?Et({},t.defaultProps,e):e}}),j.toString=function(){return"."+j.styledComponentId},a&&f()(j,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),j}var Tt=function(t){return function t(e,n,o){if(void 0===o&&(o=m),!Object(r.isValidElementType)(n))return j(1,String(n));var i=function(){return e(n,o,mt.apply(void 0,arguments))};return i.withConfig=function(r){return t(e,n,p({},o,{},r))},i.attrs=function(r){return t(e,n,p({},o,{attrs:Array.prototype.concat(o.attrs,r).filter(Boolean)}))},i}(Mt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(t){Tt[t]=Tt(t)}));!function(){function t(t,e){this.rules=t,this.componentId=e,this.isStatic=K(t),U.registerId(this.componentId+1)}var e=t.prototype;e.createStyles=function(t,e,n,r){var o=r(vt(this.rules,e,n,r).join(""),""),i=this.componentId+t;n.insertRules(i,i,o)},e.removeStyles=function(t,e){e.clearRules(this.componentId+t)},e.renderStyles=function(t,e,n,r){t>2&&U.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,e,n,r)}}();!function(){function t(){var t=this;this._emitSheetCSS=function(){var e=t.instance.toString();if(!e)return"";var n=N();return"<style "+[n&&'nonce="'+n+'"',w+'="true"','data-styled-version="5.3.5"'].filter(Boolean).join(" ")+">"+e+"</style>"},this.getStyleTags=function(){return t.sealed?j(2):t._emitSheetCSS()},this.getStyleElement=function(){var e;if(t.sealed)return j(2);var n=((e={})[w]="",e["data-styled-version"]="5.3.5",e.dangerouslySetInnerHTML={__html:t.instance.toString()},e),r=N();return r&&(n.nonce=r),[i.a.createElement("style",p({},n,{key:"sc-0-0"}))]},this.seal=function(){t.sealed=!0},this.instance=new U({isServer:!0}),this.sealed=!1}var e=t.prototype;e.collectStyles=function(t){return this.sealed?j(2):i.a.createElement(st,{sheet:this.instance},t)},e.interleaveWithNodeStream=function(t){return j(3)}}();e.a=Tt}).call(this,n(171))},function(t,e){t.exports=function(t,e,n,r){var o=n?n.call(r,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!==typeof t||!t||"object"!==typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=t[c],d=e[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},function(t,e,n){"use strict";e.a=function(t){function e(t,r,l,c,f){for(var p,h,v,g,x,O=0,S=0,j=0,C=0,k=0,A=0,D=v=p=0,N=0,L=0,F=0,B=0,z=l.length,H=z-1,V="",U="",W="",q="";N<z;){if(h=l.charCodeAt(N),N===H&&0!==S+C+j+O&&(0!==S&&(h=47===S?10:47),C=j=O=0,z++,H++),0===S+C+j+O){if(N===H&&(0<L&&(V=V.replace(d,"")),0<V.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:V+=l.charAt(N)}h=59}switch(h){case 123:for(p=(V=V.trim()).charCodeAt(0),v=1,B=++N;N<z;){switch(h=l.charCodeAt(N)){case 123:v++;break;case 125:v--;break;case 47:switch(h=l.charCodeAt(N+1)){case 42:case 47:t:{for(D=N+1;D<H;++D)switch(l.charCodeAt(D)){case 47:if(42===h&&42===l.charCodeAt(D-1)&&N+2!==D){N=D+1;break t}break;case 10:if(47===h){N=D+1;break t}}N=D}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<H&&l.charCodeAt(N)!==h;);}if(0===v)break;N++}if(v=l.substring(B,N),0===p&&(p=(V=V.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(V=V.replace(d,"")),h=V.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=T}if(B=(v=e(r,L,v,h,f+1)).length,0<R&&(x=s(3,v,L=n(T,V,F),r,P,E,B,h,f,c),V=L.join(""),void 0!==x&&0===(B=(v=x.trim()).length)&&(h=0,v="")),0<B)switch(h){case 115:V=V.replace(w,a);case 100:case 109:case 45:v=V+"{"+v+"}";break;case 107:v=(V=V.replace(m,"$1 $2"))+"{"+v+"}",v=1===M||2===M&&i("@"+v,3)?"@-webkit-"+v+"@"+v:"@"+v;break;default:v=V+v,112===c&&(U+=v,v="")}else v=""}else v=e(r,n(r,V,F),v,c,f+1);W+=v,v=F=L=D=p=0,V="",h=l.charCodeAt(++N);break;case 125:case 59:if(1<(B=(V=(0<L?V.replace(d,""):V).trim()).length))switch(0===D&&(p=V.charCodeAt(0),45===p||96<p&&123>p)&&(B=(V=V.replace(" ",":")).length),0<R&&void 0!==(x=s(1,V,r,t,P,E,U.length,c,f,c))&&0===(B=(V=x.trim()).length)&&(V="\0\0"),p=V.charCodeAt(0),h=V.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){q+=V+l.charAt(N);break}default:58!==V.charCodeAt(B-1)&&(U+=o(V,p,h,V.charCodeAt(2)))}F=L=D=p=0,V="",h=l.charCodeAt(++N)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==c&&0<V.length&&(L=1,V+="\0"),0<R*I&&s(0,V,r,t,P,E,U.length,c,f,c),E=1,P++;break;case 59:case 125:if(0===S+C+j+O){E++;break}default:switch(E++,g=l.charAt(N),h){case 9:case 32:if(0===C+O+S)switch(k){case 44:case 58:case 9:case 32:g="";break;default:32!==h&&(g=" ")}break;case 0:g="\\0";break;case 12:g="\\f";break;case 11:g="\\v";break;case 38:0===C+S+O&&(L=F=1,g="\f"+g);break;case 108:if(0===C+S+O+_&&0<D)switch(N-D){case 2:112===k&&58===l.charCodeAt(N-3)&&(_=k);case 8:111===A&&(_=A)}break;case 58:0===C+S+O&&(D=N);break;case 44:0===S+j+C+O&&(L=1,g+="\r");break;case 34:case 39:0===S&&(C=C===h?0:0===C?h:C);break;case 91:0===C+S+j&&O++;break;case 93:0===C+S+j&&O--;break;case 41:0===C+S+O&&j--;break;case 40:if(0===C+S+O){if(0===p)if(2*k+3*A===533);else p=1;j++}break;case 64:0===S+j+C+O+D+v&&(v=1);break;case 42:case 47:if(!(0<C+O+j))switch(S){case 0:switch(2*h+3*l.charCodeAt(N+1)){case 235:S=47;break;case 220:B=N,S=42}break;case 42:47===h&&42===k&&B+2!==N&&(33===l.charCodeAt(B+2)&&(U+=l.substring(B,N+1)),g="",S=0)}}0===S&&(V+=g)}A=k,k=h,N++}if(0<(B=U.length)){if(L=r,0<R&&(void 0!==(x=s(2,U,L,t,P,E,B,c,f,c))&&0===(U=x).length))return q+U+W;if(U=L.join(",")+"{"+U+"}",0!==M*_){switch(2!==M||i(U,2)||(_=0),_){case 111:U=U.replace(y,":-moz-$1")+U;break;case 112:U=U.replace(b,"::-webkit-input-$1")+U.replace(b,"::-moz-$1")+U.replace(b,":-ms-input-$1")+U}_=0}}return q+U+W}function n(t,e,n){var o=e.trim().split(v);e=o;var i=o.length,a=t.length;switch(a){case 0:case 1:var s=0;for(t=0===a?"":t[0]+" ";s<i;++s)e[s]=r(t,e[s],n).trim();break;default:var l=s=0;for(e=[];s<i;++s)for(var c=0;c<a;++c)e[l++]=r(t[c]+" ",o[s],n).trim()}return e}function r(t,e,n){var r=e.charCodeAt(0);switch(33>r&&(r=(e=e.trim()).charCodeAt(0)),r){case 38:return e.replace(g,"$1"+t.trim());case 58:return t.trim()+e.replace(g,"$1"+t.trim());default:if(0<1*n&&0<e.indexOf("\f"))return e.replace(g,(58===t.charCodeAt(0)?"":"$1")+t.trim())}return t+e}function o(t,e,n,r){var a=t+";",s=2*e+3*n+4*r;if(944===s){t=a.indexOf(":",9)+1;var l=a.substring(t,a.length-1).trim();return l=a.substring(0,t).trim()+l+";",1===M||2===M&&i(l,1)?"-webkit-"+l+l:l}if(0===M||2===M&&!i(a,1))return a;switch(s){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(k,"$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"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return p.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(e=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(e)){case 226:l=a.replace(x,"tb");break;case 232:l=a.replace(x,"tb-rl");break;case 220:l=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(e=(a=t).length-10,s=(l=(33===a.charCodeAt(e)?a.substring(0,e):a).substring(t.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(S,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(S,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===C.test(t))return 115===(l=t.substring(t.indexOf(":")+1)).charCodeAt(0)?o(t.replace("stretch","fill-available"),e,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$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(j,"$1"),n,e)}function a(t,e){var n=o(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return n!==e+";"?n.replace(O," or ($1)").substring(4):"("+e+")"}function s(t,e,n,r,o,i,a,s,l,u){for(var d,f=0,p=e;f<R;++f)switch(d=A[f].call(c,t,p,n,r,o,i,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==e)return p}function l(t){return void 0!==(t=t.prefix)&&(D=null,t?"function"!==typeof t?M=1:(M=2,D=t):M=0),l}function c(t,n){var r=t;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<R){var o=s(-1,n,r,r,P,E,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var i=e(T,r,n,0,0);return 0<R&&(void 0!==(o=s(-2,i,r,r,P,E,i.length,0,0,0))&&(i=o)),"",_=0,E=P=1,i}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,v=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,m=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,y=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,S=/-self|flex-/g,j=/[^]*?(:[rp][el]a[\w-]+)[^]*/,C=/stretch|:\s*\w+\-(?:conte|avail)/,k=/([^-])(image-set\()/,E=1,P=1,_=0,M=1,T=[],A=[],R=0,D=null,I=0;return c.use=function t(e){switch(e){case void 0:case null:R=A.length=0;break;default:if("function"===typeof e)A[R++]=e;else if("object"===typeof e)for(var n=0,r=e.length;n<r;++n)t(e[n]);else I=0|!!e}return t},c.set=l,void 0!==t&&l(t),c}},function(t,e,n){var r,o,i;i=function(t){function e(t,e,n,r){t.hasOwnProperty(e)||(t[e]=r.apply(null,n),"function"===typeof CustomEvent&&window.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:e,module:t[e]}})))}e(t=t?t._modules:{},"Extensions/Annotations/Mixins/EventEmitterMixin.js",[t["Core/Globals.js"],t["Core/Utilities.js"]],(function(t,e){var n=e.addEvent,r=e.fireEvent,o=e.objectEach,i=e.pick,a=e.removeEvent;return{addEvents:function(){var e=this,i=function(r){n(r,t.isTouchDevice?"touchstart":"mousedown",(function(t){e.onMouseDown(t)}),{passive:!1})};if(i(this.graphic.element),(e.labels||[]).forEach((function(t){t.options.useHTML&&t.graphic.text&&i(t.graphic.text.element)})),o(e.options.events,(function(t,r){var o=function(n){"click"===r&&e.cancelClick||t.call(e,e.chart.pointer.normalize(n),e.target)};-1===(e.nonDOMEvents||[]).indexOf(r)?e.graphic.on(r,o):n(e,r,o,{passive:!1})})),e.options.draggable&&(n(e,"drag",e.onDrag),!e.graphic.renderer.styledMode)){var a={cursor:{x:"ew-resize",y:"ns-resize",xy:"move"}[e.options.draggable]};e.graphic.css(a),(e.labels||[]).forEach((function(t){t.options.useHTML&&t.graphic.text&&t.graphic.text.css(a)}))}e.isUpdating||r(e,"add")},removeDocEvents:function(){this.removeDrag&&(this.removeDrag=this.removeDrag()),this.removeMouseUp&&(this.removeMouseUp=this.removeMouseUp())},onMouseDown:function(e){var o=this,a=o.chart.pointer;if(e.preventDefault&&e.preventDefault(),2!==e.button){var s=(e=a.normalize(e)).chartX,l=e.chartY;o.cancelClick=!1,o.chart.hasDraggedAnnotation=!0,o.removeDrag=n(t.doc,t.isTouchDevice?"touchmove":"mousemove",(function(t){o.hasDragged=!0,(t=a.normalize(t)).prevChartX=s,t.prevChartY=l,r(o,"drag",t),s=t.chartX,l=t.chartY}),t.isTouchDevice?{passive:!1}:void 0),o.removeMouseUp=n(t.doc,t.isTouchDevice?"touchend":"mouseup",(function(t){var e=i(o.target&&o.target.annotation,o.target);e&&(e.cancelClick=o.hasDragged),o.cancelClick=o.hasDragged,o.hasDragged=!1,o.chart.hasDraggedAnnotation=!1,r(i(e,o),"afterUpdate"),o.onMouseUp(t)}),t.isTouchDevice?{passive:!1}:void 0)}},onMouseUp:function(t){var e=this.chart;t=this.target||this;var n=e.options.annotations;e=e.annotations.indexOf(t),this.removeDocEvents(),n[e]=t.options},onDrag:function(t){if(this.chart.isInsidePlot(t.chartX-this.chart.plotLeft,t.chartY-this.chart.plotTop,{visiblePlotOnly:!0})){var e=this.mouseMoveToTranslation(t);"x"===this.options.draggable&&(e.y=0),"y"===this.options.draggable&&(e.x=0),this.points.length?this.translate(e.x,e.y):(this.shapes.forEach((function(t){t.translate(e.x,e.y)})),this.labels.forEach((function(t){t.translate(e.x,e.y)}))),this.redraw(!1)}},mouseMoveToRadians:function(t,e,n){var r=t.prevChartY-n,o=t.prevChartX-e;return n=t.chartY-n,t=t.chartX-e,this.chart.inverted&&(e=o,o=r,r=e,e=t,t=n,n=e),Math.atan2(n,t)-Math.atan2(r,o)},mouseMoveToTranslation:function(t){var e=t.chartX-t.prevChartX;if(t=t.chartY-t.prevChartY,this.chart.inverted){var n=t;t=e,e=n}return{x:e,y:t}},mouseMoveToScale:function(t,e,n){return e=(t.chartX-e||1)/(t.prevChartX-e||1),t=(t.chartY-n||1)/(t.prevChartY-n||1),this.chart.inverted&&(n=t,t=e,e=n),{x:e,y:t}},destroy:function(){this.removeDocEvents(),a(this),this.hcEvents=null}}})),e(t,"Extensions/Annotations/ControlPoint.js",[t["Core/Utilities.js"],t["Extensions/Annotations/Mixins/EventEmitterMixin.js"]],(function(t,e){var n=t.merge,r=t.pick;return function(){function t(t,n,o,i){this.addEvents=e.addEvents,this.graphic=void 0,this.mouseMoveToRadians=e.mouseMoveToRadians,this.mouseMoveToScale=e.mouseMoveToScale,this.mouseMoveToTranslation=e.mouseMoveToTranslation,this.onDrag=e.onDrag,this.onMouseDown=e.onMouseDown,this.onMouseUp=e.onMouseUp,this.removeDocEvents=e.removeDocEvents,this.nonDOMEvents=["drag"],this.chart=t,this.target=n,this.options=o,this.index=r(o.index,i)}return t.prototype.setVisibility=function(t){this.graphic[t?"show":"hide"](),this.options.visible=t},t.prototype.render=function(){var t=this.chart,e=this.options;this.graphic=t.renderer.symbol(e.symbol,0,0,e.width,e.height).add(t.controlPointsGroup).css(e.style),this.setVisibility(e.visible),this.addEvents()},t.prototype.redraw=function(t){this.graphic[t?"animate":"attr"](this.options.positioner.call(this,this.target))},t.prototype.destroy=function(){e.destroy.call(this),this.graphic&&(this.graphic=this.graphic.destroy()),this.options=this.target=this.chart=null},t.prototype.update=function(t){var e=this.chart,r=this.target,o=this.index;t=n(!0,this.options,t),this.destroy(),this.constructor(e,r,t,o),this.render(e.controlPointsGroup),this.redraw()},t}()})),e(t,"Extensions/Annotations/MockPoint.js",[t["Core/Series/Series.js"],t["Core/Utilities.js"],t["Core/Axis/Axis.js"]],(function(t,e,n){var r=e.defined,o=e.fireEvent;return function(){function e(e,n,r){this.y=this.x=this.ttBelow=this.plotY=this.plotX=this.negative=this.isInside=void 0,this.mock=!0,this.series={visible:!0,chart:e,getPlotBox:t.prototype.getPlotBox},this.target=n||null,this.options=r,this.applyOptions(this.getOptions())}return e.fromPoint=function(t){return new e(t.series.chart,null,{x:t.x,y:t.y,xAxis:t.series.xAxis,yAxis:t.series.yAxis})},e.pointToPixels=function(t,e){var n=t.series,r=n.chart,o=t.plotX,i=t.plotY;return r.inverted&&(t.mock?(o=t.plotY,i=t.plotX):(o=r.plotWidth-t.plotY,i=r.plotHeight-t.plotX)),n&&!e&&(o+=(t=n.getPlotBox()).translateX,i+=t.translateY),{x:o,y:i}},e.pointToOptions=function(t){return{x:t.x,y:t.y,xAxis:t.series.xAxis,yAxis:t.series.yAxis}},e.prototype.hasDynamicOptions=function(){return"function"===typeof this.options},e.prototype.getOptions=function(){return this.hasDynamicOptions()?this.options(this.target):this.options},e.prototype.applyOptions=function(t){this.command=t.command,this.setAxis(t,"x"),this.setAxis(t,"y"),this.refresh()},e.prototype.setAxis=function(t,e){t=t[e+="Axis"];var o=this.series.chart;this.series[e]=t instanceof n?t:r(t)?o[e][t]||o.get(t):null},e.prototype.toAnchor=function(){var t=[this.plotX,this.plotY,0,0];return this.series.chart.inverted&&(t[0]=this.plotY,t[1]=this.plotX),t},e.prototype.getLabelConfig=function(){return{x:this.x,y:this.y,point:this}},e.prototype.isInsidePlot=function(){var t=this.plotX,e=this.plotY,n=this.series.xAxis,i=this.series.yAxis,a={x:t,y:e,isInsidePlot:!0};return n&&(a.isInsidePlot=r(t)&&0<=t&&t<=n.len),i&&(a.isInsidePlot=a.isInsidePlot&&r(e)&&0<=e&&e<=i.len),o(this.series.chart,"afterIsInsidePlot",a),a.isInsidePlot},e.prototype.refresh=function(){var t=this.series,e=t.xAxis;t=t.yAxis;var n=this.getOptions();e?(this.x=n.x,this.plotX=e.toPixels(n.x,!0)):(this.x=void 0,this.plotX=n.x),t?(this.y=n.y,this.plotY=t.toPixels(n.y,!0)):(this.y=null,this.plotY=n.y),this.isInside=this.isInsidePlot()},e.prototype.translate=function(t,e,n,r){this.hasDynamicOptions()||(this.plotX+=n,this.plotY+=r,this.refreshOptions())},e.prototype.scale=function(t,e,n,r){if(!this.hasDynamicOptions()){var o=this.plotY*r;this.plotX=(1-n)*t+this.plotX*n,this.plotY=(1-r)*e+o,this.refreshOptions()}},e.prototype.rotate=function(t,e,n){if(!this.hasDynamicOptions()){var r=Math.cos(n);n=Math.sin(n);var o=this.plotX,i=this.plotY;o-=t,i-=e,this.plotX=o*r-i*n+t,this.plotY=o*n+i*r+e,this.refreshOptions()}},e.prototype.refreshOptions=function(){var t=this.series,e=t.xAxis;t=t.yAxis,this.x=this.options.x=e?this.options.x=e.toValue(this.plotX,!0):this.plotX,this.y=this.options.y=t?t.toValue(this.plotY,!0):this.plotY},e}()})),e(t,"Extensions/Annotations/Mixins/ControllableMixin.js",[t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Tooltip.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=r.isObject,i=r.isString,a=r.merge,s=r.splat;return{init:function(t,e,n){this.annotation=t,this.chart=t.chart,this.options=e,this.points=[],this.controlPoints=[],this.index=n,this.linkPoints(),this.addControlPoints()},attr:function(){this.graphic.attr.apply(this.graphic,arguments)},getPointsOptions:function(){var t=this.options;return t.points||t.point&&s(t.point)},attrsFromOptions:function(t){var e,n=this.constructor.attrsMap,r={},o=this.chart.styledMode;for(e in t){var i=n[e];!i||o&&-1!==["fill","stroke","stroke-width"].indexOf(i)||(r[i]=t[e])}return r},anchor:function(t){var e=t.series.getPlotBox(),r=t.series.chart,o=t.mock?t.toAnchor():n.prototype.getAnchor.call({chart:t.series.chart},t);return{relativePosition:o={x:o[0]+(this.options.x||0),y:o[1]+(this.options.y||0),height:o[2]||0,width:o[3]||0},absolutePosition:a(o,{x:o.x+(t.mock?e.translateX:r.plotLeft),y:o.y+(t.mock?e.translateY:r.plotTop)})}},point:function(t,n){return t&&t.series?t:(n&&null!==n.series||(o(t)?n=new e(this.chart,this,t):i(t)?n=this.chart.get(t)||null:"function"===typeof t&&(n=(n=t.call(n,this)).series?n:new e(this.chart,this,t))),n)},linkPoints:function(){var t,e=this.getPointsOptions(),n=this.points,r=e&&e.length||0;for(t=0;t<r;t++){var o=this.point(e[t],n[t]);if(!o)return void(n.length=0);o.mock&&o.refresh(),n[t]=o}return n},addControlPoints:function(){var e=this.options.controlPoints;(e||[]).forEach((function(n,r){(n=a(this.options.controlPointOptions,n)).index||(n.index=r),e[r]=n,this.controlPoints.push(new t(this.chart,this,n))}),this)},shouldBeDrawn:function(){return!!this.points.length},render:function(t){this.controlPoints.forEach((function(t){t.render()}))},redraw:function(t){this.controlPoints.forEach((function(e){e.redraw(t)}))},transform:function(t,e,n,r,o){if(this.chart.inverted){var i=e;e=n,n=i}this.points.forEach((function(i,a){this.transformPoint(t,e,n,r,o,a)}),this)},transformPoint:function(t,n,r,o,i,a){var s=this.points[a];s.mock||(s=this.points[a]=e.fromPoint(s)),s[t](n,r,o,i)},translate:function(t,e){this.transform("translate",null,null,t,e)},translatePoint:function(t,e,n){this.transformPoint("translate",null,null,t,e,n)},translateShape:function(t,e,n){var r=this.annotation.chart,o=this.annotation.userOptions,i=r.annotations.indexOf(this.annotation);r=r.options.annotations[i],this.translatePoint(t,e,0),n&&this.translatePoint(t,e,1),r[this.collection][this.index].point=this.options.point,o[this.collection][this.index].point=this.options.point},rotate:function(t,e,n){this.transform("rotate",t,e,n)},scale:function(t,e,n,r){this.transform("scale",t,e,n,r)},setControlPointsVisibility:function(t){this.controlPoints.forEach((function(e){e.setVisibility(t)}))},destroy:function(){this.graphic&&(this.graphic=this.graphic.destroy()),this.tracker&&(this.tracker=this.tracker.destroy()),this.controlPoints.forEach((function(t){t.destroy()})),this.options=this.controlPoints=this.points=this.chart=null,this.annotation&&(this.annotation=null)},update:function(t){var e=this.annotation;t=a(!0,this.options,t);var n=this.graphic.parentGroup;this.destroy(),this.constructor(e,t,this.index),this.render(n),this.redraw()}}})),e(t,"Extensions/Annotations/Mixins/MarkerMixin.js",[t["Core/Chart/Chart.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Utilities.js"]],(function(t,e,n){function r(t){return function(e){this.attr(t,"url(#"+e+")")}}var o=n.addEvent,i=n.defined,a=n.merge,s=n.uniqueKey,l={arrow:{tagName:"marker",attributes:{id:"arrow",refY:5,refX:9,markerWidth:10,markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 0 L 10 5 L 0 10 Z","stroke-width":0}}]},"reverse-arrow":{tagName:"marker",attributes:{id:"reverse-arrow",refY:5,refX:1,markerWidth:10,markerHeight:10},children:[{tagName:"path",attributes:{d:"M 0 5 L 10 0 L 10 10 Z","stroke-width":0}}]}};return e.prototype.addMarker=function(t,e){var n={attributes:{id:t}},r={stroke:e.color||"none",fill:e.color||"rgba(0, 0, 0, 0.75)"};return n.children=e.children&&e.children.map((function(t){return a(r,t)})),e=a(!0,{attributes:{markerWidth:20,markerHeight:20,refX:0,refY:0,orient:"auto"}},e,n),(e=this.definition(e)).id=t,e},e={markerEndSetter:r("marker-end"),markerStartSetter:r("marker-start"),setItemMarkers:function(t){var e=t.options,n=t.chart,r=n.options.defs,o=e.fill,l=i(o)&&"none"!==o?o:e.stroke;["markerStart","markerEnd"].forEach((function(o){var i,c=e[o];if(c){for(i in r){var u=r[i];if((c===(u.attributes&&u.attributes.id)||c===u.id)&&"marker"===u.tagName){var d=u;break}}d&&(c=t[o]=n.renderer.addMarker((e.id||s())+"-"+c,a(d,{color:l})),t.attr(o,c.getAttribute("id")))}}))}},o(t,"afterGetContainer",(function(){this.options.defs=a(l,this.options.defs||{})})),e})),e(t,"Extensions/Annotations/Controllables/ControllablePath.js",[t["Extensions/Annotations/Mixins/ControllableMixin.js"],t["Core/Globals.js"],t["Extensions/Annotations/Mixins/MarkerMixin.js"],t["Core/Utilities.js"]],(function(t,e,n,r){var o=r.extend,i="rgba(192,192,192,"+(e.svg?1e-4:.002)+")";return function(){function e(e,r,o){this.addControlPoints=t.addControlPoints,this.anchor=t.anchor,this.attr=t.attr,this.attrsFromOptions=t.attrsFromOptions,this.destroy=t.destroy,this.getPointsOptions=t.getPointsOptions,this.init=t.init,this.linkPoints=t.linkPoints,this.point=t.point,this.rotate=t.rotate,this.scale=t.scale,this.setControlPointsVisibility=t.setControlPointsVisibility,this.setMarkers=n.setItemMarkers,this.transform=t.transform,this.transformPoint=t.transformPoint,this.translate=t.translate,this.translatePoint=t.translatePoint,this.translateShape=t.translateShape,this.update=t.update,this.type="path",this.init(e,r,o),this.collection="shapes"}return e.prototype.toD=function(){var t=this.options.d;if(t)return"function"===typeof t?t.call(this):t;var e=(t=this.points).length,n=e,r=t[0],o=n&&this.anchor(r).absolutePosition,i=0,a=[];if(o)for(a.push(["M",o.x,o.y]);++i<e&&n;)n=(r=t[i]).command||"L",o=this.anchor(r).absolutePosition,"M"===n||"L"===n?a.push([n,o.x,o.y]):"Z"===n&&a.push([n]),n=r.series.visible;return n?this.chart.renderer.crispLine(a,this.graphic.strokeWidth()):null},e.prototype.shouldBeDrawn=function(){return t.shouldBeDrawn.call(this)||!!this.options.d},e.prototype.render=function(e){var r=this.options,a=this.attrsFromOptions(r);this.graphic=this.annotation.chart.renderer.path([["M",0,0]]).attr(a).add(e),r.className&&this.graphic.addClass(r.className),this.tracker=this.annotation.chart.renderer.path([["M",0,0]]).addClass("highcharts-tracker-line").attr({zIndex:2}).add(e),this.annotation.chart.styledMode||this.tracker.attr({"stroke-linejoin":"round",stroke:i,fill:i,"stroke-width":this.graphic.strokeWidth()+2*r.snap}),t.render.call(this),o(this.graphic,{markerStartSetter:n.markerStartSetter,markerEndSetter:n.markerEndSetter}),this.setMarkers(this)},e.prototype.redraw=function(e){var n=this.toD(),r=e?"animate":"attr";n?(this.graphic[r]({d:n}),this.tracker[r]({d:n})):(this.graphic.attr({d:"M 0 -9000000000"}),this.tracker.attr({d:"M 0 -9000000000"})),this.graphic.placed=this.tracker.placed=!!n,t.redraw.call(this,e)},e.attrsMap={dashStyle:"dashstyle",strokeWidth:"stroke-width",stroke:"stroke",fill:"fill",zIndex:"zIndex"},e}()})),e(t,"Extensions/Annotations/Controllables/ControllableRect.js",[t["Extensions/Annotations/Mixins/ControllableMixin.js"],t["Extensions/Annotations/Controllables/ControllablePath.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=n.merge;return function(){function n(e,n,r){this.addControlPoints=t.addControlPoints,this.anchor=t.anchor,this.attr=t.attr,this.attrsFromOptions=t.attrsFromOptions,this.destroy=t.destroy,this.getPointsOptions=t.getPointsOptions,this.init=t.init,this.linkPoints=t.linkPoints,this.point=t.point,this.rotate=t.rotate,this.scale=t.scale,this.setControlPointsVisibility=t.setControlPointsVisibility,this.shouldBeDrawn=t.shouldBeDrawn,this.transform=t.transform,this.transformPoint=t.transformPoint,this.translatePoint=t.translatePoint,this.translateShape=t.translateShape,this.update=t.update,this.type="rect",this.translate=t.translateShape,this.init(e,n,r),this.collection="shapes"}return n.prototype.render=function(e){var n=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.rect(0,-9e9,0,0).attr(n).add(e),t.render.call(this)},n.prototype.redraw=function(e){var n=this.anchor(this.points[0]).absolutePosition;n?this.graphic[e?"animate":"attr"]({x:n.x,y:n.y,width:this.options.width,height:this.options.height}):this.attr({x:0,y:-9e9}),this.graphic.placed=!!n,t.redraw.call(this,e)},n.attrsMap=r(e.attrsMap,{width:"width",height:"height"}),n}()})),e(t,"Extensions/Annotations/Controllables/ControllableCircle.js",[t["Extensions/Annotations/Mixins/ControllableMixin.js"],t["Extensions/Annotations/Controllables/ControllablePath.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=n.merge;return function(){function n(e,n,r){this.addControlPoints=t.addControlPoints,this.anchor=t.anchor,this.attr=t.attr,this.attrsFromOptions=t.attrsFromOptions,this.destroy=t.destroy,this.getPointsOptions=t.getPointsOptions,this.init=t.init,this.linkPoints=t.linkPoints,this.point=t.point,this.rotate=t.rotate,this.scale=t.scale,this.setControlPointsVisibility=t.setControlPointsVisibility,this.shouldBeDrawn=t.shouldBeDrawn,this.transform=t.transform,this.transformPoint=t.transformPoint,this.translatePoint=t.translatePoint,this.translateShape=t.translateShape,this.update=t.update,this.type="circle",this.translate=t.translateShape,this.init(e,n,r),this.collection="shapes"}return n.prototype.render=function(e){var n=this.attrsFromOptions(this.options);this.graphic=this.annotation.chart.renderer.circle(0,-9e9,0).attr(n).add(e),t.render.call(this)},n.prototype.redraw=function(e){var n=this.anchor(this.points[0]).absolutePosition;n?this.graphic[e?"animate":"attr"]({x:n.x,y:n.y,r:this.options.r}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!n,t.redraw.call(this,e)},n.prototype.setRadius=function(t){this.options.r=t},n.attrsMap=r(e.attrsMap,{r:"r"}),n}()})),e(t,"Extensions/Annotations/Controllables/ControllableEllipse.js",[t["Extensions/Annotations/Mixins/ControllableMixin.js"],t["Extensions/Annotations/Controllables/ControllablePath.js"],t["Core/Utilities.js"]],(function(t,e,n){var r=n.merge,o=n.defined;return function(){function n(e,n,r){this.addControlPoints=t.addControlPoints,this.anchor=t.anchor,this.attr=t.attr,this.attrsFromOptions=t.attrsFromOptions,this.destroy=t.destroy,this.getPointsOptions=t.getPointsOptions,this.linkPoints=t.linkPoints,this.point=t.point,this.scale=t.scale,this.setControlPointsVisibility=t.setControlPointsVisibility,this.shouldBeDrawn=t.shouldBeDrawn,this.transform=t.transform,this.translatePoint=t.translatePoint,this.transformPoint=t.transformPoint,this.type="ellipse",this.init(e,n,r),this.collection="shapes"}return n.prototype.init=function(e,n,r){o(n.yAxis)&&n.points.forEach((function(t){t.yAxis=n.yAxis})),o(n.xAxis)&&n.points.forEach((function(t){t.xAxis=n.xAxis})),t.init.call(this,e,n,r)},n.prototype.render=function(e){this.graphic=this.annotation.chart.renderer.createElement("ellipse").attr(this.attrsFromOptions(this.options)).add(e),t.render.call(this)},n.prototype.translate=function(e,n){t.translateShape.call(this,e,n,!0)},n.prototype.getDistanceFromLine=function(t,e,n,r){return Math.abs((e.y-t.y)*n-(e.x-t.x)*r+e.x*t.y-e.y*t.x)/Math.sqrt((e.y-t.y)*(e.y-t.y)+(e.x-t.x)*(e.x-t.x))},n.prototype.getAttrs=function(t,e){var n=t.x,r=t.y,o=e.x,i=e.y;e=(n+o)/2,t=(r+i)/2;var a=Math.sqrt((n-o)*(n-o)/4+(r-i)*(r-i)/4);return r=180*Math.atan((i-r)/(o-n))/Math.PI,e<n&&(r+=180),{cx:e,cy:t,rx:a,ry:n=this.getRY(),angle:r}},n.prototype.getRY=function(){var t=this.getYAxis();return o(t)?Math.abs(t.toPixels(this.options.ry)-t.toPixels(0)):this.options.ry},n.prototype.getYAxis=function(){return this.chart.yAxis[this.options.yAxis]},n.prototype.getAbsolutePosition=function(t){return this.anchor(t).absolutePosition},n.prototype.redraw=function(e){var n=this.getAbsolutePosition(this.points[0]),r=this.getAbsolutePosition(this.points[1]);r=this.getAttrs(n,r),n?this.graphic[e?"animate":"attr"]({cx:r.cx,cy:r.cy,rx:r.rx,ry:r.ry,rotation:r.angle,rotationOriginX:r.cx,rotationOriginY:r.cy}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!n,t.redraw.call(this,e)},n.prototype.setYRadius=function(t){var e=this.annotation.userOptions.shapes;this.options.ry=t,e&&e[0]&&(e[0].ry=t,e[0].ry=t)},n.attrsMap=r(e.attrsMap,{ry:"ry"}),n}()})),e(t,"Extensions/Annotations/Controllables/ControllableLabel.js",[t["Extensions/Annotations/Mixins/ControllableMixin.js"],t["Core/FormatUtilities.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Renderer/SVG/SVGRenderer.js"],t["Core/Tooltip.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o,i){var a=e.format;e=r.prototype.symbols;var s=i.extend,l=i.isNumber,c=i.pick;return i=function(){function e(e,n,r){this.addControlPoints=t.addControlPoints,this.attr=t.attr,this.attrsFromOptions=t.attrsFromOptions,this.destroy=t.destroy,this.getPointsOptions=t.getPointsOptions,this.init=t.init,this.linkPoints=t.linkPoints,this.point=t.point,this.rotate=t.rotate,this.scale=t.scale,this.setControlPointsVisibility=t.setControlPointsVisibility,this.shouldBeDrawn=t.shouldBeDrawn,this.transform=t.transform,this.transformPoint=t.transformPoint,this.translateShape=t.translateShape,this.update=t.update,this.init(e,n,r),this.collection="labels"}return e.alignedPosition=function(t,e){var n,r,o=t.align,i=t.verticalAlign,a=(e.x||0)+(t.x||0),s=(e.y||0)+(t.y||0);return"right"===o?n=1:"center"===o&&(n=2),n&&(a+=(e.width-(t.width||0))/n),"bottom"===i?r=1:"middle"===i&&(r=2),r&&(s+=(e.height-(t.height||0))/r),{x:Math.round(a),y:Math.round(s)}},e.justifiedOptions=function(t,e,n,r){var o=n.align,i=n.verticalAlign,a=e.box?0:e.padding||0,s=e.getBBox();e={align:o,verticalAlign:i,x:n.x,y:n.y,width:e.width,height:e.height},n=(r.x||0)-t.plotLeft,r=(r.y||0)-t.plotTop;var l=n+a;return 0>l&&("right"===o?e.align="left":e.x=(e.x||0)-l),(l=n+s.width-a)>t.plotWidth&&("left"===o?e.align="right":e.x=(e.x||0)+t.plotWidth-l),0>(l=r+a)&&("bottom"===i?e.verticalAlign="top":e.y=(e.y||0)-l),(l=r+s.height-a)>t.plotHeight&&("top"===i?e.verticalAlign="bottom":e.y=(e.y||0)+t.plotHeight-l),e},e.prototype.translatePoint=function(e,n){t.translatePoint.call(this,e,n,0)},e.prototype.translate=function(t,e){var n=this.annotation.chart,r=this.annotation.userOptions,o=n.annotations.indexOf(this.annotation);o=n.options.annotations[o],n.inverted&&(n=t,t=e,e=n),this.options.x+=t,this.options.y+=e,o[this.collection][this.index].x=this.options.x,o[this.collection][this.index].y=this.options.y,r[this.collection][this.index].x=this.options.x,r[this.collection][this.index].y=this.options.y},e.prototype.render=function(n){var r=this.options,o=this.attrsFromOptions(r),i=r.style;this.graphic=this.annotation.chart.renderer.label("",0,-9999,r.shape,null,null,r.useHTML,null,"annotation-label").attr(o).add(n),this.annotation.chart.styledMode||("contrast"===i.color&&(i.color=this.annotation.chart.renderer.getContrast(-1<e.shapesWithoutBackground.indexOf(r.shape)?"#FFFFFF":r.backgroundColor)),this.graphic.css(r.style).shadow(r.shadow)),r.className&&this.graphic.addClass(r.className),this.graphic.labelrank=r.labelrank,t.render.call(this)},e.prototype.redraw=function(e){var n=this.options,r=this.text||n.format||n.text,o=this.graphic,i=this.points[0];o.attr({text:r?a(r,i.getLabelConfig(),this.annotation.chart):n.formatter.call(i,this)}),n=this.anchor(i),(r=this.position(n))?(o.alignAttr=r,r.anchorX=n.absolutePosition.x,r.anchorY=n.absolutePosition.y,o[e?"animate":"attr"](r)):o.attr({x:0,y:-9999}),o.placed=!!r,t.redraw.call(this,e)},e.prototype.anchor=function(e){var n=t.anchor.apply(this,arguments),r=this.options.x||0,o=this.options.y||0;return n.absolutePosition.x-=r,n.absolutePosition.y-=o,n.relativePosition.x-=r,n.relativePosition.y-=o,n},e.prototype.position=function(t){var r=this.graphic,i=this.annotation.chart,a=this.points[0],l=this.options,u=t.absolutePosition,d=t.relativePosition,f=a.series.visible&&n.prototype.isInsidePlot.call(a);t=void 0===(t=r.width)?0:t;var p=r.height;if(p=void 0===p?0:p,f){if(l.distance)var h=o.prototype.getPosition.call({chart:i,distance:c(l.distance,16)},t,p,{plotX:d.x,plotY:d.y,negative:a.negative,ttBelow:a.ttBelow,h:d.height||d.width});else l.positioner?h=l.positioner.call(this):(a={x:u.x,y:u.y,width:0,height:0},h=e.alignedPosition(s(l,{width:t,height:p}),a),"justify"===this.options.overflow&&(h=e.alignedPosition(e.justifiedOptions(i,r,l,h),a)));l.crop&&(r=h.x-i.plotLeft,l=h.y-i.plotTop,f=i.isInsidePlot(r,l)&&i.isInsidePlot(r+t,l+p))}return f?h:null},e.attrsMap={backgroundColor:"fill",borderColor:"stroke",borderWidth:"stroke-width",zIndex:"zIndex",borderRadius:"r",padding:"padding"},e.shapesWithoutBackground=["connector"],e}(),e.connector=function(t,e,n,r,o){var i=o&&o.anchorX;o=o&&o.anchorY;var a=n/2;if(l(i)&&l(o)){var s=[["M",i,o]],c=e-o;0>c&&(c=-r-c),c<n&&(a=i<t+n/2?c:n-c),o>e+r?s.push(["L",t+a,e+r]):o<e?s.push(["L",t+a,e]):i<t?s.push(["L",t,e+r/2]):i>t+n&&s.push(["L",t+n,e+r/2])}return s||[]},i})),e(t,"Extensions/Annotations/Controllables/ControllableImage.js",[t["Extensions/Annotations/Controllables/ControllableLabel.js"],t["Extensions/Annotations/Mixins/ControllableMixin.js"]],(function(t,e){return function(){function n(t,n,r){this.addControlPoints=e.addControlPoints,this.anchor=e.anchor,this.attr=e.attr,this.attrsFromOptions=e.attrsFromOptions,this.destroy=e.destroy,this.getPointsOptions=e.getPointsOptions,this.init=e.init,this.linkPoints=e.linkPoints,this.point=e.point,this.rotate=e.rotate,this.scale=e.scale,this.setControlPointsVisibility=e.setControlPointsVisibility,this.shouldBeDrawn=e.shouldBeDrawn,this.transform=e.transform,this.transformPoint=e.transformPoint,this.translatePoint=e.translatePoint,this.translateShape=e.translateShape,this.update=e.update,this.type="image",this.translate=e.translateShape,this.init(t,n,r),this.collection="shapes"}return n.prototype.render=function(t){var n=this.attrsFromOptions(this.options),r=this.options;this.graphic=this.annotation.chart.renderer.image(r.src,0,-9e9,r.width,r.height).attr(n).add(t),this.graphic.width=r.width,this.graphic.height=r.height,e.render.call(this)},n.prototype.redraw=function(n){var r=this.anchor(this.points[0]);(r=t.prototype.position.call(this,r))?this.graphic[n?"animate":"attr"]({x:r.x,y:r.y}):this.graphic.attr({x:0,y:-9e9}),this.graphic.placed=!!r,e.redraw.call(this,n)},n.attrsMap={width:"width",height:"height",zIndex:"zIndex"},n}()})),e(t,"Extensions/Annotations/Annotation.js",[t["Core/Animation/AnimationUtilities.js"],t["Core/Chart/Chart.js"],t["Extensions/Annotations/Mixins/ControllableMixin.js"],t["Extensions/Annotations/Controllables/ControllableRect.js"],t["Extensions/Annotations/Controllables/ControllableCircle.js"],t["Extensions/Annotations/Controllables/ControllableEllipse.js"],t["Extensions/Annotations/Controllables/ControllablePath.js"],t["Extensions/Annotations/Controllables/ControllableImage.js"],t["Extensions/Annotations/Controllables/ControllableLabel.js"],t["Extensions/Annotations/ControlPoint.js"],t["Extensions/Annotations/Mixins/EventEmitterMixin.js"],t["Core/Globals.js"],t["Extensions/Annotations/MockPoint.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o,i,a,s,l,c,u,d,f,p,h){var v=t.getDeferredAnimation;t=e.prototype;var g=h.addEvent,m=h.defined,b=h.destroyObjectProperties,y=h.erase,x=h.extend,w=h.find,O=h.fireEvent,S=h.merge,j=h.pick,C=h.splat;h=h.wrap;var k=function(){function t(t,e){this.annotation=void 0,this.coll="annotations",this.shapesGroup=this.labelsGroup=this.labelCollector=this.group=this.graphic=this.animationConfig=this.collection=void 0,this.chart=t,this.points=[],this.controlPoints=[],this.coll="annotations",this.labels=[],this.shapes=[],this.options=S(this.defaultOptions,e),this.userOptions=e,e=this.getLabelsAndShapesOptions(this.options,e),this.options.labels=e.labels,this.options.shapes=e.shapes,this.init(t,this.options)}return t.prototype.init=function(){var t=this.chart,e=this.options.animation;this.linkPoints(),this.addControlPoints(),this.addShapes(),this.addLabels(),this.setLabelCollector(),this.animationConfig=v(t,e)},t.prototype.getLabelsAndShapesOptions=function(t,e){var n={};return["labels","shapes"].forEach((function(r){var o=t[r];o&&(n[r]=e[r]?C(e[r]).map((function(t,e){return S(o[e],t)})):t[r])})),n},t.prototype.addShapes=function(){var t=this.options.shapes||[];t.forEach((function(e,n){e=this.initShape(e,n),S(!0,t[n],e.options)}),this)},t.prototype.addLabels=function(){(this.options.labels||[]).forEach((function(t,e){t=this.initLabel(t,e),S(!0,this.options.labels[e],t.options)}),this)},t.prototype.addClipPaths=function(){this.setClipAxes(),this.clipXAxis&&this.clipYAxis&&this.options.crop&&(this.clipRect=this.chart.renderer.clipRect(this.getClipBox()))},t.prototype.setClipAxes=function(){var t=this.chart.xAxis,e=this.chart.yAxis,n=(this.options.labels||[]).concat(this.options.shapes||[]).reduce((function(n,r){return r=r&&(r.point||r.points&&r.points[0]),[t[r&&r.xAxis]||n[0],e[r&&r.yAxis]||n[1]]}),[]);this.clipXAxis=n[0],this.clipYAxis=n[1]},t.prototype.getClipBox=function(){if(this.clipXAxis&&this.clipYAxis)return{x:this.clipXAxis.left,y:this.clipYAxis.top,width:this.clipXAxis.width,height:this.clipYAxis.height}},t.prototype.setLabelCollector=function(){var t=this;t.labelCollector=function(){return t.labels.reduce((function(t,e){return e.options.allowOverlap||t.push(e.graphic),t}),[])},t.chart.labelCollectors.push(t.labelCollector)},t.prototype.setOptions=function(t){this.options=S(this.defaultOptions,t)},t.prototype.redraw=function(t){this.linkPoints(),this.graphic||this.render(),this.clipRect&&this.clipRect.animate(this.getClipBox()),this.redrawItems(this.shapes,t),this.redrawItems(this.labels,t),n.redraw.call(this,t)},t.prototype.redrawItems=function(t,e){for(var n=t.length;n--;)this.redrawItem(t[n],e)},t.prototype.renderItems=function(t){for(var e=t.length;e--;)this.renderItem(t[e])},t.prototype.render=function(){var t=this.chart.renderer;this.graphic=t.g("annotation").attr({opacity:0,zIndex:this.options.zIndex,visibility:this.options.visible?"inherit":"hidden"}).add(),this.shapesGroup=t.g("annotation-shapes").add(this.graphic),this.options.crop&&this.shapesGroup.clip(this.chart.plotBoxClip),this.labelsGroup=t.g("annotation-labels").attr({translateX:0,translateY:0}).add(this.graphic),this.addClipPaths(),this.clipRect&&this.graphic.clip(this.clipRect),this.renderItems(this.shapes),this.renderItems(this.labels),this.addEvents(),n.render.call(this)},t.prototype.setVisibility=function(t){var e=this.options,n=this.chart.navigationBindings;t=j(t,!e.visible),this.graphic.attr("visibility",t?"inherit":"hidden"),t||(this.setControlPointsVisibility(!1),n.activeAnnotation===this&&n.popup&&"annotation-toolbar"===n.popup.formType&&O(n,"closePopup")),e.visible=t},t.prototype.setControlPointsVisibility=function(t){var e=function(e){e.setControlPointsVisibility(t)};n.setControlPointsVisibility.call(this,t),this.shapes.forEach(e),this.labels.forEach(e)},t.prototype.destroy=function(){var t=this.chart,e=function(t){t.destroy()};this.labels.forEach(e),this.shapes.forEach(e),this.clipYAxis=this.clipXAxis=null,y(t.labelCollectors,this.labelCollector),u.destroy.call(this),n.destroy.call(this),b(this,t)},t.prototype.remove=function(){return this.chart.removeAnnotation(this)},t.prototype.update=function(t,e){var n=this.chart,r=this.getLabelsAndShapesOptions(this.userOptions,t),o=n.annotations.indexOf(this);(t=S(!0,this.userOptions,t)).labels=r.labels,t.shapes=r.shapes,this.destroy(),this.constructor(n,t),n.options.annotations[o]=t,this.isUpdating=!0,j(e,!0)&&n.redraw(),O(this,"afterUpdate"),this.isUpdating=!1},t.prototype.initShape=function(e,n){return e=S(this.options.shapeOptions,{controlPointOptions:this.options.controlPointOptions},e),(n=new t.shapesMap[e.type](this,e,n)).itemType="shape",this.shapes.push(n),n},t.prototype.initLabel=function(t,e){return t=S(this.options.labelOptions,{controlPointOptions:this.options.controlPointOptions},t),(e=new l(this,t,e)).itemType="label",this.labels.push(e),e},t.prototype.redrawItem=function(t,e){t.linkPoints(),t.shouldBeDrawn()?(t.graphic||this.renderItem(t),t.redraw(j(e,!0)&&t.graphic.placed),t.points.length&&this.adjustVisibility(t)):this.destroyItem(t)},t.prototype.adjustVisibility=function(t){var e=!1,n=t.graphic;t.points.forEach((function(t){!1!==t.series.visible&&!1!==t.visible&&(e=!0)})),e?"hidden"===n.visibility&&n.show():n.hide()},t.prototype.destroyItem=function(t){y(this[t.itemType+"s"],t),t.destroy()},t.prototype.renderItem=function(t){t.render("label"===t.itemType?this.labelsGroup:this.shapesGroup)},t.ControlPoint=c,t.MockPoint=f,t.shapesMap={rect:r,circle:o,ellipse:i,path:a,image:s},t.types={},t}();return S(!0,k.prototype,n,u,S(k.prototype,{nonDOMEvents:["add","afterUpdate","drag","remove"],defaultOptions:{visible:!0,animation:{},crop:!0,draggable:"xy",labelOptions:{align:"center",allowOverlap:!1,backgroundColor:"rgba(0, 0, 0, 0.75)",borderColor:"#000000",borderRadius:3,borderWidth:1,className:"highcharts-no-tooltip",crop:!1,formatter:function(){return m(this.y)?this.y:"Annotation label"},includeInDataExport:!0,overflow:"justify",padding:5,shadow:!1,shape:"callout",style:{fontSize:"11px",fontWeight:"normal",color:"contrast"},useHTML:!1,verticalAlign:"bottom",x:0,y:-16},shapeOptions:{stroke:"rgba(0, 0, 0, 0.75)",strokeWidth:1,fill:"rgba(0, 0, 0, 0.75)",r:0,snap:2},controlPointOptions:{symbol:"circle",width:10,height:10,style:{cursor:"pointer",fill:"#ffffff",stroke:"#000000","stroke-width":2},visible:!1,events:{}},events:{},zIndex:6}})),d.extendAnnotation=function(t,e,n,r){e=e||k,x(t.prototype,S(e.prototype,n)),t.prototype.defaultOptions=S(t.prototype.defaultOptions,r||{})},x(t,{initAnnotation:function(t){return t=new(k.types[t.type]||k)(this,t),this.annotations.push(t),t},addAnnotation:function(t,e){return t=this.initAnnotation(t),this.options.annotations.push(t.options),j(e,!0)&&(t.redraw(),t.graphic.attr({opacity:1})),t},removeAnnotation:function(t){var e=this.annotations,n="annotations"===t.coll?t:w(e,(function(e){return e.options.id===t}));n&&(O(n,"remove"),y(this.options.annotations,n.options),y(e,n),n.destroy())},drawAnnotations:function(){this.plotBoxClip.attr(this.plotBox),this.annotations.forEach((function(t){t.redraw(),t.graphic.animate({opacity:1},t.animationConfig)}))}}),t.collectionsWithUpdate.push("annotations"),t.collectionsWithInit.annotations=[t.addAnnotation],g(e,"afterInit",(function(){this.annotations=[],this.options.annotations||(this.options.annotations=[])})),t.callbacks.push((function(t){t.plotBoxClip=this.renderer.clipRect(this.plotBox),t.controlPointsGroup=t.renderer.g("control-points").attr({zIndex:99}).clip(t.plotBoxClip).add(),t.options.annotations.forEach((function(e,n){if(!t.annotations.some((function(t){return t.options===e}))){var r=t.initAnnotation(e);t.options.annotations[n]=r.options}})),t.drawAnnotations(),g(t,"redraw",t.drawAnnotations),g(t,"destroy",(function(){t.plotBoxClip.destroy(),t.controlPointsGroup.destroy()})),g(t,"exportData",(function(e){var n=(this.options.exporting&&this.options.exporting.csv||{}).columnHeaderFormatter,r=!e.dataRows[1].xValues,o=t.options.lang&&t.options.lang.exportData&&t.options.lang.exportData.annotationHeader,i=function(t){if(n){var e=n(t);if(!1!==e)return e}return e=o+" "+t,r?{columnTitle:e,topLevelColumnTitle:e}:e},a=e.dataRows[0].length,s=t.options.exporting&&t.options.exporting.csv&&t.options.exporting.csv.annotations&&t.options.exporting.csv.annotations.itemDelimiter,l=t.options.exporting&&t.options.exporting.csv&&t.options.exporting.csv.annotations&&t.options.exporting.csv.annotations.join;t.annotations.forEach((function(t){t.options.labelOptions&&t.options.labelOptions.includeInDataExport&&t.labels.forEach((function(t){if(t.options.text){var n=t.options.text;t.points.forEach((function(t){var r=t.x,o=t.series.xAxis?t.series.xAxis.options.index:-1,i=!1;if(-1===o){t=e.dataRows[0].length;for(var c=Array(t),u=0;u<t;++u)c[u]="";c.push(n),c.xValues=[],c.xValues[o]=r,e.dataRows.push(c),i=!0}if(i||e.dataRows.forEach((function(t){!i&&t.xValues&&void 0!==o&&r===t.xValues[o]&&(l&&t.length>a?t[t.length-1]+=s+n:t.push(n),i=!0)})),!i){for(t=e.dataRows[0].length,c=Array(t),u=0;u<t;++u)c[u]="";c[0]=r,c.push(n),c.xValues=[],void 0!==o&&(c.xValues[o]=r),e.dataRows.push(c)}}))}}))}));var c=0;e.dataRows.forEach((function(t){c=Math.max(c,t.length)}));for(var u=c-e.dataRows[0].length,d=0;d<u;d++){var f=i(d+1);r?(e.dataRows[0].push(f.topLevelColumnTitle),e.dataRows[1].push(f.columnTitle)):e.dataRows[0].push(f)}}))})),h(p.prototype,"onContainerMouseDown",(function(t){this.chart.hasDraggedAnnotation||t.apply(this,Array.prototype.slice.call(arguments,1))})),d.Annotation=k,k})),e(t,"Core/Chart/ChartNavigationComposition.js",[],(function(){var t;return function(t){t.compose=function(t){return t.navigation||(t.navigation=new e(t)),t};var e=function(){function t(t){this.updates=[],this.chart=t}return t.prototype.addUpdate=function(t){this.chart.navigation.updates.push(t)},t.prototype.update=function(t,e){var n=this;this.updates.forEach((function(r){r.call(n.chart,t,e)}))},t}();t.Additions=e}(t||(t={})),t})),e(t,"Extensions/Annotations/NavigationBindings.js",[t["Extensions/Annotations/Annotation.js"],t["Core/Chart/Chart.js"],t["Core/Chart/ChartNavigationComposition.js"],t["Core/FormatUtilities.js"],t["Core/Globals.js"],t["Core/DefaultOptions.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o,i,a){function s(t){var e=t.prototype.defaultOptions.events&&t.prototype.defaultOptions.events.click;g(!0,t.prototype.defaultOptions.events,{click:function(t){var n=this,r=n.chart.navigationBindings,o=r.activeAnnotation;e&&e.call(n,t),o!==n?(r.deselectAnnotation(),r.activeAnnotation=n,n.setControlPointsVisibility(!0),d(r,"showPopup",{annotation:n,formType:"annotation-toolbar",options:r.annotationToFields(n),onSubmit:function(t){var e={};"remove"===t.actionType?(r.activeAnnotation=!1,r.chart.removeAnnotation(n)):(r.fieldsToOptions(t.fields,e),r.deselectAnnotation(),t=e.typeOptions,"measure"===n.options.type&&(t.crosshairY.enabled=0!==t.crosshairY.strokeWidth,t.crosshairX.enabled=0!==t.crosshairX.strokeWidth),n.update(e))}})):d(r,"closePopup"),t.activeAnnotation=!0}})}var l=r.format;r=i.setOptions;var c=a.addEvent,u=a.attr,d=a.fireEvent,f=a.isArray,p=a.isFunction,h=a.isNumber,v=a.isObject,g=a.merge,m=a.objectEach,b=a.pick,y=o.doc,x=o.win,w=function(){function t(t,e){this.selectedButton=this.boundClassNames=void 0,this.chart=t,this.options=e,this.eventsToUnbind=[],this.container=y.getElementsByClassName(this.options.bindingsClassName||"")}return t.prototype.initEvents=function(){var t=this,e=t.chart,n=t.container,r=t.options;t.boundClassNames={},m(r.bindings||{},(function(e){t.boundClassNames[e.className]=e})),[].forEach.call(n,(function(e){t.eventsToUnbind.push(c(e,"click",(function(n){var r=t.getButtonEvents(e,n);r&&-1===r.button.className.indexOf("highcharts-disabled-btn")&&t.bindingsButtonClick(r.button,r.events,n)})))})),m(r.events||{},(function(e,n){p(e)&&t.eventsToUnbind.push(c(t,n,e,{passive:!1}))})),t.eventsToUnbind.push(c(e.container,"click",(function(n){!e.cancelClick&&e.isInsidePlot(n.chartX-e.plotLeft,n.chartY-e.plotTop,{visiblePlotOnly:!0})&&t.bindingsChartClick(this,n)}))),t.eventsToUnbind.push(c(e.container,o.isTouchDevice?"touchmove":"mousemove",(function(e){t.bindingsContainerMouseMove(this,e)}),o.isTouchDevice?{passive:!1}:void 0))},t.prototype.initUpdate=function(){var t=this;n.compose(this.chart).navigation.addUpdate((function(e){t.update(e)}))},t.prototype.bindingsButtonClick=function(t,e,n){var r=this.chart,o=r.renderer.boxWrapper,i=!0;this.selectedButtonElement&&(this.selectedButtonElement.classList===t.classList&&(i=!1),d(this,"deselectButton",{button:this.selectedButtonElement}),this.nextEvent&&(this.currentUserDetails&&"annotations"===this.currentUserDetails.coll&&r.removeAnnotation(this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1)),i?(this.selectedButton=e,this.selectedButtonElement=t,d(this,"selectButton",{button:t}),e.init&&e.init.call(this,t,n),(e.start||e.steps)&&r.renderer.boxWrapper.addClass("highcharts-draw-mode")):(r.stockTools&&r.stockTools.toggleButtonAciveClass(t),o.removeClass("highcharts-draw-mode"),this.mouseMoveEvent=this.nextEvent=!1,this.selectedButton=null)},t.prototype.bindingsChartClick=function(t,e){t=this.chart;var n=this.activeAnnotation,r=this.selectedButton;t=t.renderer.boxWrapper,n&&(n.cancelClick||e.activeAnnotation||!e.target.parentNode||function(t,e){var n=x.Element.prototype,r=n.matches||n.msMatchesSelector||n.webkitMatchesSelector,o=null;if(n.closest)o=n.closest.call(t,e);else do{if(r.call(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return o}(e.target,".highcharts-popup")?n.cancelClick&&setTimeout((function(){n.cancelClick=!1}),0):d(this,"closePopup")),r&&r.start&&(this.nextEvent?(this.nextEvent(e,this.currentUserDetails),this.steps&&(this.stepIndex++,r.steps[this.stepIndex]?this.mouseMoveEvent=this.nextEvent=r.steps[this.stepIndex]:(d(this,"deselectButton",{button:this.selectedButtonElement}),t.removeClass("highcharts-draw-mode"),r.end&&r.end.call(this,e,this.currentUserDetails),this.mouseMoveEvent=this.nextEvent=!1,this.selectedButton=null))):(this.currentUserDetails=r.start.call(this,e))&&r.steps?(this.stepIndex=0,this.steps=!0,this.mouseMoveEvent=this.nextEvent=r.steps[this.stepIndex]):(d(this,"deselectButton",{button:this.selectedButtonElement}),t.removeClass("highcharts-draw-mode"),this.steps=!1,this.selectedButton=null,r.end&&r.end.call(this,e,this.currentUserDetails)))},t.prototype.bindingsContainerMouseMove=function(t,e){this.mouseMoveEvent&&this.mouseMoveEvent(e,this.currentUserDetails)},t.prototype.fieldsToOptions=function(t,e){return m(t,(function(t,n){var r=parseFloat(t),o=n.split("."),i=e,a=o.length-1;!h(r)||t.match(/px/g)||n.match(/format/g)||(t=r),""!==t&&"undefined"!==t&&o.forEach((function(e,n){var r=b(o[n+1],"");a===n?i[e]=t:(i[e]||(i[e]=r.match(/\d/g)?[]:{}),i=i[e])}))})),e},t.prototype.deselectAnnotation=function(){this.activeAnnotation&&(this.activeAnnotation.setControlPointsVisibility(!1),this.activeAnnotation=!1)},t.prototype.annotationToFields=function(e){function n(t,r,o,s){if(o&&t&&-1===c.indexOf(r)&&(0<=(o.indexOf&&o.indexOf(r))||o[r]||!0===o))if(f(t))s[r]=[],t.forEach((function(t,e){v(t)?(s[r][e]={},m(t,(function(t,o){n(t,o,i[r],s[r][e])}))):n(t,0,i[r],s[r])}));else if(v(t)){var u={};f(s)?(s.push(u),u[r]={},u=u[r]):s[r]=u,m(t,(function(t,e){n(t,e,0===r?o:i[r],u)}))}else"format"===r?s[r]=[l(t,e.labels[0].points[0]).toString(),"text"]:f(s)?s.push([t,a(t)]):s[r]=[t,a(t)]}var r=e.options,o=t.annotationsEditable,i=o.nestedOptions,a=this.utils.getFieldType,s=b(r.type,r.shapes&&r.shapes[0]&&r.shapes[0].type,r.labels&&r.labels[0]&&r.labels[0].itemType,"label"),c=t.annotationsNonEditable[r.langKey]||[],u={langKey:r.langKey,type:s};return m(r,(function(t,e){"typeOptions"===e?(u[e]={},m(r[e],(function(t,r){n(t,r,i,u[e])}))):n(t,e,o[s],u)})),u},t.prototype.getClickedClassNames=function(t,e){var n,r=e.target;for(e=[];r&&((n=u(r,"class"))&&(e=e.concat(n.split(" ").map((function(t){return[t,r]})))),(r=r.parentNode)!==t););return e},t.prototype.getButtonEvents=function(t,e){var n,r=this;return this.getClickedClassNames(t,e).forEach((function(t){r.boundClassNames[t[0]]&&!n&&(n={events:r.boundClassNames[t[0]],button:t[1]})})),n},t.prototype.update=function(t){this.options=g(!0,this.options,t),this.removeEvents(),this.initEvents()},t.prototype.removeEvents=function(){this.eventsToUnbind.forEach((function(t){t()}))},t.prototype.destroy=function(){this.removeEvents()},t.annotationsEditable={nestedOptions:{labelOptions:["style","format","backgroundColor"],labels:["style"],label:["style"],style:["fontSize","color"],background:["fill","strokeWidth","stroke"],innerBackground:["fill","strokeWidth","stroke"],outerBackground:["fill","strokeWidth","stroke"],shapeOptions:["fill","strokeWidth","stroke"],shapes:["fill","strokeWidth","stroke"],line:["strokeWidth","stroke"],backgroundColors:[!0],connector:["fill","strokeWidth","stroke"],crosshairX:["strokeWidth","stroke"],crosshairY:["strokeWidth","stroke"]},circle:["shapes"],ellipse:["shapes"],verticalLine:[],label:["labelOptions"],measure:["background","crosshairY","crosshairX"],fibonacci:[],tunnel:["background","line","height"],pitchfork:["innerBackground","outerBackground"],rect:["shapes"],crookedLine:[],basicAnnotation:["shapes","labelOptions"]},t.annotationsNonEditable={rectangle:["crosshairX","crosshairY","labelOptions"],ellipse:["labelOptions"],circle:["labelOptions"]},t}();return w.prototype.utils={getFieldType:function(t){return{string:"text",number:"number",boolean:"checkbox"}[typeof t]},updateRectSize:function(t,e){var n=e.chart,r=e.options.typeOptions,o=h(r.xAxis)&&n.xAxis[r.xAxis],i=h(r.yAxis)&&n.yAxis[r.yAxis];o&&i&&(o=o.toValue(t[o.horiz?"chartX":"chartY"]),t=i.toValue(t[i.horiz?"chartX":"chartY"]),i=o-r.point.x,r=r.point.y-t,e.update({typeOptions:{background:{width:n.inverted?r:i,height:n.inverted?i:r}}}))},getAssignedAxis:function(t){return t.filter((function(t){var e=t.axis.getExtremes(),n=e.min;e=e.max;var r=b(t.axis.minPointOffset,0);return h(n)&&h(e)&&t.value>=n-r&&t.value<=e+r&&!t.axis.options.isInternal}))[0]}},e.prototype.initNavigationBindings=function(){var t=this.options;t&&t.navigation&&t.navigation.bindings&&(this.navigationBindings=new w(this,t.navigation),this.navigationBindings.initEvents(),this.navigationBindings.initUpdate())},c(e,"load",(function(){this.initNavigationBindings()})),c(e,"destroy",(function(){this.navigationBindings&&this.navigationBindings.destroy()})),c(w,"deselectButton",(function(){this.selectedButtonElement=null})),c(t,"remove",(function(){this.chart.navigationBindings&&this.chart.navigationBindings.deselectAnnotation()})),o.Annotation&&(s(t),m(t.types,(function(t){s(t)}))),r({lang:{navigation:{popup:{simpleShapes:"Simple shapes",lines:"Lines",circle:"Circle",ellipse:"Ellipse",rectangle:"Rectangle",label:"Label",shapeOptions:"Shape options",typeOptions:"Details",fill:"Fill",format:"Text",strokeWidth:"Line width",stroke:"Line color",title:"Title",name:"Name",labelOptions:"Label options",labels:"Labels",backgroundColor:"Background color",backgroundColors:"Background colors",borderColor:"Border color",borderRadius:"Border radius",borderWidth:"Border width",style:"Style",padding:"Padding",fontSize:"Font size",color:"Color",height:"Height",shapes:"Shape options"}}},navigation:{bindingsClassName:"highcharts-bindings-container",bindings:{circleAnnotation:{className:"highcharts-circle-annotation",start:function(t){var e=this.chart.pointer.getCoordinates(t);t=this.utils.getAssignedAxis(e.xAxis),e=this.utils.getAssignedAxis(e.yAxis);var n=this.chart.options.navigation;if(t&&e)return this.chart.addAnnotation(g({langKey:"circle",type:"basicAnnotation",shapes:[{type:"circle",point:{x:t.value,y:e.value,xAxis:t.axis.options.index,yAxis:e.axis.options.index},r:5}]},n.annotationsOptions,n.bindings.circleAnnotation.annotationsOptions))},steps:[function(t,e){var n=e.options.shapes;if(n=n&&n[0]&&n[0].point||{},h(n.xAxis)&&h(n.yAxis)){var r=this.chart.inverted,o=this.chart.xAxis[n.xAxis].toPixels(n.x);n=this.chart.yAxis[n.yAxis].toPixels(n.y),r=Math.max(Math.sqrt(Math.pow(r?n-t.chartX:o-t.chartX,2)+Math.pow(r?o-t.chartY:n-t.chartY,2)),5)}e.update({shapes:[{r:r}]})}]},ellipseAnnotation:{className:"highcharts-ellipse-annotation",start:function(t){var e=this.chart.pointer.getCoordinates(t);t=this.utils.getAssignedAxis(e.xAxis),e=this.utils.getAssignedAxis(e.yAxis);var n=this.chart.options.navigation;if(t&&e)return this.chart.addAnnotation(g({langKey:"ellipse",type:"basicAnnotation",shapes:[{type:"ellipse",xAxis:t.axis.options.index,yAxis:e.axis.options.index,points:[{x:t.value,y:e.value},{x:t.value,y:e.value}],ry:1}]},n.annotationsOptions,n.bindings.ellipseAnnotation.annotationOptions))},steps:[function(t,e){var n=(e=e.shapes[0]).getAbsolutePosition(e.points[1]);e.translatePoint(t.chartX-n.x,t.chartY-n.y,1),e.redraw(!1)},function(t,e){var n=(e=e.shapes[0]).getAbsolutePosition(e.points[0]),r=e.getAbsolutePosition(e.points[1]);t=e.getDistanceFromLine(n,r,t.chartX,t.chartY),n=e.getYAxis(),t=Math.abs(n.toValue(0)-n.toValue(t)),e.setYRadius(t),e.redraw(!1)}]},rectangleAnnotation:{className:"highcharts-rectangle-annotation",start:function(t){t=this.chart.pointer.getCoordinates(t);var e=this.utils.getAssignedAxis(t.xAxis),n=this.utils.getAssignedAxis(t.yAxis);if(e&&n){t=e.value;var r=n.value;e=e.axis.options.index,n=n.axis.options.index;var o=this.chart.options.navigation;return this.chart.addAnnotation(g({langKey:"rectangle",type:"basicAnnotation",shapes:[{type:"path",points:[{xAxis:e,yAxis:n,x:t,y:r},{xAxis:e,yAxis:n,x:t,y:r},{xAxis:e,yAxis:n,x:t,y:r},{xAxis:e,yAxis:n,x:t,y:r},{command:"Z"}]}]},o.annotationsOptions,o.bindings.rectangleAnnotation.annotationsOptions))}},steps:[function(t,e){var n=e.options.shapes;n=n&&n[0]&&n[0].points||[];var r=this.chart.pointer.getCoordinates(t);t=this.utils.getAssignedAxis(r.xAxis),r=this.utils.getAssignedAxis(r.yAxis),t&&r&&(t=t.value,r=r.value,n[1].x=t,n[2].x=t,n[2].y=r,n[3].y=r,e.update({shapes:[{points:n}]}))}]},labelAnnotation:{className:"highcharts-label-annotation",start:function(t){var e=this.chart.pointer.getCoordinates(t);t=this.utils.getAssignedAxis(e.xAxis),e=this.utils.getAssignedAxis(e.yAxis);var n=this.chart.options.navigation;if(t&&e)return this.chart.addAnnotation(g({langKey:"label",type:"basicAnnotation",labelOptions:{format:"{y:.2f}"},labels:[{point:{xAxis:t.axis.options.index,yAxis:e.axis.options.index,x:t.value,y:e.value},overflow:"none",crop:!0}]},n.annotationsOptions,n.bindings.labelAnnotation.annotationsOptions))}}},events:{},annotationsOptions:{animation:{defer:0}}}}),c(e,"render",(function(){var t=this,e=t.navigationBindings;if(t&&e){var n=!1;t.series.forEach((function(t){!t.options.isInternal&&t.visible&&(n=!0)})),m(e.boundClassNames,(function(e,r){if(t.navigationBindings&&t.navigationBindings.container&&t.navigationBindings.container[0]&&(r=t.navigationBindings.container[0].querySelectorAll("."+r)))for(var o=0;o<r.length;o++){var i=r[o],a=i.className;"normal"===e.noDataState||n?-1!==a.indexOf("highcharts-disabled-btn")&&i.classList.remove("highcharts-disabled-btn"):-1===a.indexOf("highcharts-disabled-btn")&&(i.className+=" highcharts-disabled-btn")}}))}})),c(w,"closePopup",(function(){this.deselectAnnotation()})),w})),e(t,"Extensions/Annotations/Popup.js",[t["Core/Renderer/HTML/AST.js"],t["Core/Globals.js"],t["Extensions/Annotations/NavigationBindings.js"],t["Core/DefaultOptions.js"],t["Core/Pointer.js"],t["Core/Utilities.js"]],(function(t,e,n,r,o,i){var a=e.doc,s=e.isFirefox,l=r.getOptions,c=i.addEvent,u=i.createElement,d=i.defined,f=i.fireEvent,p=i.isArray,h=i.isObject,v=i.objectEach,g=i.pick,m=i.stableSort;r=i.wrap;var b,y=/\d/g;!function(t){t[t["params.algorithm"]=0]="params.algorithm",t[t["params.average"]=1]="params.average"}(b||(b={}));var x={"algorithm-pivotpoints":["standard","fibonacci","camarilla"],"average-disparityindex":["sma","ema","dema","tema","wma"]};return r(o.prototype,"onContainerMouseDown",(function(t,e){this.inClass(e.target,"highcharts-popup")||t.apply(this,Array.prototype.slice.call(arguments,1))})),e.Popup=function(t,e,n){this.init(t,e,n)},e.Popup.prototype={init:function(t,n,r){this.chart=r,this.container=u("div",{className:"highcharts-popup highcharts-no-tooltip"},void 0,t),c(this.container,"mousedown",(function(){var t=r&&r.navigationBindings&&r.navigationBindings.activeAnnotation;if(t){t.cancelClick=!0;var n=c(e.doc,"click",(function(){setTimeout((function(){t.cancelClick=!1}),0),n()}))}})),this.lang=this.getLangpack(),this.iconsURL=n,this.addCloseBtn()},addCloseBtn:function(){var t=this,e=this.iconsURL,n=u("div",{className:"highcharts-popup-close"},void 0,this.container);n.style["background-image"]="url("+(e.match(/png|svg|jpeg|jpg|gif/gi)?e:e+"close.svg")+")",["click","touchstart"].forEach((function(e){c(n,e,(function(){t.chart?f(t.chart.navigationBindings,"closePopup"):t.closePopup()}))}))},addColsContainer:function(t){var e=u("div",{className:"highcharts-popup-lhs-col"},void 0,t);return t=u("div",{className:"highcharts-popup-rhs-col"},void 0,t),u("div",{className:"highcharts-popup-rhs-col-wrapper"},void 0,t),{lhsCol:e,rhsCol:t}},addInput:function(t,e,n,r){var o=t.split(".");o=o[o.length-1];var i=this.lang;return(e="highcharts-"+e+"-"+g(r.htmlFor,o)).match(y)||u("label",{htmlFor:e,className:r.labelClassName},void 0,n).appendChild(a.createTextNode(i[o]||o)),(n=u("input",{name:e,value:r.value,type:r.type,className:"highcharts-popup-field"},void 0,n)).setAttribute("highcharts-data-name",t),n},addButton:function(t,e,n,r,o){var i=this,s=this.closePopup,l=this.getFields,d=u("button",void 0,void 0,t);return d.appendChild(a.createTextNode(e)),o&&["click","touchstart"].forEach((function(t){c(d,t,(function(){return s.call(i),o(l(r,n))}))})),d},getFields:function(t,e){var n=Array.prototype.slice.call(t.querySelectorAll("input")),r=Array.prototype.slice.call(t.querySelectorAll("select")),o=t.querySelectorAll("#highcharts-select-series > option:checked")[0];t=t.querySelectorAll("#highcharts-select-volume > option:checked")[0];var i={actionType:e,linkedTo:o&&o.getAttribute("value")||"",fields:{}};return n.forEach((function(t){var e=t.getAttribute("highcharts-data-name");t.getAttribute("highcharts-data-series-id")?i.seriesId=t.value:e?i.fields[e]=t.value:i.type=t.value})),r.forEach((function(t){var e=t.id;"highcharts-select-series"!==e&&"highcharts-select-volume"!==e&&(e=e.split("highcharts-select-")[1],i.fields[e]=t.value)})),t&&(i.fields["params.volumeSeriesID"]=t.getAttribute("value")||""),i},showPopup:function(){var e=this.container,n=e.querySelectorAll(".highcharts-popup-close")[0];this.formType=void 0,e.innerHTML=t.emptyHTML,0<=e.className.indexOf("highcharts-annotation-toolbar")&&(e.classList.remove("highcharts-annotation-toolbar"),e.removeAttribute("style")),e.appendChild(n),e.style.display="block",e.style.height=""},closePopup:function(){g(this.popup&&this.popup.container,this.container).style.display="none"},showForm:function(t,e,n,r){e&&(this.popup=e.navigationBindings.popup,this.showPopup(),"indicators"===t&&this.indicators.addForm.call(this,e,n,r),"annotation-toolbar"===t&&this.annotations.addToolbar.call(this,e,n,r),"annotation-edit"===t&&this.annotations.addForm.call(this,e,n,r),"flag"===t&&this.annotations.addForm.call(this,e,n,r,!0),this.formType=t,this.container.style.height=this.container.offsetHeight+"px")},getLangpack:function(){return l().lang.navigation.popup},annotations:{addToolbar:function(t,e,n){var r=this,o=this.lang,i=this.popup.container,s=this.showForm;-1===i.className.indexOf("highcharts-annotation-toolbar")&&(i.className+=" highcharts-annotation-toolbar"),t&&(i.style.top=t.plotTop+10+"px"),u("span",void 0,void 0,i).appendChild(a.createTextNode(g(o[e.langKey]||e.langKey,e.shapes&&e.shapes[0].type,"")));var l=this.addButton(i,o.removeButton||"remove","remove",i,n);l.className+=" highcharts-annotation-remove-button",l.style["background-image"]="url("+this.iconsURL+"destroy.svg)",(l=this.addButton(i,o.editButton||"edit","edit",i,(function(){s.call(r,"annotation-edit",t,e,n)}))).className+=" highcharts-annotation-edit-button",l.style["background-image"]="url("+this.iconsURL+"edit.svg)"},addForm:function(t,e,n,r){var o=this.popup.container,i=this.lang;if(t){var s=u("h2",{className:"highcharts-popup-main-title"},void 0,o);s.appendChild(a.createTextNode(i[e.langKey]||e.langKey||"")),s=u("div",{className:"highcharts-popup-lhs-col highcharts-popup-lhs-full"},void 0,o);var l=u("div",{className:"highcharts-popup-bottom-row"},void 0,o);this.annotations.addFormFields.call(this,s,t,"",e,[],!0),this.addButton(l,r?i.addButton||"add":i.saveButton||"save",r?"add":"save",o,n)}},addFormFields:function(t,e,n,r,o,i){var l,c,d=this,f=this.annotations.addFormFields,g=this.addInput,b=this.lang;e&&(v(r,(function(r,i){l=""!==n?n+"."+i:i,h(r)&&(!p(r)||p(r)&&h(r[0])?((c=b[i]||i).match(y)||o.push([!0,c,t]),f.call(d,t,e,l,r,o,!1)):o.push([d,l,"annotation",t,r]))})),i&&(m(o,(function(t){return t[1].match(/format/g)?-1:1})),s&&o.reverse(),o.forEach((function(t){!0===t[0]?u("span",{className:"highcharts-annotation-title"},void 0,t[2]).appendChild(a.createTextNode(t[1])):(t[4]={value:t[4][0],type:t[4][1]},g.apply(t[0],t.splice(1)))}))))}},indicators:{addForm:function(t,e,n){var r=this.indicators,o=this.lang;if(t){this.tabs.init.call(this,t),e=this.popup.container.querySelectorAll(".highcharts-tab-item-content"),this.addColsContainer(e[0]),r.addSearchBox.call(this,t,e[0]),r.addIndicatorList.call(this,t,e[0],"add");var i=e[0].querySelectorAll(".highcharts-popup-rhs-col")[0];this.addButton(i,o.addButton||"add","add",i,n),this.addColsContainer(e[1]),r.addIndicatorList.call(this,t,e[1],"edit"),i=e[1].querySelectorAll(".highcharts-popup-rhs-col")[0],this.addButton(i,o.saveButton||"save","edit",i,n),this.addButton(i,o.removeButton||"remove","remove",i,n)}},filterSeries:function(t,e){var n,r=this.indicators,o=this.chart&&this.chart.options.lang,i=o&&o.navigation&&o.navigation.popup&&o.navigation.popup.indicatorAliases,a=[];return v(t,(function(t,o){var s=t.options;if(t.params||s&&s.params)if(o=(s=r.getNameType(t,o)).indicatorFullName,s=s.indicatorType,e){var l=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");l=new RegExp(l,"i");var c=i&&i[s]&&i[s].join(" ")||"";(o.match(l)||c.match(l))&&(n={indicatorFullName:o,indicatorType:s,series:t},a.push(n))}else n={indicatorFullName:o,indicatorType:s,series:t},a.push(n)})),a},filterSeriesArray:function(t){var e,n=[];return t.forEach((function(t){t.is("sma")&&(e={indicatorFullName:t.name,indicatorType:t.type,series:t},n.push(e))})),n},addIndicatorList:function(e,n,r,o){var i=this,s=i.indicators,l=i.lang,d=n.querySelectorAll(".highcharts-popup-lhs-col")[0];n=n.querySelectorAll(".highcharts-popup-rhs-col")[0];var f="edit"===r,h=this.indicators.addFormFields;if(r=f?e.series:e.options.plotOptions||{},e||!r){var v,g=[];f||p(r)?p(r)&&(g=s.filterSeriesArray.call(this,r)):g=s.filterSeries.call(this,r,o),m(g,(function(t,e){return(t=t.indicatorFullName.toLowerCase())<(e=e.indicatorFullName.toLowerCase())?-1:t>e?1:0})),d.children[1]&&d.children[1].remove();var b=u("ul",{className:"highcharts-indicator-list"},void 0,d),y=n.querySelectorAll(".highcharts-popup-rhs-col-wrapper")[0];g.forEach((function(t){var n=t.indicatorFullName,r=t.indicatorType,o=t.series;(v=u("li",{className:"highcharts-indicator-list"},void 0,b)).appendChild(a.createTextNode(n)),["click","touchstart"].forEach((function(t){c(v,t,(function(){var t=y.parentNode.children[1];h.call(i,e,o,r,y),t&&(t.style.display="block"),f&&o.options&&u("input",{type:"hidden",name:"highcharts-id-"+r,value:o.options.id},void 0,y).setAttribute("highcharts-data-series-id",o.options.id)}))}))})),0<b.childNodes.length?b.childNodes[0].click():f||(t.setElementHTML(y.parentNode.children[0],l.noFilterMatch||""),y.parentNode.children[1].style.display="none")}},addSearchBox:function(t,e){var n=this,r=e.querySelectorAll(".highcharts-popup-lhs-col")[0];e=this.lang.clearFilter,r=u("div",{className:"highcharts-input-wrapper"},void 0,r);var o=function(e){n.indicators.addIndicatorList.call(n,t,n.container,"add",e)},i=this.addInput("searchIndicators","input",r,{value:"",type:"text",htmlFor:"search-indicators",labelClassName:"highcharts-input-search-indicators-label"}),a=u("a",{textContent:e},void 0,r);i.classList.add("highcharts-input-search-indicators"),a.classList.add("clear-filter-button"),c(i,"input",(function(t){o(this.value),a.style.display=this.value.length?"inline-block":"none"})),["click","touchstart"].forEach((function(t){c(a,t,(function(){i.value="",o(""),a.style.display="none"}))}))},addSelection:function(t,e,n){var r=e.split(".");r=r[r.length-1],t="highcharts-"+e+"-type-"+t;var o=this.lang;return u("label",{htmlFor:t},null,n).appendChild(a.createTextNode(o[r]||e)),(n=u("select",{name:t,className:"highcharts-popup-field",id:"highcharts-select-"+e},null,n)).setAttribute("id","highcharts-select-"+e),n},addSelectionOptions:function(t,e,n,r,o,i,s){"series"===e||"volume"===e?t.series.forEach((function(t){var r=t.options,o=r.name||r.params?t.name:r.id||"";"highcharts-navigator-series"!==r.id&&r.id!==(s&&s.options&&s.options.id)&&(d(i)||"volume"!==e||"column"!==t.type||(i=r.id),u("option",{value:r.id},void 0,n).appendChild(a.createTextNode(o)))})):r&&o&&x[o+"-"+r].forEach((function(t){u("option",{value:t},void 0,n).appendChild(a.createTextNode(t))})),d(i)&&(n.value=i)},getNameType:function(t,n){var r=t.options,o=e.seriesTypes;return o=o[n]&&o[n].prototype.nameBase||n.toUpperCase(),r&&r.type&&(n=t.options.type,o=t.name),{indicatorFullName:o,indicatorType:n}},listAllSeries:function(t,e,n,r,o,i){var a=this.indicators;n&&(t=a.addSelection.call(this,t,e,r),a.addSelectionOptions.call(this,n,e,t,void 0,void 0,void 0,o),d(i)&&(t.value=i))},addFormFields:function(e,n,r,o){var i=n.params||n.options.params,s=this.indicators.getNameType;o.innerHTML=t.emptyHTML,u("h3",{className:"highcharts-indicator-title"},void 0,o).appendChild(a.createTextNode(s(n,r).indicatorFullName)),u("input",{type:"hidden",name:"highcharts-type-"+r,value:r},void 0,o),this.indicators.listAllSeries.call(this,r,"series",e,o,n,n.linkedParent&&n.linkedParent.options.id),i.volumeSeriesID&&this.indicators.listAllSeries.call(this,r,"volume",e,o,n,n.linkedParent&&i.volumeSeriesID),this.indicators.addParamInputs.call(this,e,"params",i,r,o)},addParamInputs:function(t,e,n,r,o){var i,a=this,s=a.indicators,l=this.indicators.addParamInputs,c=this.addInput;t&&v(n,(function(n,u){if(i=e+"."+u,d(n)&&i)if(h(n)&&(c.call(a,i,r,o,{}),l.call(a,t,i,n,r,o)),i in b){var f=s.addSelection.call(a,r,i,o);s.addSelectionOptions.call(a,t,e,f,r,u,n)}else"params.volumeSeriesID"===i||p(n)||c.call(a,i,r,o,{value:n,type:"text"})}))},getAmount:function(){var t=0;return this.series.forEach((function(e){var n=e.options;(e.params||n&&n.params)&&t++})),t}},tabs:{init:function(t){var e=this.tabs,n=this.indicators.getAmount.call(t);t&&(t=e.addMenuItem.call(this,"add"),e.addMenuItem.call(this,"edit",n),e.addContentItem.call(this,"add"),e.addContentItem.call(this,"edit"),e.switchTabs.call(this,n),e.selectTab.call(this,t,0))},addMenuItem:function(t,e){var n=this.popup.container,r="highcharts-tab-item",o=this.lang;return 0===e&&(r+=" highcharts-tab-disabled"),(e=u("span",{className:r},void 0,n)).appendChild(a.createTextNode(o[t+"Button"]||t)),e.setAttribute("highcharts-data-tab-type",t),e},addContentItem:function(){return u("div",{className:"highcharts-tab-item-content highcharts-no-mousewheel"},void 0,this.popup.container)},switchTabs:function(t){var e=this;this.popup.container.querySelectorAll(".highcharts-tab-item").forEach((function(n,r){"edit"===n.getAttribute("highcharts-data-tab-type")&&0===t||["click","touchstart"].forEach((function(t){c(n,t,(function(){e.tabs.deselectAll.call(e),e.tabs.selectTab.call(e,this,r)}))}))}))},selectTab:function(t,e){var n=this.popup.container.querySelectorAll(".highcharts-tab-item-content");t.className+=" highcharts-tab-item-active",n[e].className+=" highcharts-tab-item-show"},deselectAll:function(){var t,e=this.popup.container,n=e.querySelectorAll(".highcharts-tab-item");for(e=e.querySelectorAll(".highcharts-tab-item-content"),t=0;t<n.length;t++)n[t].classList.remove("highcharts-tab-item-active"),e[t].classList.remove("highcharts-tab-item-show")}}},c(n,"showPopup",(function(t){this.popup||(this.popup=new e.Popup(this.chart.container,this.chart.options.navigation.iconsURL||this.chart.options.stockTools&&this.chart.options.stockTools.gui.iconsURL||"https://code.highcharts.com/10.2.0/gfx/stock-icons/",this.chart)),this.popup.showForm(t.formType,this.chart,t.options,t.onSubmit)})),c(n,"closePopup",(function(){this.popup&&this.popup.closePopup()})),e.Popup})),e(t,"masters/modules/annotations.src.js",[],(function(){}))},t.exports?(i.default=i,t.exports=i):(r=[n(21)],void 0===(o=function(t){return i(t),i.Highcharts=t,i}.apply(e,r))||(t.exports=o))},function(t,e,n){"use strict";var r=n(44);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(45)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14zM7 10h2v7H7zm4-3h2v10h-2zm4 6h2v4h-2z"}),"AssessmentOutlined");e.default=a},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},r.apply(this,arguments)}n.d(e,"a",(function(){return o}));var o=function(){var t="undefined"!==typeof window&&window._hsq?window._hsq:[],e=function(){t.push(["trackPageView"])};return{setContentType:function(e){t.push(["setContentType",e])},setPathPageView:function(n){t.push(["setPath",n]),e()},setTrackPageView:e,setIdentity:function(e,n){t.push(["identify",r({email:e},n)])},setTrackEvent:function(e){var n=e.eventId,r=e.value;t.push(["trackEvent",{id:n,value:r}])}}}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return b}));var r=n(88),o=(n(245),n(155)),i=n(519),a=function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},t(e,n)};return function(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t},l=Object.defineProperty,c=(Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols),u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,f=function(t,e,n){return e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n},p=function(t,e){for(var n in e||(e={}))u.call(e,n)&&f(t,n,e[n]);if(c)for(var r=0,o=c(e);r<o.length;r++){n=o[r];d.call(e,n)&&f(t,n,e[n])}return t},h="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?o.c:o.c.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function v(t){if("object"!==typeof t||null===t)return!1;var e=Object.getPrototypeOf(t);if(null===e)return!0;for(var n=e;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return e===n}var g=function(t){function e(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o=t.apply(this,n)||this;return Object.setPrototypeOf(o,e.prototype),o}return a(e,t),Object.defineProperty(e,Symbol.species,{get:function(){return e},enumerable:!1,configurable:!0}),e.prototype.concat=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.prototype.concat.apply(this,e)},e.prototype.prepend=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])?new(e.bind.apply(e,s([void 0],t[0].concat(this)))):new(e.bind.apply(e,s([void 0],t.concat(this))))},e}(Array);function m(){return function(t){return function(t){void 0===t&&(t={});var e=t.thunk,n=void 0===e||e,r=(t.immutableCheck,t.serializableCheck,new g);n&&("boolean"===typeof n?r.push(i.a):r.push(i.a.withExtraArgument(n.extraArgument)));0;return r}(t)}}function b(t){var e,n=m(),r=t||{},i=r.reducer,a=void 0===i?void 0:i,l=r.middleware,c=void 0===l?n():l,u=r.devTools,d=void 0===u||u,f=r.preloadedState,g=void 0===f?void 0:f,b=r.enhancers,y=void 0===b?void 0:b;if("function"===typeof a)e=a;else{if(!v(a))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(o.b)(a)}var x=c;"function"===typeof x&&(x=x(n));var w=o.a.apply(void 0,x),O=o.c;d&&(O=h(p({trace:!1},"object"===typeof d&&d)));var S=[w];Array.isArray(y)?S=s([w],y):"function"===typeof y&&(S=y(S));var j=O.apply(void 0,S);return Object(o.d)(e,g,j)}function y(t,e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e){var o=e.apply(void 0,n);if(!o)throw new Error("prepareAction did not return an object");return p(p({type:t,payload:o.payload},"meta"in o&&{meta:o.meta}),"error"in o&&{error:o.error})}return{type:t,payload:n[0]}}return n.toString=function(){return""+t},n.type=t,n.match=function(e){return e.type===t},n}Object.assign;var x="listenerMiddleware";y(x+"/add"),y(x+"/removeAll"),y(x+"/remove");Object(r.c)()}).call(this,n(171))},function(t,e,n){"use strict";var r=n(5),o=n(3),i=n(12),a=n(311),s=n(1164);function l(t,e){var n;return Object(o.a)({toolbar:(n={minHeight:56},Object(r.a)(n,t.up("xs"),{"@media (orientation: landscape)":{minHeight:48}}),Object(r.a)(n,t.up("sm"),{minHeight:64}),n)},e)}var c=n(437),u=n(167),d={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},p={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"},h={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"},v={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"},g={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"},m={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"},b={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"},y=["mode","contrastThreshold","tonalOffset"],x={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},w={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function O(t,e,n,r){var o=r.light||r,i=r.dark||1.5*r;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=Object(u.e)(t.main,o):"dark"===e&&(t.dark=Object(u.b)(t.main,i)))}function S(t){var e=t.mode,n=void 0===e?"light":e,r=t.contrastThreshold,s=void 0===r?3:r,l=t.tonalOffset,S=void 0===l?.2:l,j=Object(i.a)(t,y),C=t.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[200],light:g[50],dark:g[400]}:{main:g[700],light:g[400],dark:g[800]}}(n),k=t.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(n),E=t.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h[500],light:h[300],dark:h[700]}:{main:h[700],light:h[400],dark:h[800]}}(n),P=t.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[400],light:m[300],dark:m[700]}:{main:m[700],light:m[500],dark:m[900]}}(n),_=t.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[800],light:b[500],dark:b[900]}}(n),M=t.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:"#ed6c02",light:v[500],dark:v[900]}}(n);function T(t){return Object(u.d)(t,w.text.primary)>=s?w.text.primary:x.text.primary}var A=function(t){var e=t.color,n=t.name,r=t.mainShade,i=void 0===r?500:r,a=t.lightShade,s=void 0===a?300:a,l=t.darkShade,u=void 0===l?700:l;if(!(e=Object(o.a)({},e)).main&&e[i]&&(e.main=e[i]),!e.hasOwnProperty("main"))throw new Error(Object(c.a)(11,n?" (".concat(n,")"):"",i));if("string"!==typeof e.main)throw new Error(Object(c.a)(12,n?" (".concat(n,")"):"",JSON.stringify(e.main)));return O(e,"light",s,S),O(e,"dark",u,S),e.contrastText||(e.contrastText=T(e.main)),e},R={dark:w,light:x};return Object(a.a)(Object(o.a)({common:Object(o.a)({},d),mode:n,primary:A({color:C,name:"primary"}),secondary:A({color:k,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:E,name:"error"}),warning:A({color:M,name:"warning"}),info:A({color:P,name:"info"}),success:A({color:_,name:"success"}),grey:f,contrastThreshold:s,getContrastText:T,augmentColor:A,tonalOffset:S},R[n]),j)}var j=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var C={textTransform:"uppercase"},k='"Roboto", "Helvetica", "Arial", sans-serif';function E(t,e){var n="function"===typeof e?e(t):e,r=n.fontFamily,s=void 0===r?k:r,l=n.fontSize,c=void 0===l?14:l,u=n.fontWeightLight,d=void 0===u?300:u,f=n.fontWeightRegular,p=void 0===f?400:f,h=n.fontWeightMedium,v=void 0===h?500:h,g=n.fontWeightBold,m=void 0===g?700:g,b=n.htmlFontSize,y=void 0===b?16:b,x=n.allVariants,w=n.pxToRem,O=Object(i.a)(n,j);var S=c/14,E=w||function(t){return"".concat(t/y*S,"rem")},P=function(t,e,n,r,i){return Object(o.a)({fontFamily:s,fontWeight:t,fontSize:E(e),lineHeight:n},s===k?{letterSpacing:"".concat((a=r/e,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},_={h1:P(d,96,1.167,-1.5),h2:P(d,60,1.2,-.5),h3:P(p,48,1.167,0),h4:P(p,34,1.235,.25),h5:P(p,24,1.334,0),h6:P(v,20,1.6,.15),subtitle1:P(p,16,1.75,.15),subtitle2:P(v,14,1.57,.1),body1:P(p,16,1.5,.15),body2:P(p,14,1.43,.15),button:P(v,14,1.75,.4,C),caption:P(p,12,1.66,.4),overline:P(p,12,2.66,1,C)};return Object(a.a)(Object(o.a)({htmlFontSize:y,pxToRem:E,fontFamily:s,fontSize:c,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:v,fontWeightBold:m},_),O,{clone:!1})}function P(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var _=["none",P(0,2,1,-1,0,1,1,0,0,1,3,0),P(0,3,1,-2,0,2,2,0,0,1,5,0),P(0,3,3,-2,0,3,4,0,0,1,8,0),P(0,2,4,-1,0,4,5,0,0,1,10,0),P(0,3,5,-1,0,5,8,0,0,1,14,0),P(0,3,5,-1,0,6,10,0,0,1,18,0),P(0,4,5,-2,0,7,10,1,0,2,16,1),P(0,5,5,-3,0,8,10,1,0,3,14,2),P(0,5,6,-3,0,9,12,1,0,3,16,2),P(0,6,6,-3,0,10,14,1,0,4,18,3),P(0,6,7,-4,0,11,15,1,0,4,20,3),P(0,7,8,-4,0,12,17,2,0,5,22,4),P(0,7,8,-4,0,13,19,2,0,5,24,4),P(0,7,9,-4,0,14,21,2,0,5,26,4),P(0,8,9,-5,0,15,22,2,0,6,28,5),P(0,8,10,-5,0,16,24,2,0,6,30,5),P(0,8,11,-5,0,17,26,2,0,6,32,5),P(0,9,11,-5,0,18,28,2,0,7,34,6),P(0,9,12,-6,0,19,29,2,0,7,36,6),P(0,10,13,-6,0,20,31,3,0,8,38,7),P(0,10,13,-6,0,21,33,3,0,8,40,7),P(0,10,14,-6,0,22,35,3,0,8,42,7),P(0,11,14,-7,0,23,36,3,0,9,44,8),P(0,11,15,-7,0,24,38,3,0,9,46,8)],M=n(402),T={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},A=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function R(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.mixins,n=void 0===e?{}:e,r=t.palette,c=void 0===r?{}:r,u=t.transitions,d=void 0===u?{}:u,f=t.typography,p=void 0===f?{}:f,h=Object(i.a)(t,A),v=S(c),g=Object(s.a)(t),m=Object(a.a)(g,{mixins:l(g.breakpoints,n),palette:v,shadows:_.slice(),typography:E(v,p),transitions:Object(M.a)(d),zIndex:Object(o.a)({},T)});m=Object(a.a)(m,h);for(var b=arguments.length,y=new Array(b>1?b-1:0),x=1;x<b;x++)y[x-1]=arguments[x];return m=y.reduce((function(t,e){return Object(a.a)(t,e)}),m)}e.a=R},function(t,e,n){"use strict";var r=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function o(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function i(){}var a=.7,s=1/a,l="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",u="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[l,l,l]+"\\)$"),p=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgba\\("+[l,l,l,c]+"\\)$"),v=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),g=new RegExp("^hsl\\("+[c,u,u]+"\\)$"),m=new RegExp("^hsla\\("+[c,u,u,c]+"\\)$"),b={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 y(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function w(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=d.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?O(e):3===n?new k(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?S(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?S(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 k(e[1],e[2],e[3],1):(e=p.exec(t))?new k(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=h.exec(t))?S(e[1],e[2],e[3],e[4]):(e=v.exec(t))?S(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=g.exec(t))?M(e[1],e[2]/100,e[3]/100,1):(e=m.exec(t))?M(e[1],e[2]/100,e[3]/100,e[4]):b.hasOwnProperty(t)?O(b[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function O(t){return new k(t>>16&255,t>>8&255,255&t,1)}function S(t,e,n,r){return r<=0&&(t=e=n=NaN),new k(t,e,n,r)}function j(t){return t instanceof i||(t=w(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function C(t,e,n,r){return 1===arguments.length?j(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(){return"#"+_(this.r)+_(this.g)+_(this.b)}function P(){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 _(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function M(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 T(t){if(t instanceof A)return new A(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(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),s=NaN,l=a-o,c=(a+o)/2;return l?(s=e===a?(n-r)/l+6*(n<r):n===a?(r-e)/l+2:(e-n)/l+4,l/=c<.5?a+o:2-a-o,s*=60):l=c>0&&c<1?0:s,new A(s,l,c,t.opacity)}function A(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function R(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function D(t,e,n,r,o){var i=t*t,a=i*t;return((1-3*t+3*i-a)*e+(4-6*i+3*a)*n+(1+3*t+3*i-3*a)*r+a*o)/6}r(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return T(this).formatHsl()},formatRgb:x,toString:x}),r(k,C,o(i,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,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:E,formatHex:E,formatRgb:P,toString:P})),r(A,(function(t,e,n,r){return 1===arguments.length?T(t):new A(t,e,n,null==r?1:r)}),o(i,{brighter:function(t){return t=null==t?s:Math.pow(s,t),new A(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,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,o=2*n-r;return new k(R(t>=240?t-240:t+120,o,r),R(t,o,r),R(t<120?t+240:t-120,o,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+")")}}));var I=function(t){return function(){return t}};function N(t,e){return function(n){return t+n*e}}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):I(isNaN(e)?n:e)}}function F(t,e){var n=e-t;return n?N(t,n):I(isNaN(t)?e:t)}var B=function t(e){var n=L(e);function r(t,e){var r=n((t=C(t)).r,(e=C(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),a=F(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function z(t){return function(e){var n,r,o=e.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=C(e[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=t(i),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=i(t),r.g=a(t),r.b=s(t),r+""}}}z((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],i=t[r+1],a=r>0?t[r-1]:2*o-i,s=r<e-1?t[r+2]:2*i-o;return D((n-r/e)*e,a,o,i,s)}})),z((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],i=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return D((n-r/e)*e,o,i,a,s)}}));var H=function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,o=e.slice();return function(i){for(n=0;n<r;++n)o[n]=t[n]*(1-i)+e[n]*i;return o}};function V(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function U(t,e){var n,r=e?e.length:0,o=t?Math.min(r,t.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=$(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<o;++n)a[n]=i[n](t);return a}}var W=function(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}},q=n(346),G=function(t,e){var n,r={},o={};for(n in null!==t&&"object"===typeof t||(t={}),null!==e&&"object"===typeof e||(e={}),e)n in t?r[n]=$(t[n],e[n]):o[n]=e[n];return function(t){for(n in r)o[n]=r[n](t);return o}},Y=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,X=new RegExp(Y.source,"g");var K=function(t,e){var n,r,o,i=Y.lastIndex=X.lastIndex=0,a=-1,s=[],l=[];for(t+="",e+="";(n=Y.exec(t))&&(r=X.exec(e));)(o=r.index)>i&&(o=e.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:Object(q.a)(n,r)})),i=X.lastIndex;return i<e.length&&(o=e.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?function(t){return function(e){return t(e)+""}}(l[0].x):function(t){return function(){return t}}(e):(e=l.length,function(t){for(var n,r=0;r<e;++r)s[(n=l[r]).i]=n.x(t);return s.join("")})},$=e.a=function(t,e){var n,r=typeof e;return null==e||"boolean"===r?I(e):("number"===r?q.a:"string"===r?(n=w(e))?(e=n,B):K:e instanceof w?B:e instanceof Date?W:V(e)?H:Array.isArray(e)?U:"function"!==typeof e.valueOf&&"function"!==typeof e.toString||isNaN(e)?G:q.a)(t,e)}},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=(n(172),n(10)),s=n(230),l=n(1354),c=n(1330),u=n(13),d=n(17),f=n(163),p=n(154),h=n(247),v=n(60),g=n(730),m=n(1308),b=n(168),y=n(187);function x(t){return Object(b.a)("MuiPopover",t)}Object(y.a)("MuiPopover",["root","paper"]);var w=n(0),O=["onEntering"],S=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function j(t,e){var n=0;return"number"===typeof e?n=e:"center"===e?n=t.height/2:"bottom"===e&&(n=t.height),n}function C(t,e){var n=0;return"number"===typeof e?n=e:"center"===e?n=t.width/2:"right"===e&&(n=t.width),n}function k(t){return[t.horizontal,t.vertical].map((function(t){return"number"===typeof t?"".concat(t,"px"):t})).join(" ")}function E(t){return"function"===typeof t?t():t}var P=Object(u.a)(m.a,{name:"MuiPopover",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),_=Object(u.a)(c.a,{name:"MuiPopover",slot:"Paper",overridesResolver:function(t,e){return e.paper}})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),M=i.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiPopover"}),l=n.action,c=n.anchorEl,u=n.anchorOrigin,m=void 0===u?{vertical:"top",horizontal:"left"}:u,b=n.anchorPosition,y=n.anchorReference,M=void 0===y?"anchorEl":y,T=n.children,A=n.className,R=n.container,D=n.elevation,I=void 0===D?8:D,N=n.marginThreshold,L=void 0===N?16:N,F=n.open,B=n.PaperProps,z=void 0===B?{}:B,H=n.transformOrigin,V=void 0===H?{vertical:"top",horizontal:"left"}:H,U=n.TransitionComponent,W=void 0===U?g.a:U,q=n.transitionDuration,G=void 0===q?"auto":q,Y=n.TransitionProps,X=(Y=void 0===Y?{}:Y).onEntering,K=Object(o.a)(n.TransitionProps,O),$=Object(o.a)(n,S),Z=i.useRef(),Q=Object(v.a)(Z,z.ref),J=Object(r.a)({},n,{anchorOrigin:m,anchorReference:M,elevation:I,marginThreshold:L,PaperProps:z,transformOrigin:V,TransitionComponent:W,transitionDuration:G,TransitionProps:K}),tt=function(t){var e=t.classes;return Object(s.a)({root:["root"],paper:["paper"]},x,e)}(J),et=i.useCallback((function(){if("anchorPosition"===M)return b;var t=E(c),e=(t&&1===t.nodeType?t:Object(p.a)(Z.current).body).getBoundingClientRect();return{top:e.top+j(e,m.vertical),left:e.left+C(e,m.horizontal)}}),[c,m.horizontal,m.vertical,b,M]),nt=i.useCallback((function(t){return{vertical:j(t,V.vertical),horizontal:C(t,V.horizontal)}}),[V.horizontal,V.vertical]),rt=i.useCallback((function(t){var e={width:t.offsetWidth,height:t.offsetHeight},n=nt(e);if("none"===M)return{top:null,left:null,transformOrigin:k(n)};var r=et(),o=r.top-n.vertical,i=r.left-n.horizontal,a=o+e.height,s=i+e.width,l=Object(h.a)(E(c)),u=l.innerHeight-L,d=l.innerWidth-L;if(o<L){var f=o-L;o-=f,n.vertical+=f}else if(a>u){var p=a-u;o-=p,n.vertical+=p}if(i<L){var v=i-L;i-=v,n.horizontal+=v}else if(s>d){var g=s-d;i-=g,n.horizontal+=g}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(i),"px"),transformOrigin:k(n)}}),[c,M,et,nt,L]),ot=i.useCallback((function(){var t=Z.current;if(t){var e=rt(t);null!==e.top&&(t.style.top=e.top),null!==e.left&&(t.style.left=e.left),t.style.transformOrigin=e.transformOrigin}}),[rt]);i.useEffect((function(){F&&ot()})),i.useImperativeHandle(l,(function(){return F?{updatePosition:function(){ot()}}:null}),[F,ot]),i.useEffect((function(){if(F){var t=Object(f.a)((function(){ot()})),e=Object(h.a)(c);return e.addEventListener("resize",t),function(){t.clear(),e.removeEventListener("resize",t)}}}),[c,F,ot]);var it=G;"auto"!==G||W.muiSupportAuto||(it=void 0);var at=R||(c?Object(p.a)(E(c)).body:void 0);return Object(w.jsx)(P,Object(r.a)({BackdropProps:{invisible:!0},className:Object(a.default)(tt.root,A),container:at,open:F,ref:e,ownerState:J},$,{children:Object(w.jsx)(W,Object(r.a)({appear:!0,in:F,onEntering:function(t,e){X&&X(t,e),ot()},timeout:it},K,{children:Object(w.jsx)(_,Object(r.a)({elevation:I},z,{ref:Q,className:Object(a.default)(tt.paper,z.className),children:T}))}))}))})),T=n(52);function A(t){return Object(b.a)("MuiMenu",t)}Object(y.a)("MuiMenu",["root","paper","list"]);var R=["onEntering"],D=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],I={vertical:"top",horizontal:"right"},N={vertical:"top",horizontal:"left"},L=Object(u.a)(M,{shouldForwardProp:function(t){return Object(u.b)(t)||"classes"===t},name:"MuiMenu",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),F=Object(u.a)(c.a,{name:"MuiMenu",slot:"Paper",overridesResolver:function(t,e){return e.paper}})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),B=Object(u.a)(l.a,{name:"MuiMenu",slot:"List",overridesResolver:function(t,e){return e.list}})({outline:0}),z=i.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiMenu"}),l=n.autoFocus,c=void 0===l||l,u=n.children,f=n.disableAutoFocusItem,p=void 0!==f&&f,h=n.MenuListProps,v=void 0===h?{}:h,g=n.onClose,m=n.open,b=n.PaperProps,y=void 0===b?{}:b,x=n.PopoverClasses,O=n.transitionDuration,S=void 0===O?"auto":O,j=n.TransitionProps,C=(j=void 0===j?{}:j).onEntering,k=n.variant,E=void 0===k?"selectedMenu":k,P=Object(o.a)(n.TransitionProps,R),_=Object(o.a)(n,D),M=Object(T.a)(),z="rtl"===M.direction,H=Object(r.a)({},n,{autoFocus:c,disableAutoFocusItem:p,MenuListProps:v,onEntering:C,PaperProps:y,transitionDuration:S,TransitionProps:P,variant:E}),V=function(t){var e=t.classes;return Object(s.a)({root:["root"],paper:["paper"],list:["list"]},A,e)}(H),U=c&&!p&&m,W=i.useRef(null),q=-1;return i.Children.map(u,(function(t,e){i.isValidElement(t)&&(t.props.disabled||("selectedMenu"===E&&t.props.selected||-1===q)&&(q=e))})),Object(w.jsx)(L,Object(r.a)({classes:x,onClose:g,anchorOrigin:{vertical:"bottom",horizontal:z?"right":"left"},transformOrigin:z?I:N,PaperProps:Object(r.a)({component:F},y,{classes:Object(r.a)({},y.classes,{root:V.paper})}),className:V.root,open:m,ref:e,transitionDuration:S,TransitionProps:Object(r.a)({onEntering:function(t,e){W.current&&W.current.adjustStyleForScrollbar(t,M),C&&C(t,e)}},P),ownerState:H},_,{children:Object(w.jsx)(B,Object(r.a)({onKeyDown:function(t){"Tab"===t.key&&(t.preventDefault(),g&&g(t,"tabKeyDown"))},actions:W,autoFocus:c&&(-1===q||p),autoFocusItem:U,variant:E},v,{className:Object(a.default)(V.list,v.className),children:u}))}))}));e.a=z},function(t,e,n){"use strict";n.d(e,"a",(function(){return nt}));var r=n(48),o=n.n(r),i=n(281),a=n.n(i),s=n(40),l=n.n(s),c=n(59),u=n.n(c),d=n(1),f=n.n(d),p=n(56),h=n.n(p),v=n(166),g=n(198),m=n(74),b=n(39);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},y.apply(this,arguments)}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function O(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function S(t){var e=t.offset,n=t.layout,r=t.width,o=t.dataKey,i=t.data,a=t.dataPointFormatter,s=t.xAxis,l=t.yAxis,c=O(t,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),u=Object(b.c)(c),d=i.map((function(t,i){var c=a(t,o),d=c.x,p=c.y,h=c.value,v=c.errorVal;if(!v)return null;var g,b,w=[];if(Array.isArray(v)){var O=x(v,2);g=O[0],b=O[1]}else g=b=v;if("vertical"===n){var S=s.scale,j=p+e,C=j+r,k=j-r,E=S(h-g),P=S(h+b);w.push({x1:P,y1:C,x2:P,y2:k}),w.push({x1:E,y1:j,x2:P,y2:j}),w.push({x1:E,y1:C,x2:E,y2:k})}else if("horizontal"===n){var _=l.scale,M=d+e,T=M-r,A=M+r,R=_(h-g),D=_(h+b);w.push({x1:T,y1:D,x2:A,y2:D}),w.push({x1:M,y1:R,x2:M,y2:D}),w.push({x1:T,y1:R,x2:A,y2:R})}return f.a.createElement(m.a,y({className:"recharts-errorBar",key:"bar-".concat(i)},u),w.map((function(t,e){return f.a.createElement("line",y({},t,{key:"line-".concat(e)}))})))}));return f.a.createElement(m.a,{className:"recharts-errorBars"},d)}S.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},S.displayName="ErrorBar";var j=function(t){return null};j.displayName="Cell";var C=n(87),k=n.n(C),E=n(507),P=n.n(E),_=n(164),M=n(58),T=n(43);function A(t){return function(t){if(Array.isArray(t))return R(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return R(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return R(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function D(){return D=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},D.apply(this,arguments)}function I(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 N(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?I(Object(n),!0).forEach((function(e){L(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var B={valueAccessor:function(t){return u()(t.value)?P()(t.value):t.value}};function z(t){var e=t.data,n=t.valueAccessor,r=t.dataKey,i=t.clockWise,a=t.id,s=t.textBreakAll,l=F(t,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return e&&e.length?f.a.createElement(m.a,{className:"recharts-label-list"},e.map((function(t,e){var c=o()(r)?n(t,e):Object(T.v)(t&&t.payload,r),u=o()(a)?{}:{id:"".concat(a,"-").concat(e)};return f.a.createElement(_.a,D({},Object(b.c)(t,!0),l,u,{parentViewBox:t.parentViewBox,index:e,value:c,textBreakAll:s,viewBox:_.a.parseViewBox(o()(i)?t:N(N({},t),{},{clockWise:i})),key:"label-".concat(e)}))}))):null}function H(t,e){return t?!0===t?f.a.createElement(z,{key:"labelList-implicit",data:e}):f.a.isValidElement(t)||l()(t)?f.a.createElement(z,{key:"labelList-implicit",data:e,content:t}):k()(t)?f.a.createElement(z,D({data:e},t,{key:"labelList-implicit"})):null:null}z.displayName="LabelList",z.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,o=Object(M.b)(r,z.displayName).map((function(t,n){return Object(d.cloneElement)(t,{data:e,key:"labelList-".concat(n)})}));if(!n)return o;var i=H(t.label,e);return[i].concat(A(o))},z.defaultProps=B;var V=n(18),U=n(145);function W(t){return 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},W(t)}function q(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function G(){return G=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},G.apply(this,arguments)}function Y(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 X(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Y(Object(n),!0).forEach((function(e){K(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function K(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 Q(t,e){return Q=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Q(t,e)}function J(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=et(t);if(e){var o=et(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tt(this,n)}}function tt(t,e){return!e||"object"!==W(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 et(t){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},et(t)}var nt=function(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&&Q(t,e)}(s,t);var e,n,r,i=J(s);function s(){var t;$(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={isAnimationFinished:!1},t.id=Object(V.j)("recharts-bar-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()},t}return e=s,r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}},{key:"renderRectangle",value:function(t,e){return f.a.isValidElement(t)?f.a.cloneElement(t,e):l()(t)?t(e):f.a.createElement(g.a,e)}}],(n=[{key:"renderRectanglesStatically",value:function(t){var e=this,n=this.props.shape,r=Object(b.c)(this.props);return t&&t.map((function(t,o){var i=X(X(X({},r),t),{},{index:o});return f.a.createElement(m.a,G({className:"recharts-bar-rectangle"},Object(b.b)(e.props,t,o),{key:"rectangle-".concat(o)}),s.renderRectangle(n,i))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,n=e.data,r=e.layout,o=e.isAnimationActive,i=e.animationBegin,a=e.animationDuration,s=e.animationEasing,l=e.animationId,c=this.state.prevData;return f.a.createElement(v.a,{begin:i,duration:a,isActive:o,easing:s,from:{t:0},to:{t:1},key:"bar-".concat(l),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var o=e.t,i=n.map((function(t,e){var n=c&&c[e];if(n){var i=Object(V.e)(n.x,t.x),a=Object(V.e)(n.y,t.y),s=Object(V.e)(n.width,t.width),l=Object(V.e)(n.height,t.height);return X(X({},t),{},{x:i(o),y:a(o),width:s(o),height:l(o)})}if("horizontal"===r){var u=Object(V.e)(0,t.height)(o);return X(X({},t),{},{y:t.y+t.height-u,height:u})}var d=Object(V.e)(0,t.width)(o);return X(X({},t),{},{width:d})}));return f.a.createElement(m.a,null,t.renderRectanglesStatically(i))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,n=t.isAnimationActive,r=this.state.prevData;return!(n&&e&&e.length)||r&&a()(r,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props.data,n=Object(b.c)(this.props.background);return e.map((function(e,r){e.value;var o=e.background,i=q(e,["value","background"]);if(!o)return null;var a=X(X(X(X(X({},i),{},{fill:"#eee"},o),n),Object(b.b)(t.props,e,r)),{},{index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return s.renderRectangle(t.props.background,a)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.data,n=t.xAxis,r=t.yAxis,o=t.layout,i=t.children,a=Object(M.b)(i,S.displayName);if(!a)return null;var s="vertical"===o?e[0].height/2:e[0].width/2;function l(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Object(T.v)(t,e)}}return a.map((function(t,i){return f.a.cloneElement(t,{key:"error-bar-".concat(i),data:e,xAxis:n,yAxis:r,layout:o,offset:s,dataPointFormatter:l})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,n=t.data,r=t.className,i=t.xAxis,a=t.yAxis,s=t.left,l=t.top,c=t.width,u=t.height,d=t.isAnimationActive,p=t.background,v=t.id;if(e||!n||!n.length)return null;var g=this.state.isAnimationFinished,b=h()("recharts-bar",r),y=i&&i.allowDataOverflow||a&&a.allowDataOverflow,x=o()(v)?this.id:v;return f.a.createElement(m.a,{className:b},y?f.a.createElement("defs",null,f.a.createElement("clipPath",{id:"clipPath-".concat(x)},f.a.createElement("rect",{x:s,y:l,width:c,height:u}))):null,f.a.createElement(m.a,{className:"recharts-bar-rectangles",clipPath:y?"url(#clipPath-".concat(x,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!d||g)&&z.renderCallByParent(this.props,n))}}])&&Z(e.prototype,n),r&&Z(e,r),s}(d.PureComponent);nt.displayName="Bar",nt.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!U.a.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},nt.getComposedData=function(t){var e=t.props,n=t.item,r=t.barPosition,o=t.bandSize,i=t.xAxis,a=t.yAxis,s=t.xAxisTicks,l=t.yAxisTicks,c=t.stackedData,d=t.dataStartIndex,f=t.displayedData,p=t.offset,h=Object(T.e)(r,n);if(!h)return null;var v=e.layout,g=n.props,m=g.dataKey,b=g.children,y=g.minPointSize,x="horizontal"===v?a:i,w=c?x.scale.domain():null,O=Object(T.i)({numericAxis:x}),S=Object(M.b)(b,j.displayName),C=f.map((function(t,e){var r,f,p,g,b,x;if(c?r=Object(T.B)(c[d+e],w):(r=Object(T.v)(t,m),u()(r)||(r=[O,r])),"horizontal"===v){if(f=Object(T.j)({axis:i,ticks:s,bandSize:o,offset:h.offset,entry:t,index:e}),p=a.scale(r[1]),g=h.size,b=a.scale(r[0])-a.scale(r[1]),x={x:f,y:a.y,width:g,height:a.height},Math.abs(y)>0&&Math.abs(b)<Math.abs(y)){var j=Object(V.i)(b||y)*(Math.abs(y)-Math.abs(b));p-=j,b+=j}}else f=i.scale(r[0]),p=Object(T.j)({axis:a,ticks:l,bandSize:o,offset:h.offset,entry:t,index:e}),g=i.scale(r[1])-i.scale(r[0]),b=h.size,x={x:i.x,y:p,width:i.width,height:b},Math.abs(y)>0&&Math.abs(g)<Math.abs(y)&&(g+=Object(V.i)(g||y)*(Math.abs(y)-Math.abs(g)));return X(X(X({},t),{},{x:f,y:p,width:g,height:b,value:c?r:r[1],payload:t,background:x},S&&S[e]&&S[e].props),{},{tooltipPayload:[Object(T.u)(n,t)],tooltipPosition:{x:f+g/2,y:p+b/2}})}));return X({data:C,layout:v},p)}},function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return d}));var r,o=n(22),i=n(1),a=n(17),s={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:function(t){return"year"===t?"year view is open, switch to calendar view":"calendar view is open, switch to year view"},inputModeToggleButtonAriaLabel:function(t,e){return t?"text input view is open, go to ".concat(e," view"):"".concat(e," view is open, go to text input view")},start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerDefaultToolbarTitle:"Select date",dateTimePickerDefaultToolbarTitle:"Select date & time",timePickerDefaultToolbarTitle:"Select time",dateRangePickerDefaultToolbarTitle:"Select date range",clockLabelText:function(t,e,n){return"Select ".concat(t,". ").concat(null===e?"No time selected":"Selected time is ".concat(n.format(e,"fullTime")))},hoursClockNumberText:function(t){return"".concat(t," hours")},minutesClockNumberText:function(t){return"".concat(t," minutes")},secondsClockNumberText:function(t){return"".concat(t," seconds")},openDatePickerDialogue:function(t,e){return t&&e.isValid(e.date(t))?"Choose date, selected date is ".concat(e.format(e.date(t),"fullDate")):"Choose date"},openTimePickerDialogue:function(t,e){return t&&e.isValid(e.date(t))?"Choose time, selected time is ".concat(e.format(e.date(t),"fullTime")):"Choose time"},timeTableLabel:"pick time",dateTableLabel:"pick date"},l=s,c=(r=s,Object(o.a)({},r),n(0)),u=i.createContext(null);function d(t){var e=Object(a.a)({props:t,name:"MuiLocalizationProvider"}),n=e.children,r=e.dateAdapter,s=e.dateFormats,d=e.dateLibInstance,f=e.locale,p=e.adapterLocale,h=e.localeText;var v=i.useMemo((function(){return new r({locale:null!=p?p:f,formats:s,instance:d})}),[r,f,p,s,d]),g=i.useMemo((function(){return{minDate:v.date("1900-01-01T00:00:00.000"),maxDate:v.date("2099-12-31T00:00:00.000")}}),[v]),m=i.useMemo((function(){return{utils:v,defaultDates:g,localeText:Object(o.a)({},l,null!=h?h:{})}}),[g,v,h]);return Object(c.jsx)(u.Provider,{value:m,children:n})}},function(t,e,n){"use strict";n(1059),n(1060);var r=n(7);if("undefined"===typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var o=FullCalendarVDom.Component,i=FullCalendarVDom.createElement,a=(FullCalendarVDom.render,FullCalendarVDom.createRef),s=FullCalendarVDom.Fragment,l=FullCalendarVDom.createContext,c=FullCalendarVDom.createPortal,u=(FullCalendarVDom.flushSync,FullCalendarVDom.unmountComponentAtNode,function(){function t(t,e){this.context=t,this.internalEventSource=e}return t.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},t.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(t.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),t}());function d(t){t.parentNode&&t.parentNode.removeChild(t)}function f(t,e){if(t.closest)return t.closest(e);if(!document.documentElement.contains(t))return null;do{if(p(t,e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}function p(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector).call(t,e)}var h=/(top|left|right|bottom|width|height)$/i;function v(t,e){for(var n in e)g(t,n,e[n])}function g(t,e,n){null==n?t.style[e]="":"number"===typeof n&&h.test(e)?t.style[e]=n+"px":t.style[e]=n}function m(t){var e,n;return null!==(n=null===(e=t.composedPath)||void 0===e?void 0:e.call(t)[0])&&void 0!==n?n:t.target}var b=0;function y(){return"fc-dom-"+(b+=1)}function x(t,e,n,r){var o=function(t,e){return function(n){var r=f(n.target,t);r&&e.call(r,n,r)}}(n,r);return t.addEventListener(e,o),function(){t.removeEventListener(e,o)}}function w(t){return Object(r.a)({onClick:t},O(t))}function O(t){return{tabIndex:0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(t(e),e.preventDefault())}}}var S=0;function j(){return String(S+=1)}function C(t,e,n){return n.func?n.func(t,e):function(t,e){if(!t&&!e)return 0;if(null==e)return-1;if(null==t)return 1;if("string"===typeof t||"string"===typeof e)return String(t).localeCompare(String(e));return t-e}(t[n.field],e[n.field])*(n.order||1)}function k(t,e){var n=String(t);return"000".substr(0,e-n.length)+n}function E(t,e,n){return"function"===typeof t?t.apply(void 0,e):"string"===typeof t?e.reduce((function(t,e,n){return t.replace("$"+n,e||"")}),t):n}function P(t){return t%1===0}function _(t){var e=t.querySelector(".fc-scrollgrid-shrink-frame"),n=t.querySelector(".fc-scrollgrid-shrink-cushion");if(!e)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return t.getBoundingClientRect().width-e.getBoundingClientRect().width+n.getBoundingClientRect().width}var M=["sun","mon","tue","wed","thu","fri","sat"];function T(t,e){var n=H(t);return n[2]+=7*e,V(n)}function A(t,e){var n=H(t);return n[2]+=e,V(n)}function R(t,e){var n=H(t);return n[6]+=e,V(n)}function D(t,e){return(e.valueOf()-t.valueOf())/864e5}function I(t,e){return W(t)===W(e)?Math.round(D(t,e)):null}function N(t){return V([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()])}function L(t,e,n,r){var o=V([e,0,1+F(e,n,r)]),i=N(t),a=Math.round(D(o,i));return Math.floor(a/7)+1}function F(t,e,n){var r=7+e-n;return-((7+V([t,0,r]).getUTCDay()-e)%7)+r-1}function B(t){return[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()]}function z(t){return new Date(t[0],t[1]||0,null==t[2]?1:t[2],t[3]||0,t[4]||0,t[5]||0)}function H(t){return[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()]}function V(t){return 1===t.length&&(t=t.concat([0])),new Date(Date.UTC.apply(Date,t))}function U(t){return!isNaN(t.valueOf())}function W(t){return 1e3*t.getUTCHours()*60*60+1e3*t.getUTCMinutes()*60+1e3*t.getUTCSeconds()+t.getUTCMilliseconds()}function q(t,e,n,r){return{instanceId:j(),defId:t,range:e,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var G=Object.prototype.hasOwnProperty;function Y(t,e){var n={};if(e)for(var r in e){for(var o=[],i=t.length-1;i>=0;i-=1){var a=t[i][r];if("object"===typeof a&&a)o.unshift(a);else if(void 0!==a){n[r]=a;break}}o.length&&(n[r]=Y(o))}for(i=t.length-1;i>=0;i-=1){var s=t[i];for(var l in s)l in n||(n[l]=s[l])}return n}function X(t,e){var n={};for(var r in t)e(t[r],r)&&(n[r]=t[r]);return n}function K(t,e){var n={};for(var r in t)n[r]=e(t[r],r);return n}function $(t){for(var e={},n=0,r=t;n<r.length;n++){e[r[n]]=!0}return e}function Z(t){var e=[];for(var n in t)e.push(t[n]);return e}function Q(t,e){if(t===e)return!0;for(var n in t)if(G.call(t,n)&&!(n in e))return!1;for(var n in e)if(G.call(e,n)&&t[n]!==e[n])return!1;return!0}function J(t,e){var n=[];for(var r in t)G.call(t,r)&&(r in e||n.push(r));for(var r in e)G.call(e,r)&&t[r]!==e[r]&&n.push(r);return n}function tt(t,e,n){if(void 0===n&&(n={}),t===e)return!0;for(var r in e)if(!(r in t)||!et(t[r],e[r],n[r]))return!1;for(var r in t)if(!(r in e))return!1;return!0}function et(t,e,n){return t===e||!0===n||!!n&&n(t,e)}function nt(t,e,n){var r=n.dateEnv,o=n.pluginHooks,i=n.options,a=t.defs,s=t.instances;for(var l in s=X(s,(function(t){return!a[t.defId].recurringDef})),a){var c=a[l];if(c.recurringDef){var u=c.recurringDef.duration;u||(u=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);for(var d=0,f=rt(c,u,e,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=q(l,{start:p,end:r.add(p,u)});s[h.instanceId]=h}}}return{defs:a,instances:s}}function rt(t,e,n,r,o){var i=o[t.recurringDef.typeId].expand(t.recurringDef.typeData,{start:r.subtract(n.start,e),end:n.end},r);return t.allDay&&(i=i.map(N)),i}var ot=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function it(t,e){var n;return"string"===typeof t?function(t){var e=ot.exec(t);if(e){var n=e[1]?-1:1;return{years:0,months:0,days:n*(e[2]?parseInt(e[2],10):0),milliseconds:n*(60*(e[3]?parseInt(e[3],10):0)*60*1e3+60*(e[4]?parseInt(e[4],10):0)*1e3+1e3*(e[5]?parseInt(e[5],10):0)+(e[6]?parseInt(e[6],10):0))}}return null}(t):"object"===typeof t&&t?at(t):"number"===typeof t?at(((n={})[e||"milliseconds"]=t,n)):null}function at(t){var e={years:t.years||t.year||0,months:t.months||t.month||0,days:t.days||t.day||0,milliseconds:60*(t.hours||t.hour||0)*60*1e3+60*(t.minutes||t.minute||0)*1e3+1e3*(t.seconds||t.second||0)+(t.milliseconds||t.millisecond||t.ms||0)},n=t.weeks||t.week;return n&&(e.days+=7*n,e.specifiedWeeks=!0),e}function st(t){return lt(t)/864e5}function lt(t){return 31536e6*t.years+2592e6*t.months+864e5*t.days+t.milliseconds}function ct(t){var e=t.milliseconds;if(e){if(e%1e3!==0)return{unit:"millisecond",value:e};if(e%6e4!==0)return{unit:"second",value:e/1e3};if(e%36e5!==0)return{unit:"minute",value:e/6e4};if(e)return{unit:"hour",value:e/36e5}}return t.days?t.specifiedWeeks&&t.days%7===0?{unit:"week",value:t.days/7}:{unit:"day",value:t.days}:t.months?{unit:"month",value:t.months}:t.years?{unit:"year",value:t.years}:{unit:"millisecond",value:0}}function ut(t){return t.toISOString().replace(/T.*$/,"")}function dt(t,e){void 0===e&&(e=!1);var n=t<0?"-":"+",r=Math.abs(t),o=Math.floor(r/60),i=Math.round(r%60);return e?n+k(o,2)+":"+k(i,2):"GMT"+n+o+(i?":"+k(i,2):"")}function ft(t,e,n){if(t===e)return!0;var r,o=t.length;if(o!==e.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(t[r],e[r]):t[r]===e[r]))return!1;return!0}function pt(t,e,n){var r,o;return function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r){if(!ft(r,i)){n&&n(o);var s=t.apply(this,i);e&&e(s,o)||(o=s)}}else o=t.apply(this,i);return r=i,o}}function ht(t,e,n){var r,o,i=this;return function(a){if(r){if(!Q(r,a)){n&&n(o);var s=t.call(i,a);e&&e(s,o)||(o=s)}}else o=t.call(i,a);return r=a,o}}var vt={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},gt={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},mt=/\s*([ap])\.?m\.?/i,bt=/,/g,yt=/\s+/g,xt=/\u200e/g,wt=/UTC|GMT/,Ot=function(){function t(t){var e={},n={},r=0;for(var o in t)o in vt?(n[o]=t[o],r=Math.max(vt[o],r)):(e[o]=t[o],o in gt&&(r=Math.max(gt[o],r)));this.standardDateProps=e,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=pt(St)}return t.prototype.format=function(t,e){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,e)(t)},t.prototype.formatRange=function(t,e,n,r){var o=this.standardDateProps,i=this.extendedSettings,a=function(t,e,n){if(n.getMarkerYear(t)!==n.getMarkerYear(e))return 5;if(n.getMarkerMonth(t)!==n.getMarkerMonth(e))return 4;if(n.getMarkerDay(t)!==n.getMarkerDay(e))return 2;if(W(t)!==W(e))return 1;return 0}(t.marker,e.marker,n.calendarSystem);if(!a)return this.format(t,n);var s=a;!(s>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(s=1);var l=this.format(t,n),c=this.format(e,n);if(l===c)return l;var u=St(function(t,e){var n={};for(var r in t)(!(r in gt)||gt[r]<=e)&&(n[r]=t[r]);return n}(o,s),i,n),d=u(t),f=u(e),p=function(t,e,n,r){var o=0;for(;o<t.length;){var i=t.indexOf(e,o);if(-1===i)break;var a=t.substr(0,i);o=i+e.length;for(var s=t.substr(o),l=0;l<n.length;){var c=n.indexOf(r,l);if(-1===c)break;var u=n.substr(0,c);l=c+r.length;var d=n.substr(l);if(a===u&&s===d)return{before:a,after:s}}}return null}(l,d,c,f),h=i.separator||r||n.defaultSeparator||"";return p?p.before+d+h+f+p.after:l+h+c},t.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},t}();function St(t,e,n){var o=Object.keys(t).length;return 1===o&&"short"===t.timeZoneName?function(t){return dt(t.timeZoneOffset)}:0===o&&e.week?function(t){return function(t,e,n,r,o){var i=[];"long"===o?i.push(n):"short"!==o&&"narrow"!==o||i.push(e);"long"!==o&&"short"!==o||i.push(" ");i.push(r.simpleNumberFormat.format(t)),"rtl"===r.options.direction&&i.reverse();return i.join("")}(n.computeWeekNumber(t.marker),n.weekText,n.weekTextLong,n.locale,e.week)}:function(t,e,n){t=Object(r.a)({},t),e=Object(r.a)({},e),function(t,e){t.timeZoneName&&(t.hour||(t.hour="2-digit"),t.minute||(t.minute="2-digit"));"long"===t.timeZoneName&&(t.timeZoneName="short");e.omitZeroMinute&&(t.second||t.millisecond)&&delete e.omitZeroMinute}(t,e),t.timeZone="UTC";var o,i=new Intl.DateTimeFormat(n.locale.codes,t);if(e.omitZeroMinute){var a=Object(r.a)({},t);delete a.minute,o=new Intl.DateTimeFormat(n.locale.codes,a)}return function(r){var a=r.marker;return function(t,e,n,r,o){t=t.replace(xt,""),"short"===n.timeZoneName&&(t=function(t,e){var n=!1;t=t.replace(wt,(function(){return n=!0,e})),n||(t+=" "+e);return t}(t,"UTC"===o.timeZone||null==e.timeZoneOffset?"UTC":dt(e.timeZoneOffset)));r.omitCommas&&(t=t.replace(bt,"").trim());r.omitZeroMinute&&(t=t.replace(":00",""));!1===r.meridiem?t=t.replace(mt,"").trim():"narrow"===r.meridiem?t=t.replace(mt,(function(t,e){return e.toLocaleLowerCase()})):"short"===r.meridiem?t=t.replace(mt,(function(t,e){return e.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(t=t.replace(mt,(function(t){return t.toLocaleLowerCase()})));return t=(t=t.replace(yt," ")).trim()}((o&&!a.getUTCMinutes()?o:i).format(a),r,t,e,n)}}(t,e,n)}function jt(t,e){var n=e.markerToArray(t.marker);return{marker:t.marker,timeZoneOffset:t.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function Ct(t,e,n,r){var o=jt(t,n.calendarSystem);return{date:o,start:o,end:e?jt(e,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var kt=function(){function t(t){this.cmdStr=t}return t.prototype.format=function(t,e,n){return e.cmdFormatter(this.cmdStr,Ct(t,null,e,n))},t.prototype.formatRange=function(t,e,n,r){return n.cmdFormatter(this.cmdStr,Ct(t,e,n,r))},t}(),Et=function(){function t(t){this.func=t}return t.prototype.format=function(t,e,n){return this.func(Ct(t,null,e,n))},t.prototype.formatRange=function(t,e,n,r){return this.func(Ct(t,e,n,r))},t}();function Pt(t){return"object"===typeof t&&t?new Ot(t):"string"===typeof t?new kt(t):"function"===typeof t?new Et(t):null}var _t={navLinkDayClick:Ft,navLinkWeekClick:Ft,duration:it,bootstrapFontAwesome:Ft,buttonIcons:Ft,customButtons:Ft,defaultAllDayEventDuration:it,defaultTimedEventDuration:it,nextDayThreshold:it,scrollTime:it,scrollTimeReset:Boolean,slotMinTime:it,slotMaxTime:it,dayPopoverFormat:Pt,slotDuration:it,snapDuration:it,headerToolbar:Ft,footerToolbar:Ft,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:Pt,dayHeaderClassNames:Ft,dayHeaderContent:Ft,dayHeaderDidMount:Ft,dayHeaderWillUnmount:Ft,dayCellClassNames:Ft,dayCellContent:Ft,dayCellDidMount:Ft,dayCellWillUnmount:Ft,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:Ft,weekNumbers:Boolean,weekNumberClassNames:Ft,weekNumberContent:Ft,weekNumberDidMount:Ft,weekNumberWillUnmount:Ft,editable:Boolean,viewClassNames:Ft,viewDidMount:Ft,viewWillUnmount:Ft,nowIndicator:Boolean,nowIndicatorClassNames:Ft,nowIndicatorContent:Ft,nowIndicatorDidMount:Ft,nowIndicatorWillUnmount:Ft,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:Ft,locale:Ft,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:Ft,eventOrder:function(t){var e,n,r=[],o=[];for("string"===typeof t?o=t.split(/\s*,\s*/):"function"===typeof t?o=[t]:Array.isArray(t)&&(o=t),e=0;e<o.length;e+=1)"string"===typeof(n=o[e])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"===typeof n&&r.push({func:n});return r},eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:Ft,contentHeight:Ft,direction:String,weekNumberFormat:Pt,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:Ft,initialDate:Ft,now:Ft,eventDataTransform:Ft,stickyHeaderDates:Ft,stickyFooterScrollbar:Ft,viewHeight:Ft,defaultAllDay:Boolean,eventSourceFailure:Ft,eventSourceSuccess:Ft,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:Ft,eventConstraint:Ft,eventAllow:Ft,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:Ft,eventContent:Ft,eventDidMount:Ft,eventWillUnmount:Ft,selectConstraint:Ft,selectOverlap:Ft,selectAllow:Ft,droppable:Boolean,unselectCancel:String,slotLabelFormat:Ft,slotLaneClassNames:Ft,slotLaneContent:Ft,slotLaneDidMount:Ft,slotLaneWillUnmount:Ft,slotLabelClassNames:Ft,slotLabelContent:Ft,slotLabelDidMount:Ft,slotLabelWillUnmount:Ft,dayMaxEvents:Ft,dayMaxEventRows:Ft,dayMinWidth:Number,slotLabelInterval:it,allDayText:String,allDayClassNames:Ft,allDayContent:Ft,allDayDidMount:Ft,allDayWillUnmount:Ft,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:Pt,rerenderDelay:Number,moreLinkText:Ft,moreLinkHint:Ft,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:Ft,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:it,hiddenDays:Ft,monthMode:Boolean,fixedWeekCount:Boolean,validRange:Ft,visibleRange:Ft,titleFormat:Ft,eventInteractive:Boolean,noEventsText:String,viewHint:Ft,navLinkHint:Ft,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:Ft,moreLinkClassNames:Ft,moreLinkContent:Ft,moreLinkDidMount:Ft,moreLinkWillUnmount:Ft},Mt={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" \u2013 ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},Tt={datesSet:Ft,eventsSet:Ft,eventAdd:Ft,eventChange:Ft,eventRemove:Ft,windowResize:Ft,eventClick:Ft,eventMouseEnter:Ft,eventMouseLeave:Ft,select:Ft,unselect:Ft,loading:Ft,_unmount:Ft,_beforeprint:Ft,_afterprint:Ft,_noEventDrop:Ft,_noEventResize:Ft,_resize:Ft,_scrollRequest:Ft},At={buttonText:Ft,buttonHints:Ft,views:Ft,plugins:Ft,initialEvents:Ft,events:Ft,eventSources:Ft},Rt={headerToolbar:Dt,footerToolbar:Dt,buttonText:Dt,buttonHints:Dt,buttonIcons:Dt};function Dt(t,e){return"object"===typeof t&&"object"===typeof e&&t&&e?Q(t,e):t===e}var It={type:String,component:Ft,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:Ft,usesMinMaxTime:Boolean,classNames:Ft,content:Ft,didMount:Ft,willUnmount:Ft};function Nt(t){return Y(t,Rt)}function Lt(t,e){var n={},r={};for(var o in e)o in t&&(n[o]=e[o](t[o]));for(var o in t)o in e||(r[o]=t[o]);return{refined:n,extra:r}}function Ft(t){return t}function Bt(t,e,n,r){for(var o={defs:{},instances:{}},i=ee(n),a=0,s=t;a<s.length;a++){var l=Jt(s[a],e,n,r,i);l&&zt(l,o)}return o}function zt(t,e){return void 0===e&&(e={defs:{},instances:{}}),e.defs[t.def.defId]=t.def,t.instance&&(e.instances[t.instance.instanceId]=t.instance),e}function Ht(t,e){var n=t.instances[e];if(n){var r=t.defs[n.defId],o=Ut(t,(function(t){return e=r,n=t,Boolean(e.groupId&&e.groupId===n.groupId);var e,n}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return{defs:{},instances:{}}}function Vt(t,e){return{defs:Object(r.a)(Object(r.a)({},t.defs),e.defs),instances:Object(r.a)(Object(r.a)({},t.instances),e.instances)}}function Ut(t,e){var n=X(t.defs,e),r=X(t.instances,(function(t){return n[t.defId]}));return{defs:n,instances:r}}function Wt(t){return Array.isArray(t)?t:"string"===typeof t?t.split(/\s+/):[]}var qt={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:Ft,overlap:Ft,allow:Ft,className:Wt,classNames:Wt,color:String,backgroundColor:String,borderColor:String,textColor:String},Gt={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Yt(t,e){var n=function(t,e){return Array.isArray(t)?Bt(t,null,e,!0):"object"===typeof t&&t?Bt([t],null,e,!0):null!=t?String(t):null}(t.constraint,e);return{display:t.display||null,startEditable:null!=t.startEditable?t.startEditable:t.editable,durationEditable:null!=t.durationEditable?t.durationEditable:t.editable,constraints:null!=n?[n]:[],overlap:null!=t.overlap?t.overlap:null,allows:null!=t.allow?[t.allow]:[],backgroundColor:t.backgroundColor||t.color||"",borderColor:t.borderColor||t.color||"",textColor:t.textColor||"",classNames:(t.className||[]).concat(t.classNames||[])}}function Xt(t){return t.reduce(Kt,Gt)}function Kt(t,e){return{display:null!=e.display?e.display:t.display,startEditable:null!=e.startEditable?e.startEditable:t.startEditable,durationEditable:null!=e.durationEditable?e.durationEditable:t.durationEditable,constraints:t.constraints.concat(e.constraints),overlap:"boolean"===typeof e.overlap?e.overlap:t.overlap,allows:t.allows.concat(e.allows),backgroundColor:e.backgroundColor||t.backgroundColor,borderColor:e.borderColor||t.borderColor,textColor:e.textColor||t.textColor,classNames:t.classNames.concat(e.classNames)}}var $t={id:String,groupId:String,title:String,url:String,interactive:Boolean},Zt={start:Ft,end:Ft,date:Ft,allDay:Boolean},Qt=Object(r.a)(Object(r.a)(Object(r.a)({},$t),Zt),{extendedProps:Ft});function Jt(t,e,n,r,o){void 0===o&&(o=ee(n));var i=te(t,n,o),a=i.refined,s=i.extra,l=function(t,e){var n=null;t&&(n=t.defaultAllDay);null==n&&(n=e.options.defaultAllDay);return n}(e,n),c=function(t,e,n,r){for(var o=0;o<r.length;o+=1){var i=r[o].parse(t,n);if(i){var a=t.allDay;return null==a&&null==(a=e)&&null==(a=i.allDayGuess)&&(a=!1),{allDay:a,duration:i.duration,typeData:i.typeData,typeId:o}}}return null}(a,l,n.dateEnv,n.pluginHooks.recurringTypes);if(c)return(u=ne(a,s,e?e.sourceId:"",c.allDay,Boolean(c.duration),n)).recurringDef={typeId:c.typeId,typeData:c.typeData,duration:c.duration},{def:u,instance:null};var u,d=function(t,e,n,r){var o,i,a=t.allDay,s=null,l=!1,c=null,u=null!=t.start?t.start:t.date;if(o=n.dateEnv.createMarkerMeta(u))s=o.marker;else if(!r)return null;null!=t.end&&(i=n.dateEnv.createMarkerMeta(t.end));null==a&&(a=null!=e?e:(!o||o.isTimeUnspecified)&&(!i||i.isTimeUnspecified));a&&s&&(s=N(s));i&&(c=i.marker,a&&(c=N(c)),s&&c<=s&&(c=null));c?l=!0:r||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(s,a?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration));return{allDay:a,hasEnd:l,range:{start:s,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:i?i.forcedTzo:null}}(a,l,n,r);return d?{def:u=ne(a,s,e?e.sourceId:"",d.allDay,d.hasEnd,n),instance:q(u.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function te(t,e,n){return void 0===n&&(n=ee(e)),Lt(t,n)}function ee(t){return Object(r.a)(Object(r.a)(Object(r.a)({},qt),Qt),t.pluginHooks.eventRefiners)}function ne(t,e,n,o,i,a){for(var s={title:t.title||"",groupId:t.groupId||"",publicId:t.id||"",url:t.url||"",recurringDef:null,defId:j(),sourceId:n,allDay:o,hasEnd:i,interactive:t.interactive,ui:Yt(t,a),extendedProps:Object(r.a)(Object(r.a)({},t.extendedProps||{}),e)},l=0,c=a.pluginHooks.eventDefMemberAdders;l<c.length;l++){var u=c[l];Object(r.a)(s,u(t))}return Object.freeze(s.ui.classNames),Object.freeze(s.extendedProps),s}function re(t){var e=Math.floor(D(t.start,t.end))||1,n=N(t.start);return{start:n,end:A(n,e)}}function oe(t,e){void 0===e&&(e=it(0));var n=null,r=null;if(t.end){r=N(t.end);var o=t.end.valueOf()-r.valueOf();o&&o>=lt(e)&&(r=A(r,1))}return t.start&&(n=N(t.start),r&&r<=n&&(r=A(n,1))),{start:n,end:r}}function ie(t,e,n,r){return"year"===r?it(n.diffWholeYears(t,e),"year"):"month"===r?it(n.diffWholeMonths(t,e),"month"):function(t,e){var n=N(t),r=N(e);return{years:0,months:0,days:Math.round(D(n,r)),milliseconds:e.valueOf()-r.valueOf()-(t.valueOf()-n.valueOf())}}(t,e)}function ae(t,e){var n,r,o=[],i=e.start;for(t.sort(se),n=0;n<t.length;n+=1)(r=t[n]).start>i&&o.push({start:i,end:r.start}),r.end>i&&(i=r.end);return i<e.end&&o.push({start:i,end:e.end}),o}function se(t,e){return t.start.valueOf()-e.start.valueOf()}function le(t,e){var n=t.start,r=t.end,o=null;return null!==e.start&&(n=null===n?e.start:new Date(Math.max(n.valueOf(),e.start.valueOf()))),null!=e.end&&(r=null===r?e.end:new Date(Math.min(r.valueOf(),e.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function ce(t,e){return(null===t.end||null===e.start||t.end>e.start)&&(null===t.start||null===e.end||t.start<e.end)}function ue(t,e){return(null===t.start||e>=t.start)&&(null===t.end||e<t.end)}function de(t,e,n,r){var o={},i={},a={},s=[],l=[],c=he(t.defs,e);for(var u in t.defs){"inverse-background"===(p=c[(x=t.defs[u]).defId]).display&&(x.groupId?(o[x.groupId]=[],a[x.groupId]||(a[x.groupId]=x)):i[u]=[])}for(var d in t.instances){var f=t.instances[d],p=c[(x=t.defs[f.defId]).defId],h=f.range,v=!x.allDay&&r?oe(h,r):h,g=le(v,n);g&&("inverse-background"===p.display?x.groupId?o[x.groupId].push(g):i[f.defId].push(g):"none"!==p.display&&("background"===p.display?s:l).push({def:x,ui:p,instance:f,range:g,isStart:v.start&&v.start.valueOf()===g.start.valueOf(),isEnd:v.end&&v.end.valueOf()===g.end.valueOf()}))}for(var m in o)for(var b=0,y=ae(o[m],n);b<y.length;b++){var x,w=y[b];p=c[(x=a[m]).defId];s.push({def:x,ui:p,instance:null,range:w,isStart:!1,isEnd:!1})}for(var u in i)for(var O=0,S=ae(i[u],n);O<S.length;O++){w=S[O];s.push({def:t.defs[u],ui:c[u],instance:null,range:w,isStart:!1,isEnd:!1})}return{bg:s,fg:l}}function fe(t,e){t.fcSeg=e}function pe(t){return t.fcSeg||t.parentNode.fcSeg||null}function he(t,e){return K(t,(function(t){return ve(t,e)}))}function ve(t,e){var n=[];return e[""]&&n.push(e[""]),e[t.defId]&&n.push(e[t.defId]),n.push(t.ui),Xt(n)}function ge(t,e){var n=t.map(me);return n.sort((function(t,n){return function(t,e,n){var r,o;for(r=0;r<n.length;r+=1)if(o=C(t,e,n[r]))return o;return 0}(t,n,e)})),n.map((function(t){return t._seg}))}function me(t){var e=t.eventRange,n=e.def,o=e.instance?e.instance.range:e.range,i=o.start?o.start.valueOf():0,a=o.end?o.end.valueOf():0;return Object(r.a)(Object(r.a)(Object(r.a)({},n.extendedProps),n),{id:n.publicId,start:i,end:a,duration:a-i,allDay:Number(n.allDay),_seg:t})}function be(t,e){for(var n=e.pluginHooks.isDraggableTransformers,r=t.eventRange,o=r.def,i=r.ui,a=i.startEditable,s=0,l=n;s<l.length;s++){a=(0,l[s])(a,o,i,e)}return a}function ye(t,e){return t.isStart&&t.eventRange.ui.durationEditable&&e.options.eventResizableFromStart}function xe(t,e){return t.isEnd&&t.eventRange.ui.durationEditable}function we(t,e,n,r,o,i,a){var s=n.dateEnv,l=n.options,c=l.displayEventTime,u=l.displayEventEnd,d=t.eventRange.def,f=t.eventRange.instance;null==c&&(c=!1!==r),null==u&&(u=!1!==o);var p=f.range.start,h=f.range.end,v=i||t.start||t.eventRange.range.start,g=a||t.end||t.eventRange.range.end,m=N(p).valueOf()===N(v).valueOf(),b=N(R(h,-1)).valueOf()===N(R(g,-1)).valueOf();return c&&!d.allDay&&(m||b)?(v=m?p:v,g=b?h:g,u&&d.hasEnd?s.formatRange(v,g,e,{forcedStartTzo:i?null:f.forcedStartTzo,forcedEndTzo:a?null:f.forcedEndTzo}):s.format(v,e,{forcedTzo:i?null:f.forcedStartTzo})):""}function Oe(t,e,n){var r=t.eventRange.range;return{isPast:r.end<(n||e.start),isFuture:r.start>=(n||e.end),isToday:e&&ue(e,r.start)}}function Se(t,e){var n=t.eventRange,r=n.def,o=n.instance,i=r.url;if(i)return{href:i};var a=e.emitter,s=e.options.eventInteractive;return null==s&&null==(s=r.interactive)&&(s=Boolean(a.hasHandlers("eventClick"))),s?O((function(t){a.trigger("eventClick",{el:t.target,event:new Fe(e,r,o),jsEvent:t,view:e.viewApi})})):{}}var je={start:Ft,end:Ft,allDay:Boolean};function Ce(t,e,n){var o=function(t,e){var n=Lt(t,je),o=n.refined,i=n.extra,a=o.start?e.createMarkerMeta(o.start):null,s=o.end?e.createMarkerMeta(o.end):null,l=o.allDay;null==l&&(l=a&&a.isTimeUnspecified&&(!s||s.isTimeUnspecified));return Object(r.a)({range:{start:a?a.marker:null,end:s?s.marker:null},allDay:l},i)}(t,e),i=o.range;if(!i.start)return null;if(!i.end){if(null==n)return null;i.end=e.add(i.start,n)}return o}function ke(t,e,n){return Object(r.a)(Object(r.a)({},Ee(t,e,n)),{timeZone:e.timeZone})}function Ee(t,e,n){return{start:e.toDate(t.start),end:e.toDate(t.end),startStr:e.formatIso(t.start,{omitTime:n}),endStr:e.formatIso(t.end,{omitTime:n})}}function Pe(t,e,n){var r=te({editable:!1},n),o=ne(r.refined,r.extra,"",t.allDay,!0,n);return{def:o,ui:ve(o,e),instance:q(o.defId,t.range),range:t.range,isStart:!0,isEnd:!0}}function _e(t,e){for(var n,o,i={},a=0,s=e.pluginHooks.dateSpanTransforms;a<s.length;a++){var l=s[a];Object(r.a)(i,l(t,e))}return Object(r.a)(i,(n=t,o=e.dateEnv,Object(r.a)(Object(r.a)({},Ee(n.range,o,n.allDay)),{allDay:n.allDay}))),i}function Me(t,e,n){var r=n.dateEnv,o=n.options,i=e;return t?(i=N(i),i=r.add(i,o.defaultAllDayEventDuration)):i=r.add(i,o.defaultTimedEventDuration),i}function Te(t,e,n,o){var i=n.standardProps||{};null==i.hasEnd&&e.durationEditable&&(n.startDelta||n.endDelta)&&(i.hasEnd=!0);var a=Object(r.a)(Object(r.a)(Object(r.a)({},t),i),{ui:Object(r.a)(Object(r.a)({},t.ui),i.ui)});n.extendedProps&&(a.extendedProps=Object(r.a)(Object(r.a)({},a.extendedProps),n.extendedProps));for(var s=0,l=o.pluginHooks.eventDefMutationAppliers;s<l.length;s++){(0,l[s])(a,n,o)}return!a.hasEnd&&o.options.forceEventDuration&&(a.hasEnd=!0),a}function Ae(t,e,n,o,i){var a=i.dateEnv,s=o.standardProps&&!0===o.standardProps.allDay,l=o.standardProps&&!1===o.standardProps.hasEnd,c=Object(r.a)({},t);return s&&(c.range=re(c.range)),o.datesDelta&&n.startEditable&&(c.range={start:a.add(c.range.start,o.datesDelta),end:a.add(c.range.end,o.datesDelta)}),o.startDelta&&n.durationEditable&&(c.range={start:a.add(c.range.start,o.startDelta),end:c.range.end}),o.endDelta&&n.durationEditable&&(c.range={start:c.range.start,end:a.add(c.range.end,o.endDelta)}),l&&(c.range={start:c.range.start,end:Me(e.allDay,c.range.start,i)}),e.allDay&&(c.range={start:N(c.range.start),end:N(c.range.end)}),c.range.end<c.range.start&&(c.range.end=Me(e.allDay,c.range.start,i)),c}var Re=function(){function t(t,e,n){this.type=t,this.getCurrentData=e,this.dateEnv=n}return Object.defineProperty(t.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),t.prototype.getOption=function(t){return this.getCurrentData().options[t]},t}(),De={id:String,defaultAllDay:Boolean,url:String,format:String,events:Ft,eventDataTransform:Ft,success:Ft,failure:Ft};function Ie(t,e,n){var r;if(void 0===n&&(n=Ne(e)),"string"===typeof t?r={url:t}:"function"===typeof t||Array.isArray(t)?r={events:t}:"object"===typeof t&&t&&(r=t),r){var o=Lt(r,n),i=o.refined,a=o.extra,s=function(t,e){for(var n=e.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(t);if(o)return{sourceDefId:r,meta:o}}return null}(i,e);if(s)return{_raw:t,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:i.defaultAllDay,eventDataTransform:i.eventDataTransform,success:i.success,failure:i.failure,publicId:i.id||"",sourceId:j(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Yt(i,e),extendedProps:a}}return null}function Ne(t){return Object(r.a)(Object(r.a)(Object(r.a)({},qt),De),t.pluginHooks.eventSourceRefiners)}function Le(t,e){return"function"===typeof t&&(t=t()),null==t?e.createNowMarker():e.createMarker(t)}!function(){function t(){}t.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},t.prototype.dispatch=function(t){return this.currentDataManager.dispatch(t)},Object.defineProperty(t.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),t.prototype.batchRendering=function(t){t()},t.prototype.updateSize=function(){this.trigger("_resize",!0)},t.prototype.setOption=function(t,e){this.dispatch({type:"SET_OPTION",optionName:t,rawOptionValue:e})},t.prototype.getOption=function(t){return this.currentDataManager.currentCalendarOptionsInput[t]},t.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},t.prototype.on=function(t,e){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[t]?n.emitter.on(t,e):console.warn("Unknown listener name '"+t+"'")},t.prototype.off=function(t,e){this.currentDataManager.emitter.off(t,e)},t.prototype.trigger=function(t){for(var e,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];(e=this.currentDataManager.emitter).trigger.apply(e,Object(r.c)([t],n))},t.prototype.changeView=function(t,e){var n=this;this.batchRendering((function(){if(n.unselect(),e)if(e.start&&e.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:e});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t,dateMarker:r.createMarker(e)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t})}))},t.prototype.zoomTo=function(t,e){var n;e=e||"day",n=this.getCurrentData().viewSpecs[e]||this.getUnitViewSpec(e),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:t}):this.dispatch({type:"CHANGE_DATE",dateMarker:t})},t.prototype.getUnitViewSpec=function(t){var e,n,r=this.getCurrentData(),o=r.viewSpecs,i=r.toolbarConfig,a=[].concat(i.header?i.header.viewsWithButtons:[],i.footer?i.footer.viewsWithButtons:[]);for(var s in o)a.push(s);for(e=0;e<a.length;e+=1)if((n=o[a[e]])&&n.singleUnit===t)return n;return null},t.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},t.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},t.prototype.prevYear=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.addYears(t.currentDate,-1)})},t.prototype.nextYear=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.addYears(t.currentDate,1)})},t.prototype.today=function(){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:Le(t.calendarOptions.now,t.dateEnv)})},t.prototype.gotoDate=function(t){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.createMarker(t)})},t.prototype.incrementDate=function(t){var e=this.getCurrentData(),n=it(t);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.add(e.currentDate,n)}))},t.prototype.getDate=function(){var t=this.getCurrentData();return t.dateEnv.toDate(t.currentDate)},t.prototype.formatDate=function(t,e){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(t),Pt(e))},t.prototype.formatRange=function(t,e,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(t),r.createMarker(e),Pt(n),n)},t.prototype.formatIso=function(t,e){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(t),{omitTime:e})},t.prototype.select=function(t,e){var n;n=null==e?null!=t.start?t:{start:t,end:null}:{start:t,end:e};var o=this.getCurrentData(),i=Ce(n,o.dateEnv,it({days:1}));i&&(this.dispatch({type:"SELECT_DATES",selection:i}),function(t,e,n){n.emitter.trigger("select",Object(r.a)(Object(r.a)({},_e(t,n)),{jsEvent:e?e.origEvent:null,view:n.viewApi||n.calendarApi.view}))}(i,null,o))},t.prototype.unselect=function(t){var e=this.getCurrentData();e.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(t,e){e.emitter.trigger("unselect",{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view})}(t,e))},t.prototype.addEvent=function(t,e){if(t instanceof Fe){var n=t._def,r=t._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:zt({def:n,instance:r})}),this.triggerEventAdd(t)),t}var o,i=this.getCurrentData();if(e instanceof u)o=e.internalEventSource;else if("boolean"===typeof e)e&&(o=Z(i.eventSources)[0]);else if(null!=e){var a=this.getEventSourceById(e);if(!a)return console.warn('Could not find an event source with ID "'+e+'"'),null;o=a.internalEventSource}var s=Jt(t,o,i,!1);if(s){var l=new Fe(i,s.def,s.def.recurringDef?null:s.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:zt(s)}),this.triggerEventAdd(l),l}return null},t.prototype.triggerEventAdd=function(t){var e=this;this.getCurrentData().emitter.trigger("eventAdd",{event:t,relatedEvents:[],revert:function(){e.dispatch({type:"REMOVE_EVENTS",eventStore:Be(t)})}})},t.prototype.getEventById=function(t){var e=this.getCurrentData(),n=e.eventStore,r=n.defs,o=n.instances;for(var i in t=String(t),r){var a=r[i];if(a.publicId===t){if(a.recurringDef)return new Fe(e,a,null);for(var s in o){var l=o[s];if(l.defId===a.defId)return new Fe(e,a,l)}}}return null},t.prototype.getEvents=function(){var t=this.getCurrentData();return ze(t.eventStore,t)},t.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},t.prototype.getEventSources=function(){var t=this.getCurrentData(),e=t.eventSources,n=[];for(var r in e)n.push(new u(t,e[r]));return n},t.prototype.getEventSourceById=function(t){var e=this.getCurrentData(),n=e.eventSources;for(var r in t=String(t),n)if(n[r].publicId===t)return new u(e,n[r]);return null},t.prototype.addEventSource=function(t){var e=this.getCurrentData();if(t instanceof u)return e.eventSources[t.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[t.internalEventSource]}),t;var n=Ie(t,e);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new u(e,n)):null},t.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},t.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},t.prototype.scrollToTime=function(t){var e=it(t);e&&this.trigger("_scrollRequest",{time:e})}}();var Fe=function(){function t(t,e,n){this._context=t,this._def=e,this._instance=n||null}return t.prototype.setProp=function(t,e){var n,r;if(t in Zt)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===t)e=$t[t](e),this.mutate({standardProps:{publicId:e}});else if(t in $t)e=$t[t](e),this.mutate({standardProps:(n={},n[t]=e,n)});else if(t in qt){var o=qt[t](e);"color"===t?o={backgroundColor:e,borderColor:e}:"editable"===t?o={startEditable:e,durationEditable:e}:((r={})[t]=e,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+t+"'. Use setExtendedProp instead.")},t.prototype.setExtendedProp=function(t,e){var n;this.mutate({extendedProps:(n={},n[t]=e,n)})},t.prototype.setStart=function(t,e){void 0===e&&(e={});var n=this._context.dateEnv,r=n.createMarker(t);if(r&&this._instance){var o=ie(this._instance.range.start,r,n,e.granularity);e.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},t.prototype.setEnd=function(t,e){void 0===e&&(e={});var n,r=this._context.dateEnv;if((null==t||(n=r.createMarker(t)))&&this._instance)if(n){var o=ie(this._instance.range.end,n,r,e.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},t.prototype.setDates=function(t,e,n){void 0===n&&(n={});var r,o,i,a=this._context.dateEnv,s={allDay:n.allDay},l=a.createMarker(t);if(l&&((null==e||(r=a.createMarker(e)))&&this._instance)){var c=this._instance.range;!0===n.allDay&&(c=re(c));var u=ie(c.start,l,a,n.granularity);if(r){var d=ie(c.end,r,a,n.granularity);i=d,(o=u).years===i.years&&o.months===i.months&&o.days===i.days&&o.milliseconds===i.milliseconds?this.mutate({datesDelta:u,standardProps:s}):this.mutate({startDelta:u,endDelta:d,standardProps:s})}else s.hasEnd=!1,this.mutate({datesDelta:u,standardProps:s})}},t.prototype.moveStart=function(t){var e=it(t);e&&this.mutate({startDelta:e})},t.prototype.moveEnd=function(t){var e=it(t);e&&this.mutate({endDelta:e})},t.prototype.moveDates=function(t){var e=it(t);e&&this.mutate({datesDelta:e})},t.prototype.setAllDay=function(t,e){void 0===e&&(e={});var n={allDay:t},r=e.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==t&&(n.hasEnd=r),this.mutate({standardProps:n})},t.prototype.formatRange=function(t){var e=this._context.dateEnv,n=this._instance,r=Pt(t);return this._def.hasEnd?e.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):e.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},t.prototype.mutate=function(e){var n=this._instance;if(n){var r=this._def,o=this._context,i=o.getCurrentData().eventStore,a=Ht(i,n.instanceId);a=function(t,e,n,r){var o=he(t.defs,e),i={defs:{},instances:{}};for(var a in t.defs){var s=t.defs[a];i.defs[a]=Te(s,o[a],n,r)}for(var l in t.instances){var c=t.instances[l];s=i.defs[c.defId],i.instances[l]=Ae(c,s,o[c.defId],n,r)}return i}(a,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,o);var s=new t(o,r,n);this._def=a.defs[r.defId],this._instance=a.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:a}),o.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:ze(a,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:i})}})}},t.prototype.remove=function(){var t=this._context,e=Be(this);t.dispatch({type:"REMOVE_EVENTS",eventStore:e}),t.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:e})}})},Object.defineProperty(t.prototype,"source",{get:function(){var t=this._def.sourceId;return t?new u(this._context,this._context.getCurrentData().eventSources[t]):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startStr",{get:function(){var t=this._instance;return t?this._context.dateEnv.formatIso(t.range.start,{omitTime:this._def.allDay,forcedTzo:t.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"endStr",{get:function(){var t=this._instance;return t&&this._def.hasEnd?this._context.dateEnv.formatIso(t.range.end,{omitTime:this._def.allDay,forcedTzo:t.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),t.prototype.toPlainObject=function(t){void 0===t&&(t={});var e=this._def,n=e.ui,o=this.startStr,i=this.endStr,a={};return e.title&&(a.title=e.title),o&&(a.start=o),i&&(a.end=i),e.publicId&&(a.id=e.publicId),e.groupId&&(a.groupId=e.groupId),e.url&&(a.url=e.url),n.display&&"auto"!==n.display&&(a.display=n.display),t.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(e.extendedProps).length&&(t.collapseExtendedProps?Object(r.a)(a,e.extendedProps):a.extendedProps=e.extendedProps),a},t.prototype.toJSON=function(){return this.toPlainObject()},t}();function Be(t){var e,n,r=t._def,o=t._instance;return{defs:(e={},e[r.defId]=r,e),instances:o?(n={},n[o.instanceId]=o,n):{}}}function ze(t,e,n){var r=t.defs,o=t.instances,i=[],a=n?n.instanceId:"";for(var s in o){var l=o[s],c=r[l.defId];l.instanceId!==a&&i.push(new Fe(e,c,l))}return i}var He={};var Ve,Ue=function(){function t(){}return t.prototype.getMarkerYear=function(t){return t.getUTCFullYear()},t.prototype.getMarkerMonth=function(t){return t.getUTCMonth()},t.prototype.getMarkerDay=function(t){return t.getUTCDate()},t.prototype.arrayToMarker=function(t){return V(t)},t.prototype.markerToArray=function(t){return H(t)},t}();Ve=Ue,He["gregory"]=Ve;var We=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;var qe=function(){function t(t){var e=this.timeZone=t.timeZone,n="local"!==e&&"UTC"!==e;t.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new t.namedTimeZoneImpl(e)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(t){return new He[t]}(t.calendarSystem),this.locale=t.locale,this.weekDow=t.locale.week.dow,this.weekDoy=t.locale.week.doy,"ISO"===t.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"===typeof t.firstDay&&(this.weekDow=t.firstDay),"function"===typeof t.weekNumberCalculation&&(this.weekNumberFunc=t.weekNumberCalculation),this.weekText=null!=t.weekText?t.weekText:t.locale.options.weekText,this.weekTextLong=(null!=t.weekTextLong?t.weekTextLong:t.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=t.cmdFormatter,this.defaultSeparator=t.defaultSeparator}return t.prototype.createMarker=function(t){var e=this.createMarkerMeta(t);return null===e?null:e.marker},t.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):V(B(new Date))},t.prototype.createMarkerMeta=function(t){if("string"===typeof t)return this.parse(t);var e=null;return"number"===typeof t?e=this.timestampToMarker(t):t instanceof Date?(t=t.valueOf(),isNaN(t)||(e=this.timestampToMarker(t))):Array.isArray(t)&&(e=V(t)),null!==e&&U(e)?{marker:e,isTimeUnspecified:!1,forcedTzo:null}:null},t.prototype.parse=function(t){var e=function(t){var e=We.exec(t);if(e){var n=new Date(Date.UTC(Number(e[1]),e[3]?Number(e[3])-1:0,Number(e[5]||1),Number(e[7]||0),Number(e[8]||0),Number(e[10]||0),e[12]?1e3*Number("0."+e[12]):0));if(U(n)){var r=null;return e[13]&&(r=("-"===e[15]?-1:1)*(60*Number(e[16]||0)+Number(e[18]||0))),{marker:n,isTimeUnspecified:!e[6],timeZoneOffset:r}}}return null}(t);if(null===e)return null;var n=e.marker,r=null;return null!==e.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*e.timeZoneOffset*1e3):r=e.timeZoneOffset),{marker:n,isTimeUnspecified:e.isTimeUnspecified,forcedTzo:r}},t.prototype.getYear=function(t){return this.calendarSystem.getMarkerYear(t)},t.prototype.getMonth=function(t){return this.calendarSystem.getMarkerMonth(t)},t.prototype.add=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]+=e.years,n[1]+=e.months,n[2]+=e.days,n[6]+=e.milliseconds,this.calendarSystem.arrayToMarker(n)},t.prototype.subtract=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]-=e.years,n[1]-=e.months,n[2]-=e.days,n[6]-=e.milliseconds,this.calendarSystem.arrayToMarker(n)},t.prototype.addYears=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[0]+=e,this.calendarSystem.arrayToMarker(n)},t.prototype.addMonths=function(t,e){var n=this.calendarSystem.markerToArray(t);return n[1]+=e,this.calendarSystem.arrayToMarker(n)},t.prototype.diffWholeYears=function(t,e){var n=this.calendarSystem;return W(t)===W(e)&&n.getMarkerDay(t)===n.getMarkerDay(e)&&n.getMarkerMonth(t)===n.getMarkerMonth(e)?n.getMarkerYear(e)-n.getMarkerYear(t):null},t.prototype.diffWholeMonths=function(t,e){var n=this.calendarSystem;return W(t)===W(e)&&n.getMarkerDay(t)===n.getMarkerDay(e)?n.getMarkerMonth(e)-n.getMarkerMonth(t)+12*(n.getMarkerYear(e)-n.getMarkerYear(t)):null},t.prototype.greatestWholeUnit=function(t,e){var n=this.diffWholeYears(t,e);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(t,e))?{unit:"month",value:n}:(n=function(t,e){var n=I(t,e);return null!==n&&n%7===0?n/7:null}(t,e),null!==n?{unit:"week",value:n}:null!==(n=I(t,e))?{unit:"day",value:n}:(n=function(t,e){return(e.valueOf()-t.valueOf())/36e5}(t,e),P(n)?{unit:"hour",value:n}:(n=function(t,e){return(e.valueOf()-t.valueOf())/6e4}(t,e),P(n)?{unit:"minute",value:n}:(n=function(t,e){return(e.valueOf()-t.valueOf())/1e3}(t,e),P(n)?{unit:"second",value:n}:{unit:"millisecond",value:e.valueOf()-t.valueOf()}))))},t.prototype.countDurationsBetween=function(t,e,n){var r;return n.years&&null!==(r=this.diffWholeYears(t,e))?r/(st(n)/365):n.months&&null!==(r=this.diffWholeMonths(t,e))?r/function(t){return st(t)/30}(n):n.days&&null!==(r=I(t,e))?r/st(n):(e.valueOf()-t.valueOf())/lt(n)},t.prototype.startOf=function(t,e){return"year"===e?this.startOfYear(t):"month"===e?this.startOfMonth(t):"week"===e?this.startOfWeek(t):"day"===e?N(t):"hour"===e?function(t){return V([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours()])}(t):"minute"===e?function(t){return V([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes()])}(t):"second"===e?function(t){return V([t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()])}(t):null},t.prototype.startOfYear=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t)])},t.prototype.startOfMonth=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t)])},t.prototype.startOfWeek=function(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t),t.getUTCDate()-(t.getUTCDay()-this.weekDow+7)%7])},t.prototype.computeWeekNumber=function(t){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(t)):function(t,e,n){var r=t.getUTCFullYear(),o=L(t,r,e,n);if(o<1)return L(t,r-1,e,n);var i=L(t,r+1,e,n);return i>=1?Math.min(o,i):o}(t,this.weekDow,this.weekDoy)},t.prototype.format=function(t,e,n){return void 0===n&&(n={}),e.format({marker:t,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(t)},this)},t.prototype.formatRange=function(t,e,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(e=R(e,-1)),n.formatRange({marker:t,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(t)},{marker:e,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(e)},this,r.defaultSeparator)},t.prototype.formatIso=function(t,e){void 0===e&&(e={});var n=null;return e.omitTimeZoneOffset||(n=null!=e.forcedTzo?e.forcedTzo:this.offsetForMarker(t)),function(t,e,n){void 0===n&&(n=!1);var r=t.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==e?r=r.replace("Z",""):0!==e&&(r=r.replace("Z",dt(e,!0)))),r}(t,n,e.omitTime)},t.prototype.timestampToMarker=function(t){return"local"===this.timeZone?V(B(new Date(t))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?V(this.namedTimeZoneImpl.timestampToArray(t)):new Date(t)},t.prototype.offsetForMarker=function(t){return"local"===this.timeZone?-z(H(t)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(H(t)):null},t.prototype.toDate=function(t,e){return"local"===this.timeZone?z(H(t)):"UTC"===this.timeZone?new Date(t.valueOf()):this.namedTimeZoneImpl?new Date(t.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(H(t))*60):new Date(t.valueOf()-(e||0))},t}(),Ge=[],Ye={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},Xe=Object(r.a)(Object(r.a)({},Ye),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(t,e){return"day"===e?"Today":"This "+t}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(t){return"Show "+t+" more event"+(1===t?"":"s")}});function Ke(t){for(var e=t.length>0?t[0].code:"en",n=Ge.concat(t),r={en:Xe},o=0,i=n;o<i.length;o++){var a=i[o];r[a.code]=a}return{map:r,defaultCode:e}}function $e(t,e){return"object"!==typeof t||Array.isArray(t)?function(t,e){var n=[].concat(t||[]),r=function(t,e){for(var n=0;n<t.length;n+=1)for(var r=t[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var i=r.slice(0,o).join("-");if(e[i])return e[i]}return null}(n,e)||Xe;return Ze(t,n,r)}(t,e):Ze(t.code,[t.code],t)}function Ze(t,e,n){var r=Y([Ye,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:t,codes:e,week:o,simpleNumberFormat:new Intl.NumberFormat(t),options:r}}var Qe,Je={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function tn(t,e){return Bt(function(t){var e;e=!0===t?[{}]:Array.isArray(t)?t.filter((function(t){return t.daysOfWeek})):"object"===typeof t&&t?[t]:[];return e=e.map((function(t){return Object(r.a)(Object(r.a)({},Je),t)}))}(t),null,e)}function en(t,e){var n={left:Math.max(t.left,e.left),right:Math.min(t.right,e.right),top:Math.max(t.top,e.top),bottom:Math.min(t.bottom,e.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function nn(){return null==Qe&&(Qe=function(){if("undefined"===typeof document)return!0;var t=document.createElement("div");t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.innerHTML="<table><tr><td><div></div></td></tr></table>",t.querySelector("table").style.height="100px",t.querySelector("div").style.height="100%",document.body.appendChild(t);var e=t.querySelector("div").offsetHeight>0;return document.body.removeChild(t),e}()),Qe}var rn={defs:{},instances:{}};!function(){function t(){this.getKeysForEventDefs=pt(this._getKeysForEventDefs),this.splitDateSelection=pt(this._splitDateSpan),this.splitEventStore=pt(this._splitEventStore),this.splitIndividualUi=pt(this._splitIndividualUi),this.splitEventDrag=pt(this._splitInteraction),this.splitEventResize=pt(this._splitInteraction),this.eventUiBuilders={}}t.prototype.splitProps=function(t){var e=this,n=this.getKeyInfo(t),r=this.getKeysForEventDefs(t.eventStore),o=this.splitDateSelection(t.dateSelection),i=this.splitIndividualUi(t.eventUiBases,r),a=this.splitEventStore(t.eventStore,r),s=this.splitEventDrag(t.eventDrag),l=this.splitEventResize(t.eventResize),c={};for(var u in this.eventUiBuilders=K(n,(function(t,n){return e.eventUiBuilders[n]||pt(on)})),n){var d=n[u],f=a[u]||rn,p=this.eventUiBuilders[u];c[u]={businessHours:d.businessHours||t.businessHours,dateSelection:o[u]||null,eventStore:f,eventUiBases:p(t.eventUiBases[""],d.ui,i[u]),eventSelection:f.instances[t.eventSelection]?t.eventSelection:"",eventDrag:s[u]||null,eventResize:l[u]||null}}return c},t.prototype._splitDateSpan=function(t){var e={};if(t)for(var n=0,r=this.getKeysForDateSpan(t);n<r.length;n++){e[r[n]]=t}return e},t.prototype._getKeysForEventDefs=function(t){var e=this;return K(t.defs,(function(t){return e.getKeysForEventDef(t)}))},t.prototype._splitEventStore=function(t,e){var n=t.defs,r=t.instances,o={};for(var i in n)for(var a=0,s=e[i];a<s.length;a++){o[f=s[a]]||(o[f]={defs:{},instances:{}}),o[f].defs[i]=n[i]}for(var l in r)for(var c=r[l],u=0,d=e[c.defId];u<d.length;u++){var f;o[f=d[u]]&&(o[f].instances[l]=c)}return o},t.prototype._splitIndividualUi=function(t,e){var n={};for(var r in t)if(r)for(var o=0,i=e[r];o<i.length;o++){var a=i[o];n[a]||(n[a]={}),n[a][r]=t[r]}return n},t.prototype._splitInteraction=function(t){var e={};if(t){var n=this._splitEventStore(t.affectedEvents,this._getKeysForEventDefs(t.affectedEvents)),r=this._getKeysForEventDefs(t.mutatedEvents),o=this._splitEventStore(t.mutatedEvents,r),i=function(r){e[r]||(e[r]={affectedEvents:n[r]||rn,mutatedEvents:o[r]||rn,isEvent:t.isEvent})};for(var a in n)i(a);for(var a in o)i(a)}return e}}();function on(t,e,n){var o=[];t&&o.push(t),e&&o.push(e);var i={"":Xt(o)};return n&&Object(r.a)(i,n),i}function an(t,e,n,r){return{dow:t.getUTCDay(),isDisabled:Boolean(r&&!ue(r.activeRange,t)),isOther:Boolean(r&&!ue(r.currentRange,t)),isToday:Boolean(e&&ue(e,t)),isPast:Boolean(n?t<n:!!e&&t<e.start),isFuture:Boolean(n?t>n:!!e&&t>=e.end)}}function sn(t,e){var n=["fc-day","fc-day-"+M[t.dow]];return t.isDisabled?n.push("fc-day-disabled"):(t.isToday&&(n.push("fc-day-today"),n.push(e.getClass("today"))),t.isPast&&n.push("fc-day-past"),t.isFuture&&n.push("fc-day-future"),t.isOther&&n.push("fc-day-other")),n}var ln=Pt({year:"numeric",month:"long",day:"numeric"}),cn=Pt({week:"long"});function un(t,e,n,o){void 0===n&&(n="day"),void 0===o&&(o=!0);var i=t.dateEnv,a=t.options,s=t.calendarApi,l=i.format(e,"week"===n?cn:ln);if(a.navLinks){var c=i.toDate(e),u=function(t){var r="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"===typeof r?r.call(s,i.toDate(e),t):("string"===typeof r&&(n=r),s.zoomTo(e,n))};return Object(r.a)({title:E(a.navLinkHint,[l,c],l),"data-navlink":""},o?w(u):{onClick:u})}return{"aria-label":l}}var dn;function fn(){return dn||(dn=function(){var t=document.createElement("div");t.style.overflow="scroll",t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",document.body.appendChild(t);var e=pn(t);return document.body.removeChild(t),e}()),dn}function pn(t){return{x:t.offsetHeight-t.clientHeight,y:t.offsetWidth-t.clientWidth}}function hn(t){for(var e=function(t){var e=[];for(;t instanceof HTMLElement;){var n=window.getComputedStyle(t);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&e.push(t),t=t.parentNode}return e}(t),n=t.getBoundingClientRect(),r=0,o=e;r<o.length;r++){var i=en(n,o[r].getBoundingClientRect());if(!i)return null;n=i}return n}var vn=function(){function t(){this.handlers={},this.thisContext=null}return t.prototype.setThisContext=function(t){this.thisContext=t},t.prototype.setOptions=function(t){this.options=t},t.prototype.on=function(t,e){!function(t,e,n){(t[e]||(t[e]=[])).push(n)}(this.handlers,t,e)},t.prototype.off=function(t,e){!function(t,e,n){n?t[e]&&(t[e]=t[e].filter((function(t){return t!==n}))):delete t[e]}(this.handlers,t,e)},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=this.handlers[t]||[],o=this.options&&this.options[t],i=[].concat(o||[],r),a=0,s=i;a<s.length;a++){var l=s[a];l.apply(this.thisContext,e)}},t.prototype.hasHandlers=function(t){return Boolean(this.handlers[t]&&this.handlers[t].length||this.options&&this.options[t])},t}();var gn=function(){function t(t,e,n,r){this.els=e;var o=this.originClientRect=t.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return t.prototype.buildElHorizontals=function(t){for(var e=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();e.push(i.left-t),n.push(i.right-t)}this.lefts=e,this.rights=n},t.prototype.buildElVerticals=function(t){for(var e=[],n=[],r=0,o=this.els;r<o.length;r++){var i=o[r].getBoundingClientRect();e.push(i.top-t),n.push(i.bottom-t)}this.tops=e,this.bottoms=n},t.prototype.leftToIndex=function(t){var e,n=this.lefts,r=this.rights,o=n.length;for(e=0;e<o;e+=1)if(t>=n[e]&&t<r[e])return e},t.prototype.topToIndex=function(t){var e,n=this.tops,r=this.bottoms,o=n.length;for(e=0;e<o;e+=1)if(t>=n[e]&&t<r[e])return e},t.prototype.getWidth=function(t){return this.rights[t]-this.lefts[t]},t.prototype.getHeight=function(t){return this.bottoms[t]-this.tops[t]},t}(),mn=function(){function t(){}return t.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},t.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},t.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},t.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},t.prototype.canScrollUp=function(){return this.getScrollTop()>0},t.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},t.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},t.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},t}(),bn=(function(t){function e(e){var n=t.call(this)||this;return n.el=e,n}Object(r.b)(e,t),e.prototype.getScrollTop=function(){return this.el.scrollTop},e.prototype.getScrollLeft=function(){return this.el.scrollLeft},e.prototype.setScrollTop=function(t){this.el.scrollTop=t},e.prototype.setScrollLeft=function(t){this.el.scrollLeft=t},e.prototype.getScrollWidth=function(){return this.el.scrollWidth},e.prototype.getScrollHeight=function(){return this.el.scrollHeight},e.prototype.getClientHeight=function(){return this.el.clientHeight},e.prototype.getClientWidth=function(){return this.el.clientWidth}}(mn),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Object(r.b)(e,t),e.prototype.getScrollTop=function(){return window.pageYOffset},e.prototype.getScrollLeft=function(){return window.pageXOffset},e.prototype.setScrollTop=function(t){window.scroll(window.pageXOffset,t)},e.prototype.setScrollLeft=function(t){window.scroll(t,window.pageYOffset)},e.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},e.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},e.prototype.getClientHeight=function(){return document.documentElement.clientHeight},e.prototype.getClientWidth=function(){return document.documentElement.clientWidth}}(mn),function(){function t(t){this.iconOverrideOption&&this.setIconOverride(t[this.iconOverrideOption])}return t.prototype.setIconOverride=function(t){var e,n;if("object"===typeof t&&t){for(n in e=Object(r.a)({},this.iconClasses),t)e[n]=this.applyIconOverridePrefix(t[n]);this.iconClasses=e}else!1===t&&(this.iconClasses={})},t.prototype.applyIconOverridePrefix=function(t){var e=this.iconOverridePrefix;return e&&0!==t.indexOf(e)&&(t=e+t),t},t.prototype.getClass=function(t){return this.classes[t]||""},t.prototype.getIconClass=function(t,e){var n;return(n=e&&this.rtlIconClasses&&this.rtlIconClasses[t]||this.iconClasses[t])?this.baseIconClass+" "+n:""},t.prototype.getCustomButtonIconClass=function(t){var e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(e):""},t}());bn.prototype.classes={},bn.prototype.iconClasses={},bn.prototype.baseIconClass="",bn.prototype.iconOverridePrefix="";var yn=function(){function t(t,e,n,o){var i=this;this.execFunc=t,this.emitter=e,this.scrollTime=n,this.scrollTimeReset=o,this.handleScrollRequest=function(t){i.queuedRequest=Object(r.a)({},i.queuedRequest||{},t),i.drain()},e.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return t.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},t.prototype.update=function(t){t&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},t.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},t.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},t}(),xn=l({});function wn(t,e,n,r,o,i,a,s,l,c,u,d,f){return{dateEnv:o,options:n,pluginHooks:a,emitter:c,dispatch:s,getCurrentData:l,calendarApi:u,viewSpec:t,viewApi:e,dateProfileGenerator:r,theme:i,isRtl:"rtl"===n.direction,addResizeHandler:function(t){c.on("_resize",t)},removeResizeHandler:function(t){c.off("_resize",t)},createScrollResponder:function(t){return new yn(t,c,it(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var On=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.shouldComponentUpdate=function(t,e){return this.debug&&console.log(J(t,this.props),J(e,this.state)),!tt(this.props,t,this.propEquality)||!tt(this.state,e,this.stateEquality)},e.addPropsEquality=jn,e.addStateEquality=Cn,e.contextType=xn,e}(o);On.prototype.propEquality={},On.prototype.stateEquality={};var Sn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.contextType=xn,e}(On);function jn(t){var e=Object.create(this.prototype.propEquality);Object(r.a)(e,t),this.prototype.propEquality=e}function Cn(t){var e=Object.create(this.prototype.stateEquality);Object(r.a)(e,t),this.prototype.stateEquality=e}function kn(t,e){"function"===typeof t?t(e):t&&(t.current=e)}var En=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.uid=j(),e}return Object(r.b)(e,t),e.prototype.prepareHits=function(){},e.prototype.queryHit=function(t,e,n,r){return null},e.prototype.isValidSegDownEl=function(t){return!this.props.eventDrag&&!this.props.eventResize&&!f(t,".fc-event-mirror")},e.prototype.isValidDateDownEl=function(t){return!f(t,".fc-event:not(.fc-bg-event)")&&!f(t,".fc-more-link")&&!f(t,"a[data-navlink]")&&!f(t,".fc-popover")},e}(Sn);function Pn(t){return{id:j(),deps:t.deps||[],reducers:t.reducers||[],isLoadingFuncs:t.isLoadingFuncs||[],contextInit:[].concat(t.contextInit||[]),eventRefiners:t.eventRefiners||{},eventDefMemberAdders:t.eventDefMemberAdders||[],eventSourceRefiners:t.eventSourceRefiners||{},isDraggableTransformers:t.isDraggableTransformers||[],eventDragMutationMassagers:t.eventDragMutationMassagers||[],eventDefMutationAppliers:t.eventDefMutationAppliers||[],dateSelectionTransformers:t.dateSelectionTransformers||[],datePointTransforms:t.datePointTransforms||[],dateSpanTransforms:t.dateSpanTransforms||[],views:t.views||{},viewPropsTransformers:t.viewPropsTransformers||[],isPropsValid:t.isPropsValid||null,externalDefTransforms:t.externalDefTransforms||[],viewContainerAppends:t.viewContainerAppends||[],eventDropTransformers:t.eventDropTransformers||[],componentInteractions:t.componentInteractions||[],calendarInteractions:t.calendarInteractions||[],themeClasses:t.themeClasses||{},eventSourceDefs:t.eventSourceDefs||[],cmdFormatter:t.cmdFormatter,recurringTypes:t.recurringTypes||[],namedTimeZonedImpl:t.namedTimeZonedImpl,initialView:t.initialView||"",elementDraggingImpl:t.elementDraggingImpl,optionChangeHandlers:t.optionChangeHandlers||{},scrollGridImpl:t.scrollGridImpl||null,contentTypeHandlers:t.contentTypeHandlers||{},listenerRefiners:t.listenerRefiners||{},optionRefiners:t.optionRefiners||{},propSetHandlers:t.propSetHandlers||{}}}function _n(){var t,e=[],n=[];return function(o,i){return t&&ft(o,e)&&ft(i,n)||(t=function(t,e){var n={},o={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function i(t){for(var e=0,a=t;e<a.length;e++){var s=a[e];n[s.id]||(n[s.id]=!0,i(s.deps),c=s,o={reducers:(l=o).reducers.concat(c.reducers),isLoadingFuncs:l.isLoadingFuncs.concat(c.isLoadingFuncs),contextInit:l.contextInit.concat(c.contextInit),eventRefiners:Object(r.a)(Object(r.a)({},l.eventRefiners),c.eventRefiners),eventDefMemberAdders:l.eventDefMemberAdders.concat(c.eventDefMemberAdders),eventSourceRefiners:Object(r.a)(Object(r.a)({},l.eventSourceRefiners),c.eventSourceRefiners),isDraggableTransformers:l.isDraggableTransformers.concat(c.isDraggableTransformers),eventDragMutationMassagers:l.eventDragMutationMassagers.concat(c.eventDragMutationMassagers),eventDefMutationAppliers:l.eventDefMutationAppliers.concat(c.eventDefMutationAppliers),dateSelectionTransformers:l.dateSelectionTransformers.concat(c.dateSelectionTransformers),datePointTransforms:l.datePointTransforms.concat(c.datePointTransforms),dateSpanTransforms:l.dateSpanTransforms.concat(c.dateSpanTransforms),views:Object(r.a)(Object(r.a)({},l.views),c.views),viewPropsTransformers:l.viewPropsTransformers.concat(c.viewPropsTransformers),isPropsValid:c.isPropsValid||l.isPropsValid,externalDefTransforms:l.externalDefTransforms.concat(c.externalDefTransforms),viewContainerAppends:l.viewContainerAppends.concat(c.viewContainerAppends),eventDropTransformers:l.eventDropTransformers.concat(c.eventDropTransformers),calendarInteractions:l.calendarInteractions.concat(c.calendarInteractions),componentInteractions:l.componentInteractions.concat(c.componentInteractions),themeClasses:Object(r.a)(Object(r.a)({},l.themeClasses),c.themeClasses),eventSourceDefs:l.eventSourceDefs.concat(c.eventSourceDefs),cmdFormatter:c.cmdFormatter||l.cmdFormatter,recurringTypes:l.recurringTypes.concat(c.recurringTypes),namedTimeZonedImpl:c.namedTimeZonedImpl||l.namedTimeZonedImpl,initialView:l.initialView||c.initialView,elementDraggingImpl:l.elementDraggingImpl||c.elementDraggingImpl,optionChangeHandlers:Object(r.a)(Object(r.a)({},l.optionChangeHandlers),c.optionChangeHandlers),scrollGridImpl:c.scrollGridImpl||l.scrollGridImpl,contentTypeHandlers:Object(r.a)(Object(r.a)({},l.contentTypeHandlers),c.contentTypeHandlers),listenerRefiners:Object(r.a)(Object(r.a)({},l.listenerRefiners),c.listenerRefiners),optionRefiners:Object(r.a)(Object(r.a)({},l.optionRefiners),c.optionRefiners),propSetHandlers:Object(r.a)(Object(r.a)({},l.propSetHandlers),c.propSetHandlers)})}var l,c}return t&&i(t),i(e),o}(o,i)),e=o,n=i,t}}var Mn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e}(bn);function Tn(t,e,n,o){if(e[t])return e[t];var i=function(t,e,n,o){var i=n[t],a=o[t],s=function(t){return i&&null!==i[t]?i[t]:a&&null!==a[t]?a[t]:null},l=s("component"),c=s("superType"),u=null;if(c){if(c===t)throw new Error("Can't have a custom view type that references itself");u=Tn(c,e,n,o)}!l&&u&&(l=u.component);if(!l)return null;return{type:t,component:l,defaults:Object(r.a)(Object(r.a)({},u?u.defaults:{}),i?i.rawOptions:{}),overrides:Object(r.a)(Object(r.a)({},u?u.overrides:{}),a?a.rawOptions:{})}}(t,e,n,o);return i&&(e[t]=i),i}Mn.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Mn.prototype.baseIconClass="fc-icon",Mn.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},Mn.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Mn.prototype.iconOverrideOption="buttonIcons",Mn.prototype.iconOverrideCustomButtonOption="icon",Mn.prototype.iconOverridePrefix="fc-icon-";var An=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rootElRef=a(),e.handleRootEl=function(t){kn(e.rootElRef,t),e.props.elRef&&kn(e.props.elRef,t)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this.props,n=e.hookProps;return i(Nn,{hookProps:n,didMount:e.didMount,willUnmount:e.willUnmount,elRef:this.handleRootEl},(function(r){return i(Dn,{hookProps:n,content:e.content,defaultContent:e.defaultContent,backupElRef:t.rootElRef},(function(t,o){return e.children(r,Fn(e.classNames,n),t,o)}))}))},e}(Sn),Rn=l(0);function Dn(t){return i(Rn.Consumer,null,(function(e){return i(In,Object(r.a)({renderId:e},t))}))}var In=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.innerElRef=a(),e}return Object(r.b)(e,t),e.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},e.prototype.componentDidMount=function(){this.updateCustomContent()},e.prototype.componentDidUpdate=function(){this.updateCustomContent()},e.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},e.prototype.renderInnerContent=function(){var t=this.customContentInfo,e=this.getInnerContent(),n=this.getContentMeta(e);return t&&t.contentKey===n.contentKey?t&&(t.contentVal=e[n.contentKey]):(t&&(t.destroy&&t.destroy(),t=this.customContentInfo=null),n.contentKey&&(t=this.customContentInfo=Object(r.a)({contentKey:n.contentKey,contentVal:e[n.contentKey]},n.buildLifecycleFuncs()))),t?[]:e},e.prototype.getInnerContent=function(){var t=this.props,e=Bn(t.content,t.hookProps);return void 0===e&&(e=Bn(t.defaultContent,t.hookProps)),null==e?null:e},e.prototype.getContentMeta=function(t){var e=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(t)for(var o in e)if(void 0!==t[o]){n=o,r=e[o];break}return{contentKey:n,buildLifecycleFuncs:r}},e.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},e}(Sn),Nn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleRootEl=function(t){e.rootEl=t,e.props.elRef&&kn(e.props.elRef,t)},e}return Object(r.b)(e,t),e.prototype.render=function(){return this.props.children(this.handleRootEl)},e.prototype.componentDidMount=function(){var t=this.props.didMount;t&&t(Object(r.a)(Object(r.a)({},this.props.hookProps),{el:this.rootEl}))},e.prototype.componentWillUnmount=function(){var t=this.props.willUnmount;t&&t(Object(r.a)(Object(r.a)({},this.props.hookProps),{el:this.rootEl}))},e}(Sn);function Ln(){var t,e,n=[];return function(r,o){return e&&Q(e,o)&&r===t||(t=r,e=o,n=Fn(r,o)),n}}function Fn(t,e){return"function"===typeof t&&(t=t(e)),Wt(t)}function Bn(t,e){return"function"===typeof t?t(e,i):t}var zn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.normalizeClassNames=Ln(),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,r={view:e.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return i(Nn,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:t.elRef},(function(e){return t.children(e,["fc-"+t.viewSpec.type+"-view","fc-view"].concat(o))}))},e}(Sn);function Hn(t){return K(t,Vn)}function Vn(t){var e,n="function"===typeof t?{component:t}:t,o=n.component;return n.content&&(e=n,o=function(t){return i(xn.Consumer,null,(function(n){return i(zn,{viewSpec:n.viewSpec},(function(o,a){var s=Object(r.a)(Object(r.a)({},t),{nextDayThreshold:n.options.nextDayThreshold});return i(An,{hookProps:s,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:o},(function(t,e,n,r){return i("div",{className:a.concat(e).join(" "),ref:t},r)}))}))}))}),{superType:n.type,component:o,rawOptions:n}}function Un(t,e,n,o){var i=Hn(t),a=Hn(e.views),s=function(t,e){var n,r={};for(n in t)Tn(n,r,t,e);for(n in e)Tn(n,r,t,e);return r}(i,a);return K(s,(function(t){return function(t,e,n,o,i){var a=t.overrides.duration||t.defaults.duration||o.duration||n.duration,s=null,l="",c="",u={};if(a&&(s=function(t){var e=JSON.stringify(t),n=Wn[e];void 0===n&&(n=it(t),Wn[e]=n);return n}(a),s)){var d=ct(s);l=d.unit,1===d.value&&(c=l,u=e[l]?e[l].rawOptions:{})}var f=function(e){var n=e.buttonText||{},r=t.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[t.type]?n[t.type]:null!=n[c]?n[c]:null},p=function(e){var n=e.buttonHints||{},r=t.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[t.type]?n[t.type]:null!=n[c]?n[c]:null};return{type:t.type,component:t.component,duration:s,durationUnit:l,singleUnit:c,optionDefaults:t.defaults,optionOverrides:Object(r.a)(Object(r.a)({},u),t.overrides),buttonTextOverride:f(o)||f(n)||t.overrides.buttonText,buttonTextDefault:f(i)||t.defaults.buttonText||f(Mt)||t.type,buttonTitleOverride:p(o)||p(n)||t.overrides.buttonHint,buttonTitleDefault:p(i)||t.defaults.buttonHint||p(Mt)}}(t,a,e,n,o)}))}var Wn={};var qn=function(){function t(t){this.props=t,this.nowDate=Le(t.nowInput,t.dateEnv),this.initHiddenDays()}return t.prototype.buildPrev=function(t,e,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(o,-1,n)},t.prototype.buildNext=function(t,e,n){var r=this.props.dateEnv,o=r.add(r.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(o,1,n)},t.prototype.build=function(t,e,n){void 0===n&&(n=!0);var r,o,i,a,s,l,c,u,d=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(c=t,t=null!=(u=r).start&&c<u.start?u.start:null!=u.end&&c>=u.end?new Date(u.end.valueOf()-1):c),o=this.buildCurrentRangeInfo(t,e),i=/^(year|month|week|day)$/.test(o.unit),a=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,i),s=a=this.trimHiddenDays(a),d.showNonCurrentDates||(s=le(s,o.range)),s=le(s=this.adjustActiveRange(s),r),l=ce(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:i,activeRange:s,renderRange:a,slotMinTime:d.slotMinTime,slotMaxTime:d.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}},t.prototype.buildValidRange=function(){var t=this.props.validRangeInput,e="function"===typeof t?t.call(this.props.calendarApi,this.nowDate):t;return this.refineRange(e)||{start:null,end:null}},t.prototype.buildCurrentRangeInfo=function(t,e){var n,r=this.props,o=null,i=null,a=null;return r.duration?(o=r.duration,i=r.durationUnit,a=this.buildRangeFromDuration(t,e,o,i)):(n=this.props.dayCount)?(i="day",a=this.buildRangeFromDayCount(t,e,n)):(a=this.buildCustomVisibleRange(t))?i=r.dateEnv.greatestWholeUnit(a.start,a.end).unit:(i=ct(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(t,e,o,i)),{duration:o,unit:i,range:a}},t.prototype.getFallbackDuration=function(){return it({day:1})},t.prototype.adjustActiveRange=function(t){var e=this.props,n=e.dateEnv,r=e.usesMinMaxTime,o=e.slotMinTime,i=e.slotMaxTime,a=t.start,s=t.end;return r&&(st(o)<0&&(a=N(a),a=n.add(a,o)),st(i)>1&&(s=A(s=N(s),-1),s=n.add(s,i))),{start:a,end:s}},t.prototype.buildRangeFromDuration=function(t,e,n,r){var o,i,a,s=this.props,l=s.dateEnv,c=s.dateAlignment;if(!c){var u=this.props.dateIncrement;c=u&&lt(u)<lt(n)?ct(u).unit:r}function d(){o=l.startOf(t,c),i=l.add(o,n),a={start:o,end:i}}return st(n)<=1&&this.isHiddenDay(o)&&(o=N(o=this.skipHiddenDays(o,e))),d(),this.trimHiddenDays(a)||(t=this.skipHiddenDays(t,e),d()),a},t.prototype.buildRangeFromDayCount=function(t,e,n){var r,o=this.props,i=o.dateEnv,a=o.dateAlignment,s=0,l=t;a&&(l=i.startOf(l,a)),l=N(l),r=l=this.skipHiddenDays(l,e);do{r=A(r,1),this.isHiddenDay(r)||(s+=1)}while(s<n);return{start:l,end:r}},t.prototype.buildCustomVisibleRange=function(t){var e=this.props,n=e.visibleRangeInput,r="function"===typeof n?n.call(e.calendarApi,e.dateEnv.toDate(t)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},t.prototype.buildRenderRange=function(t,e,n){return t},t.prototype.buildDateIncrement=function(t){var e,n=this.props.dateIncrement;return n||((e=this.props.dateAlignment)?it(1,e):t||it({days:1}))},t.prototype.refineRange=function(t){if(t){var e=function(t,e){var n=null,r=null;return t.start&&(n=e.createMarker(t.start)),t.end&&(r=e.createMarker(t.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}(t,this.props.dateEnv);return e&&(e=oe(e)),e}return null},t.prototype.initHiddenDays=function(){var t,e=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&e.push(0,6),t=0;t<7;t+=1)(n[t]=-1!==e.indexOf(t))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},t.prototype.trimHiddenDays=function(t){var e=t.start,n=t.end;return e&&(e=this.skipHiddenDays(e)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==e||null==n||e<n?{start:e,end:n}:null},t.prototype.isHiddenDay=function(t){return t instanceof Date&&(t=t.getUTCDay()),this.isHiddenDayHash[t]},t.prototype.skipHiddenDays=function(t,e,n){for(void 0===e&&(e=1),void 0===n&&(n=!1);this.isHiddenDayHash[(t.getUTCDay()+(n?e:0)+7)%7];)t=A(t,e);return t},t}();function Gn(t,e,n){var r=e?e.activeRange:null;return Kn({},function(t,e){var n=Ne(e),r=[].concat(t.eventSources||[]),o=[];t.initialEvents&&r.unshift(t.initialEvents);t.events&&r.unshift(t.events);for(var i=0,a=r;i<a.length;i++){var s=Ie(a[i],e,n);s&&o.push(s)}return o}(t,n),r,n)}function Yn(t,e,n,o){var i,a,s=n?n.activeRange:null;switch(e.type){case"ADD_EVENT_SOURCES":return Kn(t,e.sources,s,o);case"REMOVE_EVENT_SOURCE":return i=t,a=e.sourceId,X(i,(function(t){return t.sourceId!==a}));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?$n(t,s,o):t;case"FETCH_EVENT_SOURCES":return Zn(t,e.sourceIds?$(e.sourceIds):Jn(t,o),s,e.isRefetch||!1,o);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(t,e,n,o){var i,a=t[e];if(a&&n===a.latestFetchId)return Object(r.a)(Object(r.a)({},t),((i={})[e]=Object(r.a)(Object(r.a)({},a),{isFetching:!1,fetchRange:o}),i));return t}(t,e.sourceId,e.fetchId,e.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return t}}function Xn(t){for(var e in t)if(t[e].isFetching)return!0;return!1}function Kn(t,e,n,o){for(var i={},a=0,s=e;a<s.length;a++){var l=s[a];i[l.sourceId]=l}return n&&(i=$n(i,n,o)),Object(r.a)(Object(r.a)({},t),i)}function $n(t,e,n){return Zn(t,X(t,(function(t){return function(t,e,n){if(!tr(t,n))return!t.latestFetchId;return!n.options.lazyFetching||!t.fetchRange||t.isFetching||e.start<t.fetchRange.start||e.end>t.fetchRange.end}(t,e,n)})),e,!1,n)}function Zn(t,e,n,r,o){var i={};for(var a in t){var s=t[a];e[a]?i[a]=Qn(s,n,r,o):i[a]=s}return i}function Qn(t,e,n,o){var i=o.options,a=o.calendarApi,s=o.pluginHooks.eventSourceDefs[t.sourceDefId],l=j();return s.fetch({eventSource:t,range:e,isRefetch:n,context:o},(function(n){var r=n.rawEvents;i.eventSourceSuccess&&(r=i.eventSourceSuccess.call(a,r,n.xhr)||r),t.success&&(r=t.success.call(a,r,n.xhr)||r),o.dispatch({type:"RECEIVE_EVENTS",sourceId:t.sourceId,fetchId:l,fetchRange:e,rawEvents:r})}),(function(n){console.warn(n.message,n),i.eventSourceFailure&&i.eventSourceFailure.call(a,n),t.failure&&t.failure(n),o.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:t.sourceId,fetchId:l,fetchRange:e,error:n})})),Object(r.a)(Object(r.a)({},t),{isFetching:!0,latestFetchId:l})}function Jn(t,e){return X(t,(function(t){return tr(t,e)}))}function tr(t,e){return!e.pluginHooks.eventSourceDefs[t.sourceDefId].ignoreRange}function er(t,e,n,r,o){switch(e.type){case"RECEIVE_EVENTS":return function(t,e,n,r,o,i){if(e&&n===e.latestFetchId){var a=Bt(function(t,e,n){var r=n.options.eventDataTransform,o=e?e.eventDataTransform:null;o&&(t=nr(t,o));r&&(t=nr(t,r));return t}(o,e,i),e,i);return r&&(a=nt(a,r,i)),Vt(rr(t,e.sourceId),a)}return t}(t,n[e.sourceId],e.fetchId,e.fetchRange,e.rawEvents,o);case"ADD_EVENTS":return function(t,e,n,r){n&&(e=nt(e,n,r));return Vt(t,e)}(t,e.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return e.eventStore;case"MERGE_EVENTS":return Vt(t,e.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?nt(t,r.activeRange,o):t;case"REMOVE_EVENTS":return function(t,e){var n=t.defs,r=t.instances,o={},i={};for(var a in n)e.defs[a]||(o[a]=n[a]);for(var s in r)!e.instances[s]&&o[r[s].defId]&&(i[s]=r[s]);return{defs:o,instances:i}}(t,e.eventStore);case"REMOVE_EVENT_SOURCE":return rr(t,e.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Ut(t,(function(t){return!t.sourceId}));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return t}}function nr(t,e){var n;if(e){n=[];for(var r=0,o=t;r<o.length;r++){var i=o[r],a=e(i);a?n.push(a):null==a&&n.push(i)}}else n=t;return n}function rr(t,e){return Ut(t,(function(t){return t.sourceId!==e}))}function or(t,e){switch(e.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return e.selection;default:return t}}function ir(t,e){switch(e.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return e.eventInstanceId;default:return t}}function ar(t,e){var n;switch(e.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=e.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function sr(t,e){var n;switch(e.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=e.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return t}}function lr(t,e,n,r,o){return{header:t.headerToolbar?cr(t.headerToolbar,t,e,n,r,o):null,footer:t.footerToolbar?cr(t.footerToolbar,t,e,n,r,o):null}}function cr(t,e,n,r,o,i){var a={},s=[],l=!1;for(var c in t){var u=ur(t[c],e,n,r,o,i);a[c]=u.widgets,s.push.apply(s,u.viewsWithButtons),l=l||u.hasTitle}return{sectionWidgets:a,viewsWithButtons:s,hasTitle:l}}function ur(t,e,n,r,o,i){var a="rtl"===e.direction,s=e.customButtons||{},l=n.buttonText||{},c=e.buttonText||{},u=n.buttonHints||{},d=e.buttonHints||{},f=t?t.split(" "):[],p=[],h=!1;return{widgets:f.map((function(t){return t.split(",").map((function(t){if("title"===t)return h=!0,{buttonName:t};var n,f,v,g,m,b;if(n=s[t])v=function(t){n.click&&n.click.call(t.target,t,t.target)},(g=r.getCustomButtonIconClass(n))||(g=r.getIconClass(t,a))||(m=n.text),b=n.hint||n.text;else if(f=o[t]){p.push(t),v=function(){i.changeView(t)},(m=f.buttonTextOverride)||(g=r.getIconClass(t,a))||(m=f.buttonTextDefault);var y=f.buttonTextOverride||f.buttonTextDefault;b=E(f.buttonTitleOverride||f.buttonTitleDefault||e.viewHint,[y,t],y)}else if(i[t])if(v=function(){i[t]()},(m=l[t])||(g=r.getIconClass(t,a))||(m=c[t]),"prevYear"===t||"nextYear"===t){var x="prevYear"===t?"prev":"next";b=E(u[x]||d[x],[c.year||"year","year"],c[t])}else b=function(e){return E(u[t]||d[t],[c[e]||e,e],c[t])};return{buttonName:t,buttonClick:v,buttonIcon:g,buttonText:m,buttonHint:b}}))})),viewsWithButtons:p,hasTitle:h}}var dr={parseMeta:function(t){return"function"===typeof t.events?t.events:null},fetch:function(t,e,n){var r=t.context.dateEnv;!function(t,e,n){var r=!1,o=function(){r||(r=!0,e.apply(this,arguments))},i=function(){r||(r=!0,n&&n.apply(this,arguments))},a=t(o,i);a&&"function"===typeof a.then&&a.then(o,i)}(t.eventSource.meta.bind(null,ke(t.range,r)),(function(t){e({rawEvents:t})}),n)}};function fr(t,e,n,r,o){var i=null;"GET"===(t=t.toUpperCase())?e=function(t,e){return t+(-1===t.indexOf("?")?"?":"&")+pr(e)}(e,n):i=pr(n);var a=new XMLHttpRequest;a.open(t,e,!0),"GET"!==t&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onload=function(){if(a.status>=200&&a.status<400){var t=!1,e=void 0;try{e=JSON.parse(a.responseText),t=!0}catch(n){}t?r(e,a):o("Failure parsing JSON",a)}else o("Request failed",a)},a.onerror=function(){o("Request failed",a)},a.send(i)}function pr(t){var e=[];for(var n in t)e.push(encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e.join("&")}function hr(t,e){for(var n=Z(e.getCurrentData().eventSources),r=[],o=0,i=t;o<i.length;o++){for(var a=i[o],s=!1,l=0;l<n.length;l+=1)if(n[l]._raw===a){n.splice(l,1),s=!0;break}s||r.push(a)}for(var c=0,u=n;c<u.length;c++){var d=u[c];e.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];e.calendarApi.addEventSource(h)}}var vr=[Pn({eventSourceDefs:[{ignoreRange:!0,parseMeta:function(t){return Array.isArray(t.events)?t.events:null},fetch:function(t,e){e({rawEvents:t.eventSource.meta})}}]}),Pn({eventSourceDefs:[dr]}),Pn({eventSourceRefiners:{method:String,extraParams:Ft,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:function(t){return!t.url||"json"!==t.format&&t.format?null:{url:t.url,format:"json",method:(t.method||"GET").toUpperCase(),extraParams:t.extraParams,startParam:t.startParam,endParam:t.endParam,timeZoneParam:t.timeZoneParam}},fetch:function(t,e,n){var o=t.eventSource.meta,i=function(t,e,n){var o,i,a,s,l=n.dateEnv,c=n.options,u={};null==(o=t.startParam)&&(o=c.startParam);null==(i=t.endParam)&&(i=c.endParam);null==(a=t.timeZoneParam)&&(a=c.timeZoneParam);s="function"===typeof t.extraParams?t.extraParams():t.extraParams||{};Object(r.a)(u,s),u[o]=l.formatIso(e.start),u[i]=l.formatIso(e.end),"local"!==l.timeZone&&(u[a]=l.timeZone);return u}(o,t.range,t.context);fr(o.method,o.url,i,(function(t,n){e({rawEvents:t,xhr:n})}),(function(t,e){n({message:t,xhr:e})}))}}]}),Pn({recurringTypes:[{parse:function(t,e){if(t.daysOfWeek||t.startTime||t.endTime||t.startRecur||t.endRecur){var n={daysOfWeek:t.daysOfWeek||null,startTime:t.startTime||null,endTime:t.endTime||null,startRecur:t.startRecur?e.createMarker(t.startRecur):null,endRecur:t.endRecur?e.createMarker(t.endRecur):null},r=void 0;return t.duration&&(r=t.duration),!r&&t.startTime&&t.endTime&&(o=t.endTime,i=t.startTime,r={years:o.years-i.years,months:o.months-i.months,days:o.days-i.days,milliseconds:o.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!t.startTime&&!t.endTime),duration:r,typeData:n}}var o,i;return null},expand:function(t,e,n){var r=le(e,{start:t.startRecur,end:t.endRecur});return r?function(t,e,n,r){var o=t?$(t):null,i=N(n.start),a=n.end,s=[];for(;i<a;){var l=void 0;o&&!o[i.getUTCDay()]||(l=e?r.add(i,e):i,s.push(l)),i=A(i,1)}return s}(t.daysOfWeek,t.startTime,r,n):[]}}],eventRefiners:{daysOfWeek:Ft,startTime:it,endTime:it,duration:it,startRecur:Ft,endRecur:Ft}}),Pn({optionChangeHandlers:{events:function(t,e){hr([t],e)},eventSources:hr}}),Pn({isLoadingFuncs:[function(t){return Xn(t.eventSources)}],contentTypeHandlers:{html:function(){var t=null,e="";return{render:function(n,r){n===t&&r===e||(n.innerHTML=r),t=n,e=r},destroy:function(){t.innerHTML="",t=null,e=""}}},domNodes:function(){var t=null,e=[];function n(){e.forEach(d),e=[],t=null}return{render:function(r,o){var i=Array.prototype.slice.call(o);if(r!==t||!ft(e,i)){for(var a=0,s=i;a<s.length;a++){var l=s[a];r.appendChild(l)}n()}t=r,e=i},destroy:n}}},propSetHandlers:{dateProfile:function(t,e){e.emitter.trigger("datesSet",Object(r.a)(Object(r.a)({},ke(t.activeRange,e.dateEnv)),{view:e.viewApi}))},eventStore:function(t,e){var n=e.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",ze(t,e))}}})];var gr=function(){function t(t){this.drainedOption=t,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return t.prototype.request=function(t){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==t?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),t))},t.prototype.pause=function(t){void 0===t&&(t="");var e=this.pauseDepths;e[t]=(e[t]||0)+1,this.clearTimeout()},t.prototype.resume=function(t,e){void 0===t&&(t="");var n=this.pauseDepths;if(t in n){if(e)delete n[t];else n[t]-=1,n[t]<=0&&delete n[t];this.tryDrain()}},t.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},t.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},t.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},t.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},t.prototype.drained=function(){this.drainedOption&&this.drainedOption()},t}(),mr=function(){function t(t,e){this.runTaskOption=t,this.drainedOption=e,this.queue=[],this.delayedRunner=new gr(this.drain.bind(this))}return t.prototype.request=function(t,e){this.queue.push(t),this.delayedRunner.request(e)},t.prototype.pause=function(t){this.delayedRunner.pause(t)},t.prototype.resume=function(t,e){this.delayedRunner.resume(t,e)},t.prototype.drain=function(){for(var t=this.queue;t.length;){for(var e=[],n=void 0;n=t.shift();)this.runTask(n),e.push(n);this.drained(e)}},t.prototype.runTask=function(t){this.runTaskOption&&this.runTaskOption(t)},t.prototype.drained=function(t){this.drainedOption&&this.drainedOption(t)},t}();function br(t,e,n){var r;return r=/^(year|month)$/.test(t.currentRangeUnit)?t.currentRange:t.activeRange,n.formatRange(r.start,r.end,Pt(e.titleFormat||function(t){var e=t.currentRangeUnit;if("year"===e)return{year:"numeric"};if("month"===e)return{year:"numeric",month:"long"};var n=I(t.currentRange.start,t.currentRange.end);if(null!==n&&n>1)return{year:"numeric",month:"short",day:"numeric"};return{year:"numeric",month:"long",day:"numeric"}}(t)),{isEndExclusive:t.isRangeAllDay,defaultSeparator:e.titleRangeSeparator})}var yr=function(){function t(t){var e=this;this.computeOptionsData=pt(this._computeOptionsData),this.computeCurrentViewData=pt(this._computeCurrentViewData),this.organizeRawLocales=pt(Ke),this.buildLocale=pt($e),this.buildPluginHooks=_n(),this.buildDateEnv=pt(xr),this.buildTheme=pt(wr),this.parseToolbars=pt(lr),this.buildViewSpecs=pt(Un),this.buildDateProfileGenerator=ht(Or),this.buildViewApi=pt(Sr),this.buildViewUiProps=ht(kr),this.buildEventUiBySource=pt(jr,Q),this.buildEventUiBases=pt(Cr),this.parseContextBusinessHours=ht(Pr),this.buildTitle=pt(br),this.emitter=new vn,this.actionRunner=new mr(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return e.data},this.dispatch=function(t){e.actionRunner.request(t)},this.props=t,this.actionRunner.pause();var n={},o=this.computeOptionsData(t.optionOverrides,n,t.calendarApi),i=o.calendarOptions.initialView||o.pluginHooks.initialView,a=this.computeCurrentViewData(i,o,t.optionOverrides,n);t.calendarApi.currentDataManager=this,this.emitter.setThisContext(t.calendarApi),this.emitter.setOptions(a.options);var s=function(t,e){var n=t.initialDate;return null!=n?e.createMarker(n):Le(t.now,e)}(o.calendarOptions,o.dateEnv),l=a.dateProfileGenerator.build(s);ue(l.activeRange,s)||(s=l.currentRange.start);for(var c={dateEnv:o.dateEnv,options:o.calendarOptions,pluginHooks:o.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},u=0,d=o.pluginHooks.contextInit;u<d.length;u++){(0,d[u])(c)}for(var f=Gn(o.calendarOptions,l,c),p={dynamicOptionOverrides:n,currentViewType:i,currentDate:s,dateProfile:l,businessHours:this.parseContextBusinessHours(c),eventSources:f,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(c).selectionConfig},h=Object(r.a)(Object(r.a)({},c),p),v=0,g=o.pluginHooks.reducers;v<g.length;v++){var m=g[v];Object(r.a)(p,m(null,null,h))}Er(p,c)&&this.emitter.trigger("loading",!0),this.state=p,this.updateData(),this.actionRunner.resume()}return t.prototype.resetOptions=function(t,e){var n=this.props;n.optionOverrides=e?Object(r.a)(Object(r.a)({},n.optionOverrides),t):t,this.actionRunner.request({type:"NOTHING"})},t.prototype._handleAction=function(t){var e=this,n=e.props,o=e.state,i=e.emitter,a=function(t,e){var n;return"SET_OPTION"===e.type?Object(r.a)(Object(r.a)({},t),((n={})[e.optionName]=e.rawOptionValue,n)):t}(o.dynamicOptionOverrides,t),s=this.computeOptionsData(n.optionOverrides,a,n.calendarApi),l=function(t,e){"CHANGE_VIEW_TYPE"===e.type&&(t=e.viewType);return t}(o.currentViewType,t),c=this.computeCurrentViewData(l,s,n.optionOverrides,a);n.calendarApi.currentDataManager=this,i.setThisContext(n.calendarApi),i.setOptions(c.options);var u={dateEnv:s.dateEnv,options:s.calendarOptions,pluginHooks:s.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData},d=o.currentDate,f=o.dateProfile;this.data&&this.data.dateProfileGenerator!==c.dateProfileGenerator&&(f=c.dateProfileGenerator.build(d)),d=function(t,e){return"CHANGE_DATE"===e.type?e.dateMarker:t}(d,t),f=function(t,e,n,r){var o;switch(e.type){case"CHANGE_VIEW_TYPE":return r.build(e.dateMarker||n);case"CHANGE_DATE":return r.build(e.dateMarker);case"PREV":if((o=r.buildPrev(t,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(t,n)).isValid)return o}return t}(f,t,d,c.dateProfileGenerator),"PREV"!==t.type&&"NEXT"!==t.type&&ue(f.currentRange,d)||(d=f.currentRange.start);for(var p=Yn(o.eventSources,t,f,u),h=er(o.eventStore,t,p,f,u),v=Xn(p)&&!c.options.progressiveEventRendering&&o.renderableEventStore||h,g=this.buildViewUiProps(u),m=g.eventUiSingleBase,b=g.selectionConfig,y=this.buildEventUiBySource(p),x={dynamicOptionOverrides:a,currentViewType:l,currentDate:d,dateProfile:f,eventSources:p,eventStore:h,renderableEventStore:v,selectionConfig:b,eventUiBases:this.buildEventUiBases(v.defs,m,y),businessHours:this.parseContextBusinessHours(u),dateSelection:or(o.dateSelection,t),eventSelection:ir(o.eventSelection,t),eventDrag:ar(o.eventDrag,t),eventResize:sr(o.eventResize,t)},w=Object(r.a)(Object(r.a)({},u),x),O=0,S=s.pluginHooks.reducers;O<S.length;O++){var j=S[O];Object(r.a)(x,j(o,t,w))}var C=Er(o,u),k=Er(x,u);!C&&k?i.trigger("loading",!0):C&&!k&&i.trigger("loading",!1),this.state=x,n.onAction&&n.onAction(t)},t.prototype.updateData=function(){var t=this.props,e=this.state,n=this.data,o=this.computeOptionsData(t.optionOverrides,e.dynamicOptionOverrides,t.calendarApi),i=this.computeCurrentViewData(e.currentViewType,o,t.optionOverrides,e.dynamicOptionOverrides),a=this.data=Object(r.a)(Object(r.a)(Object(r.a)({viewTitle:this.buildTitle(e.dateProfile,i.options,o.dateEnv),calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},o),i),e),s=o.pluginHooks.optionChangeHandlers,l=n&&n.calendarOptions,c=o.calendarOptions;if(l&&l!==c)for(var u in l.timeZone!==c.timeZone&&(e.eventSources=a.eventSources=function(t,e,n){var r=e?e.activeRange:null;return Zn(t,Jn(t,n),r,!0,n)}(a.eventSources,e.dateProfile,a),e.eventStore=a.eventStore=function(t,e,n){var o=t.defs,i=K(t.instances,(function(t){var i=o[t.defId];return i.allDay||i.recurringDef?t:Object(r.a)(Object(r.a)({},t),{range:{start:n.createMarker(e.toDate(t.range.start,t.forcedStartTzo)),end:n.createMarker(e.toDate(t.range.end,t.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:t.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:t.forcedEndTzo})}));return{defs:o,instances:i}}(a.eventStore,n.dateEnv,a.dateEnv)),s)l[u]!==c[u]&&s[u](c[u],a);t.onData&&t.onData(a)},t.prototype._computeOptionsData=function(t,e,n){var r=this.processRawCalendarOptions(t,e),o=r.refinedOptions,i=r.pluginHooks,a=r.localeDefaults,s=r.availableLocaleData;_r(r.extra);var l=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,i,s,o.defaultRangeSeparator),c=this.buildViewSpecs(i.views,t,e,a),u=this.buildTheme(o,i);return{calendarOptions:o,pluginHooks:i,dateEnv:l,viewSpecs:c,theme:u,toolbarConfig:this.parseToolbars(o,t,u,c,n),localeDefaults:a,availableRawLocales:s.map}},t.prototype.processRawCalendarOptions=function(t,e){var n=Nt([Mt,t,e]),o=n.locales,i=n.locale,a=this.organizeRawLocales(o),s=a.map,l=this.buildLocale(i||a.defaultCode,s).options,c=this.buildPluginHooks(t.plugins||[],vr),u=this.currentCalendarOptionsRefiners=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},_t),Tt),At),c.listenerRefiners),c.optionRefiners),d={},f=Nt([Mt,l,t,e]),p={},h=this.currentCalendarOptionsInput,v=this.currentCalendarOptionsRefined,g=!1;for(var m in f)"plugins"!==m&&(f[m]===h[m]||Rt[m]&&m in h&&Rt[m](h[m],f[m])?p[m]=v[m]:u[m]?(p[m]=u[m](f[m]),g=!0):d[m]=h[m]);return g&&(this.currentCalendarOptionsInput=f,this.currentCalendarOptionsRefined=p),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:c,availableLocaleData:a,localeDefaults:l,extra:d}},t.prototype._computeCurrentViewData=function(t,e,n,r){var o=e.viewSpecs[t];if(!o)throw new Error('viewType "'+t+"\" is not available. Please make sure you've loaded all neccessary plugins");var i=this.processRawViewOptions(o,e.pluginHooks,e.localeDefaults,n,r),a=i.refinedOptions;return _r(i.extra),{viewSpec:o,options:a,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:e.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,showNonCurrentDates:a.showNonCurrentDates,dayCount:a.dayCount,dateAlignment:a.dateAlignment,dateIncrement:a.dateIncrement,hiddenDays:a.hiddenDays,weekends:a.weekends,nowInput:a.now,validRangeInput:a.validRange,visibleRangeInput:a.visibleRange,monthMode:a.monthMode,fixedWeekCount:a.fixedWeekCount}),viewApi:this.buildViewApi(t,this.getCurrentData,e.dateEnv)}},t.prototype.processRawViewOptions=function(t,e,n,o,i){var a=Nt([Mt,t.optionDefaults,n,o,t.optionOverrides,i]),s=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},_t),Tt),At),It),e.listenerRefiners),e.optionRefiners),l={},c=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,d=!1,f={};for(var p in a)a[p]===c[p]?l[p]=u[p]:(a[p]===this.currentCalendarOptionsInput[p]?p in this.currentCalendarOptionsRefined&&(l[p]=this.currentCalendarOptionsRefined[p]):s[p]?l[p]=s[p](a[p]):f[p]=a[p],d=!0);return d&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:f}},t}();function xr(t,e,n,r,o,i,a,s){var l=$e(e||a.defaultCode,a.map);return new qe({calendarSystem:"gregory",timeZone:t,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:i.cmdFormatter,defaultSeparator:s})}function wr(t,e){return new(e.themeClasses[t.themeSystem]||Mn)(t)}function Or(t){return new(t.dateProfileGeneratorClass||qn)(t)}function Sr(t,e,n){return new Re(t,e,n)}function jr(t){return K(t,(function(t){return t.ui}))}function Cr(t,e,n){var r={"":e};for(var o in t){var i=t[o];i.sourceId&&n[i.sourceId]&&(r[o]=n[i.sourceId])}return r}function kr(t){var e=t.options;return{eventUiSingleBase:Yt({display:e.eventDisplay,editable:e.editable,startEditable:e.eventStartEditable,durationEditable:e.eventDurationEditable,constraint:e.eventConstraint,overlap:"boolean"===typeof e.eventOverlap?e.eventOverlap:void 0,allow:e.eventAllow,backgroundColor:e.eventBackgroundColor,borderColor:e.eventBorderColor,textColor:e.eventTextColor,color:e.eventColor},t),selectionConfig:Yt({constraint:e.selectConstraint,overlap:"boolean"===typeof e.selectOverlap?e.selectOverlap:void 0,allow:e.selectAllow},t)}}function Er(t,e){for(var n=0,r=e.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(t))return!0}return!1}function Pr(t){return tn(t.options.businessHours,t)}function _r(t,e){for(var n in t)console.warn("Unknown option '"+n+"'"+(e?" for view '"+e+"'":""))}!function(t){function e(e){var n=t.call(this,e)||this;return n.handleData=function(t){n.dataManager?n.setState(t):n.state=t},n.dataManager=new yr({optionOverrides:e.optionOverrides,calendarApi:e.calendarApi,onData:n.handleData}),n}Object(r.b)(e,t),e.prototype.render=function(){return this.props.children(this.state)},e.prototype.componentDidUpdate=function(t){var e=this.props.optionOverrides;e!==t.optionOverrides&&this.dataManager.resetOptions(e)}}(o);var Mr=function(){function t(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return t.prototype.addSegs=function(t){for(var e=[],n=0,r=t;n<r.length;n++){var o=r[n];this.insertEntry(o,e)}return e},t.prototype.insertEntry=function(t,e){var n=this.findInsertion(t);return this.isInsertionValid(n,t)?(this.insertEntryAt(t,n),1):this.handleInvalidInsertion(n,t,e)},t.prototype.isInsertionValid=function(t,e){return(-1===this.maxCoord||t.levelCoord+e.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||t.stackCnt<this.maxStackCnt)},t.prototype.handleInvalidInsertion=function(t,e,n){return this.allowReslicing&&t.touchingEntry?this.splitEntry(e,t.touchingEntry,n):(n.push(e),0)},t.prototype.splitEntry=function(t,e,n){var o=0,i=[],a=t.span,s=e.span;return a.start<s.start&&(o+=this.insertEntry({index:t.index,thickness:t.thickness,span:{start:a.start,end:s.start}},i)),a.end>s.end&&(o+=this.insertEntry({index:t.index,thickness:t.thickness,span:{start:s.end,end:a.end}},i)),o?(n.push.apply(n,Object(r.c)([{index:t.index,thickness:t.thickness,span:Rr(s,a)}],i)),o):(n.push(t),0)},t.prototype.insertEntryAt=function(t,e){var n=this.entriesByLevel,r=this.levelCoords;-1===e.lateral?(Dr(r,e.level,e.levelCoord),Dr(n,e.level,[t])):Dr(n[e.level],e.lateral,t),this.stackCnts[Ar(t)]=e.stackCnt},t.prototype.findInsertion=function(t){for(var e=this,n=e.levelCoords,r=e.entriesByLevel,o=e.strictOrder,i=e.stackCnts,a=n.length,s=0,l=-1,c=-1,u=null,d=0,f=0;f<a;f+=1){var p=n[f];if(!o&&p>=s+t.thickness)break;for(var h=r[f],v=void 0,g=Ir(h,t.span.start,Tr),m=g[0]+g[1];(v=h[m])&&v.span.start<t.span.end;){var b=p+v.thickness;b>s&&(s=b,u=v,l=f,c=m),b===s&&(d=Math.max(d,i[Ar(v)]+1)),m+=1}}var y=0;if(u)for(y=l+1;y<a&&n[y]<s;)y+=1;var x=-1;return y<a&&n[y]===s&&(x=Ir(r[y],t.span.end,Tr)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:u,stackCnt:d,levelCoord:s,level:y,lateral:x}},t.prototype.toRects=function(){for(var t=this.entriesByLevel,e=this.levelCoords,n=t.length,o=[],i=0;i<n;i+=1)for(var a=t[i],s=e[i],l=0,c=a;l<c.length;l++){var u=c[l];o.push(Object(r.a)(Object(r.a)({},u),{levelCoord:s}))}return o},t}();function Tr(t){return t.span.end}function Ar(t){return t.index+":"+t.span.start}function Rr(t,e){var n=Math.max(t.start,e.start),r=Math.min(t.end,e.end);return n<r?{start:n,end:r}:null}function Dr(t,e,n){t.splice(e,0,n)}function Ir(t,e,n){var r=0,o=t.length;if(!o||e<n(t[r]))return[0,0];if(e>n(t[o-1]))return[o,0];for(;r<o;){var i=Math.floor(r+(o-r)/2),a=n(t[i]);if(e<a)o=i;else{if(!(e>a))return[i,1];r=i+1}}return[r,0]}var Nr=function(){function t(t){this.component=t.component,this.isHitComboAllowed=t.isHitComboAllowed||null}return t.prototype.destroy=function(){},t}();function Lr(t,e){return{component:t,el:e.el,useEventCenter:null==e.useEventCenter||e.useEventCenter,isHitComboAllowed:e.isHitComboAllowed||null}}var Fr={};(function(){function t(t,e){this.emitter=new vn}t.prototype.destroy=function(){},t.prototype.setMirrorIsVisible=function(t){},t.prototype.setMirrorNeedsRevert=function(t){},t.prototype.setAutoScrollEnabled=function(t){}})(),Boolean;var Br=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this.props.widgetGroups.map((function(e){return t.renderWidgetGroup(e)}));return i.apply(void 0,Object(r.c)(["div",{className:"fc-toolbar-chunk"}],e))},e.prototype.renderWidgetGroup=function(t){for(var e=this.props,n=this.context.theme,o=[],a=!0,s=0,l=t;s<l.length;s++){var c=l[s],u=c.buttonName,d=c.buttonClick,f=c.buttonText,p=c.buttonIcon,h=c.buttonHint;if("title"===u)a=!1,o.push(i("h2",{className:"fc-toolbar-title",id:e.titleId},e.title));else{var v=u===e.activeButton,g=!e.isTodayEnabled&&"today"===u||!e.isPrevEnabled&&"prev"===u||!e.isNextEnabled&&"next"===u,m=["fc-"+u+"-button",n.getClass("button")];v&&m.push(n.getClass("buttonActive")),o.push(i("button",{type:"button",title:"function"===typeof h?h(e.navUnit):h,disabled:g,"aria-pressed":v,className:m.join(" "),onClick:d},f||(p?i("span",{className:p}):"")))}}if(o.length>1){var b=a&&n.getClass("buttonGroup")||"";return i.apply(void 0,Object(r.c)(["div",{className:b}],o))}return o[0]},e}(Sn),zr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t,e,n=this.props,r=n.model,o=n.extraClassName,a=!1,s=r.sectionWidgets,l=s.center;return s.left?(a=!0,t=s.left):t=s.start,s.right?(a=!0,e=s.right):e=s.end,i("div",{className:[o||"","fc-toolbar",a?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",t||[]),this.renderSection("center",l||[]),this.renderSection("end",e||[]))},e.prototype.renderSection=function(t,e){var n=this.props;return i(Br,{key:t,widgetGroups:e,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},e}(Sn),Hr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={availableWidth:null},e.handleEl=function(t){e.el=t,kn(e.props.elRef,t),e.updateAvailableWidth()},e.handleResize=function(){e.updateAvailableWidth()},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.state,n=t.aspectRatio,r=["fc-view-harness",n||t.liquid||t.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",a="";return n?null!==e.availableWidth?o=e.availableWidth/n:a=1/n*100+"%":o=t.height||"",i("div",{"aria-labelledby":t.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:a}},t.children)},e.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},e.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},e.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},e}(Sn),Vr=function(t){function e(e){var n=t.call(this,e)||this;return n.handleSegClick=function(t,e){var r=n.component,o=r.context,i=pe(e);if(i&&r.isValidSegDownEl(t.target)){var a=f(t.target,".fc-event-forced-url"),s=a?a.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:e,event:new Fe(r.context,i.eventRange.def,i.eventRange.instance),jsEvent:t,view:o.viewApi}),s&&!t.defaultPrevented&&(window.location.href=s)}},n.destroy=x(e.el,"click",".fc-event",n.handleSegClick),n}return Object(r.b)(e,t),e}(Nr),Ur=function(t){function e(e){var n=t.call(this,e)||this;return n.handleEventElRemove=function(t){t===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(t,e){pe(e)&&(n.currentSegEl=e,n.triggerEvent("eventMouseEnter",t,e))},n.handleSegLeave=function(t,e){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",t,e))},n.removeHoverListeners=function(t,e,n,r){var o;return x(t,"mouseover",e,(function(t,e){e!==o&&(o=e,n(t,e),e.addEventListener("mouseleave",(function t(n){o=null,r(n,e),e.removeEventListener("mouseleave",t)})))}))}(e.el,".fc-event",n.handleSegEnter,n.handleSegLeave),n}return Object(r.b)(e,t),e.prototype.destroy=function(){this.removeHoverListeners()},e.prototype.triggerEvent=function(t,e,n){var r=this.component,o=r.context,i=pe(n);e&&!r.isValidSegDownEl(e.target)||o.emitter.trigger(t,{el:n,event:new Fe(o,i.eventRange.def,i.eventRange.instance),jsEvent:e,view:o.viewApi})},e}(Nr);!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buildViewContext=pt(wn),e.buildViewPropTransformers=pt(qr),e.buildToolbarProps=pt(Wr),e.headerRef=a(),e.footerRef=a(),e.interactionsStore={},e.state={viewLabelId:y()},e.registerInteractiveComponent=function(t,n){var r=Lr(t,n),o=[Vr,Ur].concat(e.props.pluginHooks.componentInteractions).map((function(t){return new t(r)}));e.interactionsStore[t.uid]=o,Fr[t.uid]=r},e.unregisterInteractiveComponent=function(t){var n=e.interactionsStore[t.uid];if(n){for(var r=0,o=n;r<o.length;r++){o[r].destroy()}delete e.interactionsStore[t.uid]}delete Fr[t.uid]},e.resizeRunner=new gr((function(){e.props.emitter.trigger("_resize",!0),e.props.emitter.trigger("windowResize",{view:e.props.viewApi})})),e.handleWindowResize=function(t){var n=e.props.options;n.handleWindowResize&&t.target===window&&e.resizeRunner.request(n.windowResizeDelay)},e}Object(r.b)(e,t),e.prototype.render=function(){var t,e=this.props,n=e.toolbarConfig,o=e.options,a=this.buildToolbarProps(e.viewSpec,e.dateProfile,e.dateProfileGenerator,e.currentDate,Le(e.options.now,e.dateEnv),e.viewTitle),s=!1,l="";e.isHeightAuto||e.forPrint?l="":null!=o.height?s=!0:null!=o.contentHeight?l=o.contentHeight:t=Math.max(o.aspectRatio,.5);var c=this.buildViewContext(e.viewSpec,e.viewApi,e.options,e.dateProfileGenerator,e.dateEnv,e.theme,e.pluginHooks,e.dispatch,e.getCurrentData,e.emitter,e.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),u=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return i(xn.Provider,{value:c},n.header&&i(zr,Object(r.a)({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:u},a)),i(Hr,{liquid:s,height:l,aspectRatio:t,labeledById:u},this.renderView(e),this.buildAppendContent()),n.footer&&i(zr,Object(r.a)({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},a)))},e.prototype.componentDidMount=function(){var t=this.props;this.calendarInteractions=t.pluginHooks.calendarInteractions.map((function(e){return new e(t)})),window.addEventListener("resize",this.handleWindowResize);var e=t.pluginHooks.propSetHandlers;for(var n in e)e[n](t[n],t)},e.prototype.componentDidUpdate=function(t){var e=this.props,n=e.pluginHooks.propSetHandlers;for(var r in n)e[r]!==t[r]&&n[r](e[r],e)},e.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var t=0,e=this.calendarInteractions;t<e.length;t++){e[t].destroy()}this.props.emitter.trigger("_unmount")},e.prototype.buildAppendContent=function(){var t=this.props,e=t.pluginHooks.viewContainerAppends.map((function(e){return e(t)}));return i.apply(void 0,Object(r.c)([s,{}],e))},e.prototype.renderView=function(t){for(var e=t.pluginHooks,n=t.viewSpec,o={dateProfile:t.dateProfile,businessHours:t.businessHours,eventStore:t.renderableEventStore,eventUiBases:t.eventUiBases,dateSelection:t.dateSelection,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,isHeightAuto:t.isHeightAuto,forPrint:t.forPrint},a=0,s=this.buildViewPropTransformers(e.viewPropsTransformers);a<s.length;a++){var l=s[a];Object(r.a)(o,l.transform(o,t))}var c=n.component;return i(c,Object(r.a)({},o))}}(On);function Wr(t,e,n,r,o,i){var a=n.build(o,void 0,!1),s=n.buildPrev(e,r,!1),l=n.buildNext(e,r,!1);return{title:i,activeButton:t.type,navUnit:t.singleUnit,isTodayEnabled:a.isValid&&!ue(e.currentRange,o),isPrevEnabled:s.isValid,isNextEnabled:l.isValid}}function qr(t){return t.map((function(t){return new t}))}!function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={forPrint:!1},e.handleBeforePrint=function(){e.setState({forPrint:!0})},e.handleAfterPrint=function(){e.setState({forPrint:!1})},e}Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=t.options,n=this.state.forPrint,r=n||"auto"===e.height||"auto"===e.contentHeight,o=r||null==e.height?"":e.height,i=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+e.direction,t.theme.getClass("root")];return nn()||i.push("fc-liquid-hack"),t.children(i,o,r,n)},e.prototype.componentDidMount=function(){var t=this.props.emitter;t.on("_beforeprint",this.handleBeforePrint),t.on("_afterprint",this.handleAfterPrint)},e.prototype.componentWillUnmount=function(){var t=this.props.emitter;t.off("_beforeprint",this.handleBeforePrint),t.off("_afterprint",this.handleAfterPrint)}}(Sn);var Gr="fc-col-header-cell";function Yr(t){return t.text}var Xr=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.context,e=t.dateEnv,n=t.options,o=t.theme,a=t.viewApi,s=this.props,l=s.date,c=s.dateProfile,u=an(l,s.todayRange,null,c),d=[Gr].concat(sn(u,o)),f=e.format(l,s.dayHeaderFormat),p=!u.isDisabled&&s.colCnt>1?un(this.context,l):{},h=Object(r.a)(Object(r.a)(Object(r.a)({date:e.toDate(l),view:a},s.extraHookProps),{text:f}),u);return i(An,{hookProps:h,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:Yr,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(t,e,n,o){return i("th",Object(r.a)({ref:t,role:"columnheader",className:d.concat(e).join(" "),"data-date":u.isDisabled?void 0:ut(l),colSpan:s.colSpan},s.extraDataAttrs),i("div",{className:"fc-scrollgrid-sync-inner"},!u.isDisabled&&i("a",Object(r.a)({ref:n,className:["fc-col-header-cell-cushion",s.isSticky?"fc-sticky":""].join(" ")},p),o)))}))},e}(Sn),Kr=Pt({weekday:"long"}),$r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.dateEnv,o=e.theme,a=e.viewApi,s=e.options,l=A(new Date(2592e5),t.dow),c={dow:t.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},u=[Gr].concat(sn(c,o),t.extraClassNames||[]),d=n.format(l,t.dayHeaderFormat),f=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({date:l},c),{view:a}),t.extraHookProps),{text:d});return i(An,{hookProps:f,classNames:s.dayHeaderClassNames,content:s.dayHeaderContent,defaultContent:Yr,didMount:s.dayHeaderDidMount,willUnmount:s.dayHeaderWillUnmount},(function(e,o,a,s){return i("th",Object(r.a)({ref:e,role:"columnheader",className:u.concat(o).join(" "),colSpan:t.colSpan},t.extraDataAttrs),i("div",{className:"fc-scrollgrid-sync-inner"},i("a",{"aria-label":n.format(l,Kr),className:["fc-col-header-cell-cushion",t.isSticky?"fc-sticky":""].join(" "),ref:a},s)))}))},e}(Sn),Zr=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.initialNowDate=Le(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.state;return t.children(e.nowDate,e.todayRange)},e.prototype.componentDidMount=function(){this.setTimeout()},e.prototype.componentDidUpdate=function(t){t.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},e.prototype.componentWillUnmount=function(){this.clearTimeout()},e.prototype.computeTiming=function(){var t=this.props,e=this.context,n=R(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=e.dateEnv.startOf(n,t.unit),o=e.dateEnv.add(r,it(1,t.unit)),i=o.valueOf()-n.valueOf();return i=Math.min(864e5,i),{currentState:{nowDate:r,todayRange:Qr(r)},nextState:{nowDate:o,todayRange:Qr(o)},waitMs:i}},e.prototype.setTimeout=function(){var t=this,e=this.computeTiming(),n=e.nextState,r=e.waitMs;this.timeoutId=setTimeout((function(){t.setState(n,(function(){t.setTimeout()}))}),r)},e.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},e.contextType=xn,e}(o);function Qr(t){var e=N(t);return{start:e,end:A(e,1)}}var Jr=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.createDayHeaderFormatter=pt(to),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.context,e=this.props,n=e.dates,r=e.dateProfile,o=e.datesRepDistinctDays,a=e.renderIntro,s=this.createDayHeaderFormatter(t.options.dayHeaderFormat,o,n.length);return i(Zr,{unit:"day"},(function(t,e){return i("tr",{role:"row"},a&&a("day"),n.map((function(t){return o?i(Xr,{key:t.toISOString(),date:t,dateProfile:r,todayRange:e,colCnt:n.length,dayHeaderFormat:s}):i($r,{key:t.getUTCDay(),dow:t.getUTCDay(),dayHeaderFormat:s})})))}))},e}(Sn);function to(t,e,n){return t||function(t,e){return Pt(!t||e>10?{weekday:"short"}:e>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}(e,n)}var eo=function(){function t(t,e){for(var n=t.start,r=t.end,o=[],i=[],a=-1;n<r;)e.isHiddenDay(n)?o.push(a+.5):(a+=1,o.push(a),i.push(n)),n=A(n,1);this.dates=i,this.indices=o,this.cnt=i.length}return t.prototype.sliceRange=function(t){var e=this.getDateDayIndex(t.start),n=this.getDateDayIndex(A(t.end,-1)),r=Math.max(0,e),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:e===r,isEnd:n===o}:null},t.prototype.getDateDayIndex=function(t){var e=this.indices,n=Math.floor(D(this.dates[0],t));return n<0?e[0]-1:n>=e.length?e[e.length-1]+1:e[n]},t}(),no=function(){function t(t,e){var n,r,o,i=t.dates;if(e){for(r=i[0].getUTCDay(),n=1;n<i.length&&i[n].getUTCDay()!==r;n+=1);o=Math.ceil(i.length/n)}else o=1,n=i.length;this.rowCnt=o,this.colCnt=n,this.daySeries=t,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return t.prototype.buildCells=function(){for(var t=[],e=0;e<this.rowCnt;e+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(e,r));t.push(n)}return t},t.prototype.buildCell=function(t,e){var n=this.daySeries.dates[t*this.colCnt+e];return{key:n.toISOString(),date:n}},t.prototype.buildHeaderDates=function(){for(var t=[],e=0;e<this.colCnt;e+=1)t.push(this.cells[0][e].date);return t},t.prototype.sliceRange=function(t){var e=this.colCnt,n=this.daySeries.sliceRange(t),r=[];if(n)for(var o=n.firstIndex,i=n.lastIndex,a=o;a<=i;){var s=Math.floor(a/e),l=Math.min((s+1)*e,i+1);r.push({row:s,firstCol:a%e,lastCol:(l-1)%e,isStart:n.isStart&&a===o,isEnd:n.isEnd&&l-1===i}),a=l}return r},t}(),ro=function(){function t(){this.sliceBusinessHours=pt(this._sliceBusinessHours),this.sliceDateSelection=pt(this._sliceDateSpan),this.sliceEventStore=pt(this._sliceEventStore),this.sliceEventDrag=pt(this._sliceInteraction),this.sliceEventResize=pt(this._sliceInteraction),this.forceDayIfListItem=!1}return t.prototype.sliceProps=function(t,e,n,o){for(var i=[],a=4;a<arguments.length;a++)i[a-4]=arguments[a];var s=t.eventUiBases,l=this.sliceEventStore.apply(this,Object(r.c)([t.eventStore,s,e,n],i));return{dateSelectionSegs:this.sliceDateSelection.apply(this,Object(r.c)([t.dateSelection,s,o],i)),businessHourSegs:this.sliceBusinessHours.apply(this,Object(r.c)([t.businessHours,e,n,o],i)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,Object(r.c)([t.eventDrag,s,e,n],i)),eventResize:this.sliceEventResize.apply(this,Object(r.c)([t.eventResize,s,e,n],i)),eventSelection:t.eventSelection}},t.prototype.sliceNowDate=function(t,e){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return this._sliceDateSpan.apply(this,Object(r.c)([{range:{start:t,end:R(t,1)},allDay:!1},{},e],n))},t.prototype._sliceBusinessHours=function(t,e,n,o){for(var i=[],a=4;a<arguments.length;a++)i[a-4]=arguments[a];return t?this._sliceEventStore.apply(this,Object(r.c)([nt(t,oo(e,Boolean(n)),o),{},e,n],i)).bg:[]},t.prototype._sliceEventStore=function(t,e,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(t){var a=de(t,e,oo(n,Boolean(r)),r);return{bg:this.sliceEventRanges(a.bg,o),fg:this.sliceEventRanges(a.fg,o)}}return{bg:[],fg:[]}},t.prototype._sliceInteraction=function(t,e,n,r){for(var o=[],i=4;i<arguments.length;i++)o[i-4]=arguments[i];if(!t)return null;var a=de(t.mutatedEvents,e,oo(n,Boolean(r)),r);return{segs:this.sliceEventRanges(a.fg,o),affectedInstances:t.affectedEvents.instances,isEvent:t.isEvent}},t.prototype._sliceDateSpan=function(t,e,n){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];if(!t)return[];for(var a=Pe(t,e,n),s=this.sliceRange.apply(this,Object(r.c)([t.range],o)),l=0,c=s;l<c.length;l++){var u=c[l];u.eventRange=a}return s},t.prototype.sliceEventRanges=function(t,e){for(var n=[],r=0,o=t;r<o.length;r++){var i=o[r];n.push.apply(n,this.sliceEventRange(i,e))}return n},t.prototype.sliceEventRange=function(t,e){var n=t.range;this.forceDayIfListItem&&"list-item"===t.ui.display&&(n={start:n.start,end:A(n.start,1)});for(var o=this.sliceRange.apply(this,Object(r.c)([n],e)),i=0,a=o;i<a.length;i++){var s=a[i];s.eventRange=t,s.isStart=t.isStart&&s.isStart,s.isEnd=t.isEnd&&s.isEnd}return o},t}();function oo(t,e){var n=t.activeRange;return e?n:{start:R(n.start,t.slotMinTime.milliseconds),end:R(n.end,t.slotMaxTime.milliseconds-864e5)}}var io=/^(visible|hidden)$/,ao=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleEl=function(t){e.el=t,kn(e.props.elRef,t)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=t.liquid,n=t.liquidIsAbsolute,r=e&&n,o=["fc-scroller"];return e&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),i("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:t.overflowX,overflowY:t.overflowY,left:r&&-(t.overcomeLeft||0)||"",right:r&&-(t.overcomeRight||0)||"",bottom:r&&-(t.overcomeBottom||0)||"",marginLeft:!r&&-(t.overcomeLeft||0)||"",marginRight:!r&&-(t.overcomeRight||0)||"",marginBottom:!r&&-(t.overcomeBottom||0)||"",maxHeight:t.maxHeight||""}},t.children)},e.prototype.needsXScrolling=function(){if(io.test(this.props.overflowX))return!1;for(var t=this.el,e=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=t.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>e)return!0}return!1},e.prototype.needsYScrolling=function(){if(io.test(this.props.overflowY))return!1;for(var t=this.el,e=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=t.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>e)return!0}return!1},e.prototype.getXScrollbarWidth=function(){return io.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},e.prototype.getYScrollbarWidth=function(){return io.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},e}(Sn),so=function(){function t(t){var e=this;this.masterCallback=t,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(t,n){var r=e,o=r.depths,i=r.currentMap,a=!1,s=!1;null!==t?(a=n in i,i[n]=t,o[n]=(o[n]||0)+1,s=!0):(o[n]-=1,o[n]||(delete i[n],delete e.callbackMap[n],a=!0)),e.masterCallback&&(a&&e.masterCallback(null,String(n)),s&&e.masterCallback(t,String(n)))}}return t.prototype.createRef=function(t){var e=this,n=this.callbackMap[t];return n||(n=this.callbackMap[t]=function(n){e.handleValue(n,String(t))}),n},t.prototype.collect=function(t,e,n){return function(t,e,n,r){void 0===e&&(e=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(t).length);for(var i=e;i<n;i+=r){var a=t[i];void 0!==a&&o.push(a)}return o}(this.currentMap,t,e,n)},t.prototype.getAll=function(){return Z(this.currentMap)},t}();function lo(t){for(var e=0,n=0,r=function(t,e){for(var n=t instanceof HTMLElement?[t]:t,r=[],o=0;o<n.length;o+=1)for(var i=n[o].querySelectorAll(e),a=0;a<i.length;a+=1)r.push(i[a]);return r}(t,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];e=Math.max(e,_(o))}return Math.ceil(e)}function co(t,e){return t.liquid&&e.liquid}function uo(t,e){return ft(t,e,Q)}function fo(t,e){for(var n=[],o=0,a=t;o<a.length;o++)for(var s=a[o],l=s.span||1,c=0;c<l;c+=1)n.push(i("col",{style:{width:"shrink"===s.width?po(e):s.width||"",minWidth:s.minWidth||""}}));return i.apply(void 0,Object(r.c)(["colgroup",{}],n))}function po(t){return null==t?4:t}function ho(t,e){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+t.type,t.className];return e&&t.liquid&&null==t.maxHeight&&n.push("fc-scrollgrid-section-liquid"),t.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function vo(t){return i("div",{className:"fc-scrollgrid-sticky-shim",style:{width:t.clientWidth,minWidth:t.tableMinWidth}})}function go(t){var e=t.stickyHeaderDates;return null!=e&&"auto"!==e||(e="auto"===t.height||"auto"===t.viewHeight),e}var mo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.processCols=pt((function(t){return t}),uo),e.renderMicroColGroup=pt(fo),e.scrollerRefs=new so,e.scrollerElRefs=new so(e._handleScrollerEl.bind(e)),e.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},e.handleSizing=function(){e.setState(Object(r.a)({shrinkWidth:e.computeShrinkWidth()},e.computeScrollerDims()))},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=t.props,n=t.state,o=t.context,a=e.sections||[],s=this.processCols(e.cols),l=this.renderMicroColGroup(s,n.shrinkWidth),c=function(t,e){var n=["fc-scrollgrid",e.theme.getClass("table")];return t&&n.push("fc-scrollgrid-liquid"),n}(e.liquid,o);e.collapsibleWidth&&c.push("fc-scrollgrid-collapsible");for(var u,d=a.length,f=0,p=[],h=[],v=[];f<d&&"header"===(u=a[f]).type;)p.push(this.renderSection(u,l,!0)),f+=1;for(;f<d&&"body"===(u=a[f]).type;)h.push(this.renderSection(u,l,!1)),f+=1;for(;f<d&&"footer"===(u=a[f]).type;)v.push(this.renderSection(u,l,!0)),f+=1;var g=!nn(),m={role:"rowgroup"};return i("table",{role:"grid",className:c.join(" "),style:{height:e.height}},Boolean(!g&&p.length)&&i.apply(void 0,Object(r.c)(["thead",m],p)),Boolean(!g&&h.length)&&i.apply(void 0,Object(r.c)(["tbody",m],h)),Boolean(!g&&v.length)&&i.apply(void 0,Object(r.c)(["tfoot",m],v)),g&&i.apply(void 0,Object(r.c)(Object(r.c)(Object(r.c)(["tbody",m],p),h),v)))},e.prototype.renderSection=function(t,e,n){return"outerContent"in t?i(s,{key:t.key},t.outerContent):i("tr",{key:t.key,role:"presentation",className:ho(t,this.props.liquid).join(" ")},this.renderChunkTd(t,e,t.chunk,n))},e.prototype.renderChunkTd=function(t,e,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,a=this.state,s=a.forceYScrollbars,l=a.scrollerClientWidths,c=a.scrollerClientHeights,u=function(t,e){return null!=e.maxHeight||co(t,e)}(o,t),d=co(o,t),f=o.liquid?s?"scroll":u?"auto":"hidden":"visible",p=t.key,h=function(t,e,n,r){var o=n.expandRows;return"function"===typeof e.content?e.content(n):i("table",{role:"presentation",className:[e.tableClassName,t.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,i(r?"thead":"tbody",{role:"presentation"},"function"===typeof e.rowContent?e.rowContent(n):e.rowContent))}(t,n,{tableColGroupNode:e,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===l[p]?null:l[p],clientHeight:void 0!==c[p]?c[p]:null,expandRows:t.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return i(r?"th":"td",{ref:n.elRef,role:"presentation"},i("div",{className:"fc-scroller-harness"+(d?" fc-scroller-harness-liquid":"")},i(ao,{ref:this.scrollerRefs.createRef(p),elRef:this.scrollerElRefs.createRef(p),overflowY:f,overflowX:o.liquid?"hidden":"visible",maxHeight:t.maxHeight,liquid:d,liquidIsAbsolute:!0},h)))},e.prototype._handleScrollerEl=function(t,e){var n=function(t,e){for(var n=0,r=t;n<r.length;n++){var o=r[n];if(o.key===e)return o}return null}(this.props.sections,e);n&&kn(n.chunk.scrollerElRef,t)},e.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},e.prototype.componentDidUpdate=function(){this.handleSizing()},e.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},e.prototype.computeShrinkWidth=function(){return function(t){for(var e=0,n=t;e<n.length;e++)if("shrink"===n[e].width)return!0;return!1}(this.props.cols)?lo(this.scrollerElRefs.getAll()):0},e.prototype.computeScrollerDims=function(){var t=fn(),e=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},i={};for(var a in e.currentMap){var s=e.currentMap[a];if(s&&s.needsYScrolling()){r=!0;break}}for(var l=0,c=this.props.sections;l<c.length;l++){a=c[l].key;var u=n.currentMap[a];if(u){var d=u.parentNode;o[a]=Math.floor(d.getBoundingClientRect().width-(r?t.y:0)),i[a]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:i}},e}(Sn);mo.addStateEquality({scrollerClientWidths:Q,scrollerClientHeights:Q});var bo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.elRef=a(),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,r=t.seg,o=r.eventRange,a=o.ui,s={event:new Fe(e,o.def,o.instance),view:e.viewApi,timeText:t.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!t.disableDragging&&be(r,e),isStartResizable:!t.disableResizing&&ye(r,e),isEndResizable:!t.disableResizing&&xe(r),isMirror:Boolean(t.isDragging||t.isResizing||t.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(t.isPast),isFuture:Boolean(t.isFuture),isToday:Boolean(t.isToday),isSelected:Boolean(t.isSelected),isDragging:Boolean(t.isDragging),isResizing:Boolean(t.isResizing)},l=function(t){var e=["fc-event"];return t.isMirror&&e.push("fc-event-mirror"),t.isDraggable&&e.push("fc-event-draggable"),(t.isStartResizable||t.isEndResizable)&&e.push("fc-event-resizable"),t.isDragging&&e.push("fc-event-dragging"),t.isResizing&&e.push("fc-event-resizing"),t.isSelected&&e.push("fc-event-selected"),t.isStart&&e.push("fc-event-start"),t.isEnd&&e.push("fc-event-end"),t.isPast&&e.push("fc-event-past"),t.isToday&&e.push("fc-event-today"),t.isFuture&&e.push("fc-event-future"),e}(s).concat(a.classNames);return i(An,{hookProps:s,classNames:n.eventClassNames,content:n.eventContent,defaultContent:t.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(e,n,r,o){return t.children(e,l.concat(n),r,o,s)}))},e.prototype.componentDidMount=function(){fe(this.elRef.current,this.props.seg)},e.prototype.componentDidUpdate=function(t){var e=this.props.seg;e!==t.seg&&fe(this.elRef.current,e)},e}(Sn),yo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=t.seg,o=e.options.eventTimeFormat||t.defaultTimeFormat,a=we(n,o,e,t.defaultDisplayEventTime,t.defaultDisplayEventEnd);return i(bo,{seg:n,timeText:a,disableDragging:t.disableDragging,disableResizing:t.disableResizing,defaultContent:t.defaultContent||xo,isDragging:t.isDragging,isResizing:t.isResizing,isDateSelecting:t.isDateSelecting,isSelected:t.isSelected,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday},(function(o,a,s,l,c){return i("a",Object(r.a)({className:t.extraClassNames.concat(a).join(" "),style:{borderColor:c.borderColor,backgroundColor:c.backgroundColor},ref:o},Se(n,e)),i("div",{className:"fc-event-main",ref:s,style:{color:c.textColor}},l),c.isStartResizable&&i("div",{className:"fc-event-resizer fc-event-resizer-start"}),c.isEndResizable&&i("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},e}(Sn);function xo(t){return i("div",{className:"fc-event-main-frame"},t.timeText&&i("div",{className:"fc-event-time"},t.timeText),i("div",{className:"fc-event-title-container"},i("div",{className:"fc-event-title fc-sticky"},t.event.title||i(s,null,"\xa0"))))}var wo=Pt({day:"numeric"}),Oo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,r=So({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:e.viewApi,dateEnv:e.dateEnv});return i(Dn,{hookProps:r,content:n.dayCellContent,defaultContent:t.defaultContent},t.children)},e}(Sn);function So(t){var e=t.date,n=t.dateEnv,o=an(e,t.todayRange,null,t.dateProfile);return Object(r.a)(Object(r.a)(Object(r.a)({date:n.toDate(e),view:t.viewApi},o),{dayNumberText:t.showDayNumber?n.format(e,wo):""}),t.extraProps)}var jo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.refineHookProps=ht(So),e.normalizeClassNames=Ln(),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,r=this.refineHookProps({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraProps:t.extraHookProps,viewApi:e.viewApi,dateEnv:e.dateEnv}),o=sn(r,e.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),a=r.isDisabled?{}:{"data-date":ut(t.date)};return i(Nn,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:t.elRef},(function(e){return t.children(e,o,a,r.isDisabled)}))},e}(Sn);function Co(t){return i("div",{className:"fc-"+t})}var ko=function(t){return i(bo,{defaultContent:Eo,seg:t.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday},(function(t,e,n,r,o){return i("div",{ref:t,className:["fc-bg-event"].concat(e).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function Eo(t){return t.event.title&&i("div",{className:"fc-event-title"},t.event.title)}var Po=function(t){return i(xn.Consumer,null,(function(e){var n=e.dateEnv,r=e.options,o=t.date,a=r.weekNumberFormat||t.defaultFormat,s=n.computeWeekNumber(o),l=n.format(o,a);return i(An,{hookProps:{num:s,text:l,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:_o,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},t.children)}))};function _o(t){return t.text}var Mo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.state={titleId:y()},e.handleRootEl=function(t){e.rootEl=t,e.props.elRef&&kn(e.props.elRef,t)},e.handleDocumentMouseDown=function(t){var n=m(t);e.rootEl.contains(n)||e.handleCloseClick()},e.handleDocumentKeyDown=function(t){"Escape"===t.key&&e.handleCloseClick()},e.handleCloseClick=function(){var t=e.props.onClose;t&&t()},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.context,e=t.theme,n=t.options,o=this.props,a=this.state,s=["fc-popover",e.getClass("popover")].concat(o.extraClassNames||[]);return c(i("div",Object(r.a)({id:o.id,className:s.join(" "),"aria-labelledby":a.titleId},o.extraAttrs,{ref:this.handleRootEl}),i("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},i("span",{className:"fc-popover-title",id:a.titleId},o.title),i("span",{className:"fc-popover-close "+e.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),i("div",{className:"fc-popover-body "+e.getClass("popoverContent")},o.children)),o.parentEl)},e.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},e.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},e.prototype.updateSize=function(){var t=this.context.isRtl,e=this.props,n=e.alignmentEl,r=e.alignGridTop,o=this.rootEl,i=hn(n);if(i){var a=o.getBoundingClientRect(),s=r?f(n,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=t?i.right-a.width:i.left;s=Math.max(s,10),l=Math.min(l,document.documentElement.clientWidth-10-a.width),l=Math.max(l,10);var c=o.offsetParent.getBoundingClientRect();v(o,{top:s-c.top,left:l-c.left})}},e}(Sn),To=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handleRootEl=function(t){e.rootEl=t,t?e.context.registerInteractiveComponent(e,{el:t,useEventCenter:!1}):e.context.unregisterInteractiveComponent(e)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.context,e=t.options,n=t.dateEnv,r=this.props,o=r.startDate,a=r.todayRange,s=r.dateProfile,l=n.format(o,e.dayPopoverFormat);return i(jo,{date:o,dateProfile:s,todayRange:a,elRef:this.handleRootEl},(function(t,e,n){return i(Mo,{elRef:t,id:r.id,title:l,extraClassNames:["fc-more-popover"].concat(e),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},i(Oo,{date:o,dateProfile:s,todayRange:a},(function(t,e){return e&&i("div",{className:"fc-more-popover-misc",ref:t},e)})),r.children)}))},e.prototype.queryHit=function(t,e,n,o){var i=this.rootEl,a=this.props;return t>=0&&t<n&&e>=0&&e<o?{dateProfile:a.dateProfile,dateSpan:Object(r.a)({allDay:!0,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:i,rect:{left:0,top:0,right:n,bottom:o},layer:1}:null},e}(En),Ao=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.linkElRef=a(),e.state={isPopoverOpen:!1,popoverId:y()},e.handleClick=function(t){var n=e,r=n.props,o=n.context,i=o.options.moreLinkClick,a=Do(r).start;function s(t){var e=t.eventRange,n=e.def,r=e.instance,i=e.range;return{event:new Fe(o,n,r),start:o.dateEnv.toDate(i.start),end:o.dateEnv.toDate(i.end),isStart:t.isStart,isEnd:t.isEnd}}"function"===typeof i&&(i=i({date:a,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(s),hiddenSegs:r.hiddenSegs.map(s),jsEvent:t,view:o.viewApi})),i&&"popover"!==i?"string"===typeof i&&o.calendarApi.zoomTo(a,i):e.setState({isPopoverOpen:!0})},e.handlePopoverClose=function(){e.setState({isPopoverOpen:!1})},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this.props,n=this.state;return i(xn.Consumer,null,(function(r){var o=r.viewApi,a=r.options,l=r.calendarApi,c=a.moreLinkText,u=e.moreCnt,d=Do(e),f="function"===typeof c?c.call(l,u):"+"+u+" "+c,p=E(a.moreLinkHint,[u],f),h={num:u,shortText:"+"+u,text:f,view:o};return i(s,null,Boolean(e.moreCnt)&&i(An,{elRef:t.linkElRef,hookProps:h,classNames:a.moreLinkClassNames,content:a.moreLinkContent,defaultContent:e.defaultContent||Ro,didMount:a.moreLinkDidMount,willUnmount:a.moreLinkWillUnmount},(function(r,o,i,a){return e.children(r,["fc-more-link"].concat(o),i,a,t.handleClick,p,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&i(To,{id:n.popoverId,startDate:d.start,endDate:d.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:t.parentEl,alignmentEl:e.alignmentElRef.current,alignGridTop:e.alignGridTop,onClose:t.handlePopoverClose},e.popoverContent()))}))},e.prototype.componentDidMount=function(){this.updateParentEl()},e.prototype.componentDidUpdate=function(){this.updateParentEl()},e.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=f(this.linkElRef.current,".fc-view-harness"))},e}(Sn);function Ro(t){return t.text}function Do(t){if(t.allDayDate)return{start:t.allDayDate,end:A(t.allDayDate,1)};var e,n=t.hiddenSegs;return{start:(e=n,e.reduce(Io).eventRange.range.start),end:No(n)}}function Io(t,e){return t.eventRange.range.start<e.eventRange.range.start?t:e}function No(t){return t.reduce(Lo).eventRange.range.end}function Lo(t,e){return t.eventRange.range.end>e.eventRange.range.end?t:e}var Fo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.headerElRef=a(),e}return Object(r.b)(e,t),e.prototype.renderSimpleLayout=function(t,e){var n=this.props,r=this.context,o=[],a=go(r.options);return t&&o.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:e}}),i(zn,{viewSpec:r.viewSpec},(function(t,e){return i("div",{ref:t,className:["fc-daygrid"].concat(e).join(" ")},i(mo,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))}))},e.prototype.renderHScrollLayout=function(t,e,n,r){var o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");var a=this.props,s=this.context,l=!a.forPrint&&go(s.options),c=!a.forPrint&&function(t){var e=t.stickyFooterScrollbar;return null!=e&&"auto"!==e||(e="auto"===t.height||"auto"===t.viewHeight),e}(s.options),u=[];return t&&u.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:e}]}),c&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:vo}]}),i(zn,{viewSpec:s.viewSpec},(function(t,e){return i("div",{ref:t,className:["fc-daygrid"].concat(e).join(" ")},i(o,{liquid:!a.isHeightAuto&&!a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:u}))}))},e}(En);function Bo(t,e){for(var n=[],r=0;r<e;r+=1)n[r]=[];for(var o=0,i=t;o<i.length;o++){var a=i[o];n[a.row].push(a)}return n}function zo(t,e){for(var n=[],r=0;r<e;r+=1)n[r]=[];for(var o=0,i=t;o<i.length;o++){var a=i[o];n[a.firstCol].push(a)}return n}function Ho(t,e){var n=[];if(t){for(a=0;a<e;a+=1)n[a]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(var r=0,o=t.segs;r<o.length;r++){var i=o[r];n[i.row].segs.push(i)}}else for(var a=0;a<e;a+=1)n[a]=null;return n}var Vo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=un(this.context,t.date);return i(Oo,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraHookProps:t.extraHookProps,defaultContent:Uo},(function(n,o){return(o||t.forceDayTop)&&i("div",{className:"fc-daygrid-day-top",ref:n},i("a",Object(r.a)({id:t.dayNumberId,className:"fc-daygrid-day-number"},e),o||i(s,null,"\xa0")))}))},e}(Sn);function Uo(t){return t.dayNumberText}var Wo=Pt({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function qo(t){var e=t.eventRange.ui.display;return"list-item"===e||"auto"===e&&!t.eventRange.def.allDay&&t.firstCol===t.lastCol&&t.isStart&&t.isEnd}var Go=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props;return i(yo,Object(r.a)({},t,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Wo,defaultDisplayEventEnd:t.defaultDisplayEventEnd,disableResizing:!t.seg.eventRange.def.allDay}))},e}(Sn),Yo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options.eventTimeFormat||Wo,o=we(t.seg,n,e,!0,t.defaultDisplayEventEnd);return i(bo,{seg:t.seg,timeText:o,defaultContent:Xo,isDragging:t.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:t.isSelected,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday},(function(n,o,a,s){return i("a",Object(r.a)({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(o).join(" "),ref:n},Se(t.seg,e)),s)}))},e}(Sn);function Xo(t){return i(s,null,i("div",{className:"fc-daygrid-event-dot",style:{borderColor:t.borderColor||t.backgroundColor}}),t.timeText&&i("div",{className:"fc-event-time"},t.timeText),i("div",{className:"fc-event-title"},t.event.title||i(s,null,"\xa0")))}var Ko=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.compileSegs=pt($o),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.compileSegs(t.singlePlacements),n=e.allSegs,o=e.invisibleSegs;return i(Ao,{dateProfile:t.dateProfile,todayRange:t.todayRange,allDayDate:t.allDayDate,moreCnt:t.moreCnt,allSegs:n,hiddenSegs:o,alignmentElRef:t.alignmentElRef,alignGridTop:t.alignGridTop,extraDateSpan:t.extraDateSpan,popoverContent:function(){var e=(t.eventDrag?t.eventDrag.affectedInstances:null)||(t.eventResize?t.eventResize.affectedInstances:null)||{};return i(s,null,n.map((function(n){var o=n.eventRange.instance.instanceId;return i("div",{className:"fc-daygrid-event-harness",key:o,style:{visibility:e[o]?"hidden":""}},qo(n)?i(Yo,Object(r.a)({seg:n,isDragging:!1,isSelected:o===t.eventSelection,defaultDisplayEventEnd:!1},Oe(n,t.todayRange))):i(Go,Object(r.a)({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:o===t.eventSelection,defaultDisplayEventEnd:!1},Oe(n,t.todayRange))))})))}},(function(t,e,n,o,a,s,l,c){return i("a",Object(r.a)({ref:t,className:["fc-daygrid-more-link"].concat(e).join(" "),title:s,"aria-expanded":l,"aria-controls":c},w(a)),o)}))},e}(Sn);function $o(t){for(var e=[],n=[],r=0,o=t;r<o.length;r++){var i=o[r];e.push(i.seg),i.isVisible||n.push(i.seg)}return{allSegs:e,invisibleSegs:n}}var Zo=Pt({week:"narrow"}),Qo=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rootElRef=a(),e.state={dayNumberId:y()},e.handleRootEl=function(t){kn(e.rootElRef,t),kn(e.props.elRef,t)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=t.context,n=t.props,o=t.state,a=t.rootElRef,s=n.date,l=n.dateProfile,c=un(e,s,"week");return i(jo,{date:s,dateProfile:l,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,elRef:this.handleRootEl},(function(t,e,u,d){return i("td",Object(r.a)({ref:t,role:"gridcell",className:["fc-daygrid-day"].concat(e,n.extraClassNames||[]).join(" ")},u,n.extraDataAttrs,n.showDayNumber?{"aria-labelledby":o.dayNumberId}:{}),i("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&i(Po,{date:s,defaultFormat:Zo},(function(t,e,n,o){return i("a",Object(r.a)({ref:t,className:["fc-daygrid-week-number"].concat(e).join(" ")},c),o)})),!d&&i(Vo,{date:s,dateProfile:l,showDayNumber:n.showDayNumber,dayNumberId:o.dayNumberId,forceDayTop:n.forceDayTop,todayRange:n.todayRange,extraHookProps:n.extraHookProps}),i("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,i("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},i(Ko,{allDayDate:s,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:a,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),i("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}))},e}(En);function Jo(t,e,n,r,o,i,a){var s=new ei;s.allowReslicing=!0,s.strictOrder=r,!0===e||!0===n?(s.maxCoord=i,s.hiddenConsumes=!0):"number"===typeof e?s.maxStackCnt=e:"number"===typeof n&&(s.maxStackCnt=n,s.hiddenConsumes=!0);for(var l=[],c=[],u=0;u<t.length;u+=1){var d=o[(C=t[u]).eventRange.instance.instanceId];null!=d?l.push({index:u,thickness:d,span:{start:C.firstCol,end:C.lastCol+1}}):c.push(C)}for(var f=s.addSegs(l),p=function(t,e,n){for(var r=function(t,e){for(var n=[],r=0;r<e;r+=1)n.push([]);for(var o=0,i=t;o<i.length;o++){var a=i[o];for(r=a.span.start;r<a.span.end;r+=1)n[r].push(a)}return n}(t,n.length),o=[],i=[],a=[],s=0;s<n.length;s+=1){for(var l=r[s],c=[],u=0,d=0,f=0,p=l;f<p.length;f++){var h=e[(b=p[f]).index];c.push({seg:ti(h,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:b.levelCoord,marginTop:b.levelCoord-u}),u=b.levelCoord+b.thickness}var v=[];u=0,d=0;for(var g=0,m=l;g<m.length;g++){h=e[(b=m[g]).index];var b,y=b.span.end-b.span.start>1,x=b.span.start===s;d+=b.levelCoord-u,u=b.levelCoord+b.thickness,y?(d+=b.thickness,x&&v.push({seg:ti(h,b.span.start,b.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:b.levelCoord,marginTop:0})):x&&(v.push({seg:ti(h,b.span.start,b.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:b.levelCoord,marginTop:d}),d=0)}o.push(c),i.push(v),a.push(d)}return{singleColPlacements:o,multiColPlacements:i,leftoverMargins:a}}(s.toRects(),t,a),h=p.singleColPlacements,v=p.multiColPlacements,g=p.leftoverMargins,m=[],b=[],y=0,x=c;y<x.length;y++){v[(C=x[y]).firstCol].push({seg:C,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var w=C.firstCol;w<=C.lastCol;w+=1)h[w].push({seg:ti(C,w,w+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(w=0;w<a.length;w+=1)m.push(0);for(var O=0,S=f;O<S.length;O++){var j=S[O],C=t[j.index],k=j.span;v[k.start].push({seg:ti(C,k.start,k.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(w=k.start;w<k.end;w+=1)m[w]+=1,h[w].push({seg:ti(C,w,w+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(w=0;w<a.length;w+=1)b.push(g[w]);return{singleColPlacements:h,multiColPlacements:v,moreCnts:m,moreMarginTops:b}}function ti(t,e,n,o){if(t.firstCol===e&&t.lastCol===n-1)return t;var i=t.eventRange,a=i.range,s=le(a,{start:o[e].date,end:A(o[n-1].date,1)});return Object(r.a)(Object(r.a)({},t),{firstCol:e,lastCol:n-1,eventRange:{def:i.def,ui:Object(r.a)(Object(r.a)({},i.ui),{durationEditable:!1}),instance:i.instance,range:s},isStart:t.isStart&&s.start.valueOf()===a.start.valueOf(),isEnd:t.isEnd&&s.end.valueOf()===a.end.valueOf()})}var ei=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hiddenConsumes=!1,e.forceHidden={},e}return Object(r.b)(e,t),e.prototype.addSegs=function(e){for(var n=this,r=t.prototype.addSegs.call(this,e),o=this.entriesByLevel,i=function(t){return!n.forceHidden[Ar(t)]},a=0;a<o.length;a+=1)o[a]=o[a].filter(i);return r},e.prototype.handleInvalidInsertion=function(e,n,o){var i=this.entriesByLevel,a=this.forceHidden,s=e.touchingEntry,l=e.touchingLevel,c=e.touchingLateral;if(this.hiddenConsumes&&s){var u=Ar(s);if(!a[u])if(this.allowReslicing){var d=Object(r.a)(Object(r.a)({},s),{span:Rr(s.span,n.span)});a[Ar(d)]=!0,i[l][c]=d,this.splitEntry(s,n,o)}else a[u]=!0,o.push(s)}return t.prototype.handleInvalidInsertion.call(this,e,n,o)},e}(Mr),ni=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cellElRefs=new so,e.frameElRefs=new so,e.fgElRefs=new so,e.segHarnessRefs=new so,e.rootElRef=a(),e.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this,n=e.props,r=e.state,o=e.context.options,a=n.cells.length,l=zo(n.businessHourSegs,a),c=zo(n.bgEventSegs,a),u=zo(this.getHighlightSegs(),a),d=zo(this.getMirrorSegs(),a),f=Jo(ge(n.fgEventSegs,o.eventOrder),n.dayMaxEvents,n.dayMaxEventRows,o.eventOrderStrict,r.eventInstanceHeights,r.maxContentHeight,n.cells),p=f.singleColPlacements,h=f.multiColPlacements,v=f.moreCnts,g=f.moreMarginTops,m=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return i("tr",{ref:this.rootElRef,role:"row"},n.renderIntro&&n.renderIntro(),n.cells.map((function(e,r){var o=t.renderFgSegs(r,n.forPrint?p[r]:h[r],n.todayRange,m),a=t.renderFgSegs(r,function(t,e){if(!t.length)return[];var n=function(t){for(var e={},n=0,r=t;n<r.length;n++)for(var o=0,i=r[n];o<i.length;o++){var a=i[o];e[a.seg.eventRange.instance.instanceId]=a.absoluteTop}return e}(e);return t.map((function(t){return{seg:t,isVisible:!0,isAbsolute:!0,absoluteTop:n[t.eventRange.instance.instanceId],marginTop:0}}))}(d[r],h),n.todayRange,{},Boolean(n.eventDrag),Boolean(n.eventResize),!1);return i(Qo,{key:e.key,elRef:t.cellElRefs.createRef(e.key),innerElRef:t.frameElRefs.createRef(e.key),dateProfile:n.dateProfile,date:e.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===r,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,extraHookProps:e.extraHookProps,extraDataAttrs:e.extraDataAttrs,extraClassNames:e.extraClassNames,extraDateSpan:e.extraDateSpan,moreCnt:v[r],moreMarginTop:g[r],singlePlacements:p[r],fgContentElRef:t.fgElRefs.createRef(e.key),fgContent:i(s,null,i(s,null,o),i(s,null,a)),bgContent:i(s,null,t.renderFillSegs(u[r],"highlight"),t.renderFillSegs(l[r],"non-business"),t.renderFillSegs(c[r],"bg-event"))})})))},e.prototype.componentDidMount=function(){this.updateSizing(!0)},e.prototype.componentDidUpdate=function(t,e){var n=this.props;this.updateSizing(!Q(t,n))},e.prototype.getHighlightSegs=function(){var t=this.props;return t.eventDrag&&t.eventDrag.segs.length?t.eventDrag.segs:t.eventResize&&t.eventResize.segs.length?t.eventResize.segs:t.dateSelectionSegs},e.prototype.getMirrorSegs=function(){var t=this.props;return t.eventResize&&t.eventResize.segs.length?t.eventResize.segs:[]},e.prototype.renderFgSegs=function(t,e,n,o,a,s,l){var c=this.context,u=this.props.eventSelection,d=this.state.framePositions,f=1===this.props.cells.length,p=a||s||l,h=[];if(d)for(var v=0,g=e;v<g.length;v++){var m=g[v],b=m.seg,y=b.eventRange.instance.instanceId,x=y+":"+t,w=m.isVisible&&!o[y],O=m.isAbsolute,S="",j="";O&&(c.isRtl?(j=0,S=d.lefts[b.lastCol]-d.lefts[b.firstCol]):(S=0,j=d.rights[b.firstCol]-d.rights[b.lastCol])),h.push(i("div",{className:"fc-daygrid-event-harness"+(O?" fc-daygrid-event-harness-abs":""),key:x,ref:p?null:this.segHarnessRefs.createRef(x),style:{visibility:w?"":"hidden",marginTop:O?"":m.marginTop,top:O?m.absoluteTop:"",left:S,right:j}},qo(b)?i(Yo,Object(r.a)({seg:b,isDragging:a,isSelected:y===u,defaultDisplayEventEnd:f},Oe(b,n))):i(Go,Object(r.a)({seg:b,isDragging:a,isResizing:s,isDateSelecting:l,isSelected:y===u,defaultDisplayEventEnd:f},Oe(b,n)))))}return h},e.prototype.renderFillSegs=function(t,e){var n,o=this.context.isRtl,a=this.props.todayRange,l=this.state.framePositions,c=[];if(l)for(var u=0,d=t;u<d.length;u++){var f=d[u],p=o?{right:0,left:l.lefts[f.lastCol]-l.lefts[f.firstCol]}:{left:0,right:l.rights[f.firstCol]-l.rights[f.lastCol]};c.push(i("div",{key:(n=f.eventRange,n.instance?n.instance.instanceId:n.def.defId+":"+n.range.start.toISOString()),className:"fc-daygrid-bg-harness",style:p},"bg-event"===e?i(ko,Object(r.a)({seg:f},Oe(f,a))):Co(e)))}return i.apply(void 0,Object(r.c)([s,{}],c))},e.prototype.updateSizing=function(t){var e=this.props,n=this.frameElRefs;if(!e.forPrint&&null!==e.clientWidth){if(t){var o=e.cells.map((function(t){return n.currentMap[t.key]}));if(o.length){var i=this.rootElRef.current;this.setState({framePositions:new gn(i,o,!0,!1)})}}var a=this.state.eventInstanceHeights,s=this.queryEventInstanceHeights(),l=!0===e.dayMaxEvents||!0===e.dayMaxEventRows;this.setState({eventInstanceHeights:Object(r.a)(Object(r.a)({},a),s),maxContentHeight:l?this.computeMaxContentHeight():null})}},e.prototype.queryEventInstanceHeights=function(){var t=this.segHarnessRefs.currentMap,e={};for(var n in t){var r=Math.round(t[n].getBoundingClientRect().height),o=n.split(":")[0];e[o]=Math.max(e[o]||0,r)}return e},e.prototype.computeMaxContentHeight=function(){var t=this.props.cells[0].key,e=this.cellElRefs.currentMap[t],n=this.fgElRefs.currentMap[t];return e.getBoundingClientRect().bottom-n.getBoundingClientRect().top},e.prototype.getCellEls=function(){var t=this.cellElRefs.currentMap;return this.props.cells.map((function(e){return t[e.key]}))},e}(En);ni.addStateEquality({eventInstanceHeights:Q});var ri=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.splitBusinessHourSegs=pt(Bo),e.splitBgEventSegs=pt(Bo),e.splitFgEventSegs=pt(Bo),e.splitDateSelectionSegs=pt(Bo),e.splitEventDrag=pt(Ho),e.splitEventResize=pt(Ho),e.rowRefs=new so,e.handleRootEl=function(t){e.rootEl=t,t?e.context.registerInteractiveComponent(e,{el:t,isHitComboAllowed:e.props.isHitComboAllowed}):e.context.unregisterInteractiveComponent(e)},e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this.props,n=e.dateProfile,r=e.dayMaxEventRows,o=e.dayMaxEvents,a=e.expandRows,l=e.cells.length,c=this.splitBusinessHourSegs(e.businessHourSegs,l),u=this.splitBgEventSegs(e.bgEventSegs,l),d=this.splitFgEventSegs(e.fgEventSegs,l),f=this.splitDateSelectionSegs(e.dateSelectionSegs,l),p=this.splitEventDrag(e.eventDrag,l),h=this.splitEventResize(e.eventResize,l),v=!0===o||!0===r;return v&&!a&&(v=!1,r=null,o=null),i("div",{className:["fc-daygrid-body",v?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",a?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},i(Zr,{unit:"day"},(function(v,g){return i(s,null,i("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:a?e.clientHeight:""}},e.colGroupNode,i("tbody",{role:"presentation"},e.cells.map((function(a,s){return i(ni,{ref:t.rowRefs.createRef(s),key:a.length?a[0].date.toISOString():s,showDayNumbers:l>1,showWeekNumbers:e.showWeekNumbers,todayRange:g,dateProfile:n,cells:a,renderIntro:e.renderRowIntro,businessHourSegs:c[s],eventSelection:e.eventSelection,bgEventSegs:u[s].filter(oi),fgEventSegs:d[s],dateSelectionSegs:f[s],eventDrag:p[s],eventResize:h[s],dayMaxEvents:o,dayMaxEventRows:r,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint})})))))})))},e.prototype.prepareHits=function(){this.rowPositions=new gn(this.rootEl,this.rowRefs.collect().map((function(t){return t.getCellEls()[0]})),!1,!0),this.colPositions=new gn(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},e.prototype.queryHit=function(t,e){var n=this.colPositions,o=this.rowPositions,i=n.leftToIndex(t),a=o.topToIndex(e);if(null!=a&&null!=i){var s=this.props.cells[a][i];return{dateProfile:this.props.dateProfile,dateSpan:Object(r.a)({range:this.getCellRange(a,i),allDay:!0},s.extraDateSpan),dayEl:this.getCellEl(a,i),rect:{left:n.lefts[i],right:n.rights[i],top:o.tops[a],bottom:o.bottoms[a]},layer:0}}return null},e.prototype.getCellEl=function(t,e){return this.rowRefs.currentMap[t].getCellEls()[e]},e.prototype.getCellRange=function(t,e){var n=this.props.cells[t][e].date;return{start:n,end:A(n,1)}},e}(En);function oi(t){return t.eventRange.def.allDay}var ii=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.forceDayIfListItem=!0,e}return Object(r.b)(e,t),e.prototype.sliceRange=function(t,e){return e.sliceRange(t)},e}(ro),ai=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.slicer=new ii,e.tableRef=a(),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context;return i(ri,Object(r.a)({ref:this.tableRef},this.slicer.sliceProps(t,t.dateProfile,t.nextDayThreshold,e,t.dayTableModel),{dateProfile:t.dateProfile,cells:t.dayTableModel.cells,colGroupNode:t.colGroupNode,tableMinWidth:t.tableMinWidth,renderRowIntro:t.renderRowIntro,dayMaxEvents:t.dayMaxEvents,dayMaxEventRows:t.dayMaxEventRows,showWeekNumbers:t.showWeekNumbers,expandRows:t.expandRows,headerAlignElRef:t.headerAlignElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint}))},e}(En),si=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buildDayTableModel=pt(li),e.headerRef=a(),e.tableRef=a(),e}return Object(r.b)(e,t),e.prototype.render=function(){var t=this,e=this.context,n=e.options,r=e.dateProfileGenerator,o=this.props,a=this.buildDayTableModel(o.dateProfile,r),s=n.dayHeaders&&i(Jr,{ref:this.headerRef,dateProfile:o.dateProfile,dates:a.headerDates,datesRepDistinctDays:1===a.rowCnt}),l=function(e){return i(ai,{ref:t.tableRef,dateProfile:o.dateProfile,dayTableModel:a,businessHours:o.businessHours,dateSelection:o.dateSelection,eventStore:o.eventStore,eventUiBases:o.eventUiBases,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!o.isHeightAuto,headerAlignElRef:t.headerElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:o.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(s,l,a.colCnt,n.dayMinWidth):this.renderSimpleLayout(s,l)},e}(Fo);function li(t,e){var n=new eo(t.renderRange,e);return new no(n,/year|month|week/.test(t.currentRangeUnit))}var ci=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(r.b)(e,t),e.prototype.buildRenderRange=function(e,n,r){var o,i=this.props.dateEnv,a=t.prototype.buildRenderRange.call(this,e,n,r),s=a.start,l=a.end;(/^(year|month)$/.test(n)&&(s=i.startOfWeek(s),(o=i.startOfWeek(l)).valueOf()!==l.valueOf()&&(l=T(o,1))),this.props.monthMode&&this.props.fixedWeekCount)&&(l=T(l,6-Math.ceil(D(s,l)/7)));return{start:s,end:l}},e}(qn),ui=Pn({initialView:"dayGridMonth",views:{dayGrid:{component:si,dateProfileGeneratorClass:ci},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});e.a=ui},function(t,e,n){"use strict";var r=n(7),o=n(1),i=n(51);("undefined"!==typeof globalThis?globalThis:window).FullCalendarVDom={Component:o.Component,createElement:o.createElement,render:i.render,createRef:o.createRef,Fragment:o.Fragment,createContext:o.createContext,createPortal:i.createPortal,flushToDom:function(){},unmountComponentAtNode:i.unmountComponentAtNode};var a=n(8),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._calendarApi=new a.d,e}return Object(r.b)(e,t),e.prototype.render=function(){return o.createElement(a.f,{optionOverrides:this.props,calendarApi:this._calendarApi},(function(t){return o.createElement(a.g,{options:t.calendarOptions,theme:t.theme,emitter:t.emitter},(function(e,n,i,s){return o.createElement("div",{className:e.join(" "),style:{height:n}},o.createElement(a.e,Object(r.a)({isHeightAuto:i,forPrint:s},t)))}))}))},e.prototype.getApi=function(){return this._calendarApi},e}(o.Component);e.a=s},function(t,e,n){"use strict";n(1061);var r=n(8),o=n(7),i=(n(1062),function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.headerElRef=Object(r.mb)(),e}return Object(o.b)(e,t),e.prototype.renderSimpleLayout=function(t,e){var n=this.props,o=this.context,i=[],a=Object(r.Hb)(o.options);return t&&i.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}}),i.push({type:"body",key:"body",liquid:!0,chunk:{content:e}}),Object(r.hb)(r.I,{viewSpec:o.viewSpec},(function(t,e){return Object(r.hb)("div",{ref:t,className:["fc-daygrid"].concat(e).join(" ")},Object(r.hb)(r.D,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:i}))}))},e.prototype.renderHScrollLayout=function(t,e,n,o){var i=this.context.pluginHooks.scrollGridImpl;if(!i)throw new Error("No ScrollGrid implementation");var a=this.props,s=this.context,l=!a.forPrint&&Object(r.Hb)(s.options),c=!a.forPrint&&Object(r.Gb)(s.options),u=[];return t&&u.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:e}]}),c&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:r.hc}]}),Object(r.hb)(r.I,{viewSpec:s.viewSpec},(function(t,e){return Object(r.hb)("div",{ref:t,className:["fc-daygrid"].concat(e).join(" ")},Object(r.hb)(i,{liquid:!a.isHeightAuto&&!a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:n,minWidth:o}]}],sections:u}))}))},e}(r.h));function a(t,e){for(var n=[],r=0;r<e;r+=1)n[r]=[];for(var o=0,i=t;o<i.length;o++){var a=i[o];n[a.row].push(a)}return n}function s(t,e){for(var n=[],r=0;r<e;r+=1)n[r]=[];for(var o=0,i=t;o<i.length;o++){var a=i[o];n[a.firstCol].push(a)}return n}function l(t,e){var n=[];if(t){for(a=0;a<e;a+=1)n[a]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(var r=0,o=t.segs;r<o.length;r++){var i=o[r];n[i.row].segs.push(i)}}else for(var a=0;a<e;a+=1)n[a]=null;return n}var c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context.options.navLinks?{"data-navlink":Object(r.Y)(t.date),tabIndex:0}:{};return Object(r.hb)(r.j,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,showDayNumber:t.showDayNumber,extraHookProps:t.extraHookProps,defaultContent:u},(function(n,i){return(i||t.forceDayTop)&&Object(r.hb)("div",{className:"fc-daygrid-day-top",ref:n},Object(r.hb)("a",Object(o.a)({className:"fc-daygrid-day-number"},e),i||Object(r.hb)(r.t,null,"\xa0")))}))},e}(r.b);function u(t){return t.dayNumberText}var d=Object(r.kb)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function f(t){var e=t.eventRange.ui.display;return"list-item"===e||"auto"===e&&!t.eventRange.def.allDay&&t.firstCol===t.lastCol&&t.isStart&&t.isEnd}var p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props;return Object(r.hb)(r.G,Object(o.a)({},t,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:d,defaultDisplayEventEnd:t.defaultDisplayEventEnd,disableResizing:!t.seg.eventRange.def.allDay}))},e}(r.b),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options.eventTimeFormat||d,i=Object(r.Z)(t.seg,n,e,!0,t.defaultDisplayEventEnd);return Object(r.hb)(r.s,{seg:t.seg,timeText:i,defaultContent:v,isDragging:t.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:t.isSelected,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday},(function(e,n,i,a){return Object(r.hb)("a",Object(o.a)({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(n).join(" "),ref:e},function(t){var e=t.eventRange.def.url;return e?{href:e}:{}}(t.seg)),a)}))},e}(r.b);function v(t){return Object(r.hb)(r.t,null,Object(r.hb)("div",{className:"fc-daygrid-event-dot",style:{borderColor:t.borderColor||t.backgroundColor}}),t.timeText&&Object(r.hb)("div",{className:"fc-event-time"},t.timeText),Object(r.hb)("div",{className:"fc-event-title"},t.event.title||Object(r.hb)(r.t,null,"\xa0")))}var g=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.compileSegs=Object(r.Vb)(m),e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.compileSegs(t.singlePlacements),n=e.allSegs,i=e.invisibleSegs;return Object(r.hb)(r.v,{dateProfile:t.dateProfile,todayRange:t.todayRange,allDayDate:t.allDayDate,moreCnt:t.moreCnt,allSegs:n,hiddenSegs:i,alignmentElRef:t.alignmentElRef,alignGridTop:t.alignGridTop,extraDateSpan:t.extraDateSpan,popoverContent:function(){var e=(t.eventDrag?t.eventDrag.affectedInstances:null)||(t.eventResize?t.eventResize.affectedInstances:null)||{};return Object(r.hb)(r.t,null,n.map((function(n){var i=n.eventRange.instance.instanceId;return Object(r.hb)("div",{className:"fc-daygrid-event-harness",key:i,style:{visibility:e[i]?"hidden":""}},f(n)?Object(r.hb)(h,Object(o.a)({seg:n,isDragging:!1,isSelected:i===t.eventSelection,defaultDisplayEventEnd:!1},Object(r.Fb)(n,t.todayRange))):Object(r.hb)(p,Object(o.a)({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:i===t.eventSelection,defaultDisplayEventEnd:!1},Object(r.Fb)(n,t.todayRange))))})))}},(function(t,e,n,o,i){return Object(r.hb)("a",{ref:t,className:["fc-daygrid-more-link"].concat(e).join(" "),onClick:i},o)}))},e}(r.b);function m(t){for(var e=[],n=[],r=0,o=t;r<o.length;r++){var i=o[r];e.push(i.seg),i.isVisible||n.push(i.seg)}return{allSegs:e,invisibleSegs:n}}var b=Object(r.kb)({week:"narrow"}),y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rootElRef=Object(r.mb)(),e.handleRootEl=function(t){Object(r.ic)(e.rootElRef,t),Object(r.ic)(e.props.elRef,t)},e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=t.props,n=t.context,i=t.rootElRef,a=n.options,s=e.date,l=e.dateProfile,u=a.navLinks?{"data-navlink":Object(r.Y)(s,"week"),tabIndex:0}:{};return Object(r.hb)(r.k,{date:s,dateProfile:l,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,elRef:this.handleRootEl},(function(t,n,a,d){return Object(r.hb)("td",Object(o.a)({ref:t,className:["fc-daygrid-day"].concat(n,e.extraClassNames||[]).join(" ")},a,e.extraDataAttrs),Object(r.hb)("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:e.innerElRef},e.showWeekNumber&&Object(r.hb)(r.J,{date:s,defaultFormat:b},(function(t,e,n,i){return Object(r.hb)("a",Object(o.a)({ref:t,className:["fc-daygrid-week-number"].concat(e).join(" ")},u),i)})),!d&&Object(r.hb)(c,{date:s,dateProfile:l,showDayNumber:e.showDayNumber,forceDayTop:e.forceDayTop,todayRange:e.todayRange,extraHookProps:e.extraHookProps}),Object(r.hb)("div",{className:"fc-daygrid-day-events",ref:e.fgContentElRef},e.fgContent,Object(r.hb)("div",{className:"fc-daygrid-day-bottom",style:{marginTop:e.moreMarginTop}},Object(r.hb)(g,{allDayDate:s,singlePlacements:e.singlePlacements,moreCnt:e.moreCnt,alignmentElRef:i,alignGridTop:!e.showDayNumber,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange}))),Object(r.hb)("div",{className:"fc-daygrid-day-bg"},e.bgContent)))}))},e}(r.h);function x(t,e,n,r,o,i,a){var s=new O;s.allowReslicing=!0,s.strictOrder=r,!0===e||!0===n?(s.maxCoord=i,s.hiddenConsumes=!0):"number"===typeof e?s.maxStackCnt=e:"number"===typeof n&&(s.maxStackCnt=n,s.hiddenConsumes=!0);for(var l=[],c=[],u=0;u<t.length;u+=1){var d=o[(E=t[u]).eventRange.instance.instanceId];null!=d?l.push({index:u,thickness:d,span:{start:E.firstCol,end:E.lastCol+1}}):c.push(E)}for(var f=s.addSegs(l),p=function(t,e,n){for(var r=function(t,e){for(var n=[],r=0;r<e;r+=1)n.push([]);for(var o=0,i=t;o<i.length;o++){var a=i[o];for(r=a.span.start;r<a.span.end;r+=1)n[r].push(a)}return n}(t,n.length),o=[],i=[],a=[],s=0;s<n.length;s+=1){for(var l=r[s],c=[],u=0,d=0,f=0,p=l;f<p.length;f++){var h=e[(b=p[f]).index];c.push({seg:w(h,s,s+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:b.levelCoord,marginTop:b.levelCoord-u}),u=b.levelCoord+b.thickness}var v=[];u=0,d=0;for(var g=0,m=l;g<m.length;g++){h=e[(b=m[g]).index];var b,y=b.span.end-b.span.start>1,x=b.span.start===s;d+=b.levelCoord-u,u=b.levelCoord+b.thickness,y?(d+=b.thickness,x&&v.push({seg:w(h,b.span.start,b.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:b.levelCoord,marginTop:0})):x&&(v.push({seg:w(h,b.span.start,b.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:b.levelCoord,marginTop:d}),d=0)}o.push(c),i.push(v),a.push(d)}return{singleColPlacements:o,multiColPlacements:i,leftoverMargins:a}}(s.toRects(),t,a),h=p.singleColPlacements,v=p.multiColPlacements,g=p.leftoverMargins,m=[],b=[],y=0,x=c;y<x.length;y++){v[(E=x[y]).firstCol].push({seg:E,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var S=E.firstCol;S<=E.lastCol;S+=1)h[S].push({seg:w(E,S,S+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(S=0;S<a.length;S+=1)m.push(0);for(var j=0,C=f;j<C.length;j++){var k=C[j],E=t[k.index],P=k.span;v[P.start].push({seg:w(E,P.start,P.end,a),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(S=P.start;S<P.end;S+=1)m[S]+=1,h[S].push({seg:w(E,S,S+1,a),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(S=0;S<a.length;S+=1)b.push(g[S]);return{singleColPlacements:h,multiColPlacements:v,moreCnts:m,moreMarginTops:b}}function w(t,e,n,i){if(t.firstCol===e&&t.lastCol===n-1)return t;var a=t.eventRange,s=a.range,l=Object(r.Nb)(s,{start:i[e].date,end:Object(r.L)(i[n-1].date,1)});return Object(o.a)(Object(o.a)({},t),{firstCol:e,lastCol:n-1,eventRange:{def:a.def,ui:Object(o.a)(Object(o.a)({},a.ui),{durationEditable:!1}),instance:a.instance,range:l},isStart:t.isStart&&l.start.valueOf()===s.start.valueOf(),isEnd:t.isEnd&&l.end.valueOf()===s.end.valueOf()})}var O=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hiddenConsumes=!1,e.forceHidden={},e}return Object(o.b)(e,t),e.prototype.addSegs=function(e){for(var n=this,o=t.prototype.addSegs.call(this,e),i=this.entriesByLevel,a=function(t){return!n.forceHidden[Object(r.U)(t)]},s=0;s<i.length;s+=1)i[s]=i[s].filter(a);return o},e.prototype.handleInvalidInsertion=function(e,n,i){var a=this.entriesByLevel,s=this.forceHidden,l=e.touchingEntry,c=e.touchingLevel,u=e.touchingLateral;if(this.hiddenConsumes&&l){var d=Object(r.U)(l);if(!s[d])if(this.allowReslicing){var f=Object(o.a)(Object(o.a)({},l),{span:Object(r.Pb)(l.span,n.span)});s[Object(r.U)(f)]=!0,a[c][u]=f,this.splitEntry(l,n,i)}else s[d]=!0,i.push(l)}return t.prototype.handleInvalidInsertion.call(this,e,n,i)},e}(r.C),S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cellElRefs=new r.z,e.frameElRefs=new r.z,e.fgElRefs=new r.z,e.segHarnessRefs=new r.z,e.rootElRef=Object(r.mb)(),e.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=this,n=e.props,o=e.state,i=e.context.options,a=n.cells.length,l=s(n.businessHourSegs,a),c=s(n.bgEventSegs,a),u=s(this.getHighlightSegs(),a),d=s(this.getMirrorSegs(),a),f=x(Object(r.jc)(n.fgEventSegs,i.eventOrder),n.dayMaxEvents,n.dayMaxEventRows,i.eventOrderStrict,o.eventInstanceHeights,o.maxContentHeight,n.cells),p=f.singleColPlacements,h=f.multiColPlacements,v=f.moreCnts,g=f.moreMarginTops,m=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return Object(r.hb)("tr",{ref:this.rootElRef},n.renderIntro&&n.renderIntro(),n.cells.map((function(e,o){var i=t.renderFgSegs(o,n.forPrint?p[o]:h[o],n.todayRange,m),a=t.renderFgSegs(o,function(t,e){if(!t.length)return[];var n=function(t){for(var e={},n=0,r=t;n<r.length;n++)for(var o=0,i=r[n];o<i.length;o++){var a=i[o];e[a.seg.eventRange.instance.instanceId]=a.absoluteTop}return e}(e);return t.map((function(t){return{seg:t,isVisible:!0,isAbsolute:!0,absoluteTop:n[t.eventRange.instance.instanceId],marginTop:0}}))}(d[o],h),n.todayRange,{},Boolean(n.eventDrag),Boolean(n.eventResize),!1);return Object(r.hb)(y,{key:e.key,elRef:t.cellElRefs.createRef(e.key),innerElRef:t.frameElRefs.createRef(e.key),dateProfile:n.dateProfile,date:e.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===o,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,extraHookProps:e.extraHookProps,extraDataAttrs:e.extraDataAttrs,extraClassNames:e.extraClassNames,extraDateSpan:e.extraDateSpan,moreCnt:v[o],moreMarginTop:g[o],singlePlacements:p[o],fgContentElRef:t.fgElRefs.createRef(e.key),fgContent:Object(r.hb)(r.t,null,Object(r.hb)(r.t,null,i),Object(r.hb)(r.t,null,a)),bgContent:Object(r.hb)(r.t,null,t.renderFillSegs(u[o],"highlight"),t.renderFillSegs(l[o],"non-business"),t.renderFillSegs(c[o],"bg-event"))})})))},e.prototype.componentDidMount=function(){this.updateSizing(!0)},e.prototype.componentDidUpdate=function(t,e){var n=this.props;this.updateSizing(!Object(r.Tb)(t,n))},e.prototype.getHighlightSegs=function(){var t=this.props;return t.eventDrag&&t.eventDrag.segs.length?t.eventDrag.segs:t.eventResize&&t.eventResize.segs.length?t.eventResize.segs:t.dateSelectionSegs},e.prototype.getMirrorSegs=function(){var t=this.props;return t.eventResize&&t.eventResize.segs.length?t.eventResize.segs:[]},e.prototype.renderFgSegs=function(t,e,n,i,a,s,l){var c=this.context,u=this.props.eventSelection,d=this.state.framePositions,v=1===this.props.cells.length,g=a||s||l,m=[];if(d)for(var b=0,y=e;b<y.length;b++){var x=y[b],w=x.seg,O=w.eventRange.instance.instanceId,S=O+":"+t,j=x.isVisible&&!i[O],C=x.isAbsolute,k="",E="";C&&(c.isRtl?(E=0,k=d.lefts[w.lastCol]-d.lefts[w.firstCol]):(k=0,E=d.rights[w.firstCol]-d.rights[w.lastCol])),m.push(Object(r.hb)("div",{className:"fc-daygrid-event-harness"+(C?" fc-daygrid-event-harness-abs":""),key:S,ref:g?null:this.segHarnessRefs.createRef(S),style:{visibility:j?"":"hidden",marginTop:C?"":x.marginTop,top:C?x.absoluteTop:"",left:k,right:E}},f(w)?Object(r.hb)(h,Object(o.a)({seg:w,isDragging:a,isSelected:O===u,defaultDisplayEventEnd:v},Object(r.Fb)(w,n))):Object(r.hb)(p,Object(o.a)({seg:w,isDragging:a,isResizing:s,isDateSelecting:l,isSelected:O===u,defaultDisplayEventEnd:v},Object(r.Fb)(w,n)))))}return m},e.prototype.renderFillSegs=function(t,e){var n=this.context.isRtl,i=this.props.todayRange,a=this.state.framePositions,s=[];if(a)for(var l=0,c=t;l<c.length;l++){var u=c[l],d=n?{right:0,left:a.lefts[u.lastCol]-a.lefts[u.firstCol]}:{left:0,right:a.rights[u.firstCol]-a.rights[u.lastCol]};s.push(Object(r.hb)("div",{key:Object(r.W)(u.eventRange),className:"fc-daygrid-bg-harness",style:d},"bg-event"===e?Object(r.hb)(r.c,Object(o.a)({seg:u},Object(r.Fb)(u,i))):Object(r.gc)(e)))}return r.hb.apply(void 0,Object(o.c)([r.t,{}],s))},e.prototype.updateSizing=function(t){var e=this.props,n=this.frameElRefs;if(!e.forPrint&&null!==e.clientWidth){if(t){var o=e.cells.map((function(t){return n.currentMap[t.key]}));if(o.length){var i=this.rootElRef.current;this.setState({framePositions:new r.y(i,o,!0,!1)})}}var a=!0===e.dayMaxEvents||!0===e.dayMaxEventRows;this.setState({eventInstanceHeights:this.queryEventInstanceHeights(),maxContentHeight:a?this.computeMaxContentHeight():null})}},e.prototype.queryEventInstanceHeights=function(){var t=this.segHarnessRefs.currentMap,e={};for(var n in t){var r=Math.round(t[n].getBoundingClientRect().height),o=n.split(":")[0];e[o]=Math.max(e[o]||0,r)}return e},e.prototype.computeMaxContentHeight=function(){var t=this.props.cells[0].key,e=this.cellElRefs.currentMap[t],n=this.fgElRefs.currentMap[t];return e.getBoundingClientRect().bottom-n.getBoundingClientRect().top},e.prototype.getCellEls=function(){var t=this.cellElRefs.currentMap;return this.props.cells.map((function(e){return t[e.key]}))},e}(r.h);S.addStateEquality({eventInstanceHeights:r.Tb});var j=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.splitBusinessHourSegs=Object(r.Vb)(a),e.splitBgEventSegs=Object(r.Vb)(a),e.splitFgEventSegs=Object(r.Vb)(a),e.splitDateSelectionSegs=Object(r.Vb)(a),e.splitEventDrag=Object(r.Vb)(l),e.splitEventResize=Object(r.Vb)(l),e.rowRefs=new r.z,e.handleRootEl=function(t){e.rootEl=t,t?e.context.registerInteractiveComponent(e,{el:t,isHitComboAllowed:e.props.isHitComboAllowed}):e.context.unregisterInteractiveComponent(e)},e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=this.props,n=e.dateProfile,o=e.dayMaxEventRows,i=e.dayMaxEvents,a=e.expandRows,s=e.cells.length,l=this.splitBusinessHourSegs(e.businessHourSegs,s),c=this.splitBgEventSegs(e.bgEventSegs,s),u=this.splitFgEventSegs(e.fgEventSegs,s),d=this.splitDateSelectionSegs(e.dateSelectionSegs,s),f=this.splitEventDrag(e.eventDrag,s),p=this.splitEventResize(e.eventResize,s),h=!0===i||!0===o;h&&!a&&(h=!1,o=null,i=null);var v=["fc-daygrid-body",h?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",a?"":"fc-daygrid-body-natural"];return Object(r.hb)("div",{className:v.join(" "),ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},Object(r.hb)(r.x,{unit:"day"},(function(h,v){return Object(r.hb)(r.t,null,Object(r.hb)("table",{className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:a?e.clientHeight:""}},e.colGroupNode,Object(r.hb)("tbody",null,e.cells.map((function(a,h){return Object(r.hb)(S,{ref:t.rowRefs.createRef(h),key:a.length?a[0].date.toISOString():h,showDayNumbers:s>1,showWeekNumbers:e.showWeekNumbers,todayRange:v,dateProfile:n,cells:a,renderIntro:e.renderRowIntro,businessHourSegs:l[h],eventSelection:e.eventSelection,bgEventSegs:c[h].filter(C),fgEventSegs:u[h],dateSelectionSegs:d[h],eventDrag:f[h],eventResize:p[h],dayMaxEvents:i,dayMaxEventRows:o,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint})})))))})))},e.prototype.prepareHits=function(){this.rowPositions=new r.y(this.rootEl,this.rowRefs.collect().map((function(t){return t.getCellEls()[0]})),!1,!0),this.colPositions=new r.y(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},e.prototype.queryHit=function(t,e){var n=this.colPositions,r=this.rowPositions,i=n.leftToIndex(t),a=r.topToIndex(e);if(null!=a&&null!=i){var s=this.props.cells[a][i];return{dateProfile:this.props.dateProfile,dateSpan:Object(o.a)({range:this.getCellRange(a,i),allDay:!0},s.extraDateSpan),dayEl:this.getCellEl(a,i),rect:{left:n.lefts[i],right:n.rights[i],top:r.tops[a],bottom:r.bottoms[a]},layer:0}}return null},e.prototype.getCellEl=function(t,e){return this.rowRefs.currentMap[t].getCellEls()[e]},e.prototype.getCellRange=function(t,e){var n=this.props.cells[t][e].date;return{start:n,end:Object(r.L)(n,1)}},e}(r.h);function C(t){return t.eventRange.def.allDay}var k=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.forceDayIfListItem=!0,e}return Object(o.b)(e,t),e.prototype.sliceRange=function(t,e){return e.sliceRange(t)},e}(r.E),E=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.slicer=new k,e.tableRef=Object(r.mb)(),e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context;return Object(r.hb)(j,Object(o.a)({ref:this.tableRef},this.slicer.sliceProps(t,t.dateProfile,t.nextDayThreshold,e,t.dayTableModel),{dateProfile:t.dateProfile,cells:t.dayTableModel.cells,colGroupNode:t.colGroupNode,tableMinWidth:t.tableMinWidth,renderRowIntro:t.renderRowIntro,dayMaxEvents:t.dayMaxEvents,dayMaxEventRows:t.dayMaxEventRows,showWeekNumbers:t.showWeekNumbers,expandRows:t.expandRows,headerAlignElRef:t.headerAlignElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint}))},e}(r.h),P=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buildDayTableModel=Object(r.Vb)(_),e.headerRef=Object(r.mb)(),e.tableRef=Object(r.mb)(),e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=this.context,n=e.options,o=e.dateProfileGenerator,i=this.props,a=this.buildDayTableModel(i.dateProfile,o),s=n.dayHeaders&&Object(r.hb)(r.l,{ref:this.headerRef,dateProfile:i.dateProfile,dates:a.headerDates,datesRepDistinctDays:1===a.rowCnt}),l=function(e){return Object(r.hb)(E,{ref:t.tableRef,dateProfile:i.dateProfile,dayTableModel:a,businessHours:i.businessHours,dateSelection:i.dateSelection,eventStore:i.eventStore,eventUiBases:i.eventUiBases,eventSelection:i.eventSelection,eventDrag:i.eventDrag,eventResize:i.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!i.isHeightAuto,headerAlignElRef:t.headerElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:i.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(s,l,a.colCnt,n.dayMinWidth):this.renderSimpleLayout(s,l)},e}(i);function _(t,e){var n=new r.m(t.renderRange,e);return new r.n(n,/year|month|week/.test(t.currentRangeUnit))}var M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.buildRenderRange=function(e,n,o){var i,a=this.props.dateEnv,s=t.prototype.buildRenderRange.call(this,e,n,o),l=s.start,c=s.end;if(/^(year|month)$/.test(n)&&(l=a.startOfWeek(l),(i=a.startOfWeek(c)).valueOf()!==c.valueOf()&&(c=Object(r.N)(i,1))),this.props.monthMode&&this.props.fixedWeekCount){var u=Math.ceil(Object(r.qb)(l,c));c=Object(r.N)(c,6-u)}return{start:l,end:c}},e}(r.i),T=(Object(r.lb)({initialView:"dayGridMonth",views:{dayGrid:{component:P,dateProfileGeneratorClass:M},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},e.prototype.getKeysForDateSpan=function(t){return t.allDay?["allDay"]:["timed"]},e.prototype.getKeysForEventDef=function(t){return t.allDay?Object(r.Jb)(t)?["timed","allDay"]:["allDay"]:["timed"]},e}(r.F)),A=Object(r.kb)({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function R(t){var e=["fc-timegrid-slot","fc-timegrid-slot-label",t.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return Object(r.hb)(r.H.Consumer,null,(function(n){if(!t.isLabeled)return Object(r.hb)("td",{className:e.join(" "),"data-time":t.isoTimeStr});var o=n.dateEnv,i=n.options,a=n.viewApi,s=null==i.slotLabelFormat?A:Array.isArray(i.slotLabelFormat)?Object(r.kb)(i.slotLabelFormat[0]):Object(r.kb)(i.slotLabelFormat),l={level:0,time:t.time,date:o.toDate(t.date),view:a,text:o.format(t.date,s)};return Object(r.hb)(r.A,{hookProps:l,classNames:i.slotLabelClassNames,content:i.slotLabelContent,defaultContent:D,didMount:i.slotLabelDidMount,willUnmount:i.slotLabelWillUnmount},(function(n,o,i,a){return Object(r.hb)("td",{ref:n,className:e.concat(o).join(" "),"data-time":t.isoTimeStr},Object(r.hb)("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},Object(r.hb)("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:i},a)))}))}))}function D(t){return t.text}var I=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.render=function(){return this.props.slatMetas.map((function(t){return Object(r.hb)("tr",{key:t.key},Object(r.hb)(R,Object(o.a)({},t)))}))},e}(r.b),N=Object(r.kb)({week:"short"}),L=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.allDaySplitter=new T,e.headerElRef=Object(r.mb)(),e.rootElRef=Object(r.mb)(),e.scrollerElRef=Object(r.mb)(),e.state={slatCoords:null},e.handleScrollTopRequest=function(t){var n=e.scrollerElRef.current;n&&(n.scrollTop=t)},e.renderHeadAxis=function(t,n){void 0===n&&(n="");var i=e.context.options,a=e.props.dateProfile.renderRange,s=Object(r.ob)(a.start,a.end),l=i.navLinks&&1===s?{"data-navlink":Object(r.Y)(a.start,"week"),tabIndex:0}:{};return i.weekNumbers&&"day"===t?Object(r.hb)(r.J,{date:a.start,defaultFormat:N},(function(t,e,i,a){return Object(r.hb)("th",{ref:t,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(e).join(" ")},Object(r.hb)("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:n}},Object(r.hb)("a",Object(o.a)({ref:i,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},l),a)))})):Object(r.hb)("th",{className:"fc-timegrid-axis"},Object(r.hb)("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},e.renderTableRowAxis=function(t){var n=e.context,o=n.options,i=n.viewApi,a={text:o.allDayText,view:i};return Object(r.hb)(r.A,{hookProps:a,classNames:o.allDayClassNames,content:o.allDayContent,defaultContent:F,didMount:o.allDayDidMount,willUnmount:o.allDayWillUnmount},(function(e,n,o,i){return Object(r.hb)("td",{ref:e,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(n).join(" ")},Object(r.hb)("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(null==t?" fc-timegrid-axis-frame-liquid":""),style:{height:t}},Object(r.hb)("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:o},i)))}))},e.handleSlatCoords=function(t){e.setState({slatCoords:t})},e}return Object(o.b)(e,t),e.prototype.renderSimpleLayout=function(t,e,n){var o=this.context,i=this.props,a=[],s=Object(r.Hb)(o.options);return t&&a.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}}),e&&(a.push({type:"body",key:"all-day",chunk:{content:e}}),a.push({type:"body",key:"all-day-divider",outerContent:Object(r.hb)("tr",{className:"fc-scrollgrid-section"},Object(r.hb)("td",{className:"fc-timegrid-divider "+o.theme.getClass("tableCellShaded")}))})),a.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(o.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),Object(r.hb)(r.I,{viewSpec:o.viewSpec,elRef:this.rootElRef},(function(t,e){return Object(r.hb)("div",{className:["fc-timegrid"].concat(e).join(" "),ref:t},Object(r.hb)(r.D,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[{width:"shrink"}],sections:a}))}))},e.prototype.renderHScrollLayout=function(t,e,n,o,i,a,s){var l=this,c=this.context.pluginHooks.scrollGridImpl;if(!c)throw new Error("No ScrollGrid implementation");var u=this.context,d=this.props,f=!d.forPrint&&Object(r.Hb)(u.options),p=!d.forPrint&&Object(r.Gb)(u.options),h=[];t&&h.push({type:"header",key:"header",isSticky:f,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(t){return Object(r.hb)("tr",null,l.renderHeadAxis("day",t.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}]}),e&&(h.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(t){return Object(r.hb)("tr",null,l.renderTableRowAxis(t.rowSyncHeights[0]))}},{key:"cols",content:e}]}),h.push({key:"all-day-divider",type:"body",outerContent:Object(r.hb)("tr",{className:"fc-scrollgrid-section"},Object(r.hb)("td",{colSpan:2,className:"fc-timegrid-divider "+u.theme.getClass("tableCellShaded")}))}));var v=u.options.nowIndicator;return h.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(u.options.expandRows),chunks:[{key:"axis",content:function(t){return Object(r.hb)("div",{className:"fc-timegrid-axis-chunk"},Object(r.hb)("table",{style:{height:t.expandRows?t.clientHeight:""}},t.tableColGroupNode,Object(r.hb)("tbody",null,Object(r.hb)(I,{slatMetas:a}))),Object(r.hb)("div",{className:"fc-timegrid-now-indicator-container"},Object(r.hb)(r.x,{unit:v?"minute":"day"},(function(t){var e=v&&s&&s.safeComputeTop(t);return"number"===typeof e?Object(r.hb)(r.w,{isAxis:!0,date:t},(function(t,n,o,i){return Object(r.hb)("div",{ref:t,className:["fc-timegrid-now-indicator-arrow"].concat(n).join(" "),style:{top:e}},i)})):null}))))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),p&&h.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:r.hc},{key:"cols",content:r.hc}]}),Object(r.hb)(r.I,{viewSpec:u.viewSpec,elRef:this.rootElRef},(function(t,e){return Object(r.hb)("div",{className:["fc-timegrid"].concat(e).join(" "),ref:t},Object(r.hb)(c,{liquid:!d.isHeightAuto&&!d.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:o,minWidth:i}]}],sections:h}))}))},e.prototype.getAllDayMaxEventProps=function(){var t=this.context.options,e=t.dayMaxEvents,n=t.dayMaxEventRows;return!0!==e&&!0!==n||(e=void 0,n=5),{dayMaxEvents:e,dayMaxEventRows:n}},e}(r.h);function F(t){return t.text}var B=function(){function t(t,e,n){this.positions=t,this.dateProfile=e,this.slotDuration=n}return t.prototype.safeComputeTop=function(t){var e=this.dateProfile;if(Object(r.cc)(e.currentRange,t)){var n=Object(r.kc)(t),o=t.valueOf()-n.valueOf();if(o>=Object(r.S)(e.slotMinTime)&&o<Object(r.S)(e.slotMaxTime))return this.computeTimeTop(Object(r.gb)(o))}return null},t.prototype.computeDateTop=function(t,e){return e||(e=Object(r.kc)(t)),this.computeTimeTop(Object(r.gb)(t.valueOf()-e.valueOf()))},t.prototype.computeTimeTop=function(t){var e,n,o=this.positions,i=this.dateProfile,a=o.els.length,s=(t.milliseconds-Object(r.S)(i.slotMinTime))/Object(r.S)(this.slotDuration);return s=Math.max(0,s),s=Math.min(a,s),e=Math.floor(s),n=s-(e=Math.min(e,a-1)),o.tops[e]+o.getHeight(e)*n},t}(),z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context,n=e.options,i=t.slatElRefs;return Object(r.hb)("tbody",null,t.slatMetas.map((function(a,s){var l={time:a.time,date:e.dateEnv.toDate(a.date),view:e.viewApi},c=["fc-timegrid-slot","fc-timegrid-slot-lane",a.isLabeled?"":"fc-timegrid-slot-minor"];return Object(r.hb)("tr",{key:a.key,ref:i.createRef(a.key)},t.axis&&Object(r.hb)(R,Object(o.a)({},a)),Object(r.hb)(r.A,{hookProps:l,classNames:n.slotLaneClassNames,content:n.slotLaneContent,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount},(function(t,e,n,o){return Object(r.hb)("td",{ref:t,className:c.concat(e).join(" "),"data-time":a.isoTimeStr},o)})))})))},e}(r.b),H=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rootElRef=Object(r.mb)(),e.slatElRefs=new r.z,e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.context;return Object(r.hb)("div",{className:"fc-timegrid-slots",ref:this.rootElRef},Object(r.hb)("table",{className:e.theme.getClass("table"),style:{minWidth:t.tableMinWidth,width:t.clientWidth,height:t.minHeight}},t.tableColGroupNode,Object(r.hb)(z,{slatElRefs:this.slatElRefs,axis:t.axis,slatMetas:t.slatMetas})))},e.prototype.componentDidMount=function(){this.updateSizing()},e.prototype.componentDidUpdate=function(){this.updateSizing()},e.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},e.prototype.updateSizing=function(){var t,e=this.context,n=this.props;n.onCoords&&null!==n.clientWidth&&(this.rootElRef.current.offsetHeight&&n.onCoords(new B(new r.y(this.rootElRef.current,(t=this.slatElRefs.currentMap,n.slatMetas.map((function(e){return t[e.key]}))),!1,!0),this.props.dateProfile,e.options.slotDuration)))},e}(r.b);function V(t,e){var n,r=[];for(n=0;n<e;n+=1)r.push([]);if(t)for(n=0;n<t.length;n+=1)r[t[n].col].push(t[n]);return r}function U(t,e){var n=[];if(t){for(a=0;a<e;a+=1)n[a]={affectedInstances:t.affectedInstances,isEvent:t.isEvent,segs:[]};for(var r=0,o=t.segs;r<o.length;r++){var i=o[r];n[i.col].segs.push(i)}}else for(var a=0;a<e;a+=1)n[a]=null;return n}var W=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.rootElRef=Object(r.mb)(),e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=this.props;return Object(r.hb)(r.v,{allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:q,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:function(){return nt(e.hiddenSegs,e)}},(function(n,o,i,a,s){return Object(r.hb)("a",{ref:function(e){Object(r.ic)(n,e),Object(r.ic)(t.rootElRef,e)},className:["fc-timegrid-more-link"].concat(o).join(" "),style:{top:e.top,bottom:e.bottom},onClick:s},Object(r.hb)("div",{ref:i,className:"fc-timegrid-more-link-inner fc-sticky"},a))}))},e}(r.b);function q(t){return t.shortText}function G(t,e,n){var i=new r.C;null!=e&&(i.strictOrder=e),null!=n&&(i.maxStackCnt=n);var a=i.addSegs(t),s=Object(r.Ib)(a),l=function(t){var e=t.entriesByLevel,n=$((function(t,e){return t+":"+e}),(function(i,a){var s=function(t,e,n){for(var o=t.levelCoords,i=t.entriesByLevel,a=i[e][n],s=o[e]+a.thickness,l=o.length,c=e;c<l&&o[c]<s;c+=1);for(;c<l;c+=1){for(var u=i[c],d=void 0,f=Object(r.T)(u,a.span.start,r.Bb),p=f[0]+f[1],h=p;(d=u[h])&&d.span.start<a.span.end;)h+=1;if(p<h)return{level:c,lateralStart:p,lateralEnd:h}}return null}(t,i,a),l=Y(s,n),c=e[i][a];return[Object(o.a)(Object(o.a)({},c),{nextLevelNodes:l[0]}),c.thickness+l[1]]}));return Y(e.length?{level:0,lateralStart:0,lateralEnd:e[0].length}:null,n)[0]}(i);return{segRects:function(t){var e=[],n=$((function(t,e,n){return Object(r.U)(t)}),(function(t,n,r){var a=Object(o.a)(Object(o.a)({},t),{levelCoord:n,stackDepth:r,stackForward:0});return e.push(a),a.stackForward=i(t.nextLevelNodes,n+t.thickness,r+1)+1}));function i(t,e,r){for(var o=0,i=0,a=t;i<a.length;i++){var s=a[i];o=Math.max(n(s,e,r),o)}return o}return i(t,0,0),e}(l=function(t,e){var n=$((function(t,e,n){return Object(r.U)(t)}),(function(t,r,i){var a,s=t.nextLevelNodes,l=t.thickness,c=l+i,u=l/c,d=[];if(s.length)for(var f=0,p=s;f<p.length;f++){var h=p[f];if(void 0===a){a=(v=n(h,r,c))[0],d.push(v[1])}else{var v=n(h,a,0);d.push(v[1])}}else a=e;var g=(a-r)*u;return[a-g,Object(o.a)(Object(o.a)({},t),{thickness:g,nextLevelNodes:d})]}));return t.map((function(t){return n(t,0,0)[1]}))}(l,1)),hiddenGroups:s}}function Y(t,e){if(!t)return[[],0];for(var n=t.level,r=t.lateralStart,o=t.lateralEnd,i=r,a=[];i<o;)a.push(e(n,i)),i+=1;return a.sort(X),[a.map(K),a[0][1]]}function X(t,e){return e[1]-t[1]}function K(t){return t[0]}function $(t,e){var n={};return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=t.apply(void 0,r);return i in n?n[i]:n[i]=e.apply(void 0,r)}}function Z(t,e,n,r){void 0===n&&(n=null),void 0===r&&(r=0);var o=[];if(n)for(var i=0;i<t.length;i+=1){var a=t[i],s=n.computeDateTop(a.start,e),l=Math.max(s+(r||0),n.computeDateTop(a.end,e));o.push({start:Math.round(s),end:Math.round(l)})}return o}var Q=Object(r.kb)({hour:"numeric",minute:"2-digit",meridiem:!1}),J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.render=function(){var t=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&t.push("fc-timegrid-event-short"),Object(r.hb)(r.G,Object(o.a)({},this.props,{defaultTimeFormat:Q,extraClassNames:t}))},e}(r.b),tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props;return Object(r.hb)(r.j,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps},(function(t,e){return e&&Object(r.hb)("div",{className:"fc-timegrid-col-misc",ref:t},e)}))},e}(r.b),et=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.sortEventSegs=Object(r.Vb)(r.jc),e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=this.props,n=this.context,i=n.options.selectMirror,a=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||i&&e.dateSelectionSegs||[],s=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},l=this.sortEventSegs(e.fgEventSegs,n.options.eventOrder);return Object(r.hb)(r.k,{elRef:e.elRef,date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},(function(n,c,u){return Object(r.hb)("td",Object(o.a)({ref:n,className:["fc-timegrid-col"].concat(c,e.extraClassNames||[]).join(" ")},u,e.extraDataAttrs),Object(r.hb)("div",{className:"fc-timegrid-col-frame"},Object(r.hb)("div",{className:"fc-timegrid-col-bg"},t.renderFillSegs(e.businessHourSegs,"non-business"),t.renderFillSegs(e.bgEventSegs,"bg-event"),t.renderFillSegs(e.dateSelectionSegs,"highlight")),Object(r.hb)("div",{className:"fc-timegrid-col-events"},t.renderFgSegs(l,s,!1,!1,!1)),Object(r.hb)("div",{className:"fc-timegrid-col-events"},t.renderFgSegs(a,{},Boolean(e.eventDrag),Boolean(e.eventResize),Boolean(i))),Object(r.hb)("div",{className:"fc-timegrid-now-indicator-container"},t.renderNowIndicator(e.nowIndicatorSegs)),Object(r.hb)(tt,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps})))}))},e.prototype.renderFgSegs=function(t,e,n,r,o){var i=this.props;return i.forPrint?nt(t,i):this.renderPositionedFgSegs(t,e,n,r,o)},e.prototype.renderPositionedFgSegs=function(t,e,n,i,a){var s=this,l=this.context.options,c=l.eventMaxStack,u=l.eventShortHeight,d=l.eventOrderStrict,f=l.eventMinHeight,p=this.props,h=p.date,v=p.slatCoords,g=p.eventSelection,m=p.todayRange,b=p.nowDate,y=n||i||a,x=function(t,e,n,r){for(var o=[],i=[],a=0;a<t.length;a+=1){var s=e[a];s?o.push({index:a,thickness:1,span:s}):i.push(t[a])}for(var l=G(o,n,r),c=l.segRects,u=l.hiddenGroups,d=[],f=0,p=c;f<p.length;f++){var h=p[f];d.push({seg:t[h.index],rect:h})}for(var v=0,g=i;v<g.length;v++){var m=g[v];d.push({seg:m,rect:null})}return{segPlacements:d,hiddenGroups:u}}(t,Z(t,h,v,f),d,c),w=x.segPlacements,O=x.hiddenGroups;return Object(r.hb)(r.t,null,this.renderHiddenGroups(O,t),w.map((function(t){var l=t.seg,c=t.rect,d=l.eventRange.instance.instanceId,f=y||Boolean(!e[d]&&c),p=rt(c&&c.span),h=!y&&c?s.computeSegHStyle(c):{left:0,right:0},v=Boolean(c)&&c.stackForward>0,x=Boolean(c)&&c.span.end-c.span.start<u;return Object(r.hb)("div",{className:"fc-timegrid-event-harness"+(v?" fc-timegrid-event-harness-inset":""),key:d,style:Object(o.a)(Object(o.a)({visibility:f?"":"hidden"},p),h)},Object(r.hb)(J,Object(o.a)({seg:l,isDragging:n,isResizing:i,isDateSelecting:a,isSelected:d===g,isShort:x},Object(r.Fb)(l,m,b))))})))},e.prototype.renderHiddenGroups=function(t,e){var n=this.props,o=n.extraDateSpan,i=n.dateProfile,a=n.todayRange,s=n.nowDate,l=n.eventSelection,c=n.eventDrag,u=n.eventResize;return Object(r.hb)(r.t,null,t.map((function(t){var n,d,f=rt(t.span),p=(n=t.entries,d=e,n.map((function(t){return d[t.index]})));return Object(r.hb)(W,{key:Object(r.X)(Object(r.bb)(p)),hiddenSegs:p,top:f.top,bottom:f.bottom,extraDateSpan:o,dateProfile:i,todayRange:a,nowDate:s,eventSelection:l,eventDrag:c,eventResize:u})})))},e.prototype.renderFillSegs=function(t,e){var n=this.props,i=this.context,a=Z(t,n.date,n.slatCoords,i.options.eventMinHeight).map((function(i,a){var s=t[a];return Object(r.hb)("div",{key:Object(r.W)(s.eventRange),className:"fc-timegrid-bg-harness",style:rt(i)},"bg-event"===e?Object(r.hb)(r.c,Object(o.a)({seg:s},Object(r.Fb)(s,n.todayRange,n.nowDate))):Object(r.gc)(e))}));return Object(r.hb)(r.t,null,a)},e.prototype.renderNowIndicator=function(t){var e=this.props,n=e.slatCoords,o=e.date;return n?t.map((function(t,e){return Object(r.hb)(r.w,{isAxis:!1,date:o,key:e},(function(e,i,a,s){return Object(r.hb)("div",{ref:e,className:["fc-timegrid-now-indicator-line"].concat(i).join(" "),style:{top:n.computeDateTop(t.start,o)}},s)}))})):null},e.prototype.computeSegHStyle=function(t){var e,n,r=this.context,o=r.isRtl,i=r.options.slotEventOverlap,a=t.levelCoord,s=t.levelCoord+t.thickness;i&&(s=Math.min(1,a+2*(s-a))),o?(e=1-s,n=a):(e=a,n=1-s);var l={zIndex:t.stackDepth+1,left:100*e+"%",right:100*n+"%"};return i&&!t.stackForward&&(l[o?"marginLeft":"marginRight"]=20),l},e}(r.b);function nt(t,e){var n=e.todayRange,i=e.nowDate,a=e.eventSelection,s=e.eventDrag,l=e.eventResize,c=(s?s.affectedInstances:null)||(l?l.affectedInstances:null)||{};return Object(r.hb)(r.t,null,t.map((function(t){var e=t.eventRange.instance.instanceId;return Object(r.hb)("div",{key:e,style:{visibility:c[e]?"hidden":""}},Object(r.hb)(J,Object(o.a)({seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:e===a,isShort:!1},Object(r.Fb)(t,n,i))))})))}function rt(t){return t?{top:t.start,bottom:-t.end}:{top:"",bottom:""}}var ot=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.splitFgEventSegs=Object(r.Vb)(V),e.splitBgEventSegs=Object(r.Vb)(V),e.splitBusinessHourSegs=Object(r.Vb)(V),e.splitNowIndicatorSegs=Object(r.Vb)(V),e.splitDateSelectionSegs=Object(r.Vb)(V),e.splitEventDrag=Object(r.Vb)(U),e.splitEventResize=Object(r.Vb)(U),e.rootElRef=Object(r.mb)(),e.cellElRefs=new r.z,e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=this.props,n=this.context.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),o=e.cells.length,i=this.splitFgEventSegs(e.fgEventSegs,o),a=this.splitBgEventSegs(e.bgEventSegs,o),s=this.splitBusinessHourSegs(e.businessHourSegs,o),l=this.splitNowIndicatorSegs(e.nowIndicatorSegs,o),c=this.splitDateSelectionSegs(e.dateSelectionSegs,o),u=this.splitEventDrag(e.eventDrag,o),d=this.splitEventResize(e.eventResize,o);return Object(r.hb)("div",{className:"fc-timegrid-cols",ref:this.rootElRef},Object(r.hb)("table",{style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,Object(r.hb)("tbody",null,Object(r.hb)("tr",null,e.axis&&Object(r.hb)("td",{className:"fc-timegrid-col fc-timegrid-axis"},Object(r.hb)("div",{className:"fc-timegrid-col-frame"},Object(r.hb)("div",{className:"fc-timegrid-now-indicator-container"},"number"===typeof n&&Object(r.hb)(r.w,{isAxis:!0,date:e.nowDate},(function(t,e,o,i){return Object(r.hb)("div",{ref:t,className:["fc-timegrid-now-indicator-arrow"].concat(e).join(" "),style:{top:n}},i)}))))),e.cells.map((function(n,o){return Object(r.hb)(et,{key:n.key,elRef:t.cellElRefs.createRef(n.key),dateProfile:e.dateProfile,date:n.date,nowDate:e.nowDate,todayRange:e.todayRange,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,fgEventSegs:i[o],bgEventSegs:a[o],businessHourSegs:s[o],nowIndicatorSegs:l[o],dateSelectionSegs:c[o],eventDrag:u[o],eventResize:d[o],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint})}))))))},e.prototype.componentDidMount=function(){this.updateCoords()},e.prototype.componentDidUpdate=function(){this.updateCoords()},e.prototype.updateCoords=function(){var t,e=this.props;e.onColCoords&&null!==e.clientWidth&&e.onColCoords(new r.y(this.rootElRef.current,(t=this.cellElRefs.currentMap,e.cells.map((function(e){return t[e.key]}))),!0,!1))},e}(r.b);var it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.processSlotOptions=Object(r.Vb)(at),e.state={slatCoords:null},e.handleRootEl=function(t){t?e.context.registerInteractiveComponent(e,{el:t,isHitComboAllowed:e.props.isHitComboAllowed}):e.context.unregisterInteractiveComponent(e)},e.handleScrollRequest=function(t){var n=e.props.onScrollTopRequest,r=e.state.slatCoords;if(n&&r){if(t.time){var o=r.computeTimeTop(t.time);(o=Math.ceil(o))&&(o+=1),n(o)}return!0}return!1},e.handleColCoords=function(t){e.colCoords=t},e.handleSlatCoords=function(t){e.setState({slatCoords:t}),e.props.onSlatCoords&&e.props.onSlatCoords(t)},e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this.props,e=this.state;return Object(r.hb)("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},Object(r.hb)(H,{axis:t.axis,dateProfile:t.dateProfile,slatMetas:t.slatMetas,clientWidth:t.clientWidth,minHeight:t.expandRows?t.clientHeight:"",tableMinWidth:t.tableMinWidth,tableColGroupNode:t.axis?t.tableColGroupNode:null,onCoords:this.handleSlatCoords}),Object(r.hb)(ot,{cells:t.cells,axis:t.axis,dateProfile:t.dateProfile,businessHourSegs:t.businessHourSegs,bgEventSegs:t.bgEventSegs,fgEventSegs:t.fgEventSegs,dateSelectionSegs:t.dateSelectionSegs,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange,nowDate:t.nowDate,nowIndicatorSegs:t.nowIndicatorSegs,clientWidth:t.clientWidth,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,slatCoords:e.slatCoords,onColCoords:this.handleColCoords,forPrint:t.forPrint}))},e.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},e.prototype.componentDidUpdate=function(t){this.scrollResponder.update(t.dateProfile!==this.props.dateProfile)},e.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},e.prototype.queryHit=function(t,e){var n=this.context,i=n.dateEnv,a=n.options,s=this.colCoords,l=this.props.dateProfile,c=this.state.slatCoords,u=this.processSlotOptions(this.props.slotDuration,a.snapDuration),d=u.snapDuration,f=u.snapsPerSlot,p=s.leftToIndex(t),h=c.positions.topToIndex(e);if(null!=p&&null!=h){var v=this.props.cells[p],g=c.positions.tops[h],m=c.positions.getHeight(h),b=(e-g)/m,y=h*f+Math.floor(b*f),x=this.props.cells[p].date,w=Object(r.M)(l.slotMinTime,Object(r.Wb)(d,y)),O=i.add(x,w),S=i.add(O,d);return{dateProfile:l,dateSpan:Object(o.a)({range:{start:O,end:S},allDay:!1},v.extraDateSpan),dayEl:s.els[p],rect:{left:s.lefts[p],right:s.rights[p],top:g,bottom:g+m},layer:0}}return null},e}(r.h);function at(t,e){var n=e||t,o=Object(r.nc)(t,n);return null===o&&(n=t,o=1),{snapDuration:n,snapsPerSlot:o}}var st=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(o.b)(e,t),e.prototype.sliceRange=function(t,e){for(var n=[],o=0;o<e.length;o+=1){var i=Object(r.Nb)(t,e[o]);i&&n.push({start:i.start,end:i.end,isStart:i.start.valueOf()===t.start.valueOf(),isEnd:i.end.valueOf()===t.end.valueOf(),col:o})}return n},e}(r.E),lt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buildDayRanges=Object(r.Vb)(ct),e.slicer=new st,e.timeColsRef=Object(r.mb)(),e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=this.props,n=this.context,i=e.dateProfile,a=e.dayTableModel,s=n.options.nowIndicator,l=this.buildDayRanges(a,i,n.dateEnv);return Object(r.hb)(r.x,{unit:s?"minute":"day"},(function(c,u){return Object(r.hb)(it,Object(o.a)({ref:t.timeColsRef},t.slicer.sliceProps(e,i,null,n,l),{forPrint:e.forPrint,axis:e.axis,dateProfile:i,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:a.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:c,nowIndicatorSegs:s&&t.slicer.sliceNowDate(c,n,l),todayRange:u,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords}))}))},e}(r.h);function ct(t,e,n){for(var r=[],o=0,i=t.headerDates;o<i.length;o++){var a=i[o];r.push({start:n.add(a,e.slotMinTime),end:n.add(a,e.slotMaxTime)})}return r}var ut=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function dt(t,e,n,o,i){for(var a=new Date(0),s=t,l=Object(r.gb)(0),c=n||function(t){var e,n,o;for(e=ut.length-1;e>=0;e-=1)if(n=Object(r.gb)(ut[e]),null!==(o=Object(r.nc)(n,t))&&o>1)return n;return t}(o),u=[];Object(r.S)(s)<Object(r.S)(e);){var d=i.add(a,s),f=null!==Object(r.nc)(l,c);u.push({date:d,time:s,key:d.toISOString(),isoTimeStr:Object(r.wb)(d),isLabeled:f}),s=Object(r.M)(s,o),l=Object(r.M)(l,o)}return u}var ft=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.buildTimeColsModel=Object(r.Vb)(pt),e.buildSlatMetas=Object(r.Vb)(dt),e}return Object(o.b)(e,t),e.prototype.render=function(){var t=this,e=this.context,n=e.options,i=e.dateEnv,a=e.dateProfileGenerator,s=this.props,l=s.dateProfile,c=this.buildTimeColsModel(l,a),u=this.allDaySplitter.splitProps(s),d=this.buildSlatMetas(l.slotMinTime,l.slotMaxTime,n.slotLabelInterval,n.slotDuration,i),f=n.dayMinWidth,p=!f,h=f,v=n.dayHeaders&&Object(r.hb)(r.l,{dates:c.headerDates,dateProfile:l,datesRepDistinctDays:!0,renderIntro:p?this.renderHeadAxis:null}),g=!1!==n.allDaySlot&&function(e){return Object(r.hb)(E,Object(o.a)({},u.allDay,{dateProfile:l,dayTableModel:c,nextDayThreshold:n.nextDayThreshold,tableMinWidth:e.tableMinWidth,colGroupNode:e.tableColGroupNode,renderRowIntro:p?t.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:t.headerElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:s.forPrint},t.getAllDayMaxEventProps()))},m=function(e){return Object(r.hb)(lt,Object(o.a)({},u.timed,{dayTableModel:c,dateProfile:l,axis:p,slotDuration:n.slotDuration,slatMetas:d,forPrint:s.forPrint,tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,onSlatCoords:t.handleSlatCoords,expandRows:e.expandRows,onScrollTopRequest:t.handleScrollTopRequest}))};return h?this.renderHScrollLayout(v,g,m,c.colCnt,f,d,this.state.slatCoords):this.renderSimpleLayout(v,g,m)},e}(L);function pt(t,e){var n=new r.m(t.renderRange,e);return new r.n(n,!1)}var ht={allDaySlot:Boolean},vt=Object(r.lb)({initialView:"timeGridWeek",optionRefiners:ht,views:{timeGrid:{component:ft,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});e.a=vt},function(t,e,n){"use strict";var r=n(12),o=n(144),i=n(1),a=n.n(i),s=n(51),l=n.n(s),c=!1,u=n(301),d=n(407),f="unmounted",p="exited",h="entering",v="entered",g="exiting",m=function(t){function e(e,n){var r;r=t.call(this,e,n)||this;var o,i=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?i?(o=p,r.appearStatus=h):o=v:o=e.unmountOnExit||e.mountOnEnter?f:p,r.state={status:o},r.nextCallback=null,r}Object(o.a)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===f?{status:p}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==h&&n!==v&&(e=h):n!==h&&n!==v||(e=g)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.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}},n.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===h){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:l.a.findDOMNode(this);n&&Object(d.a)(n)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===p&&this.setState({status:f})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,o=this.props.nodeRef?[r]:[l.a.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!t&&!n||c?this.safeSetState({status:v},(function(){e.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:h},(function(){e.props.onEntering(i,a),e.onTransitionEnd(u,(function(){e.safeSetState({status:v},(function(){e.props.onEntered(i,a)}))}))})))},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l.a.findDOMNode(this);e&&!c?(this.props.onExit(r),this.safeSetState({status:g},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:p},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:p},(function(){t.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.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},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:l.a.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if(t===f)return null;var e=this.props,n=e.children,o=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,Object(r.a)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(u.a.Provider,{value:null},"function"===typeof n?n(t,o):a.a.cloneElement(a.a.Children.only(n),o))},e}(a.a.Component);function b(){}m.contextType=u.a,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},m.UNMOUNTED=f,m.EXITED=p,m.ENTERING=h,m.ENTERED=v,m.EXITING=g;e.a=m},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(437);function o(t){if("string"!==typeof t)throw new Error(Object(r.a)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(2),o=n(1),i=0;var a=o.useId;function s(t){if(void 0!==a){var e=a();return null!=t?t:e}return function(t){var e=o.useState(t),n=Object(r.a)(e,2),a=n[0],s=n[1],l=t||a;return o.useEffect((function(){null==a&&s("mui-".concat(i+=1))}),[a]),l}(t)}},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(736),s=n(52),l=n(128),c=n(60),u=n(0),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function f(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var p={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},h="undefined"!==typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),v=i.forwardRef((function(t,e){var n=t.addEndListener,v=t.appear,g=void 0===v||v,m=t.children,b=t.easing,y=t.in,x=t.onEnter,w=t.onEntered,O=t.onEntering,S=t.onExit,j=t.onExited,C=t.onExiting,k=t.style,E=t.timeout,P=void 0===E?"auto":E,_=t.TransitionComponent,M=void 0===_?a.a:_,T=Object(o.a)(t,d),A=i.useRef(),R=i.useRef(),D=Object(s.a)(),I=i.useRef(null),N=Object(c.a)(m.ref,e),L=Object(c.a)(I,N),F=function(t){return function(e){if(t){var n=I.current;void 0===e?t(n):t(n,e)}}},B=F(O),z=F((function(t,e){Object(l.b)(t);var n,r=Object(l.a)({style:k,timeout:P,easing:b},{mode:"enter"}),o=r.duration,i=r.delay,a=r.easing;"auto"===P?(n=D.transitions.getAutoHeightDuration(t.clientHeight),R.current=n):n=o,t.style.transition=[D.transitions.create("opacity",{duration:n,delay:i}),D.transitions.create("transform",{duration:h?n:.666*n,delay:i,easing:a})].join(","),x&&x(t,e)})),H=F(w),V=F(C),U=F((function(t){var e,n=Object(l.a)({style:k,timeout:P,easing:b},{mode:"exit"}),r=n.duration,o=n.delay,i=n.easing;"auto"===P?(e=D.transitions.getAutoHeightDuration(t.clientHeight),R.current=e):e=r,t.style.transition=[D.transitions.create("opacity",{duration:e,delay:o}),D.transitions.create("transform",{duration:h?e:.666*e,delay:h?o:o||.333*e,easing:i})].join(","),t.style.opacity=0,t.style.transform=f(.75),S&&S(t)})),W=F(j);return i.useEffect((function(){return function(){clearTimeout(A.current)}}),[]),Object(u.jsx)(M,Object(r.a)({appear:g,in:y,nodeRef:I,onEnter:z,onEntered:H,onEntering:B,onExit:U,onExited:W,onExiting:V,addEndListener:function(t){"auto"===P&&(A.current=setTimeout(t,R.current||0)),n&&n(I.current,t)},timeout:"auto"===P?null:P},T,{children:function(t,e){return i.cloneElement(m,Object(r.a)({style:Object(r.a)({opacity:0,transform:f(.75),visibility:"exited"!==t||y?void 0:"hidden"},p[t],k,m.props.style),ref:L},e))}}))}));v.muiSupportAuto=!0,e.a=v},function(t,e,n){"use strict";function r(t,e,n){var r={};return Object.keys(t).forEach((function(o){r[o]=t[o].reduce((function(t,r){return r&&(n&&n[r]&&t.push(n[r]),t.push(e(r))),t}),[]).join(" ")})),r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){for(var e="https://mui.com/production-error/?code="+t,n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+t+"; visit "+e+" for the full message."}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s}));var r=Math.sqrt(50),o=Math.sqrt(10),i=Math.sqrt(2);function a(t,e,n){var a=(e-t)/Math.max(0,n),s=Math.floor(Math.log(a)/Math.LN10),l=a/Math.pow(10,s);return s>=0?(l>=r?10:l>=o?5:l>=i?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(l>=r?10:l>=o?5:l>=i?2:1)}function s(t,e,n){var a=Math.abs(e-t)/Math.max(0,n),s=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),l=a/s;return l>=r?s*=10:l>=o?s*=5:l>=i&&(s*=2),e<t?-s:s}e.a=function(t,e,n){var r,o,i,s,l=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(o=t,t=e,e=o),0===(s=a(t,e,n))||!isFinite(s))return[];if(s>0){var c=Math.round(t/s),u=Math.round(e/s);for(c*s<t&&++c,u*s>e&&--u,i=new Array(o=u-c+1);++l<o;)i[l]=(c+l)*s}else{s=-s;var d=Math.round(t*s),f=Math.round(e*s);for(d/s<t&&++d,f/s>e&&--f,i=new Array(o=f-d+1);++l<o;)i[l]=(d+l)/s}return r&&i.reverse(),i}},function(t,e,n){"use strict";var r=n(3),o=n(2),i=n(12),a=n(442),s=n(350),l=n(229);function c(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function u(t){return t instanceof c(t).Element||t instanceof Element}function d(t){return t instanceof c(t).HTMLElement||t instanceof HTMLElement}function f(t){return"undefined"!==typeof ShadowRoot&&(t instanceof c(t).ShadowRoot||t instanceof ShadowRoot)}var p=Math.max,h=Math.min,v=Math.round;function g(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),r=1,o=1;if(d(t)&&e){var i=t.offsetHeight,a=t.offsetWidth;a>0&&(r=v(n.width)/a||1),i>0&&(o=v(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function m(t){var e=c(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function b(t){return t?(t.nodeName||"").toLowerCase():null}function y(t){return((u(t)?t.ownerDocument:t.document)||window.document).documentElement}function x(t){return g(y(t)).left+m(t).scrollLeft}function w(t){return c(t).getComputedStyle(t)}function O(t){var e=w(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function S(t,e,n){void 0===n&&(n=!1);var r=d(e),o=d(e)&&function(t){var e=t.getBoundingClientRect(),n=v(e.width)/t.offsetWidth||1,r=v(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),i=y(e),a=g(t,o),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==b(e)||O(i))&&(s=function(t){return t!==c(t)&&d(t)?{scrollLeft:(e=t).scrollLeft,scrollTop:e.scrollTop}:m(t);var e}(e)),d(e)?((l=g(e,!0)).x+=e.clientLeft,l.y+=e.clientTop):i&&(l.x=x(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function j(t){var e=g(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function C(t){return"html"===b(t)?t:t.assignedSlot||t.parentNode||(f(t)?t.host:null)||y(t)}function k(t){return["html","body","#document"].indexOf(b(t))>=0?t.ownerDocument.body:d(t)&&O(t)?t:k(C(t))}function E(t,e){var n;void 0===e&&(e=[]);var r=k(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),i=c(r),a=o?[i].concat(i.visualViewport||[],O(r)?r:[]):r,s=e.concat(a);return o?s:s.concat(E(C(a)))}function P(t){return["table","td","th"].indexOf(b(t))>=0}function _(t){return d(t)&&"fixed"!==w(t).position?t.offsetParent:null}function M(t){for(var e=c(t),n=_(t);n&&P(n)&&"static"===w(n).position;)n=_(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===w(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(t)&&"fixed"===w(t).position)return null;var n=C(t);for(f(n)&&(n=n.host);d(n)&&["html","body"].indexOf(b(n))<0;){var r=w(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var T="top",A="bottom",R="right",D="left",I="auto",N=[T,A,R,D],L="start",F="end",B="viewport",z="popper",H=N.reduce((function(t,e){return t.concat([e+"-"+L,e+"-"+F])}),[]),V=[].concat(N,[I]).reduce((function(t,e){return t.concat([e,e+"-"+L,e+"-"+F])}),[]),U=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function W(t){var e=new Map,n=new Set,r=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||o(t)})),r}function q(t){var e;return function(){return e||(e=new Promise((function(n){Promise.resolve().then((function(){e=void 0,n(t())}))}))),e}}var G={placement:"bottom",modifiers:[],strategy:"absolute"};function Y(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"===typeof t.getBoundingClientRect)}))}function X(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,o=e.defaultOptions,i=void 0===o?G:o;return function(t,e,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},G,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},a=[],s=!1,l={state:o,setOptions:function(n){var s="function"===typeof n?n(o.options):n;c(),o.options=Object.assign({},i,o.options,s),o.scrollParents={reference:u(t)?E(t):t.contextElement?E(t.contextElement):[],popper:E(e)};var d=function(t){var e=W(t);return U.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=d.filter((function(t){return t.enabled})),o.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"===typeof i){var s=i({state:o,name:e,instance:l,options:r}),c=function(){};a.push(s||c)}})),l.update()},forceUpdate:function(){if(!s){var t=o.elements,e=t.reference,n=t.popper;if(Y(e,n)){o.rects={reference:S(e,M(n),"fixed"===o.options.strategy),popper:j(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(t){return o.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,c=i.options,u=void 0===c?{}:c,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:l})||o)}else o.reset=!1,r=-1}}},update:q((function(){return new Promise((function(t){l.forceUpdate(),t(o)}))})),destroy:function(){c(),s=!0}};if(!Y(t,e))return l;function c(){a.forEach((function(t){return t()})),a=[]}return l.setOptions(n).then((function(t){!s&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var K={passive:!0};function $(t){return t.split("-")[0]}function Z(t){return t.split("-")[1]}function Q(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function J(t){var e,n=t.reference,r=t.element,o=t.placement,i=o?$(o):null,a=o?Z(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case T:e={x:s,y:n.y-r.height};break;case A:e={x:s,y:n.y+n.height};break;case R:e={x:n.x+n.width,y:l};break;case D:e={x:n.x-r.width,y:l};break;default:e={x:n.x,y:n.y}}var c=i?Q(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case L:e[c]=e[c]-(n[u]/2-r[u]/2);break;case F:e[c]=e[c]+(n[u]/2-r[u]/2)}}return e}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function et(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,u=t.adaptive,d=t.roundOffsets,f=t.isFixed,p=a.x,h=void 0===p?0:p,g=a.y,m=void 0===g?0:g,b="function"===typeof d?d({x:h,y:m}):{x:h,y:m};h=b.x,m=b.y;var x=a.hasOwnProperty("x"),O=a.hasOwnProperty("y"),S=D,j=T,C=window;if(u){var k=M(n),E="clientHeight",P="clientWidth";if(k===c(n)&&"static"!==w(k=y(n)).position&&"absolute"===s&&(E="scrollHeight",P="scrollWidth"),o===T||(o===D||o===R)&&i===F)j=A,m-=(f&&k===C&&C.visualViewport?C.visualViewport.height:k[E])-r.height,m*=l?1:-1;if(o===D||(o===T||o===A)&&i===F)S=R,h-=(f&&k===C&&C.visualViewport?C.visualViewport.width:k[P])-r.width,h*=l?1:-1}var _,I=Object.assign({position:s},u&&tt),N=!0===d?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:v(e*r)/r||0,y:v(n*r)/r||0}}({x:h,y:m}):{x:h,y:m};return h=N.x,m=N.y,l?Object.assign({},I,((_={})[j]=O?"0":"",_[S]=x?"0":"",_.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",_)):Object.assign({},I,((e={})[j]=O?m+"px":"",e[S]=x?h+"px":"",e.transform="",e))}var nt={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(t){return t.replace(/left|right|bottom|top/g,(function(t){return nt[t]}))}var ot={start:"end",end:"start"};function it(t){return t.replace(/start|end/g,(function(t){return ot[t]}))}function at(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&f(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function st(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function lt(t,e){return e===B?st(function(t){var e=c(t),n=y(t),r=e.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+x(t),y:s}}(t)):u(e)?function(t){var e=g(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):st(function(t){var e,n=y(t),r=m(t),o=null==(e=t.ownerDocument)?void 0:e.body,i=p(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=p(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+x(t),l=-r.scrollTop;return"rtl"===w(o||n).direction&&(s+=p(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(y(t)))}function ct(t,e,n){var r="clippingParents"===e?function(t){var e=E(C(t)),n=["absolute","fixed"].indexOf(w(t).position)>=0&&d(t)?M(t):t;return u(n)?e.filter((function(t){return u(t)&&at(t,n)&&"body"!==b(t)})):[]}(t):[].concat(e),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(e,n){var r=lt(t,n);return e.top=p(r.top,e.top),e.right=h(r.right,e.right),e.bottom=h(r.bottom,e.bottom),e.left=p(r.left,e.left),e}),lt(t,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ut(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function dt(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function ft(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=void 0===r?t.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,l=void 0===s?B:s,c=n.elementContext,d=void 0===c?z:c,f=n.altBoundary,p=void 0!==f&&f,h=n.padding,v=void 0===h?0:h,m=ut("number"!==typeof v?v:dt(v,N)),b=d===z?"reference":z,x=t.rects.popper,w=t.elements[p?b:d],O=ct(u(w)?w:w.contextElement||y(t.elements.popper),a,l),S=g(t.elements.reference),j=J({reference:S,element:x,strategy:"absolute",placement:o}),C=st(Object.assign({},x,j)),k=d===z?C:S,E={top:O.top-k.top+m.top,bottom:k.bottom-O.bottom+m.bottom,left:O.left-k.left+m.left,right:k.right-O.right+m.right},P=t.modifiersData.offset;if(d===z&&P){var _=P[o];Object.keys(E).forEach((function(t){var e=[R,A].indexOf(t)>=0?1:-1,n=[T,A].indexOf(t)>=0?"y":"x";E[t]+=_[n]*e}))}return E}function pt(t,e,n){return p(t,h(e,n))}function ht(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function vt(t){return[T,R,A,D].some((function(e){return t[e]>=0}))}var gt=X({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=c(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach((function(t){t.addEventListener("scroll",n.update,K)})),s&&l.addEventListener("resize",n.update,K),function(){i&&u.forEach((function(t){t.removeEventListener("scroll",n.update,K)})),s&&l.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=J({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:$(e.placement),variation:Z(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,et(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,et(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];d(o)&&b(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});d(r)&&b(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=void 0===o?[0,0]:o,a=V.reduce((function(t,n){return t[n]=function(t,e,n){var r=$(t),o=[D,T].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},e,{placement:t})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[D,R].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,i),t}),{}),s=a[e.placement],l=s.x,c=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,v=n.allowedAutoPlacements,g=e.options.placement,m=$(g),b=l||(m===g||!h?[rt(g)]:function(t){if($(t)===I)return[];var e=rt(t);return[it(t),e,it(e)]}(g)),y=[g].concat(b).reduce((function(t,n){return t.concat($(n)===I?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?V:l,u=Z(r),d=u?s?H:H.filter((function(t){return Z(t)===u})):N,f=d.filter((function(t){return c.indexOf(t)>=0}));0===f.length&&(f=d);var p=f.reduce((function(e,n){return e[n]=ft(t,{placement:n,boundary:o,rootBoundary:i,padding:a})[$(n)],e}),{});return Object.keys(p).sort((function(t,e){return p[t]-p[e]}))}(e,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=e.rects.reference,w=e.rects.popper,O=new Map,S=!0,j=y[0],C=0;C<y.length;C++){var k=y[C],E=$(k),P=Z(k)===L,_=[T,A].indexOf(E)>=0,M=_?"width":"height",F=ft(e,{placement:k,boundary:u,rootBoundary:d,altBoundary:f,padding:c}),B=_?P?R:D:P?A:T;x[M]>w[M]&&(B=rt(B));var z=rt(B),U=[];if(i&&U.push(F[E]<=0),s&&U.push(F[B]<=0,F[z]<=0),U.every((function(t){return t}))){j=k,S=!1;break}O.set(k,U)}if(S)for(var W=function(t){var e=y.find((function(e){var n=O.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return j=e,"break"},q=h?3:1;q>0;q--){if("break"===W(q))break}e.placement!==j&&(e.modifiersData[r]._skip=!0,e.placement=j,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,v=void 0===f||f,g=n.tetherOffset,m=void 0===g?0:g,b=ft(e,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=$(e.placement),x=Z(e.placement),w=!x,O=Q(y),S="x"===O?"y":"x",C=e.modifiersData.popperOffsets,k=e.rects.reference,E=e.rects.popper,P="function"===typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,_="number"===typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),I=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,N={x:0,y:0};if(C){if(i){var F,B="y"===O?T:D,z="y"===O?A:R,H="y"===O?"height":"width",V=C[O],U=V+b[B],W=V-b[z],q=v?-E[H]/2:0,G=x===L?k[H]:E[H],Y=x===L?-E[H]:-k[H],X=e.elements.arrow,K=v&&X?j(X):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},tt=J[B],et=J[z],nt=pt(0,k[H],K[H]),rt=w?k[H]/2-q-nt-tt-_.mainAxis:G-nt-tt-_.mainAxis,ot=w?-k[H]/2+q+nt+et+_.mainAxis:Y+nt+et+_.mainAxis,it=e.elements.arrow&&M(e.elements.arrow),at=it?"y"===O?it.clientTop||0:it.clientLeft||0:0,st=null!=(F=null==I?void 0:I[O])?F:0,lt=V+ot-st,ct=pt(v?h(U,V+rt-st-at):U,V,v?p(W,lt):W);C[O]=ct,N[O]=ct-V}if(s){var ut,dt="x"===O?T:D,ht="x"===O?A:R,vt=C[S],gt="y"===S?"height":"width",mt=vt+b[dt],bt=vt-b[ht],yt=-1!==[T,D].indexOf(y),xt=null!=(ut=null==I?void 0:I[S])?ut:0,wt=yt?mt:vt-k[gt]-E[gt]-xt+_.altAxis,Ot=yt?vt+k[gt]+E[gt]-xt-_.altAxis:bt,St=v&&yt?function(t,e,n){var r=pt(t,e,n);return r>n?n:r}(wt,vt,Ot):pt(v?wt:mt,vt,v?Ot:bt);C[S]=St,N[S]=St-vt}e.modifiersData[r]=N}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=$(n.placement),l=Q(s),c=[D,R].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(t,e){return ut("number"!==typeof(t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:dt(t,N))}(o.padding,n),d=j(i),f="y"===l?T:D,p="y"===l?A:R,h=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],v=a[l]-n.rects.reference[l],g=M(i),m=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,b=h/2-v/2,y=u[f],x=m-d[c]-u[p],w=m/2-d[c]/2+b,O=pt(y,w,x),S=l;n.modifiersData[r]=((e={})[S]=O,e.centerOffset=O-w,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=e.elements.popper.querySelector(r)))&&at(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=ft(e,{elementContext:"reference"}),s=ft(e,{altBoundary:!0}),l=ht(a,r),c=ht(s,o,i),u=vt(l),d=vt(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),mt=n(1),bt=n(1270),yt=n(0),xt=["anchorEl","children","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","TransitionProps"],wt=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"];function Ot(t){return"function"===typeof t?t():t}var St={},jt=mt.forwardRef((function(t,e){var n=t.anchorEl,l=t.children,c=t.direction,u=t.disablePortal,d=t.modifiers,f=t.open,p=t.placement,h=t.popperOptions,v=t.popperRef,g=t.TransitionProps,m=Object(i.a)(t,xt),b=mt.useRef(null),y=Object(a.a)(b,e),x=mt.useRef(null),w=Object(a.a)(x,v),O=mt.useRef(w);Object(s.a)((function(){O.current=w}),[w]),mt.useImperativeHandle(v,(function(){return x.current}),[]);var S=function(t,e){if("ltr"===e)return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(p,c),j=mt.useState(S),C=Object(o.a)(j,2),k=C[0],E=C[1];mt.useEffect((function(){x.current&&x.current.forceUpdate()})),Object(s.a)((function(){if(n&&f){Ot(n);var t=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:function(t){var e=t.state;E(e.placement)}}];null!=d&&(t=t.concat(d)),h&&null!=h.modifiers&&(t=t.concat(h.modifiers));var e=gt(Ot(n),b.current,Object(r.a)({placement:S},h,{modifiers:t}));return O.current(e),function(){e.destroy(),O.current(null)}}}),[n,u,d,f,h,S]);var P={placement:k};return null!==g&&(P.TransitionProps=g),Object(yt.jsx)("div",Object(r.a)({ref:y,role:"tooltip"},m,{children:"function"===typeof l?l(P):l}))})),Ct=mt.forwardRef((function(t,e){var n=t.anchorEl,a=t.children,s=t.container,c=t.direction,u=void 0===c?"ltr":c,d=t.disablePortal,f=void 0!==d&&d,p=t.keepMounted,h=void 0!==p&&p,v=t.modifiers,g=t.open,m=t.placement,b=void 0===m?"bottom":m,y=t.popperOptions,x=void 0===y?St:y,w=t.popperRef,O=t.style,S=t.transition,j=void 0!==S&&S,C=Object(i.a)(t,wt),k=mt.useState(!0),E=Object(o.a)(k,2),P=E[0],_=E[1];if(!h&&!g&&(!j||P))return null;var M=s||(n?Object(l.a)(Ot(n)).body:void 0);return Object(yt.jsx)(bt.a,{disablePortal:f,container:M,children:Object(yt.jsx)(jt,Object(r.a)({anchorEl:n,direction:u,disablePortal:f,modifiers:v,ref:e,open:j?!P:g,placement:b,popperOptions:x,popperRef:w},C,{style:Object(r.a)({position:"fixed",top:0,left:0,display:g||!h||j&&!P?null:"none"},O),TransitionProps:j?{in:g,onEnter:function(){_(!1)},onExited:function(){_(!0)}}:null,children:a}))})})),kt=n(654),Et=n(13),Pt=n(17),_t=Object(Et.a)(Ct,{name:"MuiPopper",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),Mt=mt.forwardRef((function(t,e){var n=Object(kt.a)(),o=Object(Pt.a)({props:t,name:"MuiPopper"});return Object(yt.jsx)(_t,Object(r.a)({direction:null==n?void 0:n.direction},o,{ref:e}))}));e.a=Mt},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(15),c=n(17),u=n(13),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiSvgIcon",t)}Object(f.a)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(0),v=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],g=Object(u.a)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,"inherit"!==n.color&&e["color".concat(Object(l.a)(n.color))],e["fontSize".concat(Object(l.a)(n.fontSize))]]}})((function(t){var e,n,r,o,i,a,s,l,c,u,d,f,p,h,v,g,m,b=t.theme,y=t.ownerState;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:null==(e=b.transitions)||null==(n=e.create)?void 0:n.call(e,"fill",{duration:null==(r=b.transitions)||null==(o=r.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=b.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=b.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=b.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875"}[y.fontSize],color:null!=(d=null==(f=(b.vars||b).palette)||null==(p=f[y.color])?void 0:p.main)?d:{action:null==(h=(b.vars||b).palette)||null==(v=h.action)?void 0:v.active,disabled:null==(g=(b.vars||b).palette)||null==(m=g.action)?void 0:m.disabled,inherit:void 0}[y.color]}})),m=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiSvgIcon"}),i=n.children,u=n.className,d=n.color,f=void 0===d?"inherit":d,m=n.component,b=void 0===m?"svg":m,y=n.fontSize,x=void 0===y?"medium":y,w=n.htmlColor,O=n.inheritViewBox,S=void 0!==O&&O,j=n.titleAccess,C=n.viewBox,k=void 0===C?"0 0 24 24":C,E=Object(o.a)(n,v),P=Object(r.a)({},n,{color:f,component:b,fontSize:x,instanceFontSize:t.fontSize,inheritViewBox:S,viewBox:k}),_={};S||(_.viewBox=k);var M=function(t){var e=t.color,n=t.fontSize,r=t.classes,o={root:["root","inherit"!==e&&"color".concat(Object(l.a)(e)),"fontSize".concat(Object(l.a)(n))]};return Object(s.a)(o,p,r)}(P);return Object(h.jsxs)(g,Object(r.a)({as:b,className:Object(a.default)(M.root,u),ownerState:P,focusable:"false",color:w,"aria-hidden":!j||void 0,role:j?"img":void 0,ref:e},_,E,{children:[i,j?Object(h.jsx)("title",{children:j}):null]}))}));m.muiName="SvgIcon";e.a=m},function(t,e,n){"use strict";var r=n(12),o=n(144),i=n(1),a=n.n(i),s=n(51),l=n.n(s),c=!1,u=n(298),d="unmounted",f="exited",p="entering",h="entered",v="exiting",g=function(t){function e(e,n){var r;r=t.call(this,e,n)||this;var o,i=n&&!n.isMounting?e.enter:e.appear;return r.appearStatus=null,e.in?i?(o=f,r.appearStatus=p):o=h:o=e.unmountOnExit||e.mountOnEnter?d:f,r.state={status:o},r.nextCallback=null,r}Object(o.a)(e,t),e.getDerivedStateFromProps=function(t,e){return t.in&&e.status===d?{status:f}:null};var n=e.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(e=p):n!==p&&n!==h||(e=v)}this.updateStatus(!1,e)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.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}},n.updateStatus=function(t,e){void 0===t&&(t=!1),null!==e?(this.cancelNextCallback(),e===p?this.performEnter(t):this.performExit()):this.props.unmountOnExit&&this.state.status===f&&this.setState({status:d})},n.performEnter=function(t){var e=this,n=this.props.enter,r=this.context?this.context.isMounting:t,o=this.props.nodeRef?[r]:[l.a.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!t&&!n||c?this.safeSetState({status:h},(function(){e.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:p},(function(){e.props.onEntering(i,a),e.onTransitionEnd(u,(function(){e.safeSetState({status:h},(function(){e.props.onEntered(i,a)}))}))})))},n.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:l.a.findDOMNode(this);e&&!c?(this.props.onExit(r),this.safeSetState({status:v},(function(){t.props.onExiting(r),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:f},(function(){t.props.onExited(r)}))}))}))):this.safeSetState({status:f},(function(){t.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},n.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},n.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:l.a.findDOMNode(this),r=null==t&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},n.render=function(){var t=this.state.status;if(t===d)return null;var e=this.props,n=e.children,o=(e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef,Object(r.a)(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.a.createElement(u.a.Provider,{value:null},"function"===typeof n?n(t,o):a.a.cloneElement(a.a.Children.only(n),o))},e}(a.a.Component);function m(){}g.contextType=u.a,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},g.UNMOUNTED=d,g.EXITED=f,g.ENTERING=p,g.ENTERED=h,g.EXITING=v;e.a=g},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(237),o=60103,i=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var a=60109,s=60110,l=60112;e.Suspense=60113;var c=60115,u=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),i=d("react.portal"),e.Fragment=d("react.fragment"),e.StrictMode=d("react.strict_mode"),e.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),e.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var f="function"===typeof Symbol&&Symbol.iterator;function p(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 h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function g(t,e,n){this.props=t,this.context=e,this.refs=v,this.updater=n||h}function m(){}function b(t,e,n){this.props=t,this.context=e,this.refs=v,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error(p(85));this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=g.prototype;var y=b.prototype=new m;y.constructor=b,r(y,g.prototype),y.isPureReactComponent=!0;var x={current:null},w=Object.prototype.hasOwnProperty,O={key:!0,ref:!0,__self:!0,__source:!0};function S(t,e,n){var r,i={},a=null,s=null;if(null!=e)for(r in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)w.call(e,r)&&!O.hasOwnProperty(r)&&(i[r]=e[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(t&&t.defaultProps)for(r in l=t.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:t,key:a,ref:s,props:i,_owner:x.current}}function j(t){return"object"===typeof t&&null!==t&&t.$$typeof===o}var C=/\/+/g;function k(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 E(t,e,n,r,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=t),t=""===r?"."+k(l,0):r,Array.isArray(a)?(n="",null!=t&&(n=t.replace(C,"$&/")+"/"),E(a,e,n,"",(function(t){return t}))):null!=a&&(j(a)&&(a=function(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(C,"$&/")+"/")+t)),e.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(t))for(var c=0;c<t.length;c++){var u=r+k(s=t[c],c);l+=E(s,e,n,u,a)}else if(u=function(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=f&&t[f]||t["@@iterator"])?t:null}(t),"function"===typeof u)for(t=u.call(t),c=0;!(s=t.next()).done;)l+=E(s=s.value,e,n,u=r+k(s,c++),a);else if("object"===s)throw e=""+t,Error(p(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e));return l}function P(t,e,n){if(null==t)return t;var r=[],o=0;return E(t,r,"","",(function(t){return e.call(n,t,o++)})),r}function _(t){if(-1===t._status){var e=t._result;e=e(),t._status=0,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)}))}if(1===t._status)return t._result;throw t._result}var M={current:null};function T(){var t=M.current;if(null===t)throw Error(p(321));return t}var A={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:r};e.Children={map:P,forEach:function(t,e,n){P(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return P(t,(function(){e++})),e},toArray:function(t){return P(t,(function(t){return t}))||[]},only:function(t){if(!j(t))throw Error(p(143));return t}},e.Component=g,e.PureComponent=b,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=A,e.cloneElement=function(t,e,n){if(null===t||void 0===t)throw Error(p(267,t));var i=r({},t.props),a=t.key,s=t.ref,l=t._owner;if(null!=e){if(void 0!==e.ref&&(s=e.ref,l=x.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var c=t.type.defaultProps;for(u in e)w.call(e,u)&&!O.hasOwnProperty(u)&&(i[u]=void 0===e[u]&&void 0!==c?c[u]:e[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];i.children=c}return{$$typeof:o,type:t.type,key:a,ref:s,props:i,_owner:l}},e.createContext=function(t,e){return void 0===e&&(e=null),(t={$$typeof:s,_calculateChangedBits:e,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:t},t.Consumer=t},e.createElement=S,e.createFactory=function(t){var e=S.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:l,render:t}},e.isValidElement=j,e.lazy=function(t){return{$$typeof:u,_payload:{_status:-1,_result:t},_init:_}},e.memo=function(t,e){return{$$typeof:c,type:t,compare:void 0===e?null:e}},e.useCallback=function(t,e){return T().useCallback(t,e)},e.useContext=function(t,e){return T().useContext(t,e)},e.useDebugValue=function(){},e.useEffect=function(t,e){return T().useEffect(t,e)},e.useImperativeHandle=function(t,e,n){return T().useImperativeHandle(t,e,n)},e.useLayoutEffect=function(t,e){return T().useLayoutEffect(t,e)},e.useMemo=function(t,e){return T().useMemo(t,e)},e.useReducer=function(t,e,n){return T().useReducer(t,e,n)},e.useRef=function(t){return T().useRef(t)},e.useState=function(t){return T().useState(t)},e.version="17.0.2"},function(t,e,n){"use strict";var r=n(1),o=n(237),i=n(544);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 s=new Set,l={};function c(t,e){u(t,e),u(t+"Capture",e)}function u(t,e){for(l[t]=e,t=0;t<e.length;t++)s.add(e[t])}var d=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=/^[: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]*$/,p=Object.prototype.hasOwnProperty,h={},v={};function g(t,e,n,r,o,i,a){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){m[t]=new g(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];m[e]=new g(e,1,!1,t[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){m[t]=new g(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){m[t]=new g(t,2,!1,t,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){m[t]=new g(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(t){m[t]=new g(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((function(t){m[t]=new g(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((function(t){m[t]=new g(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((function(t){m[t]=new g(t,5,!1,t.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(t){return t[1].toUpperCase()}function x(t,e,n,r){var o=m.hasOwnProperty(e)?m[e]:null;(null!==o?0===o.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||"undefined"===typeof 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,o,r)&&(n=null),r||null===o?function(t){return!!p.call(v,t)||!p.call(h,t)&&(f.test(t)?v[t]=!0:(h[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):o.mustUseProperty?t[o.propertyName]=null===n?3!==o.type&&"":n:(e=o.attributeName,r=o.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}"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(b,y);m[e]=new g(e,1,!1,t,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(b,y);m[e]=new g(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(b,y);m[e]=new g(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(t){m[t]=new g(t,1,!1,t.toLowerCase(),null,!1,!1)})),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(t){m[t]=new g(t,1,!1,t.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,O=60103,S=60106,j=60107,C=60108,k=60114,E=60109,P=60110,_=60112,M=60113,T=60120,A=60115,R=60116,D=60121,I=60128,N=60129,L=60130,F=60131;if("function"===typeof Symbol&&Symbol.for){var B=Symbol.for;O=B("react.element"),S=B("react.portal"),j=B("react.fragment"),C=B("react.strict_mode"),k=B("react.profiler"),E=B("react.provider"),P=B("react.context"),_=B("react.forward_ref"),M=B("react.suspense"),T=B("react.suspense_list"),A=B("react.memo"),R=B("react.lazy"),D=B("react.block"),B("react.scope"),I=B("react.opaque.id"),N=B("react.debug_trace_mode"),L=B("react.offscreen"),F=B("react.legacy_hidden")}var z,H="function"===typeof Symbol&&Symbol.iterator;function V(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=H&&t[H]||t["@@iterator"])?t:null}function U(t){if(void 0===z)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);z=e&&e[1]||""}return"\n"+z+t}var W=!1;function q(t,e){if(!t||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(e,[])}catch(l){var r=l}Reflect.construct(t,[],e)}else{try{e.call()}catch(l){r=l}t.call(e.prototype)}else{try{throw Error()}catch(l){r=l}t()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var o=l.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{W=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?U(t):""}function G(t){switch(t.tag){case 5:return U(t.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return t=q(t.type,!1);case 11:return t=q(t.type.render,!1);case 22:return t=q(t.type._render,!1);case 1:return t=q(t.type,!0);default:return""}}function Y(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 j:return"Fragment";case S:return"Portal";case k:return"Profiler";case C:return"StrictMode";case M:return"Suspense";case T:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case P:return(t.displayName||"Context")+".Consumer";case E:return(t._context.displayName||"Context")+".Provider";case _:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case A:return Y(t.type);case D:return Y(t._render);case R:e=t._payload,t=t._init;try{return Y(t(e))}catch(n){}}return null}function X(t){switch(typeof t){case"boolean":case"number":case"object":case"string":case"undefined":return t;default:return""}}function K(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function $(t){t._valueTracker||(t._valueTracker=function(t){var e=K(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(t){r=""+t,i.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 Z(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=K(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function Q(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function J(t,e){var n=e.checked;return o({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function tt(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=X(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 et(t,e){null!=(e=e.checked)&&x(t,"checked",e,!1)}function nt(t,e){et(t,e);var n=X(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")?ot(t,e.type,n):e.hasOwnProperty("defaultValue")&&ot(t,e.type,X(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function rt(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._wrapperState.initialChecked,""!==n&&(t.name=n)}function ot(t,e,n){"number"===e&&Q(t.ownerDocument)===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}function it(t,e){return t=o({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 at(t,e,n,r){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&r&&(t[n].defaultSelected=!0)}else{for(n=""+X(n),e=null,o=0;o<t.length;o++){if(t[o].value===n)return t[o].selected=!0,void(r&&(t[o].defaultSelected=!0));null!==e||t[o].disabled||(e=t[o])}null!==e&&(e.selected=!0)}}function st(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return o({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function lt(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:X(n)}}function ct(t,e){var n=X(e.value),r=X(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 ut(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}var dt="http://www.w3.org/1999/xhtml",ft="http://www.w3.org/2000/svg";function pt(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 ht(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?pt(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var vt,gt,mt=(gt=function(t,e){if(t.namespaceURI!==ft||"innerHTML"in t)t.innerHTML=e;else{for((vt=vt||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=vt.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 gt(t,e)}))}:gt);function bt(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}var yt={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},xt=["Webkit","ms","Moz","O"];function wt(t,e,n){return null==e||"boolean"===typeof e||""===e?"":n||"number"!==typeof e||0===e||yt.hasOwnProperty(t)&&yt[t]?(""+e).trim():e+"px"}function Ot(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=wt(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,o):t[n]=o}}Object.keys(yt).forEach((function(t){xt.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),yt[e]=yt[t]}))}));var St=o({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 jt(t,e){if(e){if(St[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 Ct(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 kt(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Et=null,Pt=null,_t=null;function Mt(t){if(t=ro(t)){if("function"!==typeof Et)throw Error(a(280));var e=t.stateNode;e&&(e=io(e),Et(t.stateNode,t.type,e))}}function Tt(t){Pt?_t?_t.push(t):_t=[t]:Pt=t}function At(){if(Pt){var t=Pt,e=_t;if(_t=Pt=null,Mt(t),e)for(t=0;t<e.length;t++)Mt(e[t])}}function Rt(t,e){return t(e)}function Dt(t,e,n,r,o){return t(e,n,r,o)}function It(){}var Nt=Rt,Lt=!1,Ft=!1;function Bt(){null===Pt&&null===_t||(It(),At())}function zt(t,e){var n=t.stateNode;if(null===n)return null;var r=io(n);if(null===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":case"onMouseEnter":(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 Ht=!1;if(d)try{var Vt={};Object.defineProperty(Vt,"passive",{get:function(){Ht=!0}}),window.addEventListener("test",Vt,Vt),window.removeEventListener("test",Vt,Vt)}catch(gt){Ht=!1}function Ut(t,e,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(u){this.onError(u)}}var Wt=!1,qt=null,Gt=!1,Yt=null,Xt={onError:function(t){Wt=!0,qt=t}};function Kt(t,e,n,r,o,i,a,s,l){Wt=!1,qt=null,Ut.apply(Xt,arguments)}function $t(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function Zt(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 Qt(t){if($t(t)!==t)throw Error(a(188))}function Jt(t){if(t=function(t){var e=t.alternate;if(!e){if(null===(e=$t(t)))throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Qt(o),t;if(i===r)return Qt(o),e;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)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),!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}function te(t,e){for(var n=t.alternate;null!==e;){if(e===t||e===n)return!0;e=e.return}return!1}var ee,ne,re,oe,ie=!1,ae=[],se=null,le=null,ce=null,ue=new Map,de=new Map,fe=[],pe="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function he(t,e,n,r,o){return{blockedOn:t,domEventName:e,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ve(t,e){switch(t){case"focusin":case"focusout":se=null;break;case"dragenter":case"dragleave":le=null;break;case"mouseover":case"mouseout":ce=null;break;case"pointerover":case"pointerout":ue.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":de.delete(e.pointerId)}}function ge(t,e,n,r,o,i){return null===t||t.nativeEvent!==i?(t=he(e,n,r,o,i),null!==e&&(null!==(e=ro(e))&&ne(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,null!==o&&-1===e.indexOf(o)&&e.push(o),t)}function me(t){var e=no(t.target);if(null!==e){var n=$t(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=Zt(n)))return t.blockedOn=e,void oe(t.lanePriority,(function(){i.unstable_runWithPriority(t.priority,(function(){re(n)}))}))}else if(3===e&&n.stateNode.hydrate)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function be(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var n=Je(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n)return null!==(e=ro(n))&&ne(e),t.blockedOn=n,!1;e.shift()}return!0}function ye(t,e,n){be(t)&&n.delete(e)}function xe(){for(ie=!1;0<ae.length;){var t=ae[0];if(null!==t.blockedOn){null!==(t=ro(t.blockedOn))&&ee(t);break}for(var e=t.targetContainers;0<e.length;){var n=Je(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n){t.blockedOn=n;break}e.shift()}null===t.blockedOn&&ae.shift()}null!==se&&be(se)&&(se=null),null!==le&&be(le)&&(le=null),null!==ce&&be(ce)&&(ce=null),ue.forEach(ye),de.forEach(ye)}function we(t,e){t.blockedOn===e&&(t.blockedOn=null,ie||(ie=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,xe)))}function Oe(t){function e(e){return we(e,t)}if(0<ae.length){we(ae[0],t);for(var n=1;n<ae.length;n++){var r=ae[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==se&&we(se,t),null!==le&&we(le,t),null!==ce&&we(ce,t),ue.forEach(e),de.forEach(e),n=0;n<fe.length;n++)(r=fe[n]).blockedOn===t&&(r.blockedOn=null);for(;0<fe.length&&null===(n=fe[0]).blockedOn;)me(n),null===n.blockedOn&&fe.shift()}function Se(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var je={animationend:Se("Animation","AnimationEnd"),animationiteration:Se("Animation","AnimationIteration"),animationstart:Se("Animation","AnimationStart"),transitionend:Se("Transition","TransitionEnd")},Ce={},ke={};function Ee(t){if(Ce[t])return Ce[t];if(!je[t])return t;var e,n=je[t];for(e in n)if(n.hasOwnProperty(e)&&e in ke)return Ce[t]=n[e];return t}d&&(ke=document.createElement("div").style,"AnimationEvent"in window||(delete je.animationend.animation,delete je.animationiteration.animation,delete je.animationstart.animation),"TransitionEvent"in window||delete je.transitionend.transition);var Pe=Ee("animationend"),_e=Ee("animationiteration"),Me=Ee("animationstart"),Te=Ee("transitionend"),Ae=new Map,Re=new Map,De=["abort","abort",Pe,"animationEnd",_e,"animationIteration",Me,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Te,"transitionEnd","waiting","waiting"];function Ie(t,e){for(var n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Re.set(r,e),Ae.set(r,o),c(o,[r])}}(0,i.unstable_now)();var Ne=8;function Le(t){if(0!==(1&t))return Ne=15,1;if(0!==(2&t))return Ne=14,2;if(0!==(4&t))return Ne=13,4;var e=24&t;return 0!==e?(Ne=12,e):0!==(32&t)?(Ne=11,32):0!==(e=192&t)?(Ne=10,e):0!==(256&t)?(Ne=9,256):0!==(e=3584&t)?(Ne=8,e):0!==(4096&t)?(Ne=7,4096):0!==(e=4186112&t)?(Ne=6,e):0!==(e=62914560&t)?(Ne=5,e):67108864&t?(Ne=4,67108864):0!==(134217728&t)?(Ne=3,134217728):0!==(e=805306368&t)?(Ne=2,e):0!==(1073741824&t)?(Ne=1,1073741824):(Ne=8,t)}function Fe(t,e){var n=t.pendingLanes;if(0===n)return Ne=0;var r=0,o=0,i=t.expiredLanes,a=t.suspendedLanes,s=t.pingedLanes;if(0!==i)r=i,o=Ne=15;else if(0!==(i=134217727&n)){var l=i&~a;0!==l?(r=Le(l),o=Ne):0!==(s&=i)&&(r=Le(s),o=Ne)}else 0!==(i=n&~a)?(r=Le(i),o=Ne):0!==s&&(r=Le(s),o=Ne);if(0===r)return 0;if(r=n&((0>(r=31-We(r))?0:1<<r)<<1)-1,0!==e&&e!==r&&0===(e&a)){if(Le(e),o<=Ne)return e;Ne=o}if(0!==(e=t.entangledLanes))for(t=t.entanglements,e&=r;0<e;)o=1<<(n=31-We(e)),r|=t[n],e&=~o;return r}function Be(t){return 0!==(t=-1073741825&t.pendingLanes)?t:1073741824&t?1073741824:0}function ze(t,e){switch(t){case 15:return 1;case 14:return 2;case 12:return 0===(t=He(24&~e))?ze(10,e):t;case 10:return 0===(t=He(192&~e))?ze(8,e):t;case 8:return 0===(t=He(3584&~e))&&(0===(t=He(4186112&~e))&&(t=512)),t;case 2:return 0===(e=He(805306368&~e))&&(e=268435456),e}throw Error(a(358,t))}function He(t){return t&-t}function Ve(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function Ue(t,e,n){t.pendingLanes|=e;var r=e-1;t.suspendedLanes&=r,t.pingedLanes&=r,(t=t.eventTimes)[e=31-We(e)]=n}var We=Math.clz32?Math.clz32:function(t){return 0===t?32:31-(qe(t)/Ge|0)|0},qe=Math.log,Ge=Math.LN2;var Ye=i.unstable_UserBlockingPriority,Xe=i.unstable_runWithPriority,Ke=!0;function $e(t,e,n,r){Lt||It();var o=Qe,i=Lt;Lt=!0;try{Dt(o,t,e,n,r)}finally{(Lt=i)||Bt()}}function Ze(t,e,n,r){Xe(Ye,Qe.bind(null,t,e,n,r))}function Qe(t,e,n,r){var o;if(Ke)if((o=0===(4&e))&&0<ae.length&&-1<pe.indexOf(t))t=he(null,t,e,n,r),ae.push(t);else{var i=Je(t,e,n,r);if(null===i)o&&ve(t,r);else{if(o){if(-1<pe.indexOf(t))return t=he(i,t,e,n,r),void ae.push(t);if(function(t,e,n,r,o){switch(e){case"focusin":return se=ge(se,t,e,n,r,o),!0;case"dragenter":return le=ge(le,t,e,n,r,o),!0;case"mouseover":return ce=ge(ce,t,e,n,r,o),!0;case"pointerover":var i=o.pointerId;return ue.set(i,ge(ue.get(i)||null,t,e,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,de.set(i,ge(de.get(i)||null,t,e,n,r,o)),!0}return!1}(i,t,e,n,r))return;ve(t,r)}Ir(t,e,r,null,n)}}}function Je(t,e,n,r){var o=kt(r);if(null!==(o=no(o))){var i=$t(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Zt(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Ir(t,e,r,o,n),null}var tn=null,en=null,nn=null;function rn(){if(nn)return nn;var t,e,n=en,r=n.length,o="value"in tn?tn.value:tn.textContent,i=o.length;for(t=0;t<r&&n[t]===o[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===o[i-e];e++);return nn=o.slice(t,1<e?1-e:void 0)}function on(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}function an(){return!0}function sn(){return!1}function ln(t){function e(e,n,r,o,i){for(var a in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,t)t.hasOwnProperty(a)&&(e=t[a],this[a]=e?e(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?an:sn,this.isPropagationStopped=sn,this}return o(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),e}var cn,un,dn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=ln(fn),hn=o({},fn,{view:0,detail:0}),vn=ln(hn),gn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pn,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==dn&&(dn&&"mousemove"===t.type?(cn=t.screenX-dn.screenX,un=t.screenY-dn.screenY):un=cn=0,dn=t),cn)},movementY:function(t){return"movementY"in t?t.movementY:un}}),mn=ln(gn),bn=ln(o({},gn,{dataTransfer:0})),yn=ln(o({},hn,{relatedTarget:0})),xn=ln(o({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=o({},fn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),On=ln(wn),Sn=ln(o({},fn,{data:0})),jn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={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"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=kn[t])&&!!e[t]}function Pn(){return En}var _n=o({},hn,{key:function(t){if(t.key){var e=jn[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=on(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?Cn[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pn,charCode:function(t){return"keypress"===t.type?on(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?on(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),Mn=ln(_n),Tn=ln(o({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=ln(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pn})),Rn=ln(o({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dn=o({},gn,{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:0,deltaMode:0}),In=ln(Dn),Nn=[9,13,27,32],Ln=d&&"CompositionEvent"in window,Fn=null;d&&"documentMode"in document&&(Fn=document.documentMode);var Bn=d&&"TextEvent"in window&&!Fn,zn=d&&(!Ln||Fn&&8<Fn&&11>=Fn),Hn=String.fromCharCode(32),Vn=!1;function Un(t,e){switch(t){case"keyup":return-1!==Nn.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var qn=!1;var Gn={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 Yn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Gn[t.type]:"textarea"===e}function Xn(t,e,n,r){Tt(r),0<(e=Lr(e,"onChange")).length&&(n=new pn("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var Kn=null,$n=null;function Zn(t){_r(t,0)}function Qn(t){if(Z(oo(t)))return t}function Jn(t,e){if("change"===t)return e}var tr=!1;if(d){var er;if(d){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}er=nr}else er=!1;tr=er&&(!document.documentMode||9<document.documentMode)}function or(){Kn&&(Kn.detachEvent("onpropertychange",ir),$n=Kn=null)}function ir(t){if("value"===t.propertyName&&Qn($n)){var e=[];if(Xn(e,$n,t,kt(t)),t=Zn,Lt)t(e);else{Lt=!0;try{Rt(t,e)}finally{Lt=!1,Bt()}}}}function ar(t,e,n){"focusin"===t?(or(),$n=n,(Kn=e).attachEvent("onpropertychange",ir)):"focusout"===t&&or()}function sr(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Qn($n)}function lr(t,e){if("click"===t)return Qn(e)}function cr(t,e){if("input"===t||"change"===t)return Qn(e)}var ur="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},dr=Object.prototype.hasOwnProperty;function fr(t,e){if(ur(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(!dr.call(e,n[r])||!ur(t[n[r]],e[n[r]]))return!1;return!0}function pr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function hr(t,e){var n,r=pr(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=pr(r)}}function vr(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?vr(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function gr(){for(var t=window,e=Q();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=Q((t=e.contentWindow).document)}return e}function mr(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 br=d&&"documentMode"in document&&11>=document.documentMode,yr=null,xr=null,wr=null,Or=!1;function Sr(t,e,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Or||null==yr||yr!==Q(r)||("selectionStart"in(r=yr)&&mr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},wr&&fr(wr,r)||(wr=r,0<(r=Lr(xr,"onSelect")).length&&(e=new pn("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=yr)))}Ie("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Ie("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Ie(De,2);for(var jr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cr=0;Cr<jr.length;Cr++)Re.set(jr[Cr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var kr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Er=new Set("cancel close invalid load scroll toggle".split(" ").concat(kr));function Pr(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,function(t,e,n,r,o,i,s,l,c){if(Kt.apply(this,arguments),Wt){if(!Wt)throw Error(a(198));var u=qt;Wt=!1,qt=null,Gt||(Gt=!0,Yt=u)}}(r,e,void 0,t),t.currentTarget=null}function _r(t,e){e=0!==(4&e);for(var n=0;n<t.length;n++){var r=t[n],o=r.event;r=r.listeners;t:{var i=void 0;if(e)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break t;Pr(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break t;Pr(o,s,c),i=l}}}if(Gt)throw t=Yt,Gt=!1,Yt=null,t}function Mr(t,e){var n=ao(e),r=t+"__bubble";n.has(r)||(Dr(e,t,2,!1),n.add(r))}var Tr="_reactListening"+Math.random().toString(36).slice(2);function Ar(t){t[Tr]||(t[Tr]=!0,s.forEach((function(e){Er.has(e)||Rr(e,!1,t,null),Rr(e,!0,t,null)})))}function Rr(t,e,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===t&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!e&&Er.has(t)){if("scroll"!==t)return;o|=2,i=r}var a=ao(i),s=t+"__"+(e?"capture":"bubble");a.has(s)||(e&&(o|=4),Dr(i,t,o,e),a.add(s))}function Dr(t,e,n,r){var o=Re.get(e);switch(void 0===o?2:o){case 0:o=$e;break;case 1:o=Ze;break;default:o=Qe}n=o.bind(null,e,n,t),o=void 0,!Ht||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(o=!0),r?void 0!==o?t.addEventListener(e,n,{capture:!0,passive:o}):t.addEventListener(e,n,!0):void 0!==o?t.addEventListener(e,n,{passive:o}):t.addEventListener(e,n,!1)}function Ir(t,e,n,r,o){var i=r;if(0===(1&e)&&0===(2&e)&&null!==r)t:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=no(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue t}s=s.parentNode}}r=r.return}!function(t,e,n){if(Ft)return t(e,n);Ft=!0;try{Nt(t,e,n)}finally{Ft=!1,Bt()}}((function(){var r=i,o=kt(n),a=[];t:{var s=Ae.get(t);if(void 0!==s){var l=pn,c=t;switch(t){case"keypress":if(0===on(n))break t;case"keydown":case"keyup":l=Mn;break;case"focusin":c="focus",l=yn;break;case"focusout":c="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=bn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=An;break;case Pe:case _e:case Me:l=xn;break;case Te:l=Rn;break;case"scroll":l=vn;break;case"wheel":l=In;break;case"copy":case"cut":case"paste":l=On;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var u=0!==(4&e),d=!u&&"scroll"===t,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==f&&(null!=(v=zt(h,f))&&u.push(Nr(h,v,p)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0===(7&e)){if(l="mouseout"===t||"pointerout"===t,(!(s="mouseover"===t||"pointerover"===t)||0!==(16&e)||!(c=n.relatedTarget||n.fromElement)||!no(c)&&!c[to])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?no(c):null)&&(c!==(d=$t(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=mn,v="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==t&&"pointerover"!==t||(u=Tn,v="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:oo(l),p=null==c?s:oo(c),(s=new u(v,h+"leave",l,n,o)).target=d,s.relatedTarget=p,v=null,no(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,v=u),d=v,l&&c)t:{for(f=c,h=0,p=u=l;p;p=Fr(p))h++;for(p=0,v=f;v;v=Fr(v))p++;for(;0<h-p;)u=Fr(u),h--;for(;0<p-h;)f=Fr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break t;u=Fr(u),f=Fr(f)}u=null}else u=null;null!==l&&Br(a,s,l,u,!1),null!==c&&null!==d&&Br(a,d,c,u,!0)}if("select"===(l=(s=r?oo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Jn;else if(Yn(s))if(tr)g=cr;else{g=sr;var m=ar}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=lr);switch(g&&(g=g(t,r))?Xn(a,g,n,o):(m&&m(t,s,r),"focusout"===t&&(m=s._wrapperState)&&m.controlled&&"number"===s.type&&ot(s,"number",s.value)),m=r?oo(r):window,t){case"focusin":(Yn(m)||"true"===m.contentEditable)&&(yr=m,xr=r,wr=null);break;case"focusout":wr=xr=yr=null;break;case"mousedown":Or=!0;break;case"contextmenu":case"mouseup":case"dragend":Or=!1,Sr(a,n,o);break;case"selectionchange":if(br)break;case"keydown":case"keyup":Sr(a,n,o)}var b;if(Ln)t:{switch(t){case"compositionstart":var y="onCompositionStart";break t;case"compositionend":y="onCompositionEnd";break t;case"compositionupdate":y="onCompositionUpdate";break t}y=void 0}else qn?Un(t,n)&&(y="onCompositionEnd"):"keydown"===t&&229===n.keyCode&&(y="onCompositionStart");y&&(zn&&"ko"!==n.locale&&(qn||"onCompositionStart"!==y?"onCompositionEnd"===y&&qn&&(b=rn()):(en="value"in(tn=o)?tn.value:tn.textContent,qn=!0)),0<(m=Lr(r,y)).length&&(y=new Sn(y,t,null,n,o),a.push({event:y,listeners:m}),b?y.data=b:null!==(b=Wn(n))&&(y.data=b))),(b=Bn?function(t,e){switch(t){case"compositionend":return Wn(e);case"keypress":return 32!==e.which?null:(Vn=!0,Hn);case"textInput":return(t=e.data)===Hn&&Vn?null:t;default:return null}}(t,n):function(t,e){if(qn)return"compositionend"===t||!Ln&&Un(t,e)?(t=rn(),nn=en=tn=null,qn=!1,t):null;switch(t){case"paste":default: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 zn&&"ko"!==e.locale?null:e.data}}(t,n))&&(0<(r=Lr(r,"onBeforeInput")).length&&(o=new Sn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b))}_r(a,e)}))}function Nr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Lr(t,e){for(var n=e+"Capture",r=[];null!==t;){var o=t,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=zt(t,n))&&r.unshift(Nr(t,i,o)),null!=(i=zt(t,e))&&r.push(Nr(t,i,o))),t=t.return}return r}function Fr(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag);return t||null}function Br(t,e,n,r,o){for(var i=e._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=zt(n,i))&&a.unshift(Nr(n,l,s)):o||null!=(l=zt(n,i))&&a.push(Nr(n,l,s))),n=n.return}0!==a.length&&t.push({event:e,listeners:a})}function zr(){}var Hr=null,Vr=null;function Ur(t,e){switch(t){case"button":case"input":case"select":case"textarea":return!!e.autoFocus}return!1}function Wr(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 qr="function"===typeof setTimeout?setTimeout:void 0,Gr="function"===typeof clearTimeout?clearTimeout:void 0;function Yr(t){1===t.nodeType?t.textContent="":9===t.nodeType&&(null!=(t=t.body)&&(t.textContent=""))}function Xr(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break}return t}function Kr(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}var $r=0;var Zr=Math.random().toString(36).slice(2),Qr="__reactFiber$"+Zr,Jr="__reactProps$"+Zr,to="__reactContainer$"+Zr,eo="__reactEvents$"+Zr;function no(t){var e=t[Qr];if(e)return e;for(var n=t.parentNode;n;){if(e=n[to]||n[Qr]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=Kr(t);null!==t;){if(n=t[Qr])return n;t=Kr(t)}return e}n=(t=n).parentNode}return null}function ro(t){return!(t=t[Qr]||t[to])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function oo(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function io(t){return t[Jr]||null}function ao(t){var e=t[eo];return void 0===e&&(e=t[eo]=new Set),e}var so=[],lo=-1;function co(t){return{current:t}}function uo(t){0>lo||(t.current=so[lo],so[lo]=null,lo--)}function fo(t,e){lo++,so[lo]=t.current,t.current=e}var po={},ho=co(po),vo=co(!1),go=po;function mo(t,e){var n=t.type.contextTypes;if(!n)return po;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=e[o];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function bo(t){return null!==(t=t.childContextTypes)&&void 0!==t}function yo(){uo(vo),uo(ho)}function xo(t,e,n){if(ho.current!==po)throw Error(a(168));fo(ho,e),fo(vo,n)}function wo(t,e,n){var r=t.stateNode;if(t=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(a(108,Y(e)||"Unknown",i));return o({},n,r)}function Oo(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||po,go=ho.current,fo(ho,t),fo(vo,vo.current),!0}function So(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=wo(t,e,go),r.__reactInternalMemoizedMergedChildContext=t,uo(vo),uo(ho),fo(ho,t)):uo(vo),fo(vo,n)}var jo=null,Co=null,ko=i.unstable_runWithPriority,Eo=i.unstable_scheduleCallback,Po=i.unstable_cancelCallback,_o=i.unstable_shouldYield,Mo=i.unstable_requestPaint,To=i.unstable_now,Ao=i.unstable_getCurrentPriorityLevel,Ro=i.unstable_ImmediatePriority,Do=i.unstable_UserBlockingPriority,Io=i.unstable_NormalPriority,No=i.unstable_LowPriority,Lo=i.unstable_IdlePriority,Fo={},Bo=void 0!==Mo?Mo:function(){},zo=null,Ho=null,Vo=!1,Uo=To(),Wo=1e4>Uo?To:function(){return To()-Uo};function qo(){switch(Ao()){case Ro:return 99;case Do:return 98;case Io:return 97;case No:return 96;case Lo:return 95;default:throw Error(a(332))}}function Go(t){switch(t){case 99:return Ro;case 98:return Do;case 97:return Io;case 96:return No;case 95:return Lo;default:throw Error(a(332))}}function Yo(t,e){return t=Go(t),ko(t,e)}function Xo(t,e,n){return t=Go(t),Eo(t,e,n)}function Ko(){if(null!==Ho){var t=Ho;Ho=null,Po(t)}$o()}function $o(){if(!Vo&&null!==zo){Vo=!0;var t=0;try{var e=zo;Yo(99,(function(){for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}})),zo=null}catch(n){throw null!==zo&&(zo=zo.slice(t+1)),Eo(Ro,Ko),n}finally{Vo=!1}}}var Zo=w.ReactCurrentBatchConfig;function Qo(t,e){if(t&&t.defaultProps){for(var n in e=o({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}return e}var Jo=co(null),ti=null,ei=null,ni=null;function ri(){ni=ei=ti=null}function oi(t){var e=Jo.current;uo(Jo),t.type._context._currentValue=e}function ii(t,e){for(;null!==t;){var n=t.alternate;if((t.childLanes&e)===e){if(null===n||(n.childLanes&e)===e)break;n.childLanes|=e}else t.childLanes|=e,null!==n&&(n.childLanes|=e);t=t.return}}function ai(t,e){ti=t,ni=ei=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(0!==(t.lanes&e)&&(La=!0),t.firstContext=null)}function si(t,e){if(ni!==t&&!1!==e&&0!==e)if("number"===typeof e&&1073741823!==e||(ni=t,e=1073741823),e={context:t,observedBits:e,next:null},null===ei){if(null===ti)throw Error(a(308));ei=e,ti.dependencies={lanes:0,firstContext:e,responders:null}}else ei=ei.next=e;return t._currentValue}var li=!1;function ci(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ui(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function di(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function fi(t,e){if(null!==(t=t.updateQueue)){var n=(t=t.shared).pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}}function pi(t,e){var n=t.updateQueue,r=t.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=e:i=i.next=e}else o=i=e;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(t.updateQueue=n)}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function hi(t,e,n,r){var i=t.updateQueue;li=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=t.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==s&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(f=i.baseState,s=0,d=u=c=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});t:{var h=t,v=a;switch(l=e,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){f=h.call(p,f,l);break t}f=h;break t;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(l="function"===typeof(h=v.payload)?h.call(p,f,l):h)||void 0===l)break t;f=o({},f,l);break t;case 2:li=!0}}null!==a.callback&&(t.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=p,c=f):d=d.next=p,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===d&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,Hs|=s,t.lanes=s,t.memoizedState=f}}function vi(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var gi=(new r.Component).refs;function mi(t,e,n,r){n=null===(n=n(r,e=t.memoizedState))||void 0===n?e:o({},e,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var bi={isMounted:function(t){return!!(t=t._reactInternals)&&$t(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=fl(),o=pl(t),i=di(r,o);i.payload=e,void 0!==n&&null!==n&&(i.callback=n),fi(t,i),hl(t,o,r)},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=fl(),o=pl(t),i=di(r,o);i.tag=1,i.payload=e,void 0!==n&&null!==n&&(i.callback=n),fi(t,i),hl(t,o,r)},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=fl(),r=pl(t),o=di(n,r);o.tag=2,void 0!==e&&null!==e&&(o.callback=e),fi(t,o),hl(t,r,n)}};function yi(t,e,n,r,o,i,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,i,a):!e.prototype||!e.prototype.isPureReactComponent||(!fr(n,r)||!fr(o,i))}function xi(t,e,n){var r=!1,o=po,i=e.contextType;return"object"===typeof i&&null!==i?i=si(i):(o=bo(e)?go:ho.current,i=(r=null!==(r=e.contextTypes)&&void 0!==r)?mo(t,o):po),e=new e(n,i),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=bi,t.stateNode=e,e._reactInternals=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,t.__reactInternalMemoizedMaskedChildContext=i),e}function wi(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&&bi.enqueueReplaceState(e,e.state,null)}function Oi(t,e,n,r){var o=t.stateNode;o.props=n,o.state=t.memoizedState,o.refs=gi,ci(t);var i=e.contextType;"object"===typeof i&&null!==i?o.context=si(i):(i=bo(e)?go:ho.current,o.context=mo(t,i)),hi(t,n,o,r),o.state=t.memoizedState,"function"===typeof(i=e.getDerivedStateFromProps)&&(mi(t,e,i,n),o.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(e=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),e!==o.state&&bi.enqueueReplaceState(o,o.state,null),hi(t,n,o,r),o.state=t.memoizedState),"function"===typeof o.componentDidMount&&(t.flags|=4)}var Si=Array.isArray;function ji(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 o=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===o?e.ref:(e=function(t){var e=r.refs;e===gi&&(e=r.refs={}),null===t?delete e[o]:e[o]=t},e._stringRef=o,e)}if("string"!==typeof t)throw Error(a(284));if(!n._owner)throw Error(a(290,t))}return t}function Ci(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 ki(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.flags=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 o(t,e){return(t=Gl(t,e)).index=0,t.sibling=null,t}function i(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.flags=2,n):r:(e.flags=2,n):n}function s(e){return t&&null===e.alternate&&(e.flags=2),e}function l(t,e,n,r){return null===e||6!==e.tag?((e=$l(n,t.mode,r)).return=t,e):((e=o(e,n)).return=t,e)}function c(t,e,n,r){return null!==e&&e.elementType===n.type?((r=o(e,n.props)).ref=ji(t,e,n),r.return=t,r):((r=Yl(n.type,n.key,n.props,null,t.mode,r)).ref=ji(t,e,n),r.return=t,r)}function u(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=Zl(n,t.mode,r)).return=t,e):((e=o(e,n.children||[])).return=t,e)}function d(t,e,n,r,i){return null===e||7!==e.tag?((e=Xl(n,t.mode,r,i)).return=t,e):((e=o(e,n)).return=t,e)}function f(t,e,n){if("string"===typeof e||"number"===typeof e)return(e=$l(""+e,t.mode,n)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case O:return(n=Yl(e.type,e.key,e.props,null,t.mode,n)).ref=ji(t,null,e),n.return=t,n;case S:return(e=Zl(e,t.mode,n)).return=t,e}if(Si(e)||V(e))return(e=Xl(e,t.mode,n,null)).return=t,e;Ci(t,e)}return null}function p(t,e,n,r){var o=null!==e?e.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:l(t,e,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case O:return n.key===o?n.type===j?d(t,e,n.props.children,r,o):c(t,e,n,r):null;case S:return n.key===o?u(t,e,n,r):null}if(Si(n)||V(n))return null!==o?null:d(t,e,n,r,null);Ci(t,n)}return null}function h(t,e,n,r,o){if("string"===typeof r||"number"===typeof r)return l(e,t=t.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case O:return t=t.get(null===r.key?n:r.key)||null,r.type===j?d(e,t,r.props.children,o,r.key):c(e,t,r,o);case S:return u(e,t=t.get(null===r.key?n:r.key)||null,r,o)}if(Si(r)||V(r))return d(e,t=t.get(n)||null,r,o,null);Ci(e,r)}return null}function v(o,a,s,l){for(var c=null,u=null,d=a,v=a=0,g=null;null!==d&&v<s.length;v++){d.index>v?(g=d,d=null):g=d.sibling;var m=p(o,d,s[v],l);if(null===m){null===d&&(d=g);break}t&&d&&null===m.alternate&&e(o,d),a=i(m,a,v),null===u?c=m:u.sibling=m,u=m,d=g}if(v===s.length)return n(o,d),c;if(null===d){for(;v<s.length;v++)null!==(d=f(o,s[v],l))&&(a=i(d,a,v),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(o,d);v<s.length;v++)null!==(g=h(d,o,v,s[v],l))&&(t&&null!==g.alternate&&d.delete(null===g.key?v:g.key),a=i(g,a,v),null===u?c=g:u.sibling=g,u=g);return t&&d.forEach((function(t){return e(o,t)})),c}function g(o,s,l,c){var u=V(l);if("function"!==typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,v=s,g=s=0,m=null,b=l.next();null!==v&&!b.done;g++,b=l.next()){v.index>g?(m=v,v=null):m=v.sibling;var y=p(o,v,b.value,c);if(null===y){null===v&&(v=m);break}t&&v&&null===y.alternate&&e(o,v),s=i(y,s,g),null===d?u=y:d.sibling=y,d=y,v=m}if(b.done)return n(o,v),u;if(null===v){for(;!b.done;g++,b=l.next())null!==(b=f(o,b.value,c))&&(s=i(b,s,g),null===d?u=b:d.sibling=b,d=b);return u}for(v=r(o,v);!b.done;g++,b=l.next())null!==(b=h(v,o,g,b.value,c))&&(t&&null!==b.alternate&&v.delete(null===b.key?g:b.key),s=i(b,s,g),null===d?u=b:d.sibling=b,d=b);return t&&v.forEach((function(t){return e(o,t)})),u}return function(t,r,i,l){var c="object"===typeof i&&null!==i&&i.type===j&&null===i.key;c&&(i=i.props.children);var u="object"===typeof i&&null!==i;if(u)switch(i.$$typeof){case O:t:{for(u=i.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===j){n(t,c.sibling),(r=o(c,i.props.children)).return=t,t=r;break t}}else if(c.elementType===i.type){n(t,c.sibling),(r=o(c,i.props)).ref=ji(t,c,i),r.return=t,t=r;break t}n(t,c);break}e(t,c),c=c.sibling}i.type===j?((r=Xl(i.props.children,t.mode,l,i.key)).return=t,t=r):((l=Yl(i.type,i.key,i.props,null,t.mode,l)).ref=ji(t,r,i),l.return=t,t=l)}return s(t);case S:t:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(t,r.sibling),(r=o(r,i.children||[])).return=t,t=r;break t}n(t,r);break}e(t,r),r=r.sibling}(r=Zl(i,t.mode,l)).return=t,t=r}return s(t)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(t,r.sibling),(r=o(r,i)).return=t,t=r):(n(t,r),(r=$l(i,t.mode,l)).return=t,t=r),s(t);if(Si(i))return v(t,r,i,l);if(V(i))return g(t,r,i,l);if(u&&Ci(t,i),"undefined"===typeof i&&!c)switch(t.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Y(t.type)||"Component"))}return n(t,r)}}var Ei=ki(!0),Pi=ki(!1),_i={},Mi=co(_i),Ti=co(_i),Ai=co(_i);function Ri(t){if(t===_i)throw Error(a(174));return t}function Di(t,e){switch(fo(Ai,e),fo(Ti,t),fo(Mi,_i),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:ht(null,"");break;default:e=ht(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}uo(Mi),fo(Mi,e)}function Ii(){uo(Mi),uo(Ti),uo(Ai)}function Ni(t){Ri(Ai.current);var e=Ri(Mi.current),n=ht(e,t.type);e!==n&&(fo(Ti,t),fo(Mi,n))}function Li(t){Ti.current===t&&(uo(Mi),uo(Ti))}var Fi=co(0);function Bi(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.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(64&e.flags))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}var zi=null,Hi=null,Vi=!1;function Ui(t,e){var n=Wl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=e,n.return=t,n.flags=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function Wi(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);default:return!1}}function qi(t){if(Vi){var e=Hi;if(e){var n=e;if(!Wi(t,e)){if(!(e=Xr(n.nextSibling))||!Wi(t,e))return t.flags=-1025&t.flags|2,Vi=!1,void(zi=t);Ui(zi,n)}zi=t,Hi=Xr(e.firstChild)}else t.flags=-1025&t.flags|2,Vi=!1,zi=t}}function Gi(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;zi=t}function Yi(t){if(t!==zi)return!1;if(!Vi)return Gi(t),Vi=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!Wr(e,t.memoizedProps))for(e=Hi;e;)Ui(t,e),e=Xr(e.nextSibling);if(Gi(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){if(0===e){Hi=Xr(t.nextSibling);break t}e--}else"$"!==n&&"$!"!==n&&"$?"!==n||e++}t=t.nextSibling}Hi=null}}else Hi=zi?Xr(t.stateNode.nextSibling):null;return!0}function Xi(){Hi=zi=null,Vi=!1}var Ki=[];function $i(){for(var t=0;t<Ki.length;t++)Ki[t]._workInProgressVersionPrimary=null;Ki.length=0}var Zi=w.ReactCurrentDispatcher,Qi=w.ReactCurrentBatchConfig,Ji=0,ta=null,ea=null,na=null,ra=!1,oa=!1;function ia(){throw Error(a(321))}function aa(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!ur(t[n],e[n]))return!1;return!0}function sa(t,e,n,r,o,i){if(Ji=i,ta=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Zi.current=null===t||null===t.memoizedState?Ra:Da,t=n(r,o),oa){i=0;do{if(oa=!1,!(25>i))throw Error(a(301));i+=1,na=ea=null,e.updateQueue=null,Zi.current=Ia,t=n(r,o)}while(oa)}if(Zi.current=Aa,e=null!==ea&&null!==ea.next,Ji=0,na=ea=ta=null,ra=!1,e)throw Error(a(300));return t}function la(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ta.memoizedState=na=t:na=na.next=t,na}function ca(){if(null===ea){var t=ta.alternate;t=null!==t?t.memoizedState:null}else t=ea.next;var e=null===na?ta.memoizedState:na.next;if(null!==e)na=e,ea=t;else{if(null===t)throw Error(a(310));t={memoizedState:(ea=t).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===na?ta.memoizedState=na=t:na=na.next=t}return na}function ua(t,e){return"function"===typeof e?e(t):e}function da(t){var e=ca(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=ea,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=s=i=null,c=o;do{var u=c.lane;if((Ji&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===t?c.eagerState:t(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,i=r):l=l.next=d,ta.lanes|=u,Hs|=u}c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=s,ur(r,e.memoizedState)||(La=!0),e.memoizedState=r,e.baseState=i,e.baseQueue=l,n.lastRenderedState=r}return[e.memoizedState,n.dispatch]}function fa(t){var e=ca(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,o=n.pending,i=e.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=t(i,s.action),s=s.next}while(s!==o);ur(i,e.memoizedState)||(La=!0),e.memoizedState=i,null===e.baseQueue&&(e.baseState=i),n.lastRenderedState=i}return[i,r]}function pa(t,e,n){var r=e._getVersion;r=r(e._source);var o=e._workInProgressVersionPrimary;if(null!==o?t=o===r:(t=t.mutableReadLanes,(t=(Ji&t)===t)&&(e._workInProgressVersionPrimary=r,Ki.push(e))),t)return n(e._source);throw Ki.push(e),Error(a(350))}function ha(t,e,n,r){var o=Rs;if(null===o)throw Error(a(349));var i=e._getVersion,s=i(e._source),l=Zi.current,c=l.useState((function(){return pa(o,e,n)})),u=c[1],d=c[0];c=na;var f=t.memoizedState,p=f.refs,h=p.getSnapshot,v=f.source;f=f.subscribe;var g=ta;return t.memoizedState={refs:p,source:e,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var t=i(e._source);if(!ur(s,t)){t=n(e._source),ur(d,t)||(u(t),t=pl(g),o.mutableReadLanes|=t&o.pendingLanes),t=o.mutableReadLanes,o.entangledLanes|=t;for(var r=o.entanglements,a=t;0<a;){var l=31-We(a),c=1<<l;r[l]|=t,a&=~c}}}),[n,e,r]),l.useEffect((function(){return r(e._source,(function(){var t=p.getSnapshot,n=p.setSnapshot;try{n(t(e._source));var r=pl(g);o.mutableReadLanes|=r&o.pendingLanes}catch(i){n((function(){throw i}))}}))}),[e,r]),ur(h,n)&&ur(v,e)&&ur(f,r)||((t={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:d}).dispatch=u=Ta.bind(null,ta,t),c.queue=t,c.baseQueue=null,d=pa(o,e,n),c.memoizedState=c.baseState=d),d}function va(t,e,n){return ha(ca(),t,e,n)}function ga(t){var e=la();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t=(t=e.queue={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:t}).dispatch=Ta.bind(null,ta,t),[e.memoizedState,t]}function ma(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=ta.updateQueue)?(e={lastEffect:null},ta.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function ba(t){return t={current:t},la().memoizedState=t}function ya(){return ca().memoizedState}function xa(t,e,n,r){var o=la();ta.flags|=t,o.memoizedState=ma(1|e,n,void 0,void 0===r?null:r)}function wa(t,e,n,r){var o=ca();r=void 0===r?null:r;var i=void 0;if(null!==ea){var a=ea.memoizedState;if(i=a.destroy,null!==r&&aa(r,a.deps))return void ma(e,n,i,r)}ta.flags|=t,o.memoizedState=ma(1|e,n,i,r)}function Oa(t,e){return xa(516,4,t,e)}function Sa(t,e){return wa(516,4,t,e)}function ja(t,e){return wa(4,2,t,e)}function Ca(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function ka(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,wa(4,2,Ca.bind(null,e,t),n)}function Ea(){}function Pa(t,e){var n=ca();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&aa(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function _a(t,e){var n=ca();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&aa(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Ma(t,e){var n=qo();Yo(98>n?98:n,(function(){t(!0)})),Yo(97<n?97:n,(function(){var n=Qi.transition;Qi.transition=1;try{t(!1),e()}finally{Qi.transition=n}}))}function Ta(t,e,n){var r=fl(),o=pl(t),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=e.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),e.pending=i,a=t.alternate,t===ta||null!==a&&a===ta)oa=ra=!0;else{if(0===t.lanes&&(null===a||0===a.lanes)&&null!==(a=e.lastRenderedReducer))try{var s=e.lastRenderedState,l=a(s,n);if(i.eagerReducer=a,i.eagerState=l,ur(l,s))return}catch(c){}hl(t,o,r)}}var Aa={readContext:si,useCallback:ia,useContext:ia,useEffect:ia,useImperativeHandle:ia,useLayoutEffect:ia,useMemo:ia,useReducer:ia,useRef:ia,useState:ia,useDebugValue:ia,useDeferredValue:ia,useTransition:ia,useMutableSource:ia,useOpaqueIdentifier:ia,unstable_isNewReconciler:!1},Ra={readContext:si,useCallback:function(t,e){return la().memoizedState=[t,void 0===e?null:e],t},useContext:si,useEffect:Oa,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,xa(4,2,Ca.bind(null,e,t),n)},useLayoutEffect:function(t,e){return xa(4,2,t,e)},useMemo:function(t,e){var n=la();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=la();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t=(t=r.queue={pending:null,dispatch:null,lastRenderedReducer:t,lastRenderedState:e}).dispatch=Ta.bind(null,ta,t),[r.memoizedState,t]},useRef:ba,useState:ga,useDebugValue:Ea,useDeferredValue:function(t){var e=ga(t),n=e[0],r=e[1];return Oa((function(){var e=Qi.transition;Qi.transition=1;try{r(t)}finally{Qi.transition=e}}),[t]),n},useTransition:function(){var t=ga(!1),e=t[0];return ba(t=Ma.bind(null,t[1])),[t,e]},useMutableSource:function(t,e,n){var r=la();return r.memoizedState={refs:{getSnapshot:e,setSnapshot:null},source:t,subscribe:n},ha(r,t,e,n)},useOpaqueIdentifier:function(){if(Vi){var t=!1,e=function(t){return{$$typeof:I,toString:t,valueOf:t}}((function(){throw t||(t=!0,n("r:"+($r++).toString(36))),Error(a(355))})),n=ga(e)[1];return 0===(2&ta.mode)&&(ta.flags|=516,ma(5,(function(){n("r:"+($r++).toString(36))}),void 0,null)),e}return ga(e="r:"+($r++).toString(36)),e},unstable_isNewReconciler:!1},Da={readContext:si,useCallback:Pa,useContext:si,useEffect:Sa,useImperativeHandle:ka,useLayoutEffect:ja,useMemo:_a,useReducer:da,useRef:ya,useState:function(){return da(ua)},useDebugValue:Ea,useDeferredValue:function(t){var e=da(ua),n=e[0],r=e[1];return Sa((function(){var e=Qi.transition;Qi.transition=1;try{r(t)}finally{Qi.transition=e}}),[t]),n},useTransition:function(){var t=da(ua)[0];return[ya().current,t]},useMutableSource:va,useOpaqueIdentifier:function(){return da(ua)[0]},unstable_isNewReconciler:!1},Ia={readContext:si,useCallback:Pa,useContext:si,useEffect:Sa,useImperativeHandle:ka,useLayoutEffect:ja,useMemo:_a,useReducer:fa,useRef:ya,useState:function(){return fa(ua)},useDebugValue:Ea,useDeferredValue:function(t){var e=fa(ua),n=e[0],r=e[1];return Sa((function(){var e=Qi.transition;Qi.transition=1;try{r(t)}finally{Qi.transition=e}}),[t]),n},useTransition:function(){var t=fa(ua)[0];return[ya().current,t]},useMutableSource:va,useOpaqueIdentifier:function(){return fa(ua)[0]},unstable_isNewReconciler:!1},Na=w.ReactCurrentOwner,La=!1;function Fa(t,e,n,r){e.child=null===t?Pi(e,null,n,r):Ei(e,t.child,n,r)}function Ba(t,e,n,r,o){n=n.render;var i=e.ref;return ai(e,o),r=sa(t,e,n,r,i,o),null===t||La?(e.flags|=1,Fa(t,e,r,o),e.child):(e.updateQueue=t.updateQueue,e.flags&=-517,t.lanes&=~o,is(t,e,o))}function za(t,e,n,r,o,i){if(null===t){var a=n.type;return"function"!==typeof a||ql(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Yl(n.type,null,r,e,e.mode,i)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Ha(t,e,a,r,o,i))}return a=t.child,0===(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:fr)(o,r)&&t.ref===e.ref)?is(t,e,i):(e.flags|=1,(t=Gl(a,r)).ref=e.ref,t.return=e,e.child=t)}function Ha(t,e,n,r,o,i){if(null!==t&&fr(t.memoizedProps,r)&&t.ref===e.ref){if(La=!1,0===(i&o))return e.lanes=t.lanes,is(t,e,i);0!==(16384&t.flags)&&(La=!0)}return Wa(t,e,n,r,i)}function Va(t,e,n){var r=e.pendingProps,o=r.children,i=null!==t?t.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&e.mode))e.memoizedState={baseLanes:0},Ol(e,n);else{if(0===(1073741824&n))return t=null!==i?i.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t},Ol(e,t),null;e.memoizedState={baseLanes:0},Ol(e,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,e.memoizedState=null):r=n,Ol(e,r);return Fa(t,e,o,n),e.child}function Ua(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.flags|=128)}function Wa(t,e,n,r,o){var i=bo(n)?go:ho.current;return i=mo(e,i),ai(e,o),n=sa(t,e,n,r,i,o),null===t||La?(e.flags|=1,Fa(t,e,n,o),e.child):(e.updateQueue=t.updateQueue,e.flags&=-517,t.lanes&=~o,is(t,e,o))}function qa(t,e,n,r,o){if(bo(n)){var i=!0;Oo(e)}else i=!1;if(ai(e,o),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),xi(e,n,r),Oi(e,n,r,o),r=!0;else if(null===t){var a=e.stateNode,s=e.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=si(c):c=mo(e,c=bo(n)?go:ho.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&wi(e,a,r,c),li=!1;var f=e.memoizedState;a.state=f,hi(e,r,a,o),l=e.memoizedState,s!==r||f!==l||vo.current||li?("function"===typeof u&&(mi(e,n,u,r),l=e.memoizedState),(s=li||yi(e,n,s,r,f,l,c))?(d||"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.flags|=4)):("function"===typeof a.componentDidMount&&(e.flags|=4),e.memoizedProps=r,e.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(e.flags|=4),r=!1)}else{a=e.stateNode,ui(t,e),s=e.memoizedProps,c=e.type===e.elementType?s:Qo(e.type,s),a.props=c,d=e.pendingProps,f=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=si(l):l=mo(e,l=bo(n)?go:ho.current);var p=n.getDerivedStateFromProps;(u="function"===typeof p||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||f!==l)&&wi(e,a,r,l),li=!1,f=e.memoizedState,a.state=f,hi(e,r,a,o);var h=e.memoizedState;s!==d||f!==h||vo.current||li?("function"===typeof p&&(mi(e,n,p,r),h=e.memoizedState),(c=li||yi(e,n,c,r,f,h,l))?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(e.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.flags|=256)):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=256),e.memoizedProps=r,e.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=256),r=!1)}return Ga(t,e,n,r,i,o)}function Ga(t,e,n,r,o,i){Ua(t,e);var a=0!==(64&e.flags);if(!r&&!a)return o&&So(e,n,!1),is(t,e,i);r=e.stateNode,Na.current=e;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return e.flags|=1,null!==t&&a?(e.child=Ei(e,t.child,null,i),e.child=Ei(e,null,s,i)):Fa(t,e,s,i),e.memoizedState=r.state,o&&So(e,n,!0),e.child}function Ya(t){var e=t.stateNode;e.pendingContext?xo(0,e.pendingContext,e.pendingContext!==e.context):e.context&&xo(0,e.context,!1),Di(t,e.containerInfo)}var Xa,Ka,$a,Za={dehydrated:null,retryLane:0};function Qa(t,e,n){var r,o=e.pendingProps,i=Fi.current,a=!1;return(r=0!==(64&e.flags))||(r=(null===t||null!==t.memoizedState)&&0!==(2&i)),r?(a=!0,e.flags&=-65):null!==t&&null===t.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),fo(Fi,1&i),null===t?(void 0!==o.fallback&&qi(e),t=o.children,i=o.fallback,a?(t=Ja(e,t,i,n),e.child.memoizedState={baseLanes:n},e.memoizedState=Za,t):"number"===typeof o.unstable_expectedLoadTime?(t=Ja(e,t,i,n),e.child.memoizedState={baseLanes:n},e.memoizedState=Za,e.lanes=33554432,t):((n=Kl({mode:"visible",children:t},e.mode,n,null)).return=e,e.child=n)):(t.memoizedState,a?(o=es(t,e,o.children,o.fallback,n),a=e.child,i=t.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=t.childLanes&~n,e.memoizedState=Za,o):(n=ts(t,e,o.children,n),e.memoizedState=null,n))}function Ja(t,e,n,r){var o=t.mode,i=t.child;return e={mode:"hidden",children:e},0===(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=e):i=Kl(e,o,0,null),n=Xl(n,o,r,null),i.return=t,n.return=t,i.sibling=n,t.child=i,n}function ts(t,e,n,r){var o=t.child;return t=o.sibling,n=Gl(o,{mode:"visible",children:n}),0===(2&e.mode)&&(n.lanes=r),n.return=e,n.sibling=null,null!==t&&(t.nextEffect=null,t.flags=8,e.firstEffect=e.lastEffect=t),e.child=n}function es(t,e,n,r,o){var i=e.mode,a=t.child;t=a.sibling;var s={mode:"hidden",children:n};return 0===(2&i)&&e.child!==a?((n=e.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(e.firstEffect=n.firstEffect,e.lastEffect=a,a.nextEffect=null):e.firstEffect=e.lastEffect=null):n=Gl(a,s),null!==t?r=Gl(t,r):(r=Xl(r,i,o,null)).flags|=2,r.return=e,n.return=e,n.sibling=r,e.child=n,r}function ns(t,e){t.lanes|=e;var n=t.alternate;null!==n&&(n.lanes|=e),ii(t.return,e)}function rs(t,e,n,r,o,i){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function os(t,e,n){var r=e.pendingProps,o=r.revealOrder,i=r.tail;if(Fa(t,e,r.children,n),0!==(2&(r=Fi.current)))r=1&r|2,e.flags|=64;else{if(null!==t&&0!==(64&t.flags))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&ns(t,n);else if(19===t.tag)ns(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(fo(Fi,r),0===(2&e.mode))e.memoizedState=null;else switch(o){case"forwards":for(n=e.child,o=null;null!==n;)null!==(t=n.alternate)&&null===Bi(t)&&(o=n),n=n.sibling;null===(n=o)?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),rs(e,!1,o,n,i,e.lastEffect);break;case"backwards":for(n=null,o=e.child,e.child=null;null!==o;){if(null!==(t=o.alternate)&&null===Bi(t)){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}rs(e,!0,n,null,i,e.lastEffect);break;case"together":rs(e,!1,null,null,void 0,e.lastEffect);break;default:e.memoizedState=null}return e.child}function is(t,e,n){if(null!==t&&(e.dependencies=t.dependencies),Hs|=e.lanes,0!==(n&e.childLanes)){if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(n=Gl(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Gl(t,t.pendingProps)).return=e;n.sibling=null}return e.child}return null}function as(t,e){if(!Vi)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 ss(t,e,n){var r=e.pendingProps;switch(e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return bo(e.type)&&yo(),null;case 3:return Ii(),uo(vo),uo(ho),$i(),(r=e.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||(Yi(e)?e.flags|=4:r.hydrate||(e.flags|=256)),null;case 5:Li(e);var i=Ri(Ai.current);if(n=e.type,null!==t&&null!=e.stateNode)Ka(t,e,n,r),t.ref!==e.ref&&(e.flags|=128);else{if(!r){if(null===e.stateNode)throw Error(a(166));return null}if(t=Ri(Mi.current),Yi(e)){r=e.stateNode,n=e.type;var s=e.memoizedProps;switch(r[Qr]=e,r[Jr]=s,n){case"dialog":Mr("cancel",r),Mr("close",r);break;case"iframe":case"object":case"embed":Mr("load",r);break;case"video":case"audio":for(t=0;t<kr.length;t++)Mr(kr[t],r);break;case"source":Mr("error",r);break;case"img":case"image":case"link":Mr("error",r),Mr("load",r);break;case"details":Mr("toggle",r);break;case"input":tt(r,s),Mr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Mr("invalid",r);break;case"textarea":lt(r,s),Mr("invalid",r)}for(var c in jt(n,s),t=null,s)s.hasOwnProperty(c)&&(i=s[c],"children"===c?"string"===typeof i?r.textContent!==i&&(t=["children",i]):"number"===typeof i&&r.textContent!==""+i&&(t=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Mr("scroll",r));switch(n){case"input":$(r),rt(r,s,!0);break;case"textarea":$(r),ut(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=zr)}r=t,e.updateQueue=r,null!==r&&(e.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,t===dt&&(t=pt(n)),t===dt?"script"===n?((t=c.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof r.is?t=c.createElement(n,{is:r.is}):(t=c.createElement(n),"select"===n&&(c=t,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):t=c.createElementNS(t,n),t[Qr]=e,t[Jr]=r,Xa(t,e),e.stateNode=t,c=Ct(n,r),n){case"dialog":Mr("cancel",t),Mr("close",t),i=r;break;case"iframe":case"object":case"embed":Mr("load",t),i=r;break;case"video":case"audio":for(i=0;i<kr.length;i++)Mr(kr[i],t);i=r;break;case"source":Mr("error",t),i=r;break;case"img":case"image":case"link":Mr("error",t),Mr("load",t),i=r;break;case"details":Mr("toggle",t),i=r;break;case"input":tt(t,r),i=J(t,r),Mr("invalid",t);break;case"option":i=it(t,r);break;case"select":t._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Mr("invalid",t);break;case"textarea":lt(t,r),i=st(t,r),Mr("invalid",t);break;default:i=r}jt(n,i);var u=i;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?Ot(t,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&mt(t,d):"children"===s?"string"===typeof d?("textarea"!==n||""!==d)&&bt(t,d):"number"===typeof d&&bt(t,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Mr("scroll",t):null!=d&&x(t,s,d,c))}switch(n){case"input":$(t),rt(t,r,!1);break;case"textarea":$(t),ut(t);break;case"option":null!=r.value&&t.setAttribute("value",""+X(r.value));break;case"select":t.multiple=!!r.multiple,null!=(s=r.value)?at(t,!!r.multiple,s,!1):null!=r.defaultValue&&at(t,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(t.onclick=zr)}Ur(n,r)&&(e.flags|=4)}null!==e.ref&&(e.flags|=128)}return null;case 6:if(t&&null!=e.stateNode)$a(0,e,t.memoizedProps,r);else{if("string"!==typeof r&&null===e.stateNode)throw Error(a(166));n=Ri(Ai.current),Ri(Mi.current),Yi(e)?(r=e.stateNode,n=e.memoizedProps,r[Qr]=e,r.nodeValue!==n&&(e.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Qr]=e,e.stateNode=r)}return null;case 13:return uo(Fi),r=e.memoizedState,0!==(64&e.flags)?(e.lanes=n,e):(r=null!==r,n=!1,null===t?void 0!==e.memoizedProps.fallback&&Yi(e):n=null!==t.memoizedState,r&&!n&&0!==(2&e.mode)&&(null===t&&!0!==e.memoizedProps.unstable_avoidThisFallback||0!==(1&Fi.current)?0===Fs&&(Fs=3):(0!==Fs&&3!==Fs||(Fs=4),null===Rs||0===(134217727&Hs)&&0===(134217727&Vs)||bl(Rs,Is))),(r||n)&&(e.flags|=4),null);case 4:return Ii(),null===t&&Ar(e.stateNode.containerInfo),null;case 10:return oi(e),null;case 19:if(uo(Fi),null===(r=e.memoizedState))return null;if(s=0!==(64&e.flags),null===(c=r.rendering))if(s)as(r,!1);else{if(0!==Fs||null!==t&&0!==(64&t.flags))for(t=e.child;null!==t;){if(null!==(c=Bi(t))){for(e.flags|=64,as(r,!1),null!==(s=c.updateQueue)&&(e.updateQueue=s,e.flags|=4),null===r.lastEffect&&(e.firstEffect=null),e.lastEffect=r.lastEffect,r=n,n=e.child;null!==n;)t=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=t,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,t=c.dependencies,s.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return fo(Fi,1&Fi.current|2),e.child}t=t.sibling}null!==r.tail&&Wo()>Gs&&(e.flags|=64,s=!0,as(r,!1),e.lanes=33554432)}else{if(!s)if(null!==(t=Bi(c))){if(e.flags|=64,s=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.flags|=4),as(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Vi)return null!==(e=e.lastEffect=r.lastEffect)&&(e.nextEffect=null),null}else 2*Wo()-r.renderingStartTime>Gs&&1073741824!==n&&(e.flags|=64,s=!0,as(r,!1),e.lanes=33554432);r.isBackwards?(c.sibling=e.child,e.child=c):(null!==(n=r.last)?n.sibling=c:e.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=e.lastEffect,r.renderingStartTime=Wo(),n.sibling=null,e=Fi.current,fo(Fi,s?1&e|2:1&e),n):null;case 23:case 24:return Sl(),null!==t&&null!==t.memoizedState!==(null!==e.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(e.flags|=4),null}throw Error(a(156,e.tag))}function ls(t){switch(t.tag){case 1:bo(t.type)&&yo();var e=t.flags;return 4096&e?(t.flags=-4097&e|64,t):null;case 3:if(Ii(),uo(vo),uo(ho),$i(),0!==(64&(e=t.flags)))throw Error(a(285));return t.flags=-4097&e|64,t;case 5:return Li(t),null;case 13:return uo(Fi),4096&(e=t.flags)?(t.flags=-4097&e|64,t):null;case 19:return uo(Fi),null;case 4:return Ii(),null;case 10:return oi(t),null;case 23:case 24:return Sl(),null;default:return null}}function cs(t,e){try{var n="",r=e;do{n+=G(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:t,source:e,stack:o}}function us(t,e){try{console.error(e.value)}catch(n){setTimeout((function(){throw n}))}}Xa=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}},Ka=function(t,e,n,r){var i=t.memoizedProps;if(i!==r){t=e.stateNode,Ri(Mi.current);var a,s=null;switch(n){case"input":i=J(t,i),r=J(t,r),s=[];break;case"option":i=it(t,i),r=it(t,r),s=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),s=[];break;case"textarea":i=st(t,i),r=st(t,r),s=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(t.onclick=zr)}for(d in jt(n,r),n=null,i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var c=i[d];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=i?i[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!==typeof u&&"number"!==typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Mr("scroll",t),s||c===u||(s=[])):"object"===typeof u&&null!==u&&u.$$typeof===I?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(e.updateQueue=d)&&(e.flags|=4)}},$a=function(t,e,n,r){n!==r&&(e.flags|=4)};var ds="function"===typeof WeakMap?WeakMap:Map;function fs(t,e,n){(n=di(-1,n)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){$s||($s=!0,Zs=r),us(0,e)},n}function ps(t,e,n){(n=di(-1,n)).tag=3;var r=t.type.getDerivedStateFromError;if("function"===typeof r){var o=e.value;n.payload=function(){return us(0,e),r(o)}}var i=t.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Qs?Qs=new Set([this]):Qs.add(this),us(0,e));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:""})}),n}var hs="function"===typeof WeakSet?WeakSet:Set;function vs(t){var e=t.ref;if(null!==e)if("function"===typeof e)try{e(null)}catch(n){zl(t,n)}else e.current=null}function gs(t,e){switch(e.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&e.flags&&null!==t){var n=t.memoizedProps,r=t.memoizedState;e=(t=e.stateNode).getSnapshotBeforeUpdate(e.elementType===e.type?n:Qo(e.type,n),r),t.__reactInternalSnapshotBeforeUpdate=e}return;case 3:return void(256&e.flags&&Yr(e.stateNode.containerInfo))}throw Error(a(163))}function ms(t,e,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(e=null!==(e=n.updateQueue)?e.lastEffect:null)){t=e=e.next;do{if(3===(3&t.tag)){var r=t.create;t.destroy=r()}t=t.next}while(t!==e)}if(null!==(e=null!==(e=n.updateQueue)?e.lastEffect:null)){t=e=e.next;do{var o=t;r=o.next,0!==(4&(o=o.tag))&&0!==(1&o)&&(Ll(n,t),Nl(n,t)),t=r}while(t!==e)}return;case 1:return t=n.stateNode,4&n.flags&&(null===e?t.componentDidMount():(r=n.elementType===n.type?e.memoizedProps:Qo(n.type,e.memoizedProps),t.componentDidUpdate(r,e.memoizedState,t.__reactInternalSnapshotBeforeUpdate))),void(null!==(e=n.updateQueue)&&vi(n,e,t));case 3:if(null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 5:case 1:t=n.child.stateNode}vi(n,e,t)}return;case 5:return t=n.stateNode,void(null===e&&4&n.flags&&Ur(n.type,n.memoizedProps)&&t.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Oe(n)))))}throw Error(a(163))}function bs(t,e){for(var n=t;;){if(5===n.tag){var r=n.stateNode;if(e)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=void 0!==o&&null!==o&&o.hasOwnProperty("display")?o.display:null,r.style.display=wt("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=e?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===t)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ys(t,e){if(Co&&"function"===typeof Co.onCommitFiberUnmount)try{Co.onCommitFiberUnmount(jo,e)}catch(i){}switch(e.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(t=e.updateQueue)&&null!==(t=t.lastEffect)){var n=t=t.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!==(4&r))Ll(e,n);else{r=e;try{o()}catch(i){zl(r,i)}}n=n.next}while(n!==t)}break;case 1:if(vs(e),"function"===typeof(t=e.stateNode).componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(i){zl(e,i)}break;case 5:vs(e);break;case 4:Cs(t,e)}}function xs(t){t.alternate=null,t.child=null,t.dependencies=null,t.firstEffect=null,t.lastEffect=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.return=null,t.updateQueue=null}function ws(t){return 5===t.tag||3===t.tag||4===t.tag}function Os(t){t:{for(var e=t.return;null!==e;){if(ws(e))break t;e=e.return}throw Error(a(160))}var n=e;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.flags&&(bt(e,""),n.flags&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||ws(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.flags)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break t}}r?Ss(t,n,e):js(t,n,e)}function Ss(t,e,n){var r=t.tag,o=5===r||6===r;if(o)t=o?t.stateNode:t.stateNode.instance,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode).insertBefore(t,n):(e=n).appendChild(t),null!==(n=n._reactRootContainer)&&void 0!==n||null!==e.onclick||(e.onclick=zr));else if(4!==r&&null!==(t=t.child))for(Ss(t,e,n),t=t.sibling;null!==t;)Ss(t,e,n),t=t.sibling}function js(t,e,n){var r=t.tag,o=5===r||6===r;if(o)t=o?t.stateNode:t.stateNode.instance,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&null!==(t=t.child))for(js(t,e,n),t=t.sibling;null!==t;)js(t,e,n),t=t.sibling}function Cs(t,e){for(var n,r,o=e,i=!1;;){if(!i){i=o.return;t:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break t;case 3:case 4:n=n.containerInfo,r=!0;break t}i=i.return}i=!0}if(5===o.tag||6===o.tag){t:for(var s=t,l=o,c=l;;)if(ys(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break t;for(;null===c.sibling;){if(null===c.return||c.return===l)break t;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(ys(t,o),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&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function ks(t,e){switch(e.tag){case 0:case 11:case 14:case 15:case 22:var n=e.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(t=r.destroy,r.destroy=void 0,void 0!==t&&t()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=e.stateNode)){r=e.memoizedProps;var o=null!==t?t.memoizedProps:r;t=e.type;var i=e.updateQueue;if(e.updateQueue=null,null!==i){for(n[Jr]=r,"input"===t&&"radio"===r.type&&null!=r.name&&et(n,r),Ct(t,o),e=Ct(t,r),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?Ot(n,l):"dangerouslySetInnerHTML"===s?mt(n,l):"children"===s?bt(n,l):x(n,s,l,e)}switch(t){case"input":nt(n,r);break;case"textarea":ct(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?at(n,!!r.multiple,i,!1):t!==!!r.multiple&&(null!=r.defaultValue?at(n,!!r.multiple,r.defaultValue,!0):at(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===e.stateNode)throw Error(a(162));return void(e.stateNode.nodeValue=e.memoizedProps);case 3:return void((n=e.stateNode).hydrate&&(n.hydrate=!1,Oe(n.containerInfo)));case 13:return null!==e.memoizedState&&(qs=Wo(),bs(e.child,!0)),void Es(e);case 19:return void Es(e);case 23:case 24:return void bs(e,null!==e.memoizedState)}throw Error(a(163))}function Es(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new hs),e.forEach((function(e){var r=Vl.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}function Ps(t,e){return null!==t&&(null===(t=t.memoizedState)||null!==t.dehydrated)&&(null!==(e=e.memoizedState)&&null===e.dehydrated)}var _s=Math.ceil,Ms=w.ReactCurrentDispatcher,Ts=w.ReactCurrentOwner,As=0,Rs=null,Ds=null,Is=0,Ns=0,Ls=co(0),Fs=0,Bs=null,zs=0,Hs=0,Vs=0,Us=0,Ws=null,qs=0,Gs=1/0;function Ys(){Gs=Wo()+500}var Xs,Ks=null,$s=!1,Zs=null,Qs=null,Js=!1,tl=null,el=90,nl=[],rl=[],ol=null,il=0,al=null,sl=-1,ll=0,cl=0,ul=null,dl=!1;function fl(){return 0!==(48&As)?Wo():-1!==sl?sl:sl=Wo()}function pl(t){if(0===(2&(t=t.mode)))return 1;if(0===(4&t))return 99===qo()?1:2;if(0===ll&&(ll=zs),0!==Zo.transition){0!==cl&&(cl=null!==Ws?Ws.pendingLanes:0),t=ll;var e=4186112&~cl;return 0===(e&=-e)&&(0===(e=(t=4186112&~t)&-t)&&(e=8192)),e}return t=qo(),0!==(4&As)&&98===t?t=ze(12,ll):t=ze(t=function(t){switch(t){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(t),ll),t}function hl(t,e,n){if(50<il)throw il=0,al=null,Error(a(185));if(null===(t=vl(t,e)))return null;Ue(t,e,n),t===Rs&&(Vs|=e,4===Fs&&bl(t,Is));var r=qo();1===e?0!==(8&As)&&0===(48&As)?yl(t):(gl(t,n),0===As&&(Ys(),Ko())):(0===(4&As)||98!==r&&99!==r||(null===ol?ol=new Set([t]):ol.add(t)),gl(t,n)),Ws=t}function vl(t,e){t.lanes|=e;var n=t.alternate;for(null!==n&&(n.lanes|=e),n=t,t=t.return;null!==t;)t.childLanes|=e,null!==(n=t.alternate)&&(n.childLanes|=e),n=t,t=t.return;return 3===n.tag?n.stateNode:null}function gl(t,e){for(var n=t.callbackNode,r=t.suspendedLanes,o=t.pingedLanes,i=t.expirationTimes,s=t.pendingLanes;0<s;){var l=31-We(s),c=1<<l,u=i[l];if(-1===u){if(0===(c&r)||0!==(c&o)){u=e,Le(c);var d=Ne;i[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=e&&(t.expiredLanes|=c);s&=~c}if(r=Fe(t,t===Rs?Is:0),e=Ne,0===r)null!==n&&(n!==Fo&&Po(n),t.callbackNode=null,t.callbackPriority=0);else{if(null!==n){if(t.callbackPriority===e)return;n!==Fo&&Po(n)}15===e?(n=yl.bind(null,t),null===zo?(zo=[n],Ho=Eo(Ro,$o)):zo.push(n),n=Fo):14===e?n=Xo(99,yl.bind(null,t)):(n=function(t){switch(t){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,t))}}(e),n=Xo(n,ml.bind(null,t))),t.callbackPriority=e,t.callbackNode=n}}function ml(t){if(sl=-1,cl=ll=0,0!==(48&As))throw Error(a(327));var e=t.callbackNode;if(Il()&&t.callbackNode!==e)return null;var n=Fe(t,t===Rs?Is:0);if(0===n)return null;var r=n,o=As;As|=16;var i=kl();for(Rs===t&&Is===r||(Ys(),jl(t,r));;)try{_l();break}catch(l){Cl(t,l)}if(ri(),Ms.current=i,As=o,null!==Ds?r=0:(Rs=null,Is=0,r=Fs),0!==(zs&Vs))jl(t,0);else if(0!==r){if(2===r&&(As|=64,t.hydrate&&(t.hydrate=!1,Yr(t.containerInfo)),0!==(n=Be(t))&&(r=El(t,n))),1===r)throw e=Bs,jl(t,0),bl(t,n),gl(t,Wo()),e;switch(t.finishedWork=t.current.alternate,t.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Al(t);break;case 3:if(bl(t,n),(62914560&n)===n&&10<(r=qs+500-Wo())){if(0!==Fe(t,0))break;if(((o=t.suspendedLanes)&n)!==n){fl(),t.pingedLanes|=t.suspendedLanes&o;break}t.timeoutHandle=qr(Al.bind(null,t),r);break}Al(t);break;case 4:if(bl(t,n),(4186112&n)===n)break;for(r=t.eventTimes,o=-1;0<n;){var s=31-We(n);i=1<<s,(s=r[s])>o&&(o=s),n&=~i}if(n=o,10<(n=(120>(n=Wo()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*_s(n/1960))-n)){t.timeoutHandle=qr(Al.bind(null,t),n);break}Al(t);break;default:throw Error(a(329))}}return gl(t,Wo()),t.callbackNode===e?ml.bind(null,t):null}function bl(t,e){for(e&=~Us,e&=~Vs,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-We(e),r=1<<n;t[n]=-1,e&=~r}}function yl(t){if(0!==(48&As))throw Error(a(327));if(Il(),t===Rs&&0!==(t.expiredLanes&Is)){var e=Is,n=El(t,e);0!==(zs&Vs)&&(n=El(t,e=Fe(t,e)))}else n=El(t,e=Fe(t,0));if(0!==t.tag&&2===n&&(As|=64,t.hydrate&&(t.hydrate=!1,Yr(t.containerInfo)),0!==(e=Be(t))&&(n=El(t,e))),1===n)throw n=Bs,jl(t,0),bl(t,e),gl(t,Wo()),n;return t.finishedWork=t.current.alternate,t.finishedLanes=e,Al(t),gl(t,Wo()),null}function xl(t,e){var n=As;As|=1;try{return t(e)}finally{0===(As=n)&&(Ys(),Ko())}}function wl(t,e){var n=As;As&=-2,As|=8;try{return t(e)}finally{0===(As=n)&&(Ys(),Ko())}}function Ol(t,e){fo(Ls,Ns),Ns|=e,zs|=e}function Sl(){Ns=Ls.current,uo(Ls)}function jl(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,Gr(n)),null!==Ds)for(n=Ds.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&yo();break;case 3:Ii(),uo(vo),uo(ho),$i();break;case 5:Li(r);break;case 4:Ii();break;case 13:case 19:uo(Fi);break;case 10:oi(r);break;case 23:case 24:Sl()}n=n.return}Rs=t,Ds=Gl(t.current,null),Is=Ns=zs=e,Fs=0,Bs=null,Us=Vs=Hs=0}function Cl(t,e){for(;;){var n=Ds;try{if(ri(),Zi.current=Aa,ra){for(var r=ta.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ra=!1}if(Ji=0,na=ea=ta=null,oa=!1,Ts.current=null,null===n||null===n.return){Fs=1,Bs=e,Ds=null;break}t:{var i=t,a=n.return,s=n,l=e;if(e=Is,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=l;if(0===(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!==(1&Fi.current),f=a;do{var p;if(p=13===f.tag){var h=f.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var v=f.memoizedProps;p=void 0!==v.fallback&&(!0!==v.unstable_avoidThisFallback||!d)}}if(p){var g=f.updateQueue;if(null===g){var m=new Set;m.add(c),f.updateQueue=m}else g.add(c);if(0===(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var b=di(-1,1);b.tag=2,fi(s,b)}s.lanes|=1;break t}l=void 0,s=e;var y=i.pingCache;if(null===y?(y=i.pingCache=new ds,l=new Set,y.set(c,l)):void 0===(l=y.get(c))&&(l=new Set,y.set(c,l)),!l.has(s)){l.add(s);var x=Hl.bind(null,i,c,s);c.then(x,x)}f.flags|=4096,f.lanes=e;break t}f=f.return}while(null!==f);l=Error((Y(s.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.")}5!==Fs&&(Fs=2),l=cs(l,s),f=a;do{switch(f.tag){case 3:i=l,f.flags|=4096,e&=-e,f.lanes|=e,pi(f,fs(0,i,e));break t;case 1:i=l;var w=f.type,O=f.stateNode;if(0===(64&f.flags)&&("function"===typeof w.getDerivedStateFromError||null!==O&&"function"===typeof O.componentDidCatch&&(null===Qs||!Qs.has(O)))){f.flags|=4096,e&=-e,f.lanes|=e,pi(f,ps(f,i,e));break t}}f=f.return}while(null!==f)}Tl(n)}catch(S){e=S,Ds===n&&null!==n&&(Ds=n=n.return);continue}break}}function kl(){var t=Ms.current;return Ms.current=Aa,null===t?Aa:t}function El(t,e){var n=As;As|=16;var r=kl();for(Rs===t&&Is===e||jl(t,e);;)try{Pl();break}catch(o){Cl(t,o)}if(ri(),As=n,Ms.current=r,null!==Ds)throw Error(a(261));return Rs=null,Is=0,Fs}function Pl(){for(;null!==Ds;)Ml(Ds)}function _l(){for(;null!==Ds&&!_o();)Ml(Ds)}function Ml(t){var e=Xs(t.alternate,t,Ns);t.memoizedProps=t.pendingProps,null===e?Tl(t):Ds=e,Ts.current=null}function Tl(t){var e=t;do{var n=e.alternate;if(t=e.return,0===(2048&e.flags)){if(null!==(n=ss(n,e,Ns)))return void(Ds=n);if(24!==(n=e).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Ns)||0===(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==t&&0===(2048&t.flags)&&(null===t.firstEffect&&(t.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==t.lastEffect&&(t.lastEffect.nextEffect=e.firstEffect),t.lastEffect=e.lastEffect),1<e.flags&&(null!==t.lastEffect?t.lastEffect.nextEffect=e:t.firstEffect=e,t.lastEffect=e))}else{if(null!==(n=ls(e)))return n.flags&=2047,void(Ds=n);null!==t&&(t.firstEffect=t.lastEffect=null,t.flags|=2048)}if(null!==(e=e.sibling))return void(Ds=e);Ds=e=t}while(null!==e);0===Fs&&(Fs=5)}function Al(t){var e=qo();return Yo(99,Rl.bind(null,t,e)),null}function Rl(t,e){do{Il()}while(null!==tl);if(0!==(48&As))throw Error(a(327));var n=t.finishedWork;if(null===n)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(a(177));t.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=t.pendingLanes&~o;t.pendingLanes=o,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=o,t.mutableReadLanes&=o,t.entangledLanes&=o,o=t.entanglements;for(var s=t.eventTimes,l=t.expirationTimes;0<i;){var c=31-We(i),u=1<<c;o[c]=0,s[c]=-1,l[c]=-1,i&=~u}if(null!==ol&&0===(24&r)&&ol.has(t)&&ol.delete(t),t===Rs&&(Ds=Rs=null,Is=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=As,As|=32,Ts.current=null,Hr=Ke,mr(s=gr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else t:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(k){l=null;break t}var d=0,f=-1,p=-1,h=0,v=0,g=s,m=null;e:for(;;){for(var b;g!==l||0!==i&&3!==g.nodeType||(f=d+i),g!==c||0!==u&&3!==g.nodeType||(p=d+u),3===g.nodeType&&(d+=g.nodeValue.length),null!==(b=g.firstChild);)m=g,g=b;for(;;){if(g===s)break e;if(m===l&&++h===i&&(f=d),m===c&&++v===u&&(p=d),null!==(b=g.nextSibling))break;m=(g=m).parentNode}g=b}l=-1===f||-1===p?null:{start:f,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Vr={focusedElem:s,selectionRange:l},Ke=!1,ul=null,dl=!1,Ks=r;do{try{Dl()}catch(k){if(null===Ks)throw Error(a(330));zl(Ks,k),Ks=Ks.nextEffect}}while(null!==Ks);ul=null,Ks=r;do{try{for(s=t;null!==Ks;){var y=Ks.flags;if(16&y&&bt(Ks.stateNode,""),128&y){var x=Ks.alternate;if(null!==x){var w=x.ref;null!==w&&("function"===typeof w?w(null):w.current=null)}}switch(1038&y){case 2:Os(Ks),Ks.flags&=-3;break;case 6:Os(Ks),Ks.flags&=-3,ks(Ks.alternate,Ks);break;case 1024:Ks.flags&=-1025;break;case 1028:Ks.flags&=-1025,ks(Ks.alternate,Ks);break;case 4:ks(Ks.alternate,Ks);break;case 8:Cs(s,l=Ks);var O=l.alternate;xs(l),null!==O&&xs(O)}Ks=Ks.nextEffect}}catch(k){if(null===Ks)throw Error(a(330));zl(Ks,k),Ks=Ks.nextEffect}}while(null!==Ks);if(w=Vr,x=gr(),y=w.focusedElem,s=w.selectionRange,x!==y&&y&&y.ownerDocument&&vr(y.ownerDocument.documentElement,y)){null!==s&&mr(y)&&(x=s.start,void 0===(w=s.end)&&(w=x),"selectionStart"in y?(y.selectionStart=x,y.selectionEnd=Math.min(w,y.value.length)):(w=(x=y.ownerDocument||document)&&x.defaultView||window).getSelection&&(w=w.getSelection(),l=y.textContent.length,O=Math.min(s.start,l),s=void 0===s.end?O:Math.min(s.end,l),!w.extend&&O>s&&(l=s,s=O,O=l),l=hr(y,O),i=hr(y,s),l&&i&&(1!==w.rangeCount||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==i.node||w.focusOffset!==i.offset)&&((x=x.createRange()).setStart(l.node,l.offset),w.removeAllRanges(),O>s?(w.addRange(x),w.extend(i.node,i.offset)):(x.setEnd(i.node,i.offset),w.addRange(x))))),x=[];for(w=y;w=w.parentNode;)1===w.nodeType&&x.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"===typeof y.focus&&y.focus(),y=0;y<x.length;y++)(w=x[y]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Ke=!!Hr,Vr=Hr=null,t.current=n,Ks=r;do{try{for(y=t;null!==Ks;){var S=Ks.flags;if(36&S&&ms(y,Ks.alternate,Ks),128&S){x=void 0;var j=Ks.ref;if(null!==j){var C=Ks.stateNode;Ks.tag,x=C,"function"===typeof j?j(x):j.current=x}}Ks=Ks.nextEffect}}catch(k){if(null===Ks)throw Error(a(330));zl(Ks,k),Ks=Ks.nextEffect}}while(null!==Ks);Ks=null,Bo(),As=o}else t.current=n;if(Js)Js=!1,tl=t,el=e;else for(Ks=r;null!==Ks;)e=Ks.nextEffect,Ks.nextEffect=null,8&Ks.flags&&((S=Ks).sibling=null,S.stateNode=null),Ks=e;if(0===(r=t.pendingLanes)&&(Qs=null),1===r?t===al?il++:(il=0,al=t):il=0,n=n.stateNode,Co&&"function"===typeof Co.onCommitFiberRoot)try{Co.onCommitFiberRoot(jo,n,void 0,64===(64&n.current.flags))}catch(k){}if(gl(t,Wo()),$s)throw $s=!1,t=Zs,Zs=null,t;return 0!==(8&As)||Ko(),null}function Dl(){for(;null!==Ks;){var t=Ks.alternate;dl||null===ul||(0!==(8&Ks.flags)?te(Ks,ul)&&(dl=!0):13===Ks.tag&&Ps(t,Ks)&&te(Ks,ul)&&(dl=!0));var e=Ks.flags;0!==(256&e)&&gs(t,Ks),0===(512&e)||Js||(Js=!0,Xo(97,(function(){return Il(),null}))),Ks=Ks.nextEffect}}function Il(){if(90!==el){var t=97<el?97:el;return el=90,Yo(t,Fl)}return!1}function Nl(t,e){nl.push(e,t),Js||(Js=!0,Xo(97,(function(){return Il(),null})))}function Ll(t,e){rl.push(e,t),Js||(Js=!0,Xo(97,(function(){return Il(),null})))}function Fl(){if(null===tl)return!1;var t=tl;if(tl=null,0!==(48&As))throw Error(a(331));var e=As;As|=32;var n=rl;rl=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],s=o.destroy;if(o.destroy=void 0,"function"===typeof s)try{s()}catch(c){if(null===i)throw Error(a(330));zl(i,c)}}for(n=nl,nl=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(c){if(null===i)throw Error(a(330));zl(i,c)}}for(l=t.current.firstEffect;null!==l;)t=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=t;return As=e,Ko(),!0}function Bl(t,e,n){fi(t,e=fs(0,e=cs(n,e),1)),e=fl(),null!==(t=vl(t,1))&&(Ue(t,1,e),gl(t,e))}function zl(t,e){if(3===t.tag)Bl(t,t,e);else for(var n=t.return;null!==n;){if(3===n.tag){Bl(n,t,e);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Qs||!Qs.has(r))){var o=ps(n,t=cs(e,t),1);if(fi(n,o),o=fl(),null!==(n=vl(n,1)))Ue(n,1,o),gl(n,o);else if("function"===typeof r.componentDidCatch&&(null===Qs||!Qs.has(r)))try{r.componentDidCatch(e,t)}catch(i){}break}}n=n.return}}function Hl(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),e=fl(),t.pingedLanes|=t.suspendedLanes&n,Rs===t&&(Is&n)===n&&(4===Fs||3===Fs&&(62914560&Is)===Is&&500>Wo()-qs?jl(t,0):Us|=n),gl(t,e)}function Vl(t,e){var n=t.stateNode;null!==n&&n.delete(e),0===(e=0)&&(0===(2&(e=t.mode))?e=1:0===(4&e)?e=99===qo()?1:2:(0===ll&&(ll=zs),0===(e=He(62914560&~ll))&&(e=4194304))),n=fl(),null!==(t=vl(t,e))&&(Ue(t,e,n),gl(t,n))}function Ul(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.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Wl(t,e,n,r){return new Ul(t,e,n,r)}function ql(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Gl(t,e){var n=t.alternate;return null===n?((n=Wl(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.type=t.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Yl(t,e,n,r,o,i){var s=2;if(r=t,"function"===typeof t)ql(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case j:return Xl(n.children,o,i,e);case N:s=8,o|=16;break;case C:s=8,o|=1;break;case k:return(t=Wl(12,n,e,8|o)).elementType=k,t.type=k,t.lanes=i,t;case M:return(t=Wl(13,n,e,o)).type=M,t.elementType=M,t.lanes=i,t;case T:return(t=Wl(19,n,e,o)).elementType=T,t.lanes=i,t;case L:return Kl(n,o,i,e);case F:return(t=Wl(24,n,e,o)).elementType=F,t.lanes=i,t;default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case E:s=10;break t;case P:s=9;break t;case _:s=11;break t;case A:s=14;break t;case R:s=16,r=null;break t;case D:s=22;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Wl(s,n,e,o)).elementType=t,e.type=r,e.lanes=i,e}function Xl(t,e,n,r){return(t=Wl(7,t,r,e)).lanes=n,t}function Kl(t,e,n,r){return(t=Wl(23,t,r,e)).elementType=L,t.lanes=n,t}function $l(t,e,n){return(t=Wl(6,t,null,e)).lanes=n,t}function Zl(t,e,n){return(e=Wl(4,null!==t.children?t.children:[],t.key,e)).lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Ql(t,e,n){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ve(0),this.expirationTimes=Ve(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ve(0),this.mutableSourceEagerHydrationData=null}function Jl(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}function tc(t,e,n,r){var o=e.current,i=fl(),s=pl(o);t:if(n){e:{if($t(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break e;case 1:if(bo(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(bo(c)){n=wo(n,c,l);break t}}n=l}else n=po;return null===e.context?e.context=n:e.pendingContext=n,(e=di(i,s)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),fi(o,e),hl(o,s,i),s}function ec(t){return(t=t.current).child?(t.child.tag,t.child.stateNode):null}function nc(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<e?n:e}}function rc(t,e){nc(t,e),(t=t.alternate)&&nc(t,e)}function oc(t,e,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Ql(t,e,null!=n&&!0===n.hydrate),e=Wl(3,null,null,2===e?7:1===e?3:0),n.current=e,e.stateNode=n,ci(e),t[to]=n.current,Ar(8===t.nodeType?t.parentNode:t),r)for(t=0;t<r.length;t++){var o=(e=r[t])._getVersion;o=o(e._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[e,o]:n.mutableSourceEagerHydrationData.push(e,o)}this._internalRoot=n}function ic(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function ac(t,e,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"===typeof o){var s=o;o=function(){var t=ec(a);s.call(t)}}tc(e,a,t,o)}else{if(i=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 oc(t,0,e?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"===typeof o){var l=o;o=function(){var t=ec(a);l.call(t)}}wl((function(){tc(e,a,t,o)}))}return ec(a)}function sc(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ic(e))throw Error(a(200));return Jl(t,e,null,n)}Xs=function(t,e,n){var r=e.lanes;if(null!==t)if(t.memoizedProps!==e.pendingProps||vo.current)La=!0;else{if(0===(n&r)){switch(La=!1,e.tag){case 3:Ya(e),Xi();break;case 5:Ni(e);break;case 1:bo(e.type)&&Oo(e);break;case 4:Di(e,e.stateNode.containerInfo);break;case 10:r=e.memoizedProps.value;var o=e.type._context;fo(Jo,o._currentValue),o._currentValue=r;break;case 13:if(null!==e.memoizedState)return 0!==(n&e.child.childLanes)?Qa(t,e,n):(fo(Fi,1&Fi.current),null!==(e=is(t,e,n))?e.sibling:null);fo(Fi,1&Fi.current);break;case 19:if(r=0!==(n&e.childLanes),0!==(64&t.flags)){if(r)return os(t,e,n);e.flags|=64}if(null!==(o=e.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),fo(Fi,Fi.current),r)break;return null;case 23:case 24:return e.lanes=0,Va(t,e,n)}return is(t,e,n)}La=0!==(16384&t.flags)}else La=!1;switch(e.lanes=0,e.tag){case 2:if(r=e.type,null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,o=mo(e,ho.current),ai(e,n),o=sa(null,e,r,t,o,n),e.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(e.tag=1,e.memoizedState=null,e.updateQueue=null,bo(r)){var i=!0;Oo(e)}else i=!1;e.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ci(e);var s=r.getDerivedStateFromProps;"function"===typeof s&&mi(e,r,s,t),o.updater=bi,e.stateNode=o,o._reactInternals=e,Oi(e,r,t,n),e=Ga(null,e,r,!0,i,n)}else e.tag=0,Fa(null,e,o,n),e=e.child;return e;case 16:o=e.elementType;t:{switch(null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,o=(i=o._init)(o._payload),e.type=o,i=e.tag=function(t){if("function"===typeof t)return ql(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===_)return 11;if(t===A)return 14}return 2}(o),t=Qo(o,t),i){case 0:e=Wa(null,e,o,t,n);break t;case 1:e=qa(null,e,o,t,n);break t;case 11:e=Ba(null,e,o,t,n);break t;case 14:e=za(null,e,o,Qo(o.type,t),r,n);break t}throw Error(a(306,o,""))}return e;case 0:return r=e.type,o=e.pendingProps,Wa(t,e,r,o=e.elementType===r?o:Qo(r,o),n);case 1:return r=e.type,o=e.pendingProps,qa(t,e,r,o=e.elementType===r?o:Qo(r,o),n);case 3:if(Ya(e),r=e.updateQueue,null===t||null===r)throw Error(a(282));if(r=e.pendingProps,o=null!==(o=e.memoizedState)?o.element:null,ui(t,e),hi(e,r,null,n),(r=e.memoizedState.element)===o)Xi(),e=is(t,e,n);else{if((i=(o=e.stateNode).hydrate)&&(Hi=Xr(e.stateNode.containerInfo.firstChild),zi=e,i=Vi=!0),i){if(null!=(t=o.mutableSourceEagerHydrationData))for(o=0;o<t.length;o+=2)(i=t[o])._workInProgressVersionPrimary=t[o+1],Ki.push(i);for(n=Pi(e,null,r,n),e.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Fa(t,e,r,n),Xi();e=e.child}return e;case 5:return Ni(e),null===t&&qi(e),r=e.type,o=e.pendingProps,i=null!==t?t.memoizedProps:null,s=o.children,Wr(r,o)?s=null:null!==i&&Wr(r,i)&&(e.flags|=16),Ua(t,e),Fa(t,e,s,n),e.child;case 6:return null===t&&qi(e),null;case 13:return Qa(t,e,n);case 4:return Di(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Ei(e,null,r,n):Fa(t,e,r,n),e.child;case 11:return r=e.type,o=e.pendingProps,Ba(t,e,r,o=e.elementType===r?o:Qo(r,o),n);case 7:return Fa(t,e,e.pendingProps,n),e.child;case 8:case 12:return Fa(t,e,e.pendingProps.children,n),e.child;case 10:t:{r=e.type._context,o=e.pendingProps,s=e.memoizedProps,i=o.value;var l=e.type._context;if(fo(Jo,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0===(i=ur(l,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!vo.current){e=is(t,e,n);break t}}else for(null!==(l=e.child)&&(l.return=e);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!==(u.observedBits&i)){1===l.tag&&((u=di(-1,n&-n)).tag=2,fi(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ii(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===e.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===e){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Fa(t,e,o.children,n),e=e.child}return e;case 9:return o=e.type,r=(i=e.pendingProps).children,ai(e,n),r=r(o=si(o,i.unstable_observedBits)),e.flags|=1,Fa(t,e,r,n),e.child;case 14:return i=Qo(o=e.type,e.pendingProps),za(t,e,o,i=Qo(o.type,i),r,n);case 15:return Ha(t,e,e.type,e.pendingProps,r,n);case 17:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:Qo(r,o),null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),e.tag=1,bo(r)?(t=!0,Oo(e)):t=!1,ai(e,n),xi(e,r,o),Oi(e,r,o,n),Ga(null,e,r,!0,t,n);case 19:return os(t,e,n);case 23:case 24:return Va(t,e,n)}throw Error(a(156,e.tag))},oc.prototype.render=function(t){tc(t,this._internalRoot,null,null)},oc.prototype.unmount=function(){var t=this._internalRoot,e=t.containerInfo;tc(null,t,null,(function(){e[to]=null}))},ee=function(t){13===t.tag&&(hl(t,4,fl()),rc(t,4))},ne=function(t){13===t.tag&&(hl(t,67108864,fl()),rc(t,67108864))},re=function(t){if(13===t.tag){var e=fl(),n=pl(t);hl(t,n,e),rc(t,n)}},oe=function(t,e){return e()},Et=function(t,e,n){switch(e){case"input":if(nt(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 o=io(r);if(!o)throw Error(a(90));Z(r),nt(r,o)}}}break;case"textarea":ct(t,n);break;case"select":null!=(e=n.value)&&at(t,!!n.multiple,e,!1)}},Rt=xl,Dt=function(t,e,n,r,o){var i=As;As|=4;try{return Yo(98,t.bind(null,e,n,r,o))}finally{0===(As=i)&&(Ys(),Ko())}},It=function(){0===(49&As)&&(function(){if(null!==ol){var t=ol;ol=null,t.forEach((function(t){t.expiredLanes|=24&t.pendingLanes,gl(t,Wo())}))}Ko()}(),Il())},Nt=function(t,e){var n=As;As|=2;try{return t(e)}finally{0===(As=n)&&(Ys(),Ko())}};var lc={Events:[ro,oo,io,Tt,At,Il,{current:!1}]},cc={findFiberByHostInstance:no,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},uc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=Jt(t))?null:t.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var dc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dc.isDisabled&&dc.supportsFiber)try{jo=dc.inject(uc),Co=dc}catch(gt){}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lc,e.createPortal=sc,e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternals;if(void 0===e){if("function"===typeof t.render)throw Error(a(188));throw Error(a(268,Object.keys(t)))}return t=null===(t=Jt(e))?null:t.stateNode},e.flushSync=function(t,e){var n=As;if(0!==(48&n))return t(e);As|=1;try{if(t)return Yo(99,t.bind(null,e))}finally{As=n,Ko()}},e.hydrate=function(t,e,n){if(!ic(e))throw Error(a(200));return ac(null,t,e,!0,n)},e.render=function(t,e,n){if(!ic(e))throw Error(a(200));return ac(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!ic(t))throw Error(a(40));return!!t._reactRootContainer&&(wl((function(){ac(null,null,t,!1,(function(){t._reactRootContainer=null,t[to]=null}))})),!0)},e.unstable_batchedUpdates=xl,e.unstable_createPortal=function(t,e){return sc(t,e,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!ic(n))throw Error(a(200));if(null==t||void 0===t._reactInternals)throw Error(a(38));return ac(t,e,n,!1,r)},e.version="17.0.2"},function(t,e,n){"use strict";var r,o,i,a;if("object"===typeof performance&&"function"===typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,d=null,f=function t(){if(null!==u)try{var n=e.unstable_now();u(!0,n),u=null}catch(r){throw setTimeout(t,0),r}};r=function(t){null!==u?setTimeout(r,0,t):(u=t,setTimeout(f,0))},o=function(t,e){d=setTimeout(t,e)},i=function(){clearTimeout(d)},e.unstable_shouldYield=function(){return!1},a=e.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,h=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,m=null,b=-1,y=5,x=0;e.unstable_shouldYield=function(){return e.unstable_now()>=x},a=function(){},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<t?Math.floor(1e3/t):5};var w=new MessageChannel,O=w.port2;w.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();x=t+y;try{m(!0,t)?O.postMessage(null):(g=!1,m=null)}catch(n){throw O.postMessage(null),n}}else g=!1},r=function(t){m=t,g||(g=!0,O.postMessage(null))},o=function(t,n){b=p((function(){t(e.unstable_now())}),n)},i=function(){h(b),b=-1}}function S(t,e){var n=t.length;t.push(e);t:for(;;){var r=n-1>>>1,o=t[r];if(!(void 0!==o&&0<k(o,e)))break t;t[r]=e,t[n]=o,n=r}}function j(t){return void 0===(t=t[0])?null:t}function C(t){var e=t[0];if(void 0!==e){var n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,o=t.length;r<o;){var i=2*(r+1)-1,a=t[i],s=i+1,l=t[s];if(void 0!==a&&0>k(a,n))void 0!==l&&0>k(l,a)?(t[r]=l,t[s]=n,r=s):(t[r]=a,t[i]=n,r=i);else{if(!(void 0!==l&&0>k(l,n)))break t;t[r]=l,t[s]=n,r=s}}}return e}return null}function k(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}var E=[],P=[],_=1,M=null,T=3,A=!1,R=!1,D=!1;function I(t){for(var e=j(P);null!==e;){if(null===e.callback)C(P);else{if(!(e.startTime<=t))break;C(P),e.sortIndex=e.expirationTime,S(E,e)}e=j(P)}}function N(t){if(D=!1,I(t),!R)if(null!==j(E))R=!0,r(L);else{var e=j(P);null!==e&&o(N,e.startTime-t)}}function L(t,n){R=!1,D&&(D=!1,i()),A=!0;var r=T;try{for(I(n),M=j(E);null!==M&&(!(M.expirationTime>n)||t&&!e.unstable_shouldYield());){var a=M.callback;if("function"===typeof a){M.callback=null,T=M.priorityLevel;var s=a(M.expirationTime<=n);n=e.unstable_now(),"function"===typeof s?M.callback=s:M===j(E)&&C(E),I(n)}else C(E);M=j(E)}if(null!==M)var l=!0;else{var c=j(P);null!==c&&o(N,c.startTime-n),l=!1}return l}finally{M=null,T=r,A=!1}}var F=a;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){R||A||(R=!0,r(L))},e.unstable_getCurrentPriorityLevel=function(){return T},e.unstable_getFirstCallbackNode=function(){return j(E)},e.unstable_next=function(t){switch(T){case 1:case 2:case 3:var e=3;break;default:e=T}var n=T;T=e;try{return t()}finally{T=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=F,e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=T;T=t;try{return e()}finally{T=n}},e.unstable_scheduleCallback=function(t,n,a){var s=e.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,t){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return t={id:_++,callback:n,priorityLevel:t,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(t.sortIndex=a,S(P,t),null===j(E)&&t===j(P)&&(D?i():D=!0,o(N,a-s))):(t.sortIndex=l,S(E,t),R||A||(R=!0,r(L))),t},e.unstable_wrapCallback=function(t){var e=T;return function(){var n=T;T=e;try{return t.apply(this,arguments)}finally{T=n}}}},function(t,e,n){"use strict";var r=n(779);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}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:i,resetWarningCache:o};return n.PropTypes=n,n}},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(781)},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function O(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case d:case f:case a:case l:case s:case h:return t;default:switch(t=t&&t.$$typeof){case u:case p:case m:case g:case c:return t;default:return e}}case i:return e}}}function S(t){return O(t)===f}e.AsyncMode=d,e.ConcurrentMode=f,e.ContextConsumer=u,e.ContextProvider=c,e.Element=o,e.ForwardRef=p,e.Fragment=a,e.Lazy=m,e.Memo=g,e.Portal=i,e.Profiler=l,e.StrictMode=s,e.Suspense=h,e.isAsyncMode=function(t){return S(t)||O(t)===d},e.isConcurrentMode=S,e.isContextConsumer=function(t){return O(t)===u},e.isContextProvider=function(t){return O(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return O(t)===p},e.isFragment=function(t){return O(t)===a},e.isLazy=function(t){return O(t)===m},e.isMemo=function(t){return O(t)===g},e.isPortal=function(t){return O(t)===i},e.isProfiler=function(t){return O(t)===l},e.isStrictMode=function(t){return O(t)===s},e.isSuspense=function(t){return O(t)===h},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===f||t===l||t===s||t===h||t===v||"object"===typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===c||t.$$typeof===u||t.$$typeof===p||t.$$typeof===y||t.$$typeof===x||t.$$typeof===w||t.$$typeof===b)},e.typeOf=O},function(t,e,n){"use strict";n(237);var r=n(1),o=60103;if(e.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),e.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(u=e.ref),e)s.call(e,r)&&!l.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:c,ref:u,props:i,_owner:a.current}}e.jsx=c,e.jsxs=c},function(t,e,n){"use strict";var r=60103,o=60106,i=60107,a=60108,s=60114,l=60109,c=60110,u=60112,d=60113,f=60120,p=60115,h=60116,v=60121,g=60122,m=60117,b=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;r=x("react.element"),o=x("react.portal"),i=x("react.fragment"),a=x("react.strict_mode"),s=x("react.profiler"),l=x("react.provider"),c=x("react.context"),u=x("react.forward_ref"),d=x("react.suspense"),f=x("react.suspense_list"),p=x("react.memo"),h=x("react.lazy"),v=x("react.block"),g=x("react.server.block"),m=x("react.fundamental"),b=x("react.debug_trace_mode"),y=x("react.legacy_hidden")}function w(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case i:case s:case a:case d:case f:return t;default:switch(t=t&&t.$$typeof){case c:case u:case h:case p:case l:return t;default:return e}}case o:return e}}}var O=l,S=r,j=u,C=i,k=h,E=p,P=o,_=s,M=a,T=d;e.ContextConsumer=c,e.ContextProvider=O,e.Element=S,e.ForwardRef=j,e.Fragment=C,e.Lazy=k,e.Memo=E,e.Portal=P,e.Profiler=_,e.StrictMode=M,e.Suspense=T,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return w(t)===c},e.isContextProvider=function(t){return w(t)===l},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return w(t)===u},e.isFragment=function(t){return w(t)===i},e.isLazy=function(t){return w(t)===h},e.isMemo=function(t){return w(t)===p},e.isPortal=function(t){return w(t)===o},e.isProfiler=function(t){return w(t)===s},e.isStrictMode=function(t){return w(t)===a},e.isSuspense=function(t){return w(t)===d},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===i||t===s||t===b||t===a||t===d||t===f||t===y||"object"===typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===p||t.$$typeof===l||t.$$typeof===c||t.$$typeof===u||t.$$typeof===m||t.$$typeof===v||t[0]===g)},e.typeOf=w},function(t,e,n){"use strict";var r,o=Symbol.for("react.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function b(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case a:case l:case s:case p:case h:return t;default:switch(t=t&&t.$$typeof){case d:case u:case f:case g:case v:case c:return t;default:return e}}case i:return e}}}r=Symbol.for("react.module.reference"),e.ContextConsumer=u,e.ContextProvider=c,e.Element=o,e.ForwardRef=f,e.Fragment=a,e.Lazy=g,e.Memo=v,e.Portal=i,e.Profiler=l,e.StrictMode=s,e.Suspense=p,e.SuspenseList=h,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(t){return b(t)===u},e.isContextProvider=function(t){return b(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return b(t)===f},e.isFragment=function(t){return b(t)===a},e.isLazy=function(t){return b(t)===g},e.isMemo=function(t){return b(t)===v},e.isPortal=function(t){return b(t)===i},e.isProfiler=function(t){return b(t)===l},e.isStrictMode=function(t){return b(t)===s},e.isSuspense=function(t){return b(t)===p},e.isSuspenseList=function(t){return b(t)===h},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===l||t===s||t===p||t===h||t===m||"object"===typeof t&&null!==t&&(t.$$typeof===g||t.$$typeof===v||t.$$typeof===c||t.$$typeof===u||t.$$typeof===f||t.$$typeof===r||void 0!==t.getModuleId)},e.typeOf=b},function(t,e,n){var r=n(365),o=n(548),i=n(550),a=n(815),s=n(87),l=n(324),c=n(558);t.exports=function t(e,n,u,d,f){e!==n&&i(n,(function(i,l){if(f||(f=new r),s(i))a(e,n,l,u,t,d,f);else{var p=d?d(c(e,l),i,l+"",e,n,f):void 0;void 0===p&&(p=i),o(e,l,p)}}),l)}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(367),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},function(t,e,n){var r=n(367);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var r=n(367);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,e,n){var r=n(367);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},function(t,e,n){var r=n(366);t.exports=function(){this.__data__=new r,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(366),o=n(458),i=n(459);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},function(t,e,n){var r=n(40),o=n(799),i=n(87),a=n(547),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?f:s).test(a(t))}},function(t,e,n){var r=n(270),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(l){}var o=a.call(t);return r&&(e?t[s]=n:delete t[s]),o}},function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},function(t,e,n){var r=n(800),o=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},function(t,e,n){var r=n(161)["__core-js_shared__"];t.exports=r},function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},function(t,e,n){var r=n(803),o=n(366),i=n(458);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},function(t,e,n){var r=n(804),o=n(805),i=n(806),a=n(807),s=n(808);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},function(t,e,n){var r=n(368);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},function(t,e,n){var r=n(368),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},function(t,e,n){var r=n(368),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},function(t,e,n){var r=n(368);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},function(t,e,n){var r=n(369);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},function(t,e,n){var r=n(369);t.exports=function(t){return r(this,t).get(t)}},function(t,e,n){var r=n(369);t.exports=function(t){return r(this,t).has(t)}},function(t,e,n){var r=n(369);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},function(t,e){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var l=a[t?s:++o];if(!1===n(i[l],l,i))break}return e}}},function(t,e,n){var r=n(548),o=n(551),i=n(552),a=n(554),s=n(555),l=n(371),c=n(59),u=n(818),d=n(372),f=n(40),p=n(87),h=n(557),v=n(463),g=n(558),m=n(821);t.exports=function(t,e,n,b,y,x,w){var O=g(t,n),S=g(e,n),j=w.get(S);if(j)r(t,n,j);else{var C=x?x(O,S,n+"",t,e,w):void 0,k=void 0===C;if(k){var E=c(S),P=!E&&d(S),_=!E&&!P&&v(S);C=S,E||P||_?c(O)?C=O:u(O)?C=a(O):P?(k=!1,C=o(S,!0)):_?(k=!1,C=i(S,!0)):C=[]:h(S)||l(S)?(C=O,l(O)?C=m(O):p(O)&&!f(O)||(C=s(S))):k=!1}k&&(w.set(S,C),y(C,S,b,x,w),w.delete(S)),r(t,n,C)}}},function(t,e,n){var r=n(87),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},function(t,e,n){var r=n(191),o=n(151);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},function(t,e,n){var r=n(213),o=n(151);t.exports=function(t){return o(t)&&r(t)}},function(t,e){t.exports=function(){return!1}},function(t,e,n){var r=n(191),o=n(462),i=n(151),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 i(t)&&o(t.length)&&!!a[r(t)]}},function(t,e,n){var r=n(239),o=n(324);t.exports=function(t){return r(t,o(t))}},function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},function(t,e,n){var r=n(87),o=n(370),i=n(824),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},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)}},function(t,e,n){var r=n(827),o=n(549),i=n(272),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var o=n(),i=16-(o-r);if(r=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,n){var r=n(370),o=n(830),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},function(t,e,n){var r=n(556)(Object.keys,Object);t.exports=r},function(t,e,n){var r=n(192),o=n(213),i=n(240);t.exports=function(t){return function(e,n,a){var s=Object(e);if(!o(e)){var l=r(n,3);e=i(e),n=function(t){return l(s[t],t,s)}}var c=t(e,n,a);return c>-1?s[l?e[c]:c]:void 0}}},function(t,e,n){var r=n(833),o=n(844),i=n(573);t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},function(t,e,n){var r=n(365),o=n(467);t.exports=function(t,e,n,i){var a=n.length,s=a,l=!i;if(null==t)return!s;for(t=Object(t);a--;){var c=n[a];if(l&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<s;){var u=(c=n[a])[0],d=t[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in t))return!1}else{var p=new r;if(i)var h=i(d,f,u,t,e,p);if(!(void 0===h?o(f,d,3,i,p):h))return!1}}return!0}},function(t,e,n){var r=n(365),o=n(564),i=n(837),a=n(839),s=n(374),l=n(59),c=n(372),u=n(463),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,v,g,m){var b=l(t),y=l(e),x=b?f:s(t),w=y?f:s(e),O=(x=x==d?p:x)==p,S=(w=w==d?p:w)==p,j=x==w;if(j&&c(t)){if(!c(e))return!1;b=!0,O=!1}if(j&&!O)return m||(m=new r),b||u(t)?o(t,e,n,v,g,m):i(t,e,x,n,v,g,m);if(!(1&n)){var C=O&&h.call(t,"__wrapped__"),k=S&&h.call(e,"__wrapped__");if(C||k){var E=C?t.value():t,P=k?e.value():e;return m||(m=new r),g(E,P,n,v,m)}}return!!j&&(m||(m=new r),a(t,e,n,v,g,m))}},function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(270),o=n(553),i=n(322),a=n(564),s=n(838),l=n(468),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,d,f){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var p=s;case"[object Set]":var h=1&r;if(p||(p=l),t.size!=e.size&&!h)return!1;var v=f.get(t);if(v)return v==e;r|=2,f.set(t,e);var g=a(p(t),p(e),r,c,d,f);return f.delete(t),g;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},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}},function(t,e,n){var r=n(568),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,a,s){var l=1&n,c=r(t),u=c.length;if(u!=r(e).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in e:o.call(e,f)))return!1}var p=s.get(t),h=s.get(e);if(p&&h)return p==e&&h==t;var v=!0;s.set(t,e),s.set(e,t);for(var g=l;++d<u;){var m=t[f=c[d]],b=e[f];if(i)var y=l?i(b,m,f,e,t,s):i(m,b,f,t,e,s);if(!(void 0===y?m===b||a(m,b,n,i,s):y)){v=!1;break}g||(g="constructor"==f)}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}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},function(t,e,n){var r=n(238)(n(161),"DataView");t.exports=r},function(t,e,n){var r=n(238)(n(161),"Promise");t.exports=r},function(t,e,n){var r=n(238)(n(161),"WeakMap");t.exports=r},function(t,e,n){var r=n(572),o=n(240);t.exports=function(t){for(var e=o(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,r(a)]}return e}},function(t,e,n){var r=n(467),o=n(90),i=n(850),a=n(471),s=n(572),l=n(573),c=n(327);t.exports=function(t,e){return a(t)&&s(e)?l(c(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?i(n,t):r(e,a,3)}}},function(t,e,n){var r=n(847),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)})),e}));t.exports=a},function(t,e,n){var r=n(848);t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},function(t,e,n){var r=n(459);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function n(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,t.exports=o},function(t,e,n){var r=n(270),o=n(377),i=n(59),a=n(273),s=r?r.prototype:void 0,l=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},function(t,e,n){var r=n(851),o=n(574);t.exports=function(t,e){return null!=t&&o(t,e,r)}},function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},function(t,e,n){var r=n(853),o=n(854),i=n(471),a=n(327);t.exports=function(t){return i(t)?r(a(t)):o(t)}},function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},function(t,e,n){var r=n(375);t.exports=function(t){return function(e){return r(e,t)}}},function(t,e,n){var r=n(575),o=n(192),i=n(856),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var l=null==n?0:i(n);return l<0&&(l=a(s+l,0)),r(t,o(e,3),l)}},function(t,e,n){var r=n(576);t.exports=function(t){var e=r(t),n=e%1;return e===e?n?e-n:e:0}},function(t,e,n){var r=n(858),o=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(o,""):t}},function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},,function(t,e,n){"use strict";var r=n(379),o=n(862),i=n(866),a=n(867)||0;function s(){return o(a)}t.exports=s,t.exports.generate=s,t.exports.seed=function(e){return r.seed(e),t.exports},t.exports.worker=function(e){return a=e,t.exports},t.exports.characters=function(t){return void 0!==t&&r.characters(t),r.shuffled()},t.exports.isValid=i},function(t,e,n){"use strict";var r=1;t.exports={nextValue:function(){return(r=(9301*r+49297)%233280)/233280},seed:function(t){r=t}}},function(t,e,n){"use strict";var r,o,i=n(863);n(379);t.exports=function(t){var e="",n=Math.floor(.001*(Date.now()-1567752802062));return n===o?r++:(r=0,o=n),e+=i(7),e+=i(t),r>0&&(e+=i(r)),e+=i(n)}},function(t,e,n){"use strict";var r=n(379),o=n(864),i=n(865);t.exports=function(t){for(var e,n=0,a="";!e;)a+=i(o,r.get(),1),e=t<Math.pow(16,n+1),n++;return a}},function(t,e,n){"use strict";var r,o="object"===typeof window&&(window.crypto||window.msCrypto);r=o&&o.getRandomValues?function(t){return o.getRandomValues(new Uint8Array(t))}:function(t){for(var e=[],n=0;n<t;n++)e.push(Math.floor(256*Math.random()));return e},t.exports=r},function(t,e){t.exports=function(t,e,n){for(var r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*n/e.length),i="";;)for(var a=t(o),s=o;s--;)if((i+=e[a[s]&r]||"").length===+n)return i}},function(t,e,n){"use strict";var r=n(379);t.exports=function(t){return!(!t||"string"!==typeof t||t.length<6)&&!new RegExp("[^"+r.get().replace(/[|\\{}()[\]^$+*?.-]/g,"\\$&")+"]").test(t)}},function(t,e,n){"use strict";t.exports=0},function(t,e,n){"use strict";var r=n(578),o=n(869);Object.defineProperty(e,"__esModule",{value:!0}),e.getDomTreeShapes=w,e.findNativeHandler=S,e.default=e.SwipeableViewsContext=void 0;var i=o(n(870)),a=o(n(871)),s=o(n(873)),l=o(n(874)),c=o(n(875)),u=o(n(878)),d=o(n(879)),f=r(n(1)),p=(o(n(881)),o(n(579)),n(884));function h(t,e,n,r){return t.addEventListener(e,n,r),{remove:function(){t.removeEventListener(e,n,r)}}}var v={direction:"ltr",display:"flex",willChange:"transform"},g={width:"100%",WebkitFlexShrink:0,flexShrink:0,overflow:"auto"},m={root:{x:{overflowX:"hidden"},"x-reverse":{overflowX:"hidden"},y:{overflowY:"hidden"},"y-reverse":{overflowY:"hidden"}},flexDirection:{x:"row","x-reverse":"row-reverse",y:"column","y-reverse":"column-reverse"},transform:{x:function(t){return"translate(".concat(-t,"%, 0)")},"x-reverse":function(t){return"translate(".concat(t,"%, 0)")},y:function(t){return"translate(0, ".concat(-t,"%)")},"y-reverse":function(t){return"translate(0, ".concat(t,"%)")}},length:{x:"width","x-reverse":"width",y:"height","y-reverse":"height"},rotationMatrix:{x:{x:[1,0],y:[0,1]},"x-reverse":{x:[-1,0],y:[0,1]},y:{x:[0,1],y:[1,0]},"y-reverse":{x:[0,-1],y:[1,0]}},scrollPosition:{x:"scrollLeft","x-reverse":"scrollLeft",y:"scrollTop","y-reverse":"scrollTop"},scrollLength:{x:"scrollWidth","x-reverse":"scrollWidth",y:"scrollHeight","y-reverse":"scrollHeight"},clientLength:{x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"}};function b(t,e){var n=e.duration,r=e.easeFunction,o=e.delay;return"".concat(t," ").concat(n," ").concat(r," ").concat(o)}function y(t,e){var n=m.rotationMatrix[e];return{pageX:n.x[0]*t.pageX+n.x[1]*t.pageY,pageY:n.y[0]*t.pageX+n.y[1]*t.pageY}}function x(t){return t.touches=[{pageX:t.pageX,pageY:t.pageY}],t}function w(t,e){for(var n=[];t&&t!==e&&t!==document.body&&!t.hasAttribute("data-swipeable");){var r=window.getComputedStyle(t);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")?n=[]:(t.clientWidth>0&&t.scrollWidth>t.clientWidth||t.clientHeight>0&&t.scrollHeight>t.clientHeight)&&n.push({element:t,scrollWidth:t.scrollWidth,scrollHeight:t.scrollHeight,clientWidth:t.clientWidth,clientHeight:t.clientHeight,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}),t=t.parentNode}return n}var O=null;function S(t){var e=t.domTreeShapes,n=t.pageX,r=t.startX,o=t.axis;return e.some((function(t){var e=n>=r;"x"!==o&&"y"!==o||(e=!e);var i=Math.round(t[m.scrollPosition[o]]),a=i>0,s=i+t[m.clientLength[o]]<t[m.scrollLength[o]];return!!(e&&s||!e&&a)&&(O=t.element,!0)}))}var j=f.createContext();e.SwipeableViewsContext=j;var C=function(t){function e(t){var n;return(0,s.default)(this,e),(n=(0,c.default)(this,(0,u.default)(e).call(this,t))).rootNode=null,n.containerNode=null,n.ignoreNextScrollEvents=!1,n.viewLength=0,n.startX=0,n.lastX=0,n.vx=0,n.startY=0,n.isSwiping=void 0,n.started=!1,n.startIndex=0,n.transitionListener=null,n.touchMoveListener=null,n.activeSlide=null,n.indexCurrent=null,n.firstRenderTimeout=null,n.setRootNode=function(t){n.rootNode=t},n.setContainerNode=function(t){n.containerNode=t},n.setActiveSlide=function(t){n.activeSlide=t,n.updateHeight()},n.handleSwipeStart=function(t){var e=n.props.axis,r=y(t.touches[0],e);n.viewLength=n.rootNode.getBoundingClientRect()[m.length[e]],n.startX=r.pageX,n.lastX=r.pageX,n.vx=0,n.startY=r.pageY,n.isSwiping=void 0,n.started=!0;var o=window.getComputedStyle(n.containerNode),i=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform");if(i&&"none"!==i){var a=i.split("(")[1].split(")")[0].split(","),s=window.getComputedStyle(n.rootNode),l=y({pageX:parseInt(a[4],10),pageY:parseInt(a[5],10)},e);n.startIndex=-l.pageX/(n.viewLength-parseInt(s.paddingLeft,10)-parseInt(s.paddingRight,10))||0}},n.handleSwipeMove=function(t){if(n.started){if(null===O||O===n.rootNode){var e=n.props,r=e.axis,o=e.children,i=e.ignoreNativeScroll,a=e.onSwitching,s=e.resistance,l=y(t.touches[0],r);if(void 0===n.isSwiping){var c=Math.abs(l.pageX-n.startX),u=Math.abs(l.pageY-n.startY),d=c>u&&c>p.constant.UNCERTAINTY_THRESHOLD;if(!s&&("y"===r||"y-reverse"===r)&&(0===n.indexCurrent&&n.startX<l.pageX||n.indexCurrent===f.Children.count(n.props.children)-1&&n.startX>l.pageX))return void(n.isSwiping=!1);if(c>u&&t.preventDefault(),!0===d||u>p.constant.UNCERTAINTY_THRESHOLD)return n.isSwiping=d,void(n.startX=l.pageX)}if(!0===n.isSwiping){t.preventDefault(),n.vx=.5*n.vx+.5*(l.pageX-n.lastX),n.lastX=l.pageX;var h=(0,p.computeIndex)({children:o,resistance:s,pageX:l.pageX,startIndex:n.startIndex,startX:n.startX,viewLength:n.viewLength}),v=h.index,g=h.startX;if(null===O&&!i)if(S({domTreeShapes:w(t.target,n.rootNode),startX:n.startX,pageX:l.pageX,axis:r}))return;g?n.startX=g:null===O&&(O=n.rootNode),n.setIndexCurrent(v);var m=function(){a&&a(v,"move")};!n.state.displaySameSlide&&n.state.isDragging||n.setState({displaySameSlide:!1,isDragging:!0},m),m()}}}else n.handleTouchStart(t)},n.handleSwipeEnd=function(){if(O=null,n.started&&(n.started=!1,!0===n.isSwiping)){var t,e=n.state.indexLatest,r=n.indexCurrent,o=e-r;t=Math.abs(n.vx)>n.props.threshold?n.vx>0?Math.floor(r):Math.ceil(r):Math.abs(o)>n.props.hysteresis?o>0?Math.floor(r):Math.ceil(r):e;var i=f.Children.count(n.props.children)-1;t<0?t=0:t>i&&(t=i),n.setIndexCurrent(t),n.setState({indexLatest:t,isDragging:!1},(function(){n.props.onSwitching&&n.props.onSwitching(t,"end"),n.props.onChangeIndex&&t!==e&&n.props.onChangeIndex(t,e,{reason:"swipe"}),r===e&&n.handleTransitionEnd()}))}},n.handleTouchStart=function(t){n.props.onTouchStart&&n.props.onTouchStart(t),n.handleSwipeStart(t)},n.handleTouchEnd=function(t){n.props.onTouchEnd&&n.props.onTouchEnd(t),n.handleSwipeEnd(t)},n.handleMouseDown=function(t){n.props.onMouseDown&&n.props.onMouseDown(t),t.persist(),n.handleSwipeStart(x(t))},n.handleMouseUp=function(t){n.props.onMouseUp&&n.props.onMouseUp(t),n.handleSwipeEnd(x(t))},n.handleMouseLeave=function(t){n.props.onMouseLeave&&n.props.onMouseLeave(t),n.started&&n.handleSwipeEnd(x(t))},n.handleMouseMove=function(t){n.props.onMouseMove&&n.props.onMouseMove(t),n.started&&n.handleSwipeMove(x(t))},n.handleScroll=function(t){if(n.props.onScroll&&n.props.onScroll(t),t.target===n.rootNode)if(n.ignoreNextScrollEvents)n.ignoreNextScrollEvents=!1;else{var e=n.state.indexLatest,r=Math.ceil(t.target.scrollLeft/t.target.clientWidth)+e;n.ignoreNextScrollEvents=!0,t.target.scrollLeft=0,n.props.onChangeIndex&&r!==e&&n.props.onChangeIndex(r,e,{reason:"focus"})}},n.updateHeight=function(){if(null!==n.activeSlide){var t=n.activeSlide.children[0];void 0!==t&&void 0!==t.offsetHeight&&n.state.heightLatest!==t.offsetHeight&&n.setState({heightLatest:t.offsetHeight})}},n.state={indexLatest:t.index,isDragging:!1,renderOnlyActive:!t.disableLazyLoading,heightLatest:0,displaySameSlide:!0},n.setIndexCurrent(t.index),n}return(0,d.default)(e,t),(0,l.default)(e,[{key:"componentDidMount",value:function(){var t=this;this.transitionListener=h(this.containerNode,"transitionend",(function(e){e.target===t.containerNode&&t.handleTransitionEnd()})),this.touchMoveListener=h(this.rootNode,"touchmove",(function(e){t.props.disabled||t.handleSwipeMove(e)}),{passive:!1}),this.props.disableLazyLoading||(this.firstRenderTimeout=setTimeout((function(){t.setState({renderOnlyActive:!1})}),0)),this.props.action&&this.props.action({updateHeight:this.updateHeight})}},{key:"UNSAFE_componentWillReceiveProps",value:function(t){var e=t.index;"number"===typeof e&&e!==this.props.index&&(this.setIndexCurrent(e),this.setState({displaySameSlide:(0,p.getDisplaySameSlide)(this.props,t),indexLatest:e}))}},{key:"componentWillUnmount",value:function(){this.transitionListener.remove(),this.touchMoveListener.remove(),clearTimeout(this.firstRenderTimeout)}},{key:"getSwipeableViewsContext",value:function(){var t=this;return{slideUpdateHeight:function(){t.updateHeight()}}}},{key:"setIndexCurrent",value:function(t){if(this.props.animateTransitions||this.indexCurrent===t||this.handleTransitionEnd(),this.indexCurrent=t,this.containerNode){var e=this.props.axis,n=m.transform[e](100*t);this.containerNode.style.WebkitTransform=n,this.containerNode.style.transform=n}}},{key:"handleTransitionEnd",value:function(){this.props.onTransitionEnd&&(this.state.displaySameSlide||this.state.isDragging||this.props.onTransitionEnd())}},{key:"render",value:function(){var t,e,n=this,r=this.props,o=(r.action,r.animateHeight),s=r.animateTransitions,l=r.axis,c=r.children,u=r.containerStyle,d=r.disabled,p=(r.disableLazyLoading,r.enableMouseEvents),h=(r.hysteresis,r.ignoreNativeScroll,r.index,r.onChangeIndex,r.onSwitching,r.onTransitionEnd,r.resistance,r.slideStyle),y=r.slideClassName,x=r.springConfig,w=r.style,O=(r.threshold,(0,a.default)(r,["action","animateHeight","animateTransitions","axis","children","containerStyle","disabled","disableLazyLoading","enableMouseEvents","hysteresis","ignoreNativeScroll","index","onChangeIndex","onSwitching","onTransitionEnd","resistance","slideStyle","slideClassName","springConfig","style","threshold"])),S=this.state,C=S.displaySameSlide,k=S.heightLatest,E=S.indexLatest,P=S.isDragging,_=S.renderOnlyActive,M=d?{}:{onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},T=!d&&p?{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseMove:this.handleMouseMove}:{},A=(0,i.default)({},g,h);if(P||!s||C)t="all 0s ease 0s",e="all 0s ease 0s";else if(t=b("transform",x),e=b("-webkit-transform",x),0!==k){var R=", ".concat(b("height",x));t+=R,e+=R}var D={height:null,WebkitFlexDirection:m.flexDirection[l],flexDirection:m.flexDirection[l],WebkitTransition:e,transition:t};if(!_){var I=m.transform[l](100*this.indexCurrent);D.WebkitTransform=I,D.transform=I}return o&&(D.height=k),f.createElement(j.Provider,{value:this.getSwipeableViewsContext()},f.createElement("div",(0,i.default)({ref:this.setRootNode,style:(0,i.default)({},m.root[l],w)},O,M,T,{onScroll:this.handleScroll}),f.createElement("div",{ref:this.setContainerNode,style:(0,i.default)({},D,v,u),className:"react-swipeable-view-container"},f.Children.map(c,(function(t,e){if(_&&e!==E)return null;var r,i=!0;return e===E&&(i=!1,o&&(r=n.setActiveSlide,A.overflowY="hidden")),f.createElement("div",{ref:r,style:A,className:y,"aria-hidden":i,"data-swipeable":"true"},t)})))))}}]),e}(f.Component);C.displayName="ReactSwipableView",C.propTypes={},C.defaultProps={animateHeight:!1,animateTransitions:!0,axis:"x",disabled:!1,disableLazyLoading:!1,enableMouseEvents:!1,hysteresis:.6,ignoreNativeScroll:!1,index:0,threshold:5,springConfig:{duration:"0.35s",easeFunction:"cubic-bezier(0.15, 0.3, 0.25, 1)",delay:"0s"},resistance:!1};var k=C;e.default=k},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},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},function(t,e,n){var r=n(872);t.exports=function(t,e){if(null==t)return{};var n,o,i=r(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},function(t,e){t.exports=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(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)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e,n){var r=n(876),o=n(877);t.exports=function(t,e){return!e||"object"!==r(e)&&"function"!==typeof e?o(t):e}},function(t,e){function n(t){return 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},n(t)}function r(e){return"function"===typeof Symbol&&"symbol"===n(Symbol.iterator)?t.exports=r=function(t){return n(t)}:t.exports=r=function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":n(t)},r(e)}t.exports=r},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}},function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},function(t,e,n){var r=n(880);t.exports=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&&r(t,e)}},function(t,e){function n(e,r){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,r)}t.exports=n},function(t,e,n){t.exports=n(882)()},function(t,e,n){"use strict";var r=n(883);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var r=n(381);Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"checkIndexBounds",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"computeIndex",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"constant",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"getDisplaySameSlide",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"mod",{enumerable:!0,get:function(){return l.default}});var o=r(n(885)),i=r(n(886)),a=r(n(580)),s=r(n(887)),l=r(n(888))},function(t,e,n){"use strict";var r=n(381);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(1)),i=(r(n(579)),function(t){t.index;var e=t.children;o.default.Children.count(e)});e.default=i},function(t,e,n){"use strict";var r=n(381);Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e,n=t.children,r=t.startIndex,a=t.startX,s=t.pageX,l=t.viewLength,c=t.resistance,u=o.default.Children.count(n)-1,d=r+(a-s)/l;c?d<0?d=Math.exp(d*i.default.RESISTANCE_COEF)-1:d>u&&(d=u+1-Math.exp((u-d)*i.default.RESISTANCE_COEF)):d<0?e=((d=0)-r)*l+s:d>u&&(e=((d=u)-r)*l+s);return{index:d,startX:e}};var o=r(n(1)),i=r(n(580))},function(t,e,n){"use strict";var r=n(381);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(1)),i=function(t,e){var n=!1,r=function(t){return t?t.key:"empty"};if(t.children.length&&e.children.length){var i=o.default.Children.map(t.children,r)[t.index];if(null!==i&&void 0!==i)i===o.default.Children.map(e.children,r)[e.index]&&(n=!0)}return n};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=function(t,e){var n=t%e;return n<0?n+e:n};e.default=r},,function(t,e,n){"use strict";t.exports=n(891)},function(t,e,n){"use strict";(function(t){var r=n(237),o=n(1),i=n(51),a=n(544);function s(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 l=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function c(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(1026&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function u(t){if(c(t)!==t)throw Error(s(188))}function d(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}function f(){return!0}function p(){return!1}function h(t){function e(e,n,r,o,i){for(var a in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,t)t.hasOwnProperty(a)&&(e=t[a],this[a]=e?e(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?f:p,this.isPropagationStopped=p,this}return r(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=f)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=f)},persist:function(){},isPersistent:f}),e}var v={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},g=h(v),m=r({},v,{view:0,detail:0});h(m);var b,y,x,w=r({},m,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:k,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==x&&(x&&"mousemove"===t.type?(b=t.screenX-x.screenX,y=t.screenY-x.screenY):y=b=0,x=t),b)},movementY:function(t){return"movementY"in t?t.movementY:y}});h(w),h(r({},w,{dataTransfer:0})),h(r({},m,{relatedTarget:0})),h(r({},v,{animationName:0,elapsedTime:0,pseudoElement:0})),h(r({},v,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}})),h(r({},v,{data:0}));var O={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},S={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"},j={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function C(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=j[t])&&!!e[t]}function k(){return C}h(r({},m,{key:function(t){if(t.key){var e=O[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=d(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?S[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:k,charCode:function(t){return"keypress"===t.type?d(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?d(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}})),h(r({},w,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),h(r({},m,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:k})),h(r({},v,{propertyName:0,elapsedTime:0,pseudoElement:0})),h(r({},w,{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:0,deltaMode:0}));var E=null;function P(e){if(null===E)try{var n=("require"+Math.random()).slice(0,7);E=(t&&t[n]).call(t,"timers").setImmediate}catch(r){E=function(t){var e=new MessageChannel;e.port1.onmessage=t,e.port2.postMessage(void 0)}}return E(e)}var _=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,M=_[5],T=_[6],A=i.unstable_batchedUpdates,R=l.IsSomeRendererActing,D="function"===typeof a.unstable_flushAllWithoutAsserting,I=a.unstable_flushAllWithoutAsserting||function(){for(var t=!1;M();)t=!0;return t};function N(t){try{I(),P((function(){I()?N(t):t()}))}catch(e){t(e)}}var L=0,F=!1,B=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events[6],z=i.unstable_batchedUpdates,H=l.IsSomeRendererActing;function V(t,e){jest.runOnlyPendingTimers(),P((function(){try{a.unstable_flushAllWithoutAsserting()?V(t,e):t()}catch(n){e(n)}}))}function U(t,e,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(u){this.onError(u)}}var W=!1,q=null,G=!1,Y=null,X={onError:function(t){W=!0,q=t}};function K(t,e,n,r,o,i,a,s,l){W=!1,q=null,U.apply(X,arguments)}var $=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,Z=$[0],Q=$[1],J=$[2],tt=$[3],et=$[4];function nt(){}function rt(t,e){if(!t)return[];if(t=function(t){var e=t.alternate;if(!e){if(null===(e=c(t)))throw Error(s(188));return e!==t?null:t}for(var n=t,r=e;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return u(o),t;if(i===r)return u(o),e;i=i.sibling}throw Error(s(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(s(189))}}if(n.alternate!==r)throw Error(s(190))}if(3!==n.tag)throw Error(s(188));return n.stateNode.current===n?t:e}(t),!t)return[];for(var n=t,r=[];;){if(5===n.tag||6===n.tag||1===n.tag||0===n.tag){var o=n.stateNode;e(o)&&r.push(o)}if(n.child)n.child.return=n,n=n.child;else{if(n===t)return r;for(;!n.sibling;){if(!n.return||n.return===t)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}}}function ot(t,e){if(t&&!t._reactInternals){var n=""+t;throw t=Array.isArray(t)?"an array":t&&1===t.nodeType&&t.tagName?"a DOM node":"[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n,Error(s(286,e,t))}}function it(t){return!(!t||1!==t.nodeType||!t.tagName)}function at(t){return!it(t)&&(null!=t&&"function"===typeof t.render&&"function"===typeof t.setState)}function st(t,e){return!!at(t)&&t._reactInternals.type===e}function lt(t,e){return ot(t,"findAllInRenderedTree"),t?rt(t._reactInternals,e):[]}function ct(t,e){return ot(t,"scryRenderedDOMComponentsWithClass"),lt(t,(function(t){if(it(t)){var n=t.className;"string"!==typeof n&&(n=t.getAttribute("class")||"");var r=n.split(/\s+/);if(!Array.isArray(e)){if(void 0===e)throw Error(s(11));e=e.split(/\s+/)}return e.every((function(t){return-1!==r.indexOf(t)}))}return!1}))}function ut(t,e){return ot(t,"scryRenderedDOMComponentsWithTag"),lt(t,(function(t){return it(t)&&t.tagName.toUpperCase()===e.toUpperCase()}))}function dt(t,e){return ot(t,"scryRenderedComponentsWithType"),lt(t,(function(t){return st(t,e)}))}function ft(t,e,n){var r=t.type||"unknown-event";t.currentTarget=Q(n),function(t,e,n,r,o,i,a,l,c){if(K.apply(this,arguments),W){if(!W)throw Error(s(198));var u=q;W=!1,q=null,G||(G=!0,Y=u)}}(r,e,void 0,t),t.currentTarget=null}function pt(t,e,n){for(var r=[];t;){r.push(t);do{t=t.return}while(t&&5!==t.tag);t=t||null}for(t=r.length;0<t--;)e(r[t],"captured",n);for(t=0;t<r.length;t++)e(r[t],"bubbled",n)}function ht(t,e){var n=t.stateNode;if(!n)return null;var r=J(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":case"onMouseEnter":(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(s(231,e,typeof n));return n}function vt(t,e,n){var r=n._reactName;"captured"===e&&(r+="Capture"),(e=ht(t,r))&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(e),n._dispatchInstances.push(t))}var gt={},mt=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function bt(t){return function(e,n){if(o.isValidElement(e))throw Error(s(228));if(at(e))throw Error(s(229));var a="on"+t[0].toUpperCase()+t.slice(1),l=new nt;l.target=e,l.type=t.toLowerCase();var c=Z(e),u=new g(a,l.type,c,l,e);u.persist(),r(u,n),mt.has(t)?u&&u._reactName&&function(t,e,n){t&&n&&n._reactName&&(e=ht(t,n._reactName))&&(null==n._dispatchListeners&&(n._dispatchListeners=[]),null==n._dispatchInstances&&(n._dispatchInstances=[]),n._dispatchListeners.push(e),n._dispatchInstances.push(t))}(u._targetInst,null,u):u&&u._reactName&&pt(u._targetInst,vt,u),i.unstable_batchedUpdates((function(){if(tt(e),u){var t=u._dispatchListeners,n=u._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!u.isPropagationStopped();r++)ft(u,t[r],n[r]);else t&&ft(u,t,n);u._dispatchListeners=null,u._dispatchInstances=null,u.isPersistent()||u.constructor.release(u)}if(G)throw t=Y,G=!1,Y=null,t})),et()}}"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach((function(t){gt[t]=bt(t)})),e.Simulate=gt,e.act=function(t){function e(){L--,R.current=n,T.current=r}!1===F&&(F=!0,console.error("act(...) is not supported in production builds of React, and might not behave as expected.")),L++;var n=R.current,r=T.current;R.current=!0,T.current=!0;try{var o=A(t)}catch(i){throw e(),i}if(null!==o&&"object"===typeof o&&"function"===typeof o.then)return{then:function(t,r){o.then((function(){1<L||!0===D&&!0===n?(e(),t()):N((function(n){e(),n?r(n):t()}))}),(function(t){e(),r(t)}))}};try{1!==L||!1!==D&&!1!==n||I(),e()}catch(i){throw e(),i}return{then:function(t){t()}}},e.findAllInRenderedTree=lt,e.findRenderedComponentWithType=function(t,e){if(ot(t,"findRenderedComponentWithType"),1!==(t=dt(t,e)).length)throw Error("Did not find exactly one match (found: "+t.length+") for componentType:"+e);return t[0]},e.findRenderedDOMComponentWithClass=function(t,e){if(ot(t,"findRenderedDOMComponentWithClass"),1!==(t=ct(t,e)).length)throw Error("Did not find exactly one match (found: "+t.length+") for class:"+e);return t[0]},e.findRenderedDOMComponentWithTag=function(t,e){if(ot(t,"findRenderedDOMComponentWithTag"),1!==(t=ut(t,e)).length)throw Error("Did not find exactly one match (found: "+t.length+") for tag:"+e);return t[0]},e.isCompositeComponent=at,e.isCompositeComponentWithType=st,e.isDOMComponent=it,e.isDOMComponentElement=function(t){return!!(t&&o.isValidElement(t)&&t.tagName)},e.isElement=function(t){return o.isValidElement(t)},e.isElementOfType=function(t,e){return o.isValidElement(t)&&t.type===e},e.mockComponent=function(t,e){return e=e||t.mockTagName||"div",t.prototype.render.mockImplementation((function(){return o.createElement(e,null,this.props.children)})),this},e.nativeTouchData=function(t,e){return{touches:[{pageX:t,pageY:e}]}},e.renderIntoDocument=function(t){var e=document.createElement("div");return i.render(t,e)},e.scryRenderedComponentsWithType=dt,e.scryRenderedDOMComponentsWithClass=ct,e.scryRenderedDOMComponentsWithTag=ut,e.traverseTwoPhase=pt,e.unstable_concurrentAct=function(t){function e(){H.current=n,B.current=r}if(void 0===a.unstable_flushAllWithoutAsserting)throw Error("This version of `act` requires a special mock build of Scheduler.");if(!0!==setTimeout._isMockFunction)throw Error("This version of `act` requires Jest's timer mocks (i.e. jest.useFakeTimers).");var n=H.current,r=B.current;H.current=!0,B.current=!0;try{var o=z(t);if("object"===typeof o&&null!==o&&"function"===typeof o.then)return{then:function(t,n){o.then((function(){V((function(){e(),t()}),(function(t){e(),n(t)}))}),(function(t){e(),n(t)}))}};try{do{var i=a.unstable_flushAllWithoutAsserting()}while(i)}finally{e()}}catch(s){throw e(),s}}}).call(this,n(271)(t))},,function(t,e){t.exports=function(t,e,n){return t===e||t.className===e.className&&n(t.style,e.style)&&t.width===e.width&&t.autoSize===e.autoSize&&t.cols===e.cols&&t.draggableCancel===e.draggableCancel&&t.draggableHandle===e.draggableHandle&&n(t.verticalCompact,e.verticalCompact)&&n(t.compactType,e.compactType)&&n(t.layout,e.layout)&&n(t.margin,e.margin)&&n(t.containerPadding,e.containerPadding)&&t.rowHeight===e.rowHeight&&t.maxRows===e.maxRows&&t.isBounded===e.isBounded&&t.isDraggable===e.isDraggable&&t.isResizable===e.isResizable&&t.allowOverlap===e.allowOverlap&&t.preventCollision===e.preventCollision&&t.useCSSTransforms===e.useCSSTransforms&&t.transformScale===e.transformScale&&t.isDroppable===e.isDroppable&&n(t.resizeHandles,e.resizeHandles)&&n(t.resizeHandle,e.resizeHandle)&&t.onLayoutChange===e.onLayoutChange&&t.onDragStart===e.onDragStart&&t.onDrag===e.onDrag&&t.onDragStop===e.onDragStop&&t.onResizeStart===e.onResizeStart&&t.onResize===e.onResize&&t.onResizeStop===e.onResizeStop&&t.onDrop===e.onDrop&&n(t.droppingItem,e.droppingItem)&&n(t.innerRef,e.innerRef)}},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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=f(n(1)),i=f(n(382)),a=n(473),s=n(902),l=n(274),c=n(582),u=n(589),d=f(n(10));function f(t){return t&&t.__esModule?t:{default:t}}function p(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 h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?p(Object(n),!0).forEach((function(e){O(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(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){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function b(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){if(e&&("object"===r(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return x(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){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},w(t)}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var S=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(u,t);var e,n,r,i=b(u);function u(){var t;v(this,u);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return O(x(t=i.call.apply(i,[this].concat(n))),"state",{resizing:null,dragging:null,className:""}),O(x(t),"elementRef",o.default.createRef()),O(x(t),"onDragStart",(function(e,n){var r=n.node,o=t.props,i=o.onDragStart,a=o.transformScale;if(i){var s={top:0,left:0},l=r.offsetParent;if(l){var u=l.getBoundingClientRect(),d=r.getBoundingClientRect(),f=d.left/a,p=u.left/a,h=d.top/a,v=u.top/a;s.left=f-p+l.scrollLeft,s.top=h-v+l.scrollTop,t.setState({dragging:s});var g=(0,c.calcXY)(t.getPositionParams(),s.top,s.left,t.props.w,t.props.h),m=g.x,b=g.y;return i.call(x(t),t.props.i,m,b,{e:e,node:r,newPosition:s})}}})),O(x(t),"onDrag",(function(e,n){var r=n.node,o=n.deltaX,i=n.deltaY,a=t.props.onDrag;if(a){if(!t.state.dragging)throw new Error("onDrag called before onDragStart.");var s=t.state.dragging.top+i,l=t.state.dragging.left+o,u=t.props,d=u.isBounded,f=u.i,p=u.w,h=u.h,v=u.containerWidth,g=t.getPositionParams();if(d){var m=r.offsetParent;if(m){var b=t.props,y=b.margin,w=b.rowHeight,O=m.clientHeight-(0,c.calcGridItemWHPx)(h,w,y[1]);s=(0,c.clamp)(s,0,O);var S=(0,c.calcGridColWidth)(g),j=v-(0,c.calcGridItemWHPx)(p,S,y[0]);l=(0,c.clamp)(l,0,j)}}var C={top:s,left:l};t.setState({dragging:C});var k=(0,c.calcXY)(g,s,l,p,h),E=k.x,P=k.y;return a.call(x(t),f,E,P,{e:e,node:r,newPosition:C})}})),O(x(t),"onDragStop",(function(e,n){var r=n.node,o=t.props.onDragStop;if(o){if(!t.state.dragging)throw new Error("onDragEnd called before onDragStart.");var i=t.props,a=i.w,s=i.h,l=i.i,u=t.state.dragging,d=u.left,f=u.top,p={top:f,left:d};t.setState({dragging:null});var h=(0,c.calcXY)(t.getPositionParams(),f,d,a,s),v=h.x,g=h.y;return o.call(x(t),l,v,g,{e:e,node:r,newPosition:p})}})),O(x(t),"onResizeStop",(function(e,n){t.onResizeHandler(e,n,"onResizeStop")})),O(x(t),"onResizeStart",(function(e,n){t.onResizeHandler(e,n,"onResizeStart")})),O(x(t),"onResize",(function(e,n){t.onResizeHandler(e,n,"onResize")})),t}return e=u,n=[{key:"shouldComponentUpdate",value:function(t,e){if(this.props.children!==t.children)return!0;if(this.props.droppingPosition!==t.droppingPosition)return!0;var n=(0,c.calcGridItemPosition)(this.getPositionParams(this.props),this.props.x,this.props.y,this.props.w,this.props.h,this.state),r=(0,c.calcGridItemPosition)(this.getPositionParams(t),t.x,t.y,t.w,t.h,e);return!(0,l.fastPositionEqual)(n,r)||this.props.useCSSTransforms!==t.useCSSTransforms}},{key:"componentDidMount",value:function(){this.moveDroppingItem({})}},{key:"componentDidUpdate",value:function(t){this.moveDroppingItem(t)}},{key:"moveDroppingItem",value:function(t){var e=this.props.droppingPosition;if(e){var n=this.elementRef.current;if(n){var r=t.droppingPosition||{left:0,top:0},o=this.state.dragging,i=o&&e.left!==r.left||e.top!==r.top;if(o){if(i){var a=e.left-o.left,s=e.top-o.top;this.onDrag(e.e,{node:n,deltaX:a,deltaY:s})}}else this.onDragStart(e.e,{node:n,deltaX:e.left,deltaY:e.top})}}}},{key:"getPositionParams",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return{cols:t.cols,containerPadding:t.containerPadding,containerWidth:t.containerWidth,margin:t.margin,maxRows:t.maxRows,rowHeight:t.rowHeight}}},{key:"createStyle",value:function(t){var e,n=this.props,r=n.usePercentages,o=n.containerWidth;return n.useCSSTransforms?e=(0,l.setTransform)(t):(e=(0,l.setTopLeft)(t),r&&(e.left=(0,l.perc)(t.left/o),e.width=(0,l.perc)(t.width/o))),e}},{key:"mixinDraggable",value:function(t,e){return o.default.createElement(a.DraggableCore,{disabled:!e,onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop,handle:this.props.handle,cancel:".react-resizable-handle"+(this.props.cancel?","+this.props.cancel:""),scale:this.props.transformScale,nodeRef:this.elementRef},t)}},{key:"mixinResizable",value:function(t,e,n){var r=this.props,i=r.cols,a=r.x,l=r.minW,u=r.minH,d=r.maxW,f=r.maxH,p=r.transformScale,h=r.resizeHandles,v=r.resizeHandle,g=this.getPositionParams(),m=(0,c.calcGridItemPosition)(g,0,0,i-a,0).width,b=(0,c.calcGridItemPosition)(g,0,0,l,u),y=(0,c.calcGridItemPosition)(g,0,0,d,f),x=[b.width,b.height],w=[Math.min(y.width,m),Math.min(y.height,1/0)];return o.default.createElement(s.Resizable,{draggableOpts:{disabled:!n},className:n?void 0:"react-resizable-hide",width:e.width,height:e.height,minConstraints:x,maxConstraints:w,onResizeStop:this.onResizeStop,onResizeStart:this.onResizeStart,onResize:this.onResize,transformScale:p,resizeHandles:h,handle:v},t)}},{key:"onResizeHandler",value:function(t,e,n){var r=e.node,o=e.size,i=this.props[n];if(i){var a=this.props,s=a.cols,l=a.x,u=a.y,d=a.i,f=a.maxH,p=a.minH,h=this.props,v=h.minW,g=h.maxW,m=(0,c.calcWH)(this.getPositionParams(),o.width,o.height,l,u),b=m.w,y=m.h;v=Math.max(v,1),g=Math.min(g,s-l),b=(0,c.clamp)(b,v,g),y=(0,c.clamp)(y,p,f),this.setState({resizing:"onResizeStop"===n?null:o}),i.call(this,d,b,y,{e:t,node:r,size:o})}}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.w,i=t.h,a=t.isDraggable,s=t.isResizable,l=t.droppingPosition,u=t.useCSSTransforms,f=(0,c.calcGridItemPosition)(this.getPositionParams(),e,n,r,i,this.state),p=o.default.Children.only(this.props.children),v=o.default.cloneElement(p,{ref:this.elementRef,className:(0,d.default)("react-grid-item",p.props.className,this.props.className,{static:this.props.static,resizing:Boolean(this.state.resizing),"react-draggable":a,"react-draggable-dragging":Boolean(this.state.dragging),dropping:Boolean(l),cssTransforms:u}),style:h(h(h({},this.props.style),p.props.style),this.createStyle(f))});return v=this.mixinResizable(v,f,s),v=this.mixinDraggable(v,a)}}],n&&g(e.prototype,n),r&&g(e,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(o.default.Component);e.default=S,O(S,"propTypes",{children:i.default.element,cols:i.default.number.isRequired,containerWidth:i.default.number.isRequired,rowHeight:i.default.number.isRequired,margin:i.default.array.isRequired,maxRows:i.default.number.isRequired,containerPadding:i.default.array.isRequired,x:i.default.number.isRequired,y:i.default.number.isRequired,w:i.default.number.isRequired,h:i.default.number.isRequired,minW:function(t,e){var n=t[e];return"number"!==typeof n?new Error("minWidth not Number"):n>t.w||n>t.maxW?new Error("minWidth larger than item width/maxWidth"):void 0},maxW:function(t,e){var n=t[e];return"number"!==typeof n?new Error("maxWidth not Number"):n<t.w||n<t.minW?new Error("maxWidth smaller than item width/minWidth"):void 0},minH:function(t,e){var n=t[e];return"number"!==typeof n?new Error("minHeight not Number"):n>t.h||n>t.maxH?new Error("minHeight larger than item height/maxHeight"):void 0},maxH:function(t,e){var n=t[e];return"number"!==typeof n?new Error("maxHeight not Number"):n<t.h||n<t.minH?new Error("maxHeight smaller than item height/minHeight"):void 0},i:i.default.string.isRequired,resizeHandles:u.resizeHandleAxesType,resizeHandle:u.resizeHandleType,onDragStop:i.default.func,onDragStart:i.default.func,onDrag:i.default.func,onResizeStop:i.default.func,onResizeStart:i.default.func,onResize:i.default.func,isDraggable:i.default.bool.isRequired,isResizable:i.default.bool.isRequired,isBounded:i.default.bool.isRequired,static:i.default.bool,useCSSTransforms:i.default.bool.isRequired,transformScale:i.default.number,className:i.default.string,handle:i.default.string,cancel:i.default.string,droppingPosition:i.default.shape({e:i.default.object.isRequired,left:i.default.number.isRequired,top:i.default.number.isRequired})}),O(S,"defaultProps",{className:"",cancel:"",handle:"",minH:1,minW:1,maxH:1/0,maxW:1/0,transformScale:1})},function(t,e,n){"use strict";var r=n(896);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return d.default}}),e.default=void 0;var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var n=v(e);if(n&&n.has(t))return n.get(t);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=t[a]}o.default=t,n&&n.set(t,o);return o}(n(1)),i=h(n(583)),a=h(n(51)),s=h(n(10)),l=n(474),c=n(584),u=n(383),d=h(n(901)),f=h(n(585)),p=["axis","bounds","children","defaultPosition","defaultClassName","defaultClassNameDragging","defaultClassNameDragged","position","positionOffset","scale"];function h(t){return t&&t.__esModule?t:{default:t}}function v(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(v=function(t){return t?n:e})(t)}function g(){return g=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},g.apply(this,arguments)}function m(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}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 y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach((function(e){P(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return w(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}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 S(t,e){return S=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},S(t,e)}function j(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(t,e){if(e&&("object"===r(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return k(t)}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){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},E(t)}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 _=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&S(t,e)}(u,t);var e,n,r,i=j(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),P(k(e=i.call(this,t)),"onDragStart",(function(t,n){if((0,f.default)("Draggable: onDragStart: %j",n),!1===e.props.onStart(t,(0,c.createDraggableData)(k(e),n)))return!1;e.setState({dragging:!0,dragged:!0})})),P(k(e),"onDrag",(function(t,n){if(!e.state.dragging)return!1;(0,f.default)("Draggable: onDrag: %j",n);var r=(0,c.createDraggableData)(k(e),n),o={x:r.x,y:r.y};if(e.props.bounds){var i=o.x,a=o.y;o.x+=e.state.slackX,o.y+=e.state.slackY;var s=x((0,c.getBoundPosition)(k(e),o.x,o.y),2),l=s[0],u=s[1];o.x=l,o.y=u,o.slackX=e.state.slackX+(i-o.x),o.slackY=e.state.slackY+(a-o.y),r.x=o.x,r.y=o.y,r.deltaX=o.x-e.state.x,r.deltaY=o.y-e.state.y}if(!1===e.props.onDrag(t,r))return!1;e.setState(o)})),P(k(e),"onDragStop",(function(t,n){if(!e.state.dragging)return!1;if(!1===e.props.onStop(t,(0,c.createDraggableData)(k(e),n)))return!1;(0,f.default)("Draggable: onDragStop: %j",n);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(e.props.position)){var o=e.props.position,i=o.x,a=o.y;r.x=i,r.y=a}e.setState(r)})),e.state={dragging:!1,dragged:!1,x:t.position?t.position.x:t.defaultPosition.x,y:t.position?t.position.y:t.defaultPosition.y,prevPropsPosition:y({},t.position),slackX:0,slackY:0,isElementSVG:!1},!t.position||t.onDrag||t.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element."),e}return e=u,r=[{key:"getDerivedStateFromProps",value:function(t,e){var n=t.position,r=e.prevPropsPosition;return!n||r&&n.x===r.x&&n.y===r.y?null:((0,f.default)("Draggable: getDerivedStateFromProps %j",{position:n,prevPropsPosition:r}),{x:n.x,y:n.y,prevPropsPosition:y({},n)})}}],(n=[{key:"componentDidMount",value:function(){"undefined"!==typeof window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"findDOMNode",value:function(){var t,e,n;return null!==(t=null===(e=this.props)||void 0===e||null===(n=e.nodeRef)||void 0===n?void 0:n.current)&&void 0!==t?t:a.default.findDOMNode(this)}},{key:"render",value:function(){var t,e=this.props,n=(e.axis,e.bounds,e.children),r=e.defaultPosition,i=e.defaultClassName,a=e.defaultClassNameDragging,u=e.defaultClassNameDragged,f=e.position,h=e.positionOffset,v=(e.scale,m(e,p)),b={},x=null,w=!Boolean(f)||this.state.dragging,O=f||r,S={x:(0,c.canDragX)(this)&&w?this.state.x:O.x,y:(0,c.canDragY)(this)&&w?this.state.y:O.y};this.state.isElementSVG?x=(0,l.createSVGTransform)(S,h):b=(0,l.createCSSTransform)(S,h);var j=(0,s.default)(n.props.className||"",i,(P(t={},a,this.state.dragging),P(t,u,this.state.dragged),t));return o.createElement(d.default,g({},v,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),o.cloneElement(o.Children.only(n),{className:j,style:y(y({},n.props.style),b),transform:x}))}}])&&O(e.prototype,n),r&&O(e,r),Object.defineProperty(e,"prototype",{writable:!1}),u}(o.Component);e.default=_,P(_,"displayName","Draggable"),P(_,"propTypes",y(y({},d.default.propTypes),{},{axis:i.default.oneOf(["both","x","y","none"]),bounds:i.default.oneOfType([i.default.shape({left:i.default.number,right:i.default.number,top:i.default.number,bottom:i.default.number}),i.default.string,i.default.oneOf([!1])]),defaultClassName:i.default.string,defaultClassNameDragging:i.default.string,defaultClassNameDragged:i.default.string,defaultPosition:i.default.shape({x:i.default.number,y:i.default.number}),positionOffset:i.default.shape({x:i.default.oneOfType([i.default.number,i.default.string]),y:i.default.oneOfType([i.default.number,i.default.string])}),position:i.default.shape({x:i.default.number,y:i.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe})),P(_,"defaultProps",y(y({},d.default.defaultProps),{},{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1}))},function(t,e,n){"use strict";var r=n(899);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.browserPrefixToKey=i,e.browserPrefixToStyle=function(t,e){return e?"-".concat(e.toLowerCase(),"-").concat(t):t},e.default=void 0,e.getPrefix=o;var r=["Moz","Webkit","O","ms"];function o(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"===typeof window)return"";var o=null===(t=window.document)||void 0===t||null===(e=t.documentElement)||void 0===e?void 0:e.style;if(!o)return"";if(n in o)return"";for(var a=0;a<r.length;a++)if(i(n,r[a])in o)return r[a];return""}function i(t,e){return e?"".concat(e).concat(function(t){for(var e="",n=!0,r=0;r<t.length;r++)n?(e+=t[r].toUpperCase(),n=!1):"-"===t[r]?n=!0:e+=t[r];return e}(t)):t}var a=o();e.default=a},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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var n=f(e);if(n&&n.has(t))return n.get(t);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=t[a]}o.default=t,n&&n.set(t,o);return o}(n(1)),i=d(n(583)),a=d(n(51)),s=n(474),l=n(584),c=n(383),u=d(n(585));function d(t){return t&&t.__esModule?t:{default:t}}function f(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:e})(t)}function p(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return h(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(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){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function b(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(t,e){if(e&&("object"===r(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return x(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){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},w(t)}function O(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var S={start:"touchstart",move:"touchmove",stop:"touchend"},j={start:"mousedown",move:"mousemove",stop:"mouseup"},C=j,k=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&m(t,e)}(c,t);var e,n,r,i=b(c);function c(){var t;v(this,c);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return O(x(t=i.call.apply(i,[this].concat(n))),"state",{dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null}),O(x(t),"mounted",!1),O(x(t),"handleDragStart",(function(e){if(t.props.onMouseDown(e),!t.props.allowAnyClick&&"number"===typeof e.button&&0!==e.button)return!1;var n=t.findDOMNode();if(!n||!n.ownerDocument||!n.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");var r=n.ownerDocument;if(!(t.props.disabled||!(e.target instanceof r.defaultView.Node)||t.props.handle&&!(0,s.matchesSelectorAndParentsTo)(e.target,t.props.handle,n)||t.props.cancel&&(0,s.matchesSelectorAndParentsTo)(e.target,t.props.cancel,n))){"touchstart"===e.type&&e.preventDefault();var o=(0,s.getTouchIdentifier)(e);t.setState({touchIdentifier:o});var i=(0,l.getControlPosition)(e,o,x(t));if(null!=i){var a=i.x,c=i.y,d=(0,l.createCoreData)(x(t),a,c);(0,u.default)("DraggableCore: handleDragStart: %j",d),(0,u.default)("calling",t.props.onStart),!1!==t.props.onStart(e,d)&&!1!==t.mounted&&(t.props.enableUserSelectHack&&(0,s.addUserSelectStyles)(r),t.setState({dragging:!0,lastX:a,lastY:c}),(0,s.addEvent)(r,C.move,t.handleDrag),(0,s.addEvent)(r,C.stop,t.handleDragStop))}}})),O(x(t),"handleDrag",(function(e){var n=(0,l.getControlPosition)(e,t.state.touchIdentifier,x(t));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(t.props.grid)){var i=r-t.state.lastX,a=o-t.state.lastY,s=p((0,l.snapToGrid)(t.props.grid,i,a),2);if(i=s[0],a=s[1],!i&&!a)return;r=t.state.lastX+i,o=t.state.lastY+a}var c=(0,l.createCoreData)(x(t),r,o);if((0,u.default)("DraggableCore: handleDrag: %j",c),!1!==t.props.onDrag(e,c)&&!1!==t.mounted)t.setState({lastX:r,lastY:o});else try{t.handleDragStop(new MouseEvent("mouseup"))}catch(f){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),t.handleDragStop(d)}}})),O(x(t),"handleDragStop",(function(e){if(t.state.dragging){var n=(0,l.getControlPosition)(e,t.state.touchIdentifier,x(t));if(null!=n){var r=n.x,o=n.y;if(Array.isArray(t.props.grid)){var i=r-t.state.lastX||0,a=o-t.state.lastY||0,c=p((0,l.snapToGrid)(t.props.grid,i,a),2);i=c[0],a=c[1],r=t.state.lastX+i,o=t.state.lastY+a}var d=(0,l.createCoreData)(x(t),r,o);if(!1===t.props.onStop(e,d)||!1===t.mounted)return!1;var f=t.findDOMNode();f&&t.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(f.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",d),t.setState({dragging:!1,lastX:NaN,lastY:NaN}),f&&((0,u.default)("DraggableCore: Removing handlers"),(0,s.removeEvent)(f.ownerDocument,C.move,t.handleDrag),(0,s.removeEvent)(f.ownerDocument,C.stop,t.handleDragStop))}}})),O(x(t),"onMouseDown",(function(e){return C=j,t.handleDragStart(e)})),O(x(t),"onMouseUp",(function(e){return C=j,t.handleDragStop(e)})),O(x(t),"onTouchStart",(function(e){return C=S,t.handleDragStart(e)})),O(x(t),"onTouchEnd",(function(e){return C=S,t.handleDragStop(e)})),t}return e=c,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var t=this.findDOMNode();t&&(0,s.addEvent)(t,S.start,this.onTouchStart,{passive:!1})}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var t=this.findDOMNode();if(t){var e=t.ownerDocument;(0,s.removeEvent)(e,j.move,this.handleDrag),(0,s.removeEvent)(e,S.move,this.handleDrag),(0,s.removeEvent)(e,j.stop,this.handleDragStop),(0,s.removeEvent)(e,S.stop,this.handleDragStop),(0,s.removeEvent)(t,S.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,s.removeUserSelectStyles)(e)}}},{key:"findDOMNode",value:function(){var t,e,n;return null!==(t=this.props)&&void 0!==t&&t.nodeRef?null===(e=this.props)||void 0===e||null===(n=e.nodeRef)||void 0===n?void 0:n.current:a.default.findDOMNode(this)}},{key:"render",value:function(){return o.cloneElement(o.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}])&&g(e.prototype,n),r&&g(e,r),Object.defineProperty(e,"prototype",{writable:!1}),c}(o.Component);e.default=k,O(k,"displayName","DraggableCore"),O(k,"propTypes",{allowAnyClick:i.default.bool,disabled:i.default.bool,enableUserSelectHack:i.default.bool,offsetParent:function(t,e){if(t[e]&&1!==t[e].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:i.default.arrayOf(i.default.number),handle:i.default.string,cancel:i.default.string,nodeRef:i.default.object,onStart:i.default.func,onDrag:i.default.func,onStop:i.default.func,onMouseDown:i.default.func,scale:i.default.number,className:c.dontSetMe,style:c.dontSetMe,transform:c.dontSetMe}),O(k,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},function(t,e,n){"use strict";t.exports=function(){throw new Error("Don't instantiate Resizable directly! Use require('react-resizable').Resizable")},t.exports.Resizable=n(586).default,t.exports.ResizableBox=n(906).default},function(t,e,n){"use strict";e.__esModule=!0,e.cloneElement=function(t,e){e.style&&t.props.style&&(e.style=a(a({},t.props.style),e.style));e.className&&t.props.className&&(e.className=t.props.className+" "+e.className);return o.default.cloneElement(t,e)};var r,o=(r=n(1))&&r.__esModule?r:{default:r};function i(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 a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(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(t,e,n){"use strict";var r=n(905);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;var r=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var a=o?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=t[i]}r.default=t,n&&n.set(t,r);return r}(n(1)),o=l(n(588)),i=l(n(586)),a=n(587),s=["handle","handleSize","onResize","onResizeStart","onResizeStop","draggableOpts","minConstraints","maxConstraints","lockAspectRatio","axis","width","height","resizeHandles","style","transformScale"];function l(t){return t&&t.__esModule?t:{default:t}}function c(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(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},u.apply(this,arguments)}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}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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}function h(t,e){return h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},h(t,e)}var v=function(t){var e,n;function o(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).state={width:e.props.width,height:e.props.height,propsWidth:e.props.width,propsHeight:e.props.height},e.onResize=function(t,n){var r=n.size;e.props.onResize?(null==t.persist||t.persist(),e.setState(r,(function(){return e.props.onResize&&e.props.onResize(t,n)}))):e.setState(r)},e}return n=t,(e=o).prototype=Object.create(n.prototype),e.prototype.constructor=e,h(e,n),o.getDerivedStateFromProps=function(t,e){return e.propsWidth!==t.width||e.propsHeight!==t.height?{width:t.width,height:t.height,propsWidth:t.width,propsHeight:t.height}:null},o.prototype.render=function(){var t=this.props,e=t.handle,n=t.handleSize,o=(t.onResize,t.onResizeStart),a=t.onResizeStop,l=t.draggableOpts,c=t.minConstraints,d=t.maxConstraints,p=t.lockAspectRatio,h=t.axis,v=(t.width,t.height,t.resizeHandles),g=t.style,m=t.transformScale,b=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,s);return r.createElement(i.default,{axis:h,draggableOpts:l,handle:e,handleSize:n,height:this.state.height,lockAspectRatio:p,maxConstraints:d,minConstraints:c,onResizeStart:o,onResize:this.onResize,onResizeStop:a,resizeHandles:v,transformScale:m,width:this.state.width},r.createElement("div",u({},b,{style:f(f({},g),{},{width:this.state.width+"px",height:this.state.height+"px"})})))},o}(r.Component);e.default=v,v.propTypes=f(f({},a.resizableProps),{},{children:o.default.element})},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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var n=f(e);if(n&&n.has(t))return n.get(t);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=t[a]}o.default=t,n&&n.set(t,o);return o}(n(1)),i=d(n(382)),a=d(n(472)),s=n(274),l=n(590),c=d(n(581)),u=["breakpoint","breakpoints","cols","layouts","margin","containerPadding","onBreakpointChange","onLayoutChange","onWidthChange"];function d(t){return t&&t.__esModule?t:{default:t}}function f(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(f=function(t){return t?n:e})(t)}function p(){return p=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},p.apply(this,arguments)}function h(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function v(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 g(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){j(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(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 y(t,e){return y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},y(t,e)}function x(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){if(e&&("object"===r(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return O(t)}function O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},S(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}var C=function(t){return Object.prototype.toString.call(t)};function k(t,e){return null==t?null:Array.isArray(t)?t:t[e]}var E=function(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(d,t);var e,n,r,i=x(d);function d(){var t;m(this,d);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return j(O(t=i.call.apply(i,[this].concat(n))),"state",t.generateInitialState()),j(O(t),"onLayoutChange",(function(e){t.props.onLayoutChange(e,g(g({},t.props.layouts),{},j({},t.state.breakpoint,e)))})),t}return e=d,r=[{key:"getDerivedStateFromProps",value:function(t,e){if(!(0,a.default)(t.layouts,e.layouts)){var n=e.breakpoint,r=e.cols;return{layout:(0,l.findOrGenerateResponsiveLayout)(t.layouts,t.breakpoints,n,n,r,t.compactType),layouts:t.layouts}}return null}}],(n=[{key:"generateInitialState",value:function(){var t=this.props,e=t.width,n=t.breakpoints,r=t.layouts,o=t.cols,i=(0,l.getBreakpointFromWidth)(n,e),a=(0,l.getColsFromBreakpoint)(i,o),s=!1===this.props.verticalCompact?null:this.props.compactType;return{layout:(0,l.findOrGenerateResponsiveLayout)(r,n,i,i,a,s),breakpoint:i,cols:a}}},{key:"componentDidUpdate",value:function(t){this.props.width==t.width&&this.props.breakpoint===t.breakpoint&&(0,a.default)(this.props.breakpoints,t.breakpoints)&&(0,a.default)(this.props.cols,t.cols)||this.onWidthChange(t)}},{key:"onWidthChange",value:function(t){var e=this.props,n=e.breakpoints,r=e.cols,o=e.layouts,i=e.compactType,a=this.props.breakpoint||(0,l.getBreakpointFromWidth)(this.props.breakpoints,this.props.width),c=this.state.breakpoint,u=(0,l.getColsFromBreakpoint)(a,r),d=g({},o);if(c!==a||t.breakpoints!==n||t.cols!==r){c in d||(d[c]=(0,s.cloneLayout)(this.state.layout));var f=(0,l.findOrGenerateResponsiveLayout)(d,n,a,c,u,i);f=(0,s.synchronizeLayoutWithChildren)(f,this.props.children,u,i,this.props.allowOverlap),d[a]=f,this.props.onLayoutChange(f,d),this.props.onBreakpointChange(a,u),this.setState({breakpoint:a,layout:f,cols:u})}var p=k(this.props.margin,a),h=k(this.props.containerPadding,a);this.props.onWidthChange(this.props.width,p,u,h)}},{key:"render",value:function(){var t=this.props,e=(t.breakpoint,t.breakpoints,t.cols,t.layouts,t.margin),n=t.containerPadding,r=(t.onBreakpointChange,t.onLayoutChange,t.onWidthChange,h(t,u));return o.createElement(c.default,p({},r,{margin:k(e,this.state.breakpoint),containerPadding:k(n,this.state.breakpoint),onLayoutChange:this.onLayoutChange,layout:this.state.layout,cols:this.state.cols}))}}])&&b(e.prototype,n),r&&b(e,r),Object.defineProperty(e,"prototype",{writable:!1}),d}(o.Component);e.default=E,j(E,"propTypes",{breakpoint:i.default.string,breakpoints:i.default.object,allowOverlap:i.default.bool,cols:i.default.object,margin:i.default.oneOfType([i.default.array,i.default.object]),containerPadding:i.default.oneOfType([i.default.array,i.default.object]),layouts:function(t,e){if("[object Object]"!==C(t[e]))throw new Error("Layout property must be an object. Received: "+C(t[e]));Object.keys(t[e]).forEach((function(e){if(!(e in t.breakpoints))throw new Error("Each key in layouts must align with a key in breakpoints.");(0,s.validateLayout)(t.layouts[e],"layouts."+e)}))},width:i.default.number.isRequired,onBreakpointChange:i.default.func,onLayoutChange:i.default.func,onWidthChange:i.default.func}),j(E,"defaultProps",{breakpoints:{lg:1200,md:996,sm:768,xs:480,xxs:0},cols:{lg:12,md:10,sm:6,xs:4,xxs:2},containerPadding:{lg:null,md:null,sm:null,xs:null,xxs:null},layouts:{},margin:[10,10],allowOverlap:!1,onBreakpointChange:s.noop,onLayoutChange:s.noop,onWidthChange:s.noop})},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},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e;return e=function(e){!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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&p(t,e)}(r,e);var n=function(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=g(t);if(e){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}(r);function r(){var t;d(this,r);for(var e=arguments.length,i=new Array(e),a=0;a<e;a++)i[a]=arguments[a];return m(v(t=n.call.apply(n,[this].concat(i))),"state",{width:1280}),m(v(t),"elementRef",o.createRef()),m(v(t),"mounted",!1),m(v(t),"onWindowResize",(function(){if(t.mounted){var e=t.elementRef.current;e instanceof HTMLElement&&e.offsetWidth&&t.setState({width:e.offsetWidth})}})),t}return function(t,e,n){e&&f(t.prototype,e);n&&f(t,n);Object.defineProperty(t,"prototype",{writable:!1})}(r,[{key:"componentDidMount",value:function(){this.mounted=!0,window.addEventListener("resize",this.onWindowResize),this.onWindowResize()}},{key:"componentWillUnmount",value:function(){this.mounted=!1,window.removeEventListener("resize",this.onWindowResize)}},{key:"render",value:function(){var e=this.props,n=e.measureBeforeMount,r=function(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}(e,s);return n&&!this.mounted?o.createElement("div",{className:(0,a.default)(this.props.className,"react-grid-layout"),style:this.props.style,ref:this.elementRef}):o.createElement(t,u({innerRef:this.elementRef},r,this.state))}}]),r}(o.Component),m(e,"defaultProps",{measureBeforeMount:!1}),m(e,"propTypes",{measureBeforeMount:i.default.bool}),e};var o=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!==r(t)&&"function"!==typeof t)return{default:t};var n=c(e);if(n&&n.has(t))return n.get(t);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=i?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(o,a,s):o[a]=t[a]}o.default=t,n&&n.set(t,o);return o}(n(1)),i=l(n(382)),a=l(n(10)),s=["measureBeforeMount"];function l(t){return t&&t.__esModule?t:{default:t}}function c(t){if("function"!==typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(c=function(t){return t?n:e})(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},u.apply(this,arguments)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 p(t,e){return p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},p(t,e)}function h(t,e){if(e&&("object"===r(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return v(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){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){var r=n(591).default;!function(t,e){"use strict";function n(t,e,n,r,o,i,a){try{var s=t[i](a),l=s.value}catch(t){return void n(t)}s.done?e(l):Promise.resolve(l).then(r,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function s(t){n(a,o,i,s,l,"next",t)}function l(t){n(a,o,i,s,l,"throw",t)}s(void 0)}))}}function i(){return(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}).apply(this,arguments)}function a(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}function s(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e;var l={init:"init"},c=function(t){var e=t.value;return void 0===e?"":e},u=function(){return e.createElement(e.Fragment,null,"\xa0")},d={Cell:c,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};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=i({},t,{},a(e,["style","className"])),n&&(t.style=t.style?i({},t.style||{},{},n||{}):n),r&&(t.className=t.className?t.className+" "+r:r),""===t.className&&delete t.className,t}),{})}var p=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,i({},e,{userProps:n}))}),{})}},h=function(t,e,n,r){return void 0===n&&(n={}),t.reduce((function(t,e){return e(t,n)}),e)},v=function(t,e,n){return void 0===n&&(n={}),t.forEach((function(t){t(e,n)}))};function g(t,e,n,r){t.findIndex((function(t){return t.pluginName===n})),e.forEach((function(e){t.findIndex((function(t){return t.pluginName===e}))}))}function m(t,e){return"function"==typeof t?t(e):t}function b(t){var n=e.useRef();return n.current=t,e.useCallback((function(){return n.current}),[])}var y="undefined"!=typeof document?e.useLayoutEffect:e.useEffect;function x(t,n){var r=e.useRef(!1);y((function(){r.current&&t(),r.current=!0}),n)}function w(t,e,n){return void 0===n&&(n={}),function(r,o){void 0===o&&(o={});var a="string"==typeof r?e[r]:r;if(void 0===a)throw console.info(e),new Error("Renderer Error \u261d\ufe0f");return O(a,i({},t,{column:e},n,{},o))}}function O(t,n){return function(t){return"function"==typeof t&&(e=Object.getPrototypeOf(t)).prototype&&e.prototype.isReactComponent;var e}(r=t)||"function"==typeof r||function(t){return"object"==typeof t&&"symbol"==typeof t.$$typeof&&["react.memo","react.forward_ref"].includes(t.$$typeof.description)}(r)?e.createElement(t,n):t;var r}function S(t,e,n){return void 0===n&&(n=0),t.map((function(t){return C(t=i({},t,{parent:e,depth:n})),t.columns&&(t.columns=S(t.columns,t,n+1)),t}))}function j(t){return T(t,"columns")}function C(t){var e=t.id,n=t.accessor,r=t.Header;if("string"==typeof n){e=e||n;var o=n.split(".");n=function(t){return function(t,e,n){if(!e)return t;var r,o="function"==typeof e?e:JSON.stringify(e),i=P.get(o)||function(){var t=function(t){return 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}(t).map((function(t){return String(t).replace(".","_")})).join(".").replace(L,".").replace(F,"").split(".")}(e);return P.set(o,t),t}();try{r=i.reduce((function(t,e){return t[e]}),t)}catch(t){}return void 0!==r?r:n}(t,o)}}if(!e&&"string"==typeof r&&r&&(e=r),!e&&t.columns)throw console.error(t),new Error('A column ID (or unique "Header" value) is required!');if(!e)throw console.error(t),new Error("A column ID (or string accessor) is required!");return Object.assign(t,{id:e,accessor:n}),t}function k(t,e){if(!e)throw new Error;return Object.assign(t,i({Header:u,Footer:u},d,{},e,{},t)),Object.assign(t,{originalWidth:t.width}),t}function E(t,e,n){void 0===n&&(n=function(){return{}});for(var r=[],o=t,a=0,s=function(){return a++},l=function(){var t={headers:[]},a=[],l=o.some((function(t){return t.parent}));o.forEach((function(r){var o,c=[].concat(a).reverse()[0];l&&(o=r.parent?i({},r.parent,{originalId:r.parent.id,id:r.parent.id+"_"+s(),headers:[r]},n(r)):k(i({originalId:r.id+"_placeholder",id:r.id+"_placeholder_"+s(),placeholderOf:r,headers:[r]},n(r)),e),c&&c.originalId===o.originalId?c.headers.push(r):a.push(o)),t.headers.push(r)})),r.push(t),o=a};o.length;)l();return r.reverse()}var P=new Map;function _(){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 M(t){if("function"==typeof t)return t}function T(t,e){var n=[];return function t(r){r.forEach((function(r){r[e]?t(r[e]):n.push(r)}))}(t),n}function A(t,e){var n=e.manualExpandedKey,r=e.expanded,o=e.expandSubRows,i=void 0===o||o,a=[];return t.forEach((function(t){return function t(e,o){void 0===o&&(o=!0),e.isExpanded=e.original&&e.original[n]||r[e.id],e.canExpand=e.subRows&&!!e.subRows.length,o&&a.push(e),e.subRows&&e.subRows.length&&e.isExpanded&&e.subRows.forEach((function(e){return t(e,i)}))}(t)})),a}function R(t,e,n){return M(t)||e[t]||n[t]||n.text}function D(t,e,n){return t?t(e,n):void 0===e}function I(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var N=null,L=/\[/g,F=/\]/g,B=function(t){return i({role:"table"},t)},z=function(t){return i({role:"rowgroup"},t)},H=function(t,e){var n=e.column;return i({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},t)},V=function(t,e){var n=e.column;return i({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},t)},U=function(t,e){return i({key:"headerGroup_"+e.index,role:"row"},t)},W=function(t,e){return i({key:"footerGroup_"+e.index},t)},q=function(t,e){return i({key:"row_"+e.row.id,role:"row"},t)},G=function(t,e){var n=e.cell;return i({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},t)};function Y(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[B],getTableBodyProps:[z],getHeaderGroupProps:[U],getFooterGroupProps:[W],getHeaderProps:[H],getFooterProps:[V],getRowProps:[q],getCellProps:[G],useFinalInstance:[]}}l.resetHiddenColumns="resetHiddenColumns",l.toggleHideColumn="toggleHideColumn",l.setHiddenColumns="setHiddenColumns",l.toggleHideAllColumns="toggleHideAllColumns";var X=function(t){t.getToggleHiddenProps=[K],t.getToggleHideAllColumnsProps=[$],t.stateReducers.push(Z),t.useInstanceBeforeDimensions.push(Q),t.headerGroupsDeps.push((function(t,e){var n=e.instance;return[].concat(t,[n.state.hiddenColumns])})),t.useInstance.push(J)};X.pluginName="useColumnVisibility";var K=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"}]},$=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 Z(t,e,n,r){if(e.type===l.init)return i({hiddenColumns:[]},t);if(e.type===l.resetHiddenColumns)return i({},t,{hiddenColumns:r.initialState.hiddenColumns||[]});if(e.type===l.toggleHideColumn){var o=(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 i({},t,{hiddenColumns:o})}return e.type===l.setHiddenColumns?i({},t,{hiddenColumns:m(e.value,t.hiddenColumns)}):e.type===l.toggleHideAllColumns?i({},t,{hiddenColumns:(void 0!==e.value?e.value:!t.hiddenColumns.length)?r.allColumns.map((function(t){return t.id})):[]}):void 0}function Q(t){var n=t.headers,r=t.state.hiddenColumns;e.useRef(!1).current;var o=0;n.forEach((function(t){return o+=function t(e,n){e.isVisible=n&&!r.includes(e.id);var o=0;return e.headers&&e.headers.length?e.headers.forEach((function(n){return o+=t(n,e.isVisible)})):o=e.isVisible?1:0,e.totalVisibleHeaderCount=o,o}(t,!0)}))}function J(t){var n=t.columns,r=t.flatHeaders,o=t.dispatch,i=t.allColumns,a=t.getHooks,s=t.state.hiddenColumns,c=t.autoResetHiddenColumns,u=void 0===c||c,d=b(t),f=i.length===s.length,h=e.useCallback((function(t,e){return o({type:l.toggleHideColumn,columnId:t,value:e})}),[o]),v=e.useCallback((function(t){return o({type:l.setHiddenColumns,value:t})}),[o]),g=e.useCallback((function(t){return o({type:l.toggleHideAllColumns,value:t})}),[o]),m=p(a().getToggleHideAllColumnsProps,{instance:d()});r.forEach((function(t){t.toggleHidden=function(e){o({type:l.toggleHideColumn,columnId:t.id,value:e})},t.getToggleHiddenProps=p(a().getToggleHiddenProps,{instance:d(),column:t})}));var y=b(u);x((function(){y()&&o({type:l.resetHiddenColumns})}),[o,n]),Object.assign(t,{allColumnsHidden:f,toggleHideColumn:h,setHiddenColumns:v,toggleHideAllColumns:g,getToggleHideAllColumnsProps:m})}var tt={},et={},nt=function(t,e,n){return t},rt=function(t,e){return t.subRows||[]},ot=function(t,e,n){return""+(n?[n.id,e].join("."):e)},it=function(t){return t};function at(t){var e=t.initialState,n=void 0===e?tt:e,r=t.defaultColumn,o=void 0===r?et:r,s=t.getSubRows,l=void 0===s?rt:s,c=t.getRowId,u=void 0===c?ot:c,d=t.stateReducer,f=void 0===d?nt:d,p=t.useControlledState,h=void 0===p?it:p;return i({},a(t,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:o,getSubRows:l,getRowId:u,stateReducer:f,useControlledState:h})}function st(t,e){void 0===e&&(e=0);var n=0,r=0,o=0,i=0;return t.forEach((function(t){var a=t.headers;if(t.totalLeft=e,a&&a.length){var s=st(a,e),l=s[0],c=s[1],u=s[2],d=s[3];t.totalMinWidth=l,t.totalWidth=c,t.totalMaxWidth=u,t.totalFlexWidth=d}else t.totalMinWidth=t.minWidth,t.totalWidth=Math.min(Math.max(t.minWidth,t.width),t.maxWidth),t.totalMaxWidth=t.maxWidth,t.totalFlexWidth=t.canResize?t.totalWidth:0;t.isVisible&&(e+=t.totalWidth,n+=t.totalMinWidth,r+=t.totalWidth,o+=t.totalMaxWidth,i+=t.totalFlexWidth)})),[n,r,o,i]}function lt(t){var e=t.data,n=t.rows,r=t.flatRows,o=t.rowsById,i=t.column,a=t.getRowId,s=t.getSubRows,l=t.accessValueHooks,c=t.getInstance;e.forEach((function(t,u){return function t(n,u,d,f,p){void 0===d&&(d=0);var v=n,g=a(n,u,f),m=o[g];if(m)m.subRows&&m.originalSubRows.forEach((function(e,n){return t(e,n,d+1,m)}));else if((m={id:g,original:v,index:u,depth:d,cells:[{}]}).cells.map=I,m.cells.filter=I,m.cells.forEach=I,m.cells[0].getCellProps=I,m.values={},p.push(m),r.push(m),o[g]=m,m.originalSubRows=s(n,u),m.originalSubRows){var b=[];m.originalSubRows.forEach((function(e,n){return t(e,n,d+1,m,b)})),m.subRows=b}i.accessor&&(m.values[i.id]=i.accessor(n,u,m,p,e)),m.values[i.id]=h(l,m.values[i.id],{row:m,column:i,instance:c()})}(t,u,0,void 0,n)}))}l.resetExpanded="resetExpanded",l.toggleRowExpanded="toggleRowExpanded",l.toggleAllRowsExpanded="toggleAllRowsExpanded";var ct=function(t){t.getToggleAllRowsExpandedProps=[ut],t.getToggleRowExpandedProps=[dt],t.stateReducers.push(ft),t.useInstance.push(pt),t.prepareRow.push(ht)};ct.pluginName="useExpanded";var ut=function(t,e){var n=e.instance;return[t,{onClick:function(t){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},dt=function(t,e){var n=e.row;return[t,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function ft(t,e,n,r){if(e.type===l.init)return i({expanded:{}},t);if(e.type===l.resetExpanded)return i({},t,{expanded:r.initialState.expanded||{}});if(e.type===l.toggleAllRowsExpanded){var o=e.value,c=r.isAllRowsExpanded,u=r.rowsById;if(void 0!==o?o:!c){var d={};return Object.keys(u).forEach((function(t){d[t]=!0})),i({},t,{expanded:d})}return i({},t,{expanded:{}})}if(e.type===l.toggleRowExpanded){var f,p=e.id,h=e.value,v=t.expanded[p],g=void 0!==h?h:!v;if(!v&&g)return i({},t,{expanded:i({},t.expanded,(f={},f[p]=!0,f))});if(v&&!g){var m=t.expanded;return m[p],i({},t,{expanded:a(m,[p].map(s))})}return t}}function pt(t){var n=t.data,r=t.rows,o=t.rowsById,i=t.manualExpandedKey,a=void 0===i?"expanded":i,s=t.paginateExpandedRows,c=void 0===s||s,u=t.expandSubRows,d=void 0===u||u,f=t.autoResetExpanded,h=void 0===f||f,v=t.getHooks,m=t.plugins,y=t.state.expanded,w=t.dispatch;g(m,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var O=b(h),S=Boolean(Object.keys(o).length&&Object.keys(y).length);S&&Object.keys(o).some((function(t){return!y[t]}))&&(S=!1),x((function(){O()&&w({type:l.resetExpanded})}),[w,n]);var j=e.useCallback((function(t,e){w({type:l.toggleRowExpanded,id:t,value:e})}),[w]),C=e.useCallback((function(t){return w({type:l.toggleAllRowsExpanded,value:t})}),[w]),k=e.useMemo((function(){return c?A(r,{manualExpandedKey:a,expanded:y,expandSubRows:d}):r}),[c,r,a,y,d]),E=e.useMemo((function(){return function(t){var e=0;return Object.keys(t).forEach((function(t){var n=t.split(".");e=Math.max(e,n.length)})),e}(y)}),[y]),P=b(t),_=p(v().getToggleAllRowsExpandedProps,{instance:P()});Object.assign(t,{preExpandedRows:r,expandedRows:k,rows:k,expandedDepth:E,isAllRowsExpanded:S,toggleRowExpanded:j,toggleAllRowsExpanded:C,getToggleAllRowsExpandedProps:_})}function ht(t,e){var n=e.instance.getHooks,r=e.instance;t.toggleRowExpanded=function(e){return r.toggleRowExpanded(t.id,e)},t.getToggleRowExpandedProps=p(n().getToggleRowExpandedProps,{instance:r,row:t})}var vt=function(t,e,n){return t.filter((function(t){return e.some((function(e){var r=t.values[e];return String(r).toLowerCase().includes(String(n).toLowerCase())}))}))};vt.autoRemove=function(t){return!t};var gt=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()}))}))};gt.autoRemove=function(t){return!t};var mt=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)}))}))};mt.autoRemove=function(t){return!t};var bt=function(t,e,n){return t.filter((function(t){return e.some((function(e){return t.values[e].includes(n)}))}))};bt.autoRemove=function(t){return!t||!t.length};var yt=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)}))}))}))};yt.autoRemove=function(t){return!t||!t.length};var xt=function(t,e,n){return t.filter((function(t){return e.some((function(e){var r=t.values[e];return r&&r.length&&n.some((function(t){return r.includes(t)}))}))}))};xt.autoRemove=function(t){return!t||!t.length};var wt=function(t,e,n){return t.filter((function(t){return e.some((function(e){var r=t.values[e];return n.includes(r)}))}))};wt.autoRemove=function(t){return!t||!t.length};var Ot=function(t,e,n){return t.filter((function(t){return e.some((function(e){return t.values[e]===n}))}))};Ot.autoRemove=function(t){return void 0===t};var St=function(t,e,n){return t.filter((function(t){return e.some((function(e){return t.values[e]==n}))}))};St.autoRemove=function(t){return null==t};var jt=function(t,e,n){var r=n||[],o=r[0],i=r[1];if((o="number"==typeof o?o:-1/0)>(i="number"==typeof i?i:1/0)){var a=o;o=i,i=a}return t.filter((function(t){return e.some((function(e){var n=t.values[e];return n>=o&&n<=i}))}))};jt.autoRemove=function(t){return!t||"number"!=typeof t[0]&&"number"!=typeof t[1]};var Ct=Object.freeze({__proto__:null,text:vt,exactText:gt,exactTextCase:mt,includes:bt,includesAll:yt,includesSome:xt,includesValue:wt,exact:Ot,equals:St,between:jt});l.resetFilters="resetFilters",l.setFilter="setFilter",l.setAllFilters="setAllFilters";var kt=function(t){t.stateReducers.push(Et),t.useInstance.push(Pt)};function Et(t,e,n,r){if(e.type===l.init)return i({filters:[]},t);if(e.type===l.resetFilters)return i({},t,{filters:r.initialState.filters||[]});if(e.type===l.setFilter){var o=e.columnId,a=e.filterValue,s=r.allColumns,c=r.filterTypes,u=s.find((function(t){return t.id===o}));if(!u)throw new Error("React-Table: Could not find a column with id: "+o);var d=R(u.filter,c||{},Ct),f=t.filters.find((function(t){return t.id===o})),p=m(a,f&&f.value);return D(d.autoRemove,p,u)?i({},t,{filters:t.filters.filter((function(t){return t.id!==o}))}):i({},t,f?{filters:t.filters.map((function(t){return t.id===o?{id:o,value:p}:t}))}:{filters:[].concat(t.filters,[{id:o,value:p}])})}if(e.type===l.setAllFilters){var h=e.filters,v=r.allColumns,g=r.filterTypes;return i({},t,{filters:m(h,t.filters).filter((function(t){var e=v.find((function(e){return e.id===t.id}));return!D(R(e.filter,g||{},Ct).autoRemove,t.value,e)}))})}}function Pt(t){var n=t.data,r=t.rows,o=t.flatRows,i=t.rowsById,a=t.allColumns,s=t.filterTypes,c=t.manualFilters,u=t.defaultCanFilter,d=void 0!==u&&u,f=t.disableFilters,p=t.state.filters,h=t.dispatch,v=t.autoResetFilters,g=void 0===v||v,m=e.useCallback((function(t,e){h({type:l.setFilter,columnId:t,filterValue:e})}),[h]),y=e.useCallback((function(t){h({type:l.setAllFilters,filters:t})}),[h]);a.forEach((function(t){var e=t.id,n=t.accessor,r=t.defaultCanFilter,o=t.disableFilters;t.canFilter=n?_(!0!==o&&void 0,!0!==f&&void 0,!0):_(r,d,!1),t.setFilter=function(e){return m(t.id,e)};var i=p.find((function(t){return t.id===e}));t.filterValue=i&&i.value}));var w=e.useMemo((function(){if(c||!p.length)return[r,o,i];var t=[],e={};return[function n(r,o){void 0===o&&(o=0);var i=r;return(i=p.reduce((function(t,e){var n=e.id,r=e.value,i=a.find((function(t){return t.id===n}));if(!i)return t;0===o&&(i.preFilteredRows=t);var l=R(i.filter,s||{},Ct);return l?(i.filteredRows=l(t,[n],r),i.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+i.id+"."),t)}),r)).forEach((function(r){t.push(r),e[r.id]=r,r.subRows&&(r.subRows=r.subRows&&r.subRows.length>0?n(r.subRows,o+1):r.subRows)})),i}(r),t,e]}),[c,p,r,o,i,a,s]),O=w[0],S=w[1],j=w[2];e.useMemo((function(){a.filter((function(t){return!p.find((function(e){return e.id===t.id}))})).forEach((function(t){t.preFilteredRows=O,t.filteredRows=O}))}),[O,p,a]);var C=b(g);x((function(){C()&&h({type:l.resetFilters})}),[h,c?null:n]),Object.assign(t,{preFilteredRows:r,preFilteredFlatRows:o,preFilteredRowsById:i,filteredRows:O,filteredFlatRows:S,filteredRowsById:j,rows:O,flatRows:S,rowsById:j,setFilter:m,setAllFilters:y})}kt.pluginName="useFilters",l.resetGlobalFilter="resetGlobalFilter",l.setGlobalFilter="setGlobalFilter";var _t=function(t){t.stateReducers.push(Mt),t.useInstance.push(Tt)};function Mt(t,e,n,r){if(e.type===l.resetGlobalFilter)return i({},t,{globalFilter:r.initialState.globalFilter||void 0});if(e.type===l.setGlobalFilter){var o=e.filterValue,s=r.userFilterTypes,c=R(r.globalFilter,s||{},Ct),u=m(o,t.globalFilter);return D(c.autoRemove,u)?(t.globalFilter,a(t,["globalFilter"])):i({},t,{globalFilter:u})}}function Tt(t){var n=t.data,r=t.rows,o=t.flatRows,i=t.rowsById,a=t.allColumns,s=t.filterTypes,c=t.globalFilter,u=t.manualGlobalFilter,d=t.state.globalFilter,f=t.dispatch,p=t.autoResetGlobalFilter,h=void 0===p||p,v=t.disableGlobalFilter,g=e.useCallback((function(t){f({type:l.setGlobalFilter,filterValue:t})}),[f]),m=e.useMemo((function(){if(u||void 0===d)return[r,o,i];var t=[],e={},n=R(c,s||{},Ct);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),r;a.forEach((function(t){var e=t.disableGlobalFilter;t.canFilter=_(!0!==e&&void 0,!0!==v&&void 0,!0)}));var l=a.filter((function(t){return!0===t.canFilter}));return[function r(o){return(o=n(o,l.map((function(t){return t.id})),d)).forEach((function(n){t.push(n),e[n.id]=n,n.subRows=n.subRows&&n.subRows.length?r(n.subRows):n.subRows})),o}(r),t,e]}),[u,d,c,s,a,r,o,i,v]),y=m[0],w=m[1],O=m[2],S=b(h);x((function(){S()&&f({type:l.resetGlobalFilter})}),[f,u?null:n]),Object.assign(t,{preGlobalFilteredRows:r,preGlobalFilteredFlatRows:o,preGlobalFilteredRowsById:i,globalFilteredRows:y,globalFilteredFlatRows:w,globalFilteredRowsById:O,rows:y,flatRows:w,rowsById:O,setGlobalFilter:g,disableGlobalFilter:v})}function At(t,e){return e.reduce((function(t,e){return t+("number"==typeof e?e:0)}),0)}_t.pluginName="useGlobalFilter";var Rt=Object.freeze({__proto__:null,sum:At,min:function(t){var e=t[0]||0;return t.forEach((function(t){"number"==typeof t&&(e=Math.min(e,t))})),e},max:function(t){var e=t[0]||0;return t.forEach((function(t){"number"==typeof t&&(e=Math.max(e,t))})),e},minMax:function(t){var e=t[0]||0,n=t[0]||0;return t.forEach((function(t){"number"==typeof t&&(e=Math.min(e,t),n=Math.max(n,t))})),e+".."+n},average:function(t){return At(0,t)/t.length},median:function(t){if(!t.length)return null;var e=Math.floor(t.length/2),n=[].concat(t).sort((function(t,e){return t-e}));return t.length%2!=0?n[e]:(n[e-1]+n[e])/2},unique:function(t){return Array.from(new Set(t).values())},uniqueCount:function(t){return new Set(t).size},count:function(t){return t.length}}),Dt=[],It={};l.resetGroupBy="resetGroupBy",l.setGroupBy="setGroupBy",l.toggleGroupBy="toggleGroupBy";var Nt=function(t){t.getGroupByToggleProps=[Lt],t.stateReducers.push(Ft),t.visibleColumnsDeps.push((function(t,e){var n=e.instance;return[].concat(t,[n.state.groupBy])})),t.visibleColumns.push(Bt),t.useInstance.push(Ht),t.prepareRow.push(Vt)};Nt.pluginName="useGroupBy";var Lt=function(t,e){var n=e.header;return[t,{onClick:n.canGroupBy?function(t){t.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Ft(t,e,n,r){if(e.type===l.init)return i({groupBy:[]},t);if(e.type===l.resetGroupBy)return i({},t,{groupBy:r.initialState.groupBy||[]});if(e.type===l.setGroupBy)return i({},t,{groupBy:e.value});if(e.type===l.toggleGroupBy){var o=e.columnId,a=e.value,s=void 0!==a?a:!t.groupBy.includes(o);return i({},t,s?{groupBy:[].concat(t.groupBy,[o])}:{groupBy:t.groupBy.filter((function(t){return t!==o}))})}}function Bt(t,e){var n=e.instance.state.groupBy,r=n.map((function(e){return t.find((function(t){return t.id===e}))})).filter(Boolean),o=t.filter((function(t){return!n.includes(t.id)}));return(t=[].concat(r,o)).forEach((function(t){t.isGrouped=n.includes(t.id),t.groupedIndex=n.indexOf(t.id)})),t}var zt={};function Ht(t){var n=t.data,r=t.rows,o=t.flatRows,i=t.rowsById,a=t.allColumns,s=t.flatHeaders,c=t.groupByFn,u=void 0===c?Ut:c,d=t.manualGroupBy,f=t.aggregations,h=void 0===f?zt:f,v=t.plugins,m=t.state.groupBy,y=t.dispatch,w=t.autoResetGroupBy,O=void 0===w||w,S=t.disableGroupBy,j=t.defaultCanGroupBy,C=t.getHooks;g(v,["useColumnOrder","useFilters"],"useGroupBy");var k=b(t);a.forEach((function(e){var n=e.accessor,r=e.defaultGroupBy,o=e.disableGroupBy;e.canGroupBy=n?_(e.canGroupBy,!0!==o&&void 0,!0!==S&&void 0,!0):_(e.canGroupBy,r,j,!1),e.canGroupBy&&(e.toggleGroupBy=function(){return t.toggleGroupBy(e.id)}),e.Aggregated=e.Aggregated||e.Cell}));var E=e.useCallback((function(t,e){y({type:l.toggleGroupBy,columnId:t,value:e})}),[y]),P=e.useCallback((function(t){y({type:l.setGroupBy,value:t})}),[y]);s.forEach((function(t){t.getGroupByToggleProps=p(C().getGroupByToggleProps,{instance:k(),header:t})}));var M=e.useMemo((function(){if(d||!m.length)return[r,o,i,Dt,It,o,i];var t=m.filter((function(t){return a.find((function(e){return e.id===t}))})),e=[],n={},s=[],l={},c=[],f={},p=function r(o,i,d){if(void 0===i&&(i=0),i===t.length)return o;var p=t[i],v=u(o,p);return Object.entries(v).map((function(o,u){var v=o[0],g=o[1],m=p+":"+v,b=r(g,i+1,m=d?d+">"+m:m),y=i?T(g,"leafRows"):g,x=function(e,n,r){var o={};return a.forEach((function(i){if(t.includes(i.id))o[i.id]=n[0]?n[0].values[i.id]:null;else{var a="function"==typeof i.aggregate?i.aggregate:h[i.aggregate]||Rt[i.aggregate];if(a){var s=n.map((function(t){return t.values[i.id]})),l=e.map((function(t){var e=t.values[i.id];if(!r&&i.aggregateValue){var n="function"==typeof i.aggregateValue?i.aggregateValue:h[i.aggregateValue]||Rt[i.aggregateValue];if(!n)throw console.info({column:i}),new Error("React Table: Invalid column.aggregateValue option for column listed above");e=n(e,t,i)}return e}));o[i.id]=a(l,s)}else{if(i.aggregate)throw console.info({column:i}),new Error("React Table: Invalid column.aggregate option for column listed above");o[i.id]=null}}})),o}(y,g,i),w={id:m,isGrouped:!0,groupByID:p,groupByVal:v,values:x,subRows:b,leafRows:y,depth:i,index:u};return b.forEach((function(t){e.push(t),n[t.id]=t,t.isGrouped?(s.push(t),l[t.id]=t):(c.push(t),f[t.id]=t)})),w}))}(r);return p.forEach((function(t){e.push(t),n[t.id]=t,t.isGrouped?(s.push(t),l[t.id]=t):(c.push(t),f[t.id]=t)})),[p,e,n,s,l,c,f]}),[d,m,r,o,i,a,h,u]),A=M[0],R=M[1],D=M[2],I=M[3],N=M[4],L=M[5],F=M[6],B=b(O);x((function(){B()&&y({type:l.resetGroupBy})}),[y,d?null:n]),Object.assign(t,{preGroupedRows:r,preGroupedFlatRow:o,preGroupedRowsById:i,groupedRows:A,groupedFlatRows:R,groupedRowsById:D,onlyGroupedFlatRows:I,onlyGroupedRowsById:N,nonGroupedFlatRows:L,nonGroupedRowsById:F,rows:A,flatRows:R,rowsById:D,toggleGroupBy:E,setGroupBy:P})}function Vt(t){t.allCells.forEach((function(e){var n;e.isGrouped=e.column.isGrouped&&e.column.id===t.groupByID,e.isPlaceholder=!e.isGrouped&&e.column.isGrouped,e.isAggregated=!e.isGrouped&&!e.isPlaceholder&&(null==(n=t.subRows)?void 0:n.length)}))}function Ut(t,e){return t.reduce((function(t,n,r){var o=""+n.values[e];return t[o]=Array.isArray(t[o])?t[o]:[],t[o].push(n),t}),{})}var Wt=/([0-9]+)/gm;function qt(t,e){return t===e?0:t>e?1:-1}function Gt(t,e,n){return[t.values[n],e.values[n]]}function Yt(t){return"number"==typeof t?isNaN(t)||t===1/0||t===-1/0?"":String(t):"string"==typeof t?t:""}var Xt=Object.freeze({__proto__:null,alphanumeric:function(t,e,n){var r=Gt(t,e,n),o=r[0],i=r[1];for(o=Yt(o),i=Yt(i),o=o.split(Wt).filter(Boolean),i=i.split(Wt).filter(Boolean);o.length&&i.length;){var a=o.shift(),s=i.shift(),l=parseInt(a,10),c=parseInt(s,10),u=[l,c].sort();if(isNaN(u[0])){if(a>s)return 1;if(s>a)return-1}else{if(isNaN(u[1]))return isNaN(l)?-1:1;if(l>c)return 1;if(c>l)return-1}}return o.length-i.length},datetime:function(t,e,n){var r=Gt(t,e,n),o=r[0],i=r[1];return qt(o=o.getTime(),i=i.getTime())},basic:function(t,e,n){var r=Gt(t,e,n);return qt(r[0],r[1])},string:function(t,e,n){var r=Gt(t,e,n),o=r[0],i=r[1];for(o=o.split("").filter(Boolean),i=i.split("").filter(Boolean);o.length&&i.length;){var a=o.shift(),s=i.shift(),l=a.toLowerCase(),c=s.toLowerCase();if(l>c)return 1;if(c>l)return-1;if(a>s)return 1;if(s>a)return-1}return o.length-i.length},number:function(t,e,n){var r=Gt(t,e,n),o=r[0],i=r[1],a=/[^0-9.]/gi;return qt(o=Number(String(o).replace(a,"")),i=Number(String(i).replace(a,"")))}});l.resetSortBy="resetSortBy",l.setSortBy="setSortBy",l.toggleSortBy="toggleSortBy",l.clearSortBy="clearSortBy",d.sortType="alphanumeric",d.sortDescFirst=!1;var Kt=function(t){t.getSortByToggleProps=[$t],t.stateReducers.push(Zt),t.useInstance.push(Qt)};Kt.pluginName="useSortBy";var $t=function(t,e){var n=e.instance,r=e.column,o=n.isMultiSortEvent,i=void 0===o?function(t){return t.shiftKey}:o;return[t,{onClick:r.canSort?function(t){t.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&i(t))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function Zt(t,e,n,r){if(e.type===l.init)return i({sortBy:[]},t);if(e.type===l.resetSortBy)return i({},t,{sortBy:r.initialState.sortBy||[]});if(e.type===l.clearSortBy)return i({},t,{sortBy:t.sortBy.filter((function(t){return t.id!==e.columnId}))});if(e.type===l.setSortBy)return i({},t,{sortBy:e.sortBy});if(e.type===l.toggleSortBy){var o,a=e.columnId,s=e.desc,c=e.multi,u=r.allColumns,d=r.disableMultiSort,f=r.disableSortRemove,p=r.disableMultiRemove,h=r.maxMultiSortColCount,v=void 0===h?Number.MAX_SAFE_INTEGER:h,g=t.sortBy,m=u.find((function(t){return t.id===a})).sortDescFirst,b=g.find((function(t){return t.id===a})),y=g.findIndex((function(t){return t.id===a})),x=null!=s,w=[];return"toggle"!==(o=!d&&c?b?"toggle":"add":y!==g.length-1||1!==g.length?"replace":b?"toggle":"replace")||f||x||c&&p||!(b&&b.desc&&!m||!b.desc&&m)||(o="remove"),"replace"===o?w=[{id:a,desc:x?s:m}]:"add"===o?(w=[].concat(g,[{id:a,desc:x?s:m}])).splice(0,w.length-v):"toggle"===o?w=g.map((function(t){return t.id===a?i({},t,{desc:x?s:!b.desc}):t})):"remove"===o&&(w=g.filter((function(t){return t.id!==a}))),i({},t,{sortBy:w})}}function Qt(t){var n=t.data,r=t.rows,o=t.flatRows,i=t.allColumns,a=t.orderByFn,s=void 0===a?Jt:a,c=t.sortTypes,u=t.manualSortBy,d=t.defaultCanSort,f=t.disableSortBy,h=t.flatHeaders,v=t.state.sortBy,m=t.dispatch,y=t.plugins,w=t.getHooks,O=t.autoResetSortBy,S=void 0===O||O;g(y,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var j=e.useCallback((function(t){m({type:l.setSortBy,sortBy:t})}),[m]),C=e.useCallback((function(t,e,n){m({type:l.toggleSortBy,columnId:t,desc:e,multi:n})}),[m]),k=b(t);h.forEach((function(t){var e=t.accessor,n=t.canSort,r=t.disableSortBy,o=t.id,i=e?_(!0!==r&&void 0,!0!==f&&void 0,!0):_(d,n,!1);t.canSort=i,t.canSort&&(t.toggleSortBy=function(e,n){return C(t.id,e,n)},t.clearSortBy=function(){m({type:l.clearSortBy,columnId:t.id})}),t.getSortByToggleProps=p(w().getSortByToggleProps,{instance:k(),column:t});var a=v.find((function(t){return t.id===o}));t.isSorted=!!a,t.sortedIndex=v.findIndex((function(t){return t.id===o})),t.isSortedDesc=t.isSorted?a.desc:void 0}));var E=e.useMemo((function(){if(u||!v.length)return[r,o];var t=[],e=v.filter((function(t){return i.find((function(e){return e.id===t.id}))}));return[function n(r){var o=s(r,e.map((function(t){var e=i.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,r=M(n)||(c||{})[n]||Xt[n];if(!r)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+t.id+"'.");return function(e,n){return r(e,n,t.id,t.desc)}})),e.map((function(t){var e=i.find((function(e){return e.id===t.id}));return e&&e.sortInverted?t.desc:!t.desc})));return o.forEach((function(e){t.push(e),e.subRows&&0!==e.subRows.length&&(e.subRows=n(e.subRows))})),o}(r),t]}),[u,v,r,o,i,s,c]),P=E[0],T=E[1],A=b(S);x((function(){A()&&m({type:l.resetSortBy})}),[u?null:n]),Object.assign(t,{preSortedRows:r,preSortedFlatRows:o,sortedRows:P,sortedFlatRows:T,rows:P,flatRows:T,setSortBy:j,toggleSortBy:C})}function Jt(t,e,n){return[].concat(t).sort((function(t,r){for(var o=0;o<e.length;o+=1){var i=e[o],a=!1===n[o]||"desc"===n[o],s=i(t,r);if(0!==s)return a?-s:s}return n[0]?t.index-r.index:r.index-t.index}))}l.resetPage="resetPage",l.gotoPage="gotoPage",l.setPageSize="setPageSize";var te=function(t){t.stateReducers.push(ee),t.useInstance.push(ne)};function ee(t,e,n,r){if(e.type===l.init)return i({pageSize:10,pageIndex:0},t);if(e.type===l.resetPage)return i({},t,{pageIndex:r.initialState.pageIndex||0});if(e.type===l.gotoPage){var o=r.pageCount,a=r.page,s=m(e.pageIndex,t.pageIndex),c=!1;return s>t.pageIndex?c=-1===o?a.length>=t.pageSize:s<o:s<t.pageIndex&&(c=s>-1),c?i({},t,{pageIndex:s}):t}if(e.type===l.setPageSize){var u=e.pageSize,d=t.pageSize*t.pageIndex;return i({},t,{pageIndex:Math.floor(d/u),pageSize:u})}}function ne(t){var n=t.rows,r=t.autoResetPage,o=void 0===r||r,i=t.manualExpandedKey,a=void 0===i?"expanded":i,s=t.plugins,c=t.pageCount,u=t.paginateExpandedRows,d=void 0===u||u,f=t.expandSubRows,p=void 0===f||f,h=t.state,v=h.pageSize,m=h.pageIndex,y=h.expanded,w=h.globalFilter,O=h.filters,S=h.groupBy,j=h.sortBy,C=t.dispatch,k=t.data,E=t.manualPagination;g(s,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var P=b(o);x((function(){P()&&C({type:l.resetPage})}),[C,E?null:k,w,O,S,j]);var _=E?c:Math.ceil(n.length/v),M=e.useMemo((function(){return _>0?[].concat(new Array(_)).fill(null).map((function(t,e){return e})):[]}),[_]),T=e.useMemo((function(){var t;if(E)t=n;else{var e=v*m,r=e+v;t=n.slice(e,r)}return d?t:A(t,{manualExpandedKey:a,expanded:y,expandSubRows:p})}),[p,y,a,E,m,v,d,n]),R=m>0,D=-1===_?T.length>=v:m<_-1,I=e.useCallback((function(t){C({type:l.gotoPage,pageIndex:t})}),[C]),N=e.useCallback((function(){return I((function(t){return t-1}))}),[I]),L=e.useCallback((function(){return I((function(t){return t+1}))}),[I]),F=e.useCallback((function(t){C({type:l.setPageSize,pageSize:t})}),[C]);Object.assign(t,{pageOptions:M,pageCount:_,page:T,canPreviousPage:R,canNextPage:D,gotoPage:I,previousPage:N,nextPage:L,setPageSize:F})}te.pluginName="usePagination",l.resetPivot="resetPivot",l.togglePivot="togglePivot";var re=function(t){t.getPivotToggleProps=[ie],t.stateReducers.push(ae),t.useInstanceAfterData.push(se),t.allColumns.push(le),t.accessValue.push(ce),t.materializedColumns.push(ue),t.materializedColumnsDeps.push(de),t.visibleColumns.push(fe),t.visibleColumnsDeps.push(pe),t.useInstance.push(he),t.prepareRow.push(ve)};re.pluginName="usePivotColumns";var oe=[],ie=function(t,e){var n=e.header;return[t,{onClick:n.canPivot?function(t){t.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function ae(t,e,n,r){if(e.type===l.init)return i({pivotColumns:oe},t);if(e.type===l.resetPivot)return i({},t,{pivotColumns:r.initialState.pivotColumns||oe});if(e.type===l.togglePivot){var o=e.columnId,a=e.value,s=void 0!==a?a:!t.pivotColumns.includes(o);return i({},t,s?{pivotColumns:[].concat(t.pivotColumns,[o])}:{pivotColumns:t.pivotColumns.filter((function(t){return t!==o}))})}}function se(t){t.allColumns.forEach((function(e){e.isPivotSource=t.state.pivotColumns.includes(e.id)}))}function le(t,e){var n=e.instance;return t.forEach((function(t){t.isPivotSource=n.state.pivotColumns.includes(t.id),t.uniqueValues=new Set})),t}function ce(t,e){var n=e.column;return n.uniqueValues&&void 0!==t&&n.uniqueValues.add(t),t}function ue(t,e){var n=e.instance,r=n.allColumns,o=n.state;if(!o.pivotColumns.length||!o.groupBy||!o.groupBy.length)return t;var a=o.pivotColumns.map((function(t){return r.find((function(e){return e.id===t}))})).filter(Boolean),s=r.filter((function(t){return!t.isPivotSource&&!o.groupBy.includes(t.id)&&!o.pivotColumns.includes(t.id)})),l=j(function t(e,n,r){void 0===e&&(e=0),void 0===r&&(r=[]);var o=a[e];return o?Array.from(o.uniqueValues).sort().map((function(a){var s=i({},o,{Header:o.PivotHeader||"string"==typeof o.header?o.Header+": "+a:a,isPivotGroup:!0,parent:n,depth:e,id:n?n.id+"."+o.id+"."+a:o.id+"."+a,pivotValue:a});return s.columns=t(e+1,s,[].concat(r,[function(t){return t.values[o.id]===a}])),s})):s.map((function(t){return i({},t,{canPivot:!1,isPivoted:!0,parent:n,depth:e,id:""+(n?n.id+"."+t.id:t.id),accessor:function(e,n,o){if(r.every((function(t){return t(o)})))return o.values[t.id]}})}))}());return[].concat(t,l)}function de(t,e){var n=e.instance.state,r=n.pivotColumns,o=n.groupBy;return[].concat(t,[r,o])}function fe(t,e){var n=e.instance.state;return t=t.filter((function(t){return!t.isPivotSource})),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(t=t.filter((function(t){return t.isGrouped||t.isPivoted}))),t}function pe(t,e){var n=e.instance;return[].concat(t,[n.state.pivotColumns,n.state.groupBy])}function he(t){var e=t.columns,n=t.allColumns,r=t.flatHeaders,o=t.getHooks,i=t.plugins,a=t.dispatch,s=t.autoResetPivot,c=void 0===s||s,u=t.manaulPivot,d=t.disablePivot,f=t.defaultCanPivot;g(i,["useGroupBy"],"usePivotColumns");var h=b(t);n.forEach((function(e){var n=e.accessor,r=e.defaultPivot,o=e.disablePivot;e.canPivot=n?_(e.canPivot,!0!==o&&void 0,!0!==d&&void 0,!0):_(e.canPivot,r,f,!1),e.canPivot&&(e.togglePivot=function(){return t.togglePivot(e.id)}),e.Aggregated=e.Aggregated||e.Cell})),r.forEach((function(t){t.getPivotToggleProps=p(o().getPivotToggleProps,{instance:h(),header:t})}));var v=b(c);x((function(){v()&&a({type:l.resetPivot})}),[a,u?null:e]),Object.assign(t,{togglePivot:function(t,e){a({type:l.togglePivot,columnId:t,value:e})}})}function ve(t){t.allCells.forEach((function(t){t.isPivoted=t.column.isPivoted}))}l.resetSelectedRows="resetSelectedRows",l.toggleAllRowsSelected="toggleAllRowsSelected",l.toggleRowSelected="toggleRowSelected",l.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var ge=function(t){t.getToggleRowSelectedProps=[me],t.getToggleAllRowsSelectedProps=[be],t.getToggleAllPageRowsSelectedProps=[ye],t.stateReducers.push(xe),t.useInstance.push(we),t.prepareRow.push(Oe)};ge.pluginName="useRowSelect";var me=function(t,e){var n=e.instance,r=e.row,o=n.manualRowSelectedKey,i=void 0===o?"isSelected":o;return[t,{onChange:function(t){r.toggleRowSelected(t.target.checked)},style:{cursor:"pointer"},checked:!(!r.original||!r.original[i])||r.isSelected,title:"Toggle Row Selected",indeterminate:r.isSomeSelected}]},be=function(t,e){var n=e.instance;return[t,{onChange:function(t){n.toggleAllRowsSelected(t.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},ye=function(t,e){var n=e.instance;return[t,{onChange:function(t){n.toggleAllPageRowsSelected(t.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some((function(t){var e=t.id;return n.state.selectedRowIds[e]})))}]};function xe(t,e,n,r){if(e.type===l.init)return i({selectedRowIds:{}},t);if(e.type===l.resetSelectedRows)return i({},t,{selectedRowIds:r.initialState.selectedRowIds||{}});if(e.type===l.toggleAllRowsSelected){var o=e.value,a=r.isAllRowsSelected,s=r.rowsById,c=r.nonGroupedRowsById,u=void 0===c?s:c,d=void 0!==o?o:!a,f=Object.assign({},t.selectedRowIds);return d?Object.keys(u).forEach((function(t){f[t]=!0})):Object.keys(u).forEach((function(t){delete f[t]})),i({},t,{selectedRowIds:f})}if(e.type===l.toggleRowSelected){var p=e.id,h=e.value,v=r.rowsById,g=r.selectSubRows,m=void 0===g||g,b=r.getSubRows,y=t.selectedRowIds[p],x=void 0!==h?h:!y;if(y===x)return t;var w=i({},t.selectedRowIds);return function t(e){var n=v[e];if(n.isGrouped||(x?w[e]=!0:delete w[e]),m&&b(n))return b(n).forEach((function(e){return t(e.id)}))}(p),i({},t,{selectedRowIds:w})}if(e.type===l.toggleAllPageRowsSelected){var O=e.value,S=r.page,j=r.rowsById,C=r.selectSubRows,k=void 0===C||C,E=r.isAllPageRowsSelected,P=r.getSubRows,_=void 0!==O?O:!E,M=i({},t.selectedRowIds);return S.forEach((function(t){return function t(e){var n=j[e];if(n.isGrouped||(_?M[e]=!0:delete M[e]),k&&P(n))return P(n).forEach((function(e){return t(e.id)}))}(t.id)})),i({},t,{selectedRowIds:M})}return t}function we(t){var n=t.data,r=t.rows,o=t.getHooks,i=t.plugins,a=t.rowsById,s=t.nonGroupedRowsById,c=void 0===s?a:s,u=t.autoResetSelectedRows,d=void 0===u||u,f=t.state.selectedRowIds,h=t.selectSubRows,v=void 0===h||h,m=t.dispatch,y=t.page,w=t.getSubRows;g(i,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var O=e.useMemo((function(){var t=[];return r.forEach((function(e){var n=v?function t(e,n,r){if(n[e.id])return!0;var o=r(e);if(o&&o.length){var i=!0,a=!1;return o.forEach((function(e){a&&!i||(t(e,n,r)?a=!0:i=!1)})),!!i||!!a&&null}return!1}(e,f,w):!!f[e.id];e.isSelected=!!n,e.isSomeSelected=null===n,n&&t.push(e)})),t}),[r,v,f,w]),S=Boolean(Object.keys(c).length&&Object.keys(f).length),j=S;S&&Object.keys(c).some((function(t){return!f[t]}))&&(S=!1),S||y&&y.length&&y.some((function(t){var e=t.id;return!f[e]}))&&(j=!1);var C=b(d);x((function(){C()&&m({type:l.resetSelectedRows})}),[m,n]);var k=e.useCallback((function(t){return m({type:l.toggleAllRowsSelected,value:t})}),[m]),E=e.useCallback((function(t){return m({type:l.toggleAllPageRowsSelected,value:t})}),[m]),P=e.useCallback((function(t,e){return m({type:l.toggleRowSelected,id:t,value:e})}),[m]),_=b(t),M=p(o().getToggleAllRowsSelectedProps,{instance:_()}),T=p(o().getToggleAllPageRowsSelectedProps,{instance:_()});Object.assign(t,{selectedFlatRows:O,isAllRowsSelected:S,isAllPageRowsSelected:j,toggleRowSelected:P,toggleAllRowsSelected:k,getToggleAllRowsSelectedProps:M,getToggleAllPageRowsSelectedProps:T,toggleAllPageRowsSelected:E})}function Oe(t,e){var n=e.instance;t.toggleRowSelected=function(e){return n.toggleRowSelected(t.id,e)},t.getToggleRowSelectedProps=p(n.getHooks().getToggleRowSelectedProps,{instance:n,row:t})}var Se=function(t){return{}},je=function(t){return{}};l.setRowState="setRowState",l.setCellState="setCellState",l.resetRowState="resetRowState";var Ce=function(t){t.stateReducers.push(ke),t.useInstance.push(Ee),t.prepareRow.push(Pe)};function ke(t,e,n,r){var o=r.initialRowStateAccessor,a=void 0===o?Se:o,s=r.initialCellStateAccessor,c=void 0===s?je:s,u=r.rowsById;if(e.type===l.init)return i({rowState:{}},t);if(e.type===l.resetRowState)return i({},t,{rowState:r.initialState.rowState||{}});if(e.type===l.setRowState){var d,f=e.rowId,p=e.value,h=void 0!==t.rowState[f]?t.rowState[f]:a(u[f]);return i({},t,{rowState:i({},t.rowState,(d={},d[f]=m(p,h),d))})}if(e.type===l.setCellState){var v,g,b,y,x,w=e.rowId,O=e.columnId,S=e.value,j=void 0!==t.rowState[w]?t.rowState[w]:a(u[w]),C=void 0!==(null==j||null==(v=j.cellState)?void 0:v[O])?j.cellState[O]:c(null==(g=u[w])||null==(b=g.cells)?void 0:b.find((function(t){return t.column.id===O})));return i({},t,{rowState:i({},t.rowState,(x={},x[w]=i({},j,{cellState:i({},j.cellState||{},(y={},y[O]=m(S,C),y))}),x))})}}function Ee(t){var n=t.autoResetRowState,r=void 0===n||n,o=t.data,i=t.dispatch,a=e.useCallback((function(t,e){return i({type:l.setRowState,rowId:t,value:e})}),[i]),s=e.useCallback((function(t,e,n){return i({type:l.setCellState,rowId:t,columnId:e,value:n})}),[i]),c=b(r);x((function(){c()&&i({type:l.resetRowState})}),[o]),Object.assign(t,{setRowState:a,setCellState:s})}function Pe(t,e){var n=e.instance,r=n.initialRowStateAccessor,o=void 0===r?Se:r,i=n.initialCellStateAccessor,a=void 0===i?je:i,s=n.state.rowState;t&&(t.state=void 0!==s[t.id]?s[t.id]:o(t),t.setState=function(e){return n.setRowState(t.id,e)},t.cells.forEach((function(e){t.state.cellState||(t.state.cellState={}),e.state=void 0!==t.state.cellState[e.column.id]?t.state.cellState[e.column.id]:a(e),e.setState=function(r){return n.setCellState(t.id,e.column.id,r)}})))}Ce.pluginName="useRowState",l.resetColumnOrder="resetColumnOrder",l.setColumnOrder="setColumnOrder";var _e=function(t){t.stateReducers.push(Me),t.visibleColumnsDeps.push((function(t,e){var n=e.instance;return[].concat(t,[n.state.columnOrder])})),t.visibleColumns.push(Te),t.useInstance.push(Ae)};function Me(t,e,n,r){return e.type===l.init?i({columnOrder:[]},t):e.type===l.resetColumnOrder?i({},t,{columnOrder:r.initialState.columnOrder||[]}):e.type===l.setColumnOrder?i({},t,{columnOrder:m(e.columnOrder,t.columnOrder)}):void 0}function Te(t,e){var n=e.instance.state.columnOrder;if(!n||!n.length)return t;for(var r=[].concat(n),o=[].concat(t),i=[],a=function(){var t=r.shift(),e=o.findIndex((function(e){return e.id===t}));e>-1&&i.push(o.splice(e,1)[0])};o.length&&r.length;)a();return[].concat(i,o)}function Ae(t){var n=t.dispatch;t.setColumnOrder=e.useCallback((function(t){return n({type:l.setColumnOrder,columnOrder:t})}),[n])}_e.pluginName="useColumnOrder",d.canResize=!0,l.columnStartResizing="columnStartResizing",l.columnResizing="columnResizing",l.columnDoneResizing="columnDoneResizing",l.resetResize="resetResize";var Re=function(t){t.getResizerProps=[De],t.getHeaderProps.push({style:{position:"relative"}}),t.stateReducers.push(Ie),t.useInstance.push(Le),t.useInstanceBeforeDimensions.push(Ne)},De=function(t,e){var n=e.instance,r=e.header,o=n.dispatch,i=function(t,e){var n=!1;if("touchstart"===t.type){if(t.touches&&t.touches.length>1)return;n=!0}var r=function(t){var e=[];return function t(n){n.columns&&n.columns.length&&n.columns.map(t),e.push(n)}(t),e}(e).map((function(t){return[t.id,t.totalWidth]})),i=n?Math.round(t.touches[0].clientX):t.clientX,a=function(t){o({type:l.columnResizing,clientX:t})},s=function(){return o({type:l.columnDoneResizing})},c={mouse:{moveEvent:"mousemove",moveHandler:function(t){return a(t.clientX)},upEvent:"mouseup",upHandler:function(t){document.removeEventListener("mousemove",c.mouse.moveHandler),document.removeEventListener("mouseup",c.mouse.upHandler),s()}},touch:{moveEvent:"touchmove",moveHandler:function(t){return t.cancelable&&(t.preventDefault(),t.stopPropagation()),a(t.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(t){document.removeEventListener(c.touch.moveEvent,c.touch.moveHandler),document.removeEventListener(c.touch.upEvent,c.touch.moveHandler),s()}}},u=n?c.touch:c.mouse,d=!!function(){if("boolean"==typeof N)return N;var t=!1;try{var e={get passive(){return t=!0,!1}};window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){t=!1}return N=t}()&&{passive:!1};document.addEventListener(u.moveEvent,u.moveHandler,d),document.addEventListener(u.upEvent,u.upHandler,d),o({type:l.columnStartResizing,columnId:e.id,columnWidth:e.totalWidth,headerIdWidths:r,clientX:i})};return[t,{onMouseDown:function(t){return t.persist()||i(t,r)},onTouchStart:function(t){return t.persist()||i(t,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function Ie(t,e){if(e.type===l.init)return i({columnResizing:{columnWidths:{}}},t);if(e.type===l.resetResize)return i({},t,{columnResizing:{columnWidths:{}}});if(e.type===l.columnStartResizing){var n=e.clientX,r=e.columnId,o=e.columnWidth,a=e.headerIdWidths;return i({},t,{columnResizing:i({},t.columnResizing,{startX:n,headerIdWidths:a,columnWidth:o,isResizingColumn:r})})}if(e.type===l.columnResizing){var s=e.clientX,c=t.columnResizing,u=c.startX,d=c.columnWidth,f=c.headerIdWidths,p=(s-u)/d,h={};return(void 0===f?[]:f).forEach((function(t){var e=t[0],n=t[1];h[e]=Math.max(n+n*p,0)})),i({},t,{columnResizing:i({},t.columnResizing,{columnWidths:i({},t.columnResizing.columnWidths,{},h)})})}return e.type===l.columnDoneResizing?i({},t,{columnResizing:i({},t.columnResizing,{startX:null,isResizingColumn:null})}):void 0}Re.pluginName="useResizeColumns";var Ne=function(t){var e=t.flatHeaders,n=t.disableResizing,r=t.getHooks,o=t.state.columnResizing,i=b(t);e.forEach((function(t){var e=_(!0!==t.disableResizing&&void 0,!0!==n&&void 0,!0);t.canResize=e,t.width=o.columnWidths[t.id]||t.originalWidth||t.width,t.isResizing=o.isResizingColumn===t.id,e&&(t.getResizerProps=p(r().getResizerProps,{instance:i(),header:t}))}))};function Le(t){var n=t.plugins,r=t.dispatch,o=t.autoResetResize,i=void 0===o||o,a=t.columns;g(n,["useAbsoluteLayout"],"useResizeColumns");var s=b(i);x((function(){s()&&r({type:l.resetResize})}),[a]);var c=e.useCallback((function(){return r({type:l.resetResize})}),[r]);Object.assign(t,{resetResizing:c})}var Fe={position:"absolute",top:0},Be=function(t){t.getTableBodyProps.push(ze),t.getRowProps.push(ze),t.getHeaderGroupProps.push(ze),t.getFooterGroupProps.push(ze),t.getHeaderProps.push((function(t,e){var n=e.column;return[t,{style:i({},Fe,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})),t.getCellProps.push((function(t,e){var n=e.cell;return[t,{style:i({},Fe,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]})),t.getFooterProps.push((function(t,e){var n=e.column;return[t,{style:i({},Fe,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}))};Be.pluginName="useAbsoluteLayout";var ze=function(t,e){return[t,{style:{position:"relative",width:e.instance.totalColumnsWidth+"px"}}]},He={display:"inline-block",boxSizing:"border-box"},Ve=function(t,e){return[t,{style:{display:"flex",width:e.instance.totalColumnsWidth+"px"}}]},Ue=function(t){t.getRowProps.push(Ve),t.getHeaderGroupProps.push(Ve),t.getFooterGroupProps.push(Ve),t.getHeaderProps.push((function(t,e){var n=e.column;return[t,{style:i({},He,{width:n.totalWidth+"px"})}]})),t.getCellProps.push((function(t,e){var n=e.cell;return[t,{style:i({},He,{width:n.column.totalWidth+"px"})}]})),t.getFooterProps.push((function(t,e){var n=e.column;return[t,{style:i({},He,{width:n.totalWidth+"px"})}]}))};function We(t){t.getTableProps.push(qe),t.getRowProps.push(Ge),t.getHeaderGroupProps.push(Ge),t.getFooterGroupProps.push(Ge),t.getHeaderProps.push(Ye),t.getCellProps.push(Xe),t.getFooterProps.push(Ke)}Ue.pluginName="useBlockLayout",We.pluginName="useFlexLayout";var qe=function(t,e){return[t,{style:{minWidth:e.instance.totalColumnsMinWidth+"px"}}]},Ge=function(t,e){return[t,{style:{display:"flex",flex:"1 0 auto",minWidth:e.instance.totalColumnsMinWidth+"px"}}]},Ye=function(t,e){var n=e.column;return[t,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},Xe=function(t,e){var n=e.cell;return[t,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Ke=function(t,e){var n=e.column;return[t,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function $e(t){t.stateReducers.push(Je),t.getTableProps.push(Ze),t.getHeaderProps.push(Qe)}$e.pluginName="useGridLayout";var Ze=function(t,e){return[t,{style:{display:"grid",gridTemplateColumns:e.instance.state.gridLayout.columnWidths.map((function(t){return t})).join(" ")}}]},Qe=function(t,e){return[t,{id:"header-cell-"+e.column.id,style:{position:"sticky"}}]};function Je(t,e,n,r){if("init"===e.type)return i({gridLayout:{columnWidths:r.columns.map((function(){return"auto"}))}},t);if("columnStartResizing"===e.type){var o=e.columnId,a=r.visibleColumns.findIndex((function(t){return t.id===o})),s=function(t){var e,n=null==(e=document.getElementById("header-cell-"+t))?void 0:e.offsetWidth;if(void 0!==n)return n}(o);return void 0!==s?i({},t,{gridLayout:i({},t.gridLayout,{columnId:o,columnIndex:a,startingWidth:s})}):t}if("columnResizing"===e.type){var l=t.gridLayout,c=l.columnIndex,u=l.startingWidth,d=l.columnWidths,f=u-(t.columnResizing.startX-e.clientX),p=[].concat(d);return p[c]=f+"px",i({},t,{gridLayout:i({},t.gridLayout,{columnWidths:p})})}}t._UNSTABLE_usePivotColumns=re,t.actions=l,t.defaultColumn=d,t.defaultGroupByFn=Ut,t.defaultOrderByFn=Jt,t.defaultRenderer=c,t.emptyRenderer=u,t.ensurePluginOrder=g,t.flexRender=O,t.functionalUpdate=m,t.loopHooks=v,t.makePropGetter=p,t.makeRenderer=w,t.reduceHooks=h,t.safeUseLayoutEffect=y,t.useAbsoluteLayout=Be,t.useAsyncDebounce=function(t,n){void 0===n&&(n=0);var i=e.useRef({}),a=b(t),s=b(n);return e.useCallback(function(){var t=o(r().mark((function t(){var e,n,l,c=arguments;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(e=c.length,n=new Array(e),l=0;l<e;l++)n[l]=c[l];return i.current.promise||(i.current.promise=new Promise((function(t,e){i.current.resolve=t,i.current.reject=e}))),i.current.timeout&&clearTimeout(i.current.timeout),i.current.timeout=setTimeout(o(r().mark((function t(){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return delete i.current.timeout,t.prev=1,t.t0=i.current,t.next=5,a().apply(void 0,n);case 5:t.t1=t.sent,t.t0.resolve.call(t.t0,t.t1),t.next=12;break;case 9:t.prev=9,t.t2=t.catch(1),i.current.reject(t.t2);case 12:return t.prev=12,delete i.current.promise,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,9,12,15]])}))),s()),t.abrupt("return",i.current.promise);case 5:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),[a,s])},t.useBlockLayout=Ue,t.useColumnOrder=_e,t.useExpanded=ct,t.useFilters=kt,t.useFlexLayout=We,t.useGetLatest=b,t.useGlobalFilter=_t,t.useGridLayout=$e,t.useGroupBy=Nt,t.useMountedLayoutEffect=x,t.usePagination=te,t.useResizeColumns=Re,t.useRowSelect=ge,t.useRowState=Ce,t.useSortBy=Kt,t.useTable=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=at(t),r=[X].concat(r);var a=b(e.useRef({}).current);Object.assign(a(),i({},t,{plugins:r,hooks:Y()})),r.filter(Boolean).forEach((function(t){t(a().hooks)}));var s=b(a().hooks);a().getHooks=s,delete a().hooks,Object.assign(a(),h(s().useOptions,at(t)));var c=a(),u=c.data,d=c.columns,f=c.initialState,g=c.defaultColumn,m=c.getSubRows,y=c.getRowId,x=c.stateReducer,O=c.useControlledState,P=b(x),_=e.useCallback((function(t,e){if(!e.type)throw console.info({action:e}),new Error("Unknown Action \ud83d\udc46");return[].concat(s().stateReducers,Array.isArray(P())?P():[P()]).reduce((function(n,r){return r(n,e,t,a())||n}),t)}),[s,P,a]),M=e.useReducer(_,void 0,(function(){return _(f,{type:l.init})})),T=M[0],A=M[1],R=h([].concat(s().useControlledState,[O]),T,{instance:a()});Object.assign(a(),{state:R,dispatch:A});var D=e.useMemo((function(){return S(h(s().columns,d,{instance:a()}))}),[s,a,d].concat(h(s().columnsDeps,[],{instance:a()})));a().columns=D;var I=e.useMemo((function(){return h(s().allColumns,j(D),{instance:a()}).map(C)}),[D,s,a].concat(h(s().allColumnsDeps,[],{instance:a()})));a().allColumns=I;var N=e.useMemo((function(){for(var t=[],e=[],n={},r=[].concat(I);r.length;){var o=r.shift();lt({data:u,rows:t,flatRows:e,rowsById:n,column:o,getRowId:y,getSubRows:m,accessValueHooks:s().accessValue,getInstance:a})}return[t,e,n]}),[I,u,y,m,s,a]),L=N[0],F=N[1],B=N[2];Object.assign(a(),{rows:L,initialRows:[].concat(L),flatRows:F,rowsById:B}),v(s().useInstanceAfterData,a());var z=e.useMemo((function(){return h(s().visibleColumns,I,{instance:a()}).map((function(t){return k(t,g)}))}),[s,I,a,g].concat(h(s().visibleColumnsDeps,[],{instance:a()})));I=e.useMemo((function(){var t=[].concat(z);return I.forEach((function(e){t.find((function(t){return t.id===e.id}))||t.push(e)})),t}),[I,z]),a().allColumns=I;var H=e.useMemo((function(){return h(s().headerGroups,E(z,g),a())}),[s,z,g,a].concat(h(s().headerGroupsDeps,[],{instance:a()})));a().headerGroups=H;var V=e.useMemo((function(){return H.length?H[0].headers:[]}),[H]);a().headers=V,a().flatHeaders=H.reduce((function(t,e){return[].concat(t,e.headers)}),[]),v(s().useInstanceBeforeDimensions,a());var U=z.filter((function(t){return t.isVisible})).map((function(t){return t.id})).sort().join("_");z=e.useMemo((function(){return z.filter((function(t){return t.isVisible}))}),[z,U]),a().visibleColumns=z;var W=st(V),q=W[0],G=W[1],K=W[2];return a().totalColumnsMinWidth=q,a().totalColumnsWidth=G,a().totalColumnsMaxWidth=K,v(s().useInstance,a()),[].concat(a().flatHeaders,a().allColumns).forEach((function(t){t.render=w(a(),t),t.getHeaderProps=p(s().getHeaderProps,{instance:a(),column:t}),t.getFooterProps=p(s().getFooterProps,{instance:a(),column:t})})),a().headerGroups=e.useMemo((function(){return H.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=p(s().getHeaderGroupProps,{instance:a(),headerGroup:t,index:e}),t.getFooterGroupProps=p(s().getFooterGroupProps,{instance:a(),headerGroup:t,index:e}),!0)}))}),[H,a,s]),a().footerGroups=[].concat(a().headerGroups).reverse(),a().prepareRow=e.useCallback((function(t){t.getRowProps=p(s().getRowProps,{instance:a(),row:t}),t.allCells=I.map((function(e){var n=t.values[e.id],r={column:e,row:t,value:n};return r.getCellProps=p(s().getCellProps,{instance:a(),cell:r}),r.render=w(a(),e,{row:t,cell:r,value:n}),r})),t.cells=z.map((function(e){return t.allCells.find((function(t){return t.column.id===e.id}))})),v(s().prepareRow,t,{instance:a()})}),[s,a,I,z]),a().getTableProps=p(s().getTableProps,{instance:a()}),a().getTableBodyProps=p(s().getTableBodyProps,{instance:a()}),v(s().useFinalInstance,a()),a()},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(1))},,,function(t,e){!function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&n.rotl(t,8)|4278255360&n.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=n.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var n=[],r=0;r<t.length;r+=3)for(var o=t[r]<<16|t[r+1]<<8|t[r+2],i=0;i<4;i++)8*r+6*i<=8*t.length?n.push(e.charAt(o>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,o=0;r<t.length;o=++r%4)0!=o&&n.push((e.indexOf(t.charAt(r-1))&Math.pow(2,-2*o+8)-1)<<2*o|e.indexOf(t.charAt(r))>>>6-2*o);return n}};t.exports=n}()},function(t,e){function n(t){return!!t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"===typeof t.readFloatLE&&"function"===typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},,,,function(t,e,n){"use strict";var r=n(918).default,o=n(919).default,i=n(595),a=n(938),s=n(603),l=n(477),c=n(956),u=n(957),d={"User-Agent":"rss-parser",Accept:"application/rss+xml"},f=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,t),e.headers=e.headers||{},e.xml2js=e.xml2js||{},e.customFields=e.customFields||{},e.customFields.item=e.customFields.item||[],e.customFields.feed=e.customFields.feed||[],e.requestOptions=e.requestOptions||{},e.maxRedirects||(e.maxRedirects=5),e.timeout||(e.timeout=6e4),this.options=e,this.xmlParser=new s.Parser(this.options.xml2js)}return o(t,[{key:"parseString",value:function(t,e){var n=this,r=new Promise((function(e,r){n.xmlParser.parseString(t,(function(t,o){if(t)return r(t);if(!o)return r(new Error("Unable to parse XML."));var i=null;if(o.feed)i=n.buildAtomFeed(o);else if(o.rss&&o.rss.$&&o.rss.$.version&&o.rss.$.version.match(/^2/))i=n.buildRSS2(o);else if(o["rdf:RDF"])i=n.buildRSS1(o);else if(o.rss&&o.rss.$&&o.rss.$.version&&o.rss.$.version.match(/0\.9/))i=n.buildRSS0_9(o);else{if(!o.rss||!n.options.defaultRSS)return r(new Error("Feed not recognized as RSS 1 or 2."));switch(n.options.defaultRSS){case.9:i=n.buildRSS0_9(o);break;case 1:i=n.buildRSS1(o);break;case 2:i=n.buildRSS2(o);break;default:return r(new Error("default RSS version not recognized."))}}e(i)}))}));return r=u.maybePromisify(e,r)}},{key:"parseURL",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o="",s=0===t.indexOf("https")?a.get:i.get,c=l.parse(t),f=Object.assign({},d,this.options.headers),p=null,h=new Promise((function(e,i){var a=Object.assign({headers:f},c,n.options.requestOptions);s(a,(function(a){if(n.options.maxRedirects&&a.statusCode>=300&&a.statusCode<400&&a.headers.location){if(r===n.options.maxRedirects)return i(new Error("Too many redirects"));var s=l.resolve(t,a.headers.location);return n.parseURL(s,null,r+1).then(e,i)}if(a.statusCode>=300)return i(new Error("Status code "+a.statusCode));var c=u.getEncodingFromContentType(a.headers["content-type"]);a.setEncoding(c),a.on("data",(function(t){o+=t})),a.on("end",(function(){return n.parseString(o).then(e,i)}))})).on("error",i),p=setTimeout((function(){return i(new Error("Request timed out after "+n.options.timeout+"ms"))}),n.options.timeout)})).then((function(t){return clearTimeout(p),Promise.resolve(t)}),(function(t){return clearTimeout(p),Promise.reject(t)}));return h=u.maybePromisify(e,h)}},{key:"buildAtomFeed",value:function(t){var e=this,n={items:[]};if(u.copyFromXML(t.feed,n,this.options.customFields.feed),t.feed.link&&(n.link=u.getLink(t.feed.link,"alternate",0),n.feedUrl=u.getLink(t.feed.link,"self",1)),t.feed.title){var r=t.feed.title[0]||"";r._&&(r=r._),r&&(n.title=r)}return t.feed.updated&&(n.lastBuildDate=t.feed.updated[0]),n.items=(t.feed.entry||[]).map((function(t){return e.parseItemAtom(t)})),n}},{key:"parseItemAtom",value:function(t){var e={};if(u.copyFromXML(t,e,this.options.customFields.item),t.title){var n=t.title[0]||"";n._&&(n=n._),n&&(e.title=n)}return t.link&&t.link.length&&(e.link=u.getLink(t.link,"alternate",0)),t.published&&t.published.length&&t.published[0].length&&(e.pubDate=new Date(t.published[0]).toISOString()),!e.pubDate&&t.updated&&t.updated.length&&t.updated[0].length&&(e.pubDate=new Date(t.updated[0]).toISOString()),t.author&&t.author.length&&t.author[0].name&&t.author[0].name.length&&(e.author=t.author[0].name[0]),t.content&&t.content.length&&(e.content=u.getContent(t.content[0]),e.contentSnippet=u.getSnippet(e.content)),t.summary&&t.summary.length&&(e.summary=u.getContent(t.summary[0])),t.id&&(e.id=t.id[0]),this.setISODate(e),e}},{key:"buildRSS0_9",value:function(t){var e=t.rss.channel[0],n=e.item;return this.buildRSS(e,n)}},{key:"buildRSS1",value:function(t){var e=(t=t["rdf:RDF"]).channel[0],n=t.item;return this.buildRSS(e,n)}},{key:"buildRSS2",value:function(t){var e=t.rss.channel[0],n=e.item,r=this.buildRSS(e,n);return t.rss.$&&t.rss.$["xmlns:itunes"]&&this.decorateItunes(r,e),r}},{key:"buildRSS",value:function(t,e){var n=this;e=e||[];var r={items:[]},o=c.feed.concat(this.options.customFields.feed),i=c.item.concat(this.options.customFields.item);if(t["atom:link"]&&t["atom:link"][0]&&t["atom:link"][0].$&&(r.feedUrl=t["atom:link"][0].$.href),t.image&&t.image[0]&&t.image[0].url){r.image={};var a=t.image[0];a.link&&(r.image.link=a.link[0]),a.url&&(r.image.url=a.url[0]),a.title&&(r.image.title=a.title[0]),a.width&&(r.image.width=a.width[0]),a.height&&(r.image.height=a.height[0])}var s=this.generatePaginationLinks(t);return Object.keys(s).length&&(r.paginationLinks=s),u.copyFromXML(t,r,o),r.items=e.map((function(t){return n.parseItemRss(t,i)})),r}},{key:"parseItemRss",value:function(t,e){var n={};return u.copyFromXML(t,n,e),t.enclosure&&(n.enclosure=t.enclosure[0].$),t.description&&(n.content=u.getContent(t.description[0]),n.contentSnippet=u.getSnippet(n.content)),t.guid&&(n.guid=t.guid[0],n.guid._&&(n.guid=n.guid._)),t.category&&(n.categories=t.category),this.setISODate(n),n}},{key:"decorateItunes",value:function(t,e){var n,r=e.item||[];if(t.itunes={},e["itunes:owner"]){var o={};e["itunes:owner"][0]["itunes:name"]&&(o.name=e["itunes:owner"][0]["itunes:name"][0]),e["itunes:owner"][0]["itunes:email"]&&(o.email=e["itunes:owner"][0]["itunes:email"][0]),t.itunes.owner=o}e["itunes:image"]&&((n=e["itunes:image"][0]&&e["itunes:image"][0].$&&e["itunes:image"][0].$.href?e["itunes:image"][0].$.href:null)&&(t.itunes.image=n));if(e["itunes:category"]){var i=e["itunes:category"].map((function(t){return{name:t.$.text,subs:t["itunes:category"]?t["itunes:category"].map((function(t){return{name:t.$.text}})):null}}));t.itunes.categories=i.map((function(t){return t.name})),t.itunes.categoriesWithSubs=i}if(e["itunes:keywords"])if(e["itunes:keywords"].length>1)t.itunes.keywords=e["itunes:keywords"].map((function(t){return t.$.text}));else{var a=e["itunes:keywords"][0];a&&"string"===typeof a._&&(a=a._),a&&a.$&&a.$.text?t.itunes.keywords=a.$.text.split(","):"string"===typeof a&&(t.itunes.keywords=a.split(","))}u.copyFromXML(e,t.itunes,c.podcastFeed),r.forEach((function(e,n){var r=t.items[n];r.itunes={},u.copyFromXML(e,r.itunes,c.podcastItem);var o=e["itunes:image"];o&&o[0]&&o[0].$&&o[0].$.href&&(r.itunes.image=o[0].$.href)}))}},{key:"setISODate",value:function(t){var e=t.pubDate||t.date;if(e)try{t.isoDate=new Date(e.trim()).toISOString()}catch(n){}}},{key:"generatePaginationLinks",value:function(t){if(!t["atom:link"])return{};var e=["self","first","next","prev","last"];return t["atom:link"].reduce((function(t,n){return n.$&&e.includes(n.$.rel)?(t[n.$.rel]=n.$.href,t):t}),{})}}]),t}();t.exports=f},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function n(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)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){(function(e,r,o){var i=n(597),a=n(152),s=n(598),l=n(328),c=n(930),u=s.IncomingMessage,d=s.readyStates;var f=t.exports=function(t){var n,r=this;l.Writable.call(r),r._opts=t,r._body=[],r._headers={},t.auth&&r.setHeader("Authorization","Basic "+new e(t.auth).toString("base64")),Object.keys(t.headers).forEach((function(e){r.setHeader(e,t.headers[e])}));var o=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!i.abortController)o=!1,n=!0;else if("prefer-streaming"===t.mode)n=!1;else if("allow-wrong-content-type"===t.mode)n=!i.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");n=!0}r._mode=function(t,e){return i.fetch&&e?"fetch":i.mozchunkedarraybuffer?"moz-chunked-arraybuffer":i.msstream?"ms-stream":i.arraybuffer&&t?"arraybuffer":i.vbArray&&t?"text:vbarray":"text"}(n,o),r._fetchTimer=null,r.on("finish",(function(){r._onFinish()}))};a(f,l.Writable),f.prototype.setHeader=function(t,e){var n=t.toLowerCase();-1===p.indexOf(n)&&(this._headers[n]={name:t,value:e})},f.prototype.getHeader=function(t){var e=this._headers[t.toLowerCase()];return e?e.value:null},f.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},f.prototype._onFinish=function(){var t=this;if(!t._destroyed){var n=t._opts,a=t._headers,s=null;"GET"!==n.method&&"HEAD"!==n.method&&(s=i.arraybuffer?c(e.concat(t._body)):i.blobConstructor?new r.Blob(t._body.map((function(t){return c(t)})),{type:(a["content-type"]||{}).value||""}):e.concat(t._body).toString());var l=[];if(Object.keys(a).forEach((function(t){var e=a[t].name,n=a[t].value;Array.isArray(n)?n.forEach((function(t){l.push([e,t])})):l.push([e,n])})),"fetch"===t._mode){var u=null;if(i.abortController){var f=new AbortController;u=f.signal,t._fetchAbortController=f,"requestTimeout"in n&&0!==n.requestTimeout&&(t._fetchTimer=r.setTimeout((function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()}),n.requestTimeout))}r.fetch(t._opts.url,{method:t._opts.method,headers:l,body:s||void 0,mode:"cors",credentials:n.withCredentials?"include":"same-origin",signal:u}).then((function(e){t._fetchResponse=e,t._connect()}),(function(e){r.clearTimeout(t._fetchTimer),t._destroyed||t.emit("error",e)}))}else{var p=t._xhr=new r.XMLHttpRequest;try{p.open(t._opts.method,t._opts.url,!0)}catch(h){return void o.nextTick((function(){t.emit("error",h)}))}"responseType"in p&&(p.responseType=t._mode.split(":")[0]),"withCredentials"in p&&(p.withCredentials=!!n.withCredentials),"text"===t._mode&&"overrideMimeType"in p&&p.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in n&&(p.timeout=n.requestTimeout,p.ontimeout=function(){t.emit("requestTimeout")}),l.forEach((function(t){p.setRequestHeader(t[0],t[1])})),t._response=null,p.onreadystatechange=function(){switch(p.readyState){case d.LOADING:case d.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(p.onprogress=function(){t._onXHRProgress()}),p.onerror=function(){t._destroyed||t.emit("error",new Error("XHR error"))};try{p.send(s)}catch(h){return void o.nextTick((function(){t.emit("error",h)}))}}}},f.prototype._onXHRProgress=function(){var t=this;(function(t){try{var e=t.status;return null!==e&&0!==e}catch(n){return!1}})(t._xhr)&&!t._destroyed&&(t._response||t._connect(),t._response._onXHRProgress())},f.prototype._connect=function(){var t=this;t._destroyed||(t._response=new u(t._xhr,t._fetchResponse,t._mode,t._fetchTimer),t._response.on("error",(function(e){t.emit("error",e)})),t.emit("response",t._response))},f.prototype._write=function(t,e,n){this._body.push(t),n()},f.prototype.abort=f.prototype.destroy=function(){var t=this;t._destroyed=!0,r.clearTimeout(t._fetchTimer),t._response&&(t._response._destroyed=!0),t._xhr?t._xhr.abort():t._fetchAbortController&&t._fetchAbortController.abort()},f.prototype.end=function(t,e,n){"function"===typeof t&&(n=t,t=void 0),l.Writable.prototype.end.call(this,t,e,n)},f.prototype.flushHeaders=function(){},f.prototype.setTimeout=function(){},f.prototype.setNoDelay=function(){},f.prototype.setSocketKeepAlive=function(){};var p=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"]}).call(this,n(193).Buffer,n(119),n(171))},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],s=r[1],l=new i(function(t,e,n){return 3*(e+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)e=o[t.charCodeAt(n)]<<18|o[t.charCodeAt(n+1)]<<12|o[t.charCodeAt(n+2)]<<6|o[t.charCodeAt(n+3)],l[u++]=e>>16&255,l[u++]=e>>8&255,l[u++]=255&e;2===s&&(e=o[t.charCodeAt(n)]<<2|o[t.charCodeAt(n+1)]>>4,l[u++]=255&e);1===s&&(e=o[t.charCodeAt(n)]<<10|o[t.charCodeAt(n+1)]<<4|o[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e);return l},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],a=16383,s=0,l=n-o;s<l;s+=a)i.push(u(t,s,s+a>l?l:s+a));1===o?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===o&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!==typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s<l;++s)r[s]=a[s],o[a.charCodeAt(s)]=s;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 u(t,e,n){for(var o,i,a=[],s=e;s<n;s+=3)o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,f=n?-1:1,p=t[e+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+t[e+d],d+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+t[e+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},e.write=function(t,e,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,v=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(e*l-1)*Math.pow(2,o),a+=d):(s=e*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;t[n+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;t[n+p]=255&a,p+=h,a/=256,c-=8);t[n+p-h]|=128*v}},,function(t,e,n){"use strict";var r=n(475).Buffer,o=n(925);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,n=""+e.data;e=e.next;)n+=t+e.data;return n},t.prototype.concat=function(t){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var e,n,o,i=r.allocUnsafe(t>>>0),a=this.head,s=0;a;)e=a.data,n=i,o=s,e.copy(n,o),s+=a.data.length,a=a.next;return i},t}(),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var t=o.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o=1,i={},a=!1,s=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick((function(){u(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"===typeof n.data&&0===n.data.indexOf(e)&&u(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),r=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){u(t.data)},r=function(e){t.port2.postMessage(e)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var t=s.documentElement;r=function(e){var n=s.createElement("script");n.onreadystatechange=function(){u(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():r=function(t){setTimeout(u,0,t)},l.setImmediate=function(t){"function"!==typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var a={callback:t,args:e};return i[o]=a,r(o),o++},l.clearImmediate=c}function c(t){delete i[t]}function u(t){if(a)setTimeout(u,0,t);else{var e=i[t];if(e){a=!0;try{!function(t){var e=t.callback,n=t.args;switch(n.length){case 0:e();break;case 1:e(n[0]);break;case 2:e(n[0],n[1]);break;case 3:e(n[0],n[1],n[2]);break;default:e.apply(void 0,n)}}(e)}finally{c(t),a=!1}}}}}("undefined"===typeof self?"undefined"===typeof t?this:t:self)}).call(this,n(119),n(171))},function(t,e,n){(function(e){function n(t){try{if(!e.localStorage)return!1}catch(r){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=function(t,e){if(n("noDeprecation"))return t;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(e);n("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}}}).call(this,n(119))},function(t,e,n){var r=n(193),o=r.Buffer;function i(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return o(t,e,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=r:(i(r,e),e.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(t,e,n){if("number"===typeof t)throw new TypeError("Argument must not be a number");return o(t,e,n)},a.alloc=function(t,e,n){if("number"!==typeof t)throw new TypeError("Argument must be a number");var r=o(t);return void 0!==e?"string"===typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return o(t)},a.allocUnsafeSlow=function(t){if("number"!==typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){"use strict";t.exports=i;var r=n(602),o=Object.create(n(330));function i(t){if(!(this instanceof i))return new i(t);r.call(this,t)}o.inherits=n(152),o.inherits(i,r),i.prototype._transform=function(t,e,n){n(null,t)}},function(t,e,n){var r=n(193).Buffer;t.exports=function(t){if(t instanceof Uint8Array){if(0===t.byteOffset&&t.byteLength===t.buffer.byteLength)return t.buffer;if("function"===typeof t.buffer.slice)return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}if(r.isBuffer(t)){for(var e=new Uint8Array(t.length),n=t.length,o=0;o<n;o++)e[o]=t[o];return e.buffer}throw new Error("Argument must be a Buffer")}},function(t,e){t.exports=function(){for(var t={},e=0;e<arguments.length;e++){var r=arguments[e];for(var o in r)n.call(r,o)&&(t[o]=r[o])}return t};var n=Object.prototype.hasOwnProperty},function(t,e){t.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(t,e,n){(function(t,r){var o;!function(i){e&&e.nodeType,t&&t.nodeType;var a="object"==typeof r&&r;a.global!==a&&a.window!==a&&a.self;var s,l=2147483647,c=36,u=/^xn--/,d=/[^\x20-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,p={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},h=Math.floor,v=String.fromCharCode;function g(t){throw new RangeError(p[t])}function m(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function b(t,e){var n=t.split("@"),r="";return n.length>1&&(r=n[0]+"@",t=n[1]),r+m((t=t.replace(f,".")).split("."),e).join(".")}function y(t){for(var e,n,r=[],o=0,i=t.length;o<i;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<i?56320==(64512&(n=t.charCodeAt(o++)))?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),o--):r.push(e);return r}function x(t){return m(t,(function(t){var e="";return t>65535&&(e+=v((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+=v(t)})).join("")}function w(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function O(t,e,n){var r=0;for(t=n?h(t/700):t>>1,t+=h(t/e);t>455;r+=c)t=h(t/35);return h(r+36*t/(t+38))}function S(t){var e,n,r,o,i,a,s,u,d,f,p,v=[],m=t.length,b=0,y=128,w=72;for((n=t.lastIndexOf("-"))<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&g("not-basic"),v.push(t.charCodeAt(r));for(o=n>0?n+1:0;o<m;){for(i=b,a=1,s=c;o>=m&&g("invalid-input"),((u=(p=t.charCodeAt(o++))-48<10?p-22:p-65<26?p-65:p-97<26?p-97:c)>=c||u>h((l-b)/a))&&g("overflow"),b+=u*a,!(u<(d=s<=w?1:s>=w+26?26:s-w));s+=c)a>h(l/(f=c-d))&&g("overflow"),a*=f;w=O(b-i,e=v.length+1,0==i),h(b/e)>l-y&&g("overflow"),y+=h(b/e),b%=e,v.splice(b++,0,y)}return x(v)}function j(t){var e,n,r,o,i,a,s,u,d,f,p,m,b,x,S,j=[];for(m=(t=y(t)).length,e=128,n=0,i=72,a=0;a<m;++a)(p=t[a])<128&&j.push(v(p));for(r=o=j.length,o&&j.push("-");r<m;){for(s=l,a=0;a<m;++a)(p=t[a])>=e&&p<s&&(s=p);for(s-e>h((l-n)/(b=r+1))&&g("overflow"),n+=(s-e)*b,e=s,a=0;a<m;++a)if((p=t[a])<e&&++n>l&&g("overflow"),p==e){for(u=n,d=c;!(u<(f=d<=i?1:d>=i+26?26:d-i));d+=c)S=u-f,x=c-f,j.push(v(w(f+S%x,0))),u=h(S/x);j.push(v(w(u,0))),i=O(n,b,r==o),n=0,++r}++n,++e}return j.join("")}s={version:"1.4.1",ucs2:{decode:y,encode:x},decode:S,encode:j,toASCII:function(t){return b(t,(function(t){return d.test(t)?"xn--"+j(t):t}))},toUnicode:function(t){return b(t,(function(t){return u.test(t)?S(t.slice(4).toLowerCase()):t}))}},void 0===(o=function(){return s}.call(e,n,e,t))||(t.exports=o)}()}).call(this,n(271)(t),n(119))},function(t,e,n){"use strict";t.exports={isString:function(t){return"string"===typeof t},isObject:function(t){return"object"===typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,n){"use strict";e.decode=e.parse=n(936),e.encode=e.stringify=n(937)},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,i){e=e||"&",n=n||"=";var a={};if("string"!==typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var l=1e3;i&&"number"===typeof i.maxKeys&&(l=i.maxKeys);var c=t.length;l>0&&c>l&&(c=l);for(var u=0;u<c;++u){var d,f,p,h,v=t[u].replace(s,"%20"),g=v.indexOf(n);g>=0?(d=v.substr(0,g),f=v.substr(g+1)):(d=v,f=""),p=decodeURIComponent(d),h=decodeURIComponent(f),r(a,p)?o(a[p])?a[p].push(h):a[p]=[a[p],h]:a[p]=h}return a};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";var r=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,s){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"===typeof t?i(a(t),(function(a){var s=encodeURIComponent(r(a))+n;return o(t[a])?i(t[a],(function(t){return s+encodeURIComponent(r(t))})).join(e):s+encodeURIComponent(r(t[a]))})).join(e):s?encodeURIComponent(r(s))+n+encodeURIComponent(r(t)):""};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function i(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var a=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},function(t,e,n){var r=n(595),o=n(477),i=t.exports;for(var a in r)r.hasOwnProperty(a)&&(i[a]=r[a]);function s(t){if("string"===typeof t&&(t=o.parse(t)),t.protocol||(t.protocol="https:"),"https:"!==t.protocol)throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}i.request=function(t,e){return t=s(t),r.request.call(this,t,e)},i.get=function(t,e){return t=s(t),r.get.call(this,t,e)}},function(t,e,n){(function(){"use strict";var t,r,o,i,a,s={}.hasOwnProperty;t=n(940),r=n(478).defaults,i=function(t){return"string"===typeof t&&(t.indexOf("&")>=0||t.indexOf(">")>=0||t.indexOf("<")>=0)},a=function(t){return"<![CDATA["+o(t)+"]]>"},o=function(t){return t.replace("]]>","]]]]><![CDATA[>")},e.Builder=function(){function e(t){var e,n,o;for(e in this.options={},n=r[.2])s.call(n,e)&&(o=n[e],this.options[e]=o);for(e in t)s.call(t,e)&&(o=t[e],this.options[e]=o)}return e.prototype.buildObject=function(e){var n,o,l,c,u,d;return n=this.options.attrkey,o=this.options.charkey,1===Object.keys(e).length&&this.options.rootName===r[.2].rootName?e=e[u=Object.keys(e)[0]]:u=this.options.rootName,d=this,l=function(t,e){var r,c,u,f,p,h;if("object"!==typeof e)d.options.cdata&&i(e)?t.raw(a(e)):t.txt(e);else if(Array.isArray(e)){for(f in e)if(s.call(e,f))for(p in c=e[f])u=c[p],t=l(t.ele(p),u).up()}else for(p in e)if(s.call(e,p))if(c=e[p],p===n){if("object"===typeof c)for(r in c)h=c[r],t=t.att(r,h)}else if(p===o)t=d.options.cdata&&i(c)?t.raw(a(c)):t.txt(c);else if(Array.isArray(c))for(f in c)s.call(c,f)&&(t="string"===typeof(u=c[f])?d.options.cdata&&i(u)?t.ele(p).raw(a(u)).up():t.ele(p,u).up():l(t.ele(p),u).up());else"object"===typeof c?t=l(t.ele(p),c).up():"string"===typeof c&&d.options.cdata&&i(c)?t=t.ele(p).raw(a(c)).up():(null==c&&(c=""),t=t.ele(p,c.toString()).up());return t},c=t.create(u,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),l(c,e).end(this.options.renderOpts)},e}()}).call(this)},function(t,e,n){(function(){var e,r,o,i,a,s,l,c,u,d;d=n(194),c=d.assign,u=d.isFunction,o=n(604),i=n(605),a=n(946),l=n(492),s=n(947),e=n(93),r=n(388),t.exports.create=function(t,e,n,r){var o,a;if(null==t)throw new Error("Root element needs a name.");return r=c({},e,n,r),a=(o=new i(r)).element(t),r.headless||(o.declaration(r),null==r.pubID&&null==r.sysID||o.dtd(r)),a},t.exports.begin=function(t,e,n){var r;return u(t)&&(e=(r=[t,e])[0],n=r[1],t={}),e?new a(t,e,n):new i(t)},t.exports.stringWriter=function(t){return new l(t)},t.exports.streamWriter=function(t,e){return new s(t,e)},t.exports.implementation=new o,t.exports.nodeType=e,t.exports.writerState=r}).call(this)},function(t,e,n){(function(){var e,r;e=n(942),r=n(943),t.exports=function(){function t(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new e,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(t.prototype,"parameterNames",{get:function(){return new r(Object.keys(this.defaultParams))}}),t.prototype.getParameter=function(t){return this.params.hasOwnProperty(t)?this.params[t]:null},t.prototype.canSetParameter=function(t,e){return!0},t.prototype.setParameter=function(t,e){return null!=e?this.params[t]=e:delete this.params[t]},t}()}).call(this)},function(t,e){(function(){t.exports=function(){function t(){}return t.prototype.handleError=function(t){throw new Error(t)},t}()}).call(this)},function(t,e){(function(){t.exports=function(){function t(t){this.arr=t||[]}return Object.defineProperty(t.prototype,"length",{get:function(){return this.arr.length}}),t.prototype.item=function(t){return this.arr[t]||null},t.prototype.contains=function(t){return-1!==this.arr.indexOf(t)},t}()}).call(this)},function(t,e){(function(){t.exports=function(){function t(t){this.nodes=t}return Object.defineProperty(t.prototype,"length",{get:function(){return this.nodes.length||0}}),t.prototype.clone=function(){return this.nodes=null},t.prototype.item=function(t){return this.nodes[t]||null},t}()}).call(this)},function(t,e){(function(){t.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},function(t,e,n){(function(){var e,r,o,i,a,s,l,c,u,d,f,p,h,v,g,m,b,y,x,w,O,S,j,C={}.hasOwnProperty;j=n(194),O=j.isObject,w=j.isFunction,S=j.isPlainObject,x=j.getValue,e=n(93),p=n(605),h=n(479),i=n(481),a=n(482),g=n(489),y=n(490),v=n(491),d=n(483),f=n(484),s=n(485),c=n(486),l=n(487),u=n(488),o=n(606),b=n(608),m=n(492),r=n(388),t.exports=function(){function t(t,n,r){var o;this.name="?xml",this.type=e.Document,t||(t={}),o={},t.writer?S(t.writer)&&(o=t.writer,t.writer=new m):t.writer=new m,this.options=t,this.writer=t.writer,this.writerOptions=this.writer.filterOptions(o),this.stringify=new b(t),this.onDataCallback=n||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return t.prototype.createChildNode=function(t){var n,r,o,i,a,s,l,c;switch(t.type){case e.CData:this.cdata(t.value);break;case e.Comment:this.comment(t.value);break;case e.Element:for(r in o={},l=t.attribs)C.call(l,r)&&(n=l[r],o[r]=n.value);this.node(t.name,o);break;case e.Dummy:this.dummy();break;case e.Raw:this.raw(t.value);break;case e.Text:this.text(t.value);break;case e.ProcessingInstruction:this.instruction(t.target,t.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+t.constructor.name)}for(a=0,s=(c=t.children).length;a<s;a++)i=c[a],this.createChildNode(i),i.type===e.Element&&this.up();return this},t.prototype.dummy=function(){return this},t.prototype.node=function(t,e,n){var r;if(null==t)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(t));return this.openCurrent(),t=x(t),null==e&&(e={}),e=x(e),O(e)||(n=(r=[e,n])[0],e=r[1]),this.currentNode=new h(this,t,e),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=n&&this.text(n),this},t.prototype.element=function(t,n,r){var o,i,a,s,l,c;if(this.currentNode&&this.currentNode.type===e.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(t)||O(t)||w(t))for(s=this.options.noValidation,this.options.noValidation=!0,(c=new p(this.options).element("TEMP_ROOT")).element(t),this.options.noValidation=s,i=0,a=(l=c.children).length;i<a;i++)o=l[i],this.createChildNode(o),o.type===e.Element&&this.up();else this.node(t,n,r);return this},t.prototype.attribute=function(t,e){var n,r;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(t));if(null!=t&&(t=x(t)),O(t))for(n in t)C.call(t,n)&&(r=t[n],this.attribute(n,r));else w(e)&&(e=e.apply()),this.options.keepNullAttributes&&null==e?this.currentNode.attribs[t]=new o(this,t,""):null!=e&&(this.currentNode.attribs[t]=new o(this,t,e));return this},t.prototype.text=function(t){var e;return this.openCurrent(),e=new y(this,t),this.onData(this.writer.text(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.cdata=function(t){var e;return this.openCurrent(),e=new i(this,t),this.onData(this.writer.cdata(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.comment=function(t){var e;return this.openCurrent(),e=new a(this,t),this.onData(this.writer.comment(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.raw=function(t){var e;return this.openCurrent(),e=new g(this,t),this.onData(this.writer.raw(e,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.instruction=function(t,e){var n,r,o,i,a;if(this.openCurrent(),null!=t&&(t=x(t)),null!=e&&(e=x(e)),Array.isArray(t))for(n=0,i=t.length;n<i;n++)r=t[n],this.instruction(r);else if(O(t))for(r in t)C.call(t,r)&&(o=t[r],this.instruction(r,o));else w(e)&&(e=e.apply()),a=new v(this,t,e),this.onData(this.writer.processingInstruction(a,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},t.prototype.declaration=function(t,e,n){var r;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return r=new d(this,t,e,n),this.onData(this.writer.declaration(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.doctype=function(t,e,n){if(this.openCurrent(),null==t)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new f(this,e,n),this.currentNode.rootNodeName=t,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},t.prototype.dtdElement=function(t,e){var n;return this.openCurrent(),n=new l(this,t,e),this.onData(this.writer.dtdElement(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.attList=function(t,e,n,r,o){var i;return this.openCurrent(),i=new s(this,t,e,n,r,o),this.onData(this.writer.dtdAttList(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.entity=function(t,e){var n;return this.openCurrent(),n=new c(this,!1,t,e),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.pEntity=function(t,e){var n;return this.openCurrent(),n=new c(this,!0,t,e),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.notation=function(t,e){var n;return this.openCurrent(),n=new u(this,t,e),this.onData(this.writer.dtdNotation(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},t.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},t.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},t.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},t.prototype.openNode=function(t){var n,o,i,a;if(!t.isOpen){if(this.root||0!==this.currentLevel||t.type!==e.Element||(this.root=t),o="",t.type===e.Element){for(i in this.writerOptions.state=r.OpenTag,o=this.writer.indent(t,this.writerOptions,this.currentLevel)+"<"+t.name,a=t.attribs)C.call(a,i)&&(n=a[i],o+=this.writer.attribute(n,this.writerOptions,this.currentLevel));o+=(t.children?">":"/>")+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=r.InsideTag}else this.writerOptions.state=r.OpenTag,o=this.writer.indent(t,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+t.rootNodeName,t.pubID&&t.sysID?o+=' PUBLIC "'+t.pubID+'" "'+t.sysID+'"':t.sysID&&(o+=' SYSTEM "'+t.sysID+'"'),t.children?(o+=" [",this.writerOptions.state=r.InsideTag):(this.writerOptions.state=r.CloseTag,o+=">"),o+=this.writer.endline(t,this.writerOptions,this.currentLevel);return this.onData(o,this.currentLevel),t.isOpen=!0}},t.prototype.closeNode=function(t){var n;if(!t.isClosed)return n="",this.writerOptions.state=r.CloseTag,n=t.type===e.Element?this.writer.indent(t,this.writerOptions,this.currentLevel)+"</"+t.name+">"+this.writer.endline(t,this.writerOptions,this.currentLevel):this.writer.indent(t,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(t,this.writerOptions,this.currentLevel),this.writerOptions.state=r.None,this.onData(n,this.currentLevel),t.isClosed=!0},t.prototype.onData=function(t,e){return this.documentStarted=!0,this.onDataCallback(t,e+1)},t.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},t.prototype.debugInfo=function(t){return null==t?"":"node: <"+t+">"},t.prototype.ele=function(){return this.element.apply(this,arguments)},t.prototype.nod=function(t,e,n){return this.node(t,e,n)},t.prototype.txt=function(t){return this.text(t)},t.prototype.dat=function(t){return this.cdata(t)},t.prototype.com=function(t){return this.comment(t)},t.prototype.ins=function(t,e){return this.instruction(t,e)},t.prototype.dec=function(t,e,n){return this.declaration(t,e,n)},t.prototype.dtd=function(t,e,n){return this.doctype(t,e,n)},t.prototype.e=function(t,e,n){return this.element(t,e,n)},t.prototype.n=function(t,e,n){return this.node(t,e,n)},t.prototype.t=function(t){return this.text(t)},t.prototype.d=function(t){return this.cdata(t)},t.prototype.c=function(t){return this.comment(t)},t.prototype.r=function(t){return this.raw(t)},t.prototype.i=function(t,e){return this.instruction(t,e)},t.prototype.att=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.a=function(){return this.currentNode&&this.currentNode.type===e.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},t.prototype.ent=function(t,e){return this.entity(t,e)},t.prototype.pent=function(t,e){return this.pEntity(t,e)},t.prototype.not=function(t,e){return this.notation(t,e)},t}()}).call(this)},function(t,e,n){(function(){var e,r,o,i={}.hasOwnProperty;e=n(93),o=n(609),r=n(388),t.exports=function(t){function n(t,e){this.stream=t,n.__super__.constructor.call(this,e)}return function(t,e){for(var n in e)i.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(n,t),n.prototype.endline=function(t,e,o){return t.isLastRootNode&&e.state===r.CloseTag?"":n.__super__.endline.call(this,t,e,o)},n.prototype.document=function(t,e){var n,r,o,i,a,s,l,c,u;for(r=o=0,a=(l=t.children).length;o<a;r=++o)(n=l[r]).isLastRootNode=r===t.children.length-1;for(e=this.filterOptions(e),u=[],i=0,s=(c=t.children).length;i<s;i++)n=c[i],u.push(this.writeChildNode(n,e,0));return u},n.prototype.attribute=function(t,e,r){return this.stream.write(n.__super__.attribute.call(this,t,e,r))},n.prototype.cdata=function(t,e,r){return this.stream.write(n.__super__.cdata.call(this,t,e,r))},n.prototype.comment=function(t,e,r){return this.stream.write(n.__super__.comment.call(this,t,e,r))},n.prototype.declaration=function(t,e,r){return this.stream.write(n.__super__.declaration.call(this,t,e,r))},n.prototype.docType=function(t,e,n){var o,i,a,s;if(n||(n=0),this.openNode(t,e,n),e.state=r.OpenTag,this.stream.write(this.indent(t,e,n)),this.stream.write("<!DOCTYPE "+t.root().name),t.pubID&&t.sysID?this.stream.write(' PUBLIC "'+t.pubID+'" "'+t.sysID+'"'):t.sysID&&this.stream.write(' SYSTEM "'+t.sysID+'"'),t.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(t,e,n)),e.state=r.InsideTag,i=0,a=(s=t.children).length;i<a;i++)o=s[i],this.writeChildNode(o,e,n+1);e.state=r.CloseTag,this.stream.write("]")}return e.state=r.CloseTag,this.stream.write(e.spaceBeforeSlash+">"),this.stream.write(this.endline(t,e,n)),e.state=r.None,this.closeNode(t,e,n)},n.prototype.element=function(t,n,o){var a,s,l,c,u,d,f,p,h;for(f in o||(o=0),this.openNode(t,n,o),n.state=r.OpenTag,this.stream.write(this.indent(t,n,o)+"<"+t.name),p=t.attribs)i.call(p,f)&&(a=p[f],this.attribute(a,n,o));if(c=0===(l=t.children.length)?null:t.children[0],0===l||t.children.every((function(t){return(t.type===e.Text||t.type===e.Raw)&&""===t.value})))n.allowEmpty?(this.stream.write(">"),n.state=r.CloseTag,this.stream.write("</"+t.name+">")):(n.state=r.CloseTag,this.stream.write(n.spaceBeforeSlash+"/>"));else if(!n.pretty||1!==l||c.type!==e.Text&&c.type!==e.Raw||null==c.value){for(this.stream.write(">"+this.endline(t,n,o)),n.state=r.InsideTag,u=0,d=(h=t.children).length;u<d;u++)s=h[u],this.writeChildNode(s,n,o+1);n.state=r.CloseTag,this.stream.write(this.indent(t,n,o)+"</"+t.name+">")}else this.stream.write(">"),n.state=r.InsideTag,n.suppressPrettyCount++,!0,this.writeChildNode(c,n,o+1),n.suppressPrettyCount--,!1,n.state=r.CloseTag,this.stream.write("</"+t.name+">");return this.stream.write(this.endline(t,n,o)),n.state=r.None,this.closeNode(t,n,o)},n.prototype.processingInstruction=function(t,e,r){return this.stream.write(n.__super__.processingInstruction.call(this,t,e,r))},n.prototype.raw=function(t,e,r){return this.stream.write(n.__super__.raw.call(this,t,e,r))},n.prototype.text=function(t,e,r){return this.stream.write(n.__super__.text.call(this,t,e,r))},n.prototype.dtdAttList=function(t,e,r){return this.stream.write(n.__super__.dtdAttList.call(this,t,e,r))},n.prototype.dtdElement=function(t,e,r){return this.stream.write(n.__super__.dtdElement.call(this,t,e,r))},n.prototype.dtdEntity=function(t,e,r){return this.stream.write(n.__super__.dtdEntity.call(this,t,e,r))},n.prototype.dtdNotation=function(t,e,r){return this.stream.write(n.__super__.dtdNotation.call(this,t,e,r))},n}(o)}).call(this)},function(t,e,n){(function(){"use strict";var t,r,o,i,a,s,l,c,u=function(t,e){return function(){return t.apply(e,arguments)}},d={}.hasOwnProperty;l=n(949),o=n(329),t=n(955),s=n(610),c=n(385).setImmediate,r=n(478).defaults,i=function(t){return"object"===typeof t&&null!=t&&0===Object.keys(t).length},a=function(t,e,n){var r,o;for(r=0,o=t.length;r<o;r++)e=(0,t[r])(e,n);return e},e.Parser=function(n){function o(t){var n,o,i;if(this.parseStringPromise=u(this.parseStringPromise,this),this.parseString=u(this.parseString,this),this.reset=u(this.reset,this),this.assignOrPush=u(this.assignOrPush,this),this.processAsync=u(this.processAsync,this),!(this instanceof e.Parser))return new e.Parser(t);for(n in this.options={},o=r[.2])d.call(o,n)&&(i=o[n],this.options[n]=i);for(n in t)d.call(t,n)&&(i=t[n],this.options[n]=i);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(s.normalize)),this.reset()}return function(t,e){for(var n in e)d.call(e,n)&&(t[n]=e[n]);function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype}(o,n),o.prototype.processAsync=function(){var t,e;try{return this.remaining.length<=this.options.chunkSize?(t=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(t),this.saxParser.close()):(t=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(t),c(this.processAsync))}catch(n){if(e=n,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(e)}},o.prototype.assignOrPush=function(t,e,n){return e in t?(t[e]instanceof Array||(t[e]=[t[e]]),t[e].push(n)):this.options.explicitArray?t[e]=[n]:t[e]=n},o.prototype.reset=function(){var t,e,n,r,o;return this.removeAllListeners(),this.saxParser=l.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(o=this,function(t){if(o.saxParser.resume(),!o.saxParser.errThrown)return o.saxParser.errThrown=!0,o.emit("error",t)}),this.saxParser.onend=function(t){return function(){if(!t.saxParser.ended)return t.saxParser.ended=!0,t.emit("end",t.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,r=[],t=this.options.attrkey,e=this.options.charkey,this.saxParser.onopentag=function(n){return function(o){var i,s,l,c,u;if((l={})[e]="",!n.options.ignoreAttrs)for(i in u=o.attributes)d.call(u,i)&&(t in l||n.options.mergeAttrs||(l[t]={}),s=n.options.attrValueProcessors?a(n.options.attrValueProcessors,o.attributes[i],i):o.attributes[i],c=n.options.attrNameProcessors?a(n.options.attrNameProcessors,i):i,n.options.mergeAttrs?n.assignOrPush(l,c,s):l[t][c]=s);return l["#name"]=n.options.tagNameProcessors?a(n.options.tagNameProcessors,o.name):o.name,n.options.xmlns&&(l[n.options.xmlnskey]={uri:o.uri,local:o.local}),r.push(l)}}(this),this.saxParser.onclosetag=function(t){return function(){var n,o,s,l,c,u,f,p,h,v;if(u=r.pop(),c=u["#name"],t.options.explicitChildren&&t.options.preserveChildrenOrder||delete u["#name"],!0===u.cdata&&(n=u.cdata,delete u.cdata),h=r[r.length-1],u[e].match(/^\s*$/)&&!n?(o=u[e],delete u[e]):(t.options.trim&&(u[e]=u[e].trim()),t.options.normalize&&(u[e]=u[e].replace(/\s{2,}/g," ").trim()),u[e]=t.options.valueProcessors?a(t.options.valueProcessors,u[e],c):u[e],1===Object.keys(u).length&&e in u&&!t.EXPLICIT_CHARKEY&&(u=u[e])),i(u)&&(u=""!==t.options.emptyTag?t.options.emptyTag:o),null!=t.options.validator&&(v="/"+function(){var t,e,n;for(n=[],t=0,e=r.length;t<e;t++)l=r[t],n.push(l["#name"]);return n}().concat(c).join("/"),function(){var e;try{u=t.options.validator(v,h&&h[c],u)}catch(n){return e=n,t.emit("error",e)}}()),t.options.explicitChildren&&!t.options.mergeAttrs&&"object"===typeof u)if(t.options.preserveChildrenOrder){if(h){for(s in h[t.options.childkey]=h[t.options.childkey]||[],f={},u)d.call(u,s)&&(f[s]=u[s]);h[t.options.childkey].push(f),delete u["#name"],1===Object.keys(u).length&&e in u&&!t.EXPLICIT_CHARKEY&&(u=u[e])}}else l={},t.options.attrkey in u&&(l[t.options.attrkey]=u[t.options.attrkey],delete u[t.options.attrkey]),!t.options.charsAsChildren&&t.options.charkey in u&&(l[t.options.charkey]=u[t.options.charkey],delete u[t.options.charkey]),Object.getOwnPropertyNames(u).length>0&&(l[t.options.childkey]=u),u=l;return r.length>0?t.assignOrPush(h,c,u):(t.options.explicitRoot&&(p=u,(u={})[c]=p),t.resultObject=u,t.saxParser.ended=!0,t.emit("end",t.resultObject))}}(this),n=function(t){return function(n){var o,i;if(i=r[r.length-1])return i[e]+=n,t.options.explicitChildren&&t.options.preserveChildrenOrder&&t.options.charsAsChildren&&(t.options.includeWhiteChars||""!==n.replace(/\\n/g,"").trim())&&(i[t.options.childkey]=i[t.options.childkey]||[],(o={"#name":"__text__"})[e]=n,t.options.normalize&&(o[e]=o[e].replace(/\s{2,}/g," ").trim()),i[t.options.childkey].push(o)),i}}(this),this.saxParser.ontext=n,this.saxParser.oncdata=function(t){var e;if(e=n(t))return e.cdata=!0}},o.prototype.parseString=function(e,n){var r;null!=n&&"function"===typeof n&&(this.on("end",(function(t){return this.reset(),n(null,t)})),this.on("error",(function(t){return this.reset(),n(t)})));try{return""===(e=e.toString()).trim()?(this.emit("end",null),!0):(e=t.stripBOM(e),this.options.async?(this.remaining=e,c(this.processAsync),this.saxParser):this.saxParser.write(e).close())}catch(o){if(r=o,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",r),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw r}},o.prototype.parseStringPromise=function(t){return new Promise((e=this,function(n,r){return e.parseString(t,(function(t,e){return t?r(t):n(e)}))}));var e},o}(o),e.parseString=function(t,n,r){var o,i;return null!=r?("function"===typeof r&&(o=r),"object"===typeof n&&(i=n)):("function"===typeof n&&(o=n),i={}),new e.Parser(i).parseString(t,o)},e.parseStringPromise=function(t,n){var r;return"object"===typeof n&&(r=n),new e.Parser(r).parseStringPromise(t)}}).call(this)},function(t,e,n){(function(t){!function(e){e.parser=function(t,e){return new i(t,e)},e.SAXParser=i,e.SAXStream=s,e.createStream=function(t,e){return new s(t,e)},e.MAX_BUFFER_LENGTH=65536;var r,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function i(t,n){if(!(this instanceof i))return new i(t,n);var r=this;!function(t){for(var e=0,n=o.length;e<n;e++)t[o[e]]=""}(r),r.q=r.c="",r.bufferCheckPosition=e.MAX_BUFFER_LENGTH,r.opt=n||{},r.opt.lowercase=r.opt.lowercase||r.opt.lowercasetags,r.looseCase=r.opt.lowercase?"toLowerCase":"toUpperCase",r.tags=[],r.closed=r.closedRoot=r.sawRoot=!1,r.tag=r.error=null,r.strict=!!t,r.noscript=!(!t&&!r.opt.noscript),r.state=x.BEGIN,r.strictEntities=r.opt.strictEntities,r.ENTITIES=r.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),r.attribList=[],r.opt.xmlns&&(r.ns=Object.create(u)),r.trackPosition=!1!==r.opt.position,r.trackPosition&&(r.position=r.line=r.column=0),O(r,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(t){function e(){}return e.prototype=t,new e}),Object.keys||(Object.keys=function(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}),i.prototype={end:function(){E(this)},write:function(t){var n=this;if(this.error)throw this.error;if(n.closed)return k(n,"Cannot write after close. Assign an onready handler.");if(null===t)return E(n);"object"===typeof t&&(t=t.toString());var r=0,i="";for(;i=N(t,r++),n.c=i,i;)switch(n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++),n.state){case x.BEGIN:if(n.state=x.BEGIN_WHITESPACE,"\ufeff"===i)continue;I(n,i);continue;case x.BEGIN_WHITESPACE:I(n,i);continue;case x.TEXT:if(n.sawRoot&&!n.closedRoot){for(var a=r-1;i&&"<"!==i&&"&"!==i;)(i=N(t,r++))&&n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(a,r-1)}"<"!==i||n.sawRoot&&n.closedRoot&&!n.strict?(v(i)||n.sawRoot&&!n.closedRoot||P(n,"Text data outside of root node."),"&"===i?n.state=x.TEXT_ENTITY:n.textNode+=i):(n.state=x.OPEN_WAKA,n.startTagPosition=n.position);continue;case x.SCRIPT:"<"===i?n.state=x.SCRIPT_ENDING:n.script+=i;continue;case x.SCRIPT_ENDING:"/"===i?n.state=x.CLOSE_TAG:(n.script+="<"+i,n.state=x.SCRIPT);continue;case x.OPEN_WAKA:if("!"===i)n.state=x.SGML_DECL,n.sgmlDecl="";else if(v(i));else if(b(d,i))n.state=x.OPEN_TAG,n.tagName=i;else if("/"===i)n.state=x.CLOSE_TAG,n.tagName="";else if("?"===i)n.state=x.PROC_INST,n.procInstName=n.procInstBody="";else{if(P(n,"Unencoded <"),n.startTagPosition+1<n.position){var s=n.position-n.startTagPosition;i=new Array(s).join(" ")+i}n.textNode+="<"+i,n.state=x.TEXT}continue;case x.SGML_DECL:"[CDATA["===(n.sgmlDecl+i).toUpperCase()?(S(n,"onopencdata"),n.state=x.CDATA,n.sgmlDecl="",n.cdata=""):n.sgmlDecl+i==="--"?(n.state=x.COMMENT,n.comment="",n.sgmlDecl=""):"DOCTYPE"===(n.sgmlDecl+i).toUpperCase()?(n.state=x.DOCTYPE,(n.doctype||n.sawRoot)&&P(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===i?(S(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=x.TEXT):g(i)?(n.state=x.SGML_DECL_QUOTED,n.sgmlDecl+=i):n.sgmlDecl+=i;continue;case x.SGML_DECL_QUOTED:i===n.q&&(n.state=x.SGML_DECL,n.q=""),n.sgmlDecl+=i;continue;case x.DOCTYPE:">"===i?(n.state=x.TEXT,S(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=i,"["===i?n.state=x.DOCTYPE_DTD:g(i)&&(n.state=x.DOCTYPE_QUOTED,n.q=i));continue;case x.DOCTYPE_QUOTED:n.doctype+=i,i===n.q&&(n.q="",n.state=x.DOCTYPE);continue;case x.DOCTYPE_DTD:n.doctype+=i,"]"===i?n.state=x.DOCTYPE:g(i)&&(n.state=x.DOCTYPE_DTD_QUOTED,n.q=i);continue;case x.DOCTYPE_DTD_QUOTED:n.doctype+=i,i===n.q&&(n.state=x.DOCTYPE_DTD,n.q="");continue;case x.COMMENT:"-"===i?n.state=x.COMMENT_ENDING:n.comment+=i;continue;case x.COMMENT_ENDING:"-"===i?(n.state=x.COMMENT_ENDED,n.comment=C(n.opt,n.comment),n.comment&&S(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+i,n.state=x.COMMENT);continue;case x.COMMENT_ENDED:">"!==i?(P(n,"Malformed comment"),n.comment+="--"+i,n.state=x.COMMENT):n.state=x.TEXT;continue;case x.CDATA:"]"===i?n.state=x.CDATA_ENDING:n.cdata+=i;continue;case x.CDATA_ENDING:"]"===i?n.state=x.CDATA_ENDING_2:(n.cdata+="]"+i,n.state=x.CDATA);continue;case x.CDATA_ENDING_2:">"===i?(n.cdata&&S(n,"oncdata",n.cdata),S(n,"onclosecdata"),n.cdata="",n.state=x.TEXT):"]"===i?n.cdata+="]":(n.cdata+="]]"+i,n.state=x.CDATA);continue;case x.PROC_INST:"?"===i?n.state=x.PROC_INST_ENDING:v(i)?n.state=x.PROC_INST_BODY:n.procInstName+=i;continue;case x.PROC_INST_BODY:if(!n.procInstBody&&v(i))continue;"?"===i?n.state=x.PROC_INST_ENDING:n.procInstBody+=i;continue;case x.PROC_INST_ENDING:">"===i?(S(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=x.TEXT):(n.procInstBody+="?"+i,n.state=x.PROC_INST_BODY);continue;case x.OPEN_TAG:b(f,i)?n.tagName+=i:(_(n),">"===i?A(n):"/"===i?n.state=x.OPEN_TAG_SLASH:(v(i)||P(n,"Invalid character in tag name"),n.state=x.ATTRIB));continue;case x.OPEN_TAG_SLASH:">"===i?(A(n,!0),R(n)):(P(n,"Forward-slash in opening tag not followed by >"),n.state=x.ATTRIB);continue;case x.ATTRIB:if(v(i))continue;">"===i?A(n):"/"===i?n.state=x.OPEN_TAG_SLASH:b(d,i)?(n.attribName=i,n.attribValue="",n.state=x.ATTRIB_NAME):P(n,"Invalid attribute name");continue;case x.ATTRIB_NAME:"="===i?n.state=x.ATTRIB_VALUE:">"===i?(P(n,"Attribute without value"),n.attribValue=n.attribName,T(n),A(n)):v(i)?n.state=x.ATTRIB_NAME_SAW_WHITE:b(f,i)?n.attribName+=i:P(n,"Invalid attribute name");continue;case x.ATTRIB_NAME_SAW_WHITE:if("="===i)n.state=x.ATTRIB_VALUE;else{if(v(i))continue;P(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",S(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===i?A(n):b(d,i)?(n.attribName=i,n.state=x.ATTRIB_NAME):(P(n,"Invalid attribute name"),n.state=x.ATTRIB)}continue;case x.ATTRIB_VALUE:if(v(i))continue;g(i)?(n.q=i,n.state=x.ATTRIB_VALUE_QUOTED):(P(n,"Unquoted attribute value"),n.state=x.ATTRIB_VALUE_UNQUOTED,n.attribValue=i);continue;case x.ATTRIB_VALUE_QUOTED:if(i!==n.q){"&"===i?n.state=x.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=i;continue}T(n),n.q="",n.state=x.ATTRIB_VALUE_CLOSED;continue;case x.ATTRIB_VALUE_CLOSED:v(i)?n.state=x.ATTRIB:">"===i?A(n):"/"===i?n.state=x.OPEN_TAG_SLASH:b(d,i)?(P(n,"No whitespace between attributes"),n.attribName=i,n.attribValue="",n.state=x.ATTRIB_NAME):P(n,"Invalid attribute name");continue;case x.ATTRIB_VALUE_UNQUOTED:if(!m(i)){"&"===i?n.state=x.ATTRIB_VALUE_ENTITY_U:n.attribValue+=i;continue}T(n),">"===i?A(n):n.state=x.ATTRIB;continue;case x.CLOSE_TAG:if(n.tagName)">"===i?R(n):b(f,i)?n.tagName+=i:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=x.SCRIPT):(v(i)||P(n,"Invalid tagname in closing tag"),n.state=x.CLOSE_TAG_SAW_WHITE);else{if(v(i))continue;y(d,i)?n.script?(n.script+="</"+i,n.state=x.SCRIPT):P(n,"Invalid tagname in closing tag."):n.tagName=i}continue;case x.CLOSE_TAG_SAW_WHITE:if(v(i))continue;">"===i?R(n):P(n,"Invalid characters in closing tag");continue;case x.TEXT_ENTITY:case x.ATTRIB_VALUE_ENTITY_Q:case x.ATTRIB_VALUE_ENTITY_U:var l,c;switch(n.state){case x.TEXT_ENTITY:l=x.TEXT,c="textNode";break;case x.ATTRIB_VALUE_ENTITY_Q:l=x.ATTRIB_VALUE_QUOTED,c="attribValue";break;case x.ATTRIB_VALUE_ENTITY_U:l=x.ATTRIB_VALUE_UNQUOTED,c="attribValue"}";"===i?(n[c]+=D(n),n.entity="",n.state=l):b(n.entity.length?h:p,i)?n.entity+=i:(P(n,"Invalid character in entity name"),n[c]+="&"+n.entity+i,n.entity="",n.state=l);continue;default:throw new Error(n,"Unknown state: "+n.state)}n.position>=n.bufferCheckPosition&&function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),r=0,i=0,a=o.length;i<a;i++){var s=t[o[i]].length;if(s>n)switch(o[i]){case"textNode":j(t);break;case"cdata":S(t,"oncdata",t.cdata),t.cdata="";break;case"script":S(t,"onscript",t.script),t.script="";break;default:k(t,"Max buffer length exceeded: "+o[i])}r=Math.max(r,s)}var l=e.MAX_BUFFER_LENGTH-r;t.bufferCheckPosition=l+t.position}(n);return n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var t;j(t=this),""!==t.cdata&&(S(t,"oncdata",t.cdata),t.cdata=""),""!==t.script&&(S(t,"onscript",t.script),t.script="")}};try{r=n(950).Stream}catch(L){r=function(){}}var a=e.EVENTS.filter((function(t){return"error"!==t&&"end"!==t}));function s(t,e){if(!(this instanceof s))return new s(t,e);r.apply(this),this._parser=new i(t,e),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(t){n.emit("error",t),n._parser.error=null},this._decoder=null,a.forEach((function(t){Object.defineProperty(n,"on"+t,{get:function(){return n._parser["on"+t]},set:function(e){if(!e)return n.removeAllListeners(t),n._parser["on"+t]=e,e;n.on(t,e)},enumerable:!0,configurable:!1})}))}s.prototype=Object.create(r.prototype,{constructor:{value:s}}),s.prototype.write=function(e){if("function"===typeof t&&"function"===typeof t.isBuffer&&t.isBuffer(e)){if(!this._decoder){var r=n(386).StringDecoder;this._decoder=new r("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},s.prototype.end=function(t){return t&&t.length&&this.write(t),this._parser.end(),!0},s.prototype.on=function(t,e){var n=this;return n._parser["on"+t]||-1===a.indexOf(t)||(n._parser["on"+t]=function(){var e=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);e.splice(0,0,t),n.emit.apply(n,e)}),r.prototype.on.call(n,t,e)};var l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",u={xml:l,xmlns:c},d=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,p=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,h=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function v(t){return" "===t||"\n"===t||"\r"===t||"\t"===t}function g(t){return'"'===t||"'"===t}function m(t){return">"===t||v(t)}function b(t,e){return t.test(e)}function y(t,e){return!b(t,e)}var x=0;for(var w in e.STATE={BEGIN:x++,BEGIN_WHITESPACE:x++,TEXT:x++,TEXT_ENTITY:x++,OPEN_WAKA:x++,SGML_DECL:x++,SGML_DECL_QUOTED:x++,DOCTYPE:x++,DOCTYPE_QUOTED:x++,DOCTYPE_DTD:x++,DOCTYPE_DTD_QUOTED:x++,COMMENT_STARTING:x++,COMMENT:x++,COMMENT_ENDING:x++,COMMENT_ENDED:x++,CDATA:x++,CDATA_ENDING:x++,CDATA_ENDING_2:x++,PROC_INST:x++,PROC_INST_BODY:x++,PROC_INST_ENDING:x++,OPEN_TAG:x++,OPEN_TAG_SLASH:x++,ATTRIB:x++,ATTRIB_NAME:x++,ATTRIB_NAME_SAW_WHITE:x++,ATTRIB_VALUE:x++,ATTRIB_VALUE_QUOTED:x++,ATTRIB_VALUE_CLOSED:x++,ATTRIB_VALUE_UNQUOTED:x++,ATTRIB_VALUE_ENTITY_Q:x++,ATTRIB_VALUE_ENTITY_U:x++,CLOSE_TAG:x++,CLOSE_TAG_SAW_WHITE:x++,SCRIPT:x++,SCRIPT_ENDING:x++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var n=e.ENTITIES[t],r="number"===typeof n?String.fromCharCode(n):n;e.ENTITIES[t]=r})),e.STATE)e.STATE[e.STATE[w]]=w;function O(t,e,n){t[e]&&t[e](n)}function S(t,e,n){t.textNode&&j(t),O(t,e,n)}function j(t){t.textNode=C(t.opt,t.textNode),t.textNode&&O(t,"ontext",t.textNode),t.textNode=""}function C(t,e){return t.trim&&(e=e.trim()),t.normalize&&(e=e.replace(/\s+/g," ")),e}function k(t,e){return j(t),t.trackPosition&&(e+="\nLine: "+t.line+"\nColumn: "+t.column+"\nChar: "+t.c),e=new Error(e),t.error=e,O(t,"onerror",e),t}function E(t){return t.sawRoot&&!t.closedRoot&&P(t,"Unclosed root tag"),t.state!==x.BEGIN&&t.state!==x.BEGIN_WHITESPACE&&t.state!==x.TEXT&&k(t,"Unexpected end"),j(t),t.c="",t.closed=!0,O(t,"onend"),i.call(t,t.strict,t.opt),t}function P(t,e){if("object"!==typeof t||!(t instanceof i))throw new Error("bad call to strictFail");t.strict&&k(t,e)}function _(t){t.strict||(t.tagName=t.tagName[t.looseCase]());var e=t.tags[t.tags.length-1]||t,n=t.tag={name:t.tagName,attributes:{}};t.opt.xmlns&&(n.ns=e.ns),t.attribList.length=0,S(t,"onopentagstart",n)}function M(t,e){var n=t.indexOf(":")<0?["",t]:t.split(":"),r=n[0],o=n[1];return e&&"xmlns"===t&&(r="xmlns",o=""),{prefix:r,local:o}}function T(t){if(t.strict||(t.attribName=t.attribName[t.looseCase]()),-1!==t.attribList.indexOf(t.attribName)||t.tag.attributes.hasOwnProperty(t.attribName))t.attribName=t.attribValue="";else{if(t.opt.xmlns){var e=M(t.attribName,!0),n=e.prefix,r=e.local;if("xmlns"===n)if("xml"===r&&t.attribValue!==l)P(t,"xml: prefix must be bound to "+l+"\nActual: "+t.attribValue);else if("xmlns"===r&&t.attribValue!==c)P(t,"xmlns: prefix must be bound to "+c+"\nActual: "+t.attribValue);else{var o=t.tag,i=t.tags[t.tags.length-1]||t;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[r]=t.attribValue}t.attribList.push([t.attribName,t.attribValue])}else t.tag.attributes[t.attribName]=t.attribValue,S(t,"onattribute",{name:t.attribName,value:t.attribValue});t.attribName=t.attribValue=""}}function A(t,e){if(t.opt.xmlns){var n=t.tag,r=M(t.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(P(t,"Unbound namespace prefix: "+JSON.stringify(t.tagName)),n.uri=r.prefix);var o=t.tags[t.tags.length-1]||t;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(e){S(t,"onopennamespace",{prefix:e,uri:n.ns[e]})}));for(var i=0,a=t.attribList.length;i<a;i++){var s=t.attribList[i],l=s[0],c=s[1],u=M(l,!0),d=u.prefix,f=u.local,p=""===d?"":n.ns[d]||"",h={name:l,value:c,prefix:d,local:f,uri:p};d&&"xmlns"!==d&&!p&&(P(t,"Unbound namespace prefix: "+JSON.stringify(d)),h.uri=d),t.tag.attributes[l]=h,S(t,"onattribute",h)}t.attribList.length=0}t.tag.isSelfClosing=!!e,t.sawRoot=!0,t.tags.push(t.tag),S(t,"onopentag",t.tag),e||(t.noscript||"script"!==t.tagName.toLowerCase()?t.state=x.TEXT:t.state=x.SCRIPT,t.tag=null,t.tagName=""),t.attribName=t.attribValue="",t.attribList.length=0}function R(t){if(!t.tagName)return P(t,"Weird empty close tag."),t.textNode+="</>",void(t.state=x.TEXT);if(t.script){if("script"!==t.tagName)return t.script+="</"+t.tagName+">",t.tagName="",void(t.state=x.SCRIPT);S(t,"onscript",t.script),t.script=""}var e=t.tags.length,n=t.tagName;t.strict||(n=n[t.looseCase]());for(var r=n;e--;){if(t.tags[e].name===r)break;P(t,"Unexpected close tag")}if(e<0)return P(t,"Unmatched closing tag: "+t.tagName),t.textNode+="</"+t.tagName+">",void(t.state=x.TEXT);t.tagName=n;for(var o=t.tags.length;o-- >e;){var i=t.tag=t.tags.pop();t.tagName=t.tag.name,S(t,"onclosetag",t.tagName);var a={};for(var s in i.ns)a[s]=i.ns[s];var l=t.tags[t.tags.length-1]||t;t.opt.xmlns&&i.ns!==l.ns&&Object.keys(i.ns).forEach((function(e){var n=i.ns[e];S(t,"onclosenamespace",{prefix:e,uri:n})}))}0===e&&(t.closedRoot=!0),t.tagName=t.attribValue=t.attribName="",t.attribList.length=0,t.state=x.TEXT}function D(t){var e,n=t.entity,r=n.toLowerCase(),o="";return t.ENTITIES[n]?t.ENTITIES[n]:t.ENTITIES[r]?t.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(e=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(e=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(e)||o.toLowerCase()!==n?(P(t,"Invalid character entity"),"&"+t.entity+";"):String.fromCodePoint(e))}function I(t,e){"<"===e?(t.state=x.OPEN_WAKA,t.startTagPosition=t.position):v(e)||(P(t,"Non-whitespace before first tag."),t.textNode=e,t.state=x.TEXT)}function N(t,e){var n="";return e<t.length&&(n=t.charAt(e)),n}x=e.STATE,String.fromCodePoint||function(){var t=String.fromCharCode,e=Math.floor,n=function(){var n,r,o=16384,i=[],a=-1,s=arguments.length;if(!s)return"";for(var l="";++a<s;){var c=Number(arguments[a]);if(!isFinite(c)||c<0||c>1114111||e(c)!==c)throw RangeError("Invalid code point: "+c);c<=65535?i.push(c):(n=55296+((c-=65536)>>10),r=c%1024+56320,i.push(n,r)),(a+1===s||i.length>o)&&(l+=t.apply(null,i),i.length=0)}return l};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()}(e)}).call(this,n(193).Buffer)},function(t,e,n){t.exports=o;var r=n(329).EventEmitter;function o(){r.call(this)}n(152)(o,r),o.Readable=n(328),o.Writable=n(951),o.Duplex=n(952),o.Transform=n(953),o.PassThrough=n(954),o.Stream=o,o.prototype.pipe=function(t,e){var n=this;function o(e){t.writable&&!1===t.write(e)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),t.on("drain",i),t._isStdio||e&&!1===e.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,t.end())}function l(){a||(a=!0,"function"===typeof t.destroy&&t.destroy())}function c(t){if(u(),0===r.listenerCount(this,"error"))throw t}function u(){n.removeListener("data",o),t.removeListener("drain",i),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",c),t.removeListener("error",c),n.removeListener("end",u),n.removeListener("close",u),t.removeListener("close",u)}return n.on("error",c),t.on("error",c),n.on("end",u),n.on("close",u),t.on("close",u),t.emit("pipe",n),t}},function(t,e,n){t.exports=n(476)},function(t,e,n){t.exports=n(241)},function(t,e,n){t.exports=n(328).Transform},function(t,e,n){t.exports=n(328).PassThrough},function(t,e){(function(){"use strict";e.stripBOM=function(t){return"\ufeff"===t[0]?t.substring(1):t}}).call(this)},function(t,e){var n=t.exports={};n.feed=[["author","creator"],["dc:publisher","publisher"],["dc:creator","creator"],["dc:source","source"],["dc:title","title"],["dc:type","type"],"title","description","author","pubDate","webMaster","managingEditor","generator","link","language","copyright","lastBuildDate","docs","generator","ttl","rating","skipHours","skipDays"],n.item=[["author","creator"],["dc:creator","creator"],["dc:date","date"],["dc:language","language"],["dc:rights","rights"],["dc:source","source"],["dc:title","title"],"title","link","pubDate","author","summary",["content:encoded","content:encoded",{includeSnippet:!0}],"enclosure","dc:creator","dc:date","comments"];var r=function(t){return["itunes:"+t,t]};n.podcastFeed=["author","subtitle","summary","explicit"].map(r),n.podcastItem=["author","subtitle","summary","explicit","duration","image","episode","image","season","keywords"].map(r)},function(t,e,n){var r=t.exports={},o=n(611),i=n(603);r.stripHtml=function(t){return t=(t=t.replace(/([^\n])<\/?(h|br|p|ul|ol|li|blockquote|section|table|tr|div)(?:.|\n)*?>([^\n])/gm,"$1\n$3")).replace(/<(?:.|\n)*?>/gm,"")},r.getSnippet=function(t){return o.decodeHTML(r.stripHtml(t)).trim()},r.getLink=function(t,e,n){if(t){for(var r=0;r<t.length;++r)if(t[r].$.rel===e)return t[r].$.href;return t[n]?t[n].$.href:void 0}},r.getContent=function(t){return"string"===typeof t._?t._:"object"===typeof t?new i.Builder({headless:!0,explicitRoot:!0,rootName:"div",renderOpts:{pretty:!1}}).buildObject(t):t},r.copyFromXML=function(t,e,n){n.forEach((function(n){var o=n,i=n,a={};Array.isArray(n)&&(o=n[0],i=n[1],n.length>2&&(a=n[2]));var s=a,l=s.keepArray,c=s.includeSnippet;void 0!==t[o]&&(e[i]=l?t[o]:t[o][0]),e[i]&&"string"===typeof e[i]._&&(e[i]=e[i]._),c&&e[i]&&"string"===typeof e[i]&&(e[i+"Snippet"]=r.getSnippet(e[i]))}))},r.maybePromisify=function(t,e){return t?e.then((function(e){return setTimeout((function(){return t(null,e)}))}),(function(e){return setTimeout((function(){return t(e)}))})):e};var a=/(encoding|charset)\s*=\s*(\S+)/,s=["ascii","utf8","utf16le","ucs2","base64","latin1","binary","hex"],l={"utf-8":"utf8","iso-8859-1":"latin1"};r.getEncodingFromContentType=function(t){var e=((t=t||"").match(a)||[])[2]||"";return e=e.toLowerCase(),(e=l[e]||e)&&-1!==s.indexOf(e)||(e="utf8"),e}},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=r(n(960)),i=String.fromCodePoint||function(t){var e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+=String.fromCharCode(t)};e.default=function(t){return t>=55296&&t<=57343||t>1114111?"\ufffd":(t in o.default&&(t=o.default[t]),i(t))}},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t,e,n){"use strict";n.r(e),e.default=n.p+"static/media/cancel~JNochEUg.9ad42925.svg"},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!1;return!0}},function(t,e,n){var r=n(493);t.exports=function(t,e){var n=!0;return r(t,(function(t,r,o){return n=!!e(t,r,o)})),n}},function(t,e,n){var r=n(213);t.exports=function(t,e){return function(n,o){if(null==n)return n;if(!r(n))return t(n,o);for(var i=n.length,a=e?i:-1,s=Object(n);(e?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},function(t,e,n){var r=n(87),o=n(966),i=n(577),a=Math.max,s=Math.min;t.exports=function(t,e,n){var l,c,u,d,f,p,h=0,v=!1,g=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(e){var n=l,r=c;return l=c=void 0,h=e,d=t.apply(r,n)}function y(t){return h=t,f=setTimeout(w,e),v?b(t):d}function x(t){var n=t-p;return void 0===p||n>=e||n<0||g&&t-h>=u}function w(){var t=o();if(x(t))return O(t);f=setTimeout(w,function(t){var n=e-(t-p);return g?s(n,u-(t-h)):n}(t))}function O(t){return f=void 0,m&&l?b(t):(l=c=void 0,d)}function S(){var t=o(),n=x(t);if(l=arguments,c=this,p=t,n){if(void 0===f)return y(p);if(g)return clearTimeout(f),f=setTimeout(w,e),b(p)}return void 0===f&&(f=setTimeout(w,e)),d}return e=i(e)||0,r(n)&&(v=!!n.leading,u=(g="maxWait"in n)?a(i(n.maxWait)||0,e):u,m="trailing"in n?!!n.trailing:m),S.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=p=c=f=void 0},S.flush=function(){return void 0===f?d:O(o())},S}},function(t,e,n){var r=n(161);t.exports=function(){return r.Date.now()}},function(t,e,n){var r=n(270),o=n(371),i=n(59),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},function(t,e,n){var r=n(377),o=n(375),i=n(192),a=n(616),s=n(969),l=n(373),c=n(970),u=n(272),d=n(59);t.exports=function(t,e,n){e=e.length?r(e,(function(t){return d(t)?function(e){return o(e,1===t.length?t[0]:t)}:t})):[u];var f=-1;e=r(e,l(i));var p=a(t,(function(t,n,o){return{criteria:r(e,(function(e){return e(t)})),index:++f,value:t}}));return s(p,(function(t,e){return c(t,e,n)}))}},function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},function(t,e,n){var r=n(971);t.exports=function(t,e,n){for(var o=-1,i=t.criteria,a=e.criteria,s=i.length,l=n.length;++o<s;){var c=r(i[o],a[o]);if(c)return o>=l?c:c*("desc"==n[o]?-1:1)}return t.index-e.index}},function(t,e,n){var r=n(273);t.exports=function(t,e){if(t!==e){var n=void 0!==t,o=null===t,i=t===t,a=r(t),s=void 0!==e,l=null===e,c=e===e,u=r(e);if(!l&&!u&&!a&&t>e||a&&s&&c&&!l&&!u||o&&s&&c||!n&&c||!i)return 1;if(!o&&!a&&!u&&t<e||u&&n&&i&&!o&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}},function(t,e,n){var r=n(973),o=n(325),i=n(576);t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&o(e,n,a)&&(n=a=void 0),e=i(e),void 0===n?(n=e,e=0):n=i(n),a=void 0===a?e<n?1:-1:i(a),r(e,n,a,t)}}},function(t,e){var n=Math.ceil,r=Math.max;t.exports=function(t,e,o,i){for(var a=-1,s=r(n((e-t)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=t,t+=o;return l}},function(t,e,n){var r=n(975),o=n(618),i=n(976),a=n(326);t.exports=function(t){return function(e){e=a(e);var n=o(e)?i(e):void 0,s=n?n[0]:e.charAt(0),l=n?r(n,1).join(""):e.slice(1);return s[t]()+l}}},function(t,e,n){var r=n(617);t.exports=function(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:r(t,e,n)}},function(t,e,n){var r=n(977),o=n(618),i=n(978);t.exports=function(t){return o(t)?i(t):r(t)}},function(t,e){t.exports=function(t){return t.split("")}},function(t,e){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",f=RegExp(o+"(?="+o+")|"+d+u,"g");t.exports=function(t){return t.match(f)||[]}},function(t,e){t.exports=function(t,e){return t>e}},function(t,e){t.exports=function(t,e){return t<e}},function(t,e,n){var r=n(377),o=n(192),i=n(616),a=n(59);t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},function(t,e,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,x=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function O(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case d:case f:case a:case l:case s:case h:return t;default:switch(t=t&&t.$$typeof){case u:case p:case m:case g:case c:return t;default:return e}}case i:return e}}}function S(t){return O(t)===f}e.AsyncMode=d,e.ConcurrentMode=f,e.ContextConsumer=u,e.ContextProvider=c,e.Element=o,e.ForwardRef=p,e.Fragment=a,e.Lazy=m,e.Memo=g,e.Portal=i,e.Profiler=l,e.StrictMode=s,e.Suspense=h,e.isAsyncMode=function(t){return S(t)||O(t)===d},e.isConcurrentMode=S,e.isContextConsumer=function(t){return O(t)===u},e.isContextProvider=function(t){return O(t)===c},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return O(t)===p},e.isFragment=function(t){return O(t)===a},e.isLazy=function(t){return O(t)===m},e.isMemo=function(t){return O(t)===g},e.isPortal=function(t){return O(t)===i},e.isProfiler=function(t){return O(t)===l},e.isStrictMode=function(t){return O(t)===s},e.isSuspense=function(t){return O(t)===h},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===a||t===f||t===l||t===s||t===h||t===v||"object"===typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===c||t.$$typeof===u||t.$$typeof===p||t.$$typeof===y||t.$$typeof===x||t.$$typeof===w||t.$$typeof===b)},e.typeOf=O},function(t,e,n){var r=n(565),o=n(984),i=n(988),a=n(567),s=n(989),l=n(468);t.exports=function(t,e,n){var c=-1,u=o,d=t.length,f=!0,p=[],h=p;if(n)f=!1,u=i;else if(d>=200){var v=e?null:s(t);if(v)return l(v);f=!1,u=a,h=new r}else h=e?[]:p;t:for(;++c<d;){var g=t[c],m=e?e(g):g;if(g=n||0!==g?g:0,f&&m===m){for(var b=h.length;b--;)if(h[b]===m)continue t;e&&h.push(m),p.push(g)}else u(h,m,n)||(h!==p&&h.push(m),p.push(g))}return p}},function(t,e,n){var r=n(985);t.exports=function(t,e){return!!(null==t?0:t.length)&&r(t,e,0)>-1}},function(t,e,n){var r=n(575),o=n(986),i=n(987);t.exports=function(t,e,n){return e===e?i(t,e,n):r(t,o,n)}},function(t,e){t.exports=function(t){return t!==t}},function(t,e){t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},function(t,e){t.exports=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}},function(t,e,n){var r=n(571),o=n(990),i=n(468),a=r&&1/i(new r([,-0]))[1]==1/0?function(t){return new r(t)}:o;t.exports=a},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(493);t.exports=function(t,e){var n;return r(t,(function(t,r,o){return!(n=e(t,r,o))})),!!n}},function(t,e,n){var r=n(993),o=n(994),i=n(995);function a(t){return this instanceof a?(this.nodes=r(t),this):new a(t)}a.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},a.prototype.walk=function(t,e){return o(this.nodes,t,e),this},a.unit=n(996),a.walk=o,a.stringify=i,t.exports=a},function(t,e){var n="(".charCodeAt(0),r=")".charCodeAt(0),o="'".charCodeAt(0),i='"'.charCodeAt(0),a="\\".charCodeAt(0),s="/".charCodeAt(0),l=",".charCodeAt(0),c=":".charCodeAt(0),u="*".charCodeAt(0);t.exports=function(t){for(var e,d,f,p,h,v,g,m,b=[],y=t,x=0,w=y.charCodeAt(x),O=y.length,S=[{nodes:b}],j=0,C="",k="",E="";x<O;)if(w<=32){e=x;do{e+=1,w=y.charCodeAt(e)}while(w<=32);p=y.slice(x,e),f=b[b.length-1],w===r&&j?E=p:f&&"div"===f.type?f.after=p:w===l||w===c||w===s&&y.charCodeAt(e+1)!==u?k=p:b.push({type:"space",sourceIndex:x,value:p}),x=e}else if(w===o||w===i){e=x,p={type:"string",sourceIndex:x,quote:d=w===o?"'":'"'};do{if(h=!1,~(e=y.indexOf(d,e+1)))for(v=e;y.charCodeAt(v-1)===a;)v-=1,h=!h;else e=(y+=d).length-1,p.unclosed=!0}while(h);p.value=y.slice(x+1,e),b.push(p),x=e+1,w=y.charCodeAt(x)}else if(w===s&&y.charCodeAt(x+1)===u)p={type:"comment",sourceIndex:x},-1===(e=y.indexOf("*/",x))&&(p.unclosed=!0,e=y.length),p.value=y.slice(x+2,e),b.push(p),x=e+2,w=y.charCodeAt(x);else if(w===s||w===l||w===c)p=y[x],b.push({type:"div",sourceIndex:x-k.length,value:p,before:k,after:""}),k="",x+=1,w=y.charCodeAt(x);else if(n===w){e=x;do{e+=1,w=y.charCodeAt(e)}while(w<=32);if(p={type:"function",sourceIndex:x-C.length,value:C,before:y.slice(x+1,e)},x=e,"url"===C&&w!==o&&w!==i){e-=1;do{if(h=!1,~(e=y.indexOf(")",e+1)))for(v=e;y.charCodeAt(v-1)===a;)v-=1,h=!h;else e=(y+=")").length-1,p.unclosed=!0}while(h);g=e;do{g-=1,w=y.charCodeAt(g)}while(w<=32);p.nodes=x!==g+1?[{type:"word",sourceIndex:x,value:y.slice(x,g+1)}]:[],p.unclosed&&g+1!==e?(p.after="",p.nodes.push({type:"space",sourceIndex:g+1,value:y.slice(g+1,e)})):p.after=y.slice(g+1,e),x=e+1,w=y.charCodeAt(x),b.push(p)}else j+=1,p.after="",b.push(p),S.push(p),b=p.nodes=[],m=p;C=""}else if(r===w&&j)x+=1,w=y.charCodeAt(x),m.after=E,E="",j-=1,S.pop(),b=(m=S[j]).nodes;else{e=x;do{w===a&&(e+=1),e+=1,w=y.charCodeAt(e)}while(e<O&&!(w<=32||w===o||w===i||w===l||w===c||w===s||w===n||w===r&&j));p=y.slice(x,e),n===w?C=p:b.push({type:"word",sourceIndex:x,value:p}),x=e}for(x=S.length-1;x;x-=1)S[x].unclosed=!0;return S[0].nodes}},function(t,e){t.exports=function t(e,n,r){var o,i,a,s;for(o=0,i=e.length;o<i;o+=1)a=e[o],r||(s=n(a,o,e)),!1!==s&&"function"===a.type&&Array.isArray(a.nodes)&&t(a.nodes,n,r),r&&n(a,o,e)}},function(t,e){function n(t,e){var n,o,i=t.type,a=t.value;return e&&void 0!==(o=e(t))?o:"word"===i||"space"===i?a:"string"===i?(n=t.quote||"")+a+(t.unclosed?"":n):"comment"===i?"/*"+a+(t.unclosed?"":"*/"):"div"===i?(t.before||"")+a+(t.after||""):Array.isArray(t.nodes)?(n=r(t.nodes),"function"!==i?n:a+"("+(t.before||"")+n+(t.after||"")+(t.unclosed?"":")")):a}function r(t,e){var r,o;if(Array.isArray(t)){for(r="",o=t.length-1;~o;o-=1)r=n(t[o],e)+r;return r}return n(t,e)}t.exports=r},function(t,e){var n="-".charCodeAt(0),r="+".charCodeAt(0),o=".".charCodeAt(0),i="e".charCodeAt(0),a="E".charCodeAt(0);t.exports=function(t){for(var e,s=0,l=t.length,c=!1,u=-1,d=!1;s<l;){if((e=t.charCodeAt(s))>=48&&e<=57)d=!0;else if(e===i||e===a){if(u>-1)break;u=s}else if(e===o){if(c)break;c=!0}else{if(e!==r&&e!==n)break;if(0!==s)break}s+=1}return u+1===s&&s--,!!d&&{number:t.slice(0,s),unit:t.slice(s)}}},function(t,e,n){var r=function(){function t(t,e){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var r=e.exception;this.message=r.message||t,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(t).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}function e(t,e,n){n=n||0;for(var r=0;r<e;r++)this.push(t),t+=n}function n(t,e){for(e+=t=this.length-t;t<e;t++)this.push(this[t])}function r(t){for(var e=[],n=0,r=t.length;n<r;n++){var o=t[n];"function"===typeof o?(n++,o.apply(e,t[n])):e.push(o)}return e}"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonParserError";var o={trace:function(){},JisonParserError:t,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(t){return'"'+t+'"'},getSymbolName:function(t){if(this.terminals_[t])return this.terminals_[t];var e=this.symbols_;for(var n in e)if(e[n]===t)return n;return null},describeSymbol:function(t){if(t!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[t])return this.terminal_descriptions_[t];if(t===this.EOF)return"end of input";var e=this.getSymbolName(t);return e?this.quoteName(e):null},collect_expected_token_set:function(t,e){var n=this.TERROR,r=[],o={};if(!e&&this.state_descriptions_&&this.state_descriptions_[t])return[this.state_descriptions_[t]];for(var i in this.table[t])if((i=+i)!==n){var a=e?i:this.describeSymbol(i);a&&!o[a]&&(r.push(a),o[a]=!0)}return r},productions_:function(t){for(var e=[],n=t.pop,r=t.rule,o=0,i=n.length;o<i;o++)e.push([n[o],r[o]]);return e}({pop:r([29,e,[30,10],31,31,32,32,e,[33,15]]),rule:r([2,e,[3,5],4,7,e,[1,4],2,4,6,e,[1,14],2])}),performAction:function(t,e,n){var r=this.yy;r.parser,r.lexer;switch(t){case 0:case 6:this.$=n[e-1];break;case 1:return this.$=n[e-1],n[e-1];case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:n[e-1],left:n[e-2],right:n[e]};break;case 7:this.$={type:"Calc",value:n[e-1]};break;case 8:this.$={type:"Calc",value:n[e-1],prefix:n[e-5]};break;case 9:case 10:case 11:this.$=n[e];break;case 12:this.$={type:"Value",value:parseFloat(n[e])};break;case 13:this.$={type:"Value",value:-1*parseFloat(n[e])};break;case 14:this.$={type:"CssVariable",value:n[e-1]};break;case 15:this.$={type:"CssVariable",value:n[e-3],fallback:n[e-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(n[e]),unit:/[a-z]+/.exec(n[e])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(n[e]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(n[e]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(n[e]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(n[e]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(n[e]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(n[e]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(n[e]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(n[e]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(n[e]),unit:"%"};break;case 30:var o=n[e];o.value*=-1,this.$=o}},table:function(t){for(var e=[],n=t.len,r=t.symbol,o=t.type,i=t.state,a=t.mode,s=t.goto,l=0,c=n.length;l<c;l++){for(var u=n[l],d={},f=0;f<u;f++){var p=r.shift();switch(o.shift()){case 2:d[p]=[a.shift(),s.shift()];break;case 0:d[p]=i.shift();break;default:d[p]=[3]}}e.push(d)}return e}({len:r([24,1,5,23,1,18,e,[0,3],1,e,[0,16],e,[23,4],n,[28,3],0,0,16,1,6,6,e,[0,3],5,1,2,n,[37,3],n,[20,3],5,0,0]),symbol:r([4,7,9,11,12,e,[15,19,1],1,1,e,[3,4,1],n,[30,19],n,[29,4],7,4,10,11,n,[22,14],n,[19,3],n,[43,22],n,[23,69],n,[139,4],8,n,[51,24],4,n,[138,15],13,n,[186,5],8,n,[6,6],n,[5,5],9,8,14,n,[159,47],n,[60,10]]),type:r([e,[2,19],e,[0,5],1,e,[2,24],e,[0,4],n,[22,19],n,[43,42],n,[23,70],n,[28,25],n,[45,25],n,[113,54]]),state:r([1,2,8,6,7,30,n,[4,3],33,37,n,[5,3],38,n,[4,3],39,n,[4,3],40,n,[4,3],42,n,[21,4],50,n,[5,3],51,n,[4,3]]),mode:r([e,[1,179],e,[2,3],n,[5,5],n,[6,4],e,[1,57]]),goto:r([5,3,4,24,e,[9,15,1],e,[25,5,1],n,[24,19],31,35,32,34,n,[18,14],36,n,[38,19],n,[19,57],n,[118,4],41,n,[24,19],43,35,n,[16,14],44,e,[2,3],28,29,2,e,[3,3],28,29,3,n,[53,4],e,[45,5,1],n,[100,42],52,n,[5,4],53])}),defaultActions:function(t){for(var e={},n=t.idx,r=t.goto,o=0,i=n.length;o<i;o++){e[n[o]]=r[o]}return e}({idx:r([6,7,8,e,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:r([9,10,11,e,[16,14,1],12,1,30,13,e,[4,4,1],14,15,8])}),parseError:function(t,e,n){if(!e.recoverable)throw"function"===typeof this.trace&&this.trace(t),n||(n=this.JisonParserError),new n(t,e);"function"===typeof this.trace&&this.trace(t),e.destroy()},parse:function(t){var e,n=this,r=new Array(128),o=new Array(128),i=new Array(128),a=this.table,s=0,l=0,c=(this.TERROR,this.EOF),u=(this.options.errorRecoveryTokenDiscardCount,[0,54]);e=this.__lexer__?this.__lexer__:this.__lexer__=Object.create(this.lexer);var d={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0};function f(){var t=e.fastLex();return"number"!==typeof t&&(t=n.symbols_[t]||t),t||c}"function"!==typeof assert||assert,this.yyGetSharedState=function(){return d},function(t,e){for(var n in e)"undefined"===typeof t[n]&&Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}(d,this.yy),d.lexer=e,d.parser=this,"function"===typeof d.parseError?this.parseError=function(t,e,n){return n||(n=this.JisonParserError),d.parseError.call(this,t,e,n)}:this.parseError=this.originalParseError,"function"===typeof d.quoteName?this.quoteName=function(t){return d.quoteName.call(this,t)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(t,n,a){var l,c;n&&((d.post_parse||this.post_parse)&&(c=this.constructParseErrorInfo(null,null,null,!1)),d.post_parse&&"undefined"!==typeof(l=d.post_parse.call(this,d,t,c))&&(t=l),this.post_parse&&"undefined"!==typeof(l=this.post_parse.call(this,d,t,c))&&(t=l),c&&c.destroy&&c.destroy());if(this.__reentrant_call_depth>1)return t;if(e.cleanupAfterLex&&e.cleanupAfterLex(a),d&&(d.lexer=void 0,d.parser=void 0,e.yy===d&&(e.yy=void 0)),d=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,r.length=0,o.length=0,i.length=0,s=0,!a){for(var u=this.__error_infos.length-1;u>=0;u--){var f=this.__error_infos[u];f&&"function"===typeof f.destroy&&f.destroy()}this.__error_infos.length=0}return t},this.constructParseErrorInfo=function(t,n,a,c){var u={errStr:t,exception:n,text:e.match,value:e.yytext,token:this.describeSymbol(l)||l,token_id:l,line:e.yylineno,expected:a,recoverable:c,state:p,action:h,new_state:x,symbol_stack:r,state_stack:o,value_stack:i,stack_pointer:s,yy:d,lexer:e,parser:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"===typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(u),u};var p,h,v,g,m,b,y,x,w=function(){var t=e.lex();return"number"!==typeof t&&(t=n.symbols_[t]||t),t||c},O={$:!0,_$:void 0,yy:d},S=!1;try{if(this.__reentrant_call_depth++,e.setInput(t,d),"function"===typeof e.canIUse)e.canIUse().fastLex&&(w=f);for(i[s]=null,o[s]=0,r[s]=0,++s,this.pre_parse&&this.pre_parse.call(this,d),d.pre_parse&&d.pre_parse.call(this,d),x=o[s-1];;){if(p=x,this.defaultActions[p])h=2,x=this.defaultActions[p];else if(l||(l=w()),g=a[p]&&a[p][l]||u,x=g[1],!(h=g[0])){var j,C=this.describeSymbol(l)||l,k=this.collect_expected_token_set(p);j="number"===typeof e.yylineno?"Parse error on line "+(e.yylineno+1)+": ":"Parse error: ","function"===typeof e.showPosition&&(j+="\n"+e.showPosition(69,10)+"\n"),k.length?j+="Expecting "+k.join(", ")+", got unexpected "+C:j+="Unexpected "+C,m=this.constructParseErrorInfo(j,null,k,!1),"undefined"!==typeof(v=this.parseError(m.errStr,m,this.JisonParserError))&&(S=v);break}switch(h){default:if(h instanceof Array){m=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+p+", token: "+l,null,null,!1),"undefined"!==typeof(v=this.parseError(m.errStr,m,this.JisonParserError))&&(S=v);break}m=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),"undefined"!==typeof(v=this.parseError(m.errStr,m,this.JisonParserError))&&(S=v);break;case 1:r[s]=l,i[s]=e.yytext,o[s]=x,++s,l=0;continue;case 2:if(b=(y=this.productions_[x-1])[1],"undefined"!==typeof(v=this.performAction.call(O,x,s-1,i))){S=v;break}s-=b;var E=y[0];r[s]=E,i[s]=O.$,x=a[o[s-1]][E],o[s]=x,++s;continue;case 3:-2!==s&&(S=!0,s--,"undefined"!==typeof i[s]&&(S=i[s]))}break}}catch(P){if(P instanceof this.JisonParserError)throw P;if(e&&"function"===typeof e.JisonLexerError&&P instanceof e.JisonLexerError)throw P;m=this.constructParseErrorInfo("Parsing aborted due to exception.",P,null,!1),S=!1,"undefined"!==typeof(v=this.parseError(m.errStr,m,this.JisonParserError))&&(S=v)}finally{S=this.cleanupAfterParse(S,!0,!0),this.__reentrant_call_depth--}return S}};o.originalParseError=o.parseError,o.originalQuoteName=o.quoteName;var i=function(){function t(t,e){var n;if(Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),null==t&&(t="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:t}),this.hash=e,e&&e.exception instanceof Error){var r=e.exception;this.message=r.message||t,n=r.stack}n||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):n=new Error(t).stack),n&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:n})}"function"===typeof Object.setPrototypeOf?Object.setPrototypeOf(t.prototype,Error.prototype):t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t.prototype.name="JisonLexerError";var e={EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(t,e,n){if(t=""+t,void 0==n&&(n=!(t.indexOf("\n")>0&&t.indexOf("^")>0)),this.yylloc&&n)if("function"===typeof this.prettyPrintRange){this.prettyPrintRange(this.yylloc);/\n\s*$/.test(t)||(t+="\n"),t+="\n  Erroneous area:\n"+this.prettyPrintRange(this.yylloc)}else if("function"===typeof this.showPosition){var r=this.showPosition();r&&(t.length&&"\n"!==t[t.length-1]&&"\n"!==r[0]?t+="\n"+r:t+=r)}var o={errStr:t,recoverable:!!e,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var t=!!this.recoverable;for(var e in this)this.hasOwnProperty(e)&&"object"===typeof e&&(this[e]=void 0);this.recoverable=t}};return this.__error_infos.push(o),o},parseError:function(t,e,n){if(n||(n=this.JisonLexerError),this.yy){if(this.yy.parser&&"function"===typeof this.yy.parser.parseError)return this.yy.parser.parseError.call(this,t,e,n)||this.ERROR;if("function"===typeof this.yy.parseError)return this.yy.parseError.call(this,t,e,n)||this.ERROR}throw new n(t,e)},yyerror:function(t){var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var n=this.constructLexErrorInfo("Lexical error"+e+": "+t,this.options.lexerErrorsAreRecoverable),r=Array.prototype.slice.call(arguments,1);return r.length&&(n.extra_error_attributes=r),this.parseError(n.errStr,n,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(t){if(this.setInput("",{}),!t){for(var e=this.__error_infos.length-1;e>=0;e--){var n=this.__error_infos[e];n&&"function"===typeof n.destroy&&n.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var t=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:t,last_line:this.yylineno+1,last_column:t,range:[this.offset,this.offset]}},setInput:function(t,e){if(this.yy=e||this.yy||{},!this.__decompressed){for(var n=this.rules,r=0,o=n.length;r<o;r++){"number"===typeof(f=n[r])&&(n[r]=n[f])}var i=this.conditions;for(var a in i){var s=i[a],l=s.rules,c=(o=l.length,new Array(o+1)),u=new Array(o+1);for(r=0;r<o;r++){var d=l[r],f=n[d];c[r+1]=f,u[r+1]=d}s.rules=u,s.__rule_regexes=c,s.__rule_count=o}this.__decompressed=!0}return this._input=t||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(t,e){var n=t.call(this,this._input,e);return"string"!==typeof n?n&&(this._input=""+n):this._input=n,this},input:function(){if(!this._input)return null;var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=1,n=!1;if("\n"===t)n=!0;else if("\r"===t){n=!0;var r=this._input[1];"\n"===r&&(e++,t+=r,this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,this.yylloc.range[1]++)}return n?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(e),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);if(this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.yyleng=this.yytext.length,this.offset-=e,this.match=this.match.substr(0,this.match.length-e),this.matched=this.matched.substr(0,this.matched.length-e),n.length>1){this.yylineno-=n.length-1,this.yylloc.last_line=this.yylineno+1;var r=this.match,o=r.split(/(?:\r\n?|\n)/g);1===o.length&&(o=(r=this.matched).split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=o[o.length-1].length}else this.yylloc.last_column-=e;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var t="";this.yylloc&&(t=" on line "+(this.yylineno+1));var e=this.constructLexErrorInfo("Lexical error"+t+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(e.errStr,e,this.JisonLexerError)||this.ERROR}return this},less:function(t){return this.unput(this.match.slice(t))},pastInput:function(t,e){var n=this.matched.substring(0,this.matched.length-this.match.length);t<0?t=n.length:t||(t=20),e<0?e=n.length:e||(e=1);var r=(n=n.substr(2*-t-2)).replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(-e)).join("\n")).length>t&&(n="..."+n.substr(-t)),n},upcomingInput:function(t,e){var n=this.match;t<0?t=n.length+this._input.length:t||(t=20),e<0?e=t:e||(e=1),n.length<2*t+2&&(n+=this._input.substring(0,2*t+2));var r=n.replace(/\r\n|\r/g,"\n").split("\n");return(n=(r=r.slice(0,e)).join("\n")).length>t&&(n=n.substring(0,t)+"..."),n},showPosition:function(t,e){var n=this.pastInput(t).replace(/\s/g," "),r=new Array(n.length+1).join("-");return n+this.upcomingInput(e).replace(/\s/g," ")+"\n"+r+"^"},deriveLocationInfo:function(t,e,n,r){var o={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return t&&(o.first_line=0|t.first_line,o.last_line=0|t.last_line,o.first_column=0|t.first_column,o.last_column=0|t.last_column,t.range&&(o.range[0]=0|t.range[0],o.range[1]=0|t.range[1])),(o.first_line<=0||o.last_line<o.first_line)&&(o.first_line<=0&&e&&(o.first_line=0|e.last_line,o.first_column=0|e.last_column,e.range&&(o.range[0]=0|t.range[1])),(o.last_line<=0||o.last_line<o.first_line)&&n&&(o.last_line=0|n.first_line,o.last_column=0|n.first_column,n.range&&(o.range[1]=0|t.range[0])),o.first_line<=0&&r&&(o.last_line<=0||r.last_line<=o.last_line)&&(o.first_line=0|r.first_line,o.first_column=0|r.first_column,r.range&&(o.range[0]=0|r.range[0])),o.last_line<=0&&r&&(o.first_line<=0||r.first_line>=o.first_line)&&(o.last_line=0|r.last_line,o.last_column=0|r.last_column,r.range&&(o.range[1]=0|r.range[1]))),o.last_line<=0&&(o.first_line<=0?(o.first_line=this.yylloc.first_line,o.last_line=this.yylloc.last_line,o.first_column=this.yylloc.first_column,o.last_column=this.yylloc.last_column,o.range[0]=this.yylloc.range[0],o.range[1]=this.yylloc.range[1]):(o.last_line=this.yylloc.last_line,o.last_column=this.yylloc.last_column,o.range[1]=this.yylloc.range[1])),o.first_line<=0&&(o.first_line=o.last_line,o.first_column=0,o.range[1]=o.range[0]),o.first_column<0&&(o.first_column=0),o.last_column<0&&(o.last_column=o.first_column>0?o.first_column:80),o},prettyPrintRange:function(t,e,n){t=this.deriveLocationInfo(t,e,n);var r=(this.matched+this._input).split("\n"),o=Math.max(1,e?e.first_line:t.first_line-3),i=Math.max(1,n?n.last_line:t.last_line+1),a=1+Math.log10(1|i)|0,s=new Array(a).join(" "),l=[],c=r.slice(o-1,i+1).map((function(e,n){var r=n+o,i=(s+r).substr(-a)+": "+e,c=new Array(a+1).join("^"),u=3,d=0;(r===t.first_line?(u+=t.first_column,d=Math.max(2,(r===t.last_line?t.last_column:e.length)-t.first_column+1)):r===t.last_line?d=Math.max(2,t.last_column+1):r>t.first_line&&r<t.last_line&&(d=Math.max(2,e.length+1)),d)&&(i+="\n"+c+new Array(u).join(".")+new Array(d).join("^"),e.trim().length>0&&l.push(n));return i=i.replace(/\t/g," ")}));if(l.length>4){var u=l[1]+1,d=l[l.length-2]-1,f=new Array(a+1).join(" ")+"  (...continued...)";f+="\n"+new Array(a+1).join("-")+"  (---------------)",c.splice(u,d-u+1,f)}return c.join("\n")},describeYYLLOC:function(t,e){var n,r=t.first_line,o=t.last_line,i=t.first_column,a=t.last_column;if(0===o-r?(n="line "+r+", ",n+=a-i<=1?"column "+i:"columns "+i+" .. "+a):n="lines "+r+"(column "+i+") .. "+o+"(column "+a+")",t.range&&e){var s=t.range[0],l=t.range[1]-1;n+=l<=s?" {String Offset: "+s+"}":" {String Offset range: "+s+" .. "+l+"}"}return n},test_match:function(t,e){var n,r,o,i,a;if(this.options.backtrack_lexer&&(o={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),a=(i=t[0]).length,(r=i.split(/(?:\r\n?|\n)/g)).length>1?(this.yylineno+=r.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=r[r.length-1].length):this.yylloc.last_column+=a,this.yytext+=i,this.match+=i,this.matched+=i,this.matches=t,this.yyleng=this.yytext.length,this.yylloc.range[1]+=a,this.offset+=a,this._more=!1,this._backtrack=!1,this._input=this._input.slice(a),n=this.performAction.call(this,this.yy,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in o)this[s]=o[s];return this.__currentRuleSet__=null,!1}return!!this._signaled_error_token&&(n=this._signaled_error_token,this._signaled_error_token=!1,n)},next:function(){if(this.done)return this.clear(),this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||this.clear();var o=this.__currentRuleSet__;if(!o&&(!(o=this.__currentRuleSet__=this._currentRules())||!o.rules)){var i="";this.options.trackPosition&&(i=" on line "+(this.yylineno+1));var a=this.constructLexErrorInfo("Internal lexer engine error"+i+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR}for(var s=o.rules,l=o.__rule_regexes,c=o.__rule_count,u=1;u<=c;u++)if((n=this._input.match(l[u]))&&(!e||n[0].length>e[0].length)){if(e=n,r=u,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[u])))return t;if(this._backtrack){e=void 0;continue}return!1}if(!this.options.flex)break}if(e)return!1!==(t=this.test_match(e,s[r]))&&t;if(this._input){i="";this.options.trackPosition&&(i=" on line "+(this.yylineno+1));a=this.constructLexErrorInfo("Lexical error"+i+": Unrecognized text.",this.options.lexerErrorsAreRecoverable);var d=this._input,f=this.topState(),p=this.conditionStack.length;return(t=this.parseError(a.errStr,a,this.JisonLexerError)||this.ERROR)===this.ERROR&&(this.matches||d!==this._input||f!==this.topState()||p!==this.conditionStack.length||this.input()),t}return this.done=!0,this.clear(),this.EOF},lex:function(){var t;for("function"===typeof this.pre_lex&&(t=this.pre_lex.call(this,0)),"function"===typeof this.options.pre_lex&&(t=this.options.pre_lex.call(this,t)||t),this.yy&&"function"===typeof this.yy.pre_lex&&(t=this.yy.pre_lex.call(this,t)||t);!t;)t=this.next();return this.yy&&"function"===typeof this.yy.post_lex&&(t=this.yy.post_lex.call(this,t)||t),"function"===typeof this.options.post_lex&&(t=this.options.post_lex.call(this,t)||t),"function"===typeof this.post_lex&&(t=this.post_lex.call(this,t)||t),t},fastLex:function(){for(var t;!t;)t=this.next();return t},canIUse:function(){return{fastLex:!("function"===typeof this.pre_lex||"function"===typeof this.options.pre_lex||this.yy&&"function"===typeof this.yy.pre_lex||this.yy&&"function"===typeof this.yy.post_lex||"function"===typeof this.options.post_lex||"function"===typeof this.post_lex)&&"function"===typeof this.fastLex}},begin:function(t){return this.pushState(t)},pushState:function(t){return this.conditionStack.push(t),this.__currentRuleSet__=null,this},popState:function(){return this.conditionStack.length-1>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:t,performAction:function(t,e,n){if(1!==e)return this.simpleCaseActionClusters[e]},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};return e}();function a(){this.yy={}}return o.lexer=i,a.prototype=o,o.Parser=a,new a}();e.parser=r,e.Parser=r.Parser,e.parse=function(){return r.parse.apply(r,arguments)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(999),i=(r=o)&&r.__esModule?r:{default:r};e.default=function(t,e,n){switch(t.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return function(t,e,n){e.type===t.type&&(e={type:t.type,value:(0,i.default)(e.value,e.unit,t.unit,n),unit:t.unit});return{left:t,right:e}}(t,e,n);default:return{left:t,right:e}}},t.exports=e.default},function(t,e){var n={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};t.exports=function(t,e,r,o){if(!n.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!n[r].hasOwnProperty(e))throw new Error("Cannot convert from "+e+" to "+r);var i=n[r][e]*t;return!1!==o?(o=Math.pow(10,parseInt(o)||5),Math.round(i*o)/o):i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r=a(e,n);return"MathExpression"===e.type&&(r=t+"("+r+")"),r};var r=n(620),o={"*":0,"/":0,"+":1,"-":1};function i(t,e){if(!1!==e){var n=Math.pow(10,e);return Math.round(t*n)/n}return t}function a(t,e){switch(t.type){case"MathExpression":var n=t.left,s=t.right,l=t.operator,c="";return"MathExpression"===n.type&&o[l]<o[n.operator]?c+="("+a(n,e)+")":c+=a(n,e),c+=" "+t.operator+" ","MathExpression"===s.type&&o[l]<o[s.operator]?c+="("+a(s,e)+")":"MathExpression"===s.type&&"-"===l&&["+","-"].includes(s.operator)?(s.operator=(0,r.flip)(s.operator),c+=a(s,e)):c+=a(s,e),c;case"Value":return i(t.value,e);case"CssVariable":return t.fallback?"var("+t.value+", "+a(t.fallback,e)+")":"var("+t.value+")";case"Calc":return t.prefix?"-"+t.prefix+"-calc("+a(t.value,e)+")":"calc("+a(t.value,e)+")";default:return i(t.value,e)+t.unit}}t.exports=e.default},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(331));var r=s(n(1004)),o=s(n(1006)),i=s(n(1)),a=s(n(621));n(622);function s(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},l.apply(this,arguments)}var c=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,r.default)(t,e)}))},u=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,o.default)(t,e)}))},d=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];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("appear").doneClassName,o=e.getClassNames("enter").doneClassName,i=n?r+" "+o:o;e.removeClasses(t,n?"appear":"enter"),c(t,i),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,o=r?(r&&n?n+"-":"")+t:n[t];return{className:o,activeClassName:r?o+"-active":n[t+"Active"],doneClassName:r?o+"-done":n[t+"Done"]}},e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.removeClasses=function(t,e){var n=this.getClassNames(e),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&u(t,r),o&&u(t,o),i&&u(t,i)},o.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,c(t,e))},o.render=function(){var t=l({},this.props);return delete t.classNames,i.default.createElement(a.default,l({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(i.default.Component);d.defaultProps={classNames:""},d.propTypes={};var f=d;e.default=f,t.exports=e.default},function(t,e,n){"use strict";var r=n(1003);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";var r=n(44);e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,o.default)(t,e)||("string"===typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var o=r(n(1005));t.exports=e.default},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},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))}},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;a(n(331));var r=a(n(1)),o=n(51),i=a(n(623));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){var e,n;function a(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];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 s=a.prototype;return s.handleLifecycle=function(t,e,n){var i,a=this.props.children,s=r.default.Children.toArray(a)[e];s.props[t]&&(i=s.props)[t].apply(i,n),this.props[t]&&this.props[t]((0,o.findDOMNode)(this))},s.render=function(){var t=this.props,e=t.children,n=t.in,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["children","in"]),a=r.default.Children.toArray(e),s=a[0],l=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var l=s;e.default=l,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.getChildMapping=o,e.mergeChildMappings=i,e.getInitialChildMapping=function(t,e){return o(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 s=o(t.children),l=i(e,s);return Object.keys(l).forEach((function(o){var i=l[o];if((0,r.isValidElement)(i)){var c=o in e,u=o in s,d=e[o],f=(0,r.isValidElement)(d)&&!d.props.in;!u||c&&!f?u||!c||f?u&&c&&(0,r.isValidElement)(d)&&(l[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:d.props.in,exit:a(i,"exit",t),enter:a(i,"enter",t)})):l[o]=(0,r.cloneElement)(i,{in:!1}):l[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:a(i,"exit",t),enter:a(i,"enter",t)})}})),l};var r=n(1);function o(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 i(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in e){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}function a(t,e,n){return null!=n[e]?n[e]:t.props[e]}},function(t,e,n){var r=n(365),o=n(1010),i=n(465),a=n(1011),s=n(1012),l=n(551),c=n(554),u=n(1013),d=n(1014),f=n(568),p=n(625),h=n(374),v=n(1015),g=n(1016),m=n(555),b=n(59),y=n(372),x=n(1020),w=n(87),O=n(1022),S=n(240),j=n(324),C="[object Arguments]",k="[object Function]",E="[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[E]=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[k]=P["[object WeakMap]"]=!1,t.exports=function t(e,n,_,M,T,A){var R,D=1&n,I=2&n,N=4&n;if(_&&(R=T?_(e,M,T,A):_(e)),void 0!==R)return R;if(!w(e))return e;var L=b(e);if(L){if(R=v(e),!D)return c(e,R)}else{var F=h(e),B=F==k||"[object GeneratorFunction]"==F;if(y(e))return l(e,D);if(F==E||F==C||B&&!T){if(R=I||B?{}:m(e),!D)return I?d(e,s(R,e)):u(e,a(R,e))}else{if(!P[F])return T?e:{};R=g(e,F,D)}}A||(A=new r);var z=A.get(e);if(z)return z;A.set(e,R),O(e)?e.forEach((function(r){R.add(t(r,n,_,r,e,A))})):x(e)&&e.forEach((function(r,o){R.set(o,t(r,n,_,o,e,A))}));var H=L?void 0:(N?I?p:f:I?j:S)(e);return o(H||e,(function(r,o){H&&(r=e[o=r]),i(R,o,t(r,n,_,o,e,A))})),R}},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}},function(t,e,n){var r=n(239),o=n(240);t.exports=function(t,e){return t&&r(e,o(e),t)}},function(t,e,n){var r=n(239),o=n(324);t.exports=function(t,e){return t&&r(e,o(e),t)}},function(t,e,n){var r=n(239),o=n(470);t.exports=function(t,e){return r(t,o(t),e)}},function(t,e,n){var r=n(239),o=n(624);t.exports=function(t,e){return r(t,o(t),e)}},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}},function(t,e,n){var r=n(460),o=n(1017),i=n(1018),a=n(1019),s=n(552);t.exports=function(t,e,n){var l=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new l(+t);case"[object DataView]":return o(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(t);case"[object RegExp]":return i(t);case"[object Symbol]":return a(t)}}},function(t,e,n){var r=n(460);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},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}},function(t,e,n){var r=n(270),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},function(t,e,n){var r=n(1021),o=n(373),i=n(464),a=i&&i.isMap,s=a?o(a):r;t.exports=s},function(t,e,n){var r=n(374),o=n(151);t.exports=function(t){return o(t)&&"[object Map]"==r(t)}},function(t,e,n){var r=n(1023),o=n(373),i=n(464),a=i&&i.isSet,s=a?o(a):r;t.exports=s},function(t,e,n){var r=n(374),o=n(151);t.exports=function(t){return o(t)&&"[object Set]"==r(t)}},function(t,e,n){var r=n(376),o=n(507),i=n(1025),a=n(327);t.exports=function(t,e){return e=r(e,t),null==(t=i(t,e))||delete t[a(o(e))]}},function(t,e,n){var r=n(375),o=n(617);t.exports=function(t,e){return e.length<2?t:r(t,o(e,0,-1))}},function(t,e,n){var r=n(557);t.exports=function(t){return r(t)?void 0:t}},function(t,e,n){var r=n(1028),o=n(562),i=n(563);t.exports=function(t){return i(o(t,void 0,r),t+"")}},function(t,e,n){var r=n(495);t.exports=function(t){return(null==t?0:t.length)?r(t,1):[]}},function(t,e,n){"use strict";var r=n(1030);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,function(t,e,n){var r=n(1033),o=n(1034),i=n(626),a=n(1035);t.exports=function(t,e){return r(t)||o(t,e)||i(t,e)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){if(Array.isArray(t))return t},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(l){s=!0,o=l}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(1037);t.exports=function(t,e){if(null==t)return{};var n,o,i=r(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(1039),o=n(1040),i=n(626),a=n(1041);t.exports=function(t){return r(t)||o(t)||i(t)||a()},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,n){var r=n(627);t.exports=function(t){if(Array.isArray(t))return r(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){t.exports=function(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))},t.exports.__esModule=!0,t.exports.default=t.exports},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},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&n.call(t,e)}},function(t,e){t.exports=function(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}},function(t,e,n){var r=n(1047),o=n(326),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=o(t))&&t.replace(i,r).replace(a,"")}},function(t,e,n){var r=n(1048)({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});t.exports=r},function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},function(t,e,n){var r=n(1050),o=n(1051),i=n(326),a=n(1052);t.exports=function(t,e,n){return t=i(t),void 0===(e=n?void 0:e)?o(t)?a(t):r(t):t.match(e)||[]}},function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(n)||[]}},function(t,e){var n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return n.test(t)}},function(t,e){var n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\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",a="["+i+"]",s="\\d+",l="[\\u2700-\\u27bf]",c="["+r+"]",u="[^\\ud800-\\udfff"+i+s+n+r+o+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+o+"]",h="(?:"+c+"|"+u+")",v="(?:"+p+"|"+u+")",g="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",m="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",b="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",y="[\\ufe0e\\ufe0f]?",x=y+b+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",d,f].join("|")+")"+y+b+")*"),w="(?:"+[l,d,f].join("|")+")"+x,O=RegExp([p+"?"+c+"+"+g+"(?="+[a,p,"$"].join("|")+")",v+"+"+m+"(?="+[a,p+h,"$"].join("|")+")",p+"?"+h+"+"+g,p+"+"+m,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,w].join("|"),"g");t.exports=function(t){return t.match(O)||[]}},function(t,e,n){var r=n(326),o=n(222);t.exports=function(t){return o(r(t).toLowerCase())}},function(t,e,n){"use strict";var r=n(1055),o=n(237);function i(t,e){return e.encode?e.strict?r(t):encodeURIComponent(t):t}function a(t){return Array.isArray(t)?t.sort():"object"===typeof t?a(Object.keys(t)).sort((function(t,e){return Number(t)-Number(e)})).map((function(e){return t[e]})):t}e.extract=function(t){return t.split("?")[1]||""},e.parse=function(t,e){var n=function(t){var e;switch(t.arrayFormat){case"index":return function(t,n,r){e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===r[t]&&(r[t]={}),r[t][e[1]]=n):r[t]=n};case"bracket":return function(t,n,r){e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==r[t]?r[t]=[].concat(r[t],n):r[t]=[n]:r[t]=n};default:return function(t,e,n){void 0!==n[t]?n[t]=[].concat(n[t],e):n[t]=e}}}(e=o({arrayFormat:"none"},e)),r=Object.create(null);return"string"!==typeof t?r:(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var e=t.replace(/\+/g," ").split("="),o=e.shift(),i=e.length>0?e.join("="):void 0;i=void 0===i?null:decodeURIComponent(i),n(decodeURIComponent(o),i,r)})),Object.keys(r).sort().reduce((function(t,e){var n=r[e];return Boolean(n)&&"object"===typeof n&&!Array.isArray(n)?t[e]=a(n):t[e]=n,t}),Object.create(null))):r},e.stringify=function(t,e){var n=function(t){switch(t.arrayFormat){case"index":return function(e,n,r){return null===n?[i(e,t),"[",r,"]"].join(""):[i(e,t),"[",i(r,t),"]=",i(n,t)].join("")};case"bracket":return function(e,n){return null===n?i(e,t):[i(e,t),"[]=",i(n,t)].join("")};default:return function(e,n){return null===n?i(e,t):[i(e,t),"=",i(n,t)].join("")}}}(e=o({encode:!0,strict:!0,arrayFormat:"none"},e));return t?Object.keys(t).sort().map((function(r){var o=t[r];if(void 0===o)return"";if(null===o)return i(r,e);if(Array.isArray(o)){var a=[];return o.slice().forEach((function(t){void 0!==t&&a.push(n(r,t,a.length))})),a.join("&")}return i(r,e)+"="+i(o,e)})).filter((function(t){return t.length>0})).join("&"):""}},function(t,e,n){"use strict";t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}},function(t,e){t.exports=function(){if("undefined"!==typeof window&&null!==window){if("(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)",window.devicePixelRatio>1.25)return!0;if(window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.25), (min--moz-device-pixel-ratio: 1.25), (-o-min-device-pixel-ratio: 5/4), (min-resolution: 1.25dppx)").matches)return!0}return!1}},,function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"text"===t.type&&/\r?\n/.test(t.data)&&""===t.data.trim()}},function(t,e,n){"use strict";var r;Object.defineProperty(e,"__esModule",{value:!0});var o=n(275),i=c(n(1085)),a=c(n(1086)),s=c(n(1092)),l=c(n(1093));function c(t){return t&&t.__esModule?t:{default: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}e.default=(u(r={},o.ElementType.Text,i.default),u(r,o.ElementType.Tag,a.default),u(r,o.ElementType.Style,s.default),u(r,o.ElementType.Directive,l.default),u(r,o.ElementType.Comment,l.default),u(r,o.ElementType.Script,l.default),u(r,o.ElementType.CDATA,l.default),u(r,o.ElementType.Doctype,l.default),r)},function(t,e,n){var r=n(1066);t.exports=function(t){if(t>=55296&&t<=57343||t>1114111)return"\ufffd";t in r&&(t=r[t]);var e="";t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t);return e+=String.fromCharCode(t)}},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')},function(t){t.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","AElig":"\xc6","aelig":"\xe6","Agrave":"\xc0","agrave":"\xe0","amp":"&","AMP":"&","Aring":"\xc5","aring":"\xe5","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","brvbar":"\xa6","Ccedil":"\xc7","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","COPY":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","Eacute":"\xc9","eacute":"\xe9","Ecirc":"\xca","ecirc":"\xea","Egrave":"\xc8","egrave":"\xe8","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","GT":">","Iacute":"\xcd","iacute":"\xed","Icirc":"\xce","icirc":"\xee","iexcl":"\xa1","Igrave":"\xcc","igrave":"\xec","iquest":"\xbf","Iuml":"\xcf","iuml":"\xef","laquo":"\xab","lt":"<","LT":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","Ntilde":"\xd1","ntilde":"\xf1","Oacute":"\xd3","oacute":"\xf3","Ocirc":"\xd4","ocirc":"\xf4","Ograve":"\xd2","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","Oslash":"\xd8","oslash":"\xf8","Otilde":"\xd5","otilde":"\xf5","Ouml":"\xd6","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","QUOT":"\\"","raquo":"\xbb","reg":"\xae","REG":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","THORN":"\xde","thorn":"\xfe","times":"\xd7","Uacute":"\xda","uacute":"\xfa","Ucirc":"\xdb","ucirc":"\xfb","Ugrave":"\xd9","ugrave":"\xf9","uml":"\xa8","Uuml":"\xdc","uuml":"\xfc","Yacute":"\xdd","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,n){var r=n(634),o=t.exports=Object.create(r),i={tagName:"name"};Object.keys(i).forEach((function(t){var e=i[t];Object.defineProperty(o,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,n){var r=n(632),o=n(635);function i(t,e){this.init(t,e)}function a(t,e){return o.getElementsByTagName(t,e,!0)}function s(t,e){return o.getElementsByTagName(t,e,!0,1)[0]}function l(t,e,n){return o.getText(o.getElementsByTagName(t,e,n,1)).trim()}function c(t,e,n,r,o){var i=l(n,r,o);i&&(t[e]=i)}n(152)(i,r),i.prototype.init=r;var u=function(t){return"rss"===t||"feed"===t||"rdf:RDF"===t};i.prototype.onend=function(){var t,e,n={},o=s(u,this.dom);o&&("feed"===o.name?(e=o.children,n.type="atom",c(n,"id","id",e),c(n,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),c(n,"description","subtitle",e),(t=l("updated",e))&&(n.updated=new Date(t)),c(n,"author","email",e,!0),n.items=a("entry",e).map((function(t){var e,n={};return c(n,"id","id",t=t.children),c(n,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),(e=l("summary",t)||l("content",t))&&(n.description=e),(e=l("updated",t))&&(n.pubDate=new Date(e)),n}))):(e=s("channel",o.children).children,n.type=o.name.substr(0,3),n.id="",c(n,"title","title",e),c(n,"link","link",e),c(n,"description","description",e),(t=l("lastBuildDate",e))&&(n.updated=new Date(t)),c(n,"author","managingEditor",e,!0),n.items=a("item",o.children).map((function(t){var e,n={};return c(n,"id","guid",t=t.children),c(n,"title","title",t),c(n,"link","link",t),c(n,"description","description",t),(e=l("pubDate",t))&&(n.pubDate=new Date(e)),n})))),this.dom=n,r.prototype._handleCallback.call(this,o?null:Error("couldn't find root of feed"))},t.exports=i},function(t,e,n){var r=n(499),o=n(1073),i=r.isTag;t.exports={getInnerHTML:function(t,e){return t.children?t.children.map((function(t){return o(t,e)})).join(""):""},getOuterHTML:o,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):i(e)?"br"===e.name?"\n":t(e.children):e.type===r.CDATA?t(e.children):e.type===r.Text?e.data:""}}},function(t,e,n){var r=n(1074),o=n(611),i=n(1075);i.elementNames.__proto__=null,i.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=t.exports=function(t,e){Array.isArray(t)||t.cheerio||(t=[t]),e=e||{};for(var n="",o=0;o<t.length;o++){var i=t[o];"root"===i.type?n+=l(i.children,e):r.isTag(i)?n+=u(i,e):i.type===r.Directive?n+=d(i):i.type===r.Comment?n+=h(i):i.type===r.CDATA?n+=p(i):n+=f(i,e)}return n},c=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function u(t,e){"foreign"===e.xmlMode&&(t.name=i.elementNames[t.name]||t.name,t.parent&&c.indexOf(t.parent.name)>=0&&(e=Object.assign({},e,{xmlMode:!1}))),!e.xmlMode&&["svg","math"].indexOf(t.name)>=0&&(e=Object.assign({},e,{xmlMode:"foreign"}));var n="<"+t.name,r=function(t,e){if(t){var n,r="";for(var a in t)n=t[a],r&&(r+=" "),"foreign"===e.xmlMode&&(a=i.attributeNames[a]||a),r+=a,(null!==n&&""!==n||e.xmlMode)&&(r+='="'+(e.decodeEntities?o.encodeXML(n):n.replace(/\"/g,"&quot;"))+'"');return r}}(t.attribs,e);return r&&(n+=" "+r),!e.xmlMode||t.children&&0!==t.children.length?(n+=">",t.children&&(n+=l(t.children,e)),s[t.name]&&!e.xmlMode||(n+="</"+t.name+">")):n+="/>",n}function d(t){return"<"+t.data+">"}function f(t,e){var n=t.data||"";return!e.decodeEntities||t.parent&&t.parent.name in a||(n=o.encodeXML(n)),n}function p(t){return"<![CDATA["+t.children[0].data+"]]>"}function h(t){return"\x3c!--"+t.data+"--\x3e"}},function(t,e,n){"use strict";var r;function o(t){return t.type===r.Tag||t.type===r.Script||t.type===r.Style}n.r(e),n.d(e,"ElementType",(function(){return r})),n.d(e,"isTag",(function(){return o})),n.d(e,"Root",(function(){return i})),n.d(e,"Text",(function(){return a})),n.d(e,"Directive",(function(){return s})),n.d(e,"Comment",(function(){return l})),n.d(e,"Script",(function(){return c})),n.d(e,"Style",(function(){return u})),n.d(e,"Tag",(function(){return d})),n.d(e,"CDATA",(function(){return f})),n.d(e,"Doctype",(function(){return p})),function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(r||(r={}));var i=r.Root,a=r.Text,s=r.Directive,l=r.Comment,c=r.Script,u=r.Style,d=r.Tag,f=r.CDATA,p=r.Doctype},function(t){t.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},function(t,e){var n=e.getChildren=function(t){return t.children},r=e.getParent=function(t){return t.parent};e.getSiblings=function(t){var e=r(t);return e?n(e):[t]},e.getAttributeValue=function(t,e){return t.attribs&&t.attribs[e]},e.hasAttrib=function(t,e){return!!t.attribs&&hasOwnProperty.call(t.attribs,e)},e.getName=function(t){return t.name}},function(t,e){e.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},e.replaceElement=function(t,e){var n=e.prev=t.prev;n&&(n.next=e);var r=e.next=t.next;r&&(r.prev=e);var o=e.parent=t.parent;if(o){var i=o.children;i[i.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(e.parent=t,1!==t.children.push(e)){var n=t.children[t.children.length-2];n.next=e,e.prev=n,e.next=null}},e.append=function(t,e){var n=t.parent,r=t.next;if(e.next=r,e.prev=t,t.next=e,e.parent=n,r){if(r.prev=e,n){var o=n.children;o.splice(o.lastIndexOf(r),0,e)}}else n&&n.children.push(e)},e.prepend=function(t,e){var n=t.parent;if(n){var r=n.children;r.splice(r.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=n,e.prev=t.prev,e.next=t,t.prev=e}},function(t,e,n){var r=n(499).isTag;function o(t,e,n,r){for(var i,a=[],s=0,l=e.length;s<l&&!(t(e[s])&&(a.push(e[s]),--r<=0))&&(i=e[s].children,!(n&&i&&i.length>0&&(i=o(t,i,n,r),a=a.concat(i),(r-=i.length)<=0)));s++);return a}t.exports={filter:function(t,e,n,r){Array.isArray(e)||(e=[e]);"number"===typeof r&&isFinite(r)||(r=1/0);return o(t,e,!1!==n,r)},find:o,findOneChild:function(t,e){for(var n=0,r=e.length;n<r;n++)if(t(e[n]))return e[n];return null},findOne:function t(e,n){for(var o=null,i=0,a=n.length;i<a&&!o;i++)r(n[i])&&(e(n[i])?o=n[i]:n[i].children.length>0&&(o=t(e,n[i].children)));return o},existsOne:function t(e,n){for(var o=0,i=n.length;o<i;o++)if(r(n[o])&&(e(n[o])||n[o].children.length>0&&t(e,n[o].children)))return!0;return!1},findAll:function(t,e){var n=[],o=e.slice();for(;o.length;){var i=o.shift();r(i)&&(i.children&&i.children.length>0&&o.unshift.apply(o,i.children),t(i)&&n.push(i))}return n}}},function(t,e,n){var r=n(499),o=e.isTag=r.isTag;e.testElement=function(t,e){for(var n in t)if(t.hasOwnProperty(n)){if("tag_name"===n){if(!o(e)||!t.tag_name(e.name))return!1}else if("tag_type"===n){if(!t.tag_type(e.type))return!1}else if("tag_contains"===n){if(o(e)||!t.tag_contains(e.data))return!1}else if(!e.attribs||!t[n](e.attribs[n]))return!1}else;return!0};var i={tag_name:function(t){return"function"===typeof t?function(e){return o(e)&&t(e.name)}:"*"===t?o:function(e){return o(e)&&e.name===t}},tag_type:function(t){return"function"===typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"===typeof t?function(e){return!o(e)&&t(e.data)}:function(e){return!o(e)&&e.data===t}}};function a(t,e){return"function"===typeof e?function(n){return n.attribs&&e(n.attribs[t])}:function(n){return n.attribs&&n.attribs[t]===e}}function s(t,e){return function(n){return t(n)||e(n)}}e.getElements=function(t,e,n,r){var o=Object.keys(t).map((function(e){var n=t[e];return e in i?i[e](n):a(e,n)}));return 0===o.length?[]:this.filter(o.reduce(s),e,n,r)},e.getElementById=function(t,e,n){return Array.isArray(e)||(e=[e]),this.findOne(a("id",t),e,!1!==n)},e.getElementsByTagName=function(t,e,n,r){return this.filter(i.tag_name(t),e,n,r)},e.getElementsByTagType=function(t,e,n,r){return this.filter(i.tag_type(t),e,n,r)}},function(t,e){e.removeSubsets=function(t){for(var e,n,r,o=t.length;--o>-1;){for(e=n=t[o],t[o]=null,r=!0;n;){if(t.indexOf(n)>-1){r=!1,t.splice(o,1);break}n=n.parent}r&&(t[o]=e)}return t};var n=1,r=2,o=4,i=8,a=16,s=e.compareDocumentPosition=function(t,e){var s,l,c,u,d,f,p=[],h=[];if(t===e)return 0;for(s=t;s;)p.unshift(s),s=s.parent;for(s=e;s;)h.unshift(s),s=s.parent;for(f=0;p[f]===h[f];)f++;return 0===f?n:(c=(l=p[f-1]).children,u=p[f],d=h[f],c.indexOf(u)>c.indexOf(d)?l===e?o|a:o:l===t?r|i:r)};e.uniqueSort=function(t){var e,n,i=t.length;for(t=t.slice();--i>-1;)e=t[i],(n=t.indexOf(e))>-1&&n<i&&t.splice(i,1);return t.sort((function(t,e){var n=s(t,e);return n&r?-1:n&o?1:0})),t}},function(t,e,n){t.exports=o;var r=n(636);function o(t){r.call(this,new i(this),t)}function i(t){this.scope=t}n(152)(o,r),o.prototype.readable=!0;var a=n(275).EVENTS;Object.keys(a).forEach((function(t){if(0===a[t])i.prototype["on"+t]=function(){this.scope.emit(t)};else if(1===a[t])i.prototype["on"+t]=function(e){this.scope.emit(t,e)};else{if(2!==a[t])throw Error("wrong number of arguments!");i.prototype["on"+t]=function(e,n){this.scope.emit(t,e,n)}}}))},,function(t,e,n){function r(t){this._cbs=t||{}}t.exports=r;var o=n(275).EVENTS;Object.keys(o).forEach((function(t){if(0===o[t])t="on"+t,r.prototype[t]=function(){this._cbs[t]&&this._cbs[t]()};else if(1===o[t])t="on"+t,r.prototype[t]=function(e){this._cbs[t]&&this._cbs[t](e)};else{if(2!==o[t])throw Error("wrong number of arguments");t="on"+t,r.prototype[t]=function(e,n){this._cbs[t]&&this._cbs[t](e,n)}}}))},function(t,e,n){function r(t){this._cbs=t||{},this.events=[]}t.exports=r;var o=n(275).EVENTS;Object.keys(o).forEach((function(t){if(0===o[t])t="on"+t,r.prototype[t]=function(){this.events.push([t]),this._cbs[t]&&this._cbs[t]()};else if(1===o[t])t="on"+t,r.prototype[t]=function(e){this.events.push([t,e]),this._cbs[t]&&this._cbs[t](e)};else{if(2!==o[t])throw Error("wrong number of arguments");t="on"+t,r.prototype[t]=function(e,n){this.events.push([t,e,n]),this._cbs[t]&&this._cbs[t](e,n)}}})),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var t=0,e=this.events.length;t<e;t++)if(this._cbs[this.events[t][0]]){var n=this.events[t].length;1===n?this._cbs[this.events[t][0]]():2===n?this._cbs[this.events[t][0]](this.events[t][1]):this._cbs[this.events[t][0]](this.events[t][1],this.events[t][2])}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.data}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var l=t.name;if(!(0,s.default)(l))return null;var c=(0,i.default)(t.attribs,e),u=null;-1===a.default.indexOf(l)&&(u=(0,o.default)(t.children,n));return r.default.createElement(l,c,u)};var r=l(n(1)),o=l(n(498)),i=l(n(637)),a=l(n(1091)),s=l(n(638));function l(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Object.keys(t).filter((function(t){return(0,i.default)(t)})).reduce((function(e,n){var i=n.toLowerCase(),a=o.default[i]||i;return e[a]=function(t,e){r.default.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())>=0&&(e=t);return e}(a,t[n]),e}),{})};var r=a(n(1088)),o=a(n(1089)),i=a(n(638));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""===t)return{};return t.split(";").reduce((function(t,e){var n=e.split(/^([^:]+):/).filter((function(t,e){return e>0})).map((function(t){return t.trim().toLowerCase()})),o=r(n,2),i=o[0],a=o[1];return void 0===a||(t[i=i.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))]=a),t}),{})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n=void 0;t.children.length>0&&(n=t.children[0].data);var i=(0,o.default)(t.attribs,e);return r.default.createElement("style",i,n)};var r=i(n(1)),o=i(n(637));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.decodeEntities,i=void 0===n||n,a=e.transform,s=e.preprocessNodes,l=void 0===s?function(t){return t}:s,c=l(r.default.parseDOM(t,{decodeEntities:i}));return(0,o.default)(c,a)};var r=i(n(275)),o=i(n(498));function i(t){return t&&t.__esModule?t:{default:t}}},,function(t,e,n){},function(t,e,n){"use strict";var r=n(1),o=n(51),i=n(640),a=n(641),s=(n(279),n(506)),l=n(281),c=n(642),u=n(643),d=i({displayName:"Quill",mixins:[a],propTypes:{id:c.string,className:c.string,theme:c.string,style:c.object,readOnly:c.bool,value:c.oneOfType([c.string,c.shape({ops:c.array})]),defaultValue:c.oneOfType([c.string,c.shape({ops:c.array})]),placeholder:c.string,tabIndex:c.number,bounds:c.oneOfType([c.string,c.element]),onChange:c.func,onChangeSelection:c.func,onFocus:c.func,onBlur:c.func,onKeyPress:c.func,onKeyDown:c.func,onKeyUp:c.func,preserveWhitespace:c.bool,modules:function(t){var e=c.object.apply(this,arguments);return e||(t.modules&&t.modules.toolbar&&t.modules.toolbar[0]&&t.modules.toolbar[0].type?new Error("Since v1.0.0, React Quill will not create a custom toolbar for you anymore. Create a toolbar explictly, or let Quill create one. See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100"):void 0)},toolbar:function(t){if("toolbar"in t)return new Error("The `toolbar` prop has been deprecated. Use `modules.toolbar` instead. See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100")},formats:function(t){var e=c.arrayOf(c.string).apply(this,arguments);if(e)return new Error("You cannot specify custom `formats` anymore. Use Parchment instead.  See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100.")},styles:function(t){if("styles"in t)return new Error("The `styles` prop has been deprecated. Use custom stylesheets instead. See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100.")},pollInterval:function(t){if("pollInterval"in t)return new Error("The `pollInterval` property does not have any effect anymore. You can safely remove it from your props.See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v100.")},children:function(t){var e=c.element.apply(this,arguments);if(e)return new Error("The Quill editing area can only be composed of a single React element.");if(r.Children.count(t.children)){var n=r.Children.only(t.children);if("textarea"===n.type)return new Error("Quill does not support editing on a <textarea>. Use a <div> instead.")}}},dirtyProps:["modules","formats","bounds","theme","children"],cleanProps:["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],getDefaultProps:function(){return{theme:"snow",modules:{}}},isControlled:function(){return"value"in this.props},getInitialState:function(){return{generation:0,value:this.isControlled()?this.props.value:this.props.defaultValue}},componentWillReceiveProps:function(t,e){var n=this.editor;if(n){if("value"in t){var r=this.getEditorContents(),o=t.value;if(o===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas");this.isEqualValue(o,r)||this.setEditorContents(n,o)}return"readOnly"in t&&t.readOnly!==this.props.readOnly&&this.setEditorReadOnly(n,t.readOnly),this.shouldComponentRegenerate(t,e)?this.regenerate():void 0}},componentDidMount:function(){if(this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig()),this.quillDelta)return this.editor.setContents(this.quillDelta),this.editor.setSelection(this.quillSelection),this.editor.focus(),void(this.quillDelta=this.quillSelection=null);this.state.value&&this.setEditorContents(this.editor,this.state.value)},componentWillUnmount:function(){var t;(t=this.getEditor())&&(this.unhookEditor(t),this.editor=null)},shouldComponentUpdate:function(t,e){var n=this;return this.state.generation!==e.generation||s(this.cleanProps,(function(e){return!l(t[e],n.props[e])}))},shouldComponentRegenerate:function(t,e){var n=this;return s(this.dirtyProps,(function(e){return!l(t[e],n.props[e])}))},componentWillUpdate:function(t,e){this.state.generation!==e.generation&&this.componentWillUnmount()},componentDidUpdate:function(t,e){this.state.generation!==e.generation&&this.componentDidMount()},getEditorConfig:function(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,scrollingContainer:this.props.scrollingContainer,tabIndex:this.props.tabIndex,theme:this.props.theme}},getEditor:function(){return this.editor},getEditingArea:function(){return o.findDOMNode(this.editingArea)},getEditorContents:function(){return this.state.value},getEditorSelection:function(){return this.state.selection},isDelta:function(t){return t&&t.ops},isEqualValue:function(t,e){return this.isDelta(t)&&this.isDelta(e)?l(t.ops,e.ops):l(t,e)},regenerate:function(){this.quillDelta=this.editor.getContents(),this.quillSelection=this.editor.getSelection(),this.setState({generation:this.state.generation+1})},renderEditingArea:function(){var t=this,e=this.props.children,n=this.props.preserveWhitespace,o={key:this.state.generation,tabIndex:this.props.tabIndex,ref:function(e){t.editingArea=e}},i=r.Children.count(e)?r.Children.only(e):null,a=n?u.pre:u.div;return i?r.cloneElement(i,o):a(o)},render:function(){return u.div({id:this.props.id,style:this.props.style,key:this.state.generation,className:["quill"].concat(this.props.className).join(" "),onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())},onEditorChangeText:function(t,e,n,r){var o=this.getEditorContents(),i=this.isDelta(o)?r.getContents():r.getHTML();this.isEqualValue(i,o)||(this.lastDeltaChangeSet=e,this.setState({value:i}),this.props.onChange&&this.props.onChange(t,e,n,r))},onEditorChangeSelection:function(t,e,n){var r=this.getEditorSelection(),o=!r&&t,i=r&&!t;l(t,r)||(this.setState({selection:t}),this.props.onChangeSelection&&this.props.onChangeSelection(t,e,n),o&&this.props.onFocus?this.props.onFocus(t,e,n):i&&this.props.onBlur&&this.props.onBlur(r,e,n))},focus:function(){this.editor.focus()},blur:function(){this.setEditorSelection(this.editor,null)}});t.exports=d},function(t,e,n){"use strict";var r=n(237),o={};function i(t,e,n,r,o,i,a,s){if(!t){var l;if(void 0===e)l=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,o,i,a,s],u=0;(l=new Error(e.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}var a="mixins";t.exports=function(t,e,n){var s=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},c={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var n=0;n<e.length;n++)f(t,e[n])},childContextTypes:function(t,e){t.childContextTypes=r({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=r({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=h(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=r({},t.propTypes,e)},statics:function(t,e){!function(t,e){if(!e)return;for(var n in e){var r=e[n];if(e.hasOwnProperty(n)){if(i(!(n in u),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in t)return i("DEFINE_MANY_MERGED"===(c.hasOwnProperty(n)?c[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(t[n]=h(t[n],r));t[n]=r}}}(t,e)},autobind:function(){}};function d(t,e){var n=l.hasOwnProperty(e)?l[e]:null;y.hasOwnProperty(e)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",e),t&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",e)}function f(t,n){if(n){i("function"!==typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!e(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=t.prototype,o=r.__reactAutoBindPairs;for(var s in n.hasOwnProperty(a)&&u.mixins(t,n.mixins),n)if(n.hasOwnProperty(s)&&s!==a){var c=n[s],f=r.hasOwnProperty(s);if(d(f,s),u.hasOwnProperty(s))u[s](t,c);else{var p=l.hasOwnProperty(s);if("function"===typeof c&&!p&&!f&&!1!==n.autobind)o.push(s,c),r[s]=c;else if(f){var g=l[s];i(p&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,s),"DEFINE_MANY_MERGED"===g?r[s]=h(r[s],c):"DEFINE_MANY"===g&&(r[s]=v(r[s],c))}else r[s]=c}}}else;}function p(t,e){for(var n in i(t&&e&&"object"===typeof t&&"object"===typeof e,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),e)e.hasOwnProperty(n)&&(i(void 0===t[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),t[n]=e[n]);return t}function h(t,e){return function(){var n=t.apply(this,arguments),r=e.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return p(o,n),p(o,r),o}}function v(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function g(t,e){return e.bind(t)}var m={componentDidMount:function(){this.__isMounted=!0}},b={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t,e)},isMounted:function(){return!!this.__isMounted}},x=function(){};return r(x.prototype,t.prototype,y),function(t){var e=function(t,r,a){this.__reactAutoBindPairs.length&&function(t){for(var e=t.__reactAutoBindPairs,n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];t[r]=g(t,o)}}(this),this.props=t,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;i("object"===typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",e.displayName||"ReactCompositeComponent"),this.state=s};for(var r in e.prototype=new x,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],s.forEach(f.bind(null,e)),f(e,m),f(e,t),f(e,b),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),i(e.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)e.prototype[r]||(e.prototype[r]=null);return e}}},function(t,e,n){"use strict";var r=n(1100);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";n(1);var r=n(1102),o=n(640),i=n(279),a=n(281),s=n(642),l=n(643),c=["rgb(  0,   0,   0)","rgb(230,   0,   0)","rgb(255, 153,   0)","rgb(255, 255,   0)","rgb(  0, 138,   0)","rgb(  0, 102, 204)","rgb(153,  51, 255)","rgb(255, 255, 255)","rgb(250, 204, 204)","rgb(255, 235, 204)","rgb(255, 255, 204)","rgb(204, 232, 204)","rgb(204, 224, 245)","rgb(235, 214, 255)","rgb(187, 187, 187)","rgb(240, 102, 102)","rgb(255, 194, 102)","rgb(255, 255, 102)","rgb(102, 185, 102)","rgb(102, 163, 224)","rgb(194, 133, 255)","rgb(136, 136, 136)","rgb(161,   0,   0)","rgb(178, 107,   0)","rgb(178, 178,   0)","rgb(  0,  97,   0)","rgb(  0,  71, 178)","rgb(107,  36, 178)","rgb( 68,  68,  68)","rgb( 92,   0,   0)","rgb(102,  61,   0)","rgb(102, 102,   0)","rgb(  0,  55,   0)","rgb(  0,  41, 102)","rgb( 61,  20,  10)"].map((function(t){return{value:t}})),u=[{label:"Formats",type:"group",items:[{label:"Font",type:"font",items:[{label:"Sans Serif",value:"sans-serif",selected:!0},{label:"Serif",value:"serif"},{label:"Monospace",value:"monospace"}]},{label:"Size",type:"size",items:[{label:"Small",value:"10px"},{label:"Normal",value:"13px",selected:!0},{label:"Large",value:"18px"},{label:"Huge",value:"32px"}]},{label:"Alignment",type:"align",items:[{label:"",value:"",selected:!0},{label:"",value:"center"},{label:"",value:"right"},{label:"",value:"justify"}]}]},{label:"Text",type:"group",items:[{type:"bold",label:"Bold"},{type:"italic",label:"Italic"},{type:"strike",label:"Strike"},{type:"underline",label:"Underline"},{type:"color",label:"Color",items:c},{type:"background",label:"Background color",items:c},{type:"link",label:"Link"}]},{label:"Blocks",type:"group",items:[{type:"list",value:"bullet"},{type:"list",value:"ordered"}]},{label:"Blocks",type:"group",items:[{type:"image",label:"Image"}]}],d=o({displayName:"Quill Toolbar",propTypes:{id:s.string,className:s.string,style:s.object,items:s.array},getDefaultProps:function(){return{items:u}},componentDidMount:function(){console.warn("QuillToolbar is deprecated. Consider switching to the official Quill toolbar format, or providing your own toolbar instead. See: https://github.com/zenoamaro/react-quill#upgrading-to-react-quill-v1-0-0")},shouldComponentUpdate:function(t,e){return!a(t,this.props)},renderGroup:function(t,e){return l.span({key:t.label||e,className:"ql-formats"},t.items.map(this.renderItem))},renderChoiceItem:function(t,e){return l.option({key:t.label||t.value||e,value:t.value},t.label)},renderChoices:function(t,e){var n=t.items.map(this.renderChoiceItem),r=i(t.items,(function(t){return t.selected})),o={key:t.label||e,title:t.label,className:"ql-"+t.type,value:r.value};return l.select(o,n)},renderButton:function(t,e){return l.button({type:"button",key:t.label||t.value||e,value:t.value,className:"ql-"+t.type,title:t.label},t.children)},renderAction:function(t,e){return l.button({key:t.label||t.value||e,className:"ql-"+t.type,title:t.label},t.children)},renderItem:function(t,e){switch(t.type){case"group":return this.renderGroup(t,e);case"font":case"header":case"align":case"size":case"color":case"background":return this.renderChoices(t,e);case"bold":case"italic":case"underline":case"strike":case"link":case"list":case"bullet":case"ordered":case"indent":case"image":case"video":return this.renderButton(t,e);default:return this.renderAction(t,e)}},getClassName:function(){return"quill-toolbar "+(this.props.className||"")},render:function(){var t=this.props.items.map(this.renderItem).map(r.renderToStaticMarkup).join("");return l.div({id:this.props.id,className:this.getClassName(),style:this.props.style,dangerouslySetInnerHTML:{__html:t}})}});t.exports=d,d.defaultItems=u,d.defaultColors=c},function(t,e,n){"use strict";t.exports=n(1103)},function(t,e,n){"use strict";var r=n(237),o=n(1);function i(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 a=60106,s=60107,l=60108,c=60114,u=60109,d=60110,f=60112,p=60113,h=60120,v=60115,g=60116,m=60121,b=60117,y=60119,x=60129,w=60131;if("function"===typeof Symbol&&Symbol.for){var O=Symbol.for;a=O("react.portal"),s=O("react.fragment"),l=O("react.strict_mode"),c=O("react.profiler"),u=O("react.provider"),d=O("react.context"),f=O("react.forward_ref"),p=O("react.suspense"),h=O("react.suspense_list"),v=O("react.memo"),g=O("react.lazy"),m=O("react.block"),b=O("react.fundamental"),y=O("react.scope"),x=O("react.debug_trace_mode"),w=O("react.legacy_hidden")}function S(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 s:return"Fragment";case a:return"Portal";case c:return"Profiler";case l:return"StrictMode";case p:return"Suspense";case h:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case d:return(t.displayName||"Context")+".Consumer";case u:return(t._context.displayName||"Context")+".Provider";case f:var e=t.render;return e=e.displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case v:return S(t.type);case m:return S(t._render);case g:e=t._payload,t=t._init;try{return S(t(e))}catch(n){}}return null}var j=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,C={};function k(t,e){for(var n=0|t._threadCount;n<=e;n++)t[n]=t._currentValue2,t._threadCount=n+1}for(var E=new Uint16Array(16),P=0;15>P;P++)E[P]=P+1;E[15]=0;var _=/^[: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]*$/,M=Object.prototype.hasOwnProperty,T={},A={};function R(t){return!!M.call(A,t)||!M.call(T,t)&&(_.test(t)?A[t]=!0:(T[t]=!0,!1))}function D(t,e,n,r,o,i,a){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=a}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){I[t]=new D(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];I[e]=new D(e,1,!1,t[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){I[t]=new D(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){I[t]=new D(t,2,!1,t,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){I[t]=new D(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(t){I[t]=new D(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((function(t){I[t]=new D(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((function(t){I[t]=new D(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((function(t){I[t]=new D(t,5,!1,t.toLowerCase(),null,!1,!1)}));var N=/[\-:]([a-z])/g;function L(t){return t[1].toUpperCase()}"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(N,L);I[e]=new D(e,1,!1,t,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(N,L);I[e]=new D(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(N,L);I[e]=new D(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(t){I[t]=new D(t,1,!1,t.toLowerCase(),null,!1,!1)})),I.xlinkHref=new D("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(t){I[t]=new D(t,1,!1,t.toLowerCase(),null,!0,!0)}));var F=/["'&<>]/;function B(t){if("boolean"===typeof t||"number"===typeof t)return""+t;t=""+t;var e=F.exec(t);if(e){var n,r="",o=0;for(n=e.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:e="&quot;";break;case 38:e="&amp;";break;case 39:e="&#x27;";break;case 60:e="&lt;";break;case 62:e="&gt;";break;default:continue}o!==n&&(r+=t.substring(o,n)),o=n+1,r+=e}t=o!==n?r+t.substring(o,n):r}return t}function z(t,e){var n,r=I.hasOwnProperty(t)?I[t]:null;return(n="style"!==t)&&(n=null!==r?0===r.type:2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])),n||function(t,e,n,r){if(null===e||"undefined"===typeof 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}(t,e,r,!1)?"":null!==r?(t=r.attributeName,3===(n=r.type)||4===n&&!0===e?t+'=""':(r.sanitizeURL&&(e=""+e),t+'="'+B(e)+'"')):R(t)?t+'="'+B(e)+'"':""}var H="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},V=null,U=null,W=null,q=!1,G=!1,Y=null,X=0;function K(){if(null===V)throw Error(i(321));return V}function $(){if(0<X)throw Error(i(312));return{memoizedState:null,queue:null,next:null}}function Z(){return null===W?null===U?(q=!1,U=W=$()):(q=!0,W=U):null===W.next?(q=!1,W=W.next=$()):(q=!0,W=W.next),W}function Q(t,e,n,r){for(;G;)G=!1,X+=1,W=null,n=t(e,r);return J(),n}function J(){V=null,G=!1,U=null,X=0,W=Y=null}function tt(t,e){return"function"===typeof e?e(t):e}function et(t,e,n){if(V=K(),W=Z(),q){var r=W.queue;if(e=r.dispatch,null!==Y&&void 0!==(n=Y.get(r))){Y.delete(r),r=W.memoizedState;do{r=t(r,n.action),n=n.next}while(null!==n);return W.memoizedState=r,[r,e]}return[W.memoizedState,e]}return t=t===tt?"function"===typeof e?e():e:void 0!==n?n(e):e,W.memoizedState=t,t=(t=W.queue={last:null,dispatch:null}).dispatch=rt.bind(null,V,t),[W.memoizedState,t]}function nt(t,e){if(V=K(),e=void 0===e?null:e,null!==(W=Z())){var n=W.memoizedState;if(null!==n&&null!==e){var r=n[1];t:if(null===r)r=!1;else{for(var o=0;o<r.length&&o<e.length;o++)if(!H(e[o],r[o])){r=!1;break t}r=!0}if(r)return n[0]}}return t=t(),W.memoizedState=[t,e],t}function rt(t,e,n){if(!(25>X))throw Error(i(301));if(t===V)if(G=!0,t={action:n,next:null},null===Y&&(Y=new Map),void 0===(n=Y.get(e)))Y.set(e,t);else{for(e=n;null!==e.next;)e=e.next;e.next=t}}function ot(){}var it=null,at={readContext:function(t){var e=it.threadID;return k(t,e),t[e]},useContext:function(t){K();var e=it.threadID;return k(t,e),t[e]},useMemo:nt,useReducer:et,useRef:function(t){V=K();var e=(W=Z()).memoizedState;return null===e?(t={current:t},W.memoizedState=t):e},useState:function(t){return et(tt,t)},useLayoutEffect:function(){},useCallback:function(t,e){return nt((function(){return t}),e)},useImperativeHandle:ot,useEffect:ot,useDebugValue:ot,useDeferredValue:function(t){return K(),t},useTransition:function(){return K(),[function(t){t()},!1]},useOpaqueIdentifier:function(){return(it.identifierPrefix||"")+"R:"+(it.uniqueID++).toString(36)},useMutableSource:function(t,e){return K(),e(t._source)}},st="http://www.w3.org/1999/xhtml";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"}}var ct={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},ut=r({menuitem:!0},ct),dt={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},ft=["Webkit","ms","Moz","O"];Object.keys(dt).forEach((function(t){ft.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),dt[e]=dt[t]}))}));var pt=/([A-Z])/g,ht=/^ms-/,vt=o.Children.toArray,gt=j.ReactCurrentDispatcher,mt={listing:!0,pre:!0,textarea:!0},bt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yt={},xt={};var wt=Object.prototype.hasOwnProperty,Ot={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function St(t,e){if(void 0===t)throw Error(i(152,S(e)||"Component"))}function jt(t,e,n){function a(o,a){var s=a.prototype&&a.prototype.isReactComponent,l=function(t,e,n,r){if(r&&"object"===typeof(r=t.contextType)&&null!==r)return k(r,n),r[n];if(t=t.contextTypes){for(var o in n={},t)n[o]=e[o];e=n}else e=C;return e}(a,e,n,s),c=[],u=!1,d={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===c)return null},enqueueReplaceState:function(t,e){u=!0,c=[e]},enqueueSetState:function(t,e){if(null===c)return null;c.push(e)}};if(s){if(s=new a(o.props,l,d),"function"===typeof a.getDerivedStateFromProps){var f=a.getDerivedStateFromProps.call(null,o.props,s.state);null!=f&&(s.state=r({},s.state,f))}}else if(V={},s=a(o.props,l,d),null==(s=Q(a,o.props,s,l))||null==s.render)return void St(t=s,a);if(s.props=o.props,s.context=l,s.updater=d,void 0===(d=s.state)&&(s.state=d=null),"function"===typeof s.UNSAFE_componentWillMount||"function"===typeof s.componentWillMount)if("function"===typeof s.componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&s.componentWillMount(),"function"===typeof s.UNSAFE_componentWillMount&&"function"!==typeof a.getDerivedStateFromProps&&s.UNSAFE_componentWillMount(),c.length){d=c;var p=u;if(c=null,u=!1,p&&1===d.length)s.state=d[0];else{f=p?d[0]:s.state;var h=!0;for(p=p?1:0;p<d.length;p++){var v=d[p];null!=(v="function"===typeof v?v.call(s,f,o.props,l):v)&&(h?(h=!1,f=r({},f,v)):r(f,v))}s.state=f}}else c=null;if(St(t=s.render(),a),"function"===typeof s.getChildContext&&"object"===typeof(o=a.childContextTypes)){var g=s.getChildContext();for(var m in g)if(!(m in o))throw Error(i(108,S(a)||"Unknown",m))}g&&(e=r({},e,g))}for(;o.isValidElement(t);){var s=t,l=s.type;if("function"!==typeof l)break;a(s,l)}return{child:t,context:e}}var Ct=function(){function t(t,e,n){o.isValidElement(t)?t.type!==s?t=[t]:(t=t.props.children,t=o.isValidElement(t)?[t]:vt(t)):t=vt(t),t={type:null,domNamespace:st,children:t,childIndex:0,context:C,footer:""};var r=E[0];if(0===r){var a=E,l=2*(r=a.length);if(!(65536>=l))throw Error(i(304));var c=new Uint16Array(l);for(c.set(a),(E=c)[0]=r+1,a=r;a<l-1;a++)E[a]=a+1;E[l-1]=0}else E[0]=E[r];this.threadID=r,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=e,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[],this.uniqueID=0,this.identifierPrefix=n&&n.identifierPrefix||""}var e=t.prototype;return e.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;E[t]=E[0],E[0]=t}},e.pushProvider=function(t){var e=++this.contextIndex,n=t.type._context,r=this.threadID;k(n,r);var o=n[r];this.contextStack[e]=n,this.contextValueStack[e]=o,n[r]=t.props.value},e.popProvider=function(){var t=this.contextIndex,e=this.contextStack[t],n=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,e[this.threadID]=n},e.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},e.read=function(t){if(this.exhausted)return null;var e=it;it=this;var n=gt.current;gt.current=at;try{for(var r=[""],o=!1;r[0].length<t;){if(0===this.stack.length){this.exhausted=!0;var a=this.threadID;E[a]=E[0],E[0]=a;break}var s=this.stack[this.stack.length-1];if(o||s.childIndex>=s.children.length){var l=s.footer;if(""!==l&&(this.previousWasTextNode=!1),this.stack.pop(),"select"===s.type)this.currentSelectValue=null;else if(null!=s.type&&null!=s.type.type&&s.type.type.$$typeof===u)this.popProvider(s.type);else if(s.type===p){this.suspenseDepth--;var c=r.pop();if(o){o=!1;var d=s.fallbackFrame;if(!d)throw Error(i(303));this.stack.push(d),r[this.suspenseDepth]+="\x3c!--$!--\x3e";continue}r[this.suspenseDepth]+=c}r[this.suspenseDepth]+=l}else{var f=s.children[s.childIndex++],h="";try{h+=this.render(f,s.context,s.domNamespace)}catch(v){if(null!=v&&"function"===typeof v.then)throw Error(i(294));throw v}r.length<=this.suspenseDepth&&r.push(""),r[this.suspenseDepth]+=h}}return r[0]}finally{gt.current=n,it=e,J()}},e.render=function(t,e,n){if("string"===typeof t||"number"===typeof t)return""===(n=""+t)?"":this.makeStaticMarkup?B(n):this.previousWasTextNode?"\x3c!-- --\x3e"+B(n):(this.previousWasTextNode=!0,B(n));if(t=(e=jt(t,e,this.threadID)).child,e=e.context,null===t||!1===t)return"";if(!o.isValidElement(t)){if(null!=t&&null!=t.$$typeof){if((n=t.$$typeof)===a)throw Error(i(257));throw Error(i(258,n.toString()))}return t=vt(t),this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),""}var m=t.type;if("string"===typeof m)return this.renderDOM(t,e,n);switch(m){case w:case x:case l:case c:case h:case s:return t=vt(t.props.children),this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case p:throw Error(i(294));case y:throw Error(i(343))}if("object"===typeof m&&null!==m)switch(m.$$typeof){case f:V={};var O=m.render(t.props,t.ref);return O=Q(m.render,t.props,O,t.ref),O=vt(O),this.stack.push({type:null,domNamespace:n,children:O,childIndex:0,context:e,footer:""}),"";case v:return t=[o.createElement(m.type,r({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),"";case u:return n={type:t,domNamespace:n,children:m=vt(t.props.children),childIndex:0,context:e,footer:""},this.pushProvider(t),this.stack.push(n),"";case d:m=t.type,O=t.props;var S=this.threadID;return k(m,S),m=vt(O.children(m[S])),this.stack.push({type:t,domNamespace:n,children:m,childIndex:0,context:e,footer:""}),"";case b:throw Error(i(338));case g:return m=(O=(m=t.type)._init)(m._payload),t=[o.createElement(m,r({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:n,children:t,childIndex:0,context:e,footer:""}),""}throw Error(i(130,null==m?m:typeof m,""))},e.renderDOM=function(t,e,n){var a=t.type.toLowerCase();if(n===st&&lt(a),!yt.hasOwnProperty(a)){if(!bt.test(a))throw Error(i(65,a));yt[a]=!0}var s=t.props;if("input"===a)s=r({type:void 0},s,{defaultChecked:void 0,defaultValue:void 0,value:null!=s.value?s.value:s.defaultValue,checked:null!=s.checked?s.checked:s.defaultChecked});else if("textarea"===a){var l=s.value;if(null==l){l=s.defaultValue;var c=s.children;if(null!=c){if(null!=l)throw Error(i(92));if(Array.isArray(c)){if(!(1>=c.length))throw Error(i(93));c=c[0]}l=""+c}null==l&&(l="")}s=r({},s,{value:void 0,children:""+l})}else if("select"===a)this.currentSelectValue=null!=s.value?s.value:s.defaultValue,s=r({},s,{value:void 0});else if("option"===a){c=this.currentSelectValue;var u=function(t){if(void 0===t||null===t)return t;var e="";return o.Children.forEach(t,(function(t){null!=t&&(e+=t)})),e}(s.children);if(null!=c){var d=null!=s.value?s.value+"":u;if(l=!1,Array.isArray(c)){for(var f=0;f<c.length;f++)if(""+c[f]===d){l=!0;break}}else l=""+c===d;s=r({selected:void 0,children:void 0},s,{selected:l,children:u})}}if(l=s){if(ut[a]&&(null!=l.children||null!=l.dangerouslySetInnerHTML))throw Error(i(137,a));if(null!=l.dangerouslySetInnerHTML){if(null!=l.children)throw Error(i(60));if("object"!==typeof l.dangerouslySetInnerHTML||!("__html"in l.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=l.style&&"object"!==typeof l.style)throw Error(i(62))}l=s,c=this.makeStaticMarkup,u=1===this.stack.length,d="<"+t.type;t:if(-1===a.indexOf("-"))f="string"===typeof l.is;else switch(a){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":f=!1;break t;default:f=!0}for(w in l)if(wt.call(l,w)){var p=l[w];if(null!=p){if("style"===w){var h=void 0,v="",g="";for(h in p)if(p.hasOwnProperty(h)){var m=0===h.indexOf("--"),b=p[h];if(null!=b){if(m)var y=h;else if(y=h,xt.hasOwnProperty(y))y=xt[y];else{var x=y.replace(pt,"-$1").toLowerCase().replace(ht,"-ms-");y=xt[y]=x}v+=g+y+":",g=h,v+=m=null==b||"boolean"===typeof b||""===b?"":m||"number"!==typeof b||0===b||dt.hasOwnProperty(g)&&dt[g]?(""+b).trim():b+"px",g=";"}}p=v||null}h=null,f?Ot.hasOwnProperty(w)||(h=R(h=w)&&null!=p?h+'="'+B(p)+'"':""):h=z(w,p),h&&(d+=" "+h)}}c||u&&(d+=' data-reactroot=""');var w=d;l="",ct.hasOwnProperty(a)?w+="/>":(w+=">",l="</"+t.type+">");t:{if(null!=(c=s.dangerouslySetInnerHTML)){if(null!=c.__html){c=c.__html;break t}}else if("string"===typeof(c=s.children)||"number"===typeof c){c=B(c);break t}c=null}return null!=c?(s=[],mt.hasOwnProperty(a)&&"\n"===c.charAt(0)&&(w+="\n"),w+=c):s=vt(s.children),t=t.type,n=null==n||"http://www.w3.org/1999/xhtml"===n?lt(t):"http://www.w3.org/2000/svg"===n&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":n,this.stack.push({domNamespace:n,type:a,children:s,childIndex:0,context:e,footer:l}),this.previousWasTextNode=!1,w},t}();e.renderToNodeStream=function(){throw Error(i(207))},e.renderToStaticMarkup=function(t,e){t=new Ct(t,!0,e);try{return t.read(1/0)}finally{t.destroy()}},e.renderToStaticNodeStream=function(){throw Error(i(208))},e.renderToString=function(t,e){t=new Ct(t,!1,e);try{return t.read(1/0)}finally{t.destroy()}},e.version="17.0.2"},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";var r=n(1107);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=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 s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bigint: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:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";(function(e){function n(t){o.length||(r(),!0),o[o.length]=t}t.exports=n;var r,o=[],i=0;function a(){for(;i<o.length;){var t=i;if(i+=1,o[t].call(),i>1024){for(var e=0,n=o.length-i;e<n;e++)o[e]=o[e+i];o.length-=i,i=0}}o.length=0,i=0,!1}var s="undefined"!==typeof e?e:self,l=s.MutationObserver||s.WebKitMutationObserver;function c(t){return function(){var e=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(e),clearInterval(n),t()}}}r="function"===typeof l?function(t){var e=1,n=new l(t),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){e=-e,r.data=e}}(a):c(a),n.requestFlush=r,n.makeRequestCallFromTimer=c}).call(this,n(119))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1110);Object.defineProperty(e,"default",{enumerable:!0,get:function(){return(t=r,t&&t.__esModule?t:{default:t}).default;var t}})},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}}(),o=n(1),i=u(o),a=n(500),s=n(501),l=u(n(1111)),c=u(n(1112));function u(t){return t&&t.__esModule?t:{default:t}}function d(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}var p=function(t){function e(){var t,n,r;d(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=f(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(i))),r.getStyles=function(){var t=r.props.accountForScrollbars,e=(0,s.getDocumentHeight)(),n=t?(0,s.getPadding)():null;return"body {\n      box-sizing: border-box !important;\n      overflow: hidden !important;\n      position: relative !important;\n      "+(e?"height: "+e+"px !important;":"")+"\n      "+(n?"padding-right: "+n+"px !important;":"")+"\n    }"},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,t),r(e,[{key:"componentDidMount",value:function(){a.canUseDOM&&(this.initialHeight=window.innerHeight)}},{key:"componentWillUnmount",value:function(){var t=window.innerHeight-this.initialHeight;t&&window.scrollTo(0,window.pageYOffset+t),this.initialHeight=window.innerHeight}},{key:"render",value:function(){return i.default.createElement(c.default,{styles:this.getStyles()})}}]),e}(o.PureComponent);p.defaultProps={accountForScrollbars:!0},e.default=(0,l.default)(p)},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}}();e.default=function(t){return function(e){function n(){var t,e,r;c(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r=u(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(i))),r.listenerOptions={capture:!1,passive:!1},u(r,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,e),r(n,[{key:"componentDidMount",value:function(){if(s.canUseDOM){var t=this.props.touchScrollTarget,e=document.body;e&&(0,l.isTouchDevice)()&&(e.addEventListener("touchmove",l.preventTouchMove,this.listenerOptions),t&&(t.addEventListener("touchstart",l.preventInertiaScroll,this.listenerOptions),t.addEventListener("touchmove",l.allowTouchMove,this.listenerOptions)))}}},{key:"componentWillUnmount",value:function(){if(s.canUseDOM){var t=this.props.touchScrollTarget,e=document.body;e&&(0,l.isTouchDevice)()&&(e.removeEventListener("touchmove",l.preventTouchMove,this.listenerOptions),t&&(t.removeEventListener("touchstart",l.preventInertiaScroll,this.listenerOptions),t.removeEventListener("touchmove",l.allowTouchMove,this.listenerOptions)))}}},{key:"render",value:function(){return a.default.createElement(t,this.props)}}]),n}(i.PureComponent)};var o,i=n(1),a=(o=i)&&o.__esModule?o:{default:o},s=n(500),l=n(501);function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,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}}(),i=n(1),a=((r=i)&&r.__esModule,n(500)),s=n(501);function l(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}var u=function(t){function e(){var t,n,r;l(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=c(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(i))),r.addSheet=function(){var t=r.props.styles,e=(0,s.makeStyleTag)();e&&((0,s.injectStyles)(e,t),(0,s.insertStyleTag)(e),r.sheet=e)},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,t),o(e,[{key:"componentDidMount",value:function(){a.canUseDOM&&this.addSheet()}},{key:"removeSheet",value:function(){this.sheet&&(this.sheet.parentNode.removeChild(this.sheet),this.sheet=null)}},{key:"componentWillUnmount",value:function(){this.removeSheet()}},{key:"render",value:function(){return null}}]),e}(i.PureComponent);e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1114);n(334),n(335);var o=r.makeExports(!1),i=o.StyleSheet,a=o.StyleSheetServer,s=o.StyleSheetTestUtils,l=o.css,c=o.minify,u=o.flushToStyleTag,d=o.injectAndGetClassName,f=o.defaultSelectorHandlers,p=o.reset,h=o.resetInjectedStyle;e.StyleSheet=i,e.StyleSheetServer=a,e.StyleSheetTestUtils=s,e.css=l,e.minify=c,e.flushToStyleTag=u,e.injectAndGetClassName=d,e.defaultSelectorHandlers=f,e.reset=p,e.resetInjectedStyle=h},function(t,e,n){"use strict";function r(t){return t&&"object"===typeof t&&"default"in t?t.default:t}var o=r(n(334)),i=r(n(335));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},a(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 l(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 c(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 u=/([A-Z])/g,d=function(t){return"-".concat(t.toLowerCase())},f={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!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,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};var p=["Webkit","ms","Moz","O"];Object.keys(f).forEach((function(t){p.forEach((function(e){f[function(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}(e,t)]=f[t]}))}));var h=function(t,e){return"number"===typeof e?f[t]?""+e:e+"px":""+e},v=function(t,e){return m(h(t,e))},g=function(t,e){return o(t).toString(36)},m=function(t){return"!"===t[t.length-10]&&" !important"===t.slice(-11)?t:"".concat(t," !important")},b="undefined"!==typeof Map,y=function(){function t(){this.elements={},this.keyOrder=[]}var e=t.prototype;return e.forEach=function(t){for(var e=0;e<this.keyOrder.length;e++)t(this.elements[this.keyOrder[e]],this.keyOrder[e])},e.set=function(e,n,r){if(this.elements.hasOwnProperty(e)){if(r){var o=this.keyOrder.indexOf(e);this.keyOrder.splice(o,1),this.keyOrder.push(e)}}else this.keyOrder.push(e);if(null!=n){if(b&&n instanceof Map||n instanceof t){var i=this.elements.hasOwnProperty(e)?this.elements[e]:new t;return n.forEach((function(t,e){i.set(e,t,r)})),void(this.elements[e]=i)}if(Array.isArray(n)||"object"!==a(n))this.elements[e]=n;else{for(var s=this.elements.hasOwnProperty(e)?this.elements[e]:new t,l=Object.keys(n),c=0;c<l.length;c+=1)s.set(l[c],n[l[c]],r);this.elements[e]=s}}else this.elements[e]=n},e.get=function(t){return this.elements[t]},e.has=function(t){return this.elements.hasOwnProperty(t)},e.addStyleType=function(e){var n=this;if(b&&e instanceof Map||e instanceof t)e.forEach((function(t,e){n.set(e,t,!0)}));else for(var r=Object.keys(e),o=0;o<r.length;o++)this.set(r[o],e[r[o]],!0)},t}();function x(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function w(t,e){return t(e={exports:{}},e.exports),e.exports}var O=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}}));x(O);var S=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(t.hasOwnProperty(e)){for(var o={},i=t[e],a=(0,r.default)(e),s=Object.keys(n),l=0;l<s.length;l++){var c=s[l];if(c===e)for(var u=0;u<i.length;u++)o[i[u]+a]=n[e];o[c]=n[c]}return o}return n};var n,r=(n=O)&&n.__esModule?n:{default:n}}));x(S);var j=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o){for(var i=0,a=t.length;i<a;++i){var s=t[i](e,n,r,o);if(s)return s}}}));x(j);var C=w((function(t,e){function n(t,e){-1===t.indexOf(e)&&t.push(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(Array.isArray(e))for(var r=0,o=e.length;r<o;++r)n(t,e[r]);else n(t,e)}}));x(C);var k=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t instanceof Object&&!Array.isArray(t)}}));x(k);var E=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.prefixMap,a=t.plugins;return function t(s){for(var l in s){var c=s[l];if((0,i.default)(c))s[l]=t(c);else if(Array.isArray(c)){for(var u=[],d=0,f=c.length;d<f;++d){var p=(0,r.default)(a,l,c[d],s,e);(0,o.default)(u,p||c[d])}u.length>0&&(s[l]=u)}else{var h=(0,r.default)(a,l,c,s,e);h&&(s[l]=h),s=(0,n.default)(e,l,s)}}return s}};var n=a(S),r=a(j),o=a(C),i=a(k);function a(t){return t&&t.__esModule?t:{default:t}}})),P=x(E),_=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&"text"===e)return["-webkit-text","text"]}})),M=x(_),T=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"string"===typeof t&&n.test(t)};var n=/-webkit-|-moz-|-ms-/;t.exports=e.default}));x(T);var A=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&e.indexOf("calc(")>-1)return o.map((function(t){return e.replace(/calc\(/g,t+"calc(")}))};var n,r=(n=T)&&n.__esModule?n:{default:n};var o=["-webkit-","-moz-",""]})),R=x(A),D=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&e.indexOf("cross-fade(")>-1)return o.map((function(t){return e.replace(/cross-fade\(/g,t+"cross-fade(")}))};var n,r=(n=T)&&n.__esModule?n:{default:n};var o=["-webkit-",""]})),I=x(D),N=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("cursor"===t&&r.hasOwnProperty(e))return n.map((function(t){return t+e}))};var n=["-webkit-","-moz-",""],r={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}})),L=x(N),F=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&e.indexOf("filter(")>-1)return o.map((function(t){return e.replace(/filter\(/g,t+"filter(")}))};var n,r=(n=T)&&n.__esModule?n:{default:n};var o=["-webkit-",""]})),B=x(F),z=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("display"===t&&n.hasOwnProperty(e))return n[e]};var n={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]}})),H=x(z),V=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,a){Object.prototype.hasOwnProperty.call(r,t)&&(a[r[t]]=n[e]||e);if("flex"===t){if(Object.prototype.hasOwnProperty.call(o,e))return void(a.msFlex=o[e]);if(i.test(e))return void(a.msFlex=e+" 1 0%");var s=e.split(/\s/);switch(s.length){case 1:return void(a.msFlex="1 1 "+e);case 2:return void(i.test(s[1])?a.msFlex=s[0]+" "+s[1]+" 0%":a.msFlex=s[0]+" 1 "+s[1]);default:a.msFlex=e}}};var n={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},r={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msFlexPreferredSize"},o={auto:"1 1 auto",inherit:"inherit",initial:"0 1 auto",none:"0 0 auto",unset:"unset"},i=/^\d+(\.\d+)?$/})),U=x(V),W=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,o){"flexDirection"===t&&"string"===typeof e&&(e.indexOf("column")>-1?o.WebkitBoxOrient="vertical":o.WebkitBoxOrient="horizontal",e.indexOf("reverse")>-1?o.WebkitBoxDirection="reverse":o.WebkitBoxDirection="normal");r.hasOwnProperty(t)&&(o[r[t]]=n[e]||e)};var n={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},r={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"}})),q=x(W),G=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&i.test(e))return o.map((function(t){return e.replace(i,(function(e){return t+e}))}))};var n,r=(n=T)&&n.__esModule?n:{default:n};var o=["-webkit-","-moz-",""],i=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi})),Y=x(G),X=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function r(t){return"number"===typeof t&&!isNaN(t)}e.default=function(t,e,n){if("display"===t&&e in i)return i[e];if(t in a){(0,a[t])(e,n)}};var o=["center","end","start","stretch"],i={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},a={alignSelf:function(t,e){o.indexOf(t)>-1&&(e.msGridRowAlign=t)},gridColumn:function(t,e){if(r(t))e.msGridColumn=t;else{var o=t.split("/").map((function(t){return+t})),i=n(o,2),s=i[0],l=i[1];a.gridColumnStart(s,e),a.gridColumnEnd(l,e)}},gridColumnEnd:function(t,e){var n=e.msGridColumn;r(t)&&r(n)&&(e.msGridColumnSpan=t-n)},gridColumnStart:function(t,e){r(t)&&(e.msGridColumn=t)},gridRow:function(t,e){if(r(t))e.msGridRow=t;else{var o=t.split("/").map((function(t){return+t})),i=n(o,2),s=i[0],l=i[1];a.gridRowStart(s,e),a.gridRowEnd(l,e)}},gridRowEnd:function(t,e){var n=e.msGridRow;r(t)&&r(n)&&(e.msGridRowSpan=t-n)},gridRowStart:function(t,e){r(t)&&(e.msGridRow=t)},gridTemplateColumns:function(t,e){e.msGridColumns=t},gridTemplateRows:function(t,e){e.msGridRows=t},justifySelf:function(t,e){o.indexOf(t)>-1&&(e.msGridColumnAlign=t)}}})),K=x(X),$=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&e.indexOf("image-set(")>-1)return o.map((function(t){return e.replace(/image-set\(/g,t+"image-set(")}))};var n,r=(n=T)&&n.__esModule?n:{default:n};var o=["-webkit-",""]})),Z=x($),Q=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){if(Object.prototype.hasOwnProperty.call(n,t))for(var o=n[t],i=0,a=o.length;i<a;++i)r[o[i]]=e};var n={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]}})),J=x(Q),tt=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("position"===t&&"sticky"===e)return["-webkit-sticky","sticky"]}})),et=x(tt),nt=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(r.hasOwnProperty(t)&&o.hasOwnProperty(e))return n.map((function(t){return t+e}))};var n=["-webkit-","-moz-",""],r={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},o={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}})),rt=x(nt),ot=/[A-Z]/g,it=/^ms-/,at={};function st(t){return"-"+t.toLowerCase()}var lt,ct=(lt=Object.freeze({default:function(t){if(at.hasOwnProperty(t))return at[t];var e=t.replace(ot,st);return at[t]=it.test(e)?"-"+e:e}}))&&lt.default||lt,ut=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,r.default)(t)};var n,r=(n=ct)&&n.__esModule?n:{default:n};t.exports=e.default}));x(ut);var dt=w((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,l){if("string"===typeof e&&a.hasOwnProperty(t)){var c=function(t,e){if((0,r.default)(t))return t;for(var o=t.split(/,(?![^()]*(?:\([^()]*\))?\))/g),i=0,a=o.length;i<a;++i){var l=o[i],c=[l];for(var u in e){var d=(0,n.default)(u);if(l.indexOf(d)>-1&&"order"!==d)for(var f=e[u],p=0,h=f.length;p<h;++p)c.unshift(l.replace(d,s[f[p]]+d))}o[i]=c.join(",")}return o.join(",")}(e,l),u=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-moz-|-ms-/.test(t)})).join(",");if(t.indexOf("Webkit")>-1)return u;var d=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-webkit-|-ms-/.test(t)})).join(",");return t.indexOf("Moz")>-1?d:(i["Webkit"+(0,o.default)(t)]=u,i["Moz"+(0,o.default)(t)]=d,c)}};var n=i(ut),r=i(T),o=i(O);function i(t){return t&&t.__esModule?t:{default:t}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},s={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}})),ft=["Webkit"],pt=["Moz"],ht=["ms"],vt=["Webkit","Moz"],gt=["Webkit","ms"],mt=["Webkit","Moz","ms"],bt=P({plugins:[M,R,I,L,B,H,U,q,Y,K,Z,J,et,rt,x(dt)],prefixMap:{transform:gt,transformOrigin:gt,transformOriginX:gt,transformOriginY:gt,backfaceVisibility:ft,perspective:ft,perspectiveOrigin:ft,transformStyle:ft,transformOriginZ:ft,animation:ft,animationDelay:ft,animationDirection:ft,animationFillMode:ft,animationDuration:ft,animationIterationCount:ft,animationName:ft,animationPlayState:ft,animationTimingFunction:ft,appearance:vt,userSelect:mt,fontKerning:ft,textEmphasisPosition:ft,textEmphasis:ft,textEmphasisStyle:ft,textEmphasisColor:ft,boxDecorationBreak:ft,clipPath:ft,maskImage:ft,maskMode:ft,maskRepeat:ft,maskPosition:ft,maskClip:ft,maskOrigin:ft,maskSize:ft,maskComposite:ft,mask:ft,maskBorderSource:ft,maskBorderMode:ft,maskBorderSlice:ft,maskBorderWidth:ft,maskBorderOutset:ft,maskBorderRepeat:ft,maskBorder:ft,maskType:ft,textDecorationStyle:vt,textDecorationSkip:vt,textDecorationLine:vt,textDecorationColor:vt,filter:ft,fontFeatureSettings:vt,breakAfter:mt,breakBefore:mt,breakInside:mt,columnCount:vt,columnFill:vt,columnGap:vt,columnRule:vt,columnRuleColor:vt,columnRuleStyle:vt,columnRuleWidth:vt,columns:vt,columnSpan:vt,columnWidth:vt,writingMode:gt,flex:gt,flexBasis:ft,flexDirection:gt,flexGrow:ft,flexFlow:gt,flexShrink:ft,flexWrap:gt,alignContent:ft,alignItems:ft,alignSelf:ft,justifyContent:ft,order:ft,transitionDelay:ft,transitionDuration:ft,transitionProperty:ft,transitionTimingFunction:ft,backdropFilter:ft,scrollSnapType:gt,scrollSnapPointsX:gt,scrollSnapPointsY:gt,scrollSnapDestination:gt,scrollSnapCoordinate:gt,shapeImageThreshold:ft,shapeImageMargin:ft,shapeImageOutside:ft,hyphens:mt,flowInto:gt,flowFrom:gt,regionFragment:gt,textOrientation:ft,boxSizing:pt,textAlignLast:pt,tabSize:pt,wrapFlow:ht,wrapThrough:ht,wrapMargin:ht,touchAction:ht,textSizeAdjust:gt,borderImage:ft,borderImageOutset:ft,borderImageRepeat:ft,borderImageSlice:ft,borderImageSource:ft,borderImageWidth:ft}}),yt=[function(t,e,n){return":"!==t[0]?null:n(e+t)},function(t,e,n){if("@"!==t[0])return null;var r=n(e);return["".concat(t,"{").concat(r.join(""),"}")]}],xt=function t(e,n,r,o,i){for(var a=new y,s=0;s<n.length;s++)a.addStyleType(n[s]);var l=new y,u=[];a.forEach((function(n,a){r.some((function(s){var l=s(a,e,(function(e){return t(e,[n],r,o,i)}));if(null!=l)return Array.isArray(l)?u.push.apply(u,c(l)):(console.warn("WARNING: Selector handlers should return an array of rules.Returning a string containing multiple rules is deprecated.",s),u.push("@media all {".concat(l,"}"))),!0}))||l.set(a,n,!0)}));var d=St(e,l,o,i,r);return d&&u.unshift(d),u},wt=function(t,e,n){return"".concat(function(t){var e=t.replace(u,d);return"m"===e[0]&&"s"===e[1]&&"-"===e[2]?"-".concat(e):e}(t),":").concat(n(t,e),";")},Ot=function(t,e){return t[e]=!0,t},St=function(t,e,n,r,o){!function(t,e,n){if(e)for(var r=Object.keys(e),o=0;o<r.length;o++){var i=r[o];t.has(i)&&t.set(i,e[i](t.get(i),n),!1)}}(e,n,o);var i=Object.keys(e.elements).reduce(Ot,Object.create(null)),a=bt(e.elements),s=Object.keys(a);if(s.length!==e.keyOrder.length)for(var l=0;l<s.length;l++)if(!i[s[l]]){var c=void 0;if((c="W"===s[l][0]?s[l][6].toLowerCase()+s[l].slice(7):"o"===s[l][1]?s[l][3].toLowerCase()+s[l].slice(4):s[l][2].toLowerCase()+s[l].slice(3))&&i[c]){var u=e.keyOrder.indexOf(c);e.keyOrder.splice(u,0,s[l])}else e.keyOrder.unshift(s[l])}for(var d=!1===r?h:v,f=[],p=0;p<e.keyOrder.length;p++){var g=e.keyOrder[p],m=a[g];if(Array.isArray(m))for(var b=0;b<m.length;b++)f.push(wt(g,m[b],d));else f.push(wt(g,m,d))}return f.length?"".concat(t,"{").concat(f.join(""),"}"):""},jt=null,Ct={fontFamily:function t(e){if(Array.isArray(e)){var n={};return e.forEach((function(e){n[t(e)]=!0})),Object.keys(n).join(",")}return"object"===a(e)?(Mt(e.src,"@font-face",[e],!1),'"'.concat(e.fontFamily,'"')):e},animationName:function t(e,n){if(Array.isArray(e))return e.map((function(e){return t(e,n)})).join(",");if("object"===a(e)){var r="keyframe_".concat((i=e,g(JSON.stringify(i)))),o="@keyframes ".concat(r,"{");return e instanceof y?e.forEach((function(t,e){o+=xt(e,[t],n,Ct,!1).join("")})):Object.keys(e).forEach((function(t){o+=xt(t,[e[t]],n,Ct,!1).join("")})),_t(r,[o+="}"]),r}return e;var i}},kt={},Et=[],Pt=!1,_t=function(t,e){var n;if(!kt[t]){if(!Pt){if("undefined"===typeof document)throw new Error("Cannot automatically buffer without a document");Pt=!0,i(Dt)}(n=Et).push.apply(n,c(e)),kt[t]=!0}},Mt=function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!kt[t]){var i=xt(e,n,o,Ct,r);_t(t,i)}},Tt=function(){Et=[],kt={},Pt=!1,jt=null},At=function(t){delete kt[t]},Rt=function(){Pt=!1;var t=Et;return Et=[],t},Dt=function(){var t=Rt();t.length>0&&function(t){if(null==jt&&null==(jt=document.querySelector("style[data-aphrodite]"))){var e=document.head||document.getElementsByTagName("head")[0];(jt=document.createElement("style")).type="text/css",jt.setAttribute("data-aphrodite",""),e.appendChild(jt)}var n=jt.styleSheet||jt.sheet;if(n.insertRule){var r=n.cssRules.length;t.forEach((function(t){try{n.insertRule(t,r),r+=1}catch(e){}}))}else jt.innerText=(jt.innerText||"")+t.join("")}(t)},It=function(t){t.forEach((function(t){kt[t]=!0}))},Nt=function t(e,n,r,o){for(var i=0;i<e.length;i+=1)if(e[i])if(Array.isArray(e[i]))o+=t(e[i],n,r,o);else{if(!("_definition"in(a=e[i])&&"_name"in a&&"_len"in a))throw new Error("Invalid Style Definition: Styles should be defined using the StyleSheet.create method.");n.push(e[i]._name),r.push(e[i]._definition),o+=e[i]._len}var a;return o},Lt=function(t,e,n){var r,o=[],i=[],a=Nt(e,o,i,0);return 0===o.length?"":(r=1===o.length?"_".concat(o[0]):"_".concat(g(o.join())).concat((a%36).toString(36)),Mt(r,".".concat(r),i,t,n),r)},Ft=function(t,e){return"".concat(e,"_").concat(g(t))},Bt=g,zt={create:function(t){for(var e={},n=Object.keys(t),r=0;r<n.length;r+=1){var o=n[r],i=t[o],a=JSON.stringify(i);e[o]={_len:a.length,_name:Bt(a,o),_definition:i}}return e},rehydrate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];It(t)}},Ht="undefined"!==typeof window?null:{renderStatic:function(t){return Tt(),function(){if(Pt)throw new Error("Cannot buffer while already buffering");Pt=!0}(),{html:t(),css:{content:Rt().join(""),renderedClassNames:Object.keys(kt)}}}};e.makeExports=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yt;return{StyleSheet:l({},zt,{extend:function(r){var o=r.map((function(t){return t.selectorHandler})).filter((function(t){return t}));return t(e,n.concat(o))}}),StyleSheetServer:Ht,StyleSheetTestUtils:null,minify:function(t){Bt=t?g:Ft},css:function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return Lt(e,r,n)},flushToStyleTag:Dt,injectAndGetClassName:Lt,defaultSelectorHandlers:yt,reset:Tt,resetInjectedStyle:At}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return'<svg fill="'+t+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" xml:space="preserve">\n\t\t<path d="M213.7,256L213.7,256L213.7,256L380.9,81.9c4.2-4.3,4.1-11.4-0.2-15.8l-29.9-30.6c-4.3-4.4-11.3-4.5-15.5-0.2L131.1,247.9 c-2.2,2.2-3.2,5.2-3,8.1c-0.1,3,0.9,5.9,3,8.1l204.2,212.7c4.2,4.3,11.2,4.2,15.5-0.2l29.9-30.6c4.3-4.4,4.4-11.5,0.2-15.8 L213.7,256z"/>\n\t</svg>'}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return'<svg fill="'+t+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" xml:space="preserve">\n\t\t<path d="M298.3,256L298.3,256L298.3,256L131.1,81.9c-4.2-4.3-4.1-11.4,0.2-15.8l29.9-30.6c4.3-4.4,11.3-4.5,15.5-0.2l204.2,212.7 c2.2,2.2,3.2,5.2,3,8.1c0.1,3-0.9,5.9-3,8.1L176.7,476.8c-4.2,4.3-11.2,4.2-15.5-0.2L131.3,446c-4.3-4.4-4.4-11.5-0.2-15.8 L298.3,256z"/>\n\t</svg>'}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return'<svg fill="'+t+'" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">\n\t\t<path d="M443.6,387.1L312.4,255.4l131.5-130c5.4-5.4,5.4-14.2,0-19.6l-37.4-37.6c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4 L256,197.8L124.9,68.3c-2.6-2.6-6.1-4-9.8-4c-3.7,0-7.2,1.5-9.8,4L68,105.9c-5.4,5.4-5.4,14.2,0,19.6l131.5,130L68.4,387.1 c-2.6,2.6-4.1,6.1-4.1,9.8c0,3.7,1.4,7.2,4.1,9.8l37.4,37.6c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1L256,313.1l130.7,131.1 c2.7,2.7,6.2,4.1,9.8,4.1c3.5,0,7.1-1.3,9.8-4.1l37.4-37.6c2.6-2.6,4.1-6.1,4.1-9.8C447.7,393.2,446.2,389.7,443.6,387.1z"/>\n\t</svg>'}},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},o=c(n(125)),i=c(n(1)),a=n(243),s=c(n(242)),l=n(276);function c(t){return t&&t.__esModule?t:{default:t}}function u(t){var e=a.StyleSheet.create((0,l.deepMerge)(d,t.theme));return i.default.createElement("div",r({id:"viewerBackdrop",className:(0,a.css)(e.container)},t))}u.propTypes={theme:o.default.object};var d={container:{alignItems:"center",backdropColor:s.default.container.background,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"center",left:0,paddingTop:s.default.container.gutter.vertical,paddingRight:s.default.container.gutter.horizontal,paddingBottom:s.default.container.gutter.vertical,paddingLeft:s.default.container.gutter.horizontal,position:"fixed",top:0,width:"100%",zIndex:s.default.container.zIndex}};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},o=c(n(125)),i=c(n(1)),a=n(243),s=c(n(242)),l=n(276);function c(t){return t&&t.__esModule?t:{default:t}}function u(t){var e=t.caption,n=t.countCurr,o=t.countSeparator,s=t.countTotal,c=t.showCount,u=t.theme,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,["caption","countCurr","countSeparator","countTotal","showCount","theme"]);if(!e&&!c)return null;var p=a.StyleSheet.create((0,l.deepMerge)(d,u)),h=c?i.default.createElement("div",{className:(0,a.css)(p.footerCount)},n,o,s):i.default.createElement("span",null);return i.default.createElement("div",r({className:(0,a.css)(p.footer)},f),e?i.default.createElement("figcaption",{className:(0,a.css)(p.footerCaption)},e):i.default.createElement("span",null),h)}u.propTypes={theme:o.default.object,caption:o.default.oneOfType([o.default.string,o.default.element]),countCurr:o.default.number,countSeparator:o.default.string,countTotal:o.default.number,showCount:o.default.bool};var d={footer:{boxSizing:"border-box",color:s.default.footer.color,cursor:"auto",display:"flex",justifyContent:"space-between",left:0,lineHeight:1.3,paddingTop:s.default.footer.gutter.vertical,paddingRight:s.default.footer.gutter.horizontal,paddingBottom:s.default.footer.gutter.vertical,paddingLeft:s.default.footer.gutter.horizontal},footerCount:{color:s.default.footer.count.color,fontSize:s.default.footer.count.fontSize,paddingLeft:"1em"},footerCaption:{flex:"1 1 0"}};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},o=u(n(125)),i=u(n(1)),a=n(243),s=u(n(242)),l=n(276),c=u(n(645));function u(t){return t&&t.__esModule?t:{default:t}}function d(t){var e=t.customControls,n=t.onClose,o=t.showCloseBtn,u=t.closeBtnTitle,d=t.theme,p=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,["customControls","onClose","showCloseBtn","closeBtnTitle","theme"]),h=a.StyleSheet.create((0,l.deepMerge)(f,d));return i.default.createElement("div",r({className:(0,a.css)(h.header)},p),e||i.default.createElement("span",null),!!o&&i.default.createElement("button",{title:u,className:(0,a.css)(h.close),onClick:n},i.default.createElement(c.default,{fill:!!d.close&&d.close.fill||s.default.close.fill,type:"close"})))}d.propTypes={theme:o.default.object,customControls:o.default.array,onClose:o.default.func.isRequired,showCloseBtn:o.default.bool,closeBtnTitle:o.default.string};var f={header:{display:"flex",justifyContent:"space-between",height:s.default.header.height},close:{background:"none",border:"none",cursor:"pointer",outline:"none",position:"relative",top:0,verticalAlign:"bottom",zIndex:1,height:40,marginRight:-10,padding:10,width:40}};e.default=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},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}}(),i=f(n(125)),a=n(1),s=f(a),l=n(243),c=f(n(1122)),u=f(n(644)),d=f(n(242));function f(t){return t&&t.__esModule?t:{default:t}}var p=l.StyleSheet.create({paginatedThumbnails:{bottom:d.default.container.gutter.vertical,height:d.default.thumbnail.size,padding:"0 50px",position:"absolute",textAlign:"center",whiteSpace:"nowrap",left:"50%",transform:"translateX(-50%)"}}),h={height:d.default.thumbnail.size+2*d.default.thumbnail.gutter,width:40},v=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={hasCustomPage:!1},n.gotoPrev=n.gotoPrev.bind(n),n.gotoNext=n.gotoNext.bind(n),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,t),o(e,[{key:"UNSAFE_componentWillReceiveProps",value:function(t){t.currImg!==this.props.currImg&&this.setState({hasCustomPage:!1})}},{key:"getFirst",value:function(){var t=this.props,e=t.currImg,n=t.offset;return this.state.hasCustomPage?this.clampFirst(this.state.first):this.clampFirst(e-n)}},{key:"setFirst",value:function(t,e){var n=this.state.first;t&&(t.preventDefault(),t.stopPropagation()),n!==e&&this.setState({hasCustomPage:!0,first:e})}},{key:"gotoPrev",value:function(t){this.setFirst(t,this.getFirst()-this.props.offset)}},{key:"gotoNext",value:function(t){this.setFirst(t,this.getFirst()+this.props.offset)}},{key:"clampFirst",value:function(t){var e=this.props,n=e.imgs,r=2*e.offset+1;return t<0?0:t+r>n.length?n.length-r:t}},{key:"renderArrowPrev",value:function(t){var e=this.props.leftTitle;return this.getFirst()<=0?null:s.default.createElement(u.default,{theme:t,direction:"left",size:"small",icon:"arrowLeft",onClick:this.gotoPrev,style:h,title:e,type:"button"})}},{key:"renderArrowNext",value:function(t){var e=this.props,n=e.offset,r=e.imgs,o=e.rightTitle,i=2*n+1;return this.getFirst()+i>=r.length?null:s.default.createElement(u.default,{theme:t,direction:"right",size:"small",icon:"arrowRight",onClick:this.gotoNext,style:h,title:o,type:"button"})}},{key:"render",value:function(){var t=this.props,e=t.imgs,n=t.currImg,o=t.onClickThumbnail,i=t.offset,a=t.theme,u=2*i+1,d=[],f=0;return e.length<=u?d=e:(f=this.getFirst(),d=e.slice(f,f+u)),s.default.createElement("div",{className:(0,l.css)(p.paginatedThumbnails)},this.renderArrowPrev(a),d.map((function(t,e){return s.default.createElement(c.default,r({theme:a,key:f+e},t,{index:f+e,onClick:o,active:f+e===n}))})),this.renderArrowNext(a))}}]),e}(a.Component);e.default=v,v.propTypes={theme:i.default.object,leftTitle:i.default.string,rightTitle:i.default.string,currImg:i.default.number,imgs:i.default.array,offset:i.default.number,onClickThumbnail:i.default.func.isRequired}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=l(n(125)),o=l(n(1)),i=n(243),a=l(n(242)),s=n(276);function l(t){return t&&t.__esModule?t:{default:t}}function c(t){var e=t.index,n=t.src,r=t.thumbnail,a=t.active,l=t.onClick,c=t.theme,d=r||n,f=i.StyleSheet.create((0,s.deepMerge)(u,c));return o.default.createElement("div",{className:(0,i.css)(f.thumbnail,a&&f.thumbnail__active),onClick:function(t){t.preventDefault(),t.stopPropagation(),l(e)},style:{backgroundImage:'url("'+d+'")'}})}c.propTypes={theme:r.default.object,active:r.default.bool,index:r.default.number,onClick:r.default.func.isRequired,src:r.default.string,thumbnail:r.default.string};var u={thumbnail:{backgroundPosition:"center",backgroundSize:"cover",borderRadius:2,boxShadow:"inset 0 0 0 1px hsla(0, 0%, 100%, .2)",cursor:"pointer",display:"inline-block",height:a.default.thumbnail.size,margin:a.default.thumbnail.gutter,overflow:"hidden",width:a.default.thumbnail.size},thumbnail__active:{boxShadow:"inset 0 0 0 2px "+a.default.thumbnail.activeBorderColor}};e.default=c},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}}(),o=n(1),i=c(o),a=c(n(125)),s=n(1124),l=n(51);function c(t){return t&&t.__esModule?t:{default:t}}var u=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=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 t.portalElement=null,t}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,t),r(e,[{key:"componentDidMount",value:function(){var t=document.createElement("div");document.body.appendChild(t),this.portalElement=t,this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var t=200;(0,l.render)(i.default.createElement("div",null,i.default.createElement("style",null,"\n\t\t\t\t.fade-enter { opacity: 0.01; }\n\t\t\t\t.fade-enter.fade-enter-active { opacity: 1; transition: opacity 200ms; }\n\t\t\t\t.fade-leave { opacity: 1; }\n\t\t\t\t.fade-leave.fade-leave-active { opacity: .01; transition: opacity 200ms; }\n\t\t"),i.default.createElement(s.TransitionGroup,this.props,i.default.createElement(s.CSSTransition,{timeout:{enter:t,exit:t},className:"fade"},i.default.createElement("div",null,this.props.children)))),this.portalElement)}},{key:"componentWillUnmount",value:function(){(0,l.unmountComponentAtNode)(this.portalElement),document.body.removeChild(this.portalElement)}},{key:"render",value:function(){return null}}]),e}(o.Component);e.default=u,u.propTypes={children:a.default.arrayOf(a.default.any)}},function(t,e,n){"use strict";var r=s(n(1125)),o=s(n(1129)),i=s(n(648)),a=s(n(646));function s(t){return t&&t.__esModule?t:{default:t}}t.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},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(125));var r=s(n(1126)),o=s(n(1128)),i=s(n(1)),a=s(n(646));n(647);function s(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},l.apply(this,arguments)}var c=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,r.default)(t,e)}))},u=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return(0,o.default)(t,e)}))},d=function(t){var e,n;function r(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];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("appear").doneClassName,o=e.getClassNames("enter").doneClassName,i=n?r+" "+o:o;e.removeClasses(t,n?"appear":"enter"),c(t,i),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,o=r?(r&&n?n+"-":"")+t:n[t];return{className:o,activeClassName:r?o+"-active":n[t+"Active"],doneClassName:r?o+"-done":n[t+"Done"]}},e}n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var o=r.prototype;return o.removeClasses=function(t,e){var n=this.getClassNames(e),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&u(t,r),o&&u(t,o),i&&u(t,i)},o.reflowAndAddClass=function(t,e){e&&(t&&t.scrollTop,c(t,e))},o.render=function(){var t=l({},this.props);return delete t.classNames,i.default.createElement(a.default,l({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(i.default.Component);d.defaultProps={classNames:""},d.propTypes={};var f=d;e.default=f,t.exports=e.default},function(t,e,n){"use strict";var r=n(44);e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,o.default)(t,e)||("string"===typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var o=r(n(1127));t.exports=e.default},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},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))}},function(t,e,n){"use strict";e.__esModule=!0,e.default=void 0;a(n(125));var r=a(n(1)),o=n(51),i=a(n(648));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){var e,n;function a(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];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 s=a.prototype;return s.handleLifecycle=function(t,e,n){var i,a=this.props.children,s=r.default.Children.toArray(a)[e];s.props[t]&&(i=s.props)[t].apply(i,n),this.props[t]&&this.props[t]((0,o.findDOMNode)(this))},s.render=function(){var t=this.props,e=t.children,n=t.in,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,["children","in"]),a=r.default.Children.toArray(e),s=a[0],l=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var l=s;e.default=l,t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0,e.getChildMapping=o,e.mergeChildMappings=i,e.getInitialChildMapping=function(t,e){return o(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 s=o(t.children),l=i(e,s);return Object.keys(l).forEach((function(o){var i=l[o];if((0,r.isValidElement)(i)){var c=o in e,u=o in s,d=e[o],f=(0,r.isValidElement)(d)&&!d.props.in;!u||c&&!f?u||!c||f?u&&c&&(0,r.isValidElement)(d)&&(l[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:d.props.in,exit:a(i,"exit",t),enter:a(i,"enter",t)})):l[o]=(0,r.cloneElement)(i,{in:!1}):l[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:a(i,"exit",t),enter:a(i,"enter",t)})}})),l};var r=n(1);function o(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 i(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in e){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}function a(t,e,n){return null!=n[e]?n[e]:t.props[e]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(125)),o=a(n(1)),i=n(243);function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){var e=i.StyleSheet.create(c(t));return o.default.createElement("div",{className:(0,i.css)(e.bouncingLoader)},o.default.createElement("div",{className:(0,i.css)(e.child)}),o.default.createElement("div",{className:(0,i.css)(e.child,e.child2)}),o.default.createElement("div",{className:(0,i.css)(e.child,e.child3)}))};s.propTypes={color:r.default.string,size:r.default.number};var l=function(t){return{"0%":{opacity:1,transform:"translateY(0)"},"100%":{opacity:.1,transform:"translateY(-"+t+"px)"}}},c=function(t){var e=t.color,n=t.size;return{bouncingLoader:{display:"flex",justifyContent:"center"},child:{width:n,height:n,margin:3*n+"px "+.2*n+"px",background:e,borderRadius:"50%",animationName:l(n),animationDuration:".6s",animationDirection:"alternate",animationIterationCount:"infinite"},child2:{animationDelay:"0.2s"},child3:{animationDelay:"0.4s"}}};e.default=s},,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},e.namedReferences={xml:{entities:{"&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&amp;":"&"},characters:{"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&apos;","&":"&amp;"}},html4:{entities:{"&apos;":"'","&nbsp":"\xa0","&nbsp;":"\xa0","&iexcl":"\xa1","&iexcl;":"\xa1","&cent":"\xa2","&cent;":"\xa2","&pound":"\xa3","&pound;":"\xa3","&curren":"\xa4","&curren;":"\xa4","&yen":"\xa5","&yen;":"\xa5","&brvbar":"\xa6","&brvbar;":"\xa6","&sect":"\xa7","&sect;":"\xa7","&uml":"\xa8","&uml;":"\xa8","&copy":"\xa9","&copy;":"\xa9","&ordf":"\xaa","&ordf;":"\xaa","&laquo":"\xab","&laquo;":"\xab","&not":"\xac","&not;":"\xac","&shy":"\xad","&shy;":"\xad","&reg":"\xae","&reg;":"\xae","&macr":"\xaf","&macr;":"\xaf","&deg":"\xb0","&deg;":"\xb0","&plusmn":"\xb1","&plusmn;":"\xb1","&sup2":"\xb2","&sup2;":"\xb2","&sup3":"\xb3","&sup3;":"\xb3","&acute":"\xb4","&acute;":"\xb4","&micro":"\xb5","&micro;":"\xb5","&para":"\xb6","&para;":"\xb6","&middot":"\xb7","&middot;":"\xb7","&cedil":"\xb8","&cedil;":"\xb8","&sup1":"\xb9","&sup1;":"\xb9","&ordm":"\xba","&ordm;":"\xba","&raquo":"\xbb","&raquo;":"\xbb","&frac14":"\xbc","&frac14;":"\xbc","&frac12":"\xbd","&frac12;":"\xbd","&frac34":"\xbe","&frac34;":"\xbe","&iquest":"\xbf","&iquest;":"\xbf","&Agrave":"\xc0","&Agrave;":"\xc0","&Aacute":"\xc1","&Aacute;":"\xc1","&Acirc":"\xc2","&Acirc;":"\xc2","&Atilde":"\xc3","&Atilde;":"\xc3","&Auml":"\xc4","&Auml;":"\xc4","&Aring":"\xc5","&Aring;":"\xc5","&AElig":"\xc6","&AElig;":"\xc6","&Ccedil":"\xc7","&Ccedil;":"\xc7","&Egrave":"\xc8","&Egrave;":"\xc8","&Eacute":"\xc9","&Eacute;":"\xc9","&Ecirc":"\xca","&Ecirc;":"\xca","&Euml":"\xcb","&Euml;":"\xcb","&Igrave":"\xcc","&Igrave;":"\xcc","&Iacute":"\xcd","&Iacute;":"\xcd","&Icirc":"\xce","&Icirc;":"\xce","&Iuml":"\xcf","&Iuml;":"\xcf","&ETH":"\xd0","&ETH;":"\xd0","&Ntilde":"\xd1","&Ntilde;":"\xd1","&Ograve":"\xd2","&Ograve;":"\xd2","&Oacute":"\xd3","&Oacute;":"\xd3","&Ocirc":"\xd4","&Ocirc;":"\xd4","&Otilde":"\xd5","&Otilde;":"\xd5","&Ouml":"\xd6","&Ouml;":"\xd6","&times":"\xd7","&times;":"\xd7","&Oslash":"\xd8","&Oslash;":"\xd8","&Ugrave":"\xd9","&Ugrave;":"\xd9","&Uacute":"\xda","&Uacute;":"\xda","&Ucirc":"\xdb","&Ucirc;":"\xdb","&Uuml":"\xdc","&Uuml;":"\xdc","&Yacute":"\xdd","&Yacute;":"\xdd","&THORN":"\xde","&THORN;":"\xde","&szlig":"\xdf","&szlig;":"\xdf","&agrave":"\xe0","&agrave;":"\xe0","&aacute":"\xe1","&aacute;":"\xe1","&acirc":"\xe2","&acirc;":"\xe2","&atilde":"\xe3","&atilde;":"\xe3","&auml":"\xe4","&auml;":"\xe4","&aring":"\xe5","&aring;":"\xe5","&aelig":"\xe6","&aelig;":"\xe6","&ccedil":"\xe7","&ccedil;":"\xe7","&egrave":"\xe8","&egrave;":"\xe8","&eacute":"\xe9","&eacute;":"\xe9","&ecirc":"\xea","&ecirc;":"\xea","&euml":"\xeb","&euml;":"\xeb","&igrave":"\xec","&igrave;":"\xec","&iacute":"\xed","&iacute;":"\xed","&icirc":"\xee","&icirc;":"\xee","&iuml":"\xef","&iuml;":"\xef","&eth":"\xf0","&eth;":"\xf0","&ntilde":"\xf1","&ntilde;":"\xf1","&ograve":"\xf2","&ograve;":"\xf2","&oacute":"\xf3","&oacute;":"\xf3","&ocirc":"\xf4","&ocirc;":"\xf4","&otilde":"\xf5","&otilde;":"\xf5","&ouml":"\xf6","&ouml;":"\xf6","&divide":"\xf7","&divide;":"\xf7","&oslash":"\xf8","&oslash;":"\xf8","&ugrave":"\xf9","&ugrave;":"\xf9","&uacute":"\xfa","&uacute;":"\xfa","&ucirc":"\xfb","&ucirc;":"\xfb","&uuml":"\xfc","&uuml;":"\xfc","&yacute":"\xfd","&yacute;":"\xfd","&thorn":"\xfe","&thorn;":"\xfe","&yuml":"\xff","&yuml;":"\xff","&quot":'"',"&quot;":'"',"&amp":"&","&amp;":"&","&lt":"<","&lt;":"<","&gt":">","&gt;":">","&OElig;":"\u0152","&oelig;":"\u0153","&Scaron;":"\u0160","&scaron;":"\u0161","&Yuml;":"\u0178","&circ;":"\u02c6","&tilde;":"\u02dc","&ensp;":"\u2002","&emsp;":"\u2003","&thinsp;":"\u2009","&zwnj;":"\u200c","&zwj;":"\u200d","&lrm;":"\u200e","&rlm;":"\u200f","&ndash;":"\u2013","&mdash;":"\u2014","&lsquo;":"\u2018","&rsquo;":"\u2019","&sbquo;":"\u201a","&ldquo;":"\u201c","&rdquo;":"\u201d","&bdquo;":"\u201e","&dagger;":"\u2020","&Dagger;":"\u2021","&permil;":"\u2030","&lsaquo;":"\u2039","&rsaquo;":"\u203a","&euro;":"\u20ac","&fnof;":"\u0192","&Alpha;":"\u0391","&Beta;":"\u0392","&Gamma;":"\u0393","&Delta;":"\u0394","&Epsilon;":"\u0395","&Zeta;":"\u0396","&Eta;":"\u0397","&Theta;":"\u0398","&Iota;":"\u0399","&Kappa;":"\u039a","&Lambda;":"\u039b","&Mu;":"\u039c","&Nu;":"\u039d","&Xi;":"\u039e","&Omicron;":"\u039f","&Pi;":"\u03a0","&Rho;":"\u03a1","&Sigma;":"\u03a3","&Tau;":"\u03a4","&Upsilon;":"\u03a5","&Phi;":"\u03a6","&Chi;":"\u03a7","&Psi;":"\u03a8","&Omega;":"\u03a9","&alpha;":"\u03b1","&beta;":"\u03b2","&gamma;":"\u03b3","&delta;":"\u03b4","&epsilon;":"\u03b5","&zeta;":"\u03b6","&eta;":"\u03b7","&theta;":"\u03b8","&iota;":"\u03b9","&kappa;":"\u03ba","&lambda;":"\u03bb","&mu;":"\u03bc","&nu;":"\u03bd","&xi;":"\u03be","&omicron;":"\u03bf","&pi;":"\u03c0","&rho;":"\u03c1","&sigmaf;":"\u03c2","&sigma;":"\u03c3","&tau;":"\u03c4","&upsilon;":"\u03c5","&phi;":"\u03c6","&chi;":"\u03c7","&psi;":"\u03c8","&omega;":"\u03c9","&thetasym;":"\u03d1","&upsih;":"\u03d2","&piv;":"\u03d6","&bull;":"\u2022","&hellip;":"\u2026","&prime;":"\u2032","&Prime;":"\u2033","&oline;":"\u203e","&frasl;":"\u2044","&weierp;":"\u2118","&image;":"\u2111","&real;":"\u211c","&trade;":"\u2122","&alefsym;":"\u2135","&larr;":"\u2190","&uarr;":"\u2191","&rarr;":"\u2192","&darr;":"\u2193","&harr;":"\u2194","&crarr;":"\u21b5","&lArr;":"\u21d0","&uArr;":"\u21d1","&rArr;":"\u21d2","&dArr;":"\u21d3","&hArr;":"\u21d4","&forall;":"\u2200","&part;":"\u2202","&exist;":"\u2203","&empty;":"\u2205","&nabla;":"\u2207","&isin;":"\u2208","&notin;":"\u2209","&ni;":"\u220b","&prod;":"\u220f","&sum;":"\u2211","&minus;":"\u2212","&lowast;":"\u2217","&radic;":"\u221a","&prop;":"\u221d","&infin;":"\u221e","&ang;":"\u2220","&and;":"\u2227","&or;":"\u2228","&cap;":"\u2229","&cup;":"\u222a","&int;":"\u222b","&there4;":"\u2234","&sim;":"\u223c","&cong;":"\u2245","&asymp;":"\u2248","&ne;":"\u2260","&equiv;":"\u2261","&le;":"\u2264","&ge;":"\u2265","&sub;":"\u2282","&sup;":"\u2283","&nsub;":"\u2284","&sube;":"\u2286","&supe;":"\u2287","&oplus;":"\u2295","&otimes;":"\u2297","&perp;":"\u22a5","&sdot;":"\u22c5","&lceil;":"\u2308","&rceil;":"\u2309","&lfloor;":"\u230a","&rfloor;":"\u230b","&lang;":"\u2329","&rang;":"\u232a","&loz;":"\u25ca","&spades;":"\u2660","&clubs;":"\u2663","&hearts;":"\u2665","&diams;":"\u2666"},characters:{"'":"&apos;","\xa0":"&nbsp;","\xa1":"&iexcl;","\xa2":"&cent;","\xa3":"&pound;","\xa4":"&curren;","\xa5":"&yen;","\xa6":"&brvbar;","\xa7":"&sect;","\xa8":"&uml;","\xa9":"&copy;","\xaa":"&ordf;","\xab":"&laquo;","\xac":"&not;","\xad":"&shy;","\xae":"&reg;","\xaf":"&macr;","\xb0":"&deg;","\xb1":"&plusmn;","\xb2":"&sup2;","\xb3":"&sup3;","\xb4":"&acute;","\xb5":"&micro;","\xb6":"&para;","\xb7":"&middot;","\xb8":"&cedil;","\xb9":"&sup1;","\xba":"&ordm;","\xbb":"&raquo;","\xbc":"&frac14;","\xbd":"&frac12;","\xbe":"&frac34;","\xbf":"&iquest;","\xc0":"&Agrave;","\xc1":"&Aacute;","\xc2":"&Acirc;","\xc3":"&Atilde;","\xc4":"&Auml;","\xc5":"&Aring;","\xc6":"&AElig;","\xc7":"&Ccedil;","\xc8":"&Egrave;","\xc9":"&Eacute;","\xca":"&Ecirc;","\xcb":"&Euml;","\xcc":"&Igrave;","\xcd":"&Iacute;","\xce":"&Icirc;","\xcf":"&Iuml;","\xd0":"&ETH;","\xd1":"&Ntilde;","\xd2":"&Ograve;","\xd3":"&Oacute;","\xd4":"&Ocirc;","\xd5":"&Otilde;","\xd6":"&Ouml;","\xd7":"&times;","\xd8":"&Oslash;","\xd9":"&Ugrave;","\xda":"&Uacute;","\xdb":"&Ucirc;","\xdc":"&Uuml;","\xdd":"&Yacute;","\xde":"&THORN;","\xdf":"&szlig;","\xe0":"&agrave;","\xe1":"&aacute;","\xe2":"&acirc;","\xe3":"&atilde;","\xe4":"&auml;","\xe5":"&aring;","\xe6":"&aelig;","\xe7":"&ccedil;","\xe8":"&egrave;","\xe9":"&eacute;","\xea":"&ecirc;","\xeb":"&euml;","\xec":"&igrave;","\xed":"&iacute;","\xee":"&icirc;","\xef":"&iuml;","\xf0":"&eth;","\xf1":"&ntilde;","\xf2":"&ograve;","\xf3":"&oacute;","\xf4":"&ocirc;","\xf5":"&otilde;","\xf6":"&ouml;","\xf7":"&divide;","\xf8":"&oslash;","\xf9":"&ugrave;","\xfa":"&uacute;","\xfb":"&ucirc;","\xfc":"&uuml;","\xfd":"&yacute;","\xfe":"&thorn;","\xff":"&yuml;",'"':"&quot;","&":"&amp;","<":"&lt;",">":"&gt;","\u0152":"&OElig;","\u0153":"&oelig;","\u0160":"&Scaron;","\u0161":"&scaron;","\u0178":"&Yuml;","\u02c6":"&circ;","\u02dc":"&tilde;","\u2002":"&ensp;","\u2003":"&emsp;","\u2009":"&thinsp;","\u200c":"&zwnj;","\u200d":"&zwj;","\u200e":"&lrm;","\u200f":"&rlm;","\u2013":"&ndash;","\u2014":"&mdash;","\u2018":"&lsquo;","\u2019":"&rsquo;","\u201a":"&sbquo;","\u201c":"&ldquo;","\u201d":"&rdquo;","\u201e":"&bdquo;","\u2020":"&dagger;","\u2021":"&Dagger;","\u2030":"&permil;","\u2039":"&lsaquo;","\u203a":"&rsaquo;","\u20ac":"&euro;","\u0192":"&fnof;","\u0391":"&Alpha;","\u0392":"&Beta;","\u0393":"&Gamma;","\u0394":"&Delta;","\u0395":"&Epsilon;","\u0396":"&Zeta;","\u0397":"&Eta;","\u0398":"&Theta;","\u0399":"&Iota;","\u039a":"&Kappa;","\u039b":"&Lambda;","\u039c":"&Mu;","\u039d":"&Nu;","\u039e":"&Xi;","\u039f":"&Omicron;","\u03a0":"&Pi;","\u03a1":"&Rho;","\u03a3":"&Sigma;","\u03a4":"&Tau;","\u03a5":"&Upsilon;","\u03a6":"&Phi;","\u03a7":"&Chi;","\u03a8":"&Psi;","\u03a9":"&Omega;","\u03b1":"&alpha;","\u03b2":"&beta;","\u03b3":"&gamma;","\u03b4":"&delta;","\u03b5":"&epsilon;","\u03b6":"&zeta;","\u03b7":"&eta;","\u03b8":"&theta;","\u03b9":"&iota;","\u03ba":"&kappa;","\u03bb":"&lambda;","\u03bc":"&mu;","\u03bd":"&nu;","\u03be":"&xi;","\u03bf":"&omicron;","\u03c0":"&pi;","\u03c1":"&rho;","\u03c2":"&sigmaf;","\u03c3":"&sigma;","\u03c4":"&tau;","\u03c5":"&upsilon;","\u03c6":"&phi;","\u03c7":"&chi;","\u03c8":"&psi;","\u03c9":"&omega;","\u03d1":"&thetasym;","\u03d2":"&upsih;","\u03d6":"&piv;","\u2022":"&bull;","\u2026":"&hellip;","\u2032":"&prime;","\u2033":"&Prime;","\u203e":"&oline;","\u2044":"&frasl;","\u2118":"&weierp;","\u2111":"&image;","\u211c":"&real;","\u2122":"&trade;","\u2135":"&alefsym;","\u2190":"&larr;","\u2191":"&uarr;","\u2192":"&rarr;","\u2193":"&darr;","\u2194":"&harr;","\u21b5":"&crarr;","\u21d0":"&lArr;","\u21d1":"&uArr;","\u21d2":"&rArr;","\u21d3":"&dArr;","\u21d4":"&hArr;","\u2200":"&forall;","\u2202":"&part;","\u2203":"&exist;","\u2205":"&empty;","\u2207":"&nabla;","\u2208":"&isin;","\u2209":"&notin;","\u220b":"&ni;","\u220f":"&prod;","\u2211":"&sum;","\u2212":"&minus;","\u2217":"&lowast;","\u221a":"&radic;","\u221d":"&prop;","\u221e":"&infin;","\u2220":"&ang;","\u2227":"&and;","\u2228":"&or;","\u2229":"&cap;","\u222a":"&cup;","\u222b":"&int;","\u2234":"&there4;","\u223c":"&sim;","\u2245":"&cong;","\u2248":"&asymp;","\u2260":"&ne;","\u2261":"&equiv;","\u2264":"&le;","\u2265":"&ge;","\u2282":"&sub;","\u2283":"&sup;","\u2284":"&nsub;","\u2286":"&sube;","\u2287":"&supe;","\u2295":"&oplus;","\u2297":"&otimes;","\u22a5":"&perp;","\u22c5":"&sdot;","\u2308":"&lceil;","\u2309":"&rceil;","\u230a":"&lfloor;","\u230b":"&rfloor;","\u2329":"&lang;","\u232a":"&rang;","\u25ca":"&loz;","\u2660":"&spades;","\u2663":"&clubs;","\u2665":"&hearts;","\u2666":"&diams;"}},html5:{entities:{"&AElig":"\xc6","&AElig;":"\xc6","&AMP":"&","&AMP;":"&","&Aacute":"\xc1","&Aacute;":"\xc1","&Abreve;":"\u0102","&Acirc":"\xc2","&Acirc;":"\xc2","&Acy;":"\u0410","&Afr;":"\ud835\udd04","&Agrave":"\xc0","&Agrave;":"\xc0","&Alpha;":"\u0391","&Amacr;":"\u0100","&And;":"\u2a53","&Aogon;":"\u0104","&Aopf;":"\ud835\udd38","&ApplyFunction;":"\u2061","&Aring":"\xc5","&Aring;":"\xc5","&Ascr;":"\ud835\udc9c","&Assign;":"\u2254","&Atilde":"\xc3","&Atilde;":"\xc3","&Auml":"\xc4","&Auml;":"\xc4","&Backslash;":"\u2216","&Barv;":"\u2ae7","&Barwed;":"\u2306","&Bcy;":"\u0411","&Because;":"\u2235","&Bernoullis;":"\u212c","&Beta;":"\u0392","&Bfr;":"\ud835\udd05","&Bopf;":"\ud835\udd39","&Breve;":"\u02d8","&Bscr;":"\u212c","&Bumpeq;":"\u224e","&CHcy;":"\u0427","&COPY":"\xa9","&COPY;":"\xa9","&Cacute;":"\u0106","&Cap;":"\u22d2","&CapitalDifferentialD;":"\u2145","&Cayleys;":"\u212d","&Ccaron;":"\u010c","&Ccedil":"\xc7","&Ccedil;":"\xc7","&Ccirc;":"\u0108","&Cconint;":"\u2230","&Cdot;":"\u010a","&Cedilla;":"\xb8","&CenterDot;":"\xb7","&Cfr;":"\u212d","&Chi;":"\u03a7","&CircleDot;":"\u2299","&CircleMinus;":"\u2296","&CirclePlus;":"\u2295","&CircleTimes;":"\u2297","&ClockwiseContourIntegral;":"\u2232","&CloseCurlyDoubleQuote;":"\u201d","&CloseCurlyQuote;":"\u2019","&Colon;":"\u2237","&Colone;":"\u2a74","&Congruent;":"\u2261","&Conint;":"\u222f","&ContourIntegral;":"\u222e","&Copf;":"\u2102","&Coproduct;":"\u2210","&CounterClockwiseContourIntegral;":"\u2233","&Cross;":"\u2a2f","&Cscr;":"\ud835\udc9e","&Cup;":"\u22d3","&CupCap;":"\u224d","&DD;":"\u2145","&DDotrahd;":"\u2911","&DJcy;":"\u0402","&DScy;":"\u0405","&DZcy;":"\u040f","&Dagger;":"\u2021","&Darr;":"\u21a1","&Dashv;":"\u2ae4","&Dcaron;":"\u010e","&Dcy;":"\u0414","&Del;":"\u2207","&Delta;":"\u0394","&Dfr;":"\ud835\udd07","&DiacriticalAcute;":"\xb4","&DiacriticalDot;":"\u02d9","&DiacriticalDoubleAcute;":"\u02dd","&DiacriticalGrave;":"`","&DiacriticalTilde;":"\u02dc","&Diamond;":"\u22c4","&DifferentialD;":"\u2146","&Dopf;":"\ud835\udd3b","&Dot;":"\xa8","&DotDot;":"\u20dc","&DotEqual;":"\u2250","&DoubleContourIntegral;":"\u222f","&DoubleDot;":"\xa8","&DoubleDownArrow;":"\u21d3","&DoubleLeftArrow;":"\u21d0","&DoubleLeftRightArrow;":"\u21d4","&DoubleLeftTee;":"\u2ae4","&DoubleLongLeftArrow;":"\u27f8","&DoubleLongLeftRightArrow;":"\u27fa","&DoubleLongRightArrow;":"\u27f9","&DoubleRightArrow;":"\u21d2","&DoubleRightTee;":"\u22a8","&DoubleUpArrow;":"\u21d1","&DoubleUpDownArrow;":"\u21d5","&DoubleVerticalBar;":"\u2225","&DownArrow;":"\u2193","&DownArrowBar;":"\u2913","&DownArrowUpArrow;":"\u21f5","&DownBreve;":"\u0311","&DownLeftRightVector;":"\u2950","&DownLeftTeeVector;":"\u295e","&DownLeftVector;":"\u21bd","&DownLeftVectorBar;":"\u2956","&DownRightTeeVector;":"\u295f","&DownRightVector;":"\u21c1","&DownRightVectorBar;":"\u2957","&DownTee;":"\u22a4","&DownTeeArrow;":"\u21a7","&Downarrow;":"\u21d3","&Dscr;":"\ud835\udc9f","&Dstrok;":"\u0110","&ENG;":"\u014a","&ETH":"\xd0","&ETH;":"\xd0","&Eacute":"\xc9","&Eacute;":"\xc9","&Ecaron;":"\u011a","&Ecirc":"\xca","&Ecirc;":"\xca","&Ecy;":"\u042d","&Edot;":"\u0116","&Efr;":"\ud835\udd08","&Egrave":"\xc8","&Egrave;":"\xc8","&Element;":"\u2208","&Emacr;":"\u0112","&EmptySmallSquare;":"\u25fb","&EmptyVerySmallSquare;":"\u25ab","&Eogon;":"\u0118","&Eopf;":"\ud835\udd3c","&Epsilon;":"\u0395","&Equal;":"\u2a75","&EqualTilde;":"\u2242","&Equilibrium;":"\u21cc","&Escr;":"\u2130","&Esim;":"\u2a73","&Eta;":"\u0397","&Euml":"\xcb","&Euml;":"\xcb","&Exists;":"\u2203","&ExponentialE;":"\u2147","&Fcy;":"\u0424","&Ffr;":"\ud835\udd09","&FilledSmallSquare;":"\u25fc","&FilledVerySmallSquare;":"\u25aa","&Fopf;":"\ud835\udd3d","&ForAll;":"\u2200","&Fouriertrf;":"\u2131","&Fscr;":"\u2131","&GJcy;":"\u0403","&GT":">","&GT;":">","&Gamma;":"\u0393","&Gammad;":"\u03dc","&Gbreve;":"\u011e","&Gcedil;":"\u0122","&Gcirc;":"\u011c","&Gcy;":"\u0413","&Gdot;":"\u0120","&Gfr;":"\ud835\udd0a","&Gg;":"\u22d9","&Gopf;":"\ud835\udd3e","&GreaterEqual;":"\u2265","&GreaterEqualLess;":"\u22db","&GreaterFullEqual;":"\u2267","&GreaterGreater;":"\u2aa2","&GreaterLess;":"\u2277","&GreaterSlantEqual;":"\u2a7e","&GreaterTilde;":"\u2273","&Gscr;":"\ud835\udca2","&Gt;":"\u226b","&HARDcy;":"\u042a","&Hacek;":"\u02c7","&Hat;":"^","&Hcirc;":"\u0124","&Hfr;":"\u210c","&HilbertSpace;":"\u210b","&Hopf;":"\u210d","&HorizontalLine;":"\u2500","&Hscr;":"\u210b","&Hstrok;":"\u0126","&HumpDownHump;":"\u224e","&HumpEqual;":"\u224f","&IEcy;":"\u0415","&IJlig;":"\u0132","&IOcy;":"\u0401","&Iacute":"\xcd","&Iacute;":"\xcd","&Icirc":"\xce","&Icirc;":"\xce","&Icy;":"\u0418","&Idot;":"\u0130","&Ifr;":"\u2111","&Igrave":"\xcc","&Igrave;":"\xcc","&Im;":"\u2111","&Imacr;":"\u012a","&ImaginaryI;":"\u2148","&Implies;":"\u21d2","&Int;":"\u222c","&Integral;":"\u222b","&Intersection;":"\u22c2","&InvisibleComma;":"\u2063","&InvisibleTimes;":"\u2062","&Iogon;":"\u012e","&Iopf;":"\ud835\udd40","&Iota;":"\u0399","&Iscr;":"\u2110","&Itilde;":"\u0128","&Iukcy;":"\u0406","&Iuml":"\xcf","&Iuml;":"\xcf","&Jcirc;":"\u0134","&Jcy;":"\u0419","&Jfr;":"\ud835\udd0d","&Jopf;":"\ud835\udd41","&Jscr;":"\ud835\udca5","&Jsercy;":"\u0408","&Jukcy;":"\u0404","&KHcy;":"\u0425","&KJcy;":"\u040c","&Kappa;":"\u039a","&Kcedil;":"\u0136","&Kcy;":"\u041a","&Kfr;":"\ud835\udd0e","&Kopf;":"\ud835\udd42","&Kscr;":"\ud835\udca6","&LJcy;":"\u0409","&LT":"<","&LT;":"<","&Lacute;":"\u0139","&Lambda;":"\u039b","&Lang;":"\u27ea","&Laplacetrf;":"\u2112","&Larr;":"\u219e","&Lcaron;":"\u013d","&Lcedil;":"\u013b","&Lcy;":"\u041b","&LeftAngleBracket;":"\u27e8","&LeftArrow;":"\u2190","&LeftArrowBar;":"\u21e4","&LeftArrowRightArrow;":"\u21c6","&LeftCeiling;":"\u2308","&LeftDoubleBracket;":"\u27e6","&LeftDownTeeVector;":"\u2961","&LeftDownVector;":"\u21c3","&LeftDownVectorBar;":"\u2959","&LeftFloor;":"\u230a","&LeftRightArrow;":"\u2194","&LeftRightVector;":"\u294e","&LeftTee;":"\u22a3","&LeftTeeArrow;":"\u21a4","&LeftTeeVector;":"\u295a","&LeftTriangle;":"\u22b2","&LeftTriangleBar;":"\u29cf","&LeftTriangleEqual;":"\u22b4","&LeftUpDownVector;":"\u2951","&LeftUpTeeVector;":"\u2960","&LeftUpVector;":"\u21bf","&LeftUpVectorBar;":"\u2958","&LeftVector;":"\u21bc","&LeftVectorBar;":"\u2952","&Leftarrow;":"\u21d0","&Leftrightarrow;":"\u21d4","&LessEqualGreater;":"\u22da","&LessFullEqual;":"\u2266","&LessGreater;":"\u2276","&LessLess;":"\u2aa1","&LessSlantEqual;":"\u2a7d","&LessTilde;":"\u2272","&Lfr;":"\ud835\udd0f","&Ll;":"\u22d8","&Lleftarrow;":"\u21da","&Lmidot;":"\u013f","&LongLeftArrow;":"\u27f5","&LongLeftRightArrow;":"\u27f7","&LongRightArrow;":"\u27f6","&Longleftarrow;":"\u27f8","&Longleftrightarrow;":"\u27fa","&Longrightarrow;":"\u27f9","&Lopf;":"\ud835\udd43","&LowerLeftArrow;":"\u2199","&LowerRightArrow;":"\u2198","&Lscr;":"\u2112","&Lsh;":"\u21b0","&Lstrok;":"\u0141","&Lt;":"\u226a","&Map;":"\u2905","&Mcy;":"\u041c","&MediumSpace;":"\u205f","&Mellintrf;":"\u2133","&Mfr;":"\ud835\udd10","&MinusPlus;":"\u2213","&Mopf;":"\ud835\udd44","&Mscr;":"\u2133","&Mu;":"\u039c","&NJcy;":"\u040a","&Nacute;":"\u0143","&Ncaron;":"\u0147","&Ncedil;":"\u0145","&Ncy;":"\u041d","&NegativeMediumSpace;":"\u200b","&NegativeThickSpace;":"\u200b","&NegativeThinSpace;":"\u200b","&NegativeVeryThinSpace;":"\u200b","&NestedGreaterGreater;":"\u226b","&NestedLessLess;":"\u226a","&NewLine;":"\n","&Nfr;":"\ud835\udd11","&NoBreak;":"\u2060","&NonBreakingSpace;":"\xa0","&Nopf;":"\u2115","&Not;":"\u2aec","&NotCongruent;":"\u2262","&NotCupCap;":"\u226d","&NotDoubleVerticalBar;":"\u2226","&NotElement;":"\u2209","&NotEqual;":"\u2260","&NotEqualTilde;":"\u2242\u0338","&NotExists;":"\u2204","&NotGreater;":"\u226f","&NotGreaterEqual;":"\u2271","&NotGreaterFullEqual;":"\u2267\u0338","&NotGreaterGreater;":"\u226b\u0338","&NotGreaterLess;":"\u2279","&NotGreaterSlantEqual;":"\u2a7e\u0338","&NotGreaterTilde;":"\u2275","&NotHumpDownHump;":"\u224e\u0338","&NotHumpEqual;":"\u224f\u0338","&NotLeftTriangle;":"\u22ea","&NotLeftTriangleBar;":"\u29cf\u0338","&NotLeftTriangleEqual;":"\u22ec","&NotLess;":"\u226e","&NotLessEqual;":"\u2270","&NotLessGreater;":"\u2278","&NotLessLess;":"\u226a\u0338","&NotLessSlantEqual;":"\u2a7d\u0338","&NotLessTilde;":"\u2274","&NotNestedGreaterGreater;":"\u2aa2\u0338","&NotNestedLessLess;":"\u2aa1\u0338","&NotPrecedes;":"\u2280","&NotPrecedesEqual;":"\u2aaf\u0338","&NotPrecedesSlantEqual;":"\u22e0","&NotReverseElement;":"\u220c","&NotRightTriangle;":"\u22eb","&NotRightTriangleBar;":"\u29d0\u0338","&NotRightTriangleEqual;":"\u22ed","&NotSquareSubset;":"\u228f\u0338","&NotSquareSubsetEqual;":"\u22e2","&NotSquareSuperset;":"\u2290\u0338","&NotSquareSupersetEqual;":"\u22e3","&NotSubset;":"\u2282\u20d2","&NotSubsetEqual;":"\u2288","&NotSucceeds;":"\u2281","&NotSucceedsEqual;":"\u2ab0\u0338","&NotSucceedsSlantEqual;":"\u22e1","&NotSucceedsTilde;":"\u227f\u0338","&NotSuperset;":"\u2283\u20d2","&NotSupersetEqual;":"\u2289","&NotTilde;":"\u2241","&NotTildeEqual;":"\u2244","&NotTildeFullEqual;":"\u2247","&NotTildeTilde;":"\u2249","&NotVerticalBar;":"\u2224","&Nscr;":"\ud835\udca9","&Ntilde":"\xd1","&Ntilde;":"\xd1","&Nu;":"\u039d","&OElig;":"\u0152","&Oacute":"\xd3","&Oacute;":"\xd3","&Ocirc":"\xd4","&Ocirc;":"\xd4","&Ocy;":"\u041e","&Odblac;":"\u0150","&Ofr;":"\ud835\udd12","&Ograve":"\xd2","&Ograve;":"\xd2","&Omacr;":"\u014c","&Omega;":"\u03a9","&Omicron;":"\u039f","&Oopf;":"\ud835\udd46","&OpenCurlyDoubleQuote;":"\u201c","&OpenCurlyQuote;":"\u2018","&Or;":"\u2a54","&Oscr;":"\ud835\udcaa","&Oslash":"\xd8","&Oslash;":"\xd8","&Otilde":"\xd5","&Otilde;":"\xd5","&Otimes;":"\u2a37","&Ouml":"\xd6","&Ouml;":"\xd6","&OverBar;":"\u203e","&OverBrace;":"\u23de","&OverBracket;":"\u23b4","&OverParenthesis;":"\u23dc","&PartialD;":"\u2202","&Pcy;":"\u041f","&Pfr;":"\ud835\udd13","&Phi;":"\u03a6","&Pi;":"\u03a0","&PlusMinus;":"\xb1","&Poincareplane;":"\u210c","&Popf;":"\u2119","&Pr;":"\u2abb","&Precedes;":"\u227a","&PrecedesEqual;":"\u2aaf","&PrecedesSlantEqual;":"\u227c","&PrecedesTilde;":"\u227e","&Prime;":"\u2033","&Product;":"\u220f","&Proportion;":"\u2237","&Proportional;":"\u221d","&Pscr;":"\ud835\udcab","&Psi;":"\u03a8","&QUOT":'"',"&QUOT;":'"',"&Qfr;":"\ud835\udd14","&Qopf;":"\u211a","&Qscr;":"\ud835\udcac","&RBarr;":"\u2910","&REG":"\xae","&REG;":"\xae","&Racute;":"\u0154","&Rang;":"\u27eb","&Rarr;":"\u21a0","&Rarrtl;":"\u2916","&Rcaron;":"\u0158","&Rcedil;":"\u0156","&Rcy;":"\u0420","&Re;":"\u211c","&ReverseElement;":"\u220b","&ReverseEquilibrium;":"\u21cb","&ReverseUpEquilibrium;":"\u296f","&Rfr;":"\u211c","&Rho;":"\u03a1","&RightAngleBracket;":"\u27e9","&RightArrow;":"\u2192","&RightArrowBar;":"\u21e5","&RightArrowLeftArrow;":"\u21c4","&RightCeiling;":"\u2309","&RightDoubleBracket;":"\u27e7","&RightDownTeeVector;":"\u295d","&RightDownVector;":"\u21c2","&RightDownVectorBar;":"\u2955","&RightFloor;":"\u230b","&RightTee;":"\u22a2","&RightTeeArrow;":"\u21a6","&RightTeeVector;":"\u295b","&RightTriangle;":"\u22b3","&RightTriangleBar;":"\u29d0","&RightTriangleEqual;":"\u22b5","&RightUpDownVector;":"\u294f","&RightUpTeeVector;":"\u295c","&RightUpVector;":"\u21be","&RightUpVectorBar;":"\u2954","&RightVector;":"\u21c0","&RightVectorBar;":"\u2953","&Rightarrow;":"\u21d2","&Ropf;":"\u211d","&RoundImplies;":"\u2970","&Rrightarrow;":"\u21db","&Rscr;":"\u211b","&Rsh;":"\u21b1","&RuleDelayed;":"\u29f4","&SHCHcy;":"\u0429","&SHcy;":"\u0428","&SOFTcy;":"\u042c","&Sacute;":"\u015a","&Sc;":"\u2abc","&Scaron;":"\u0160","&Scedil;":"\u015e","&Scirc;":"\u015c","&Scy;":"\u0421","&Sfr;":"\ud835\udd16","&ShortDownArrow;":"\u2193","&ShortLeftArrow;":"\u2190","&ShortRightArrow;":"\u2192","&ShortUpArrow;":"\u2191","&Sigma;":"\u03a3","&SmallCircle;":"\u2218","&Sopf;":"\ud835\udd4a","&Sqrt;":"\u221a","&Square;":"\u25a1","&SquareIntersection;":"\u2293","&SquareSubset;":"\u228f","&SquareSubsetEqual;":"\u2291","&SquareSuperset;":"\u2290","&SquareSupersetEqual;":"\u2292","&SquareUnion;":"\u2294","&Sscr;":"\ud835\udcae","&Star;":"\u22c6","&Sub;":"\u22d0","&Subset;":"\u22d0","&SubsetEqual;":"\u2286","&Succeeds;":"\u227b","&SucceedsEqual;":"\u2ab0","&SucceedsSlantEqual;":"\u227d","&SucceedsTilde;":"\u227f","&SuchThat;":"\u220b","&Sum;":"\u2211","&Sup;":"\u22d1","&Superset;":"\u2283","&SupersetEqual;":"\u2287","&Supset;":"\u22d1","&THORN":"\xde","&THORN;":"\xde","&TRADE;":"\u2122","&TSHcy;":"\u040b","&TScy;":"\u0426","&Tab;":"\t","&Tau;":"\u03a4","&Tcaron;":"\u0164","&Tcedil;":"\u0162","&Tcy;":"\u0422","&Tfr;":"\ud835\udd17","&Therefore;":"\u2234","&Theta;":"\u0398","&ThickSpace;":"\u205f\u200a","&ThinSpace;":"\u2009","&Tilde;":"\u223c","&TildeEqual;":"\u2243","&TildeFullEqual;":"\u2245","&TildeTilde;":"\u2248","&Topf;":"\ud835\udd4b","&TripleDot;":"\u20db","&Tscr;":"\ud835\udcaf","&Tstrok;":"\u0166","&Uacute":"\xda","&Uacute;":"\xda","&Uarr;":"\u219f","&Uarrocir;":"\u2949","&Ubrcy;":"\u040e","&Ubreve;":"\u016c","&Ucirc":"\xdb","&Ucirc;":"\xdb","&Ucy;":"\u0423","&Udblac;":"\u0170","&Ufr;":"\ud835\udd18","&Ugrave":"\xd9","&Ugrave;":"\xd9","&Umacr;":"\u016a","&UnderBar;":"_","&UnderBrace;":"\u23df","&UnderBracket;":"\u23b5","&UnderParenthesis;":"\u23dd","&Union;":"\u22c3","&UnionPlus;":"\u228e","&Uogon;":"\u0172","&Uopf;":"\ud835\udd4c","&UpArrow;":"\u2191","&UpArrowBar;":"\u2912","&UpArrowDownArrow;":"\u21c5","&UpDownArrow;":"\u2195","&UpEquilibrium;":"\u296e","&UpTee;":"\u22a5","&UpTeeArrow;":"\u21a5","&Uparrow;":"\u21d1","&Updownarrow;":"\u21d5","&UpperLeftArrow;":"\u2196","&UpperRightArrow;":"\u2197","&Upsi;":"\u03d2","&Upsilon;":"\u03a5","&Uring;":"\u016e","&Uscr;":"\ud835\udcb0","&Utilde;":"\u0168","&Uuml":"\xdc","&Uuml;":"\xdc","&VDash;":"\u22ab","&Vbar;":"\u2aeb","&Vcy;":"\u0412","&Vdash;":"\u22a9","&Vdashl;":"\u2ae6","&Vee;":"\u22c1","&Verbar;":"\u2016","&Vert;":"\u2016","&VerticalBar;":"\u2223","&VerticalLine;":"|","&VerticalSeparator;":"\u2758","&VerticalTilde;":"\u2240","&VeryThinSpace;":"\u200a","&Vfr;":"\ud835\udd19","&Vopf;":"\ud835\udd4d","&Vscr;":"\ud835\udcb1","&Vvdash;":"\u22aa","&Wcirc;":"\u0174","&Wedge;":"\u22c0","&Wfr;":"\ud835\udd1a","&Wopf;":"\ud835\udd4e","&Wscr;":"\ud835\udcb2","&Xfr;":"\ud835\udd1b","&Xi;":"\u039e","&Xopf;":"\ud835\udd4f","&Xscr;":"\ud835\udcb3","&YAcy;":"\u042f","&YIcy;":"\u0407","&YUcy;":"\u042e","&Yacute":"\xdd","&Yacute;":"\xdd","&Ycirc;":"\u0176","&Ycy;":"\u042b","&Yfr;":"\ud835\udd1c","&Yopf;":"\ud835\udd50","&Yscr;":"\ud835\udcb4","&Yuml;":"\u0178","&ZHcy;":"\u0416","&Zacute;":"\u0179","&Zcaron;":"\u017d","&Zcy;":"\u0417","&Zdot;":"\u017b","&ZeroWidthSpace;":"\u200b","&Zeta;":"\u0396","&Zfr;":"\u2128","&Zopf;":"\u2124","&Zscr;":"\ud835\udcb5","&aacute":"\xe1","&aacute;":"\xe1","&abreve;":"\u0103","&ac;":"\u223e","&acE;":"\u223e\u0333","&acd;":"\u223f","&acirc":"\xe2","&acirc;":"\xe2","&acute":"\xb4","&acute;":"\xb4","&acy;":"\u0430","&aelig":"\xe6","&aelig;":"\xe6","&af;":"\u2061","&afr;":"\ud835\udd1e","&agrave":"\xe0","&agrave;":"\xe0","&alefsym;":"\u2135","&aleph;":"\u2135","&alpha;":"\u03b1","&amacr;":"\u0101","&amalg;":"\u2a3f","&amp":"&","&amp;":"&","&and;":"\u2227","&andand;":"\u2a55","&andd;":"\u2a5c","&andslope;":"\u2a58","&andv;":"\u2a5a","&ang;":"\u2220","&ange;":"\u29a4","&angle;":"\u2220","&angmsd;":"\u2221","&angmsdaa;":"\u29a8","&angmsdab;":"\u29a9","&angmsdac;":"\u29aa","&angmsdad;":"\u29ab","&angmsdae;":"\u29ac","&angmsdaf;":"\u29ad","&angmsdag;":"\u29ae","&angmsdah;":"\u29af","&angrt;":"\u221f","&angrtvb;":"\u22be","&angrtvbd;":"\u299d","&angsph;":"\u2222","&angst;":"\xc5","&angzarr;":"\u237c","&aogon;":"\u0105","&aopf;":"\ud835\udd52","&ap;":"\u2248","&apE;":"\u2a70","&apacir;":"\u2a6f","&ape;":"\u224a","&apid;":"\u224b","&apos;":"'","&approx;":"\u2248","&approxeq;":"\u224a","&aring":"\xe5","&aring;":"\xe5","&ascr;":"\ud835\udcb6","&ast;":"*","&asymp;":"\u2248","&asympeq;":"\u224d","&atilde":"\xe3","&atilde;":"\xe3","&auml":"\xe4","&auml;":"\xe4","&awconint;":"\u2233","&awint;":"\u2a11","&bNot;":"\u2aed","&backcong;":"\u224c","&backepsilon;":"\u03f6","&backprime;":"\u2035","&backsim;":"\u223d","&backsimeq;":"\u22cd","&barvee;":"\u22bd","&barwed;":"\u2305","&barwedge;":"\u2305","&bbrk;":"\u23b5","&bbrktbrk;":"\u23b6","&bcong;":"\u224c","&bcy;":"\u0431","&bdquo;":"\u201e","&becaus;":"\u2235","&because;":"\u2235","&bemptyv;":"\u29b0","&bepsi;":"\u03f6","&bernou;":"\u212c","&beta;":"\u03b2","&beth;":"\u2136","&between;":"\u226c","&bfr;":"\ud835\udd1f","&bigcap;":"\u22c2","&bigcirc;":"\u25ef","&bigcup;":"\u22c3","&bigodot;":"\u2a00","&bigoplus;":"\u2a01","&bigotimes;":"\u2a02","&bigsqcup;":"\u2a06","&bigstar;":"\u2605","&bigtriangledown;":"\u25bd","&bigtriangleup;":"\u25b3","&biguplus;":"\u2a04","&bigvee;":"\u22c1","&bigwedge;":"\u22c0","&bkarow;":"\u290d","&blacklozenge;":"\u29eb","&blacksquare;":"\u25aa","&blacktriangle;":"\u25b4","&blacktriangledown;":"\u25be","&blacktriangleleft;":"\u25c2","&blacktriangleright;":"\u25b8","&blank;":"\u2423","&blk12;":"\u2592","&blk14;":"\u2591","&blk34;":"\u2593","&block;":"\u2588","&bne;":"=\u20e5","&bnequiv;":"\u2261\u20e5","&bnot;":"\u2310","&bopf;":"\ud835\udd53","&bot;":"\u22a5","&bottom;":"\u22a5","&bowtie;":"\u22c8","&boxDL;":"\u2557","&boxDR;":"\u2554","&boxDl;":"\u2556","&boxDr;":"\u2553","&boxH;":"\u2550","&boxHD;":"\u2566","&boxHU;":"\u2569","&boxHd;":"\u2564","&boxHu;":"\u2567","&boxUL;":"\u255d","&boxUR;":"\u255a","&boxUl;":"\u255c","&boxUr;":"\u2559","&boxV;":"\u2551","&boxVH;":"\u256c","&boxVL;":"\u2563","&boxVR;":"\u2560","&boxVh;":"\u256b","&boxVl;":"\u2562","&boxVr;":"\u255f","&boxbox;":"\u29c9","&boxdL;":"\u2555","&boxdR;":"\u2552","&boxdl;":"\u2510","&boxdr;":"\u250c","&boxh;":"\u2500","&boxhD;":"\u2565","&boxhU;":"\u2568","&boxhd;":"\u252c","&boxhu;":"\u2534","&boxminus;":"\u229f","&boxplus;":"\u229e","&boxtimes;":"\u22a0","&boxuL;":"\u255b","&boxuR;":"\u2558","&boxul;":"\u2518","&boxur;":"\u2514","&boxv;":"\u2502","&boxvH;":"\u256a","&boxvL;":"\u2561","&boxvR;":"\u255e","&boxvh;":"\u253c","&boxvl;":"\u2524","&boxvr;":"\u251c","&bprime;":"\u2035","&breve;":"\u02d8","&brvbar":"\xa6","&brvbar;":"\xa6","&bscr;":"\ud835\udcb7","&bsemi;":"\u204f","&bsim;":"\u223d","&bsime;":"\u22cd","&bsol;":"\\","&bsolb;":"\u29c5","&bsolhsub;":"\u27c8","&bull;":"\u2022","&bullet;":"\u2022","&bump;":"\u224e","&bumpE;":"\u2aae","&bumpe;":"\u224f","&bumpeq;":"\u224f","&cacute;":"\u0107","&cap;":"\u2229","&capand;":"\u2a44","&capbrcup;":"\u2a49","&capcap;":"\u2a4b","&capcup;":"\u2a47","&capdot;":"\u2a40","&caps;":"\u2229\ufe00","&caret;":"\u2041","&caron;":"\u02c7","&ccaps;":"\u2a4d","&ccaron;":"\u010d","&ccedil":"\xe7","&ccedil;":"\xe7","&ccirc;":"\u0109","&ccups;":"\u2a4c","&ccupssm;":"\u2a50","&cdot;":"\u010b","&cedil":"\xb8","&cedil;":"\xb8","&cemptyv;":"\u29b2","&cent":"\xa2","&cent;":"\xa2","&centerdot;":"\xb7","&cfr;":"\ud835\udd20","&chcy;":"\u0447","&check;":"\u2713","&checkmark;":"\u2713","&chi;":"\u03c7","&cir;":"\u25cb","&cirE;":"\u29c3","&circ;":"\u02c6","&circeq;":"\u2257","&circlearrowleft;":"\u21ba","&circlearrowright;":"\u21bb","&circledR;":"\xae","&circledS;":"\u24c8","&circledast;":"\u229b","&circledcirc;":"\u229a","&circleddash;":"\u229d","&cire;":"\u2257","&cirfnint;":"\u2a10","&cirmid;":"\u2aef","&cirscir;":"\u29c2","&clubs;":"\u2663","&clubsuit;":"\u2663","&colon;":":","&colone;":"\u2254","&coloneq;":"\u2254","&comma;":",","&commat;":"@","&comp;":"\u2201","&compfn;":"\u2218","&complement;":"\u2201","&complexes;":"\u2102","&cong;":"\u2245","&congdot;":"\u2a6d","&conint;":"\u222e","&copf;":"\ud835\udd54","&coprod;":"\u2210","&copy":"\xa9","&copy;":"\xa9","&copysr;":"\u2117","&crarr;":"\u21b5","&cross;":"\u2717","&cscr;":"\ud835\udcb8","&csub;":"\u2acf","&csube;":"\u2ad1","&csup;":"\u2ad0","&csupe;":"\u2ad2","&ctdot;":"\u22ef","&cudarrl;":"\u2938","&cudarrr;":"\u2935","&cuepr;":"\u22de","&cuesc;":"\u22df","&cularr;":"\u21b6","&cularrp;":"\u293d","&cup;":"\u222a","&cupbrcap;":"\u2a48","&cupcap;":"\u2a46","&cupcup;":"\u2a4a","&cupdot;":"\u228d","&cupor;":"\u2a45","&cups;":"\u222a\ufe00","&curarr;":"\u21b7","&curarrm;":"\u293c","&curlyeqprec;":"\u22de","&curlyeqsucc;":"\u22df","&curlyvee;":"\u22ce","&curlywedge;":"\u22cf","&curren":"\xa4","&curren;":"\xa4","&curvearrowleft;":"\u21b6","&curvearrowright;":"\u21b7","&cuvee;":"\u22ce","&cuwed;":"\u22cf","&cwconint;":"\u2232","&cwint;":"\u2231","&cylcty;":"\u232d","&dArr;":"\u21d3","&dHar;":"\u2965","&dagger;":"\u2020","&daleth;":"\u2138","&darr;":"\u2193","&dash;":"\u2010","&dashv;":"\u22a3","&dbkarow;":"\u290f","&dblac;":"\u02dd","&dcaron;":"\u010f","&dcy;":"\u0434","&dd;":"\u2146","&ddagger;":"\u2021","&ddarr;":"\u21ca","&ddotseq;":"\u2a77","&deg":"\xb0","&deg;":"\xb0","&delta;":"\u03b4","&demptyv;":"\u29b1","&dfisht;":"\u297f","&dfr;":"\ud835\udd21","&dharl;":"\u21c3","&dharr;":"\u21c2","&diam;":"\u22c4","&diamond;":"\u22c4","&diamondsuit;":"\u2666","&diams;":"\u2666","&die;":"\xa8","&digamma;":"\u03dd","&disin;":"\u22f2","&div;":"\xf7","&divide":"\xf7","&divide;":"\xf7","&divideontimes;":"\u22c7","&divonx;":"\u22c7","&djcy;":"\u0452","&dlcorn;":"\u231e","&dlcrop;":"\u230d","&dollar;":"$","&dopf;":"\ud835\udd55","&dot;":"\u02d9","&doteq;":"\u2250","&doteqdot;":"\u2251","&dotminus;":"\u2238","&dotplus;":"\u2214","&dotsquare;":"\u22a1","&doublebarwedge;":"\u2306","&downarrow;":"\u2193","&downdownarrows;":"\u21ca","&downharpoonleft;":"\u21c3","&downharpoonright;":"\u21c2","&drbkarow;":"\u2910","&drcorn;":"\u231f","&drcrop;":"\u230c","&dscr;":"\ud835\udcb9","&dscy;":"\u0455","&dsol;":"\u29f6","&dstrok;":"\u0111","&dtdot;":"\u22f1","&dtri;":"\u25bf","&dtrif;":"\u25be","&duarr;":"\u21f5","&duhar;":"\u296f","&dwangle;":"\u29a6","&dzcy;":"\u045f","&dzigrarr;":"\u27ff","&eDDot;":"\u2a77","&eDot;":"\u2251","&eacute":"\xe9","&eacute;":"\xe9","&easter;":"\u2a6e","&ecaron;":"\u011b","&ecir;":"\u2256","&ecirc":"\xea","&ecirc;":"\xea","&ecolon;":"\u2255","&ecy;":"\u044d","&edot;":"\u0117","&ee;":"\u2147","&efDot;":"\u2252","&efr;":"\ud835\udd22","&eg;":"\u2a9a","&egrave":"\xe8","&egrave;":"\xe8","&egs;":"\u2a96","&egsdot;":"\u2a98","&el;":"\u2a99","&elinters;":"\u23e7","&ell;":"\u2113","&els;":"\u2a95","&elsdot;":"\u2a97","&emacr;":"\u0113","&empty;":"\u2205","&emptyset;":"\u2205","&emptyv;":"\u2205","&emsp13;":"\u2004","&emsp14;":"\u2005","&emsp;":"\u2003","&eng;":"\u014b","&ensp;":"\u2002","&eogon;":"\u0119","&eopf;":"\ud835\udd56","&epar;":"\u22d5","&eparsl;":"\u29e3","&eplus;":"\u2a71","&epsi;":"\u03b5","&epsilon;":"\u03b5","&epsiv;":"\u03f5","&eqcirc;":"\u2256","&eqcolon;":"\u2255","&eqsim;":"\u2242","&eqslantgtr;":"\u2a96","&eqslantless;":"\u2a95","&equals;":"=","&equest;":"\u225f","&equiv;":"\u2261","&equivDD;":"\u2a78","&eqvparsl;":"\u29e5","&erDot;":"\u2253","&erarr;":"\u2971","&escr;":"\u212f","&esdot;":"\u2250","&esim;":"\u2242","&eta;":"\u03b7","&eth":"\xf0","&eth;":"\xf0","&euml":"\xeb","&euml;":"\xeb","&euro;":"\u20ac","&excl;":"!","&exist;":"\u2203","&expectation;":"\u2130","&exponentiale;":"\u2147","&fallingdotseq;":"\u2252","&fcy;":"\u0444","&female;":"\u2640","&ffilig;":"\ufb03","&fflig;":"\ufb00","&ffllig;":"\ufb04","&ffr;":"\ud835\udd23","&filig;":"\ufb01","&fjlig;":"fj","&flat;":"\u266d","&fllig;":"\ufb02","&fltns;":"\u25b1","&fnof;":"\u0192","&fopf;":"\ud835\udd57","&forall;":"\u2200","&fork;":"\u22d4","&forkv;":"\u2ad9","&fpartint;":"\u2a0d","&frac12":"\xbd","&frac12;":"\xbd","&frac13;":"\u2153","&frac14":"\xbc","&frac14;":"\xbc","&frac15;":"\u2155","&frac16;":"\u2159","&frac18;":"\u215b","&frac23;":"\u2154","&frac25;":"\u2156","&frac34":"\xbe","&frac34;":"\xbe","&frac35;":"\u2157","&frac38;":"\u215c","&frac45;":"\u2158","&frac56;":"\u215a","&frac58;":"\u215d","&frac78;":"\u215e","&frasl;":"\u2044","&frown;":"\u2322","&fscr;":"\ud835\udcbb","&gE;":"\u2267","&gEl;":"\u2a8c","&gacute;":"\u01f5","&gamma;":"\u03b3","&gammad;":"\u03dd","&gap;":"\u2a86","&gbreve;":"\u011f","&gcirc;":"\u011d","&gcy;":"\u0433","&gdot;":"\u0121","&ge;":"\u2265","&gel;":"\u22db","&geq;":"\u2265","&geqq;":"\u2267","&geqslant;":"\u2a7e","&ges;":"\u2a7e","&gescc;":"\u2aa9","&gesdot;":"\u2a80","&gesdoto;":"\u2a82","&gesdotol;":"\u2a84","&gesl;":"\u22db\ufe00","&gesles;":"\u2a94","&gfr;":"\ud835\udd24","&gg;":"\u226b","&ggg;":"\u22d9","&gimel;":"\u2137","&gjcy;":"\u0453","&gl;":"\u2277","&glE;":"\u2a92","&gla;":"\u2aa5","&glj;":"\u2aa4","&gnE;":"\u2269","&gnap;":"\u2a8a","&gnapprox;":"\u2a8a","&gne;":"\u2a88","&gneq;":"\u2a88","&gneqq;":"\u2269","&gnsim;":"\u22e7","&gopf;":"\ud835\udd58","&grave;":"`","&gscr;":"\u210a","&gsim;":"\u2273","&gsime;":"\u2a8e","&gsiml;":"\u2a90","&gt":">","&gt;":">","&gtcc;":"\u2aa7","&gtcir;":"\u2a7a","&gtdot;":"\u22d7","&gtlPar;":"\u2995","&gtquest;":"\u2a7c","&gtrapprox;":"\u2a86","&gtrarr;":"\u2978","&gtrdot;":"\u22d7","&gtreqless;":"\u22db","&gtreqqless;":"\u2a8c","&gtrless;":"\u2277","&gtrsim;":"\u2273","&gvertneqq;":"\u2269\ufe00","&gvnE;":"\u2269\ufe00","&hArr;":"\u21d4","&hairsp;":"\u200a","&half;":"\xbd","&hamilt;":"\u210b","&hardcy;":"\u044a","&harr;":"\u2194","&harrcir;":"\u2948","&harrw;":"\u21ad","&hbar;":"\u210f","&hcirc;":"\u0125","&hearts;":"\u2665","&heartsuit;":"\u2665","&hellip;":"\u2026","&hercon;":"\u22b9","&hfr;":"\ud835\udd25","&hksearow;":"\u2925","&hkswarow;":"\u2926","&hoarr;":"\u21ff","&homtht;":"\u223b","&hookleftarrow;":"\u21a9","&hookrightarrow;":"\u21aa","&hopf;":"\ud835\udd59","&horbar;":"\u2015","&hscr;":"\ud835\udcbd","&hslash;":"\u210f","&hstrok;":"\u0127","&hybull;":"\u2043","&hyphen;":"\u2010","&iacute":"\xed","&iacute;":"\xed","&ic;":"\u2063","&icirc":"\xee","&icirc;":"\xee","&icy;":"\u0438","&iecy;":"\u0435","&iexcl":"\xa1","&iexcl;":"\xa1","&iff;":"\u21d4","&ifr;":"\ud835\udd26","&igrave":"\xec","&igrave;":"\xec","&ii;":"\u2148","&iiiint;":"\u2a0c","&iiint;":"\u222d","&iinfin;":"\u29dc","&iiota;":"\u2129","&ijlig;":"\u0133","&imacr;":"\u012b","&image;":"\u2111","&imagline;":"\u2110","&imagpart;":"\u2111","&imath;":"\u0131","&imof;":"\u22b7","&imped;":"\u01b5","&in;":"\u2208","&incare;":"\u2105","&infin;":"\u221e","&infintie;":"\u29dd","&inodot;":"\u0131","&int;":"\u222b","&intcal;":"\u22ba","&integers;":"\u2124","&intercal;":"\u22ba","&intlarhk;":"\u2a17","&intprod;":"\u2a3c","&iocy;":"\u0451","&iogon;":"\u012f","&iopf;":"\ud835\udd5a","&iota;":"\u03b9","&iprod;":"\u2a3c","&iquest":"\xbf","&iquest;":"\xbf","&iscr;":"\ud835\udcbe","&isin;":"\u2208","&isinE;":"\u22f9","&isindot;":"\u22f5","&isins;":"\u22f4","&isinsv;":"\u22f3","&isinv;":"\u2208","&it;":"\u2062","&itilde;":"\u0129","&iukcy;":"\u0456","&iuml":"\xef","&iuml;":"\xef","&jcirc;":"\u0135","&jcy;":"\u0439","&jfr;":"\ud835\udd27","&jmath;":"\u0237","&jopf;":"\ud835\udd5b","&jscr;":"\ud835\udcbf","&jsercy;":"\u0458","&jukcy;":"\u0454","&kappa;":"\u03ba","&kappav;":"\u03f0","&kcedil;":"\u0137","&kcy;":"\u043a","&kfr;":"\ud835\udd28","&kgreen;":"\u0138","&khcy;":"\u0445","&kjcy;":"\u045c","&kopf;":"\ud835\udd5c","&kscr;":"\ud835\udcc0","&lAarr;":"\u21da","&lArr;":"\u21d0","&lAtail;":"\u291b","&lBarr;":"\u290e","&lE;":"\u2266","&lEg;":"\u2a8b","&lHar;":"\u2962","&lacute;":"\u013a","&laemptyv;":"\u29b4","&lagran;":"\u2112","&lambda;":"\u03bb","&lang;":"\u27e8","&langd;":"\u2991","&langle;":"\u27e8","&lap;":"\u2a85","&laquo":"\xab","&laquo;":"\xab","&larr;":"\u2190","&larrb;":"\u21e4","&larrbfs;":"\u291f","&larrfs;":"\u291d","&larrhk;":"\u21a9","&larrlp;":"\u21ab","&larrpl;":"\u2939","&larrsim;":"\u2973","&larrtl;":"\u21a2","&lat;":"\u2aab","&latail;":"\u2919","&late;":"\u2aad","&lates;":"\u2aad\ufe00","&lbarr;":"\u290c","&lbbrk;":"\u2772","&lbrace;":"{","&lbrack;":"[","&lbrke;":"\u298b","&lbrksld;":"\u298f","&lbrkslu;":"\u298d","&lcaron;":"\u013e","&lcedil;":"\u013c","&lceil;":"\u2308","&lcub;":"{","&lcy;":"\u043b","&ldca;":"\u2936","&ldquo;":"\u201c","&ldquor;":"\u201e","&ldrdhar;":"\u2967","&ldrushar;":"\u294b","&ldsh;":"\u21b2","&le;":"\u2264","&leftarrow;":"\u2190","&leftarrowtail;":"\u21a2","&leftharpoondown;":"\u21bd","&leftharpoonup;":"\u21bc","&leftleftarrows;":"\u21c7","&leftrightarrow;":"\u2194","&leftrightarrows;":"\u21c6","&leftrightharpoons;":"\u21cb","&leftrightsquigarrow;":"\u21ad","&leftthreetimes;":"\u22cb","&leg;":"\u22da","&leq;":"\u2264","&leqq;":"\u2266","&leqslant;":"\u2a7d","&les;":"\u2a7d","&lescc;":"\u2aa8","&lesdot;":"\u2a7f","&lesdoto;":"\u2a81","&lesdotor;":"\u2a83","&lesg;":"\u22da\ufe00","&lesges;":"\u2a93","&lessapprox;":"\u2a85","&lessdot;":"\u22d6","&lesseqgtr;":"\u22da","&lesseqqgtr;":"\u2a8b","&lessgtr;":"\u2276","&lesssim;":"\u2272","&lfisht;":"\u297c","&lfloor;":"\u230a","&lfr;":"\ud835\udd29","&lg;":"\u2276","&lgE;":"\u2a91","&lhard;":"\u21bd","&lharu;":"\u21bc","&lharul;":"\u296a","&lhblk;":"\u2584","&ljcy;":"\u0459","&ll;":"\u226a","&llarr;":"\u21c7","&llcorner;":"\u231e","&llhard;":"\u296b","&lltri;":"\u25fa","&lmidot;":"\u0140","&lmoust;":"\u23b0","&lmoustache;":"\u23b0","&lnE;":"\u2268","&lnap;":"\u2a89","&lnapprox;":"\u2a89","&lne;":"\u2a87","&lneq;":"\u2a87","&lneqq;":"\u2268","&lnsim;":"\u22e6","&loang;":"\u27ec","&loarr;":"\u21fd","&lobrk;":"\u27e6","&longleftarrow;":"\u27f5","&longleftrightarrow;":"\u27f7","&longmapsto;":"\u27fc","&longrightarrow;":"\u27f6","&looparrowleft;":"\u21ab","&looparrowright;":"\u21ac","&lopar;":"\u2985","&lopf;":"\ud835\udd5d","&loplus;":"\u2a2d","&lotimes;":"\u2a34","&lowast;":"\u2217","&lowbar;":"_","&loz;":"\u25ca","&lozenge;":"\u25ca","&lozf;":"\u29eb","&lpar;":"(","&lparlt;":"\u2993","&lrarr;":"\u21c6","&lrcorner;":"\u231f","&lrhar;":"\u21cb","&lrhard;":"\u296d","&lrm;":"\u200e","&lrtri;":"\u22bf","&lsaquo;":"\u2039","&lscr;":"\ud835\udcc1","&lsh;":"\u21b0","&lsim;":"\u2272","&lsime;":"\u2a8d","&lsimg;":"\u2a8f","&lsqb;":"[","&lsquo;":"\u2018","&lsquor;":"\u201a","&lstrok;":"\u0142","&lt":"<","&lt;":"<","&ltcc;":"\u2aa6","&ltcir;":"\u2a79","&ltdot;":"\u22d6","&lthree;":"\u22cb","&ltimes;":"\u22c9","&ltlarr;":"\u2976","&ltquest;":"\u2a7b","&ltrPar;":"\u2996","&ltri;":"\u25c3","&ltrie;":"\u22b4","&ltrif;":"\u25c2","&lurdshar;":"\u294a","&luruhar;":"\u2966","&lvertneqq;":"\u2268\ufe00","&lvnE;":"\u2268\ufe00","&mDDot;":"\u223a","&macr":"\xaf","&macr;":"\xaf","&male;":"\u2642","&malt;":"\u2720","&maltese;":"\u2720","&map;":"\u21a6","&mapsto;":"\u21a6","&mapstodown;":"\u21a7","&mapstoleft;":"\u21a4","&mapstoup;":"\u21a5","&marker;":"\u25ae","&mcomma;":"\u2a29","&mcy;":"\u043c","&mdash;":"\u2014","&measuredangle;":"\u2221","&mfr;":"\ud835\udd2a","&mho;":"\u2127","&micro":"\xb5","&micro;":"\xb5","&mid;":"\u2223","&midast;":"*","&midcir;":"\u2af0","&middot":"\xb7","&middot;":"\xb7","&minus;":"\u2212","&minusb;":"\u229f","&minusd;":"\u2238","&minusdu;":"\u2a2a","&mlcp;":"\u2adb","&mldr;":"\u2026","&mnplus;":"\u2213","&models;":"\u22a7","&mopf;":"\ud835\udd5e","&mp;":"\u2213","&mscr;":"\ud835\udcc2","&mstpos;":"\u223e","&mu;":"\u03bc","&multimap;":"\u22b8","&mumap;":"\u22b8","&nGg;":"\u22d9\u0338","&nGt;":"\u226b\u20d2","&nGtv;":"\u226b\u0338","&nLeftarrow;":"\u21cd","&nLeftrightarrow;":"\u21ce","&nLl;":"\u22d8\u0338","&nLt;":"\u226a\u20d2","&nLtv;":"\u226a\u0338","&nRightarrow;":"\u21cf","&nVDash;":"\u22af","&nVdash;":"\u22ae","&nabla;":"\u2207","&nacute;":"\u0144","&nang;":"\u2220\u20d2","&nap;":"\u2249","&napE;":"\u2a70\u0338","&napid;":"\u224b\u0338","&napos;":"\u0149","&napprox;":"\u2249","&natur;":"\u266e","&natural;":"\u266e","&naturals;":"\u2115","&nbsp":"\xa0","&nbsp;":"\xa0","&nbump;":"\u224e\u0338","&nbumpe;":"\u224f\u0338","&ncap;":"\u2a43","&ncaron;":"\u0148","&ncedil;":"\u0146","&ncong;":"\u2247","&ncongdot;":"\u2a6d\u0338","&ncup;":"\u2a42","&ncy;":"\u043d","&ndash;":"\u2013","&ne;":"\u2260","&neArr;":"\u21d7","&nearhk;":"\u2924","&nearr;":"\u2197","&nearrow;":"\u2197","&nedot;":"\u2250\u0338","&nequiv;":"\u2262","&nesear;":"\u2928","&nesim;":"\u2242\u0338","&nexist;":"\u2204","&nexists;":"\u2204","&nfr;":"\ud835\udd2b","&ngE;":"\u2267\u0338","&nge;":"\u2271","&ngeq;":"\u2271","&ngeqq;":"\u2267\u0338","&ngeqslant;":"\u2a7e\u0338","&nges;":"\u2a7e\u0338","&ngsim;":"\u2275","&ngt;":"\u226f","&ngtr;":"\u226f","&nhArr;":"\u21ce","&nharr;":"\u21ae","&nhpar;":"\u2af2","&ni;":"\u220b","&nis;":"\u22fc","&nisd;":"\u22fa","&niv;":"\u220b","&njcy;":"\u045a","&nlArr;":"\u21cd","&nlE;":"\u2266\u0338","&nlarr;":"\u219a","&nldr;":"\u2025","&nle;":"\u2270","&nleftarrow;":"\u219a","&nleftrightarrow;":"\u21ae","&nleq;":"\u2270","&nleqq;":"\u2266\u0338","&nleqslant;":"\u2a7d\u0338","&nles;":"\u2a7d\u0338","&nless;":"\u226e","&nlsim;":"\u2274","&nlt;":"\u226e","&nltri;":"\u22ea","&nltrie;":"\u22ec","&nmid;":"\u2224","&nopf;":"\ud835\udd5f","&not":"\xac","&not;":"\xac","&notin;":"\u2209","&notinE;":"\u22f9\u0338","&notindot;":"\u22f5\u0338","&notinva;":"\u2209","&notinvb;":"\u22f7","&notinvc;":"\u22f6","&notni;":"\u220c","&notniva;":"\u220c","&notnivb;":"\u22fe","&notnivc;":"\u22fd","&npar;":"\u2226","&nparallel;":"\u2226","&nparsl;":"\u2afd\u20e5","&npart;":"\u2202\u0338","&npolint;":"\u2a14","&npr;":"\u2280","&nprcue;":"\u22e0","&npre;":"\u2aaf\u0338","&nprec;":"\u2280","&npreceq;":"\u2aaf\u0338","&nrArr;":"\u21cf","&nrarr;":"\u219b","&nrarrc;":"\u2933\u0338","&nrarrw;":"\u219d\u0338","&nrightarrow;":"\u219b","&nrtri;":"\u22eb","&nrtrie;":"\u22ed","&nsc;":"\u2281","&nsccue;":"\u22e1","&nsce;":"\u2ab0\u0338","&nscr;":"\ud835\udcc3","&nshortmid;":"\u2224","&nshortparallel;":"\u2226","&nsim;":"\u2241","&nsime;":"\u2244","&nsimeq;":"\u2244","&nsmid;":"\u2224","&nspar;":"\u2226","&nsqsube;":"\u22e2","&nsqsupe;":"\u22e3","&nsub;":"\u2284","&nsubE;":"\u2ac5\u0338","&nsube;":"\u2288","&nsubset;":"\u2282\u20d2","&nsubseteq;":"\u2288","&nsubseteqq;":"\u2ac5\u0338","&nsucc;":"\u2281","&nsucceq;":"\u2ab0\u0338","&nsup;":"\u2285","&nsupE;":"\u2ac6\u0338","&nsupe;":"\u2289","&nsupset;":"\u2283\u20d2","&nsupseteq;":"\u2289","&nsupseteqq;":"\u2ac6\u0338","&ntgl;":"\u2279","&ntilde":"\xf1","&ntilde;":"\xf1","&ntlg;":"\u2278","&ntriangleleft;":"\u22ea","&ntrianglelefteq;":"\u22ec","&ntriangleright;":"\u22eb","&ntrianglerighteq;":"\u22ed","&nu;":"\u03bd","&num;":"#","&numero;":"\u2116","&numsp;":"\u2007","&nvDash;":"\u22ad","&nvHarr;":"\u2904","&nvap;":"\u224d\u20d2","&nvdash;":"\u22ac","&nvge;":"\u2265\u20d2","&nvgt;":">\u20d2","&nvinfin;":"\u29de","&nvlArr;":"\u2902","&nvle;":"\u2264\u20d2","&nvlt;":"<\u20d2","&nvltrie;":"\u22b4\u20d2","&nvrArr;":"\u2903","&nvrtrie;":"\u22b5\u20d2","&nvsim;":"\u223c\u20d2","&nwArr;":"\u21d6","&nwarhk;":"\u2923","&nwarr;":"\u2196","&nwarrow;":"\u2196","&nwnear;":"\u2927","&oS;":"\u24c8","&oacute":"\xf3","&oacute;":"\xf3","&oast;":"\u229b","&ocir;":"\u229a","&ocirc":"\xf4","&ocirc;":"\xf4","&ocy;":"\u043e","&odash;":"\u229d","&odblac;":"\u0151","&odiv;":"\u2a38","&odot;":"\u2299","&odsold;":"\u29bc","&oelig;":"\u0153","&ofcir;":"\u29bf","&ofr;":"\ud835\udd2c","&ogon;":"\u02db","&ograve":"\xf2","&ograve;":"\xf2","&ogt;":"\u29c1","&ohbar;":"\u29b5","&ohm;":"\u03a9","&oint;":"\u222e","&olarr;":"\u21ba","&olcir;":"\u29be","&olcross;":"\u29bb","&oline;":"\u203e","&olt;":"\u29c0","&omacr;":"\u014d","&omega;":"\u03c9","&omicron;":"\u03bf","&omid;":"\u29b6","&ominus;":"\u2296","&oopf;":"\ud835\udd60","&opar;":"\u29b7","&operp;":"\u29b9","&oplus;":"\u2295","&or;":"\u2228","&orarr;":"\u21bb","&ord;":"\u2a5d","&order;":"\u2134","&orderof;":"\u2134","&ordf":"\xaa","&ordf;":"\xaa","&ordm":"\xba","&ordm;":"\xba","&origof;":"\u22b6","&oror;":"\u2a56","&orslope;":"\u2a57","&orv;":"\u2a5b","&oscr;":"\u2134","&oslash":"\xf8","&oslash;":"\xf8","&osol;":"\u2298","&otilde":"\xf5","&otilde;":"\xf5","&otimes;":"\u2297","&otimesas;":"\u2a36","&ouml":"\xf6","&ouml;":"\xf6","&ovbar;":"\u233d","&par;":"\u2225","&para":"\xb6","&para;":"\xb6","&parallel;":"\u2225","&parsim;":"\u2af3","&parsl;":"\u2afd","&part;":"\u2202","&pcy;":"\u043f","&percnt;":"%","&period;":".","&permil;":"\u2030","&perp;":"\u22a5","&pertenk;":"\u2031","&pfr;":"\ud835\udd2d","&phi;":"\u03c6","&phiv;":"\u03d5","&phmmat;":"\u2133","&phone;":"\u260e","&pi;":"\u03c0","&pitchfork;":"\u22d4","&piv;":"\u03d6","&planck;":"\u210f","&planckh;":"\u210e","&plankv;":"\u210f","&plus;":"+","&plusacir;":"\u2a23","&plusb;":"\u229e","&pluscir;":"\u2a22","&plusdo;":"\u2214","&plusdu;":"\u2a25","&pluse;":"\u2a72","&plusmn":"\xb1","&plusmn;":"\xb1","&plussim;":"\u2a26","&plustwo;":"\u2a27","&pm;":"\xb1","&pointint;":"\u2a15","&popf;":"\ud835\udd61","&pound":"\xa3","&pound;":"\xa3","&pr;":"\u227a","&prE;":"\u2ab3","&prap;":"\u2ab7","&prcue;":"\u227c","&pre;":"\u2aaf","&prec;":"\u227a","&precapprox;":"\u2ab7","&preccurlyeq;":"\u227c","&preceq;":"\u2aaf","&precnapprox;":"\u2ab9","&precneqq;":"\u2ab5","&precnsim;":"\u22e8","&precsim;":"\u227e","&prime;":"\u2032","&primes;":"\u2119","&prnE;":"\u2ab5","&prnap;":"\u2ab9","&prnsim;":"\u22e8","&prod;":"\u220f","&profalar;":"\u232e","&profline;":"\u2312","&profsurf;":"\u2313","&prop;":"\u221d","&propto;":"\u221d","&prsim;":"\u227e","&prurel;":"\u22b0","&pscr;":"\ud835\udcc5","&psi;":"\u03c8","&puncsp;":"\u2008","&qfr;":"\ud835\udd2e","&qint;":"\u2a0c","&qopf;":"\ud835\udd62","&qprime;":"\u2057","&qscr;":"\ud835\udcc6","&quaternions;":"\u210d","&quatint;":"\u2a16","&quest;":"?","&questeq;":"\u225f","&quot":'"',"&quot;":'"',"&rAarr;":"\u21db","&rArr;":"\u21d2","&rAtail;":"\u291c","&rBarr;":"\u290f","&rHar;":"\u2964","&race;":"\u223d\u0331","&racute;":"\u0155","&radic;":"\u221a","&raemptyv;":"\u29b3","&rang;":"\u27e9","&rangd;":"\u2992","&range;":"\u29a5","&rangle;":"\u27e9","&raquo":"\xbb","&raquo;":"\xbb","&rarr;":"\u2192","&rarrap;":"\u2975","&rarrb;":"\u21e5","&rarrbfs;":"\u2920","&rarrc;":"\u2933","&rarrfs;":"\u291e","&rarrhk;":"\u21aa","&rarrlp;":"\u21ac","&rarrpl;":"\u2945","&rarrsim;":"\u2974","&rarrtl;":"\u21a3","&rarrw;":"\u219d","&ratail;":"\u291a","&ratio;":"\u2236","&rationals;":"\u211a","&rbarr;":"\u290d","&rbbrk;":"\u2773","&rbrace;":"}","&rbrack;":"]","&rbrke;":"\u298c","&rbrksld;":"\u298e","&rbrkslu;":"\u2990","&rcaron;":"\u0159","&rcedil;":"\u0157","&rceil;":"\u2309","&rcub;":"}","&rcy;":"\u0440","&rdca;":"\u2937","&rdldhar;":"\u2969","&rdquo;":"\u201d","&rdquor;":"\u201d","&rdsh;":"\u21b3","&real;":"\u211c","&realine;":"\u211b","&realpart;":"\u211c","&reals;":"\u211d","&rect;":"\u25ad","&reg":"\xae","&reg;":"\xae","&rfisht;":"\u297d","&rfloor;":"\u230b","&rfr;":"\ud835\udd2f","&rhard;":"\u21c1","&rharu;":"\u21c0","&rharul;":"\u296c","&rho;":"\u03c1","&rhov;":"\u03f1","&rightarrow;":"\u2192","&rightarrowtail;":"\u21a3","&rightharpoondown;":"\u21c1","&rightharpoonup;":"\u21c0","&rightleftarrows;":"\u21c4","&rightleftharpoons;":"\u21cc","&rightrightarrows;":"\u21c9","&rightsquigarrow;":"\u219d","&rightthreetimes;":"\u22cc","&ring;":"\u02da","&risingdotseq;":"\u2253","&rlarr;":"\u21c4","&rlhar;":"\u21cc","&rlm;":"\u200f","&rmoust;":"\u23b1","&rmoustache;":"\u23b1","&rnmid;":"\u2aee","&roang;":"\u27ed","&roarr;":"\u21fe","&robrk;":"\u27e7","&ropar;":"\u2986","&ropf;":"\ud835\udd63","&roplus;":"\u2a2e","&rotimes;":"\u2a35","&rpar;":")","&rpargt;":"\u2994","&rppolint;":"\u2a12","&rrarr;":"\u21c9","&rsaquo;":"\u203a","&rscr;":"\ud835\udcc7","&rsh;":"\u21b1","&rsqb;":"]","&rsquo;":"\u2019","&rsquor;":"\u2019","&rthree;":"\u22cc","&rtimes;":"\u22ca","&rtri;":"\u25b9","&rtrie;":"\u22b5","&rtrif;":"\u25b8","&rtriltri;":"\u29ce","&ruluhar;":"\u2968","&rx;":"\u211e","&sacute;":"\u015b","&sbquo;":"\u201a","&sc;":"\u227b","&scE;":"\u2ab4","&scap;":"\u2ab8","&scaron;":"\u0161","&sccue;":"\u227d","&sce;":"\u2ab0","&scedil;":"\u015f","&scirc;":"\u015d","&scnE;":"\u2ab6","&scnap;":"\u2aba","&scnsim;":"\u22e9","&scpolint;":"\u2a13","&scsim;":"\u227f","&scy;":"\u0441","&sdot;":"\u22c5","&sdotb;":"\u22a1","&sdote;":"\u2a66","&seArr;":"\u21d8","&searhk;":"\u2925","&searr;":"\u2198","&searrow;":"\u2198","&sect":"\xa7","&sect;":"\xa7","&semi;":";","&seswar;":"\u2929","&setminus;":"\u2216","&setmn;":"\u2216","&sext;":"\u2736","&sfr;":"\ud835\udd30","&sfrown;":"\u2322","&sharp;":"\u266f","&shchcy;":"\u0449","&shcy;":"\u0448","&shortmid;":"\u2223","&shortparallel;":"\u2225","&shy":"\xad","&shy;":"\xad","&sigma;":"\u03c3","&sigmaf;":"\u03c2","&sigmav;":"\u03c2","&sim;":"\u223c","&simdot;":"\u2a6a","&sime;":"\u2243","&simeq;":"\u2243","&simg;":"\u2a9e","&simgE;":"\u2aa0","&siml;":"\u2a9d","&simlE;":"\u2a9f","&simne;":"\u2246","&simplus;":"\u2a24","&simrarr;":"\u2972","&slarr;":"\u2190","&smallsetminus;":"\u2216","&smashp;":"\u2a33","&smeparsl;":"\u29e4","&smid;":"\u2223","&smile;":"\u2323","&smt;":"\u2aaa","&smte;":"\u2aac","&smtes;":"\u2aac\ufe00","&softcy;":"\u044c","&sol;":"/","&solb;":"\u29c4","&solbar;":"\u233f","&sopf;":"\ud835\udd64","&spades;":"\u2660","&spadesuit;":"\u2660","&spar;":"\u2225","&sqcap;":"\u2293","&sqcaps;":"\u2293\ufe00","&sqcup;":"\u2294","&sqcups;":"\u2294\ufe00","&sqsub;":"\u228f","&sqsube;":"\u2291","&sqsubset;":"\u228f","&sqsubseteq;":"\u2291","&sqsup;":"\u2290","&sqsupe;":"\u2292","&sqsupset;":"\u2290","&sqsupseteq;":"\u2292","&squ;":"\u25a1","&square;":"\u25a1","&squarf;":"\u25aa","&squf;":"\u25aa","&srarr;":"\u2192","&sscr;":"\ud835\udcc8","&ssetmn;":"\u2216","&ssmile;":"\u2323","&sstarf;":"\u22c6","&star;":"\u2606","&starf;":"\u2605","&straightepsilon;":"\u03f5","&straightphi;":"\u03d5","&strns;":"\xaf","&sub;":"\u2282","&subE;":"\u2ac5","&subdot;":"\u2abd","&sube;":"\u2286","&subedot;":"\u2ac3","&submult;":"\u2ac1","&subnE;":"\u2acb","&subne;":"\u228a","&subplus;":"\u2abf","&subrarr;":"\u2979","&subset;":"\u2282","&subseteq;":"\u2286","&subseteqq;":"\u2ac5","&subsetneq;":"\u228a","&subsetneqq;":"\u2acb","&subsim;":"\u2ac7","&subsub;":"\u2ad5","&subsup;":"\u2ad3","&succ;":"\u227b","&succapprox;":"\u2ab8","&succcurlyeq;":"\u227d","&succeq;":"\u2ab0","&succnapprox;":"\u2aba","&succneqq;":"\u2ab6","&succnsim;":"\u22e9","&succsim;":"\u227f","&sum;":"\u2211","&sung;":"\u266a","&sup1":"\xb9","&sup1;":"\xb9","&sup2":"\xb2","&sup2;":"\xb2","&sup3":"\xb3","&sup3;":"\xb3","&sup;":"\u2283","&supE;":"\u2ac6","&supdot;":"\u2abe","&supdsub;":"\u2ad8","&supe;":"\u2287","&supedot;":"\u2ac4","&suphsol;":"\u27c9","&suphsub;":"\u2ad7","&suplarr;":"\u297b","&supmult;":"\u2ac2","&supnE;":"\u2acc","&supne;":"\u228b","&supplus;":"\u2ac0","&supset;":"\u2283","&supseteq;":"\u2287","&supseteqq;":"\u2ac6","&supsetneq;":"\u228b","&supsetneqq;":"\u2acc","&supsim;":"\u2ac8","&supsub;":"\u2ad4","&supsup;":"\u2ad6","&swArr;":"\u21d9","&swarhk;":"\u2926","&swarr;":"\u2199","&swarrow;":"\u2199","&swnwar;":"\u292a","&szlig":"\xdf","&szlig;":"\xdf","&target;":"\u2316","&tau;":"\u03c4","&tbrk;":"\u23b4","&tcaron;":"\u0165","&tcedil;":"\u0163","&tcy;":"\u0442","&tdot;":"\u20db","&telrec;":"\u2315","&tfr;":"\ud835\udd31","&there4;":"\u2234","&therefore;":"\u2234","&theta;":"\u03b8","&thetasym;":"\u03d1","&thetav;":"\u03d1","&thickapprox;":"\u2248","&thicksim;":"\u223c","&thinsp;":"\u2009","&thkap;":"\u2248","&thksim;":"\u223c","&thorn":"\xfe","&thorn;":"\xfe","&tilde;":"\u02dc","&times":"\xd7","&times;":"\xd7","&timesb;":"\u22a0","&timesbar;":"\u2a31","&timesd;":"\u2a30","&tint;":"\u222d","&toea;":"\u2928","&top;":"\u22a4","&topbot;":"\u2336","&topcir;":"\u2af1","&topf;":"\ud835\udd65","&topfork;":"\u2ada","&tosa;":"\u2929","&tprime;":"\u2034","&trade;":"\u2122","&triangle;":"\u25b5","&triangledown;":"\u25bf","&triangleleft;":"\u25c3","&trianglelefteq;":"\u22b4","&triangleq;":"\u225c","&triangleright;":"\u25b9","&trianglerighteq;":"\u22b5","&tridot;":"\u25ec","&trie;":"\u225c","&triminus;":"\u2a3a","&triplus;":"\u2a39","&trisb;":"\u29cd","&tritime;":"\u2a3b","&trpezium;":"\u23e2","&tscr;":"\ud835\udcc9","&tscy;":"\u0446","&tshcy;":"\u045b","&tstrok;":"\u0167","&twixt;":"\u226c","&twoheadleftarrow;":"\u219e","&twoheadrightarrow;":"\u21a0","&uArr;":"\u21d1","&uHar;":"\u2963","&uacute":"\xfa","&uacute;":"\xfa","&uarr;":"\u2191","&ubrcy;":"\u045e","&ubreve;":"\u016d","&ucirc":"\xfb","&ucirc;":"\xfb","&ucy;":"\u0443","&udarr;":"\u21c5","&udblac;":"\u0171","&udhar;":"\u296e","&ufisht;":"\u297e","&ufr;":"\ud835\udd32","&ugrave":"\xf9","&ugrave;":"\xf9","&uharl;":"\u21bf","&uharr;":"\u21be","&uhblk;":"\u2580","&ulcorn;":"\u231c","&ulcorner;":"\u231c","&ulcrop;":"\u230f","&ultri;":"\u25f8","&umacr;":"\u016b","&uml":"\xa8","&uml;":"\xa8","&uogon;":"\u0173","&uopf;":"\ud835\udd66","&uparrow;":"\u2191","&updownarrow;":"\u2195","&upharpoonleft;":"\u21bf","&upharpoonright;":"\u21be","&uplus;":"\u228e","&upsi;":"\u03c5","&upsih;":"\u03d2","&upsilon;":"\u03c5","&upuparrows;":"\u21c8","&urcorn;":"\u231d","&urcorner;":"\u231d","&urcrop;":"\u230e","&uring;":"\u016f","&urtri;":"\u25f9","&uscr;":"\ud835\udcca","&utdot;":"\u22f0","&utilde;":"\u0169","&utri;":"\u25b5","&utrif;":"\u25b4","&uuarr;":"\u21c8","&uuml":"\xfc","&uuml;":"\xfc","&uwangle;":"\u29a7","&vArr;":"\u21d5","&vBar;":"\u2ae8","&vBarv;":"\u2ae9","&vDash;":"\u22a8","&vangrt;":"\u299c","&varepsilon;":"\u03f5","&varkappa;":"\u03f0","&varnothing;":"\u2205","&varphi;":"\u03d5","&varpi;":"\u03d6","&varpropto;":"\u221d","&varr;":"\u2195","&varrho;":"\u03f1","&varsigma;":"\u03c2","&varsubsetneq;":"\u228a\ufe00","&varsubsetneqq;":"\u2acb\ufe00","&varsupsetneq;":"\u228b\ufe00","&varsupsetneqq;":"\u2acc\ufe00","&vartheta;":"\u03d1","&vartriangleleft;":"\u22b2","&vartriangleright;":"\u22b3","&vcy;":"\u0432","&vdash;":"\u22a2","&vee;":"\u2228","&veebar;":"\u22bb","&veeeq;":"\u225a","&vellip;":"\u22ee","&verbar;":"|","&vert;":"|","&vfr;":"\ud835\udd33","&vltri;":"\u22b2","&vnsub;":"\u2282\u20d2","&vnsup;":"\u2283\u20d2","&vopf;":"\ud835\udd67","&vprop;":"\u221d","&vrtri;":"\u22b3","&vscr;":"\ud835\udccb","&vsubnE;":"\u2acb\ufe00","&vsubne;":"\u228a\ufe00","&vsupnE;":"\u2acc\ufe00","&vsupne;":"\u228b\ufe00","&vzigzag;":"\u299a","&wcirc;":"\u0175","&wedbar;":"\u2a5f","&wedge;":"\u2227","&wedgeq;":"\u2259","&weierp;":"\u2118","&wfr;":"\ud835\udd34","&wopf;":"\ud835\udd68","&wp;":"\u2118","&wr;":"\u2240","&wreath;":"\u2240","&wscr;":"\ud835\udccc","&xcap;":"\u22c2","&xcirc;":"\u25ef","&xcup;":"\u22c3","&xdtri;":"\u25bd","&xfr;":"\ud835\udd35","&xhArr;":"\u27fa","&xharr;":"\u27f7","&xi;":"\u03be","&xlArr;":"\u27f8","&xlarr;":"\u27f5","&xmap;":"\u27fc","&xnis;":"\u22fb","&xodot;":"\u2a00","&xopf;":"\ud835\udd69","&xoplus;":"\u2a01","&xotime;":"\u2a02","&xrArr;":"\u27f9","&xrarr;":"\u27f6","&xscr;":"\ud835\udccd","&xsqcup;":"\u2a06","&xuplus;":"\u2a04","&xutri;":"\u25b3","&xvee;":"\u22c1","&xwedge;":"\u22c0","&yacute":"\xfd","&yacute;":"\xfd","&yacy;":"\u044f","&ycirc;":"\u0177","&ycy;":"\u044b","&yen":"\xa5","&yen;":"\xa5","&yfr;":"\ud835\udd36","&yicy;":"\u0457","&yopf;":"\ud835\udd6a","&yscr;":"\ud835\udcce","&yucy;":"\u044e","&yuml":"\xff","&yuml;":"\xff","&zacute;":"\u017a","&zcaron;":"\u017e","&zcy;":"\u0437","&zdot;":"\u017c","&zeetrf;":"\u2128","&zeta;":"\u03b6","&zfr;":"\ud835\udd37","&zhcy;":"\u0436","&zigrarr;":"\u21dd","&zopf;":"\ud835\udd6b","&zscr;":"\ud835\udccf","&zwj;":"\u200d","&zwnj;":"\u200c"},characters:{"\xc6":"&AElig;","&":"&amp;","\xc1":"&Aacute;","\u0102":"&Abreve;","\xc2":"&Acirc;","\u0410":"&Acy;","\ud835\udd04":"&Afr;","\xc0":"&Agrave;","\u0391":"&Alpha;","\u0100":"&Amacr;","\u2a53":"&And;","\u0104":"&Aogon;","\ud835\udd38":"&Aopf;","\u2061":"&af;","\xc5":"&angst;","\ud835\udc9c":"&Ascr;","\u2254":"&coloneq;","\xc3":"&Atilde;","\xc4":"&Auml;","\u2216":"&ssetmn;","\u2ae7":"&Barv;","\u2306":"&doublebarwedge;","\u0411":"&Bcy;","\u2235":"&because;","\u212c":"&bernou;","\u0392":"&Beta;","\ud835\udd05":"&Bfr;","\ud835\udd39":"&Bopf;","\u02d8":"&breve;","\u224e":"&bump;","\u0427":"&CHcy;","\xa9":"&copy;","\u0106":"&Cacute;","\u22d2":"&Cap;","\u2145":"&DD;","\u212d":"&Cfr;","\u010c":"&Ccaron;","\xc7":"&Ccedil;","\u0108":"&Ccirc;","\u2230":"&Cconint;","\u010a":"&Cdot;","\xb8":"&cedil;","\xb7":"&middot;","\u03a7":"&Chi;","\u2299":"&odot;","\u2296":"&ominus;","\u2295":"&oplus;","\u2297":"&otimes;","\u2232":"&cwconint;","\u201d":"&rdquor;","\u2019":"&rsquor;","\u2237":"&Proportion;","\u2a74":"&Colone;","\u2261":"&equiv;","\u222f":"&DoubleContourIntegral;","\u222e":"&oint;","\u2102":"&complexes;","\u2210":"&coprod;","\u2233":"&awconint;","\u2a2f":"&Cross;","\ud835\udc9e":"&Cscr;","\u22d3":"&Cup;","\u224d":"&asympeq;","\u2911":"&DDotrahd;","\u0402":"&DJcy;","\u0405":"&DScy;","\u040f":"&DZcy;","\u2021":"&ddagger;","\u21a1":"&Darr;","\u2ae4":"&DoubleLeftTee;","\u010e":"&Dcaron;","\u0414":"&Dcy;","\u2207":"&nabla;","\u0394":"&Delta;","\ud835\udd07":"&Dfr;","\xb4":"&acute;","\u02d9":"&dot;","\u02dd":"&dblac;","`":"&grave;","\u02dc":"&tilde;","\u22c4":"&diamond;","\u2146":"&dd;","\ud835\udd3b":"&Dopf;","\xa8":"&uml;","\u20dc":"&DotDot;","\u2250":"&esdot;","\u21d3":"&dArr;","\u21d0":"&lArr;","\u21d4":"&iff;","\u27f8":"&xlArr;","\u27fa":"&xhArr;","\u27f9":"&xrArr;","\u21d2":"&rArr;","\u22a8":"&vDash;","\u21d1":"&uArr;","\u21d5":"&vArr;","\u2225":"&spar;","\u2193":"&downarrow;","\u2913":"&DownArrowBar;","\u21f5":"&duarr;","\u0311":"&DownBreve;","\u2950":"&DownLeftRightVector;","\u295e":"&DownLeftTeeVector;","\u21bd":"&lhard;","\u2956":"&DownLeftVectorBar;","\u295f":"&DownRightTeeVector;","\u21c1":"&rightharpoondown;","\u2957":"&DownRightVectorBar;","\u22a4":"&top;","\u21a7":"&mapstodown;","\ud835\udc9f":"&Dscr;","\u0110":"&Dstrok;","\u014a":"&ENG;","\xd0":"&ETH;","\xc9":"&Eacute;","\u011a":"&Ecaron;","\xca":"&Ecirc;","\u042d":"&Ecy;","\u0116":"&Edot;","\ud835\udd08":"&Efr;","\xc8":"&Egrave;","\u2208":"&isinv;","\u0112":"&Emacr;","\u25fb":"&EmptySmallSquare;","\u25ab":"&EmptyVerySmallSquare;","\u0118":"&Eogon;","\ud835\udd3c":"&Eopf;","\u0395":"&Epsilon;","\u2a75":"&Equal;","\u2242":"&esim;","\u21cc":"&rlhar;","\u2130":"&expectation;","\u2a73":"&Esim;","\u0397":"&Eta;","\xcb":"&Euml;","\u2203":"&exist;","\u2147":"&exponentiale;","\u0424":"&Fcy;","\ud835\udd09":"&Ffr;","\u25fc":"&FilledSmallSquare;","\u25aa":"&squf;","\ud835\udd3d":"&Fopf;","\u2200":"&forall;","\u2131":"&Fscr;","\u0403":"&GJcy;",">":"&gt;","\u0393":"&Gamma;","\u03dc":"&Gammad;","\u011e":"&Gbreve;","\u0122":"&Gcedil;","\u011c":"&Gcirc;","\u0413":"&Gcy;","\u0120":"&Gdot;","\ud835\udd0a":"&Gfr;","\u22d9":"&ggg;","\ud835\udd3e":"&Gopf;","\u2265":"&geq;","\u22db":"&gtreqless;","\u2267":"&geqq;","\u2aa2":"&GreaterGreater;","\u2277":"&gtrless;","\u2a7e":"&ges;","\u2273":"&gtrsim;","\ud835\udca2":"&Gscr;","\u226b":"&gg;","\u042a":"&HARDcy;","\u02c7":"&caron;","^":"&Hat;","\u0124":"&Hcirc;","\u210c":"&Poincareplane;","\u210b":"&hamilt;","\u210d":"&quaternions;","\u2500":"&boxh;","\u0126":"&Hstrok;","\u224f":"&bumpeq;","\u0415":"&IEcy;","\u0132":"&IJlig;","\u0401":"&IOcy;","\xcd":"&Iacute;","\xce":"&Icirc;","\u0418":"&Icy;","\u0130":"&Idot;","\u2111":"&imagpart;","\xcc":"&Igrave;","\u012a":"&Imacr;","\u2148":"&ii;","\u222c":"&Int;","\u222b":"&int;","\u22c2":"&xcap;","\u2063":"&ic;","\u2062":"&it;","\u012e":"&Iogon;","\ud835\udd40":"&Iopf;","\u0399":"&Iota;","\u2110":"&imagline;","\u0128":"&Itilde;","\u0406":"&Iukcy;","\xcf":"&Iuml;","\u0134":"&Jcirc;","\u0419":"&Jcy;","\ud835\udd0d":"&Jfr;","\ud835\udd41":"&Jopf;","\ud835\udca5":"&Jscr;","\u0408":"&Jsercy;","\u0404":"&Jukcy;","\u0425":"&KHcy;","\u040c":"&KJcy;","\u039a":"&Kappa;","\u0136":"&Kcedil;","\u041a":"&Kcy;","\ud835\udd0e":"&Kfr;","\ud835\udd42":"&Kopf;","\ud835\udca6":"&Kscr;","\u0409":"&LJcy;","<":"&lt;","\u0139":"&Lacute;","\u039b":"&Lambda;","\u27ea":"&Lang;","\u2112":"&lagran;","\u219e":"&twoheadleftarrow;","\u013d":"&Lcaron;","\u013b":"&Lcedil;","\u041b":"&Lcy;","\u27e8":"&langle;","\u2190":"&slarr;","\u21e4":"&larrb;","\u21c6":"&lrarr;","\u2308":"&lceil;","\u27e6":"&lobrk;","\u2961":"&LeftDownTeeVector;","\u21c3":"&downharpoonleft;","\u2959":"&LeftDownVectorBar;","\u230a":"&lfloor;","\u2194":"&leftrightarrow;","\u294e":"&LeftRightVector;","\u22a3":"&dashv;","\u21a4":"&mapstoleft;","\u295a":"&LeftTeeVector;","\u22b2":"&vltri;","\u29cf":"&LeftTriangleBar;","\u22b4":"&trianglelefteq;","\u2951":"&LeftUpDownVector;","\u2960":"&LeftUpTeeVector;","\u21bf":"&upharpoonleft;","\u2958":"&LeftUpVectorBar;","\u21bc":"&lharu;","\u2952":"&LeftVectorBar;","\u22da":"&lesseqgtr;","\u2266":"&leqq;","\u2276":"&lg;","\u2aa1":"&LessLess;","\u2a7d":"&les;","\u2272":"&lsim;","\ud835\udd0f":"&Lfr;","\u22d8":"&Ll;","\u21da":"&lAarr;","\u013f":"&Lmidot;","\u27f5":"&xlarr;","\u27f7":"&xharr;","\u27f6":"&xrarr;","\ud835\udd43":"&Lopf;","\u2199":"&swarrow;","\u2198":"&searrow;","\u21b0":"&lsh;","\u0141":"&Lstrok;","\u226a":"&ll;","\u2905":"&Map;","\u041c":"&Mcy;","\u205f":"&MediumSpace;","\u2133":"&phmmat;","\ud835\udd10":"&Mfr;","\u2213":"&mp;","\ud835\udd44":"&Mopf;","\u039c":"&Mu;","\u040a":"&NJcy;","\u0143":"&Nacute;","\u0147":"&Ncaron;","\u0145":"&Ncedil;","\u041d":"&Ncy;","\u200b":"&ZeroWidthSpace;","\n":"&NewLine;","\ud835\udd11":"&Nfr;","\u2060":"&NoBreak;","\xa0":"&nbsp;","\u2115":"&naturals;","\u2aec":"&Not;","\u2262":"&nequiv;","\u226d":"&NotCupCap;","\u2226":"&nspar;","\u2209":"&notinva;","\u2260":"&ne;","\u2242\u0338":"&nesim;","\u2204":"&nexists;","\u226f":"&ngtr;","\u2271":"&ngeq;","\u2267\u0338":"&ngeqq;","\u226b\u0338":"&nGtv;","\u2279":"&ntgl;","\u2a7e\u0338":"&nges;","\u2275":"&ngsim;","\u224e\u0338":"&nbump;","\u224f\u0338":"&nbumpe;","\u22ea":"&ntriangleleft;","\u29cf\u0338":"&NotLeftTriangleBar;","\u22ec":"&ntrianglelefteq;","\u226e":"&nlt;","\u2270":"&nleq;","\u2278":"&ntlg;","\u226a\u0338":"&nLtv;","\u2a7d\u0338":"&nles;","\u2274":"&nlsim;","\u2aa2\u0338":"&NotNestedGreaterGreater;","\u2aa1\u0338":"&NotNestedLessLess;","\u2280":"&nprec;","\u2aaf\u0338":"&npreceq;","\u22e0":"&nprcue;","\u220c":"&notniva;","\u22eb":"&ntriangleright;","\u29d0\u0338":"&NotRightTriangleBar;","\u22ed":"&ntrianglerighteq;","\u228f\u0338":"&NotSquareSubset;","\u22e2":"&nsqsube;","\u2290\u0338":"&NotSquareSuperset;","\u22e3":"&nsqsupe;","\u2282\u20d2":"&vnsub;","\u2288":"&nsubseteq;","\u2281":"&nsucc;","\u2ab0\u0338":"&nsucceq;","\u22e1":"&nsccue;","\u227f\u0338":"&NotSucceedsTilde;","\u2283\u20d2":"&vnsup;","\u2289":"&nsupseteq;","\u2241":"&nsim;","\u2244":"&nsimeq;","\u2247":"&ncong;","\u2249":"&napprox;","\u2224":"&nsmid;","\ud835\udca9":"&Nscr;","\xd1":"&Ntilde;","\u039d":"&Nu;","\u0152":"&OElig;","\xd3":"&Oacute;","\xd4":"&Ocirc;","\u041e":"&Ocy;","\u0150":"&Odblac;","\ud835\udd12":"&Ofr;","\xd2":"&Ograve;","\u014c":"&Omacr;","\u03a9":"&ohm;","\u039f":"&Omicron;","\ud835\udd46":"&Oopf;","\u201c":"&ldquo;","\u2018":"&lsquo;","\u2a54":"&Or;","\ud835\udcaa":"&Oscr;","\xd8":"&Oslash;","\xd5":"&Otilde;","\u2a37":"&Otimes;","\xd6":"&Ouml;","\u203e":"&oline;","\u23de":"&OverBrace;","\u23b4":"&tbrk;","\u23dc":"&OverParenthesis;","\u2202":"&part;","\u041f":"&Pcy;","\ud835\udd13":"&Pfr;","\u03a6":"&Phi;","\u03a0":"&Pi;","\xb1":"&pm;","\u2119":"&primes;","\u2abb":"&Pr;","\u227a":"&prec;","\u2aaf":"&preceq;","\u227c":"&preccurlyeq;","\u227e":"&prsim;","\u2033":"&Prime;","\u220f":"&prod;","\u221d":"&vprop;","\ud835\udcab":"&Pscr;","\u03a8":"&Psi;",'"':"&quot;","\ud835\udd14":"&Qfr;","\u211a":"&rationals;","\ud835\udcac":"&Qscr;","\u2910":"&drbkarow;","\xae":"&reg;","\u0154":"&Racute;","\u27eb":"&Rang;","\u21a0":"&twoheadrightarrow;","\u2916":"&Rarrtl;","\u0158":"&Rcaron;","\u0156":"&Rcedil;","\u0420":"&Rcy;","\u211c":"&realpart;","\u220b":"&niv;","\u21cb":"&lrhar;","\u296f":"&duhar;","\u03a1":"&Rho;","\u27e9":"&rangle;","\u2192":"&srarr;","\u21e5":"&rarrb;","\u21c4":"&rlarr;","\u2309":"&rceil;","\u27e7":"&robrk;","\u295d":"&RightDownTeeVector;","\u21c2":"&downharpoonright;","\u2955":"&RightDownVectorBar;","\u230b":"&rfloor;","\u22a2":"&vdash;","\u21a6":"&mapsto;","\u295b":"&RightTeeVector;","\u22b3":"&vrtri;","\u29d0":"&RightTriangleBar;","\u22b5":"&trianglerighteq;","\u294f":"&RightUpDownVector;","\u295c":"&RightUpTeeVector;","\u21be":"&upharpoonright;","\u2954":"&RightUpVectorBar;","\u21c0":"&rightharpoonup;","\u2953":"&RightVectorBar;","\u211d":"&reals;","\u2970":"&RoundImplies;","\u21db":"&rAarr;","\u211b":"&realine;","\u21b1":"&rsh;","\u29f4":"&RuleDelayed;","\u0429":"&SHCHcy;","\u0428":"&SHcy;","\u042c":"&SOFTcy;","\u015a":"&Sacute;","\u2abc":"&Sc;","\u0160":"&Scaron;","\u015e":"&Scedil;","\u015c":"&Scirc;","\u0421":"&Scy;","\ud835\udd16":"&Sfr;","\u2191":"&uparrow;","\u03a3":"&Sigma;","\u2218":"&compfn;","\ud835\udd4a":"&Sopf;","\u221a":"&radic;","\u25a1":"&square;","\u2293":"&sqcap;","\u228f":"&sqsubset;","\u2291":"&sqsubseteq;","\u2290":"&sqsupset;","\u2292":"&sqsupseteq;","\u2294":"&sqcup;","\ud835\udcae":"&Sscr;","\u22c6":"&sstarf;","\u22d0":"&Subset;","\u2286":"&subseteq;","\u227b":"&succ;","\u2ab0":"&succeq;","\u227d":"&succcurlyeq;","\u227f":"&succsim;","\u2211":"&sum;","\u22d1":"&Supset;","\u2283":"&supset;","\u2287":"&supseteq;","\xde":"&THORN;","\u2122":"&trade;","\u040b":"&TSHcy;","\u0426":"&TScy;","\t":"&Tab;","\u03a4":"&Tau;","\u0164":"&Tcaron;","\u0162":"&Tcedil;","\u0422":"&Tcy;","\ud835\udd17":"&Tfr;","\u2234":"&therefore;","\u0398":"&Theta;","\u205f\u200a":"&ThickSpace;","\u2009":"&thinsp;","\u223c":"&thksim;","\u2243":"&simeq;","\u2245":"&cong;","\u2248":"&thkap;","\ud835\udd4b":"&Topf;","\u20db":"&tdot;","\ud835\udcaf":"&Tscr;","\u0166":"&Tstrok;","\xda":"&Uacute;","\u219f":"&Uarr;","\u2949":"&Uarrocir;","\u040e":"&Ubrcy;","\u016c":"&Ubreve;","\xdb":"&Ucirc;","\u0423":"&Ucy;","\u0170":"&Udblac;","\ud835\udd18":"&Ufr;","\xd9":"&Ugrave;","\u016a":"&Umacr;",_:"&lowbar;","\u23df":"&UnderBrace;","\u23b5":"&bbrk;","\u23dd":"&UnderParenthesis;","\u22c3":"&xcup;","\u228e":"&uplus;","\u0172":"&Uogon;","\ud835\udd4c":"&Uopf;","\u2912":"&UpArrowBar;","\u21c5":"&udarr;","\u2195":"&varr;","\u296e":"&udhar;","\u22a5":"&perp;","\u21a5":"&mapstoup;","\u2196":"&nwarrow;","\u2197":"&nearrow;","\u03d2":"&upsih;","\u03a5":"&Upsilon;","\u016e":"&Uring;","\ud835\udcb0":"&Uscr;","\u0168":"&Utilde;","\xdc":"&Uuml;","\u22ab":"&VDash;","\u2aeb":"&Vbar;","\u0412":"&Vcy;","\u22a9":"&Vdash;","\u2ae6":"&Vdashl;","\u22c1":"&xvee;","\u2016":"&Vert;","\u2223":"&smid;","|":"&vert;","\u2758":"&VerticalSeparator;","\u2240":"&wreath;","\u200a":"&hairsp;","\ud835\udd19":"&Vfr;","\ud835\udd4d":"&Vopf;","\ud835\udcb1":"&Vscr;","\u22aa":"&Vvdash;","\u0174":"&Wcirc;","\u22c0":"&xwedge;","\ud835\udd1a":"&Wfr;","\ud835\udd4e":"&Wopf;","\ud835\udcb2":"&Wscr;","\ud835\udd1b":"&Xfr;","\u039e":"&Xi;","\ud835\udd4f":"&Xopf;","\ud835\udcb3":"&Xscr;","\u042f":"&YAcy;","\u0407":"&YIcy;","\u042e":"&YUcy;","\xdd":"&Yacute;","\u0176":"&Ycirc;","\u042b":"&Ycy;","\ud835\udd1c":"&Yfr;","\ud835\udd50":"&Yopf;","\ud835\udcb4":"&Yscr;","\u0178":"&Yuml;","\u0416":"&ZHcy;","\u0179":"&Zacute;","\u017d":"&Zcaron;","\u0417":"&Zcy;","\u017b":"&Zdot;","\u0396":"&Zeta;","\u2128":"&zeetrf;","\u2124":"&integers;","\ud835\udcb5":"&Zscr;","\xe1":"&aacute;","\u0103":"&abreve;","\u223e":"&mstpos;","\u223e\u0333":"&acE;","\u223f":"&acd;","\xe2":"&acirc;","\u0430":"&acy;","\xe6":"&aelig;","\ud835\udd1e":"&afr;","\xe0":"&agrave;","\u2135":"&aleph;","\u03b1":"&alpha;","\u0101":"&amacr;","\u2a3f":"&amalg;","\u2227":"&wedge;","\u2a55":"&andand;","\u2a5c":"&andd;","\u2a58":"&andslope;","\u2a5a":"&andv;","\u2220":"&angle;","\u29a4":"&ange;","\u2221":"&measuredangle;","\u29a8":"&angmsdaa;","\u29a9":"&angmsdab;","\u29aa":"&angmsdac;","\u29ab":"&angmsdad;","\u29ac":"&angmsdae;","\u29ad":"&angmsdaf;","\u29ae":"&angmsdag;","\u29af":"&angmsdah;","\u221f":"&angrt;","\u22be":"&angrtvb;","\u299d":"&angrtvbd;","\u2222":"&angsph;","\u237c":"&angzarr;","\u0105":"&aogon;","\ud835\udd52":"&aopf;","\u2a70":"&apE;","\u2a6f":"&apacir;","\u224a":"&approxeq;","\u224b":"&apid;","'":"&apos;","\xe5":"&aring;","\ud835\udcb6":"&ascr;","*":"&midast;","\xe3":"&atilde;","\xe4":"&auml;","\u2a11":"&awint;","\u2aed":"&bNot;","\u224c":"&bcong;","\u03f6":"&bepsi;","\u2035":"&bprime;","\u223d":"&bsim;","\u22cd":"&bsime;","\u22bd":"&barvee;","\u2305":"&barwedge;","\u23b6":"&bbrktbrk;","\u0431":"&bcy;","\u201e":"&ldquor;","\u29b0":"&bemptyv;","\u03b2":"&beta;","\u2136":"&beth;","\u226c":"&twixt;","\ud835\udd1f":"&bfr;","\u25ef":"&xcirc;","\u2a00":"&xodot;","\u2a01":"&xoplus;","\u2a02":"&xotime;","\u2a06":"&xsqcup;","\u2605":"&starf;","\u25bd":"&xdtri;","\u25b3":"&xutri;","\u2a04":"&xuplus;","\u290d":"&rbarr;","\u29eb":"&lozf;","\u25b4":"&utrif;","\u25be":"&dtrif;","\u25c2":"&ltrif;","\u25b8":"&rtrif;","\u2423":"&blank;","\u2592":"&blk12;","\u2591":"&blk14;","\u2593":"&blk34;","\u2588":"&block;","=\u20e5":"&bne;","\u2261\u20e5":"&bnequiv;","\u2310":"&bnot;","\ud835\udd53":"&bopf;","\u22c8":"&bowtie;","\u2557":"&boxDL;","\u2554":"&boxDR;","\u2556":"&boxDl;","\u2553":"&boxDr;","\u2550":"&boxH;","\u2566":"&boxHD;","\u2569":"&boxHU;","\u2564":"&boxHd;","\u2567":"&boxHu;","\u255d":"&boxUL;","\u255a":"&boxUR;","\u255c":"&boxUl;","\u2559":"&boxUr;","\u2551":"&boxV;","\u256c":"&boxVH;","\u2563":"&boxVL;","\u2560":"&boxVR;","\u256b":"&boxVh;","\u2562":"&boxVl;","\u255f":"&boxVr;","\u29c9":"&boxbox;","\u2555":"&boxdL;","\u2552":"&boxdR;","\u2510":"&boxdl;","\u250c":"&boxdr;","\u2565":"&boxhD;","\u2568":"&boxhU;","\u252c":"&boxhd;","\u2534":"&boxhu;","\u229f":"&minusb;","\u229e":"&plusb;","\u22a0":"&timesb;","\u255b":"&boxuL;","\u2558":"&boxuR;","\u2518":"&boxul;","\u2514":"&boxur;","\u2502":"&boxv;","\u256a":"&boxvH;","\u2561":"&boxvL;","\u255e":"&boxvR;","\u253c":"&boxvh;","\u2524":"&boxvl;","\u251c":"&boxvr;","\xa6":"&brvbar;","\ud835\udcb7":"&bscr;","\u204f":"&bsemi;","\\":"&bsol;","\u29c5":"&bsolb;","\u27c8":"&bsolhsub;","\u2022":"&bullet;","\u2aae":"&bumpE;","\u0107":"&cacute;","\u2229":"&cap;","\u2a44":"&capand;","\u2a49":"&capbrcup;","\u2a4b":"&capcap;","\u2a47":"&capcup;","\u2a40":"&capdot;","\u2229\ufe00":"&caps;","\u2041":"&caret;","\u2a4d":"&ccaps;","\u010d":"&ccaron;","\xe7":"&ccedil;","\u0109":"&ccirc;","\u2a4c":"&ccups;","\u2a50":"&ccupssm;","\u010b":"&cdot;","\u29b2":"&cemptyv;","\xa2":"&cent;","\ud835\udd20":"&cfr;","\u0447":"&chcy;","\u2713":"&checkmark;","\u03c7":"&chi;","\u25cb":"&cir;","\u29c3":"&cirE;","\u02c6":"&circ;","\u2257":"&cire;","\u21ba":"&olarr;","\u21bb":"&orarr;","\u24c8":"&oS;","\u229b":"&oast;","\u229a":"&ocir;","\u229d":"&odash;","\u2a10":"&cirfnint;","\u2aef":"&cirmid;","\u29c2":"&cirscir;","\u2663":"&clubsuit;",":":"&colon;",",":"&comma;","@":"&commat;","\u2201":"&complement;","\u2a6d":"&congdot;","\ud835\udd54":"&copf;","\u2117":"&copysr;","\u21b5":"&crarr;","\u2717":"&cross;","\ud835\udcb8":"&cscr;","\u2acf":"&csub;","\u2ad1":"&csube;","\u2ad0":"&csup;","\u2ad2":"&csupe;","\u22ef":"&ctdot;","\u2938":"&cudarrl;","\u2935":"&cudarrr;","\u22de":"&curlyeqprec;","\u22df":"&curlyeqsucc;","\u21b6":"&curvearrowleft;","\u293d":"&cularrp;","\u222a":"&cup;","\u2a48":"&cupbrcap;","\u2a46":"&cupcap;","\u2a4a":"&cupcup;","\u228d":"&cupdot;","\u2a45":"&cupor;","\u222a\ufe00":"&cups;","\u21b7":"&curvearrowright;","\u293c":"&curarrm;","\u22ce":"&cuvee;","\u22cf":"&cuwed;","\xa4":"&curren;","\u2231":"&cwint;","\u232d":"&cylcty;","\u2965":"&dHar;","\u2020":"&dagger;","\u2138":"&daleth;","\u2010":"&hyphen;","\u290f":"&rBarr;","\u010f":"&dcaron;","\u0434":"&dcy;","\u21ca":"&downdownarrows;","\u2a77":"&eDDot;","\xb0":"&deg;","\u03b4":"&delta;","\u29b1":"&demptyv;","\u297f":"&dfisht;","\ud835\udd21":"&dfr;","\u2666":"&diams;","\u03dd":"&gammad;","\u22f2":"&disin;","\xf7":"&divide;","\u22c7":"&divonx;","\u0452":"&djcy;","\u231e":"&llcorner;","\u230d":"&dlcrop;",$:"&dollar;","\ud835\udd55":"&dopf;","\u2251":"&eDot;","\u2238":"&minusd;","\u2214":"&plusdo;","\u22a1":"&sdotb;","\u231f":"&lrcorner;","\u230c":"&drcrop;","\ud835\udcb9":"&dscr;","\u0455":"&dscy;","\u29f6":"&dsol;","\u0111":"&dstrok;","\u22f1":"&dtdot;","\u25bf":"&triangledown;","\u29a6":"&dwangle;","\u045f":"&dzcy;","\u27ff":"&dzigrarr;","\xe9":"&eacute;","\u2a6e":"&easter;","\u011b":"&ecaron;","\u2256":"&eqcirc;","\xea":"&ecirc;","\u2255":"&eqcolon;","\u044d":"&ecy;","\u0117":"&edot;","\u2252":"&fallingdotseq;","\ud835\udd22":"&efr;","\u2a9a":"&eg;","\xe8":"&egrave;","\u2a96":"&eqslantgtr;","\u2a98":"&egsdot;","\u2a99":"&el;","\u23e7":"&elinters;","\u2113":"&ell;","\u2a95":"&eqslantless;","\u2a97":"&elsdot;","\u0113":"&emacr;","\u2205":"&varnothing;","\u2004":"&emsp13;","\u2005":"&emsp14;","\u2003":"&emsp;","\u014b":"&eng;","\u2002":"&ensp;","\u0119":"&eogon;","\ud835\udd56":"&eopf;","\u22d5":"&epar;","\u29e3":"&eparsl;","\u2a71":"&eplus;","\u03b5":"&epsilon;","\u03f5":"&varepsilon;","=":"&equals;","\u225f":"&questeq;","\u2a78":"&equivDD;","\u29e5":"&eqvparsl;","\u2253":"&risingdotseq;","\u2971":"&erarr;","\u212f":"&escr;","\u03b7":"&eta;","\xf0":"&eth;","\xeb":"&euml;","\u20ac":"&euro;","!":"&excl;","\u0444":"&fcy;","\u2640":"&female;","\ufb03":"&ffilig;","\ufb00":"&fflig;","\ufb04":"&ffllig;","\ud835\udd23":"&ffr;","\ufb01":"&filig;",fj:"&fjlig;","\u266d":"&flat;","\ufb02":"&fllig;","\u25b1":"&fltns;","\u0192":"&fnof;","\ud835\udd57":"&fopf;","\u22d4":"&pitchfork;","\u2ad9":"&forkv;","\u2a0d":"&fpartint;","\xbd":"&half;","\u2153":"&frac13;","\xbc":"&frac14;","\u2155":"&frac15;","\u2159":"&frac16;","\u215b":"&frac18;","\u2154":"&frac23;","\u2156":"&frac25;","\xbe":"&frac34;","\u2157":"&frac35;","\u215c":"&frac38;","\u2158":"&frac45;","\u215a":"&frac56;","\u215d":"&frac58;","\u215e":"&frac78;","\u2044":"&frasl;","\u2322":"&sfrown;","\ud835\udcbb":"&fscr;","\u2a8c":"&gtreqqless;","\u01f5":"&gacute;","\u03b3":"&gamma;","\u2a86":"&gtrapprox;","\u011f":"&gbreve;","\u011d":"&gcirc;","\u0433":"&gcy;","\u0121":"&gdot;","\u2aa9":"&gescc;","\u2a80":"&gesdot;","\u2a82":"&gesdoto;","\u2a84":"&gesdotol;","\u22db\ufe00":"&gesl;","\u2a94":"&gesles;","\ud835\udd24":"&gfr;","\u2137":"&gimel;","\u0453":"&gjcy;","\u2a92":"&glE;","\u2aa5":"&gla;","\u2aa4":"&glj;","\u2269":"&gneqq;","\u2a8a":"&gnapprox;","\u2a88":"&gneq;","\u22e7":"&gnsim;","\ud835\udd58":"&gopf;","\u210a":"&gscr;","\u2a8e":"&gsime;","\u2a90":"&gsiml;","\u2aa7":"&gtcc;","\u2a7a":"&gtcir;","\u22d7":"&gtrdot;","\u2995":"&gtlPar;","\u2a7c":"&gtquest;","\u2978":"&gtrarr;","\u2269\ufe00":"&gvnE;","\u044a":"&hardcy;","\u2948":"&harrcir;","\u21ad":"&leftrightsquigarrow;","\u210f":"&plankv;","\u0125":"&hcirc;","\u2665":"&heartsuit;","\u2026":"&mldr;","\u22b9":"&hercon;","\ud835\udd25":"&hfr;","\u2925":"&searhk;","\u2926":"&swarhk;","\u21ff":"&hoarr;","\u223b":"&homtht;","\u21a9":"&larrhk;","\u21aa":"&rarrhk;","\ud835\udd59":"&hopf;","\u2015":"&horbar;","\ud835\udcbd":"&hscr;","\u0127":"&hstrok;","\u2043":"&hybull;","\xed":"&iacute;","\xee":"&icirc;","\u0438":"&icy;","\u0435":"&iecy;","\xa1":"&iexcl;","\ud835\udd26":"&ifr;","\xec":"&igrave;","\u2a0c":"&qint;","\u222d":"&tint;","\u29dc":"&iinfin;","\u2129":"&iiota;","\u0133":"&ijlig;","\u012b":"&imacr;","\u0131":"&inodot;","\u22b7":"&imof;","\u01b5":"&imped;","\u2105":"&incare;","\u221e":"&infin;","\u29dd":"&infintie;","\u22ba":"&intercal;","\u2a17":"&intlarhk;","\u2a3c":"&iprod;","\u0451":"&iocy;","\u012f":"&iogon;","\ud835\udd5a":"&iopf;","\u03b9":"&iota;","\xbf":"&iquest;","\ud835\udcbe":"&iscr;","\u22f9":"&isinE;","\u22f5":"&isindot;","\u22f4":"&isins;","\u22f3":"&isinsv;","\u0129":"&itilde;","\u0456":"&iukcy;","\xef":"&iuml;","\u0135":"&jcirc;","\u0439":"&jcy;","\ud835\udd27":"&jfr;","\u0237":"&jmath;","\ud835\udd5b":"&jopf;","\ud835\udcbf":"&jscr;","\u0458":"&jsercy;","\u0454":"&jukcy;","\u03ba":"&kappa;","\u03f0":"&varkappa;","\u0137":"&kcedil;","\u043a":"&kcy;","\ud835\udd28":"&kfr;","\u0138":"&kgreen;","\u0445":"&khcy;","\u045c":"&kjcy;","\ud835\udd5c":"&kopf;","\ud835\udcc0":"&kscr;","\u291b":"&lAtail;","\u290e":"&lBarr;","\u2a8b":"&lesseqqgtr;","\u2962":"&lHar;","\u013a":"&lacute;","\u29b4":"&laemptyv;","\u03bb":"&lambda;","\u2991":"&langd;","\u2a85":"&lessapprox;","\xab":"&laquo;","\u291f":"&larrbfs;","\u291d":"&larrfs;","\u21ab":"&looparrowleft;","\u2939":"&larrpl;","\u2973":"&larrsim;","\u21a2":"&leftarrowtail;","\u2aab":"&lat;","\u2919":"&latail;","\u2aad":"&late;","\u2aad\ufe00":"&lates;","\u290c":"&lbarr;","\u2772":"&lbbrk;","{":"&lcub;","[":"&lsqb;","\u298b":"&lbrke;","\u298f":"&lbrksld;","\u298d":"&lbrkslu;","\u013e":"&lcaron;","\u013c":"&lcedil;","\u043b":"&lcy;","\u2936":"&ldca;","\u2967":"&ldrdhar;","\u294b":"&ldrushar;","\u21b2":"&ldsh;","\u2264":"&leq;","\u21c7":"&llarr;","\u22cb":"&lthree;","\u2aa8":"&lescc;","\u2a7f":"&lesdot;","\u2a81":"&lesdoto;","\u2a83":"&lesdotor;","\u22da\ufe00":"&lesg;","\u2a93":"&lesges;","\u22d6":"&ltdot;","\u297c":"&lfisht;","\ud835\udd29":"&lfr;","\u2a91":"&lgE;","\u296a":"&lharul;","\u2584":"&lhblk;","\u0459":"&ljcy;","\u296b":"&llhard;","\u25fa":"&lltri;","\u0140":"&lmidot;","\u23b0":"&lmoustache;","\u2268":"&lneqq;","\u2a89":"&lnapprox;","\u2a87":"&lneq;","\u22e6":"&lnsim;","\u27ec":"&loang;","\u21fd":"&loarr;","\u27fc":"&xmap;","\u21ac":"&rarrlp;","\u2985":"&lopar;","\ud835\udd5d":"&lopf;","\u2a2d":"&loplus;","\u2a34":"&lotimes;","\u2217":"&lowast;","\u25ca":"&lozenge;","(":"&lpar;","\u2993":"&lparlt;","\u296d":"&lrhard;","\u200e":"&lrm;","\u22bf":"&lrtri;","\u2039":"&lsaquo;","\ud835\udcc1":"&lscr;","\u2a8d":"&lsime;","\u2a8f":"&lsimg;","\u201a":"&sbquo;","\u0142":"&lstrok;","\u2aa6":"&ltcc;","\u2a79":"&ltcir;","\u22c9":"&ltimes;","\u2976":"&ltlarr;","\u2a7b":"&ltquest;","\u2996":"&ltrPar;","\u25c3":"&triangleleft;","\u294a":"&lurdshar;","\u2966":"&luruhar;","\u2268\ufe00":"&lvnE;","\u223a":"&mDDot;","\xaf":"&strns;","\u2642":"&male;","\u2720":"&maltese;","\u25ae":"&marker;","\u2a29":"&mcomma;","\u043c":"&mcy;","\u2014":"&mdash;","\ud835\udd2a":"&mfr;","\u2127":"&mho;","\xb5":"&micro;","\u2af0":"&midcir;","\u2212":"&minus;","\u2a2a":"&minusdu;","\u2adb":"&mlcp;","\u22a7":"&models;","\ud835\udd5e":"&mopf;","\ud835\udcc2":"&mscr;","\u03bc":"&mu;","\u22b8":"&mumap;","\u22d9\u0338":"&nGg;","\u226b\u20d2":"&nGt;","\u21cd":"&nlArr;","\u21ce":"&nhArr;","\u22d8\u0338":"&nLl;","\u226a\u20d2":"&nLt;","\u21cf":"&nrArr;","\u22af":"&nVDash;","\u22ae":"&nVdash;","\u0144":"&nacute;","\u2220\u20d2":"&nang;","\u2a70\u0338":"&napE;","\u224b\u0338":"&napid;","\u0149":"&napos;","\u266e":"&natural;","\u2a43":"&ncap;","\u0148":"&ncaron;","\u0146":"&ncedil;","\u2a6d\u0338":"&ncongdot;","\u2a42":"&ncup;","\u043d":"&ncy;","\u2013":"&ndash;","\u21d7":"&neArr;","\u2924":"&nearhk;","\u2250\u0338":"&nedot;","\u2928":"&toea;","\ud835\udd2b":"&nfr;","\u21ae":"&nleftrightarrow;","\u2af2":"&nhpar;","\u22fc":"&nis;","\u22fa":"&nisd;","\u045a":"&njcy;","\u2266\u0338":"&nleqq;","\u219a":"&nleftarrow;","\u2025":"&nldr;","\ud835\udd5f":"&nopf;","\xac":"&not;","\u22f9\u0338":"&notinE;","\u22f5\u0338":"&notindot;","\u22f7":"&notinvb;","\u22f6":"&notinvc;","\u22fe":"&notnivb;","\u22fd":"&notnivc;","\u2afd\u20e5":"&nparsl;","\u2202\u0338":"&npart;","\u2a14":"&npolint;","\u219b":"&nrightarrow;","\u2933\u0338":"&nrarrc;","\u219d\u0338":"&nrarrw;","\ud835\udcc3":"&nscr;","\u2284":"&nsub;","\u2ac5\u0338":"&nsubseteqq;","\u2285":"&nsup;","\u2ac6\u0338":"&nsupseteqq;","\xf1":"&ntilde;","\u03bd":"&nu;","#":"&num;","\u2116":"&numero;","\u2007":"&numsp;","\u22ad":"&nvDash;","\u2904":"&nvHarr;","\u224d\u20d2":"&nvap;","\u22ac":"&nvdash;","\u2265\u20d2":"&nvge;",">\u20d2":"&nvgt;","\u29de":"&nvinfin;","\u2902":"&nvlArr;","\u2264\u20d2":"&nvle;","<\u20d2":"&nvlt;","\u22b4\u20d2":"&nvltrie;","\u2903":"&nvrArr;","\u22b5\u20d2":"&nvrtrie;","\u223c\u20d2":"&nvsim;","\u21d6":"&nwArr;","\u2923":"&nwarhk;","\u2927":"&nwnear;","\xf3":"&oacute;","\xf4":"&ocirc;","\u043e":"&ocy;","\u0151":"&odblac;","\u2a38":"&odiv;","\u29bc":"&odsold;","\u0153":"&oelig;","\u29bf":"&ofcir;","\ud835\udd2c":"&ofr;","\u02db":"&ogon;","\xf2":"&ograve;","\u29c1":"&ogt;","\u29b5":"&ohbar;","\u29be":"&olcir;","\u29bb":"&olcross;","\u29c0":"&olt;","\u014d":"&omacr;","\u03c9":"&omega;","\u03bf":"&omicron;","\u29b6":"&omid;","\ud835\udd60":"&oopf;","\u29b7":"&opar;","\u29b9":"&operp;","\u2228":"&vee;","\u2a5d":"&ord;","\u2134":"&oscr;","\xaa":"&ordf;","\xba":"&ordm;","\u22b6":"&origof;","\u2a56":"&oror;","\u2a57":"&orslope;","\u2a5b":"&orv;","\xf8":"&oslash;","\u2298":"&osol;","\xf5":"&otilde;","\u2a36":"&otimesas;","\xf6":"&ouml;","\u233d":"&ovbar;","\xb6":"&para;","\u2af3":"&parsim;","\u2afd":"&parsl;","\u043f":"&pcy;","%":"&percnt;",".":"&period;","\u2030":"&permil;","\u2031":"&pertenk;","\ud835\udd2d":"&pfr;","\u03c6":"&phi;","\u03d5":"&varphi;","\u260e":"&phone;","\u03c0":"&pi;","\u03d6":"&varpi;","\u210e":"&planckh;","+":"&plus;","\u2a23":"&plusacir;","\u2a22":"&pluscir;","\u2a25":"&plusdu;","\u2a72":"&pluse;","\u2a26":"&plussim;","\u2a27":"&plustwo;","\u2a15":"&pointint;","\ud835\udd61":"&popf;","\xa3":"&pound;","\u2ab3":"&prE;","\u2ab7":"&precapprox;","\u2ab9":"&prnap;","\u2ab5":"&prnE;","\u22e8":"&prnsim;","\u2032":"&prime;","\u232e":"&profalar;","\u2312":"&profline;","\u2313":"&profsurf;","\u22b0":"&prurel;","\ud835\udcc5":"&pscr;","\u03c8":"&psi;","\u2008":"&puncsp;","\ud835\udd2e":"&qfr;","\ud835\udd62":"&qopf;","\u2057":"&qprime;","\ud835\udcc6":"&qscr;","\u2a16":"&quatint;","?":"&quest;","\u291c":"&rAtail;","\u2964":"&rHar;","\u223d\u0331":"&race;","\u0155":"&racute;","\u29b3":"&raemptyv;","\u2992":"&rangd;","\u29a5":"&range;","\xbb":"&raquo;","\u2975":"&rarrap;","\u2920":"&rarrbfs;","\u2933":"&rarrc;","\u291e":"&rarrfs;","\u2945":"&rarrpl;","\u2974":"&rarrsim;","\u21a3":"&rightarrowtail;","\u219d":"&rightsquigarrow;","\u291a":"&ratail;","\u2236":"&ratio;","\u2773":"&rbbrk;","}":"&rcub;","]":"&rsqb;","\u298c":"&rbrke;","\u298e":"&rbrksld;","\u2990":"&rbrkslu;","\u0159":"&rcaron;","\u0157":"&rcedil;","\u0440":"&rcy;","\u2937":"&rdca;","\u2969":"&rdldhar;","\u21b3":"&rdsh;","\u25ad":"&rect;","\u297d":"&rfisht;","\ud835\udd2f":"&rfr;","\u296c":"&rharul;","\u03c1":"&rho;","\u03f1":"&varrho;","\u21c9":"&rrarr;","\u22cc":"&rthree;","\u02da":"&ring;","\u200f":"&rlm;","\u23b1":"&rmoustache;","\u2aee":"&rnmid;","\u27ed":"&roang;","\u21fe":"&roarr;","\u2986":"&ropar;","\ud835\udd63":"&ropf;","\u2a2e":"&roplus;","\u2a35":"&rotimes;",")":"&rpar;","\u2994":"&rpargt;","\u2a12":"&rppolint;","\u203a":"&rsaquo;","\ud835\udcc7":"&rscr;","\u22ca":"&rtimes;","\u25b9":"&triangleright;","\u29ce":"&rtriltri;","\u2968":"&ruluhar;","\u211e":"&rx;","\u015b":"&sacute;","\u2ab4":"&scE;","\u2ab8":"&succapprox;","\u0161":"&scaron;","\u015f":"&scedil;","\u015d":"&scirc;","\u2ab6":"&succneqq;","\u2aba":"&succnapprox;","\u22e9":"&succnsim;","\u2a13":"&scpolint;","\u0441":"&scy;","\u22c5":"&sdot;","\u2a66":"&sdote;","\u21d8":"&seArr;","\xa7":"&sect;",";":"&semi;","\u2929":"&tosa;","\u2736":"&sext;","\ud835\udd30":"&sfr;","\u266f":"&sharp;","\u0449":"&shchcy;","\u0448":"&shcy;","\xad":"&shy;","\u03c3":"&sigma;","\u03c2":"&varsigma;","\u2a6a":"&simdot;","\u2a9e":"&simg;","\u2aa0":"&simgE;","\u2a9d":"&siml;","\u2a9f":"&simlE;","\u2246":"&simne;","\u2a24":"&simplus;","\u2972":"&simrarr;","\u2a33":"&smashp;","\u29e4":"&smeparsl;","\u2323":"&ssmile;","\u2aaa":"&smt;","\u2aac":"&smte;","\u2aac\ufe00":"&smtes;","\u044c":"&softcy;","/":"&sol;","\u29c4":"&solb;","\u233f":"&solbar;","\ud835\udd64":"&sopf;","\u2660":"&spadesuit;","\u2293\ufe00":"&sqcaps;","\u2294\ufe00":"&sqcups;","\ud835\udcc8":"&sscr;","\u2606":"&star;","\u2282":"&subset;","\u2ac5":"&subseteqq;","\u2abd":"&subdot;","\u2ac3":"&subedot;","\u2ac1":"&submult;","\u2acb":"&subsetneqq;","\u228a":"&subsetneq;","\u2abf":"&subplus;","\u2979":"&subrarr;","\u2ac7":"&subsim;","\u2ad5":"&subsub;","\u2ad3":"&subsup;","\u266a":"&sung;","\xb9":"&sup1;","\xb2":"&sup2;","\xb3":"&sup3;","\u2ac6":"&supseteqq;","\u2abe":"&supdot;","\u2ad8":"&supdsub;","\u2ac4":"&supedot;","\u27c9":"&suphsol;","\u2ad7":"&suphsub;","\u297b":"&suplarr;","\u2ac2":"&supmult;","\u2acc":"&supsetneqq;","\u228b":"&supsetneq;","\u2ac0":"&supplus;","\u2ac8":"&supsim;","\u2ad4":"&supsub;","\u2ad6":"&supsup;","\u21d9":"&swArr;","\u292a":"&swnwar;","\xdf":"&szlig;","\u2316":"&target;","\u03c4":"&tau;","\u0165":"&tcaron;","\u0163":"&tcedil;","\u0442":"&tcy;","\u2315":"&telrec;","\ud835\udd31":"&tfr;","\u03b8":"&theta;","\u03d1":"&vartheta;","\xfe":"&thorn;","\xd7":"&times;","\u2a31":"&timesbar;","\u2a30":"&timesd;","\u2336":"&topbot;","\u2af1":"&topcir;","\ud835\udd65":"&topf;","\u2ada":"&topfork;","\u2034":"&tprime;","\u25b5":"&utri;","\u225c":"&trie;","\u25ec":"&tridot;","\u2a3a":"&triminus;","\u2a39":"&triplus;","\u29cd":"&trisb;","\u2a3b":"&tritime;","\u23e2":"&trpezium;","\ud835\udcc9":"&tscr;","\u0446":"&tscy;","\u045b":"&tshcy;","\u0167":"&tstrok;","\u2963":"&uHar;","\xfa":"&uacute;","\u045e":"&ubrcy;","\u016d":"&ubreve;","\xfb":"&ucirc;","\u0443":"&ucy;","\u0171":"&udblac;","\u297e":"&ufisht;","\ud835\udd32":"&ufr;","\xf9":"&ugrave;","\u2580":"&uhblk;","\u231c":"&ulcorner;","\u230f":"&ulcrop;","\u25f8":"&ultri;","\u016b":"&umacr;","\u0173":"&uogon;","\ud835\udd66":"&uopf;","\u03c5":"&upsilon;","\u21c8":"&uuarr;","\u231d":"&urcorner;","\u230e":"&urcrop;","\u016f":"&uring;","\u25f9":"&urtri;","\ud835\udcca":"&uscr;","\u22f0":"&utdot;","\u0169":"&utilde;","\xfc":"&uuml;","\u29a7":"&uwangle;","\u2ae8":"&vBar;","\u2ae9":"&vBarv;","\u299c":"&vangrt;","\u228a\ufe00":"&vsubne;","\u2acb\ufe00":"&vsubnE;","\u228b\ufe00":"&vsupne;","\u2acc\ufe00":"&vsupnE;","\u0432":"&vcy;","\u22bb":"&veebar;","\u225a":"&veeeq;","\u22ee":"&vellip;","\ud835\udd33":"&vfr;","\ud835\udd67":"&vopf;","\ud835\udccb":"&vscr;","\u299a":"&vzigzag;","\u0175":"&wcirc;","\u2a5f":"&wedbar;","\u2259":"&wedgeq;","\u2118":"&wp;","\ud835\udd34":"&wfr;","\ud835\udd68":"&wopf;","\ud835\udccc":"&wscr;","\ud835\udd35":"&xfr;","\u03be":"&xi;","\u22fb":"&xnis;","\ud835\udd69":"&xopf;","\ud835\udccd":"&xscr;","\xfd":"&yacute;","\u044f":"&yacy;","\u0177":"&ycirc;","\u044b":"&ycy;","\xa5":"&yen;","\ud835\udd36":"&yfr;","\u0457":"&yicy;","\ud835\udd6a":"&yopf;","\ud835\udcce":"&yscr;","\u044e":"&yucy;","\xff":"&yuml;","\u017a":"&zacute;","\u017e":"&zcaron;","\u0437":"&zcy;","\u017c":"&zdot;","\u03b6":"&zeta;","\ud835\udd37":"&zfr;","\u0436":"&zhcy;","\u21dd":"&zigrarr;","\ud835\udd6b":"&zopf;","\ud835\udccf":"&zscr;","\u200d":"&zwj;","\u200c":"&zwnj;"}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fromCodePoint=String.fromCodePoint||function(t){return String.fromCharCode(Math.floor((t-65536)/1024)+55296,(t-65536)%1024+56320)},e.getCodePoint=String.prototype.codePointAt?function(t,e){return t.codePointAt(e)}:function(t,e){return 1024*(t.charCodeAt(e)-55296)+t.charCodeAt(e+1)-56320+65536},e.highSurrogateFrom=55296,e.highSurrogateTo=56319},,,,,,,,,,,,,,,function(t,e,n){"use strict";n.r(e),n.d(e,"StyleSheet",(function(){return Ft})),n.d(e,"StyleSheetServer",(function(){return Bt})),n.d(e,"StyleSheetTestUtils",(function(){return zt})),n.d(e,"css",(function(){return Ht})),n.d(e,"minify",(function(){return Vt})),n.d(e,"flushToStyleTag",(function(){return Ut})),n.d(e,"injectAndGetClassName",(function(){return Wt})),n.d(e,"defaultSelectorHandlers",(function(){return qt})),n.d(e,"reset",(function(){return Gt})),n.d(e,"resetInjectedStyle",(function(){return Yt}));var r=n(334),o=n.n(r),i=n(335),a=n.n(i);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},s(t)}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 c(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){l(t,e,n[e])}))}return t}function u(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 d=/([A-Z])/g,f=function(t){return"-".concat(t.toLowerCase())},p={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!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,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};var h=["Webkit","ms","Moz","O"];Object.keys(p).forEach((function(t){h.forEach((function(e){p[function(t,e){return t+e.charAt(0).toUpperCase()+e.substring(1)}(e,t)]=p[t]}))}));var v=function(t,e){return"number"===typeof e?p[t]?""+e:e+"px":""+e},g=function(t,e){return b(v(t,e))},m=function(t,e){return o()(t).toString(36)},b=function(t){return"!"===t[t.length-10]&&" !important"===t.slice(-11)?t:"".concat(t," !important")},y="undefined"!==typeof Map,x=function(){function t(){this.elements={},this.keyOrder=[]}var e=t.prototype;return e.forEach=function(t){for(var e=0;e<this.keyOrder.length;e++)t(this.elements[this.keyOrder[e]],this.keyOrder[e])},e.set=function(e,n,r){if(this.elements.hasOwnProperty(e)){if(r){var o=this.keyOrder.indexOf(e);this.keyOrder.splice(o,1),this.keyOrder.push(e)}}else this.keyOrder.push(e);if(null!=n){if(y&&n instanceof Map||n instanceof t){var i=this.elements.hasOwnProperty(e)?this.elements[e]:new t;return n.forEach((function(t,e){i.set(e,t,r)})),void(this.elements[e]=i)}if(Array.isArray(n)||"object"!==s(n))this.elements[e]=n;else{for(var a=this.elements.hasOwnProperty(e)?this.elements[e]:new t,l=Object.keys(n),c=0;c<l.length;c+=1)a.set(l[c],n[l[c]],r);this.elements[e]=a}}else this.elements[e]=n},e.get=function(t){return this.elements[t]},e.has=function(t){return this.elements.hasOwnProperty(t)},e.addStyleType=function(e){var n=this;if(y&&e instanceof Map||e instanceof t)e.forEach((function(t,e){n.set(e,t,!0)}));else for(var r=Object.keys(e),o=0;o<r.length;o++)this.set(r[o],e[r[o]],!0)},t}();function w(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function O(t,e){return t(e={exports:{}},e.exports),e.exports}var S=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}}));w(S);var j=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){if(t.hasOwnProperty(e)){for(var o={},i=t[e],a=(0,r.default)(e),s=Object.keys(n),l=0;l<s.length;l++){var c=s[l];if(c===e)for(var u=0;u<i.length;u++)o[i[u]+a]=n[e];o[c]=n[c]}return o}return n};var n,r=(n=S)&&n.__esModule?n:{default:n}}));w(j);var C=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,r,o){for(var i=0,a=t.length;i<a;++i){var s=t[i](e,n,r,o);if(s)return s}}}));w(C);var k=O((function(t,e){function n(t,e){-1===t.indexOf(e)&&t.push(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(Array.isArray(e))for(var r=0,o=e.length;r<o;++r)n(t,e[r]);else n(t,e)}}));w(k);var E=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t instanceof Object&&!Array.isArray(t)}}));w(E);var P=w(O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.prefixMap,a=t.plugins;return function t(s){for(var l in s){var c=s[l];if((0,i.default)(c))s[l]=t(c);else if(Array.isArray(c)){for(var u=[],d=0,f=c.length;d<f;++d){var p=(0,r.default)(a,l,c[d],s,e);(0,o.default)(u,p||c[d])}u.length>0&&(s[l]=u)}else{var h=(0,r.default)(a,l,c,s,e);h&&(s[l]=h),s=(0,n.default)(e,l,s)}}return s}};var n=a(j),r=a(C),o=a(k),i=a(E);function a(t){return t&&t.__esModule?t:{default:t}}}))),_=w(O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&"text"===e)return["-webkit-text","text"]}}))),M=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"string"===typeof t&&n.test(t)};var n=/-webkit-|-moz-|-ms-/;t.exports=e.default}));w(M);var T=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&e.indexOf("calc(")>-1)return o.map((function(t){return e.replace(/calc\(/g,t+"calc(")}))};var n,r=(n=M)&&n.__esModule?n:{default:n};var o=["-webkit-","-moz-",""]})),A=w(T),R=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&e.indexOf("cross-fade(")>-1)return o.map((function(t){return e.replace(/cross-fade\(/g,t+"cross-fade(")}))};var n,r=(n=M)&&n.__esModule?n:{default:n};var o=["-webkit-",""]})),D=w(R),I=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("cursor"===t&&r.hasOwnProperty(e))return n.map((function(t){return t+e}))};var n=["-webkit-","-moz-",""],r={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0}})),N=w(I),L=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&e.indexOf("filter(")>-1)return o.map((function(t){return e.replace(/filter\(/g,t+"filter(")}))};var n,r=(n=M)&&n.__esModule?n:{default:n};var o=["-webkit-",""]})),F=w(L),B=w(O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("display"===t&&n.hasOwnProperty(e))return n[e]};var n={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]}}))),z=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,a){Object.prototype.hasOwnProperty.call(r,t)&&(a[r[t]]=n[e]||e);if("flex"===t){if(Object.prototype.hasOwnProperty.call(o,e))return void(a.msFlex=o[e]);if(i.test(e))return void(a.msFlex=e+" 1 0%");var s=e.split(/\s/);switch(s.length){case 1:return void(a.msFlex="1 1 "+e);case 2:return void(i.test(s[1])?a.msFlex=s[0]+" "+s[1]+" 0%":a.msFlex=s[0]+" 1 "+s[1]);default:a.msFlex=e}}};var n={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},r={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msFlexPreferredSize"},o={auto:"1 1 auto",inherit:"inherit",initial:"0 1 auto",none:"0 0 auto",unset:"unset"},i=/^\d+(\.\d+)?$/})),H=w(z),V=w(O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,o){"flexDirection"===t&&"string"===typeof e&&(e.indexOf("column")>-1?o.WebkitBoxOrient="vertical":o.WebkitBoxOrient="horizontal",e.indexOf("reverse")>-1?o.WebkitBoxDirection="reverse":o.WebkitBoxDirection="normal");r.hasOwnProperty(t)&&(o[r[t]]=n[e]||e)};var n={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},r={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines",flexGrow:"WebkitBoxFlex"}}))),U=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&i.test(e))return o.map((function(t){return e.replace(i,(function(e){return t+e}))}))};var n,r=(n=M)&&n.__esModule?n:{default:n};var o=["-webkit-","-moz-",""],i=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/gi})),W=w(U),q=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function r(t){return"number"===typeof t&&!isNaN(t)}e.default=function(t,e,n){if("display"===t&&e in i)return i[e];if(t in a){(0,a[t])(e,n)}};var o=["center","end","start","stretch"],i={"inline-grid":["-ms-inline-grid","inline-grid"],grid:["-ms-grid","grid"]},a={alignSelf:function(t,e){o.indexOf(t)>-1&&(e.msGridRowAlign=t)},gridColumn:function(t,e){if(r(t))e.msGridColumn=t;else{var o=t.split("/").map((function(t){return+t})),i=n(o,2),s=i[0],l=i[1];a.gridColumnStart(s,e),a.gridColumnEnd(l,e)}},gridColumnEnd:function(t,e){var n=e.msGridColumn;r(t)&&r(n)&&(e.msGridColumnSpan=t-n)},gridColumnStart:function(t,e){r(t)&&(e.msGridColumn=t)},gridRow:function(t,e){if(r(t))e.msGridRow=t;else{var o=t.split("/").map((function(t){return+t})),i=n(o,2),s=i[0],l=i[1];a.gridRowStart(s,e),a.gridRowEnd(l,e)}},gridRowEnd:function(t,e){var n=e.msGridRow;r(t)&&r(n)&&(e.msGridRowSpan=t-n)},gridRowStart:function(t,e){r(t)&&(e.msGridRow=t)},gridTemplateColumns:function(t,e){e.msGridColumns=t},gridTemplateRows:function(t,e){e.msGridRows=t},justifySelf:function(t,e){o.indexOf(t)>-1&&(e.msGridColumnAlign=t)}}})),G=w(q),Y=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("string"===typeof e&&!(0,r.default)(e)&&e.indexOf("image-set(")>-1)return o.map((function(t){return e.replace(/image-set\(/g,t+"image-set(")}))};var n,r=(n=M)&&n.__esModule?n:{default:n};var o=["-webkit-",""]})),X=w(Y),K=w(O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){if(Object.prototype.hasOwnProperty.call(n,t))for(var o=n[t],i=0,a=o.length;i<a;++i)r[o[i]]=e};var n={marginBlockStart:["WebkitMarginBefore"],marginBlockEnd:["WebkitMarginAfter"],marginInlineStart:["WebkitMarginStart","MozMarginStart"],marginInlineEnd:["WebkitMarginEnd","MozMarginEnd"],paddingBlockStart:["WebkitPaddingBefore"],paddingBlockEnd:["WebkitPaddingAfter"],paddingInlineStart:["WebkitPaddingStart","MozPaddingStart"],paddingInlineEnd:["WebkitPaddingEnd","MozPaddingEnd"],borderBlockStart:["WebkitBorderBefore"],borderBlockStartColor:["WebkitBorderBeforeColor"],borderBlockStartStyle:["WebkitBorderBeforeStyle"],borderBlockStartWidth:["WebkitBorderBeforeWidth"],borderBlockEnd:["WebkitBorderAfter"],borderBlockEndColor:["WebkitBorderAfterColor"],borderBlockEndStyle:["WebkitBorderAfterStyle"],borderBlockEndWidth:["WebkitBorderAfterWidth"],borderInlineStart:["WebkitBorderStart","MozBorderStart"],borderInlineStartColor:["WebkitBorderStartColor","MozBorderStartColor"],borderInlineStartStyle:["WebkitBorderStartStyle","MozBorderStartStyle"],borderInlineStartWidth:["WebkitBorderStartWidth","MozBorderStartWidth"],borderInlineEnd:["WebkitBorderEnd","MozBorderEnd"],borderInlineEndColor:["WebkitBorderEndColor","MozBorderEndColor"],borderInlineEndStyle:["WebkitBorderEndStyle","MozBorderEndStyle"],borderInlineEndWidth:["WebkitBorderEndWidth","MozBorderEndWidth"]}}))),$=w(O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if("position"===t&&"sticky"===e)return["-webkit-sticky","sticky"]}}))),Z=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(r.hasOwnProperty(t)&&o.hasOwnProperty(e))return n.map((function(t){return t+e}))};var n=["-webkit-","-moz-",""],r={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},o={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0}})),Q=w(Z),J=/[A-Z]/g,tt=/^ms-/,et={};function nt(t){return"-"+t.toLowerCase()}var rt,ot=(rt=Object.freeze({default:function(t){if(et.hasOwnProperty(t))return et[t];var e=t.replace(J,nt);return et[t]=tt.test(e)?"-"+e:e}}))&&rt.default||rt,it=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(0,r.default)(t)};var n,r=(n=ot)&&n.__esModule?n:{default:n};t.exports=e.default}));w(it);var at=O((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,i,l){if("string"===typeof e&&a.hasOwnProperty(t)){var c=function(t,e){if((0,r.default)(t))return t;for(var o=t.split(/,(?![^()]*(?:\([^()]*\))?\))/g),i=0,a=o.length;i<a;++i){var l=o[i],c=[l];for(var u in e){var d=(0,n.default)(u);if(l.indexOf(d)>-1&&"order"!==d)for(var f=e[u],p=0,h=f.length;p<h;++p)c.unshift(l.replace(d,s[f[p]]+d))}o[i]=c.join(",")}return o.join(",")}(e,l),u=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-moz-|-ms-/.test(t)})).join(",");if(t.indexOf("Webkit")>-1)return u;var d=c.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter((function(t){return!/-webkit-|-ms-/.test(t)})).join(",");return t.indexOf("Moz")>-1?d:(i["Webkit"+(0,o.default)(t)]=u,i["Moz"+(0,o.default)(t)]=d,c)}};var n=i(it),r=i(M),o=i(S);function i(t){return t&&t.__esModule?t:{default:t}}var a={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},s={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"}})),st=["Webkit"],lt=["Moz"],ct=["ms"],ut=["Webkit","Moz"],dt=["Webkit","ms"],ft=["Webkit","Moz","ms"],pt=P({plugins:[_,A,D,N,F,B,H,V,W,G,X,K,$,Q,w(at)],prefixMap:{transform:dt,transformOrigin:dt,transformOriginX:dt,transformOriginY:dt,backfaceVisibility:st,perspective:st,perspectiveOrigin:st,transformStyle:st,transformOriginZ:st,animation:st,animationDelay:st,animationDirection:st,animationFillMode:st,animationDuration:st,animationIterationCount:st,animationName:st,animationPlayState:st,animationTimingFunction:st,appearance:ut,userSelect:ft,fontKerning:st,textEmphasisPosition:st,textEmphasis:st,textEmphasisStyle:st,textEmphasisColor:st,boxDecorationBreak:st,clipPath:st,maskImage:st,maskMode:st,maskRepeat:st,maskPosition:st,maskClip:st,maskOrigin:st,maskSize:st,maskComposite:st,mask:st,maskBorderSource:st,maskBorderMode:st,maskBorderSlice:st,maskBorderWidth:st,maskBorderOutset:st,maskBorderRepeat:st,maskBorder:st,maskType:st,textDecorationStyle:ut,textDecorationSkip:ut,textDecorationLine:ut,textDecorationColor:ut,filter:st,fontFeatureSettings:ut,breakAfter:ft,breakBefore:ft,breakInside:ft,columnCount:ut,columnFill:ut,columnGap:ut,columnRule:ut,columnRuleColor:ut,columnRuleStyle:ut,columnRuleWidth:ut,columns:ut,columnSpan:ut,columnWidth:ut,writingMode:dt,flex:dt,flexBasis:st,flexDirection:dt,flexGrow:st,flexFlow:dt,flexShrink:st,flexWrap:dt,alignContent:st,alignItems:st,alignSelf:st,justifyContent:st,order:st,transitionDelay:st,transitionDuration:st,transitionProperty:st,transitionTimingFunction:st,backdropFilter:st,scrollSnapType:dt,scrollSnapPointsX:dt,scrollSnapPointsY:dt,scrollSnapDestination:dt,scrollSnapCoordinate:dt,shapeImageThreshold:st,shapeImageMargin:st,shapeImageOutside:st,hyphens:ft,flowInto:dt,flowFrom:dt,regionFragment:dt,textOrientation:st,boxSizing:lt,textAlignLast:lt,tabSize:lt,wrapFlow:ct,wrapThrough:ct,wrapMargin:ct,touchAction:ct,textSizeAdjust:dt,borderImage:st,borderImageOutset:st,borderImageRepeat:st,borderImageSlice:st,borderImageSource:st,borderImageWidth:st}}),ht=[function(t,e,n){return":"!==t[0]?null:n(e+t)},function(t,e,n){if("@"!==t[0])return null;var r=n(e);return["".concat(t,"{").concat(r.join(""),"}")]}],vt=function t(e,n,r,o,i){for(var a=new x,s=0;s<n.length;s++)a.addStyleType(n[s]);var l=new x,c=[];a.forEach((function(n,a){r.some((function(s){var l=s(a,e,(function(e){return t(e,[n],r,o,i)}));if(null!=l)return Array.isArray(l)?c.push.apply(c,u(l)):(console.warn("WARNING: Selector handlers should return an array of rules.Returning a string containing multiple rules is deprecated.",s),c.push("@media all {".concat(l,"}"))),!0}))||l.set(a,n,!0)}));var d=bt(e,l,o,i,r);return d&&c.unshift(d),c},gt=function(t,e,n){return"".concat(function(t){var e=t.replace(d,f);return"m"===e[0]&&"s"===e[1]&&"-"===e[2]?"-".concat(e):e}(t),":").concat(n(t,e),";")},mt=function(t,e){return t[e]=!0,t},bt=function(t,e,n,r,o){!function(t,e,n){if(e)for(var r=Object.keys(e),o=0;o<r.length;o++){var i=r[o];t.has(i)&&t.set(i,e[i](t.get(i),n),!1)}}(e,n,o);var i=Object.keys(e.elements).reduce(mt,Object.create(null)),a=pt(e.elements),s=Object.keys(a);if(s.length!==e.keyOrder.length)for(var l=0;l<s.length;l++)if(!i[s[l]]){var c=void 0;if((c="W"===s[l][0]?s[l][6].toLowerCase()+s[l].slice(7):"o"===s[l][1]?s[l][3].toLowerCase()+s[l].slice(4):s[l][2].toLowerCase()+s[l].slice(3))&&i[c]){var u=e.keyOrder.indexOf(c);e.keyOrder.splice(u,0,s[l])}else e.keyOrder.unshift(s[l])}for(var d=!1===r?v:g,f=[],p=0;p<e.keyOrder.length;p++){var h=e.keyOrder[p],m=a[h];if(Array.isArray(m))for(var b=0;b<m.length;b++)f.push(gt(h,m[b],d));else f.push(gt(h,m,d))}return f.length?"".concat(t,"{").concat(f.join(""),"}"):""},yt=null,xt={fontFamily:function t(e){if(Array.isArray(e)){var n={};return e.forEach((function(e){n[t(e)]=!0})),Object.keys(n).join(",")}return"object"===s(e)?(Ct(e.src,"@font-face",[e],!1),'"'.concat(e.fontFamily,'"')):e},animationName:function t(e,n){if(Array.isArray(e))return e.map((function(e){return t(e,n)})).join(",");if("object"===s(e)){var r="keyframe_".concat((i=e,m(JSON.stringify(i)))),o="@keyframes ".concat(r,"{");return e instanceof x?e.forEach((function(t,e){o+=vt(e,[t],n,xt,!1).join("")})):Object.keys(e).forEach((function(t){o+=vt(t,[e[t]],n,xt,!1).join("")})),jt(r,[o+="}"]),r}return e;var i}},wt={},Ot=[],St=!1,jt=function(t,e){var n;if(!wt[t]){if(!St){if("undefined"===typeof document)throw new Error("Cannot automatically buffer without a document");St=!0,a()(_t)}(n=Ot).push.apply(n,u(e)),wt[t]=!0}},Ct=function(t,e,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!wt[t]){var i=vt(e,n,o,xt,r);jt(t,i)}},kt=function(){Ot=[],wt={},St=!1,yt=null},Et=function(t){delete wt[t]},Pt=function(){St=!1;var t=Ot;return Ot=[],t},_t=function(){var t=Pt();t.length>0&&function(t){if(null==yt&&null==(yt=document.querySelector("style[data-aphrodite]"))){var e=document.head||document.getElementsByTagName("head")[0];(yt=document.createElement("style")).type="text/css",yt.setAttribute("data-aphrodite",""),e.appendChild(yt)}var n=yt.styleSheet||yt.sheet;if(n.insertRule){var r=n.cssRules.length;t.forEach((function(t){try{n.insertRule(t,r),r+=1}catch(e){}}))}else yt.innerText=(yt.innerText||"")+t.join("")}(t)},Mt=function(t){t.forEach((function(t){wt[t]=!0}))},Tt=function t(e,n,r,o){for(var i=0;i<e.length;i+=1)if(e[i])if(Array.isArray(e[i]))o+=t(e[i],n,r,o);else{if(!("_definition"in(a=e[i])&&"_name"in a&&"_len"in a))throw new Error("Invalid Style Definition: Styles should be defined using the StyleSheet.create method.");n.push(e[i]._name),r.push(e[i]._definition),o+=e[i]._len}var a;return o},At=function(t,e,n){var r,o=[],i=[],a=Tt(e,o,i,0);return 0===o.length?"":(r=1===o.length?"_".concat(o[0]):"_".concat(m(o.join())).concat((a%36).toString(36)),Ct(r,".".concat(r),i,t,n),r)},Rt=function(t,e){return"".concat(e,"_").concat(m(t))},Dt=m,It={create:function(t){for(var e={},n=Object.keys(t),r=0;r<n.length;r+=1){var o=n[r],i=t[o],a=JSON.stringify(i);e[o]={_len:a.length,_name:Dt(a,o),_definition:i}}return e},rehydrate:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Mt(t)}},Nt="undefined"!==typeof window?null:{renderStatic:function(t){return kt(),function(){if(St)throw new Error("Cannot buffer while already buffering");St=!0}(),{html:t(),css:{content:Pt().join(""),renderedClassNames:Object.keys(wt)}}}};var Lt=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ht;return{StyleSheet:c({},It,{extend:function(r){var o=r.map((function(t){return t.selectorHandler})).filter((function(t){return t}));return t(e,n.concat(o))}}),StyleSheetServer:Nt,StyleSheetTestUtils:null,minify:function(t){Dt=t?m:Rt},css:function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return At(e,r,n)},flushToStyleTag:_t,injectAndGetClassName:At,defaultSelectorHandlers:ht,reset:kt,resetInjectedStyle:Et}}(!0),Ft=Lt.StyleSheet,Bt=Lt.StyleSheetServer,zt=Lt.StyleSheetTestUtils,Ht=Lt.css,Vt=Lt.minify,Ut=Lt.flushToStyleTag,Wt=Lt.injectAndGetClassName,qt=Lt.defaultSelectorHandlers,Gt=Lt.reset,Yt=Lt.resetInjectedStyle},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1),o=n(403);function i(){return r.useContext(o.a)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(14),o=n(3),i=n(12),a=n(311),s=n(435),l=["sx"];function c(t){var e,n=t.sx,c=function(t){var e={systemProps:{},otherProps:{}};return Object.keys(t).forEach((function(n){s.a[n]?e.systemProps[n]=t[n]:e.otherProps[n]=t[n]})),e}(Object(i.a)(t,l)),u=c.systemProps,d=c.otherProps;return e=Array.isArray(n)?[u].concat(Object(r.a)(n)):"function"===typeof n?function(){var t=n.apply(void 0,arguments);return Object(a.b)(t)?Object(o.a)({},u,t):u}:Object(o.a)({},u,n),Object(o.a)({},d,{sx:e})}},function(t,e,n){"use strict";var r=function(t){return t},o=function(){var t=r;return{configure:function(e){t=e},generate:function(e){return t(e)},reset:function(){t=r}}}();e.a=o},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(655),o=n(251);function i(t){var e=t.props,n=t.name,i=t.defaultTheme,a=Object(o.a)(i);return Object(r.a)({theme:a,name:n,props:e})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(3);function o(t,e){var n=Object(r.a)({},e);return Object.keys(t).forEach((function(e){void 0===n[e]&&(n[e]=t[e])})),n}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r,o=n(1),i=!0,a=!1,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function l(t){t.metaKey||t.altKey||t.ctrlKey||(i=!0)}function c(){i=!1}function u(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(t){var e=t.target;try{return e.matches(":focus-visible")}catch(n){}return i||function(t){var e=t.type,n=t.tagName;return!("INPUT"!==n||!s[e]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(e)}function f(){var t=o.useCallback((function(t){var e;null!=t&&((e=t.ownerDocument).addEventListener("keydown",l,!0),e.addEventListener("mousedown",c,!0),e.addEventListener("pointerdown",c,!0),e.addEventListener("touchstart",c,!0),e.addEventListener("visibilitychange",u,!0))}),[]),e=o.useRef(!1);return{isFocusVisibleRef:e,onFocus:function(t){return!!d(t)&&(e.current=!0,!0)},onBlur:function(){return!!e.current&&(a=!0,window.clearTimeout(r),r=window.setTimeout((function(){a=!1}),100),e.current=!1,!0)},ref:t}}},function(t,e,n){"use strict";var r=n(3),o=(n(1),n(1159)),i=n(219),a=n(0);e.a=function(t){return Object(a.jsx)(o.a,Object(r.a)({},t,{defaultTheme:i.a}))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));n(1);var r=n(42),o=n(0);function i(t){var e=t.styles,n=t.defaultTheme,i=void 0===n?{}:n,a="function"===typeof e?function(t){return e(void 0===(n=t)||null===n||0===Object.keys(n).length?i:t);var n}:e;return Object(o.jsx)(r.b,{styles:a})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(229);function o(t){return Object(r.a)(t).defaultView||window}},function(t,e,n){"use strict";function r(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s=function(){t.apply(r,i)};clearTimeout(e),e=setTimeout(s,n)}return r.clear=function(){clearTimeout(e)},r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r,o=n(2),i=n(5),a=n(12),s=n(3),l=n(1),c=(n(172),n(10)),u=n(230),d=n(13),f=n(17),p=n(52),h=n(163);function v(){if(r)return r;var t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),r="reverse",t.scrollLeft>0?r="default":(t.scrollLeft=1,0===t.scrollLeft&&(r="negative")),document.body.removeChild(t),r}function g(t,e){var n=t.scrollLeft;if("rtl"!==e)return n;switch(v()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function m(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function b(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?m:i,s=r.duration,l=void 0===s?300:s,c=null,u=e[t],d=!1,f=function(){d=!0},p=function r(i){if(d)o(new Error("Animation cancelled"));else{null===c&&(c=i);var s=Math.min(1,(i-c)/l);e[t]=a(s)*(n-u)+u,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}};return u===n?(o(new Error("Element already at target position")),f):(requestAnimationFrame(p),f)}var y=n(247),x=n(0),w=["onChange"],O={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var S=n(341),j=n(342),C=n(1163),k=n(168),E=n(187);function P(t){return Object(k.a)("MuiTabScrollButton",t)}var _,M,T=Object(E.a)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),A=["className","direction","orientation","disabled"],R=Object(d.a)(C.a,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.orientation&&e[n.orientation]]}})((function(t){var e=t.ownerState;return Object(s.a)(Object(i.a)({width:40,flexShrink:0,opacity:.8},"&.".concat(T.disabled),{opacity:0}),"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:"rotate(".concat(e.isRtl?-90:90,"deg)")}})})),D=l.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiTabScrollButton"}),r=n.className,o=n.direction,i=Object(a.a)(n,A),l="rtl"===Object(p.a)().direction,d=Object(s.a)({isRtl:l},n),h=function(t){var e=t.classes,n={root:["root",t.orientation,t.disabled&&"disabled"]};return Object(u.a)(n,P,e)}(d);return Object(x.jsx)(R,Object(s.a)({component:"div",className:Object(c.default)(h.root,r),ref:e,role:null,ownerState:d,tabIndex:null},i,{children:"left"===o?_||(_=Object(x.jsx)(S.a,{fontSize:"small"})):M||(M=Object(x.jsx)(j.a,{fontSize:"small"}))}))})),I=n(123);function N(t){return Object(k.a)("MuiTabs",t)}var L=Object(E.a)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),F=n(154),B=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],z=function(t,e){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild},H=function(t,e){return t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild},V=function(t,e,n){for(var r=!1,o=n(t,e);o;){if(o===t.firstChild){if(r)return;r=!0}var i=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!i)return void o.focus();o=n(t,o)}},U=Object(d.a)("div",{name:"MuiTabs",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[Object(i.a)({},"& .".concat(L.scrollButtons),e.scrollButtons),Object(i.a)({},"& .".concat(L.scrollButtons),n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile),e.root,n.vertical&&e.vertical]}})((function(t){var e=t.ownerState,n=t.theme;return Object(s.a)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&Object(i.a)({},"& .".concat(L.scrollButtons),Object(i.a)({},n.breakpoints.down("sm"),{display:"none"})))})),W=Object(d.a)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:function(t,e){var n=t.ownerState;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})((function(t){var e=t.ownerState;return Object(s.a)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})})),q=Object(d.a)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:function(t,e){var n=t.ownerState;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})((function(t){var e=t.ownerState;return Object(s.a)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})})),G=Object(d.a)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:function(t,e){return e.indicator}})((function(t){var e=t.ownerState,n=t.theme;return Object(s.a)({position:"absolute",height:2,bottom:0,width:"100%",transition:n.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(n.vars||n).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(n.vars||n).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})})),Y=Object(d.a)((function(t){var e=t.onChange,n=Object(a.a)(t,w),r=l.useRef(),o=l.useRef(null),i=function(){r.current=o.current.offsetHeight-o.current.clientHeight};return l.useEffect((function(){var t=Object(h.a)((function(){var t=r.current;i(),t!==r.current&&e(r.current)})),n=Object(y.a)(o.current);return n.addEventListener("resize",t),function(){t.clear(),n.removeEventListener("resize",t)}}),[e]),l.useEffect((function(){i(),e(r.current)}),[e]),Object(x.jsx)("div",Object(s.a)({style:O,ref:o},n))}),{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),X={},K=l.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiTabs"}),r=Object(p.a)(),d="rtl"===r.direction,m=n["aria-label"],w=n["aria-labelledby"],O=n.action,S=n.centered,j=void 0!==S&&S,C=n.children,k=n.className,E=n.component,P=void 0===E?"div":E,_=n.allowScrollButtonsMobile,M=void 0!==_&&_,T=n.indicatorColor,A=void 0===T?"primary":T,R=n.onChange,L=n.orientation,K=void 0===L?"horizontal":L,$=n.ScrollButtonComponent,Z=void 0===$?D:$,Q=n.scrollButtons,J=void 0===Q?"auto":Q,tt=n.selectionFollowsFocus,et=n.TabIndicatorProps,nt=void 0===et?{}:et,rt=n.TabScrollButtonProps,ot=void 0===rt?{}:rt,it=n.textColor,at=void 0===it?"primary":it,st=n.value,lt=n.variant,ct=void 0===lt?"standard":lt,ut=n.visibleScrollbar,dt=void 0!==ut&&ut,ft=Object(a.a)(n,B),pt="scrollable"===ct,ht="vertical"===K,vt=ht?"scrollTop":"scrollLeft",gt=ht?"top":"left",mt=ht?"bottom":"right",bt=ht?"clientHeight":"clientWidth",yt=ht?"height":"width",xt=Object(s.a)({},n,{component:P,allowScrollButtonsMobile:M,indicatorColor:A,orientation:K,vertical:ht,scrollButtons:J,textColor:at,variant:ct,visibleScrollbar:dt,fixed:!pt,hideScrollbar:pt&&!dt,scrollableX:pt&&!ht,scrollableY:pt&&ht,centered:j&&!pt,scrollButtonsHideMobile:!M}),wt=function(t){var e=t.vertical,n=t.fixed,r=t.hideScrollbar,o=t.scrollableX,i=t.scrollableY,a=t.centered,s=t.scrollButtonsHideMobile,l=t.classes,c={root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return Object(u.a)(c,N,l)}(xt);var Ot=l.useState(!1),St=Object(o.a)(Ot,2),jt=St[0],Ct=St[1],kt=l.useState(X),Et=Object(o.a)(kt,2),Pt=Et[0],_t=Et[1],Mt=l.useState({start:!1,end:!1}),Tt=Object(o.a)(Mt,2),At=Tt[0],Rt=Tt[1],Dt=l.useState({overflow:"hidden",scrollbarWidth:0}),It=Object(o.a)(Dt,2),Nt=It[0],Lt=It[1],Ft=new Map,Bt=l.useRef(null),zt=l.useRef(null),Ht=function(){var t,e,n=Bt.current;if(n){var o=n.getBoundingClientRect();t={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:g(n,r.direction),scrollWidth:n.scrollWidth,top:o.top,bottom:o.bottom,left:o.left,right:o.right}}if(n&&!1!==st){var i=zt.current.children;if(i.length>0){var a=i[Ft.get(st)];0,e=a?a.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:e}},Vt=Object(I.a)((function(){var t,e,n=Ht(),r=n.tabsMeta,o=n.tabMeta,a=0;if(ht)e="top",o&&r&&(a=o.top-r.top+r.scrollTop);else if(e=d?"right":"left",o&&r){var s=d?r.scrollLeftNormalized+r.clientWidth-r.scrollWidth:r.scrollLeft;a=(d?-1:1)*(o[e]-r[e]+s)}var l=(t={},Object(i.a)(t,e,a),Object(i.a)(t,yt,o?o[yt]:0),t);if(isNaN(Pt[e])||isNaN(Pt[yt]))_t(l);else{var c=Math.abs(Pt[e]-l[e]),u=Math.abs(Pt[yt]-l[yt]);(c>=1||u>=1)&&_t(l)}})),Ut=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.animation,o=void 0===n||n;o?b(vt,Bt.current,t,{duration:r.transitions.duration.standard}):Bt.current[vt]=t},Wt=function(t){var e=Bt.current[vt];ht?e+=t:(e+=t*(d?-1:1),e*=d&&"reverse"===v()?-1:1),Ut(e)},qt=function(){for(var t=Bt.current[bt],e=0,n=Array.from(zt.current.children),r=0;r<n.length;r+=1){var o=n[r];if(e+o[bt]>t){0===r&&(e=t);break}e+=o[bt]}return e},Gt=function(){Wt(-1*qt())},Yt=function(){Wt(qt())},Xt=l.useCallback((function(t){Lt({overflow:null,scrollbarWidth:t})}),[]),Kt=Object(I.a)((function(t){var e=Ht(),n=e.tabsMeta,r=e.tabMeta;if(r&&n)if(r[gt]<n[gt]){var o=n[vt]+(r[gt]-n[gt]);Ut(o,{animation:t})}else if(r[mt]>n[mt]){var i=n[vt]+(r[mt]-n[mt]);Ut(i,{animation:t})}})),$t=Object(I.a)((function(){if(pt&&!1!==J){var t,e,n=Bt.current,o=n.scrollTop,i=n.scrollHeight,a=n.clientHeight,s=n.scrollWidth,l=n.clientWidth;if(ht)t=o>1,e=o<i-a-1;else{var c=g(Bt.current,r.direction);t=d?c<s-l-1:c>1,e=d?c>1:c<s-l-1}t===At.start&&e===At.end||Rt({start:t,end:e})}}));l.useEffect((function(){var t,e=Object(h.a)((function(){Bt.current&&(Vt(),$t())})),n=Object(y.a)(Bt.current);return n.addEventListener("resize",e),"undefined"!==typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(zt.current.children).forEach((function(e){t.observe(e)}))),function(){e.clear(),n.removeEventListener("resize",e),t&&t.disconnect()}}),[Vt,$t]);var Zt=l.useMemo((function(){return Object(h.a)((function(){$t()}))}),[$t]);l.useEffect((function(){return function(){Zt.clear()}}),[Zt]),l.useEffect((function(){Ct(!0)}),[]),l.useEffect((function(){Vt(),$t()})),l.useEffect((function(){Kt(X!==Pt)}),[Kt,Pt]),l.useImperativeHandle(O,(function(){return{updateIndicator:Vt,updateScrollButtons:$t}}),[Vt,$t]);var Qt=Object(x.jsx)(G,Object(s.a)({},nt,{className:Object(c.default)(wt.indicator,nt.className),ownerState:xt,style:Object(s.a)({},Pt,nt.style)})),Jt=0,te=l.Children.map(C,(function(t){if(!l.isValidElement(t))return null;var e=void 0===t.props.value?Jt:t.props.value;Ft.set(e,Jt);var n=e===st;return Jt+=1,l.cloneElement(t,Object(s.a)({fullWidth:"fullWidth"===ct,indicator:n&&!jt&&Qt,selected:n,selectionFollowsFocus:tt,onChange:R,textColor:at,value:e},1!==Jt||!1!==st||t.props.tabIndex?{}:{tabIndex:0}))})),ee=function(){var t={};t.scrollbarSizeListener=pt?Object(x.jsx)(Y,{onChange:Xt,className:Object(c.default)(wt.scrollableX,wt.hideScrollbar)}):null;var e=At.start||At.end,n=pt&&("auto"===J&&e||!0===J);return t.scrollButtonStart=n?Object(x.jsx)(Z,Object(s.a)({orientation:K,direction:d?"right":"left",onClick:Gt,disabled:!At.start},ot,{className:Object(c.default)(wt.scrollButtons,ot.className)})):null,t.scrollButtonEnd=n?Object(x.jsx)(Z,Object(s.a)({orientation:K,direction:d?"left":"right",onClick:Yt,disabled:!At.end},ot,{className:Object(c.default)(wt.scrollButtons,ot.className)})):null,t}();return Object(x.jsxs)(U,Object(s.a)({className:Object(c.default)(wt.root,k),ownerState:xt,ref:e,as:P},ft,{children:[ee.scrollButtonStart,ee.scrollbarSizeListener,Object(x.jsxs)(W,{className:wt.scroller,ownerState:xt,style:Object(i.a)({overflow:Nt.overflow},ht?"margin".concat(d?"Left":"Right"):"marginBottom",dt?void 0:-Nt.scrollbarWidth),ref:Bt,onScroll:Zt,children:[Object(x.jsx)(q,{"aria-label":m,"aria-labelledby":w,"aria-orientation":"vertical"===K?"vertical":null,className:wt.flexContainer,ownerState:xt,onKeyDown:function(t){var e=zt.current,n=Object(F.a)(e).activeElement;if("tab"===n.getAttribute("role")){var r="horizontal"===K?"ArrowLeft":"ArrowUp",o="horizontal"===K?"ArrowRight":"ArrowDown";switch("horizontal"===K&&d&&(r="ArrowRight",o="ArrowLeft"),t.key){case r:t.preventDefault(),V(e,n,H);break;case o:t.preventDefault(),V(e,n,z);break;case"Home":t.preventDefault(),V(e,null,z);break;case"End":t.preventDefault(),V(e,null,H)}}},ref:zt,role:"tablist",children:te}),jt&&Qt]}),ee.scrollButtonEnd]}))}));e.a=K},function(t,e,n){"use strict";var r=n(2),o=n(5),i=n(3),a=n(12),s=n(1),l=n.n(s),c=n(10),u=n(230),d=n(13),f=n(17),p=n(60),h=n(123),v=n(215),g=n(14),m=n(77),b=n(89),y=n(144),x=n(298);function w(t,e){var n=Object.create(null);return t&&s.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&Object(s.isValidElement)(t)?e(t):t}(t)})),n}function O(t,e,n){return null!=n[e]?n[e]:t.props[e]}function S(t,e,n){var r=w(t.children),o=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in e){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(e,r);return Object.keys(o).forEach((function(i){var a=o[i];if(Object(s.isValidElement)(a)){var l=i in e,c=i in r,u=e[i],d=Object(s.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&Object(s.isValidElement)(u)&&(o[i]=Object(s.cloneElement)(a,{onExited:n.bind(null,a),in:u.props.in,exit:O(a,"exit",t),enter:O(a,"enter",t)})):o[i]=Object(s.cloneElement)(a,{in:!1}):o[i]=Object(s.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:O(a,"exit",t),enter:O(a,"enter",t)})}})),o}var j=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},C=function(t){function e(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(Object(b.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Object(y.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,o=e.children,i=e.handleExited;return{children:e.firstRender?(n=t,r=i,w(n.children,(function(t){return Object(s.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:O(t,"appear",n),enter:O(t,"enter",n),exit:O(t,"exit",n)})}))):S(t,o,i),firstRender:!1}},n.handleExited=function(t,e){var n=w(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=Object(i.a)({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=Object(a.a)(t,["component","childFactory"]),o=this.state.contextValue,i=j(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?l.a.createElement(x.a.Provider,{value:o},i):l.a.createElement(x.a.Provider,{value:o},l.a.createElement(e,r,i))},e}(l.a.Component);C.propTypes={},C.defaultProps={component:"div",childFactory:function(t){return t}};var k=C,E=n(42),P=n(0);var _=function(t){var e=t.className,n=t.classes,o=t.pulsate,i=void 0!==o&&o,a=t.rippleX,l=t.rippleY,u=t.rippleSize,d=t.in,f=t.onExited,p=t.timeout,h=s.useState(!1),v=Object(r.a)(h,2),g=v[0],m=v[1],b=Object(c.default)(e,n.ripple,n.rippleVisible,i&&n.ripplePulsate),y={width:u,height:u,top:-u/2+l,left:-u/2+a},x=Object(c.default)(n.child,g&&n.childLeaving,i&&n.childPulsate);return d||g||m(!0),s.useEffect((function(){if(!d&&null!=f){var t=setTimeout(f,p);return function(){clearTimeout(t)}}}),[f,d,p]),Object(P.jsx)("span",{className:b,style:y,children:Object(P.jsx)("span",{className:x})})},M=n(168),T=n(187);var A,R,D,I,N,L,F,B,z=Object(T.a)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),H=["center","classes","className"],V=Object(E.e)(N||(N=A||(A=Object(m.a)(["\n  0% {\n    transform: scale(0);\n    opacity: 0.1;\n  }\n\n  100% {\n    transform: scale(1);\n    opacity: 0.3;\n  }\n"])))),U=Object(E.e)(L||(L=R||(R=Object(m.a)(["\n  0% {\n    opacity: 1;\n  }\n\n  100% {\n    opacity: 0;\n  }\n"])))),W=Object(E.e)(F||(F=D||(D=Object(m.a)(["\n  0% {\n    transform: scale(1);\n  }\n\n  50% {\n    transform: scale(0.92);\n  }\n\n  100% {\n    transform: scale(1);\n  }\n"])))),q=Object(d.a)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),G=Object(d.a)(_,{name:"MuiTouchRipple",slot:"Ripple"})(B||(B=I||(I=Object(m.a)(["\n  opacity: 0;\n  position: absolute;\n\n  &."," {\n    opacity: 0.3;\n    transform: scale(1);\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  &."," {\n    animation-duration: ","ms;\n  }\n\n  & ."," {\n    opacity: 1;\n    display: block;\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    background-color: currentColor;\n  }\n\n  & ."," {\n    opacity: 0;\n    animation-name: ",";\n    animation-duration: ","ms;\n    animation-timing-function: ",";\n  }\n\n  & ."," {\n    position: absolute;\n    /* @noflip */\n    left: 0px;\n    top: 0;\n    animation-name: ",";\n    animation-duration: 2500ms;\n    animation-timing-function: ",";\n    animation-iteration-count: infinite;\n    animation-delay: 200ms;\n  }\n"]))),z.rippleVisible,V,550,(function(t){return t.theme.transitions.easing.easeInOut}),z.ripplePulsate,(function(t){return t.theme.transitions.duration.shorter}),z.child,z.childLeaving,U,550,(function(t){return t.theme.transitions.easing.easeInOut}),z.childPulsate,W,(function(t){return t.theme.transitions.easing.easeInOut})),Y=s.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiTouchRipple"}),o=n.center,l=void 0!==o&&o,u=n.classes,d=void 0===u?{}:u,p=n.className,h=Object(a.a)(n,H),v=s.useState([]),m=Object(r.a)(v,2),b=m[0],y=m[1],x=s.useRef(0),w=s.useRef(null);s.useEffect((function(){w.current&&(w.current(),w.current=null)}),[b]);var O=s.useRef(!1),S=s.useRef(null),j=s.useRef(null),C=s.useRef(null);s.useEffect((function(){return function(){clearTimeout(S.current)}}),[]);var E=s.useCallback((function(t){var e=t.pulsate,n=t.rippleX,r=t.rippleY,o=t.rippleSize,i=t.cb;y((function(t){return[].concat(Object(g.a)(t),[Object(P.jsx)(G,{classes:{ripple:Object(c.default)(d.ripple,z.ripple),rippleVisible:Object(c.default)(d.rippleVisible,z.rippleVisible),ripplePulsate:Object(c.default)(d.ripplePulsate,z.ripplePulsate),child:Object(c.default)(d.child,z.child),childLeaving:Object(c.default)(d.childLeaving,z.childLeaving),childPulsate:Object(c.default)(d.childPulsate,z.childPulsate)},timeout:550,pulsate:e,rippleX:n,rippleY:r,rippleSize:o},x.current)])})),x.current+=1,w.current=i}),[d]),_=s.useCallback((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.pulsate,o=void 0!==r&&r,i=e.center,a=void 0===i?l||e.pulsate:i,s=e.fakeElement,c=void 0!==s&&s;if("mousedown"===(null==t?void 0:t.type)&&O.current)O.current=!1;else{"touchstart"===(null==t?void 0:t.type)&&(O.current=!0);var u,d,f,p=c?null:C.current,h=p?p.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(a||void 0===t||0===t.clientX&&0===t.clientY||!t.clientX&&!t.touches)u=Math.round(h.width/2),d=Math.round(h.height/2);else{var v=t.touches&&t.touches.length>0?t.touches[0]:t,g=v.clientX,m=v.clientY;u=Math.round(g-h.left),d=Math.round(m-h.top)}if(a)(f=Math.sqrt((2*Math.pow(h.width,2)+Math.pow(h.height,2))/3))%2===0&&(f+=1);else{var b=2*Math.max(Math.abs((p?p.clientWidth:0)-u),u)+2,y=2*Math.max(Math.abs((p?p.clientHeight:0)-d),d)+2;f=Math.sqrt(Math.pow(b,2)+Math.pow(y,2))}null!=t&&t.touches?null===j.current&&(j.current=function(){E({pulsate:o,rippleX:u,rippleY:d,rippleSize:f,cb:n})},S.current=setTimeout((function(){j.current&&(j.current(),j.current=null)}),80)):E({pulsate:o,rippleX:u,rippleY:d,rippleSize:f,cb:n})}}),[l,E]),M=s.useCallback((function(){_({},{pulsate:!0})}),[_]),T=s.useCallback((function(t,e){if(clearTimeout(S.current),"touchend"===(null==t?void 0:t.type)&&j.current)return j.current(),j.current=null,void(S.current=setTimeout((function(){T(t,e)})));j.current=null,y((function(t){return t.length>0?t.slice(1):t})),w.current=e}),[]);return s.useImperativeHandle(e,(function(){return{pulsate:M,start:_,stop:T}}),[M,_,T]),Object(P.jsx)(q,Object(i.a)({className:Object(c.default)(d.root,z.root,p),ref:C},h,{children:Object(P.jsx)(k,{component:null,exit:!0,children:b})}))})),X=Y;function K(t){return Object(M.a)("MuiButtonBase",t)}var $,Z=Object(T.a)("MuiButtonBase",["root","disabled","focusVisible"]),Q=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],J=Object(d.a)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:function(t,e){return e.root}})(($={display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"}},Object(o.a)($,"&.".concat(Z.disabled),{pointerEvents:"none",cursor:"default"}),Object(o.a)($,"@media print",{colorAdjust:"exact"}),$)),tt=s.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiButtonBase"}),o=n.action,l=n.centerRipple,d=void 0!==l&&l,g=n.children,m=n.className,b=n.component,y=void 0===b?"button":b,x=n.disabled,w=void 0!==x&&x,O=n.disableRipple,S=void 0!==O&&O,j=n.disableTouchRipple,C=void 0!==j&&j,k=n.focusRipple,E=void 0!==k&&k,_=n.LinkComponent,M=void 0===_?"a":_,T=n.onBlur,A=n.onClick,R=n.onContextMenu,D=n.onDragLeave,I=n.onFocus,N=n.onFocusVisible,L=n.onKeyDown,F=n.onKeyUp,B=n.onMouseDown,z=n.onMouseLeave,H=n.onMouseUp,V=n.onTouchEnd,U=n.onTouchMove,W=n.onTouchStart,q=n.tabIndex,G=void 0===q?0:q,Y=n.TouchRippleProps,$=n.touchRippleRef,Z=n.type,tt=Object(a.a)(n,Q),et=s.useRef(null),nt=s.useRef(null),rt=Object(p.a)(nt,$),ot=Object(v.a)(),it=ot.isFocusVisibleRef,at=ot.onFocus,st=ot.onBlur,lt=ot.ref,ct=s.useState(!1),ut=Object(r.a)(ct,2),dt=ut[0],ft=ut[1];w&&dt&&ft(!1),s.useImperativeHandle(o,(function(){return{focusVisible:function(){ft(!0),et.current.focus()}}}),[]);var pt=s.useState(!1),ht=Object(r.a)(pt,2),vt=ht[0],gt=ht[1];s.useEffect((function(){gt(!0)}),[]);var mt=vt&&!S&&!w;function bt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;return Object(h.a)((function(r){return e&&e(r),!n&&nt.current&&nt.current[t](r),!0}))}s.useEffect((function(){dt&&E&&!S&&vt&&nt.current.pulsate()}),[S,E,dt,vt]);var yt=bt("start",B),xt=bt("stop",R),wt=bt("stop",D),Ot=bt("stop",H),St=bt("stop",(function(t){dt&&t.preventDefault(),z&&z(t)})),jt=bt("start",W),Ct=bt("stop",V),kt=bt("stop",U),Et=bt("stop",(function(t){st(t),!1===it.current&&ft(!1),T&&T(t)}),!1),Pt=Object(h.a)((function(t){et.current||(et.current=t.currentTarget),at(t),!0===it.current&&(ft(!0),N&&N(t)),I&&I(t)})),_t=function(){var t=et.current;return y&&"button"!==y&&!("A"===t.tagName&&t.href)},Mt=s.useRef(!1),Tt=Object(h.a)((function(t){E&&!Mt.current&&dt&&nt.current&&" "===t.key&&(Mt.current=!0,nt.current.stop(t,(function(){nt.current.start(t)}))),t.target===t.currentTarget&&_t()&&" "===t.key&&t.preventDefault(),L&&L(t),t.target===t.currentTarget&&_t()&&"Enter"===t.key&&!w&&(t.preventDefault(),A&&A(t))})),At=Object(h.a)((function(t){E&&" "===t.key&&nt.current&&dt&&!t.defaultPrevented&&(Mt.current=!1,nt.current.stop(t,(function(){nt.current.pulsate(t)}))),F&&F(t),A&&t.target===t.currentTarget&&_t()&&" "===t.key&&!t.defaultPrevented&&A(t)})),Rt=y;"button"===Rt&&(tt.href||tt.to)&&(Rt=M);var Dt={};"button"===Rt?(Dt.type=void 0===Z?"button":Z,Dt.disabled=w):(tt.href||tt.to||(Dt.role="button"),w&&(Dt["aria-disabled"]=w));var It=Object(p.a)(lt,et),Nt=Object(p.a)(e,It);var Lt=Object(i.a)({},n,{centerRipple:d,component:y,disabled:w,disableRipple:S,disableTouchRipple:C,focusRipple:E,tabIndex:G,focusVisible:dt}),Ft=function(t){var e=t.disabled,n=t.focusVisible,r=t.focusVisibleClassName,o=t.classes,i={root:["root",e&&"disabled",n&&"focusVisible"]},a=Object(u.a)(i,K,o);return n&&r&&(a.root+=" ".concat(r)),a}(Lt);return Object(P.jsxs)(J,Object(i.a)({as:Rt,className:Object(c.default)(Ft.root,m),ownerState:Lt,onBlur:Et,onClick:A,onContextMenu:xt,onFocus:Pt,onKeyDown:Tt,onKeyUp:At,onMouseDown:yt,onMouseLeave:St,onMouseUp:Ot,onDragLeave:wt,onTouchEnd:Ct,onTouchMove:kt,onTouchStart:jt,ref:Nt,tabIndex:w?-1:G,type:Z},Dt,tt,{children:[g,mt?Object(P.jsx)(X,Object(i.a)({ref:rt,center:d},Y)):null]}))}));e.a=tt},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(311),a=n(5),s=["values","unit","step"];function l(t){var e=t.values,n=void 0===e?{xs:0,sm:600,md:900,lg:1200,xl:1536}:e,i=t.unit,l=void 0===i?"px":i,c=t.step,u=void 0===c?5:c,d=Object(o.a)(t,s),f=function(t){var e=Object.keys(t).map((function(e){return{key:e,val:t[e]}}))||[];return e.sort((function(t,e){return t.val-e.val})),e.reduce((function(t,e){return Object(r.a)({},t,Object(a.a)({},e.key,e.val))}),{})}(n),p=Object.keys(f);function h(t){var e="number"===typeof n[t]?n[t]:t;return"@media (min-width:".concat(e).concat(l,")")}function v(t){var e="number"===typeof n[t]?n[t]:t;return"@media (max-width:".concat(e-u/100).concat(l,")")}function g(t,e){var r=p.indexOf(e);return"@media (min-width:".concat("number"===typeof n[t]?n[t]:t).concat(l,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[p[r]]?n[p[r]]:e)-u/100).concat(l,")")}return Object(r.a)({keys:p,values:f,up:h,down:v,between:g,only:function(t){return p.indexOf(t)+1<p.length?g(t,p[p.indexOf(t)+1]):h(t)},not:function(t){var e=p.indexOf(t);return 0===e?h(p[1]):e===p.length-1?v(p[e]):g(t,p[p.indexOf(t)+1]).replace("@media","@media not all and")},unit:l},d)}var c={borderRadius:4},u=n(113);function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Object(u.a)({spacing:t}),n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=0===n.length?[1]:n;return o.map((function(t){var n=e(t);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}var f=["breakpoints","palette","spacing","shape"];e.a=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,n=void 0===e?{}:e,a=t.palette,s=void 0===a?{}:a,u=t.spacing,p=t.shape,h=void 0===p?{}:p,v=Object(o.a)(t,f),g=l(n),m=d(u),b=Object(i.a)({breakpoints:g,direction:"ltr",components:{},palette:Object(r.a)({mode:"light"},s),spacing:m,shape:Object(r.a)({},c,h)},v),y=arguments.length,x=new Array(y>1?y-1:0),w=1;w<y;w++)x[w-1]=arguments[w];return b=x.reduce((function(t,e){return Object(i.a)(t,e)}),b)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(1),o=n.n(r);var i=o.a.createContext(null);function a(){return o.a.useContext(i)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(5),o=n(176),i=n(435),a=n(84);function s(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.reduce((function(t,e){return t.concat(Object.keys(e))}),[]),o=new Set(r);return e.every((function(t){return o.size===Object.keys(t).length}))}function l(t,e){return"function"===typeof t?t(e):t}var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.b,e=Object.keys(t).reduce((function(e,n){return t[n].filterProps.forEach((function(r){e[r]=t[n]})),e}),{});function n(t,n,o){var i,a=(i={},Object(r.a)(i,t,n),Object(r.a)(i,"theme",o),i),s=e[t];return s?s(a):Object(r.a)({},t,n)}function c(t){var i=t||{},u=i.sx,d=i.theme,f=void 0===d?{}:d;if(!u)return null;function p(t){var i=t;if("function"===typeof t)i=t(f);else if("object"!==typeof t)return t;if(!i)return null;var u=Object(a.a)(f.breakpoints),d=Object.keys(u),p=u;return Object.keys(i).forEach((function(t){var u=l(i[t],f);if(null!==u&&void 0!==u)if("object"===typeof u)if(e[t])p=Object(o.a)(p,n(t,u,f));else{var d=Object(a.b)({theme:f},u,(function(e){return Object(r.a)({},t,e)}));s(d,u)?p[t]=c({sx:u,theme:f}):p=Object(o.a)(p,d)}else p=Object(o.a)(p,n(t,u,f))})),Object(a.c)(d,p)}return Array.isArray(u)?u.map(p):p(u)}return c}();c.filterProps=["sx"],e.a=c},function(t,e,n){"use strict";var r=n(5),o=n(14),i=n(12),a=n(3),s=n(1),l=n(230),c=n(311),u=n(106),d=n(13),f=n(17),p=n(183),h=n(0),v=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","type"],g=Object(d.a)(u.b,{shouldForwardProp:function(t){return Object(d.b)(t)||"classes"===t},name:"MuiInput",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[].concat(Object(o.a)(Object(u.e)(t,e)),[!n.disableUnderline&&e.underline])}})((function(t){var e,n=t.theme,o=t.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return n.vars&&(i="rgba(".concat(n.vars.palette.common.onBackgroundChannel," / ").concat(n.vars.opacity.inputUnderline,")")),Object(a.a)({position:"relative"},o.formControl&&{"label + &":{marginTop:16}},!o.disableUnderline&&(e={"&:after":{borderBottom:"2px solid ".concat((n.vars||n).palette[o.color].main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:n.transitions.create("transform",{duration:n.transitions.duration.shorter,easing:n.transitions.easing.easeOut}),pointerEvents:"none"}},Object(r.a)(e,"&.".concat(p.a.focused,":after"),{transform:"scaleX(1) translateX(0)"}),Object(r.a)(e,"&.".concat(p.a.error,":after"),{borderBottomColor:(n.vars||n).palette.error.main,transform:"scaleX(1)"}),Object(r.a)(e,"&:before",{borderBottom:"1px solid ".concat(i),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:n.transitions.create("border-bottom-color",{duration:n.transitions.duration.shorter}),pointerEvents:"none"}),Object(r.a)(e,"&:hover:not(.".concat(p.a.disabled,"):before"),{borderBottom:"2px solid ".concat((n.vars||n).palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(i)}}),Object(r.a)(e,"&.".concat(p.a.disabled,":before"),{borderBottomStyle:"dotted"}),e))})),m=Object(d.a)(u.a,{name:"MuiInput",slot:"Input",overridesResolver:u.d})({}),b=s.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiInput"}),r=n.disableUnderline,o=n.components,s=void 0===o?{}:o,d=n.componentsProps,b=n.fullWidth,y=void 0!==b&&b,x=n.inputComponent,w=void 0===x?"input":x,O=n.multiline,S=void 0!==O&&O,j=n.type,C=void 0===j?"text":j,k=Object(i.a)(n,v),E=function(t){var e=t.classes,n={root:["root",!t.disableUnderline&&"underline"],input:["input"]},r=Object(l.a)(n,p.b,e);return Object(a.a)({},e,r)}(n),P={root:{ownerState:{disableUnderline:r}}},_=d?Object(c.a)(d,P):P;return Object(h.jsx)(u.c,Object(a.a)({components:Object(a.a)({Root:g,Input:m},s),componentsProps:_,fullWidth:y,inputComponent:w,multiline:S,ref:e,type:C},k,{classes:E}))}));b.muiName="Input",e.a=b},function(t,e,n){"use strict";var r=n(5),o=n(14),i=n(12),a=n(3),s=n(1),l=n(311),c=n(230),u=n(106),d=n(13),f=n(17),p=n(147),h=n(0),v=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","type"],g=Object(d.a)(u.b,{shouldForwardProp:function(t){return Object(d.b)(t)||"classes"===t},name:"MuiFilledInput",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[].concat(Object(o.a)(Object(u.e)(t,e)),[!n.disableUnderline&&e.underline])}})((function(t){var e,n,o,i=t.theme,s=t.ownerState,l="light"===i.palette.mode,c=l?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",u=l?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",d=l?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",f=l?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return Object(a.a)((e={position:"relative",backgroundColor:i.vars?i.vars.palette.FilledInput.bg:u,borderTopLeftRadius:(i.vars||i).shape.borderRadius,borderTopRightRadius:(i.vars||i).shape.borderRadius,transition:i.transitions.create("background-color",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),"&:hover":{backgroundColor:i.vars?i.vars.palette.FilledInput.hoverBg:d,"@media (hover: none)":{backgroundColor:i.vars?i.vars.palette.FilledInput.bg:u}}},Object(r.a)(e,"&.".concat(p.a.focused),{backgroundColor:i.vars?i.vars.palette.FilledInput.bg:u}),Object(r.a)(e,"&.".concat(p.a.disabled),{backgroundColor:i.vars?i.vars.palette.FilledInput.disabledBg:f}),e),!s.disableUnderline&&(n={"&:after":{borderBottom:"2px solid ".concat(null==(o=(i.vars||i).palette[s.color||"primary"])?void 0:o.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:i.transitions.create("transform",{duration:i.transitions.duration.shorter,easing:i.transitions.easing.easeOut}),pointerEvents:"none"}},Object(r.a)(n,"&.".concat(p.a.focused,":after"),{transform:"scaleX(1) translateX(0)"}),Object(r.a)(n,"&.".concat(p.a.error,":after"),{borderBottomColor:(i.vars||i).palette.error.main,transform:"scaleX(1)"}),Object(r.a)(n,"&:before",{borderBottom:"1px solid ".concat(i.vars?"rgba(".concat(i.vars.palette.common.onBackgroundChannel," / ").concat(i.vars.opacity.inputUnderline,")"):c),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:i.transitions.create("border-bottom-color",{duration:i.transitions.duration.shorter}),pointerEvents:"none"}),Object(r.a)(n,"&:hover:not(.".concat(p.a.disabled,"):before"),{borderBottom:"1px solid ".concat((i.vars||i).palette.text.primary)}),Object(r.a)(n,"&.".concat(p.a.disabled,":before"),{borderBottomStyle:"dotted"}),n),s.startAdornment&&{paddingLeft:12},s.endAdornment&&{paddingRight:12},s.multiline&&Object(a.a)({padding:"25px 12px 8px"},"small"===s.size&&{paddingTop:21,paddingBottom:4},s.hiddenLabel&&{paddingTop:16,paddingBottom:17}))})),m=Object(d.a)(u.a,{name:"MuiFilledInput",slot:"Input",overridesResolver:u.d})((function(t){var e=t.theme,n=t.ownerState;return Object(a.a)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&Object(r.a)({"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{paddingTop:21,paddingBottom:4},n.hiddenLabel&&{paddingTop:16,paddingBottom:17},n.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0},n.hiddenLabel&&"small"===n.size&&{paddingTop:8,paddingBottom:9})})),b=s.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiFilledInput"}),r=n.components,o=void 0===r?{}:r,s=n.componentsProps,d=n.fullWidth,b=void 0!==d&&d,y=n.inputComponent,x=void 0===y?"input":y,w=n.multiline,O=void 0!==w&&w,S=n.type,j=void 0===S?"text":S,C=Object(i.a)(n,v),k=Object(a.a)({},n,{fullWidth:b,inputComponent:x,multiline:O,type:j}),E=function(t){var e=t.classes,n={root:["root",!t.disableUnderline&&"underline"],input:["input"]},r=Object(c.a)(n,p.b,e);return Object(a.a)({},e,r)}(n),P={root:{ownerState:k},input:{ownerState:k}},_=s?Object(l.a)(s,P):P;return Object(h.jsx)(u.c,Object(a.a)({components:Object(a.a)({Root:g,Input:m},o),componentsProps:_,fullWidth:b,inputComponent:x,multiline:O,ref:e,type:j},C,{classes:E}))}));b.muiName="Input",e.a=b},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(736),s=n(52),l=n(128),c=n(60),u=n(0),d=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],f={entering:{opacity:1},entered:{opacity:1}},p=i.forwardRef((function(t,e){var n=Object(s.a)(),p={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},h=t.addEndListener,v=t.appear,g=void 0===v||v,m=t.children,b=t.easing,y=t.in,x=t.onEnter,w=t.onEntered,O=t.onEntering,S=t.onExit,j=t.onExited,C=t.onExiting,k=t.style,E=t.timeout,P=void 0===E?p:E,_=t.TransitionComponent,M=void 0===_?a.a:_,T=Object(o.a)(t,d),A=i.useRef(null),R=Object(c.a)(m.ref,e),D=Object(c.a)(A,R),I=function(t){return function(e){if(t){var n=A.current;void 0===e?t(n):t(n,e)}}},N=I(O),L=I((function(t,e){Object(l.b)(t);var r=Object(l.a)({style:k,timeout:P,easing:b},{mode:"enter"});t.style.webkitTransition=n.transitions.create("opacity",r),t.style.transition=n.transitions.create("opacity",r),x&&x(t,e)})),F=I(w),B=I(C),z=I((function(t){var e=Object(l.a)({style:k,timeout:P,easing:b},{mode:"exit"});t.style.webkitTransition=n.transitions.create("opacity",e),t.style.transition=n.transitions.create("opacity",e),S&&S(t)})),H=I(j);return Object(u.jsx)(M,Object(r.a)({appear:g,in:y,nodeRef:A,onEnter:L,onEntered:F,onEntering:N,onExit:z,onExited:H,onExiting:B,addEndListener:function(t){h&&h(A.current,t)},timeout:P},T,{children:function(t,e){return i.cloneElement(m,Object(r.a)({style:Object(r.a)({opacity:0,visibility:"exited"!==t||y?void 0:"hidden"},f[t],k,m.props.style),ref:D},e))}}))}));e.a=p},function(t,e,n){"use strict";function r(t){var e=t.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(){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 null==e?t:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];t.apply(this,r),e.apply(this,r)}}),(function(){}))}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(2),o=n(1),i=n(51),a=n(442),s=n(350),l=n(308);var c=o.forwardRef((function(t,e){var n=t.children,c=t.container,u=t.disablePortal,d=void 0!==u&&u,f=o.useState(null),p=Object(r.a)(f,2),h=p[0],v=p[1],g=Object(a.a)(o.isValidElement(n)?n.ref:null,e);return Object(s.a)((function(){d||v(function(t){return"function"===typeof t?t():t}(c)||document.body)}),[c,d]),Object(s.a)((function(){if(h&&!d)return Object(l.a)(e,h),function(){Object(l.a)(e,null)}}),[e,h,d]),d?o.isValidElement(n)?o.cloneElement(n,{ref:g}):n:h?i.createPortal(n,h):h}));e.a=c},function(t,e,n){"use strict";var r=n(1),o=n(442),i=n(229),a=n(0),s=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function l(t){var e=[],n=[];return Array.from(t.querySelectorAll(s)).forEach((function(t,r){var o=function(t){var e=parseInt(t.getAttribute("tabindex"),10);return Number.isNaN(e)?"true"===t.contentEditable||("AUDIO"===t.nodeName||"VIDEO"===t.nodeName||"DETAILS"===t.nodeName)&&null===t.getAttribute("tabindex")?0:t.tabIndex:e}(t);-1!==o&&function(t){return!(t.disabled||"INPUT"===t.tagName&&"hidden"===t.type||function(t){if("INPUT"!==t.tagName||"radio"!==t.type)return!1;if(!t.name)return!1;var e=function(e){return t.ownerDocument.querySelector('input[type="radio"]'.concat(e))},n=e('[name="'.concat(t.name,'"]:checked'));return n||(n=e('[name="'.concat(t.name,'"]'))),n!==t}(t))}(t)&&(0===o?e.push(t):n.push({documentOrder:r,tabIndex:o,node:t}))})),n.sort((function(t,e){return t.tabIndex===e.tabIndex?t.documentOrder-e.documentOrder:t.tabIndex-e.tabIndex})).map((function(t){return t.node})).concat(e)}function c(){return!0}e.a=function(t){var e=t.children,n=t.disableAutoFocus,s=void 0!==n&&n,u=t.disableEnforceFocus,d=void 0!==u&&u,f=t.disableRestoreFocus,p=void 0!==f&&f,h=t.getTabbable,v=void 0===h?l:h,g=t.isEnabled,m=void 0===g?c:g,b=t.open,y=r.useRef(),x=r.useRef(null),w=r.useRef(null),O=r.useRef(null),S=r.useRef(null),j=r.useRef(!1),C=r.useRef(null),k=Object(o.a)(e.ref,C),E=r.useRef(null);r.useEffect((function(){b&&C.current&&(j.current=!s)}),[s,b]),r.useEffect((function(){if(b&&C.current){var t=Object(i.a)(C.current);return C.current.contains(t.activeElement)||(C.current.hasAttribute("tabIndex")||C.current.setAttribute("tabIndex",-1),j.current&&C.current.focus()),function(){p||(O.current&&O.current.focus&&(y.current=!0,O.current.focus()),O.current=null)}}}),[b]),r.useEffect((function(){if(b&&C.current){var t=Object(i.a)(C.current),e=function(e){var n=C.current;if(null!==n)if(t.hasFocus()&&!d&&m()&&!y.current){if(!n.contains(t.activeElement)){if(e&&S.current!==e.target||t.activeElement!==S.current)S.current=null;else if(null!==S.current)return;if(!j.current)return;var r=[];if(t.activeElement!==x.current&&t.activeElement!==w.current||(r=v(C.current)),r.length>0){var o,i,a=Boolean((null==(o=E.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=E.current)?void 0:i.key)),s=r[0],l=r[r.length-1];a?l.focus():s.focus()}else n.focus()}}else y.current=!1},n=function(e){E.current=e,!d&&m()&&"Tab"===e.key&&t.activeElement===C.current&&e.shiftKey&&(y.current=!0,w.current.focus())};t.addEventListener("focusin",e),t.addEventListener("keydown",n,!0);var r=setInterval((function(){"BODY"===t.activeElement.tagName&&e()}),50);return function(){clearInterval(r),t.removeEventListener("focusin",e),t.removeEventListener("keydown",n,!0)}}}),[s,d,p,m,b,v]);var P=function(t){null===O.current&&(O.current=t.relatedTarget),j.current=!0};return Object(a.jsxs)(r.Fragment,{children:[Object(a.jsx)("div",{tabIndex:0,onFocus:P,ref:x,"data-test":"sentinelStart"}),r.cloneElement(e,{ref:k,onFocus:function(t){null===O.current&&(O.current=t.relatedTarget),j.current=!0,S.current=t.target;var n=e.props.onFocus;n&&n(t)}}),Object(a.jsx)("div",{tabIndex:0,onFocus:P,ref:w,"data-test":"sentinelEnd"})]})}},function(t,e,n){"use strict";var r=n(1),o=n(442),i=n(312),a=n(229),s=n(0);function l(t){return t.substring(2).toLowerCase()}e.a=function(t){var e=t.children,n=t.disableReactTree,c=void 0!==n&&n,u=t.mouseEvent,d=void 0===u?"onClick":u,f=t.onClickAway,p=t.touchEvent,h=void 0===p?"onTouchEnd":p,v=r.useRef(!1),g=r.useRef(null),m=r.useRef(!1),b=r.useRef(!1);r.useEffect((function(){return setTimeout((function(){m.current=!0}),0),function(){m.current=!1}}),[]);var y=Object(o.a)(e.ref,g),x=Object(i.a)((function(t){var e=b.current;b.current=!1;var n=Object(a.a)(g.current);!m.current||!g.current||"clientX"in t&&function(t,e){return e.documentElement.clientWidth<t.clientX||e.documentElement.clientHeight<t.clientY}(t,n)||(v.current?v.current=!1:(t.composedPath?t.composedPath().indexOf(g.current)>-1:!n.documentElement.contains(t.target)||g.current.contains(t.target))||!c&&e||f(t))})),w=function(t){return function(n){b.current=!0;var r=e.props[t];r&&r(n)}},O={ref:y};return!1!==h&&(O[h]=w(h)),r.useEffect((function(){if(!1!==h){var t=l(h),e=Object(a.a)(g.current),n=function(){v.current=!0};return e.addEventListener(t,x),e.addEventListener("touchmove",n),function(){e.removeEventListener(t,x),e.removeEventListener("touchmove",n)}}}),[x,h]),!1!==d&&(O[d]=w(d)),r.useEffect((function(){if(!1!==d){var t=l(d),e=Object(a.a)(g.current);return e.addEventListener(t,x),function(){e.removeEventListener(t,x)}}}),[x,d]),Object(s.jsx)(r.Fragment,{children:r.cloneElement(e,O)})}},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(167),c=n(13),u=n(17),d=n(658),f=n(0),p=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],h=Object(c.a)("div",{name:"MuiDivider",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.absolute&&e.absolute,e[n.variant],n.light&&e.light,"vertical"===n.orientation&&e.vertical,n.flexItem&&e.flexItem,n.children&&e.withChildren,n.children&&"vertical"===n.orientation&&e.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&e.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&e.textAlignLeft]}})((function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},n.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},n.light&&{borderColor:e.vars?"rgba(".concat(e.vars.palette.dividerChannel," / 0.08)"):Object(l.a)(e.palette.divider,.08)},"inset"===n.variant&&{marginLeft:72},"middle"===n.variant&&"horizontal"===n.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===n.variant&&"vertical"===n.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===n.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},n.flexItem&&{alignSelf:"stretch",height:"auto"})}),(function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({},n.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:"thin solid ".concat((e.vars||e).palette.divider),top:"50%",content:'""',transform:"translateY(50%)"}})}),(function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({},n.children&&"vertical"===n.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:"thin solid ".concat((e.vars||e).palette.divider),transform:"translateX(0%)"}})}),(function(t){var e=t.ownerState;return Object(o.a)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})})),v=Object(c.a)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:function(t,e){var n=t.ownerState;return[e.wrapper,"vertical"===n.orientation&&e.wrapperVertical]}})((function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({display:"inline-block",paddingLeft:"calc(".concat(e.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(e.spacing(1)," * 1.2)")},"vertical"===n.orientation&&{paddingTop:"calc(".concat(e.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(e.spacing(1)," * 1.2)")})})),g=i.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiDivider"}),i=n.absolute,l=void 0!==i&&i,c=n.children,g=n.className,m=n.component,b=void 0===m?c?"div":"hr":m,y=n.flexItem,x=void 0!==y&&y,w=n.light,O=void 0!==w&&w,S=n.orientation,j=void 0===S?"horizontal":S,C=n.role,k=void 0===C?"hr"!==b?"separator":void 0:C,E=n.textAlign,P=void 0===E?"center":E,_=n.variant,M=void 0===_?"fullWidth":_,T=Object(r.a)(n,p),A=Object(o.a)({},n,{absolute:l,component:b,flexItem:x,light:O,orientation:j,role:k,textAlign:P,variant:M}),R=function(t){var e=t.absolute,n=t.children,r=t.classes,o=t.flexItem,i=t.light,a=t.orientation,l=t.textAlign,c={root:["root",e&&"absolute",t.variant,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return Object(s.a)(c,d.b,r)}(A);return Object(f.jsx)(h,Object(o.a)({as:b,className:Object(a.default)(R.root,g),role:k,ref:e,ownerState:A},T,{children:c?Object(f.jsx)(v,{className:R.wrapper,ownerState:A,children:c}):null}))}));e.a=g},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(1162),s=n(522),l=n(0),c=["children"],u=i.forwardRef((function(t,e){var n=t.children,u=Object(o.a)(t,c),d=Object(s.d)();if(null===d)throw new TypeError("No TabContext provided");var f=i.Children.map(n,(function(t){return i.isValidElement(t)?i.cloneElement(t,{"aria-controls":Object(s.b)(d,t.props.value),id:Object(s.c)(d,t.props.value)}):null}));return Object(l.jsx)(a.a,Object(r.a)({},u,{ref:e,value:d.value,children:f}))}));e.a=u},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);function o(t){return null!==t&&"object"===typeof t&&t.constructor===Object}function i(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?Object(r.a)({},t):t;return o(t)&&o(e)&&Object.keys(e).forEach((function(r){"__proto__"!==r&&(o(e[r])&&r in t&&o(t[r])?a[r]=i(t[r],e[r],n):a[r]=e[r])})),a}},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(167),u=n(13),d=n(17),f=n(1163),p=n(127),h=n(60),v=n(105),g=n(261),m=n(0),b=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected"],y=Object(u.a)(f.a,{shouldForwardProp:function(t){return Object(u.b)(t)||"classes"===t},name:"MuiListItemButton",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.dense&&e.dense,"flex-start"===n.alignItems&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters]}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)((e={display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},Object(r.a)(e,"&.".concat(g.a.selected),Object(r.a)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(g.a.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),Object(r.a)(e,"&.".concat(g.a.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),Object(r.a)(e,"&.".concat(g.a.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),Object(r.a)(e,"&.".concat(g.a.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),e),o.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},"flex-start"===o.alignItems&&{alignItems:"flex-start"},!o.disableGutters&&{paddingLeft:16,paddingRight:16},o.dense&&{paddingTop:4,paddingBottom:4})})),x=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiListItemButton"}),r=n.alignItems,c=void 0===r?"center":r,u=n.autoFocus,f=void 0!==u&&u,x=n.component,w=void 0===x?"div":x,O=n.children,S=n.dense,j=void 0!==S&&S,C=n.disableGutters,k=void 0!==C&&C,E=n.divider,P=void 0!==E&&E,_=n.focusVisibleClassName,M=n.selected,T=void 0!==M&&M,A=Object(o.a)(n,b),R=a.useContext(v.a),D={dense:j||R.dense||!1,alignItems:c,disableGutters:k},I=a.useRef(null);Object(p.a)((function(){f&&I.current&&I.current.focus()}),[f]);var N=Object(i.a)({},n,{alignItems:c,dense:D.dense,disableGutters:k,divider:P,selected:T}),L=function(t){var e=t.alignItems,n=t.classes,r=t.dense,o=t.disabled,a={root:["root",r&&"dense",!t.disableGutters&&"gutters",t.divider&&"divider",o&&"disabled","flex-start"===e&&"alignItemsFlexStart",t.selected&&"selected"]},s=Object(l.a)(a,g.b,n);return Object(i.a)({},n,s)}(N),F=Object(h.a)(I,e);return Object(m.jsx)(v.a.Provider,{value:D,children:Object(m.jsx)(y,Object(i.a)({ref:F,href:A.href||A.to,component:(A.href||A.to)&&"div"===w?"a":w,focusVisibleClassName:Object(s.default)(L.focusVisible,_),ownerState:N},A,{classes:L,children:O}))})}));e.a=x},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(313),u=n(105),d=n(17),f=n(13),p=n(438),h=n(0),v=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],g=Object(f.a)("div",{name:"MuiListItemText",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[Object(r.a)({},"& .".concat(p.a.primary),e.primary),Object(r.a)({},"& .".concat(p.a.secondary),e.secondary),e.root,n.inset&&e.inset,n.primary&&n.secondary&&e.multiline,n.dense&&e.dense]}})((function(t){var e=t.ownerState;return Object(i.a)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})})),m=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiListItemText"}),r=n.children,f=n.className,m=n.disableTypography,b=void 0!==m&&m,y=n.inset,x=void 0!==y&&y,w=n.primary,O=n.primaryTypographyProps,S=n.secondary,j=n.secondaryTypographyProps,C=Object(o.a)(n,v),k=a.useContext(u.a).dense,E=null!=w?w:r,P=S,_=Object(i.a)({},n,{disableTypography:b,inset:x,primary:!!E,secondary:!!P,dense:k}),M=function(t){var e=t.classes,n=t.inset,r=t.primary,o=t.secondary,i={root:["root",n&&"inset",t.dense&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return Object(l.a)(i,p.b,e)}(_);return null==E||E.type===c.a||b||(E=Object(h.jsx)(c.a,Object(i.a)({variant:k?"body2":"body1",className:M.primary,component:"span",display:"block"},O,{children:E}))),null==P||P.type===c.a||b||(P=Object(h.jsx)(c.a,Object(i.a)({variant:"body2",className:M.secondary,color:"text.secondary",display:"block"},j,{children:P}))),Object(h.jsxs)(g,Object(i.a)({className:Object(s.default)(M.root,f),ownerState:_,ref:e},C,{children:[E,P]}))}));e.a=m},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(659),d=n(105),f=n(0),p=["className"],h=Object(l.a)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,"flex-start"===n.alignItems&&e.alignItemsFlexStart]}})((function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===n.alignItems&&{marginTop:8})})),v=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiListItemIcon"}),l=n.className,v=Object(r.a)(n,p),g=i.useContext(d.a),m=Object(o.a)({},n,{alignItems:g.alignItems}),b=function(t){var e=t.alignItems,n=t.classes,r={root:["root","flex-start"===e&&"alignItemsFlexStart"]};return Object(s.a)(r,u.b,n)}(m);return Object(f.jsx)(h,Object(o.a)({className:Object(a.default)(b.root,l),ownerState:m,ref:e},v))}));e.a=v},function(t,e,n){"use strict";var r=n(1),o=n(51),i=n(177),a=n(83);var s="undefined"!==typeof window?r.useLayoutEffect:r.useEffect,l=r.forwardRef((function(t,e){var n=t.children,l=t.container,c=t.disablePortal,u=void 0!==c&&c,d=t.onRendered,f=r.useState(null),p=f[0],h=f[1],v=Object(a.a)(r.isValidElement(n)?n.ref:null,e);return s((function(){u||h(function(t){return t="function"===typeof t?t():t,o.findDOMNode(t)}(l)||document.body)}),[l,u]),s((function(){if(p&&!u)return Object(i.a)(e,p),function(){Object(i.a)(e,null)}}),[e,p,u]),s((function(){d&&(p||u)&&d()}),[d,p,u]),u?r.isValidElement(n)?r.cloneElement(n,{ref:v}):n:p?o.createPortal(n,p):p}));e.a=l},function(t,e,n){"use strict";function r(t){var e=t.theme,n=t.name,r=t.props;if(!e||!e.props||!e.props[n])return r;var o,i=e.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return h}));var r=n(2),o=n(3),i=n(1),a=n(729),s=n(443),l=n(312),c=n(308);function u(t){return"undefined"!==typeof t.normalize?t.normalize("NFD").replace(/[\u0300-\u036f]/g,""):t}function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.ignoreAccents,n=void 0===e||e,r=t.ignoreCase,o=void 0===r||r,i=t.limit,a=t.matchFrom,s=void 0===a?"any":a,l=t.stringify,c=t.trim,d=void 0!==c&&c;return function(t,e){var r=e.inputValue,a=e.getOptionLabel,c=d?r.trim():r;o&&(c=c.toLowerCase()),n&&(c=u(c));var f=t.filter((function(t){var e=(l||a)(t);return o&&(e=e.toLowerCase()),n&&(e=u(e)),"start"===s?0===e.indexOf(c):e.indexOf(c)>-1}));return"number"===typeof i?f.slice(0,i):f}}function f(t,e){for(var n=0;n<t.length;n+=1)if(e(t[n]))return n;return-1}var p=d();function h(t){var e,n=t.autoComplete,u=void 0!==n&&n,d=t.autoHighlight,h=void 0!==d&&d,v=t.autoSelect,g=void 0!==v&&v,m=t.blurOnSelect,b=void 0!==m&&m,y=t.clearOnBlur,x=void 0===y?!t.freeSolo:y,w=t.clearOnEscape,O=void 0!==w&&w,S=t.componentName,j=void 0===S?"useAutocomplete":S,C=t.defaultValue,k=void 0===C?t.multiple?[]:null:C,E=t.disableClearable,P=void 0!==E&&E,_=t.disableCloseOnSelect,M=void 0!==_&&_,T=t.disabled,A=t.disabledItemsFocusable,R=void 0!==A&&A,D=t.disableListWrap,I=void 0!==D&&D,N=t.filterOptions,L=void 0===N?p:N,F=t.filterSelectedOptions,B=void 0!==F&&F,z=t.freeSolo,H=void 0!==z&&z,V=t.getOptionDisabled,U=t.getOptionLabel,W=void 0===U?function(t){var e;return null!=(e=t.label)?e:t}:U,q=t.groupBy,G=t.handleHomeEndKeys,Y=void 0===G?!t.freeSolo:G,X=t.id,K=t.includeInputInList,$=void 0!==K&&K,Z=t.inputValue,Q=t.isOptionEqualToValue,J=void 0===Q?function(t,e){return t===e}:Q,tt=t.multiple,et=void 0!==tt&&tt,nt=t.onChange,rt=t.onClose,ot=t.onHighlightChange,it=t.onInputChange,at=t.onOpen,st=t.open,lt=t.openOnFocus,ct=void 0!==lt&&lt,ut=t.options,dt=t.readOnly,ft=void 0!==dt&&dt,pt=t.selectOnFocus,ht=void 0===pt?!t.freeSolo:pt,vt=t.value,gt=Object(a.a)(X);e=function(t){var e=W(t);return"string"!==typeof e?String(e):e};var mt=i.useRef(!1),bt=i.useRef(!0),yt=i.useRef(null),xt=i.useRef(null),wt=i.useState(null),Ot=Object(r.a)(wt,2),St=Ot[0],jt=Ot[1],Ct=i.useState(-1),kt=Object(r.a)(Ct,2),Et=kt[0],Pt=kt[1],_t=h?0:-1,Mt=i.useRef(_t),Tt=Object(s.a)({controlled:vt,default:k,name:j}),At=Object(r.a)(Tt,2),Rt=At[0],Dt=At[1],It=Object(s.a)({controlled:Z,default:"",name:j,state:"inputValue"}),Nt=Object(r.a)(It,2),Lt=Nt[0],Ft=Nt[1],Bt=i.useState(!1),zt=Object(r.a)(Bt,2),Ht=zt[0],Vt=zt[1],Ut=i.useCallback((function(t,n){if((et?Rt.length<n.length:null!==n)||x){var r;if(et)r="";else if(null==n)r="";else{var o=e(n);r="string"===typeof o?o:""}Lt!==r&&(Ft(r),it&&it(t,r,"reset"))}}),[e,Lt,et,it,Ft,x,Rt]),Wt=i.useRef();i.useEffect((function(){var t=Rt!==Wt.current;Wt.current=Rt,Ht&&!t||H&&!t||Ut(null,Rt)}),[Rt,Ut,Ht,Wt,H]);var qt=Object(s.a)({controlled:st,default:!1,name:j,state:"open"}),Gt=Object(r.a)(qt,2),Yt=Gt[0],Xt=Gt[1],Kt=i.useState(!0),$t=Object(r.a)(Kt,2),Zt=$t[0],Qt=$t[1],Jt=!et&&null!=Rt&&Lt===e(Rt),te=Yt&&!ft,ee=te?L(ut.filter((function(t){return!B||!(et?Rt:[Rt]).some((function(e){return null!==e&&J(t,e)}))})),{inputValue:Jt&&Zt?"":Lt,getOptionLabel:e}):[],ne=Yt&&ee.length>0&&!ft,re=Object(l.a)((function(t){-1===t?yt.current.focus():St.querySelector('[data-tag-index="'.concat(t,'"]')).focus()}));i.useEffect((function(){et&&Et>Rt.length-1&&(Pt(-1),re(-1))}),[Rt,et,Et,re]);var oe=Object(l.a)((function(t){var e=t.event,n=t.index,r=t.reason,o=void 0===r?"auto":r;if(Mt.current=n,-1===n?yt.current.removeAttribute("aria-activedescendant"):yt.current.setAttribute("aria-activedescendant","".concat(gt,"-option-").concat(n)),ot&&ot(e,-1===n?null:ee[n],o),xt.current){var i=xt.current.querySelector('[role="option"].Mui-focused');i&&(i.classList.remove("Mui-focused"),i.classList.remove("Mui-focusVisible"));var a=xt.current.parentElement.querySelector('[role="listbox"]');if(a)if(-1!==n){var s=xt.current.querySelector('[data-option-index="'.concat(n,'"]'));if(s&&(s.classList.add("Mui-focused"),"keyboard"===o&&s.classList.add("Mui-focusVisible"),a.scrollHeight>a.clientHeight&&"mouse"!==o)){var l=s,c=a.clientHeight+a.scrollTop,u=l.offsetTop+l.offsetHeight;u>c?a.scrollTop=u-a.clientHeight:l.offsetTop-l.offsetHeight*(q?1.3:0)<a.scrollTop&&(a.scrollTop=l.offsetTop-l.offsetHeight*(q?1.3:0))}}else a.scrollTop=0}})),ie=Object(l.a)((function(t){var n=t.event,r=t.diff,o=t.direction,i=void 0===o?"next":o,a=t.reason,s=void 0===a?"auto":a;if(te){var l=function(t,e){if(!xt.current||-1===t)return-1;for(var n=t;;){if("next"===e&&n===ee.length||"previous"===e&&-1===n)return-1;var r=xt.current.querySelector('[data-option-index="'.concat(n,'"]')),o=!R&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(!(r&&!r.hasAttribute("tabindex")||o))return n;n+="next"===e?1:-1}}(function(){var t=ee.length-1;if("reset"===r)return _t;if("start"===r)return 0;if("end"===r)return t;var e=Mt.current+r;return e<0?-1===e&&$?-1:I&&-1!==Mt.current||Math.abs(r)>1?0:t:e>t?e===t+1&&$?-1:I||Math.abs(r)>1?t:0:e}(),i);if(oe({index:l,reason:s,event:n}),u&&"reset"!==r)if(-1===l)yt.current.value=Lt;else{var c=e(ee[l]);yt.current.value=c,0===c.toLowerCase().indexOf(Lt.toLowerCase())&&Lt.length>0&&yt.current.setSelectionRange(Lt.length,c.length)}}})),ae=i.useCallback((function(){if(te){var t=et?Rt[0]:Rt;if(0!==ee.length&&null!=t){if(xt.current)if(null==t)Mt.current>=ee.length-1?oe({index:ee.length-1}):oe({index:Mt.current});else{var e=ee[Mt.current];if(et&&e&&-1!==f(Rt,(function(t){return J(e,t)})))return;var n=f(ee,(function(e){return J(e,t)}));-1===n?ie({diff:"reset"}):oe({index:n})}}else ie({diff:"reset"})}}),[ee.length,!et&&Rt,B,ie,oe,te,Lt,et]),se=Object(l.a)((function(t){Object(c.a)(xt,t),t&&ae()}));i.useEffect((function(){ae()}),[ae]);var le=function(t){Yt||(Xt(!0),Qt(!0),at&&at(t))},ce=function(t,e){Yt&&(Xt(!1),rt&&rt(t,e))},ue=function(t,e,n,r){if(et){if(Rt.length===e.length&&Rt.every((function(t,n){return t===e[n]})))return}else if(Rt===e)return;nt&&nt(t,e,n,r),Dt(e)},de=i.useRef(!1),fe=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"selectOption",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"options",o=n,i=e;if(et){var a=f(i=Array.isArray(Rt)?Rt.slice():[],(function(t){return J(e,t)}));-1===a?i.push(e):"freeSolo"!==r&&(i.splice(a,1),o="removeOption")}Ut(t,i),ue(t,i,o,{option:e}),M||t&&(t.ctrlKey||t.metaKey)||ce(t,o),(!0===b||"touch"===b&&de.current||"mouse"===b&&!de.current)&&yt.current.blur()};var pe=function(t,e){if(et){""===Lt&&ce(t,"toggleInput");var n=Et;-1===Et?""===Lt&&"previous"===e&&(n=Rt.length-1):((n+="next"===e?1:-1)<0&&(n=0),n===Rt.length&&(n=-1)),n=function(t,e){if(-1===t)return-1;for(var n=t;;){if("next"===e&&n===Rt.length||"previous"===e&&-1===n)return-1;var r=St.querySelector('[data-tag-index="'.concat(n,'"]'));if(r&&r.hasAttribute("tabindex")&&!r.disabled&&"true"!==r.getAttribute("aria-disabled"))return n;n+="next"===e?1:-1}}(n,e),Pt(n),re(n)}},he=function(t){mt.current=!0,Ft(""),it&&it(t,"","clear"),ue(t,et?[]:null,"clear")},ve=function(t){return function(e){if(t.onKeyDown&&t.onKeyDown(e),!e.defaultMuiPrevented&&(-1!==Et&&-1===["ArrowLeft","ArrowRight"].indexOf(e.key)&&(Pt(-1),re(-1)),229!==e.which))switch(e.key){case"Home":te&&Y&&(e.preventDefault(),ie({diff:"start",direction:"next",reason:"keyboard",event:e}));break;case"End":te&&Y&&(e.preventDefault(),ie({diff:"end",direction:"previous",reason:"keyboard",event:e}));break;case"PageUp":e.preventDefault(),ie({diff:-5,direction:"previous",reason:"keyboard",event:e}),le(e);break;case"PageDown":e.preventDefault(),ie({diff:5,direction:"next",reason:"keyboard",event:e}),le(e);break;case"ArrowDown":e.preventDefault(),ie({diff:1,direction:"next",reason:"keyboard",event:e}),le(e);break;case"ArrowUp":e.preventDefault(),ie({diff:-1,direction:"previous",reason:"keyboard",event:e}),le(e);break;case"ArrowLeft":pe(e,"previous");break;case"ArrowRight":pe(e,"next");break;case"Enter":if(-1!==Mt.current&&te){var n=ee[Mt.current],r=!!V&&V(n);if(e.preventDefault(),r)return;fe(e,n,"selectOption"),u&&yt.current.setSelectionRange(yt.current.value.length,yt.current.value.length)}else H&&""!==Lt&&!1===Jt&&(et&&e.preventDefault(),fe(e,Lt,"createOption","freeSolo"));break;case"Escape":te?(e.preventDefault(),e.stopPropagation(),ce(e,"escape")):O&&(""!==Lt||et&&Rt.length>0)&&(e.preventDefault(),e.stopPropagation(),he(e));break;case"Backspace":if(et&&!ft&&""===Lt&&Rt.length>0){var o=-1===Et?Rt.length-1:Et,i=Rt.slice();i.splice(o,1),ue(e,i,"removeOption",{option:Rt[o]})}}}},ge=function(t){Vt(!0),ct&&!mt.current&&le(t)},me=function(t){null!==xt.current&&xt.current.parentElement.contains(document.activeElement)?yt.current.focus():(Vt(!1),bt.current=!0,mt.current=!1,g&&-1!==Mt.current&&te?fe(t,ee[Mt.current],"blur"):g&&H&&""!==Lt?fe(t,Lt,"blur","freeSolo"):x&&Ut(t,Rt),ce(t,"blur"))},be=function(t){var e=t.target.value;Lt!==e&&(Ft(e),Qt(!1),it&&it(t,e,"input")),""===e?P||et||ue(t,null,"clear"):le(t)},ye=function(t){oe({event:t,index:Number(t.currentTarget.getAttribute("data-option-index")),reason:"mouse"})},xe=function(){de.current=!0},we=function(t){var e=Number(t.currentTarget.getAttribute("data-option-index"));fe(t,ee[e],"selectOption"),de.current=!1},Oe=function(t){return function(e){var n=Rt.slice();n.splice(t,1),ue(e,n,"removeOption",{option:Rt[t]})}},Se=function(t){Yt?ce(t,"toggleInput"):le(t)},je=function(t){t.target.getAttribute("id")!==gt&&t.preventDefault()},Ce=function(){yt.current.focus(),ht&&bt.current&&yt.current.selectionEnd-yt.current.selectionStart===0&&yt.current.select(),bt.current=!1},ke=function(t){""!==Lt&&Yt||Se(t)},Ee=H&&Lt.length>0;Ee=Ee||(et?Rt.length>0:null!==Rt);var Pe=ee;if(q){new Map;Pe=ee.reduce((function(t,e,n){var r=q(e);return t.length>0&&t[t.length-1].group===r?t[t.length-1].options.push(e):t.push({key:n,index:n,group:r,options:[e]}),t}),[])}return T&&Ht&&me(),{getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(o.a)({"aria-owns":ne?"".concat(gt,"-listbox"):null},t,{onKeyDown:ve(t),onMouseDown:je,onClick:Ce})},getInputLabelProps:function(){return{id:"".concat(gt,"-label"),htmlFor:gt}},getInputProps:function(){return{id:gt,value:Lt,onBlur:me,onFocus:ge,onChange:be,onMouseDown:ke,"aria-activedescendant":te?"":null,"aria-autocomplete":u?"both":"list","aria-controls":ne?"".concat(gt,"-listbox"):void 0,"aria-expanded":ne,autoComplete:"off",ref:yt,autoCapitalize:"none",spellCheck:"false",role:"combobox"}},getClearProps:function(){return{tabIndex:-1,onClick:he}},getPopupIndicatorProps:function(){return{tabIndex:-1,onClick:Se}},getTagProps:function(t){var e=t.index;return Object(o.a)({key:e,"data-tag-index":e,tabIndex:-1},!ft&&{onDelete:Oe(e)})},getListboxProps:function(){return{role:"listbox",id:"".concat(gt,"-listbox"),"aria-labelledby":"".concat(gt,"-label"),ref:se,onMouseDown:function(t){t.preventDefault()}}},getOptionProps:function(t){var n=t.index,r=t.option,o=(et?Rt:[Rt]).some((function(t){return null!=t&&J(r,t)})),i=!!V&&V(r);return{key:e(r),tabIndex:-1,role:"option",id:"".concat(gt,"-option-").concat(n),onMouseOver:ye,onClick:we,onTouchStart:xe,"data-option-index":n,"aria-disabled":i,"aria-selected":o}},id:gt,inputValue:Lt,value:Rt,dirty:Ee,popupOpen:te,focused:Ht||-1!==Et,anchorEl:St,setAnchorEl:jt,focusedTag:Et,groupedOptions:Pe}}},function(t,e,n){"use strict";var r=n(2),o=n(5),i=n(12),a=n(3),s=n(1),l=n(10),c=n(230),u=n(309),d=n(167),f=n(13),p=n(52),h=n(17),v=n(15),g=n(730),m=n(734),b=n(123),y=n(60),x=n(248),w=n(215),O=n(162),S=n(185),j=n(0),C=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"];var k=Object(f.a)(m.a,{name:"MuiTooltip",slot:"Popper",overridesResolver:function(t,e){var n=t.ownerState;return[e.popper,!n.disableInteractive&&e.popperInteractive,n.arrow&&e.popperArrow,!n.open&&e.popperClose]}})((function(t){var e,n=t.theme,r=t.ownerState,i=t.open;return Object(a.a)({zIndex:(n.vars||n).zIndex.tooltip,pointerEvents:"none"},!r.disableInteractive&&{pointerEvents:"auto"},!i&&{pointerEvents:"none"},r.arrow&&(e={},Object(o.a)(e,'&[data-popper-placement*="bottom"] .'.concat(S.a.arrow),{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}}),Object(o.a)(e,'&[data-popper-placement*="top"] .'.concat(S.a.arrow),{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}}),Object(o.a)(e,'&[data-popper-placement*="right"] .'.concat(S.a.arrow),Object(a.a)({},r.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}})),Object(o.a)(e,'&[data-popper-placement*="left"] .'.concat(S.a.arrow),Object(a.a)({},r.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})),e))})),E=Object(f.a)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:function(t,e){var n=t.ownerState;return[e.tooltip,n.touch&&e.touch,n.arrow&&e.tooltipArrow,e["tooltipPlacement".concat(Object(v.a)(n.placement.split("-")[0]))]]}})((function(t){var e,n,r=t.theme,i=t.ownerState;return Object(a.a)({backgroundColor:r.vars?r.vars.palette.Tooltip.bg:Object(d.a)(r.palette.grey[700],.92),borderRadius:(r.vars||r).shape.borderRadius,color:(r.vars||r).palette.common.white,fontFamily:r.typography.fontFamily,padding:"4px 8px",fontSize:r.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:r.typography.fontWeightMedium},i.arrow&&{position:"relative",margin:0},i.touch&&{padding:"8px 16px",fontSize:r.typography.pxToRem(14),lineHeight:"".concat((n=16/14,Math.round(1e5*n)/1e5),"em"),fontWeight:r.typography.fontWeightRegular},(e={},Object(o.a)(e,".".concat(S.a.popper,'[data-popper-placement*="left"] &'),Object(a.a)({transformOrigin:"right center"},i.isRtl?Object(a.a)({marginLeft:"14px"},i.touch&&{marginLeft:"24px"}):Object(a.a)({marginRight:"14px"},i.touch&&{marginRight:"24px"}))),Object(o.a)(e,".".concat(S.a.popper,'[data-popper-placement*="right"] &'),Object(a.a)({transformOrigin:"left center"},i.isRtl?Object(a.a)({marginRight:"14px"},i.touch&&{marginRight:"24px"}):Object(a.a)({marginLeft:"14px"},i.touch&&{marginLeft:"24px"}))),Object(o.a)(e,".".concat(S.a.popper,'[data-popper-placement*="top"] &'),Object(a.a)({transformOrigin:"center bottom",marginBottom:"14px"},i.touch&&{marginBottom:"24px"})),Object(o.a)(e,".".concat(S.a.popper,'[data-popper-placement*="bottom"] &'),Object(a.a)({transformOrigin:"center top",marginTop:"14px"},i.touch&&{marginTop:"24px"})),e))})),P=Object(f.a)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:function(t,e){return e.arrow}})((function(t){var e=t.theme;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?"rgba(".concat(e.vars.palette.grey.darkChannel," / 0.9)"):Object(d.a)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),_=!1,M=null;function T(t,e){return function(n){e&&e(n),t(n)}}var A=s.forwardRef((function(t,e){var n,o,d,f,A,R,D=Object(h.a)({props:t,name:"MuiTooltip"}),I=D.arrow,N=void 0!==I&&I,L=D.children,F=D.components,B=void 0===F?{}:F,z=D.componentsProps,H=void 0===z?{}:z,V=D.describeChild,U=void 0!==V&&V,W=D.disableFocusListener,q=void 0!==W&&W,G=D.disableHoverListener,Y=void 0!==G&&G,X=D.disableInteractive,K=void 0!==X&&X,$=D.disableTouchListener,Z=void 0!==$&&$,Q=D.enterDelay,J=void 0===Q?100:Q,tt=D.enterNextDelay,et=void 0===tt?0:tt,nt=D.enterTouchDelay,rt=void 0===nt?700:nt,ot=D.followCursor,it=void 0!==ot&&ot,at=D.id,st=D.leaveDelay,lt=void 0===st?0:st,ct=D.leaveTouchDelay,ut=void 0===ct?1500:ct,dt=D.onClose,ft=D.onOpen,pt=D.open,ht=D.placement,vt=void 0===ht?"bottom":ht,gt=D.PopperComponent,mt=D.PopperProps,bt=void 0===mt?{}:mt,yt=D.title,xt=D.TransitionComponent,wt=void 0===xt?g.a:xt,Ot=D.TransitionProps,St=Object(i.a)(D,C),jt=Object(p.a)(),Ct="rtl"===jt.direction,kt=s.useState(),Et=Object(r.a)(kt,2),Pt=Et[0],_t=Et[1],Mt=s.useState(null),Tt=Object(r.a)(Mt,2),At=Tt[0],Rt=Tt[1],Dt=s.useRef(!1),It=K||it,Nt=s.useRef(),Lt=s.useRef(),Ft=s.useRef(),Bt=s.useRef(),zt=Object(O.a)({controlled:pt,default:!1,name:"Tooltip",state:"open"}),Ht=Object(r.a)(zt,2),Vt=Ht[0],Ut=Ht[1],Wt=Vt,qt=Object(x.a)(at),Gt=s.useRef(),Yt=s.useCallback((function(){void 0!==Gt.current&&(document.body.style.WebkitUserSelect=Gt.current,Gt.current=void 0),clearTimeout(Bt.current)}),[]);s.useEffect((function(){return function(){clearTimeout(Nt.current),clearTimeout(Lt.current),clearTimeout(Ft.current),Yt()}}),[Yt]);var Xt=function(t){clearTimeout(M),_=!0,Ut(!0),ft&&!Wt&&ft(t)},Kt=Object(b.a)((function(t){clearTimeout(M),M=setTimeout((function(){_=!1}),800+lt),Ut(!1),dt&&Wt&&dt(t),clearTimeout(Nt.current),Nt.current=setTimeout((function(){Dt.current=!1}),jt.transitions.duration.shortest)})),$t=function(t){Dt.current&&"touchstart"!==t.type||(Pt?Pt.removeAttribute("title"):_t(t.currentTarget),clearTimeout(Lt.current),clearTimeout(Ft.current),J||_&&et?Lt.current=setTimeout((function(){Xt(t)}),_?et:J):Xt(t))},Zt=function(t){clearTimeout(Lt.current),clearTimeout(Ft.current),Ft.current=setTimeout((function(){Kt(t)}),lt)},Qt=Object(w.a)(),Jt=Qt.isFocusVisibleRef,te=Qt.onBlur,ee=Qt.onFocus,ne=Qt.ref,re=s.useState(!1),oe=Object(r.a)(re,2)[1],ie=function(t){te(t),!1===Jt.current&&(oe(!1),Zt(t))},ae=function(t){Pt||_t(t.currentTarget),ee(t),!0===Jt.current&&(oe(!0),$t(t))},se=function(t){Dt.current=!0;var e=L.props;e.onTouchStart&&e.onTouchStart(t)},le=$t,ce=Zt;s.useEffect((function(){if(Wt)return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)};function t(t){"Escape"!==t.key&&"Esc"!==t.key||Kt(t)}}),[Kt,Wt]);var ue=Object(y.a)(_t,e),de=Object(y.a)(ne,ue),fe=Object(y.a)(L.ref,de);""===yt&&(Wt=!1);var pe=s.useRef({x:0,y:0}),he=s.useRef(),ve={},ge="string"===typeof yt;U?(ve.title=Wt||!ge||Y?null:yt,ve["aria-describedby"]=Wt?qt:null):(ve["aria-label"]=ge?yt:null,ve["aria-labelledby"]=Wt&&!ge?qt:null);var me=Object(a.a)({},ve,St,L.props,{className:Object(l.default)(St.className,L.props.className),onTouchStart:se,ref:fe},it?{onMouseMove:function(t){var e=L.props;e.onMouseMove&&e.onMouseMove(t),pe.current={x:t.clientX,y:t.clientY},he.current&&he.current.update()}}:{});var be={};Z||(me.onTouchStart=function(t){se(t),clearTimeout(Ft.current),clearTimeout(Nt.current),Yt(),Gt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Bt.current=setTimeout((function(){document.body.style.WebkitUserSelect=Gt.current,$t(t)}),rt)},me.onTouchEnd=function(t){L.props.onTouchEnd&&L.props.onTouchEnd(t),Yt(),clearTimeout(Ft.current),Ft.current=setTimeout((function(){Kt(t)}),ut)}),Y||(me.onMouseOver=T(le,me.onMouseOver),me.onMouseLeave=T(ce,me.onMouseLeave),It||(be.onMouseOver=le,be.onMouseLeave=ce)),q||(me.onFocus=T(ae,me.onFocus),me.onBlur=T(ie,me.onBlur),It||(be.onFocus=ae,be.onBlur=ie));var ye=s.useMemo((function(){var t,e=[{name:"arrow",enabled:Boolean(At),options:{element:At,padding:4}}];return null!=(t=bt.popperOptions)&&t.modifiers&&(e=e.concat(bt.popperOptions.modifiers)),Object(a.a)({},bt.popperOptions,{modifiers:e})}),[At,bt]),xe=Object(a.a)({},D,{isRtl:Ct,arrow:N,disableInteractive:It,placement:vt,PopperComponentProp:gt,touch:Dt.current}),we=function(t){var e=t.classes,n=t.disableInteractive,r=t.arrow,o=t.touch,i=t.placement,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch","tooltipPlacement".concat(Object(v.a)(i.split("-")[0]))],arrow:["arrow"]};return Object(c.a)(a,S.b,e)}(xe),Oe=null!=(n=B.Popper)?n:k,Se=null!=(o=null!=(d=B.Transition)?d:wt)?o:g.a,je=null!=(f=B.Tooltip)?f:E,Ce=null!=(A=B.Arrow)?A:P,ke=Object(u.a)(Oe,Object(a.a)({},bt,H.popper),xe),Ee=Object(u.a)(Se,Object(a.a)({},Ot,H.transition),xe),Pe=Object(u.a)(je,Object(a.a)({},H.tooltip),xe),_e=Object(u.a)(Ce,Object(a.a)({},H.arrow),xe);return Object(j.jsxs)(s.Fragment,{children:[s.cloneElement(L,me),Object(j.jsx)(Oe,Object(a.a)({as:null!=gt?gt:m.a,placement:vt,anchorEl:it?{getBoundingClientRect:function(){return{top:pe.current.y,left:pe.current.x,right:pe.current.x,bottom:pe.current.y,width:0,height:0}}}:Pt,popperRef:he,open:!!Pt&&Wt,id:qt,transition:!0},be,ke,{className:Object(l.default)(we.popper,null==bt?void 0:bt.className,null==(R=H.popper)?void 0:R.className),popperOptions:ye,children:function(t){var e,n,r=t.TransitionProps;return Object(j.jsx)(Se,Object(a.a)({timeout:jt.transitions.duration.shorter},r,Ee,{children:Object(j.jsxs)(je,Object(a.a)({},Pe,{className:Object(l.default)(we.tooltip,null==(e=H.tooltip)?void 0:e.className),children:[yt,N?Object(j.jsx)(Ce,Object(a.a)({},_e,{className:Object(l.default)(we.arrow,null==(n=H.arrow)?void 0:n.className),ref:Rt})):null]}))}))}}))]})}));e.a=A},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(668),o=n(722),i=n(677),a=n(678),s=n(179),l=Object(r.a)({chartName:"BarChart",GraphicalChild:o.a,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:i.a},{axisType:"yAxis",AxisComp:a.a}],formatAxisMap:s.b})},function(t,e,n){"use strict";var r=Math.PI,o=2*r,i=1e-6,a=o-i;function s(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function l(){return new s}s.prototype=l.prototype={constructor:s,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,o,i){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,e,n,o,a){t=+t,e=+e,n=+n,o=+o,a=+a;var s=this._x1,l=this._y1,c=n-t,u=o-e,d=s-t,f=l-e,p=d*d+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(p>i)if(Math.abs(f*c-u*d)>i&&a){var h=n-s,v=o-l,g=c*c+u*u,m=h*h+v*v,b=Math.sqrt(g),y=Math.sqrt(p),x=a*Math.tan((r-Math.acos((g+p-m)/(2*b*y)))/2),w=x/y,O=x/b;Math.abs(w-1)>i&&(this._+="L"+(t+w*d)+","+(e+w*f)),this._+="A"+a+","+a+",0,0,"+ +(f*h>d*v)+","+(this._x1=t+O*c)+","+(this._y1=e+O*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,s,l,c){t=+t,e=+e,c=!!c;var u=(n=+n)*Math.cos(s),d=n*Math.sin(s),f=t+u,p=e+d,h=1^c,v=c?s-l:l-s;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+f+","+p:(Math.abs(this._x1-f)>i||Math.abs(this._y1-p)>i)&&(this._+="L"+f+","+p),n&&(v<0&&(v=v%o+o),v>a?this._+="A"+n+","+n+",0,1,"+h+","+(t-u)+","+(e-d)+"A"+n+","+n+",0,1,"+h+","+(this._x1=f)+","+(this._y1=p):v>i&&(this._+="A"+n+","+n+",0,"+ +(v>=r)+","+h+","+(this._x1=t+n*Math.cos(l))+","+(this._y1=e+n*Math.sin(l))))},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._}},e.a=l},function(t,e,n){"use strict";var r=n(291),o=n(515),i=n(345),a=Object(o.a)(r.a),s=a.right;a.left,Object(o.a)(i.a).center;e.a=s},function(t,e,n){"use strict";e.a=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return w}));var r=n(40),o=n.n(r),i=n(1),a=n.n(i),s=n(18),l=n(39);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},c(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},u.apply(this,arguments)}function d(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function f(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 p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}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 v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(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){return m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},m(t,e)}function b(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=x(t);if(e){var o=x(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(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 x(t){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},x(t)}var w=function(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&&m(t,e)}(c,t);var e,n,r,i=b(c);function c(){return v(this,c),i.apply(this,arguments)}return e=c,r=[{key:"renderLineItem",value:function(t,e){var n;if(a.a.isValidElement(t))n=a.a.cloneElement(t,e);else if(o()(t))n=t(e);else{var r=e.x1,i=e.y1,s=e.x2,c=e.y2,f=e.key,p=d(e,["x1","y1","x2","y2","key"]);n=a.a.createElement("line",u({},Object(l.c)(p),{x1:r,y1:i,x2:s,y2:c,fill:"none",key:f}))}return n}}],(n=[{key:"renderHorizontal",value:function(t){var e=this,n=this.props,r=n.x,o=n.width,i=n.horizontal;if(!t||!t.length)return null;var s=t.map((function(t,n){var a=p(p({},e.props),{},{x1:r,y1:t,x2:r+o,y2:t,key:"line-".concat(n),index:n});return c.renderLineItem(i,a)}));return a.a.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}},{key:"renderVertical",value:function(t){var e=this,n=this.props,r=n.y,o=n.height,i=n.vertical;if(!t||!t.length)return null;var s=t.map((function(t,n){var a=p(p({},e.props),{},{x1:t,y1:r,x2:t,y2:r+o,key:"line-".concat(n),index:n});return c.renderLineItem(i,a)}));return a.a.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}},{key:"renderVerticalStripes",value:function(t){var e=this.props.verticalFill;if(!e||!e.length)return null;var n=this.props,r=n.fillOpacity,o=n.x,i=n.y,s=n.width,l=n.height,c=t.slice().sort((function(t,e){return t-e}));o!==c[0]&&c.unshift(0);var u=c.map((function(t,n){var u=c[n+1]?c[n+1]-t:o+s-t;if(u<=0)return null;var d=n%e.length;return a.a.createElement("rect",{key:"react-".concat(n),x:Math.round(t+o-o),y:i,width:u,height:l,stroke:"none",fill:e[d],fillOpacity:r,className:"recharts-cartesian-grid-bg"})}));return a.a.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},u)}},{key:"renderHorizontalStripes",value:function(t){var e=this.props.horizontalFill;if(!e||!e.length)return null;var n=this.props,r=n.fillOpacity,o=n.x,i=n.y,s=n.width,l=n.height,c=t.slice().sort((function(t,e){return t-e}));i!==c[0]&&c.unshift(0);var u=c.map((function(t,n){var u=c[n+1]?c[n+1]-t:i+l-t;if(u<=0)return null;var d=n%e.length;return a.a.createElement("rect",{key:"react-".concat(n),y:Math.round(t+i-i),x:o,height:u,width:s,stroke:"none",fill:e[d],fillOpacity:r,className:"recharts-cartesian-grid-bg"})}));return a.a.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},u)}},{key:"renderBackground",value:function(){var t=this.props.fill;if(!t||"none"===t)return null;var e=this.props,n=e.fillOpacity,r=e.x,o=e.y,i=e.width,s=e.height;return a.a.createElement("rect",{x:r,y:o,width:i,height:s,stroke:"none",fill:t,fillOpacity:n,className:"recharts-cartesian-grid-bg"})}},{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,l=t.horizontal,c=t.vertical,u=t.horizontalCoordinatesGenerator,d=t.verticalCoordinatesGenerator,f=t.xAxis,p=t.yAxis,h=t.offset,v=t.chartWidth,g=t.chartHeight;if(!Object(s.g)(r)||r<=0||!Object(s.g)(i)||i<=0||!Object(s.g)(e)||e!==+e||!Object(s.g)(n)||n!==+n)return null;var m=this.props,b=m.horizontalPoints,y=m.verticalPoints;return b&&b.length||!o()(u)||(b=u({yAxis:p,width:v,height:g,offset:h})),y&&y.length||!o()(d)||(y=d({xAxis:f,width:v,height:g,offset:h})),a.a.createElement("g",{className:"recharts-cartesian-grid"},this.renderBackground(),l&&this.renderHorizontal(b),c&&this.renderVertical(y),l&&this.renderHorizontalStripes(b),c&&this.renderVerticalStripes(y))}}])&&g(e.prototype,n),r&&g(e,r),c}(i.PureComponent);w.displayName="CartesianGrid",w.defaultProps={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]}},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(167),u=n(15),d=n(436),f=n(17),p=n(13),h=n(114),v=n(0),g=["className","color","edge","size","sx"],m=Object(p.a)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.edge&&e["edge".concat(Object(u.a)(n.edge))],e["size".concat(Object(u.a)(n.size))]]}})((function(t){var e,n=t.ownerState;return Object(i.a)({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"}},"start"===n.edge&&{marginLeft:-8},"end"===n.edge&&{marginRight:-8},"small"===n.size&&(e={width:40,height:24,padding:7},Object(r.a)(e,"& .".concat(h.a.thumb),{width:16,height:16}),Object(r.a)(e,"& .".concat(h.a.switchBase),Object(r.a)({padding:4},"&.".concat(h.a.checked),{transform:"translateX(16px)"})),e))})),b=Object(p.a)(d.a,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:function(t,e){var n=t.ownerState;return[e.switchBase,Object(r.a)({},"& .".concat(h.a.input),e.input),"default"!==n.color&&e["color".concat(Object(u.a)(n.color))]]}})((function(t){var e,n=t.theme;return e={position:"absolute",top:0,left:0,zIndex:1,color:n.vars?n.vars.palette.Switch.defaultColor:"".concat("light"===n.palette.mode?n.palette.common.white:n.palette.grey[300]),transition:n.transitions.create(["left","transform"],{duration:n.transitions.duration.shortest})},Object(r.a)(e,"&.".concat(h.a.checked),{transform:"translateX(20px)"}),Object(r.a)(e,"&.".concat(h.a.disabled),{color:n.vars?n.vars.palette.Switch.defaultDisabledColor:"".concat("light"===n.palette.mode?n.palette.grey[100]:n.palette.grey[600])}),Object(r.a)(e,"&.".concat(h.a.checked," + .").concat(h.a.track),{opacity:.5}),Object(r.a)(e,"&.".concat(h.a.disabled," + .").concat(h.a.track),{opacity:n.vars?n.vars.opacity.switchTrackDisabled:"".concat("light"===n.palette.mode?.12:.2)}),Object(r.a)(e,"& .".concat(h.a.input),{left:"-100%",width:"300%"}),e}),(function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)({"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.activeChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):Object(c.a)(n.palette.action.active,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==o.color&&(e={},Object(r.a)(e,"&.".concat(h.a.checked),Object(r.a)({color:(n.vars||n).palette[o.color].main,"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette[o.color].mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):Object(c.a)(n.palette[o.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(h.a.disabled),{color:n.vars?n.vars.palette.Switch["".concat(o.color,"DisabledColor")]:"".concat("light"===n.palette.mode?Object(c.e)(n.palette[o.color].main,.62):Object(c.b)(n.palette[o.color].main,.55))})),Object(r.a)(e,"&.".concat(h.a.checked," + .").concat(h.a.track),{backgroundColor:(n.vars||n).palette[o.color].main}),e))})),y=Object(p.a)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:function(t,e){return e.track}})((function(t){var e=t.theme;return{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:"".concat("light"===e.palette.mode?e.palette.common.black:e.palette.common.white),opacity:e.vars?e.vars.opacity.switchTrack:"".concat("light"===e.palette.mode?.38:.3)}})),x=Object(p.a)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:function(t,e){return e.thumb}})((function(t){var e=t.theme;return{boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}})),w=a.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiSwitch"}),r=n.className,a=n.color,c=void 0===a?"primary":a,d=n.edge,p=void 0!==d&&d,w=n.size,O=void 0===w?"medium":w,S=n.sx,j=Object(o.a)(n,g),C=Object(i.a)({},n,{color:c,edge:p,size:O}),k=function(t){var e=t.classes,n=t.edge,r=t.size,o=t.color,a=t.checked,s=t.disabled,c={root:["root",n&&"edge".concat(Object(u.a)(n)),"size".concat(Object(u.a)(r))],switchBase:["switchBase","color".concat(Object(u.a)(o)),a&&"checked",s&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=Object(l.a)(c,h.b,e);return Object(i.a)({},e,d)}(C),E=Object(v.jsx)(x,{className:k.thumb,ownerState:C});return Object(v.jsxs)(m,{className:Object(s.default)(k.root,r),sx:S,ownerState:C,children:[Object(v.jsx)(b,Object(i.a)({type:"checkbox",icon:E,checkedIcon:E,ref:e,ownerState:C},j,{classes:Object(i.a)({},k,{root:k.switchBase})})),Object(v.jsx)(y,{className:k.track,ownerState:C})]})}));e.a=w},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(13),l=n(17),c=n(15),u=n(731),d=n(313),f=n(199),p=n(682),h=n(0),v=["className"],g=Object(s.a)(d.a,{name:"MuiTimelineOppositeContent",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["position".concat(Object(c.a)(n.position))]]}})((function(t){var e=t.ownerState;return Object(o.a)({padding:"6px 16px",marginRight:"auto",textAlign:"right",flex:1},"left"===e.position&&{textAlign:"left"})})),m=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiTimelineOppositeContent"}),s=n.className,d=Object(r.a)(n,v),m=i.useContext(f.a).position,b=Object(o.a)({},n,{position:m||"left"}),y=function(t){var e=t.position,n=t.classes,r={root:["root","position".concat(Object(c.a)(e))]};return Object(u.a)(r,p.b,n)}(b);return Object(h.jsx)(g,Object(o.a)({component:"div",className:Object(a.default)(y.root,s),ownerState:b,ref:e},d))}));m.muiName="TimelineOppositeContent",e.a=m},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(15),l=n(13),c=n(17),u=n(731),d=n(313),f=n(199),p=n(681),h=n(0),v=["className"],g=Object(l.a)(d.a,{name:"MuiTimelineContent",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["position".concat(Object(s.a)(n.position))]]}})((function(t){var e=t.ownerState;return Object(o.a)({flex:1,padding:"6px 16px",textAlign:"left"},"left"===e.position&&{textAlign:"right"})})),m=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiTimelineContent"}),l=n.className,d=Object(r.a)(n,v),m=i.useContext(f.a).position,b=Object(o.a)({},n,{position:m||"right"}),y=function(t){var e=t.position,n=t.classes,r={root:["root","position".concat(Object(s.a)(e))]};return Object(u.a)(r,p.b,n)}(b);return Object(h.jsx)(g,Object(o.a)({component:"div",className:Object(a.default)(y.root,l),ownerState:b,ref:e},d))}));e.a=m},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(84),l=n(113),c=n(1153),u=n(311),d=n(13),f=n(17),p=n(0),h=["component","direction","spacing","divider","children"];function v(t,e){var n=a.Children.toArray(t).filter(Boolean);return n.reduce((function(t,r,o){return t.push(r),o<n.length-1&&t.push(a.cloneElement(e,{key:"separator-".concat(o)})),t}),[])}var g=Object(d.a)("div",{name:"MuiStack",slot:"Root",overridesResolver:function(t,e){return[e.root]}})((function(t){var e=t.ownerState,n=t.theme,o=Object(i.a)({display:"flex"},Object(s.b)({theme:n},Object(s.d)({values:e.direction,breakpoints:n.breakpoints.values}),(function(t){return{flexDirection:t}})));if(e.spacing){var a=Object(l.a)(n),c=Object.keys(n.breakpoints.values).reduce((function(t,n){return("object"===typeof e.spacing&&null!=e.spacing[n]||"object"===typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t}),{}),d=Object(s.d)({values:e.direction,base:c}),f=Object(s.d)({values:e.spacing,base:c});o=Object(u.a)(o,Object(s.b)({theme:n},f,(function(t,n){return{"& > :not(style) + :not(style)":Object(r.a)({margin:0},"margin".concat((o=n?d[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o])),Object(l.d)(a,t))};var o})))}return o})),m=a.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiStack"}),r=Object(c.a)(n),a=r.component,s=void 0===a?"div":a,l=r.direction,u=void 0===l?"column":l,d=r.spacing,m=void 0===d?0:d,b=r.divider,y=r.children,x=Object(o.a)(r,h),w={direction:u,spacing:m};return Object(p.jsx)(g,Object(i.a)({as:s,ownerState:w,ref:e},x,{children:b?v(y,b):y}))}));e.a=m},function(t,e,n){"use strict";var r=n(3),o=n(1),i=n(17),a=n(1158),s=n(0),l=function(t,e){return Object(r.a)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},e&&{colorScheme:t.palette.mode})},c=function(t){return Object(r.a)({color:(t.vars||t).palette.text.primary},t.typography.body1,{backgroundColor:(t.vars||t).palette.background.default,"@media print":{backgroundColor:(t.vars||t).palette.common.white}})};e.a=function(t){var e=Object(i.a)({props:t,name:"MuiCssBaseline"}),n=e.children,u=e.enableColorScheme,d=void 0!==u&&u;return Object(s.jsxs)(o.Fragment,{children:[Object(s.jsx)(a.a,{styles:function(t){return function(t){var e,n,o={html:l(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1]),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:t.typography.fontWeightBold},body:Object(r.a)({margin:0},c(t),{"&::backdrop":{backgroundColor:(t.vars||t).palette.background.default}})},i=null==(e=t.components)||null==(n=e.MuiCssBaseline)?void 0:n.styleOverrides;return i&&(o=[o,i]),o}(t,d)}}),n]})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return zl}));var r=n(1),o=n(16),i=n.n(o);var a=n(2);function s(){return s=Object.assign?Object.assign.bind():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},s.apply(this,arguments)}function l(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var c=n(10),u=n(15),d=n(60),f=n(127),p=n(230),h=n(5),v=n(13),g=n(167),m=n(168),b=n(187);function y(t){return Object(m.a)("MuiDataGrid",t)}var x=Object(b.a)("MuiDataGrid",["actionsCell","aggregationColumnHeader","aggregationColumnHeader--alignLeft","aggregationColumnHeader--alignCenter","aggregationColumnHeader--alignRight","autoHeight","booleanCell","cell--editable","cell--editing","cell--textCenter","cell--textLeft","cell--textRight","cell--withRenderer","cell","cellContent","cellCheckbox","checkboxInput","columnHeader--alignCenter","columnHeader--alignLeft","columnHeader--alignRight","columnHeader--dragging","columnHeader--moving","columnHeader--numeric","columnHeader--sortable","columnHeader--sorted","columnHeader--filtered","columnHeader","columnHeaderCheckbox","columnHeaderDraggableContainer","columnHeaderDropZone","columnHeaderTitle","columnHeaderTitleContainer","columnHeaderTitleContainerContent","columnHeaders","columnHeadersInner","columnHeadersInner--scrollable","columnSeparator--resizable","columnSeparator--resizing","columnSeparator--sideLeft","columnSeparator--sideRight","columnSeparator","columnsPanel","columnsPanelRow","detailPanel","detailPanels","detailPanelToggleCell","detailPanelToggleCell--expanded","footerCell","panel","panelHeader","panelWrapper","panelContent","panelFooter","paper","editBooleanCell","editInputCell","filterForm","filterFormDeleteIcon","filterFormLinkOperatorInput","filterFormColumnInput","filterFormOperatorInput","filterFormValueInput","filterIcon","footerContainer","iconButtonContainer","iconSeparator","main","menu","menuIcon","menuIconButton","menuOpen","menuList","overlay","root","root--densityStandard","root--densityComfortable","root--densityCompact","row","row--editable","row--editing","row--lastVisible","row--dragging","row--dynamicHeight","rowReorderCellPlaceholder","rowCount","rowReorderCellContainer","rowReorderCell","rowReorderCell--draggable","scrollArea--left","scrollArea--right","scrollArea","selectedRowCount","sortIcon","toolbarContainer","toolbarFilterList","virtualScroller","virtualScrollerContent","virtualScrollerContent--overflowed","virtualScrollerRenderZone","pinnedColumns","pinnedColumns--left","pinnedColumns--right","pinnedColumnHeaders","pinnedColumnHeaders--left","pinnedColumnHeaders--right","withBorder","treeDataGroupingCell","treeDataGroupingCellToggle","groupingCriteriaCell","groupingCriteriaCellToggle"]),w=Object(v.a)("div",{name:"MuiDataGrid",slot:"Root",overridesResolver:function(t,e){return[Object(h.a)({},"&.".concat(x.autoHeight),e.autoHeight),Object(h.a)({},"&.".concat(x.aggregationColumnHeader),e.aggregationColumnHeader),Object(h.a)({},"&.".concat(x["aggregationColumnHeader--alignLeft"]),e["aggregationColumnHeader--alignLeft"]),Object(h.a)({},"&.".concat(x["aggregationColumnHeader--alignCenter"]),e["aggregationColumnHeader--alignCenter"]),Object(h.a)({},"&.".concat(x["aggregationColumnHeader--alignRight"]),e["aggregationColumnHeader--alignRight"]),Object(h.a)({},"&.".concat(x.aggregationColumnHeaderLabel),e.aggregationColumnHeaderLabel),Object(h.a)({},"& .".concat(x.editBooleanCell),e.editBooleanCell),Object(h.a)({},"& .".concat(x["cell--editing"]),e["cell--editing"]),Object(h.a)({},"& .".concat(x["cell--textCenter"]),e["cell--textCenter"]),Object(h.a)({},"& .".concat(x["cell--textLeft"]),e["cell--textLeft"]),Object(h.a)({},"& .".concat(x["cell--textRight"]),e["cell--textRight"]),Object(h.a)({},"& .".concat(x["cell--withRenderer"]),e["cell--withRenderer"]),Object(h.a)({},"& .".concat(x.cell),e.cell),Object(h.a)({},"& .".concat(x.cellContent),e.cellContent),Object(h.a)({},"& .".concat(x.cellCheckbox),e.cellCheckbox),Object(h.a)({},"& .".concat(x.checkboxInput),e.checkboxInput),Object(h.a)({},"& .".concat(x["columnHeader--alignCenter"]),e["columnHeader--alignCenter"]),Object(h.a)({},"& .".concat(x["columnHeader--alignLeft"]),e["columnHeader--alignLeft"]),Object(h.a)({},"& .".concat(x["columnHeader--alignRight"]),e["columnHeader--alignRight"]),Object(h.a)({},"& .".concat(x["columnHeader--dragging"]),e["columnHeader--dragging"]),Object(h.a)({},"& .".concat(x["columnHeader--moving"]),e["columnHeader--moving"]),Object(h.a)({},"& .".concat(x["columnHeader--numeric"]),e["columnHeader--numeric"]),Object(h.a)({},"& .".concat(x["columnHeader--sortable"]),e["columnHeader--sortable"]),Object(h.a)({},"& .".concat(x["columnHeader--sorted"]),e["columnHeader--sorted"]),Object(h.a)({},"& .".concat(x.columnHeader),e.columnHeader),Object(h.a)({},"& .".concat(x.columnHeaderCheckbox),e.columnHeaderCheckbox),Object(h.a)({},"& .".concat(x.columnHeaderDraggableContainer),e.columnHeaderDraggableContainer),Object(h.a)({},"& .".concat(x.columnHeaderTitleContainer),e.columnHeaderTitleContainer),Object(h.a)({},"& .".concat(x["columnSeparator--resizable"]),e["columnSeparator--resizable"]),Object(h.a)({},"& .".concat(x["columnSeparator--resizing"]),e["columnSeparator--resizing"]),Object(h.a)({},"& .".concat(x.columnSeparator),e.columnSeparator),Object(h.a)({},"& .".concat(x.filterIcon),e.filterIcon),Object(h.a)({},"& .".concat(x.iconSeparator),e.iconSeparator),Object(h.a)({},"& .".concat(x.menuIcon),e.menuIcon),Object(h.a)({},"& .".concat(x.menuIconButton),e.menuIconButton),Object(h.a)({},"& .".concat(x.menuOpen),e.menuOpen),Object(h.a)({},"& .".concat(x.menuList),e.menuList),Object(h.a)({},"& .".concat(x["row--editable"]),e["row--editable"]),Object(h.a)({},"& .".concat(x["row--editing"]),e["row--editing"]),Object(h.a)({},"& .".concat(x["row--dragging"]),e["row--dragging"]),Object(h.a)({},"& .".concat(x.row),e.row),Object(h.a)({},"& .".concat(x.rowReorderCellPlaceholder),e.rowReorderCellPlaceholder),Object(h.a)({},"& .".concat(x.rowReorderCell),e.rowReorderCell),Object(h.a)({},"& .".concat(x["rowReorderCell--draggable"]),e["rowReorderCell--draggable"]),Object(h.a)({},"& .".concat(x.sortIcon),e.sortIcon),Object(h.a)({},"& .".concat(x.withBorder),e.withBorder),Object(h.a)({},"& .".concat(x.treeDataGroupingCell),e.treeDataGroupingCell),Object(h.a)({},"& .".concat(x.treeDataGroupingCellToggle),e.treeDataGroupingCellToggle),Object(h.a)({},"& .".concat(x.detailPanelToggleCell),e.detailPanelToggleCell),Object(h.a)({},"& .".concat(x["detailPanelToggleCell--expanded"]),e["detailPanelToggleCell--expanded"]),e.root]}})((function(t){var e,n,r,o=t.theme,i="light"===o.palette.mode?Object(g.e)(Object(g.a)(o.palette.divider,1),.88):Object(g.b)(Object(g.a)(o.palette.divider,1),.68);return s({flex:1,boxSizing:"border-box",position:"relative",border:"1px solid ".concat(i),borderRadius:o.shape.borderRadius,color:o.palette.text.primary},o.typography.body2,(r={outline:"none",height:"100%",display:"flex",flexDirection:"column"},Object(h.a)(r,"&.".concat(x.autoHeight),Object(h.a)({height:"auto"},"& .".concat(x["row--lastVisible"]," .").concat(x.cell),{borderBottomColor:"transparent"})),Object(h.a)(r,"& .".concat(x["virtualScrollerContent--overflowed"]," .").concat(x["row--lastVisible"]," .").concat(x.cell),{borderBottomColor:"transparent"}),Object(h.a)(r,"& .".concat(x.columnHeader,", & .").concat(x.cell),{WebkitTapHighlightColor:"transparent",lineHeight:null,padding:"0 10px",boxSizing:"border-box"}),Object(h.a)(r,"& .".concat(x.columnHeader,":focus-within, & .").concat(x.cell,":focus-within"),{outline:"solid ".concat(Object(g.a)(o.palette.primary.main,.5)," 1px"),outlineWidth:1,outlineOffset:-1}),Object(h.a)(r,"& .".concat(x.columnHeader,":focus, & .").concat(x.cell,":focus"),{outline:"solid ".concat(o.palette.primary.main," 1px")}),Object(h.a)(r,"& .".concat(x.columnHeaderCheckbox,", & .").concat(x.cellCheckbox),{padding:0,justifyContent:"center",alignItems:"center"}),Object(h.a)(r,"& .".concat(x.columnHeader),{position:"relative",display:"flex",alignItems:"center"}),Object(h.a)(r,"& .".concat(x["columnHeader--sorted"]," .").concat(x.iconButtonContainer,", & .").concat(x["columnHeader--filtered"]," .").concat(x.iconButtonContainer),{visibility:"visible",width:"auto"}),Object(h.a)(r,"& .".concat(x.columnHeader,":not(.").concat(x["columnHeader--sorted"],") .").concat(x.sortIcon),{opacity:0,transition:o.transitions.create(["opacity"],{duration:o.transitions.duration.shorter})}),Object(h.a)(r,"& .".concat(x.columnHeader,":not(.").concat(x["columnHeader--sorted"],"):hover .").concat(x.sortIcon),{opacity:.5}),Object(h.a)(r,"& .".concat(x.columnHeaderTitleContainer),{display:"flex",alignItems:"center",minWidth:0,flex:1,whiteSpace:"nowrap",overflowX:"hidden"}),Object(h.a)(r,"& .".concat(x.columnHeaderTitleContainerContent),{overflow:"hidden",display:"flex",alignItems:"center"}),Object(h.a)(r,"& .".concat(x.sortIcon,", & .").concat(x.filterIcon),{fontSize:"inherit"}),Object(h.a)(r,"& .".concat(x["columnHeader--sortable"]),{cursor:"pointer"}),Object(h.a)(r,"& .".concat(x["columnHeader--alignCenter"]," .").concat(x.columnHeaderTitleContainer),{justifyContent:"center"}),Object(h.a)(r,"& .".concat(x["columnHeader--alignRight"]," .").concat(x.columnHeaderDraggableContainer,", & .").concat(x["columnHeader--alignRight"]," .").concat(x.columnHeaderTitleContainer),{flexDirection:"row-reverse"}),Object(h.a)(r,"& .".concat(x["columnHeader--alignCenter"]," .").concat(x.menuIcon,", & .").concat(x["columnHeader--alignRight"]," .").concat(x.menuIcon),{marginRight:"auto",marginLeft:-6}),Object(h.a)(r,"& .".concat(x["columnHeader--alignRight"]," .").concat(x.menuIcon,", & .").concat(x["columnHeader--alignRight"]," .").concat(x.menuIcon),{marginRight:"auto",marginLeft:-10}),Object(h.a)(r,"& .".concat(x["columnHeader--moving"]),{backgroundColor:o.palette.action.hover}),Object(h.a)(r,"& .".concat(x.columnSeparator),{position:"absolute",zIndex:100,display:"flex",flexDirection:"column",justifyContent:"center",color:i}),Object(h.a)(r,"& .".concat(x["columnSeparator--sideLeft"]),{left:-12}),Object(h.a)(r,"& .".concat(x["columnSeparator--sideRight"]),{right:-12}),Object(h.a)(r,"& .".concat(x["columnSeparator--resizable"]),(e={cursor:"col-resize",touchAction:"none","&:hover":{color:o.palette.text.primary,"@media (hover: none)":{color:i}}},Object(h.a)(e,"&.".concat(x["columnSeparator--resizing"]),{color:o.palette.text.primary}),Object(h.a)(e,"& svg",{pointerEvents:"none"}),e)),Object(h.a)(r,"& .".concat(x.iconSeparator),{color:"inherit"}),Object(h.a)(r,"& .".concat(x.menuIcon),{width:0,visibility:"hidden",fontSize:20,marginRight:-10,display:"flex",alignItems:"center"}),Object(h.a)(r,"& .".concat(x.columnHeader,":hover"),(n={},Object(h.a)(n,"& .".concat(x.iconButtonContainer),{visibility:"visible",width:"auto"}),Object(h.a)(n,"& .".concat(x.menuIcon),{width:"auto",visibility:"visible"}),n)),Object(h.a)(r,".".concat(x.menuOpen),{visibility:"visible",width:"auto"}),Object(h.a)(r,"& .".concat(x.row),{display:"flex",width:"fit-content",breakInside:"avoid","&:hover, &.Mui-hovered":{backgroundColor:o.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},"&.Mui-selected":{backgroundColor:Object(g.a)(o.palette.primary.main,o.palette.action.selectedOpacity),"&:hover, &.Mui-hovered":{backgroundColor:Object(g.a)(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(g.a)(o.palette.primary.main,o.palette.action.selectedOpacity)}}}}),Object(h.a)(r,"& .".concat(x.cell),{display:"flex",alignItems:"center",borderBottom:"1px solid ".concat(i)}),Object(h.a)(r,"& .".concat(x.row,":not(.").concat(x["row--dynamicHeight"],") > .").concat(x.cell),{overflow:"hidden",whiteSpace:"nowrap"}),Object(h.a)(r,"& .".concat(x.cellContent),{overflow:"hidden",textOverflow:"ellipsis"}),Object(h.a)(r,"& .".concat(x.cell,".").concat(x["cell--editing"]),{padding:1,display:"flex",boxShadow:o.shadows[2],backgroundColor:o.palette.background.paper,"&:focus-within":{outline:"solid ".concat(o.palette.primary.main," 1px"),outlineOffset:"-1px"}}),Object(h.a)(r,"& .".concat(x["row--editing"]),{boxShadow:o.shadows[2]}),Object(h.a)(r,"& .".concat(x["row--editing"]," .").concat(x.cell),{boxShadow:o.shadows[0],backgroundColor:o.palette.background.paper}),Object(h.a)(r,"& .".concat(x.editBooleanCell),{display:"flex",height:"100%",width:"100%",alignItems:"center",justifyContent:"center"}),Object(h.a)(r,"& .".concat(x.booleanCell,'[data-value="true"]'),{color:o.palette.text.secondary}),Object(h.a)(r,"& .".concat(x.booleanCell,'[data-value="false"]'),{color:o.palette.text.disabled}),Object(h.a)(r,"& .".concat(x.actionsCell),{display:"inline-flex",alignItems:"center",gridGap:o.spacing(1)}),Object(h.a)(r,"& .".concat(x.rowReorderCell),{display:"inline-flex",flex:1,alignItems:"center",justifyContent:"center",opacity:o.palette.action.disabledOpacity}),Object(h.a)(r,"& .".concat(x["rowReorderCell--draggable"]),{cursor:"move",opacity:1}),Object(h.a)(r,"& .".concat(x.rowReorderCellContainer),{padding:0,alignItems:"stretch"}),Object(h.a)(r,"& .".concat(x.withBorder),{borderRight:"1px solid ".concat(i)}),Object(h.a)(r,"& .".concat(x["cell--textLeft"]),{justifyContent:"flex-start"}),Object(h.a)(r,"& .".concat(x["cell--textRight"]),{justifyContent:"flex-end"}),Object(h.a)(r,"& .".concat(x["cell--textCenter"]),{justifyContent:"center"}),Object(h.a)(r,"& .".concat(x.columnHeaderDraggableContainer),{display:"flex",width:"100%"}),Object(h.a)(r,"& .".concat(x.rowReorderCellPlaceholder),{display:"none"}),Object(h.a)(r,"& .".concat(x["columnHeader--dragging"],", & .").concat(x["row--dragging"]),{background:o.palette.background.paper,padding:"0 12px",borderRadius:o.shape.borderRadius,opacity:o.palette.action.disabledOpacity}),Object(h.a)(r,"& .".concat(x["row--dragging"]),Object(h.a)({background:o.palette.background.paper,padding:"0 12px",borderRadius:o.shape.borderRadius,opacity:o.palette.action.disabledOpacity},"& .".concat(x.rowReorderCellPlaceholder),{display:"flex"})),Object(h.a)(r,"& .".concat(x.treeDataGroupingCell),{display:"flex",alignItems:"center",width:"100%"}),Object(h.a)(r,"& .".concat(x.treeDataGroupingCellToggle),{flex:"0 0 28px",alignSelf:"stretch",marginRight:o.spacing(2)}),Object(h.a)(r,"& .".concat(x.groupingCriteriaCell),{display:"flex",alignItems:"center",width:"100%"}),Object(h.a)(r,"& .".concat(x.groupingCriteriaCellToggle),{flex:"0 0 28px",alignSelf:"stretch",marginRight:o.spacing(2)}),r))})),O=n(245),S=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warning",n=!1,r=Array.isArray(t)?t.join("\n"):t;return function(){n||(n=!0,"error"===e?console.error(r):console.warn(r))}},j=function(t,e){return t},C={cache:null},k=(S(["MUI: A selector was called without passing the instance ID, which may impact the performance of the grid.","To fix, call it with `apiRef`, e.g. `mySelector(apiRef)`, or pass the instance ID explicitly, e.g `mySelector(state, apiRef.current.instanceId)`."]),function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];null===C.cache&&(C.cache={});var r=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],i=n[1],a=!!o.current,s=a?o.current.instanceId:null!=i?i:"default",l=a?o.current.state:o;null===C.cache&&(C.cache={});var c=C.cache;if(c[s]&&c[s].get(e))return c[s].get(e)(l,s);var u=O.a.apply(void 0,e);return c[s]||(c[s]=new Map),c[s].set(e,u),u(l,s)};return r.acceptsApiRef=!0,r}),E=function(t){return t.columns},P=k(E,(function(t){return t.all})),_=k(E,(function(t){return t.lookup})),M=k(P,_,(function(t,e){return t.map((function(t){return e[t]}))})),T=k(E,(function(t){return t.columnVisibilityModel})),A=k(M,T,(function(t,e){return t.filter((function(t){return!1!==e[t.field]}))})),R=(k(A,(function(t){return t.map((function(t){return t.field}))})),k(A,(function(t){for(var e=[],n=0,r=0;r<t.length;r+=1)e.push(n),n+=t[r].computedWidth;return e}))),D=k(A,R,(function(t,e){var n=t.length;return 0===n?0:e[n-1]+t[n-1].computedWidth})),I=k(M,(function(t){return t.filter((function(t){return t.filterable}))})),N=k(M,(function(t){return t.reduce((function(t,e){return e.filterable&&(t[e.field]=e),t}),{})})),L=(j(P),j(M),j(A),j(I),j(k(I,(function(t){return t.map((function(t){return t.field}))}))),j(k(A,(function(t){return t.length}))),j(k(R,D,(function(t,e){return{totalWidth:e,positions:t}}))));S(["MUI: `useGridSelector` has been called before the initialization of the state.","This hook can only be used inside the context of the grid."]);var F=function(t,e){return function(t){return t.acceptsApiRef}(e)?e(t):e(t.current.state)},B=r.createContext(void 0);function z(){var t=r.useContext(B);if(void 0===t)throw new Error(["MUI: Could not find the data grid context.","It looks like you rendered your component outside of a DataGrid, DataGridPro or DataGridPremium parent component.","This can also happen if you are bundling multiple versions of the data grid."].join("\n"));return t}var H=r.createContext(void 0);var V=function(){var t=r.useContext(H);if(!t)throw new Error("MUI: useGridRootProps should only be used inside the DataGrid, DataGridPro or DataGridPremium component.");return t},U=function(t){return t.rows},W=k(U,(function(t){return t.totalRowCount})),q=k(U,(function(t){return t.loading})),G=k(U,(function(t){return t.totalTopLevelRowCount})),Y=k(U,(function(t){return t.idRowsLookup})),X=k(U,(function(t){return t.idToIdLookup})),K=k(U,(function(t){return t.tree})),$=k(U,(function(t){return t.groupingName})),Z=k(U,(function(t){return t.treeDepth})),Q=k(U,(function(t){return t.ids})),J=function(t){return t.density},tt=k(J,(function(t){return t.value})),et=k(J,(function(t){return t.rowHeight})),nt=k(J,(function(t){return t.headerHeight})),rt=k(J,(function(t){return t.factor})),ot=n(0),it=["children","className"],at=r.forwardRef((function(t,e){var n=V(),o=t.children,i=t.className,h=l(t,it),v=z(),g=F(v,A),m=F(v,W),b=F(v,tt),x=r.useRef(null),O=Object(d.a)(x,e),S=function(t){var e=t.autoHeight,n=t.density,r=t.classes,o={root:["root",e&&"autoHeight","root--density".concat(Object(u.a)(n))]};return Object(p.a)(o,y,r)}({density:b,classes:n.classes,autoHeight:n.autoHeight});v.current.rootElementRef=x;var j=r.useState(!1),C=Object(a.a)(j,2),k=C[0],E=C[1];return Object(f.a)((function(){E(!0)}),[]),Object(f.a)((function(){k&&v.current.unstable_updateGridDimensionsRef()}),[v,k]),k?Object(ot.jsx)(w,s({ref:O,className:Object(c.default)(i,S.root),role:"grid","aria-colcount":g.length,"aria-rowcount":m,"aria-multiselectable":!n.disableMultipleSelection,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"]},h,{children:o})):null}));function st(t,e){var n=r.useRef(null);if(n.current)return n.current;var o=t.current.getLogger(e);return n.current=o,o}var lt=Object(v.a)("div",{name:"MuiDataGrid",slot:"Main",overridesResolver:function(t,e){return e.main}})((function(){return{position:"relative",flexGrow:1,display:"flex",flexDirection:"column",overflow:"hidden"}}));function ct(t){var e=function(t){var e=t.classes;return Object(p.a)({root:["main"]},y,e)}({classes:V().classes});return Object(ot.jsx)(lt,{className:e.root,children:t.children})}var ut=n(25),dt=n(23),ft=n(37),pt=n(46),ht=function(t){Object(ft.a)(n,t);var e=Object(pt.a)(n);function n(){return Object(ut.a)(this,n),e.apply(this,arguments)}return Object(dt.a)(n,[{key:"componentDidCatch",value:function(t,e){this.props.api.current&&(this.logError(t),this.props.api.current.showError({error:t,errorInfo:e}))}},{key:"logError",value:function(t,e){this.props.logger.error("An unexpected error occurred. Error: ".concat(t&&t.message,". "),t,e)}},{key:"render",value:function(){var t;return this.props.hasError||null!=(t=this.state)&&t.hasError?this.props.render(this.props.componentProps||this.state):this.props.children}}],[{key:"getDerivedStateFromError",value:function(t){return{hasError:!0,error:t}}}]),n}(r.Component);function vt(t){var e=t.children,n=z(),r=st(n,"GridErrorHandler"),o=V(),i=n.current.state.error;return Object(ot.jsx)(ht,{hasError:null!=i,componentProps:i,api:n,logger:r,render:function(t){var e;return Object(ot.jsx)(ct,{children:Object(ot.jsx)(o.components.ErrorOverlay,s({},t,null==(e=o.componentsProps)?void 0:e.errorOverlay))})},children:e})}function gt(){var t,e=z(),n=V(),o=r.useRef(null);return e.current.headerRef=o,Object(ot.jsx)("div",{ref:o,children:Object(ot.jsx)(n.components.Header,s({},null==(t=n.componentsProps)?void 0:t.header))})}var mt=n(123),bt=n(247);function yt(t,e){var n=function(t){var e=t.__resizeTriggers__,n=e.firstElementChild,r=e.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},r=function(t){if(!(t.target.className.indexOf("contract-trigger")<0&&t.target.className.indexOf("expand-trigger")<0)){var r=this;n(this),this.__resizeRAF__&&e.cancelAnimationFrame(this.__resizeRAF__),this.__resizeRAF__=e.requestAnimationFrame((function(){(function(t){return t.offsetWidth!=t.__resizeLast__.width||t.offsetHeight!=t.__resizeLast__.height})(r)&&(r.__resizeLast__.width=r.offsetWidth,r.__resizeLast__.height=r.offsetHeight,r.__resizeListeners__.forEach((function(e){e.call(r,t)})))}))}},o=!1,i="",a="animationstart",s="Webkit Moz O ms".split(" "),l="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),c=document.createElement("fakeelement");if(void 0!==c.style.animationName&&(o=!0),!1===o)for(var u=0;u<s.length;u++)if(void 0!==c.style[s[u]+"AnimationName"]){i="-"+s[u].toLowerCase()+"-",a=l[u],o=!0;break}var d="resizeanim",f="@"+i+"keyframes "+"resizeanim { from { opacity: 0; } to { opacity: 0; } } ",p=i+"animation: 1ms "+"resizeanim; ";return{addResizeListener:function(o,i){if(!o.__resizeTriggers__){var s=o.ownerDocument,l=e.getComputedStyle(o);l&&"static"==l.position&&(o.style.position="relative"),function(e){if(!e.getElementById("muiDetectElementResize")){var n=(f||"")+".Mui-resizeTriggers { "+(p||"")+'visibility: hidden; opacity: 0; } .Mui-resizeTriggers, .Mui-resizeTriggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .Mui-resizeTriggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="muiDetectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(e.createTextNode(n)),r.appendChild(o)}}(s),o.__resizeLast__={},o.__resizeListeners__=[],(o.__resizeTriggers__=s.createElement("div")).className="Mui-resizeTriggers",o.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',o.appendChild(o.__resizeTriggers__),n(o),o.addEventListener("scroll",r,!0),a&&(o.__resizeTriggers__.__animationListener__=function(t){t.animationName==d&&n(o)},o.__resizeTriggers__.addEventListener(a,o.__resizeTriggers__.__animationListener__))}o.__resizeListeners__.push(i)},removeResizeListener:function(t,e){if(t.__resizeListeners__.splice(t.__resizeListeners__.indexOf(e),1),!t.__resizeListeners__.length){t.removeEventListener("scroll",r,!0),t.__resizeTriggers__.__animationListener__&&(t.__resizeTriggers__.removeEventListener(a,t.__resizeTriggers__.__animationListener__),t.__resizeTriggers__.__animationListener__=null);try{t.__resizeTriggers__=!t.removeChild(t.__resizeTriggers__)}catch(n){}}}}}var xt=["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style"],wt=r.forwardRef((function(t,e){var n=t.children,o=t.defaultHeight,i=void 0===o?null:o,c=t.defaultWidth,u=void 0===c?null:c,p=t.disableHeight,h=void 0!==p&&p,v=t.disableWidth,g=void 0!==v&&v,m=t.nonce,b=t.onResize,y=t.style,x=l(t,xt),w=r.useState({height:i,width:u}),O=Object(a.a)(w,2),S=O[0],j=O[1],C=r.useRef(null),k=r.useRef(null),E=Object(mt.a)((function(){if(k.current){var t=k.current.offsetHeight||0,e=k.current.offsetWidth||0,n=Object(bt.a)(k.current).getComputedStyle(k.current),r=parseInt(n.paddingLeft,10)||0,o=parseInt(n.paddingRight,10)||0,i=t-(parseInt(n.paddingTop,10)||0)-(parseInt(n.paddingBottom,10)||0),a=e-r-o;(!h&&S.height!==i||!g&&S.width!==a)&&(j({height:i,width:a}),b&&b({height:i,width:a}))}}));Object(f.a)((function(){var t;if(k.current=C.current.parentElement,k){var e=Object(bt.a)(null!=(t=k.current)?t:void 0),n=yt(m,e);return n.addResizeListener(k.current,E),E(),function(){n.removeResizeListener(k.current,E)}}}),[m,E]);var P={overflow:"visible"},_={};h||(P.height=0,_.height=S.height),g||(P.width=0,_.width=S.width);var M=Object(d.a)(C,e);return Object(ot.jsx)("div",s({ref:M,style:s({},P,y)},x,{children:null===S.height&&null===S.width?null:n(_)}))})),Ot=function(t){return t.sorting},St=k(Ot,(function(t){return t.sortedRows})),jt=k(St,Y,(function(t,e){return t.map((function(t){return{id:t,model:e[t]}}))})),Ct=k(Ot,(function(t){return t.sortModel})),kt=k(Ct,(function(t){return t.reduce((function(e,n,r){return e[n.field]={sortDirection:n.sort,sortIndex:t.length>1?r+1:void 0},e}),{})})),Et=function(t){return t.filter},Pt=k(Et,(function(t){return t.filterModel})),_t=(k(Pt,(function(t){return t.quickFilterValues})),k(Et,(function(t){return t.visibleRowsLookup}))),Mt=k(Et,(function(t){return t.filteredRowsLookup})),Tt=(k(Et,(function(t){return t.filteredDescendantCountLookup})),k(_t,jt,(function(t,e){return e.filter((function(e){return!1!==t[e.id]}))}))),At=k(Tt,(function(t){return t.map((function(t){return t.id}))})),Rt=k(Mt,jt,(function(t,e){return e.filter((function(e){return!1!==t[e.id]}))})),Dt=k(Rt,(function(t){return t.map((function(t){return t.id}))})),It=k(Tt,K,Z,(function(t,e,n){return n<2?t:t.filter((function(t){var n;return 0===(null==(n=e[t.id])?void 0:n.depth)}))})),Nt=k(Tt,(function(t){return t.length})),Lt=k(It,(function(t){return t.length})),Ft=k(Pt,_,(function(t,e){var n;return null==(n=t.items)?void 0:n.filter((function(t){var n,r;if(!t.columnField)return!1;var o=e[t.columnField];if(null==o||!o.filterOperators||0===(null==o||null==(n=o.filterOperators)?void 0:n.length))return!1;var i=o.filterOperators.find((function(e){return e.value===t.operatorValue}));return!!i&&(!i.InputComponent||null!=t.value&&""!==(null==(r=t.value)?void 0:r.toString()))}))})),Bt=k(Ft,(function(t){return t.reduce((function(t,e){return t[e.columnField]?t[e.columnField].push(e):t[e.columnField]=[e],t}),{})}));function zt(t){var e,n,o=z(),i=V(),l=F(o,nt),c=r.useState((function(){var t,e;return null!=(t=null==(e=o.current.getRootDimensions())?void 0:e.viewportInnerSize)?t:null})),u=Object(a.a)(c,2),d=u[0],p=u[1],h=r.useCallback((function(){var t,e;p(null!=(t=null==(e=o.current.getRootDimensions())?void 0:e.viewportInnerSize)?t:null)}),[o]);Object(f.a)((function(){return o.current.subscribeEvent("viewportInnerSizeChange",h)}),[o,h]);var v=null!=(e=null==d?void 0:d.height)?e:0;return i.autoHeight&&0===v&&(v="auto"),d?Object(ot.jsx)("div",s({style:{height:v,width:null!=(n=null==d?void 0:d.width)?n:0,position:"absolute",top:l,bottom:"auto"===v?0:void 0,zIndex:3,pointerEvents:"none"}},t)):null}function Ht(){var t,e,n,r=z(),o=V(),i=F(r,W),a=F(r,Nt),l=F(r,q),c=!l&&i>0&&0===a,u=null;l||0!==i||(u=Object(ot.jsx)(o.components.NoRowsOverlay,s({},null==(t=o.componentsProps)?void 0:t.noRowsOverlay)));c&&(u=Object(ot.jsx)(o.components.NoResultsOverlay,s({},null==(e=o.componentsProps)?void 0:e.noResultsOverlay)));l&&(u=Object(ot.jsx)(o.components.LoadingOverlay,s({},null==(n=o.componentsProps)?void 0:n.loadingOverlay)));return null===u?null:Object(ot.jsx)(zt,{children:u})}function Vt(t){var e=t.children,n=t.VirtualScrollerComponent,o=t.ColumnHeadersComponent,i=z(),s=V(),l=F(i,nt),c=r.useState(s.disableVirtualization),u=Object(a.a)(c,2),d=u[0],f=u[1],p=r.useCallback((function(){f(!0)}),[]),h=r.useCallback((function(){f(!1)}),[]);i.current.unstable_disableVirtualization=p,i.current.unstable_enableVirtualization=h;var v=r.useRef(null),g=r.useRef(null),m=r.useRef(null),b=r.useRef(null);i.current.columnHeadersContainerElementRef=g,i.current.columnHeadersElementRef=v,i.current.windowRef=m,i.current.renderingZoneRef=b;var y=r.useCallback((function(t){i.current.publishEvent("resize",t)}),[i]);return Object(ot.jsxs)(ct,{children:[Object(ot.jsx)(Ht,{}),Object(ot.jsx)(o,{ref:g,innerRef:v}),Object(ot.jsx)(wt,{nonce:s.nonce,disableHeight:s.autoHeight,onResize:y,children:function(t){var e={width:t.width,height:t.height?t.height-l:"auto",marginTop:l};return Object(ot.jsx)(n,{ref:m,style:e,disableVirtualization:d})}}),e]})}function Ut(){var t,e=z(),n=V(),o=r.useRef(null);return e.current.footerRef=o,n.hideFooter?null:Object(ot.jsx)("div",{ref:o,children:Object(ot.jsx)(n.components.Footer,s({},null==(t=n.componentsProps)?void 0:t.footer))})}var Wt=function(t){var e=t.apiRef,n=t.props,r=t.children;return Object(ot.jsx)(H.Provider,{value:n,children:Object(ot.jsx)(B.Provider,{value:e,children:r})})},qt=n(14),Gt=n(76),Yt=Object(Gt.f)()&&null!=window.localStorage.getItem("DEBUG"),Xt=function(){},Kt={debug:Xt,info:Xt,warn:Xt,error:Xt},$t=["debug","info","warn","error"];function Zt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:console,r=$t.indexOf(e);if(-1===r)throw new Error("MUI: Log level ".concat(e," not recognized."));var o=$t.reduce((function(e,o,i){return e[o]=i>=r?function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];var a=r[0],s=r.slice(1);n[o].apply(n,["MUI: ".concat(t," - ").concat(a)].concat(Object(qt.a)(s)))}:Xt,e}),{});return o}function Qt(t,e,n){var o=r.useRef(e),i=r.useState(Object.keys(e)),s=Object(a.a)(i,1)[0],l=r.useCallback((function(){t.current&&s.forEach((function(e){t.current.hasOwnProperty(e)||(t.current[e]=function(){var t;return(t=o.current)[e].apply(t,arguments)})}))}),[s,t]);r.useEffect((function(){o.current=e}),[e]),r.useEffect((function(){l()}),[l]),l()}var Jt,te=1e3,ee=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te;Object(ut.a)(this,t),this.timeouts=new Map,this.cleanupTimeout=te,this.cleanupTimeout=e}return Object(dt.a)(t,[{key:"register",value:function(t,e,n){var r=this;this.timeouts||(this.timeouts=new Map);var o=setTimeout((function(){"function"===typeof e&&e(),r.timeouts.delete(n.cleanupToken)}),this.cleanupTimeout);this.timeouts.set(n.cleanupToken,o)}},{key:"unregister",value:function(t){var e=this.timeouts.get(t.cleanupToken);e&&(this.timeouts.delete(t.cleanupToken),clearTimeout(e))}},{key:"reset",value:function(){var t=this;this.timeouts&&(this.timeouts.forEach((function(e,n){t.unregister({cleanupToken:n})})),this.timeouts=void 0)}}]),t}(),ne=function(){function t(){Object(ut.a)(this,t),this.registry=new FinalizationRegistry((function(t){"function"===typeof t&&t()}))}return Object(dt.a)(t,[{key:"register",value:function(t,e,n){this.registry.register(t,e,n)}},{key:"unregister",value:function(t){this.registry.unregister(t)}},{key:"reset",value:function(){}}]),t}();!function(t){t.DataGrid="DataGrid",t.DataGridPro="DataGridPro"}(Jt||(Jt={}));var re=Object(dt.a)((function t(){Object(ut.a)(this,t)}));var oe={registry:null},ie=function(t){var e=0;return function(n,o,i,s){null===t.registry&&(t.registry="undefined"!==typeof FinalizationRegistry?new ne:new ee);var l=r.useState(new re),c=Object(a.a)(l,1)[0],u=r.useRef(null),d=r.useRef();d.current=i;var f=r.useRef(null);if(!u.current&&d.current){u.current=n.current.subscribeEvent(o,(function(t,e,n){var r;e.defaultMuiPrevented||(null==(r=d.current)||r.call(d,t,e,n))}),s),e+=1,f.current={cleanupToken:e},t.registry.register(c,(function(){var t;null==(t=u.current)||t.call(u),u.current=null,f.current=null}),f.current)}else!d.current&&u.current&&(u.current(),u.current=null,f.current&&(t.registry.unregister(f.current),f.current=null));r.useEffect((function(){if(!u.current&&d.current){u.current=n.current.subscribeEvent(o,(function(t,e,n){var r;e.defaultMuiPrevented||(null==(r=d.current)||r.call(d,t,e,n))}),s)}return f.current&&t.registry&&(t.registry.unregister(f.current),f.current=null),function(){var t;null==(t=u.current)||t.call(u),u.current=null}}),[n,o,s])}}(oe),ae={isFirst:!0};function se(t,e,n){ie(t,e,n,ae)}var le=function(){function t(){Object(ut.a)(this,t),this.maxListeners=10,this.warnOnce=!1,this.events={}}return Object(dt.a)(t,[{key:"on",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.events[t];r||(r={highPriority:new Map,regular:new Map},this.events[t]=r),n.isFirst?r.highPriority.set(e,!0):r.regular.set(e,!0)}},{key:"removeListener",value:function(t,e){this.events[t]&&(this.events[t].regular.delete(e),this.events[t].highPriority.delete(e))}},{key:"removeAllListeners",value:function(){this.events={}}},{key:"emit",value:function(t){var e=this.events[t];if(e){for(var n=Array.from(e.highPriority.keys()),r=Array.from(e.regular.keys()),o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];for(var s=n.length-1;s>=0;s-=1){var l=n[s];e.highPriority.has(l)&&l.apply(this,i)}for(var c=0;c<r.length;c+=1){var u=r[c];e.regular.has(u)&&u.apply(this,i)}}}},{key:"once",value:function(t,e){var n=this;this.on(t,(function r(){n.removeListener(t,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];e.apply(n,i)}))}}]),t}(),ce=function(t){return void 0!==t.isPropagationStopped},ue=0;function de(t){return de="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},de(t)}function fe(t){var e=function(t,e){if("object"!==de(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==de(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===de(e)?e:String(e)}var pe="none",he={rowTreeCreation:"rowTree",filtering:"rowTree",sorting:"rowTree"},ve=["stateId"],ge=function(t,e){var n=function(t,e){var n=r.useRef();n.current||(n.current={unstable_eventManager:new le,unstable_caches:{},state:{},instanceId:ue},ue+=1),r.useImperativeHandle(t,(function(){return n.current}),[n]);var o=r.useCallback((function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=r[0],a=r[1],s=r[2],l=void 0===s?{}:s;if(l.defaultMuiPrevented=!1,!ce(l)||!l.isPropagationStopped()){var c=e.signature===Jt.DataGridPro?{api:n.current}:{};n.current.unstable_eventManager.emit(i,a,l,c)}}),[n,e.signature]),i=r.useCallback((function(t,e,r){n.current.unstable_eventManager.on(t,e,r);var o=n.current;return function(){o.unstable_eventManager.removeListener(t,e)}}),[n]),a=r.useCallback((function(t){n.current.publishEvent("componentError",t)}),[n]);return Qt(n,{subscribeEvent:i,publishEvent:o,showError:a}),r.useEffect((function(){var t=n.current;return function(){t.publishEvent("unmount")}}),[n]),n}(t,e);return function(t,e){t.current.getLogger=r.useCallback((function(t){return Yt?Zt(t,"debug",e.logger):e.logLevel?Zt(t,e.logLevel.toString(),e.logger):Kt}),[e.logLevel,e.logger])}(n,e),function(t,e){var n=r.useCallback((function(e){t.current.setState((function(t){return s({},t,{error:e})}))}),[t]);r.useEffect((function(){n(e.error)}),[n,e.error]),ie(t,"componentError",n)}(n,e),function(t,e){var n=r.useRef({}),o=r.useState(),i=Object(a.a)(o,2)[1],c=r.useCallback((function(t){var e=t.stateId,r=l(t,ve);n.current[e]=s({},r,{stateId:e})}),[]),u=r.useCallback((function(r,o){var i;if(i=Object(Gt.d)(r)?r(t.current.state):r,t.current.state===i)return!1;var a=!1,s=[];if(Object.keys(n.current).forEach((function(e){var r=n.current[e],o=r.stateSelector(t.current.state,t.current.instanceId),l=r.stateSelector(i,t.current.instanceId);l!==o&&(s.push({stateId:r.stateId,hasPropChanged:l!==r.propModel}),void 0!==r.propModel&&l!==r.propModel&&(a=!0))})),s.length>1)throw new Error("You're not allowed to update several sub-state in one transaction. You already updated ".concat(s[0].stateId,", therefore, you're not allowed to update ").concat(s.map((function(t){return t.stateId})).join(", ")," in the same transaction."));if(a||(t.current.state=i,t.current.publishEvent&&t.current.publishEvent("stateChange",i)),1===s.length){var l=s[0],c=l.stateId,u=l.hasPropChanged,d=n.current[c],f=d.stateSelector(i,t.current.instanceId);if(d.propOnChange&&u){var p=e.signature===Jt.DataGridPro?{api:t.current,reason:o}:{reason:o};d.propOnChange(f,p)}a||t.current.publishEvent(d.changeEvent,f,{reason:o})}return!a}),[t,e.signature]),d=r.useCallback((function(e,n,r){return t.current.setState((function(t){return s({},t,Object(h.a)({},e,n(t[e])))}),r)}),[t]),f=r.useCallback((function(){return i((function(){return t.current.state}))}),[t]);Qt(t,{setState:u,forceUpdate:f,unstable_updateControlState:d,unstable_registerControlState:c})}(n,e),function(t){var e=r.useRef({}),n=r.useCallback((function(t){t&&Object.values(t.appliers).forEach((function(t){t()}))}),[]),o=r.useCallback((function(t,r,o){e.current[t]||(e.current[t]={processors:new Map,appliers:{}});var i=e.current[t];return i.processors.get(r)!==o&&(i.processors.set(r,o),n(i)),function(){e.current[t].processors.set(r,null)}}),[n]),i=r.useCallback((function(t,n,r){return e.current[t]||(e.current[t]={processors:new Map,appliers:{}}),e.current[t].appliers[n]=r,function(){var r=l(e.current[t].appliers,[n].map(fe));e.current[t].appliers=r}}),[]),a=r.useCallback((function(t){var r=e.current[t];n(r)}),[n]),s=r.useCallback((function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],i=n[1],a=n[2];return e.current[o]?Array.from(e.current[o].processors.values()).reduce((function(t,e){return e?e(t,a):t}),i):i}),[]);Qt(t,{unstable_registerPipeProcessor:o,unstable_registerPipeApplier:i,unstable_requestPipeProcessorsApplication:a,unstable_applyPipeProcessors:s})}(n),function(t){var e=r.useRef(new Map),n=r.useRef({}),o=r.useCallback((function(e,r,o){var i=function(){var t=l(n.current[r],[e].map(fe));n.current[r]=t};n.current[r]||(n.current[r]={});var a=n.current[r],s=a[e];return a[e]=o,s&&s!==o?(e===t.current.unstable_getActiveStrategy(he[r])&&t.current.publishEvent("activeStrategyProcessorChange",r),i):i}),[t]),i=r.useCallback((function(e,r){var o=t.current.unstable_getActiveStrategy(he[e]);if(null==o)throw new Error("Can't apply a strategy processor before defining an active strategy");var i=n.current[e];if(!i||!i[o])throw new Error('No processor found for processor "'.concat(e,'" on strategy "').concat(o,'"'));return(0,i[o])(r)}),[t]),s=r.useCallback((function(t){var n,r=Array.from(e.current.entries()).find((function(e){var n=Object(a.a)(e,2)[1];return n.group===t&&n.isAvailable()}));return null!=(n=null==r?void 0:r[0])?n:pe}),[]),c=r.useCallback((function(n,r,o){e.current.set(r,{group:n,isAvailable:o}),t.current.publishEvent("strategyAvailabilityChange")}),[t]);Qt(t,{unstable_registerStrategyProcessor:o,unstable_applyStrategyProcessor:i,unstable_getActiveStrategy:s,unstable_setStrategyAvailability:c})}(n),function(t,e){Qt(t,{getLocaleText:r.useCallback((function(t){if(null==e.localeText[t])throw new Error("Missing translation for key ".concat(t,"."));return e.localeText[t]}),[e.localeText])})}(n,e),n},me=function(t,e,n){var o=r.useRef(!1);o.current||(e.current.state=t(e.current.state,n,e),o.current=!0)};function be(t){var e=document.createElement("span");e.style.whiteSpace="pre",e.style.userSelect="all",e.style.opacity="0px",e.textContent=t,document.body.appendChild(e);var n=document.createRange();n.selectNode(e);var r=window.getSelection();r.removeAllRanges(),r.addRange(n);try{document.execCommand("copy")}finally{document.body.removeChild(e)}}var ye=function(t){var e=r.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0!==t.current.getSelectedRows().size){var n=t.current.getDataAsCsv({includeHeaders:e,delimiter:"\t"});navigator.clipboard?navigator.clipboard.writeText(n).catch((function(){be(n)})):be(n)}}),[t]),n=r.useCallback((function(e){var n,r=e.ctrlKey||e.metaKey||e.altKey;"C"===String.fromCharCode(e.keyCode)&&r&&""===(null==(n=window.getSelection())?void 0:n.toString())&&t.current.unstable_copySelectedRowsToClipboard(e.altKey)}),[t]);!function(t,e,n,o,i){var s=st(t,"useNativeEventListener"),l=r.useState(!1),c=Object(a.a)(l,2),u=c[0],d=c[1],f=r.useRef(o),p=r.useCallback((function(t){return f.current&&f.current(t)}),[]);r.useEffect((function(){f.current=o}),[o]),r.useEffect((function(){var r;if((r=Object(Gt.d)(e)?e():e&&e.current?e.current:null)&&n&&!u){s.debug("Binding native ".concat(n," event")),r.addEventListener(n,p,i);var o=r;d(!0),t.current.subscribeEvent("unmount",(function(){s.debug("Clearing native ".concat(n," event")),o.removeEventListener(n,p,i)}))}}),[e,p,n,u,s,i,t])}(t,t.current.rootElementRef,"keydown",n),Qt(t,{unstable_copySelectedRowsToClipboard:e})},xe=function(t){return t.columnMenu},we=function(t){return s({},t,{columnMenu:{open:!1}})},Oe=function(t){var e=r.useRef(!0);e.current&&(e.current=!1,t())},Se=function(t,e,n){var o=r.useRef(),i=r.useRef("mui-".concat(Math.round(1e9*Math.random()))),a=r.useCallback((function(){o.current=t.current.unstable_registerPipeProcessor(e,i.current,n)}),[t,n,e]);Oe((function(){a()}));var s=r.useRef(!0);r.useEffect((function(){return s.current?s.current=!1:a(),function(){o.current&&(o.current(),o.current=null)}}),[a])},je=function(t,e,n){var o=r.useRef(),i=r.useRef("mui-".concat(Math.round(1e9*Math.random()))),a=r.useCallback((function(){o.current=t.current.unstable_registerPipeApplier(e,i.current,n)}),[t,n,e]);Oe((function(){a()}));var s=r.useRef(!0);r.useEffect((function(){return s.current?s.current=!1:a(),function(){o.current&&(o.current(),o.current=null)}}),[a])},Ce=n(4),ke=n(9),Ee=n(106),Pe=n(66),_e=Object(Pe.a)(Object(ot.jsx)("path",{d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"}),"ArrowUpward"),Me=Object(Pe.a)(Object(ot.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward"),Te=Object(Pe.a)(Object(ot.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"KeyboardArrowRight"),Ae=Object(Pe.a)(Object(ot.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),Re=Object(Pe.a)(Object(ot.jsx)("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList"),De=Object(Pe.a)(Object(ot.jsx)("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61z"}),"FilterAlt"),Ie=Object(Pe.a)(Object(ot.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search"),Ne=(Object(Pe.a)(Object(ot.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu"),Object(Pe.a)(Object(ot.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle"),Object(Pe.a)(Object(ot.jsx)("path",{d:"M6 5H3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm14 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zm-7 0h-3c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h3c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1z"}),"ColumnIcon")),Le=Object(Pe.a)(Object(ot.jsx)("path",{d:"M11 19V5h2v14z"}),"Separator"),Fe=Object(Pe.a)(Object(ot.jsx)("path",{d:"M4 15h16v-2H4v2zm0 4h16v-2H4v2zm0-8h16V9H4v2zm0-6v2h16V5H4z"}),"ViewHeadline"),Be=Object(Pe.a)(Object(ot.jsx)("path",{d:"M21,8H3V4h18V8z M21,10H3v4h18V10z M21,16H3v4h18V16z"}),"TableRows"),ze=Object(Pe.a)(Object(ot.jsx)("path",{d:"M4 18h17v-6H4v6zM4 5v6h17V5H4z"}),"ViewStream"),He=Object(Pe.a)(Object(ot.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"TripleDotsVertical"),Ve=Object(Pe.a)(Object(ot.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Ue=Object(Pe.a)(Object(ot.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add"),We=Object(Pe.a)(Object(ot.jsx)("path",{d:"M19 13H5v-2h14v2z"}),"Remove"),qe=Object(Pe.a)(Object(ot.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z"}),"Load"),Ge=Object(Pe.a)(Object(ot.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"Drag"),Ye=Object(Pe.a)(Object(ot.jsx)("path",{d:"M19 12v7H5v-7H3v7c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zm-6 .67l2.59-2.58L17 11.5l-5 5-5-5 1.41-1.41L11 12.67V3h2z"}),"SaveAlt"),Xe=Object(Pe.a)(Object(ot.jsx)("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),Ke=Object(Pe.a)(Object(ot.jsx)("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert"),$e=n(248),Ze=n(1336);function Qe(t){return"object"===typeof t&&null!==t?t.value:t}function Je(t,e){if(void 0!==e){var n=e.find((function(e){var n=Qe(e);return String(n)===String(t)}));return Qe(n)}}var tn=["item","applyValue","type","apiRef","focusElementRef"];var en=function(t,e,n){var r=t.valueOptions,o=t.valueFormatter,i=t.field;return[""].concat("function"===typeof r?Object(qt.a)(r({field:i})):Object(qt.a)(r||[])).map((function(t){var r="object"===typeof t,a=r?t.value:t,s=r?t.value:t,l=o&&""!==t?o({value:t,field:i,api:e}):t,c=r?t.label:l;return Object(ot.jsx)(n,{value:s,children:c},a)}))};function nn(t){var e,n,o,i,c,u=t.item,d=t.applyValue,f=t.type,p=t.apiRef,h=t.focusElementRef,v=l(t,tn);var g=r.useRef(),m=r.useState(null!=(e=u.value)?e:""),b=Object(a.a)(m,2),y=b[0],x=b[1],w=r.useState(!1),O=Object(a.a)(w,2),S=O[0],j=O[1],C=Object($e.a)(),k=V(),E=null==(o=((null==(n=k.componentsProps)?void 0:n.baseSelect)||{}).native)||o,P="singleSelect"===f?{select:!0,SelectProps:s({native:E},null==(i=k.componentsProps)?void 0:i.baseSelect),children:en(p.current.getColumn(u.columnField),p.current,E?"option":Ze.a)}:{},_=r.useCallback((function(t){var e=t.target.value;if("singleSelect"===f){var n=p.current.getColumn(u.columnField),r="function"===typeof n.valueOptions?n.valueOptions({field:n.field}):n.valueOptions;e=Je(e,r)}clearTimeout(g.current),x(String(e)),j(!0),g.current=setTimeout((function(){d(s({},u,{value:e})),j(!1)}),500)}),[p,d,u,f]);r.useEffect((function(){return function(){clearTimeout(g.current)}}),[]),r.useEffect((function(){var t,e=null!=(t=u.value)?t:"";x(String(e))}),[u.value]);var M=S?{endAdornment:Object(ot.jsx)(qe,{})}:v.InputProps;return Object(ot.jsx)(k.components.BaseTextField,s({id:C,label:p.current.getLocaleText("filterPanelInputLabel"),placeholder:p.current.getLocaleText("filterPanelInputPlaceholder"),value:y,onChange:_,variant:"standard",type:f||"text",InputProps:M,InputLabelProps:{shrink:!0},inputRef:h},P,v,null==(c=k.componentsProps)?void 0:c.baseTextField))}var rn=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue","isValidating","debounceMs","isProcessingProps","onValueChange"],on=Object(v.a)(Ee.c,{name:"MuiDataGrid",slot:"EditInputCell",overridesResolver:function(t,e){return e.editInputCell}})((function(t){return s({},t.theme.typography.body2,{padding:"1px 0","& input":{padding:"0 16px",height:"100%"}})}));function an(t){var e,n=V(),o=t.id,i=t.value,c=t.field,u=t.colDef,d=t.hasFocus,h=t.debounceMs,v=void 0===h?null!=(e=n.experimentalFeatures)&&e.newEditingApi?200:500:h,g=t.isProcessingProps,m=t.onValueChange,b=l(t,rn),x=z(),w=r.useRef(),O=r.useState(i),S=Object(a.a)(O,2),j=S[0],C=S[1],k=function(t){var e=t.classes;return Object(p.a)({root:["editInputCell"]},y,e)}({classes:n.classes}),E=r.useCallback(function(){var t=Object(ke.a)(Object(Ce.a)().mark((function t(e){var n;return Object(Ce.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.target.value,!m){t.next=4;break}return t.next=4,m(e,n);case 4:C(n),x.current.setEditCellValue({id:o,field:c,value:n,debounceMs:v},e);case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[x,v,c,o,m]);return r.useEffect((function(){C(i)}),[i]),Object(f.a)((function(){d&&w.current.focus()}),[d]),Object(ot.jsx)(on,s({inputRef:w,className:k.root,fullWidth:!0,type:"number"===u.type?u.type:"text",value:null!=j?j:"",onChange:E,endAdornment:g?Object(ot.jsx)(qe,{}):void 0},b))}var sn=S(["MUI: The `sortModel` can only contain a single item when the `disableMultipleColumnsSorting` prop is set to `true`.","If you are using the community version of the `DataGrid`, this prop is always `true`."],"error"),ln=function(t,e){return e&&t.length>1?(sn(),[t[0]]):t},cn=function(t,e){return function(n){return s({},n,{sorting:s({},n.sorting,{sortModel:ln(t,e)})})}},un=function(t,e){var n=t.indexOf(e);return e&&-1!==n&&n+1!==t.length?t[n+1]:t[0]},dn=function(t,e){return null==t&&null!=e?-1:null==e&&null!=t?1:null==t&&null==e?0:null},fn=new Intl.Collator,pn=function(t,e){var n=dn(t,e);return null!==n?n:Number(t)-Number(e)},hn=function(t,e){var n=dn(t,e);return null!==n?n:t>e?1:t<e?-1:0},vn=n(1320),gn=n(1321),mn=["item","applyValue","type","apiRef","focusElementRef","color","error","helperText","size","variant"];function bn(t){var e=t.item,n=t.applyValue,o=t.type,i=t.apiRef,c=t.focusElementRef,u=t.color,d=t.error,f=t.helperText,p=t.size,h=t.variant,v=l(t,mn),g={color:u,error:d,helperText:f,size:p,variant:h},m=r.useState(e.value||[]),b=Object(a.a)(m,2),y=b[0],x=b[1],w=Object($e.a)(),O=V();r.useEffect((function(){var t,n=null!=(t=e.value)?t:[];x(n.map(String))}),[e.value]);var S=r.useCallback((function(t,r){x(r.map(String)),n(s({},e,{value:Object(qt.a)(r)}))}),[n,e]);return Object(ot.jsx)(vn.a,s({multiple:!0,freeSolo:!0,limitTags:1,options:[],filterOptions:function(t,e){var n=e.inputValue;return null==n||""===n?[]:[n]},id:w,value:y,onChange:S,renderTags:function(t,e){return t.map((function(t,n){return Object(ot.jsx)(gn.a,s({variant:"outlined",size:"small",label:t},e({index:n})))}))},renderInput:function(t){var e;return Object(ot.jsx)(O.components.BaseTextField,s({},t,{label:i.current.getLocaleText("filterPanelInputLabel"),placeholder:i.current.getLocaleText("filterPanelInputPlaceholder"),InputLabelProps:s({},t.InputLabelProps,{shrink:!0}),inputRef:c,type:o||"text"},g,null==(e=O.componentsProps)?void 0:e.baseTextField))}},v))}var yn={width:100,minWidth:50,maxWidth:1/0,hide:!1,hideable:!0,sortable:!0,resizable:!0,filterable:!0,groupable:!0,pinnable:!0,private_aggregable:!0,editable:!1,sortComparator:function(t,e){var n=dn(t,e);return null!==n?n:"string"===typeof t?fn.compare(t.toString(),e.toString()):t-e},type:"string",align:"left",filterOperators:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return[{value:"contains",getApplyFilterFn:function(e){if(!e.value)return null;var n=t?e.value:e.value.trim(),r=new RegExp(Object(Gt.b)(n),"i");return function(t){var e=t.value;return null!=e&&r.test(e.toString())}},InputComponent:nn},{value:"equals",getApplyFilterFn:function(e){if(!e.value)return null;var n=t?e.value:e.value.trim(),r=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return function(t){var e=t.value;return null!=e&&0===r.compare(n,e.toString())}},InputComponent:nn},{value:"startsWith",getApplyFilterFn:function(e){if(!e.value)return null;var n=t?e.value:e.value.trim(),r=new RegExp("^".concat(Object(Gt.b)(n),".*$"),"i");return function(t){var e=t.value;return null!=e&&r.test(e.toString())}},InputComponent:nn},{value:"endsWith",getApplyFilterFn:function(e){if(!e.value)return null;var n=t?e.value:e.value.trim(),r=new RegExp(".*".concat(Object(Gt.b)(n),"$"),"i");return function(t){var e=t.value;return null!=e&&r.test(e.toString())}},InputComponent:nn},{value:"isEmpty",getApplyFilterFn:function(){return function(t){var e=t.value;return""===e||null==e}},requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){var e=t.value;return""!==e&&null!=e}},requiresFilterValue:!1},{value:"isAnyOf",getApplyFilterFn:function(e){if(!Array.isArray(e.value)||0===e.value.length)return null;var n=t?e.value:e.value.map((function(t){return t.trim()})),r=new Intl.Collator(void 0,{sensitivity:"base",usage:"search"});return function(t){var e=t.value;return null!=e&&n.some((function(t){return 0===r.compare(t,e.toString()||"")}))}},InputComponent:bn}]}(),renderEditCell:function(t){return Object(ot.jsx)(an,s({},t))},getApplyQuickFilterFn:function(t){if(!t)return null;var e=new RegExp(Object(Gt.b)(t),"i");return function(t){var n=t.value;return null!=n&&e.test(n.toString())}}},xn=function(t){return null==t?null:Number(t)},wn=function(){return[{label:"=",value:"=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var n=e.value;return xn(n)===t.value}},InputComponent:nn,InputComponentProps:{type:"number"}},{label:"!=",value:"!=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var n=e.value;return xn(n)!==t.value}},InputComponent:nn,InputComponentProps:{type:"number"}},{label:">",value:">",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var n=e.value;return null!=n&&xn(n)>t.value}},InputComponent:nn,InputComponentProps:{type:"number"}},{label:">=",value:">=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var n=e.value;return null!=n&&xn(n)>=t.value}},InputComponent:nn,InputComponentProps:{type:"number"}},{label:"<",value:"<",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var n=e.value;return null!=n&&xn(n)<t.value}},InputComponent:nn,InputComponentProps:{type:"number"}},{label:"<=",value:"<=",getApplyFilterFn:function(t){return null==t.value||Number.isNaN(t.value)?null:function(e){var n=e.value;return null!=n&&xn(n)<=t.value}},InputComponent:nn,InputComponentProps:{type:"number"}},{value:"isEmpty",getApplyFilterFn:function(){return function(t){return null==t.value}},requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){return null!=t.value}},requiresFilterValue:!1},{value:"isAnyOf",getApplyFilterFn:function(t){return Array.isArray(t.value)&&0!==t.value.length?function(e){var n=e.value;return null!=n&&t.value.includes(Number(n))}:null},InputComponent:bn,InputComponentProps:{type:"number"}}]},On=(j(wn),s({},yn,{type:"number",align:"right",headerAlign:"right",sortComparator:pn,valueParser:function(t){return""===t?null:Number(t)},valueFormatter:function(t){var e=t.value;return Object(Gt.e)(e)?e.toLocaleString():e||""},filterOperators:wn(),getApplyQuickFilterFn:function(t){return null==t||Number.isNaN(t)||""===t?null:function(e){var n=e.value;return xn(n)===xn(t)}}})),Sn=["item","applyValue","type","apiRef","focusElementRef","InputProps"];function jn(t){var e,n,o=t.item,i=t.applyValue,c=t.type,u=t.apiRef,d=t.focusElementRef,f=t.InputProps,p=l(t,Sn),h=r.useRef(),v=r.useState(null!=(e=o.value)?e:""),g=Object(a.a)(v,2),m=g[0],b=g[1],y=r.useState(!1),x=Object(a.a)(y,2),w=x[0],O=x[1],S=Object($e.a)(),j=V(),C=r.useCallback((function(t){var e=t.target.value;clearTimeout(h.current),b(String(e)),O(!0),h.current=setTimeout((function(){i(s({},o,{value:e})),O(!1)}),500)}),[i,o]);return r.useEffect((function(){return function(){clearTimeout(h.current)}}),[]),r.useEffect((function(){var t,e=null!=(t=o.value)?t:"";b(String(e))}),[o.value]),Object(ot.jsx)(j.components.BaseTextField,s({id:S,label:u.current.getLocaleText("filterPanelInputLabel"),placeholder:u.current.getLocaleText("filterPanelInputPlaceholder"),value:m,onChange:C,variant:"standard",type:c||"text",InputLabelProps:{shrink:!0},inputRef:d,InputProps:s({},w?{endAdornment:Object(ot.jsx)(qe,{})}:{},f,{inputProps:s({max:"datetime-local"===c?"9999-12-31T23:59":"9999-12-31"},null==f?void 0:f.inputProps)})},p,null==(n=j.componentsProps)?void 0:n.baseTextField))}var Cn=/(\d+)-(\d+)-(\d+)/,kn=/(\d+)-(\d+)-(\d+)T(\d+):(\d+)/;function En(t,e,n,r){if(!t.value)return null;var o=t.value.match(n?kn:Cn).slice(1).map(Number),i=Object(a.a)(o,5),s=i[0],l=i[1],c=i[2],u=i[3],d=i[4],f=new Date(s,l-1,c,u||0,d||0).getTime();return function(t){var o=t.value;if(!o)return!1;var i=o instanceof Date?o:new Date(o.toString());if(r)return e(i.getTime(),f);var a=(o instanceof Date?new Date(i):i).setHours(n?i.getHours():0,n?i.getMinutes():0,0,0);return e(a,f)}}var Pn=function(t){return[{value:"is",getApplyFilterFn:function(e){return En(e,(function(t,e){return t===e}),t)},InputComponent:jn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"not",getApplyFilterFn:function(e){return En(e,(function(t,e){return t!==e}),t)},InputComponent:jn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"after",getApplyFilterFn:function(e){return En(e,(function(t,e){return t>e}),t)},InputComponent:jn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"onOrAfter",getApplyFilterFn:function(e){return En(e,(function(t,e){return t>=e}),t)},InputComponent:jn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"before",getApplyFilterFn:function(e){return En(e,(function(t,e){return t<e}),t,!t)},InputComponent:jn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"onOrBefore",getApplyFilterFn:function(e){return En(e,(function(t,e){return t<=e}),t)},InputComponent:jn,InputComponentProps:{type:t?"datetime-local":"date"}},{value:"isEmpty",getApplyFilterFn:function(){return function(t){return null==t.value}},requiresFilterValue:!1},{value:"isNotEmpty",getApplyFilterFn:function(){return function(t){return null!=t.value}},requiresFilterValue:!1}]},_n=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","hasFocus","getValue","inputProps","isValidating","isProcessingProps","onValueChange"],Mn=Object(v.a)(Ee.c)({fontSize:"inherit"});function Tn(t){var e=t.id,n=t.value,o=t.field,i=t.colDef,c=t.hasFocus,u=t.inputProps,d=t.onValueChange,h=l(t,_n),v="dateTime"===i.type,g=z(),m=r.useRef(),b=r.useMemo((function(){var t,e;null==(t=null==n?null:n instanceof Date?n:new Date((null!=n?n:"").toString()))||Number.isNaN(t.getTime())?e="":e=new Date(t.getTime()-60*t.getTimezoneOffset()*1e3).toISOString().substr(0,v?16:10);return{parsed:t,formatted:e}}),[n,v]),x=r.useState(b),w=Object(a.a)(x,2),O=w[0],S=w[1],j=function(t){var e=t.classes;return Object(p.a)({root:["editInputCell"]},y,e)}({classes:V().classes}),C=r.useCallback(function(){var t=Object(ke.a)(Object(Ce.a)().mark((function t(n){var r,i,s,l,c,u,f,p,h,v,m,b,y,x,w;return Object(Ce.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(""===(r=n.target.value)?i=null:(s=r.split("T"),l=Object(a.a)(s,2),c=l[0],u=l[1],f=c.split("-"),p=Object(a.a)(f,3),h=p[0],v=p[1],m=p[2],(i=new Date).setFullYear(h,Number(v)-1,m),i.setHours(0,0,0,0),u&&(b=u.split(":"),y=Object(a.a)(b,2),x=y[0],w=y[1],i.setHours(Number(x),Number(w),0,0))),!d){t.next=5;break}return t.next=5,d(n,i);case 5:S({parsed:i,formatted:r}),g.current.setEditCellValue({id:e,field:o,value:i},n);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[g,o,e,d]);return r.useEffect((function(){S((function(t){var e,n;return b.parsed!==t.parsed&&(null==(e=b.parsed)?void 0:e.getTime())!==(null==(n=t.parsed)?void 0:n.getTime())?b:t}))}),[b]),Object(f.a)((function(){c&&m.current.focus()}),[c]),Object(ot.jsx)(Mn,s({inputRef:m,fullWidth:!0,className:j.root,type:v?"datetime-local":"date",inputProps:s({max:v?"9999-12-31T23:59":"9999-12-31"},u),value:O.formatted,onChange:C},h))}var An=function(t){return Object(ot.jsx)(Tn,s({},t))};var Rn=s({},yn,{type:"date",sortComparator:hn,valueFormatter:function(t){var e=t.value;return e instanceof Date?e.toLocaleDateString():null!=e?e:""},filterOperators:Pn(),renderEditCell:An,getApplyQuickFilterFn:void 0}),Dn=s({},yn,{type:"dateTime",sortComparator:hn,valueFormatter:function(t){var e=t.value;return e instanceof Date?e.toLocaleString():null!=e?e:""},filterOperators:Pn(!0),renderEditCell:An,getApplyQuickFilterFn:void 0}),In=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","hasFocus","tabIndex","getValue"],Nn=function(t){var e=t.value,n=l(t,In),o=z(),i=V(),a=function(t){var e=t.classes;return Object(p.a)({root:["booleanCell"]},y,e)}({classes:i.classes}),c=r.useMemo((function(){return e?i.components.BooleanCellTrueIcon:i.components.BooleanCellFalseIcon}),[i.components.BooleanCellFalseIcon,i.components.BooleanCellTrueIcon,e]);return Object(ot.jsx)(c,s({fontSize:"small",className:a.root,titleAccess:o.current.getLocaleText(e?"booleanCellTrueLabel":"booleanCellFalseLabel"),"data-value":Boolean(e)},n))},Ln=r.memo(Nn),Fn=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus","isValidating","isProcessingProps","error","onValueChange"];function Bn(t){var e,n=t.id,o=t.value,i=t.field,u=t.className,d=t.hasFocus,h=t.onValueChange,v=l(t,Fn),g=z(),m=r.useRef(null),b=Object($e.a)(),x=r.useState(o),w=Object(a.a)(x,2),O=w[0],S=w[1],j=V(),C=function(t){var e=t.classes;return Object(p.a)({root:["editBooleanCell"]},y,e)}({classes:j.classes}),k=r.useCallback(function(){var t=Object(ke.a)(Object(Ce.a)().mark((function t(e){var r;return Object(Ce.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.target.checked,!h){t.next=4;break}return t.next=4,h(e,r);case 4:return S(r),t.next=7,g.current.setEditCellValue({id:n,field:i,value:r},e);case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),[g,i,n,h]);return r.useEffect((function(){S(o)}),[o]),Object(f.a)((function(){d&&m.current.focus()}),[d]),Object(ot.jsx)("label",s({htmlFor:b,className:Object(c.default)(C.root,u)},v,{children:Object(ot.jsx)(j.components.BaseCheckbox,s({id:b,inputRef:m,checked:Boolean(O),onChange:k,size:"small"},null==(e=j.componentsProps)?void 0:e.baseCheckbox))}))}var zn=["item","applyValue","apiRef","focusElementRef"];function Hn(t){var e,n,o,i,c=t.item,u=t.applyValue,d=t.apiRef,f=t.focusElementRef,p=l(t,zn),h=r.useState(c.value||""),v=Object(a.a)(h,2),g=v[0],m=v[1],b=V(),y=null==(n=((null==(e=b.componentsProps)?void 0:e.baseSelect)||{}).native)||n,x=y?"option":Ze.a,w=r.useCallback((function(t){var e=t.target.value;m(e),u(s({},c,{value:e}))}),[u,c]);return r.useEffect((function(){m(c.value||"")}),[c.value]),Object(ot.jsxs)(b.components.BaseTextField,s({label:d.current.getLocaleText("filterPanelInputLabel"),value:g,onChange:w,select:!0,variant:"standard",SelectProps:s({native:y,displayEmpty:!0},null==(o=b.componentsProps)?void 0:o.baseSelect),InputLabelProps:{shrink:!0},inputRef:f},p,null==(i=b.componentsProps)?void 0:i.baseTextField,{children:[Object(ot.jsx)(x,{value:"",children:d.current.getLocaleText("filterValueAny")}),Object(ot.jsx)(x,{value:"true",children:d.current.getLocaleText("filterValueTrue")}),Object(ot.jsx)(x,{value:"false",children:d.current.getLocaleText("filterValueFalse")})]}))}var Vn,Un,Wn,qn=s({},yn,{type:"boolean",align:"center",headerAlign:"center",renderCell:function(t){return t.rowNode.isAutoGenerated?"":Object(ot.jsx)(Ln,s({},t))},renderEditCell:function(t){return Object(ot.jsx)(Bn,s({},t))},sortComparator:pn,valueFormatter:function(t){var e=t.value,n=t.api;return e?n.getLocaleText("booleanCellTrueLabel"):n.getLocaleText("booleanCellFalseLabel")},filterOperators:[{value:"is",getApplyFilterFn:function(t){if(!t.value)return null;var e="true"===t.value;return function(t){var n=t.value;return Boolean(n)===e}},InputComponent:Hn}],getApplyQuickFilterFn:void 0,aggregable:!1}),Gn=function(t){return"Escape"===t},Yn=function(t){return"Enter"===t},Xn=function(t){return"Tab"===t},Kn=function(t){return" "===t},$n=function(t){return"Delete"===t||"Backspace"===t},Zn=function(t){return 1===t.length},Qn=["Enter","Escape","Tab"],Jn=["Enter","Tab"],tr=function(t){return Qn.indexOf(t)>-1},er=function(t){return Jn.indexOf(t)>-1},nr=function(t){return function(t){return"Home"===t||"End"===t}(t)||function(t){return 0===t.indexOf("Arrow")}(t)||function(t){return 0===t.indexOf("Page")}(t)||Kn(t)},rr=function(t){return!!t.key},or=function(t){return Xn(t)||Gn(t)};!function(t){t.Cell="cell",t.Row="row"}(Vn||(Vn={})),function(t){t.Edit="edit",t.View="view"}(Un||(Un={})),function(t){t.Edit="edit",t.View="view"}(Wn||(Wn={}));var ir=["id","value","formattedValue","api","field","row","rowNode","colDef","cellMode","isEditable","tabIndex","className","getValue","hasFocus","isValidating","isProcessingProps","error","onValueChange"];function ar(t){var e,n,o,i,c=t.id,u=t.value,d=t.api,p=t.field,h=t.row,v=t.colDef,g=t.hasFocus,m=t.error,b=t.onValueChange,y=l(t,ir),x=z(),w=r.useRef(),O=r.useRef(),S=V(),j=r.useState("cell"===S.editMode),C=Object(a.a)(j,2),k=C[0],E=C[1],P=null!=(n=((null==(e=S.componentsProps)?void 0:e.baseSelect)||{}).native)&&n;i="function"===typeof v.valueOptions?v.valueOptions({id:c,row:h,field:p}):v.valueOptions,v.valueFormatter&&(i=i.map((function(t){if("object"===typeof t)return t;var e={field:p,api:d,value:t};return{value:t,label:String(v.valueFormatter(e))}})));var _=function(){var t=Object(ke.a)(Object(Ce.a)().mark((function t(e){var n,r,o,a,s;return Object(Ce.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(E(!1),r=e.target,o=Je(r.value,i),!b){t.next=6;break}return t.next=6,b(e,o);case 6:return t.next=8,x.current.setEditCellValue({id:c,field:p,value:o},e);case 8:if(a=t.sent,null==(n=S.experimentalFeatures)||!n.newEditingApi){t.next=11;break}return t.abrupt("return");case 11:if(S.editMode!==Vn.Row&&!1!==a){t.next=13;break}return t.abrupt("return");case 13:return t.next=15,Promise.resolve(x.current.commitCellChange({id:c,field:p},e));case 15:t.sent&&(x.current.setCellMode(c,p,"view"),e.key&&(s=x.current.getCellParams(c,p),x.current.publishEvent("cellNavigationKeyDown",s,e)));case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return Object(f.a)((function(){g&&O.current.focus()}),[g]),Object(ot.jsx)(S.components.BaseSelect,s({ref:w,inputRef:O,value:u,onChange:_,open:k,onOpen:function(){E(!0)},MenuProps:{onClose:function(t,e){var n;S.editMode!==Vn.Row?("backdropClick"===e||Gn(t.key))&&(null!=(n=S.experimentalFeatures)&&n.newEditingApi?x.current.stopCellEditMode({id:c,field:p,ignoreModifications:!0}):x.current.setCellMode(c,p,"view")):E(!1)}},error:m,native:P,fullWidth:!0},y,null==(o=S.componentsProps)?void 0:o.baseSelect,{children:i.map((function(t){return function(t,e){var n="object"===typeof t,r=n?t.value:t,o=n?t.value:t,i=n?t.label:t;return Object(ot.jsx)(e,{value:o,children:i},r)}(t,P?"option":Ze.a)}))}))}var sr=["item","applyValue","type","apiRef","focusElementRef"],lr=function(t,e,n){var r=t.valueOptions,o=t.valueFormatter,i=t.field;return[""].concat("function"===typeof r?Object(qt.a)(r({field:i})):Object(qt.a)(r||[])).map((function(t){var r="object"===typeof t,a=r?t.value:t,s=r?t.value:t,l=o&&""!==t?o({value:t,field:i,api:e}):t,c=r?t.label:l;return Object(ot.jsx)(n,{value:s,children:c},a)}))};function cr(t){var e,n,o,i,c,u=t.item,d=t.applyValue,f=t.type,p=t.apiRef,h=t.focusElementRef,v=l(t,sr),g=r.useState(null!=(e=u.value)?e:""),m=Object(a.a)(g,2),b=m[0],y=m[1],x=Object($e.a)(),w=V(),O=null==(o=((null==(n=w.componentsProps)?void 0:n.baseSelect)||{}).native)||o,S=u.columnField?p.current.getColumn(u.columnField):null,j=r.useMemo((function(){if(null!==S)return"function"===typeof S.valueOptions?S.valueOptions({field:S.field}):S.valueOptions}),[S]),C=r.useCallback((function(t){var e=t.target.value;e=Je(e,j),y(String(e)),d(s({},u,{value:e}))}),[d,u,j]);return r.useEffect((function(){var t,e;if(void 0!==j){if((e=Je(u.value,j))!==u.value)return void d(s({},u,{value:e}))}else e=u.value;e=null!=(t=e)?t:"",y(String(e))}),[u,j,d]),Object(ot.jsx)(w.components.BaseTextField,s({id:x,label:p.current.getLocaleText("filterPanelInputLabel"),placeholder:p.current.getLocaleText("filterPanelInputPlaceholder"),value:b,onChange:C,variant:"standard",type:f||"text",InputLabelProps:{shrink:!0},inputRef:h,select:!0,SelectProps:s({native:O},null==(i=w.componentsProps)?void 0:i.baseSelect)},v,null==(c=w.componentsProps)?void 0:c.baseTextField,{children:lr(p.current.getColumn(u.columnField),p.current,O?"option":Ze.a)}))}var ur=n(1281),dr=["item","applyValue","type","apiRef","focusElementRef","color","error","helperText","size","variant"],fr=function(t,e){return Qe(t)===Qe(e)},pr=Object(ur.a)();function hr(t){var e=t.item,n=t.applyValue,o=t.apiRef,i=t.focusElementRef,a=t.color,c=t.error,u=t.helperText,d=t.size,f=t.variant,p=void 0===f?"standard":f,h=l(t,dr),v={color:a,error:c,helperText:u,size:d,variant:p},g=Object($e.a)(),m=V(),b=e.columnField?o.current.getColumn(e.columnField):null,y=r.useMemo((function(){return null!=b&&b.valueOptions?"function"===typeof b.valueOptions?b.valueOptions({field:b.field}):b.valueOptions:[]}),[b]),x=r.useMemo((function(){return null==y?void 0:y.map(Qe)}),[y]),w=o.current.getColumn(e.columnField),O=w.valueFormatter,S=w.field,j=function(t){return"object"===typeof t?t.label:O&&""!==t?O({value:t,field:S,api:o.current}):t},C=r.useMemo((function(){return Array.isArray(e.value)?void 0!==y?e.value.map((function(t){var e=Qe(t);return(null==x?void 0:x.findIndex((function(t){return t===e})))||0})).filter((function(t){return t>=0})).map((function(t){return y[t]})):e.value:[]}),[e.value,y,x]);r.useEffect((function(){Array.isArray(e.value)&&C.length===e.value.length||n(s({},e,{value:C.map(Qe)}))}),[e,C,n]);var k=r.useCallback((function(t,r){n(s({},e,{value:Object(qt.a)(r.map(Qe))}))}),[n,e]);return Object(ot.jsx)(vn.a,s({multiple:!0,limitTags:1,options:y,isOptionEqualToValue:fr,filterOptions:pr,id:g,value:C,onChange:k,renderTags:function(t,e){return t.map((function(t,n){return Object(ot.jsx)(gn.a,s({variant:"outlined",size:"small",label:j(t)},e({index:n})))}))},renderInput:function(t){var e;return Object(ot.jsx)(m.components.BaseTextField,s({},t,{label:o.current.getLocaleText("filterPanelInputLabel"),placeholder:o.current.getLocaleText("filterPanelInputPlaceholder"),InputLabelProps:s({},t.InputLabelProps,{shrink:!0}),inputRef:i,type:"singleSelect"},v,null==(e=m.componentsProps)?void 0:e.baseTextField))}},h))}var vr=function(t){return null==t||"object"!==typeof t?t:t.value},gr=s({},yn,{type:"singleSelect",renderEditCell:function(t){return Object(ot.jsx)(ar,s({},t))},filterOperators:[{value:"is",getApplyFilterFn:function(t){return null==t.value||""===t.value?null:function(e){var n=e.value;return vr(n)===vr(t.value)}},InputComponent:cr},{value:"not",getApplyFilterFn:function(t){return null==t.value||""===t.value?null:function(e){var n=e.value;return vr(n)!==vr(t.value)}},InputComponent:cr},{value:"isAnyOf",getApplyFilterFn:function(t){if(!Array.isArray(t.value)||0===t.value.length)return null;var e=t.value.map(vr);return function(t){var n=t.value;return e.includes(vr(n))}},InputComponent:hr}],getApplyQuickFilterFn:function(t,e,n){if(!t)return null;var r=e.valueOptions,o=e.valueFormatter,i=e.field,a=[vr(t).toString()],s="function"===typeof r?r({field:i}):r||[];return s&&s.forEach((function(e){var r,s;"object"===typeof e?(r=e.value,s=e.label):(r=e,s=o?o({value:e,field:i,api:n.current}):e),s.slice(0,t.length).toLowerCase()===t.toLowerCase()&&(a.includes(r)||a.push(r.toString()))})),function(t){var e=t.value;return null!=e&&a.includes(vr(e).toString())}}}),mr=n(1333),br=n(1354),yr=n(1272),xr=n(730),wr=n(1330),Or=n(734),Sr=["open","target","onClickAway","children","position","className","onExited"],jr=Object(v.a)(Or.a,{name:"MuiDataGrid",slot:"Menu",overridesResolver:function(t,e){return e.menu}})((function(t){var e=t.theme;return Object(h.a)({zIndex:e.zIndex.modal},"& .".concat(x.menuList),{outline:0})})),Cr={"bottom-start":"top left","bottom-end":"top right"},kr=function(t){var e,n=t.open,o=t.target,i=t.onClickAway,a=t.children,u=t.position,d=t.className,f=t.onExited,h=l(t,Sr),v=z(),g=r.useRef(o),m=r.useRef(n),b=V(),x=function(t){var e=t.classes;return Object(p.a)({root:["menu"]},y,e)}({classes:b.classes});r.useEffect((function(){m.current&&g.current&&g.current.focus();var t=n?"menuOpen":"menuClose";v.current.publishEvent(t,{target:o}),m.current=n,g.current=o}),[v,n,o]);return Object(ot.jsx)(jr,s({as:b.components.BasePopper,className:Object(c.default)(d,x.root),open:n,anchorEl:o,transition:!0,placement:u},h,null==(e=b.componentsProps)?void 0:e.basePopper,{children:function(t){var e,n=t.TransitionProps,r=t.placement;return Object(ot.jsx)(yr.a,{onClickAway:i,mouseEvent:"onMouseDown",children:Object(ot.jsx)(xr.a,s({},n,{style:{transformOrigin:Cr[r]},onExited:(e=null==n?void 0:n.onExited,function(t){e&&e(),f&&f(t)}),children:Object(ot.jsx)(wr.a,{children:a})}))})}}))},Er=["colDef","id","api","hasFocus","isEditable","field","value","formattedValue","row","rowNode","cellMode","getValue","tabIndex","position","focusElementRef"],Pr=function(t){var e=t.colDef,n=t.id,o=t.hasFocus,i=t.tabIndex,c=t.position,u=void 0===c?"bottom-end":c,d=t.focusElementRef,f=l(t,Er),p=r.useState(-1),h=Object(a.a)(p,2),v=h[0],g=h[1],m=r.useState(!1),b=Object(a.a)(m,2),y=b[0],w=b[1],O=z(),S=r.useRef(null),j=r.useRef(null),C=r.useRef(!1),k=r.useRef({}),E=Object($e.a)(),P=Object($e.a)(),_=V();if(r.useLayoutEffect((function(){o||Object.entries(k.current).forEach((function(t){var e=Object(a.a)(t,2),n=e[0],r=e[1];null==r||r.stop({},(function(){delete k.current[n]}))}))}),[o]),r.useEffect((function(){v<0||!S.current||(v>=S.current.children.length||S.current.children[v].focus())}),[v]),r.useEffect((function(){o||(g(-1),C.current=!1)}),[o]),r.useImperativeHandle(d,(function(){return{focus:function(){C.current||g(0)}}}),[]),!function(t){return"function"===typeof t.getActions}(e))throw new Error("MUI: Missing the `getActions` property in the `GridColDef`.");var M=e.getActions(O.current.getRowParams(n)),T=M.filter((function(t){return!t.props.showInMenu})),A=M.filter((function(t){return t.props.showInMenu})),R=T.length+(A.length?1:0);r.useEffect((function(){v>=R&&g(R-1)}),[v,R]);var D=function(){w(!1)},I=function(t){return function(e){k.current[t]=e}},N=function(t,e){return function(n){g(t),C.current=!0,e&&e(n)}};return Object(ot.jsxs)("div",s({role:"menu",ref:S,tabIndex:-1,className:x.actionsCell,onKeyDown:function(t){if(!(R<=1)){var e=v;"ArrowRight"===t.key?e+=1:"ArrowLeft"===t.key&&(e-=1),e<0||e>=R||e!==v&&(t.preventDefault(),t.stopPropagation(),g(e))}}},f,{children:[T.map((function(t,e){return r.cloneElement(t,{key:e,touchRippleRef:I(e),onClick:N(e,t.props.onClick),tabIndex:v===e?i:-1})})),A.length>0&&P&&Object(ot.jsx)(mr.a,{ref:j,id:P,"aria-label":O.current.getLocaleText("actionsCellMore"),"aria-controls":E,"aria-expanded":y?"true":void 0,"aria-haspopup":"true",role:"menuitem",size:"small",onClick:function(){w(!0),g(R-1),C.current=!0},touchRippleRef:I(P),tabIndex:v===T.length?i:-1,children:Object(ot.jsx)(_.components.MoreActionsIcon,{fontSize:"small"})}),A.length>0&&Object(ot.jsx)(kr,{onClickAway:D,onClick:D,open:y,target:j.current,position:u,children:Object(ot.jsx)(br.a,{id:E,className:x.menuList,onKeyDown:function(t){"Tab"===t.key&&t.preventDefault(),["Tab","Enter","Escape"].includes(t.key)&&D()},"aria-labelledby":P,variant:"menu",autoFocusItem:!0,children:A.map((function(t,e){return r.cloneElement(t,{key:e})}))})})]}))},_r="actions",Mr=s({},yn,{sortable:!1,filterable:!1,aggregable:!1,width:100,align:"center",headerAlign:"center",headerName:"",disableColumnMenu:!0,disableExport:!0,renderCell:function(t){return Object(ot.jsx)(Pr,s({},t))},getApplyQuickFilterFn:void 0}),Tr="__default__",Ar=function(){var t;return t={string:yn,number:On,date:Rn,dateTime:Dn,boolean:qn,singleSelect:gr},Object(h.a)(t,_r,Mr),Object(h.a)(t,Tr,yn),t},Rr=["maxWidth","minWidth","width","flex"],Dr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=s({},Ar());return Object.entries(t).forEach((function(t){var n=Object(a.a)(t,2),r=n[0],o=n[1];e[r]?e[r]=s({},e[r],o):e[r]=s({},e[o.extendType||Tr],o)})),e};var Ir,Nr=function(t,e){var n={},r=0,o=0,i=[];t.all.forEach((function(e){var a,l=s({},t.lookup[e]);!1===t.columnVisibilityModel[e]?l.computedWidth=0:(l.flex&&l.flex>0?(r+=l.flex,a=0,i.push(l)):a=Object(Gt.a)(l.width,l.minWidth,l.maxWidth),o+=a,l.computedWidth=a);n[e]=l}));var a=Math.max(e-o,0);if(r>0&&e>0){var l=function(t){var e=t.initialFreeSpace,n=t.totalFlexUnits,r=t.flexColumns,o={all:{},frozenFields:[],freeze:function(t){var e=o.all[t];e&&!0!==e.frozen&&(o.all[t].frozen=!0,o.frozenFields.push(t))}};return function t(){if(o.frozenFields.length!==r.length){var i={min:{},max:{}},a=e,s=n,l=0;o.frozenFields.forEach((function(t){a-=o.all[t].computedWidth,s-=o.all[t].flex}));for(var c=0;c<r.length;c+=1){var u=r[c];if(!o.all[u.field]||!0!==o.all[u.field].frozen){var d=a/s*u.flex;d<u.minWidth?(l+=u.minWidth-d,d=u.minWidth,i.min[u.field]=!0):d>u.maxWidth&&(l+=u.maxWidth-d,d=u.maxWidth,i.max[u.field]=!0),o.all[u.field]={frozen:!1,computedWidth:d,flex:u.flex}}}l<0?Object.keys(i.max).forEach((function(t){o.freeze(t)})):l>0?Object.keys(i.min).forEach((function(t){o.freeze(t)})):r.forEach((function(t){var e=t.field;o.freeze(e)})),t()}}(),o.all}({initialFreeSpace:a,totalFlexUnits:r,flexColumns:i});Object.keys(l).forEach((function(t){n[t].computedWidth=l[t].computedWidth}))}return s({},t,{lookup:n})},Lr=function(t){var e,n,r,o,i,l=t.apiRef,c=t.columnsToUpsert,u=t.initialState,d=t.columnTypes,f=t.currentColumnVisibilityModel,p=void 0===f?T(l):f,v=t.shouldRegenColumnVisibilityModelFromColumns,g=t.keepOnlyColumnsToUpsert,m=void 0!==g&&g,b=!l.current.state.columns;if(b)i={all:[],lookup:{}};else{var y=E(l.current.state);i={all:m?[]:Object(qt.a)(y.all),lookup:s({},y.lookup)}}var x={};m&&!b&&(x=Object.keys(i.lookup).reduce((function(t,e){return s({},t,Object(h.a)({},e,!1))}),{}));var w={};c.forEach((function(t){var e=t.field;w[e]=!0,x[e]=!0;var n=i.lookup[e];null==n?(n=s({},function(t,e){return e&&t[e]?t[e]:t.__default__}(d,t.type),{field:e,hasBeenResized:!1}),i.all.push(e)):m&&i.all.push(e);var r=n.hasBeenResized;Rr.forEach((function(e){void 0!==t[e]&&(r=!0,-1===t[e]&&(t[e]=1/0))})),i.lookup[e]=s({},n,{hide:null!=t.hide&&t.hide},t,{hasBeenResized:r})})),m&&!b&&Object.keys(i.lookup).forEach((function(t){x[t]||delete i.lookup[t]}));var O=s({},i.lookup),S=l.current.unstable_applyPipeProcessors("hydrateColumns",i),j={};if(v){var C=!1,k=s({},p);b?S.all.forEach((function(t){k[t]=!i.lookup[t].hide})):m&&Object.keys(k).forEach((function(t){S.lookup[t]||(delete k[t],C=!0)})),S.all.forEach((function(t){if(w[t]||O[t]!==S.lookup[t]){var e=p[t];if(void 0===e)if(b)e=!0;else e=!!E(l.current.state).lookup[t];var n=!S.lookup[t].hide;n!==e&&(C=!0,k[t]=n)}})),j=C||b?k:p}else j=p;var P=function(t,e){if(!e)return t;var n=e.orderedFields,r=void 0===n?[]:n,o=e.dimensions,i=void 0===o?{}:o,l=Object.keys(i);if(0===l.length&&0===r.length)return t;for(var c={},u=[],d=0;d<r.length;d+=1){var f=r[d];t.lookup[f]&&(c[f]=!0,u.push(f))}for(var p=0===u.length?t.all:[].concat(u,Object(qt.a)(t.all.filter((function(t){return!c[t]})))),h=s({},t.lookup),v=function(t){var e=l[t],n=s({},h[e],{hasBeenResized:!0});Object.entries(i[e]).forEach((function(t){var e=Object(a.a)(t,2),r=e[0],o=e[1];n[r]=-1===o?1/0:o})),h[e]=n},g=0;g<l.length;g+=1)v(g);return{all:p,lookup:h}}(S,u),_=s({},P,{columnVisibilityModel:j});return Nr(_,null!=(e=null==(n=(r=l.current).getRootDimensions)||null==(o=n.call(r))?void 0:o.viewportInnerSize.width)?e:0)},Fr=function(t){return function(e){return s({},e,{columns:t})}};function Br(t){for(var e=t.firstColumnToRender,n=t.apiRef,r=t.firstRowToRender,o=t.lastRowToRender,i=t.visibleRows,a=e,s=r;s<o;s+=1){if(i[s]){var l=i[s].id,c=n.current.unstable_getCellColSpanInfo(l,e);c&&c.spannedByColSpan&&(a=c.leftVisibleCellIndex)}}return a}function zr(t){var e=t.firstColumnIndex,n=t.minColumnIndex,r=t.columnBuffer,o=t.firstRowToRender,i=t.lastRowToRender,a=t.apiRef,s=t.visibleRows;return Br({firstColumnToRender:Math.max(e-r,n),apiRef:a,firstRowToRender:o,lastRowToRender:i,visibleRows:s})}!function(t){t.filters="filters",t.columns="columns"}(Ir||(Ir={}));var Hr,Vr=function(t,e,n){var r,o,i,a,l,c,u,d=!!e.columnVisibilityModel||!(null==(r=e.initialState)||null==(o=r.columns)||!o.columnVisibilityModel);n.current.unstable_caches.columns={isUsingColumnVisibilityModel:d};var f=Dr(e.columnTypes);return s({},t,{columns:Lr({apiRef:n,columnTypes:f,columnsToUpsert:e.columns,initialState:null==(i=e.initialState)?void 0:i.columns,shouldRegenColumnVisibilityModelFromColumns:!d,currentColumnVisibilityModel:null!=(a=null!=(l=e.columnVisibilityModel)?l:null==(c=e.initialState)||null==(u=c.columns)?void 0:u.columnVisibilityModel)?a:{},keepOnlyColumnsToUpsert:!0})})};!function(t){t.Compact="compact",t.Standard="standard",t.Comfortable="comfortable"}(Hr||(Hr={}));var Ur=function(t,e,n){switch(t){case Hr.Compact:return{value:t,headerHeight:Math.floor(.7*e),rowHeight:Math.floor(.7*n),factor:.7};case Hr.Comfortable:return{value:t,headerHeight:Math.floor(1.3*e),rowHeight:Math.floor(1.3*n),factor:1.3};default:return{value:t,headerHeight:e,rowHeight:n,factor:1}}},Wr=function(t,e){return s({},t,{density:Ur(e.density,e.headerHeight,e.rowHeight)})};var qr=["field","id","value","formattedValue","row","rowNode","colDef","isEditable","cellMode","hasFocus","tabIndex","getValue","api"],Gr=r.forwardRef((function(t,e){var n,o=t.field,i=t.id,a=t.value,c=t.rowNode,u=t.hasFocus,f=t.tabIndex,h=l(t,qr),v=z(),g=V(),m=function(t){var e=t.classes;return Object(p.a)({root:["checkboxInput"]},y,e)}({classes:g.classes}),b=r.useRef(null),x=r.useRef(),w=Object(d.a)(b,e),O=v.current.getCellElement(i,o);r.useLayoutEffect((function(){0===f&&O&&(O.tabIndex=-1)}),[O,f]),r.useLayoutEffect((function(){if(u){var t,e=null==(t=b.current)?void 0:t.querySelector("input");null==e||e.focus()}else x.current&&x.current.stop({})}),[u]);var S=r.useCallback((function(e){Kn(e.key)&&e.stopPropagation(),nr(e.key)&&!e.shiftKey&&v.current.publishEvent("cellNavigationKeyDown",t,e)}),[v,t]);if("footer"===c.position)return null;var j=v.current.isRowSelectable(i),C=v.current.getLocaleText(a?"checkboxSelectionUnselectRow":"checkboxSelectionSelectRow");return Object(ot.jsx)(g.components.BaseCheckbox,s({ref:w,tabIndex:f,checked:a,onChange:function(t){var e={value:t.target.checked,id:i};v.current.publishEvent("rowSelectionCheckboxChange",e,t)},className:m.root,inputProps:{"aria-label":C},onKeyDown:S,disabled:!j,touchRippleRef:x},null==(n=g.componentsProps)?void 0:n.baseCheckbox,h))})),Yr=r.memo(Gr),Xr=function(t){return t.focus},Kr=k(Xr,(function(t){return t.cell})),$r=k(Xr,(function(t){return t.columnHeader})),Zr=function(t){return t.tabIndex},Qr=k(Zr,(function(t){return t.cell})),Jr=k(Zr,(function(t){return t.columnHeader})),to=function(t){return t.selection},eo=k(to,(function(t){return t.length})),no=k(to,Y,(function(t,e){return new Map(t.map((function(t){return[t,e[t]]})))})),ro=k(to,(function(t){return t.reduce((function(t,e){return t[e]=e,t}),{})})),oo=function(t){return t.pagination},io=k(oo,(function(t){return t.page})),ao=k(oo,(function(t){return t.pageSize})),so=(k(oo,(function(t){return t.pageCount})),k(oo,K,Z,Tt,It,(function(t,e,n,r,o){var i=o.length,a=Math.min(t.pageSize*t.page,i-1),s=Math.min(a+t.pageSize-1,i-1);if(-1===a||-1===s)return null;if(n<2)return{firstRowIndex:a,lastRowIndex:s};for(var l=o[a],c=s-a+1,u=r.findIndex((function(t){return t.id===l.id})),d=u,f=0;d<r.length&&f<=c;){var p=e[r[d].id].depth;(f<c||p>0)&&(d+=1),0===p&&(f+=1)}return{firstRowIndex:u,lastRowIndex:d-1}}))),lo=k(Tt,so,(function(t,e){return e?t.slice(e.firstRowIndex,e.lastRowIndex+1):[]})),co=k(At,so,(function(t,e){return e?t.slice(e.firstRowIndex,e.lastRowIndex+1):[]})),uo=["field","colDef"],fo=r.forwardRef((function(t,e){var n,o=l(t,uo),i=r.useState(!1),c=Object(a.a)(i,2)[1],u=z(),d=V(),f=function(t){var e=t.classes;return Object(p.a)({root:["checkboxInput"]},y,e)}({classes:d.classes}),h=F(u,Jr),v=F(u,to),g=F(u,At),m=F(u,co),b=r.useMemo((function(){return"function"!==typeof d.isRowSelectable?v:v.filter((function(t){return!!u.current.getRow(t)&&d.isRowSelectable(u.current.getRowParams(t))}))}),[u,d.isRowSelectable,v]),x=r.useMemo((function(){return(d.pagination&&d.checkboxSelectionVisibleOnly?m:g).reduce((function(t,e){return t[e]=!0,t}),{})}),[d.pagination,d.checkboxSelectionVisibleOnly,m,g]),w=r.useMemo((function(){return b.filter((function(t){return x[t]})).length}),[b,x]),O=w>0&&w<Object.keys(x).length,S=w>0,j=null!==h&&h.field===t.field?0:-1;r.useLayoutEffect((function(){var e=u.current.getColumnHeaderElement(t.field);0===j&&e&&(e.tabIndex=-1)}),[j,u,t.field]);var C=r.useCallback((function(e){" "===e.key&&u.current.publishEvent("headerSelectionCheckboxChange",{value:!S}),nr(e.key)&&!e.shiftKey&&u.current.publishEvent("columnHeaderNavigationKeyDown",t,e)}),[u,t,S]),k=r.useCallback((function(){c((function(t){return!t}))}),[]);r.useEffect((function(){return u.current.subscribeEvent("selectionChange",k)}),[u,k]);var E=u.current.getLocaleText(S?"checkboxSelectionUnselectAllRows":"checkboxSelectionSelectAllRows");return Object(ot.jsx)(d.components.BaseCheckbox,s({ref:e,indeterminate:O,checked:S,onChange:function(t){var e={value:t.target.checked};u.current.publishEvent("headerSelectionCheckboxChange",e)},className:f.root,inputProps:{"aria-label":E},tabIndex:j,onKeyDown:C},null==(n=d.componentsProps)?void 0:n.baseCheckbox,o))})),po="__check__",ho=s({},qn,{field:po,type:"checkboxSelection",width:50,resizable:!1,sortable:!1,filterable:!1,aggregable:!1,disableColumnMenu:!0,disableReorder:!0,disableExport:!0,getApplyQuickFilterFn:void 0,valueGetter:function(t){return void 0!==ro(t.api.state,t.api.instanceId)[t.id]},renderHeader:function(t){return Object(ot.jsx)(fo,s({},t))},renderCell:function(t){return Object(ot.jsx)(Yr,s({},t))}}),vo=function(t,e){if("string"===typeof t){var n=t.replace(/"/g,'""');return[e,"\n","\r"].some((function(t){return n.includes(t)}))?'"'.concat(n,'"'):n}return t};S(["MUI: When the value of a field is an object or a `renderCell` is provided, the CSV export might not display the value correctly.","You can provide a `valueFormatter` with a string representation to be used."]);function go(t){var e=t.columns,n=t.rowIds,r=t.getCellParams,o=t.delimiterCharacter,i=t.includeHeaders,a=n.reduce((function(t,n){return"".concat(t).concat(function(t,e,n,r){return e.map((function(e){var o=n(t,e.field);return vo(o.formattedValue,r)}))}(n,e,r,o).join(o),"\r\n")}),"").trim();if(!i)return a;var s="".concat(e.filter((function(t){return t.field!==ho.field})).map((function(t){return vo(t.headerName||t.field,o)})).join(o),"\r\n");return"".concat(s).concat(a).trim()}var mo,bo=function(t){var e=t.apiRef,n=t.options,r=M(e);return n.fields?n.fields.map((function(t){return r.find((function(e){return e.field===t}))})).filter((function(t){return!!t})):(n.allColumns?r:A(e)).filter((function(t){return!t.disableExport}))},yo=function(t){var e=t.apiRef,n=Dt(e),r=K(e),o=e.current.getSelectedRows(),i=n.filter((function(t){var e;return"body"===(null!=(e=r[t].position)?e:"body")}));return o.size>0?i.filter((function(t){return o.has(t)})):i},xo=["hideMenu","options"],wo=["hideMenu","options"],Oo=function(t){var e=z(),n=t.hideMenu,r=t.options,o=l(t,xo);return Object(ot.jsx)(Ze.a,s({onClick:function(){e.current.exportDataAsCsv(r),null==n||n()}},o,{children:e.current.getLocaleText("toolbarExportCSV")}))},So=function(t){var e=z(),n=t.hideMenu,r=t.options,o=l(t,wo);return Object(ot.jsx)(Ze.a,s({onClick:function(){e.current.exportDataAsPrint(r),null==n||n()}},o,{children:e.current.getLocaleText("toolbarExportPrint")}))},jo=function(t){var e=st(t,"useGridCsvExport"),n=r.useCallback((function(){var n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.debug("Get data as CSV");var i=bo({apiRef:t,options:o}),a=null!=(n=o.getRowsToExport)?n:yo,s=a({apiRef:t});return go({columns:i,rowIds:s,getCellParams:t.current.getCellParams,delimiterCharacter:o.delimiter||",",includeHeaders:null==(r=o.includeHeaders)||r})}),[e,t]),o=r.useCallback((function(t){e.debug("Export data as CSV");var r=n(t);!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"csv",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document.title||"untitled",r="".concat(n,".").concat(e);if("download"in HTMLAnchorElement.prototype){var o=URL.createObjectURL(t),i=document.createElement("a");return i.href=o,i.download=r,i.click(),void setTimeout((function(){URL.revokeObjectURL(o)}))}throw new Error("MUI: exportAs not supported")}(new Blob([null!=t&&t.utf8WithBom?new Uint8Array([239,187,191]):"",r],{type:"text/csv"}),"csv",null==t?void 0:t.fileName)}),[e,n]);Qt(t,{getDataAsCsv:n,exportDataAsCsv:o});var i=r.useCallback((function(t,e){var n;return null!=(n=e.csvOptions)&&n.disableToolbarButton?t:[].concat(Object(qt.a)(t),[{component:Object(ot.jsx)(Oo,{options:e.csvOptions}),componentName:"csvExport"}])}),[]);Se(t,"exportMenu",i)},Co=n(154),ko=function(t){return t.rowsMeta},Eo="client",Po="server";!function(t){t.And="and",t.Or="or"}(mo||(mo={}));var _o=function(){return{items:[],linkOperator:mo.And,quickFilterValues:[],quickFilterLogicOperator:mo.And}},Mo=function(t,e,n,o){var i=r.useCallback((function(){t.current.unstable_registerStrategyProcessor(e,n,o)}),[t,o,n,e]);Oe((function(){i()}));var a=r.useRef(!0);r.useEffect((function(){a.current?a.current=!1:i()}),[i])},To=function(t,e){var n=s({},t);if(null==n.id&&(n.id=Math.round(1e5*Math.random())),null==n.operatorValue){var r=_(e)[n.columnField];n.operatorValue=r&&r.filterOperators[0].value}return n},Ao=S(["MUI: The `filterModel` can only contain a single item when the `disableMultipleColumnsFiltering` prop is set to `true`.","If you are using the community version of the `DataGrid`, this prop is always `true`."],"error"),Ro=S("MUI: The 'id' field is required on `filterModel.items` when you use multiple filters.","error"),Do=S(["MUI: One of your filtering item have no `operatorValue` provided.","This property will become required on `@mui/x-data-grid@6.X`."]),Io=function(t,e,n){var r,o=t.items.length>1;o&&e?(Ao(),r=[t.items[0]]):r=t.items;var i=o&&r.some((function(t){return null==t.id})),a=r.some((function(t){return null==t.operatorValue}));return i&&Ro(),a&&Do(),a||i?s({},t,{items:r.map((function(t){return To(t,n)}))}):t.items!==r?s({},t,{items:r}):t},No=function(t,e,n){return function(r){return s({},r,{filterModel:Io(t,e,n)})}},Lo=function(t,e){var n=function(t,e){var n=t.items,r=t.linkOperator,o=void 0===r?mo.And:r,i=K(e),a=n.map((function(t){if(!t.columnField||!t.operatorValue)return null;var n,r=e.current.getColumn(t.columnField);if(!r)return null;if(r.valueParser){var o,i=r.valueParser;n=Array.isArray(t.value)?null==(o=t.value)?void 0:o.map((function(t){return i(t)})):i(t.value)}else n=t.value;var a=s({},t,{value:n}),l=r.filterOperators;if(null==l||!l.length)throw new Error("MUI: No filter operators found for column '".concat(r.field,"'."));var c=l.find((function(t){return t.value===a.operatorValue}));if(!c)throw new Error("MUI: No filter operator found for column '".concat(r.field,"' and operator value '").concat(a.operatorValue,"'."));var u=c.getApplyFilterFn(a,r);return"function"!==typeof u?null:{fn:function(t){var n=e.current.getCellParams(t,a.columnField);return u(n)},item:a}})).filter((function(t){return!!t}));return 0===a.length?null:function(t,e){if("footer"===i[t].position)return!0;var n=e?a.filter((function(t){return e(t.item.columnField)})):a;return o===mo.And?n.every((function(e){return e.fn(t)})):n.some((function(e){return e.fn(t)}))}}(t,e),r=function(t,e){var n=t.quickFilterValues,r=void 0===n?[]:n,o=t.quickFilterLogicOperator,i=void 0===o?mo.And:o;if(0===r.length)return null;var a=P(e),s={};a.forEach((function(t){var n=e.current.getColumn(t),o=null==n?void 0:n.getApplyQuickFilterFn;o&&(s[t]=r.map((function(t){return o(t,n,e)})))}));var l=r.filter((function(t,e){return Object.keys(s).some((function(t){return null!=s[t][e]}))}));return function(t,n){var r={},o=[];return Object.keys(s).forEach((function(i){n&&!n(i)||(r[i]=e.current.getCellParams(t,i),o.push(i))})),i===mo.And?l.every((function(t,e){return o.some((function(t){var n,o;return null!=s[t][e]&&(null==(n=(o=s[t])[e])?void 0:n.call(o,r[t]))}))})):l.some((function(t,e){return o.some((function(t){var n,o;return null!=s[t][e]&&(null==(n=(o=s[t])[e])?void 0:n.call(o,r[t]))}))}))}}(t,e);return null==n&&null==r?null:null==n?r:null==r?n:function(t,e){return n(t,e)&&r(t,e)}},Fo=function(t,e,n){var r,o,i,a,l=null!=(r=null!=(o=e.filterModel)?o:null==(i=e.initialState)||null==(a=i.filter)?void 0:a.filterModel)?r:_o();return s({},t,{filter:{filterModel:Io(l,e.disableMultipleColumnsFiltering,n),visibleRowsLookup:{},filteredDescendantCountLookup:{}}})},Bo=function(t,e){var n,r;return e.pagination&&"client"===e.paginationMode?(r=so(t),n=lo(t)):r=0===(n=Tt(t)).length?null:{firstRowIndex:0,lastRowIndex:n.length-1},{rows:n,range:r}},zo=function(t,e){var n=Bo(t,e);return r.useMemo((function(){return{rows:n.rows,range:n.range}}),[n.rows,n.range])},Ho=function(t){return s({},t,{focus:{cell:null,columnHeader:null},tabIndex:{cell:null,columnHeader:null}})},Vo="__detail_panel_toggle__",Uo=function(t){return t?0:100},Wo=function(t){return function(e){return s({},e,{pagination:s({},e.pagination,{pageSize:t})})}},qo=function(t,e){return e>0&&t>0?Math.ceil(t/e):0},Go=function(t){return t.pageCount?s({},t,{page:Math.max(Math.min(t.page,t.pageCount-1),0)}):t},Yo=function(t){return function(e){return s({},e,{pagination:Go(s({},e.pagination,{page:t}))})}},Xo=(S(["MUI: the 'rowCount' prop is undefined while using paginationMode='server'","For more detail, see http://mui.com/components/data-grid/pagination/#basic-implementation"],"error"),function(t,e){var n,r,o,i,a,l,c,u,d;return s({},t,{pagination:{pageSize:d=null!=e.pageSize?e.pageSize:null!=(null==(n=e.initialState)||null==(r=n.pagination)?void 0:r.pageSize)?e.initialState.pagination.pageSize:Uo(e.autoPageSize),page:null!=(o=null!=(i=e.page)?i:null==(a=e.initialState)||null==(l=a.pagination)?void 0:l.page)?o:0,pageCount:qo(null!=(c=e.rowCount)?c:0,d),rowCount:null!=(u=e.rowCount)?u:0}})}),Ko=function(t,e){!function(t,e){var n,o,i=st(t,"useGridPageSize"),a=F(t,et);t.current.unstable_registerControlState({stateId:"pageSize",propModel:e.pageSize,propOnChange:e.onPageSizeChange,stateSelector:ao,changeEvent:"pageSizeChange"});var l=r.useCallback((function(e){e!==ao(t)&&(i.debug("Setting page size to ".concat(e)),t.current.setState(Wo(e)),t.current.forceUpdate())}),[t,i]);Qt(t,{setPageSize:l});var c=r.useCallback((function(n,r){var o,i,a=ao(t);return r.exportOnlyDirtyModels&&null==e.pageSize&&null==(null==(o=e.initialState)||null==(i=o.pagination)?void 0:i.pageSize)&&a===Uo(e.autoPageSize)?n:s({},n,{pagination:s({},n.pagination,{pageSize:a})})}),[t,e.pageSize,null==(n=e.initialState)||null==(o=n.pagination)?void 0:o.pageSize,e.autoPageSize]),u=r.useCallback((function(e,n){var r,o=null==(r=n.stateToRestore.pagination)?void 0:r.pageSize;return null!=o&&t.current.setState(Wo(o)),e}),[t]);Se(t,"exportState",c),Se(t,"restoreState",u);var d=r.useCallback((function(){var n=t.current.getRootDimensions();if(e.autoPageSize&&n){var r=Math.floor(n.viewportInnerSize.height/a);t.current.setPageSize(r)}}),[t,e.autoPageSize,a]);ie(t,"viewportInnerSizeChange",d),r.useEffect((function(){null==e.pageSize||e.autoPageSize||t.current.setPageSize(e.pageSize)}),[t,e.autoPageSize,e.pageSize]),r.useEffect((function(){d()}),[d])}(t,e),function(t,e){var n,o,i=st(t,"useGridPage"),a=F(t,Lt);t.current.unstable_registerControlState({stateId:"page",propModel:e.page,propOnChange:e.onPageChange,stateSelector:io,changeEvent:"pageChange"});var l=r.useCallback((function(e){i.debug("Setting page to ".concat(e)),t.current.setState(Yo(e)),t.current.forceUpdate()}),[t,i]);Qt(t,{setPage:l});var c=r.useCallback((function(n,r){var o,i,a=io(t);return r.exportOnlyDirtyModels&&null==e.page&&null==(null==(o=e.initialState)||null==(i=o.pagination)?void 0:i.page)&&0===a?n:s({},n,{pagination:s({},n.pagination,{page:a})})}),[t,e.page,null==(n=e.initialState)||null==(o=n.pagination)?void 0:o.page]),u=r.useCallback((function(e,n){var r,o,i=null!=(r=null==(o=n.stateToRestore.pagination)?void 0:o.page)?r:io(t);return t.current.setState(Yo(i)),e}),[t]);Se(t,"exportState",c),Se(t,"restoreState",u),ie(t,"pageSizeChange",(function(e){t.current.setState((function(t){var n=qo(t.pagination.rowCount,e);return s({},t,{pagination:Go(s({},t.pagination,{pageCount:n,page:t.pagination.page}))})})),t.current.forceUpdate()})),ie(t,"pageChange",(function(){return t.current.scrollToIndexes({rowIndex:io(t)*ao(t)})})),r.useEffect((function(){}),[e.rowCount,e.paginationMode]),r.useEffect((function(){t.current.setState((function(t){var n=void 0!==e.rowCount?e.rowCount:a,r=qo(n,t.pagination.pageSize),o=null==e.page?t.pagination.page:e.page;return s({},t,{pagination:Go(s({},t.pagination,{page:o,rowCount:n,pageCount:r}))})})),t.current.forceUpdate()}),[a,e.rowCount,e.page,e.paginationMode,t])}(t,e)},$o=function(t){return t.preferencePanel},Zo=function(t,e){var n,r;return s({},t,{preferencePanel:null!=(n=null==(r=e.initialState)?void 0:r.preferencePanel)?n:{open:!1}})},Qo=function(t){return t.editRows};function Jo(t){return"function"===typeof t.then}var ti,ei,ni=function(t){return s({},t,{editRows:{}})};function ri(t,e){var n,o=st(t,"useGridEditRows");!function(t,e){var n,o=st(t,"useGridEditRows"),i=function(t){return function(){e.editMode===Vn.Cell&&t.apply(void 0,arguments)}},a=r.useCallback((function(e,n,r){t.current.getCellMode(e,n)!==r&&(o.debug("Switching cell id: ".concat(e," field: ").concat(n," to mode: ").concat(r)),t.current.setState((function(o){var i=s({},o.editRows);return i[e]=s({},i[e]),r===Un.Edit?i[e][n]={value:t.current.getCellValue(e,n)}:(delete i[e][n],Object.keys(i[e]).length||delete i[e]),s({},o,{editRows:i})})),t.current.forceUpdate(),t.current.publishEvent("cellModeChange",t.current.getCellParams(e,n)))}),[t,o]),l=r.useCallback((function(e,n){var r=Qo(t.current.state);return r[e]&&r[e][n]?Un.Edit:Un.View}),[t]),c=r.useCallback((function(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.id,a=n.field;t.current.unstable_runPendingEditCellValueMutation(i,a);var l=t.current.getEditRowsModel();if(!l[i]||!l[i][a])throw new Error("MUI: Cell at id: ".concat(i," and field: ").concat(a," is not in edit mode."));var c=l[i][a],u=t.current.getColumn(a),d=t.current.getRow(i);if(null!=(r=e.experimentalFeatures)&&r.preventCommitWhileValidating){var f=l[i][a];if(f.isValidating||f.error)return!1}var p=s({},n,{value:c.value}),h=!!c.error;if(!h&&"function"===typeof u.preProcessEditCellProps){var v=u.preProcessEditCellProps({id:i,row:d,props:c});if(Jo(v))return v.then((function(e){return t.current.unstable_setEditCellProps({id:i,field:a,props:e}),!e.error&&(t.current.publishEvent("cellEditCommit",p,o),!0)}));t.current.unstable_setEditCellProps({id:i,field:a,props:v}),h=!!v.error}return!h&&(t.current.publishEvent("cellEditCommit",p,o),!0)}),[t,null==(n=e.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),u=r.useCallback((function(e){var n=t.current.getColumn(e.field),r=t.current.getRow(e.id);return new Promise((function(o){var i={value:e.value},a=t.current.getEditRowsModel()[e.id][e.field];if("function"!==typeof n.preProcessEditCellProps)return t.current.unstable_setEditCellProps(s({},e,{props:i})),void o(!0);i=t.current.unstable_setEditCellProps(s({},e,{props:s({},a,{isValidating:!0})})),Promise.resolve(n.preProcessEditCellProps({id:e.id,row:r,props:s({},i,{value:t.current.unstable_parseValue(e.id,e.field,e.value)})})).then((function(n){t.current.unstable_setEditCellProps(s({},e,{props:s({},n,{isValidating:!1})})),o(!n.error)}))}))}),[t]);Qt(t,{setCellMode:a,getCellMode:l,commitCellChange:c,unstable_setCellEditingEditCellValue:u});var d=r.useCallback(function(){var e=Object(ke.a)(Object(Ce.a)().mark((function e(n,r){var o,i,a,s,l,c;return Object(Ce.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(229!==r.which){e.next=2;break}return e.abrupt("return");case 2:if(o=n.id,i=n.field,a=n.cellMode,n.isEditable){e.next=5;break}return e.abrupt("return");case 5:if(s=a===Un.Edit,l=r.ctrlKey||r.metaKey||r.altKey,s||(u=r.key,!(Yn(u)||$n(u)||Zn(u)))||l||" "===r.key&&r.shiftKey||t.current.publishEvent("cellEditStart",n,r),!s&&$n(r.key)&&(t.current.setEditCellValue({id:o,field:i,value:""}),t.current.commitCellChange({id:o,field:i},r),t.current.publishEvent("cellEditStop",n,r)),!s||!er(r.key)){e.next=16;break}return c={id:o,field:i},e.next=13,t.current.commitCellChange(c,r);case 13:if(e.sent){e.next=16;break}return e.abrupt("return");case 16:s&&tr(r.key)&&t.current.publishEvent("cellEditStop",n,r);case 17:case"end":return e.stop()}var u}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[t]),f=r.useCallback((function(e,n){e.isEditable&&t.current.publishEvent("cellEditStart",e,n)}),[t]),p=function(){var e=Object(ke.a)(Object(Ce.a)().mark((function e(n,r){return Object(Ce.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.cellMode!==Un.View){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.current.commitCellChange(n,r);case 4:t.current.publishEvent("cellEditStop",n,r);case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),v=Object(mt.a)((function(t,e){p(t,e)})),g=Object(mt.a)((function(){var e=Kr(t);if(e){var n=t.current.getCellParams(e.id,e.field);p(n,{})}})),m=r.useCallback((function(e,n){e.isEditable&&(t.current.setCellMode(e.id,e.field,Un.Edit),rr(n)&&Zn(n.key)&&t.current.unstable_setEditCellProps({id:e.id,field:e.field,props:{value:""}}))}),[t]),b=r.useCallback((function(e,n){t.current.setCellMode(e.id,e.field,Un.View),rr(n)&&(er(n.key)?t.current.publishEvent("cellNavigationKeyDown",e,n):("Escape"===n.key||$n(n.key))&&t.current.setCellFocus(e.id,e.field))}),[t]),y=r.useCallback((function(e){var n=e.id,r=e.field,i=t.current.getEditRowsModel()[n][r].value;o.debug("Setting cell id: ".concat(n," field: ").concat(r," to value: ").concat(null==i?void 0:i.toString()));var a=t.current.getRow(n);if(a){var l=t.current.getColumn(e.field),c=s({},a,Object(h.a)({},r,i));l.valueSetter&&(c=l.valueSetter({row:a,value:i})),t.current.updateRows([c])}}),[t,o]),x=r.useCallback((function(e){var n=t.current.getRow(e.id),r=t.current.getColumn(e.field),o=r.preProcessEditCellProps?r.preProcessEditCellProps({id:e.id,row:n,props:e.props}):e.props;Jo(o)?o.then((function(n){t.current.unstable_setEditCellProps(s({},e,{props:n}))})):t.current.unstable_setEditCellProps(s({},e,{props:o}))}),[t]);ie(t,"cellKeyDown",i(d)),ie(t,"cellDoubleClick",i(f)),ie(t,"cellFocusOut",i(v)),ie(t,"columnHeaderDragStart",i(g)),ie(t,"cellEditStart",i(m)),ie(t,"cellEditStop",i(b)),ie(t,"cellEditCommit",i(y)),ie(t,"editCellPropsChange",i(x)),se(t,"cellEditCommit",e.onCellEditCommit),se(t,"cellEditStart",e.onCellEditStart),se(t,"cellEditStop",e.onCellEditStop)}(t,e),function(t,e){var n,o,i=r.useRef(null),a=r.useRef(null),l=F(t,M),c=function(t){return function(){e.editMode===Vn.Row&&t.apply(void 0,arguments)}},u=r.useCallback((function(e,n){n!==t.current.getRowMode(e)&&(t.current.setState((function(r){var o=s({},r.editRows);return n===Wn.Edit?(o[e]={},l.forEach((function(n){var r=t.current.getCellParams(e,n.field);r.isEditable&&(o[e][n.field]={value:r.value})}))):delete o[e],s({},r,{editRows:o})})),t.current.forceUpdate())}),[t,l]),d=r.useCallback((function(n){return e.editMode===Vn.Cell?Wn.View:Qo(t.current.state)[n]?Wn.Edit:Wn.View}),[t,e.editMode]),f=r.useCallback((function(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.editMode===Vn.Cell)throw new Error("MUI: You can't commit changes when the edit mode is 'cell'.");t.current.unstable_runPendingEditCellValueMutation(n);var i=t.current.getEditRowsModel()[n];if(!i)throw new Error("MUI: Row at id: ".concat(n," is not being edited."));if(null!=(r=e.experimentalFeatures)&&r.preventCommitWhileValidating&&!Object.keys(i).reduce((function(t,e){return t&&!i[e].isValidating&&!i[e].error}),!0))return!1;if(Object.values(i).some((function(t){return!!t.error})))return!1;var a=Object.keys(i).filter((function(e){return"function"===typeof t.current.getColumn(e).preProcessEditCellProps}));if(a.length>0){var s=t.current.getRow(n),l=a.map(function(){var e=Object(ke.a)(Object(Ce.a)().mark((function e(r){var o,a;return Object(Ce.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.current.getColumn(r),e.next=3,Promise.resolve(o.preProcessEditCellProps({id:n,row:s,props:i[r]}));case 3:return a=e.sent,t.current.unstable_setEditCellProps({id:n,field:r,props:a}),e.abrupt("return",a.error);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());return Promise.all(l).then((function(e){return!e.some((function(t){return!!t}))&&(t.current.publishEvent("rowEditCommit",n,o),!0)}))}return t.current.publishEvent("rowEditCommit",n,o),!0}),[t,e.editMode,null==(n=e.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),p=r.useCallback((function(e){var n=t.current.getEditRowsModel()[e.id],r=t.current.getRow(e.id),o=!0;return new Promise((function(i){Object.keys(n).forEach(function(){var i=Object(ke.a)(Object(Ce.a)().mark((function i(a){var l,c;return Object(Ce.a)().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(l=t.current.getColumn(a),c=a===e.field?{value:e.value}:n[a],c=t.current.unstable_setEditCellProps({id:e.id,field:a,props:s({},c,{isValidating:!0})}),!l.preProcessEditCellProps){i.next=7;break}return i.next=6,Promise.resolve(l.preProcessEditCellProps({id:e.id,row:r,props:s({},c,{value:a===e.field?t.current.unstable_parseValue(e.id,a,e.value):c.value})}));case 6:c=i.sent;case 7:c.error&&(o=!1),t.current.unstable_setEditCellProps({id:e.id,field:a,props:s({},c,{isValidating:!1})});case 9:case"end":return i.stop()}}),i)})));return function(t){return i.apply(this,arguments)}}()),i(o)}))}),[t]);Qt(t,{setRowMode:u,getRowMode:d,commitRowChange:f,unstable_setRowEditingEditCellValue:p});var h=r.useCallback(function(){var n=Object(ke.a)(Object(Ce.a)().mark((function n(r,o){var i,a,s,l;return Object(Ce.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(229!==o.which){n.next=2;break}return n.abrupt("return");case 2:if(i=r.cellMode,r.isEditable){n.next=5;break}return n.abrupt("return");case 5:if(a=i===Un.Edit,s=t.current.getRowParams(r.id),!a){n.next=20;break}if("Enter"!==o.key){n.next=17;break}return n.next=11,t.current.commitRowChange(r.id);case 11:if(n.sent||null==(l=e.experimentalFeatures)||!l.preventCommitWhileValidating){n.next=14;break}return n.abrupt("return");case 14:t.current.publishEvent("rowEditStop",s,o),n.next=18;break;case 17:"Escape"===o.key&&t.current.publishEvent("rowEditStop",s,o);case 18:n.next=21;break;case 20:"Enter"===o.key&&t.current.publishEvent("rowEditStart",s,o);case 21:case"end":return n.stop()}}),n)})));return function(t,e){return n.apply(this,arguments)}}(),[t,null==(o=e.experimentalFeatures)?void 0:o.preventCommitWhileValidating]),v=r.useCallback((function(e,n){if(e.isEditable){var r=t.current.getRowParams(e.id);t.current.publishEvent("rowEditStart",r,n)}}),[t]),g=r.useCallback((function(e){var n=t.current.getRow(e.id),r=t.current.getEditRowsModel()[e.id];Object.keys(r).forEach(function(){var o=Object(ke.a)(Object(Ce.a)().mark((function o(i){var a,s,l;return Object(Ce.a)().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(!(a=t.current.getColumn(i)).preProcessEditCellProps){o.next=9;break}return s=i===e.field?e.props:r[i],o.next=5,Promise.resolve(a.preProcessEditCellProps({id:e.id,row:n,props:s}));case 5:l=o.sent,t.current.unstable_setEditCellProps({id:e.id,field:i,props:l}),o.next=10;break;case 9:i===e.field&&t.current.unstable_setEditCellProps(e);case 10:case"end":return o.stop()}}),o)})));return function(t){return o.apply(this,arguments)}}())}),[t]),m=r.useCallback((function(e){t.current.setRowMode(e.id,Wn.Edit)}),[t]),b=r.useCallback((function(e,n){t.current.setRowMode(e.id,Wn.View),"Enter"===n.key&&t.current.publishEvent("cellNavigationKeyDown",e,n)}),[t]),y=r.useCallback((function(e){var n=t.current.getEditRowsModel()[e];if(!n)throw new Error("MUI: Row at id: ".concat(e," is not being edited."));var r=t.current.getRow(e);if(r){var o=s({},r);Object.keys(n).forEach((function(e){var r=t.current.getColumn(e),i=n[e].value;r.valueSetter?o=r.valueSetter({row:o,value:i}):o[e]=i})),t.current.updateRows([o])}}),[t]),x=r.useCallback((function(t){a.current=t}),[]),w=function(){var e=Object(ke.a)(Object(Ce.a)().mark((function e(n,r){return Object(Ce.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.cellMode!==Un.View){e.next=2;break}return e.abrupt("return");case 2:a.current=null,i.current=setTimeout(Object(ke.a)(Object(Ce.a)().mark((function e(){var o,i;return Object(Ce.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((null==(o=a.current)?void 0:o.id)===n.id){e.next=5;break}return e.next=3,t.current.commitRowChange(n.id,r);case 3:i=t.current.getRowParams(n.id),t.current.publishEvent("rowEditStop",i,r);case 5:case"end":return e.stop()}}),e)}))));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),O=Object(mt.a)((function(t,e){w(t,e)})),S=Object(mt.a)((function(){var e=Kr(t);if(e){var n=t.current.getCellParams(e.id,e.field);w(n,{})}}));ie(t,"cellKeyDown",c(h)),ie(t,"cellDoubleClick",c(v)),ie(t,"editCellPropsChange",c(g)),ie(t,"rowEditStart",c(m)),ie(t,"rowEditStop",c(b)),ie(t,"rowEditCommit",c(y)),ie(t,"cellFocusIn",c(x)),ie(t,"cellFocusOut",c(O)),ie(t,"columnHeaderDragStart",c(S)),se(t,"rowEditCommit",e.onRowEditCommit),se(t,"rowEditStart",e.onRowEditStart),se(t,"rowEditStop",e.onRowEditStop)}(t,e);var i=r.useRef({});t.current.unstable_registerControlState({stateId:"editRows",propModel:e.editRowsModel,propOnChange:e.onEditRowsModelChange,stateSelector:Qo,changeEvent:"editRowsModelChange"});var l=r.useCallback((function(t){return!t.rowNode.isAutoGenerated&&!!t.colDef.editable&&!!t.colDef.renderEditCell&&(!e.isCellEditable||e.isCellEditable(t))}),[e.isCellEditable]),c=function(t,e,n,r){if(n){if(i.current[t]||(i.current[t]={}),i.current[t][e]){var o=Object(a.a)(i.current[t][e],1)[0];clearTimeout(o)}var s=setTimeout((function(){r(),delete i.current[t][e]}),n);i.current[t][e]=[s,function(){r();var n=Object(a.a)(i.current[t][e],1)[0];clearTimeout(n),delete i.current[t][e]}]}else r()},u=r.useCallback((function(t,e){if(i.current[t])if(e){if(i.current[t][e]){(0,Object(a.a)(i.current[t][e],2)[1])()}}else Object.keys(i.current[t]).forEach((function(e){(0,Object(a.a)(i.current[t][e],2)[1])()}))}),[]),d=r.useCallback((function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};c(n.id,n.field,n.debounceMs,(function(){var o;if(null!=(o=e.experimentalFeatures)&&o.preventCommitWhileValidating)return"row"===e.editMode?t.current.unstable_setRowEditingEditCellValue(n):t.current.unstable_setCellEditingEditCellValue(n);var i={id:n.id,field:n.field,props:{value:n.value}};return t.current.publishEvent("editCellPropsChange",i,r)}))}),[t,e.editMode,null==(n=e.experimentalFeatures)?void 0:n.preventCommitWhileValidating]),f=r.useCallback((function(e,n,r){var o=t.current.getColumn(n);return o.valueParser?o.valueParser(r,t.current.getCellParams(e,n)):r}),[t]),p=r.useCallback((function(e){var n=e.id,r=e.field,i=e.props;return o.debug("Setting cell props on id: ".concat(n," field: ").concat(r)),t.current.setState((function(t){var e=s({},t.editRows);return e[n]=s({},t.editRows[n]),e[n][r]=s({},i,{value:f(n,r,i.value)}),s({},t,{editRows:e})})),t.current.forceUpdate(),Qo(t.current.state)[n][r]}),[t,o,f]),v=r.useCallback((function(e){Qo(t.current.state)!==e&&(o.debug("Setting editRows model"),t.current.setState((function(t){return s({},t,{editRows:e})})),t.current.forceUpdate())}),[t,o]),g=r.useCallback((function(){return Qo(t.current.state)}),[t]),m=r.useCallback((function(t,e){var n=e.detail>1;t.isEditable&&t.cellMode===Un.View&&n&&e.preventDefault()}),[]);ie(t,"cellMouseDown",m),se(t,"editCellPropsChange",e.onEditCellPropsChange),Qt(t,{isCellEditable:l,setEditRowsModel:v,getEditRowsModel:g,setEditCellValue:d,unstable_setEditCellProps:p,unstable_parseValue:f,unstable_runPendingEditCellValueMutation:u}),r.useEffect((function(){void 0!==e.editRowsModel&&t.current.setEditRowsModel(e.editRowsModel)}),[t,e.editRowsModel])}!function(t){t.enterKeyDown="enterKeyDown",t.cellDoubleClick="cellDoubleClick",t.printableKeyDown="printableKeyDown",t.deleteKeyDown="deleteKeyDown"}(ti||(ti={})),function(t){t.cellFocusOut="cellFocusOut",t.escapeKeyDown="escapeKeyDown",t.enterKeyDown="enterKeyDown",t.tabKeyDown="tabKeyDown",t.shiftTabKeyDown="shiftTabKeyDown"}(ei||(ei={}));var oi,ii,ai=["id","field"],si=["id","field"],li=S(["MUI: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.","To handle the error pass a callback to the `onProcessRowUpdateError` prop, e.g. `<DataGrid onProcessRowUpdateError={(error) => ...} />`.","For more detail, see http://mui.com/components/data-grid/editing/#persistence."],"error");!function(t){t.enterKeyDown="enterKeyDown",t.cellDoubleClick="cellDoubleClick",t.printableKeyDown="printableKeyDown",t.deleteKeyDown="deleteKeyDown"}(oi||(oi={})),function(t){t.rowFocusOut="rowFocusOut",t.escapeKeyDown="escapeKeyDown",t.enterKeyDown="enterKeyDown",t.tabKeyDown="tabKeyDown",t.shiftTabKeyDown="shiftTabKeyDown"}(ii||(ii={}));var ci=["id"],ui=["id"],di=S(["MUI: A call to `processRowUpdate` threw an error which was not handled because `onProcessRowUpdateError` is missing.","To handle the error pass a callback to the `onProcessRowUpdateError` prop, e.g. `<DataGrid onProcessRowUpdateError={(error) => ...} />`.","For more detail, see http://mui.com/components/data-grid/editing/#persistence."],"error"),fi=function(t){return s({},t,{editRows:{}})},pi=function(t,e){!function(t,e){var n=r.useState({}),o=Object(a.a)(n,2),i=o[0],c=o[1],u=r.useRef({}),d=e.processRowUpdate,f=e.onProcessRowUpdateError,p=e.cellModesModel,v=e.onCellModesModelChange,g=e.signature,m=function(t){return function(){e.editMode===Vn.Cell&&t.apply(void 0,arguments)}},b=r.useCallback((function(e,n){var r=t.current.getCellParams(e,n);if(!t.current.isCellEditable(r))throw new Error("MUI: The cell with id=".concat(e," and field=").concat(n," is not editable."))}),[t]),y=r.useCallback((function(e,n,r){if(t.current.getCellMode(e,n)!==r)throw new Error("MUI: The cell with id=".concat(e," and field=").concat(n," is not in ").concat(r," mode."))}),[t]),x=r.useCallback((function(e,n){if(e.isEditable&&e.cellMode!==Un.Edit){var r=s({},e,{reason:ti.cellDoubleClick});t.current.publishEvent("cellEditStart",r,n)}}),[t]),w=r.useCallback((function(e,n){if(e.cellMode!==Un.View){var r=s({},e,{reason:ei.cellFocusOut});t.current.publishEvent("cellEditStop",r,n)}}),[t]),O=r.useCallback((function(e,n){if(e.cellMode===Un.Edit){if(229===n.which)return;var r;if("Escape"===n.key?r=ei.escapeKeyDown:"Enter"===n.key?r=ei.enterKeyDown:"Tab"===n.key&&(r=n.shiftKey?ei.shiftTabKeyDown:ei.tabKeyDown,n.preventDefault()),r){var o=s({},e,{reason:r});t.current.publishEvent("cellEditStop",o,n)}}else if(e.isEditable){var i;if(Zn(n.key)){if(n.ctrlKey&&"v"!==n.key||n.metaKey&&"v"!==n.key||n.altKey)return;i=ti.printableKeyDown}else"Enter"===n.key?i=ti.enterKeyDown:"Delete"===n.key&&(i=ti.deleteKeyDown);if(i){var a=s({},e,{reason:i});t.current.publishEvent("cellEditStart",a,n)}}}),[t]),S=r.useCallback((function(e){var n=e.id,r=e.field,o=e.reason,i={id:n,field:r};o!==ti.deleteKeyDown&&o!==ti.printableKeyDown||(i.deleteValue=!0),t.current.startCellEditMode(i)}),[t]),j=r.useCallback((function(e){var n,r=e.id,o=e.field,i=e.reason;i===ei.enterKeyDown?n="below":i===ei.tabKeyDown?n="right":i===ei.shiftTabKeyDown&&(n="left");var a="escapeKeyDown"===i;Qo(t.current.state)[r][o].isProcessingProps&&(a=!0),t.current.stopCellEditMode({id:r,field:o,ignoreModifications:a,cellToFocusAfter:n})}),[t]);ie(t,"cellDoubleClick",m(x)),ie(t,"cellFocusOut",m(w)),ie(t,"cellKeyDown",m(O)),ie(t,"cellEditStart",m(S)),ie(t,"cellEditStop",m(j)),se(t,"cellEditStart",e.onCellEditStart),se(t,"cellEditStop",e.onCellEditStop);var C=r.useCallback((function(e,n){var r=Qo(t.current.state);return r[e]&&r[e][n]?Un.Edit:Un.View}),[t]),k=r.useCallback((function(n){var r=n!==e.cellModesModel;if(v&&r){var o=g===Jt.DataGridPro?{api:t.current}:{};v(n,o)}e.cellModesModel&&r||(c(n),t.current.publishEvent("cellModesModelChange",n))}),[t,v,e.cellModesModel,g]),E=r.useCallback((function(t,e,n){var r=s({},i);if(null!==n)r[t]=s({},r[t],Object(h.a)({},e,s({},n)));else{var o=l(i[t],[e].map(fe));r[t]=o,0===Object.keys(r[t]).length&&delete r[t]}k(r)}),[i,k]),P=r.useCallback((function(e,n,r){t.current.setState((function(t){var o=s({},t.editRows);return null!==r?o[e]=s({},o[e],Object(h.a)({},n,s({},r))):(delete o[e][n],0===Object.keys(o[e]).length&&delete o[e]),s({},t,{editRows:o})})),t.current.forceUpdate()}),[t]),_=r.useCallback((function(t){var e=t.id,n=t.field,r=l(t,ai);b(e,n),y(e,n,Un.View),E(e,n,s({mode:Un.Edit},r))}),[b,y,E]),M=r.useCallback((function(e){var n=e.id,r=e.field,o={value:e.deleteValue?"":t.current.getCellValue(n,r),error:!1,isProcessingProps:!1};P(n,r,o),t.current.setCellFocus(n,r)}),[t,P]),T=r.useCallback((function(t){var e=t.id,n=t.field,r=l(t,si);y(e,n,Un.Edit),E(e,n,s({mode:Un.View},r))}),[y,E]),A=r.useCallback(function(){var e=Object(ke.a)(Object(Ce.a)().mark((function e(n){var r,o,i,a,s,l,c,p,h,v,g,m,b;return Object(Ce.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.id,o=n.field,i=n.ignoreModifications,a=n.cellToFocusAfter,s=void 0===a?"none":a,y(r,o,Un.Edit),t.current.unstable_runPendingEditCellValueMutation(r,o),l=function(){"none"!==s&&t.current.unstable_moveFocusToRelativeCell(r,o,s),P(r,o,null),E(r,o,null)},!i){e.next=7;break}return l(),e.abrupt("return");case 7:if(c=Qo(t.current.state),p=c[r][o],h=p.error,v=p.isProcessingProps,!h&&!v){e.next=12;break}return u.current[r][o].mode=Un.Edit,e.abrupt("return");case 12:if(g=t.current.unstable_getRowWithUpdatedValuesFromCellEditing(r,o),d){m=function(t){u.current[r][o].mode=Un.Edit,f?f(t):li()};try{b=t.current.getRow(r),Promise.resolve(d(g,b)).then((function(e){t.current.updateRows([e]),l()})).catch(m)}catch(x){m(x)}}else t.current.updateRows([g]),l();case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[t,f,d,y,E,P]),R=r.useCallback(function(){var e=Object(ke.a)(Object(Ce.a)().mark((function e(n){var r,o,i,a,l,c,u,d,f;return Object(Ce.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.id,o=n.field,i=n.value,b(r,o),y(r,o,Un.Edit),a=t.current.getColumn(o),l=t.current.getRow(r),c=i,a.valueParser&&(c=a.valueParser(i,t.current.getCellParams(r,o))),u=Qo(t.current.state),d=s({},u[r][o],{value:c}),!a.preProcessEditCellProps){e.next=16;break}return f=i!==u[r][o].value,d=s({},d,{isProcessingProps:!0}),P(r,o,d),e.next=15,Promise.resolve(a.preProcessEditCellProps({id:r,row:l,props:d,hasChanged:f}));case 15:d=e.sent;case 16:if(t.current.getCellMode(r,o)!==Un.View){e.next=18;break}return e.abrupt("return",!1);case 18:return u=Qo(t.current.state),(d=s({},d,{isProcessingProps:!1})).value=a.preProcessEditCellProps?u[r][o].value:c,P(r,o,d),u=Qo(t.current.state),e.abrupt("return",!u[r][o].error);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[t,b,y,P]),D=r.useCallback((function(e,n){var r=t.current.getColumn(n),o=Qo(t.current.state)[e][n].value,i=t.current.getRow(e);return r.valueSetter?r.valueSetter({value:o,row:i}):s({},i,Object(h.a)({},n,o))}),[t]);Qt(t,{getCellMode:C,startCellEditMode:_,stopCellEditMode:T,unstable_setCellEditingEditCellValue:R,unstable_getRowWithUpdatedValuesFromCellEditing:D}),r.useEffect((function(){p&&k(p)}),[p,k]),r.useEffect((function(){var e=X(t),n=u.current;u.current=i,Object.entries(i).forEach((function(t){var r=Object(a.a)(t,2),o=r[0],i=r[1];Object.entries(i).forEach((function(t){var r,i,l,c=Object(a.a)(t,2),u=c[0],d=c[1],f=(null==(r=n[o])||null==(i=r[u])?void 0:i.mode)||Un.View,p=null!=(l=e[o])?l:o;d.mode===Un.Edit&&f===Un.View?M(s({id:p,field:u},d)):d.mode===Un.View&&f===Un.Edit&&A(s({id:p,field:u},d))}))}))}),[t,i,M,A])}(t,e),function(t,e){var n=r.useState({}),o=Object(a.a)(n,2),i=o[0],c=o[1],u=r.useRef({}),d=r.useRef(null),f=r.useRef(null),p=e.processRowUpdate,v=e.onProcessRowUpdateError,g=e.rowModesModel,m=e.onRowModesModelChange,b=e.signature,y=function(t){return function(){e.editMode===Vn.Row&&t.apply(void 0,arguments)}},x=r.useCallback((function(e,n){var r=t.current.getCellParams(e,n);if(!t.current.isCellEditable(r))throw new Error("MUI: The cell with id=".concat(e," and field=").concat(n," is not editable."))}),[t]),w=r.useCallback((function(e,n){if(t.current.getRowMode(e)!==n)throw new Error("MUI: The row with id=".concat(e," is not in ").concat(n," mode."))}),[t]),O=r.useCallback((function(e,n){if(e.isEditable&&t.current.getRowMode(e.id)!==Wn.Edit){var r=s({},t.current.getRowParams(e.id),{field:e.field,reason:oi.cellDoubleClick});t.current.publishEvent("rowEditStart",r,n)}}),[t]),S=r.useCallback((function(t){f.current=t}),[]),j=r.useCallback((function(e,n){e.isEditable&&t.current.getRowMode(e.id)!==Wn.View&&(f.current=null,d.current=setTimeout((function(){var r;if(d.current=null,(null==(r=f.current)?void 0:r.id)!==e.id){if(!t.current.getRow(e.id))return;var o=s({},t.current.getRowParams(e.id),{field:e.field,reason:ii.rowFocusOut});t.current.publishEvent("rowEditStop",o,n)}})))}),[t]);r.useEffect((function(){return function(){clearTimeout(d.current)}}),[]);var C=r.useCallback((function(e,n){if(e.cellMode===Wn.Edit){if(229===n.which)return;var r;if("Escape"===n.key)r=ii.escapeKeyDown;else if("Enter"===n.key)r=ii.enterKeyDown;else if("Tab"===n.key){var o=P(t).filter((function(n){return t.current.isCellEditable(t.current.getCellParams(e.id,n))}));n.shiftKey?e.field===o[0]&&(r=ii.shiftTabKeyDown):e.field===o[o.length-1]&&(r=ii.tabKeyDown),r&&n.preventDefault()}if(r){var i=s({},t.current.getRowParams(e.id),{reason:r,field:e.field});t.current.publishEvent("rowEditStop",i,n)}}else if(e.isEditable){var a;if(Zn(n.key)){if(n.ctrlKey&&"v"!==n.key||n.metaKey&&"v"!==n.key||n.altKey)return;a=oi.printableKeyDown}else"Enter"===n.key?a=oi.enterKeyDown:"Delete"===n.key&&(a=oi.deleteKeyDown);if(a){var l=s({},t.current.getRowParams(e.id),{field:e.field,reason:a});t.current.publishEvent("rowEditStart",l,n)}}}),[t]),k=r.useCallback((function(e){var n=e.id,r=e.field,o=e.reason,i={id:n,fieldToFocus:r};o!==oi.deleteKeyDown&&o!==oi.printableKeyDown||(i.deleteValue=!!r),t.current.startRowEditMode(i)}),[t]),E=r.useCallback((function(e){var n,r=e.id,o=e.reason,i=e.field;t.current.unstable_runPendingEditCellValueMutation(r),o===ii.enterKeyDown?n="below":o===ii.tabKeyDown?n="right":o===ii.shiftTabKeyDown&&(n="left");var a="escapeKeyDown"===o,s=Qo(t.current.state);a||(a=Object.values(s[r]).some((function(t){return t.isProcessingProps}))),t.current.stopRowEditMode({id:r,ignoreModifications:a,field:i,cellToFocusAfter:n})}),[t]);ie(t,"cellDoubleClick",y(O)),ie(t,"cellFocusIn",y(S)),ie(t,"cellFocusOut",y(j)),ie(t,"cellKeyDown",y(C)),ie(t,"rowEditStart",y(k)),ie(t,"rowEditStop",y(E)),se(t,"rowEditStart",e.onRowEditStart),se(t,"rowEditStop",e.onRowEditStop);var _=r.useCallback((function(n){if(e.editMode===Vn.Cell)return Wn.View;var r=Qo(t.current.state);return r[n]&&Object.keys(r[n]).length>0?Wn.Edit:Wn.View}),[t,e.editMode]),M=r.useCallback((function(n){var r=n!==e.rowModesModel;if(m&&r){var o=b===Jt.DataGridPro?{api:t.current}:{};m(n,o)}e.rowModesModel&&r||(c(n),t.current.publishEvent("rowModesModelChange",n))}),[t,m,e.rowModesModel,b]),T=r.useCallback((function(t,e){var n=s({},i);null!==e?n[t]=s({},e):delete n[t],M(n)}),[i,M]),A=r.useCallback((function(e,n){t.current.setState((function(t){var r=s({},t.editRows);return null!==n?r[e]=n:delete r[e],s({},t,{editRows:r})})),t.current.forceUpdate()}),[t]),R=r.useCallback((function(e,n,r){t.current.setState((function(t){var o=s({},t.editRows);return null!==r?o[e]=s({},o[e],Object(h.a)({},n,s({},r))):(delete o[e][n],0===Object.keys(o[e]).length&&delete o[e]),s({},t,{editRows:o})})),t.current.forceUpdate()}),[t]),D=r.useCallback((function(t){var e=t.id,n=l(t,ci);w(e,Wn.View),T(e,s({mode:Wn.Edit},n))}),[w,T]),I=r.useCallback((function(e){var n=e.id,r=e.fieldToFocus,o=e.deleteValue,i=P(t).reduce((function(e,i){if(!t.current.getCellParams(n,i).isEditable)return e;var a=o&&r===i;return e[i]={value:a?"":t.current.getCellValue(n,i),error:!1,isProcessingProps:!1},e}),{});A(n,i),r&&t.current.setCellFocus(n,r)}),[t,A]),N=r.useCallback((function(t){var e=t.id,n=l(t,ui);w(e,Wn.Edit),T(e,s({mode:Wn.View},n))}),[w,T]),L=r.useCallback((function(e){var n=e.id,r=e.ignoreModifications,o=e.field,i=e.cellToFocusAfter,a=void 0===i?"none":i;t.current.unstable_runPendingEditCellValueMutation(n);var s=function(){"none"!==a&&o&&t.current.unstable_moveFocusToRelativeCell(n,o,a),A(n,null),T(n,null)};if(r)s();else{var l=Qo(t.current.state),c=t.current.getRow(n);if(Object.values(l[n]).some((function(t){return t.isProcessingProps})))u.current[n].mode=Wn.Edit;else if(Object.values(l[n]).some((function(t){return t.error})))u.current[n].mode=Wn.Edit;else{var d=t.current.unstable_getRowWithUpdatedValuesFromRowEditing(n);if(p){var f=function(t){u.current[n].mode=Wn.Edit,v?v(t):di()};try{Promise.resolve(p(d,c)).then((function(e){t.current.updateRows([e]),s()})).catch(f)}catch(h){f(h)}}else t.current.updateRows([d]),s()}}}),[t,v,p,A,T]),F=r.useCallback((function(e){var n=e.id,r=e.field,o=e.value;x(n,r);var i=t.current.getColumn(r),c=t.current.getRow(n),u=o;i.valueParser&&(u=i.valueParser(o,t.current.getCellParams(n,r)));var d=Qo(t.current.state),f=s({},d[n][r],{value:u});return i.preProcessEditCellProps||R(n,r,f),new Promise((function(e){var o=[];if(i.preProcessEditCellProps){var p=f.value!==d[n][r].value;f=s({},f,{isProcessingProps:!0}),R(n,r,f);var h=l(d[n],[r].map(fe)),v=Promise.resolve(i.preProcessEditCellProps({id:n,row:c,props:f,hasChanged:p,otherFieldsProps:h})).then((function(o){t.current.getRowMode(n)!==Wn.View?(d=Qo(t.current.state),(o=s({},o,{isProcessingProps:!1})).value=i.preProcessEditCellProps?d[n][r].value:u,R(n,r,o)):e(!1)}));o.push(v)}Object.entries(d[n]).forEach((function(i){var u=Object(a.a)(i,2),f=u[0],p=u[1];if(f!==r){var h=t.current.getColumn(f);if(h.preProcessEditCellProps){p=s({},p,{isProcessingProps:!0}),R(n,f,p);var v=l((d=Qo(t.current.state))[n],[f].map(fe)),g=Promise.resolve(h.preProcessEditCellProps({id:n,row:c,props:p,hasChanged:!1,otherFieldsProps:v})).then((function(r){t.current.getRowMode(n)!==Wn.View?(r=s({},r,{isProcessingProps:!1}),R(n,f,r)):e(!1)}));o.push(g)}}})),Promise.all(o).then((function(){t.current.getRowMode(n)===Wn.Edit?(d=Qo(t.current.state),e(!d[n][r].error)):e(!1)}))}))}),[t,x,R]),B=r.useCallback((function(e){var n=Qo(t.current.state),r=s({},t.current.getRow(e));return Object.entries(n[e]).forEach((function(e){var n=Object(a.a)(e,2),o=n[0],i=n[1],s=t.current.getColumn(o);s.valueSetter?r=s.valueSetter({value:i.value,row:r}):r[o]=i.value})),r}),[t]);Qt(t,{getRowMode:_,startRowEditMode:D,stopRowEditMode:N,unstable_setRowEditingEditCellValue:F,unstable_getRowWithUpdatedValuesFromRowEditing:B}),r.useEffect((function(){g&&M(g)}),[g,M]),r.useEffect((function(){var e=X(t),n=u.current;u.current=i,Object.entries(i).forEach((function(t){var r,o,i=Object(a.a)(t,2),l=i[0],c=i[1],u=(null==(r=n[l])?void 0:r.mode)||Wn.View,d=null!=(o=e[l])?o:l;c.mode===Wn.Edit&&u===Wn.View?I(s({id:d},c)):c.mode===Wn.View&&u===Wn.Edit&&L(s({id:d},c))}))}),[t,i,I,L])}(t,e);var n=r.useRef({}),o=e.isCellEditable,i=r.useCallback((function(t){return!t.rowNode.isAutoGenerated&&(!!t.colDef.editable&&(!!t.colDef.renderEditCell&&(!o||o(t))))}),[o]);r.useEffect((function(){var t=n.current;return function(){Object.entries(t).forEach((function(e){var n=Object(a.a)(e,2),r=n[0],o=n[1];Object.keys(o).forEach((function(e){var n=Object(a.a)(t[r][e],1)[0];clearTimeout(n),delete t[r][e]}))}))}}),[]);var c=r.useCallback((function(t,e){if(n.current[t])if(e){if(n.current[t][e]){(0,Object(a.a)(n.current[t][e],2)[1])()}}else Object.keys(n.current[t]).forEach((function(e){(0,Object(a.a)(n.current[t][e],2)[1])()}))}),[]),u=r.useCallback((function(r){var o=r.id,i=r.field,s=r.debounceMs;return new Promise((function(l){!function(t,e,r,o){if(r){if(n.current[t]||(n.current[t]={}),n.current[t][e]){var i=Object(a.a)(n.current[t][e],1)[0];clearTimeout(i)}var s=setTimeout((function(){o(),delete n.current[t][e]}),r);n.current[t][e]=[s,function(){var r=Object(a.a)(n.current[t][e],1)[0];clearTimeout(r),o(),delete n.current[t][e]}]}else o()}(o,i,s,Object(ke.a)(Object(Ce.a)().mark((function n(){var a,s;return Object(Ce.a)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(a=e.editMode===Vn.Row?t.current.unstable_setRowEditingEditCellValue:t.current.unstable_setCellEditingEditCellValue,t.current.getCellMode(o,i)!==Un.Edit){n.next=6;break}return n.next=4,a(r);case 4:s=n.sent,l(s);case 6:case"end":return n.stop()}}),n)}))))}))}),[t,e.editMode]),d=r.useCallback((function(n,r){return e.editMode===Vn.Cell?t.current.unstable_getRowWithUpdatedValuesFromCellEditing(n,r):t.current.unstable_getRowWithUpdatedValuesFromRowEditing(n)}),[t,e.editMode]);Qt(t,{isCellEditable:i,setEditCellValue:u,unstable_runPendingEditCellValueMutation:c,unstable_getRowWithUpdatedValues:d})},hi=["rowsBeforePartialUpdates"];var vi=function(t,e,n){var r=e?e(t):t.id;return function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"A row was provided without id in the rows prop:";if(null==t)throw new Error(["MUI: The data grid component requires all rows to have a unique `id` property.","Alternatively, you can use the `getRowId` prop to specify a custom id for each row.",n,JSON.stringify(e)].join("\n"))}(r,t,n),r},gi=function(t){for(var e=t.rows,n=t.getRowId,r={rowsBeforePartialUpdates:e,loadingPropBeforePartialUpdates:t.loading,idRowsLookup:{},idToIdLookup:{},ids:[]},o=0;o<e.length;o+=1){var i=e[o],a=vi(i,n);r.idRowsLookup[a]=i,r.idToIdLookup[a]=a,r.ids.push(a)}return r},mi=function(t){var e=t.apiRef,n=t.previousTree,r=t.rowCountProp,o=t.loadingProp,i=l(e.current.unstable_caches.rows,hi),a=null!=r?r:0,c=e.current.unstable_applyStrategyProcessor("rowTreeCreation",s({},i,{previousTree:n})),u=e.current.unstable_applyPipeProcessors("hydrateRows",c),d=1===u.treeDepth?u.ids.length:Object.values(u.tree).filter((function(t){return null==t.parent})).length;return s({},u,{groupingResponseBeforeRowHydration:c,loading:o,totalRowCount:Math.max(a,u.ids.length),totalTopLevelRowCount:Math.max(a,d)})},bi=function t(e,n,r){var o,i=null==(o=e[n])?void 0:o.children;if(null==i)return[];for(var a=[],s=0;s<i.length;s+=1){var l=i[s],c=e[l];r&&c.isAutoGenerated||a.push(l),a.push.apply(a,Object(qt.a)(t(e,c.id,r)))}return a},yi=function(t,e,n){return n.current.unstable_caches.rows=gi({rows:e.rows,getRowId:e.getRowId,loading:e.loading}),s({},t,{rows:mi({apiRef:n,previousTree:null,rowCountProp:e.rowCount,loadingProp:e.loading})})},xi=function(t,e){var n=st(t,"useGridRows"),o=zo(t,e),i=r.useRef(Date.now()),a=r.useRef(null),l=r.useCallback((function(e){var n;return null!=(n=Y(t)[e])?n:null}),[t]),c=r.useMemo((function(){return o.rows.reduce((function(t,e,n){return t[e.id]=n,t}),{})}),[o.rows]),u=r.useCallback((function(n,r){var o=function(){a.current=null,i.current=Date.now(),t.current.setState((function(n){return s({},n,{rows:mi({apiRef:t,previousTree:K(t),rowCountProp:e.rowCount,loadingProp:e.loading})})})),t.current.publishEvent("rowsSet"),t.current.forceUpdate()};if(a.current&&(clearTimeout(a.current),a.current=null),t.current.unstable_caches.rows=n,r){var l=e.throttleRowsMs-(Date.now()-i.current);l>0?a.current=setTimeout(o,l):o()}else o()}),[e.throttleRowsMs,e.rowCount,e.loading,t]),d=r.useCallback((function(t){n.debug("Updating all rows, new length ".concat(t.length)),u(gi({rows:t,getRowId:e.getRowId,loading:e.loading}),!0)}),[n,e.getRowId,e.loading,u]),f=r.useCallback((function(n){if(e.signature===Jt.DataGrid&&n.length>1)throw new Error(["MUI: You can't update several rows at once in `apiRef.current.updateRows` on the DataGrid.","You need to upgrade to DataGridPro or DataGridPremium component to unlock this feature."].join("\n"));var r=new Map;n.forEach((function(t){var n=vi(t,e.getRowId,"A row was provided without id when calling updateRows():");r.has(n)?r.set(n,s({},r.get(n),t)):r.set(n,t)}));var o=[],i=t.current.unstable_caches.rows,a={rowsBeforePartialUpdates:i.rowsBeforePartialUpdates,loadingPropBeforePartialUpdates:i.loadingPropBeforePartialUpdates,idRowsLookup:s({},i.idRowsLookup),idToIdLookup:s({},i.idToIdLookup),ids:Object(qt.a)(i.ids)};r.forEach((function(e,n){return"delete"===e._action?(delete a.idRowsLookup[n],delete a.idToIdLookup[n],void o.push(n)):t.current.getRow(n)?void(a.idRowsLookup[n]=s({},t.current.getRow(n),e)):(a.idRowsLookup[n]=e,a.idToIdLookup[n]=n,void a.ids.push(n))})),o.length>0&&(a.ids=a.ids.filter((function(t){return!o.includes(t)}))),u(a,!0)}),[e.signature,e.getRowId,u,t]),p=r.useCallback((function(){var e=Q(t),n=Y(t);return new Map(e.map((function(t){return[t,n[t]]})))}),[t]),v=r.useCallback((function(){return W(t)}),[t]),g=r.useCallback((function(){return Q(t)}),[t]),m=r.useCallback((function(t){return c[t]}),[c]),b=r.useCallback((function(e,n){var r=t.current.getRowNode(e);if(!r)throw new Error("MUI: No row with id #".concat(e," found"));var o=s({},r,{childrenExpanded:n});t.current.setState((function(t){return s({},t,{rows:s({},t.rows,{tree:s({},t.rows.tree,Object(h.a)({},e,o))})})})),t.current.forceUpdate(),t.current.publishEvent("rowExpansionChange",o)}),[t]),y=r.useCallback((function(e){var n;return null!=(n=K(t)[e])?n:null}),[t]),x=r.useCallback((function(e){var n,r=e.skipAutoGeneratedRows,o=void 0===r||r,i=e.groupId,a=e.applySorting,s=e.applyFiltering,l=K(t);if(a){var c=l[i];if(!c)return[];var u=St(t);n=[];for(var d=u.findIndex((function(t){return t===i}))+1,f=d;f<u.length&&l[u[f]].depth>c.depth;f+=1){var p=u[f],h=l[p];o&&h.isAutoGenerated||n.push(p)}}else n=bi(l,i,o);if(s){var v=Mt(t);n=n.filter((function(t){return!1!==v[t]}))}return n}),[t]),w={getRow:l,getRowModels:p,getRowsCount:v,getAllRowIds:g,setRows:d,setRowIndex:r.useCallback((function(e,r){var o=Q(t),i=o.findIndex((function(t){return t===e}));if(-1!==i&&i!==r){n.debug("Moving row ".concat(e," to index ").concat(r));var a=Object(qt.a)(o);a.splice(r,0,a.splice(i,1)[0]),t.current.setState((function(t){return s({},t,{rows:s({},t.rows,{ids:a})})})),t.current.applySorting()}}),[t,n]),updateRows:f,setRowChildrenExpansion:b,getRowNode:y,getRowIndexRelativeToVisibleRows:m,getRowGroupChildren:x},O=r.useCallback((function(){var r;n.info("Row grouping pre-processing have changed, regenerating the row tree"),r=t.current.unstable_caches.rows.rowsBeforePartialUpdates===e.rows?t.current.unstable_caches.rows:gi({rows:e.rows,getRowId:e.getRowId,loading:e.loading}),u(r,!1)}),[n,t,e.rows,e.getRowId,e.loading,u]),S=r.useCallback((function(t){"rowTreeCreation"===t&&O()}),[O]),j=r.useCallback((function(){t.current.unstable_getActiveStrategy("rowTree")!==$(t)&&O()}),[t,O]);ie(t,"activeStrategyProcessorChange",S),ie(t,"strategyAvailabilityChange",j);var C=r.useCallback((function(){t.current.setState((function(e){return s({},e,{rows:s({},e.rows,t.current.unstable_applyPipeProcessors("hydrateRows",e.rows.groupingResponseBeforeRowHydration))})})),t.current.publishEvent("rowsSet"),t.current.forceUpdate()}),[t]);je(t,"hydrateRows",C),Qt(t,w),r.useEffect((function(){return function(){null!==a.current&&clearTimeout(a.current)}}),[]);var k=r.useRef(!0);r.useEffect((function(){if(k.current)k.current=!1;else{var r=t.current.unstable_caches.rows.rowsBeforePartialUpdates===e.rows,o=t.current.unstable_caches.rows.loadingPropBeforePartialUpdates===e.loading;r?o||(t.current.setState((function(t){return s({},t,{rows:s({},t.rows,{loading:e.loading})})})),t.current.unstable_caches.rows.loadingPropBeforePartialUpdates=e.loading,t.current.forceUpdate()):(n.debug("Updating all rows, new length ".concat(e.rows.length)),u(gi({rows:e.rows,getRowId:e.getRowId,loading:e.loading}),!1))}}),[e.rows,e.rowCount,e.getRowId,e.loading,n,u,t])},wi=function(t){for(var e=t.ids,n=t.idRowsLookup,r=t.idToIdLookup,o=t.previousTree,i={},a=0;a<e.length;a+=1){var s=e[a];o&&o[s]&&0===o[s].depth&&null==o[s].parent?i[s]=o[s]:i[s]={id:s,depth:0,parent:null,groupingKey:"",groupingField:null}}return{groupingName:pe,tree:i,treeDepth:1,idRowsLookup:n,idToIdLookup:r,ids:e}};function Oi(t,e){return t.closest(".".concat(e))}function Si(t){return t.replace(/["\\]/g,"\\$&")}function ji(t,e){return t.querySelector(".".concat(x.row,'[data-id="').concat(Si(String(e)),'"]'))}S(["MUI: You are calling getValue. This method is deprecated and will be removed in the next major version.","Instead, you can access the data from `params.row`."]);function Ci(t){var e=r.useCallback((function(e){return{field:e,colDef:t.current.getColumn(e)}}),[t]),n=r.useCallback((function(){var e;return(e=t.current).getCellValue.apply(e,arguments)}),[t]),o=r.useCallback((function(e){var r=t.current.getRow(e);if(!r)throw new Error("No row with id #".concat(e," found"));return{id:e,columns:t.current.getAllColumns(),row:r,getValue:n}}),[t,n]),i=r.useCallback((function(e,r){var o=t.current.getRow(e),i=t.current.getRowNode(e);if(!o||!i)throw new Error("No row with id #".concat(e," found"));var a=Kr(t),s=Qr(t);return{id:e,field:r,row:o,rowNode:i,value:o[r],colDef:t.current.getColumn(r),cellMode:t.current.getCellMode(e,r),getValue:n,api:t.current,hasFocus:null!==a&&a.field===r&&a.id===e,tabIndex:s&&s.field===r&&s.id===e?0:-1}}),[t,n]),a=r.useCallback((function(e,r){var o=t.current.getColumn(r),i=t.current.getCellValue(e,r),a=t.current.getRow(e),s=t.current.getRowNode(e);if(!a||!s)throw new Error("No row with id #".concat(e," found"));var l=Kr(t),c=Qr(t),u={id:e,field:r,row:a,rowNode:s,colDef:o,cellMode:t.current.getCellMode(e,r),getValue:n,hasFocus:null!==l&&l.field===r&&l.id===e,tabIndex:c&&c.field===r&&c.id===e?0:-1,value:i,formattedValue:i};return o.valueFormatter&&(u.formattedValue=o.valueFormatter({id:e,field:u.field,value:u.value,api:t.current})),u.isEditable=o&&t.current.isCellEditable(u),u}),[t,n]),s=r.useCallback((function(e,n){var r=t.current.getColumn(n);if(!r||!r.valueGetter){var o=t.current.getRow(e);if(!o)throw new Error("No row with id #".concat(e," found"));return o[n]}return r.valueGetter(i(e,n))}),[t,i]),l=r.useCallback((function(e){return t.current.rootElementRef.current?function(t,e){return t.querySelector('[role="columnheader"][data-field="'.concat(Si(e),'"]'))}(t.current.rootElementRef.current,e):null}),[t]),c=r.useCallback((function(e){return t.current.rootElementRef.current?ji(t.current.rootElementRef.current,e):null}),[t]),u=r.useCallback((function(e,n){return t.current.rootElementRef.current?function(t,e){var n=e.id,r=e.field,o=ji(t,n);return o?o.querySelector(".".concat(x.cell,'[data-field="').concat(Si(r),'"]')):null}(t.current.rootElementRef.current,{id:e,field:n}):null}),[t]);Qt(t,{getCellValue:s,getCellParams:a,getCellElement:u,getRowParams:o,getRowElement:c,getColumnHeaderParams:e,getColumnHeaderElement:l})}var ki=function(t,e){return null==t||Array.isArray(t)?t:e&&e[0]===t?e:[t]},Ei=function(t,e){var n;return s({},t,{selection:null!=(n=ki(e.selectionModel))?n:[]})},Pi=function(t,e){var n=function(t){var e=t.classes;return r.useMemo((function(){return Object(p.a)({cellCheckbox:["cellCheckbox"],columnHeaderCheckbox:["columnHeaderCheckbox"]},y,e)}),[e])}({classes:e.classes}),o=r.useCallback((function(r){var o=s({},ho,{cellClassName:n.cellCheckbox,headerClassName:n.columnHeaderCheckbox,headerName:t.current.getLocaleText("checkboxSelectionHeaderName")}),i=e.checkboxSelection,a=null!=r.lookup[po];return i&&!a?(r.lookup[po]=o,r.all=[po].concat(Object(qt.a)(r.all))):!i&&a?(delete r.lookup[po],r.all=r.all.filter((function(t){return t!==po}))):i&&a&&(r.lookup[po]=s({},o,r.lookup[po])),r}),[t,n,e.checkboxSelection]);Se(t,"hydrateColumns",o)},_i=function(t,e){var n,r,o,i,a=null!=(n=null!=(r=e.sortModel)?r:null==(o=e.initialState)||null==(i=o.sorting)?void 0:i.sortModel)?n:[];return s({},t,{sorting:{sortModel:ln(a,e.disableMultipleColumnsSorting),sortedRows:[]}})};function Mi(t){var e=t.clientHeight,n=t.scrollTop,r=t.offsetHeight,o=t.offsetTop,i=o+r;return r>e?o:i-e>n?i-e:o<n?o:void 0}var Ti=n(163);var Ai,Ri=function(t){return s({},t,{rowsMeta:{currentPageTotalHeight:0,positions:[]}})},Di=function(t){var e,n,o=ge(void 0,t);return Pi(o,t),function(t){Mo(t,pe,"rowTreeCreation",wi)}(o),me(Ei,o,t),me(Vr,o,t),me(yi,o,t),me(null!=(e=t.experimentalFeatures)&&e.newEditingApi?fi:ni,o,t),me(Ho,o,t),me(_i,o,t),me(Zo,o,t),me(Fo,o,t),me(Wr,o,t),me(Xo,o,t),me(Ri,o,t),me(we,o,t),function(t,e){var n=st(t,"useGridKeyboardNavigation"),o=zo(t,e),i=r.useCallback((function(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left",a=null==(o=Tt(t)[r])?void 0:o.id,s=t.current.unstable_getCellColSpanInfo(a,e);s&&s.spannedByColSpan&&("left"===i?e=s.leftVisibleCellIndex:"right"===i&&(e=s.rightVisibleCellIndex)),n.debug("Navigating to cell row ".concat(r,", col ").concat(e)),t.current.scrollToIndexes({colIndex:e,rowIndex:r});var l=t.current.getVisibleColumns()[e].field;t.current.setCellFocus(a,l)}),[t,n]),a=r.useCallback((function(e,r){n.debug("Navigating to header col ".concat(e)),t.current.scrollToIndexes({colIndex:e});var o=t.current.getVisibleColumns()[e].field;t.current.setColumnHeaderFocus(o,r)}),[t,n]),s=r.useCallback((function(e,n){var r=t.current.getRootDimensions();if(o.range&&r){var s=t.current.unstable_getViewportPageSize(),l=Tt(t),c=e.field?t.current.getColumnIndex(e.field):0,u=l.findIndex((function(t){return t.id===e.id})),d=o.range.firstRowIndex,f=o.range.lastRowIndex,p=A(t).length-1,h=!0;switch(n.key){case"ArrowDown":case"Enter":u<f&&i(c,u+1);break;case"ArrowUp":u>d?i(c,u-1):a(c,n);break;case"ArrowRight":c<p&&i(c+1,u,"right");break;case"ArrowLeft":c>0&&i(c-1,u);break;case"Tab":n.shiftKey&&c>0?i(c-1,u,"left"):!n.shiftKey&&c<p&&i(c+1,u,"right");break;case" ":if(e.field===Vo)break;var v=e.colDef;if(v&&"treeDataGroup"===v.type)break;!n.shiftKey&&u<f&&i(c,Math.min(u+s,f));break;case"PageDown":u<f&&i(c,Math.min(u+s,f));break;case"PageUp":var g=Math.max(u-s,d);g!==u&&g>=d?i(c,g):a(c,n);break;case"Home":n.ctrlKey||n.metaKey||n.shiftKey?i(0,d):i(0,u);break;case"End":n.ctrlKey||n.metaKey||n.shiftKey?i(p,f):i(p,u);break;default:h=!1}h&&n.preventDefault()}}),[t,o,i,a]),l=r.useCallback((function(e,n){var r,s,l,c,u=n.currentTarget.querySelector(".".concat(x.columnHeaderTitleContainerContent));if((!u||!u.contains(n.target)||e.field===ho.field)&&t.current.getRootDimensions()){var d=t.current.unstable_getViewportPageSize(),f=e.field?t.current.getColumnIndex(e.field):0,p=null!=(r=null==(s=o.range)?void 0:s.firstRowIndex)?r:null,h=null!=(l=null==(c=o.range)?void 0:c.lastRowIndex)?l:null,v=A(t).length-1,g=!0;switch(n.key){case"ArrowDown":null!==p&&i(f,p);break;case"ArrowRight":f<v&&a(f+1,n);break;case"ArrowLeft":f>0&&a(f-1,n);break;case"PageDown":null!==p&&null!==h&&i(f,Math.min(p+d,h));break;case"Home":a(0,n);break;case"End":a(v,n);break;case"Enter":(n.ctrlKey||n.metaKey)&&t.current.toggleColumnMenu(e.field);break;case" ":break;default:g=!1}g&&n.preventDefault()}}),[t,o,i,a]),c=r.useCallback((function(e,n){if(n.currentTarget.contains(n.target)){var r=t.current.getCellParams(e.id,e.field);r.cellMode!==Un.Edit&&nr(n.key)&&t.current.publishEvent("cellNavigationKeyDown",r,n)}}),[t]);ie(t,"cellNavigationKeyDown",s),ie(t,"columnHeaderKeyDown",l),ie(t,"cellKeyDown",c)}(o,t),function(t,e){var n=st(t,"useGridSelection"),o=r.useMemo((function(){return ki(e.selectionModel,to(t.current.state))}),[t,e.selectionModel]),i=r.useRef(null);t.current.unstable_registerControlState({stateId:"selection",propModel:o,propOnChange:e.onSelectionModelChange,stateSelector:to,changeEvent:"selectionChange"});var l=e.checkboxSelection,c=e.disableMultipleSelection,u=e.disableSelectionOnClick,d=e.pagination,f=e.paginationMode,p=e.isRowSelectable,h=!c||l,v=zo(t,e),g=r.useCallback((function(e){var n,r=e,o=null!=(n=i.current)?n:e,a=t.current.isRowSelected(e);if(a){var s=At(t),l=s.findIndex((function(t){return t===o})),c=s.findIndex((function(t){return t===r}));if(l===c)return;r=l>c?s[c+1]:s[c-1]}i.current=e,t.current.selectRowRange({startId:o,endId:r},!a)}),[t]),m=r.useCallback((function(e){to(t.current.state)!==e&&(n.debug("Setting selection model"),t.current.setState((function(t){return s({},t,{selection:e})})),t.current.forceUpdate())}),[t,n]),b=r.useCallback((function(e){return to(t.current.state).includes(e)}),[t]),y=r.useCallback((function(e){var n;return!(p&&!p(t.current.getRowParams(e)))&&"footer"!==(null==(n=t.current.getRowNode(e))?void 0:n.position)}),[t,p]),x=r.useCallback((function(){return no(t)}),[t]),w=r.useCallback((function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t.current.isRowSelectable(e))if(i.current=e,o)n.debug("Setting selection for row ".concat(e)),t.current.setSelectionModel(r?[e]:[]);else{n.debug("Toggling selection for row ".concat(e));var a=to(t.current.state).filter((function(t){return t!==e}));r&&a.push(e),(a.length<2||h)&&t.current.setSelectionModel(a)}}),[t,n,h]),O=r.useCallback((function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n.debug("Setting selection for several rows");var i,a=e.filter((function(e){return t.current.isRowSelectable(e)}));if(o)i=r?a:[];else{var l=s({},ro(t));a.forEach((function(t){r?l[t]=t:delete l[t]})),i=Object.values(l)}(i.length<2||h)&&t.current.setSelectionModel(i)}),[t,n,h]),S=r.useCallback((function(e){var r=e.startId,o=e.endId,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=arguments.length>2?arguments[2]:void 0;if(t.current.getRow(r)&&t.current.getRow(o)){n.debug("Expanding selection from row ".concat(r," to row ").concat(o));var l=At(t),c=l.indexOf(r),u=l.indexOf(o),d=c>u?[u,c]:[c,u],f=Object(a.a)(d,2),p=f[0],h=f[1],v=l.slice(p,h+1);t.current.selectRows(v,i,s)}}),[t,n]);Qt(t,{selectRow:w,selectRows:O,selectRowRange:S,setSelectionModel:m,getSelectedRows:x,isRowSelected:b,isRowSelectable:y});var j=r.useCallback((function(){if(!e.keepNonExistentRowsSelected){var n=to(t.current.state),r=Y(t),o=s({},ro(t)),i=!1;n.forEach((function(t){r[t]||(delete o[t],i=!0)})),i&&t.current.setSelectionModel(Object.values(o))}}),[t,e.keepNonExistentRowsSelected]),C=r.useCallback((function(e,n){var r=n.metaKey||n.ctrlKey,o=!l&&!r&&!rr(n),i=!h||o,a=t.current.isRowSelected(e);i?t.current.selectRow(e,!!o||!a,!0):t.current.selectRow(e,!a,!1)}),[t,h,l]),k=r.useCallback((function(e,n){if(!u&&e.field!==ho.field&&e.field!==Vo){if(e.field&&t.current.getColumn(e.field).type===_r)return;n.shiftKey&&(h||l)?g(e.id):C(e.id,n)}}),[u,h,l,t,g,C]),E=r.useCallback((function(t,e){var n;h&&e.shiftKey&&(null==(n=window.getSelection())||n.removeAllRanges())}),[h]),P=r.useCallback((function(e,n){n.nativeEvent.shiftKey?g(e.id):t.current.selectRow(e.id,e.value)}),[t,g]),_=r.useCallback((function(n){var r=e.checkboxSelectionVisibleOnly&&e.pagination?co(t):At(t);t.current.selectRows(r,n.value)}),[t,e.checkboxSelectionVisibleOnly,e.pagination]),M=r.useCallback((function(e,n){if(t.current.getCellMode(e.id,e.field)!==Un.Edit&&n.currentTarget.contains(n.target)){if(nr(n.key)&&n.shiftKey){var r=Kr(t);if(r&&r.id!==e.id){n.preventDefault();var o=t.current.isRowSelected(r.id);if(!h)return void t.current.selectRow(r.id,!o,!0);var i,a,s=t.current.getRowIndexRelativeToVisibleRows(r.id),l=t.current.getRowIndexRelativeToVisibleRows(e.id);s>l?o?(i=l,a=s-1):(i=l,a=s):o?(i=s+1,a=l):(i=s,a=l);var c=v.rows.slice(i,a+1).map((function(t){return t.id}));return void t.current.selectRows(c,!o)}}if(" "===n.key&&n.shiftKey)return n.preventDefault(),void C(e.id,n);"a"===n.key.toLowerCase()&&(n.ctrlKey||n.metaKey)&&(n.preventDefault(),O(t.current.getAllRowIds(),!0))}}),[t,C,O,v.rows,h]);ie(t,"sortedRowsSet",j),ie(t,"cellClick",k),ie(t,"rowSelectionCheckboxChange",P),ie(t,"headerSelectionCheckboxChange",_),ie(t,"cellMouseDown",E),ie(t,"cellKeyDown",M),r.useEffect((function(){void 0!==o&&t.current.setSelectionModel(o)}),[t,o]);var T=null!=o;r.useEffect((function(){if(!T){var e=to(t.current.state);if(y){var n=e.filter((function(t){return y(t)}));n.length<e.length&&t.current.setSelectionModel(n)}}}),[t,y,T]),r.useEffect((function(){var e=to(t.current.state);if(!h&&e.length>1){var n=Bo(t,{pagination:d,paginationMode:f}).rows.reduce((function(t,e){return t[e.id]=!0,t}),{}),r=e.find((function(t){var e=!0;return y&&(e=y(t)),e&&n[t]}));t.current.setSelectionModel(void 0!==r?[r]:[])}}),[t,h,l,c,y,d,f])}(o,t),function(t,e){var n,o,i=st(t,"useGridColumns"),a=r.useMemo((function(){return Dr(e.columnTypes)}),[e.columnTypes]),l=r.useRef(e.columns),c=r.useRef(a);t.current.unstable_registerControlState({stateId:"visibleColumns",propModel:e.columnVisibilityModel,propOnChange:e.onColumnVisibilityModelChange,stateSelector:T,changeEvent:"columnVisibilityModelChange"});var u=r.useCallback((function(e){i.debug("Updating columns state."),t.current.setState(Fr(e)),t.current.forceUpdate(),t.current.publishEvent("columnsChange",e.all)}),[i,t]),d=r.useCallback((function(e){return _(t)[e]}),[t]),f=r.useCallback((function(){return M(t)}),[t]),p=r.useCallback((function(){return A(t)}),[t]),v=r.useCallback((function(){return L(t)}),[t]),g=r.useCallback((function(e){return(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?A(t):M(t)).findIndex((function(t){return t.field===e}))}),[t]),m=r.useCallback((function(e){var n=g(e);return R(t)[n]}),[t,g]),b=r.useCallback((function(e){T(t)!==e&&(t.current.setState((function(n){return s({},n,{columns:Lr({apiRef:t,columnTypes:a,columnsToUpsert:[],initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!1,currentColumnVisibilityModel:e,keepOnlyColumnsToUpsert:!1})})})),t.current.forceUpdate())}),[t,a]),y=r.useCallback((function(e){var n=Lr({apiRef:t,columnTypes:a,columnsToUpsert:e,initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!0,keepOnlyColumnsToUpsert:!1});u(n)}),[t,u,a]),x=r.useCallback((function(e){return t.current.updateColumns([e])}),[t]),w=r.useCallback((function(e,n){if(t.current.unstable_caches.columns.isUsingColumnVisibilityModel){var r,o=T(t);if(n!==(null==(r=o[e])||r)){var i=s({},o,Object(h.a)({},e,n));t.current.setColumnVisibilityModel(i)}}else{var a=s({},t.current.getColumn(e),{hide:!n});t.current.updateColumns([a]);var l={field:e,colDef:a,isVisible:n};t.current.publishEvent("columnVisibilityChange",l)}}),[t]),O=r.useCallback((function(e,n){var r=P(t),o=r.findIndex((function(t){return t===e}));if(o!==n){i.debug("Moving column ".concat(e," to index ").concat(n));var a=Object(qt.a)(r),l=a.splice(o,1)[0];a.splice(n,0,l),u(s({},E(t.current.state),{all:a}));var c={field:e,element:t.current.getColumnHeaderElement(e),colDef:t.current.getColumn(e),targetIndex:n,oldIndex:o};t.current.publishEvent("columnOrderChange",c)}}),[t,i,u]),S=r.useCallback((function(e,n){i.debug("Updating column ".concat(e," width to ").concat(n));var r=s({},t.current.getColumn(e),{width:n});t.current.updateColumns([r]),t.current.publishEvent("columnWidthChange",{element:t.current.getColumnHeaderElement(e),colDef:r,width:n})}),[t,i]);Qt(t,{getColumn:d,getAllColumns:f,getColumnIndex:g,getColumnPosition:m,getVisibleColumns:p,getColumnsMeta:v,updateColumn:x,updateColumns:y,setColumnVisibilityModel:b,setColumnVisibility:w,setColumnIndex:O,setColumnWidth:S});var j=r.useCallback((function(n,r){var o={};if(t.current.unstable_caches.columns.isUsingColumnVisibilityModel){var i,a,l,c=T(t);(!r.exportOnlyDirtyModels||null!=e.columnVisibilityModel||Object.keys(null!=(i=null==(a=e.initialState)||null==(l=a.columns)?void 0:l.columnVisibilityModel)?i:{}).length>0||Object.keys(c).length>0)&&(o.columnVisibilityModel=c)}o.orderedFields=P(t);var u=M(t),d={};return u.forEach((function(t){if(t.hasBeenResized){var e={};Rr.forEach((function(n){var r=t[n];r===1/0&&(r=-1),e[n]=r})),d[t.field]=e}})),Object.keys(d).length>0&&(o.dimensions=d),s({},n,{columns:o})}),[t,e.columnVisibilityModel,null==(n=e.initialState)?void 0:n.columns]),C=r.useCallback((function(e,n){var r,o=t.current.unstable_caches.columns.isUsingColumnVisibilityModel?null==(r=n.stateToRestore.columns)?void 0:r.columnVisibilityModel:void 0,i=n.stateToRestore.columns;if(null==o&&null==i)return e;var s=Lr({apiRef:t,columnTypes:a,columnsToUpsert:[],initialState:i,shouldRegenColumnVisibilityModelFromColumns:!t.current.unstable_caches.columns.isUsingColumnVisibilityModel,currentColumnVisibilityModel:o,keepOnlyColumnsToUpsert:!1});return t.current.setState(Fr(s)),null!=i&&t.current.publishEvent("columnsChange",s.all),e}),[t,a]),k=r.useCallback((function(t,n){if(n===Ir.columns){var r,o=e.components.ColumnsPanel;return Object(ot.jsx)(o,s({},null==(r=e.componentsProps)?void 0:r.columnsPanel))}return t}),[e.components.ColumnsPanel,null==(o=e.componentsProps)?void 0:o.columnsPanel]);Se(t,"exportState",j),Se(t,"restoreState",C),Se(t,"preferencePanel",k);var D=r.useRef(null);ie(t,"viewportInnerSizeChange",(function(e){D.current!==e.width&&(D.current=e.width,u(Nr(E(t.current.state),e.width)))})),se(t,"columnVisibilityChange",e.onColumnVisibilityChange);var I=r.useCallback((function(){i.info("Columns pipe processing have changed, regenerating the columns");var e=Lr({apiRef:t,columnTypes:a,columnsToUpsert:[],initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!t.current.unstable_caches.columns.isUsingColumnVisibilityModel,keepOnlyColumnsToUpsert:!1});u(e)}),[t,i,u,a]);je(t,"hydrateColumns",I);var N=r.useRef(!0);r.useEffect((function(){if(N.current)N.current=!1;else if(i.info("GridColumns have changed, new length ".concat(e.columns.length)),l.current!==e.columns||c.current!==a){var n=Lr({apiRef:t,columnTypes:a,initialState:void 0,shouldRegenColumnVisibilityModelFromColumns:!t.current.unstable_caches.columns.isUsingColumnVisibilityModel,columnsToUpsert:e.columns,keepOnlyColumnsToUpsert:!0});l.current=e.columns,c.current=a,u(n)}}),[i,t,u,e.columns,a]),r.useEffect((function(){void 0!==e.columnVisibilityModel&&t.current.setColumnVisibilityModel(e.columnVisibilityModel)}),[t,i,e.columnVisibilityModel])}(o,t),xi(o,t),Ci(o),function(t){var e=r.useRef({}),n=r.useCallback((function(t,n,r){var o=e.current;o[t]||(o[t]={}),o[t][n]=r}),[]),o=r.useCallback((function(t,n){var r;return null==(r=e.current[t])?void 0:r[n]}),[]),i=r.useCallback((function(e){var r=e.columnIndex,o=e.rowId,i=e.minFirstColumnIndex,a=e.maxLastColumnIndex,s=e.columns,l=s.length,c=s[r],u="function"===typeof c.colSpan?c.colSpan(t.current.getCellParams(o,c.field)):c.colSpan;if(!u||1===u)return n(o,r,{spannedByColSpan:!1,cellProps:{colSpan:1,width:c.computedWidth}}),{colSpan:1};for(var d=c.computedWidth,f=1;f<u;f+=1){var p=r+f;p>=i&&p<a&&(d+=s[p].computedWidth,n(o,r+f,{spannedByColSpan:!0,rightVisibleCellIndex:Math.min(r+u,l-1),leftVisibleCellIndex:r})),n(o,r,{spannedByColSpan:!1,cellProps:{colSpan:u,width:d}})}return{colSpan:u}}),[t,n]),a=r.useCallback((function(t){for(var e=t.rowId,n=t.minFirstColumn,r=t.maxLastColumn,o=t.columns,a=n;a<r;a+=1){var s=i({columnIndex:a,rowId:e,minFirstColumnIndex:n,maxLastColumnIndex:r,columns:o});s.colSpan>1&&(a+=s.colSpan-1)}}),[i]);Qt(t,{unstable_getCellColSpanInfo:o,unstable_calculateColSpan:a});var s=r.useCallback((function(){e.current={}}),[]);ie(t,"columnOrderChange",s)}(o),(null!=(n=t.experimentalFeatures)&&n.newEditingApi?pi:ri)(o,t),function(t,e){var n=st(t,"useGridFocus"),o=r.useRef(null),i=r.useCallback((function(e,r){var o=Kr(t);(null==o?void 0:o.id)===e&&(null==o?void 0:o.field)===r||(t.current.setState((function(t){return n.debug("Focusing on cell with id=".concat(e," and field=").concat(r)),s({},t,{tabIndex:{cell:{id:e,field:r},columnHeader:null},focus:{cell:{id:e,field:r},columnHeader:null}})})),t.current.forceUpdate(),t.current.getRow(e)&&t.current.publishEvent("cellFocusIn",t.current.getCellParams(e,r)))}),[t,n]),a=r.useCallback((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Kr(t);o&&t.current.publishEvent("cellFocusOut",t.current.getCellParams(o.id,o.field),r),t.current.setState((function(t){return n.debug("Focusing on column header with colIndex=".concat(e)),s({},t,{tabIndex:{columnHeader:{field:e},cell:null},focus:{columnHeader:{field:e},cell:null}})})),t.current.forceUpdate()}),[t,n]),l=r.useCallback((function(n,r,o){var i=t.current.getColumnIndex(r),a=t.current.getRowIndexRelativeToVisibleRows(n),s=A(t);"right"===o?i+=1:"left"===o?i-=1:a+=1;var l=Bo(t,{pagination:e.pagination,paginationMode:e.paginationMode});i>=s.length?(a+=1)<l.rows.length&&(i=0):i<0&&(a-=1)>=0&&(i=s.length-1),a=Object(Gt.a)(a,0,l.rows.length-1),i=Object(Gt.a)(i,0,s.length-1);var c=l.rows[a],u=s[i];t.current.setCellFocus(c.id,u.field)}),[t,e.pagination,e.paginationMode]),c=r.useCallback((function(e){var n=e.id,r=e.field;t.current.setCellFocus(n,r)}),[t]),u=r.useCallback((function(e,n){"Enter"===n.key||"Tab"===n.key||nr(n.key)||t.current.setCellFocus(e.id,e.field)}),[t]),d=r.useCallback((function(e,n){var r=e.field;n.target===n.currentTarget&&t.current.setColumnHeaderFocus(r,n)}),[t]),f=r.useCallback((function(){n.debug("Clearing focus"),t.current.setState((function(t){return s({},t,{focus:{cell:null,columnHeader:null}})}))}),[n,t]),p=r.useCallback((function(t){o.current=t}),[]),h=r.useCallback((function(e){var n=o.current;o.current=null;var r=Kr(t);if(r){if((null==n?void 0:n.id)!==r.id||(null==n?void 0:n.field)!==r.field){var i=t.current.getCellElement(r.id,r.field);null!=i&&i.contains(e.target)||t.current.getRow(r.id)&&(t.current.publishEvent("cellFocusOut",t.current.getCellParams(r.id,r.field),e),n?t.current.setCellFocus(n.id,n.field):(t.current.setState((function(t){return s({},t,{focus:{cell:null,columnHeader:null}})})),t.current.forceUpdate()))}}else n&&t.current.setCellFocus(n.id,n.field)}),[t]),v=r.useCallback((function(e){if("view"!==e.cellMode){var n=Kr(t);(null==n?void 0:n.id)===e.id&&(null==n?void 0:n.field)===e.field||t.current.setCellFocus(e.id,e.field)}}),[t]),g=r.useCallback((function(){var e=Kr(t);e&&!t.current.getRow(e.id)&&t.current.setState((function(t){return s({},t,{focus:{cell:null,columnHeader:null}})}))}),[t]);Qt(t,{setCellFocus:i,setColumnHeaderFocus:a,unstable_moveFocusToRelativeCell:l}),r.useEffect((function(){var e=Object(Co.a)(t.current.rootElementRef.current);return e.addEventListener("click",h),function(){e.removeEventListener("click",h)}}),[t,h]),ie(t,"columnHeaderBlur",f),ie(t,"cellDoubleClick",c),ie(t,"cellMouseUp",p),ie(t,"cellKeyDown",u),ie(t,"cellModeChange",v),ie(t,"columnHeaderFocus",d),ie(t,"rowsSet",g)}(o,t),function(t,e){var n,o=st(t,"useGridPreferencesPanel"),i=r.useRef(),a=r.useRef(),l=r.useCallback((function(){o.debug("Hiding Preferences Panel");var e=$o(t.current.state);e.openedPanelValue&&t.current.publishEvent("preferencePanelClose",{openedPanelValue:e.openedPanelValue}),t.current.setState((function(t){return s({},t,{preferencePanel:{open:!1}})})),t.current.forceUpdate()}),[t,o]),c=r.useCallback((function(){a.current=setTimeout((function(){return clearTimeout(i.current)}),0)}),[]),u=r.useCallback((function(){i.current=setTimeout(l,100)}),[l]),d=r.useCallback((function(e){o.debug("Opening Preferences Panel"),c(),t.current.setState((function(t){return s({},t,{preferencePanel:s({},t.preferencePanel,{open:!0,openedPanelValue:e})})})),t.current.publishEvent("preferencePanelOpen",{openedPanelValue:e}),t.current.forceUpdate()}),[o,c,t]);Qt(t,{showPreferences:d,hidePreferences:u});var f=r.useCallback((function(n,r){var o,i=$o(t.current.state);return!r.exportOnlyDirtyModels||null!=(null==(o=e.initialState)?void 0:o.preferencePanel)||i.open?s({},n,{preferencePanel:i}):n}),[t,null==(n=e.initialState)?void 0:n.preferencePanel]),p=r.useCallback((function(e,n){var r=n.stateToRestore.preferencePanel;return null!=r&&t.current.setState((function(t){return s({},t,{preferencePanel:r})})),e}),[t]);Se(t,"exportState",f),Se(t,"restoreState",p),r.useEffect((function(){return function(){clearTimeout(i.current),clearTimeout(a.current)}}),[])}(o,t),function(t,e){var n,o,i,a=st(t,"useGridFilter");t.current.unstable_registerControlState({stateId:"filter",propModel:e.filterModel,propOnChange:e.onFilterModelChange,stateSelector:Pt,changeEvent:"filterModelChange"});var l=r.useCallback((function(){t.current.setState((function(n){var r=Pt(n,t.current.instanceId),o=e.filterMode===Eo?Lo(r,t):null,i=t.current.unstable_applyStrategyProcessor("filtering",{isRowMatchingFilters:o});return s({},n,{filter:s({},n.filter,i)})})),t.current.publishEvent("filteredRowsSet")}),[e.filterMode,t]),c=r.useCallback((function(){l(),t.current.forceUpdate()}),[t,l]),u=r.useCallback((function(e){var n=Pt(t),r=Object(qt.a)(n.items),o=r.findIndex((function(t){return t.id===e.id}));-1===o?r.push(e):r[o]=e,t.current.setFilterModel(s({},n,{items:r}),"upsertFilterItem")}),[t]),d=r.useCallback((function(e){var n=Pt(t),r=Object(qt.a)(n.items);e.forEach((function(t){var n=e.findIndex((function(e){return e.id===t.id}));-1===n?r.push(t):r[n]=t})),t.current.setFilterModel(s({},n,{items:e}),"upsertFilterItems")}),[t]),f=r.useCallback((function(e){var n=Pt(t),r=n.items.filter((function(t){return t.id!==e.id}));r.length!==n.items.length&&t.current.setFilterModel(s({},n,{items:r}),"deleteFilterItem")}),[t]),p=r.useCallback((function(n){if(a.debug("Displaying filter panel"),n){var r,o=Pt(t),i=o.items.filter((function(e){var n;if(void 0!==e.value)return!0;var r=null==(n=t.current.getColumn(e.columnField).filterOperators)?void 0:n.find((function(t){return t.value===e.operatorValue}));return!("undefined"===typeof(null==r?void 0:r.requiresFilterValue)||(null==r?void 0:r.requiresFilterValue))}));r=i.find((function(t){return t.columnField===n}))?i:e.disableMultipleColumnsFiltering?[To({columnField:n},t)]:[].concat(Object(qt.a)(i),[To({columnField:n},t)]),t.current.setFilterModel(s({},o,{items:r}))}t.current.showPreferences(Ir.filters)}),[t,a,e.disableMultipleColumnsFiltering]),h=r.useCallback((function(){a.debug("Hiding filter panel"),t.current.hidePreferences()}),[t,a]),v=r.useCallback((function(e){var n=Pt(t);n.linkOperator!==e&&t.current.setFilterModel(s({},n,{linkOperator:e}),"changeLogicOperator")}),[t]),g=r.useCallback((function(e){var n=Pt(t);Object(Gt.c)(n.quickFilterValues,e)||t.current.setFilterModel(s({},n,{quickFilterValues:Object(qt.a)(e)}))}),[t]),m=r.useCallback((function(n,r){Pt(t)!==n&&(a.debug("Setting filter model"),t.current.unstable_updateControlState("filter",No(n,e.disableMultipleColumnsFiltering,t),r),t.current.unstable_applyFilters())}),[t,a,e.disableMultipleColumnsFiltering]),b=r.useCallback((function(){var e=Tt(t);return new Map(e.map((function(t){return[t.id,t.model]})))}),[t]);Qt(t,{setFilterLinkOperator:v,unstable_applyFilters:c,deleteFilterItem:f,upsertFilterItem:u,upsertFilterItems:d,setFilterModel:m,showFilterPanel:p,hideFilterPanel:h,getVisibleRowModels:b,setQuickFilterValues:g});var y=r.useCallback((function(n,r){var o,i,a=Pt(t);return r.exportOnlyDirtyModels&&null==e.filterModel&&null==(null==(o=e.initialState)||null==(i=o.filter)?void 0:i.filterModel)&&Object(Gt.c)(a,_o())?n:s({},n,{filter:{filterModel:a}})}),[t,e.filterModel,null==(n=e.initialState)||null==(o=n.filter)?void 0:o.filterModel]),x=r.useCallback((function(n,r){var o,i=null==(o=r.stateToRestore.filter)?void 0:o.filterModel;return null==i?n:(t.current.unstable_updateControlState("filter",No(i,e.disableMultipleColumnsFiltering,t),"restoreState"),s({},n,{callbacks:[].concat(Object(qt.a)(n.callbacks),[t.current.unstable_applyFilters])}))}),[t,e.disableMultipleColumnsFiltering]),w=r.useCallback((function(t,n){if(n===Ir.filters){var r,o=e.components.FilterPanel;return Object(ot.jsx)(o,s({},null==(r=e.componentsProps)?void 0:r.filterPanel))}return t}),[e.components.FilterPanel,null==(i=e.componentsProps)?void 0:i.filterPanel]),O=r.useCallback((function(n){if(e.filterMode===Eo&&n.isRowMatchingFilters){for(var r=Q(t),o={},i=0;i<r.length;i+=1){var a=r[i];o[a]=n.isRowMatchingFilters(a)}return{filteredRowsLookup:o,visibleRowsLookup:o,filteredDescendantCountLookup:{}}}return{visibleRowsLookup:{},filteredRowsLookup:{},filteredDescendantCountLookup:{}}}),[t,e.filterMode]);Se(t,"exportState",y),Se(t,"restoreState",x),Se(t,"preferencePanel",w),Mo(t,pe,"filtering",O);var S=r.useCallback((function(){a.debug("onColUpdated - GridColumns changed, applying filters");var e=Pt(t),n=N(t),r=e.items.filter((function(t){return t.columnField&&n[t.columnField]}));r.length<e.items.length&&t.current.setFilterModel(s({},e,{items:r}))}),[t,a]),j=r.useCallback((function(e){"filtering"===e&&t.current.unstable_applyFilters()}),[t]);ie(t,"rowsSet",l),ie(t,"rowExpansionChange",t.current.unstable_applyFilters),ie(t,"columnsChange",S),ie(t,"activeStrategyProcessorChange",j),Oe((function(){t.current.unstable_applyFilters()})),r.useEffect((function(){void 0!==e.filterModel&&t.current.setFilterModel(e.filterModel)}),[t,a,e.filterModel])}(o,t),function(t,e){var n,o,i=st(t,"useGridSorting");t.current.unstable_registerControlState({stateId:"sortModel",propModel:e.sortModel,propOnChange:e.onSortModelChange,stateSelector:Ct,changeEvent:"sortModelChange"});var a=r.useCallback((function(e,n){var r=Ct(t),o=r.findIndex((function(t){return t.field===e})),i=Object(qt.a)(r);return o>-1?n?i.splice(o,1,n):i.splice(o,1):i=[].concat(Object(qt.a)(r),[n]),i}),[t]),l=r.useCallback((function(n,r){var o,i=Ct(t).find((function(t){return t.field===n.field}));if(i){var a,l=void 0===r?un(null!=(a=n.sortingOrder)?a:e.sortingOrder,i.sort):r;return null==l?void 0:s({},i,{sort:l})}return{field:n.field,sort:void 0===r?un(null!=(o=n.sortingOrder)?o:e.sortingOrder):r}}),[t,e.sortingOrder]),c=r.useCallback((function(){t.current.setState((function(n){if(e.sortingMode===Po)return i.debug("Skipping sorting rows as sortingMode = server"),s({},n,{sorting:s({},n.sorting,{sortedRows:Q(n,t.current.instanceId)})});var r=function(t,e){var n=t.map((function(t){return function(t,e){var n=e.current.getColumn(t.field);if(!n)return null;var r="desc"===t.sort?function(){return-1*n.sortComparator.apply(n,arguments)}:n.sortComparator;return{getSortCellParams:function(t){return{id:t,field:n.field,rowNode:e.current.getRowNode(t),value:e.current.getCellValue(t,n.field),api:e.current}},comparator:r}}(t,e)})).filter((function(t){return!!t}));return 0===n.length?null:function(t){return t.map((function(t){return{node:t,params:n.map((function(e){return e.getSortCellParams(t.id)}))}})).sort((function(t,e){return r=t,o=e,n.reduce((function(t,e,n){if(0!==t)return t;var i=r.params[n],a=o.params[n];return e.comparator(i.value,a.value,i,a)}),0);var r,o})).map((function(t){return t.node.id}))}}(Ct(n,t.current.instanceId),t),o=t.current.unstable_applyStrategyProcessor("sorting",{sortRowList:r});return s({},n,{sorting:s({},n.sorting,{sortedRows:o})})})),t.current.publishEvent("sortedRowsSet"),t.current.forceUpdate()}),[t,i,e.sortingMode]),u=r.useCallback((function(n){Ct(t)!==n&&(i.debug("Setting sort model"),t.current.setState(cn(n,e.disableMultipleColumnsSorting)),t.current.forceUpdate(),t.current.applySorting())}),[t,i,e.disableMultipleColumnsSorting]),d=r.useCallback((function(n,r,o){if(n.sortable){var i,s=l(n,r);i=!o||e.disableMultipleColumnsSorting?s?[s]:[]:a(n.field,s),t.current.setSortModel(i)}}),[t,a,l,e.disableMultipleColumnsSorting]),f=r.useCallback((function(){return Ct(t)}),[t]),p=r.useCallback((function(){return jt(t).map((function(t){return t.model}))}),[t]),h=r.useCallback((function(){return St(t)}),[t]),v=r.useCallback((function(e){return t.current.getSortedRowIds().indexOf(e)}),[t]),g=r.useCallback((function(e){return t.current.getSortedRowIds()[e]}),[t]);Qt(t,{getSortModel:f,getSortedRows:p,getSortedRowIds:h,getRowIndex:v,getRowIdFromRowIndex:g,setSortModel:u,sortColumn:d,applySorting:c});var m=r.useCallback((function(n,r){var o,i,a=Ct(t);return!r.exportOnlyDirtyModels||null!=e.sortModel||null!=(null==(o=e.initialState)||null==(i=o.sorting)?void 0:i.sortModel)||a.length>0?s({},n,{sorting:{sortModel:a}}):n}),[t,e.sortModel,null==(n=e.initialState)||null==(o=n.sorting)?void 0:o.sortModel]),b=r.useCallback((function(n,r){var o,i=null==(o=r.stateToRestore.sorting)?void 0:o.sortModel;return null==i?n:(t.current.setState(cn(i,e.disableMultipleColumnsSorting)),s({},n,{callbacks:[].concat(Object(qt.a)(n.callbacks),[t.current.applySorting])}))}),[t,e.disableMultipleColumnsSorting]),y=r.useCallback((function(e){var n=K(t);if(!e.sortRowList){var r=[],o=[];return Q(t).forEach((function(t){"footer"===n[t].position?o.push(t):r.push(t)})),[].concat(r,o)}var i=[],a=[];return Object.values(n).forEach((function(t){"footer"===t.position?a.push(t.id):i.push(t)})),[].concat(Object(qt.a)(e.sortRowList(i)),a)}),[t]);Se(t,"exportState",m),Se(t,"restoreState",b),Mo(t,pe,"sorting",y);var x=r.useCallback((function(t,e){var n=t.colDef,r=e.shiftKey||e.metaKey||e.ctrlKey;d(n,void 0,r)}),[d]),w=r.useCallback((function(t,e){var n=t.colDef;!Yn(e.key)||e.ctrlKey||e.metaKey||d(n,void 0,e.shiftKey)}),[d]),O=r.useCallback((function(){var e=Ct(t),n=_(t);if(e.length>0){var r=e.filter((function(t){return n[t.field]}));r.length<e.length&&t.current.setSortModel(r)}}),[t]),S=r.useCallback((function(e){"sorting"===e&&t.current.applySorting()}),[t]);ie(t,"columnHeaderClick",x),ie(t,"columnHeaderKeyDown",w),ie(t,"rowsSet",t.current.applySorting),ie(t,"columnsChange",O),ie(t,"activeStrategyProcessorChange",S),Oe((function(){t.current.applySorting()})),r.useEffect((function(){void 0!==e.sortModel&&t.current.setSortModel(e.sortModel)}),[t,e.sortModel])}(o,t),function(t,e){var n=st(t,"useDensity"),o=r.useCallback((function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.headerHeight,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.rowHeight;n.debug("Set grid density to ".concat(r)),t.current.setState((function(t){var e=J(t),n=Ur(r,o,i);return Object(Gt.c)(e,n)?t:s({},t,{density:n})})),t.current.forceUpdate()}),[n,t,e.headerHeight,e.rowHeight]);r.useEffect((function(){t.current.setDensity(e.density,e.headerHeight,e.rowHeight)}),[t,e.density,e.rowHeight,e.headerHeight]),Qt(t,{setDensity:o})}(o,t),Ko(o,t),function(t,e){var n=e.getRowHeight,o=e.getRowSpacing,i=e.getEstimatedRowHeight,a=r.useRef({}),l=r.useRef(-1),c=r.useRef(!1),u=F(t,et),d=F(t,Et),f=F(t,oo),p=F(t,Ot),h=zo(t,e),v=r.useCallback((function(){c.current=!1;var e=rt(t.current.state,t.current.instanceId),r=[],d=h.rows.reduce((function(l,d){r.push(l),a.current[d.id]||(a.current[d.id]={sizes:{base:u},isResized:!1,autoHeight:!1,needsFirstMeasurement:!0});var f=a.current[d.id],p=f.isResized,v=f.needsFirstMeasurement,g=f.sizes,m=u,b=g.base;if(p)m=b;else if(n){var y=n(s({},d,{densityFactor:e}));if("auto"===y){if(v){var x=i?i(s({},d,{densityFactor:e})):u;m=null!=x?x:u}else m=b;c.current=!0,a.current[d.id].autoHeight=!0}else m=null!=y?y:u,a.current[d.id].needsFirstMeasurement=!1,a.current[d.id].autoHeight=!1}else a.current[d.id].needsFirstMeasurement=!1;var w={base:m};if(o){var O,S,j=t.current.getRowIndexRelativeToVisibleRows(d.id),C=o(s({},d,{isFirstVisible:0===j,isLastVisible:j===h.rows.length-1,indexRelativeToCurrentPage:j}));w.spacingTop=null!=(O=C.top)?O:0,w.spacingBottom=null!=(S=C.bottom)?S:0}var k=t.current.unstable_applyPipeProcessors("rowHeight",w,d);return a.current[d.id].sizes=k,l+Object.values(k).reduce((function(t,e){return t+e}),0)}),0);t.current.setState((function(t){return s({},t,{rowsMeta:{currentPageTotalHeight:d,positions:r}})})),c.current||(l.current=1/0),t.current.forceUpdate()}),[t,h.rows,u,n,o,i]),g=r.useCallback((function(t){var e=a.current[t];return e?e.sizes.base:u}),[u]),m=r.useCallback((function(t,e){a.current[t].sizes.base=e,a.current[t].isResized=!0,a.current[t].needsFirstMeasurement=!1,v()}),[v]),b=r.useMemo((function(){return Object(Ti.a)(v)}),[v]),y=r.useCallback((function(t,e){if(a.current[t]&&a.current[t].autoHeight){var n=a.current[t].sizes.base!==e;a.current[t].needsFirstMeasurement=!1,a.current[t].sizes.base=e,n&&b()}}),[b]),x=r.useCallback((function(t){var e;return(null==(e=a.current[t])?void 0:e.autoHeight)||!1}),[]),w=r.useCallback((function(){return l.current}),[]),O=r.useCallback((function(t){c.current&&t>l.current&&(l.current=t)}),[]);r.useEffect((function(){v()}),[u,d,f,p,v]),je(t,"rowHeight",v),Qt(t,{unstable_getLastMeasuredRowIndex:w,unstable_setLastMeasuredRowIndex:O,unstable_rowHasAutoHeight:x,unstable_getRowHeight:g,unstable_getRowInternalSizes:function(t){var e;return null==(e=a.current[t])?void 0:e.sizes},unstable_setRowHeight:m,unstable_storeRowHeightMeasurement:y})}(o,t),function(t,e){var n=st(t,"useGridScroll"),o=t.current.columnHeadersElementRef,i=t.current.windowRef,a=F(t,Tt),s=r.useCallback((function(r){var o=W(t),s=A(t);if(null!=r.rowIndex&&0===o||0===s.length)return!1;n.debug("Scrolling to cell at row ".concat(r.rowIndex,", col: ").concat(r.colIndex," "));var l={};if(null!=r.colIndex){var c,u=R(t);if("undefined"!==typeof r.rowIndex){var d,f=null==(d=a[r.rowIndex])?void 0:d.id,p=t.current.unstable_getCellColSpanInfo(f,r.colIndex);p&&!p.spannedByColSpan&&(c=p.cellProps.width)}"undefined"===typeof c&&(c=s[r.colIndex].computedWidth),l.left=Mi({clientHeight:i.current.clientWidth,scrollTop:i.current.scrollLeft,offsetHeight:c,offsetTop:u[r.colIndex]})}if(null!=r.rowIndex){var h=ko(t.current.state),v=io(t),g=ao(t),m=e.pagination?r.rowIndex-v*g:r.rowIndex,b=h.positions[m+1]?h.positions[m+1]-h.positions[m]:h.currentPageTotalHeight-h.positions[m];l.top=Mi({clientHeight:i.current.clientHeight,scrollTop:i.current.scrollTop,offsetHeight:b,offsetTop:h.positions[m]})}return(void 0!==typeof(l=t.current.unstable_applyPipeProcessors("scrollToIndexes",l,r)).left||void 0!==typeof l.top)&&(t.current.scroll(l),!0)}),[n,t,i,e.pagination,a]),l=r.useCallback((function(t){i.current&&null!=t.left&&o.current&&(o.current.scrollLeft=t.left,i.current.scrollLeft=t.left,n.debug("Scrolling left: ".concat(t.left))),i.current&&null!=t.top&&(i.current.scrollTop=t.top,n.debug("Scrolling top: ".concat(t.top))),n.debug("Scrolling, updating container, and viewport")}),[i,o,n]),c=r.useCallback((function(){return null!=i&&i.current?{top:i.current.scrollTop,left:i.current.scrollLeft}:{top:0,left:0}}),[i]);Qt(t,{scroll:l,scrollToIndexes:s,getScrollPosition:c})}(o,t),function(t){var e=st(t,"useGridColumnMenu"),n=r.useCallback((function(n){t.current.setState((function(t){return t.columnMenu.open&&t.columnMenu.field===n?t:(e.debug("Opening Column Menu"),s({},t,{columnMenu:{open:!0,field:n}}))}))&&(t.current.hidePreferences(),t.current.forceUpdate())}),[t,e]),o=r.useCallback((function(){t.current.setState((function(t){return t.columnMenu.open||void 0!==t.columnMenu.field?(e.debug("Hiding Column Menu"),s({},t,{columnMenu:s({},t.columnMenu,{open:!1,field:void 0})})):t}))&&t.current.forceUpdate()}),[t,e]),i=r.useCallback((function(r){e.debug("Toggle Column Menu");var i=xe(t.current.state);i.open&&i.field===r?o():n(r)}),[t,e,n,o]);Qt(t,{showColumnMenu:n,hideColumnMenu:o,toggleColumnMenu:i});var a=r.useCallback((function(e,n){if(n.target.classList.contains(x.menuIconButton)&&n.relatedTarget){var r=n.relatedTarget.classList.contains(x.menuList),o="menuitem"===n.relatedTarget.getAttribute("role");(r||o)&&t.current.setColumnHeaderFocus(e.field)}}),[t]);ie(t,"columnResizeStart",o),ie(t,"columnHeaderFocus",a),ie(t,"virtualScrollerWheel",t.current.hideColumnMenu),ie(t,"virtualScrollerTouchMove",t.current.hideColumnMenu)}(o),jo(o),function(t,e){var n=st(t,"useGridPrintExport"),o=r.useRef(null),i=r.useRef(null),a=r.useRef({});r.useEffect((function(){o.current=Object(Co.a)(t.current.rootElementRef.current)}),[t]);var l=r.useCallback((function(e,n){return new Promise((function(r){if(e||n){var o=bo({apiRef:t,options:{fields:e,allColumns:n}}).map((function(t){return t.field})),i=M(t),a={};i.forEach((function(t){a[t.field]=o.includes(t.field)})),t.current.setColumnVisibilityModel(a),r()}else r()}))}),[t]),c=r.useCallback((function(t){var e=document.createElement("iframe");return e.id="grid-print-window",e.src=window.location.href,e.style.position="absolute",e.style.width="0px",e.style.height="0px",e.title=t||document.title,e}),[]),u=r.useCallback((function(e,n){var r,i,a,l=s({copyStyles:!0,hideToolbar:!1,hideFooter:!1},n);e.onload=null;var c=e.contentDocument||(null==(r=e.contentWindow)?void 0:r.document);if(c){var u=nt(t),d=ko(t.current.state),f=t.current.rootElementRef.current,p=f.cloneNode(!0),h=p.querySelector(".".concat(x.virtualScroller));h.style.height="auto",h.style.width="auto",h.parentElement.style.width="auto",h.parentElement.style.height="auto",p.querySelector(".".concat(x.main)).style.overflow="visible",p.querySelector(".".concat(x.columnHeaders)).querySelector(".".concat(x.columnHeadersInner)).style.width="100%";var v,g,m=(null==(i=f.querySelector(".".concat(x.toolbarContainer)))?void 0:i.clientHeight)||0,b=(null==(a=f.querySelector(".".concat(x.footerContainer)))?void 0:a.clientHeight)||0;l.hideToolbar&&(null==(v=p.querySelector(".".concat(x.toolbarContainer)))||v.remove(),m=0),l.hideFooter&&(null==(g=p.querySelector(".".concat(x.footerContainer)))||g.remove(),b=0),p.style.height="".concat(d.currentPageTotalHeight+u+m+b,"px"),c.body.innerHTML="",c.body.appendChild(p);var y,w="function"===typeof l.pageStyle?l.pageStyle():l.pageStyle;if("string"===typeof w){var O=c.createElement("style");O.appendChild(c.createTextNode(w)),c.head.appendChild(O)}if(l.bodyClassName&&(y=c.body.classList).add.apply(y,Object(qt.a)(l.bodyClassName.split(" "))),l.copyStyles)for(var S=o.current.querySelectorAll("style, link[rel='stylesheet']"),j=0;j<S.length;j+=1){var C=S[j];if("STYLE"===C.tagName){var k=c.createElement(C.tagName),E=C.sheet;if(E){for(var P="",_=0;_<E.cssRules.length;_+=1)"string"===typeof E.cssRules[_].cssText&&(P+="".concat(E.cssRules[_].cssText,"\r\n"));k.appendChild(c.createTextNode(P)),c.head.appendChild(k)}}else if(C.getAttribute("href")){for(var M=c.createElement(C.tagName),T=0;T<C.attributes.length;T+=1){var A=C.attributes[T];A&&M.setAttribute(A.nodeName,A.nodeValue||"")}c.head.appendChild(M)}}e.contentWindow.print()}}),[t,o]),d=r.useCallback((function(e){var n,r;o.current.body.removeChild(e),t.current.restoreState(i.current||{}),null!=(n=i.current)&&null!=(r=n.columns)&&r.columnVisibilityModel||t.current.setColumnVisibilityModel(a.current),t.current.unstable_enableVirtualization(),i.current=null,a.current={}}),[t]),f=r.useCallback(function(){var r=Object(ke.a)(Object(Ce.a)().mark((function r(s){var f,p;return Object(Ce.a)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n.debug("Export data as Print"),t.current.rootElementRef.current){r.next=3;break}throw new Error("MUI: No grid root element available.");case 3:return i.current=t.current.exportState(),a.current=T(t),e.pagination&&(f=Nt(t),t.current.setPageSize(f)),r.next=8,l(null==s?void 0:s.fields,null==s?void 0:s.allColumns);case 8:t.current.unstable_disableVirtualization(),p=c(null==s?void 0:s.fileName),o.current.body.appendChild(p),p.onload=function(){return u(p,s)},p.contentWindow.onafterprint=function(){return d(p)};case 12:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}(),[e,n,t,c,u,d,l]);Qt(t,{exportDataAsPrint:f});var p=r.useCallback((function(t,e){var n;return null!=(n=e.printOptions)&&n.disableToolbarButton?t:[].concat(Object(qt.a)(t),[{component:Object(ot.jsx)(So,{options:e.printOptions}),componentName:"printExport"}])}),[]);Se(t,"exportMenu",p)}(o,t),ye(o),function(t,e){var n=st(t,"useResizeContainer"),o=r.useRef(!1),i=r.useRef(null),a=r.useRef(null),s=F(t,ko),l=F(t,nt),c=r.useCallback((function(){var n,r=null==(n=t.current.rootElementRef)?void 0:n.current,o=D(t);if(i.current){var c,u,d,f;if(null!=e.scrollbarSize)c=e.scrollbarSize;else if(o&&r){var p=Object(Co.a)(r).createElement("div");p.style.width="99px",p.style.height="99px",p.style.position="absolute",p.style.overflow="scroll",p.className="scrollDiv",r.appendChild(p),c=p.offsetWidth-p.clientWidth,r.removeChild(p)}else c=0;if(e.autoHeight)f=!1,d=Math.round(o)>i.current.width,u={width:i.current.width,height:s.currentPageTotalHeight+(d?c:0)};else{u={width:i.current.width,height:i.current.height-l};var h=function(t){var e=t.content,n=t.container,r=t.scrollBarSize,o=e.width>n.width,i=e.height>n.height,a=!1,s=!1;return(o||i)&&(a=o,(s=e.height+(a?r:0)>n.height)&&(a=e.width+r>n.width)),{hasScrollX:a,hasScrollY:s}}({content:{width:Math.round(o),height:s.currentPageTotalHeight},container:u,scrollBarSize:c});f=h.hasScrollY,d=h.hasScrollX}var v={viewportOuterSize:u,viewportInnerSize:{width:u.width-(f?c:0),height:u.height-(d?c:0)},hasScrollX:d,hasScrollY:f,scrollBarSize:c},g=a.current;a.current=v,v.viewportInnerSize.width===(null==g?void 0:g.viewportInnerSize.width)&&v.viewportInnerSize.height===(null==g?void 0:g.viewportInnerSize.height)||t.current.publishEvent("viewportInnerSizeChange",v.viewportInnerSize)}}),[t,e.scrollbarSize,e.autoHeight,l,s.currentPageTotalHeight]),u=r.useCallback((function(){c(),t.current.publishEvent("debouncedResize",i.current)}),[t,c]),d=r.useCallback((function(){return a.current}),[]),p=r.useCallback((function(){var n=t.current.getRootDimensions();if(!n)return 0;var r=Bo(t,{pagination:e.pagination,paginationMode:e.paginationMode});if(e.getRowHeight){var o=t.current.unstable_getRenderContext(),i=o.lastRowIndex-o.firstRowIndex;return Math.min(i-1,r.rows.length)}var a=Math.floor(n.viewportInnerSize.height/et(t));return Math.min(a,r.rows.length)}),[t,e.pagination,e.paginationMode,e.getRowHeight]);Qt(t,{resize:u,getRootDimensions:d,unstable_getViewportPageSize:p,unstable_updateGridDimensionsRef:c});var h=r.useMemo((function(){return Object(Ti.a)(u,60)}),[u]),v=r.useRef(!0),g=r.useCallback((function(t){i.current=t;var r=/jsdom/.test(window.navigator.userAgent);if(0!==t.height||o.current||e.autoHeight||r||(n.error(["The parent DOM element of the data grid has an empty height.","Please make sure that this element has an intrinsic height.","The grid displays with a height of 0px.","","More details: https://mui.com/r/x-data-grid-no-dimensions."].join("\n")),o.current=!0),0!==t.width||o.current||r||(n.error(["The parent DOM element of the data grid has an empty width.","Please make sure that this element has an intrinsic width.","The grid displays with a width of 0px.","","More details: https://mui.com/r/x-data-grid-no-dimensions."].join("\n")),o.current=!0),v.current)return u(),void(v.current=!1);h()}),[e.autoHeight,h,n,u]);Object(f.a)((function(){return c()}),[c]),se(t,"sortedRowsSet",c),se(t,"pageChange",c),se(t,"pageSizeChange",c),se(t,"columnsChange",c),ie(t,"resize",g),se(t,"debouncedResize",e.onResize)}(o,t),function(t,e){se(t,"columnHeaderClick",e.onColumnHeaderClick),se(t,"columnHeaderDoubleClick",e.onColumnHeaderDoubleClick),se(t,"columnHeaderOver",e.onColumnHeaderOver),se(t,"columnHeaderOut",e.onColumnHeaderOut),se(t,"columnHeaderEnter",e.onColumnHeaderEnter),se(t,"columnHeaderLeave",e.onColumnHeaderLeave),se(t,"columnOrderChange",e.onColumnOrderChange),se(t,"cellClick",e.onCellClick),se(t,"cellDoubleClick",e.onCellDoubleClick),se(t,"cellKeyDown",e.onCellKeyDown),se(t,"cellFocusOut",e.onCellFocusOut),se(t,"preferencePanelClose",e.onPreferencePanelClose),se(t,"preferencePanelOpen",e.onPreferencePanelOpen),se(t,"menuOpen",e.onMenuOpen),se(t,"menuClose",e.onMenuClose),se(t,"rowDoubleClick",e.onRowDoubleClick),se(t,"rowClick",e.onRowClick),se(t,"componentError",e.onError),se(t,"stateChange",e.onStateChange)}(o,t),function(t){var e=r.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.current.unstable_applyPipeProcessors("exportState",{},e)}),[t]),n=r.useCallback((function(e){t.current.unstable_applyPipeProcessors("restoreState",{callbacks:[]},{stateToRestore:e}).callbacks.forEach((function(t){t()})),t.current.forceUpdate()}),[t]);Qt(t,{exportState:e,restoreState:n})}(o),o},Ii=n(17),Ni={noRowsLabel:"No rows",noResultsOverlayLabel:"No results found.",errorOverlayDefaultLabel:"An error occurred.",toolbarDensity:"Density",toolbarDensityLabel:"Density",toolbarDensityCompact:"Compact",toolbarDensityStandard:"Standard",toolbarDensityComfortable:"Comfortable",toolbarColumns:"Columns",toolbarColumnsLabel:"Select columns",toolbarFilters:"Filters",toolbarFiltersLabel:"Show filters",toolbarFiltersTooltipHide:"Hide filters",toolbarFiltersTooltipShow:"Show filters",toolbarFiltersTooltipActive:function(t){return"".concat(t,1!==t?" active filters":" active filter")},toolbarQuickFilterPlaceholder:"Search...",toolbarQuickFilterLabel:"Search",toolbarQuickFilterDeleteIconLabel:"Clear",toolbarExport:"Export",toolbarExportLabel:"Export",toolbarExportCSV:"Download as CSV",toolbarExportPrint:"Print",toolbarExportExcel:"Download as Excel",columnsPanelTextFieldLabel:"Find column",columnsPanelTextFieldPlaceholder:"Column title",columnsPanelDragIconLabel:"Reorder column",columnsPanelShowAllButton:"Show all",columnsPanelHideAllButton:"Hide all",filterPanelAddFilter:"Add filter",filterPanelDeleteIconLabel:"Delete",filterPanelLinkOperator:"Logic operator",filterPanelOperators:"Operator",filterPanelOperatorAnd:"And",filterPanelOperatorOr:"Or",filterPanelColumns:"Columns",filterPanelInputLabel:"Value",filterPanelInputPlaceholder:"Filter value",filterOperatorContains:"contains",filterOperatorEquals:"equals",filterOperatorStartsWith:"starts with",filterOperatorEndsWith:"ends with",filterOperatorIs:"is",filterOperatorNot:"is not",filterOperatorAfter:"is after",filterOperatorOnOrAfter:"is on or after",filterOperatorBefore:"is before",filterOperatorOnOrBefore:"is on or before",filterOperatorIsEmpty:"is empty",filterOperatorIsNotEmpty:"is not empty",filterOperatorIsAnyOf:"is any of",filterValueAny:"any",filterValueTrue:"true",filterValueFalse:"false",columnMenuLabel:"Menu",columnMenuShowColumns:"Show columns",columnMenuFilter:"Filter",columnMenuHideColumn:"Hide",columnMenuUnsort:"Unsort",columnMenuSortAsc:"Sort by ASC",columnMenuSortDesc:"Sort by DESC",columnHeaderFiltersTooltipActive:function(t){return"".concat(t,1!==t?" active filters":" active filter")},columnHeaderFiltersLabel:"Show filters",columnHeaderSortIconLabel:"Sort",footerRowSelected:function(t){return"".concat(t.toLocaleString(),1!==t?" rows selected":" row selected")},footerTotalRows:"Total Rows:",footerTotalVisibleRows:function(t,e){return"".concat(t.toLocaleString()," of ").concat(e.toLocaleString())},checkboxSelectionHeaderName:"Checkbox selection",checkboxSelectionSelectAllRows:"Select all rows",checkboxSelectionUnselectAllRows:"Unselect all rows",checkboxSelectionSelectRow:"Select row",checkboxSelectionUnselectRow:"Unselect row",booleanCellTrueLabel:"yes",booleanCellFalseLabel:"no",actionsCellMore:"more",pinToLeft:"Pin to left",pinToRight:"Pin to right",unpin:"Unpin",treeDataGroupingHeaderName:"Group",treeDataExpand:"see children",treeDataCollapse:"hide children",groupingColumnHeaderName:"Group",groupColumn:function(t){return"Group by ".concat(t)},unGroupColumn:function(t){return"Stop grouping by ".concat(t)},detailPanelToggle:"Detail panel toggle",expandDetailPanel:"Expand",collapseDetailPanel:"Collapse",MuiTablePagination:{},rowReorderingHeaderName:"Row reordering",aggregationMenuItemHeader:"Aggregation",aggregationFunctionLabelSum:"sum",aggregationFunctionLabelAvg:"avg",aggregationFunctionLabelMin:"min",aggregationFunctionLabelMax:"max",aggregationFunctionLabelSize:"size"},Li=n(1304),Fi=n(1306),Bi=n(1329),zi=n(1303),Hi=n(1288),Vi=n(1317),Ui=n(1282),Wi=["align","children","colIndex","colDef","cellMode","field","formattedValue","hasFocus","height","isEditable","rowId","tabIndex","value","width","className","showRightBorder","extendRowFullWidth","row","colSpan","disableDragEvents","onClick","onDoubleClick","onMouseDown","onMouseUp","onKeyDown","onDragEnter","onDragOver"];var qi=n(1300),Gi=["className"],Yi=Object(v.a)("div",{name:"MuiDataGrid",slot:"IconButtonContainer",overridesResolver:function(t,e){return e.iconButtonContainer}})((function(){return{display:"flex",visibility:"hidden",width:0}})),Xi=r.forwardRef((function(t,e){var n=t.className,r=l(t,Gi),o=function(t){var e=t.classes;return Object(p.a)({root:["iconButtonContainer"]},y,e)}({classes:V().classes});return Object(ot.jsx)(Yi,s({ref:e,className:Object(c.default)(o.root,n)},r))}));var Ki,$i,Zi,Qi,Ji,ta,ea,na,ra=["hideMenu","currentColumn","open","id","labelledby","className","children"],oa=r.forwardRef((function(t,e){var n=t.hideMenu,o=t.open,i=t.id,a=t.labelledby,u=t.className,d=t.children,f=l(t,ra),p=r.useCallback((function(t){Xn(t.key)&&t.preventDefault(),or(t.key)&&n(t)}),[n]);return Object(ot.jsx)(br.a,s({id:i,ref:e,className:Object(c.default)(x.menuList,u),"aria-labelledby":a,onKeyDown:p,autoFocus:o},f,{children:d}))})),ia=function(t){var e=t.onClick,n=z(),o=V(),i=r.useCallback((function(t){e(t),n.current.showPreferences(Ir.columns)}),[n,e]);return o.disableColumnSelector?null:Object(ot.jsx)(Ze.a,{onClick:i,children:n.current.getLocaleText("columnMenuShowColumns")})},aa=function(t){var e=t.column,n=t.onClick,o=z(),i=V(),a=r.useCallback((function(t){n(t),o.current.showFilterPanel(null==e?void 0:e.field)}),[o,null==e?void 0:e.field,n]);return i.disableColumnFilter||null==e||!e.filterable?null:Object(ot.jsx)(Ze.a,{onClick:a,children:o.current.getLocaleText("columnMenuFilter")})},sa=function(t){var e=t.column,n=t.onClick,o=z(),i=V(),a=r.useRef(),s=1===A(o).filter((function(t){return!0!==t.disableColumnMenu})).length,l=r.useCallback((function(t){s||(n(t),a.current=setTimeout((function(){o.current.setColumnVisibility(null==e?void 0:e.field,!1)}),100))}),[o,null==e?void 0:e.field,n,s]);return r.useEffect((function(){return function(){return clearTimeout(a.current)}}),[]),i.disableColumnSelector||!1===e.hideable?null:Object(ot.jsx)(Ze.a,{onClick:l,disabled:s,children:o.current.getLocaleText("columnMenuHideColumn")})},la=function(t){var e=t.column,n=t.onClick,o=z(),i=F(o,Ct),a=r.useMemo((function(){if(!e)return null;var t=i.find((function(t){return t.field===e.field}));return null==t?void 0:t.sort}),[e,i]),s=r.useCallback((function(t){n(t);var r=t.currentTarget.getAttribute("data-value")||null;o.current.sortColumn(e,r)}),[o,e,n]);return e&&e.sortable?Object(ot.jsxs)(r.Fragment,{children:[Object(ot.jsx)(Ze.a,{onClick:s,disabled:null==a,children:o.current.getLocaleText("columnMenuUnsort")}),Object(ot.jsx)(Ze.a,{onClick:s,"data-value":"asc",disabled:"asc"===a,children:o.current.getLocaleText("columnMenuSortAsc")}),Object(ot.jsx)(Ze.a,{onClick:s,"data-value":"desc",disabled:"desc"===a,children:o.current.getLocaleText("columnMenuSortDesc")})]}):null},ca=r.forwardRef((function(t,e){var n=t.hideMenu,o=t.currentColumn,i=z(),a=[Object(ot.jsx)(la,{onClick:n,column:o}),Object(ot.jsx)(aa,{onClick:n,column:o}),Object(ot.jsx)(sa,{onClick:n,column:o}),Object(ot.jsx)(ia,{onClick:n,column:o})],l=i.current.unstable_applyPipeProcessors("columnMenu",a,o);return Object(ot.jsx)(oa,s({ref:e},t,{children:l.map((function(t,e){return r.cloneElement(t,{key:e,onClick:n,column:o})}))}))})),ua=["className","rowCount","visibleRowCount"],da=Object(v.a)("div",{name:"MuiDataGrid",slot:"RowCount",overridesResolver:function(t,e){return e.rowCount}})((function(t){return{alignItems:"center",display:"flex",margin:t.theme.spacing(0,2)}})),fa=r.forwardRef((function(t,e){var n=t.className,r=t.rowCount,o=t.visibleRowCount,i=l(t,ua),a=z(),u=function(t){var e=t.classes;return Object(p.a)({root:["rowCount"]},y,e)}({classes:V().classes});if(0===r)return null;var d=o<r?a.current.getLocaleText("footerTotalVisibleRows")(o,r):r.toLocaleString();return Object(ot.jsxs)(da,s({ref:e,className:Object(c.default)(u.root,n)},i,{children:[a.current.getLocaleText("footerTotalRows")," ",d]}))})),pa=["className","selectedRowCount"],ha=Object(v.a)("div",{name:"MuiDataGrid",slot:"SelectedRowCount",overridesResolver:function(t,e){return e.selectedRowCount}})((function(t){var e=t.theme;return Object(h.a)({alignItems:"center",display:"flex",margin:e.spacing(0,2),visibility:"hidden",width:0,height:0},e.breakpoints.up("sm"),{visibility:"visible",width:"auto",height:"auto"})})),va=r.forwardRef((function(t,e){var n=t.className,r=t.selectedRowCount,o=l(t,pa),i=z(),a=function(t){var e=t.classes;return Object(p.a)({root:["selectedRowCount"]},y,e)}({classes:V().classes}),u=i.current.getLocaleText("footerRowSelected")(r);return Object(ot.jsx)(ha,s({ref:e,className:Object(c.default)(a.root,n)},o,{children:u}))})),ga=["className"],ma=Object(v.a)("div",{name:"MuiDataGrid",slot:"FooterContainer",overridesResolver:function(t,e){return e.footerContainer}})((function(t){var e=t.theme,n="light"===e.palette.mode?Object(g.e)(Object(g.a)(e.palette.divider,1),.88):Object(g.b)(Object(g.a)(e.palette.divider,1),.68);return{display:"flex",justifyContent:"space-between",alignItems:"center",minHeight:52,borderTop:"1px solid ".concat(n)}})),ba=r.forwardRef((function(t,e){var n=t.className,r=l(t,ga),o=function(t){var e=t.classes;return Object(p.a)({root:["footerContainer"]},y,e)}({classes:V().classes});return Object(ot.jsx)(ma,s({ref:e,className:Object(c.default)(o.root,n)},r))})),ya=r.forwardRef((function(t,e){var n,r=z(),o=V(),i=F(r,G),a=F(r,eo),l=F(r,Lt),c=!o.hideFooterSelectedRowCount&&a>0?Object(ot.jsx)(va,{selectedRowCount:a}):Object(ot.jsx)("div",{}),u=o.hideFooterRowCount||o.pagination?null:Object(ot.jsx)(fa,{rowCount:i,visibleRowCount:l}),d=o.pagination&&!o.hideFooterPagination&&o.components.Pagination&&Object(ot.jsx)(o.components.Pagination,s({},null==(n=o.componentsProps)?void 0:n.pagination));return Object(ot.jsxs)(ba,s({ref:e},t,{children:[c,u,d]}))})),xa=r.forwardRef((function(t,e){var n,r,o=V();return Object(ot.jsxs)("div",s({ref:e},t,{children:[Object(ot.jsx)(o.components.PreferencesPanel,s({},null==(n=o.componentsProps)?void 0:n.preferencesPanel)),o.components.Toolbar&&Object(ot.jsx)(o.components.Toolbar,s({},null==(r=o.componentsProps)?void 0:r.toolbar))]}))})),wa=r.forwardRef((function(t,e){var n,r,o,i=z(),a=F(i,M),l=V(),c=F(i,$o),u=i.current.unstable_applyPipeProcessors("preferencePanel",null,null!=(n=c.openedPanelValue)?n:Ir.filters);return Object(ot.jsx)(l.components.Panel,s({ref:e,as:l.components.BasePopper,open:a.length>0&&c.open},null==(r=l.componentsProps)?void 0:r.panel,t,null==(o=l.componentsProps)?void 0:o.basePopper,{children:u}))})),Oa=n(1339),Sa=["className"],ja=Object(v.a)("div",{name:"MuiDataGrid",slot:"Overlay",overridesResolver:function(t,e){return e.overlay}})((function(t){var e=t.theme;return{display:"flex",height:"100%",alignSelf:"center",alignItems:"center",justifyContent:"center",backgroundColor:Object(g.a)(e.palette.background.default,e.palette.action.disabledOpacity)}})),Ca=r.forwardRef((function(t,e){var n=t.className,r=l(t,Sa),o=function(t){var e=t.classes;return Object(p.a)({root:["overlay"]},y,e)}({classes:V().classes});return Object(ot.jsx)(ja,s({ref:e,className:Object(c.default)(o.root,n)},r))})),ka=r.forwardRef((function(t,e){return Object(ot.jsx)(Ca,s({ref:e},t,{children:Object(ot.jsx)(Oa.a,{})}))})),Ea=r.forwardRef((function(t,e){var n=z().current.getLocaleText("noRowsLabel");return Object(ot.jsx)(Ca,s({ref:e},t,{children:n}))})),Pa=n(12),_a=n(3),Ma=n(257),Ta=n(1364),Aa=n(1358),Ra=n(341),Da=n(342),Ia=n(52),Na=n(259),La=n(260),Fa=["backIconButtonProps","count","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton"],Ba=r.forwardRef((function(t,e){var n=t.backIconButtonProps,r=t.count,o=t.getItemAriaLabel,i=t.nextIconButtonProps,a=t.onPageChange,s=t.page,l=t.rowsPerPage,c=t.showFirstButton,u=t.showLastButton,d=Object(Pa.a)(t,Fa),f=Object(Ia.a)();return Object(ot.jsxs)("div",Object(_a.a)({ref:e},d,{children:[c&&Object(ot.jsx)(mr.a,{onClick:function(t){a(t,0)},disabled:0===s,"aria-label":o("first",s),title:o("first",s),children:"rtl"===f.direction?Ki||(Ki=Object(ot.jsx)(Na.a,{})):$i||($i=Object(ot.jsx)(La.a,{}))}),Object(ot.jsx)(mr.a,Object(_a.a)({onClick:function(t){a(t,s-1)},disabled:0===s,color:"inherit","aria-label":o("previous",s),title:o("previous",s)},n,{children:"rtl"===f.direction?Zi||(Zi=Object(ot.jsx)(Da.a,{})):Qi||(Qi=Object(ot.jsx)(Ra.a,{}))})),Object(ot.jsx)(mr.a,Object(_a.a)({onClick:function(t){a(t,s+1)},disabled:-1!==r&&s>=Math.ceil(r/l)-1,color:"inherit","aria-label":o("next",s),title:o("next",s)},i,{children:"rtl"===f.direction?Ji||(Ji=Object(ot.jsx)(Ra.a,{})):ta||(ta=Object(ot.jsx)(Da.a,{}))})),u&&Object(ot.jsx)(mr.a,{onClick:function(t){a(t,Math.max(0,Math.ceil(r/l)-1))},disabled:s>=Math.ceil(r/l)-1,"aria-label":o("last",s),title:o("last",s),children:"rtl"===f.direction?ea||(ea=Object(ot.jsx)(La.a,{})):na||(na=Object(ot.jsx)(Na.a,{}))})]}))}));function za(t){return Object(m.a)("MuiTablePagination",t)}var Ha,Va=Object(b.a)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),Ua=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton"],Wa=Object(v.a)(Ta.a,{name:"MuiTablePagination",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.theme;return{overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}}})),qa=Object(v.a)(Aa.a,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:function(t,e){return Object(_a.a)(Object(h.a)({},"& .".concat(Va.actions),e.actions),e.toolbar)}})((function(t){var e,n=t.theme;return e={minHeight:52,paddingRight:2},Object(h.a)(e,"".concat(n.breakpoints.up("xs")," and (orientation: landscape)"),{minHeight:52}),Object(h.a)(e,n.breakpoints.up("sm"),{minHeight:52,paddingRight:2}),Object(h.a)(e,"& .".concat(Va.actions),{flexShrink:0,marginLeft:20}),e})),Ga=Object(v.a)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:function(t,e){return e.spacer}})({flex:"1 1 100%"}),Ya=Object(v.a)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:function(t,e){return e.selectLabel}})((function(t){var e=t.theme;return Object(_a.a)({},e.typography.body2,{flexShrink:0})})),Xa=Object(v.a)(zi.a,{name:"MuiTablePagination",slot:"Select",overridesResolver:function(t,e){var n;return Object(_a.a)((n={},Object(h.a)(n,"& .".concat(Va.selectIcon),e.selectIcon),Object(h.a)(n,"& .".concat(Va.select),e.select),n),e.input,e.selectRoot)}})(Object(h.a)({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8},"& .".concat(Va.select),{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"})),Ka=Object(v.a)(Ze.a,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:function(t,e){return e.menuItem}})({}),$a=Object(v.a)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:function(t,e){return e.displayedRows}})((function(t){var e=t.theme;return Object(_a.a)({},e.typography.body2,{flexShrink:0})}));function Za(t){var e=t.from,n=t.to,r=t.count;return"".concat(e,"\u2013").concat(n," of ").concat(-1!==r?r:"more than ".concat(n))}function Qa(t){return"Go to ".concat(t," page")}var Ja=r.forwardRef((function(t,e){var n,o=Object(Ii.a)({props:t,name:"MuiTablePagination"}),i=o.ActionsComponent,a=void 0===i?Ba:i,s=o.backIconButtonProps,l=o.className,u=o.colSpan,d=o.component,f=void 0===d?Ta.a:d,h=o.count,v=o.getItemAriaLabel,g=void 0===v?Qa:v,m=o.labelDisplayedRows,b=void 0===m?Za:m,y=o.labelRowsPerPage,x=void 0===y?"Rows per page:":y,w=o.nextIconButtonProps,O=o.onPageChange,S=o.onRowsPerPageChange,j=o.page,C=o.rowsPerPage,k=o.rowsPerPageOptions,E=void 0===k?[10,25,50,100]:k,P=o.SelectProps,_=void 0===P?{}:P,M=o.showFirstButton,T=void 0!==M&&M,A=o.showLastButton,R=void 0!==A&&A,D=Object(Pa.a)(o,Ua),I=o,N=function(t){var e=t.classes;return Object(p.a)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},za,e)}(I),L=_.native?"option":Ka;f!==Ta.a&&"td"!==f||(n=u||1e3);var F=Object($e.a)(_.id),B=Object($e.a)(_.labelId);return Object(ot.jsx)(Wa,Object(_a.a)({colSpan:n,ref:e,as:f,ownerState:I,className:Object(c.default)(N.root,l)},D,{children:Object(ot.jsxs)(qa,{className:N.toolbar,children:[Object(ot.jsx)(Ga,{className:N.spacer}),E.length>1&&Object(ot.jsx)(Ya,{className:N.selectLabel,id:B,children:x}),E.length>1&&Object(ot.jsx)(Xa,Object(_a.a)({variant:"standard",input:Ha||(Ha=Object(ot.jsx)(Ee.c,{})),value:C,onChange:S,id:F,labelId:B},_,{classes:Object(_a.a)({},_.classes,{root:Object(c.default)(N.input,N.selectRoot,(_.classes||{}).root),select:Object(c.default)(N.select,(_.classes||{}).select),icon:Object(c.default)(N.selectIcon,(_.classes||{}).icon)}),children:E.map((function(t){return Object(r.createElement)(L,Object(_a.a)({},!Object(Ma.a)(L)&&{ownerState:I},{className:N.menuItem,key:t.label?t.label:t,value:t.value?t.value:t}),t.label?t.label:t)}))})),Object(ot.jsx)($a,{className:N.displayedRows,children:b({from:0===h?0:j*C+1,to:-1===h?(j+1)*C:-1===C?h:Math.min(h,(j+1)*C),count:-1===h?-1:h,page:j})}),Object(ot.jsx)(a,{className:N.actions,backIconButtonProps:s,count:h,nextIconButtonProps:w,onPageChange:O,page:j,rowsPerPage:C,showFirstButton:T,showLastButton:R,getItemAriaLabel:g})]})}))})),ts=Object(v.a)(Ja)((function(t){var e,n=t.theme;return e={},Object(h.a)(e,"& .".concat(Va.selectLabel),Object(h.a)({display:"none"},n.breakpoints.up("sm"),{display:"block"})),Object(h.a)(e,"& .".concat(Va.input),Object(h.a)({display:"none"},n.breakpoints.up("sm"),{display:"inline-flex"})),e})),es=r.forwardRef((function(t,e){var n,o=z(),i=V(),a=F(o,oo),l=r.useMemo((function(){return Math.floor(a.rowCount/(a.pageSize||1))}),[a.rowCount,a.pageSize]),c=r.useCallback((function(t){var e=Number(t.target.value);o.current.setPageSize(e)}),[o]),u=r.useCallback((function(t,e){o.current.setPage(e)}),[o]);return Object(ot.jsx)(ts,s({ref:e,component:"div",count:a.rowCount,page:a.page<=l?a.page:l,rowsPerPageOptions:null!=(n=i.rowsPerPageOptions)&&n.includes(a.pageSize)?i.rowsPerPageOptions:[],rowsPerPage:a.pageSize,onPageChange:u,onRowsPerPageChange:c},o.current.getLocaleText("MuiTablePagination"),t))})),ns=["className"],rs=Object(v.a)("div",{name:"MuiDataGrid",slot:"PanelContent",overridesResolver:function(t,e){return e.panelContent}})({display:"flex",flexDirection:"column",overflow:"auto",flex:"1 1",maxHeight:400});function os(t){var e=t.className,n=l(t,ns),r=function(t){var e=t.classes;return Object(p.a)({root:["panelContent"]},y,e)}({classes:V().classes});return Object(ot.jsx)(rs,s({className:Object(c.default)(e,r.root)},n))}var is=["className"],as=Object(v.a)("div",{name:"MuiDataGrid",slot:"PanelFooter",overridesResolver:function(t,e){return e.panelFooter}})((function(t){return{padding:t.theme.spacing(.5),display:"flex",justifyContent:"space-between"}}));function ss(t){var e=t.className,n=l(t,is),r=function(t){var e=t.classes;return Object(p.a)({root:["panelFooter"]},y,e)}({classes:V().classes});return Object(ot.jsx)(as,s({className:Object(c.default)(e,r.root)},n))}var ls=n(1271),cs=["className"],us=Object(v.a)("div",{name:"MuiDataGrid",slot:"PanelWrapper",overridesResolver:function(t,e){return e.panelWrapper}})({display:"flex",flexDirection:"column",flex:1,"&:focus":{outline:0}}),ds=function(){return!0},fs=r.forwardRef((function(t,e){var n=t.className,r=l(t,cs),o=function(t){var e=t.classes;return Object(p.a)({root:["panelWrapper"]},y,e)}({classes:V().classes});return Object(ot.jsx)(ls.a,{open:!0,disableEnforceFocus:!0,isEnabled:ds,children:Object(ot.jsx)(us,s({ref:e,tabIndex:-1,className:Object(c.default)(n,o.root)},r))})})),ps=n(1307),hs=["item","hasMultipleFilters","deleteFilter","applyFilterChanges","multiFilterOperator","showMultiFilterOperators","disableMultiFilterOperator","applyMultiFilterOperatorChanges","focusElementRef","linkOperators","columnsSort","deleteIconProps","linkOperatorInputProps","operatorInputProps","columnInputProps","valueInputProps","children"],vs=["InputComponentProps"],gs=Object(v.a)("div",{name:"MuiDataGrid",slot:"FilterForm",overridesResolver:function(t,e){return e.filterForm}})((function(t){return{display:"flex",padding:t.theme.spacing(1)}})),ms=Object(v.a)(Bi.a,{name:"MuiDataGrid",slot:"FilterFormDeleteIcon",overridesResolver:function(t,e){return e.filterFormDeleteIcon}})((function(t){var e=t.theme;return{flexShrink:0,justifyContent:"flex-end",marginRight:e.spacing(.5),marginBottom:e.spacing(.2)}})),bs=Object(v.a)(Bi.a,{name:"MuiDataGrid",slot:"FilterFormLinkOperatorInput",overridesResolver:function(t,e){return e.filterFormLinkOperatorInput}})({minWidth:55,marginRight:5,justifyContent:"end"}),ys=Object(v.a)(Bi.a,{name:"MuiDataGrid",slot:"FilterFormColumnInput",overridesResolver:function(t,e){return e.filterFormColumnInput}})({width:150}),xs=Object(v.a)(Bi.a,{name:"MuiDataGrid",slot:"FilterFormOperatorInput",overridesResolver:function(t,e){return e.filterFormOperatorInput}})({width:120}),ws=Object(v.a)(Bi.a,{name:"MuiDataGrid",slot:"FilterFormValueInput",overridesResolver:function(t,e){return e.filterFormValueInput}})({width:190}),Os=function(t){switch(t){case mo.And:return"filterPanelOperatorAnd";case mo.Or:return"filterPanelOperatorOr";default:throw new Error("MUI: Invalid `linkOperator` property in the `GridFilterPanel`.")}},Ss=function(t){return t.headerName||t.field},js=new Intl.Collator,Cs=r.forwardRef((function(t,e){var n,o,i,a,d,f,h,v=t.item,g=t.hasMultipleFilters,m=t.deleteFilter,b=t.applyFilterChanges,x=t.multiFilterOperator,w=t.showMultiFilterOperators,O=t.disableMultiFilterOperator,S=t.applyMultiFilterOperatorChanges,j=t.focusElementRef,C=t.linkOperators,k=void 0===C?[mo.And,mo.Or]:C,E=t.columnsSort,P=t.deleteIconProps,_=void 0===P?{}:P,M=t.linkOperatorInputProps,T=void 0===M?{}:M,A=t.operatorInputProps,R=void 0===A?{}:A,D=t.columnInputProps,N=void 0===D?{}:D,L=t.valueInputProps,B=void 0===L?{}:L,H=l(t,hs),U=z(),W=F(U,I),q=Object($e.a)(),G=Object($e.a)(),Y=Object($e.a)(),X=Object($e.a)(),K=V(),$=function(t){var e=t.classes;return Object(p.a)({root:["filterForm"],deleteIcon:["filterFormDeleteIcon"],linkOperatorInput:["filterFormLinkOperatorInput"],columnInput:["filterFormColumnInput"],operatorInput:["filterFormOperatorInput"],valueInput:["filterFormValueInput"]},y,e)}({classes:K.classes}),Z=r.useRef(null),Q=r.useRef(null),J=g&&k.length>0,tt=(null==(n=K.componentsProps)?void 0:n.baseFormControl)||{},et=null==(i=((null==(o=K.componentsProps)?void 0:o.baseSelect)||{}).native)||i,nt=et?"option":Ze.a,rt=B.InputComponentProps,it=l(B,vs),at=r.useMemo((function(){switch(E){case"asc":return W.sort((function(t,e){return js.compare(Ss(t),Ss(e))}));case"desc":return W.sort((function(t,e){return-js.compare(Ss(t),Ss(e))}));default:return W}}),[W,E]),st=v.columnField?U.current.getColumn(v.columnField):null,lt=r.useMemo((function(){var t;return v.operatorValue&&st?null==(t=st.filterOperators)?void 0:t.find((function(t){return t.value===v.operatorValue})):null}),[v,st]),ct=r.useCallback((function(t){var e=t.target.value,n=U.current.getColumn(e);if(n.field!==st.field){var r=n.filterOperators.find((function(t){return t.value===v.operatorValue}))||n.filterOperators[0],o=!r.InputComponent||r.InputComponent!==(null==lt?void 0:lt.InputComponent);b(s({},v,{columnField:e,operatorValue:r.value,value:o?void 0:v.value}))}}),[U,b,v,st,lt]),ut=r.useCallback((function(t){var e=t.target.value,n=null==st?void 0:st.filterOperators.find((function(t){return t.value===e})),r=!(null!=n&&n.InputComponent)||(null==n?void 0:n.InputComponent)!==(null==lt?void 0:lt.InputComponent);b(s({},v,{operatorValue:e,value:r?void 0:v.value}))}),[b,v,st,lt]),dt=r.useCallback((function(t){var e=t.target.value===mo.And.toString()?mo.And:mo.Or;S(e)}),[S]);return r.useImperativeHandle(j,(function(){return{focus:function(){var t;null!=lt&&lt.InputComponent?null==Z||null==(t=Z.current)||t.focus():Q.current.focus()}}}),[lt]),Object(ot.jsxs)(gs,s({ref:e,className:$.root},H,{children:[Object(ot.jsx)(ms,s({variant:"standard",as:K.components.BaseFormControl},tt,_,{className:Object(c.default)($.deleteIcon,tt.className,_.className),children:Object(ot.jsx)(mr.a,{"aria-label":U.current.getLocaleText("filterPanelDeleteIconLabel"),title:U.current.getLocaleText("filterPanelDeleteIconLabel"),onClick:function(){K.disableMultipleColumnsFiltering?void 0===v.value?m(v):b(s({},v,{value:void 0})):m(v)},size:"small",children:Object(ot.jsx)(K.components.FilterPanelDeleteIcon,{fontSize:"small"})})})),Object(ot.jsx)(bs,s({variant:"standard",as:K.components.BaseFormControl},tt,T,{sx:s({display:J?"flex":"none",visibility:w?"visible":"hidden"},tt.sx||{},T.sx||{}),className:Object(c.default)($.linkOperatorInput,tt.className,T.className),children:Object(ot.jsx)(K.components.BaseSelect,s({inputProps:{"aria-label":U.current.getLocaleText("filterPanelLinkOperator")},value:x,onChange:dt,disabled:!!O||1===k.length,native:et},null==(a=K.componentsProps)?void 0:a.baseSelect,{children:k.map((function(t){return Object(ot.jsx)(nt,{value:t.toString(),children:U.current.getLocaleText(Os(t))},t.toString())}))}))})),Object(ot.jsxs)(ys,s({variant:"standard",as:K.components.BaseFormControl},tt,N,{className:Object(c.default)($.columnInput,tt.className,N.className),children:[Object(ot.jsx)(ps.a,{htmlFor:q,id:G,children:U.current.getLocaleText("filterPanelColumns")}),Object(ot.jsx)(K.components.BaseSelect,s({labelId:G,id:q,label:U.current.getLocaleText("filterPanelColumns"),value:v.columnField||"",onChange:ct,native:et},null==(d=K.componentsProps)?void 0:d.baseSelect,{children:at.map((function(t){return Object(ot.jsx)(nt,{value:t.field,children:Ss(t)},t.field)}))}))]})),Object(ot.jsxs)(xs,s({variant:"standard",as:K.components.BaseFormControl},tt,R,{className:Object(c.default)($.operatorInput,tt.className,R.className),children:[Object(ot.jsx)(ps.a,{htmlFor:Y,id:X,children:U.current.getLocaleText("filterPanelOperators")}),Object(ot.jsx)(K.components.BaseSelect,s({labelId:X,label:U.current.getLocaleText("filterPanelOperators"),id:Y,value:v.operatorValue,onChange:ut,native:et,inputRef:Q},null==(f=K.componentsProps)?void 0:f.baseSelect,{children:null==st||null==(h=st.filterOperators)?void 0:h.map((function(t){return Object(ot.jsx)(nt,{value:t.value,children:t.label||U.current.getLocaleText("filterOperator".concat(Object(u.a)(t.value)))},t.value)}))}))]})),Object(ot.jsx)(ws,s({variant:"standard",as:K.components.BaseFormControl},tt,it,{className:Object(c.default)($.valueInput,tt.className,it.className),children:null!=lt&&lt.InputComponent?Object(ot.jsx)(lt.InputComponent,s({apiRef:U,item:v,applyValue:b,focusElementRef:Z},lt.InputComponentProps,rt)):null}))]}))})),ks=["linkOperators","columnsSort","filterFormProps","children"],Es=r.forwardRef((function(t,e){var n,o=z(),i=V(),a=F(o,Pt),c=F(o,I),u=r.useRef(null),d=t.linkOperators,f=void 0===d?[mo.And,mo.Or]:d,p=t.columnsSort,h=t.filterFormProps,v=l(t,ks),g=r.useCallback((function(t){o.current.upsertFilterItem(t)}),[o]),m=r.useCallback((function(t){o.current.setFilterLinkOperator(t)}),[o]),b=r.useCallback((function(){var t=c.find((function(t){var e;return null==(e=t.filterOperators)?void 0:e.length}));return t?{columnField:t.field,operatorValue:t.filterOperators[0].value,id:Math.round(1e5*Math.random())}:null}),[c]),y=r.useMemo((function(){if(a.items.length)return a.items;var t=b();return t?[t]:[]}),[a.items,b]),x=y.length>1,w=r.useCallback((function(t){var e=1===y.length;o.current.deleteFilterItem(t),e&&o.current.hideFilterPanel()}),[o,y.length]);return r.useEffect((function(){f.length>0&&a.linkOperator&&!f.includes(a.linkOperator)&&m(f[0])}),[f,m,a.linkOperator]),r.useEffect((function(){y.length>0&&u.current.focus()}),[y.length]),Object(ot.jsxs)(fs,s({ref:e},v,{children:[Object(ot.jsx)(os,{children:y.map((function(t,e){return Object(ot.jsx)(Cs,s({item:t,applyFilterChanges:g,deleteFilter:w,hasMultipleFilters:x,showMultiFilterOperators:e>0,multiFilterOperator:a.linkOperator,disableMultiFilterOperator:1!==e,applyMultiFilterOperatorChanges:m,focusElementRef:e===y.length-1?u:null,linkOperators:f,columnsSort:p},h),null==t.id?e:t.id)}))}),!i.disableMultipleColumnsFiltering&&Object(ot.jsx)(ss,{children:Object(ot.jsx)(i.components.BaseButton,s({onClick:function(){var t=b();t&&o.current.upsertFilterItems([].concat(Object(qt.a)(y),[t]))},startIcon:Object(ot.jsx)(Ue,{})},null==(n=i.componentsProps)?void 0:n.baseButton,{children:o.current.getLocaleText("filterPanelAddFilter")}))})]}))})),Ps=n(114),_s=n(1341),Ms=["className"],Ts=Object(v.a)("div",{name:"MuiDataGrid",slot:"PanelHeader",overridesResolver:function(t,e){return e.panelHeader}})((function(t){return{padding:t.theme.spacing(1)}}));function As(t){var e=t.className,n=l(t,Ms),r=function(t){var e=t.classes;return Object(p.a)({root:["panelHeader"]},y,e)}({classes:V().classes});return Object(ot.jsx)(Ts,s({className:Object(c.default)(e,r.root)},n))}var Rs=n(680),Ds=Object(v.a)("div",{name:"MuiDataGrid",slot:"ColumnsPanel",overridesResolver:function(t,e){return e.columnsPanel}})((function(){return{padding:"8px 0px 8px 8px"}})),Is=Object(v.a)("div",{name:"MuiDataGrid",slot:"ColumnsPanelRow",overridesResolver:function(t,e){return e.columnsPanelRow}})((function(t){var e=t.theme;return Object(h.a)({display:"flex",justifyContent:"space-between",padding:"1px 8px 1px 7px"},"& .".concat(Ps.a.root),{marginRight:e.spacing(.5)})})),Ns=Object(v.a)(mr.a)({justifyContent:"flex-end"});var Ls=["children","className","classes"],Fs=Object(b.a)("MuiDataGrid",["panel","paper"]),Bs=Object(v.a)(Or.a,{name:"MuiDataGrid",slot:"Panel",overridesResolver:function(t,e){return e.panel}})((function(t){return{zIndex:t.theme.zIndex.modal}})),zs=Object(v.a)(wr.a,{name:"MuiDataGrid",slot:"Paper",overridesResolver:function(t,e){return e.paper}})((function(t){return{backgroundColor:t.theme.palette.background.paper,minWidth:300,maxHeight:450,display:"flex"}})),Hs=r.forwardRef((function(t,e){var n,o=t.children,i=t.className,u=l(t,Ls),d=z(),f=Fs,p=r.useState(!1),h=Object(a.a)(p,2),v=h[0],g=h[1],m=r.useCallback((function(){d.current.hidePreferences()}),[d]),b=r.useCallback((function(t){Gn(t.key)&&d.current.hidePreferences()}),[d]),y=r.useMemo((function(){return[{name:"flip",enabled:!1},{name:"isPlaced",enabled:!0,phase:"main",fn:function(){g(!0)},effect:function(){return function(){g(!1)}}}]}),[]),x=null==(n=d.current.columnHeadersContainerElementRef)?void 0:n.current;return x?Object(ot.jsx)(Bs,s({ref:e,placement:"bottom-start",className:Object(c.default)(i,f.panel),anchorEl:x,modifiers:y},u,{children:Object(ot.jsx)(yr.a,{mouseEvent:"onMouseUp",onClickAway:m,children:Object(ot.jsx)(zs,{className:f.paper,elevation:8,onKeyDown:b,children:v&&o})})})):null})),Vs=["selected","rowId","row","index","style","rowHeight","className","visibleColumns","renderedColumns","containerWidth","firstColumnToRender","lastColumnToRender","cellFocus","cellTabIndex","editRowsState","isLastVisible","onClick","onDoubleClick","onMouseEnter","onMouseLeave"],Us=function(t){var e=t.width;if(!e)return null;var n={width:e};return Object(ot.jsx)("div",{className:"MuiDataGrid-cell",style:n})};var Ws=["sortingOrder"],qs=r.memo((function(t){var e=t.sortingOrder,n=l(t,Ws),r=V(),o="asc"===Object(a.a)(e,1)[0]?r.components.ColumnSortedAscendingIcon:r.components.ColumnSortedDescendingIcon;return o?Object(ot.jsx)(o,s({},n)):null})),Gs=["message","hasError","errorInfo"],Ys=r.forwardRef((function(t,e){var n=t.message,r=l(t,Gs),o=z(),i=o.current.getLocaleText("errorOverlayDefaultLabel"),a=F(o,et);return Object(ot.jsx)(Ca,s({ref:e,sx:{width:"100%",minHeight:2*a}},r,{children:n||i}))})),Xs=r.forwardRef((function(t,e){var n=z().current.getLocaleText("noResultsOverlayLabel");return Object(ot.jsx)(Ca,s({ref:e},t,{children:n}))})),Ks=s({},{BooleanCellTrueIcon:Xe,BooleanCellFalseIcon:Ve,ColumnMenuIcon:He,OpenFilterButtonIcon:Re,FilterPanelDeleteIcon:Ve,ColumnFilteredIcon:De,ColumnSelectorIcon:Ne,ColumnUnsortedIcon:qs,ColumnSortedAscendingIcon:_e,ColumnSortedDescendingIcon:Me,ColumnResizeIcon:Le,DensityCompactIcon:Fe,DensityStandardIcon:Be,DensityComfortableIcon:ze,ExportIcon:Ye,MoreActionsIcon:Ke,TreeDataCollapseIcon:Ae,TreeDataExpandIcon:Te,GroupingCriteriaCollapseIcon:Ae,GroupingCriteriaExpandIcon:Te,DetailPanelExpandIcon:Ue,DetailPanelCollapseIcon:We,RowReorderIcon:Ge,QuickFilterIcon:Ie,QuickFilterClearIcon:Ve},{BaseCheckbox:Li.a,BaseTextField:Fi.a,BaseFormControl:Bi.a,BaseSelect:zi.a,BaseSwitch:Hi.a,BaseButton:Vi.a,BaseTooltip:Ui.a,BasePopper:Or.a,Cell:function(t){var e=t.align,n=t.children,o=t.colIndex,i=t.cellMode,a=t.field,d=t.formattedValue,f=t.hasFocus,h=t.height,v=t.isEditable,g=t.rowId,m=t.tabIndex,b=t.value,x=t.width,w=t.className,O=t.showRightBorder,S=t.colSpan,j=t.disableDragEvents,C=t.onClick,k=t.onDoubleClick,E=t.onMouseDown,P=t.onMouseUp,_=t.onKeyDown,M=t.onDragEnter,T=t.onDragOver,A=l(t,Wi),R=null==d?b:d,D=r.useRef(null),I=r.useRef(null),N=z(),L=function(t){var e=t.align,n=t.showRightBorder,r=t.isEditable,o=t.classes,i={root:["cell","cell--text".concat(Object(u.a)(e)),r&&"cell--editable",n&&"withBorder"],content:["cellContent"]};return Object(p.a)(i,y,o)}({align:e,showRightBorder:O,isEditable:v,classes:V().classes}),F=r.useCallback((function(t){return function(e){var n=N.current.getCellParams(g,a||"");N.current.publishEvent(t,n,e),P&&P(e)}}),[N,a,P,g]),B=r.useCallback((function(t,e){return function(n){if(n.currentTarget.contains(n.target)&&N.current.getRow(g)){var r=N.current.getCellParams(g,a||"");N.current.publishEvent(t,r,n),e&&e(n)}}}),[N,a,g]),H={minWidth:x,maxWidth:x,minHeight:h,maxHeight:"auto"===h?"none":h};r.useLayoutEffect((function(){if(f&&i!==Un.Edit){var t=Object(Co.a)(N.current.rootElementRef.current);if(D.current&&!D.current.contains(t.activeElement)){var e=D.current.querySelector('[tabindex="0"]'),n=I.current||e||D.current;if(void 0===Ai&&document.createElement("div").focus({get preventScroll(){return Ai=!0,!1}}),Ai)n.focus({preventScroll:!0});else{var r=N.current.getScrollPosition();n.focus(),N.current.scroll(r)}}}}),[f,i,N]);var U=A.onFocus,W="actions"===N.current.getColumn(a).type,q=j?null:{onDragEnter:B("cellDragEnter",M),onDragOver:B("cellDragOver",T)};return Object(ot.jsx)("div",s({ref:D,className:Object(c.default)(w,L.root),role:"cell","data-field":a,"data-colindex":o,"aria-colindex":o+1,"aria-colspan":S,style:H,tabIndex:"view"!==i&&v||W?-1:m,onClick:B("cellClick",C),onDoubleClick:B("cellDoubleClick",k),onMouseDown:B("cellMouseDown",E),onMouseUp:F("cellMouseUp"),onKeyDown:B("cellKeyDown",_)},q,A,{onFocus:U,children:null==n?Object(ot.jsx)("div",{className:L.content,children:null==R?void 0:R.toString()}):r.isValidElement(n)&&W?r.cloneElement(n,{focusElementRef:I}):n}))},ColumnHeaderFilterIconButton:function(t){var e,n=t.counter,o=t.field,i=t.onClick,a=z(),l=V(),c=function(t){var e=t.classes;return Object(p.a)({icon:["filterIcon"]},y,e)}(s({},t,{classes:l.classes})),u=r.useCallback((function(t){t.preventDefault(),t.stopPropagation();var e=$o(a.current.state),n=e.open,r=e.openedPanelValue;n&&r===Ir.filters?a.current.hideFilterPanel():a.current.showFilterPanel(),i&&i(a.current.getColumnHeaderParams(o),t)}),[a,o,i]);if(!n)return null;var d=Object(ot.jsx)(mr.a,{onClick:u,color:"default","aria-label":a.current.getLocaleText("columnHeaderFiltersLabel"),size:"small",tabIndex:-1,children:Object(ot.jsx)(l.components.ColumnFilteredIcon,{className:c.icon,fontSize:"small"})});return Object(ot.jsx)(l.components.BaseTooltip,s({title:a.current.getLocaleText("columnHeaderFiltersTooltipActive")(n),enterDelay:1e3},null==(e=l.componentsProps)?void 0:e.baseTooltip,{children:Object(ot.jsxs)(Xi,{children:[n>1&&Object(ot.jsx)(qi.a,{badgeContent:n,color:"default",children:d}),1===n&&d]})}))},ColumnMenu:ca,ErrorOverlay:Ys,Footer:ya,Header:xa,Toolbar:null,PreferencesPanel:wa,LoadingOverlay:ka,NoResultsOverlay:Xs,NoRowsOverlay:Ea,Pagination:es,FilterPanel:Es,ColumnsPanel:function(t){var e,n,o,i=z(),l=r.useRef(null),c=F(i,M),u=F(i,T),d=V(),f=r.useState(""),h=Object(a.a)(f,2),v=h[0],g=h[1],m=function(t){var e=t.classes;return Object(p.a)({root:["columnsPanel"],columnsPanelRow:["columnsPanelRow"]},y,e)}({classes:d.classes}),b=function(t){var e=t.target.name;i.current.setColumnVisibility(e,!1===u[e])},x=r.useCallback((function(t){return i.current.unstable_caches.columns.isUsingColumnVisibilityModel?t?i.current.setColumnVisibilityModel({}):i.current.setColumnVisibilityModel(Object.fromEntries(c.filter((function(t){return!1!==t.hideable})).map((function(t){return[t.field,!1]})))):i.current.updateColumns(c.map((function(e){return!1!==e.hideable?{field:e.field,hide:!t}:e})))}),[i,c]),w=r.useCallback((function(t){g(t.target.value)}),[]),O=r.useMemo((function(){if(!v)return c;var t=v.toLowerCase();return c.filter((function(e){return(e.headerName||e.field).toLowerCase().indexOf(t)>-1}))}),[c,v]);return r.useEffect((function(){l.current.focus()}),[]),Object(ot.jsxs)(fs,s({},t,{children:[Object(ot.jsx)(As,{children:Object(ot.jsx)(d.components.BaseTextField,s({label:i.current.getLocaleText("columnsPanelTextFieldLabel"),placeholder:i.current.getLocaleText("columnsPanelTextFieldPlaceholder"),inputRef:l,value:v,onChange:w,variant:"standard",fullWidth:!0},null==(e=d.componentsProps)?void 0:e.baseTextField))}),Object(ot.jsx)(os,{children:Object(ot.jsx)(Ds,{className:m.root,children:O.map((function(t){var e;return Object(ot.jsxs)(Is,{className:m.columnsPanelRow,children:[Object(ot.jsx)(_s.a,{control:Object(ot.jsx)(d.components.BaseSwitch,s({disabled:!1===t.hideable,checked:!1!==u[t.field],onClick:b,name:t.field,size:"small"},null==(e=d.componentsProps)?void 0:e.baseSwitch)),label:t.headerName||t.field}),!d.disableColumnReorder&&Rs.a&&Object(ot.jsx)(Ns,{draggable:!0,"aria-label":i.current.getLocaleText("columnsPanelDragIconLabel"),title:i.current.getLocaleText("columnsPanelDragIconLabel"),size:"small",disabled:!0,children:Object(ot.jsx)(Ge,{})})]},t.field)}))})}),Object(ot.jsxs)(ss,{children:[Object(ot.jsx)(d.components.BaseButton,s({onClick:function(){return x(!1)}},null==(n=d.componentsProps)?void 0:n.baseButton,{children:i.current.getLocaleText("columnsPanelHideAllButton")})),Object(ot.jsx)(d.components.BaseButton,s({onClick:function(){return x(!0)}},null==(o=d.componentsProps)?void 0:o.baseButton,{children:i.current.getLocaleText("columnsPanelShowAllButton")}))]})]}))},Panel:Hs,Row:function(t){var e,n=t.selected,o=t.rowId,i=t.row,u=t.index,d=t.style,f=t.rowHeight,h=t.className,v=t.visibleColumns,g=t.renderedColumns,m=t.containerWidth,b=t.firstColumnToRender,w=t.cellFocus,O=t.cellTabIndex,S=t.editRowsState,j=t.isLastVisible,C=void 0!==j&&j,k=t.onClick,E=t.onDoubleClick,P=t.onMouseEnter,_=t.onMouseLeave,M=l(t,Vs),T=u+2,A=z(),R=r.useRef(null),I=V(),N=zo(A,I),L=F(A,D),B=F(A,Ct),H=F(A,Z),U=null!=(e=A.current.getRootDimensions())?e:{hasScrollX:!1,hasScrollY:!1},W=U.hasScrollX,q=U.hasScrollY,G=function(t){var e=t.editable,n=t.editing,r=t.selected,o=t.isLastVisible,i=t.rowHeight,a=t.classes,s={root:["row",r&&"selected",e&&"row--editable",n&&"row--editing",o&&"row--lastVisible","auto"===i&&"row--dynamicHeight"]};return Object(p.a)(s,y,a)}({selected:n,isLastVisible:C,classes:I.classes,editing:A.current.getRowMode(o)===Wn.Edit,editable:I.editMode===Vn.Row,rowHeight:f});r.useLayoutEffect((function(){"auto"===f&&R.current&&"undefined"===typeof ResizeObserver&&A.current.unstable_storeRowHeightMeasurement(o,R.current.clientHeight)}),[A,f,o]),r.useLayoutEffect((function(){N.range&&A.current.unstable_setLastMeasuredRowIndex(u-N.range.firstRowIndex);var t=R.current;if(t&&!("auto"!==f)&&"undefined"!==typeof ResizeObserver){var e=new ResizeObserver((function(t){var e=Object(a.a)(t,1)[0],n=e.borderBoxSize&&e.borderBoxSize.length>0?e.borderBoxSize[0].blockSize:e.contentRect.height;A.current.unstable_storeRowHeightMeasurement(o,n)}));return e.observe(t),function(){return e.disconnect()}}}),[A,N.range,u,f,o]);var Y=r.useCallback((function(t,e){return function(n){(1!==n.target.nodeType||n.currentTarget.contains(n.target))&&A.current.getRow(o)&&(A.current.publishEvent(t,A.current.getRowParams(o),n),e&&e(n))}}),[A,o]),X=r.useCallback((function(t){var e=Oi(t.target,x.cell),n=null==e?void 0:e.getAttribute("data-field");if(n){if(n===ho.field)return;if(n===Vo)return;if("__reorder__"===n)return;if(A.current.getCellMode(o,n)===Un.Edit)return;if(A.current.getColumn(n).type===_r)return}Y("rowClick",k)(t)}),[A,k,Y,o]),K=s({},d,{maxHeight:"auto"===f?"none":f,minHeight:f}),$=A.current.unstable_getRowInternalSizes(o);null!=$&&$.spacingTop&&(K["border"===I.rowSpacingType?"borderTopWidth":"marginTop"]=$.spacingTop),null!=$&&$.spacingBottom&&(K["border"===I.rowSpacingType?"borderBottomWidth":"marginBottom"]=$.spacingBottom);var Q=null;if("function"===typeof I.getRowClassName){var J=u-N.range.firstRowIndex,tt=s({},A.current.getRowParams(o),{isFirstVisible:0===J,isLastVisible:J===N.rows.length-1,indexRelativeToCurrentPage:J});Q=I.getRowClassName(tt)}for(var et=[],nt=0;nt<g.length;nt+=1){var rt=g[nt],it=b+nt,at=it===v.length-1,st=at?!(at&&W&&!q)&&I.disableExtendRowFullWidth:I.showCellRightBorder,lt=A.current.getCellParams(o,rt.field),ct=[],ut=I.disableColumnReorder&&rt.disableReorder||!I.rowReordering&&!!B.length&&H>1&&Object.keys(S).length>0;rt.cellClassName&&ct.push(Object(c.default)("function"===typeof rt.cellClassName?rt.cellClassName(lt):rt.cellClassName));var dt,ft=S[o]?S[o][rt.field]:null,pt=null;if(null==ft&&rt.renderCell)pt=rt.renderCell(s({},lt,{api:A.current})),ct.push(Object(c.default)(x["cell--withRenderer"],null==(dt=I.classes)?void 0:dt["cell--withRenderer"]));if(null!=ft&&rt.renderEditCell){var ht,vt=i;A.current.unstable_getRowWithUpdatedValues&&(vt=A.current.unstable_getRowWithUpdatedValues(o,rt.field));var gt=s({},lt,{row:vt},ft,{api:A.current});pt=rt.renderEditCell(gt),ct.push(Object(c.default)(x["cell--editing"],null==(ht=I.classes)?void 0:ht["cell--editing"]))}I.getCellClassName&&ct.push(I.getCellClassName(lt));var mt=null!==w&&w.id===o&&w.field===rt.field,bt=null!==O&&O.id===o&&O.field===rt.field&&"view"===lt.cellMode?0:-1,yt=A.current.unstable_getCellColSpanInfo(o,it);if(yt&&!yt.spannedByColSpan){var xt,wt=yt.cellProps,Ot=wt.colSpan,St=wt.width;et.push(Object(ot.jsx)(I.components.Cell,s({value:lt.value,field:rt.field,width:St,rowId:o,height:f,showRightBorder:st,formattedValue:lt.formattedValue,align:rt.align||"left",cellMode:lt.cellMode,colIndex:it,isEditable:lt.isEditable,hasFocus:mt,tabIndex:bt,className:Object(c.default)(ct),colSpan:Ot,disableDragEvents:ut},null==(xt=I.componentsProps)?void 0:xt.cell,{children:pt}),rt.field))}}var jt=m-L;return Object(ot.jsxs)("div",s({ref:R,"data-id":o,"data-rowindex":u,role:"row",className:Object(c.default)(Q,G.root,h),"aria-rowindex":T,"aria-selected":n,style:K,onClick:X,onDoubleClick:Y("rowDoubleClick",E),onMouseEnter:Y("rowMouseEnter",P),onMouseLeave:Y("rowMouseLeave",_)},M,{children:[et,jt>0&&Object(ot.jsx)(Us,{width:jt})]}))}}),$s={apiRef:void 0,disableMultipleColumnsFiltering:!0,disableMultipleColumnsSorting:!0,disableMultipleSelection:!0,throttleRowsMs:void 0,hideFooterRowCount:!1,pagination:!0,checkboxSelectionVisibleOnly:!1,disableColumnReorder:!0,disableColumnResize:!0,signature:"DataGrid"},Zs={autoHeight:!1,autoPageSize:!1,checkboxSelection:!1,checkboxSelectionVisibleOnly:!1,columnBuffer:3,rowBuffer:3,columnThreshold:3,rowThreshold:3,density:Hr.Standard,disableExtendRowFullWidth:!1,disableColumnFilter:!1,disableColumnMenu:!1,disableColumnSelector:!1,disableDensitySelector:!1,disableMultipleColumnsFiltering:!1,disableMultipleSelection:!1,disableMultipleColumnsSorting:!1,disableSelectionOnClick:!1,disableVirtualization:!1,editMode:Vn.Cell,filterMode:Eo,headerHeight:56,hideFooter:!1,hideFooterPagination:!1,hideFooterRowCount:!1,hideFooterSelectedRowCount:!1,logger:console,logLevel:"error",pagination:!1,paginationMode:Eo,rowHeight:52,rowsPerPageOptions:[25,50,100],rowSpacingType:"margin",showCellRightBorder:!1,showColumnRightBorder:!1,sortingOrder:["asc","desc",null],sortingMode:Eo,throttleRowsMs:0,disableColumnReorder:!1,disableColumnResize:!1,keepNonExistentRowsSelected:!1},Qs=["className"],Js=Object(v.a)("div",{name:"MuiDataGrid",slot:"VirtualScroller",overridesResolver:function(t,e){return e.virtualScroller}})({overflow:"auto",position:"relative","@media print":{overflow:"hidden"}}),tl=r.forwardRef((function(t,e){var n=t.className,r=l(t,Qs),o=function(t){var e=t.classes;return Object(p.a)({root:["virtualScroller"]},y,e)}({classes:V().classes});return Object(ot.jsx)(Js,s({ref:e,className:Object(c.default)(o.root,n)},r))})),el=["className","style"],nl=Object(v.a)("div",{name:"MuiDataGrid",slot:"VirtualScrollerContent",overridesResolver:function(t,e){return e.virtualScrollerContent}})({}),rl=r.forwardRef((function(t,e){var n=t.className,r=t.style,o=l(t,el),i=V(),a=function(t){var e=t.classes,n={root:["virtualScrollerContent",t.overflowedContent&&"virtualScrollerContent--overflowed"]};return Object(p.a)(n,y,e)}({classes:i.classes,overflowedContent:!i.autoHeight&&"auto"===(null==r?void 0:r.minHeight)});return Object(ot.jsx)(nl,s({ref:e,className:Object(c.default)(a.root,n),style:r},o))})),ol=["className"],il=Object(v.a)("div",{name:"MuiDataGrid",slot:"VirtualScrollerRenderZone",overridesResolver:function(t,e){return e.virtualScrollerRenderZone}})({position:"absolute",display:"flex",flexDirection:"column"}),al=r.forwardRef((function(t,e){var n=t.className,r=l(t,ol),o=function(t){var e=t.classes;return Object(p.a)({root:["virtualScrollerRenderZone"]},y,e)}({classes:V().classes});return Object(ot.jsx)(il,s({ref:e,className:Object(c.default)(o.root,n)},r))})),sl=n(51),ll=["style"];function cl(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length;if(e.length<=0)return-1;if(n>=r)return n;var o=n+Math.floor((r-n)/2),i=e[o];return t<=i?cl(t,e,n,o):cl(t,e,o+1,r)}var ul=function(t){var e=t.firstIndex,n=t.lastIndex,r=t.buffer,o=t.minFirstIndex,i=t.maxLastIndex;return[Object(Gt.a)(e-r,o,i),Object(Gt.a)(n+r,o,i)]},dl=function(t){var e,n,o=z(),i=V(),c=F(o,A),u=t.ref,f=t.disableVirtualization,p=t.onRenderZonePositioning,h=t.renderZoneMinColumnIndex,v=void 0===h?0:h,g=t.renderZoneMaxColumnIndex,m=void 0===g?c.length:g,b=t.getRowProps,y=F(o,R),x=F(o,D),w=F(o,et),O=F(o,Kr),S=F(o,Qr),j=F(o,ko),C=F(o,Qo),k=F(o,ro),E=zo(o,i),P=r.useRef(null),_=r.useRef(null),M=Object(d.a)(u,_),T=r.useState(null),I=Object(a.a)(T,2),N=I[0],L=I[1],B=r.useRef(N),H=r.useRef({top:0,left:0}),U=r.useState(null),W=Object(a.a)(U,2),q=W[0],G=W[1],Y=r.useRef(x),X=r.useCallback((function(t){var e,n,r=o.current.unstable_getLastMeasuredRowIndex()-((null==(e=E.range)?void 0:e.firstRowIndex)||0),i=Math.max(0,r),a=i===1/0;return null!=(n=E.range)&&n.lastRowIndex&&!a&&(a=i>=E.range.lastRowIndex),a||j.positions[i]>=t?cl(t,j.positions):function(t,e,n){for(var r=1;n<e.length&&e[n]<t;)n+=r,r*=2;return cl(t,e,Math.floor(n/2),Math.min(n,e.length))}(t,j.positions,i)}),[o,null==(e=E.range)?void 0:e.firstRowIndex,null==(n=E.range)?void 0:n.lastRowIndex,j.positions]),K=r.useCallback((function(){if(f)return{firstRowIndex:0,lastRowIndex:E.rows.length,firstColumnIndex:0,lastColumnIndex:c.length};for(var t=H.current,e=t.top,n=t.left,r=Math.min(X(e),j.positions.length-1),s=i.autoHeight?r+E.rows.length:X(e+_.current.clientHeight),l=!1,u=0,d=y.length,p=ul({firstIndex:r,lastIndex:s,minFirstIndex:0,maxLastIndex:E.rows.length,buffer:i.rowBuffer}),h=Object(a.a)(p,2),v=h[0],g=h[1],m=v;m<g&&!l;m+=1){var b=E.rows[m];l=o.current.unstable_rowHasAutoHeight(b.id)}return l||(u=cl(n,y),d=cl(n+q,y)),{firstRowIndex:r,lastRowIndex:s,firstColumnIndex:u,lastColumnIndex:d}}),[f,X,j.positions.length,i.autoHeight,i.rowBuffer,E.rows,y,c.length,o,q]);r.useEffect((function(){f?P.current.style.transform="translate3d(0px, 0px, 0px)":(_.current.scrollLeft=0,_.current.scrollTop=0)}),[f]),r.useEffect((function(){G(_.current.clientWidth)}),[j.currentPageTotalHeight]);var $=r.useCallback((function(){_.current&&G(_.current.clientWidth)}),[]);ie(o,"resize",$);var Z=r.useCallback((function(t){var e=ul({firstIndex:t.firstRowIndex,lastIndex:t.lastRowIndex,minFirstIndex:0,maxLastIndex:E.rows.length,buffer:i.rowBuffer}),n=Object(a.a)(e,2),r=n[0],s=n[1],l=ul({firstIndex:t.firstColumnIndex,lastIndex:t.lastColumnIndex,minFirstIndex:v,maxLastIndex:m,buffer:i.columnBuffer}),c=Br({firstColumnToRender:Object(a.a)(l,1)[0],apiRef:o,firstRowToRender:r,lastRowToRender:s,visibleRows:E.rows}),u=ko(o.current.state).positions[r],d=R(o)[c];P.current.style.transform="translate3d(".concat(d,"px, ").concat(u,"px, 0px)"),"function"===typeof p&&p({top:u,left:d})}),[o,E.rows,p,v,m,i.columnBuffer,i.rowBuffer]);r.useLayoutEffect((function(){N&&Z(N)}),[N,Z]);var Q=r.useCallback((function(t){L(t),B.current=t}),[L,B]);r.useEffect((function(){if(null!=q){var t=K();Q(t);var e=H.current,n={top:e.top,left:e.left,renderContext:t};o.current.publishEvent("rowsScroll",n)}}),[o,K,q,Q]);var J=function(t){var e=t.currentTarget,n=e.scrollTop,r=e.scrollLeft;if(H.current.top=n,H.current.left=r,!(r<0||n<0)&&B.current){var a=f?B.current:K(),s=Math.abs(a.firstRowIndex-B.current.firstRowIndex),l=Math.abs(a.lastRowIndex-B.current.lastRowIndex),c=Math.abs(a.firstColumnIndex-B.current.firstColumnIndex),u=Math.abs(a.lastColumnIndex-B.current.lastColumnIndex),d=s>=i.rowThreshold||l>=i.rowThreshold||c>=i.columnThreshold||u>=i.columnThreshold||Y.current!==x;o.current.publishEvent("rowsScroll",{top:n,left:r,renderContext:d?a:B.current},t),d&&(sl.flushSync((function(){Q(a)})),Y.current=x)}},tt=function(t){o.current.publishEvent("virtualScrollerWheel",{},t)},nt=function(t){o.current.publishEvent("virtualScrollerTouchMove",{},t)},rt=q&&x>q,it=r.useMemo((function(){var t=Math.max(j.currentPageTotalHeight,1),e=!1;null!=_&&_.current&&t<=(null==_?void 0:_.current.clientHeight)&&(e=!0);var n={width:rt?x:"auto",height:t,minHeight:e?"100%":"auto"};return i.autoHeight&&0===E.rows.length&&(n.height=2*w),n}),[_,x,j.currentPageTotalHeight,E.rows.length,rt,i.autoHeight,w]);r.useEffect((function(){o.current.publishEvent("virtualScrollerContentSizeChange")}),[o,it]),i.autoHeight&&0===E.rows.length&&(it.height=2*w);var at={};rt||(at.overflowX="hidden"),i.autoHeight&&(at.overflowY="hidden");var st=r.useCallback((function(){return B.current}),[]);return o.current.unstable_getRenderContext=st,{renderContext:N,updateRenderZonePosition:Z,getRows:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{renderContext:N},e=t.renderContext,n=t.minFirstColumn,r=void 0===n?v:n,l=t.maxLastColumn,u=void 0===l?m:l,d=t.availableSpace,p=void 0===d?q:d,h=t.ignoreAutoHeight;if(!E.range||!e||null==p)return null;for(var g=f?0:i.rowBuffer,y=f?0:i.columnBuffer,x=ul({firstIndex:e.firstRowIndex,lastIndex:e.lastRowIndex,minFirstIndex:0,maxLastIndex:E.rows.length,buffer:g}),w=Object(a.a)(x,2),j=w[0],P=w[1],_=[],M=j;M<P;M+=1){var T=E.rows[M];_.push(T),o.current.unstable_calculateColSpan({rowId:T.id,minFirstColumn:r,maxLastColumn:u,columns:c})}var A=ul({firstIndex:e.firstColumnIndex,lastIndex:e.lastColumnIndex,minFirstIndex:r,maxLastIndex:u,buffer:y}),R=Object(a.a)(A,2),D=R[0],I=R[1],L=Br({firstColumnToRender:D,apiRef:o,firstRowToRender:j,lastRowToRender:P,visibleRows:E.rows}),F=c.slice(L,I),B=[];for(M=0;M<_.length;M+=1){var z,H=_[M],V=H.id,U=H.model,W=j+M===E.rows.length-1,G=!o.current.unstable_rowHasAutoHeight(V)||h?o.current.unstable_getRowHeight(V):"auto",Y=void 0;Y=null!=k[V]&&o.current.isRowSelectable(V),B.push(Object(ot.jsx)(i.components.Row,s({row:U,rowId:V,rowHeight:G,cellFocus:O,cellTabIndex:S,editRowsState:C,renderedColumns:F,visibleColumns:c,firstColumnToRender:L,lastColumnToRender:I,selected:Y,index:E.range.firstRowIndex+j+M,containerWidth:p,isLastVisible:W},"function"===typeof b?b(V,U):{},null==(z=i.componentsProps)?void 0:z.row),V))}return B},getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.style,n=void 0===e?{}:e,r=l(t,ll);return s({ref:M,onScroll:J,onWheel:tt,onTouchMove:nt,style:s({},n,at)},r)},getContentProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.style,n=void 0===e?{}:e;return{style:s({},n,it)}},getRenderZoneProps:function(){return{ref:P}}}},fl=["className","disableVirtualization"],pl=r.forwardRef((function(t,e){var n=t.className,r=t.disableVirtualization,o=l(t,fl),i=dl({ref:e,disableVirtualization:r}),a=i.getRootProps,c=i.getContentProps,u=i.getRenderZoneProps,d=i.getRows;return Object(ot.jsx)(tl,s({className:n},a(o),{children:Object(ot.jsx)(rl,s({},c(),{children:Object(ot.jsx)(al,s({},u(),{children:d()}))}))}))})),hl=n(391);function vl(t){var e=t.direction,n=t.index,r=t.sortingOrder,o=z(),i=V(),a=function(t){var e=t.classes;return Object(p.a)({icon:["sortIcon"]},y,e)}(s({},t,{classes:i.classes})),l=function(t,e,n,r){var o,i={};return"asc"===e?o=t.ColumnSortedAscendingIcon:"desc"===e?o=t.ColumnSortedDescendingIcon:(o=t.ColumnUnsortedIcon,i.sortingOrder=r),o?Object(ot.jsx)(o,s({fontSize:"small",className:n},i)):null}(i.components,e,a.icon,r);if(!l)return null;var c=Object(ot.jsx)(mr.a,{tabIndex:-1,"aria-label":o.current.getLocaleText("columnHeaderSortIconLabel"),title:o.current.getLocaleText("columnHeaderSortIconLabel"),size:"small",children:l});return Object(ot.jsxs)(Xi,{children:[null!=n&&Object(ot.jsx)(qi.a,{badgeContent:n,color:"default",children:c}),null==n&&c]})}var gl=r.memo(vl),ml=["className"],bl=Object(v.a)("div",{name:"MuiDataGrid",slot:"ColumnHeaderTitle",overridesResolver:function(t,e){return e.columnHeaderTitle}})((function(t){return{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",fontWeight:t.theme.typography.fontWeightMedium}})),yl=r.forwardRef((function(t,e){var n=t.className,r=l(t,ml),o=function(t){var e=t.classes;return Object(p.a)({root:["columnHeaderTitle"]},y,e)}({classes:V().classes});return Object(ot.jsx)(bl,s({ref:e,className:Object(c.default)(o.root,n)},r))}));function xl(t){var e,n=t.label,o=t.description,i=t.columnWidth,l=V(),c=r.useRef(null),u=r.useState(""),d=Object(a.a)(u,2),f=d[0],p=d[1];return r.useEffect((function(){if(!o&&c&&c.current){var t=(e=c.current).scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth;p(t?n:"")}var e}),[c,i,o,n]),Object(ot.jsx)(l.components.BaseTooltip,s({title:o||f},null==(e=l.componentsProps)?void 0:e.baseTooltip,{children:Object(ot.jsx)(yl,{ref:c,children:n})}))}var wl,Ol=["resizable","resizing","height","side"];!function(t){t.Left="left",t.Right="right"}(wl||(wl={}));function Sl(t){var e=t.height,n=t.side,o=void 0===n?wl.Right:n,i=l(t,Ol),a=V(),c=function(t){var e=t.resizable,n=t.resizing,r=t.classes,o=t.side,i={root:["columnSeparator",e&&"columnSeparator--resizable",n&&"columnSeparator--resizing",o&&"columnSeparator--side".concat(Object(u.a)(o))],icon:["iconSeparator"]};return Object(p.a)(i,y,r)}(s({},t,{side:o,classes:a.classes})),d=r.useCallback((function(t){t.preventDefault(),t.stopPropagation()}),[]);return Object(ot.jsx)("div",s({className:c.root,style:{minHeight:e,opacity:a.showColumnRightBorder?0:1}},i,{onClick:d,children:Object(ot.jsx)(a.components.ColumnResizeIcon,{className:c.icon})}))}var jl=r.memo(Sl),Cl=r.memo((function(t){var e=t.column,n=t.open,o=t.columnMenuId,i=t.columnMenuButtonId,a=t.iconButtonRef,l=z(),c=V(),u=function(t){var e=t.classes,n={root:["menuIcon",t.open&&"menuOpen"],button:["menuIconButton"]};return Object(p.a)(n,y,e)}(s({},t,{classes:c.classes})),d=r.useCallback((function(t){t.preventDefault(),t.stopPropagation(),l.current.toggleColumnMenu(e.field)}),[l,e.field]);return Object(ot.jsx)("div",{className:u.root,children:Object(ot.jsx)(mr.a,{ref:a,tabIndex:-1,className:u.button,"aria-label":l.current.getLocaleText("columnMenuLabel"),title:l.current.getLocaleText("columnMenuLabel"),size:"small",onClick:d,"aria-expanded":n?"true":void 0,"aria-haspopup":"true","aria-controls":o,id:i,children:Object(ot.jsx)(c.components.ColumnMenuIcon,{fontSize:"small"})})})}));function kl(t){var e=t.columnMenuId,n=t.columnMenuButtonId,o=t.ContentComponent,i=t.contentComponentProps,a=t.field,l=t.open,c=t.target,u=t.onExited,d=z(),f=d.current.getColumn(a),p=r.useCallback((function(t){t.stopPropagation(),d.current.hideColumnMenu()}),[d]);return c?Object(ot.jsx)(kr,{placement:"bottom-".concat("right"===f.align?"start":"end"),open:l,target:c,onClickAway:p,onExited:u,children:Object(ot.jsx)(o,s({currentColumn:f,hideMenu:p,open:l,id:e,labelledby:n},i))}):null}function El(t){var e,n,o,i,l,u=t.column,d=t.columnMenuOpen,f=t.colIndex,h=t.headerHeight,v=t.isResizing,g=t.isLastColumn,m=t.sortDirection,b=t.sortIndex,x=t.filterItemsCounter,w=t.hasFocus,O=t.tabIndex,S=t.extendRowFullWidth,j=t.disableReorder,C=t.separatorSide,k=z(),E=V(),P=r.useRef(null),_=Object($e.a)(),M=Object($e.a)(),T=r.useRef(null),A=r.useState(d),R=Object(a.a)(A,2),D=R[0],I=R[1],N=null!=(e=k.current.getRootDimensions())?e:{hasScrollX:!1,hasScrollY:!1},L=N.hasScrollX,F=N.hasScrollY,B=r.useMemo((function(){return!E.disableColumnReorder&&!j&&!u.disableReorder}),[E.disableColumnReorder,j,u.disableReorder]),H=null;u.renderHeader&&(H=u.renderHeader(k.current.getColumnHeaderParams(u.field)));var U=r.useCallback((function(t){return function(e){e.currentTarget.contains(e.target)&&k.current.publishEvent(t,k.current.getColumnHeaderParams(u.field),e)}}),[k,u.field]),W={onClick:U("columnHeaderClick"),onDoubleClick:U("columnHeaderDoubleClick"),onMouseOver:U("columnHeaderOver"),onMouseOut:U("columnHeaderOut"),onMouseEnter:U("columnHeaderEnter"),onMouseLeave:U("columnHeaderLeave"),onKeyDown:U("columnHeaderKeyDown"),onFocus:U("columnHeaderFocus"),onBlur:U("columnHeaderBlur")},q=B?{onDragStart:U("columnHeaderDragStart"),onDragEnter:U("columnHeaderDragEnter"),onDragOver:U("columnHeaderDragOver"),onDragEnd:U("columnHeaderDragEnd")}:null,G=g?!(g&&L&&!F)&&!S:E.showColumnRightBorder,Y=function(t){var e=t.column,n=t.classes,r=t.isDragging,o=t.sortDirection,i=t.showRightBorder,a=t.filterItemsCounter,s=null!=o,l=null!=a&&a>0,c="number"===e.type,u={root:["columnHeader","left"===e.headerAlign&&"columnHeader--alignLeft","center"===e.headerAlign&&"columnHeader--alignCenter","right"===e.headerAlign&&"columnHeader--alignRight",e.sortable&&"columnHeader--sortable",r&&"columnHeader--moving",s&&"columnHeader--sorted",l&&"columnHeader--filtered",c&&"columnHeader--numeric",i&&"withBorder"],draggableContainer:["columnHeaderDraggableContainer"],titleContainer:["columnHeaderTitleContainer"],titleContainerContent:["columnHeaderTitleContainerContent"]};return Object(p.a)(u,y,n)}(s({},t,{classes:E.classes,showRightBorder:G})),X=u.computedWidth,K="none";null!=m&&(K="asc"===m?"ascending":"descending"),r.useEffect((function(){D||I(d)}),[D,d]);var $=r.useCallback((function(){I(!1)}),[]),Z=!E.disableColumnMenu&&!u.disableColumnMenu&&Object(ot.jsx)(Cl,{column:u,columnMenuId:_,columnMenuButtonId:M,open:D,iconButtonRef:T}),Q=null!=(n=u.sortingOrder)?n:E.sortingOrder,J=Object(ot.jsxs)(r.Fragment,{children:[!E.disableColumnFilter&&Object(ot.jsx)(E.components.ColumnHeaderFilterIconButton,s({field:u.field,counter:x},null==(o=E.componentsProps)?void 0:o.columnHeaderFilterIconButton)),u.sortable&&!u.hideSortIcons&&Object(ot.jsx)(gl,{direction:m,index:b,sortingOrder:Q})]});r.useLayoutEffect((function(){var t=k.current.state.columnMenu;if(w&&!t.open){var e=P.current.querySelector('[tabindex="0"]')||P.current;null==e||e.focus(),k.current.columnHeadersContainerElementRef.current.scrollLeft=0}}),[k,w]);var tt="function"===typeof u.headerClassName?u.headerClassName({field:u.field,colDef:u}):u.headerClassName,et=null!=(i=u.headerName)?i:u.field;return Object(ot.jsxs)("div",s({ref:P,className:Object(c.default)(Y.root,tt),"data-field":u.field,style:{width:X,minWidth:X,maxWidth:X},role:"columnheader",tabIndex:O,"aria-colindex":f+1,"aria-sort":K,"aria-label":u.renderHeader&&null==H?et:void 0},W,{children:[Object(ot.jsxs)("div",s({className:Y.draggableContainer,draggable:B},q,{children:[Object(ot.jsxs)("div",{className:Y.titleContainer,children:[Object(ot.jsx)("div",{className:Y.titleContainerContent,children:u.renderHeader?H:Object(ot.jsx)(xl,{label:et,description:u.description,columnWidth:X})}),J]}),Z]})),Object(ot.jsx)(jl,{resizable:!E.disableColumnResize&&!!u.resizable,resizing:v,height:h,onMouseDown:U("columnSeparatorMouseDown"),side:C}),Object(ot.jsx)(kl,{columnMenuId:_,columnMenuButtonId:M,field:u.field,open:d,target:T.current,ContentComponent:E.components.ColumnMenu,contentComponentProps:null==(l=E.componentsProps)?void 0:l.columnMenu,onExited:$})]}))}var Pl=Object(v.a)("div",{name:"MuiDataGrid",slot:"ScrollArea",overridesResolver:function(t,e){return[Object(h.a)({},"&.".concat(x["scrollArea--left"]),e["scrollArea--left"]),Object(h.a)({},"&.".concat(x["scrollArea--right"]),e["scrollArea--right"]),e.scrollArea]}})((function(){var t;return t={position:"absolute",top:0,zIndex:101,width:20,bottom:0},Object(h.a)(t,"&.".concat(x["scrollArea--left"]),{left:0}),Object(h.a)(t,"&.".concat(x["scrollArea--right"]),{right:0}),t}));function _l(t){var e=t.scrollDirection,n=r.useRef(null),o=z(),i=r.useRef(),l=r.useState(!1),u=Object(a.a)(l,2),d=u[0],f=u[1],h=F(o,nt),v=r.useRef({left:0,top:0}),g=function(t){var e=t.scrollDirection,n=t.classes,r={root:["scrollArea","scrollArea--".concat(e)]};return Object(p.a)(r,y,n)}(s({},t,{classes:V().classes})),m=r.useCallback((function(t){v.current=t}),[]),b=r.useCallback((function(t){var r;if("left"===e)r=t.clientX-n.current.getBoundingClientRect().right;else{if("right"!==e)throw new Error("MUI: Wrong drag direction");r=Math.max(1,t.clientX-n.current.getBoundingClientRect().left)}r=1.5*(r-1)+1,clearTimeout(i.current),i.current=setTimeout((function(){o.current.scroll({left:v.current.left+r,top:v.current.top})}))}),[e,o]);r.useEffect((function(){return function(){clearTimeout(i.current)}}),[]);var x=r.useCallback((function(){f((function(t){return!t}))}),[]);return ie(o,"rowsScroll",m),ie(o,"columnHeaderDragStart",x),ie(o,"columnHeaderDragEnd",x),d?Object(ot.jsx)(Pl,{ref:n,className:Object(c.default)(g.root),onDragOver:b,style:{height:h}}):null}var Ml=r.memo(_l),Tl=["className"],Al=Object(v.a)("div",{name:"MuiDataGrid",slot:"ColumnHeaders",overridesResolver:function(t,e){return e.columnHeaders}})((function(t){var e=t.theme,n="light"===e.palette.mode?Object(g.e)(Object(g.a)(e.palette.divider,1),.88):Object(g.b)(Object(g.a)(e.palette.divider,1),.68);return{position:"absolute",top:0,left:0,right:0,overflow:"hidden",display:"flex",alignItems:"center",borderBottom:"1px solid ".concat(n),borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius}})),Rl=r.forwardRef((function(t,e){var n=t.className,r=l(t,Tl),o=function(t){var e=t.classes;return Object(p.a)({root:["columnHeaders"]},y,e)}({classes:V().classes});return Object(ot.jsx)(Al,s({ref:e,className:Object(c.default)(n,o.root)},r))})),Dl=["isDragging","className"],Il=Object(v.a)("div",{name:"MuiDataGrid",slot:"columnHeadersInner",overridesResolver:function(t,e){return[Object(h.a)({},"&.".concat(x.columnHeaderDropZone),e.columnHeaderDropZone),e.columnHeadersInner]}})((function(){var t;return t={display:"flex",alignItems:"center"},Object(h.a)(t,"&.".concat(x.columnHeaderDropZone," .").concat(x.columnHeaderDraggableContainer),{cursor:"move"}),Object(h.a)(t,"&.".concat(x["columnHeadersInner--scrollable"]," .").concat(x.columnHeader,":last-child"),{borderRight:"none"}),t})),Nl=r.forwardRef((function(t,e){var n,r,o=t.isDragging,i=t.className,a=l(t,Dl),u=z(),d=V(),f=function(t){var e=t.isDragging,n=t.hasScrollX,r=t.classes,o={root:["columnHeadersInner",e&&"columnHeaderDropZone",n&&"columnHeadersInner--scrollable"]};return Object(p.a)(o,y,r)}({isDragging:o,hasScrollX:null!=(n=null==(r=u.current.getRootDimensions())?void 0:r.hasScrollX)&&n,classes:d.classes});return Object(ot.jsx)(Il,s({ref:e,className:Object(c.default)(i,f.root)},a))})),Ll=["innerRef","className"],Fl=r.forwardRef((function(t,e){var n=t.innerRef,o=l(t,Ll),i=function(t){var e=t.innerRef,n=t.minColumnIndex,o=void 0===n?0:n,i=r.useState(""),l=Object(a.a)(i,2),c=l[0],u=l[1],f=r.useState(""),p=Object(a.a)(f,2),h=p[0],v=p[1],g=z(),m=F(g,A),b=F(g,R),y=F(g,Jr),x=F(g,Qr),w=F(g,$r),O=F(g,nt),S=F(g,Bt),j=F(g,kt),C=F(g,xe),k=V(),E=r.useRef(null),P=Object(d.a)(e,E),_=r.useState(null),M=Object(a.a)(_,2),T=M[0],D=M[1],I=r.useRef(T),N=r.useRef(0),L=zo(g,k);r.useEffect((function(){g.current.columnHeadersContainerElementRef.current.scrollLeft=0}),[g]);var B=r.useRef(Object(hl.a)(zr,{equalityCheck:function(t,e){return["firstColumnIndex","minColumnIndex","columnBuffer"].every((function(n){return t[n]===e[n]}))}})),H=r.useCallback((function(t){var e=ul({firstIndex:t.firstRowIndex,lastIndex:t.lastRowIndex,minFirstIndex:0,maxLastIndex:L.rows.length,buffer:k.rowBuffer}),n=Object(a.a)(e,2),r=n[0],i=n[1],s=B.current({firstColumnIndex:t.firstColumnIndex,minColumnIndex:o,columnBuffer:k.columnBuffer,firstRowToRender:r,lastRowToRender:i,apiRef:g,visibleRows:L.rows}),l=s>0?N.current-b[s]:N.current;E.current.style.transform="translate3d(".concat(-l,"px, 0px, 0px)")}),[b,o,k.columnBuffer,g,L.rows,k.rowBuffer]);r.useLayoutEffect((function(){T&&H(T)}),[T,H]);var U=r.useCallback((function(t,e){var n,r,o=t.left,i=t.renderContext,a=void 0===i?null:i;if(E.current&&(N.current!==o||(null==(n=I.current)?void 0:n.firstColumnIndex)!==(null==a?void 0:a.firstColumnIndex)||(null==(r=I.current)?void 0:r.lastColumnIndex)!==(null==a?void 0:a.lastColumnIndex))){N.current=o;var s=!1;a===I.current&&I.current?s=!0:(function(t){return!!t.target}(e)?(sl.flushSync((function(){D(a)})),s=!0):D(a),I.current=a),a&&s&&H(a)}}),[H]),W=r.useCallback((function(t){return v(t.field)}),[]),q=r.useCallback((function(){return v("")}),[]),G=r.useCallback((function(t){return u(t.field)}),[]),Y=r.useCallback((function(){return u("")}),[]);ie(g,"columnResizeStart",W),ie(g,"columnResizeStop",q),ie(g,"columnHeaderDragStart",G),ie(g,"columnHeaderDragEnd",Y),ie(g,"rowsScroll",U);var X={minHeight:O,maxHeight:O,lineHeight:"".concat(O,"px")};return{renderContext:T,getColumns:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t||{},r=n.renderContext,i=void 0===r?T:r,l=n.minFirstColumn,u=void 0===l?o:l,d=n.maxLastColumn,f=void 0===d?m.length:d;if(!i)return null;for(var p=[],v=ul({firstIndex:i.firstRowIndex,lastIndex:i.lastRowIndex,minFirstIndex:0,maxLastIndex:L.rows.length,buffer:k.rowBuffer}),b=Object(a.a)(v,2),E=b[0],P=b[1],_=B.current({firstColumnIndex:i.firstColumnIndex,minColumnIndex:u,columnBuffer:k.columnBuffer,apiRef:g,firstRowToRender:E,lastRowToRender:P,visibleRows:L.rows}),M=Math.min(i.lastColumnIndex+k.columnBuffer,f),A=m.slice(_,M),R=0;R<A.length;R+=1){var D=A[R],I=_+R,N=0===I,F=!(null===y&&null===x),z=null!==y&&y.field===D.field||N&&!F?0:-1,H=null!==w&&w.field===D.field,V=C.open&&C.field===D.field;p.push(Object(ot.jsx)(El,s({},j[D.field],{columnMenuOpen:V,filterItemsCounter:S[D.field]&&S[D.field].length,headerHeight:O,isDragging:D.field===c,column:D,colIndex:I,isResizing:h===D.field,isLastColumn:I===m.length-1,extendRowFullWidth:!k.disableExtendRowFullWidth,hasFocus:H,tabIndex:z},e),D.field))}return p},isDragging:!!c,getRootProps:function(){return s({style:X},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})},getInnerProps:function(){return{ref:P,"aria-rowindex":1,role:"row"}}}}({innerRef:n}),c=i.isDragging,u=i.getRootProps,f=i.getInnerProps,p=i.getColumns;return Object(ot.jsxs)(Rl,s({ref:e},u(o),{children:[Object(ot.jsx)(Ml,{scrollDirection:"left"}),Object(ot.jsx)(Nl,s({isDragging:c},f(),{children:p()})),Object(ot.jsx)(Ml,{scrollDirection:"right"})]}))})),Bl=r.forwardRef((function(t,e){var n=function(t){if(t.pageSize>100)throw new Error("'props.pageSize' cannot exceed 100 in DataGrid.");var e=Object(Ii.a)({props:t,name:"MuiDataGrid"}),n=r.useMemo((function(){return s({},Ni,e.localeText)}),[e.localeText]),o=r.useMemo((function(){var t=e.components;if(!t)return s({},Ks);var n={};return Object.entries(Ks).forEach((function(e){var r=Object(a.a)(e,2),o=r[0],i=r[1];n[o]=void 0===t[o]?i:t[o]})),n}),[e.components]);return r.useMemo((function(){return s({},Zs,e,{localeText:n,components:o},$s)}),[e,n,o])}(t),o=Di(n);return Object(ot.jsx)(Wt,{apiRef:o,props:n,children:Object(ot.jsx)(at,{className:n.className,style:n.style,sx:n.sx,ref:e,children:Object(ot.jsxs)(vt,{children:[Object(ot.jsx)(gt,{}),Object(ot.jsx)(Vt,{ColumnHeadersComponent:Fl,VirtualScrollerComponent:pl}),Object(ot.jsx)(Ut,{})]})})})})),zl=r.memo(Bl);Bl.propTypes={"aria-label":i.a.string,"aria-labelledby":i.a.string,autoHeight:i.a.bool,autoPageSize:i.a.bool,cellModesModel:i.a.object,checkboxSelection:i.a.bool,classes:i.a.object,columnBuffer:i.a.number,columns:(i.a.array.isRequired,function(){return null}),columnThreshold:i.a.number,columnTypes:i.a.object,columnVisibilityModel:i.a.object,components:i.a.object,componentsProps:i.a.object,density:i.a.oneOf(["comfortable","compact","standard"]),disableColumnFilter:i.a.bool,disableColumnMenu:i.a.bool,disableColumnSelector:i.a.bool,disableDensitySelector:i.a.bool,disableExtendRowFullWidth:i.a.bool,disableSelectionOnClick:i.a.bool,disableVirtualization:i.a.bool,editMode:i.a.oneOf(["cell","row"]),editRowsModel:i.a.object,error:i.a.any,experimentalFeatures:i.a.shape({newEditingApi:i.a.bool,preventCommitWhileValidating:i.a.bool,warnIfFocusStateIsNotSynced:i.a.bool}),filterMode:i.a.oneOf(["client","server"]),filterModel:i.a.shape({items:i.a.arrayOf(i.a.shape({columnField:i.a.string.isRequired,id:i.a.oneOfType([i.a.number,i.a.string]),operatorValue:i.a.string,value:i.a.any})).isRequired,linkOperator:i.a.oneOf(["and","or"]),quickFilterLogicOperator:i.a.oneOf(["and","or"]),quickFilterValues:i.a.array}),getCellClassName:i.a.func,getDetailPanelContent:i.a.func,getEstimatedRowHeight:i.a.func,getRowClassName:i.a.func,getRowHeight:i.a.func,getRowId:i.a.func,getRowSpacing:i.a.func,headerHeight:i.a.number,hideFooter:i.a.bool,hideFooterPagination:i.a.bool,hideFooterSelectedRowCount:i.a.bool,initialState:i.a.object,isCellEditable:i.a.func,isRowSelectable:i.a.func,keepNonExistentRowsSelected:i.a.bool,loading:i.a.bool,localeText:i.a.object,logger:i.a.shape({debug:i.a.func.isRequired,error:i.a.func.isRequired,info:i.a.func.isRequired,warn:i.a.func.isRequired}),logLevel:i.a.oneOf(["debug","error","info","warn",!1]),nonce:i.a.string,onCellClick:i.a.func,onCellDoubleClick:i.a.func,onCellEditCommit:i.a.func,onCellEditStart:i.a.func,onCellEditStop:i.a.func,onCellFocusOut:i.a.func,onCellKeyDown:i.a.func,onCellModesModelChange:i.a.func,onColumnHeaderClick:i.a.func,onColumnHeaderDoubleClick:i.a.func,onColumnHeaderEnter:i.a.func,onColumnHeaderLeave:i.a.func,onColumnHeaderOut:i.a.func,onColumnHeaderOver:i.a.func,onColumnOrderChange:i.a.func,onColumnVisibilityChange:i.a.func,onColumnVisibilityModelChange:i.a.func,onEditCellPropsChange:i.a.func,onEditRowsModelChange:i.a.func,onError:i.a.func,onFilterModelChange:i.a.func,onMenuClose:i.a.func,onMenuOpen:i.a.func,onPageChange:i.a.func,onPageSizeChange:i.a.func,onPreferencePanelClose:i.a.func,onPreferencePanelOpen:i.a.func,onProcessRowUpdateError:i.a.func,onResize:i.a.func,onRowClick:i.a.func,onRowDoubleClick:i.a.func,onRowEditCommit:i.a.func,onRowEditStart:i.a.func,onRowEditStop:i.a.func,onRowModesModelChange:i.a.func,onSelectionModelChange:i.a.func,onSortModelChange:i.a.func,onStateChange:i.a.func,page:i.a.number,pageSize:(i.a.number,function(){return null}),pagination:function(t){return!1===t.pagination?new Error(["MUI: `<DataGrid pagination={false} />` is not a valid prop.","Infinite scrolling is not available in the MIT version.","","You need to upgrade to DataGridPro or DataGridPremium component to disable the pagination."].join("\n")):null},paginationMode:i.a.oneOf(["client","server"]),processRowUpdate:i.a.func,rowBuffer:i.a.number,rowCount:i.a.number,rowHeight:i.a.number,rowModesModel:i.a.object,rows:i.a.array.isRequired,rowSpacingType:i.a.oneOf(["border","margin"]),rowsPerPageOptions:i.a.arrayOf(i.a.number),rowThreshold:i.a.number,scrollbarSize:i.a.number,selectionModel:(i.a.oneOfType([i.a.number,i.a.string,i.a.array]),function(){return null}),showCellRightBorder:i.a.bool,showColumnRightBorder:i.a.bool,sortingMode:i.a.oneOf(["client","server"]),sortingOrder:i.a.arrayOf(i.a.oneOf(["asc","desc"])),sortModel:i.a.arrayOf(i.a.shape({field:i.a.string.isRequired,sort:i.a.oneOf(["asc","desc"])})),sx:i.a.oneOfType([i.a.arrayOf(i.a.oneOfType([i.a.func,i.a.object,i.a.bool])),i.a.func,i.a.object])}},function(t,e,n){"use strict";n.d(e,"a",(function(){return Co}));var r=n(22);function o(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var i=n(1),a=n.n(i),s=n(17),l=n(2),c=n(654),u=n(655),d=n(127);function f(t,e,n,r,o){var a="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,s=i.useState((function(){return o&&a?n(t).matches:r?r(t).matches:e})),c=Object(l.a)(s,2),u=c[0],f=c[1];return Object(d.a)((function(){var e=!0;if(a){var r=n(t),o=function(){e&&f(r.matches)};return o(),r.addListener(o),function(){e=!1,r.removeListener(o)}}}),[t,n,a]),u}var p=i.useSyncExternalStore;function h(t,e,n,r){var o=i.useCallback((function(){return e}),[e]),a=i.useMemo((function(){if(null!==r){var e=r(t).matches;return function(){return e}}return o}),[o,t,r]),s=i.useMemo((function(){if(null===n)return[o,function(){return function(){}}];var e=n(t);return[function(){return e.matches},function(t){return e.addListener(t),function(){e.removeListener(t)}}]}),[o,n,t]),c=Object(l.a)(s,2),u=c[0],d=c[1];return p(d,u,a)}var v=n(723),g=function(){var t=i.useContext(v.b);if(null===t)throw new Error("MUI: Can not find utils in context. It looks like you forgot to wrap your component in LocalizationProvider, or pass dateAdapter prop directly.");return t},m=function(){return g().utils},b=function(){return g().defaultDates},y=function(){return g().localeText},x=function(){var t=m();return i.useRef(t.date()).current},w=function(t){var e=t.date,n=t.disableFuture,r=t.disablePast,o=t.maxDate,i=t.minDate,a=t.isDateDisabled,s=t.utils,l=s.startOfDay(s.date());r&&s.isBefore(i,l)&&(i=l),n&&s.isAfter(o,l)&&(o=l);var c=e,u=e;for(s.isBefore(e,i)&&(c=s.date(i),u=null),s.isAfter(e,o)&&(u&&(u=s.date(o)),c=null);c||u;){if(c&&s.isAfter(c,o)&&(c=null),u&&s.isBefore(u,i)&&(u=null),c){if(!a(c))return c;c=s.addDays(c,1)}if(u){if(!a(u))return u;u=s.addDays(u,-1)}}return null},O=function(t,e,n){if(null==e)return n;var r=t.date(e);return t.isValid(r)?r:n},S=function(t){return 1===t.length&&"year"===t[0]},j=function(t){return 2===t.length&&-1!==t.indexOf("month")&&-1!==t.indexOf("year")};function C(t,e){var n,o=m(),i=b(),a=Object(s.a)({props:t,name:e}),l=null!=(n=a.views)?n:["year","day"];return Object(r.a)({openTo:"day",disableFuture:!1,disablePast:!1},function(t,e){return S(t)?{inputFormat:e.formats.year}:j(t)?{disableMaskedInput:!0,inputFormat:e.formats.monthAndYear}:{inputFormat:e.formats.keyboardDate}}(l,o),a,{views:l,minDate:O(o,a.minDate,i.minDate),maxDate:O(o,a.maxDate,i.maxDate)})}var k={emptyValue:null,getTodayValue:function(t){return t.date()},parseInput:function(t,e){var n=t.date(e);return t.isValid(n)?n:null},areValuesEqual:function(t,e,n){return t.isEqual(e,n)}},E=n(5),P=n(313),_=n(13),M=n(230),T=n(10),A=n(1314),R=n(1333),D=n(66),I=n(0),N=Object(D.a)(Object(I.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),L=Object(D.a)(Object(I.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),F=Object(D.a)(Object(I.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),B=Object(D.a)(Object(I.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),z=Object(D.a)(Object(I.jsxs)(i.Fragment,{children:[Object(I.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(I.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),H=(Object(D.a)(Object(I.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),Object(D.a)(Object(I.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"Pen")),V=(Object(D.a)(Object(I.jsxs)(i.Fragment,{children:[Object(I.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),Object(I.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),n(168)),U=n(187);function W(t){return Object(V.a)("MuiPickersToolbar",t)}var q=Object(U.a)("MuiPickersToolbar",["root","content","penIconButton","penIconButtonLandscape"]),G=Object(_.a)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3)},n.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"})})),Y=Object(_.a)(A.a,{name:"MuiPickersToolbar",slot:"Content",overridesResolver:function(t,e){return e.content}})({flex:1}),X=Object(_.a)(R.a,{name:"MuiPickersToolbar",slot:"PenIconButton",overridesResolver:function(t,e){return[Object(E.a)({},"&.".concat(q.penIconButtonLandscape),e.penIconButtonLandscape),e.penIconButton]}})({}),K=function(t){return"clock"===t?Object(I.jsx)(z,{color:"inherit"}):Object(I.jsx)(B,{color:"inherit"})},$=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiPickersToolbar"}),r=n.children,o=n.className,i=n.getMobileKeyboardInputViewButtonText,a=n.isLandscape,l=n.isMobileKeyboardViewOpen,c=n.landscapeDirection,u=void 0===c?"column":c,d=n.toggleMobileKeyboardView,f=n.toolbarTitle,p=n.viewType,h=void 0===p?"calendar":p,v=n,g=y(),m=function(t){var e=t.classes,n={root:["root"],content:["content"],penIconButton:["penIconButton",t.isLandscape&&"penIconButtonLandscape"]};return Object(M.a)(n,W,e)}(v);return Object(I.jsxs)(G,{ref:e,className:Object(T.default)(m.root,o),ownerState:v,children:[Object(I.jsx)(P.a,{color:"text.secondary",variant:"overline",children:f}),Object(I.jsxs)(Y,{container:!0,justifyContent:"space-between",className:m.content,ownerState:v,direction:a?u:"row",alignItems:a?"flex-start":"flex-end",children:[r,Object(I.jsx)(X,{onClick:d,className:m.penIconButton,ownerState:v,color:"inherit","aria-label":i?i(l,h):g.inputModeToggleButtonAriaLabel(l,h),children:l?K(h):Object(I.jsx)(H,{color:"inherit"})})]})]})}));function Z(t){return Object(V.a)("MuiDatePickerToolbar",t)}Object(U.a)("MuiDatePickerToolbar",["root","title"]);var Q=["parsedValue","isLandscape","isMobileKeyboardViewOpen","onChange","toggleMobileKeyboardView","toolbarFormat","toolbarPlaceholder","toolbarTitle","views"],J=Object(_.a)($,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:function(t,e){return e.root}})(Object(E.a)({},"& .".concat(q.penIconButton),{position:"relative",top:4})),tt=Object(_.a)(P.a,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:function(t,e){return e.title}})((function(t){var e=t.ownerState;return Object(r.a)({},e.isLandscape&&{margin:"auto 16px auto auto"})})),et=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiDatePickerToolbar"}),a=n.parsedValue,l=n.isLandscape,c=n.isMobileKeyboardViewOpen,u=n.toggleMobileKeyboardView,d=n.toolbarFormat,f=n.toolbarPlaceholder,p=void 0===f?"\u2013\u2013":f,h=n.toolbarTitle,v=n.views,g=o(n,Q),b=m(),x=y(),w=function(t){var e=t.classes;return Object(M.a)({root:["root"],title:["title"]},Z,e)}(n),O=null!=h?h:x.datePickerDefaultToolbarTitle,C=i.useMemo((function(){return a?d?b.formatByString(a,d):S(v)?b.format(a,"year"):j(v)?b.format(a,"month"):/en/.test(b.getCurrentLocaleCode())?b.format(a,"normalDateWithWeekday"):b.format(a,"normalDate"):p}),[a,d,p,b,v]),k=n;return Object(I.jsx)(J,Object(r.a)({ref:e,toolbarTitle:O,isMobileKeyboardViewOpen:c,toggleMobileKeyboardView:u,isLandscape:l,ownerState:k,className:w.root},g,{children:Object(I.jsx)(tt,{variant:"h4",align:l?"left":"center",ownerState:k,className:w.title,children:C})}))})),nt=n(60),rt=i.createContext(null),ot=n(730),it=n(1330),at=n(734),st=n(1271),lt=n(123),ct=n(154),ut=n(1317),dt=n(12),ft=n(3);function pt(t){return Object(V.a)("MuiDialogActions",t)}Object(U.a)("MuiDialogActions",["root","spacing"]);var ht=["className","disableSpacing"],vt=Object(_.a)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,!n.disableSpacing&&e.spacing]}})((function(t){var e=t.ownerState;return Object(ft.a)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),gt=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiDialogActions"}),r=n.className,o=n.disableSpacing,i=void 0!==o&&o,a=Object(dt.a)(n,ht),l=Object(ft.a)({},n,{disableSpacing:i}),c=function(t){var e=t.classes,n={root:["root",!t.disableSpacing&&"spacing"]};return Object(M.a)(n,pt,e)}(l);return Object(I.jsx)(vt,Object(ft.a)({className:Object(T.default)(c.root,r),ownerState:l,ref:e},a))})),mt=["onAccept","onClear","onCancel","onSetToday","actions"],bt=function(t){var e=t.onAccept,n=t.onClear,a=t.onCancel,s=t.onSetToday,l=t.actions,c=o(t,mt),u=i.useContext(rt),d=y(),f="function"===typeof l?l(u):l;if(null==f||0===f.length)return null;var p=null==f?void 0:f.map((function(t){switch(t){case"clear":return Object(I.jsx)(ut.a,{onClick:n,children:d.clearButtonLabel},t);case"cancel":return Object(I.jsx)(ut.a,{onClick:a,children:d.cancelButtonLabel},t);case"accept":return Object(I.jsx)(ut.a,{onClick:e,children:d.okButtonLabel},t);case"today":return Object(I.jsx)(ut.a,{onClick:s,children:d.todayButtonLabel},t);default:return null}}));return Object(I.jsx)(gt,Object(r.a)({},c,{children:p}))};function yt(t){return Object(V.a)("MuiPickersPopper",t)}Object(U.a)("MuiPickersPopper",["root","paper"]);var xt=["onClick","onTouchStart"],wt=Object(_.a)(at.a,{name:"MuiPickersPopper",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){return{zIndex:t.theme.zIndex.modal}})),Ot=Object(_.a)(it.a,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:function(t,e){return e.paper}})((function(t){var e=t.ownerState;return Object(r.a)({transformOrigin:"top center",outline:0},"top"===e.placement&&{transformOrigin:"bottom center"})}));function St(t){var e,n=Object(s.a)({props:t,name:"MuiPickersPopper"}),a=n.anchorEl,c=n.children,u=n.containerRef,d=void 0===u?null:u,f=n.onBlur,p=n.onClose,h=n.onClear,v=n.onAccept,g=n.onCancel,m=n.onSetToday,b=n.open,y=n.PopperProps,x=n.role,w=n.TransitionComponent,O=void 0===w?ot.a:w,S=n.TrapFocusProps,j=n.PaperProps,C=void 0===j?{}:j,k=n.components,E=n.componentsProps;i.useEffect((function(){function t(t){!b||"Escape"!==t.key&&"Esc"!==t.key||p()}return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)}}),[p,b]);var P=i.useRef(null);i.useEffect((function(){"tooltip"!==x&&(b?P.current=document.activeElement:P.current&&P.current instanceof HTMLElement&&setTimeout((function(){P.current instanceof HTMLElement&&P.current.focus()})))}),[b,x]);var _=function(t,e){var n=i.useRef(!1),r=i.useRef(!1),o=i.useRef(null),a=i.useRef(!1);i.useEffect((function(){if(t)return document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,!0),function(){document.removeEventListener("mousedown",e,!0),document.removeEventListener("touchstart",e,!0),a.current=!1};function e(){a.current=!0}}),[t]);var s=Object(lt.a)((function(t){if(a.current){var i=r.current;r.current=!1;var s=Object(ct.a)(o.current);!o.current||"clientX"in t&&function(t,e){return e.documentElement.clientWidth<t.clientX||e.documentElement.clientHeight<t.clientY}(t,s)||(n.current?n.current=!1:(t.composedPath?t.composedPath().indexOf(o.current)>-1:!s.documentElement.contains(t.target)||o.current.contains(t.target))||i||e(t))}})),l=function(){r.current=!0};return i.useEffect((function(){if(t){var e=Object(ct.a)(o.current),r=function(){n.current=!0};return e.addEventListener("touchstart",s),e.addEventListener("touchmove",r),function(){e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",r)}}}),[t,s]),i.useEffect((function(){if(t){var e=Object(ct.a)(o.current);return e.addEventListener("click",s),function(){e.removeEventListener("click",s),r.current=!1}}}),[t,s]),[o,l,l]}(b,null!=f?f:p),T=Object(l.a)(_,3),A=T[0],R=T[1],D=T[2],N=i.useRef(null),L=Object(nt.a)(N,d),F=Object(nt.a)(L,A),B=n,z=function(t){var e=t.classes;return Object(M.a)({root:["root"],paper:["paper"]},yt,e)}(B),H=C.onClick,V=C.onTouchStart,U=o(C,xt),W=null!=(e=null==k?void 0:k.ActionBar)?e:bt,q=(null==k?void 0:k.PaperContent)||i.Fragment;return Object(I.jsx)(wt,Object(r.a)({transition:!0,role:x,open:b,anchorEl:a,onKeyDown:function(t){"Escape"===t.key&&(t.stopPropagation(),p())},className:z.root},y,{children:function(t){var e=t.TransitionProps,n=t.placement;return Object(I.jsx)(st.a,Object(r.a)({open:b,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===x,isEnabled:function(){return!0}},S,{children:Object(I.jsx)(O,Object(r.a)({},e,{children:Object(I.jsx)(Ot,Object(r.a)({tabIndex:-1,elevation:8,ref:F,onClick:function(t){R(t),H&&H(t)},onTouchStart:function(t){D(t),V&&V(t)},ownerState:Object(r.a)({},B,{placement:n}),className:z.paper},U,{children:Object(I.jsxs)(q,Object(r.a)({},null==E?void 0:E.paperContent,{children:[c,Object(I.jsx)(W,Object(r.a)({onAccept:v,onClear:h,onCancel:g,onSetToday:m,actions:[]},null==E?void 0:E.actionBar))]}))}))}))}))}}))}function jt(t){var e=t.children,n=t.DateInputProps,o=t.KeyboardDateInputComponent,a=t.onClear,s=t.onDismiss,l=t.onCancel,c=t.onAccept,u=t.onSetToday,d=t.open,f=t.PopperProps,p=t.PaperProps,h=t.TransitionComponent,v=t.components,g=t.componentsProps,m=i.useRef(null),b=Object(nt.a)(n.inputRef,m);return Object(I.jsxs)(rt.Provider,{value:"desktop",children:[Object(I.jsx)(o,Object(r.a)({},n,{inputRef:b})),Object(I.jsx)(St,{role:"dialog",open:d,anchorEl:m.current,TransitionComponent:h,PopperProps:f,PaperProps:p,onClose:s,onCancel:l,onClear:a,onAccept:c,onSetToday:u,components:v,componentsProps:g,children:e})]})}var Ct=n(162);function kt(t,e){return Array.isArray(e)?e.every((function(e){return-1!==t.indexOf(e)})):-1!==t.indexOf(e)}var Et=function(t,e){return function(n){"Enter"!==n.key&&" "!==n.key||(t(),n.preventDefault(),n.stopPropagation()),e&&e(n)}};function Pt(t){var e,n,r=t.onChange,o=t.onViewChange,a=t.openTo,s=t.view,c=t.views,u=Object(Ct.a)({name:"Picker",state:"view",controlled:s,default:a&&kt(c,a)?a:c[0]}),d=Object(l.a)(u,2),f=d[0],p=d[1],h=null!=(e=c[c.indexOf(f)-1])?e:null,v=null!=(n=c[c.indexOf(f)+1])?n:null,g=i.useCallback((function(t){p(t),o&&o(t)}),[p,o]),m=i.useCallback((function(){v&&g(v)}),[v,g]);return{handleChangeAndOpenNext:i.useCallback((function(t,e){var n="finish"===e,o=n&&Boolean(v)?"partial":e;r(t,o),n&&m()}),[v,r,m]),nextView:v,previousView:h,openNext:m,openView:f,setOpenView:g}}var _t=n(248);var Mt="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,Tt=220,At=36,Rt={x:110,y:110},Dt=Rt.x-Rt.x,It=0-Rt.y,Nt=function(t,e,n){var r=e-Rt.x,o=n-Rt.y,i=Math.atan2(Dt,It)-Math.atan2(r,o),a=i*(180/Math.PI);a=Math.round(a/t)*t,a%=360;var s=Math.floor(a/t)||0,l=Math.pow(r,2)+Math.pow(o,2);return{value:s,distance:Math.sqrt(l)}};function Lt(t){return Object(V.a)("MuiClockPointer",t)}Object(U.a)("MuiClockPointer",["root","thumb"]);var Ft=["className","hasSelected","isInner","type","value"],Bt=Object(_.a)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({width:2,backgroundColor:e.palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px"},n.shouldAnimate&&{transition:e.transitions.create(["transform","height"])})})),zt=Object(_.a)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:function(t,e){return e.thumb}})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({width:4,height:4,backgroundColor:e.palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - ".concat(18,"px)"),border:"".concat(16,"px solid ").concat(e.palette.primary.main),boxSizing:"content-box"},n.hasSelected&&{backgroundColor:e.palette.primary.main})}));function Ht(t){var e=Object(s.a)({props:t,name:"MuiClockPointer"}),n=e.className,a=e.isInner,l=e.type,c=e.value,u=o(e,Ft),d=i.useRef(l);i.useEffect((function(){d.current=l}),[l]);var f=Object(r.a)({},e,{shouldAnimate:d.current!==l}),p=function(t){var e=t.classes;return Object(M.a)({root:["root"],thumb:["thumb"]},Lt,e)}(f);return Object(I.jsx)(Bt,Object(r.a)({style:function(){var t=360/("hours"===l?12:60)*c;return"hours"===l&&c>12&&(t-=360),{height:Math.round((a?.26:.4)*Tt),transform:"rotateZ(".concat(t,"deg)")}}(),className:Object(T.default)(n,p.root),ownerState:f},u,{children:Object(I.jsx)(zt,{ownerState:f,className:p.thumb})}))}function Vt(t){return Object(V.a)("MuiClock",t)}Object(U.a)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton"]);var Ut=function(t){return function(t,e,n){var r={};return Object.keys(t).forEach((function(o){r[o]=t[o].reduce((function(t,r){return r&&(t.push(e(r)),n&&n[r]&&t.push(n[r])),t}),[]).join(" ")})),r}({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"]},Vt,t.classes)},Wt=Object(_.a)("div",{name:"MuiClock",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){return{display:"flex",justifyContent:"center",alignItems:"center",margin:t.theme.spacing(2)}})),qt=Object(_.a)("div",{name:"MuiClock",slot:"Clock",overridesResolver:function(t,e){return e.clock}})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),Gt=Object(_.a)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:function(t,e){return e.wrapper}})({"&:focus":{outline:"none"}}),Yt=Object(_.a)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:function(t,e){return e.squareMask}})((function(t){var e=t.ownerState;return Object(r.a)({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none"},e.disabled?{}:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}})})),Xt=Object(_.a)("div",{name:"MuiClock",slot:"Pin",overridesResolver:function(t,e){return e.pin}})((function(t){return{width:6,height:6,borderRadius:"50%",backgroundColor:t.theme.palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}})),Kt=Object(_.a)(R.a,{name:"MuiClock",slot:"AmButton",overridesResolver:function(t,e){return e.amButton}})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({zIndex:1,position:"absolute",bottom:n.ampmInClock?64:8,left:8},"am"===n.meridiemMode&&{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText,"&:hover":{backgroundColor:e.palette.primary.light}})})),$t=Object(_.a)(R.a,{name:"MuiClock",slot:"PmButton",overridesResolver:function(t,e){return e.pmButton}})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({zIndex:1,position:"absolute",bottom:n.ampmInClock?64:8,right:8},"pm"===n.meridiemMode&&{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText,"&:hover":{backgroundColor:e.palette.primary.light}})}));function Zt(t){var e=Object(s.a)({props:t,name:"MuiClock"}),n=e.ampm,r=e.ampmInClock,o=e.autoFocus,a=e.children,l=e.date,c=e.getClockLabelText,u=e.handleMeridiemChange,d=e.isTimeDisabled,f=e.meridiemMode,p=e.minutesStep,h=void 0===p?1:p,v=e.onChange,g=e.selectedId,b=e.type,y=e.value,x=e.disabled,w=e.readOnly,O=e.className,S=e,j=m(),C=i.useContext(rt),k=i.useRef(!1),E=Ut(S),_=d(y,b),M=!n&&"hours"===b&&(y<1||y>12),A=function(t,e){x||w||d(t,b)||v(t,e)},R=function(t,e){var r=t.offsetX,o=t.offsetY;if(void 0===r){var i=t.target.getBoundingClientRect();r=t.changedTouches[0].clientX-i.left,o=t.changedTouches[0].clientY-i.top}var a="seconds"===b||"minutes"===b?function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=Nt(6*n,t,e).value;return r*n%60}(r,o,h):function(t,e,n){var r=Nt(30,t,e),o=r.value,i=r.distance,a=o||12;return n?a%=12:i<74&&(a+=12,a%=24),a}(r,o,Boolean(n));A(a,e)},D=i.useMemo((function(){return"hours"===b||y%5===0}),[b,y]),N="minutes"===b?h:1,L=i.useRef(null);Mt((function(){o&&L.current.focus()}),[o]);return Object(I.jsxs)(Wt,{className:Object(T.default)(O,E.root),children:[Object(I.jsxs)(qt,{className:E.clock,children:[Object(I.jsx)(Yt,{onTouchMove:function(t){k.current=!0,R(t,"shallow")},onTouchEnd:function(t){k.current&&(R(t,"finish"),k.current=!1)},onMouseUp:function(t){k.current&&(k.current=!1),R(t.nativeEvent,"finish")},onMouseMove:function(t){t.buttons>0&&R(t.nativeEvent,"shallow")},ownerState:{disabled:x},className:E.squareMask}),!_&&Object(I.jsxs)(i.Fragment,{children:[Object(I.jsx)(Xt,{className:E.pin}),l&&Object(I.jsx)(Ht,{type:b,value:y,isInner:M,hasSelected:D})]}),Object(I.jsx)(Gt,{"aria-activedescendant":g,"aria-label":c(b,l,j),ref:L,role:"listbox",onKeyDown:function(t){if(!k.current)switch(t.key){case"Home":A(0,"partial"),t.preventDefault();break;case"End":A("minutes"===b?59:23,"partial"),t.preventDefault();break;case"ArrowUp":A(y+N,"partial"),t.preventDefault();break;case"ArrowDown":A(y-N,"partial"),t.preventDefault()}},tabIndex:0,className:E.wrapper,children:a})]}),n&&("desktop"===C||r)&&Object(I.jsxs)(i.Fragment,{children:[Object(I.jsx)(Kt,{onClick:w?void 0:function(){return u("am")},disabled:x||null===f,ownerState:S,className:E.amButton,children:Object(I.jsx)(P.a,{variant:"caption",children:"AM"})}),Object(I.jsx)($t,{disabled:x||null===f,onClick:w?void 0:function(){return u("pm")},ownerState:S,className:E.pmButton,children:Object(I.jsx)(P.a,{variant:"caption",children:"PM"})})]})]})}n(14);function Qt(t){return Object(V.a)("MuiClockNumber",t)}var Jt=Object(U.a)("MuiClockNumber",["root","selected","disabled"]),te=["className","disabled","index","inner","label","selected"],ee=Object(_.a)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:function(t,e){return[e.root,Object(E.a)({},"&.".concat(Jt.disabled),e.disabled),Object(E.a)({},"&.".concat(Jt.selected),e.selected)]}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(r.a)((e={height:At,width:At,position:"absolute",left:"calc((100% - ".concat(At,"px) / 2)"),display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:n.palette.text.primary,fontFamily:n.typography.fontFamily,"&:focused":{backgroundColor:n.palette.background.paper}},Object(E.a)(e,"&.".concat(Jt.selected),{color:n.palette.primary.contrastText}),Object(E.a)(e,"&.".concat(Jt.disabled),{pointerEvents:"none",color:n.palette.text.disabled}),e),o.inner&&Object(r.a)({},n.typography.body2,{color:n.palette.text.secondary}))}));function ne(t){var e=Object(s.a)({props:t,name:"MuiClockNumber"}),n=e.className,i=e.disabled,a=e.index,l=e.inner,c=e.label,u=e.selected,d=o(e,te),f=e,p=function(t){var e=t.classes,n={root:["root",t.selected&&"selected",t.disabled&&"disabled"]};return Object(M.a)(n,Qt,e)}(f),h=a%12/12*Math.PI*2-Math.PI/2,v=91*(l?.65:1),g=Math.round(Math.cos(h)*v),m=Math.round(Math.sin(h)*v);return Object(I.jsx)(ee,Object(r.a)({className:Object(T.default)(n,p.root),"aria-disabled":!!i||void 0,"aria-selected":!!u||void 0,role:"option",style:{transform:"translate(".concat(g,"px, ").concat(m+92,"px")},ownerState:f},d,{children:c}))}var re=function(t){for(var e=t.ampm,n=t.date,r=t.getClockNumberText,o=t.isDisabled,i=t.selectedId,a=t.utils,s=n?a.getHours(n):null,l=[],c=e?12:23,u=function(t){return null!==s&&(e?12===t?12===s||0===s:s===t||s-12===t:s===t)},d=e?1:0;d<=c;d+=1){var f=d.toString();0===d&&(f="00");var p=!e&&(0===d||d>12);f=a.formatNumber(f);var h=u(d);l.push(Object(I.jsx)(ne,{id:h?i:void 0,index:d,inner:p,selected:h,disabled:o(d),label:f,"aria-label":r(f)},d))}return l},oe=function(t){var e=t.utils,n=t.value,r=t.isDisabled,o=t.getClockNumberText,i=t.selectedId,a=e.formatNumber;return[[5,a("05")],[10,a("10")],[15,a("15")],[20,a("20")],[25,a("25")],[30,a("30")],[35,a("35")],[40,a("40")],[45,a("45")],[50,a("50")],[55,a("55")],[0,a("00")]].map((function(t,e){var a=Object(l.a)(t,2),s=a[0],c=a[1],u=s===n;return Object(I.jsx)(ne,{label:c,id:u?i:void 0,index:e+1,inner:!1,disabled:r(s),selected:u,"aria-label":o(c)},s)}))},ie=n(52);function ae(t){return Object(V.a)("MuiPickersArrowSwitcher",t)}Object(U.a)("MuiPickersArrowSwitcher",["root","spacer","button"]);var se=["children","className","components","componentsProps","isLeftDisabled","isLeftHidden","isRightDisabled","isRightHidden","leftArrowButtonText","onLeftClick","onRightClick","rightArrowButtonText"],le=Object(_.a)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"flex"}),ce=Object(_.a)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:function(t,e){return e.spacer}})((function(t){return{width:t.theme.spacing(3)}})),ue=Object(_.a)(R.a,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:function(t,e){return e.button}})((function(t){var e=t.ownerState;return Object(r.a)({},e.hidden&&{visibility:"hidden"})})),de=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiPickersArrowSwitcher"}),i=n.children,a=n.className,l=n.components,c=n.componentsProps,u=n.isLeftDisabled,d=n.isLeftHidden,f=n.isRightDisabled,p=n.isRightHidden,h=n.leftArrowButtonText,v=n.onLeftClick,g=n.onRightClick,m=n.rightArrowButtonText,b=o(n,se),y="rtl"===Object(ie.a)().direction,x=(null==c?void 0:c.leftArrowButton)||{},w=(null==l?void 0:l.LeftArrowIcon)||L,O=(null==c?void 0:c.rightArrowButton)||{},S=(null==l?void 0:l.RightArrowIcon)||F,j=n,C=function(t){var e=t.classes;return Object(M.a)({root:["root"],spacer:["spacer"],button:["button"]},ae,e)}(j);return Object(I.jsxs)(le,Object(r.a)({ref:e,className:Object(T.default)(C.root,a),ownerState:j},b,{children:[Object(I.jsx)(ue,Object(r.a)({as:null==l?void 0:l.LeftArrowButton,size:"small","aria-label":h,title:h,disabled:u,edge:"end",onClick:v},x,{className:Object(T.default)(C.button,x.className),ownerState:Object(r.a)({},j,x,{hidden:d}),children:y?Object(I.jsx)(S,{}):Object(I.jsx)(w,{})})),i?Object(I.jsx)(P.a,{variant:"subtitle1",component:"span",children:i}):Object(I.jsx)(ce,{className:C.spacer,ownerState:j}),Object(I.jsx)(ue,Object(r.a)({as:null==l?void 0:l.RightArrowButton,size:"small","aria-label":m,title:m,edge:"start",disabled:f,onClick:g},O,{className:Object(T.default)(C.button,O.className),ownerState:Object(r.a)({},j,O,{hidden:p}),children:y?Object(I.jsx)(w,{}):Object(I.jsx)(S,{})}))]}))})),fe=function(t,e,n){if(n&&(t>=12?"pm":"am")!==e)return"am"===e?t-12:t+12;return t},pe=function(t,e){return 3600*e.getHours(t)+60*e.getMinutes(t)+e.getSeconds(t)};function he(t,e,n){var r=m(),o=function(t,e){return t?e.getHours(t)>=12?"pm":"am":null}(t,r),a=i.useCallback((function(o){var i=null==t?null:function(t,e,n,r){var o=fe(r.getHours(t),e,n);return r.setHours(t,o)}(t,o,Boolean(e),r);n(i,"partial")}),[e,t,n,r]);return{meridiemMode:o,handleMeridiemChange:a}}function ve(t){return Object(V.a)("MuiClockPicker",t)}Object(U.a)("MuiClockPicker",["root","arrowSwitcher"]);var ge=Object(_.a)("div")({overflowX:"hidden",width:320,maxHeight:358,display:"flex",flexDirection:"column",margin:"0 auto"}),me=Object(_.a)(ge,{name:"MuiClockPicker",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"flex",flexDirection:"column"}),be=Object(_.a)(de,{name:"MuiClockPicker",slot:"ArrowSwitcher",overridesResolver:function(t,e){return e.arrowSwitcher}})({position:"absolute",right:12,top:15}),ye=function(){},xe=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiClockPicker"}),o=n.ampm,a=void 0!==o&&o,l=n.ampmInClock,c=void 0!==l&&l,u=n.autoFocus,d=n.components,f=n.componentsProps,p=n.date,h=n.disableIgnoringDatePartForTimeValidation,v=n.getClockLabelText,g=n.getHoursClockNumberText,b=n.getMinutesClockNumberText,w=n.getSecondsClockNumberText,O=n.leftArrowButtonText,S=n.maxTime,j=n.minTime,C=n.minutesStep,k=void 0===C?1:C,E=n.rightArrowButtonText,P=n.shouldDisableTime,_=n.showViewSwitcher,A=n.onChange,R=n.view,D=n.views,N=void 0===D?["hours","minutes"]:D,L=n.openTo,F=n.onViewChange,B=n.className,z=n.disabled,H=n.readOnly;ye({leftArrowButtonText:O,rightArrowButtonText:E,getClockLabelText:v,getHoursClockNumberText:g,getMinutesClockNumberText:b,getSecondsClockNumberText:w});var V=y(),U=null!=O?O:V.openPreviousView,W=null!=E?E:V.openNextView,q=null!=v?v:V.clockLabelText,G=null!=g?g:V.hoursClockNumberText,Y=null!=b?b:V.minutesClockNumberText,X=null!=w?w:V.secondsClockNumberText,K=Pt({view:R,views:N,openTo:L,onViewChange:F,onChange:A}),$=K.openView,Z=K.setOpenView,Q=K.nextView,J=K.previousView,tt=K.handleChangeAndOpenNext,et=x(),nt=m(),rt=i.useMemo((function(){return p||nt.setSeconds(nt.setMinutes(nt.setHours(et,0),0),0)}),[p,et,nt]),ot=he(rt,a,tt),it=ot.meridiemMode,at=ot.handleMeridiemChange,st=i.useCallback((function(t,e){var n=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0;return function(n,r){return t?e.isAfter(n,r):pe(n,e)>pe(r,e)}}(h,nt),r=function(t){var e=t.start,r=t.end;return(!j||!n(j,r))&&(!S||!n(e,S))},o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t%n===0&&(!P||!P(t,e))};switch(e){case"hours":var i=fe(t,it,a),s=nt.setHours(rt,i);return!r({start:nt.setSeconds(nt.setMinutes(s,0),0),end:nt.setSeconds(nt.setMinutes(s,59),59)})||!o(i);case"minutes":var l=nt.setMinutes(rt,t);return!r({start:nt.setSeconds(l,0),end:nt.setSeconds(l,59)})||!o(t,k);case"seconds":var c=nt.setSeconds(rt,t);return!r({start:c,end:c})||!o(t);default:throw new Error("not supported")}}),[a,rt,h,S,it,j,k,P,nt]),lt=Object(_t.a)(),ct=i.useMemo((function(){switch($){case"hours":var t=function(t,e){var n=fe(t,it,a);tt(nt.setHours(rt,n),e)};return{onChange:t,value:nt.getHours(rt),children:re({date:p,utils:nt,ampm:a,onChange:t,getClockNumberText:G,isDisabled:function(t){return z||st(t,"hours")},selectedId:lt})};case"minutes":var e=nt.getMinutes(rt),n=function(t,e){tt(nt.setMinutes(rt,t),e)};return{value:e,onChange:n,children:oe({utils:nt,value:e,onChange:n,getClockNumberText:Y,isDisabled:function(t){return z||st(t,"minutes")},selectedId:lt})};case"seconds":var r=nt.getSeconds(rt),o=function(t,e){tt(nt.setSeconds(rt,t),e)};return{value:r,onChange:o,children:oe({utils:nt,value:r,onChange:o,getClockNumberText:X,isDisabled:function(t){return z||st(t,"seconds")},selectedId:lt})};default:throw new Error("You must provide the type for ClockView")}}),[$,nt,p,a,G,Y,X,it,tt,rt,st,lt,z]),ut=n,dt=function(t){var e=t.classes;return Object(M.a)({root:["root"],arrowSwitcher:["arrowSwitcher"]},ve,e)}(ut);return Object(I.jsxs)(me,{ref:e,className:Object(T.default)(dt.root,B),ownerState:ut,children:[_&&Object(I.jsx)(be,{className:dt.arrowSwitcher,leftArrowButtonText:U,rightArrowButtonText:W,components:d,componentsProps:f,onLeftClick:function(){return Z(J)},onRightClick:function(){return Z(Q)},isLeftDisabled:!J,isRightDisabled:!Q,ownerState:ut}),Object(I.jsx)(Zt,Object(r.a)({autoFocus:u,date:p,ampmInClock:c,type:$,ampm:a,getClockLabelText:q,minutesStep:k,isTimeDisabled:st,meridiemMode:it,handleMeridiemChange:at,selectedId:lt,disabled:z,readOnly:H},ct))]})})),we=n(1275),Oe=["values","unit","step"];function Se(t){var e=t.values,n=void 0===e?{xs:0,sm:600,md:900,lg:1200,xl:1536}:e,r=t.unit,o=void 0===r?"px":r,i=t.step,a=void 0===i?5:i,s=Object(dt.a)(t,Oe),l=function(t){var e=Object.keys(t).map((function(e){return{key:e,val:t[e]}}))||[];return e.sort((function(t,e){return t.val-e.val})),e.reduce((function(t,e){return Object(ft.a)({},t,Object(E.a)({},e.key,e.val))}),{})}(n),c=Object.keys(l);function u(t){var e="number"===typeof n[t]?n[t]:t;return"@media (min-width:".concat(e).concat(o,")")}function d(t){var e="number"===typeof n[t]?n[t]:t;return"@media (max-width:".concat(e-a/100).concat(o,")")}function f(t,e){var r=c.indexOf(e);return"@media (min-width:".concat("number"===typeof n[t]?n[t]:t).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[c[r]]?n[c[r]]:e)-a/100).concat(o,")")}return Object(ft.a)({keys:c,values:l,up:u,down:d,between:f,only:function(t){return c.indexOf(t)+1<c.length?f(t,c[c.indexOf(t)+1]):u(t)},not:function(t){var e=c.indexOf(t);return 0===e?u(c[1]):e===c.length-1?d(c[e]):f(t,c[c.indexOf(t)+1]).replace("@media","@media not all and")},unit:o},s)}var je={borderRadius:4};var Ce=function(t,e){return e?Object(we.a)(t,e,{clone:!1}):t},ke={xs:0,sm:600,md:900,lg:1200,xl:1536},Ee={keys:["xs","sm","md","lg","xl"],up:function(t){return"@media (min-width:".concat(ke[t],"px)")}};function Pe(t,e,n){var r=t.theme||{};if(Array.isArray(e)){var o=r.breakpoints||Ee;return e.reduce((function(t,r,i){return t[o.up(o.keys[i])]=n(e[i]),t}),{})}if("object"===typeof e){var i=r.breakpoints||Ee;return Object.keys(e).reduce((function(t,r){if(-1!==Object.keys(i.values||ke).indexOf(r)){t[i.up(r)]=n(e[r],r)}else{var o=r;t[o]=e[o]}return t}),{})}return n(e)}n(1367);function _e(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||"string"!==typeof e)return null;if(t&&t.vars&&n){var r="vars.".concat(e).split(".").reduce((function(t,e){return t&&t[e]?t[e]:null}),t);if(null!=r)return r}return e.split(".").reduce((function(t,e){return t&&null!=t[e]?t[e]:null}),t)}var Me={m:"margin",p:"padding"},Te={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ae={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Re=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}((function(t){if(t.length>2){if(!Ae[t])return[t];t=Ae[t]}var e=t.split(""),n=Object(l.a)(e,2),r=n[0],o=n[1],i=Me[r],a=Te[o]||"";return Array.isArray(a)?a.map((function(t){return i+t})):[i+a]})),De=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ie=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Ne=[].concat(De,Ie);function Le(t){return function(t,e,n,r){var o,i=null!=(o=_e(t,e,!1))?o:n;return"number"===typeof i?function(t){return"string"===typeof t?t:i*t}:Array.isArray(i)?function(t){return"string"===typeof t?t:i[t]}:"function"===typeof i?i:function(){}}(t,"spacing",8)}function Fe(t,e){return function(n){return t.reduce((function(t,r){return t[r]=function(t,e){if("string"===typeof e||null==e)return e;var n=t(Math.abs(e));return e>=0?n:"number"===typeof n?-n:"-".concat(n)}(e,n),t}),{})}}function Be(t,e){var n=Le(t.theme);return Object.keys(t).map((function(r){return function(t,e,n,r){if(-1===e.indexOf(n))return null;var o=Fe(Re(n),r);return Pe(t,t[n],o)}(t,e,r,n)})).reduce(Ce,{})}function ze(t){return Be(t,De)}function He(t){return Be(t,Ie)}function Ve(t){return Be(t,Ne)}ze.propTypes={},ze.filterProps=De,He.propTypes={},He.filterProps=Ie,Ve.propTypes={},Ve.filterProps=Ne;function Ue(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;var e=Le({spacing:t}),n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=0===n.length?[1]:n;return o.map((function(t){var n=e(t);return"number"===typeof n?"".concat(n,"px"):n})).join(" ")};return n.mui=!0,n}var We=["breakpoints","palette","spacing","shape"];var qe=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoints,n=void 0===e?{}:e,r=t.palette,o=void 0===r?{}:r,i=t.spacing,a=t.shape,s=void 0===a?{}:a,l=Object(dt.a)(t,We),c=Se(n),u=Ue(i),d=Object(we.a)({breakpoints:c,direction:"ltr",components:{},palette:Object(ft.a)({mode:"light"},o),spacing:u,shape:Object(ft.a)({},je,s)},l),f=arguments.length,p=new Array(f>1?f-1:0),h=1;h<f;h++)p[h-1]=arguments[h];return d=p.reduce((function(t,e){return Object(we.a)(t,e)}),d)},Ge=n(1368);function Ye(t){return 0===Object.keys(t).length}var Xe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=Object(Ge.a)();return!e||Ye(e)?t:e},Ke=qe();var $e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ke;return Xe(t)},Ze=n(167);function Qe(t){return Object(V.a)("PrivatePickersMonth",t)}var Je=Object(U.a)("PrivatePickersMonth",["root","selected"]),tn=["disabled","onSelect","selected","value","tabIndex","hasFocus","onFocus","onBlur"],en=Object(_.a)(P.a,{name:"PrivatePickersMonth",slot:"Root",overridesResolver:function(t,e){return[e.root,Object(E.a)({},"&.".concat(Je.selected),e.selected)]}})((function(t){var e=t.theme;return Object(r.a)({flex:"1 0 33.33%",display:"flex",alignItems:"center",justifyContent:"center",color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,Object(E.a)({margin:"8px 0",height:36,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:Object(Ze.a)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{pointerEvents:"none",color:e.palette.text.secondary}},"&.".concat(Je.selected),{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:focus, &:hover":{backgroundColor:e.palette.primary.dark}}))})),nn=function(){},rn=function(t){var e=t.disabled,n=t.onSelect,a=t.selected,s=t.value,l=t.tabIndex,c=t.hasFocus,u=t.onFocus,f=void 0===u?nn:u,p=t.onBlur,h=void 0===p?nn:p,v=o(t,tn),g=function(t){var e=t.classes,n={root:["root",t.selected&&"selected"]};return Object(M.a)(n,Qe,e)}(t),m=function(){n(s)},b=i.useRef(null);return Object(d.a)((function(){var t;c&&(null==(t=b.current)||t.focus())}),[c]),Object(I.jsx)(en,Object(r.a)({ref:b,component:"button",type:"button",className:g.root,tabIndex:l,onClick:m,onKeyDown:Et(m),color:a?"primary":void 0,variant:a?"h5":"subtitle1",disabled:e,onFocus:function(t){return f(t,s)},onBlur:function(t){return h(t,s)}},v))};function on(t){return Object(V.a)("MuiMonthPicker",t)}Object(U.a)("MuiMonthPicker",["root"]);var an=["className","date","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange"];var sn=Object(_.a)("div",{name:"MuiMonthPicker",slot:"Root",overridesResolver:function(t,e){return e.root}})({width:310,display:"flex",flexWrap:"wrap",alignContent:"stretch",margin:"0 4px"}),ln=i.forwardRef((function(t,e){var n=m(),a=x(),c=function(t,e){var n=m(),o=b(),i=Object(s.a)({props:t,name:e});return Object(r.a)({disableFuture:!1,disablePast:!1},i,{minDate:O(n,i.minDate,o.minDate),maxDate:O(n,i.maxDate,o.maxDate)})}(t,"MuiMonthPicker"),u=c.className,d=c.date,f=c.disabled,p=c.disableFuture,h=c.disablePast,v=c.maxDate,g=c.minDate,y=c.onChange,w=c.shouldDisableMonth,S=c.readOnly,j=c.disableHighlightToday,C=c.autoFocus,k=void 0!==C&&C,E=c.onMonthFocus,P=c.hasFocus,_=c.onFocusedViewChange,A=o(c,an),R=c,D=function(t){var e=t.classes;return Object(M.a)({root:["root"]},on,e)}(R),N=$e(),L=null!=d?d:a,F=i.useMemo((function(){return null!=d?n.getMonth(d):j?null:n.getMonth(a)}),[a,d,n,j]),B=i.useState((function(){return F||n.getMonth(a)})),z=Object(l.a)(B,2),H=z[0],V=z[1],U=i.useCallback((function(t){var e=n.startOfMonth(h&&n.isAfter(a,g)?a:g),r=n.startOfMonth(p&&n.isBefore(a,v)?a:v);return!!n.isBefore(t,e)||(!!n.isAfter(t,r)||!!w&&w(t))}),[p,h,v,g,a,w,n]),W=function(t){if(!S){var e=n.setMonth(L,t);y(e,"finish")}},q=Object(Ct.a)({name:"MonthPicker",state:"hasFocus",controlled:P,default:k}),G=Object(l.a)(q,2),Y=G[0],X=G[1],K=i.useCallback((function(t){X(t),_&&_(t)}),[X,_]),$=i.useCallback((function(t){U(n.setMonth(L,t))||(V(t),K(!0),E&&E(t))}),[L,U,n,E,K]);i.useEffect((function(){V((function(t){return null!==F&&t!==F?F:t}))}),[F]);var Z=Object(lt.a)((function(t){var e=12;switch(t.key){case"ArrowUp":$((e+H-3)%e),t.preventDefault();break;case"ArrowDown":$((e+H+3)%e),t.preventDefault();break;case"ArrowLeft":$((e+H+("ltr"===N.direction?-1:1))%e),t.preventDefault();break;case"ArrowRight":$((e+H+("ltr"===N.direction?1:-1))%e),t.preventDefault()}})),Q=i.useCallback((function(t,e){$(e)}),[$]),J=i.useCallback((function(){K(!1)}),[K]),tt=n.getMonth(a);return Object(I.jsx)(sn,Object(r.a)({ref:e,className:Object(T.default)(D.root,u),ownerState:R,onKeyDown:Z},A,{children:n.getMonthArray(L).map((function(t){var e=n.getMonth(t),r=n.format(t,"monthShort"),o=f||U(t);return Object(I.jsx)(rn,{value:e,selected:e===F,tabIndex:e!==H||o?-1:0,hasFocus:Y&&e===H,onSelect:W,onFocus:Q,onBlur:J,disabled:o,"aria-current":tt===e?"date":void 0,children:r},r)}))}))}));var cn=function(t){var e=t.props,n=t.value,r=t.adapter,o=r.utils.date(),i=r.utils.date(n),a=O(r.utils,e.minDate,r.defaultDates.minDate),s=O(r.utils,e.maxDate,r.defaultDates.maxDate);if(null===i)return null;switch(!0){case!r.utils.isValid(n):return"invalidDate";case Boolean(e.shouldDisableDate&&e.shouldDisableDate(i)):return"shouldDisableDate";case Boolean(e.disableFuture&&r.utils.isAfterDay(i,o)):return"disableFuture";case Boolean(e.disablePast&&r.utils.isBeforeDay(i,o)):return"disablePast";case Boolean(a&&r.utils.isBeforeDay(i,a)):return"minDate";case Boolean(s&&r.utils.isAfterDay(i,s)):return"maxDate";default:return null}},un=function(t){var e=t.shouldDisableDate,n=t.minDate,r=t.maxDate,o=t.disableFuture,a=t.disablePast,s=g();return i.useCallback((function(t){return null!==cn({adapter:s,value:t,props:{shouldDisableDate:e,minDate:n,maxDate:r,disableFuture:o,disablePast:a}})}),[s,e,n,r,o,a])},dn=function(t,e){return t===e},fn=function(t){return function(t,e,n){var r=t.value,o=t.onError,a=g(),s=i.useRef(null),l=e({adapter:a,value:r,props:t});return i.useEffect((function(){o&&!n(l,s.current)&&o(l,r),s.current=l}),[n,o,s,l,r]),l}(t,cn,dn)},pn=function(t){var e,n=t.date,o=t.defaultCalendarMonth,a=t.disableFuture,s=t.disablePast,c=t.disableSwitchToMonthOnDayFocus,u=void 0!==c&&c,d=t.maxDate,f=t.minDate,p=t.onMonthChange,h=t.reduceAnimations,v=t.shouldDisableDate,g=x(),b=m(),y=i.useRef(function(t,e,n){return function(o,i){switch(i.type){case"changeMonth":return Object(r.a)({},o,{slideDirection:i.direction,currentMonth:i.newMonth,isMonthSwitchingAnimating:!t});case"finishMonthSwitchingAnimation":return Object(r.a)({},o,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":if(null!=o.focusedDay&&null!=i.focusedDay&&n.isSameDay(i.focusedDay,o.focusedDay))return o;var a=null!=i.focusedDay&&!e&&!n.isSameMonth(o.currentMonth,i.focusedDay);return Object(r.a)({},o,{focusedDay:i.focusedDay,isMonthSwitchingAnimating:a&&!t&&!i.withoutMonthSwitchingAnimation,currentMonth:a?n.startOfMonth(i.focusedDay):o.currentMonth,slideDirection:null!=i.focusedDay&&n.isAfterDay(i.focusedDay,o.currentMonth)?"left":"right"});default:throw new Error("missing support")}}}(Boolean(h),u,b)).current,w=i.useReducer(y,{isMonthSwitchingAnimating:!1,focusedDay:n||g,currentMonth:b.startOfMonth(null!=(e=null!=n?n:o)?e:g),slideDirection:"left"}),O=Object(l.a)(w,2),S=O[0],j=O[1],C=i.useCallback((function(t){j(Object(r.a)({type:"changeMonth"},t)),p&&p(t.newMonth)}),[p]),k=i.useCallback((function(t){var e=null!=t?t:g;b.isSameMonth(e,S.currentMonth)||C({newMonth:b.startOfMonth(e),direction:b.isAfterDay(e,S.currentMonth)?"left":"right"})}),[S.currentMonth,C,g,b]),E=un({shouldDisableDate:v,minDate:f,maxDate:d,disableFuture:a,disablePast:s}),P=i.useCallback((function(){j({type:"finishMonthSwitchingAnimation"})}),[]),_=i.useCallback((function(t,e){E(t)||j({type:"changeFocusedDay",focusedDay:t,withoutMonthSwitchingAnimation:e})}),[E]);return{calendarState:S,changeMonth:k,changeFocusedDay:_,isDateDisabled:E,onMonthSwitchingAnimationEnd:P,handleChangeMonth:C}},hn=n(1267),vn=n(89),gn=n(144),mn=n(301);function bn(t,e){var n=Object.create(null);return t&&i.Children.map(t,(function(t){return t})).forEach((function(t){n[t.key]=function(t){return e&&Object(i.isValidElement)(t)?e(t):t}(t)})),n}function yn(t,e,n){return null!=n[e]?n[e]:t.props[e]}function xn(t,e,n){var r=bn(t.children),o=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,o=Object.create(null),i=[];for(var a in t)a in e?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in e){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(e,r);return Object.keys(o).forEach((function(a){var s=o[a];if(Object(i.isValidElement)(s)){var l=a in e,c=a in r,u=e[a],d=Object(i.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&Object(i.isValidElement)(u)&&(o[a]=Object(i.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:yn(s,"exit",t),enter:yn(s,"enter",t)})):o[a]=Object(i.cloneElement)(s,{in:!1}):o[a]=Object(i.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:yn(s,"exit",t),enter:yn(s,"enter",t)})}})),o}var wn=Object.values||function(t){return Object.keys(t).map((function(e){return t[e]}))},On=function(t){function e(e,n){var r,o=(r=t.call(this,e,n)||this).handleExited.bind(Object(vn.a)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Object(gn.a)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,o=e.children,a=e.handleExited;return{children:e.firstRender?(n=t,r=a,bn(n.children,(function(t){return Object(i.cloneElement)(t,{onExited:r.bind(null,t),in:!0,appear:yn(t,"appear",n),enter:yn(t,"enter",n),exit:yn(t,"exit",n)})}))):xn(t,o,a),firstRender:!1}},n.handleExited=function(t,e){var n=bn(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState((function(e){var n=Object(ft.a)({},e.children);return delete n[t.key],{children:n}})))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,r=Object(dt.a)(t,["component","childFactory"]),o=this.state.contextValue,i=wn(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===e?a.a.createElement(mn.a.Provider,{value:o},i):a.a.createElement(mn.a.Provider,{value:o},a.a.createElement(e,r,i))},e}(a.a.Component);On.propTypes={},On.defaultProps={component:"div",childFactory:function(t){return t}};var Sn=On,jn=function(t){return Object(V.a)("MuiPickersFadeTransitionGroup",t)},Cn=(Object(U.a)("MuiPickersFadeTransitionGroup",["root"]),Object(_.a)(Sn,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"block",position:"relative"}));function kn(t){var e=Object(s.a)({props:t,name:"MuiPickersFadeTransitionGroup"}),n=e.children,r=e.className,o=e.reduceAnimations,i=e.transKey,a=function(t){var e=t.classes;return Object(M.a)({root:["root"]},jn,e)}(e);return o?n:Object(I.jsx)(Cn,{className:Object(T.default)(a.root,r),children:Object(I.jsx)(hn.a,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:500,enter:250,exit:0},children:n},i)})}var En=n(1163);function Pn(t){return Object(V.a)("MuiPickersDay",t)}var _n=Object(U.a)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),Mn=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today"],Tn=function(t){var e,n=t.theme,o=t.ownerState;return Object(r.a)({},n.typography.caption,(e={width:36,height:36,borderRadius:"50%",padding:0,backgroundColor:n.palette.background.paper,color:n.palette.text.primary,"&:hover":{backgroundColor:Object(Ze.a)(n.palette.action.active,n.palette.action.hoverOpacity)},"&:focus":Object(E.a)({backgroundColor:Object(Ze.a)(n.palette.action.active,n.palette.action.hoverOpacity)},"&.".concat(_n.selected),{willChange:"background-color",backgroundColor:n.palette.primary.dark})},Object(E.a)(e,"&.".concat(_n.selected),{color:n.palette.primary.contrastText,backgroundColor:n.palette.primary.main,fontWeight:n.typography.fontWeightMedium,transition:n.transitions.create("background-color",{duration:n.transitions.duration.short}),"&:hover":{willChange:"background-color",backgroundColor:n.palette.primary.dark}}),Object(E.a)(e,"&.".concat(_n.disabled),{color:n.palette.text.disabled}),e),!o.disableMargin&&{margin:"0 ".concat(2,"px")},o.outsideCurrentMonth&&o.showDaysOutsideCurrentMonth&&{color:n.palette.text.secondary},!o.disableHighlightToday&&o.today&&Object(E.a)({},"&:not(.".concat(_n.selected,")"),{border:"1px solid ".concat(n.palette.text.secondary)}))},An=function(t,e){var n=t.ownerState;return[e.root,!n.disableMargin&&e.dayWithMargin,!n.disableHighlightToday&&n.today&&e.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&e.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&e.hiddenDaySpacingFiller]},Rn=Object(_.a)(En.a,{name:"MuiPickersDay",slot:"Root",overridesResolver:An})(Tn),Dn=Object(_.a)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:An})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({},Tn({theme:e,ownerState:n}),{opacity:0})})),In=function(){},Nn=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiPickersDay"}),a=n.autoFocus,l=void 0!==a&&a,c=n.className,u=n.day,d=n.disabled,f=void 0!==d&&d,p=n.disableHighlightToday,h=void 0!==p&&p,v=n.disableMargin,g=void 0!==v&&v,b=n.isAnimating,y=n.onClick,x=n.onDaySelect,w=n.onFocus,O=void 0===w?In:w,S=n.onBlur,j=void 0===S?In:S,C=n.onKeyDown,k=void 0===C?In:C,E=n.onMouseDown,P=n.outsideCurrentMonth,_=n.selected,A=void 0!==_&&_,R=n.showDaysOutsideCurrentMonth,D=void 0!==R&&R,N=n.children,L=n.today,F=void 0!==L&&L,B=o(n,Mn),z=Object(r.a)({},n,{autoFocus:l,disabled:f,disableHighlightToday:h,disableMargin:g,selected:A,showDaysOutsideCurrentMonth:D,today:F}),H=function(t){var e=t.selected,n=t.disableMargin,r=t.disableHighlightToday,o=t.today,i=t.disabled,a=t.outsideCurrentMonth,s=t.showDaysOutsideCurrentMonth,l=t.classes,c={root:["root",e&&"selected",i&&"disabled",!n&&"dayWithMargin",!r&&o&&"today",a&&s&&"dayOutsideMonth",a&&!s&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]};return Object(M.a)(c,Pn,l)}(z),V=m(),U=i.useRef(null),W=Object(nt.a)(U,e);Mt((function(){!l||f||b||P||U.current.focus()}),[l,f,b,P]);return P&&!D?Object(I.jsx)(Dn,{className:Object(T.default)(H.root,H.hiddenDaySpacingFiller,c),ownerState:z,role:B.role}):Object(I.jsx)(Rn,Object(r.a)({className:Object(T.default)(H.root,c),ownerState:z,ref:W,centerRipple:!0,disabled:f,tabIndex:A?0:-1,onKeyDown:function(t){return k(t,u)},onFocus:function(t){return O(t,u)},onBlur:function(t){return j(t,u)},onClick:function(t){f||x(u,"finish"),P&&t.currentTarget.focus(),y&&y(t)},onMouseDown:function(t){E&&E(t),P&&t.preventDefault()}},B,{children:N||V.format(u,"dayOfMonth")}))})),Ln=function(t,e){return t.autoFocus===e.autoFocus&&t.isAnimating===e.isAnimating&&t.today===e.today&&t.disabled===e.disabled&&t.selected===e.selected&&t.disableMargin===e.disableMargin&&t.showDaysOutsideCurrentMonth===e.showDaysOutsideCurrentMonth&&t.disableHighlightToday===e.disableHighlightToday&&t.className===e.className&&t.sx===e.sx&&t.outsideCurrentMonth===e.outsideCurrentMonth&&t.onFocus===e.onFocus&&t.onBlur===e.onBlur&&t.onDaySelect===e.onDaySelect},Fn=i.memo(Nn,Ln);function Bn(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var zn=n(727),Hn=n(407),Vn=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return r=e,void((n=t).classList?n.classList.remove(r):"string"===typeof n.className?n.className=Bn(n.className,r):n.setAttribute("class",Bn(n.className&&n.className.baseVal||"",r)));var n,r}))},Un=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},e.onEnter=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1];e.removeClasses(o,"exit"),e.addClass(o,i?"appear":"enter","base"),e.props.onEnter&&e.props.onEnter(t,n)},e.onEntering=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1]?"appear":"enter";e.addClass(o,i,"active"),e.props.onEntering&&e.props.onEntering(t,n)},e.onEntered=function(t,n){var r=e.resolveArguments(t,n),o=r[0],i=r[1]?"appear":"enter";e.removeClasses(o,i),e.addClass(o,i,"done"),e.props.onEntered&&e.props.onEntered(t,n)},e.onExit=function(t){var n=e.resolveArguments(t)[0];e.removeClasses(n,"appear"),e.removeClasses(n,"enter"),e.addClass(n,"exit","base"),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var n=e.resolveArguments(t)[0];e.addClass(n,"exit","active"),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var n=e.resolveArguments(t)[0];e.removeClasses(n,"exit"),e.addClass(n,"exit","done"),e.props.onExited&&e.props.onExited(t)},e.resolveArguments=function(t,n){return e.props.nodeRef?[e.props.nodeRef.current,t]:[t,n]},e.getClassNames=function(t){var n=e.props.classNames,r="string"===typeof n,o=r?""+(r&&n?n+"-":"")+t:n[t];return{baseClassName:o,activeClassName:r?o+"-active":n[t+"Active"],doneClassName:r?o+"-done":n[t+"Done"]}},e}Object(gn.a)(e,t);var n=e.prototype;return n.addClass=function(t,e,n){var r=this.getClassNames(e)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===e&&"done"===n&&o&&(r+=" "+o),"active"===n&&t&&Object(Hn.a)(t),r&&(this.appliedClasses[e][n]=r,function(t,e){t&&e&&e.split(" ").forEach((function(e){return r=e,void((n=t).classList?n.classList.add(r):function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")}(n,r)||("string"===typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(t,r))},n.removeClasses=function(t,e){var n=this.appliedClasses[e],r=n.base,o=n.active,i=n.done;this.appliedClasses[e]={},r&&Vn(t,r),o&&Vn(t,o),i&&Vn(t,i)},n.render=function(){var t=this.props,e=(t.classNames,Object(dt.a)(t,["classNames"]));return a.a.createElement(zn.a,Object(ft.a)({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},e}(a.a.Component);Un.defaultProps={classNames:""},Un.propTypes={};var Wn=Un,qn=function(t){return Object(V.a)("PrivatePickersSlideTransition",t)},Gn=Object(U.a)("PrivatePickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),Yn=["children","className","reduceAnimations","slideDirection","transKey"],Xn=Object(_.a)(Sn,{name:"PrivatePickersSlideTransition",slot:"Root",overridesResolver:function(t,e){return[e.root,Object(E.a)({},".".concat(Gn["slideEnter-left"]),e["slideEnter-left"]),Object(E.a)({},".".concat(Gn["slideEnter-right"]),e["slideEnter-right"]),Object(E.a)({},".".concat(Gn.slideEnterActive),e.slideEnterActive),Object(E.a)({},".".concat(Gn.slideExit),e.slideExit),Object(E.a)({},".".concat(Gn["slideExitActiveLeft-left"]),e["slideExitActiveLeft-left"]),Object(E.a)({},".".concat(Gn["slideExitActiveLeft-right"]),e["slideExitActiveLeft-right"])]}})((function(t){var e,n=t.theme.transitions.create("transform",{duration:350,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return e={display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0}},Object(E.a)(e,"& .".concat(Gn["slideEnter-left"]),{willChange:"transform",transform:"translate(100%)",zIndex:1}),Object(E.a)(e,"& .".concat(Gn["slideEnter-right"]),{willChange:"transform",transform:"translate(-100%)",zIndex:1}),Object(E.a)(e,"& .".concat(Gn.slideEnterActive),{transform:"translate(0%)",transition:n}),Object(E.a)(e,"& .".concat(Gn.slideExit),{transform:"translate(0%)"}),Object(E.a)(e,"& .".concat(Gn["slideExitActiveLeft-left"]),{willChange:"transform",transform:"translate(-100%)",transition:n,zIndex:0}),Object(E.a)(e,"& .".concat(Gn["slideExitActiveLeft-right"]),{willChange:"transform",transform:"translate(100%)",transition:n,zIndex:0}),e})),Kn=function(t){return Object(V.a)("MuiDayPicker",t)},$n=(Object(U.a)("MuiDayPicker",["header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer"]),function(t){return t.charAt(0).toUpperCase()}),Zn=Object(_.a)("div",{name:"MuiDayPicker",slot:"Header",overridesResolver:function(t,e){return e.header}})({display:"flex",justifyContent:"center",alignItems:"center"}),Qn=Object(_.a)(P.a,{name:"MuiDayPicker",slot:"WeekDayLabel",overridesResolver:function(t,e){return e.weekDayLabel}})((function(t){return{width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:t.theme.palette.text.secondary}})),Jn=Object(_.a)("div",{name:"MuiDayPicker",slot:"LoadingContainer",overridesResolver:function(t,e){return e.loadingContainer}})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:240}),tr=Object(_.a)((function(t){var e=t.children,n=t.className,a=t.reduceAnimations,s=t.slideDirection,l=t.transKey,c=o(t,Yn),u=function(t){var e=t.classes;return Object(M.a)({root:["root"]},qn,e)}(t);if(a)return Object(I.jsx)("div",{className:Object(T.default)(u.root,n),children:e});var d={exit:Gn.slideExit,enterActive:Gn.slideEnterActive,enter:Gn["slideEnter-".concat(s)],exitActive:Gn["slideExitActiveLeft-".concat(s)]};return Object(I.jsx)(Xn,{className:Object(T.default)(u.root,n),childFactory:function(t){return i.cloneElement(t,{classNames:d})},role:"presentation",children:Object(I.jsx)(Wn,Object(r.a)({mountOnEnter:!0,unmountOnExit:!0,timeout:350,classNames:d},c,{children:e}),l)})}),{name:"MuiDayPicker",slot:"SlideTransition",overridesResolver:function(t,e){return e.slideTransition}})({minHeight:240}),er=Object(_.a)("div",{name:"MuiDayPicker",slot:"MonthContainer",overridesResolver:function(t,e){return e.monthContainer}})({overflow:"hidden"}),nr=Object(_.a)("div",{name:"MuiDayPicker",slot:"WeekContainer",overridesResolver:function(t,e){return e.weekContainer}})({margin:"".concat(2,"px 0"),display:"flex",justifyContent:"center"});function rr(t){var e=x(),n=m(),o=Object(s.a)({props:t,name:"MuiDayPicker"}),a=function(t){var e=t.classes;return Object(M.a)({header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"]},Kn,e)}(o),c=o.onFocusedDayChange,u=o.className,d=o.currentMonth,f=o.selectedDays,p=o.disabled,h=o.disableHighlightToday,v=o.focusedDay,g=o.isMonthSwitchingAnimating,b=o.loading,y=o.onSelectedDaysChange,O=o.onMonthSwitchingAnimationEnd,S=o.readOnly,j=o.reduceAnimations,C=o.renderDay,k=o.renderLoading,E=void 0===k?function(){return Object(I.jsx)("span",{children:"..."})}:k,P=o.showDaysOutsideCurrentMonth,_=o.slideDirection,A=o.TransitionProps,R=o.disablePast,D=o.disableFuture,N=o.minDate,L=o.maxDate,F=o.shouldDisableDate,B=o.dayOfWeekFormatter,z=void 0===B?$n:B,H=o.hasFocus,V=o.onFocusedViewChange,U=o.gridLabelId,W=un({shouldDisableDate:F,minDate:N,maxDate:L,disablePast:R,disableFuture:D}),q=i.useState((function(){return v||e})),G=Object(l.a)(q,2),Y=G[0],X=G[1],K=i.useCallback((function(t){V&&V(t)}),[V]),$=i.useCallback((function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"finish";S||y(t,e)}),[y,S]),Z=i.useCallback((function(t){W(t)||(c(t),X(t),K(!0))}),[W,c,K]),Q=Object(ie.a)();function J(t,e){switch(t.key){case"ArrowUp":Z(n.addDays(e,-7)),t.preventDefault();break;case"ArrowDown":Z(n.addDays(e,7)),t.preventDefault();break;case"ArrowLeft":var r=n.addDays(e,"ltr"===Q.direction?-1:1),o="ltr"===Q.direction?n.getPreviousMonth(e):n.getNextMonth(e),i=w({utils:n,date:r,minDate:"ltr"===Q.direction?n.startOfMonth(o):r,maxDate:"ltr"===Q.direction?r:n.endOfMonth(o),isDateDisabled:W});Z(i||r),t.preventDefault();break;case"ArrowRight":var a=n.addDays(e,"ltr"===Q.direction?1:-1),s="ltr"===Q.direction?n.getNextMonth(e):n.getPreviousMonth(e),l=w({utils:n,date:a,minDate:"ltr"===Q.direction?a:n.startOfMonth(s),maxDate:"ltr"===Q.direction?n.endOfMonth(s):a,isDateDisabled:W});Z(l||a),t.preventDefault();break;case"Home":Z(n.startOfWeek(e)),t.preventDefault();break;case"End":Z(n.endOfWeek(e)),t.preventDefault();break;case"PageUp":Z(n.getNextMonth(e)),t.preventDefault();break;case"PageDown":Z(n.getPreviousMonth(e)),t.preventDefault()}}function tt(t,e){Z(e)}function et(t,e){H&&n.isSameDay(Y,e)&&K(!1)}var nt=n.getMonth(d),rt=f.filter((function(t){return!!t})).map((function(t){return n.startOfDay(t)})),ot=nt,it=i.useMemo((function(){return i.createRef()}),[ot]),at=n.startOfWeek(e),st=i.useMemo((function(){var t=n.startOfMonth(d),e=n.endOfMonth(d);return W(Y)||n.isAfterDay(Y,e)||n.isBeforeDay(Y,t)?w({utils:n,date:Y,minDate:t,maxDate:e,disablePast:R,disableFuture:D,isDateDisabled:W}):Y}),[d,D,R,Y,W,n]);return Object(I.jsxs)("div",{role:"grid","aria-labelledby":U,children:[Object(I.jsx)(Zn,{role:"row",className:a.header,children:n.getWeekdays().map((function(t,e){var r;return Object(I.jsx)(Qn,{variant:"caption",role:"columnheader","aria-label":n.format(n.addDays(at,e),"weekday"),className:a.weekDayLabel,children:null!=(r=null==z?void 0:z(t))?r:t},t+e.toString())}))}),b?Object(I.jsx)(Jn,{className:a.loadingContainer,children:E()}):Object(I.jsx)(tr,Object(r.a)({transKey:ot,onExited:O,reduceAnimations:j,slideDirection:_,className:Object(T.default)(u,a.slideTransition)},A,{nodeRef:it,children:Object(I.jsx)(er,{ref:it,role:"rowgroup",className:a.monthContainer,children:n.getWeekArray(d).map((function(t){return Object(I.jsx)(nr,{role:"row",className:a.weekContainer,children:t.map((function(t){var o=null!==st&&n.isSameDay(t,st),i=rt.some((function(e){return n.isSameDay(e,t)})),a=n.isSameDay(t,e),s={key:null==t?void 0:t.toString(),day:t,isAnimating:g,disabled:p||W(t),autoFocus:H&&o,today:a,outsideCurrentMonth:n.getMonth(t)!==nt,selected:i,disableHighlightToday:h,showDaysOutsideCurrentMonth:P,onKeyDown:J,onFocus:tt,onBlur:et,onDaySelect:$,tabIndex:o?0:-1,role:"gridcell","aria-selected":i};return a&&(s["aria-current"]="date"),C?C(t,rt,s):Object(I.jsx)(Fn,Object(r.a)({},s),s.key)}))},"week-".concat(t[0]))}))})}))]})}var or=function(t){return Object(V.a)("MuiPickersCalendarHeader",t)},ir=(Object(U.a)("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),Object(_.a)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"flex",alignItems:"center",marginTop:16,marginBottom:8,paddingLeft:24,paddingRight:12,maxHeight:30,minHeight:30})),ar=Object(_.a)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:function(t,e){return e.labelContainer}})((function(t){var e=t.theme;return Object(r.a)({display:"flex",maxHeight:30,overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium})})),sr=Object(_.a)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:function(t,e){return e.label}})({marginRight:6}),lr=Object(_.a)(R.a,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:function(t,e){return e.switchViewButton}})({marginRight:"auto"}),cr=Object(_.a)(N,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:function(t,e){return e.switchViewIcon}})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"},"year"===n.openView&&{transform:"rotate(180deg)"})})),ur=function(){};function dr(t){var e=Object(s.a)({props:t,name:"MuiPickersCalendarHeader"}),n=e.components,o=void 0===n?{}:n,a=e.componentsProps,l=void 0===a?{}:a,c=e.currentMonth,u=e.disabled,d=e.disableFuture,f=e.disablePast,p=e.getViewSwitchingButtonText,h=e.leftArrowButtonText,v=e.maxDate,g=e.minDate,b=e.onMonthChange,x=e.onViewChange,w=e.openView,O=e.reduceAnimations,S=e.rightArrowButtonText,j=e.views,C=e.labelId;ur({leftArrowButtonText:h,rightArrowButtonText:S,getViewSwitchingButtonText:p});var k=y(),E=null!=h?h:k.previousMonth,P=null!=S?S:k.nextMonth,_=null!=p?p:k.calendarViewSwitchingButtonAriaLabel,T=m(),A=function(t){var e=t.classes;return Object(M.a)({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},or,e)}(e),R=l.switchViewButton||{},D=function(t,e){var n=e.disableFuture,r=e.maxDate,o=m();return i.useMemo((function(){var e=o.date(),i=o.startOfMonth(n&&o.isBefore(e,r)?e:r);return!o.isAfter(i,t)}),[n,r,t,o])}(c,{disableFuture:d,maxDate:v}),N=function(t,e){var n=e.disablePast,r=e.minDate,o=m();return i.useMemo((function(){var e=o.date(),i=o.startOfMonth(n&&o.isAfter(e,r)?e:r);return!o.isBefore(i,t)}),[n,r,t,o])}(c,{disablePast:f,minDate:g});if(1===j.length&&"year"===j[0])return null;var L=e;return Object(I.jsxs)(ir,{ownerState:L,className:A.root,children:[Object(I.jsxs)(ar,{role:"presentation",onClick:function(){if(1!==j.length&&x&&!u)if(2===j.length)x(j.find((function(t){return t!==w}))||j[0]);else{var t=0!==j.indexOf(w)?0:1;x(j[t])}},ownerState:L,"aria-live":"polite",className:A.labelContainer,children:[Object(I.jsx)(kn,{reduceAnimations:O,transKey:T.format(c,"monthAndYear"),children:Object(I.jsx)(sr,{id:C,ownerState:L,className:A.label,children:T.format(c,"monthAndYear")})}),j.length>1&&!u&&Object(I.jsx)(lr,Object(r.a)({size:"small",as:o.SwitchViewButton,"aria-label":_(w),className:A.switchViewButton},R,{children:Object(I.jsx)(cr,{as:o.SwitchViewIcon,ownerState:L,className:A.switchViewIcon})}))]}),Object(I.jsx)(hn.a,{in:"day"===w,children:Object(I.jsx)(de,{leftArrowButtonText:E,rightArrowButtonText:P,components:o,componentsProps:l,onLeftClick:function(){return b(T.getPreviousMonth(c),"right")},onRightClick:function(){return b(T.getNextMonth(c),"left")},isLeftDisabled:N,isRightDisabled:D})})]})}var fr=n(15);function pr(t){return Object(V.a)("PrivatePickersYear",t)}var hr=Object(U.a)("PrivatePickersYear",["root","modeDesktop","modeMobile","yearButton","selected","disabled"]),vr=["autoFocus","className","children","disabled","onClick","onKeyDown","value","tabIndex","onFocus","onBlur"],gr=Object(_.a)("div",{name:"PrivatePickersYear",slot:"Root",overridesResolver:function(t,e){return[e.root,Object(E.a)({},"&.".concat(hr.modeDesktop),e.modeDesktop),Object(E.a)({},"&.".concat(hr.modeMobile),e.modeMobile)]}})((function(t){var e=t.ownerState;return Object(r.a)({flexBasis:"33.3%",display:"flex",alignItems:"center",justifyContent:"center"},"desktop"===(null==e?void 0:e.wrapperVariant)&&{flexBasis:"25%"})})),mr=Object(_.a)("button",{name:"PrivatePickersYear",slot:"Button",overridesResolver:function(t,e){return[e.button,Object(E.a)({},"&.".concat(hr.disabled),e.disabled),Object(E.a)({},"&.".concat(hr.selected),e.selected)]}})((function(t){var e,n=t.theme;return Object(r.a)({color:"unset",backgroundColor:"transparent",border:0,outline:0},n.typography.subtitle1,(e={margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus, &:hover":{backgroundColor:Object(Ze.a)(n.palette.action.active,n.palette.action.hoverOpacity)}},Object(E.a)(e,"&.".concat(hr.disabled),{color:n.palette.text.secondary}),Object(E.a)(e,"&.".concat(hr.selected),{color:n.palette.primary.contrastText,backgroundColor:n.palette.primary.main,"&:focus, &:hover":{backgroundColor:n.palette.primary.dark}}),e))})),br=function(){},yr=i.forwardRef((function(t,e){var n=t.autoFocus,a=t.className,s=t.children,l=t.disabled,c=t.onClick,u=t.onKeyDown,d=t.value,f=t.tabIndex,p=t.onFocus,h=void 0===p?br:p,v=t.onBlur,g=void 0===v?br:v,m=o(t,vr),b=i.useRef(null),y=Object(nt.a)(b,e),x=i.useContext(rt),w=Object(r.a)({},t,{wrapperVariant:x}),O=function(t){var e=t.wrapperVariant,n=t.disabled,r=t.selected,o=t.classes,i={root:["root",e&&"mode".concat(Object(fr.a)(e))],yearButton:["yearButton",n&&"disabled",r&&"selected"]};return Object(M.a)(i,pr,o)}(w);return i.useEffect((function(){n&&b.current.focus()}),[n]),Object(I.jsx)(gr,{className:Object(T.default)(O.root,a),ownerState:w,children:Object(I.jsx)(mr,Object(r.a)({ref:y,disabled:l,type:"button",tabIndex:l?-1:f,onClick:function(t){return c(t,d)},onKeyDown:function(t){return u(t,d)},onFocus:function(t){return h(t,d)},onBlur:function(t){return g(t,d)},className:O.yearButton,ownerState:w},m,{children:s}))})}));function xr(t){return Object(V.a)("MuiYearPicker",t)}Object(U.a)("MuiYearPicker",["root"]);var wr=Object(_.a)("div",{name:"MuiYearPicker",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",margin:"0 4px"}),Or=i.forwardRef((function(t,e){var n=x(),o=Object(ie.a)(),a=m(),c=function(t,e){var n=m(),o=b(),i=Object(s.a)({props:t,name:e});return Object(r.a)({disablePast:!1,disableFuture:!1},i,{minDate:O(n,i.minDate,o.minDate),maxDate:O(n,i.maxDate,o.maxDate)})}(t,"MuiYearPicker"),u=c.autoFocus,d=c.className,f=c.date,p=c.disabled,h=c.disableFuture,v=c.disablePast,g=c.maxDate,y=c.minDate,w=c.onChange,S=c.readOnly,j=c.shouldDisableYear,C=c.disableHighlightToday,k=c.onYearFocus,E=c.hasFocus,P=c.onFocusedViewChange,_=c,A=function(t){var e=t.classes;return Object(M.a)({root:["root"]},xr,e)}(_),R=null!=f?f:n,D=i.useMemo((function(){return null!=f?a.getYear(f):C?null:a.getYear(n)}),[n,f,a,C]),N=i.useContext(rt),L=i.useRef(null),F=i.useState((function(){return D||a.getYear(n)})),B=Object(l.a)(F,2),z=B[0],H=B[1],V=Object(Ct.a)({name:"YearPicker",state:"hasFocus",controlled:E,default:u}),U=Object(l.a)(V,2),W=U[0],q=U[1],G=i.useCallback((function(t){q(t),P&&P(t)}),[q,P]),Y=i.useCallback((function(t){return!(!v||!a.isBeforeYear(t,n))||(!(!h||!a.isAfterYear(t,n))||(!(!y||!a.isBeforeYear(t,y))||(!(!g||!a.isAfterYear(t,g))||!(!j||!j(t)))))}),[h,v,g,y,n,j,a]),X=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"finish";if(!S){var r=a.setYear(R,e);w(r,n)}},K=i.useCallback((function(t){Y(a.setYear(R,t))||(H(t),G(!0),null==k||k(t))}),[Y,a,R,G,k]);i.useEffect((function(){H((function(t){return null!==D&&t!==D?D:t}))}),[D]);var $="desktop"===N?4:3,Z=i.useCallback((function(t,e){switch(t.key){case"ArrowUp":K(e-$),t.preventDefault();break;case"ArrowDown":K(e+$),t.preventDefault();break;case"ArrowLeft":K(e+("ltr"===o.direction?-1:1)),t.preventDefault();break;case"ArrowRight":K(e+("ltr"===o.direction?1:-1)),t.preventDefault()}}),[K,o.direction,$]),Q=i.useCallback((function(t,e){K(e)}),[K]),J=i.useCallback((function(t,e){z===e&&G(!1)}),[z,G]),tt=a.getYear(n);return Object(I.jsx)(wr,{ref:e,className:Object(T.default)(A.root,d),ownerState:_,children:a.getYearRange(y,g).map((function(t){var e=a.getYear(t),n=e===D;return Object(I.jsx)(yr,{selected:n,value:e,onClick:X,onKeyDown:Z,autoFocus:W&&e===z,ref:n?L:void 0,disabled:p||Y(t),tabIndex:e===z?0:-1,onFocus:Q,onBlur:J,"aria-current":tt===e?"date":void 0,children:a.format(t,"year")},a.format(t,"year"))}))})})),Sr="undefined"!==typeof navigator&&/(android)/i.test(navigator.userAgent),jr=function(t){return Object(V.a)("MuiCalendarPicker",t)},Cr=(Object(U.a)("MuiCalendarPicker",["root","viewTransitionContainer"]),["autoFocus","onViewChange","date","disableFuture","disablePast","defaultCalendarMonth","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","classes"]);var kr=Object(_.a)(ge,{name:"MuiCalendarPicker",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"flex",flexDirection:"column"}),Er=Object(_.a)(kn,{name:"MuiCalendarPicker",slot:"ViewTransitionContainer",overridesResolver:function(t,e){return e.viewTransitionContainer}})({overflowY:"auto"}),Pr=i.forwardRef((function(t,e){var n=m(),a=Object(_t.a)(),c=function(t,e){var n=m(),o=b(),i=Object(s.a)({props:t,name:e});return Object(r.a)({loading:!1,disablePast:!1,disableFuture:!1,openTo:"day",views:["year","day"],reduceAnimations:Sr,renderLoading:function(){return Object(I.jsx)("span",{children:"..."})}},i,{minDate:O(n,i.minDate,o.minDate),maxDate:O(n,i.maxDate,o.maxDate)})}(t,"MuiCalendarPicker"),u=c.autoFocus,d=c.onViewChange,f=c.date,p=c.disableFuture,h=c.disablePast,v=c.defaultCalendarMonth,g=c.onChange,y=c.onYearChange,x=c.onMonthChange,S=c.reduceAnimations,j=c.shouldDisableDate,C=c.shouldDisableMonth,k=c.shouldDisableYear,E=c.view,P=c.views,_=c.openTo,A=c.className,R=c.disabled,D=c.readOnly,N=c.minDate,L=c.maxDate,F=c.disableHighlightToday,B=c.focusedView,z=c.onFocusedViewChange,H=o(c,Cr),V=Pt({view:E,views:P,openTo:_,onChange:g,onViewChange:d}),U=V.openView,W=V.setOpenView,q=V.openNext,G=pn({date:f,defaultCalendarMonth:v,reduceAnimations:S,onMonthChange:x,minDate:N,maxDate:L,shouldDisableDate:j,disablePast:h,disableFuture:p}),Y=G.calendarState,X=G.changeFocusedDay,K=G.changeMonth,$=G.handleChangeMonth,Z=G.isDateDisabled,Q=G.onMonthSwitchingAnimationEnd,J=i.useCallback((function(t,e){var r=n.startOfMonth(t),o=n.endOfMonth(t),i=Z(t)?w({utils:n,date:t,minDate:n.isBefore(N,r)?r:N,maxDate:n.isAfter(L,o)?o:L,disablePast:h,disableFuture:p,isDateDisabled:Z}):t;i?(g(i,e),null==x||x(r)):(q(),K(r)),X(i,!0)}),[X,p,h,Z,L,N,g,x,K,q,n]),tt=i.useCallback((function(t,e){var r=n.startOfYear(t),o=n.endOfYear(t),i=Z(t)?w({utils:n,date:t,minDate:n.isBefore(N,r)?r:N,maxDate:n.isAfter(L,o)?o:L,disablePast:h,disableFuture:p,isDateDisabled:Z}):t;i?(g(i,e),null==y||y(i)):(q(),K(r)),X(i,!0)}),[X,p,h,Z,L,N,g,y,q,n,K]),et=i.useCallback((function(t,e){return g(f&&t?n.mergeDateAndTime(t,f):t,e)}),[n,f,g]);i.useEffect((function(){if(f&&Z(f)){var t=w({utils:n,date:f,minDate:N,maxDate:L,disablePast:h,disableFuture:p,isDateDisabled:Z});g(t,"partial")}}),[]),i.useEffect((function(){f&&K(f)}),[f]);var nt=c,rt=function(t){var e=t.classes;return Object(M.a)({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},jr,e)}(nt),ot={disablePast:h,disableFuture:p,maxDate:L,minDate:N},it=R&&f||N,at=R&&f||L,st={disableHighlightToday:F,readOnly:D,disabled:R},ct="".concat(a,"-grid-label"),ut=Object(Ct.a)({name:"DayPicker",state:"focusedView",controlled:B,default:u?U:null}),dt=Object(l.a)(ut,2),ft=dt[0],pt=dt[1],ht=null!==ft,vt=Object(lt.a)((function(t){return function(e){z?z(t)(e):pt(e?t:function(e){return e===t?null:e})}}));return Object(I.jsxs)(kr,{ref:e,className:Object(T.default)(rt.root,A),ownerState:nt,children:[Object(I.jsx)(dr,Object(r.a)({},H,{views:P,openView:U,currentMonth:Y.currentMonth,onViewChange:W,onMonthChange:function(t,e){return $({newMonth:t,direction:e})},minDate:it,maxDate:at,disabled:R,disablePast:h,disableFuture:p,reduceAnimations:S,labelId:ct})),Object(I.jsx)(Er,{reduceAnimations:S,className:rt.viewTransitionContainer,transKey:U,ownerState:nt,children:Object(I.jsxs)("div",{children:["year"===U&&Object(I.jsx)(Or,Object(r.a)({},H,ot,st,{autoFocus:u,date:f,onChange:tt,shouldDisableYear:k,hasFocus:ht,onFocusedViewChange:vt("year")})),"month"===U&&Object(I.jsx)(ln,Object(r.a)({},ot,st,{autoFocus:u,hasFocus:ht,className:A,date:f,onChange:J,shouldDisableMonth:C,onFocusedViewChange:vt("month")})),"day"===U&&Object(I.jsx)(rr,Object(r.a)({},H,Y,ot,st,{autoFocus:u,onMonthSwitchingAnimationEnd:Q,onFocusedDayChange:X,reduceAnimations:S,selectedDays:[f],onSelectedDaysChange:et,shouldDisableDate:j,hasFocus:ht,onFocusedViewChange:vt("day"),gridLabelId:ct}))]})})]})})),_r=n(1359),Mr=function(t){var e=Object(i.useReducer)((function(t){return t+1}),0),n=Object(l.a)(e,2)[1],r=Object(i.useRef)(null),o=t.replace,a=t.append,s=o?o(t.format(t.value)):t.format(t.value),c=Object(i.useRef)(!1);return Object(i.useLayoutEffect)((function(){if(null!=r.current){var e=Object(l.a)(r.current,5),i=e[0],c=e[1],u=e[2],d=e[3],f=e[4];r.current=null;var p=d&&f,h=i.slice(c.selectionStart).search(t.accept||/\d/g),v=-1!==h?h:0,g=function(e){return(e.match(t.accept||/\d/g)||[]).join("")},m=g(i.substr(0,c.selectionStart)),b=function(t){for(var e=0,n=0,r=0;r!==m.length;++r){var o=t.indexOf(m[r],e)+1,i=g(t).indexOf(m[r],n)+1;i-n>1&&(o=e,i=n),n=Math.max(i,n),e=Math.max(e,o)}return e};if(!0===t.mask&&u&&!f){var y=b(i),x=g(i.substr(y))[0];y=i.indexOf(x,y),i="".concat(i.substr(0,y)).concat(i.substr(y+1))}var w=t.format(i);null==a||c.selectionStart!==i.length||f||(u?w=a(w):""===g(w.slice(-1))&&(w=w.slice(0,-1)));var O=o?o(w):w;return s===O?n():t.onChange(O),function(){var e=b(w);if(null!=t.mask&&(u||d&&!p))for(;w[e]&&""===g(w[e]);)e+=1;c.selectionStart=c.selectionEnd=e+(p?1+v:0)}}})),Object(i.useEffect)((function(){var t=function(t){"Delete"===t.code&&(c.current=!0)},e=function(t){"Delete"===t.code&&(c.current=!1)};return document.addEventListener("keydown",t),document.addEventListener("keyup",e),function(){document.removeEventListener("keydown",t),document.removeEventListener("keyup",e)}}),[]),{value:null!=r.current?r.current[0]:s,onChange:function(e){var o=e.target.value;r.current=[o,e.target,o.length>s.length,c.current,s===t.format(o)],n()}}},Tr=function(t,e,n){var r=t.date(e);return null===e?"":t.isValid(r)?t.formatByString(r,n):""},Ar="_",Rr="2019-11-21T22:30:00.000",Dr="2019-01-01T09:00:00.000";function Ir(t,e,n,r){if(!t)return!1;var o=r.formatByString(r.date(Dr),e).replace(n,Ar),i=r.formatByString(r.date(Rr),e).replace(n,"_"),a=i===o&&t===i;return!a&&r.lib,a}var Nr=function(t){var e=t.acceptRegex,n=void 0===e?/[\d]/gi:e,o=t.disabled,a=t.disableMaskedInput,s=t.ignoreInvalidInputs,c=t.inputFormat,u=t.inputProps,d=t.label,f=t.mask,p=t.onChange,h=t.rawValue,v=t.readOnly,g=t.rifmFormatter,b=t.TextFieldProps,y=t.validationError,x=m(),w=x.getFormatHelperText(c),O=i.useMemo((function(){if(a)return{shouldUseMaskedInput:!1,maskToUse:""};var t=function(t,e,n,r){if(t)return t;var o=r.formatByString(r.date(Dr),e).replace(n,Ar);return o===r.formatByString(r.date(Rr),e).replace(n,"_")?o:""}(f,c,n,x);return{shouldUseMaskedInput:Ir(t,c,n,x),maskToUse:t}}),[n,a,c,f,x]),S=O.shouldUseMaskedInput,j=O.maskToUse,C=i.useMemo((function(){return S&&j?function(t,e){return function(n){var r=0;return n.split("").map((function(o,i){if(e.lastIndex=0,r>t.length-1)return"";var a=t[r],s=t[r+1],l=e.test(o)?o:"",c=a===Ar?l:a+l;return r+=c.length,i===n.length-1&&s&&s!==Ar?c?c+s:"":c})).join("")}}(j,n):function(t){return t}}),[n,j,S]),k=null===h?null:x.date(h),E=i.useState(k),P=Object(l.a)(E,2),_=P[0],M=P[1],T=i.useState(Tr(x,h,c)),A=Object(l.a)(T,2),R=A[0],D=A[1],I=i.useRef(),N=i.useRef(x.locale);i.useEffect((function(){var t=h!==I.current,e=x.locale!==N.current;if(I.current=h,N.current=x.locale,t||e){var n=null===h?null:x.date(h),r=null===h||x.isValid(n);if(e||r&&!x.isEqual(_,n)){var o=Tr(x,h,c);M(n),D(o)}}}),[x,h,c,_]);var L=function(t){var e=""===t||t===f?"":t;D(e);var n=null===e?null:x.parse(e,c);s&&!x.isValid(n)||(M(n),p(n,e||void 0))},F=Mr({value:R,onChange:L,format:g||C}),B=S?F:{value:R,onChange:function(t){L(t.currentTarget.value)}};return Object(r.a)({label:d,disabled:o,error:y,inputProps:Object(r.a)({},B,{disabled:o,placeholder:w,readOnly:v,type:S?"tel":"text"},u)},b)},Lr=["className","components","disableOpenPicker","getOpenDialogAriaText","InputAdornmentProps","InputProps","inputRef","openPicker","OpenPickerButtonProps","renderInput"],Fr=i.forwardRef((function(t,e){var n=t.className,i=t.components,a=void 0===i?{}:i,s=t.disableOpenPicker,l=t.getOpenDialogAriaText,c=t.InputAdornmentProps,u=t.InputProps,d=t.inputRef,f=t.openPicker,p=t.OpenPickerButtonProps,h=t.renderInput,v=o(t,Lr),g=y(),b=null!=l?l:g.openDatePickerDialogue,x=m(),w=Nr(v),O=(null==c?void 0:c.position)||"end",S=a.OpenPickerIcon||B;return h(Object(r.a)({ref:e,inputRef:d,className:n},w,{InputProps:Object(r.a)({},u,Object(E.a)({},"".concat(O,"Adornment"),s?void 0:Object(I.jsx)(_r.a,Object(r.a)({position:O},c,{children:Object(I.jsx)(R.a,Object(r.a)({edge:O,disabled:v.disabled||v.readOnly,"aria-label":b(v.rawValue,x)},p,{onClick:f,children:Object(I.jsx)(S,{})}))}))))}))}));function Br(){return"undefined"===typeof window?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?90===Math.abs(window.screen.orientation.angle)?"landscape":"portrait":window.orientation&&90===Math.abs(Number(window.orientation))?"landscape":"portrait"}function zr(t){return Object(V.a)("MuiCalendarOrClockPicker",t)}Object(U.a)("MuiCalendarOrClockPicker",["root","mobileKeyboardInputView"]);var Hr=["autoFocus","className","parsedValue","DateInputProps","isMobileKeyboardViewOpen","onDateChange","onViewChange","openTo","orientation","showToolbar","toggleMobileKeyboardView","ToolbarComponent","toolbarFormat","toolbarPlaceholder","toolbarTitle","views","dateRangeIcon","timeIcon","hideTabs","classes"],Vr=Object(_.a)("div",{name:"MuiCalendarOrClockPicker",slot:"MobileKeyboardInputView",overridesResolver:function(t,e){return e.mobileKeyboardInputView}})({padding:"16px 24px"}),Ur=Object(_.a)("div",{name:"MuiCalendarOrClockPicker",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.ownerState;return Object(r.a)({display:"flex",flexDirection:"column"},e.isLandscape&&{flexDirection:"row"})})),Wr={fullWidth:!0},qr=function(t){return"year"===t||"month"===t||"day"===t},Gr=function(t){return"hours"===t||"minutes"===t||"seconds"===t};function Yr(t){var e,n,a=Object(s.a)({props:t,name:"MuiCalendarOrClockPicker"}),c=a.autoFocus,u=a.parsedValue,d=a.DateInputProps,f=a.isMobileKeyboardViewOpen,p=a.onDateChange,h=a.onViewChange,v=a.openTo,g=a.orientation,m=a.showToolbar,b=a.toggleMobileKeyboardView,y=a.ToolbarComponent,x=void 0===y?function(){return null}:y,w=a.toolbarFormat,O=a.toolbarPlaceholder,S=a.toolbarTitle,j=a.views,C=a.dateRangeIcon,k=a.timeIcon,E=a.hideTabs,P=o(a,Hr),_=null==(e=P.components)?void 0:e.Tabs,T=function(t,e){var n=i.useState(Br),r=Object(l.a)(n,2),o=r[0],a=r[1];return Mt((function(){var t=function(){a(Br())};return window.addEventListener("orientationchange",t),function(){window.removeEventListener("orientationchange",t)}}),[]),!kt(t,["hours","minutes","seconds"])&&"landscape"===(e||o)}(j,g),A=i.useContext(rt),R=function(t){var e=t.classes;return Object(M.a)({root:["root"],mobileKeyboardInputView:["mobileKeyboardInputView"]},zr,e)}(a),D=null!=m?m:"desktop"!==A,N=!E&&"undefined"!==typeof window&&window.innerHeight>667,L=i.useCallback((function(t,e){p(t,A,e)}),[p,A]);var F=Pt({view:void 0,views:j,openTo:v,onChange:L,onViewChange:i.useCallback((function(t){f&&b(),h&&h(t)}),[f,h,b])}),B=F.openView,z=F.setOpenView,H=F.handleChangeAndOpenNext,V=function(t){var e=t.autoFocus,n=t.openView,r=i.useState(e?n:null),o=Object(l.a)(r,2),a=o[0],s=o[1];return{focusedView:a,setFocusedView:i.useCallback((function(t){return function(e){s(e?t:function(e){return t===e?null:e})}}),[])}}({autoFocus:c,openView:B}),U=V.focusedView,W=V.setFocusedView;return Object(I.jsxs)(Ur,{ownerState:{isLandscape:T},className:R.root,children:[D&&Object(I.jsx)(x,Object(r.a)({},P,{views:j,isLandscape:T,parsedValue:u,onChange:L,setOpenView:z,openView:B,toolbarTitle:S,toolbarFormat:w,toolbarPlaceholder:O,isMobileKeyboardViewOpen:f,toggleMobileKeyboardView:b})),N&&!!_&&Object(I.jsx)(_,Object(r.a)({dateRangeIcon:C,timeIcon:k,view:B,onChange:z},null==(n=P.componentsProps)?void 0:n.tabs)),Object(I.jsx)(ge,{children:f?Object(I.jsx)(Vr,{className:R.mobileKeyboardInputView,children:Object(I.jsx)(Fr,Object(r.a)({},d,{ignoreInvalidInputs:!0,disableOpenPicker:!0,TextFieldProps:Wr}))}):Object(I.jsxs)(i.Fragment,{children:[qr(B)&&Object(I.jsx)(Pr,Object(r.a)({autoFocus:c,date:u,onViewChange:z,onChange:H,view:B,views:j.filter(qr),focusedView:U,onFocusedViewChange:W},P)),Gr(B)&&Object(I.jsx)(xe,Object(r.a)({},P,{autoFocus:c,date:u,view:B,views:j.filter(Gr),onChange:H,onViewChange:z,showViewSwitcher:"desktop"===A}))]})})]})}var Xr=function(t,e){var n=t.onAccept,o=t.onChange,a=t.value,s=t.closeOnSelect,c=m(),u=function(t){var e=t.open,n=t.onOpen,r=t.onClose,o=i.useRef("boolean"===typeof e).current,a=i.useState(!1),s=Object(l.a)(a,2),c=s[0],u=s[1];return i.useEffect((function(){if(o){if("boolean"!==typeof e)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");u(e)}}),[o,e]),{isOpen:c,setIsOpen:i.useCallback((function(t){o||u(t),t&&n&&n(),!t&&r&&r()}),[o,n,r])}}(t),d=u.isOpen,f=u.setIsOpen,p=i.useMemo((function(){return e.parseInput(c,a)}),[e,c,a]),h=i.useState(p),v=Object(l.a)(h,2),g=v[0],b=v[1],y=i.useState((function(){return{committed:p,draft:p,resetFallback:p}})),x=Object(l.a)(y,2),w=x[0],O=x[1],S=i.useCallback((function(t){O((function(e){switch(t.action){case"setAll":case"acceptAndClose":return{draft:t.value,committed:t.value,resetFallback:t.value};case"setCommitted":return Object(r.a)({},e,{draft:t.value,committed:t.value});case"setDraft":return Object(r.a)({},e,{draft:t.value});default:return e}})),(t.forceOnChangeCall||!t.skipOnChangeCall&&!e.areValuesEqual(c,w.committed,t.value))&&o(t.value),"acceptAndClose"===t.action&&(f(!1),n&&!e.areValuesEqual(c,w.resetFallback,t.value)&&n(t.value))}),[n,o,f,w,c,e]);i.useEffect((function(){c.isValid(p)&&b(p)}),[c,p]),i.useEffect((function(){d&&S({action:"setAll",value:p,skipOnChangeCall:!0})}),[d]),e.areValuesEqual(c,w.committed,p)||S({action:"setCommitted",value:p,skipOnChangeCall:!0});var j=i.useMemo((function(){return{open:d,onClear:function(){S({value:e.emptyValue,action:"acceptAndClose",forceOnChangeCall:!e.areValuesEqual(c,a,e.emptyValue)})},onAccept:function(){S({value:w.draft,action:"acceptAndClose",forceOnChangeCall:!e.areValuesEqual(c,a,p)})},onDismiss:function(){S({value:w.committed,action:"acceptAndClose"})},onCancel:function(){S({value:w.resetFallback,action:"acceptAndClose"})},onSetToday:function(){S({value:e.getTodayValue(c),action:"acceptAndClose"})}}}),[S,d,c,w,e,a,p]),C=i.useState(!1),k=Object(l.a)(C,2),E=k[0],P=k[1],_=i.useMemo((function(){return{parsedValue:w.draft,isMobileKeyboardViewOpen:E,toggleMobileKeyboardView:function(){return P(!E)},onDateChange:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"partial";switch(n){case"shallow":return S({action:"setDraft",value:t,skipOnChangeCall:!0});case"partial":return S({action:"setDraft",value:t});case"finish":return S((null!=s?s:"desktop"===e)?{value:t,action:"acceptAndClose"}:{value:t,action:"setCommitted"});default:throw new Error("MUI: Invalid selectionState passed to `onDateChange`")}}}}),[S,E,w.draft,s]),M=i.useCallback((function(t,n){var r=e.valueReducer?e.valueReducer(c,g,t):t;o(r,n)}),[o,e,g,c]),T={pickerProps:_,inputProps:i.useMemo((function(){return{onChange:M,open:d,rawValue:a,openPicker:function(){return f(!0)}}}),[M,d,a,f]),wrapperProps:j};return i.useDebugValue(T,(function(){return{MuiPickerState:{dateState:w,other:T}}})),T},Kr=["onChange","PopperProps","PaperProps","ToolbarComponent","TransitionComponent","value","components","componentsProps"],$r=i.forwardRef((function(t,e){var n=C(t,"MuiDesktopDatePicker"),i=null!==fn(n),a=Xr(n,k),s=a.pickerProps,l=a.inputProps,c=a.wrapperProps,u=n.PopperProps,d=n.PaperProps,f=n.ToolbarComponent,p=void 0===f?et:f,h=n.TransitionComponent,v=n.components,g=n.componentsProps,m=o(n,Kr),b=Object(r.a)({},l,m,{components:v,componentsProps:g,ref:e,validationError:i});return Object(I.jsx)(jt,Object(r.a)({},c,{DateInputProps:b,KeyboardDateInputComponent:Fr,PopperProps:u,PaperProps:d,TransitionComponent:h,components:v,componentsProps:g,children:Object(I.jsx)(Yr,Object(r.a)({},s,{autoFocus:!0,toolbarTitle:n.label||n.toolbarTitle,ToolbarComponent:p,DateInputProps:b,components:v,componentsProps:g},m))}))}));function Zr(t){return Object(V.a)("MuiDialogContent",t)}Object(U.a)("MuiDialogContent",["root","dividers"]);var Qr=Object(U.a)("MuiDialogTitle",["root"]),Jr=["className","dividers"],to=Object(_.a)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.dividers&&e.dividers]}})((function(t){var e=t.theme,n=t.ownerState;return Object(ft.a)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},n.dividers?{padding:"16px 24px",borderTop:"1px solid ".concat((e.vars||e).palette.divider),borderBottom:"1px solid ".concat((e.vars||e).palette.divider)}:Object(E.a)({},".".concat(Qr.root," + &"),{paddingTop:0}))})),eo=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiDialogContent"}),r=n.className,o=n.dividers,i=void 0!==o&&o,a=Object(dt.a)(n,Jr),l=Object(ft.a)({},n,{dividers:i}),c=function(t){var e=t.classes,n={root:["root",t.dividers&&"dividers"]};return Object(M.a)(n,Zr,e)}(l);return Object(I.jsx)(to,Object(ft.a)({className:Object(T.default)(c.root,r),ownerState:l,ref:e},a))})),no=n(729),ro=n(1308);function oo(t){return Object(V.a)("MuiDialog",t)}var io=Object(U.a)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);var ao,so=Object(i.createContext)({}),lo=n(1353),co=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],uo=Object(_.a)(lo.a,{name:"MuiDialog",slot:"Backdrop",overrides:function(t,e){return e.backdrop}})({zIndex:-1}),fo=Object(_.a)(ro.a,{name:"MuiDialog",slot:"Root",overridesResolver:function(t,e){return e.root}})({"@media print":{position:"absolute !important"}}),po=Object(_.a)("div",{name:"MuiDialog",slot:"Container",overridesResolver:function(t,e){var n=t.ownerState;return[e.container,e["scroll".concat(Object(fr.a)(n.scroll))]]}})((function(t){var e=t.ownerState;return Object(ft.a)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})})),ho=Object(_.a)(it.a,{name:"MuiDialog",slot:"Paper",overridesResolver:function(t,e){var n=t.ownerState;return[e.paper,e["scrollPaper".concat(Object(fr.a)(n.scroll))],e["paperWidth".concat(Object(fr.a)(String(n.maxWidth)))],n.fullWidth&&e.paperFullWidth,n.fullScreen&&e.paperFullScreen]}})((function(t){var e=t.theme,n=t.ownerState;return Object(ft.a)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===n.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===n.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!n.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===n.maxWidth&&Object(E.a)({maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):"".concat(e.breakpoints.values.xs).concat(e.breakpoints.unit)},"&.".concat(io.paperScrollBody),Object(E.a)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})),n.maxWidth&&"xs"!==n.maxWidth&&Object(E.a)({maxWidth:"".concat(e.breakpoints.values[n.maxWidth]).concat(e.breakpoints.unit)},"&.".concat(io.paperScrollBody),Object(E.a)({},e.breakpoints.down(e.breakpoints.values[n.maxWidth]+64),{maxWidth:"calc(100% - 64px)"})),n.fullWidth&&{width:"calc(100% - 64px)"},n.fullScreen&&Object(E.a)({margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0},"&.".concat(io.paperScrollBody),{margin:0,maxWidth:"100%"}))})),vo=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiDialog"}),r=Object(ie.a)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},a=n["aria-describedby"],l=n["aria-labelledby"],c=n.BackdropComponent,u=n.BackdropProps,d=n.children,f=n.className,p=n.disableEscapeKeyDown,h=void 0!==p&&p,v=n.fullScreen,g=void 0!==v&&v,m=n.fullWidth,b=void 0!==m&&m,y=n.maxWidth,x=void 0===y?"sm":y,w=n.onBackdropClick,O=n.onClose,S=n.open,j=n.PaperComponent,C=void 0===j?it.a:j,k=n.PaperProps,E=void 0===k?{}:k,P=n.scroll,_=void 0===P?"paper":P,A=n.TransitionComponent,R=void 0===A?hn.a:A,D=n.transitionDuration,N=void 0===D?o:D,L=n.TransitionProps,F=Object(dt.a)(n,co),B=Object(ft.a)({},n,{disableEscapeKeyDown:h,fullScreen:g,fullWidth:b,maxWidth:x,scroll:_}),z=function(t){var e=t.classes,n=t.scroll,r=t.maxWidth,o=t.fullWidth,i=t.fullScreen,a={root:["root"],container:["container","scroll".concat(Object(fr.a)(n))],paper:["paper","paperScroll".concat(Object(fr.a)(n)),"paperWidth".concat(Object(fr.a)(String(r))),o&&"paperFullWidth",i&&"paperFullScreen"]};return Object(M.a)(a,oo,e)}(B),H=i.useRef(),V=Object(no.a)(l),U=i.useMemo((function(){return{titleId:V}}),[V]);return Object(I.jsx)(fo,Object(ft.a)({className:Object(T.default)(z.root,f),closeAfterTransition:!0,components:{Backdrop:uo},componentsProps:{backdrop:Object(ft.a)({transitionDuration:N,as:c},u)},disableEscapeKeyDown:h,onClose:O,open:S,ref:e,onClick:function(t){H.current&&(H.current=null,w&&w(t),O&&O(t,"backdropClick"))},ownerState:B},F,{children:Object(I.jsx)(R,Object(ft.a)({appear:!0,in:S,timeout:N,role:"presentation"},L,{children:Object(I.jsx)(po,{className:Object(T.default)(z.container),onMouseDown:function(t){H.current=t.target===t.currentTarget},ownerState:B,children:Object(I.jsx)(ho,Object(ft.a)({as:C,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":V},E,{className:Object(T.default)(z.paper,E.className),ownerState:B,children:Object(I.jsx)(so.Provider,{value:U,children:d})}))})}))}))})),go=Object(_.a)(vo)((ao={},Object(E.a)(ao,"& .".concat(io.container),{outline:0}),Object(E.a)(ao,"& .".concat(io.paper),{outline:0,minWidth:320}),ao)),mo=Object(_.a)(eo)({"&:first-of-type":{padding:0}}),bo=function(t){var e,n=t.children,o=t.DialogProps,i=void 0===o?{}:o,a=t.onAccept,s=t.onClear,l=t.onDismiss,c=t.onCancel,u=t.onSetToday,d=t.open,f=t.components,p=t.componentsProps,h=null!=(e=null==f?void 0:f.ActionBar)?e:bt;return Object(I.jsxs)(go,Object(r.a)({open:d,onClose:l},i,{children:[Object(I.jsx)(mo,{children:n}),Object(I.jsx)(h,Object(r.a)({onAccept:a,onClear:s,onCancel:c,onSetToday:u,actions:["cancel","accept"]},null==p?void 0:p.actionBar))]}))},yo=["children","DateInputProps","DialogProps","onAccept","onClear","onDismiss","onCancel","onSetToday","open","PureDateInputComponent","components","componentsProps"];function xo(t){var e=t.children,n=t.DateInputProps,i=t.DialogProps,a=t.onAccept,s=t.onClear,l=t.onDismiss,c=t.onCancel,u=t.onSetToday,d=t.open,f=t.PureDateInputComponent,p=t.components,h=t.componentsProps,v=o(t,yo);return Object(I.jsxs)(rt.Provider,{value:"mobile",children:[Object(I.jsx)(f,Object(r.a)({components:p},v,n)),Object(I.jsx)(bo,{DialogProps:i,onAccept:a,onClear:s,onDismiss:l,onCancel:c,onSetToday:u,open:d,components:p,componentsProps:h,children:e})]})}var wo=i.forwardRef((function(t,e){var n=t.disabled,o=t.getOpenDialogAriaText,a=t.inputFormat,s=t.InputProps,l=t.inputRef,c=t.label,u=t.openPicker,d=t.rawValue,f=t.renderInput,p=t.TextFieldProps,h=void 0===p?{}:p,v=t.validationError,g=t.className,b=y(),x=null!=o?o:b.openDatePickerDialogue,w=m(),O=i.useMemo((function(){return Object(r.a)({},s,{readOnly:!0})}),[s]),S=Tr(w,d,a),j=Object(lt.a)((function(t){t.stopPropagation(),u()}));return f(Object(r.a)({label:c,disabled:n,ref:e,inputRef:l,error:v,InputProps:O,className:g},!t.readOnly&&!t.disabled&&{onClick:j},{inputProps:Object(r.a)({disabled:n,readOnly:!0,"aria-readonly":!0,"aria-label":x(d,w),value:S},!t.readOnly&&{onClick:j},{onKeyDown:Et(u)})},h))})),Oo=["ToolbarComponent","value","onChange","components","componentsProps"],So=i.forwardRef((function(t,e){var n=C(t,"MuiMobileDatePicker"),i=null!==fn(n),a=Xr(n,k),s=a.pickerProps,l=a.inputProps,c=a.wrapperProps,u=n.ToolbarComponent,d=void 0===u?et:u,f=n.components,p=n.componentsProps,h=o(n,Oo),v=Object(r.a)({},l,h,{components:f,componentsProps:p,ref:e,validationError:i});return Object(I.jsx)(xo,Object(r.a)({},h,c,{DateInputProps:v,PureDateInputComponent:wo,components:f,componentsProps:p,children:Object(I.jsx)(Yr,Object(r.a)({},s,{autoFocus:!0,toolbarTitle:n.label||n.toolbarTitle,ToolbarComponent:d,DateInputProps:v,components:f,componentsProps:p},h))}))})),jo=["desktopModeMediaQuery","DialogProps","PopperProps","TransitionComponent"],Co=i.forwardRef((function(t,e){var n=Object(s.a)({props:t,name:"MuiDatePicker"}),i=n.desktopModeMediaQuery,a=void 0===i?"@media (pointer: fine)":i,l=n.DialogProps,d=n.PopperProps,v=n.TransitionComponent,g=o(n,jo),m=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object(c.a)(),r="undefined"!==typeof window&&"undefined"!==typeof window.matchMedia,o=Object(u.a)({name:"MuiUseMediaQuery",props:e,theme:n}),i=o.defaultMatches,a=void 0!==i&&i,s=o.matchMedia,l=void 0===s?r?window.matchMedia:null:s,d=o.ssrMatchMedia,v=void 0===d?null:d,g=o.noSsr,m="function"===typeof t?t(n):t;return m=m.replace(/^@media( ?)/m,""),(void 0!==p?h:f)(m,a,l,v,g)}(a,{defaultMatches:!0});return m?Object(I.jsx)($r,Object(r.a)({ref:e,PopperProps:d,TransitionComponent:v},g)):Object(I.jsx)(So,Object(r.a)({ref:e,DialogProps:l},g))}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return me}));var r=n(12),o=n(3),i=n(1),a=n(201),s=(n(100),n(23)),l=n(144),c=n(89),u={}.constructor;function d(t){if(null==t||"object"!==typeof t)return t;if(Array.isArray(t))return t.map(d);if(t.constructor!==u)return t;var e={};for(var n in t)e[n]=d(t[n]);return e}function f(t,e,n){void 0===t&&(t="unnamed");var r=n.jss,o=d(e),i=r.plugins.onCreateRule(t,o,n);return i||(t[0],null)}var p=function(t,e){for(var n="",r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=e),n+=t[r];return n},h=function(t,e){if(void 0===e&&(e=!1),!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var r=0;r<t.length&&"!important"!==t[r];r++)n&&(n+=", "),n+=p(t[r]," ");else n=p(t,", ");return e||"!important"!==t[t.length-1]||(n+=" !important"),n};function v(t){return t&&!1===t.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function g(t,e){for(var n="",r=0;r<e;r++)n+="  ";return n+t}function m(t,e,n){void 0===n&&(n={});var r="";if(!e)return r;var o=n.indent,i=void 0===o?0:o,a=e.fallbacks;!1===n.format&&(i=-1/0);var s=v(n),l=s.linebreak,c=s.space;if(t&&i++,a)if(Array.isArray(a))for(var u=0;u<a.length;u++){var d=a[u];for(var f in d){var p=d[f];null!=p&&(r&&(r+=l),r+=g(f+":"+c+h(p)+";",i))}}else for(var m in a){var b=a[m];null!=b&&(r&&(r+=l),r+=g(m+":"+c+h(b)+";",i))}for(var y in e){var x=e[y];null!=x&&"fallbacks"!==y&&(r&&(r+=l),r+=g(y+":"+c+h(x)+";",i))}return(r||n.allowEmpty)&&t?(r&&(r=""+l+r+l),g(""+t+c+"{"+r,--i)+g("}",i)):r}var b=/([[\].#*$><+~=|^:(),"'`\s])/g,y="undefined"!==typeof CSS&&CSS.escape,x=function(t){return y?y(t):t.replace(b,"\\$1")},w=function(){function t(t,e,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=t,this.options=n,this.style=e,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return t.prototype.prop=function(t,e,n){if(void 0===e)return this.style[t];var r=!!n&&n.force;if(!r&&this.style[t]===e)return this;var o=e;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(e,t,this));var i=null==o||!1===o,a=t in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[t]:this.style[t]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,t):this.renderer.setProperty(this.renderable,t,o),this;var l=this.options.sheet;return l&&l.attached,this},t}(),O=function(t){function e(e,n,r){var o;o=t.call(this,e,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(Object(c.a)(Object(c.a)(o)),s),o.selectorText="."+x(o.id)),o}Object(l.a)(e,t);var n=e.prototype;return n.applyTo=function(t){var e=this.renderer;if(e){var n=this.toJSON();for(var r in n)e.setProperty(t,r,n[r])}return this},n.toJSON=function(){var t={};for(var e in this.style){var n=this.style[e];"object"!==typeof n?t[e]=n:Array.isArray(n)&&(t[e]=h(n))}return t},n.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(o.a)({},t,{allowEmpty:!0}):t;return m(this.selectorText,this.style,n)},Object(s.a)(e,[{key:"selector",set:function(t){if(t!==this.selectorText){this.selectorText=t;var e=this.renderer,n=this.renderable;if(n&&e)e.setSelector(n,t)||e.replaceRule(n,this)}},get:function(){return this.selectorText}}]),e}(w),S={onCreateRule:function(t,e,n){return"@"===t[0]||n.parent&&"keyframes"===n.parent.type?null:new O(t,e,n)}},j={indent:1,children:!0},C=/@([\w-]+)/,k=function(){function t(t,e,n){this.type="conditional",this.isProcessed=!1,this.key=t;var r=t.match(C);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new K(Object(o.a)({},n,{parent:this})),e)this.rules.add(i,e[i]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.indexOf=function(t){return this.rules.indexOf(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.toString=function(t){void 0===t&&(t=j);var e=v(t).linebreak;if(null==t.indent&&(t.indent=j.indent),null==t.children&&(t.children=j.children),!1===t.children)return this.query+" {}";var n=this.rules.toString(t);return n?this.query+" {"+e+n+e+"}":""},t}(),E=/@media|@supports\s+/,P={onCreateRule:function(t,e,n){return E.test(t)?new k(t,e,n):null}},_={indent:1,children:!0},M=/@keyframes\s+([\w-]+)/,T=function(){function t(t,e,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=t.match(M);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,s=n.generateId;for(var l in this.id=!1===i?this.name:x(s(this,a)),this.rules=new K(Object(o.a)({},n,{parent:this})),e)this.rules.add(l,e[l],Object(o.a)({},n,{parent:this}));this.rules.process()}return t.prototype.toString=function(t){void 0===t&&(t=_);var e=v(t).linebreak;if(null==t.indent&&(t.indent=_.indent),null==t.children&&(t.children=_.children),!1===t.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(t);return n&&(n=""+e+n+e),this.at+" "+this.id+" {"+n+"}"},t}(),A=/@keyframes\s+/,R=/\$([\w-]+)/g,D=function(t,e){return"string"===typeof t?t.replace(R,(function(t,n){return n in e?e[n]:t})):t},I=function(t,e,n){var r=t[e],o=D(r,n);o!==r&&(t[e]=o)},N={onCreateRule:function(t,e,n){return"string"===typeof t&&A.test(t)?new T(t,e,n):null},onProcessStyle:function(t,e,n){return"style"===e.type&&n?("animation-name"in t&&I(t,"animation-name",n.keyframes),"animation"in t&&I(t,"animation",n.keyframes),t):t},onChangeValue:function(t,e,n){var r=n.options.sheet;if(!r)return t;switch(e){case"animation":case"animation-name":return D(t,r.keyframes);default:return t}}},L=function(t){function e(){return t.apply(this,arguments)||this}return Object(l.a)(e,t),e.prototype.toString=function(t){var e=this.options.sheet,n=!!e&&e.options.link?Object(o.a)({},t,{allowEmpty:!0}):t;return m(this.key,this.style,n)},e}(w),F={onCreateRule:function(t,e,n){return n.parent&&"keyframes"===n.parent.type?new L(t,e,n):null}},B=function(){function t(t,e,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){var e=v(t).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r<this.style.length;r++)n+=m(this.at,this.style[r]),this.style[r+1]&&(n+=e);return n}return m(this.at,this.style,t)},t}(),z=/@font-face/,H={onCreateRule:function(t,e,n){return z.test(t)?new B(t,e,n):null}},V=function(){function t(t,e,n){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=t,this.style=e,this.options=n}return t.prototype.toString=function(t){return m(this.key,this.style,t)},t}(),U={onCreateRule:function(t,e,n){return"@viewport"===t||"@-ms-viewport"===t?new V(t,e,n):null}},W=function(){function t(t,e,n){this.type="simple",this.isProcessed=!1,this.key=t,this.value=e,this.options=n}return t.prototype.toString=function(t){if(Array.isArray(this.value)){for(var e="",n=0;n<this.value.length;n++)e+=this.key+" "+this.value[n]+";",this.value[n+1]&&(e+="\n");return e}return this.key+" "+this.value+";"},t}(),q={"@charset":!0,"@import":!0,"@namespace":!0},G=[S,P,N,F,H,U,{onCreateRule:function(t,e,n){return t in q?new W(t,e,n):null}}],Y={process:!0},X={force:!0,process:!0},K=function(){function t(t){this.map={},this.raw={},this.index=[],this.counter=0,this.options=t,this.classes=t.classes,this.keyframes=t.keyframes}var e=t.prototype;return e.add=function(t,e,n){var r=this.options,i=r.parent,a=r.sheet,s=r.jss,l=r.Renderer,c=r.generateId,u=r.scoped,d=Object(o.a)({classes:this.classes,parent:i,sheet:a,jss:s,Renderer:l,generateId:c,scoped:u,name:t,keyframes:this.keyframes,selector:void 0},n),p=t;t in this.raw&&(p=t+"-d"+this.counter++),this.raw[p]=e,p in this.classes&&(d.selector="."+x(this.classes[p]));var h=f(p,e,d);if(!h)return null;this.register(h);var v=void 0===d.index?this.index.length:d.index;return this.index.splice(v,0,h),h},e.replace=function(t,e,n){var r=this.get(t),i=this.index.indexOf(r);r&&this.remove(r);var a=n;return-1!==i&&(a=Object(o.a)({},n,{index:i})),this.add(t,e,a)},e.get=function(t){return this.map[t]},e.remove=function(t){this.unregister(t),delete this.raw[t.key],this.index.splice(this.index.indexOf(t),1)},e.indexOf=function(t){return this.index.indexOf(t)},e.process=function(){var t=this.options.jss.plugins;this.index.slice(0).forEach(t.onProcessRule,t)},e.register=function(t){this.map[t.key]=t,t instanceof O?(this.map[t.selector]=t,t.id&&(this.classes[t.key]=t.id)):t instanceof T&&this.keyframes&&(this.keyframes[t.name]=t.id)},e.unregister=function(t){delete this.map[t.key],t instanceof O?(delete this.map[t.selector],delete this.classes[t.key]):t instanceof T&&delete this.keyframes[t.name]},e.update=function(){var t,e,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(t=arguments.length<=0?void 0:arguments[0],e=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(e=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],t=null),t)this.updateOne(this.get(t),e,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],e,n)},e.updateOne=function(e,n,r){void 0===r&&(r=Y);var o=this.options,i=o.jss.plugins,a=o.sheet;if(e.rules instanceof t)e.rules.update(n,r);else{var s=e.style;if(i.onUpdate(n,e,a,r),r.process&&s&&s!==e.style){for(var l in i.onProcessStyle(e.style,e,a),e.style){var c=e.style[l];c!==s[l]&&e.prop(l,c,X)}for(var u in s){var d=e.style[u],f=s[u];null==d&&d!==f&&e.prop(u,null,X)}}}},e.toString=function(t){for(var e="",n=this.options.sheet,r=!!n&&n.options.link,o=v(t).linebreak,i=0;i<this.index.length;i++){var a=this.index[i].toString(t);(a||r)&&(e&&(e+=o),e+=a)}return e},t}(),$=function(){function t(t,e){for(var n in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=Object(o.a)({},e,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),e.Renderer&&(this.renderer=new e.Renderer(this)),this.rules=new K(this.options),t)this.rules.add(n,t[n]);this.rules.process()}var e=t.prototype;return e.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},e.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},e.addRule=function(t,e,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(t,e,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},e.replaceRule=function(t,e,n){var r=this.rules.get(t);if(!r)return this.addRule(t,e,n);var o=this.rules.replace(t,e,n);return o&&this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(this.renderer&&(o?r.renderable&&this.renderer.replaceRule(r.renderable,o):this.renderer.deleteRule(r)),o):o:(this.deployed=!1,o)},e.insertRule=function(t){this.renderer&&this.renderer.insertRule(t)},e.addRules=function(t,e){var n=[];for(var r in t){var o=this.addRule(r,t[r],e);o&&n.push(o)}return n},e.getRule=function(t){return this.rules.get(t)},e.deleteRule=function(t){var e="object"===typeof t?t:this.rules.get(t);return!(!e||this.attached&&!e.renderable)&&(this.rules.remove(e),!(this.attached&&e.renderable&&this.renderer)||this.renderer.deleteRule(e.renderable))},e.indexOf=function(t){return this.rules.indexOf(t)},e.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},e.update=function(){var t;return(t=this.rules).update.apply(t,arguments),this},e.updateOne=function(t,e,n){return this.rules.updateOne(t,e,n),this},e.toString=function(t){return this.rules.toString(t)},t}(),Z=function(){function t(){this.plugins={internal:[],external:[]},this.registry={}}var e=t.prototype;return e.onCreateRule=function(t,e,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](t,e,n);if(o)return o}return null},e.onProcessRule=function(t){if(!t.isProcessed){for(var e=t.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](t,e);t.style&&this.onProcessStyle(t.style,t,e),t.isProcessed=!0}},e.onProcessStyle=function(t,e,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)e.style=this.registry.onProcessStyle[r](e.style,e,n)},e.onProcessSheet=function(t){for(var e=0;e<this.registry.onProcessSheet.length;e++)this.registry.onProcessSheet[e](t)},e.onUpdate=function(t,e,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](t,e,n,r)},e.onChangeValue=function(t,e,n){for(var r=t,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,e,n);return r},e.use=function(t,e){void 0===e&&(e={queue:"external"});var n=this.plugins[e.queue];-1===n.indexOf(t)&&(n.push(t),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(t,e){for(var n in e)n in t&&t[n].push(e[n]);return t}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},t}(),Q=new(function(){function t(){this.registry=[]}var e=t.prototype;return e.add=function(t){var e=this.registry,n=t.options.index;if(-1===e.indexOf(t))if(0===e.length||n>=this.index)e.push(t);else for(var r=0;r<e.length;r++)if(e[r].options.index>n)return void e.splice(r,0,t)},e.reset=function(){this.registry=[]},e.remove=function(t){var e=this.registry.indexOf(t);this.registry.splice(e,1)},e.toString=function(t){for(var e=void 0===t?{}:t,n=e.attached,o=Object(r.a)(e,["attached"]),i=v(o).linebreak,a="",s=0;s<this.registry.length;s++){var l=this.registry[s];null!=n&&l.attached!==n||(a&&(a+=i),a+=l.toString(o))}return a},Object(s.a)(t,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),t}()),J="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window&&window.Math===Math?window:"undefined"!==typeof self&&self.Math===Math?self:Function("return this")(),tt="2f1acc6c3a606b082e5eef5e54414ffb";null==J[tt]&&(J[tt]=0);var et=J[tt]++,nt=function(t){void 0===t&&(t={});var e=0;return function(n,r){e+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),t.minify?""+(i||"c")+et+o+e:i+n.key+"-"+et+(o?"-"+o:"")+"-"+e}},rt=function(t){var e;return function(){return e||(e=t()),e}},ot=function(t,e){try{return t.attributeStyleMap?t.attributeStyleMap.get(e):t.style.getPropertyValue(e)}catch(n){return""}},it=function(t,e,n){try{var r=n;if(Array.isArray(n)&&(r=h(n,!0),"!important"===n[n.length-1]))return t.style.setProperty(e,r,"important"),!0;t.attributeStyleMap?t.attributeStyleMap.set(e,r):t.style.setProperty(e,r)}catch(o){return!1}return!0},at=function(t,e){try{t.attributeStyleMap?t.attributeStyleMap.delete(e):t.style.removeProperty(e)}catch(n){}},st=function(t,e){return t.selectorText=e,t.selectorText===e},lt=rt((function(){return document.querySelector("head")}));function ct(t){var e=Q.registry;if(e.length>0){var n=function(t,e){for(var n=0;n<t.length;n++){var r=t[n];if(r.attached&&r.options.index>e.index&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(t,e){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.attached&&r.options.insertionPoint===e.insertionPoint)return r}return null}(e,t),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=t.insertionPoint;if(r&&"string"===typeof r){var o=function(t){for(var e=lt(),n=0;n<e.childNodes.length;n++){var r=e.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===t)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var ut=rt((function(){var t=document.querySelector('meta[property="csp-nonce"]');return t?t.getAttribute("content"):null})),dt=function(t,e,n){try{"insertRule"in t?t.insertRule(e,n):"appendRule"in t&&t.appendRule(e)}catch(r){return!1}return t.cssRules[n]},ft=function(t,e){var n=t.cssRules.length;return void 0===e||e>n?n:e},pt=function(){function t(t){this.getPropertyValue=ot,this.setProperty=it,this.removeProperty=at,this.setSelector=st,this.hasInsertedRules=!1,this.cssRules=[],t&&Q.add(t),this.sheet=t;var e=this.sheet?this.sheet.options:{},n=e.media,r=e.meta,o=e.element;this.element=o||function(){var t=document.createElement("style");return t.textContent="\n",t}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=ut();i&&this.element.setAttribute("nonce",i)}var e=t.prototype;return e.attach=function(){if(!this.element.parentNode&&this.sheet){!function(t,e){var n=e.insertionPoint,r=ct(e);if(!1!==r&&r.parent)r.parent.insertBefore(t,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(t,o.nextSibling)}else lt().appendChild(t)}(this.element,this.sheet.options);var t=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&t&&(this.hasInsertedRules=!1,this.deploy())}},e.detach=function(){if(this.sheet){var t=this.element.parentNode;t&&t.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},e.deploy=function(){var t=this.sheet;t&&(t.options.link?this.insertRules(t.rules):this.element.textContent="\n"+t.toString()+"\n")},e.insertRules=function(t,e){for(var n=0;n<t.index.length;n++)this.insertRule(t.index[n],n,e)},e.insertRule=function(t,e,n){if(void 0===n&&(n=this.element.sheet),t.rules){var r=t,o=n;if("conditional"===t.type||"keyframes"===t.type){var i=ft(n,e);if(!1===(o=dt(n,r.toString({children:!1}),i)))return!1;this.refCssRule(t,i,o)}return this.insertRules(r.rules,o),o}var a=t.toString();if(!a)return!1;var s=ft(n,e),l=dt(n,a,s);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(t,s,l),l)},e.refCssRule=function(t,e,n){t.renderable=n,t.options.parent instanceof $&&this.cssRules.splice(e,0,n)},e.deleteRule=function(t){var e=this.element.sheet,n=this.indexOf(t);return-1!==n&&(e.deleteRule(n),this.cssRules.splice(n,1),!0)},e.indexOf=function(t){return this.cssRules.indexOf(t)},e.replaceRule=function(t,e){var n=this.indexOf(t);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(e,n))},e.getRules=function(){return this.element.sheet.cssRules},t}(),ht=0,vt=function(){function t(t){this.id=ht++,this.version="10.9.0",this.plugins=new Z,this.options={id:{minify:!1},createGenerateId:nt,Renderer:a.a?pt:null,plugins:[]},this.generateId=nt({minify:!1});for(var e=0;e<G.length;e++)this.plugins.use(G[e],{queue:"internal"});this.setup(t)}var e=t.prototype;return e.setup=function(t){return void 0===t&&(t={}),t.createGenerateId&&(this.options.createGenerateId=t.createGenerateId),t.id&&(this.options.id=Object(o.a)({},this.options.id,t.id)),(t.createGenerateId||t.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=t.insertionPoint&&(this.options.insertionPoint=t.insertionPoint),"Renderer"in t&&(this.options.Renderer=t.Renderer),t.plugins&&this.use.apply(this,t.plugins),this},e.createStyleSheet=function(t,e){void 0===e&&(e={});var n=e.index;"number"!==typeof n&&(n=0===Q.index?0:Q.index+1);var r=new $(t,Object(o.a)({},e,{jss:this,generateId:e.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},e.removeStyleSheet=function(t){return t.detach(),Q.remove(t),this},e.createRule=function(t,e,n){if(void 0===e&&(e={}),void 0===n&&(n={}),"object"===typeof t)return this.createRule(void 0,t,e);var r=Object(o.a)({},n,{name:t,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var i=f(t,e,r);return i&&this.plugins.onProcessRule(i),i},e.use=function(){for(var t=this,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach((function(e){t.plugins.use(e)})),this},t}(),gt=function(t){return new vt(t)},mt="object"===typeof CSS&&null!=CSS&&"number"in CSS;function bt(t){var e=null;for(var n in t){var r=t[n],o=typeof r;if("function"===o)e||(e={}),e[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=bt(r);i&&(e||(e={}),e[n]=i)}}return e}gt();function yt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.baseClasses,n=t.newClasses;t.Component;if(!n)return e;var r=Object(o.a)({},e);return Object.keys(n).forEach((function(t){n[t]&&(r[t]="".concat(e[t]," ").concat(n[t]))})),r}var xt={set:function(t,e,n,r){var o=t.get(e);o||(o=new Map,t.set(e,o)),o.set(n,r)},get:function(t,e,n){var r=t.get(e);return r?r.get(n):void 0},delete:function(t,e,n){t.get(e).delete(n)}},wt=n(1368),Ot="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",St=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var jt=Date.now(),Ct="fnValues"+jt,kt="fnStyle"+ ++jt,Et=function(){return{onCreateRule:function(t,e,n){if("function"!==typeof e)return null;var r=f(t,{},n);return r[kt]=e,r},onProcessStyle:function(t,e){if(Ct in e||kt in e)return t;var n={};for(var r in t){var o=t[r];"function"===typeof o&&(delete t[r],n[r]=o)}return e[Ct]=n,t},onUpdate:function(t,e,n,r){var o=e,i=o[kt];i&&(o.style=i(t)||{});var a=o[Ct];if(a)for(var s in a)o.prop(s,a[s](t),r)}}},Pt="@global",_t="@global ",Mt=function(){function t(t,e,n){for(var r in this.type="global",this.at=Pt,this.isProcessed=!1,this.key=t,this.options=n,this.rules=new K(Object(o.a)({},n,{parent:this})),e)this.rules.add(r,e[r]);this.rules.process()}var e=t.prototype;return e.getRule=function(t){return this.rules.get(t)},e.addRule=function(t,e,n){var r=this.rules.add(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.replaceRule=function(t,e,n){var r=this.rules.replace(t,e,n);return r&&this.options.jss.plugins.onProcessRule(r),r},e.indexOf=function(t){return this.rules.indexOf(t)},e.toString=function(t){return this.rules.toString(t)},t}(),Tt=function(){function t(t,e,n){this.type="global",this.at=Pt,this.isProcessed=!1,this.key=t,this.options=n;var r=t.substr(_t.length);this.rule=n.jss.createRule(r,e,Object(o.a)({},n,{parent:this}))}return t.prototype.toString=function(t){return this.rule?this.rule.toString(t):""},t}(),At=/\s*,\s*/g;function Rt(t,e){for(var n=t.split(At),r="",o=0;o<n.length;o++)r+=e+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var Dt=function(){return{onCreateRule:function(t,e,n){if(!t)return null;if(t===Pt)return new Mt(t,e,n);if("@"===t[0]&&t.substr(0,_t.length)===_t)return new Tt(t,e,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),n.selector||!1!==n.scoped||(n.selector=t),null},onProcessRule:function(t,e){"style"===t.type&&e&&(function(t,e){var n=t.options,r=t.style,i=r?r[Pt]:null;if(i){for(var a in i)e.addRule(a,i[a],Object(o.a)({},n,{selector:Rt(a,t.selector)}));delete r[Pt]}}(t,e),function(t,e){var n=t.options,r=t.style;for(var i in r)if("@"===i[0]&&i.substr(0,Pt.length)===Pt){var a=Rt(i.substr(Pt.length),t.selector);e.addRule(a,r[i],Object(o.a)({},n,{selector:a})),delete r[i]}}(t,e))}}},It=/\s*,\s*/g,Nt=/&/g,Lt=/\$([\w-]+)/g;var Ft=function(){function t(t,e){return function(n,r){var o=t.getRule(r)||e&&e.getRule(r);return o?o.selector:r}}function e(t,e){for(var n=e.split(It),r=t.split(It),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(Nt,a):a+" "+l}return o}function n(t,e,n){if(n)return Object(o.a)({},n,{index:n.index+1});var r=t.options.nestingLevel;r=void 0===r?1:r+1;var i=Object(o.a)({},t.options,{nestingLevel:r,index:e.indexOf(t)+1});return delete i.name,i}return{onProcessStyle:function(r,i,a){if("style"!==i.type)return r;var s,l,c=i,u=c.options.parent;for(var d in r){var f=-1!==d.indexOf("&"),p="@"===d[0];if(f||p){if(s=n(c,u,s),f){var h=e(d,c.selector);l||(l=t(u,a)),h=h.replace(Lt,l);var v=c.key+"-"+d;"replaceRule"in u?u.replaceRule(v,r[d],Object(o.a)({},s,{selector:h})):u.addRule(v,r[d],Object(o.a)({},s,{selector:h}))}else p&&u.addRule(d,{},s).addRule(c.key,r[d],{selector:c.selector});delete r[d]}}return r}}},Bt=n(299);function zt(t){var e={};for(var n in t){e[0===n.indexOf("--")?n:Object(Bt.a)(n)]=t[n]}return t.fallbacks&&(Array.isArray(t.fallbacks)?e.fallbacks=t.fallbacks.map(zt):e.fallbacks=zt(t.fallbacks)),e}var Ht=function(){return{onProcessStyle:function(t){if(Array.isArray(t)){for(var e=0;e<t.length;e++)t[e]=zt(t[e]);return t}return zt(t)},onChangeValue:function(t,e,n){if(0===e.indexOf("--"))return t;var r=Object(Bt.a)(e);return e===r?t:(n.prop(r,t),null)}}},Vt=mt&&CSS?CSS.px:"px",Ut=mt&&CSS?CSS.ms:"ms",Wt=mt&&CSS?CSS.percent:"%";function qt(t){var e=/(-[a-z])/g,n=function(t){return t[1].toUpperCase()},r={};for(var o in t)r[o]=t[o],r[o.replace(e,n)]=t[o];return r}var Gt=qt({"animation-delay":Ut,"animation-duration":Ut,"background-position":Vt,"background-position-x":Vt,"background-position-y":Vt,"background-size":Vt,border:Vt,"border-bottom":Vt,"border-bottom-left-radius":Vt,"border-bottom-right-radius":Vt,"border-bottom-width":Vt,"border-left":Vt,"border-left-width":Vt,"border-radius":Vt,"border-right":Vt,"border-right-width":Vt,"border-top":Vt,"border-top-left-radius":Vt,"border-top-right-radius":Vt,"border-top-width":Vt,"border-width":Vt,"border-block":Vt,"border-block-end":Vt,"border-block-end-width":Vt,"border-block-start":Vt,"border-block-start-width":Vt,"border-block-width":Vt,"border-inline":Vt,"border-inline-end":Vt,"border-inline-end-width":Vt,"border-inline-start":Vt,"border-inline-start-width":Vt,"border-inline-width":Vt,"border-start-start-radius":Vt,"border-start-end-radius":Vt,"border-end-start-radius":Vt,"border-end-end-radius":Vt,margin:Vt,"margin-bottom":Vt,"margin-left":Vt,"margin-right":Vt,"margin-top":Vt,"margin-block":Vt,"margin-block-end":Vt,"margin-block-start":Vt,"margin-inline":Vt,"margin-inline-end":Vt,"margin-inline-start":Vt,padding:Vt,"padding-bottom":Vt,"padding-left":Vt,"padding-right":Vt,"padding-top":Vt,"padding-block":Vt,"padding-block-end":Vt,"padding-block-start":Vt,"padding-inline":Vt,"padding-inline-end":Vt,"padding-inline-start":Vt,"mask-position-x":Vt,"mask-position-y":Vt,"mask-size":Vt,height:Vt,width:Vt,"min-height":Vt,"max-height":Vt,"min-width":Vt,"max-width":Vt,bottom:Vt,left:Vt,top:Vt,right:Vt,inset:Vt,"inset-block":Vt,"inset-block-end":Vt,"inset-block-start":Vt,"inset-inline":Vt,"inset-inline-end":Vt,"inset-inline-start":Vt,"box-shadow":Vt,"text-shadow":Vt,"column-gap":Vt,"column-rule":Vt,"column-rule-width":Vt,"column-width":Vt,"font-size":Vt,"font-size-delta":Vt,"letter-spacing":Vt,"text-decoration-thickness":Vt,"text-indent":Vt,"text-stroke":Vt,"text-stroke-width":Vt,"word-spacing":Vt,motion:Vt,"motion-offset":Vt,outline:Vt,"outline-offset":Vt,"outline-width":Vt,perspective:Vt,"perspective-origin-x":Wt,"perspective-origin-y":Wt,"transform-origin":Wt,"transform-origin-x":Wt,"transform-origin-y":Wt,"transform-origin-z":Wt,"transition-delay":Ut,"transition-duration":Ut,"vertical-align":Vt,"flex-basis":Vt,"shape-margin":Vt,size:Vt,gap:Vt,grid:Vt,"grid-gap":Vt,"row-gap":Vt,"grid-row-gap":Vt,"grid-column-gap":Vt,"grid-template-rows":Vt,"grid-template-columns":Vt,"grid-auto-rows":Vt,"grid-auto-columns":Vt,"box-shadow-x":Vt,"box-shadow-y":Vt,"box-shadow-blur":Vt,"box-shadow-spread":Vt,"font-line-height":Vt,"text-shadow-x":Vt,"text-shadow-y":Vt,"text-shadow-blur":Vt});function Yt(t,e,n){if(null==e)return e;if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]=Yt(t,e[r],n);else if("object"===typeof e)if("fallbacks"===t)for(var o in e)e[o]=Yt(o,e[o],n);else for(var i in e)e[i]=Yt(t+"-"+i,e[i],n);else if("number"===typeof e&&!1===isNaN(e)){var a=n[t]||Gt[t];return!a||0===e&&a===Vt?e.toString():"function"===typeof a?a(e).toString():""+e+a}return e}var Xt=function(t){void 0===t&&(t={});var e=qt(t);return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r in t)t[r]=Yt(r,t[r],e);return t},onChangeValue:function(t,n){return Yt(n,t,e)}}},Kt=n(184);var $t=function(){function t(e){for(var n in e){var r=e[n];if("fallbacks"===n&&Array.isArray(r))e[n]=r.map(t);else{var o=!1,i=Object(Kt.b)(n);i&&i!==n&&(o=!0);var a=!1,s=Object(Kt.c)(i,h(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete e[n],e[i||n]=s||r)}}return e}return{onProcessRule:function(t){if("keyframes"===t.type){var e=t;e.at=Object(Kt.a)(e.at)}},onProcessStyle:function(e,n){return"style"!==n.type?e:t(e)},onChangeValue:function(t,e){return Object(Kt.c)(e,h(t))||t}}};var Zt=function(){var t=function(t,e){return t.length===e.length?t>e?1:-1:t.length-e.length};return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r={},o=Object.keys(e).sort(t),i=0;i<o.length;i++)r[o[i]]=e[o[i]];return r}}};function Qt(){return{plugins:[Et(),Dt(),Ft(),Ht(),Xt(),"undefined"===typeof window?null:$t(),Zt()]}}n(0);var Jt=gt(Qt()),te=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.disableGlobal,n=void 0!==e&&e,r=t.productionPrefix,o=void 0===r?"jss":r,i=t.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0,c=function(){return l+=1};return function(t,e){var r=e.options.name;if(r&&0===r.indexOf("Mui")&&!e.options.link&&!n){if(-1!==St.indexOf(t.key))return"Mui-".concat(t.key);var i="".concat(s).concat(r,"-").concat(t.key);return e.options.theme[Ot]&&""===a?"".concat(i,"-").concat(c()):i}return"".concat(s).concat(o).concat(c())}}(),ee={disableGeneration:!1,generateClassName:te,jss:Jt,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},ne=i.createContext(ee);var re=-1e9;function oe(){return re+=1}var ie=n(1275),ae=n(1367),se=["variant"];function le(t){return 0===t.length}function ce(t){var e="function"===typeof t;return{create:function(n,i){var a;try{a=e?t(n):t}catch(u){throw u}if(!i||!n.components||!n.components[i]||!n.components[i].styleOverrides&&!n.components[i].variants)return a;var s=n.components[i].styleOverrides||{},l=n.components[i].variants||[],c=Object(o.a)({},a);return Object.keys(s).forEach((function(t){c[t]=Object(ie.a)(c[t]||{},s[t])})),l.forEach((function(t){var e=function(t){var e=t.variant,n=Object(r.a)(t,se),o=e||"";return Object.keys(n).sort().forEach((function(e){o+="color"===e?le(o)?t[e]:Object(ae.a)(t[e]):"".concat(le(o)?e:Object(ae.a)(e)).concat(Object(ae.a)(t[e].toString()))})),o}(t.props);c[e]=Object(ie.a)(c[e]||{},t.style)})),c},options:{}}}var ue={},de=["name","classNamePrefix","Component","defaultTheme"];function fe(t,e,n){var r=t.state;if(t.stylesOptions.disableGeneration)return e||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),e!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=e,o=!0),o&&(r.cacheClasses.value=yt({baseClasses:r.cacheClasses.lastJSS,newClasses:e,Component:n})),r.cacheClasses.value}function pe(t,e){var n=t.state,r=t.theme,i=t.stylesOptions,a=t.stylesCreator,s=t.name;if(!i.disableGeneration){var l=xt.get(i.sheetsManager,a,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},xt.set(i.sheetsManager,a,r,l));var c=Object(o.a)({},a.options,i,{theme:r,flip:"boolean"===typeof i.flip?i.flip:"rtl"===r.direction});c.generateId=c.serverGenerateClassName||c.generateClassName;var u=i.sheetsRegistry;if(0===l.refs){var d;i.sheetsCache&&(d=xt.get(i.sheetsCache,a,r));var f=a.create(r,s);d||((d=i.jss.createStyleSheet(f,Object(o.a)({link:!1},c))).attach(),i.sheetsCache&&xt.set(i.sheetsCache,a,r,d)),u&&u.add(d),l.staticSheet=d,l.dynamicStyles=bt(f)}if(l.dynamicStyles){var p=i.jss.createStyleSheet(l.dynamicStyles,Object(o.a)({link:!0},c));p.update(e),p.attach(),n.dynamicSheet=p,n.classes=yt({baseClasses:l.staticSheet.classes,newClasses:p.classes}),u&&u.add(p)}else n.classes=l.staticSheet.classes;l.refs+=1}}function he(t,e){var n=t.state;n.dynamicSheet&&n.dynamicSheet.update(e)}function ve(t){var e=t.state,n=t.theme,r=t.stylesOptions,o=t.stylesCreator;if(!r.disableGeneration){var i=xt.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(xt.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),a&&a.remove(e.dynamicSheet))}}function ge(t,e){var n,r=i.useRef([]),o=i.useMemo((function(){return{}}),e);r.current!==o&&(r.current=o,n=t()),i.useEffect((function(){return function(){n&&n()}}),[o])}function me(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.name,a=e.classNamePrefix,s=e.Component,l=e.defaultTheme,c=void 0===l?ue:l,u=Object(r.a)(e,de),d=ce(t),f=n||a||"makeStyles";d.options={index:oe(),name:n,meta:f,classNamePrefix:f};var p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=Object(wt.a)()||c,r=Object(o.a)({},i.useContext(ne),u),a=i.useRef(),l=i.useRef();ge((function(){var o={name:n,state:{},stylesCreator:d,stylesOptions:r,theme:e};return pe(o,t),l.current=!1,a.current=o,function(){ve(o)}}),[e,d]),i.useEffect((function(){l.current&&he(a.current,t),l.current=!0}));var f=fe(a.current,t.classes,s);return f};return p}},function(t,e,n){"use strict";var r=n(50),o=n(71),i=n(1),a=n(10),s=n(51),l=n(1165),c=n(1280);function u(t){return t&&t.ownerDocument||document}var d=n(1279),f=n(300),p=n(83),h="undefined"!==typeof window?i.useLayoutEffect:i.useEffect;function v(t){var e=i.useRef(t);return h((function(){e.current=t})),i.useCallback((function(){return e.current.apply(void 0,arguments)}),[])}var g=n(408);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)}}var b=n(343);var y=n(667),x=n(406);function w(t){return function(t){if(Array.isArray(t))return Object(b.a)(t)}(t)||Object(y.a)(t)||Object(x.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(t){var e,n=u(t);return n.body===t?(e=n,u(e).defaultView||window).innerWidth>n.documentElement.clientWidth:t.scrollHeight>t.clientHeight}function S(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function j(t){return parseInt(window.getComputedStyle(t)["padding-right"],10)||0}function C(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[e,n].concat(w(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(t.children,(function(t){1===t.nodeType&&-1===i.indexOf(t)&&-1===a.indexOf(t.tagName)&&S(t,o)}))}function k(t,e){var n=-1;return t.some((function(t,r){return!!e(t)&&(n=r,!0)})),n}function E(t,e){var n,r=[],o=[],i=t.container;if(!e.disableScrollLock){if(O(i)){var a=function(){var t=document.createElement("div");t.style.width="99px",t.style.height="99px",t.style.position="absolute",t.style.top="-9999px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(j(i)+a,"px"),n=u(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(t){o.push(t.style.paddingRight),t.style.paddingRight="".concat(j(t)+a,"px")}))}var s=i.parentElement,l="HTML"===s.nodeName&&"scroll"===window.getComputedStyle(s)["overflow-y"]?s:i;r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(t,e){o[e]?t.style.paddingRight=o[e]:t.style.removeProperty("padding-right")})),r.forEach((function(t){var e=t.value,n=t.el,r=t.key;e?n.style.setProperty(r,e):n.style.removeProperty(r)}))}}var P=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.modals=[],this.containers=[]}var e,n,r;return e=t,(n=[{key:"add",value:function(t,e){var n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&S(t.modalRef,!1);var r=function(t){var e=[];return[].forEach.call(t.children,(function(t){t.getAttribute&&"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);C(e,t.mountNode,t.modalRef,r,!0);var o=k(this.containers,(function(t){return t.container===e}));return-1!==o?(this.containers[o].modals.push(t),n):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(t,e){var n=k(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];r.restore||(r.restore=E(r,e))}},{key:"remove",value:function(t){var e=this.modals.indexOf(t);if(-1===e)return e;var n=k(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(e,1),0===r.modals.length)r.restore&&r.restore(),t.modalRef&&S(t.modalRef,!0),C(r.container,t.mountNode,t.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&S(o.modalRef,!1)}return e}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}])&&m(e.prototype,n),r&&m(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();var _=function(t){var e=t.children,n=t.disableAutoFocus,r=void 0!==n&&n,o=t.disableEnforceFocus,a=void 0!==o&&o,l=t.disableRestoreFocus,c=void 0!==l&&l,d=t.getDoc,f=t.isEnabled,h=t.open,v=i.useRef(),g=i.useRef(null),m=i.useRef(null),b=i.useRef(),y=i.useRef(null),x=i.useCallback((function(t){y.current=s.findDOMNode(t)}),[]),w=Object(p.a)(e.ref,x),O=i.useRef();return i.useEffect((function(){O.current=h}),[h]),!O.current&&h&&"undefined"!==typeof window&&(b.current=d().activeElement),i.useEffect((function(){if(h){var t=u(y.current);r||!y.current||y.current.contains(t.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex",-1),y.current.focus());var e=function(){null!==y.current&&(t.hasFocus()&&!a&&f()&&!v.current?y.current&&!y.current.contains(t.activeElement)&&y.current.focus():v.current=!1)},n=function(e){!a&&f()&&9===e.keyCode&&t.activeElement===y.current&&(v.current=!0,e.shiftKey?m.current.focus():g.current.focus())};t.addEventListener("focus",e,!0),t.addEventListener("keydown",n,!0);var o=setInterval((function(){e()}),50);return function(){clearInterval(o),t.removeEventListener("focus",e,!0),t.removeEventListener("keydown",n,!0),c||(b.current&&b.current.focus&&b.current.focus(),b.current=null)}}}),[r,a,c,f,h]),i.createElement(i.Fragment,null,i.createElement("div",{tabIndex:0,ref:g,"data-test":"sentinelStart"}),i.cloneElement(e,{ref:w}),i.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))},M={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},T=i.forwardRef((function(t,e){var n=t.invisible,a=void 0!==n&&n,s=t.open,l=Object(o.a)(t,["invisible","open"]);return s?i.createElement("div",Object(r.a)({"aria-hidden":!0,ref:e},l,{style:Object(r.a)({},M.root,a?M.invisible:{},l.style)})):null}));var A=new P,R=i.forwardRef((function(t,e){var n=Object(l.a)(),a=Object(c.a)({name:"MuiModal",props:Object(r.a)({},t),theme:n}),h=a.BackdropComponent,m=void 0===h?T:h,b=a.BackdropProps,y=a.children,x=a.closeAfterTransition,w=void 0!==x&&x,O=a.container,j=a.disableAutoFocus,C=void 0!==j&&j,k=a.disableBackdropClick,E=void 0!==k&&k,P=a.disableEnforceFocus,M=void 0!==P&&P,R=a.disableEscapeKeyDown,D=void 0!==R&&R,I=a.disablePortal,N=void 0!==I&&I,L=a.disableRestoreFocus,F=void 0!==L&&L,B=a.disableScrollLock,z=void 0!==B&&B,H=a.hideBackdrop,V=void 0!==H&&H,U=a.keepMounted,W=void 0!==U&&U,q=a.manager,G=void 0===q?A:q,Y=a.onBackdropClick,X=a.onClose,K=a.onEscapeKeyDown,$=a.onRendered,Z=a.open,Q=Object(o.a)(a,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),J=i.useState(!0),tt=J[0],et=J[1],nt=i.useRef({}),rt=i.useRef(null),ot=i.useRef(null),it=Object(p.a)(ot,e),at=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(a),st=function(){return u(rt.current)},lt=function(){return nt.current.modalRef=ot.current,nt.current.mountNode=rt.current,nt.current},ct=function(){G.mount(lt(),{disableScrollLock:z}),ot.current.scrollTop=0},ut=v((function(){var t=function(t){return t="function"===typeof t?t():t,s.findDOMNode(t)}(O)||st().body;G.add(lt(),t),ot.current&&ct()})),dt=i.useCallback((function(){return G.isTopModal(lt())}),[G]),ft=v((function(t){rt.current=t,t&&($&&$(),Z&&dt()?ct():S(ot.current,!0))})),pt=i.useCallback((function(){G.remove(lt())}),[G]);if(i.useEffect((function(){return function(){pt()}}),[pt]),i.useEffect((function(){Z?ut():at&&w||pt()}),[Z,pt,at,w,ut]),!W&&!Z&&(!at||tt))return null;var ht=function(t){return{root:{position:"fixed",zIndex:t.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:g.a}),vt={};return void 0===y.props.tabIndex&&(vt.tabIndex=y.props.tabIndex||"-1"),at&&(vt.onEnter=Object(f.a)((function(){et(!1)}),y.props.onEnter),vt.onExited=Object(f.a)((function(){et(!0),w&&pt()}),y.props.onExited)),i.createElement(d.a,{ref:ft,container:O,disablePortal:N},i.createElement("div",Object(r.a)({ref:it,onKeyDown:function(t){"Escape"===t.key&&dt()&&(K&&K(t),D||(t.stopPropagation(),X&&X(t,"escapeKeyDown")))},role:"presentation"},Q,{style:Object(r.a)({},ht.root,!Z&&tt?ht.hidden:{},Q.style)}),V?null:i.createElement(m,Object(r.a)({open:Z,onClick:function(t){t.target===t.currentTarget&&(Y&&Y(t),!E&&X&&X(t,"backdropClick"))}},b)),i.createElement(_,{disableEnforceFocus:M,disableAutoFocus:C,disableRestoreFocus:F,getDoc:st,isEnabled:dt,open:Z},i.cloneElement(y,vt))))})),D=n(224),I=n(297),N=n(727),L=n(165),F=n(175),B=n(156),z={entering:{opacity:1},entered:{opacity:1}},H={enter:L.b.enteringScreen,exit:L.b.leavingScreen},V=i.forwardRef((function(t,e){var n=t.children,a=t.disableStrictModeCompat,s=void 0!==a&&a,l=t.in,c=t.onEnter,u=t.onEntered,d=t.onEntering,f=t.onExit,h=t.onExited,v=t.onExiting,g=t.style,m=t.TransitionComponent,b=void 0===m?N.a:m,y=t.timeout,x=void 0===y?H:y,w=Object(o.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),O=Object(F.a)(),S=O.unstable_strictMode&&!s,j=i.useRef(null),C=Object(p.a)(n.ref,e),k=Object(p.a)(S?j:void 0,C),E=function(t){return function(e,n){if(t){var r=S?[j.current,e]:[e,n],o=Object(I.a)(r,2),i=o[0],a=o[1];void 0===a?t(i):t(i,a)}}},P=E(d),_=E((function(t,e){Object(B.b)(t);var n=Object(B.a)({style:g,timeout:x},{mode:"enter"});t.style.webkitTransition=O.transitions.create("opacity",n),t.style.transition=O.transitions.create("opacity",n),c&&c(t,e)})),M=E(u),T=E(v),A=E((function(t){var e=Object(B.a)({style:g,timeout:x},{mode:"exit"});t.style.webkitTransition=O.transitions.create("opacity",e),t.style.transition=O.transitions.create("opacity",e),f&&f(t)})),R=E(h);return i.createElement(b,Object(r.a)({appear:!0,in:l,nodeRef:S?j:void 0,onEnter:_,onEntered:M,onEntering:P,onExit:A,onExited:R,onExiting:T,timeout:x},w),(function(t,e){return i.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,visibility:"exited"!==t||l?void 0:"hidden"},z[t],g,n.props.style),ref:k},e))}))})),U=i.forwardRef((function(t,e){var n=t.children,s=t.classes,l=t.className,c=t.invisible,u=void 0!==c&&c,d=t.open,f=t.transitionDuration,p=t.TransitionComponent,h=void 0===p?V:p,v=Object(o.a)(t,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return i.createElement(h,Object(r.a)({in:d,timeout:f},v),i.createElement("div",{className:Object(a.default)(s.root,l,u&&s.invisible),"aria-hidden":!0,ref:e},n))})),W=Object(D.a)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(U);function q(t,e){var n=function(t,e){var n,r=e.getBoundingClientRect();if(e.fakeTransform)n=e.fakeTransform;else{var o=window.getComputedStyle(e);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"===typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===t?"translateX(".concat(window.innerWidth,"px) translateX(").concat(i-r.left,"px)"):"right"===t?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===t?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-r.top,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(t,e);n&&(e.style.webkitTransform=n,e.style.transform=n)}var G={enter:L.b.enteringScreen,exit:L.b.leavingScreen},Y=i.forwardRef((function(t,e){var n=t.children,a=t.direction,l=void 0===a?"down":a,c=t.in,u=t.onEnter,d=t.onEntered,f=t.onEntering,h=t.onExit,v=t.onExited,g=t.onExiting,m=t.style,b=t.timeout,y=void 0===b?G:b,x=t.TransitionComponent,w=void 0===x?N.a:x,O=Object(o.a)(t,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),S=Object(F.a)(),j=i.useRef(null),C=i.useCallback((function(t){j.current=s.findDOMNode(t)}),[]),k=Object(p.a)(n.ref,C),E=Object(p.a)(k,e),P=function(t){return function(e){t&&(void 0===e?t(j.current):t(j.current,e))}},_=P((function(t,e){q(l,t),Object(B.b)(t),u&&u(t,e)})),M=P((function(t,e){var n=Object(B.a)({timeout:y,style:m},{mode:"enter"});t.style.webkitTransition=S.transitions.create("-webkit-transform",Object(r.a)({},n,{easing:S.transitions.easing.easeOut})),t.style.transition=S.transitions.create("transform",Object(r.a)({},n,{easing:S.transitions.easing.easeOut})),t.style.webkitTransform="none",t.style.transform="none",f&&f(t,e)})),T=P(d),A=P(g),R=P((function(t){var e=Object(B.a)({timeout:y,style:m},{mode:"exit"});t.style.webkitTransition=S.transitions.create("-webkit-transform",Object(r.a)({},e,{easing:S.transitions.easing.sharp})),t.style.transition=S.transitions.create("transform",Object(r.a)({},e,{easing:S.transitions.easing.sharp})),q(l,t),h&&h(t)})),D=P((function(t){t.style.webkitTransition="",t.style.transition="",v&&v(t)})),I=i.useCallback((function(){j.current&&q(l,j.current)}),[l]);return i.useEffect((function(){if(!c&&"down"!==l&&"right"!==l){var t=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this,s=function(){t.apply(a,o)};clearTimeout(e),e=setTimeout(s,n)}return r.clear=function(){clearTimeout(e)},r}((function(){j.current&&q(l,j.current)}));return window.addEventListener("resize",t),function(){t.clear(),window.removeEventListener("resize",t)}}}),[l,c]),i.useEffect((function(){c||I()}),[c,I]),i.createElement(w,Object(r.a)({nodeRef:j,onEnter:_,onEntered:T,onEntering:M,onExit:R,onExited:D,onExiting:A,appear:!0,in:c,timeout:y},O),(function(t,e){return i.cloneElement(n,Object(r.a)({ref:E,style:Object(r.a)({visibility:"exited"!==t||c?void 0:"hidden"},m,n.props.style)},e))}))})),X=Y,K=i.forwardRef((function(t,e){var n=t.classes,s=t.className,l=t.component,c=void 0===l?"div":l,u=t.square,d=void 0!==u&&u,f=t.elevation,p=void 0===f?1:f,h=t.variant,v=void 0===h?"elevation":h,g=Object(o.a)(t,["classes","className","component","square","elevation","variant"]);return i.createElement(c,Object(r.a)({className:Object(a.default)(n.root,s,"outlined"===v?n.outlined:n["elevation".concat(p)],!d&&n.rounded),ref:e},g))})),$=Object(D.a)((function(t){var e={};return t.shadows.forEach((function(t,n){e["elevation".concat(n)]={boxShadow:t}})),Object(r.a)({root:{backgroundColor:t.palette.background.paper,color:t.palette.text.primary,transition:t.transitions.create("box-shadow")},rounded:{borderRadius:t.shape.borderRadius},outlined:{border:"1px solid ".concat(t.palette.divider)}},e)}),{name:"MuiPaper"})(K),Z=n(344),Q={left:"right",right:"left",top:"down",bottom:"up"};var J={enter:L.b.enteringScreen,exit:L.b.leavingScreen},tt=i.forwardRef((function(t,e){var n=t.anchor,s=void 0===n?"left":n,l=t.BackdropProps,c=t.children,u=t.classes,d=t.className,f=t.elevation,p=void 0===f?16:f,h=t.ModalProps,v=(h=void 0===h?{}:h).BackdropProps,g=Object(o.a)(h,["BackdropProps"]),m=t.onClose,b=t.open,y=void 0!==b&&b,x=t.PaperProps,w=void 0===x?{}:x,O=t.SlideProps,S=t.TransitionComponent,j=void 0===S?X:S,C=t.transitionDuration,k=void 0===C?J:C,E=t.variant,P=void 0===E?"temporary":E,_=Object(o.a)(t,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),M=Object(F.a)(),T=i.useRef(!1);i.useEffect((function(){T.current=!0}),[]);var A=function(t,e){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(e)?Q[e]:e}(M,s),D=i.createElement($,Object(r.a)({elevation:"temporary"===P?p:0,square:!0},w,{className:Object(a.default)(u.paper,u["paperAnchor".concat(Object(Z.a)(A))],w.className,"temporary"!==P&&u["paperAnchorDocked".concat(Object(Z.a)(A))])}),c);if("permanent"===P)return i.createElement("div",Object(r.a)({className:Object(a.default)(u.root,u.docked,d),ref:e},_),D);var I=i.createElement(j,Object(r.a)({in:y,direction:Q[A],timeout:k,appear:T.current},O),D);return"persistent"===P?i.createElement("div",Object(r.a)({className:Object(a.default)(u.root,u.docked,d),ref:e},_),I):i.createElement(R,Object(r.a)({BackdropProps:Object(r.a)({},l,v,{transitionDuration:k}),BackdropComponent:W,className:Object(a.default)(u.root,u.modal,d),open:y,onClose:m,ref:e},_,g),I)}));e.a=Object(D.a)((function(t){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:t.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(t.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(t.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(t.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(t.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(tt)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r,o,i,a,s=n(178),l=n(514),c=n(197),u=function(t,e){var n=Object(c.b)(t,e);if(!n)return t+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},d={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:c.a,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 u(100*t,e)},r:u,s:function(t,e){var n=Object(c.b)(t,e);if(!n)return t+"";var o=n[0],i=n[1],a=i-(r=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=o.length;return a===s?o:a>s?o+new Array(a-s+1).join("0"):a>0?o.slice(0,a)+"."+o.slice(a):"0."+new Array(1-a).join("0")+Object(c.b)(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},f=function(t){return t},p=Array.prototype.map,h=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=function(t){var e,n,o=void 0===t.grouping||void 0===t.thousands?f:(e=p.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var o=t.length,i=[],a=0,s=e[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(t.substring(o-=s,o+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return i.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",c=void 0===t.decimal?".":t.decimal+"",u=void 0===t.numerals?f:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(p.call(t.numerals,String)),v=void 0===t.percent?"%":t.percent+"",g=void 0===t.minus?"\u2212":t.minus+"",m=void 0===t.nan?"NaN":t.nan+"";function b(t){var e=(t=Object(l.a)(t)).fill,n=t.align,s=t.sign,f=t.symbol,p=t.zero,b=t.width,y=t.comma,x=t.precision,w=t.trim,O=t.type;"n"===O?(y=!0,O="g"):d[O]||(void 0===x&&(x=12),w=!0,O="g"),(p||"0"===e&&"="===n)&&(p=!0,e="0",n="=");var S="$"===f?i:"#"===f&&/[boxX]/.test(O)?"0"+O.toLowerCase():"",j="$"===f?a:/[%p]/.test(O)?v:"",C=d[O],k=/[defgprs%]/.test(O);function E(t){var i,a,l,d=S,f=j;if("c"===O)f=C(t)+f,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?m:C(Math.abs(t),x),w&&(t=function(t){t:for(var e,n=t.length,r=1,o=-1;r<n;++r)switch(t[r]){case".":o=e=r;break;case"0":0===o&&(o=r),e=r;break;default:if(!+t[r])break t;o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(e+1):t}(t)),v&&0===+t&&"+"!==s&&(v=!1),d=(v?"("===s?s:g:"-"===s||"("===s?"":s)+d,f=("s"===O?h[8+r/3]:"")+f+(v&&"("===s?")":""),k)for(i=-1,a=t.length;++i<a;)if(48>(l=t.charCodeAt(i))||l>57){f=(46===l?c+t.slice(i+1):t.slice(i))+f,t=t.slice(0,i);break}}y&&!p&&(t=o(t,1/0));var E=d.length+t.length+f.length,P=E<b?new Array(b-E+1).join(e):"";switch(y&&p&&(t=o(P+t,P.length?b-f.length:1/0),P=""),n){case"<":t=d+t+f+P;break;case"=":t=d+P+t+f;break;case"^":t=P.slice(0,E=P.length>>1)+d+t+f+P.slice(E);break;default:t=P+d+t+f}return u(t)}return x=void 0===x?6:/[gprs]/.test(O)?Math.max(1,Math.min(21,x)):Math.max(0,Math.min(20,x)),E.toString=function(){return t+""},E}return{format:b,formatPrefix:function(t,e){var n=b(((t=Object(l.a)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Object(s.a)(e)/3))),o=Math.pow(10,-r),i=h[8+r/3];return function(t){return n(o*t)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),i=o.format,a=o.formatPrefix},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(17),c=n(168),u=n(187);function d(t){return Object(c.a)("MuiPagination",t)}Object(u.a)("MuiPagination",["root","ul","outlined","text"]);var f=n(14),p=n(2),h=n(443),v=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];var g=n(5),m=n(167);function b(t){return Object(c.a)("MuiPaginationItem",t)}var y=Object(u.a)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon"]),x=n(52),w=n(1163),O=n(15),S=n(260),j=n(259),C=n(66),k=n(0),E=Object(C.a)(Object(k.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),P=Object(C.a)(Object(k.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),_=n(13),M=["className","color","component","components","disabled","page","selected","shape","size","type","variant"],T=function(t,e){var n=t.ownerState;return[e.root,e[n.variant],e["size".concat(Object(O.a)(n.size))],"text"===n.variant&&e["text".concat(Object(O.a)(n.color))],"outlined"===n.variant&&e["outlined".concat(Object(O.a)(n.color))],"rounded"===n.shape&&e.rounded,"page"===n.type&&e.page,("start-ellipsis"===n.type||"end-ellipsis"===n.type)&&e.ellipsis,("previous"===n.type||"next"===n.type)&&e.previousNext,("first"===n.type||"last"===n.type)&&e.firstLast]},A=Object(_.a)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:T})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({},e.typography.body2,Object(g.a)({borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto"},"&.".concat(y.disabled),{opacity:(e.vars||e).palette.action.disabledOpacity}),"small"===n.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===n.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)})})),R=Object(_.a)(w.a,{name:"MuiPaginationItem",slot:"Root",overridesResolver:T})((function(t){var e,n,o=t.theme,i=t.ownerState;return Object(r.a)({},o.typography.body2,(n={borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(o.vars||o).palette.text.primary},Object(g.a)(n,"&.".concat(y.focusVisible),{backgroundColor:(o.vars||o).palette.action.focus}),Object(g.a)(n,"&.".concat(y.disabled),{opacity:(o.vars||o).palette.action.disabledOpacity}),Object(g.a)(n,"transition",o.transitions.create(["color","background-color"],{duration:o.transitions.duration.short})),Object(g.a)(n,"&:hover",{backgroundColor:(o.vars||o).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),Object(g.a)(n,"&.".concat(y.selected),(e={backgroundColor:(o.vars||o).palette.action.selected,"&:hover":{backgroundColor:o.vars?"rgba(".concat(o.vars.palette.action.selected," / calc(").concat(o.vars.palette.action.selectedOpacity," + ").concat(o.vars.palette.action.hoverOpacity,"))"):Object(m.a)(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(o.vars||o).palette.action.selected}}},Object(g.a)(e,"&.".concat(y.focusVisible),{backgroundColor:o.vars?"rgba(".concat(o.vars.palette.action.selected," / calc(").concat(o.vars.palette.action.selectedOpacity," + ").concat(o.vars.palette.action.focusOpacity,"))"):Object(m.a)(o.palette.action.selected,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)}),Object(g.a)(e,"&.".concat(y.disabled),{opacity:1,color:(o.vars||o).palette.action.disabled,backgroundColor:(o.vars||o).palette.action.selected}),e)),n),"small"===i.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===i.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:o.typography.pxToRem(15)},"rounded"===i.shape&&{borderRadius:(o.vars||o).shape.borderRadius})}),(function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({},"text"===n.variant&&Object(g.a)({},"&.".concat(y.selected),Object(r.a)({},"standard"!==n.color&&Object(g.a)({color:(e.vars||e).palette[n.color].contrastText,backgroundColor:(e.vars||e).palette[n.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[n.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[n.color].main}}},"&.".concat(y.focusVisible),{backgroundColor:(e.vars||e).palette[n.color].dark}),Object(g.a)({},"&.".concat(y.disabled),{color:(e.vars||e).palette.action.disabled}))),"outlined"===n.variant&&Object(g.a)({border:e.vars?"1px solid rgba(".concat(e.vars.palette.common.onBackgroundChannel," / 0.23)"):"1px solid ".concat("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")},"&.".concat(y.selected),Object(r.a)({},"standard"!==n.color&&Object(g.a)({color:(e.vars||e).palette[n.color].main,border:"1px solid ".concat(e.vars?"rgba(".concat(e.vars.palette[n.color].mainChannel," / 0.5)"):Object(m.a)(e.palette[n.color].main,.5)),backgroundColor:e.vars?"rgba(".concat(e.vars.palette[n.color].mainChannel," / ").concat(e.vars.palette.action.activatedOpacity,")"):Object(m.a)(e.palette[n.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?"rgba(".concat(e.vars.palette[n.color].mainChannel," / calc(").concat(e.vars.palette.action.activatedOpacity," + ").concat(e.vars.palette.action.focusOpacity,"))"):Object(m.a)(e.palette[n.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(y.focusVisible),{backgroundColor:e.vars?"rgba(".concat(e.vars.palette[n.color].mainChannel," / calc(").concat(e.vars.palette.action.activatedOpacity," + ").concat(e.vars.palette.action.focusOpacity,"))"):Object(m.a)(e.palette[n.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}),Object(g.a)({},"&.".concat(y.disabled),{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}))))})),D=Object(_.a)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:function(t,e){return e.icon}})((function(t){var e=t.theme,n=t.ownerState;return Object(r.a)({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},"small"===n.size&&{fontSize:e.typography.pxToRem(18)},"large"===n.size&&{fontSize:e.typography.pxToRem(22)})})),I=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiPaginationItem"}),i=n.className,c=n.color,u=void 0===c?"standard":c,d=n.component,f=n.components,p=void 0===f?{first:S.a,last:j.a,next:P,previous:E}:f,h=n.disabled,v=void 0!==h&&h,g=n.page,m=n.selected,y=void 0!==m&&m,w=n.shape,C=void 0===w?"circular":w,_=n.size,T=void 0===_?"medium":_,I=n.type,N=void 0===I?"page":I,L=n.variant,F=void 0===L?"text":L,B=Object(o.a)(n,M),z=Object(r.a)({},n,{color:u,disabled:v,selected:y,shape:C,size:T,type:N,variant:F}),H=Object(x.a)(),V=function(t){var e=t.classes,n=t.color,r=t.disabled,o=t.selected,i=t.size,a=t.shape,l=t.type,c=t.variant,u={root:["root","size".concat(Object(O.a)(i)),c,a,"standard"!==n&&"".concat(c).concat(Object(O.a)(n)),r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[l]],icon:["icon"]};return Object(s.a)(u,b,e)}(z),U=("rtl"===H.direction?{previous:p.next||P,next:p.previous||E,last:p.first||S.a,first:p.last||j.a}:{previous:p.previous||E,next:p.next||P,first:p.first||S.a,last:p.last||j.a})[N];return"start-ellipsis"===N||"end-ellipsis"===N?Object(k.jsx)(A,{ref:e,ownerState:z,className:Object(a.default)(V.root,i),children:"\u2026"}):Object(k.jsxs)(R,Object(r.a)({ref:e,ownerState:z,component:d,disabled:v,className:Object(a.default)(V.root,i)},B,{children:["page"===N&&g,U?Object(k.jsx)(D,{as:U,ownerState:z,className:V.icon}):null]}))})),N=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],L=Object(_.a)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant]]}})({}),F=Object(_.a)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:function(t,e){return e.ul}})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function B(t,e,n){return"page"===t?"".concat(n?"":"Go to ","page ").concat(e):"Go to ".concat(t," page")}var z=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiPagination"}),i=n.boundaryCount,c=void 0===i?1:i,u=n.className,g=n.color,m=void 0===g?"standard":g,b=n.count,y=void 0===b?1:b,x=n.defaultPage,w=void 0===x?1:x,O=n.disabled,S=void 0!==O&&O,j=n.getItemAriaLabel,C=void 0===j?B:j,E=n.hideNextButton,P=void 0!==E&&E,_=n.hidePrevButton,M=void 0!==_&&_,T=n.renderItem,A=void 0===T?function(t){return Object(k.jsx)(I,Object(r.a)({},t))}:T,R=n.shape,D=void 0===R?"circular":R,z=n.showFirstButton,H=void 0!==z&&z,V=n.showLastButton,U=void 0!==V&&V,W=n.siblingCount,q=void 0===W?1:W,G=n.size,Y=void 0===G?"medium":G,X=n.variant,K=void 0===X?"text":X,$=Object(o.a)(n,N),Z=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.boundaryCount,n=void 0===e?1:e,i=t.componentName,a=void 0===i?"usePagination":i,s=t.count,l=void 0===s?1:s,c=t.defaultPage,u=void 0===c?1:c,d=t.disabled,g=void 0!==d&&d,m=t.hideNextButton,b=void 0!==m&&m,y=t.hidePrevButton,x=void 0!==y&&y,w=t.onChange,O=t.page,S=t.showFirstButton,j=void 0!==S&&S,C=t.showLastButton,k=void 0!==C&&C,E=t.siblingCount,P=void 0===E?1:E,_=Object(o.a)(t,v),M=Object(h.a)({controlled:O,default:u,name:a,state:"page"}),T=Object(p.a)(M,2),A=T[0],R=T[1],D=function(t,e){O||R(e),w&&w(t,e)},I=function(t,e){var n=e-t+1;return Array.from({length:n},(function(e,n){return t+n}))},N=I(1,Math.min(n,l)),L=I(Math.max(l-n+1,n+1),l),F=Math.max(Math.min(A-P,l-n-2*P-1),n+2),B=Math.min(Math.max(A+P,n+2*P+2),L.length>0?L[0]-2:l-1),z=[].concat(Object(f.a)(j?["first"]:[]),Object(f.a)(x?[]:["previous"]),Object(f.a)(N),Object(f.a)(F>n+2?["start-ellipsis"]:n+1<l-n?[n+1]:[]),Object(f.a)(I(F,B)),Object(f.a)(B<l-n-1?["end-ellipsis"]:l-n>n?[l-n]:[]),Object(f.a)(L),Object(f.a)(b?[]:["next"]),Object(f.a)(k?["last"]:[])),H=function(t){switch(t){case"first":return 1;case"previous":return A-1;case"next":return A+1;case"last":return l;default:return null}},V=z.map((function(t){return"number"===typeof t?{onClick:function(e){D(e,t)},type:"page",page:t,selected:t===A,disabled:g,"aria-current":t===A?"true":void 0}:{onClick:function(e){D(e,H(t))},type:t,page:H(t),selected:!1,disabled:g||-1===t.indexOf("ellipsis")&&("next"===t||"last"===t?A>=l:A<=1)}}));return Object(r.a)({items:V},_)}(Object(r.a)({},n,{componentName:"Pagination"})),Q=Z.items,J=Object(r.a)({},n,{boundaryCount:c,color:m,count:y,defaultPage:w,disabled:S,getItemAriaLabel:C,hideNextButton:P,hidePrevButton:M,renderItem:A,shape:D,showFirstButton:H,showLastButton:U,siblingCount:q,size:Y,variant:K}),tt=function(t){var e=t.classes,n={root:["root",t.variant],ul:["ul"]};return Object(s.a)(n,d,e)}(J);return Object(k.jsx)(L,Object(r.a)({"aria-label":"pagination navigation",className:Object(a.default)(tt.root,u),ownerState:J,ref:e},$,{children:Object(k.jsx)(F,{className:tt.ul,ownerState:J,children:Q.map((function(t,e){return Object(k.jsx)("li",{children:A(Object(r.a)({},t,{color:m,"aria-label":C(t.type,t.page,t.selected),shape:D,size:Y,variant:K}))},e)}))})}))}));e.a=z},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(13),u=n(17),d=n(66),f=n(0),p=Object(d.a)(Object(f.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),h=Object(d.a)(Object(f.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning"),v=n(735),g=n(168),m=n(187);function b(t){return Object(g.a)("MuiStepIcon",t)}var y,x=Object(m.a)("MuiStepIcon",["root","active","completed","error","text"]),w=["active","className","completed","error","icon"],O=Object(c.a)(v.a,{name:"MuiStepIcon",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e,n=t.theme;return e={display:"block",transition:n.transitions.create("color",{duration:n.transitions.duration.shortest}),color:(n.vars||n).palette.text.disabled},Object(r.a)(e,"&.".concat(x.completed),{color:(n.vars||n).palette.primary.main}),Object(r.a)(e,"&.".concat(x.active),{color:(n.vars||n).palette.primary.main}),Object(r.a)(e,"&.".concat(x.error),{color:(n.vars||n).palette.error.main}),e})),S=Object(c.a)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:function(t,e){return e.text}})((function(t){var e=t.theme;return{fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}})),j=a.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiStepIcon"}),r=n.active,a=void 0!==r&&r,c=n.className,d=n.completed,v=void 0!==d&&d,g=n.error,m=void 0!==g&&g,x=n.icon,j=Object(o.a)(n,w),C=Object(i.a)({},n,{active:a,completed:v,error:m}),k=function(t){var e=t.classes,n={root:["root",t.active&&"active",t.completed&&"completed",t.error&&"error"],text:["text"]};return Object(l.a)(n,b,e)}(C);if("number"===typeof x||"string"===typeof x){var E=Object(s.default)(c,k.root);return m?Object(f.jsx)(O,Object(i.a)({as:h,className:E,ref:e,ownerState:C},j)):v?Object(f.jsx)(O,Object(i.a)({as:p,className:E,ref:e,ownerState:C},j)):Object(f.jsxs)(O,Object(i.a)({className:E,ref:e,ownerState:C},j,{children:[y||(y=Object(f.jsx)("circle",{cx:"12",cy:"12",r:"12"})),Object(f.jsx)(S,{className:k.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:C,children:x})]}))}return x})),C=n(221),k=n(286);function E(t){return Object(g.a)("MuiStepLabel",t)}var P=Object(m.a)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),_=["children","className","componentsProps","error","icon","optional","StepIconComponent","StepIconProps"],M=Object(c.a)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.orientation]]}})((function(t){var e,n=t.ownerState;return Object(i.a)((e={display:"flex",alignItems:"center"},Object(r.a)(e,"&.".concat(P.alternativeLabel),{flexDirection:"column"}),Object(r.a)(e,"&.".concat(P.disabled),{cursor:"default"}),e),"vertical"===n.orientation&&{textAlign:"left",padding:"8px 0"})})),T=Object(c.a)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:function(t,e){return e.label}})((function(t){var e,n=t.theme;return Object(i.a)({},n.typography.body2,(e={display:"block",transition:n.transitions.create("color",{duration:n.transitions.duration.shortest})},Object(r.a)(e,"&.".concat(P.active),{color:(n.vars||n).palette.text.primary,fontWeight:500}),Object(r.a)(e,"&.".concat(P.completed),{color:(n.vars||n).palette.text.primary,fontWeight:500}),Object(r.a)(e,"&.".concat(P.alternativeLabel),{textAlign:"center",marginTop:16}),Object(r.a)(e,"&.".concat(P.error),{color:(n.vars||n).palette.error.main}),e))})),A=Object(c.a)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:function(t,e){return e.iconContainer}})((function(){return Object(r.a)({flexShrink:0,display:"flex",paddingRight:8},"&.".concat(P.alternativeLabel),{paddingRight:0})})),R=Object(c.a)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:function(t,e){return e.labelContainer}})((function(t){var e=t.theme;return{width:"100%",color:(e.vars||e).palette.text.secondary}})),D=a.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiStepLabel"}),r=n.children,c=n.className,d=n.componentsProps,p=void 0===d?{}:d,h=n.error,v=void 0!==h&&h,g=n.icon,m=n.optional,b=n.StepIconComponent,y=n.StepIconProps,x=Object(o.a)(n,_),w=a.useContext(C.a),O=w.alternativeLabel,S=w.orientation,P=a.useContext(k.a),D=P.active,I=P.disabled,N=P.completed,L=P.icon,F=g||L,B=b;F&&!B&&(B=j);var z=Object(i.a)({},n,{active:D,alternativeLabel:O,completed:N,disabled:I,error:v,orientation:S}),H=function(t){var e=t.classes,n=t.orientation,r=t.active,o=t.completed,i=t.error,a=t.disabled,s=t.alternativeLabel,c={root:["root",n,i&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",r&&"active",o&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",s&&"alternativeLabel"],labelContainer:["labelContainer"]};return Object(l.a)(c,E,e)}(z);return Object(f.jsxs)(M,Object(i.a)({className:Object(s.default)(H.root,c),ref:e,ownerState:z},x,{children:[F||B?Object(f.jsx)(A,{className:H.iconContainer,ownerState:z,children:Object(f.jsx)(B,Object(i.a)({completed:N,active:D,error:v,icon:F},y))}):null,Object(f.jsxs)(R,{className:H.labelContainer,ownerState:z,children:[r?Object(f.jsx)(T,Object(i.a)({className:H.label,ownerState:z},p.label,{children:r})):null,m]})]}))}));D.muiName="StepLabel";e.a=D},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=function(t){var e=a.useRef({});return a.useEffect((function(){e.current=t})),e.current},c=n(230);var u=n(187),d=n(168);function f(t){return Object(d.a)("BaseBadge",t)}Object(u.a)("BaseBadge",["root","badge","invisible"]);var p=n(207),h=n(0),v=["badgeContent","component","children","components","componentsProps","invisible","max","showZero"],g=a.forwardRef((function(t,e){var n=t.component,r=t.children,a=t.components,s=void 0===a?{}:a,u=t.componentsProps,d=void 0===u?{}:u,g=t.max,m=void 0===g?99:g,b=t.showZero,y=void 0!==b&&b,x=Object(o.a)(t,v),w=function(t){var e=t.badgeContent,n=t.invisible,r=void 0!==n&&n,o=t.max,i=void 0===o?99:o,a=t.showZero,s=void 0!==a&&a,c=l({badgeContent:e,max:i}),u=r;!1!==r||0!==e||s||(u=!0);var d=u?c:t,f=d.badgeContent,p=d.max,h=void 0===p?i:p;return{badgeContent:f,invisible:u,max:h,displayValue:f&&Number(f)>h?"".concat(h,"+"):f}}(Object(i.a)({},t,{max:m})),O=w.badgeContent,S=w.max,j=w.displayValue,C=w.invisible,k=Object(i.a)({},t,{badgeContent:O,invisible:C,max:S,showZero:y}),E=function(t){var e={root:["root"],badge:["badge",t.invisible&&"invisible"]};return Object(c.a)(e,f,void 0)}(k),P=n||s.Root||"span",_=Object(p.a)({elementType:P,externalSlotProps:d.root,externalForwardedProps:x,additionalProps:{ref:e},ownerState:k,className:E.root}),M=s.Badge||"span",T=Object(p.a)({elementType:M,externalSlotProps:d.badge,ownerState:k,className:E.badge});return Object(h.jsxs)(P,Object(i.a)({},_,{children:[r,Object(h.jsx)(M,Object(i.a)({},T,{children:j}))]}))})),m=n(13),b=n(17),y=n(228),x=n(15);function w(t){return Object(d.a)("MuiBadge",t)}var O=Object(u.a)("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),S=["anchorOrigin","className","component","components","componentsProps","overlap","color","invisible","max","badgeContent","showZero","variant"],j=Object(m.a)("span",{name:"MuiBadge",slot:"Root",overridesResolver:function(t,e){return e.root}})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),C=Object(m.a)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:function(t,e){var n=t.ownerState;return[e.badge,e[n.variant],e["anchorOrigin".concat(Object(x.a)(n.anchorOrigin.vertical)).concat(Object(x.a)(n.anchorOrigin.horizontal)).concat(Object(x.a)(n.overlap))],"default"!==n.color&&e["color".concat(Object(x.a)(n.color))],n.invisible&&e.invisible]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},"default"!==n.color&&{backgroundColor:(e.vars||e).palette[n.color].main,color:(e.vars||e).palette[n.color].contrastText},"dot"===n.variant&&{borderRadius:4,height:8,minWidth:8,padding:0},"top"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&Object(r.a)({top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(O.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&Object(r.a)({bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(O.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&Object(r.a)({top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(O.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"rectangular"===n.overlap&&Object(r.a)({bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(O.invisible),{transform:"scale(0) translate(-50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&Object(r.a)({top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%"},"&.".concat(O.invisible),{transform:"scale(0) translate(50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"right"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&Object(r.a)({bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%"},"&.".concat(O.invisible),{transform:"scale(0) translate(50%, 50%)"}),"top"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&Object(r.a)({top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%"},"&.".concat(O.invisible),{transform:"scale(0) translate(-50%, -50%)"}),"bottom"===n.anchorOrigin.vertical&&"left"===n.anchorOrigin.horizontal&&"circular"===n.overlap&&Object(r.a)({bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%"},"&.".concat(O.invisible),{transform:"scale(0) translate(-50%, 50%)"}),n.invisible&&{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})})})),k=a.forwardRef((function(t,e){var n,r,a,u,d=Object(b.a)({props:t,name:"MuiBadge"}),f=d.anchorOrigin,p=void 0===f?{vertical:"top",horizontal:"right"}:f,v=d.className,m=d.component,O=void 0===m?"span":m,k=d.components,E=void 0===k?{}:k,P=d.componentsProps,_=void 0===P?{}:P,M=d.overlap,T=void 0===M?"rectangular":M,A=d.color,R=void 0===A?"default":A,D=d.invisible,I=void 0!==D&&D,N=d.max,L=d.badgeContent,F=d.showZero,B=void 0!==F&&F,z=d.variant,H=void 0===z?"standard":z,V=Object(o.a)(d,S),U=l({anchorOrigin:p,color:R,overlap:T,variant:H}),W=I;!1===I&&(0===L&&!B||null==L&&"dot"!==H)&&(W=!0);var q,G=W?U:d,Y=G.color,X=void 0===Y?R:Y,K=G.overlap,$=void 0===K?T:K,Z=G.anchorOrigin,Q=void 0===Z?p:Z,J=G.variant,tt=void 0===J?H:J,et=function(t){var e=t.color,n=t.anchorOrigin,r=t.invisible,o=t.overlap,i=t.variant,a=t.classes,s=void 0===a?{}:a,l={root:["root"],badge:["badge",i,r&&"invisible","anchorOrigin".concat(Object(x.a)(n.vertical)).concat(Object(x.a)(n.horizontal)),"anchorOrigin".concat(Object(x.a)(n.vertical)).concat(Object(x.a)(n.horizontal)).concat(Object(x.a)(o)),"overlap".concat(Object(x.a)(o)),"default"!==e&&"color".concat(Object(x.a)(e))]};return Object(c.a)(l,w,s)}(Object(i.a)({},d,{anchorOrigin:Q,invisible:W,color:X,overlap:$,variant:tt}));return"dot"!==tt&&(q=L&&Number(L)>N?"".concat(N,"+"):L),Object(h.jsx)(g,Object(i.a)({invisible:I,badgeContent:q,showZero:B,max:N},V,{components:Object(i.a)({Root:j,Badge:C},E),className:Object(s.default)(v,et.root,null==(n=_.root)?void 0:n.className),componentsProps:{root:Object(i.a)({},_.root,Object(y.a)(E.Root)&&{as:O,ownerState:Object(i.a)({},null==(r=_.root)?void 0:r.ownerState,{anchorOrigin:Q,color:X,overlap:$,variant:tt})}),badge:Object(i.a)({},_.badge,{className:Object(s.default)(et.badge,null==(a=_.badge)?void 0:a.className)},Object(y.a)(E.Badge)&&{ownerState:Object(i.a)({},null==(u=_.badge)?void 0:u.ownerState,{anchorOrigin:Q,color:X,overlap:$,variant:tt})})},ref:e}))}));e.a=k},function(t,e,n){"use strict";n.d(e,"a",(function(){return tt}));var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(187),c=n(168);function u(t){return Object(c.a)("MuiSlider",t)}var d=Object(l.a)("MuiSlider",["root","active","focusVisible","disabled","dragging","marked","vertical","trackInverted","trackFalse","rail","track","mark","markActive","markLabel","markLabelActive","thumb","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel"]),f=n(0);function p(t){var e=t.children,n=t.className,r=t.value,o=t.theme,i=function(t){var e=t.open;return{offset:Object(s.default)(e&&d.valueLabelOpen),circle:d.valueLabelCircle,label:d.valueLabelLabel}}(t);return a.cloneElement(e,{className:Object(s.default)(e.props.className)},Object(f.jsxs)(a.Fragment,{children:[e.props.children,Object(f.jsx)("span",{className:Object(s.default)(i.offset,n),theme:o,"aria-hidden":!0,children:Object(f.jsx)("span",{className:i.circle,children:Object(f.jsx)("span",{className:i.label,children:r})})})]}))}var h=n(257),v=n(230),g=n(14),m=n(2),b=n(229),y=n(443),x=n(1157),w=n(442),O=n(350),S=n(312),j={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function C(t,e){return t-e}function k(t,e,n){return null==t?e:Math.min(Math.max(e,t),n)}function E(t,e){var n;return(null!=(n=t.reduce((function(t,n,r){var o=Math.abs(e-n);return null===t||o<t.distance||o===t.distance?{distance:o,index:r}:t}),null))?n:{}).index}function P(t,e){if(void 0!==e.current&&t.changedTouches){for(var n=t,r=0;r<n.changedTouches.length;r+=1){var o=n.changedTouches[r];if(o.identifier===e.current)return{x:o.clientX,y:o.clientY}}return!1}return{x:t.clientX,y:t.clientY}}function _(t,e,n){return 100*(t-e)/(n-e)}function M(t,e,n){var r=Math.round((t-n)/e)*e+n;return Number(r.toFixed(function(t){if(Math.abs(t)<1){var e=t.toExponential().split("e-"),n=e[0].split(".")[1];return(n?n.length:0)+parseInt(e[1],10)}var r=t.toString().split(".")[1];return r?r.length:0}(e)))}function T(t){var e=t.values,n=t.newValue,r=t.index,o=e.slice();return o[r]=n,o.sort(C)}function A(t){var e,n,r,o=t.sliderRef,i=t.activeIndex,a=t.setActive,s=Object(b.a)(o.current);null!=(e=o.current)&&e.contains(s.activeElement)&&Number(null==s||null==(n=s.activeElement)?void 0:n.getAttribute("data-index"))===i||(null==(r=o.current)||r.querySelector('[type="range"][data-index="'.concat(i,'"]')).focus());a&&a(i)}var R,D={horizontal:{offset:function(t){return{left:"".concat(t,"%")}},leap:function(t){return{width:"".concat(t,"%")}}},"horizontal-reverse":{offset:function(t){return{right:"".concat(t,"%")}},leap:function(t){return{width:"".concat(t,"%")}}},vertical:{offset:function(t){return{bottom:"".concat(t,"%")}},leap:function(t){return{height:"".concat(t,"%")}}}},I=function(t){return t};function N(){return void 0===R&&(R="undefined"===typeof CSS||"function"!==typeof CSS.supports||CSS.supports("touch-action","none")),R}var L=n(207),F=["aria-label","aria-valuetext","className","component","classes","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","scale","step","tabIndex","track","value","valueLabelDisplay","valueLabelFormat","isRtl","components","componentsProps"],B=function(t){return t},z=function(t){return t.children},H=a.forwardRef((function(t,e){var n,r,l,c,d,R,H,V=t["aria-label"],U=t["aria-valuetext"],W=t.className,q=t.component,G=t.classes,Y=t.disableSwap,X=void 0!==Y&&Y,K=t.disabled,$=void 0!==K&&K,Z=t.getAriaLabel,Q=t.getAriaValueText,J=t.marks,tt=void 0!==J&&J,et=t.max,nt=void 0===et?100:et,rt=t.min,ot=void 0===rt?0:rt,it=t.orientation,at=void 0===it?"horizontal":it,st=t.scale,lt=void 0===st?B:st,ct=t.step,ut=void 0===ct?1:ct,dt=t.track,ft=void 0===dt?"normal":dt,pt=t.valueLabelDisplay,ht=void 0===pt?"off":pt,vt=t.valueLabelFormat,gt=void 0===vt?B:vt,mt=t.isRtl,bt=void 0!==mt&&mt,yt=t.components,xt=void 0===yt?{}:yt,wt=t.componentsProps,Ot=void 0===wt?{}:wt,St=Object(o.a)(t,F),jt=Object(i.a)({},t,{marks:tt,classes:G,disabled:$,isRtl:bt,max:nt,min:ot,orientation:at,scale:lt,step:ut,track:ft,valueLabelDisplay:ht,valueLabelFormat:gt}),Ct=function(t){var e=t["aria-labelledby"],n=t.defaultValue,r=t.disabled,o=void 0!==r&&r,s=t.disableSwap,l=void 0!==s&&s,c=t.isRtl,u=void 0!==c&&c,d=t.marks,f=void 0!==d&&d,p=t.max,h=void 0===p?100:p,v=t.min,R=void 0===v?0:v,L=t.name,F=t.onChange,B=t.onChangeCommitted,z=t.orientation,H=void 0===z?"horizontal":z,V=t.ref,U=t.scale,W=void 0===U?I:U,q=t.step,G=void 0===q?1:q,Y=t.tabIndex,X=t.value,K=a.useRef(),$=a.useState(-1),Z=Object(m.a)($,2),Q=Z[0],J=Z[1],tt=a.useState(-1),et=Object(m.a)(tt,2),nt=et[0],rt=et[1],ot=a.useState(!1),it=Object(m.a)(ot,2),at=it[0],st=it[1],lt=a.useRef(0),ct=Object(y.a)({controlled:X,default:null!=n?n:R,name:"Slider"}),ut=Object(m.a)(ct,2),dt=ut[0],ft=ut[1],pt=F&&function(t,e,n){var r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:e,name:L}}),F(o,e,n)},ht=Array.isArray(dt),vt=ht?dt.slice().sort(C):[dt];vt=vt.map((function(t){return k(t,R,h)}));var gt=!0===f&&null!==G?Object(g.a)(Array(Math.floor((h-R)/G)+1)).map((function(t,e){return{value:R+G*e}})):f||[],mt=gt.map((function(t){return t.value})),bt=Object(x.a)(),yt=bt.isFocusVisibleRef,xt=bt.onBlur,wt=bt.onFocus,Ot=bt.ref,St=a.useState(-1),jt=Object(m.a)(St,2),Ct=jt[0],kt=jt[1],Et=a.useRef(),Pt=Object(w.a)(Ot,Et),_t=Object(w.a)(V,Pt),Mt=function(t){return function(e){var n,r=Number(e.currentTarget.getAttribute("data-index"));wt(e),!0===yt.current&&kt(r),rt(r),null==t||null==(n=t.onFocus)||n.call(t,e)}},Tt=function(t){return function(e){var n;xt(e),!1===yt.current&&kt(-1),rt(-1),null==t||null==(n=t.onBlur)||n.call(t,e)}};Object(O.a)((function(){var t;o&&Et.current.contains(document.activeElement)&&(null==(t=document.activeElement)||t.blur())}),[o]),o&&-1!==Q&&J(-1),o&&-1!==Ct&&kt(-1);var At=function(t){return function(e){var n;null==(n=t.onChange)||n.call(t,e);var r=Number(e.currentTarget.getAttribute("data-index")),o=vt[r],i=mt.indexOf(o),a=e.target.valueAsNumber;if(gt&&null==G&&(a=a<o?mt[i-1]:mt[i+1]),a=k(a,R,h),gt&&null==G){var s=mt.indexOf(vt[r]);a=a<vt[r]?mt[s-1]:mt[s+1]}if(ht){l&&(a=k(a,vt[r-1]||-1/0,vt[r+1]||1/0));var c=a;a=T({values:vt,newValue:a,index:r});var u=r;l||(u=a.indexOf(c)),A({sliderRef:Et,activeIndex:u})}ft(a),kt(r),pt&&pt(e,a,r),B&&B(e,a)}},Rt=a.useRef(),Dt=H;u&&"horizontal"===H&&(Dt+="-reverse");var It=function(t){var e,n,r=t.finger,o=t.move,i=void 0!==o&&o,a=t.values,s=Et.current.getBoundingClientRect(),c=s.width,u=s.height,d=s.bottom,f=s.left;if(e=0===Dt.indexOf("vertical")?(d-r.y)/u:(r.x-f)/c,-1!==Dt.indexOf("-reverse")&&(e=1-e),n=function(t,e,n){return(n-e)*t+e}(e,R,h),G)n=M(n,G,R);else{var p=E(mt,n);n=mt[p]}n=k(n,R,h);var v=0;if(ht){v=i?Rt.current:E(a,n),l&&(n=k(n,a[v-1]||-1/0,a[v+1]||1/0));var g=n;n=T({values:a,newValue:n,index:v}),l&&i||(v=n.indexOf(g),Rt.current=v)}return{newValue:n,activeIndex:v}},Nt=Object(S.a)((function(t){var e=P(t,K);if(e)if(lt.current+=1,"mousemove"!==t.type||0!==t.buttons){var n=It({finger:e,move:!0,values:vt}),r=n.newValue,o=n.activeIndex;A({sliderRef:Et,activeIndex:o,setActive:J}),ft(r),!at&&lt.current>2&&st(!0),pt&&pt(t,r,o)}else Lt(t)})),Lt=Object(S.a)((function(t){var e=P(t,K);if(st(!1),e){var n=It({finger:e,move:!0,values:vt}).newValue;J(-1),"touchend"===t.type&&rt(-1),B&&B(t,n),K.current=void 0,Bt()}})),Ft=Object(S.a)((function(t){if(!o){N()||t.preventDefault();var e=t.changedTouches[0];null!=e&&(K.current=e.identifier);var n=P(t,K);if(!1!==n){var r=It({finger:n,values:vt}),i=r.newValue,a=r.activeIndex;A({sliderRef:Et,activeIndex:a,setActive:J}),ft(i),pt&&pt(t,i,a)}lt.current=0;var s=Object(b.a)(Et.current);s.addEventListener("touchmove",Nt),s.addEventListener("touchend",Lt)}})),Bt=a.useCallback((function(){var t=Object(b.a)(Et.current);t.removeEventListener("mousemove",Nt),t.removeEventListener("mouseup",Lt),t.removeEventListener("touchmove",Nt),t.removeEventListener("touchend",Lt)}),[Lt,Nt]);a.useEffect((function(){var t=Et.current;return t.addEventListener("touchstart",Ft,{passive:N()}),function(){t.removeEventListener("touchstart",Ft,{passive:N()}),Bt()}}),[Bt,Ft]),a.useEffect((function(){o&&Bt()}),[o,Bt]);var zt=function(t){return function(e){var n;if(null==(n=t.onMouseDown)||n.call(t,e),!o&&!e.defaultPrevented&&0===e.button){e.preventDefault();var r=P(e,K);if(!1!==r){var i=It({finger:r,values:vt}),a=i.newValue,s=i.activeIndex;A({sliderRef:Et,activeIndex:s,setActive:J}),ft(a),pt&&pt(e,a,s)}lt.current=0;var l=Object(b.a)(Et.current);l.addEventListener("mousemove",Nt),l.addEventListener("mouseup",Lt)}}},Ht=_(ht?vt[0]:R,R,h),Vt=_(vt[vt.length-1],R,h)-Ht,Ut=function(t){return function(e){var n;null==(n=t.onMouseOver)||n.call(t,e);var r=Number(e.currentTarget.getAttribute("data-index"));rt(r)}},Wt=function(t){return function(e){var n;null==(n=t.onMouseLeave)||n.call(t,e),rt(-1)}};return{active:Q,axis:Dt,axisProps:D,dragging:at,focusedThumbIndex:Ct,getHiddenInputProps:function(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a={onChange:At(r||{}),onFocus:Mt(r||{}),onBlur:Tt(r||{})},s=Object(i.a)({},r,a);return Object(i.a)({tabIndex:Y,"aria-labelledby":e,"aria-orientation":H,"aria-valuemax":W(h),"aria-valuemin":W(R),name:L,type:"range",min:t.min,max:t.max,step:null!=(n=t.step)?n:void 0,disabled:o},s,{style:Object(i.a)({},j,{direction:u?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={onMouseDown:zt(t||{})},n=Object(i.a)({},t,e);return Object(i.a)({ref:_t},n)},getThumbProps:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={onMouseOver:Ut(t||{}),onMouseLeave:Wt(t||{})};return Object(i.a)({},t,e)},marks:gt,open:nt,range:ht,trackLeap:Vt,trackOffset:Ht,values:vt}}(Object(i.a)({},jt,{ref:e})),kt=Ct.axisProps,Et=Ct.getRootProps,Pt=Ct.getHiddenInputProps,_t=Ct.getThumbProps,Mt=Ct.open,Tt=Ct.active,At=Ct.axis,Rt=Ct.range,Dt=Ct.focusedThumbIndex,It=Ct.dragging,Nt=Ct.marks,Lt=Ct.values,Ft=Ct.trackOffset,Bt=Ct.trackLeap;jt.marked=Nt.length>0&&Nt.some((function(t){return t.label})),jt.dragging=It,jt.focusedThumbIndex=Dt;var zt=function(t){var e=t.disabled,n=t.dragging,r=t.marked,o=t.orientation,i=t.track,a=t.classes,s={root:["root",e&&"disabled",n&&"dragging",r&&"marked","vertical"===o&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse"],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",e&&"disabled"],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Object(v.a)(s,u,a)}(jt),Ht=null!=(n=null!=q?q:xt.Root)?n:"span",Vt=Object(L.a)({elementType:Ht,getSlotProps:Et,externalSlotProps:Ot.root,externalForwardedProps:St,ownerState:jt,className:[zt.root,W]}),Ut=null!=(r=xt.Rail)?r:"span",Wt=Object(L.a)({elementType:Ut,externalSlotProps:Ot.rail,ownerState:jt,className:zt.rail}),qt=null!=(l=xt.Track)?l:"span",Gt=Object(L.a)({elementType:qt,externalSlotProps:Ot.track,additionalProps:{style:Object(i.a)({},kt[At].offset(Ft),kt[At].leap(Bt))},ownerState:jt,className:zt.track}),Yt=null!=(c=xt.Thumb)?c:"span",Xt=Object(L.a)({elementType:Yt,getSlotProps:_t,externalSlotProps:Ot.thumb,ownerState:jt}),Kt=null!=(d=xt.ValueLabel)?d:p,$t=Object(L.a)({elementType:Kt,externalSlotProps:Ot.valueLabel,ownerState:jt}),Zt=null!=(R=xt.Mark)?R:"span",Qt=Object(L.a)({elementType:Zt,externalSlotProps:Ot.mark,ownerState:jt,className:zt.mark}),Jt=null!=(H=xt.MarkLabel)?H:"span",te=Object(L.a)({elementType:Jt,externalSlotProps:Ot.markLabel,ownerState:jt}),ee=xt.Input||"input",ne=Object(L.a)({elementType:ee,getSlotProps:Pt,externalSlotProps:Ot.input,ownerState:jt});return Object(f.jsxs)(Ht,Object(i.a)({},Vt,{children:[Object(f.jsx)(Ut,Object(i.a)({},Wt)),Object(f.jsx)(qt,Object(i.a)({},Gt)),Nt.filter((function(t){return t.value>=ot&&t.value<=nt})).map((function(t,e){var n,r=_(t.value,ot,nt),o=kt[At].offset(r);return n=!1===ft?-1!==Lt.indexOf(t.value):"normal"===ft&&(Rt?t.value>=Lt[0]&&t.value<=Lt[Lt.length-1]:t.value<=Lt[0])||"inverted"===ft&&(Rt?t.value<=Lt[0]||t.value>=Lt[Lt.length-1]:t.value>=Lt[0]),Object(f.jsxs)(a.Fragment,{children:[Object(f.jsx)(Zt,Object(i.a)({"data-index":e},Qt,!Object(h.a)(Zt)&&{markActive:n},{style:Object(i.a)({},o,Qt.style),className:Object(s.default)(Qt.className,n&&zt.markActive)})),null!=t.label?Object(f.jsx)(Jt,Object(i.a)({"aria-hidden":!0,"data-index":e},te,!Object(h.a)(Jt)&&{markLabelActive:n},{style:Object(i.a)({},o,te.style),className:Object(s.default)(zt.markLabel,te.className,n&&zt.markLabelActive),children:t.label})):null]},t.value)})),Lt.map((function(t,e){var n=_(t,ot,nt),r=kt[At].offset(n),o="off"===ht?z:Kt;return Object(f.jsx)(a.Fragment,{children:Object(f.jsx)(o,Object(i.a)({},!Object(h.a)(o)&&{valueLabelFormat:gt,valueLabelDisplay:ht,value:"function"===typeof gt?gt(lt(t),e):gt,index:e,open:Mt===e||Tt===e||"on"===ht,disabled:$},$t,{className:Object(s.default)(zt.valueLabel,$t.className),children:Object(f.jsx)(Yt,Object(i.a)({"data-index":e,"data-focusvisible":Dt===e},Xt,{className:Object(s.default)(zt.thumb,Xt.className,Tt===e&&zt.active,Dt===e&&zt.focusVisible),style:Object(i.a)({},r,{pointerEvents:X&&Tt!==e?"none":void 0},Xt.style),children:Object(f.jsx)(ee,Object(i.a)({"data-index":e,"aria-label":Z?Z(e):V,"aria-valuenow":lt(t),"aria-valuetext":Q?Q(lt(t),e):U,value:Lt[e]},ne))}))}))},e)}))]}))})),V=H,U=n(167),W=n(17),q=n(13),G=n(52),Y=n(228),X=n(15),K=["component","components","componentsProps","color","size"],$=Object(i.a)({},d,Object(l.a)("MuiSlider",["colorPrimary","colorSecondary","thumbColorPrimary","thumbColorSecondary","sizeSmall","thumbSizeSmall"])),Z=Object(q.a)("span",{name:"MuiSlider",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["color".concat(Object(X.a)(n.color))],"medium"!==n.size&&e["size".concat(Object(X.a)(n.size))],n.marked&&e.marked,"vertical"===n.orientation&&e.vertical,"inverted"===n.track&&e.trackInverted,!1===n.track&&e.trackFalse]}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(n.vars||n).palette[o.color].main,WebkitTapHighlightColor:"transparent"},"horizontal"===o.orientation&&Object(i.a)({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},"small"===o.size&&{height:2},o.marked&&{marginBottom:20}),"vertical"===o.orientation&&Object(i.a)({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},"small"===o.size&&{width:2},o.marked&&{marginRight:44}),(e={"@media print":{colorAdjust:"exact"}},Object(r.a)(e,"&.".concat($.disabled),{pointerEvents:"none",cursor:"default",color:(n.vars||n).palette.grey[400]}),Object(r.a)(e,"&.".concat($.dragging),Object(r.a)({},"& .".concat($.thumb,", & .").concat($.track),{transition:"none"})),e))})),Q=Object(q.a)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:function(t,e){return e.rail}})((function(t){var e=t.ownerState;return Object(i.a)({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},"horizontal"===e.orientation&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===e.orientation&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},"inverted"===e.track&&{opacity:1})})),J=Object(q.a)("span",{name:"MuiSlider",slot:"Track",overridesResolver:function(t,e){return e.track}})((function(t){var e=t.theme,n=t.ownerState,r="light"===e.palette.mode?Object(U.e)(e.palette[n.color].main,.62):Object(U.b)(e.palette[n.color].main,.5);return Object(i.a)({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},"small"===n.size&&{border:"none"},"horizontal"===n.orientation&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},"vertical"===n.orientation&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},!1===n.track&&{display:"none"},"inverted"===n.track&&{backgroundColor:e.vars?e.vars.palette.Slider["".concat(n.color,"Track")]:r,borderColor:e.vars?e.vars.palette.Slider["".concat(n.color,"Track")]:r})})),tt=Object(q.a)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:function(t,e){var n=t.ownerState;return[e.thumb,e["thumbColor".concat(Object(X.a)(n.color))],"medium"!==n.size&&e["thumbSize".concat(Object(X.a)(n.size))]]}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:n.transitions.create(["box-shadow","left","bottom"],{duration:n.transitions.duration.shortest})},"small"===o.size&&{width:12,height:12},"horizontal"===o.orientation&&{top:"50%",transform:"translate(-50%, -50%)"},"vertical"===o.orientation&&{left:"50%",transform:"translate(-50%, 50%)"},(e={"&:before":Object(i.a)({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(n.vars||n).shadows[2]},"small"===o.size&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},Object(r.a)(e,"&:hover, &.".concat($.focusVisible),{boxShadow:"0px 0px 0px 8px ".concat(n.vars?"rgba(".concat(n.vars.palette[o.color].mainChannel," / 0.16)"):Object(U.a)(n.palette[o.color].main,.16)),"@media (hover: none)":{boxShadow:"none"}}),Object(r.a)(e,"&.".concat($.active),{boxShadow:"0px 0px 0px 14px ".concat(n.vars?"rgba(".concat(n.vars.palette[o.color].mainChannel," / 0.16)"):Object(U.a)(n.palette[o.color].main,.16))}),Object(r.a)(e,"&.".concat($.disabled),{"&:hover":{boxShadow:"none"}}),e))})),et=Object(q.a)(p,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:function(t,e){return e.valueLabel}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)((e={},Object(r.a)(e,"&.".concat($.valueLabelOpen),{transform:"translateY(-100%) scale(1)"}),Object(r.a)(e,"zIndex",1),Object(r.a)(e,"whiteSpace","nowrap"),e),n.typography.body2,{fontWeight:500,transition:n.transitions.create(["transform"],{duration:n.transitions.duration.shortest}),transform:"translateY(-100%) scale(0)",position:"absolute",backgroundColor:(n.vars||n).palette.grey[600],borderRadius:2,color:(n.vars||n).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},"horizontal"===o.orientation&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},"vertical"===o.orientation&&{right:"30px",top:"24px",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",right:"-20%",top:"25%"}},"small"===o.size&&{fontSize:n.typography.pxToRem(12),padding:"0.25rem 0.5rem"})})),nt=Object(q.a)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:function(t){return Object(q.c)(t)&&"markActive"!==t},overridesResolver:function(t,e){return e.mark}})((function(t){var e=t.theme,n=t.ownerState,r=t.markActive;return Object(i.a)({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},"horizontal"===n.orientation&&{top:"50%",transform:"translate(-1px, -50%)"},"vertical"===n.orientation&&{left:"50%",transform:"translate(-50%, 1px)"},r&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8})})),rt=Object(q.a)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:function(t){return Object(q.c)(t)&&"markLabelActive"!==t},overridesResolver:function(t,e){return e.markLabel}})((function(t){var e=t.theme,n=t.ownerState,r=t.markLabelActive;return Object(i.a)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},"horizontal"===n.orientation&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},"vertical"===n.orientation&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},r&&{color:(e.vars||e).palette.text.primary})})),ot=a.forwardRef((function(t,e){var n,r,a,l,c=Object(W.a)({props:t,name:"MuiSlider"}),d="rtl"===Object(G.a)().direction,p=c.component,h=void 0===p?"span":p,v=c.components,g=void 0===v?{}:v,m=c.componentsProps,b=void 0===m?{}:m,y=c.color,x=void 0===y?"primary":y,w=c.size,O=void 0===w?"medium":w,S=Object(o.a)(c,K),j=function(t){var e=t.color,n=t.size,r=t.classes,o=void 0===r?{}:r;return Object(i.a)({},o,{root:Object(s.default)(o.root,u("color".concat(Object(X.a)(e))),o["color".concat(Object(X.a)(e))],n&&[u("size".concat(Object(X.a)(n))),o["size".concat(Object(X.a)(n))]]),thumb:Object(s.default)(o.thumb,u("thumbColor".concat(Object(X.a)(e))),o["thumbColor".concat(Object(X.a)(e))],n&&[u("thumbSize".concat(Object(X.a)(n))),o["thumbSize".concat(Object(X.a)(n))]])})}(Object(i.a)({},c,{color:x,size:O}));return Object(f.jsx)(V,Object(i.a)({},S,{isRtl:d,components:Object(i.a)({Root:Z,Rail:Q,Track:J,Thumb:tt,ValueLabel:et,Mark:nt,MarkLabel:rt},g),componentsProps:Object(i.a)({},b,{root:Object(i.a)({},b.root,Object(Y.a)(g.Root)&&{as:h,ownerState:Object(i.a)({},null==(n=b.root)?void 0:n.ownerState,{color:x,size:O})}),thumb:Object(i.a)({},b.thumb,Object(Y.a)(g.Thumb)&&{ownerState:Object(i.a)({},null==(r=b.thumb)?void 0:r.ownerState,{color:x,size:O})}),track:Object(i.a)({},b.track,Object(Y.a)(g.Track)&&{ownerState:Object(i.a)({},null==(a=b.track)?void 0:a.ownerState,{color:x,size:O})}),valueLabel:Object(i.a)({},b.valueLabel,Object(Y.a)(g.ValueLabel)&&{ownerState:Object(i.a)({},null==(l=b.valueLabel)?void 0:l.ownerState,{color:x,size:O})})}),classes:j,ref:e}))}));e.b=ot},function(t,e,n){"use strict";var r=n(50),o=n(297),i=n(71),a=n(182),s=n(1),l=n(51),c=n(10),u=n(1327),d=n(258),f=n(224),p=n(344),h=n(727),v=n(175),g=n(156),m=n(83);function b(t){return"scale(".concat(t,", ").concat(Math.pow(t,2),")")}var y={entering:{opacity:1,transform:b(1)},entered:{opacity:1,transform:"none"}},x=s.forwardRef((function(t,e){var n=t.children,a=t.disableStrictModeCompat,l=void 0!==a&&a,c=t.in,u=t.onEnter,d=t.onEntered,f=t.onEntering,p=t.onExit,x=t.onExited,w=t.onExiting,O=t.style,S=t.timeout,j=void 0===S?"auto":S,C=t.TransitionComponent,k=void 0===C?h.a:C,E=Object(i.a)(t,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),P=s.useRef(),_=s.useRef(),M=Object(v.a)(),T=M.unstable_strictMode&&!l,A=s.useRef(null),R=Object(m.a)(n.ref,e),D=Object(m.a)(T?A:void 0,R),I=function(t){return function(e,n){if(t){var r=T?[A.current,e]:[e,n],i=Object(o.a)(r,2),a=i[0],s=i[1];void 0===s?t(a):t(a,s)}}},N=I(f),L=I((function(t,e){Object(g.b)(t);var n,r=Object(g.a)({style:O,timeout:j},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===j?(n=M.transitions.getAutoHeightDuration(t.clientHeight),_.current=n):n=o,t.style.transition=[M.transitions.create("opacity",{duration:n,delay:i}),M.transitions.create("transform",{duration:.666*n,delay:i})].join(","),u&&u(t,e)})),F=I(d),B=I(w),z=I((function(t){var e,n=Object(g.a)({style:O,timeout:j},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===j?(e=M.transitions.getAutoHeightDuration(t.clientHeight),_.current=e):e=r,t.style.transition=[M.transitions.create("opacity",{duration:e,delay:o}),M.transitions.create("transform",{duration:.666*e,delay:o||.333*e})].join(","),t.style.opacity="0",t.style.transform=b(.75),p&&p(t)})),H=I(x);return s.useEffect((function(){return function(){clearTimeout(P.current)}}),[]),s.createElement(k,Object(r.a)({appear:!0,in:c,nodeRef:T?A:void 0,onEnter:L,onEntered:F,onEntering:N,onExit:z,onExited:H,onExiting:B,addEndListener:function(t,e){var n=T?t:e;"auto"===j&&(P.current=setTimeout(n,_.current||0))},timeout:"auto"===j?null:j},E),(function(t,e){return s.cloneElement(n,Object(r.a)({style:Object(r.a)({opacity:0,transform:b(.75),visibility:"exited"!==t||c?void 0:"hidden"},y[t],O,n.props.style),ref:D},e))}))}));x.muiSupportAuto=!0;var w=x,O=n(666),S=n(1165),j=n(1279),C=n(300),k=n(177);function E(t){return"function"===typeof t?t():t}var P="undefined"!==typeof window?s.useLayoutEffect:s.useEffect,_={},M=s.forwardRef((function(t,e){var n=t.anchorEl,o=t.children,a=t.container,l=t.disablePortal,c=void 0!==l&&l,u=t.keepMounted,d=void 0!==u&&u,f=t.modifiers,p=t.open,h=t.placement,v=void 0===h?"bottom":h,g=t.popperOptions,b=void 0===g?_:g,y=t.popperRef,x=t.style,w=t.transition,M=void 0!==w&&w,T=Object(i.a)(t,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),A=s.useRef(null),R=Object(m.a)(A,e),D=s.useRef(null),I=Object(m.a)(D,y),N=s.useRef(I);P((function(){N.current=I}),[I]),s.useImperativeHandle(y,(function(){return D.current}),[]);var L=s.useState(!0),F=L[0],B=L[1],z=function(t,e){if("ltr"===(e&&e.direction||"ltr"))return t;switch(t){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return t}}(v,Object(S.a)()),H=s.useState(z),V=H[0],U=H[1];s.useEffect((function(){D.current&&D.current.update()}));var W=s.useCallback((function(){if(A.current&&n&&p){D.current&&(D.current.destroy(),N.current(null));var t=function(t){U(t.placement)},e=(E(n),new O.a(E(n),A.current,Object(r.a)({placement:z},b,{modifiers:Object(r.a)({},c?{}:{preventOverflow:{boundariesElement:"window"}},f,b.modifiers),onCreate:Object(C.a)(t,b.onCreate),onUpdate:Object(C.a)(t,b.onUpdate)})));N.current(e)}}),[n,c,f,p,z,b]),q=s.useCallback((function(t){Object(k.a)(R,t),W()}),[R,W]),G=function(){D.current&&(D.current.destroy(),N.current(null))};if(s.useEffect((function(){return function(){G()}}),[]),s.useEffect((function(){p||M||G()}),[p,M]),!d&&!p&&(!M||F))return null;var Y={placement:V};return M&&(Y.TransitionProps={in:p,onEnter:function(){B(!1)},onExited:function(){B(!0),G()}}),s.createElement(j.a,{disablePortal:c,container:a},s.createElement("div",Object(r.a)({ref:q,role:"tooltip"},T,{style:Object(r.a)({position:"fixed",top:0,left:0,display:p||!d||M?null:"none"},x)}),"function"===typeof o?o(Y):o))}));var T=!0,A=!1,R=null,D={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function I(t){t.metaKey||t.altKey||t.ctrlKey||(T=!0)}function N(){T=!1}function L(){"hidden"===this.visibilityState&&A&&(T=!0)}function F(t){var e=t.target;try{return e.matches(":focus-visible")}catch(n){}return T||function(t){var e=t.type,n=t.tagName;return!("INPUT"!==n||!D[e]||t.readOnly)||"TEXTAREA"===n&&!t.readOnly||!!t.isContentEditable}(e)}function B(){A=!0,window.clearTimeout(R),R=window.setTimeout((function(){A=!1}),100)}function z(){return{isFocusVisible:F,onBlurVisible:B,ref:s.useCallback((function(t){var e,n=l.findDOMNode(t);null!=n&&((e=n.ownerDocument).addEventListener("keydown",I,!0),e.addEventListener("mousedown",N,!0),e.addEventListener("pointerdown",N,!0),e.addEventListener("touchstart",N,!0),e.addEventListener("visibilitychange",L,!0))}),[])}}function H(t){return Math.round(1e5*t)/1e5}var V=!1,U=null;var W=s.forwardRef((function(t,e){var n=t.arrow,a=void 0!==n&&n,d=t.children,f=t.classes,h=t.disableFocusListener,g=void 0!==h&&h,b=t.disableHoverListener,y=void 0!==b&&b,x=t.disableTouchListener,O=void 0!==x&&x,S=t.enterDelay,j=void 0===S?100:S,C=t.enterNextDelay,E=void 0===C?0:C,P=t.enterTouchDelay,_=void 0===P?700:P,T=t.id,A=t.interactive,R=void 0!==A&&A,D=t.leaveDelay,I=void 0===D?0:D,N=t.leaveTouchDelay,L=void 0===N?1500:N,F=t.onClose,B=t.onOpen,H=t.open,W=t.placement,q=void 0===W?"bottom":W,G=t.PopperComponent,Y=void 0===G?M:G,X=t.PopperProps,K=t.title,$=t.TransitionComponent,Z=void 0===$?w:$,Q=t.TransitionProps,J=Object(i.a)(t,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),tt=Object(v.a)(),et=s.useState(),nt=et[0],rt=et[1],ot=s.useState(null),it=ot[0],at=ot[1],st=s.useRef(!1),lt=s.useRef(),ct=s.useRef(),ut=s.useRef(),dt=s.useRef(),ft=function(t){var e=t.controlled,n=t.default,r=(t.name,t.state,s.useRef(void 0!==e).current),o=s.useState(n),i=o[0],a=o[1];return[r?e:i,s.useCallback((function(t){r||a(t)}),[])]}({controlled:H,default:!1,name:"Tooltip",state:"open"}),pt=Object(o.a)(ft,2),ht=pt[0],vt=pt[1],gt=ht,mt=function(t){var e=s.useState(t),n=e[0],r=e[1],o=t||n;return s.useEffect((function(){null==n&&r("mui-".concat(Math.round(1e5*Math.random())))}),[n]),o}(T);s.useEffect((function(){return function(){clearTimeout(lt.current),clearTimeout(ct.current),clearTimeout(ut.current),clearTimeout(dt.current)}}),[]);var bt=function(t){clearTimeout(U),V=!0,vt(!0),B&&B(t)},yt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){var n=d.props;"mouseover"===e.type&&n.onMouseOver&&t&&n.onMouseOver(e),st.current&&"touchstart"!==e.type||(nt&&nt.removeAttribute("title"),clearTimeout(ct.current),clearTimeout(ut.current),j||V&&E?(e.persist(),ct.current=setTimeout((function(){bt(e)}),V?E:j)):bt(e))}},xt=z(),wt=xt.isFocusVisible,Ot=xt.onBlurVisible,St=xt.ref,jt=s.useState(!1),Ct=jt[0],kt=jt[1],Et=function(){Ct&&(kt(!1),Ot())},Pt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){nt||rt(e.currentTarget),wt(e)&&(kt(!0),yt()(e));var n=d.props;n.onFocus&&t&&n.onFocus(e)}},_t=function(t){clearTimeout(U),U=setTimeout((function(){V=!1}),800+I),vt(!1),F&&F(t),clearTimeout(lt.current),lt.current=setTimeout((function(){st.current=!1}),tt.transitions.duration.shortest)},Mt=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(e){var n=d.props;"blur"===e.type&&(n.onBlur&&t&&n.onBlur(e),Et()),"mouseleave"===e.type&&n.onMouseLeave&&e.currentTarget===nt&&n.onMouseLeave(e),clearTimeout(ct.current),clearTimeout(ut.current),e.persist(),ut.current=setTimeout((function(){_t(e)}),I)}},Tt=function(t){st.current=!0;var e=d.props;e.onTouchStart&&e.onTouchStart(t)},At=Object(m.a)(rt,e),Rt=Object(m.a)(St,At),Dt=s.useCallback((function(t){Object(k.a)(Rt,l.findDOMNode(t))}),[Rt]),It=Object(m.a)(d.ref,Dt);""===K&&(gt=!1);var Nt=!gt&&!y,Lt=Object(r.a)({"aria-describedby":gt?mt:null,title:Nt&&"string"===typeof K?K:null},J,d.props,{className:Object(c.default)(J.className,d.props.className),onTouchStart:Tt,ref:It}),Ft={};O||(Lt.onTouchStart=function(t){Tt(t),clearTimeout(ut.current),clearTimeout(lt.current),clearTimeout(dt.current),t.persist(),dt.current=setTimeout((function(){yt()(t)}),_)},Lt.onTouchEnd=function(t){d.props.onTouchEnd&&d.props.onTouchEnd(t),clearTimeout(dt.current),clearTimeout(ut.current),t.persist(),ut.current=setTimeout((function(){_t(t)}),L)}),y||(Lt.onMouseOver=yt(),Lt.onMouseLeave=Mt(),R&&(Ft.onMouseOver=yt(!1),Ft.onMouseLeave=Mt(!1))),g||(Lt.onFocus=Pt(),Lt.onBlur=Mt(),R&&(Ft.onFocus=Pt(!1),Ft.onBlur=Mt(!1)));var Bt=s.useMemo((function(){return Object(u.a)({popperOptions:{modifiers:{arrow:{enabled:Boolean(it),element:it}}}},X)}),[it,X]);return s.createElement(s.Fragment,null,s.cloneElement(d,Lt),s.createElement(Y,Object(r.a)({className:Object(c.default)(f.popper,R&&f.popperInteractive,a&&f.popperArrow),placement:q,anchorEl:nt,open:!!nt&&gt,id:Lt["aria-describedby"],transition:!0},Ft,Bt),(function(t){var e=t.placement,n=t.TransitionProps;return s.createElement(Z,Object(r.a)({timeout:tt.transitions.duration.shorter},n,Q),s.createElement("div",{className:Object(c.default)(f.tooltip,f["tooltipPlacement".concat(Object(p.a)(e.split("-")[0]))],st.current&&f.touch,a&&f.tooltipArrow)},K,a?s.createElement("span",{className:f.arrow,ref:at}):null))})))}));e.a=Object(f.a)((function(t){return{popper:{zIndex:t.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:Object(d.a)(t.palette.grey[700],.9),borderRadius:t.shape.borderRadius,color:t.palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(10),lineHeight:"".concat(H(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:Object(d.a)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat(H(16/14),"em"),fontWeight:t.typography.fontWeightRegular},tooltipPlacementLeft:Object(a.a)({transformOrigin:"right center",margin:"0 24px "},t.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:Object(a.a)({transformOrigin:"left center",margin:"0 24px"},t.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:Object(a.a)({transformOrigin:"center bottom",margin:"24px 0"},t.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:Object(a.a)({transformOrigin:"center top",margin:"24px 0"},t.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(W)},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(311),l=n(2),c=n(5),u=n(437),d=(n(172),n(230)),f=n(154),p=n(15),h=n(721),v=n(168),g=n(187);function m(t){return Object(v.a)("MuiNativeSelect",t)}var b=Object(g.a)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),y=n(13),x=n(0),w=["className","disabled","IconComponent","inputRef","variant"],O=function(t){var e,n=t.ownerState,o=t.theme;return Object(r.a)((e={MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{backgroundColor:"light"===o.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"}},Object(c.a)(e,"&.".concat(b.disabled),{cursor:"default"}),Object(c.a)(e,"&[multiple]",{height:"auto"}),Object(c.a)(e,"&:not([multiple]) option, &:not([multiple]) optgroup",{backgroundColor:o.palette.background.paper}),Object(c.a)(e,"&&&",{paddingRight:24,minWidth:16}),e),"filled"===n.variant&&{"&&&":{paddingRight:32}},"outlined"===n.variant&&{borderRadius:o.shape.borderRadius,"&:focus":{borderRadius:o.shape.borderRadius},"&&&":{paddingRight:32}})},S=Object(y.a)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:y.b,overridesResolver:function(t,e){var n=t.ownerState;return[e.select,e[n.variant],Object(c.a)({},"&.".concat(b.multiple),e.multiple)]}})(O),j=function(t){var e=t.ownerState,n=t.theme;return Object(r.a)(Object(c.a)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:n.palette.action.active},"&.".concat(b.disabled),{color:n.palette.action.disabled}),e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7})},C=Object(y.a)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:function(t,e){var n=t.ownerState;return[e.icon,n.variant&&e["icon".concat(Object(p.a)(n.variant))],n.open&&e.iconOpen]}})(j),k=i.forwardRef((function(t,e){var n=t.className,s=t.disabled,l=t.IconComponent,c=t.inputRef,u=t.variant,f=void 0===u?"standard":u,h=Object(o.a)(t,w),v=Object(r.a)({},t,{disabled:s,variant:f}),g=function(t){var e=t.classes,n=t.variant,r=t.disabled,o=t.multiple,i=t.open,a={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon","icon".concat(Object(p.a)(n)),i&&"iconOpen",r&&"disabled"]};return Object(d.a)(a,m,e)}(v);return Object(x.jsxs)(i.Fragment,{children:[Object(x.jsx)(S,Object(r.a)({ownerState:v,className:Object(a.default)(g.select,n),disabled:s,ref:c||e},h)),t.multiple?null:Object(x.jsx)(C,{as:l,ownerState:v,className:g.icon})]})})),E=n(252),P=n(60),_=n(162);function M(t){return Object(v.a)("MuiSelect",t)}var T,A=Object(g.a)("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),R=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],D=Object(y.a)("div",{name:"MuiSelect",slot:"Select",overridesResolver:function(t,e){var n=t.ownerState;return[Object(c.a)({},"&.".concat(A.select),e.select),Object(c.a)({},"&.".concat(A.select),e[n.variant]),Object(c.a)({},"&.".concat(A.multiple),e.multiple)]}})(O,Object(c.a)({},"&.".concat(A.select),{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"})),I=Object(y.a)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:function(t,e){var n=t.ownerState;return[e.icon,n.variant&&e["icon".concat(Object(p.a)(n.variant))],n.open&&e.iconOpen]}})(j),N=Object(y.a)("input",{shouldForwardProp:function(t){return Object(y.c)(t)&&"classes"!==t},name:"MuiSelect",slot:"NativeInput",overridesResolver:function(t,e){return e.nativeInput}})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function L(t,e){return"object"===typeof e&&null!==e?t===e:String(t)===String(e)}function F(t){return null==t||"string"===typeof t&&!t.trim()}var B,z,H=i.forwardRef((function(t,e){var n=t["aria-describedby"],s=t["aria-label"],c=t.autoFocus,v=t.autoWidth,g=t.children,m=t.className,b=t.defaultOpen,y=t.defaultValue,w=t.disabled,O=t.displayEmpty,S=t.IconComponent,j=t.inputRef,C=t.labelId,k=t.MenuProps,A=void 0===k?{}:k,B=t.multiple,z=t.name,H=t.onBlur,V=t.onChange,U=t.onClose,W=t.onFocus,q=t.onOpen,G=t.open,Y=t.readOnly,X=t.renderValue,K=t.SelectDisplayProps,$=void 0===K?{}:K,Z=t.tabIndex,Q=t.value,J=t.variant,tt=void 0===J?"standard":J,et=Object(o.a)(t,R),nt=Object(_.a)({controlled:Q,default:y,name:"Select"}),rt=Object(l.a)(nt,2),ot=rt[0],it=rt[1],at=Object(_.a)({controlled:G,default:b,name:"Select"}),st=Object(l.a)(at,2),lt=st[0],ct=st[1],ut=i.useRef(null),dt=i.useRef(null),ft=i.useState(null),pt=Object(l.a)(ft,2),ht=pt[0],vt=pt[1],gt=i.useRef(null!=G).current,mt=i.useState(),bt=Object(l.a)(mt,2),yt=bt[0],xt=bt[1],wt=Object(P.a)(e,j),Ot=i.useCallback((function(t){dt.current=t,t&&vt(t)}),[]);i.useImperativeHandle(wt,(function(){return{focus:function(){dt.current.focus()},node:ut.current,value:ot}}),[ot]),i.useEffect((function(){b&&lt&&ht&&!gt&&(xt(v?null:ht.clientWidth),dt.current.focus())}),[ht,v]),i.useEffect((function(){c&&dt.current.focus()}),[c]),i.useEffect((function(){if(C){var t=Object(f.a)(dt.current).getElementById(C);if(t){var e=function(){getSelection().isCollapsed&&dt.current.focus()};return t.addEventListener("click",e),function(){t.removeEventListener("click",e)}}}}),[C]);var St,jt,Ct=function(t,e){t?q&&q(e):U&&U(e),gt||(xt(v?null:ht.clientWidth),ct(t))},kt=i.Children.toArray(g),Et=function(t){return function(e){var n;if(e.currentTarget.hasAttribute("tabindex")){if(B){n=Array.isArray(ot)?ot.slice():[];var r=ot.indexOf(t.props.value);-1===r?n.push(t.props.value):n.splice(r,1)}else n=t.props.value;if(t.props.onClick&&t.props.onClick(e),ot!==n&&(it(n),V)){var o=e.nativeEvent||e,i=new o.constructor(o.type,o);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:z}}),V(i,t)}B||Ct(!1,e)}}},Pt=null!==ht&&lt;delete et["aria-invalid"];var _t=[],Mt=!1;(Object(E.b)({value:ot})||O)&&(X?St=X(ot):Mt=!0);var Tt=kt.map((function(t,e,n){if(!i.isValidElement(t))return null;var r;if(B){if(!Array.isArray(ot))throw new Error(Object(u.a)(2));(r=ot.some((function(e){return L(e,t.props.value)})))&&Mt&&_t.push(t.props.children)}else(r=L(ot,t.props.value))&&Mt&&(jt=t.props.children);if(r&&!0,void 0===t.props.value)return i.cloneElement(t,{"aria-readonly":!0,role:"option"});return i.cloneElement(t,{"aria-selected":r?"true":"false",onClick:Et(t),onKeyUp:function(e){" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:void 0===n[0].props.value||!0===n[0].props.disabled?function(){if(ot)return r;var e=n.find((function(t){return void 0!==t.props.value&&!0!==t.props.disabled}));return t===e||r}():r,value:void 0,"data-value":t.props.value})}));Mt&&(St=B?0===_t.length?null:_t.reduce((function(t,e,n){return t.push(e),n<_t.length-1&&t.push(", "),t}),[]):jt);var At,Rt=yt;!v&&gt&&ht&&(Rt=ht.clientWidth),At="undefined"!==typeof Z?Z:w?null:0;var Dt=$.id||(z?"mui-component-select-".concat(z):void 0),It=Object(r.a)({},t,{variant:tt,value:ot,open:Pt}),Nt=function(t){var e=t.classes,n=t.variant,r=t.disabled,o=t.multiple,i=t.open,a={select:["select",n,r&&"disabled",o&&"multiple"],icon:["icon","icon".concat(Object(p.a)(n)),i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Object(d.a)(a,M,e)}(It);return Object(x.jsxs)(i.Fragment,{children:[Object(x.jsx)(D,Object(r.a)({ref:Ot,tabIndex:At,role:"button","aria-disabled":w?"true":void 0,"aria-expanded":Pt?"true":"false","aria-haspopup":"listbox","aria-label":s,"aria-labelledby":[C,Dt].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:function(t){if(!Y){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(t.key)&&(t.preventDefault(),Ct(!0,t))}},onMouseDown:w||Y?null:function(t){0===t.button&&(t.preventDefault(),dt.current.focus(),Ct(!0,t))},onBlur:function(t){!Pt&&H&&(Object.defineProperty(t,"target",{writable:!0,value:{value:ot,name:z}}),H(t))},onFocus:W},$,{ownerState:It,className:Object(a.default)(Nt.select,m,$.className),id:Dt,children:F(St)?T||(T=Object(x.jsx)("span",{className:"notranslate",children:"\u200b"})):St})),Object(x.jsx)(N,Object(r.a)({value:Array.isArray(ot)?ot.join(","):ot,name:z,ref:ut,"aria-hidden":!0,onChange:function(t){var e=kt.map((function(t){return t.props.value})).indexOf(t.target.value);if(-1!==e){var n=kt[e];it(n.props.value),V&&V(t,n)}},tabIndex:-1,disabled:w,className:Nt.nativeInput,autoFocus:c,ownerState:It},et)),Object(x.jsx)(I,{as:S,className:Nt.icon,ownerState:It}),Object(x.jsx)(h.a,Object(r.a)({id:"menu-".concat(z||""),anchorEl:ht,open:Pt,onClose:function(t){Ct(!1,t)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},A,{MenuListProps:Object(r.a)({"aria-labelledby":C,role:"listbox",disableListWrap:!0},A.MenuListProps),PaperProps:Object(r.a)({},A.PaperProps,{style:Object(r.a)({minWidth:Rt},null!=A.PaperProps?A.PaperProps.style:null)}),children:Tt}))]})})),V=n(121),U=n(104),W=n(404),q=n(1265),G=n(1266),Y=n(1352),X=n(17),K=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],$={name:"MuiSelect",overridesResolver:function(t,e){return e.root},shouldForwardProp:function(t){return Object(y.b)(t)&&"variant"!==t},slot:"Root"},Z=Object(y.a)(q.a,$)(""),Q=Object(y.a)(Y.a,$)(""),J=Object(y.a)(G.a,$)(""),tt=i.forwardRef((function(t,e){var n=Object(X.a)({name:"MuiSelect",props:t}),l=n.autoWidth,c=void 0!==l&&l,u=n.children,d=n.classes,f=void 0===d?{}:d,p=n.className,h=n.defaultOpen,v=void 0!==h&&h,g=n.displayEmpty,m=void 0!==g&&g,b=n.IconComponent,y=void 0===b?W.a:b,w=n.id,O=n.input,S=n.inputProps,j=n.label,C=n.labelId,E=n.MenuProps,_=n.multiple,M=void 0!==_&&_,T=n.native,A=void 0!==T&&T,R=n.onClose,D=n.onOpen,I=n.open,N=n.renderValue,L=n.SelectDisplayProps,F=n.variant,q=void 0===F?"outlined":F,G=Object(o.a)(n,K),Y=A?k:H,$=Object(U.a)(),tt=Object(V.a)({props:n,muiFormControl:$,states:["variant"]}).variant||q,et=O||{standard:B||(B=Object(x.jsx)(Z,{})),outlined:Object(x.jsx)(Q,{label:j}),filled:z||(z=Object(x.jsx)(J,{}))}[tt],nt=function(t){return t.classes}(Object(r.a)({},n,{variant:tt,classes:f})),rt=Object(P.a)(e,et.ref);return i.cloneElement(et,Object(r.a)({inputComponent:Y,inputProps:Object(r.a)({children:u,IconComponent:y,variant:tt,type:void 0,multiple:M},A?{id:w}:{autoWidth:c,defaultOpen:v,displayEmpty:m,labelId:C,MenuProps:E,onClose:R,onOpen:D,open:I,renderValue:N,SelectDisplayProps:Object(r.a)({id:w},L)},S,{classes:S?Object(s.a)(nt,S.classes):nt},O?O.props.inputProps:{})},M&&A&&"outlined"===tt?{notched:!0}:{},{ref:rt,className:Object(a.default)(et.props.className,p),variant:tt},G))}));tt.muiName="Select";e.a=tt},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(230),l=n(167),c=n(436),u=n(66),d=n(0),f=Object(u.a)(Object(d.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),p=Object(u.a)(Object(d.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),h=Object(u.a)(Object(d.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"),v=n(15),g=n(17),m=n(13),b=n(168),y=n(187);function x(t){return Object(b.a)("MuiCheckbox",t)}var w=Object(y.a)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),O=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size"],S=Object(m.a)(c.a,{shouldForwardProp:function(t){return Object(m.b)(t)||"classes"===t},name:"MuiCheckbox",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.indeterminate&&e.indeterminate,"default"!==n.color&&e["color".concat(Object(v.a)(n.color))]]}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)({color:(n.vars||n).palette.text.secondary},!o.disableRipple&&{"&:hover":{backgroundColor:n.vars?"rgba(".concat("default"===o.color?n.vars.palette.action.activeChannel:n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.hoverOpacity,")"):Object(l.a)("default"===o.color?n.palette.action.active:n.palette[o.color].main,n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==o.color&&(e={},Object(r.a)(e,"&.".concat(w.checked,", &.").concat(w.indeterminate),{color:(n.vars||n).palette[o.color].main}),Object(r.a)(e,"&.".concat(w.disabled),{color:(n.vars||n).palette.action.disabled}),e))})),j=Object(d.jsx)(p,{}),C=Object(d.jsx)(f,{}),k=Object(d.jsx)(h,{}),E=a.forwardRef((function(t,e){var n,r,l=Object(g.a)({props:t,name:"MuiCheckbox"}),c=l.checkedIcon,u=void 0===c?j:c,f=l.color,p=void 0===f?"primary":f,h=l.icon,m=void 0===h?C:h,b=l.indeterminate,y=void 0!==b&&b,w=l.indeterminateIcon,E=void 0===w?k:w,P=l.inputProps,_=l.size,M=void 0===_?"medium":_,T=Object(o.a)(l,O),A=y?E:m,R=y?E:u,D=Object(i.a)({},l,{color:p,indeterminate:y,size:M}),I=function(t){var e=t.classes,n=t.indeterminate,r=t.color,o={root:["root",n&&"indeterminate","color".concat(Object(v.a)(r))]},a=Object(s.a)(o,x,e);return Object(i.a)({},e,a)}(D);return Object(d.jsx)(S,Object(i.a)({type:"checkbox",inputProps:Object(i.a)({"data-indeterminate":y},P),icon:a.cloneElement(A,{fontSize:null!=(n=A.props.fontSize)?n:M}),checkedIcon:a.cloneElement(R,{fontSize:null!=(r=R.props.fontSize)?r:M}),ownerState:D,ref:e},T,{classes:I}))}));e.a=E},function(t,e,n){"use strict";var r,o=new Uint8Array(16);function i(){if(!r&&!(r="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(o)}var a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var s=function(t){return"string"===typeof t&&a.test(t)},l=[],c=0;c<256;++c)l.push((c+256).toString(16).substr(1));var u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(l[t[e+0]]+l[t[e+1]]+l[t[e+2]]+l[t[e+3]]+"-"+l[t[e+4]]+l[t[e+5]]+"-"+l[t[e+6]]+l[t[e+7]]+"-"+l[t[e+8]]+l[t[e+9]]+"-"+l[t[e+10]]+l[t[e+11]]+l[t[e+12]]+l[t[e+13]]+l[t[e+14]]+l[t[e+15]]).toLowerCase();if(!s(n))throw TypeError("Stringified UUID is invalid");return n};e.a=function(t,e,n){var r=(t=t||{}).random||(t.rng||i)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var o=0;o<16;++o)e[n+o]=r[o];return e}return u(r)}},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(729),c=n(13),u=n(17),d=n(1265),f=n(1266),p=n(1352),h=n(1307),v=n(1329),g=n(5),m=n(121),b=n(104),y=n(15),x=n(168),w=n(187);function O(t){return Object(x.a)("MuiFormHelperText",t)}var S,j=Object(w.a)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]),C=n(0),k=["children","className","component","disabled","error","filled","focused","margin","required","variant"],E=Object(c.a)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.size&&e["size".concat(Object(y.a)(n.size))],n.contained&&e.contained,n.filled&&e.filled]}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(r.a)({color:(n.vars||n).palette.text.secondary},n.typography.caption,(e={textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0},Object(g.a)(e,"&.".concat(j.disabled),{color:(n.vars||n).palette.text.disabled}),Object(g.a)(e,"&.".concat(j.error),{color:(n.vars||n).palette.error.main}),e),"small"===o.size&&{marginTop:4},o.contained&&{marginLeft:14,marginRight:14})})),P=i.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiFormHelperText"}),i=n.children,l=n.className,c=n.component,d=void 0===c?"p":c,f=Object(o.a)(n,k),p=Object(b.a)(),h=Object(m.a)({props:n,muiFormControl:p,states:["variant","size","disabled","error","filled","focused","required"]}),v=Object(r.a)({},n,{component:d,contained:"filled"===h.variant||"outlined"===h.variant,variant:h.variant,size:h.size,disabled:h.disabled,error:h.error,filled:h.filled,focused:h.focused,required:h.required}),g=function(t){var e=t.classes,n=t.contained,r=t.size,o=t.disabled,i=t.error,a=t.filled,l=t.focused,c=t.required,u={root:["root",o&&"disabled",i&&"error",r&&"size".concat(Object(y.a)(r)),n&&"contained",l&&"focused",a&&"filled",c&&"required"]};return Object(s.a)(u,O,e)}(v);return Object(C.jsx)(E,Object(r.a)({as:d,ownerState:v,className:Object(a.default)(g.root,l),ref:e},f,{children:" "===i?S||(S=Object(C.jsx)("span",{className:"notranslate",children:"\u200b"})):i}))})),_=n(1303);function M(t){return Object(x.a)("MuiTextField",t)}Object(w.a)("MuiTextField",["root"]);var T=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],A={standard:d.a,filled:f.a,outlined:p.a},R=Object(c.a)(v.a,{name:"MuiTextField",slot:"Root",overridesResolver:function(t,e){return e.root}})({}),D=i.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiTextField"}),i=n.autoComplete,c=n.autoFocus,d=void 0!==c&&c,f=n.children,p=n.className,v=n.color,g=void 0===v?"primary":v,m=n.defaultValue,b=n.disabled,y=void 0!==b&&b,x=n.error,w=void 0!==x&&x,O=n.FormHelperTextProps,S=n.fullWidth,j=void 0!==S&&S,k=n.helperText,E=n.id,D=n.InputLabelProps,I=n.inputProps,N=n.InputProps,L=n.inputRef,F=n.label,B=n.maxRows,z=n.minRows,H=n.multiline,V=void 0!==H&&H,U=n.name,W=n.onBlur,q=n.onChange,G=n.onFocus,Y=n.placeholder,X=n.required,K=void 0!==X&&X,$=n.rows,Z=n.select,Q=void 0!==Z&&Z,J=n.SelectProps,tt=n.type,et=n.value,nt=n.variant,rt=void 0===nt?"outlined":nt,ot=Object(o.a)(n,T),it=Object(r.a)({},n,{autoFocus:d,color:g,disabled:y,error:w,fullWidth:j,multiline:V,required:K,select:Q,variant:rt}),at=function(t){var e=t.classes;return Object(s.a)({root:["root"]},M,e)}(it);var st={};"outlined"===rt&&(D&&"undefined"!==typeof D.shrink&&(st.notched=D.shrink),st.label=F),Q&&(J&&J.native||(st.id=void 0),st["aria-describedby"]=void 0);var lt=Object(l.a)(E),ct=k&&lt?"".concat(lt,"-helper-text"):void 0,ut=F&&lt?"".concat(lt,"-label"):void 0,dt=A[rt],ft=Object(C.jsx)(dt,Object(r.a)({"aria-describedby":ct,autoComplete:i,autoFocus:d,defaultValue:m,fullWidth:j,multiline:V,name:U,rows:$,maxRows:B,minRows:z,type:tt,value:et,id:lt,inputRef:L,onBlur:W,onChange:q,onFocus:G,placeholder:Y,inputProps:I},st,N));return Object(C.jsxs)(R,Object(r.a)({className:Object(a.default)(at.root,p),disabled:y,error:w,fullWidth:j,ref:e,required:K,color:g,variant:rt,ownerState:it},ot,{children:[null!=F&&""!==F&&Object(C.jsx)(h.a,Object(r.a)({htmlFor:lt,id:ut},D,{children:F})),Q?Object(C.jsx)(_.a,Object(r.a)({"aria-describedby":ct,id:lt,labelId:ut,value:et,input:ft},J,{children:f})):ft,k&&Object(C.jsx)(P,Object(r.a)({id:ct},O,{children:k}))]}))}));e.a=D},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(230),l=n(121),c=n(104),u=n(10),d=n(15),f=n(17),p=n(13),h=n(168),v=n(187);function g(t){return Object(h.a)("MuiFormLabel",t)}var m=Object(v.a)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),b=n(0),y=["children","className","color","component","disabled","error","filled","focused","required"],x=Object(p.a)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return Object(i.a)({},e.root,"secondary"===n.color&&e.colorSecondary,n.filled&&e.filled)}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)({color:(n.vars||n).palette.text.secondary},n.typography.body1,(e={lineHeight:"1.4375em",padding:0,position:"relative"},Object(r.a)(e,"&.".concat(m.focused),{color:(n.vars||n).palette[o.color].main}),Object(r.a)(e,"&.".concat(m.disabled),{color:(n.vars||n).palette.text.disabled}),Object(r.a)(e,"&.".concat(m.error),{color:(n.vars||n).palette.error.main}),e))})),w=Object(p.a)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:function(t,e){return e.asterisk}})((function(t){var e=t.theme;return Object(r.a)({},"&.".concat(m.error),{color:(e.vars||e).palette.error.main})})),O=a.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiFormLabel"}),r=n.children,a=n.className,p=n.component,h=void 0===p?"label":p,v=Object(o.a)(n,y),m=Object(c.a)(),O=Object(l.a)({props:n,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]}),S=Object(i.a)({},n,{color:O.color||"primary",component:h,disabled:O.disabled,error:O.error,filled:O.filled,focused:O.focused,required:O.required}),j=function(t){var e=t.classes,n=t.color,r=t.focused,o=t.disabled,i=t.error,a=t.filled,l=t.required,c={root:["root","color".concat(Object(d.a)(n)),o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return Object(s.a)(c,g,e)}(S);return Object(b.jsxs)(x,Object(i.a)({as:h,ownerState:S,className:Object(u.default)(j.root,a),ref:e},v,{children:[r,O.required&&Object(b.jsxs)(w,{ownerState:S,"aria-hidden":!0,className:j.asterisk,children:["\u2009","*"]})]}))}));function S(t){return Object(h.a)("MuiInputLabel",t)}Object(v.a)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var j=["disableAnimation","margin","shrink","variant"],C=Object(p.a)(O,{shouldForwardProp:function(t){return Object(p.b)(t)||"classes"===t},name:"MuiInputLabel",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[Object(r.a)({},"& .".concat(m.asterisk),e.asterisk),e.root,n.formControl&&e.formControl,"small"===n.size&&e.sizeSmall,n.shrink&&e.shrink,!n.disableAnimation&&e.animated,e[n.variant]]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},n.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===n.size&&{transform:"translate(0, 17px) scale(1)"},n.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!n.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===n.variant&&Object(i.a)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(12px, 13px) scale(1)"},n.shrink&&Object(i.a)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===n.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===n.variant&&Object(i.a)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===n.size&&{transform:"translate(14px, 9px) scale(1)"},n.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))})),k=a.forwardRef((function(t,e){var n=Object(f.a)({name:"MuiInputLabel",props:t}),r=n.disableAnimation,a=void 0!==r&&r,u=n.shrink,d=Object(o.a)(n,j),p=Object(c.a)(),h=u;"undefined"===typeof h&&p&&(h=p.filled||p.focused||p.adornedStart);var v=Object(l.a)({props:n,muiFormControl:p,states:["size","variant","required"]}),g=Object(i.a)({},n,{disableAnimation:a,formControl:p,shrink:h,size:v.size,variant:v.variant,required:v.required}),m=function(t){var e=t.classes,n=t.formControl,r=t.size,o=t.shrink,a={root:["root",n&&"formControl",!t.disableAnimation&&"animated",o&&"shrink","small"===r&&"sizeSmall",t.variant],asterisk:[t.required&&"asterisk"]},l=Object(s.a)(a,S,e);return Object(i.a)({},e,l)}(g);return Object(b.jsx)(C,Object(i.a)({"data-shrink":h,ownerState:g,ref:e},d,{classes:m}))}));e.a=k},function(t,e,n){"use strict";var r=n(2),o=n(12),i=n(3),a=n(1),s=n(187),l=n(168);function c(t){return Object(l.a)("MuiModal",t)}Object(s.a)("MuiModal",["root","hidden"]);var u=n(442),d=n(229),f=n(312),p=n(1269),h=n(230),v=n(1270),g=n(25),m=n(23),b=n(14),y=n(1160),x=n(1268);function w(t,e){e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden")}function O(t){return parseInt(Object(y.a)(t).getComputedStyle(t).paddingRight,10)||0}function S(t){var e=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(t.tagName),n="INPUT"===t.tagName&&"hidden"===t.getAttribute("type");return e||n}function j(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[e,n].concat(Object(b.a)(r));[].forEach.call(t.children,(function(t){var e=-1===i.indexOf(t),n=!S(t);e&&n&&w(t,o)}))}function C(t,e){var n=-1;return t.some((function(t,r){return!!e(t)&&(n=r,!0)})),n}function k(t,e){var n=[],r=t.container;if(!e.disableScrollLock){if(function(t){var e=Object(d.a)(t);return e.body===t?Object(y.a)(t).innerWidth>e.documentElement.clientWidth:t.scrollHeight>t.clientHeight}(r)){var o=Object(x.a)(Object(d.a)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight="".concat(O(r)+o,"px");var i=Object(d.a)(r).querySelectorAll(".mui-fixed");[].forEach.call(i,(function(t){n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(O(t)+o,"px")}))}var a;if(r.parentNode instanceof DocumentFragment)a=Object(d.a)(r).body;else{var s=r.parentElement,l=Object(y.a)(r);a="HTML"===(null==s?void 0:s.nodeName)&&"scroll"===l.getComputedStyle(s).overflowY?s:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return function(){n.forEach((function(t){var e=t.value,n=t.el,r=t.property;e?n.style.setProperty(r,e):n.style.removeProperty(r)}))}}var E=function(){function t(){Object(g.a)(this,t),this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}return Object(m.a)(t,[{key:"add",value:function(t,e){var n=this.modals.indexOf(t);if(-1!==n)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&w(t.modalRef,!1);var r=function(t){var e=[];return[].forEach.call(t.children,(function(t){"true"===t.getAttribute("aria-hidden")&&e.push(t)})),e}(e);j(e,t.mount,t.modalRef,r,!0);var o=C(this.containers,(function(t){return t.container===e}));return-1!==o?(this.containers[o].modals.push(t),n):(this.containers.push({modals:[t],container:e,restore:null,hiddenSiblings:r}),n)}},{key:"mount",value:function(t,e){var n=C(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),r=this.containers[n];r.restore||(r.restore=k(r,e))}},{key:"remove",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.modals.indexOf(t);if(-1===n)return n;var r=C(this.containers,(function(e){return-1!==e.modals.indexOf(t)})),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),t.modalRef&&w(t.modalRef,e),j(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{var i=o.modals[o.modals.length-1];i.modalRef&&w(i.modalRef,!1)}return n}},{key:"isTopModal",value:function(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}]),t}(),P=n(1271),_=n(207),M=n(0),T=["children","classes","closeAfterTransition","component","components","componentsProps","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited"];var A=new E,R=a.forwardRef((function(t,e){var n,s=t.children,l=t.classes,g=t.closeAfterTransition,m=void 0!==g&&g,b=t.component,y=void 0===b?"div":b,x=t.components,O=void 0===x?{}:x,S=t.componentsProps,j=void 0===S?{}:S,C=t.container,k=t.disableAutoFocus,E=void 0!==k&&k,R=t.disableEnforceFocus,D=void 0!==R&&R,I=t.disableEscapeKeyDown,N=void 0!==I&&I,L=t.disablePortal,F=void 0!==L&&L,B=t.disableRestoreFocus,z=void 0!==B&&B,H=t.disableScrollLock,V=void 0!==H&&H,U=t.hideBackdrop,W=void 0!==U&&U,q=t.keepMounted,G=void 0!==q&&q,Y=t.manager,X=void 0===Y?A:Y,K=t.onBackdropClick,$=t.onClose,Z=t.onKeyDown,Q=t.open,J=t.onTransitionEnter,tt=t.onTransitionExited,et=Object(o.a)(t,T),nt=a.useState(!0),rt=Object(r.a)(nt,2),ot=rt[0],it=rt[1],at=a.useRef({}),st=a.useRef(null),lt=a.useRef(null),ct=Object(u.a)(lt,e),ut=function(t){return!!t.children&&t.children.props.hasOwnProperty("in")}(t),dt=null==(n=t["aria-hidden"])||n,ft=function(){return at.current.modalRef=lt.current,at.current.mountNode=st.current,at.current},pt=function(){X.mount(ft(),{disableScrollLock:V}),lt.current.scrollTop=0},ht=Object(f.a)((function(){var t=function(t){return"function"===typeof t?t():t}(C)||Object(d.a)(st.current).body;X.add(ft(),t),lt.current&&pt()})),vt=a.useCallback((function(){return X.isTopModal(ft())}),[X]),gt=Object(f.a)((function(t){st.current=t,t&&(Q&&vt()?pt():w(lt.current,dt))})),mt=a.useCallback((function(){X.remove(ft(),dt)}),[X,dt]);a.useEffect((function(){return function(){mt()}}),[mt]),a.useEffect((function(){Q?ht():ut&&m||mt()}),[Q,mt,ut,m,ht]);var bt=Object(i.a)({},t,{classes:l,closeAfterTransition:m,disableAutoFocus:E,disableEnforceFocus:D,disableEscapeKeyDown:N,disablePortal:F,disableRestoreFocus:z,disableScrollLock:V,exited:ot,hideBackdrop:W,keepMounted:G}),yt=function(t){var e=t.open,n=t.exited,r=t.classes,o={root:["root",!e&&n&&"hidden"]};return Object(h.a)(o,c,r)}(bt),xt={};void 0===s.props.tabIndex&&(xt.tabIndex="-1"),ut&&(xt.onEnter=Object(p.a)((function(){it(!1),J&&J()}),s.props.onEnter),xt.onExited=Object(p.a)((function(){it(!0),tt&&tt(),m&&mt()}),s.props.onExited));var wt=O.Root||y,Ot=Object(_.a)({elementType:wt,externalSlotProps:j.root,externalForwardedProps:et,additionalProps:{ref:ct,role:"presentation",onKeyDown:function(t){Z&&Z(t),"Escape"===t.key&&vt()&&(N||(t.stopPropagation(),$&&$(t,"escapeKeyDown")))}},className:yt.root,ownerState:bt}),St=O.Backdrop,jt=Object(_.a)({elementType:St,externalSlotProps:j.backdrop,additionalProps:{"aria-hidden":!0,onClick:function(t){t.target===t.currentTarget&&(K&&K(t),$&&$(t,"backdropClick"))},open:Q},ownerState:bt});return G||Q||ut&&!ot?Object(M.jsx)(v.a,{ref:gt,container:C,disablePortal:F,children:Object(M.jsxs)(wt,Object(i.a)({},Ot,{children:[!W&&St?Object(M.jsx)(St,Object(i.a)({},jt)):null,Object(M.jsx)(P.a,{disableEnforceFocus:D,disableAutoFocus:E,disableRestoreFocus:z,isEnabled:vt,open:Q,children:a.cloneElement(s,xt)})]}))}):null})),D=n(657),I=n(257),N=n(13),L=n(17),F=n(1353),B=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","theme"],z=Object(N.a)("div",{name:"MuiModal",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,!n.open&&n.exited&&e.hidden]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!n.open&&n.exited&&{visibility:"hidden"})})),H=Object(N.a)(F.a,{name:"MuiModal",slot:"Backdrop",overridesResolver:function(t,e){return e.backdrop}})({zIndex:-1}),V=a.forwardRef((function(t,e){var n,s,l=Object(L.a)({name:"MuiModal",props:t}),c=l.BackdropComponent,u=void 0===c?H:c,d=l.BackdropProps,f=l.closeAfterTransition,p=void 0!==f&&f,h=l.children,v=l.component,g=l.components,m=void 0===g?{}:g,b=l.componentsProps,y=void 0===b?{}:b,x=l.disableAutoFocus,w=void 0!==x&&x,O=l.disableEnforceFocus,S=void 0!==O&&O,j=l.disableEscapeKeyDown,C=void 0!==j&&j,k=l.disablePortal,E=void 0!==k&&k,P=l.disableRestoreFocus,_=void 0!==P&&P,T=l.disableScrollLock,A=void 0!==T&&T,N=l.hideBackdrop,F=void 0!==N&&N,V=l.keepMounted,U=void 0!==V&&V,W=l.theme,q=Object(o.a)(l,B),G=a.useState(!0),Y=Object(r.a)(G,2),X=Y[0],K=Y[1],$={closeAfterTransition:p,disableAutoFocus:w,disableEnforceFocus:S,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:_,disableScrollLock:A,hideBackdrop:F,keepMounted:U},Z=Object(i.a)({},l,$,{exited:X}),Q=function(t){return t.classes}(Z),J=null!=(n=null!=(s=m.Root)?s:v)?n:z;return Object(M.jsx)(R,Object(i.a)({components:Object(i.a)({Root:J,Backdrop:u},m),componentsProps:{root:function(){return Object(i.a)({},Object(D.a)(y.root,Z),!Object(I.a)(J)&&{as:v,theme:W})},backdrop:function(){return Object(i.a)({},d,Object(D.a)(y.backdrop,Z))}},onTransitionEnter:function(){return K(!1)},onTransitionExited:function(){return K(!0)},ref:e},q,{classes:Q},$,{children:h}))}));e.a=V},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(17),c=n(13),u=n(168),d=n(187);function f(t){return Object(u.a)("MuiStepper",t)}Object(d.a)("MuiStepper",["root","horizontal","vertical","alternativeLabel"]);var p=n(15),h=n(221),v=n(286);function g(t){return Object(u.a)("MuiStepConnector",t)}Object(d.a)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);var m=n(0),b=["className"],y=Object(c.a)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.orientation],n.alternativeLabel&&e.alternativeLabel,n.completed&&e.completed]}})((function(t){var e=t.ownerState;return Object(o.a)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})})),x=Object(c.a)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:function(t,e){var n=t.ownerState;return[e.line,e["line".concat(Object(p.a)(n.orientation))]]}})((function(t){var e=t.ownerState,n=t.theme,r="light"===n.palette.mode?n.palette.grey[400]:n.palette.grey[600];return Object(o.a)({display:"block",borderColor:n.vars?n.vars.palette.StepConnector.border:r},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),w=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiStepConnector"}),c=n.className,u=Object(r.a)(n,b),d=i.useContext(h.a),f=d.alternativeLabel,w=d.orientation,O=void 0===w?"horizontal":w,S=i.useContext(v.a),j=S.active,C=S.disabled,k=S.completed,E=Object(o.a)({},n,{alternativeLabel:f,orientation:O,active:j,completed:k,disabled:C}),P=function(t){var e=t.classes,n=t.orientation,r={root:["root",n,t.alternativeLabel&&"alternativeLabel",t.active&&"active",t.completed&&"completed",t.disabled&&"disabled"],line:["line","line".concat(Object(p.a)(n))]};return Object(s.a)(r,g,e)}(E);return Object(m.jsx)(y,Object(o.a)({className:Object(a.default)(P.root,c),ref:e,ownerState:E},u,{children:Object(m.jsx)(x,{className:P.line,ownerState:E})}))})),O=["activeStep","alternativeLabel","children","className","connector","nonLinear","orientation"],S=Object(c.a)("div",{name:"MuiStepper",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.orientation],n.alternativeLabel&&e.alternativeLabel]}})((function(t){var e=t.ownerState;return Object(o.a)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"})})),j=Object(m.jsx)(w,{}),C=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiStepper"}),c=n.activeStep,u=void 0===c?0:c,d=n.alternativeLabel,p=void 0!==d&&d,v=n.children,g=n.className,b=n.connector,y=void 0===b?j:b,x=n.nonLinear,w=void 0!==x&&x,C=n.orientation,k=void 0===C?"horizontal":C,E=Object(r.a)(n,O),P=Object(o.a)({},n,{alternativeLabel:p,orientation:k}),_=function(t){var e=t.orientation,n=t.alternativeLabel,r=t.classes,o={root:["root",e,n&&"alternativeLabel"]};return Object(s.a)(o,f,r)}(P),M=i.Children.toArray(v).filter(Boolean),T=M.map((function(t,e){return i.cloneElement(t,Object(o.a)({index:e,last:e+1===M.length},t.props))})),A=i.useMemo((function(){return{activeStep:u,alternativeLabel:p,connector:y,nonLinear:w,orientation:k}}),[u,p,y,w,k]);return Object(m.jsx)(h.a.Provider,{value:A,children:Object(m.jsx)(S,Object(o.a)({ownerState:P,className:Object(a.default)(_.root,g),ref:e},E,{children:T}))})}));e.a=C},function(t,e,n){"use strict";var r=n(2),o=n(5),i=n(12),a=n(3),s=n(1),l=n(10),c=n(230),u=n(1272),d=n(13),f=n(52),p=n(17),h=n(123),v=n(15),g=n(730),m=n(167),b=n(1330),y=n(168),x=n(187);function w(t){return Object(y.a)("MuiSnackbarContent",t)}Object(x.a)("MuiSnackbarContent",["root","message","action"]);var O=n(0),S=["action","className","message","role"],j=Object(d.a)(b.a,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e=t.theme,n="light"===e.palette.mode?.8:.98,r=Object(m.c)(e.palette.background.default,n);return Object(a.a)({},e.typography.body2,Object(o.a)({color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(r),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}))})),C=Object(d.a)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:function(t,e){return e.message}})({padding:"8px 0"}),k=Object(d.a)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:function(t,e){return e.action}})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),E=s.forwardRef((function(t,e){var n=Object(p.a)({props:t,name:"MuiSnackbarContent"}),r=n.action,o=n.className,s=n.message,u=n.role,d=void 0===u?"alert":u,f=Object(i.a)(n,S),h=n,v=function(t){var e=t.classes;return Object(c.a)({root:["root"],action:["action"],message:["message"]},w,e)}(h);return Object(O.jsxs)(j,Object(a.a)({role:d,square:!0,elevation:6,className:Object(l.default)(v.root,o),ownerState:h,ref:e},f,{children:[Object(O.jsx)(C,{className:v.message,ownerState:h,children:s}),r?Object(O.jsx)(k,{className:v.action,ownerState:h,children:r}):null]}))}));function P(t){return Object(y.a)("MuiSnackbar",t)}Object(x.a)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);var _=["onEnter","onExited"],M=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],T=Object(d.a)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["anchorOrigin".concat(Object(v.a)(n.anchorOrigin.vertical)).concat(Object(v.a)(n.anchorOrigin.horizontal))]]}})((function(t){var e=t.theme,n=t.ownerState;return Object(a.a)({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===n.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===n.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===n.anchorOrigin.horizontal&&{justifyContent:"flex-end"},Object(o.a)({},e.breakpoints.up("sm"),Object(a.a)({},"top"===n.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===n.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===n.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===n.anchorOrigin.horizontal&&{right:24,left:"auto"})))})),A=s.forwardRef((function(t,e){var n=Object(p.a)({props:t,name:"MuiSnackbar"}),o=Object(f.a)(),d={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},m=n.action,b=n.anchorOrigin,y=(b=void 0===b?{vertical:"bottom",horizontal:"left"}:b).vertical,x=b.horizontal,w=n.autoHideDuration,S=void 0===w?null:w,j=n.children,C=n.className,k=n.ClickAwayListenerProps,A=n.ContentProps,R=n.disableWindowBlurListener,D=void 0!==R&&R,I=n.message,N=n.onBlur,L=n.onClose,F=n.onFocus,B=n.onMouseEnter,z=n.onMouseLeave,H=n.open,V=n.resumeHideDuration,U=n.TransitionComponent,W=void 0===U?g.a:U,q=n.transitionDuration,G=void 0===q?d:q,Y=n.TransitionProps,X=(Y=void 0===Y?{}:Y).onEnter,K=Y.onExited,$=Object(i.a)(n.TransitionProps,_),Z=Object(i.a)(n,M),Q=Object(a.a)({},n,{anchorOrigin:{vertical:y,horizontal:x}}),J=function(t){var e=t.classes,n=t.anchorOrigin,r={root:["root","anchorOrigin".concat(Object(v.a)(n.vertical)).concat(Object(v.a)(n.horizontal))]};return Object(c.a)(r,P,e)}(Q),tt=s.useRef(),et=s.useState(!0),nt=Object(r.a)(et,2),rt=nt[0],ot=nt[1],it=Object(h.a)((function(){L&&L.apply(void 0,arguments)})),at=Object(h.a)((function(t){L&&null!=t&&(clearTimeout(tt.current),tt.current=setTimeout((function(){it(null,"timeout")}),t))}));s.useEffect((function(){return H&&at(S),function(){clearTimeout(tt.current)}}),[H,S,at]);var st=function(){clearTimeout(tt.current)},lt=s.useCallback((function(){null!=S&&at(null!=V?V:.5*S)}),[S,V,at]);return s.useEffect((function(){if(!D&&H)return window.addEventListener("focus",lt),window.addEventListener("blur",st),function(){window.removeEventListener("focus",lt),window.removeEventListener("blur",st)}}),[D,lt,H]),s.useEffect((function(){if(H)return document.addEventListener("keydown",t),function(){document.removeEventListener("keydown",t)};function t(t){t.defaultPrevented||"Escape"!==t.key&&"Esc"!==t.key||L&&L(t,"escapeKeyDown")}}),[rt,H,L]),!H&&rt?null:Object(O.jsx)(u.a,Object(a.a)({onClickAway:function(t){L&&L(t,"clickaway")}},k,{children:Object(O.jsx)(T,Object(a.a)({className:Object(l.default)(J.root,C),onBlur:function(t){N&&N(t),lt()},onFocus:function(t){F&&F(t),st()},onMouseEnter:function(t){B&&B(t),st()},onMouseLeave:function(t){z&&z(t),lt()},ownerState:Q,ref:e,role:"presentation"},Z,{children:Object(O.jsx)(W,Object(a.a)({appear:!0,in:H,timeout:G,direction:"top"===y?"down":"up",onEnter:function(t,e){ot(!1),X&&X(t,e)},onExited:function(t){ot(!0),K&&K(t)}},$,{children:j||Object(O.jsx)(E,Object(a.a)({message:I,action:m},A))}))}))}))}));e.a=A},function(t,e,n){"use strict";var r=n(14),o=n(2),i=n(5),a=n(3),s=n(12),l=n(1),c=(n(172),n(10)),u=n(230),d=n(13),f=n(17),p=n(313),h=n(167),v=n(66),g=n(0),m=Object(v.a)(Object(g.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),b=n(1163),y=Object(d.a)(b.a)((function(t){var e=t.theme;return Object(a.a)({display:"flex",marginLeft:"calc(".concat(e.spacing(1)," * 0.5)"),marginRight:"calc(".concat(e.spacing(1)," * 0.5)")},"light"===e.palette.mode?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":Object(a.a)({},"light"===e.palette.mode?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":Object(a.a)({boxShadow:e.shadows[0]},"light"===e.palette.mode?{backgroundColor:Object(h.c)(e.palette.grey[200],.12)}:{backgroundColor:Object(h.c)(e.palette.grey[600],.12)})})})),x=Object(d.a)(m)({width:24,height:16});var w=function(t){var e=t;return Object(g.jsx)("li",{children:Object(g.jsx)(y,Object(a.a)({focusRipple:!0},t,{ownerState:e,children:Object(g.jsx)(x,{ownerState:e})}))})},O=n(168),S=n(187);function j(t){return Object(O.a)("MuiBreadcrumbs",t)}var C=Object(S.a)("MuiBreadcrumbs",["root","ol","li","separator"]),k=["children","className","component","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],E=Object(d.a)(p.a,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:function(t,e){return[Object(i.a)({},"& .".concat(C.li),e.li),e.root]}})({}),P=Object(d.a)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:function(t,e){return e.ol}})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),_=Object(d.a)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:function(t,e){return e.separator}})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function M(t,e,n,r){return t.reduce((function(o,i,a){return a<t.length-1?o=o.concat(i,Object(g.jsx)(_,{"aria-hidden":!0,className:e,ownerState:r,children:n},"separator-".concat(a))):o.push(i),o}),[])}var T=l.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiBreadcrumbs"}),i=n.children,d=n.className,p=n.component,h=void 0===p?"nav":p,v=n.expandText,m=void 0===v?"Show path":v,b=n.itemsAfterCollapse,y=void 0===b?1:b,x=n.itemsBeforeCollapse,O=void 0===x?1:x,S=n.maxItems,C=void 0===S?8:S,_=n.separator,T=void 0===_?"/":_,A=Object(s.a)(n,k),R=l.useState(!1),D=Object(o.a)(R,2),I=D[0],N=D[1],L=Object(a.a)({},n,{component:h,expanded:I,expandText:m,itemsAfterCollapse:y,itemsBeforeCollapse:O,maxItems:C,separator:T}),F=function(t){var e=t.classes;return Object(u.a)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},j,e)}(L),B=l.useRef(null),z=l.Children.toArray(i).filter((function(t){return l.isValidElement(t)})).map((function(t,e){return Object(g.jsx)("li",{className:F.li,children:t},"child-".concat(e))}));return Object(g.jsx)(E,Object(a.a)({ref:e,component:h,color:"text.secondary",className:Object(c.default)(F.root,d),ownerState:L},A,{children:Object(g.jsx)(P,{className:F.ol,ref:B,ownerState:L,children:M(I||C&&z.length<=C?z:function(t){return O+y>=t.length?t:[].concat(Object(r.a)(t.slice(0,O)),[Object(g.jsx)(w,{"aria-label":m,onClick:function(){N(!0);var t=B.current.querySelector("a[href],button,[tabindex]");t&&t.focus()}},"ellipsis")],Object(r.a)(t.slice(t.length-y,t.length)))}(z),F.separator,T,L)})}))}));e.a=T},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(257),u=n(167),d=n(13),f=n(17),p=n(1163),h=n(225),v=n(127),g=n(60),m=n(105),b=n(168),y=n(187);function x(t){return Object(b.a)("MuiListItem",t)}var w=Object(y.a)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),O=n(261);function S(t){return Object(b.a)("MuiListItemSecondaryAction",t)}Object(y.a)("MuiListItemSecondaryAction",["root","disableGutters"]);var j=n(0),C=["className"],k=Object(d.a)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.disableGutters&&e.disableGutters]}})((function(t){var e=t.ownerState;return Object(i.a)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})})),E=a.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiListItemSecondaryAction"}),r=n.className,c=Object(o.a)(n,C),u=a.useContext(m.a),d=Object(i.a)({},n,{disableGutters:u.disableGutters}),p=function(t){var e=t.disableGutters,n=t.classes,r={root:["root",e&&"disableGutters"]};return Object(l.a)(r,S,n)}(d);return Object(j.jsx)(k,Object(i.a)({className:Object(s.default)(p.root,r),ownerState:d,ref:e},c))}));E.muiName="ListItemSecondaryAction";var P=E,_=["className"],M=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected"],T=Object(d.a)("div",{name:"MuiListItem",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.dense&&e.dense,"flex-start"===n.alignItems&&e.alignItemsFlexStart,n.divider&&e.divider,!n.disableGutters&&e.gutters,!n.disablePadding&&e.padding,n.button&&e.button,n.hasSecondaryAction&&e.secondaryAction]}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!o.disablePadding&&Object(i.a)({paddingTop:8,paddingBottom:8},o.dense&&{paddingTop:4,paddingBottom:4},!o.disableGutters&&{paddingLeft:16,paddingRight:16},!!o.secondaryAction&&{paddingRight:48}),!!o.secondaryAction&&Object(r.a)({},"& > .".concat(O.a.root),{paddingRight:48}),(e={},Object(r.a)(e,"&.".concat(w.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),Object(r.a)(e,"&.".concat(w.selected),Object(r.a)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):Object(u.a)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(w.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):Object(u.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),Object(r.a)(e,"&.".concat(w.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),e),"flex-start"===o.alignItems&&{alignItems:"flex-start"},o.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},o.button&&Object(r.a)({transition:n.transitions.create("background-color",{duration:n.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},"&.".concat(w.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):Object(u.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):Object(u.a)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),o.hasSecondaryAction&&{paddingRight:48})})),A=Object(d.a)("li",{name:"MuiListItem",slot:"Container",overridesResolver:function(t,e){return e.container}})({position:"relative"}),R=a.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiListItem"}),r=n.alignItems,u=void 0===r?"center":r,d=n.autoFocus,b=void 0!==d&&d,y=n.button,O=void 0!==y&&y,S=n.children,C=n.className,k=n.component,E=n.components,R=void 0===E?{}:E,D=n.componentsProps,I=void 0===D?{}:D,N=n.ContainerComponent,L=void 0===N?"li":N,F=n.ContainerProps,B=(F=void 0===F?{}:F).className,z=n.dense,H=void 0!==z&&z,V=n.disabled,U=void 0!==V&&V,W=n.disableGutters,q=void 0!==W&&W,G=n.disablePadding,Y=void 0!==G&&G,X=n.divider,K=void 0!==X&&X,$=n.focusVisibleClassName,Z=n.secondaryAction,Q=n.selected,J=void 0!==Q&&Q,tt=Object(o.a)(n.ContainerProps,_),et=Object(o.a)(n,M),nt=a.useContext(m.a),rt={dense:H||nt.dense||!1,alignItems:u,disableGutters:q},ot=a.useRef(null);Object(v.a)((function(){b&&ot.current&&ot.current.focus()}),[b]);var it=a.Children.toArray(S),at=it.length&&Object(h.a)(it[it.length-1],["ListItemSecondaryAction"]),st=Object(i.a)({},n,{alignItems:u,autoFocus:b,button:O,dense:rt.dense,disabled:U,disableGutters:q,disablePadding:Y,divider:K,hasSecondaryAction:at,selected:J}),lt=function(t){var e=t.alignItems,n=t.button,r=t.classes,o=t.dense,i=t.disabled,a={root:["root",o&&"dense",!t.disableGutters&&"gutters",!t.disablePadding&&"padding",t.divider&&"divider",i&&"disabled",n&&"button","flex-start"===e&&"alignItemsFlexStart",t.hasSecondaryAction&&"secondaryAction",t.selected&&"selected"],container:["container"]};return Object(l.a)(a,x,r)}(st),ct=Object(g.a)(ot,e),ut=R.Root||T,dt=I.root||{},ft=Object(i.a)({className:Object(s.default)(lt.root,dt.className,C),disabled:U},et),pt=k||"li";return O&&(ft.component=k||"div",ft.focusVisibleClassName=Object(s.default)(w.focusVisible,$),pt=p.a),at?(pt=ft.component||k?pt:"div","li"===L&&("li"===pt?pt="div":"li"===ft.component&&(ft.component="div")),Object(j.jsx)(m.a.Provider,{value:rt,children:Object(j.jsxs)(A,Object(i.a)({as:L,className:Object(s.default)(lt.container,B),ref:ct,ownerState:st},tt,{children:[Object(j.jsx)(ut,Object(i.a)({},dt,!Object(c.a)(ut)&&{as:pt,ownerState:Object(i.a)({},st,dt.ownerState)},ft,{children:it})),it.pop()]}))})):Object(j.jsx)(m.a.Provider,{value:rt,children:Object(j.jsxs)(ut,Object(i.a)({},dt,{as:pt,ref:ct,ownerState:st},!Object(c.a)(ut)&&{ownerState:Object(i.a)({},st,dt.ownerState)},ft,{children:[it,Z&&Object(j.jsx)(P,{children:Z})]}))})}));e.a=R},function(t,e,n){"use strict";var r=n(14),o=n(2),i=n(5),a=n(12),s=n(3),l=n(1),c=n(10),u=n(230),d=n(15),f=n(13),p=n(17),h=n(215),v=n(60),g=n(313),m=n(168),b=n(187);function y(t){return Object(m.a)("MuiLink",t)}var x=Object(b.a)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),w=n(34),O=n(167),S={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},j=function(t){var e=t.theme,n=t.ownerState,r=function(t){return S[t]||t}(n.color),o=Object(w.b)(e,"palette.".concat(r),!1)||n.color,i=Object(w.b)(e,"palette.".concat(r,"Channel"));return"vars"in e&&i?"rgba(".concat(i," / 0.4)"):Object(O.a)(o,.4)},C=n(0),k=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],E=Object(f.a)(g.a,{name:"MuiLink",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["underline".concat(Object(d.a)(n.underline))],"button"===n.component&&e.button]}})((function(t){var e=t.theme,n=t.ownerState;return Object(s.a)({},"none"===n.underline&&{textDecoration:"none"},"hover"===n.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===n.underline&&Object(s.a)({textDecoration:"underline"},"inherit"!==n.color&&{textDecorationColor:j({theme:e,ownerState:n})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===n.component&&Object(i.a)({position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"}},"&.".concat(x.focusVisible),{outline:"auto"}))})),P=l.forwardRef((function(t,e){var n=Object(p.a)({props:t,name:"MuiLink"}),i=n.className,f=n.color,g=void 0===f?"primary":f,m=n.component,b=void 0===m?"a":m,x=n.onBlur,w=n.onFocus,O=n.TypographyClasses,j=n.underline,P=void 0===j?"always":j,_=n.variant,M=void 0===_?"inherit":_,T=n.sx,A=Object(a.a)(n,k),R=Object(h.a)(),D=R.isFocusVisibleRef,I=R.onBlur,N=R.onFocus,L=R.ref,F=l.useState(!1),B=Object(o.a)(F,2),z=B[0],H=B[1],V=Object(v.a)(e,L),U=Object(s.a)({},n,{color:g,component:b,focusVisible:z,underline:P,variant:M}),W=function(t){var e=t.classes,n=t.component,r=t.focusVisible,o=t.underline,i={root:["root","underline".concat(Object(d.a)(o)),"button"===n&&"button",r&&"focusVisible"]};return Object(u.a)(i,y,e)}(U);return Object(C.jsx)(E,Object(s.a)({color:g,className:Object(c.default)(W.root,i),classes:O,component:b,onBlur:function(t){I(t),!1===D.current&&H(!1),x&&x(t)},onFocus:function(t){N(t),!0===D.current&&H(!0),w&&w(t)},ref:V,ownerState:U,variant:M,sx:[].concat(Object(r.a)(Object.keys(S).includes(g)?[]:[{color:g}]),Object(r.a)(Array.isArray(T)?T:[T]))},A))}));e.a=P},function(t,e,n){"use strict";var r=n(14),o=n(5),i=n(12),a=n(3),s=n(1),l=n(10),c=n(84),u=n(1153),d=n(230),f=n(13),p=n(17),h=n(52);var v=s.createContext(),g=n(168),m=n(187);function b(t){return Object(g.a)("MuiGrid",t)}var y=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],x=Object(m.a)("MuiGrid",["root","container","item","zeroMinWidth"].concat(Object(r.a)([0,1,2,3,4,5,6,7,8,9,10].map((function(t){return"spacing-xs-".concat(t)}))),Object(r.a)(["column-reverse","column","row-reverse","row"].map((function(t){return"direction-xs-".concat(t)}))),Object(r.a)(["nowrap","wrap-reverse","wrap"].map((function(t){return"wrap-xs-".concat(t)}))),Object(r.a)(y.map((function(t){return"grid-xs-".concat(t)}))),Object(r.a)(y.map((function(t){return"grid-sm-".concat(t)}))),Object(r.a)(y.map((function(t){return"grid-md-".concat(t)}))),Object(r.a)(y.map((function(t){return"grid-lg-".concat(t)}))),Object(r.a)(y.map((function(t){return"grid-xl-".concat(t)}))))),w=n(0),O=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function S(t){var e=parseFloat(t);return"".concat(e).concat(String(t).replace(String(e),"")||"px")}var j=Object(f.a)("div",{name:"MuiGrid",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState,o=n.container,i=n.direction,a=n.item,s=n.spacing,l=n.wrap,c=n.zeroMinWidth,u=n.breakpoints,d=[];o&&(d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t||t<=0)return[];if("string"===typeof t&&!Number.isNaN(Number(t))||"number"===typeof t)return[n["spacing-xs-".concat(String(t))]];var r=[];return e.forEach((function(e){var o=t[e];Number(o)>0&&r.push(n["spacing-".concat(e,"-").concat(String(o))])})),r}(s,u,e));var f=[];return u.forEach((function(t){var r=n[t];r&&f.push(e["grid-".concat(t,"-").concat(String(r))])})),[e.root,o&&e.container,a&&e.item,c&&e.zeroMinWidth].concat(Object(r.a)(d),["row"!==i&&e["direction-xs-".concat(String(i))],"wrap"!==l&&e["wrap-xs-".concat(String(l))]],f)}})((function(t){var e=t.ownerState;return Object(a.a)({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},"wrap"!==e.wrap&&{flexWrap:e.wrap})}),(function(t){var e=t.theme,n=t.ownerState,r=Object(c.d)({values:n.direction,breakpoints:e.breakpoints.values});return Object(c.b)({theme:e},r,(function(t){var e={flexDirection:t};return 0===t.indexOf("column")&&(e["& > .".concat(x.item)]={maxWidth:"none"}),e}))}),(function(t){var e=t.theme,n=t.ownerState,r=n.container,i=n.rowSpacing,a={};if(r&&0!==i){var s=Object(c.d)({values:i,breakpoints:e.breakpoints.values});a=Object(c.b)({theme:e},s,(function(t){var n=e.spacing(t);return"0px"!==n?Object(o.a)({marginTop:"-".concat(S(n))},"& > .".concat(x.item),{paddingTop:S(n)}):{}}))}return a}),(function(t){var e=t.theme,n=t.ownerState,r=n.container,i=n.columnSpacing,a={};if(r&&0!==i){var s=Object(c.d)({values:i,breakpoints:e.breakpoints.values});a=Object(c.b)({theme:e},s,(function(t){var n=e.spacing(t);return"0px"!==n?Object(o.a)({width:"calc(100% + ".concat(S(n),")"),marginLeft:"-".concat(S(n))},"& > .".concat(x.item),{paddingLeft:S(n)}):{}}))}return a}),(function(t){var e,n=t.theme,r=t.ownerState;return n.breakpoints.keys.reduce((function(t,o){var i={};if(r[o]&&(e=r[o]),!e)return t;if(!0===e)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===e)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{var s=Object(c.d)({values:r.columns,breakpoints:n.breakpoints.values}),l="object"===typeof s?s[o]:s;if(void 0===l||null===l)return t;var u="".concat(Math.round(e/l*1e8)/1e6,"%"),d={};if(r.container&&r.item&&0!==r.columnSpacing){var f=n.spacing(r.columnSpacing);if("0px"!==f){var p="calc(".concat(u," + ").concat(S(f),")");d={flexBasis:p,maxWidth:p}}}i=Object(a.a)({flexBasis:u,flexGrow:0,maxWidth:u},d)}return 0===n.breakpoints.values[o]?Object.assign(t,i):t[n.breakpoints.up(o)]=i,t}),{})}));var C=function(t){var e=t.classes,n=t.container,o=t.direction,i=t.item,a=t.spacing,s=t.wrap,l=t.zeroMinWidth,c=t.breakpoints,u=[];n&&(u=function(t,e){if(!t||t<=0)return[];if("string"===typeof t&&!Number.isNaN(Number(t))||"number"===typeof t)return["spacing-xs-".concat(String(t))];var n=[];return e.forEach((function(e){var r=t[e];if(Number(r)>0){var o="spacing-".concat(e,"-").concat(String(r));n.push(o)}})),n}(a,c));var f=[];c.forEach((function(e){var n=t[e];n&&f.push("grid-".concat(e,"-").concat(String(n)))}));var p={root:["root",n&&"container",i&&"item",l&&"zeroMinWidth"].concat(Object(r.a)(u),["row"!==o&&"direction-xs-".concat(String(o)),"wrap"!==s&&"wrap-xs-".concat(String(s))],f)};return Object(d.a)(p,b,e)},k=s.forwardRef((function(t,e){var n=Object(p.a)({props:t,name:"MuiGrid"}),r=Object(h.a)().breakpoints,o=Object(u.a)(n),c=o.className,d=o.columns,f=o.columnSpacing,g=o.component,m=void 0===g?"div":g,b=o.container,y=void 0!==b&&b,x=o.direction,S=void 0===x?"row":x,k=o.item,E=void 0!==k&&k,P=o.rowSpacing,_=o.spacing,M=void 0===_?0:_,T=o.wrap,A=void 0===T?"wrap":T,R=o.zeroMinWidth,D=void 0!==R&&R,I=Object(i.a)(o,O),N=P||M,L=f||M,F=s.useContext(v),B=y?d||12:F,z={},H=Object(a.a)({},I);r.keys.forEach((function(t){null!=I[t]&&(z[t]=I[t],delete H[t])}));var V=Object(a.a)({},o,{columns:B,container:y,direction:S,item:E,rowSpacing:N,columnSpacing:L,wrap:A,zeroMinWidth:D,spacing:M},z,{breakpoints:r.keys}),U=C(V);return Object(w.jsx)(v.Provider,{value:B,children:Object(w.jsx)(j,Object(a.a)({ownerState:V,className:Object(l.default)(U.root,c),as:m,ref:e},H))})}));e.a=k},function(t,e,n){"use strict";var r=n(2),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(13),u=n(17),d=n(66),f=n(0),p=Object(d.a)(Object(f.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),h=n(168),v=n(187);function g(t){return Object(h.a)("MuiAvatar",t)}Object(v.a)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var m=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],b=Object(c.a)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant],n.colorDefault&&e.colorDefault]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},"rounded"===n.variant&&{borderRadius:(e.vars||e).shape.borderRadius},"square"===n.variant&&{borderRadius:0},n.colorDefault&&Object(i.a)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}))})),y=Object(c.a)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:function(t,e){return e.img}})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),x=Object(c.a)(p,{name:"MuiAvatar",slot:"Fallback",overridesResolver:function(t,e){return e.fallback}})({width:"75%",height:"75%"});var w=a.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiAvatar"}),c=n.alt,d=n.children,p=n.className,h=n.component,v=void 0===h?"div":h,w=n.imgProps,O=n.sizes,S=n.src,j=n.srcSet,C=n.variant,k=void 0===C?"circular":C,E=Object(o.a)(n,m),P=null,_=function(t){var e=t.crossOrigin,n=t.referrerPolicy,o=t.src,i=t.srcSet,s=a.useState(!1),l=Object(r.a)(s,2),c=l[0],u=l[1];return a.useEffect((function(){if(o||i){u(!1);var t=!0,r=new Image;return r.onload=function(){t&&u("loaded")},r.onerror=function(){t&&u("error")},r.crossOrigin=e,r.referrerPolicy=n,r.src=o,i&&(r.srcset=i),function(){t=!1}}}),[e,n,o,i]),c}(Object(i.a)({},w,{src:S,srcSet:j})),M=S||j,T=M&&"error"!==_,A=Object(i.a)({},n,{colorDefault:!T,component:v,variant:k}),R=function(t){var e=t.classes,n={root:["root",t.variant,t.colorDefault&&"colorDefault"],img:["img"],fallback:["fallback"]};return Object(l.a)(n,g,e)}(A);return P=T?Object(f.jsx)(y,Object(i.a)({alt:c,src:S,srcSet:j,sizes:O,ownerState:A,className:R.img},w)):null!=d?d:M&&c?c[0]:Object(f.jsx)(x,{className:R.fallback}),Object(f.jsx)(b,Object(i.a)({as:v,ownerState:A,className:Object(s.default)(R.root,p),ref:e},E,{children:P}))}));e.a=w},function(t,e,n){"use strict";var r=n(1),o={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function i(t){var e=function(t){if("number"===typeof t)return{value:t,unit:"px"};var e,n=(t.match(/^[0-9.]*/)||"").toString();e=n.includes(".")?parseFloat(n):parseInt(n,10);var r=(t.match(/[^0-9]*$/)||"").toString();return o[r]?{value:e,unit:r}:(console.warn("React Spinners: ".concat(t," is not a valid css value. Defaulting to ").concat(e,"px.")),{value:e,unit:"px"})}(t);return"".concat(e.value).concat(e.unit)}var a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a.apply(this,arguments)},s=function(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 o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n},l=function(t,e,n){var r="react-spinners-".concat(t,"-").concat(n);if("undefined"==typeof window||!window.document)return r;var o=document.createElement("style");document.head.appendChild(o);var i=o.sheet,a="\n    @keyframes ".concat(r," {\n      ").concat(e,"\n    }\n  ");return i&&i.insertRule(a,0),r}("PulseLoader","0% {transform: scale(1); opacity: 1} 45% {transform: scale(0.1); opacity: 0.7} 80% {transform: scale(1); opacity: 1}","pulse");e.a=function(t){var e=t.loading,n=void 0===e||e,o=t.color,c=void 0===o?"#000000":o,u=t.speedMultiplier,d=void 0===u?1:u,f=t.cssOverride,p=void 0===f?{}:f,h=t.size,v=void 0===h?15:h,g=t.margin,m=void 0===g?2:g,b=s(t,["loading","color","speedMultiplier","cssOverride","size","margin"]),y=a({display:"inherit"},p),x=function(t){return{backgroundColor:c,width:i(v),height:i(v),margin:i(m),borderRadius:"100%",display:"inline-block",animation:"".concat(l," ").concat(.75/d,"s ").concat(.12*t/d,"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08)"),animationFillMode:"both"}};return n?r.createElement("span",a({style:y},b),r.createElement("span",{style:x(1)}),r.createElement("span",{style:x(2)}),r.createElement("span",{style:x(3)})):null}},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(1156),c=n(230),u=n(167),d=n(13),f=n(17),p=n(1163),h=n(15),v=n(168),g=n(187);function m(t){return Object(v.a)("MuiButton",t)}var b=Object(g.a)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var y=a.createContext({}),x=n(0),w=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],O=function(t){return Object(i.a)({},"small"===t.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===t.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===t.size&&{"& > *:nth-of-type(1)":{fontSize:22}})},S=Object(d.a)(p.a,{shouldForwardProp:function(t){return Object(d.b)(t)||"classes"===t},name:"MuiButton",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant],e["".concat(n.variant).concat(Object(h.a)(n.color))],e["size".concat(Object(h.a)(n.size))],e["".concat(n.variant,"Size").concat(Object(h.a)(n.size))],"inherit"===n.color&&e.colorInherit,n.disableElevation&&e.disableElevation,n.fullWidth&&e.fullWidth]}})((function(t){var e,n,o,a=t.theme,s=t.ownerState;return Object(i.a)({},a.typography.button,(e={minWidth:64,padding:"6px 16px",borderRadius:(a.vars||a).shape.borderRadius,transition:a.transitions.create(["background-color","box-shadow","border-color","color"],{duration:a.transitions.duration.short}),"&:hover":Object(i.a)({textDecoration:"none",backgroundColor:a.vars?"rgba(".concat(a.vars.palette.text.primaryChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):Object(u.a)(a.palette.text.primary,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===s.variant&&"inherit"!==s.color&&{backgroundColor:a.vars?"rgba(".concat(a.vars.palette[s.color].mainChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):Object(u.a)(a.palette[s.color].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===s.variant&&"inherit"!==s.color&&{border:"1px solid ".concat((a.vars||a).palette[s.color].main),backgroundColor:a.vars?"rgba(".concat(a.vars.palette[s.color].mainChannel," / ").concat(a.vars.palette.action.hoverOpacity,")"):Object(u.a)(a.palette[s.color].main,a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===s.variant&&{backgroundColor:(a.vars||a).palette.grey.A100,boxShadow:(a.vars||a).shadows[4],"@media (hover: none)":{boxShadow:(a.vars||a).shadows[2],backgroundColor:(a.vars||a).palette.grey[300]}},"contained"===s.variant&&"inherit"!==s.color&&{backgroundColor:(a.vars||a).palette[s.color].dark,"@media (hover: none)":{backgroundColor:(a.vars||a).palette[s.color].main}}),"&:active":Object(i.a)({},"contained"===s.variant&&{boxShadow:(a.vars||a).shadows[8]})},Object(r.a)(e,"&.".concat(b.focusVisible),Object(i.a)({},"contained"===s.variant&&{boxShadow:(a.vars||a).shadows[6]})),Object(r.a)(e,"&.".concat(b.disabled),Object(i.a)({color:(a.vars||a).palette.action.disabled},"outlined"===s.variant&&{border:"1px solid ".concat((a.vars||a).palette.action.disabledBackground)},"outlined"===s.variant&&"secondary"===s.color&&{border:"1px solid ".concat((a.vars||a).palette.action.disabled)},"contained"===s.variant&&{color:(a.vars||a).palette.action.disabled,boxShadow:(a.vars||a).shadows[0],backgroundColor:(a.vars||a).palette.action.disabledBackground})),e),"text"===s.variant&&{padding:"6px 8px"},"text"===s.variant&&"inherit"!==s.color&&{color:(a.vars||a).palette[s.color].main},"outlined"===s.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===s.variant&&"inherit"!==s.color&&{color:(a.vars||a).palette[s.color].main,border:a.vars?"1px solid rgba(".concat(a.vars.palette[s.color].mainChannel," / 0.5)"):"1px solid ".concat(Object(u.a)(a.palette[s.color].main,.5))},"contained"===s.variant&&{color:a.vars?a.vars.palette.text.primary:null==(n=(o=a.palette).getContrastText)?void 0:n.call(o,a.palette.grey[300]),backgroundColor:(a.vars||a).palette.grey[300],boxShadow:(a.vars||a).shadows[2]},"contained"===s.variant&&"inherit"!==s.color&&{color:(a.vars||a).palette[s.color].contrastText,backgroundColor:(a.vars||a).palette[s.color].main},"inherit"===s.color&&{color:"inherit",borderColor:"currentColor"},"small"===s.size&&"text"===s.variant&&{padding:"4px 5px",fontSize:a.typography.pxToRem(13)},"large"===s.size&&"text"===s.variant&&{padding:"8px 11px",fontSize:a.typography.pxToRem(15)},"small"===s.size&&"outlined"===s.variant&&{padding:"3px 9px",fontSize:a.typography.pxToRem(13)},"large"===s.size&&"outlined"===s.variant&&{padding:"7px 21px",fontSize:a.typography.pxToRem(15)},"small"===s.size&&"contained"===s.variant&&{padding:"4px 10px",fontSize:a.typography.pxToRem(13)},"large"===s.size&&"contained"===s.variant&&{padding:"8px 22px",fontSize:a.typography.pxToRem(15)},s.fullWidth&&{width:"100%"})}),(function(t){var e;return t.ownerState.disableElevation&&(e={boxShadow:"none","&:hover":{boxShadow:"none"}},Object(r.a)(e,"&.".concat(b.focusVisible),{boxShadow:"none"}),Object(r.a)(e,"&:active",{boxShadow:"none"}),Object(r.a)(e,"&.".concat(b.disabled),{boxShadow:"none"}),e)})),j=Object(d.a)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:function(t,e){var n=t.ownerState;return[e.startIcon,e["iconSize".concat(Object(h.a)(n.size))]]}})((function(t){var e=t.ownerState;return Object(i.a)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},O(e))})),C=Object(d.a)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:function(t,e){var n=t.ownerState;return[e.endIcon,e["iconSize".concat(Object(h.a)(n.size))]]}})((function(t){var e=t.ownerState;return Object(i.a)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},O(e))})),k=a.forwardRef((function(t,e){var n=a.useContext(y),r=Object(l.a)(n,t),u=Object(f.a)({props:r,name:"MuiButton"}),d=u.children,p=u.color,v=void 0===p?"primary":p,g=u.component,b=void 0===g?"button":g,O=u.className,k=u.disabled,E=void 0!==k&&k,P=u.disableElevation,_=void 0!==P&&P,M=u.disableFocusRipple,T=void 0!==M&&M,A=u.endIcon,R=u.focusVisibleClassName,D=u.fullWidth,I=void 0!==D&&D,N=u.size,L=void 0===N?"medium":N,F=u.startIcon,B=u.type,z=u.variant,H=void 0===z?"text":z,V=Object(o.a)(u,w),U=Object(i.a)({},u,{color:v,component:b,disabled:E,disableElevation:_,disableFocusRipple:T,fullWidth:I,size:L,type:B,variant:H}),W=function(t){var e=t.color,n=t.disableElevation,r=t.fullWidth,o=t.size,a=t.variant,s=t.classes,l={root:["root",a,"".concat(a).concat(Object(h.a)(e)),"size".concat(Object(h.a)(o)),"".concat(a,"Size").concat(Object(h.a)(o)),"inherit"===e&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon","iconSize".concat(Object(h.a)(o))],endIcon:["endIcon","iconSize".concat(Object(h.a)(o))]},u=Object(c.a)(l,m,s);return Object(i.a)({},s,u)}(U),q=F&&Object(x.jsx)(j,{className:W.startIcon,ownerState:U,children:F}),G=A&&Object(x.jsx)(C,{className:W.endIcon,ownerState:U,children:A});return Object(x.jsxs)(S,Object(i.a)({ownerState:U,className:Object(s.default)(O,n.className),component:b,disabled:E,focusRipple:!T,focusVisibleClassName:Object(s.default)(W.focusVisible,R),ref:e,type:B},V,{classes:W,children:[q,d,G]}))}));e.a=k},function(t,e,n){"use strict";var r=n(397),o=n(399),i=n(218),a=n(398);var s=n(2),l=n(5),c=n(12),u=n(3),d=n(1),f=(n(172),n(10)),p=n(230),h=n(13),v=n(17),g=n(1335),m=n(1330),b=n(405),y=n(162),x=n(168),w=n(187);function O(t){return Object(x.a)("MuiAccordion",t)}var S=Object(w.a)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),j=n(0),C=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","TransitionComponent","TransitionProps"],k=Object(h.a)(m.a,{name:"MuiAccordion",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[Object(l.a)({},"& .".concat(S.region),e.region),e.root,!n.square&&e.rounded,!n.disableGutters&&e.gutters]}})((function(t){var e,n=t.theme,r={duration:n.transitions.duration.shortest};return e={position:"relative",transition:n.transitions.create(["margin"],r),overflowAnchor:"none","&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(n.vars||n).palette.divider,transition:n.transitions.create(["opacity","background-color"],r)},"&:first-of-type":{"&:before":{display:"none"}}},Object(l.a)(e,"&.".concat(S.expanded),{"&:before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&:before":{display:"none"}}}),Object(l.a)(e,"&.".concat(S.disabled),{backgroundColor:(n.vars||n).palette.action.disabledBackground}),e}),(function(t){var e=t.theme,n=t.ownerState;return Object(u.a)({},!n.square&&{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},!n.disableGutters&&Object(l.a)({},"&.".concat(S.expanded),{margin:"16px 0"}))})),E=d.forwardRef((function(t,e){var n,l=Object(v.a)({props:t,name:"MuiAccordion"}),h=l.children,m=l.className,x=l.defaultExpanded,w=void 0!==x&&x,S=l.disabled,E=void 0!==S&&S,P=l.disableGutters,_=void 0!==P&&P,M=l.expanded,T=l.onChange,A=l.square,R=void 0!==A&&A,D=l.TransitionComponent,I=void 0===D?g.a:D,N=l.TransitionProps,L=Object(c.a)(l,C),F=Object(y.a)({controlled:M,default:w,name:"Accordion",state:"expanded"}),B=Object(s.a)(F,2),z=B[0],H=B[1],V=d.useCallback((function(t){H(!z),T&&T(t,!z)}),[z,T,H]),U=d.Children.toArray(h),W=(n=U,Object(r.a)(n)||Object(o.a)(n)||Object(i.a)(n)||Object(a.a)()),q=W[0],G=W.slice(1),Y=d.useMemo((function(){return{expanded:z,disabled:E,disableGutters:_,toggle:V}}),[z,E,_,V]),X=Object(u.a)({},l,{square:R,disabled:E,disableGutters:_,expanded:z}),K=function(t){var e=t.classes,n={root:["root",!t.square&&"rounded",t.expanded&&"expanded",t.disabled&&"disabled",!t.disableGutters&&"gutters"],region:["region"]};return Object(p.a)(n,O,e)}(X);return Object(j.jsxs)(k,Object(u.a)({className:Object(f.default)(K.root,m),ref:e,ownerState:X,square:R},L,{children:[Object(j.jsx)(b.a.Provider,{value:Y,children:q}),Object(j.jsx)(I,Object(u.a)({in:z,timeout:"auto"},N,{children:Object(j.jsx)("div",{"aria-labelledby":q.props.id,id:q.props["aria-controls"],role:"region",className:K.region,children:G})}))]}))}));e.a=E},function(t,e,n){"use strict";var r=n(77),o=n(12),i=n(3),a=n(1),s=n(10),l=n(42),c=n(230);n(5);function u(t){return String(t).match(/[\d.\-+]*\s*(.*)/)[1]||""}function d(t){return parseFloat(t)}var f=n(167),p=n(13),h=n(17),v=n(168),g=n(187);function m(t){return Object(v.a)("MuiSkeleton",t)}Object(g.a)("MuiSkeleton",["root","text","rectangular","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var b,y,x,w,O,S,j,C,k=n(0),E=["animation","className","component","height","style","variant","width"],P=Object(l.e)(O||(O=b||(b=Object(r.a)(["\n  0% {\n    opacity: 1;\n  }\n\n  50% {\n    opacity: 0.4;\n  }\n\n  100% {\n    opacity: 1;\n  }\n"])))),_=Object(l.e)(S||(S=y||(y=Object(r.a)(["\n  0% {\n    transform: translateX(-100%);\n  }\n\n  50% {\n    /* +0.5s of delay between each loop */\n    transform: translateX(100%);\n  }\n\n  100% {\n    transform: translateX(100%);\n  }\n"])))),M=Object(p.a)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant],!1!==n.animation&&e[n.animation],n.hasChildren&&e.withChildren,n.hasChildren&&!n.width&&e.fitContent,n.hasChildren&&!n.height&&e.heightAuto]}})((function(t){var e=t.theme,n=t.ownerState,r=u(e.shape.borderRadius)||"px",o=d(e.shape.borderRadius);return Object(i.a)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:Object(f.a)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===n.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"".concat(o).concat(r,"/").concat(Math.round(o/.6*10)/10).concat(r),"&:empty:before":{content:'"\\00a0"'}},"circular"===n.variant&&{borderRadius:"50%"},n.hasChildren&&{"& > *":{visibility:"hidden"}},n.hasChildren&&!n.width&&{maxWidth:"fit-content"},n.hasChildren&&!n.height&&{height:"auto"})}),(function(t){return"pulse"===t.ownerState.animation&&Object(l.c)(j||(j=x||(x=Object(r.a)(["\n      animation: "," 1.5s ease-in-out 0.5s infinite;\n    "]))),P)}),(function(t){var e=t.ownerState,n=t.theme;return"wave"===e.animation&&Object(l.c)(C||(C=w||(w=Object(r.a)(["\n      position: relative;\n      overflow: hidden;\n\n      /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n      -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n      &::after {\n        animation: "," 1.6s linear 0.5s infinite;\n        background: linear-gradient(\n          90deg,\n          transparent,\n          ",",\n          transparent\n        );\n        content: '';\n        position: absolute;\n        transform: translateX(-100%); /* Avoid flash during server-side hydration */\n        bottom: 0;\n        left: 0;\n        right: 0;\n        top: 0;\n      }\n    "]))),_,(n.vars||n).palette.action.hover)})),T=a.forwardRef((function(t,e){var n=Object(h.a)({props:t,name:"MuiSkeleton"}),r=n.animation,a=void 0===r?"pulse":r,l=n.className,u=n.component,d=void 0===u?"span":u,f=n.height,p=n.style,v=n.variant,g=void 0===v?"text":v,b=n.width,y=Object(o.a)(n,E),x=Object(i.a)({},n,{animation:a,component:d,variant:g,hasChildren:Boolean(y.children)}),w=function(t){var e=t.classes,n=t.variant,r=t.animation,o=t.hasChildren,i=t.width,a=t.height,s={root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]};return Object(c.a)(s,m,e)}(x);return Object(k.jsx)(M,Object(i.a)({as:d,ref:e,className:Object(s.default)(w.root,l),ownerState:x},y,{style:Object(i.a)({width:b,height:f},p)}))}));e.a=T},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(1281),u=n(167),d=n(734),f=n(1342),p=n(1330),h=n(1333),v=n(1321),g=n(183),m=n(146),b=n(148),y=n(147),x=n(66),w=n(0),O=Object(x.a)(Object(w.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),S=n(404),j=n(17),C=n(13),k=n(168),E=n(187);function P(t){return Object(k.a)("MuiAutocomplete",t)}var _,M,T=Object(E.a)("MuiAutocomplete",["root","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]),A=n(15),R=["autoComplete","autoHighlight","autoSelect","blurOnSelect","ChipProps","className","clearIcon","clearOnBlur","clearOnEscape","clearText","closeText","componentsProps","defaultValue","disableClearable","disableCloseOnSelect","disabled","disabledItemsFocusable","disableListWrap","disablePortal","filterOptions","filterSelectedOptions","forcePopupIcon","freeSolo","fullWidth","getLimitTagsText","getOptionDisabled","getOptionLabel","isOptionEqualToValue","groupBy","handleHomeEndKeys","id","includeInputInList","inputValue","limitTags","ListboxComponent","ListboxProps","loading","loadingText","multiple","noOptionsText","onChange","onClose","onHighlightChange","onInputChange","onOpen","open","openOnFocus","openText","options","PaperComponent","PopperComponent","popupIcon","readOnly","renderGroup","renderInput","renderOption","renderTags","selectOnFocus","size","value"],D=Object(C.a)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState,o=n.fullWidth,i=n.hasClearIcon,a=n.hasPopupIcon,s=n.inputFocused,l=n.size;return[Object(r.a)({},"& .".concat(T.tag),e.tag),Object(r.a)({},"& .".concat(T.tag),e["tagSize".concat(Object(A.a)(l))]),Object(r.a)({},"& .".concat(T.inputRoot),e.inputRoot),Object(r.a)({},"& .".concat(T.input),e.input),Object(r.a)({},"& .".concat(T.input),s&&e.inputFocused),e.root,o&&e.fullWidth,a&&e.hasPopupIcon,i&&e.hasClearIcon]}})((function(t){var e,n,o,a,s,l=t.ownerState;return Object(i.a)((e={},Object(r.a)(e,"&.".concat(T.focused," .").concat(T.clearIndicator),{visibility:"visible"}),Object(r.a)(e,"@media (pointer: fine)",Object(r.a)({},"&:hover .".concat(T.clearIndicator),{visibility:"visible"})),e),l.fullWidth&&{width:"100%"},(s={},Object(r.a)(s,"& .".concat(T.tag),Object(i.a)({margin:3,maxWidth:"calc(100% - 6px)"},"small"===l.size&&{margin:2,maxWidth:"calc(100% - 4px)"})),Object(r.a)(s,"& .".concat(T.inputRoot),(n={flexWrap:"wrap"},Object(r.a)(n,".".concat(T.hasPopupIcon,"&, .").concat(T.hasClearIcon,"&"),{paddingRight:30}),Object(r.a)(n,".".concat(T.hasPopupIcon,".").concat(T.hasClearIcon,"&"),{paddingRight:56}),Object(r.a)(n,"& .".concat(T.input),{width:0,minWidth:30}),n)),Object(r.a)(s,"& .".concat(g.a.root),{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}}),Object(r.a)(s,"& .".concat(g.a.root,".").concat(m.a.sizeSmall),Object(r.a)({},"& .".concat(g.a.input),{padding:"2px 4px 3px 0"})),Object(r.a)(s,"& .".concat(b.a.root),(o={padding:9},Object(r.a)(o,".".concat(T.hasPopupIcon,"&, .").concat(T.hasClearIcon,"&"),{paddingRight:39}),Object(r.a)(o,".".concat(T.hasPopupIcon,".").concat(T.hasClearIcon,"&"),{paddingRight:65}),Object(r.a)(o,"& .".concat(T.input),{padding:"7.5px 4px 7.5px 6px"}),Object(r.a)(o,"& .".concat(T.endAdornment),{right:9}),o)),Object(r.a)(s,"& .".concat(b.a.root,".").concat(m.a.sizeSmall),Object(r.a)({padding:6},"& .".concat(T.input),{padding:"2.5px 4px 2.5px 6px"})),Object(r.a)(s,"& .".concat(y.a.root),(a={paddingTop:19,paddingLeft:8},Object(r.a)(a,".".concat(T.hasPopupIcon,"&, .").concat(T.hasClearIcon,"&"),{paddingRight:39}),Object(r.a)(a,".".concat(T.hasPopupIcon,".").concat(T.hasClearIcon,"&"),{paddingRight:65}),Object(r.a)(a,"& .".concat(y.a.input),{padding:"7px 4px"}),Object(r.a)(a,"& .".concat(T.endAdornment),{right:9}),a)),Object(r.a)(s,"& .".concat(y.a.root,".").concat(m.a.sizeSmall),Object(r.a)({paddingBottom:1},"& .".concat(y.a.input),{padding:"2.5px 4px"})),Object(r.a)(s,"& .".concat(m.a.hiddenLabel),{paddingTop:8}),Object(r.a)(s,"& .".concat(T.input),Object(i.a)({flexGrow:1,textOverflow:"ellipsis",opacity:0},l.inputFocused&&{opacity:1})),s))})),I=Object(C.a)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:function(t,e){return e.endAdornment}})({position:"absolute",right:0,top:"calc(50% - 14px)"}),N=Object(C.a)(h.a,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:function(t,e){return e.clearIndicator}})({marginRight:-2,padding:4,visibility:"hidden"}),L=Object(C.a)(h.a,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:function(t,e){var n=t.ownerState;return Object(i.a)({},e.popupIndicator,n.popupOpen&&e.popupIndicatorOpen)}})((function(t){var e=t.ownerState;return Object(i.a)({padding:2,marginRight:-2},e.popupOpen&&{transform:"rotate(180deg)"})})),F=Object(C.a)(d.a,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:function(t,e){var n=t.ownerState;return[Object(r.a)({},"& .".concat(T.option),e.option),e.popper,n.disablePortal&&e.popperDisablePortal]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({zIndex:(e.vars||e).zIndex.modal},n.disablePortal&&{position:"absolute"})})),B=Object(C.a)(p.a,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:function(t,e){return e.paper}})((function(t){var e=t.theme;return Object(i.a)({},e.typography.body1,{overflow:"auto"})})),z=Object(C.a)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:function(t,e){return e.loading}})((function(t){var e=t.theme;return{color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}})),H=Object(C.a)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:function(t,e){return e.noOptions}})((function(t){var e=t.theme;return{color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}})),V=Object(C.a)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:function(t,e){return e.listbox}})((function(t){var e,n,o=t.theme;return Object(r.a)({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto"},"& .".concat(T.option),(n={minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16},Object(r.a)(n,o.breakpoints.up("sm"),{minHeight:"auto"}),Object(r.a)(n,"&.".concat(T.focused),{backgroundColor:(o.vars||o).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}),Object(r.a)(n,'&[aria-disabled="true"]',{opacity:(o.vars||o).palette.action.disabledOpacity,pointerEvents:"none"}),Object(r.a)(n,"&.".concat(T.focusVisible),{backgroundColor:(o.vars||o).palette.action.focus}),Object(r.a)(n,'&[aria-selected="true"]',(e={backgroundColor:o.vars?"rgba(".concat(o.vars.palette.primary.mainChannel," / ").concat(o.vars.palette.action.selectedOpacity,")"):Object(u.a)(o.palette.primary.main,o.palette.action.selectedOpacity)},Object(r.a)(e,"&.".concat(T.focused),{backgroundColor:o.vars?"rgba(".concat(o.vars.palette.primary.mainChannel," / calc(").concat(o.vars.palette.action.selectedOpacity," + ").concat(o.vars.palette.action.hoverOpacity,"))"):Object(u.a)(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(o.vars||o).palette.action.selected}}),Object(r.a)(e,"&.".concat(T.focusVisible),{backgroundColor:o.vars?"rgba(".concat(o.vars.palette.primary.mainChannel," / calc(").concat(o.vars.palette.action.selectedOpacity," + ").concat(o.vars.palette.action.focusOpacity,"))"):Object(u.a)(o.palette.primary.main,o.palette.action.selectedOpacity+o.palette.action.focusOpacity)}),e)),n))})),U=Object(C.a)(f.a,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:function(t,e){return e.groupLabel}})((function(t){var e=t.theme;return{backgroundColor:(e.vars||e).palette.background.paper,top:-8}})),W=Object(C.a)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:function(t,e){return e.groupUl}})(Object(r.a)({padding:0},"& .".concat(T.option),{paddingLeft:24})),q=a.forwardRef((function(t,e){var n,r,u,f,h,g=Object(j.a)({props:t,name:"MuiAutocomplete"}),m=(g.autoComplete,g.autoHighlight,g.autoSelect,g.blurOnSelect,g.ChipProps),b=g.className,y=g.clearIcon,x=void 0===y?_||(_=Object(w.jsx)(O,{fontSize:"small"})):y,C=g.clearOnBlur,k=(void 0===C&&g.freeSolo,g.clearOnEscape,g.clearText),E=void 0===k?"Clear":k,T=g.closeText,q=void 0===T?"Close":T,G=g.componentsProps,Y=void 0===G?{}:G,X=g.defaultValue,K=(void 0===X&&g.multiple,g.disableClearable),$=void 0!==K&&K,Z=(g.disableCloseOnSelect,g.disabled),Q=void 0!==Z&&Z,J=(g.disabledItemsFocusable,g.disableListWrap,g.disablePortal),tt=void 0!==J&&J,et=(g.filterSelectedOptions,g.forcePopupIcon),nt=void 0===et?"auto":et,rt=g.freeSolo,ot=void 0!==rt&&rt,it=g.fullWidth,at=void 0!==it&&it,st=g.getLimitTagsText,lt=void 0===st?function(t){return"+".concat(t)}:st,ct=g.getOptionLabel,ut=void 0===ct?function(t){var e;return null!=(e=t.label)?e:t}:ct,dt=g.groupBy,ft=g.handleHomeEndKeys,pt=(void 0===ft&&g.freeSolo,g.includeInputInList,g.limitTags),ht=void 0===pt?-1:pt,vt=g.ListboxComponent,gt=void 0===vt?"ul":vt,mt=g.ListboxProps,bt=g.loading,yt=void 0!==bt&&bt,xt=g.loadingText,wt=void 0===xt?"Loading\u2026":xt,Ot=g.multiple,St=void 0!==Ot&&Ot,jt=g.noOptionsText,Ct=void 0===jt?"No options":jt,kt=(g.openOnFocus,g.openText),Et=void 0===kt?"Open":kt,Pt=g.PaperComponent,_t=void 0===Pt?p.a:Pt,Mt=g.PopperComponent,Tt=void 0===Mt?d.a:Mt,At=g.popupIcon,Rt=void 0===At?M||(M=Object(w.jsx)(S.a,{})):At,Dt=g.readOnly,It=void 0!==Dt&&Dt,Nt=g.renderGroup,Lt=g.renderInput,Ft=g.renderOption,Bt=g.renderTags,zt=g.selectOnFocus,Ht=(void 0===zt&&g.freeSolo,g.size),Vt=void 0===Ht?"medium":Ht,Ut=Object(o.a)(g,R),Wt=Object(c.b)(Object(i.a)({},g,{componentName:"Autocomplete"})),qt=Wt.getRootProps,Gt=Wt.getInputProps,Yt=Wt.getInputLabelProps,Xt=Wt.getPopupIndicatorProps,Kt=Wt.getClearProps,$t=Wt.getTagProps,Zt=Wt.getListboxProps,Qt=Wt.getOptionProps,Jt=Wt.value,te=Wt.dirty,ee=Wt.id,ne=Wt.popupOpen,re=Wt.focused,oe=Wt.focusedTag,ie=Wt.anchorEl,ae=Wt.setAnchorEl,se=Wt.inputValue,le=Wt.groupedOptions,ce=!$&&!Q&&te&&!It,ue=(!ot||!0===nt)&&!1!==nt,de=Object(i.a)({},g,{disablePortal:tt,focused:re,fullWidth:at,hasClearIcon:ce,hasPopupIcon:ue,inputFocused:-1===oe,popupOpen:ne,size:Vt}),fe=function(t){var e=t.classes,n=t.disablePortal,r=t.focused,o=t.fullWidth,i=t.hasClearIcon,a=t.hasPopupIcon,s=t.inputFocused,c=t.popupOpen,u=t.size,d={root:["root",r&&"focused",o&&"fullWidth",i&&"hasClearIcon",a&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",s&&"inputFocused"],tag:["tag","tagSize".concat(Object(A.a)(u))],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return Object(l.a)(d,P,e)}(de);if(St&&Jt.length>0){var pe=function(t){return Object(i.a)({className:fe.tag,disabled:Q},$t(t))};h=Bt?Bt(Jt,pe,de):Jt.map((function(t,e){return Object(w.jsx)(v.a,Object(i.a)({label:ut(t),size:Vt},pe({index:e}),m))}))}if(ht>-1&&Array.isArray(h)){var he=h.length-ht;!re&&he>0&&(h=h.splice(0,ht)).push(Object(w.jsx)("span",{className:fe.tag,children:lt(he)},h.length))}var ve=Nt||function(t){return Object(w.jsxs)("li",{children:[Object(w.jsx)(U,{className:fe.groupLabel,ownerState:de,component:"div",children:t.group}),Object(w.jsx)(W,{className:fe.groupUl,ownerState:de,children:t.children})]},t.key)},ge=Ft||function(t,e){return Object(w.jsx)("li",Object(i.a)({},t,{children:ut(e)}))},me=function(t,e){var n=Qt({option:t,index:e});return ge(Object(i.a)({},n,{className:fe.option}),t,{selected:n["aria-selected"],inputValue:se})};return Object(w.jsxs)(a.Fragment,{children:[Object(w.jsx)(D,Object(i.a)({ref:e,className:Object(s.default)(fe.root,b),ownerState:de},qt(Ut),{children:Lt({id:ee,disabled:Q,fullWidth:!0,size:"small"===Vt?"small":void 0,InputLabelProps:Yt(),InputProps:Object(i.a)({ref:ae,className:fe.inputRoot,startAdornment:h},(ce||ue)&&{endAdornment:Object(w.jsxs)(I,{className:fe.endAdornment,ownerState:de,children:[ce?Object(w.jsx)(N,Object(i.a)({},Kt(),{"aria-label":E,title:E,ownerState:de},Y.clearIndicator,{className:Object(s.default)(fe.clearIndicator,null==(n=Y.clearIndicator)?void 0:n.className),children:x})):null,ue?Object(w.jsx)(L,Object(i.a)({},Xt(),{disabled:Q,"aria-label":ne?q:Et,title:ne?q:Et,ownerState:de},Y.popupIndicator,{className:Object(s.default)(fe.popupIndicator,null==(r=Y.popupIndicator)?void 0:r.className),children:Rt})):null]})}),inputProps:Object(i.a)({className:fe.input,disabled:Q,readOnly:It},Gt())})})),ne&&ie?Object(w.jsx)(F,Object(i.a)({as:Tt,disablePortal:tt,style:{width:ie?ie.clientWidth:null},ownerState:de,role:"presentation",anchorEl:ie,open:!0},Y.popper,{className:Object(s.default)(fe.popper,null==(u=Y.popper)?void 0:u.className),children:Object(w.jsxs)(B,Object(i.a)({ownerState:de,as:_t},Y.paper,{className:Object(s.default)(fe.paper,null==(f=Y.paper)?void 0:f.className),children:[yt&&0===le.length?Object(w.jsx)(z,{className:fe.loading,ownerState:de,children:wt}):null,0!==le.length||ot||yt?null:Object(w.jsx)(H,{className:fe.noOptions,ownerState:de,role:"presentation",onMouseDown:function(t){t.preventDefault()},children:Ct}),le.length>0?Object(w.jsx)(V,Object(i.a)({as:gt,className:fe.listbox,ownerState:de},Zt(),mt,{children:le.map((function(t,e){return dt?ve({key:t.key,group:t.group,children:t.options.map((function(e,n){return me(e,t.index+n)}))}):me(t,e)}))})):null]}))})):null]})}));e.a=q},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(167),u=n(66),d=n(0),f=Object(u.a)(Object(d.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel"),p=n(60),h=n(15),v=n(1163),g=n(17),m=n(13),b=n(168),y=n(187);function x(t){return Object(b.a)("MuiChip",t)}var w=Object(y.a)("MuiChip",["root","sizeSmall","sizeMedium","colorPrimary","colorSecondary","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","focusVisible"]),O=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"],S=Object(m.a)("div",{name:"MuiChip",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState,o=n.color,i=n.clickable,a=n.onDelete,s=n.size,l=n.variant;return[Object(r.a)({},"& .".concat(w.avatar),e.avatar),Object(r.a)({},"& .".concat(w.avatar),e["avatar".concat(Object(h.a)(s))]),Object(r.a)({},"& .".concat(w.avatar),e["avatarColor".concat(Object(h.a)(o))]),Object(r.a)({},"& .".concat(w.icon),e.icon),Object(r.a)({},"& .".concat(w.icon),e["icon".concat(Object(h.a)(s))]),Object(r.a)({},"& .".concat(w.icon),e["iconColor".concat(Object(h.a)(o))]),Object(r.a)({},"& .".concat(w.deleteIcon),e.deleteIcon),Object(r.a)({},"& .".concat(w.deleteIcon),e["deleteIcon".concat(Object(h.a)(s))]),Object(r.a)({},"& .".concat(w.deleteIcon),e["deleteIconColor".concat(Object(h.a)(o))]),Object(r.a)({},"& .".concat(w.deleteIcon),e["deleteIconOutlinedColor".concat(Object(h.a)(o))]),e.root,e["size".concat(Object(h.a)(s))],e["color".concat(Object(h.a)(o))],i&&e.clickable,i&&"default"!==o&&e["clickableColor".concat(Object(h.a)(o),")")],a&&e.deletable,a&&"default"!==o&&e["deletableColor".concat(Object(h.a)(o))],e[l],"outlined"===l&&e["outlined".concat(Object(h.a)(o))]]}})((function(t){var e,n=t.theme,o=t.ownerState,a=Object(c.a)(n.palette.text.primary,.26),s="light"===n.palette.mode?n.palette.grey[700]:n.palette.grey[300];return Object(i.a)((e={maxWidth:"100%",fontFamily:n.typography.fontFamily,fontSize:n.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(n.vars||n).palette.text.primary,backgroundColor:(n.vars||n).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:n.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box"},Object(r.a)(e,"&.".concat(w.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity,pointerEvents:"none"}),Object(r.a)(e,"& .".concat(w.avatar),{marginLeft:5,marginRight:-6,width:24,height:24,color:n.vars?n.vars.palette.Chip.defaultAvatarColor:s,fontSize:n.typography.pxToRem(12)}),Object(r.a)(e,"& .".concat(w.avatarColorPrimary),{color:(n.vars||n).palette.primary.contrastText,backgroundColor:(n.vars||n).palette.primary.dark}),Object(r.a)(e,"& .".concat(w.avatarColorSecondary),{color:(n.vars||n).palette.secondary.contrastText,backgroundColor:(n.vars||n).palette.secondary.dark}),Object(r.a)(e,"& .".concat(w.avatarSmall),{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:n.typography.pxToRem(10)}),Object(r.a)(e,"& .".concat(w.icon),Object(i.a)({color:n.vars?n.vars.palette.Chip.defaultIconColor:s,marginLeft:5,marginRight:-6},"small"===o.size&&{fontSize:18,marginLeft:4,marginRight:-4},"default"!==o.color&&{color:"inherit"})),Object(r.a)(e,"& .".concat(w.deleteIcon),Object(i.a)({WebkitTapHighlightColor:"transparent",color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.26)"):a,fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:n.vars?"rgba(".concat(n.vars.palette.text.primaryChannel," / 0.4)"):Object(c.a)(a,.4)}},"small"===o.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==o.color&&{color:n.vars?"rgba(".concat(n.vars.palette[o.color].contrastTextChannel," / 0.7)"):Object(c.a)(n.palette[o.color].contrastText,.7),"&:hover, &:active":{color:(n.vars||n).palette[o.color].contrastText}})),e),"small"===o.size&&{height:24},"default"!==o.color&&{backgroundColor:(n.vars||n).palette[o.color].main,color:(n.vars||n).palette[o.color].contrastText},o.onDelete&&Object(r.a)({},"&.".concat(w.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity+n.vars.palette.action.focusOpacity,"))"):Object(c.a)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),o.onDelete&&"default"!==o.color&&Object(r.a)({},"&.".concat(w.focusVisible),{backgroundColor:(n.vars||n).palette[o.color].dark}))}),(function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)({},o.clickable&&(e={userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity+n.vars.palette.action.hoverOpacity,"))"):Object(c.a)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}},Object(r.a)(e,"&.".concat(w.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.action.selectedChannel," / calc(").concat(n.vars.palette.action.selectedOpacity+n.vars.palette.action.focusOpacity,"))"):Object(c.a)(n.palette.action.selected,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)}),Object(r.a)(e,"&:active",{boxShadow:(n.vars||n).shadows[1]}),e),o.clickable&&"default"!==o.color&&Object(r.a)({},"&:hover, &.".concat(w.focusVisible),{backgroundColor:(n.vars||n).palette[o.color].dark}))}),(function(t){var e,n,o=t.theme,a=t.ownerState;return Object(i.a)({},"outlined"===a.variant&&(e={backgroundColor:"transparent",border:o.vars?"1px solid ".concat(o.vars.palette.Chip.defaultBorder):"1px solid ".concat("light"===o.palette.mode?o.palette.grey[400]:o.palette.grey[700])},Object(r.a)(e,"&.".concat(w.clickable,":hover"),{backgroundColor:(o.vars||o).palette.action.hover}),Object(r.a)(e,"&.".concat(w.focusVisible),{backgroundColor:(o.vars||o).palette.action.focus}),Object(r.a)(e,"& .".concat(w.avatar),{marginLeft:4}),Object(r.a)(e,"& .".concat(w.avatarSmall),{marginLeft:2}),Object(r.a)(e,"& .".concat(w.icon),{marginLeft:4}),Object(r.a)(e,"& .".concat(w.iconSmall),{marginLeft:2}),Object(r.a)(e,"& .".concat(w.deleteIcon),{marginRight:5}),Object(r.a)(e,"& .".concat(w.deleteIconSmall),{marginRight:3}),e),"outlined"===a.variant&&"default"!==a.color&&(n={color:(o.vars||o).palette[a.color].main,border:"1px solid ".concat(o.vars?"rgba(".concat(o.vars.palette[a.color].mainChannel," / 0.7)"):Object(c.a)(o.palette[a.color].main,.7))},Object(r.a)(n,"&.".concat(w.clickable,":hover"),{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[a.color].mainChannel," / ").concat(o.vars.palette.action.hoverOpacity,")"):Object(c.a)(o.palette[a.color].main,o.palette.action.hoverOpacity)}),Object(r.a)(n,"&.".concat(w.focusVisible),{backgroundColor:o.vars?"rgba(".concat(o.vars.palette[a.color].mainChannel," / ").concat(o.vars.palette.action.focusOpacity,")"):Object(c.a)(o.palette[a.color].main,o.palette.action.focusOpacity)}),Object(r.a)(n,"& .".concat(w.deleteIcon),{color:o.vars?"rgba(".concat(o.vars.palette[a.color].mainChannel," / 0.7)"):Object(c.a)(o.palette[a.color].main,.7),"&:hover, &:active":{color:(o.vars||o).palette[a.color].main}}),n))})),j=Object(m.a)("span",{name:"MuiChip",slot:"Label",overridesResolver:function(t,e){var n=t.ownerState.size;return[e.label,e["label".concat(Object(h.a)(n))]]}})((function(t){var e=t.ownerState;return Object(i.a)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"small"===e.size&&{paddingLeft:8,paddingRight:8})}));function C(t){return"Backspace"===t.key||"Delete"===t.key}var k=a.forwardRef((function(t,e){var n=Object(g.a)({props:t,name:"MuiChip"}),r=n.avatar,c=n.className,u=n.clickable,m=n.color,b=void 0===m?"default":m,y=n.component,w=n.deleteIcon,k=n.disabled,E=void 0!==k&&k,P=n.icon,_=n.label,M=n.onClick,T=n.onDelete,A=n.onKeyDown,R=n.onKeyUp,D=n.size,I=void 0===D?"medium":D,N=n.variant,L=void 0===N?"filled":N,F=Object(o.a)(n,O),B=a.useRef(null),z=Object(p.a)(B,e),H=function(t){t.stopPropagation(),T&&T(t)},V=!(!1===u||!M)||u,U="small"===I,W=V||T?v.a:y||"div",q=Object(i.a)({},n,{component:W,disabled:E,size:I,color:b,onDelete:!!T,clickable:V,variant:L}),G=function(t){var e=t.classes,n=t.disabled,r=t.size,o=t.color,i=t.onDelete,a=t.clickable,s=t.variant,c={root:["root",s,n&&"disabled","size".concat(Object(h.a)(r)),"color".concat(Object(h.a)(o)),a&&"clickable",a&&"clickableColor".concat(Object(h.a)(o)),i&&"deletable",i&&"deletableColor".concat(Object(h.a)(o)),"".concat(s).concat(Object(h.a)(o))],label:["label","label".concat(Object(h.a)(r))],avatar:["avatar","avatar".concat(Object(h.a)(r)),"avatarColor".concat(Object(h.a)(o))],icon:["icon","icon".concat(Object(h.a)(r)),"iconColor".concat(Object(h.a)(o))],deleteIcon:["deleteIcon","deleteIcon".concat(Object(h.a)(r)),"deleteIconColor".concat(Object(h.a)(o)),"deleteIconOutlinedColor".concat(Object(h.a)(o))]};return Object(l.a)(c,x,e)}(q),Y=W===v.a?Object(i.a)({component:y||"div",focusVisibleClassName:G.focusVisible},T&&{disableRipple:!0}):{},X=null;if(T){var K=Object(s.default)("default"!==b&&("outlined"===L?G["deleteIconOutlinedColor".concat(Object(h.a)(b))]:G["deleteIconColor".concat(Object(h.a)(b))]),U&&G.deleteIconSmall);X=w&&a.isValidElement(w)?a.cloneElement(w,{className:Object(s.default)(w.props.className,G.deleteIcon,K),onClick:H}):Object(d.jsx)(f,{className:Object(s.default)(G.deleteIcon,K),onClick:H})}var $=null;r&&a.isValidElement(r)&&($=a.cloneElement(r,{className:Object(s.default)(G.avatar,r.props.className)}));var Z=null;return P&&a.isValidElement(P)&&(Z=a.cloneElement(P,{className:Object(s.default)(G.icon,P.props.className)})),Object(d.jsxs)(S,Object(i.a)({as:W,className:Object(s.default)(G.root,c),disabled:!(!V||!E)||void 0,onClick:M,onKeyDown:function(t){t.currentTarget===t.target&&C(t)&&t.preventDefault(),A&&A(t)},onKeyUp:function(t){t.currentTarget===t.target&&(T&&C(t)?T(t):"Escape"===t.key&&B.current&&B.current.blur()),R&&R(t)},ref:z,ownerState:q},Y,F,{children:[$||Z,Object(d.jsx)(j,{className:Object(s.default)(G.label),ownerState:q,children:_}),X]}))}));e.a=k},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(1308),c=n(736),u=n(163),d=n(60),f=n(52),p=n(128),h=n(247),v=n(0),g=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function m(t,e,n){var r,o=function(t,e,n){var r,o=e.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),a=Object(h.a)(e);if(e.fakeTransform)r=e.fakeTransform;else{var s=a.getComputedStyle(e);r=s.getPropertyValue("-webkit-transform")||s.getPropertyValue("transform")}var l=0,c=0;if(r&&"none"!==r&&"string"===typeof r){var u=r.split("(")[1].split(")")[0].split(",");l=parseInt(u[4],10),c=parseInt(u[5],10)}return"left"===t?"translateX(".concat(i?i.right+l-o.left:a.innerWidth+l-o.left,"px)"):"right"===t?"translateX(-".concat(i?o.right-i.left-l:o.left+o.width-l,"px)"):"up"===t?"translateY(".concat(i?i.bottom+c-o.top:a.innerHeight+c-o.top,"px)"):"translateY(-".concat(i?o.top-i.top+o.height-c:o.top+o.height-c,"px)")}(t,e,"function"===typeof(r=n)?r():r);o&&(e.style.webkitTransform=o,e.style.transform=o)}var b=i.forwardRef((function(t,e){var n=Object(f.a)(),a={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},s={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},l=t.addEndListener,b=t.appear,y=void 0===b||b,x=t.children,w=t.container,O=t.direction,S=void 0===O?"down":O,j=t.easing,C=void 0===j?a:j,k=t.in,E=t.onEnter,P=t.onEntered,_=t.onEntering,M=t.onExit,T=t.onExited,A=t.onExiting,R=t.style,D=t.timeout,I=void 0===D?s:D,N=t.TransitionComponent,L=void 0===N?c.a:N,F=Object(r.a)(t,g),B=i.useRef(null),z=Object(d.a)(x.ref,B),H=Object(d.a)(z,e),V=function(t){return function(e){t&&(void 0===e?t(B.current):t(B.current,e))}},U=V((function(t,e){m(S,t,w),Object(p.b)(t),E&&E(t,e)})),W=V((function(t,e){var r=Object(p.a)({timeout:I,style:R,easing:C},{mode:"enter"});t.style.webkitTransition=n.transitions.create("-webkit-transform",Object(o.a)({},r)),t.style.transition=n.transitions.create("transform",Object(o.a)({},r)),t.style.webkitTransform="none",t.style.transform="none",_&&_(t,e)})),q=V(P),G=V(A),Y=V((function(t){var e=Object(p.a)({timeout:I,style:R,easing:C},{mode:"exit"});t.style.webkitTransition=n.transitions.create("-webkit-transform",e),t.style.transition=n.transitions.create("transform",e),m(S,t,w),M&&M(t)})),X=V((function(t){t.style.webkitTransition="",t.style.transition="",T&&T(t)})),K=i.useCallback((function(){B.current&&m(S,B.current,w)}),[S,w]);return i.useEffect((function(){if(!k&&"down"!==S&&"right"!==S){var t=Object(u.a)((function(){B.current&&m(S,B.current,w)})),e=Object(h.a)(B.current);return e.addEventListener("resize",t),function(){t.clear(),e.removeEventListener("resize",t)}}}),[S,k,w]),i.useEffect((function(){k||K()}),[k,K]),Object(v.jsx)(L,Object(o.a)({nodeRef:B,onEnter:U,onEntered:q,onEntering:W,onExit:Y,onExited:X,onExiting:G,addEndListener:function(t){l&&l(B.current,t)},appear:y,in:k,timeout:I},F,{children:function(t,e){return i.cloneElement(x,Object(o.a)({ref:H,style:Object(o.a)({visibility:"exited"!==t||k?void 0:"hidden"},R,x.props.style)},e))}}))})),y=n(1330),x=n(15),w=n(17),O=n(13),S=n(168),j=n(187);function C(t){return Object(S.a)("MuiDrawer",t)}Object(j.a)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);var k=["BackdropProps"],E=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],P=function(t,e){var n=t.ownerState;return[e.root,("permanent"===n.variant||"persistent"===n.variant)&&e.docked,e.modal]},_=Object(O.a)(l.a,{name:"MuiDrawer",slot:"Root",overridesResolver:P})((function(t){var e=t.theme;return{zIndex:(e.vars||e).zIndex.drawer}})),M=Object(O.a)("div",{shouldForwardProp:O.b,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:P})({flex:"0 0 auto"}),T=Object(O.a)(y.a,{name:"MuiDrawer",slot:"Paper",overridesResolver:function(t,e){var n=t.ownerState;return[e.paper,e["paperAnchor".concat(Object(x.a)(n.anchor))],"temporary"!==n.variant&&e["paperAnchorDocked".concat(Object(x.a)(n.anchor))]]}})((function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},"left"===n.anchor&&{left:0},"top"===n.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===n.anchor&&{right:0},"bottom"===n.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===n.anchor&&"temporary"!==n.variant&&{borderRight:"1px solid ".concat((e.vars||e).palette.divider)},"top"===n.anchor&&"temporary"!==n.variant&&{borderBottom:"1px solid ".concat((e.vars||e).palette.divider)},"right"===n.anchor&&"temporary"!==n.variant&&{borderLeft:"1px solid ".concat((e.vars||e).palette.divider)},"bottom"===n.anchor&&"temporary"!==n.variant&&{borderTop:"1px solid ".concat((e.vars||e).palette.divider)})})),A={left:"right",right:"left",top:"down",bottom:"up"};var R=i.forwardRef((function(t,e){var n=Object(w.a)({props:t,name:"MuiDrawer"}),l=Object(f.a)(),c={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},u=n.anchor,d=void 0===u?"left":u,p=n.BackdropProps,h=n.children,g=n.className,m=n.elevation,y=void 0===m?16:m,O=n.hideBackdrop,S=void 0!==O&&O,j=n.ModalProps,P=(j=void 0===j?{}:j).BackdropProps,R=n.onClose,D=n.open,I=void 0!==D&&D,N=n.PaperProps,L=void 0===N?{}:N,F=n.SlideProps,B=n.TransitionComponent,z=void 0===B?b:B,H=n.transitionDuration,V=void 0===H?c:H,U=n.variant,W=void 0===U?"temporary":U,q=Object(r.a)(n.ModalProps,k),G=Object(r.a)(n,E),Y=i.useRef(!1);i.useEffect((function(){Y.current=!0}),[]);var X=function(t,e){return"rtl"===t.direction&&function(t){return-1!==["left","right"].indexOf(t)}(e)?A[e]:e}(l,d),K=d,$=Object(o.a)({},n,{anchor:K,elevation:y,open:I,variant:W},G),Z=function(t){var e=t.classes,n=t.anchor,r=t.variant,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat(Object(x.a)(n)),"temporary"!==r&&"paperAnchorDocked".concat(Object(x.a)(n))]};return Object(s.a)(o,C,e)}($),Q=Object(v.jsx)(T,Object(o.a)({elevation:"temporary"===W?y:0,square:!0},L,{className:Object(a.default)(Z.paper,L.className),ownerState:$,children:h}));if("permanent"===W)return Object(v.jsx)(M,Object(o.a)({className:Object(a.default)(Z.root,Z.docked,g),ownerState:$,ref:e},G,{children:Q}));var J=Object(v.jsx)(z,Object(o.a)({in:I,direction:A[X],timeout:V,appear:Y.current},F,{children:Q}));return"persistent"===W?Object(v.jsx)(M,Object(o.a)({className:Object(a.default)(Z.root,Z.docked,g),ownerState:$,ref:e},G,{children:J})):Object(v.jsx)(_,Object(o.a)({BackdropProps:Object(o.a)({},p,P,{transitionDuration:V}),className:Object(a.default)(Z.root,Z.modal,g),open:I,ownerState:$,onClose:R,hideBackdrop:S,ref:e},G,q,{children:J}))}));e.a=R},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(728),c=n(168),u=n(230),d=n(1155),f=n(354),p=Object(f.a)(),h=n(1164),v=n(0),g=["className","component","disableGutters","fixed","maxWidth","classes"],m=Object(h.a)(),b=p("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["maxWidth".concat(Object(l.a)(String(n.maxWidth)))],n.fixed&&e.fixed,n.disableGutters&&e.disableGutters]}}),y=function(t){return Object(d.a)({props:t,name:"MuiContainer",defaultTheme:m})},x=function(t,e){var n=t.classes,r=t.fixed,o=t.disableGutters,i=t.maxWidth,a={root:["root",i&&"maxWidth".concat(Object(l.a)(String(i))),r&&"fixed",o&&"disableGutters"]};return Object(u.a)(a,(function(t){return Object(c.a)(e,t)}),n)};var w=n(15),O=n(13),S=n(17),j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.createStyledComponent,n=void 0===e?b:e,l=t.useThemeProps,c=void 0===l?y:l,u=t.componentName,d=void 0===u?"MuiContainer":u,f=n((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!n.disableGutters&&Object(r.a)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}))}),(function(t){var e=t.theme;return t.ownerState.fixed&&Object.keys(e.breakpoints.values).reduce((function(t,n){var r=n,o=e.breakpoints.values[r];return 0!==o&&(t[e.breakpoints.up(r)]={maxWidth:"".concat(o).concat(e.breakpoints.unit)}),t}),{})}),(function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({},"xs"===n.maxWidth&&Object(r.a)({},e.breakpoints.up("xs"),{maxWidth:Math.max(e.breakpoints.values.xs,444)}),n.maxWidth&&"xs"!==n.maxWidth&&Object(r.a)({},e.breakpoints.up(n.maxWidth),{maxWidth:"".concat(e.breakpoints.values[n.maxWidth]).concat(e.breakpoints.unit)}))})),p=a.forwardRef((function(t,e){var n=c(t),r=n.className,a=n.component,l=void 0===a?"div":a,u=n.disableGutters,p=void 0!==u&&u,h=n.fixed,m=void 0!==h&&h,b=n.maxWidth,y=void 0===b?"lg":b,w=Object(o.a)(n,g),O=Object(i.a)({},n,{component:l,disableGutters:p,fixed:m,maxWidth:y}),S=x(O,d);return Object(v.jsx)(f,Object(i.a)({as:l,ownerState:O,className:Object(s.default)(S.root,r),ref:e},w))}));return p}({createStyledComponent:Object(O.a)("div",{name:"MuiContainer",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["maxWidth".concat(Object(w.a)(String(n.maxWidth)))],n.fixed&&e.fixed,n.disableGutters&&e.disableGutters]}}),useThemeProps:function(t){return Object(S.a)({props:t,name:"MuiContainer"})}});e.a=j},function(t,e,n){"use strict";var r=n(2),o=n(5),i=n(12),a=n(3),s=n(1),l=n(10),c=n(1335),u=n(13),d=n(167),f=n(17),p=n(60),h=n(154),v=n(731),g=n(296),m=n(347);var b=n(0),y=["classes","className","displayIcon","expansionIcon","icon","label","nodeId","onClick","onMouseDown"],x=s.forwardRef((function(t,e){var n=t.classes,r=t.className,o=t.displayIcon,c=t.expansionIcon,u=t.icon,d=t.label,f=t.nodeId,p=t.onClick,h=t.onMouseDown,v=Object(i.a)(t,y),m=function(t){var e=s.useContext(g.a),n=e.focus,r=e.isExpanded,o=e.isExpandable,i=e.isFocused,a=e.isDisabled,l=e.isSelected,c=e.multiSelect,u=e.selectNode,d=e.selectRange,f=e.toggleExpansion,p=!!o&&o(t),h=!!r&&r(t),v=!!i&&i(t),m=!!a&&a(t),b=!!l&&l(t);return{disabled:m,expanded:h,selected:b,focused:v,handleExpansion:function(e){if(!m){v||n(e,t);var o=c&&(e.shiftKey||e.ctrlKey||e.metaKey);!p||o&&r(t)||f(e,t)}},handleSelection:function(e){m||(v||n(e,t),c&&(e.shiftKey||e.ctrlKey||e.metaKey)?e.shiftKey?d(e,{end:t}):u(e,t,!0):u(e,t))},preventSelection:function(t){(t.shiftKey||t.ctrlKey||t.metaKey||m)&&t.preventDefault()}}}(f),x=m.disabled,w=m.expanded,O=m.selected,S=m.focused,j=m.handleExpansion,C=m.handleSelection,k=m.preventSelection,E=u||c||o;return Object(b.jsxs)("div",Object(a.a)({className:Object(l.default)(r,n.root,w&&n.expanded,O&&n.selected,S&&n.focused,x&&n.disabled),onClick:function(t){j(t),C(t),p&&p(t)},onMouseDown:function(t){k(t),h&&h(t)},ref:e},v,{children:[Object(b.jsx)("div",{className:n.iconContainer,children:E}),Object(b.jsx)("div",{className:n.label,children:d})]}))})),w=n(186),O=["children","className","collapseIcon","ContentComponent","ContentProps","endIcon","expandIcon","disabled","icon","id","label","nodeId","onClick","onMouseDown","TransitionComponent","TransitionProps"],S=Object(u.a)("li",{name:"MuiTreeItem",slot:"Root",overridesResolver:function(t,e){return e.root}})({listStyle:"none",margin:0,padding:0,outline:0}),j=Object(u.a)(x,{name:"MuiTreeItem",slot:"Content",overridesResolver:function(t,e){return[e.content,e.iconContainer&&Object(o.a)({},"& .".concat(w.a.iconContainer),e.iconContainer),e.label&&Object(o.a)({},"& .".concat(w.a.label),e.label)]}})((function(t){var e,n=t.theme;return e={padding:"0 8px",width:"100%",display:"flex",alignItems:"center",cursor:"pointer",WebkitTapHighlightColor:"transparent","&:hover":{backgroundColor:n.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},Object(o.a)(e,"&.".concat(w.a.disabled),{opacity:n.palette.action.disabledOpacity,backgroundColor:"transparent"}),Object(o.a)(e,"&.".concat(w.a.focused),{backgroundColor:n.palette.action.focus}),Object(o.a)(e,"&.".concat(w.a.selected),Object(o.a)({backgroundColor:Object(d.a)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:Object(d.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:Object(d.a)(n.palette.primary.main,n.palette.action.selectedOpacity)}}},"&.".concat(w.a.focused),{backgroundColor:Object(d.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),Object(o.a)(e,"& .".concat(w.a.iconContainer),{marginRight:4,width:15,display:"flex",flexShrink:0,justifyContent:"center","& svg":{fontSize:18}}),Object(o.a)(e,"& .".concat(w.a.label),Object(a.a)({width:"100%",minWidth:0,paddingLeft:4,position:"relative"},n.typography.body1)),e})),C=Object(u.a)(c.a,{name:"MuiTreeItem",slot:"Group",overridesResolver:function(t,e){return e.group}})({margin:0,padding:0,marginLeft:17}),k=s.forwardRef((function(t,e){var n=Object(f.a)({props:t,name:"MuiTreeItem"}),o=n.children,u=n.className,d=n.collapseIcon,y=n.ContentComponent,k=void 0===y?x:y,E=n.ContentProps,P=n.endIcon,_=n.expandIcon,M=n.disabled,T=n.icon,A=n.id,R=n.label,D=n.nodeId,I=n.onClick,N=n.onMouseDown,L=n.TransitionComponent,F=void 0===L?c.a:L,B=n.TransitionProps,z=Object(i.a)(n,O),H=s.useContext(g.a),V=H.icons,U=void 0===V?{}:V,W=H.focus,q=H.isExpanded,G=H.isFocused,Y=H.isSelected,X=H.isDisabled,K=H.multiSelect,$=H.disabledItemsFocusable,Z=H.mapFirstChar,Q=H.unMapFirstChar,J=H.registerNode,tt=H.unregisterNode,et=H.treeId,nt=null;null!=A?nt=A:et&&D&&(nt="".concat(et,"-").concat(D));var rt,ot,it,at=s.useState(null),st=Object(r.a)(at,2),lt=st[0],ct=st[1],ut=s.useRef(null),dt=Object(p.a)(ct,e),ft=s.useMemo((function(){return{element:lt,id:D}}),[D,lt]),pt=Object(m.b)(ft),ht=pt.index,vt=pt.parentId,gt=Boolean(Array.isArray(o)?o.length:o),mt=!!q&&q(D),bt=!!G&&G(D),yt=!!Y&&Y(D),xt=!!X&&X(D),wt=Object(a.a)({},n,{expanded:mt,focused:bt,selected:yt,disabled:xt}),Ot=function(t){var e=t.classes;return Object(v.a)({root:["root"],content:["content"],expanded:["expanded"],selected:["selected"],focused:["focused"],disabled:["disabled"],iconContainer:["iconContainer"],label:["label"],group:["group"]},w.b,e)}(wt);return gt&&(ot=mt?d||U.defaultCollapseIcon:_||U.defaultExpandIcon),rt=gt?U.defaultParentIcon:P||U.defaultEndIcon,s.useEffect((function(){if(J&&tt&&-1!==ht)return J({id:D,idAttribute:nt,index:ht,parentId:vt,expandable:gt,disabled:M}),function(){tt(D)}}),[J,tt,vt,ht,D,gt,M,nt]),s.useEffect((function(){if(Z&&Q&&R)return Z(D,ut.current.textContent.substring(0,1).toLowerCase()),function(){Q(D)}}),[Z,Q,D,R]),K?it=yt:yt&&(it=!0),Object(b.jsxs)(S,Object(a.a)({className:Object(l.default)(Ot.root,u),role:"treeitem","aria-expanded":gt?mt:null,"aria-selected":it,"aria-disabled":xt||null,ref:dt,id:nt,tabIndex:-1},z,{ownerState:wt,onFocus:function(t){t.target===t.currentTarget&&Object(h.a)(t.target).getElementById(et).focus({preventScroll:!0});var e=!$&&xt;bt||t.currentTarget!==t.target||e||W(t,D)},children:[Object(b.jsx)(j,Object(a.a)({as:k,ref:ut,classes:{root:Ot.content,expanded:Ot.expanded,selected:Ot.selected,focused:Ot.focused,disabled:Ot.disabled,iconContainer:Ot.iconContainer,label:Ot.label},label:R,nodeId:D,onClick:I,onMouseDown:N,icon:T,expansionIcon:ot,displayIcon:rt,ownerState:wt},E)),o&&Object(b.jsx)(m.a,{id:D,children:Object(b.jsx)(C,Object(a.a)({as:F,unmountOnExit:!0,className:Ot.group,in:mt,component:"ul",role:"group"},B,{children:o}))})]}))}));e.a=k},function(t,e,n){"use strict";var r=n(1),o=n(3),i=n(403),a=n(1152),s="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",l=n(0);var c=function(t){var e=t.children,n=t.theme,c=Object(a.a)(),u=r.useMemo((function(){var t=null===c?n:function(t,e){return"function"===typeof e?e(t):Object(o.a)({},t,e)}(c,n);return null!=t&&(t[s]=null!==c),t}),[n,c]);return Object(l.jsx)(i.a.Provider,{value:u,children:e})},u=n(112),d=n(251);function f(t){var e=Object(d.a)();return Object(l.jsx)(u.c.Provider,{value:"object"===typeof e?e:{},children:t.children})}e.a=function(t){var e=t.children,n=t.theme;return Object(l.jsx)(c,{theme:n,children:Object(l.jsx)(f,{children:e})})}},function(t,e,n){"use strict";n.d(e,"a",(function(){return it}));var r=n(90),o=n.n(r),i=n(679),a=n.n(i),s=n(40),l=n.n(s),c=n(203),u=n.n(c),d=n(56),f=n.n(d),p=n(1),h=n.n(p),v=n(166),g=n(205),m=n(74),b=n(253),y=n(39);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},x(t)}function w(){return 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},w.apply(this,arguments)}function O(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(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 C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},C(t,e)}function k(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(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 P(t){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},P(t)}function _(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return M(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var T=function(t){return t&&t.x===+t.x&&t.y===+t.y},A=function(t,e){var n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[[]];return t.forEach((function(t){T(t)?e[e.length-1].push(t):e[e.length-1].length>0&&e.push([])})),T(t[0])&&e[e.length-1].push(t[0]),e[e.length-1].length<=0&&(e=e.slice(0,-1)),e}(t);e&&(n=[n.reduce((function(t,e){return[].concat(_(t),_(e))}),[])]);var r=n.map((function(t){return t.reduce((function(t,e,n){return"".concat(t).concat(0===n?"M":"L").concat(e.x,",").concat(e.y)}),"")})).join("");return 1===n.length?"".concat(r,"Z"):r},R=function(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&&C(t,e)}(i,t);var e,n,r,o=k(i);function i(){return S(this,i),o.apply(this,arguments)}return e=i,(n=[{key:"render",value:function(){var t=this.props,e=t.points,n=t.className,r=t.baseLinePoints,o=t.connectNulls,i=O(t,["points","className","baseLinePoints","connectNulls"]);if(!e||!e.length)return null;var a=f()("recharts-polygon",n);if(r&&r.length){var s=i.stroke&&"none"!==i.stroke,l=function(t,e,n){var r=A(t,n);return"".concat("Z"===r.slice(-1)?r.slice(0,-1):r,"L").concat(A(e.reverse(),n).slice(1))}(e,r,o);return h.a.createElement("g",{className:a},h.a.createElement("path",w({},Object(y.c)(i,!0),{fill:"Z"===l.slice(-1)?i.fill:"none",stroke:"none",d:l})),s?h.a.createElement("path",w({},Object(y.c)(i,!0),{fill:"none",d:A(e,o)})):null,s?h.a.createElement("path",w({},Object(y.c)(i,!0),{fill:"none",d:A(r,o)})):null)}var c=A(e,o);return h.a.createElement("path",w({},Object(y.c)(i,!0),{fill:"Z"===c.slice(-1)?i.fill:"none",className:a,d:c}))}}])&&j(e.prototype,n),r&&j(e,r),i}(p.PureComponent),D=n(198),I=n(43),N=["#1890FF","#66B5FF","#41D9C7","#2FC25B","#6EDB8F","#9AE65C","#FACC14","#E6965C","#57AD71","#223273","#738AE6","#7564CC","#8543E0","#A877ED","#5C8EE6","#13C2C2","#70E0E0","#5CA3E6","#3436C7","#8082FF","#DD81E6","#F04864","#FA7D92","#D598D9"],L=n(18),F=n(136),B=n(145),z=n(58);function H(t){return H="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},H(t)}function V(){return V=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},V.apply(this,arguments)}function U(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 G(t,e){return G=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},G(t,e)}function Y(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=K(t);if(e){var o=K(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return X(this,n)}}function X(t,e){return!e||"object"!==H(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 K(t){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},K(t)}function $(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){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?$(Object(n),!0).forEach((function(e){Q(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var J="value",tt=function t(e){var n,r,o=e.depth,i=e.node,a=e.index,s=e.valueKey,l=i.children,c=o+1,d=l&&l.length?l.map((function(e,n){return t({depth:c,node:e,index:n,valueKey:s})})):null;return r=l&&l.length?d.reduce((function(t,e){return t+e.value}),0):u()(i[s])||i[s]<=0?0:i[s],Z(Z({},i),{},(Q(n={children:d},J,r),Q(n,"depth",o),Q(n,"index",a),n))},et=function(t,e,n){var r=e*e,o=t.area*t.area,i=t.reduce((function(t,e){return{min:Math.min(t.min,e.area),max:Math.max(t.max,e.area)}}),{min:1/0,max:0}),a=i.min,s=i.max;return o?Math.max(r*s*n/o,o/(r*a*n)):1/0},nt=function(t,e,n,r){return e===n.width?function(t,e,n,r){var o=e?Math.round(t.area/e):0;(r||o>n.height)&&(o=n.height);for(var i,a=n.x,s=0,l=t.length;s<l;s++)(i=t[s]).x=a,i.y=n.y,i.height=o,i.width=Math.min(o?Math.round(i.area/o):0,n.x+n.width-a),a+=i.width;return i.z=!0,i.width+=n.x+n.width-a,Z(Z({},n),{},{y:n.y+o,height:n.height-o})}(t,e,n,r):function(t,e,n,r){var o=e?Math.round(t.area/e):0;(r||o>n.width)&&(o=n.width);for(var i,a=n.y,s=0,l=t.length;s<l;s++)(i=t[s]).x=n.x,i.y=a,i.width=o,i.height=Math.min(o?Math.round(i.area/o):0,n.y+n.height-a),a+=i.height;return i&&(i.z=!1,i.height+=n.y+n.height-a),Z(Z({},n),{},{x:n.x+o,width:n.width-o})}(t,e,n,r)},rt=function t(e,n){var r=e.children;if(r&&r.length){var o,i,a=function(t){return{x:t.x,y:t.y,width:t.width,height:t.height}}(e),s=[],l=1/0,c=Math.min(a.width,a.height),d=function(t,e){var n=e<0?0:e;return t.map((function(t){var e=t.value*n;return Z(Z({},t),{},{area:u()(e)||e<=0?0:e})}))}(r,a.width*a.height/e.value),f=d.slice();for(s.area=0;f.length>0;)s.push(o=f[0]),s.area+=o.area,(i=et(s,c,n))<=l?(f.shift(),l=i):(s.area-=s.pop().area,a=nt(s,c,a,!1),c=Math.min(a.width,a.height),s.length=s.area=0,l=1/0);return s.length&&(a=nt(s,c,a,!0),s.length=s.area=0),Z(Z({},e),{},{children:d.map((function(e){return t(e,n)}))})}return e},ot={isTooltipActive:!1,isAnimationFinished:!1,activeNode:null,formatRoot:null,currentRoot:null,nestIndex:[]},it=function(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&&G(t,e)}(s,t);var e,n,r,i=Y(s);function s(){var t;W(this,s);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state=Z({},ot),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),l()(e)&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),l()(e)&&e()},t}return e=s,r=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.data!==e.prevData||t.type!==e.prevType||t.width!==e.prevWidth||t.height!==e.prevHeight||t.dataKey!==e.prevDataKey||t.aspectRatio!==e.prevAspectRatio){var n=tt({depth:0,node:{children:t.data,x:0,y:0,width:t.width,height:t.height},index:0,valueKey:t.dataKey}),r=rt(n,t.aspectRatio);return Z(Z({},e),{},{formatRoot:r,currentRoot:n,nestIndex:[n],prevAspectRatio:t.aspectRatio,prevData:t.data,prevWidth:t.width,prevHeight:t.height,prevDataKey:t.dataKey,prevType:t.type})}return null}},{key:"renderContentItem",value:function(t,e,n,r){if(h.a.isValidElement(t))return h.a.cloneElement(t,e);if(l()(t))return t(e);var o=e.x,i=e.y,s=e.width,c=e.height,u=e.index,d=null;s>10&&c>10&&e.children&&"nest"===n&&(d=h.a.createElement(R,{points:[{x:o+2,y:i+c/2},{x:o+6,y:i+c/2+3},{x:o+2,y:i+c/2+6}]}));var f=null,p=Object(F.c)(e.name);s>20&&c>20&&p.width<s&&p.height<c&&(f=h.a.createElement("text",{x:o+8,y:i+c/2+7,fontSize:14},e.name));var v=r||N;return h.a.createElement("g",null,h.a.createElement(D.a,V({fill:e.depth<2?v[u%v.length]:"rgba(255,255,255,0)",stroke:"#fff"},a()(e,"children"))),d,f)}}],(n=[{key:"handleMouseEnter",value:function(t,e){var n=this.props,r=n.onMouseEnter,o=n.children;Object(z.c)(o,g.a.displayName)?this.setState({isTooltipActive:!0,activeNode:t},(function(){r&&r(t,e)})):r&&r(t,e)}},{key:"handleMouseLeave",value:function(t,e){var n=this.props,r=n.onMouseLeave,o=n.children;Object(z.c)(o,g.a.displayName)?this.setState({isTooltipActive:!1,activeNode:null},(function(){r&&r(t,e)})):r&&r(t,e)}},{key:"handleClick",value:function(t){var e=this.props,n=e.onClick;if("nest"===e.type&&t.children){var r=this.props,o=r.width,i=r.height,a=r.dataKey,s=r.aspectRatio,l=tt({depth:0,node:Z(Z({},t),{},{x:0,y:0,width:o,height:i}),index:0,valueKey:a}),c=rt(l,s),u=this.state.nestIndex;u.push(t),this.setState({formatRoot:c,currentRoot:l,nestIndex:u})}n&&n(t)}},{key:"handleNestIndex",value:function(t,e){var n=this.state.nestIndex,r=this.props,o=r.width,i=r.height,a=r.dataKey,s=r.aspectRatio,l=tt({depth:0,node:Z(Z({},t),{},{x:0,y:0,width:o,height:i}),index:0,valueKey:a}),c=rt(l,s);n=n.slice(0,e+1),this.setState({formatRoot:c,currentRoot:t,nestIndex:n})}},{key:"renderItem",value:function(t,e,n){var r=this,o=this.props,i=o.isAnimationActive,a=o.animationBegin,s=o.animationDuration,l=o.animationEasing,c=o.isUpdateAnimationActive,u=o.type,d=o.animationId,f=o.colorPanel,p=this.state.isAnimationFinished,g=e.width,b=e.height,y=e.x,x=e.y,w=e.depth,O=parseInt("".concat((2*Math.random()-1)*g),10),S={};return(n||"nest"===u)&&(S={onMouseEnter:this.handleMouseEnter.bind(this,e),onMouseLeave:this.handleMouseLeave.bind(this,e),onClick:this.handleClick.bind(this,e)}),i?h.a.createElement(v.a,{begin:a,duration:s,isActive:i,easing:l,key:"treemap-".concat(d),from:{x:y,y:x,width:g,height:b},to:{x:y,y:x,width:g,height:b},onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(n){var o=n.x,d=n.y,g=n.width,b=n.height;return h.a.createElement(v.a,{from:"translate(".concat(O,"px, ").concat(O,"px)"),to:"translate(0, 0)",attributeName:"transform",begin:a,easing:l,isActive:i,duration:s},h.a.createElement(m.a,S,w>2&&!p?null:r.constructor.renderContentItem(t,Z(Z({},e),{},{isAnimationActive:i,isUpdateAnimationActive:!c,width:g,height:b,x:o,y:d}),u,f)))})):h.a.createElement(m.a,S,this.constructor.renderContentItem(t,Z(Z({},e),{},{isAnimationActive:!1,isUpdateAnimationActive:!1,width:g,height:b,x:y,y:x}),u,f))}},{key:"renderNode",value:function(t,e,n){var r=this,o=this.props,i=o.content,a=o.type,s=Z(Z(Z({},Object(y.c)(this.props)),e),{},{root:t}),l=!e.children||!e.children.length;return!(this.state.currentRoot.children||[]).filter((function(t){return t.depth===e.depth&&t.name===e.name})).length&&t.depth&&"nest"===a?null:h.a.createElement(m.a,{key:"recharts-treemap-node-".concat(n),className:"recharts-treemap-depth-".concat(e.depth)},this.renderItem(i,s,l),e.children&&e.children.length?e.children.map((function(t,n){return r.renderNode(e,t,n)})):null)}},{key:"renderAllNodes",value:function(){var t=this.state.formatRoot;return t?this.renderNode(t,t,0):null}},{key:"renderTooltip",value:function(){var t=this.props,e=t.children,n=t.nameKey,r=Object(z.c)(e,g.a.displayName);if(!r)return null;var o=this.props,i=o.width,a=o.height,s=this.state,l=s.isTooltipActive,c=s.activeNode,u={x:0,y:0,width:i,height:a},d=c?{x:c.x+c.width/2,y:c.y+c.height/2}:null,f=l&&c?[{payload:c,name:Object(I.v)(c,n,""),value:Object(I.v)(c,J)}]:[];return h.a.cloneElement(r,{viewBox:u,active:l,coordinate:d,label:"",payload:f})}},{key:"renderNestIndex",value:function(){var t=this,e=this.props,n=e.nameKey,r=e.nestIndexContent,i=this.state.nestIndex;return h.a.createElement("div",{className:"recharts-treemap-nest-index-wrapper",style:{marginTop:"8px",textAlign:"center"}},i.map((function(e,i){var a=o()(e,n,"root"),s=null;return h.a.isValidElement(r)&&(s=h.a.cloneElement(r,e,i)),s=l()(r)?r(e,i):a,h.a.createElement("div",{onClick:t.handleNestIndex.bind(t,e,i),key:"nest-index-".concat(Object(L.j)()),className:"recharts-treemap-nest-index-box",style:{cursor:"pointer",display:"inline-block",padding:"0 7px",background:"#000",color:"#fff",marginRight:"3px"}},s)})))}},{key:"render",value:function(){if(!Object(z.i)(this))return null;var t=this.props,e=t.width,n=t.height,r=t.className,o=t.style,i=t.children,a=t.type,s=U(t,["width","height","className","style","children","type"]),l=Object(y.c)(s);return h.a.createElement("div",{className:f()("recharts-wrapper",r),style:Z(Z({},o),{},{position:"relative",cursor:"default",width:e,height:n})},h.a.createElement(b.a,V({},l,{width:e,height:"nest"===a?n-30:n}),this.renderAllNodes(),Object(z.a)(i)),this.renderTooltip(),"nest"===a&&this.renderNestIndex())}}])&&q(e.prototype,n),r&&q(e,r),s}(p.PureComponent);it.displayName="Treemap",it.defaultProps={aspectRatio:.5*(1+Math.sqrt(5)),dataKey:"value",type:"flat",isAnimationActive:!B.a.isSsr,isUpdateAnimationActive:!B.a.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"linear"}},function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():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},r.apply(this,arguments)}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},o(t)}function i(t){return t&&"object"===o(t)&&t.constructor===Object}function a(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?r({},t):t;return i(t)&&i(e)&&Object.keys(e).forEach((function(r){"__proto__"!==r&&(i(e[r])&&r in t?o[r]=a(t[r],e[r],n):o[r]=e[r])})),o}n.d(e,"a",(function(){return a}))},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(339),l=n(1264),c=n(1153),u=n(251),d=n(0),f=["className","component"];var p=n(1154),h=n(719),v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.defaultTheme,n=t.defaultClassName,p=void 0===n?"MuiBox-root":n,h=t.generateClassName,v=t.styleFunctionSx,g=void 0===v?l.a:v,m=Object(s.a)("div")(g),b=i.forwardRef((function(t,n){var i=Object(u.a)(e),s=Object(c.a)(t),l=s.className,v=s.component,g=void 0===v?"div":v,b=Object(o.a)(s,f);return Object(d.jsx)(m,Object(r.a)({as:g,ref:n,className:Object(a.default)(l,h?h(p):p),theme:i},b))}));return b}({defaultTheme:Object(h.a)(),defaultClassName:"MuiBox-root",generateClassName:p.a.generate});e.a=v},function(t,e,n){"use strict";var r=n(2),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(17),u=n(13),d=n(252),f=n(15),p=n(225),h=n(220),v=n(168),g=n(187);function m(t){return Object(v.a)("MuiFormControl",t)}Object(g.a)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var b=n(0),y=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],x=Object(u.a)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return Object(i.a)({},e.root,e["margin".concat(Object(f.a)(n.margin))],n.fullWidth&&e.fullWidth)}})((function(t){var e=t.ownerState;return Object(i.a)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})})),w=a.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiFormControl"}),u=n.children,v=n.className,g=n.color,w=void 0===g?"primary":g,O=n.component,S=void 0===O?"div":O,j=n.disabled,C=void 0!==j&&j,k=n.error,E=void 0!==k&&k,P=n.focused,_=n.fullWidth,M=void 0!==_&&_,T=n.hiddenLabel,A=void 0!==T&&T,R=n.margin,D=void 0===R?"none":R,I=n.required,N=void 0!==I&&I,L=n.size,F=void 0===L?"medium":L,B=n.variant,z=void 0===B?"outlined":B,H=Object(o.a)(n,y),V=Object(i.a)({},n,{color:w,component:S,disabled:C,error:E,fullWidth:M,hiddenLabel:A,margin:D,required:N,size:F,variant:z}),U=function(t){var e=t.classes,n=t.margin,r=t.fullWidth,o={root:["root","none"!==n&&"margin".concat(Object(f.a)(n)),r&&"fullWidth"]};return Object(l.a)(o,m,e)}(V),W=a.useState((function(){var t=!1;return u&&a.Children.forEach(u,(function(e){if(Object(p.a)(e,["Input","Select"])){var n=Object(p.a)(e,["Select"])?e.props.input:e;n&&Object(d.a)(n.props)&&(t=!0)}})),t})),q=Object(r.a)(W,2),G=q[0],Y=q[1],X=a.useState((function(){var t=!1;return u&&a.Children.forEach(u,(function(e){Object(p.a)(e,["Input","Select"])&&Object(d.b)(e.props,!0)&&(t=!0)})),t})),K=Object(r.a)(X,2),$=K[0],Z=K[1],Q=a.useState(!1),J=Object(r.a)(Q,2),tt=J[0],et=J[1];C&&tt&&et(!1);var nt=void 0===P||C?tt:P,rt=a.useCallback((function(){Z(!0)}),[]),ot={adornedStart:G,setAdornedStart:Y,color:w,disabled:C,error:E,filled:$,focused:nt,fullWidth:M,hiddenLabel:A,size:F,onBlur:function(){et(!1)},onEmpty:a.useCallback((function(){Z(!1)}),[]),onFilled:rt,onFocus:function(){et(!0)},registerEffect:undefined,required:N,variant:z};return Object(b.jsx)(h.a.Provider,{value:ot,children:Object(b.jsx)(x,Object(i.a)({as:S,ownerState:V,className:Object(s.default)(U.root,v),ref:e},H,{children:u}))})}));e.a=w},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(167),c=n(13),u=n(17),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiPaper",t)}Object(f.a)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var h=n(0),v=["className","component","elevation","square","variant"],g=function(t){return((t<1?5.11916*Math.pow(t,2):4.5*Math.log(t+1)+2)/100).toFixed(2)},m=Object(c.a)("div",{name:"MuiPaper",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant],!n.square&&e.rounded,"elevation"===n.variant&&e["elevation".concat(n.elevation)]]}})((function(t){var e,n=t.theme,r=t.ownerState;return Object(o.a)({backgroundColor:(n.vars||n).palette.background.paper,color:(n.vars||n).palette.text.primary,transition:n.transitions.create("box-shadow")},!r.square&&{borderRadius:n.shape.borderRadius},"outlined"===r.variant&&{border:"1px solid ".concat((n.vars||n).palette.divider)},"elevation"===r.variant&&Object(o.a)({boxShadow:(n.vars||n).shadows[r.elevation]},!n.vars&&"dark"===n.palette.mode&&{backgroundImage:"linear-gradient(".concat(Object(l.a)("#fff",g(r.elevation)),", ").concat(Object(l.a)("#fff",g(r.elevation)),")")},n.vars&&{backgroundImage:null==(e=n.vars.overlays)?void 0:e[r.elevation]}))})),b=i.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiPaper"}),i=n.className,l=n.component,c=void 0===l?"div":l,d=n.elevation,f=void 0===d?1:d,g=n.square,b=void 0!==g&&g,y=n.variant,x=void 0===y?"elevation":y,w=Object(r.a)(n,v),O=Object(o.a)({},n,{component:c,elevation:f,square:b,variant:x}),S=function(t){var e=t.square,n=t.elevation,r=t.variant,o=t.classes,i={root:["root",r,!e&&"rounded","elevation"===r&&"elevation".concat(n)]};return Object(s.a)(i,p,o)}(O);return Object(h.jsx)(m,Object(o.a)({as:c,ownerState:O,className:Object(a.default)(S.root,i),ref:e},w))}));e.a=b},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(105),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiList",t)}Object(f.a)("MuiList",["root","padding","dense","subheader"]);var h=n(0),v=["children","className","component","dense","disablePadding","subheader"],g=Object(l.a)("ul",{name:"MuiList",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,!n.disablePadding&&e.padding,n.dense&&e.dense,n.subheader&&e.subheader]}})((function(t){var e=t.ownerState;return Object(o.a)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})})),m=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiList"}),l=n.children,d=n.className,f=n.component,m=void 0===f?"ul":f,b=n.dense,y=void 0!==b&&b,x=n.disablePadding,w=void 0!==x&&x,O=n.subheader,S=Object(r.a)(n,v),j=i.useMemo((function(){return{dense:y}}),[y]),C=Object(o.a)({},n,{component:m,dense:y,disablePadding:w}),k=function(t){var e=t.classes,n={root:["root",!t.disablePadding&&"padding",t.dense&&"dense",t.subheader&&"subheader"]};return Object(s.a)(n,p,e)}(C);return Object(h.jsx)(u.a.Provider,{value:j,children:Object(h.jsxs)(g,Object(o.a)({as:m,className:Object(a.default)(k.root,d),ref:e,ownerState:C},S,{children:[O,l]}))})}));e.a=m},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(15),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiIcon",t)}Object(f.a)("MuiIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var h=n(0),v=["baseClassName","className","color","component","fontSize"],g=Object(l.a)("span",{name:"MuiIcon",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,"inherit"!==n.color&&e["color".concat(Object(u.a)(n.color))],e["fontSize".concat(Object(u.a)(n.fontSize))]]}})((function(t){var e=t.theme,n=t.ownerState;return{userSelect:"none",width:"1em",height:"1em",overflow:"hidden",display:"inline-block",textAlign:"center",flexShrink:0,fontSize:{inherit:"inherit",small:e.typography.pxToRem(20),medium:e.typography.pxToRem(24),large:e.typography.pxToRem(36)}[n.fontSize],color:{primary:(e.vars||e).palette.primary.main,secondary:(e.vars||e).palette.secondary.main,info:(e.vars||e).palette.info.main,success:(e.vars||e).palette.success.main,warning:(e.vars||e).palette.warning.main,action:(e.vars||e).palette.action.active,error:(e.vars||e).palette.error.main,disabled:(e.vars||e).palette.action.disabled,inherit:void 0}[n.color]}})),m=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiIcon"}),i=n.baseClassName,l=void 0===i?"material-icons":i,d=n.className,f=n.color,m=void 0===f?"inherit":f,b=n.component,y=void 0===b?"span":b,x=n.fontSize,w=void 0===x?"medium":x,O=Object(o.a)(n,v),S=Object(r.a)({},n,{baseClassName:l,color:m,component:y,fontSize:w}),j=function(t){var e=t.color,n=t.fontSize,r=t.classes,o={root:["root","inherit"!==e&&"color".concat(Object(u.a)(e)),"fontSize".concat(Object(u.a)(n))]};return Object(s.a)(o,p,r)}(S);return Object(h.jsx)(g,Object(r.a)({as:y,className:Object(a.default)(l,"notranslate",j.root,d),ownerState:S,"aria-hidden":!0,ref:e},O))}));m.muiName="Icon";e.a=m},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(167),u=n(13),d=n(17),f=n(1163),p=n(15),h=n(168),v=n(187);function g(t){return Object(h.a)("MuiIconButton",t)}var m=Object(v.a)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),b=n(0),y=["edge","children","className","color","disabled","disableFocusRipple","size"],x=Object(u.a)(f.a,{name:"MuiIconButton",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,"default"!==n.color&&e["color".concat(Object(p.a)(n.color))],n.edge&&e["edge".concat(Object(p.a)(n.edge))],e["size".concat(Object(p.a)(n.size))]]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!n.disableRipple&&{"&:hover":{backgroundColor:e.vars?"rgba(".concat(e.vars.palette.action.active," / ").concat(e.vars.palette.action.hoverOpacity,")"):Object(c.a)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===n.edge&&{marginLeft:"small"===n.size?-3:-12},"end"===n.edge&&{marginRight:"small"===n.size?-3:-12})}),(function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({},"inherit"===n.color&&{color:"inherit"},"inherit"!==n.color&&"default"!==n.color&&Object(i.a)({color:(e.vars||e).palette[n.color].main},!n.disableRipple&&{"&:hover":{backgroundColor:e.vars?"rgba(".concat(e.vars.palette[n.color].mainChannel," / ").concat(e.vars.palette.action.hoverOpacity,")"):Object(c.a)(e.palette[n.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}),"small"===n.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===n.size&&{padding:12,fontSize:e.typography.pxToRem(28)},Object(r.a)({},"&.".concat(m.disabled),{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}))})),w=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiIconButton"}),r=n.edge,a=void 0!==r&&r,c=n.children,u=n.className,f=n.color,h=void 0===f?"default":f,v=n.disabled,m=void 0!==v&&v,w=n.disableFocusRipple,O=void 0!==w&&w,S=n.size,j=void 0===S?"medium":S,C=Object(o.a)(n,y),k=Object(i.a)({},n,{edge:a,color:h,disabled:m,disableFocusRipple:O,size:j}),E=function(t){var e=t.classes,n=t.disabled,r=t.color,o=t.edge,i=t.size,a={root:["root",n&&"disabled","default"!==r&&"color".concat(Object(p.a)(r)),o&&"edge".concat(Object(p.a)(o)),"size".concat(Object(p.a)(i))]};return Object(l.a)(a,g,e)}(k);return Object(b.jsx)(x,Object(i.a)({className:Object(s.default)(E.root,u),centerRipple:!0,focusRipple:!O,disabled:m,ref:e,ownerState:k},C,{children:c}))}));e.a=w},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(1330),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiCard",t)}Object(f.a)("MuiCard",["root"]);var h=n(0),v=["className","raised"],g=Object(l.a)(u.a,{name:"MuiCard",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(){return{overflow:"hidden"}})),m=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiCard"}),i=n.className,l=n.raised,u=void 0!==l&&l,d=Object(o.a)(n,v),f=Object(r.a)({},n,{raised:u}),m=function(t){var e=t.classes;return Object(s.a)({root:["root"]},p,e)}(f);return Object(h.jsx)(g,Object(r.a)({className:Object(a.default)(m.root,i),elevation:u?8:void 0,ref:e,ownerState:f},d))}));e.a=m},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(736),c=n(230),u=n(13),d=n(17),f=n(402),p=n(128),h=n(52),v=n(60),g=n(168),m=n(187);function b(t){return Object(g.a)("MuiCollapse",t)}Object(m.a)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var y=n(0),x=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],w=Object(u.a)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.orientation],"entered"===n.state&&e.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&e.hidden]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===n.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===n.state&&Object(i.a)({height:"auto",overflow:"visible"},"horizontal"===n.orientation&&{width:"auto"}),"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&{visibility:"hidden"})})),O=Object(u.a)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:function(t,e){return e.wrapper}})((function(t){var e=t.ownerState;return Object(i.a)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})})),S=Object(u.a)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:function(t,e){return e.wrapperInner}})((function(t){var e=t.ownerState;return Object(i.a)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})})),j=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiCollapse"}),u=n.addEndListener,g=n.children,m=n.className,j=n.collapsedSize,C=void 0===j?"0px":j,k=n.component,E=n.easing,P=n.in,_=n.onEnter,M=n.onEntered,T=n.onEntering,A=n.onExit,R=n.onExited,D=n.onExiting,I=n.orientation,N=void 0===I?"vertical":I,L=n.style,F=n.timeout,B=void 0===F?f.b.standard:F,z=n.TransitionComponent,H=void 0===z?l.a:z,V=Object(o.a)(n,x),U=Object(i.a)({},n,{orientation:N,collapsedSize:C}),W=function(t){var e=t.orientation,n=t.classes,r={root:["root","".concat(e)],entered:["entered"],hidden:["hidden"],wrapper:["wrapper","".concat(e)],wrapperInner:["wrapperInner","".concat(e)]};return Object(c.a)(r,b,n)}(U),q=Object(h.a)(),G=a.useRef(),Y=a.useRef(null),X=a.useRef(),K="number"===typeof C?"".concat(C,"px"):C,$="horizontal"===N,Z=$?"width":"height";a.useEffect((function(){return function(){clearTimeout(G.current)}}),[]);var Q=a.useRef(null),J=Object(v.a)(e,Q),tt=function(t){return function(e){if(t){var n=Q.current;void 0===e?t(n):t(n,e)}}},et=function(){return Y.current?Y.current[$?"clientWidth":"clientHeight"]:0},nt=tt((function(t,e){Y.current&&$&&(Y.current.style.position="absolute"),t.style[Z]=K,_&&_(t,e)})),rt=tt((function(t,e){var n=et();Y.current&&$&&(Y.current.style.position="");var r=Object(p.a)({style:L,timeout:B,easing:E},{mode:"enter"}),o=r.duration,i=r.easing;if("auto"===B){var a=q.transitions.getAutoHeightDuration(n);t.style.transitionDuration="".concat(a,"ms"),X.current=a}else t.style.transitionDuration="string"===typeof o?o:"".concat(o,"ms");t.style[Z]="".concat(n,"px"),t.style.transitionTimingFunction=i,T&&T(t,e)})),ot=tt((function(t,e){t.style[Z]="auto",M&&M(t,e)})),it=tt((function(t){t.style[Z]="".concat(et(),"px"),A&&A(t)})),at=tt(R),st=tt((function(t){var e=et(),n=Object(p.a)({style:L,timeout:B,easing:E},{mode:"exit"}),r=n.duration,o=n.easing;if("auto"===B){var i=q.transitions.getAutoHeightDuration(e);t.style.transitionDuration="".concat(i,"ms"),X.current=i}else t.style.transitionDuration="string"===typeof r?r:"".concat(r,"ms");t.style[Z]=K,t.style.transitionTimingFunction=o,D&&D(t)}));return Object(y.jsx)(H,Object(i.a)({in:P,onEnter:nt,onEntered:ot,onEntering:rt,onExit:it,onExited:at,onExiting:st,addEndListener:function(t){"auto"===B&&(G.current=setTimeout(t,X.current||0)),u&&u(Q.current,t)},nodeRef:Q,timeout:"auto"===B?null:B},V,{children:function(t,e){return Object(y.jsx)(w,Object(i.a)({as:k,className:Object(s.default)(W.root,m,{entered:W.entered,exited:!P&&"0px"===K&&W.hidden}[t]),style:Object(i.a)(Object(r.a)({},$?"minWidth":"minHeight",K),L),ownerState:Object(i.a)({},U,{state:t}),ref:J},e,{children:Object(y.jsx)(O,{ownerState:Object(i.a)({},U,{state:t}),className:W.wrapper,ref:Y,children:Object(y.jsx)(S,{ownerState:Object(i.a)({},U,{state:t}),className:W.wrapperInner,children:g})})}))}}))}));j.muiSupportAuto=!0;e.a=j},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(167),u=n(13),d=n(17),f=n(105),p=n(1163),h=n(127),v=n(60),g=n(658),m=n(659),b=n(438),y=n(168),x=n(187);function w(t){return Object(y.a)("MuiMenuItem",t)}var O=Object(x.a)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),S=n(0),j=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],C=Object(u.a)(p.a,{shouldForwardProp:function(t){return Object(u.b)(t)||"classes"===t},name:"MuiMenuItem",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.dense&&e.dense,n.divider&&e.divider,!n.disableGutters&&e.gutters]}})((function(t){var e,n=t.theme,o=t.ownerState;return Object(i.a)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!o.disableGutters&&{paddingLeft:16,paddingRight:16},o.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(e={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},Object(r.a)(e,"&.".concat(O.selected),Object(r.a)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(O.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),Object(r.a)(e,"&.".concat(O.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),Object(r.a)(e,"&.".concat(O.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),Object(r.a)(e,"&.".concat(O.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),Object(r.a)(e,"& + .".concat(g.a.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),Object(r.a)(e,"& + .".concat(g.a.inset),{marginLeft:52}),Object(r.a)(e,"& .".concat(b.a.root),{marginTop:0,marginBottom:0}),Object(r.a)(e,"& .".concat(b.a.inset),{paddingLeft:36}),Object(r.a)(e,"& .".concat(m.a.root),{minWidth:36}),e),!o.dense&&Object(r.a)({},n.breakpoints.up("sm"),{minHeight:"auto"}),o.dense&&Object(i.a)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,Object(r.a)({},"& .".concat(m.a.root," svg"),{fontSize:"1.25rem"})))})),k=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiMenuItem"}),r=n.autoFocus,c=void 0!==r&&r,u=n.component,p=void 0===u?"li":u,g=n.dense,m=void 0!==g&&g,b=n.divider,y=void 0!==b&&b,x=n.disableGutters,O=void 0!==x&&x,k=n.focusVisibleClassName,E=n.role,P=void 0===E?"menuitem":E,_=n.tabIndex,M=Object(o.a)(n,j),T=a.useContext(f.a),A={dense:m||T.dense||!1,disableGutters:O},R=a.useRef(null);Object(h.a)((function(){c&&R.current&&R.current.focus()}),[c]);var D,I=Object(i.a)({},n,{dense:A.dense,divider:y,disableGutters:O}),N=function(t){var e=t.disabled,n=t.dense,r=t.divider,o=t.disableGutters,a=t.selected,s=t.classes,c={root:["root",n&&"dense",e&&"disabled",!o&&"gutters",r&&"divider",a&&"selected"]},u=Object(l.a)(c,w,s);return Object(i.a)({},s,u)}(n),L=Object(v.a)(R,e);return n.disabled||(D=void 0!==_?_:-1),Object(S.jsx)(f.a.Provider,{value:A,children:Object(S.jsx)(C,Object(i.a)({ref:L,role:P,tabIndex:D,component:p,focusVisibleClassName:Object(s.default)(N.focusVisible,k)},M,{ownerState:I,classes:N}))})}));e.a=k},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(1163),u=n(15),d=n(17),f=n(13),p=n(168),h=n(187);function v(t){return Object(p.a)("MuiTab",t)}var g=Object(h.a)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),m=n(0),b=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],y=Object(f.a)(c.a,{name:"MuiTab",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.label&&n.icon&&e.labelIcon,e["textColor".concat(Object(u.a)(n.textColor))],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped]}})((function(t){var e,n,o,a=t.theme,s=t.ownerState;return Object(i.a)({},a.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},s.label&&{flexDirection:"top"===s.iconPosition||"bottom"===s.iconPosition?"column":"row"},{lineHeight:1.25},s.icon&&s.label&&Object(r.a)({minHeight:72,paddingTop:9,paddingBottom:9},"& > .".concat(g.iconWrapper),Object(i.a)({},"top"===s.iconPosition&&{marginBottom:6},"bottom"===s.iconPosition&&{marginTop:6},"start"===s.iconPosition&&{marginRight:a.spacing(1)},"end"===s.iconPosition&&{marginLeft:a.spacing(1)})),"inherit"===s.textColor&&(e={color:"inherit",opacity:.6},Object(r.a)(e,"&.".concat(g.selected),{opacity:1}),Object(r.a)(e,"&.".concat(g.disabled),{opacity:(a.vars||a).palette.action.disabledOpacity}),e),"primary"===s.textColor&&(n={color:(a.vars||a).palette.text.secondary},Object(r.a)(n,"&.".concat(g.selected),{color:(a.vars||a).palette.primary.main}),Object(r.a)(n,"&.".concat(g.disabled),{color:(a.vars||a).palette.text.disabled}),n),"secondary"===s.textColor&&(o={color:(a.vars||a).palette.text.secondary},Object(r.a)(o,"&.".concat(g.selected),{color:(a.vars||a).palette.secondary.main}),Object(r.a)(o,"&.".concat(g.disabled),{color:(a.vars||a).palette.text.disabled}),o),s.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},s.wrapped&&{fontSize:a.typography.pxToRem(12)})})),x=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiTab"}),r=n.className,c=n.disabled,f=void 0!==c&&c,p=n.disableFocusRipple,h=void 0!==p&&p,g=n.fullWidth,x=n.icon,w=n.iconPosition,O=void 0===w?"top":w,S=n.indicator,j=n.label,C=n.onChange,k=n.onClick,E=n.onFocus,P=n.selected,_=n.selectionFollowsFocus,M=n.textColor,T=void 0===M?"inherit":M,A=n.value,R=n.wrapped,D=void 0!==R&&R,I=Object(o.a)(n,b),N=Object(i.a)({},n,{disabled:f,disableFocusRipple:h,selected:P,icon:!!x,iconPosition:O,label:!!j,fullWidth:g,textColor:T,wrapped:D}),L=function(t){var e=t.classes,n=t.textColor,r=t.fullWidth,o=t.wrapped,i=t.icon,a=t.label,s=t.selected,c=t.disabled,d={root:["root",i&&a&&"labelIcon","textColor".concat(Object(u.a)(n)),r&&"fullWidth",o&&"wrapped",s&&"selected",c&&"disabled"],iconWrapper:["iconWrapper"]};return Object(l.a)(d,v,e)}(N),F=x&&j&&a.isValidElement(x)?a.cloneElement(x,{className:Object(s.default)(L.iconWrapper,x.props.className)}):x;return Object(m.jsxs)(y,Object(i.a)({focusRipple:!h,className:Object(s.default)(L.root,r),ref:e,role:"tab","aria-selected":P,disabled:f,onClick:function(t){!P&&C&&C(t,A),k&&k(t)},onFocus:function(t){_&&!P&&C&&C(t,A),E&&E(t)},ownerState:N,tabIndex:P?0:-1},I,{children:["top"===O||"start"===O?Object(m.jsxs)(a.Fragment,{children:[F,j]}):Object(m.jsxs)(a.Fragment,{children:[j,F]}),S]}))}));e.a=x},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(13),l=n(17),c=n(731),u=n(444),d=n(523);function f(t){return Object(u.a)("MuiTabPanel",t)}Object(d.a)("MuiTabPanel",["root"]);var p=n(522),h=n(0),v=["children","className","value"],g=Object(s.a)("div",{name:"MuiTabPanel",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){return{padding:t.theme.spacing(3)}})),m=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiTabPanel"}),i=n.children,s=n.className,u=n.value,d=Object(o.a)(n,v),m=Object(r.a)({},n),b=function(t){var e=t.classes;return Object(c.a)({root:["root"]},f,e)}(m),y=Object(p.d)();if(null===y)throw new TypeError("No TabContext provided");var x=Object(p.b)(y,u),w=Object(p.c)(y,u);return Object(h.jsx)(g,Object(r.a)({"aria-labelledby":w,className:Object(a.default)(b.root,s),hidden:u!==y.value,id:x,ref:e,role:"tabpanel",ownerState:m},d,{children:u===y.value&&i}))}));e.a=m},function(t,e,n){"use strict";var r=n(77),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(42),u=n(15),d=n(17),f=n(13),p=n(168),h=n(187);function v(t){return Object(p.a)("MuiCircularProgress",t)}Object(h.a)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var g,m,b,y,x,w,O,S,j=n(0),C=["className","color","disableShrink","size","style","thickness","value","variant"],k=44,E=Object(c.e)(x||(x=g||(g=Object(r.a)(["\n  0% {\n    transform: rotate(0deg);\n  }\n\n  100% {\n    transform: rotate(360deg);\n  }\n"])))),P=Object(c.e)(w||(w=m||(m=Object(r.a)(["\n  0% {\n    stroke-dasharray: 1px, 200px;\n    stroke-dashoffset: 0;\n  }\n\n  50% {\n    stroke-dasharray: 100px, 200px;\n    stroke-dashoffset: -15px;\n  }\n\n  100% {\n    stroke-dasharray: 100px, 200px;\n    stroke-dashoffset: -125px;\n  }\n"])))),_=Object(f.a)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant],e["color".concat(Object(u.a)(n.color))]]}})((function(t){var e=t.ownerState,n=t.theme;return Object(i.a)({display:"inline-block"},"determinate"===e.variant&&{transition:n.transitions.create("transform")},"inherit"!==e.color&&{color:(n.vars||n).palette[e.color].main})}),(function(t){return"indeterminate"===t.ownerState.variant&&Object(c.c)(O||(O=b||(b=Object(r.a)(["\n      animation: "," 1.4s linear infinite;\n    "]))),E)})),M=Object(f.a)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:function(t,e){return e.svg}})({display:"block"}),T=Object(f.a)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:function(t,e){var n=t.ownerState;return[e.circle,e["circle".concat(Object(u.a)(n.variant))],n.disableShrink&&e.circleDisableShrink]}})((function(t){var e=t.ownerState,n=t.theme;return Object(i.a)({stroke:"currentColor"},"determinate"===e.variant&&{transition:n.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})}),(function(t){var e=t.ownerState;return"indeterminate"===e.variant&&!e.disableShrink&&Object(c.c)(S||(S=y||(y=Object(r.a)(["\n      animation: "," 1.4s ease-in-out infinite;\n    "]))),P)})),A=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiCircularProgress"}),r=n.className,a=n.color,c=void 0===a?"primary":a,f=n.disableShrink,p=void 0!==f&&f,h=n.size,g=void 0===h?40:h,m=n.style,b=n.thickness,y=void 0===b?3.6:b,x=n.value,w=void 0===x?0:x,O=n.variant,S=void 0===O?"indeterminate":O,E=Object(o.a)(n,C),P=Object(i.a)({},n,{color:c,disableShrink:p,size:g,thickness:y,value:w,variant:S}),A=function(t){var e=t.classes,n=t.variant,r=t.color,o=t.disableShrink,i={root:["root",n,"color".concat(Object(u.a)(r))],svg:["svg"],circle:["circle","circle".concat(Object(u.a)(n)),o&&"circleDisableShrink"]};return Object(l.a)(i,v,e)}(P),R={},D={},I={};if("determinate"===S){var N=2*Math.PI*((k-y)/2);R.strokeDasharray=N.toFixed(3),I["aria-valuenow"]=Math.round(w),R.strokeDashoffset="".concat(((100-w)/100*N).toFixed(3),"px"),D.transform="rotate(-90deg)"}return Object(j.jsx)(_,Object(i.a)({className:Object(s.default)(A.root,r),style:Object(i.a)({width:g,height:g},D,m),ownerState:P,ref:e,role:"progressbar"},I,E,{children:Object(j.jsx)(M,{className:A.svg,ownerState:P,viewBox:"".concat(22," ").concat(22," ").concat(k," ").concat(k),children:Object(j.jsx)(T,{className:A.circle,style:R,ownerState:P,cx:k,cy:k,r:(k-y)/2,fill:"none",strokeWidth:y})})}))}));e.a=A},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(168),d=n(187);function f(t){return Object(u.a)("MuiFormGroup",t)}Object(d.a)("MuiFormGroup",["root","row","error"]);var p=n(104),h=n(121),v=n(0),g=["className","row"],m=Object(l.a)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.row&&e.row]}})((function(t){var e=t.ownerState;return Object(o.a)({display:"flex",flexDirection:"column",flexWrap:"wrap"},e.row&&{flexDirection:"row"})})),b=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiFormGroup"}),i=n.className,l=n.row,u=void 0!==l&&l,d=Object(r.a)(n,g),b=Object(p.a)(),y=Object(h.a)({props:n,muiFormControl:b,states:["error"]}),x=Object(o.a)({},n,{row:u,error:y.error}),w=function(t){var e=t.classes,n={root:["root",t.row&&"row",t.error&&"error"]};return Object(s.a)(n,f,e)}(x);return Object(v.jsx)(m,Object(o.a)({className:Object(a.default)(w.root,i),ownerState:x,ref:e},d))}));e.a=b},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(104),u=n(313),d=n(15),f=n(13),p=n(17),h=n(168),v=n(187);function g(t){return Object(h.a)("MuiFormControlLabel",t)}var m=Object(v.a)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error"]),b=n(121),y=n(0),x=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","value"],w=Object(f.a)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[Object(r.a)({},"& .".concat(m.label),e.label),e.root,e["labelPlacement".concat(Object(d.a)(n.labelPlacement))]]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)(Object(r.a)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16},"&.".concat(m.disabled),{cursor:"default"}),"start"===n.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===n.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===n.labelPlacement&&{flexDirection:"column",marginLeft:16},Object(r.a)({},"& .".concat(m.label),Object(r.a)({},"&.".concat(m.disabled),{color:(e.vars||e).palette.text.disabled})))})),O=a.forwardRef((function(t,e){var n=Object(p.a)({props:t,name:"MuiFormControlLabel"}),r=n.className,f=n.componentsProps,h=void 0===f?{}:f,v=n.control,m=n.disabled,O=n.disableTypography,S=n.label,j=n.labelPlacement,C=void 0===j?"end":j,k=Object(o.a)(n,x),E=Object(c.a)(),P=m;"undefined"===typeof P&&"undefined"!==typeof v.props.disabled&&(P=v.props.disabled),"undefined"===typeof P&&E&&(P=E.disabled);var _={disabled:P};["checked","name","onChange","value","inputRef"].forEach((function(t){"undefined"===typeof v.props[t]&&"undefined"!==typeof n[t]&&(_[t]=n[t])}));var M=Object(b.a)({props:n,muiFormControl:E,states:["error"]}),T=Object(i.a)({},n,{disabled:P,labelPlacement:C,error:M.error}),A=function(t){var e=t.classes,n=t.disabled,r=t.labelPlacement,o=t.error,i={root:["root",n&&"disabled","labelPlacement".concat(Object(d.a)(r)),o&&"error"],label:["label",n&&"disabled"]};return Object(l.a)(i,g,e)}(T),R=S;return null==R||R.type===u.a||O||(R=Object(y.jsx)(u.a,Object(i.a)({component:"span",className:A.label},h.typography,{children:R}))),Object(y.jsxs)(w,Object(i.a)({className:Object(s.default)(A.root,r),ownerState:T,ref:e},k,{children:[a.cloneElement(v,_),R]}))}));e.a=O},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(15),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiListSubheader",t)}Object(f.a)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var h=n(0),v=["className","color","component","disableGutters","disableSticky","inset"],g=Object(l.a)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,"default"!==n.color&&e["color".concat(Object(u.a)(n.color))],!n.disableGutters&&e.gutters,n.inset&&e.inset,!n.disableSticky&&e.sticky]}})((function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},"primary"===n.color&&{color:(e.vars||e).palette.primary.main},"inherit"===n.color&&{color:"inherit"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.inset&&{paddingLeft:72},!n.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper})})),m=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiListSubheader"}),i=n.className,l=n.color,d=void 0===l?"default":l,f=n.component,m=void 0===f?"li":f,b=n.disableGutters,y=void 0!==b&&b,x=n.disableSticky,w=void 0!==x&&x,O=n.inset,S=void 0!==O&&O,j=Object(r.a)(n,v),C=Object(o.a)({},n,{color:d,component:m,disableGutters:y,disableSticky:w,inset:S}),k=function(t){var e=t.classes,n=t.color,r=t.disableGutters,o=t.inset,i=t.disableSticky,a={root:["root","default"!==n&&"color".concat(Object(u.a)(n)),!r&&"gutters",o&&"inset",!i&&"sticky"]};return Object(s.a)(a,p,e)}(C);return Object(h.jsx)(g,Object(o.a)({as:m,className:Object(a.default)(k.root,i),ref:e,ownerState:C},j))}));e.a=m},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(221),c=n(286),u=n(17),d=n(13),f=n(168),p=n(187);function h(t){return Object(f.a)("MuiStep",t)}Object(p.a)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);var v=n(0),g=["active","children","className","completed","disabled","expanded","index","last"],m=Object(d.a)("div",{name:"MuiStep",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.orientation],n.alternativeLabel&&e.alternativeLabel,n.completed&&e.completed]}})((function(t){var e=t.ownerState;return Object(o.a)({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"})})),b=i.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiStep"}),d=n.active,f=n.children,p=n.className,b=n.completed,y=n.disabled,x=n.expanded,w=void 0!==x&&x,O=n.index,S=n.last,j=Object(r.a)(n,g),C=i.useContext(l.a),k=C.activeStep,E=C.connector,P=C.alternativeLabel,_=C.orientation,M=C.nonLinear,T=void 0!==d&&d,A=void 0!==b&&b,R=void 0!==y&&y;k===O?T=void 0===d||d:!M&&k>O?A=void 0===b||b:!M&&k<O&&(R=void 0===y||y);var D=i.useMemo((function(){return{index:O,last:S,expanded:w,icon:O+1,active:T,completed:A,disabled:R}}),[O,S,w,T,A,R]),I=Object(o.a)({},n,{active:T,orientation:_,alternativeLabel:P,completed:A,disabled:R,expanded:w}),N=function(t){var e=t.classes,n={root:["root",t.orientation,t.alternativeLabel&&"alternativeLabel",t.completed&&"completed"]};return Object(s.a)(n,h,e)}(I),L=Object(v.jsxs)(m,Object(o.a)({className:Object(a.default)(N.root,p),ref:e,ownerState:I},j,{children:[E&&P&&0!==O?E:null,f]}));return Object(v.jsx)(c.a.Provider,{value:D,children:E&&!P&&0!==O?Object(v.jsxs)(i.Fragment,{children:[E,L]}):L})}));e.a=b},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(15),l=n(731),c=n(13),u=n(17),d=n(199),f=n(444),p=n(523);function h(t){return Object(f.a)("MuiTimeline",t)}Object(p.a)("MuiTimeline",["root","positionLeft","positionRight","positionAlternate"]);var v=n(0),g=["position","className"],m=Object(c.a)("ul",{name:"MuiTimeline",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.position&&e["position".concat(Object(s.a)(n.position))]]}})({display:"flex",flexDirection:"column",padding:"6px 16px",flexGrow:1}),b=i.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiTimeline"}),i=n.position,c=void 0===i?"right":i,f=n.className,p=Object(o.a)(n,g),b=Object(r.a)({},n,{position:c}),y=function(t){var e=t.position,n=t.classes,r={root:["root",e&&"position".concat(Object(s.a)(e))]};return Object(l.a)(r,h,n)}(b);return Object(v.jsx)(d.a.Provider,{value:{position:c},children:Object(v.jsx)(m,Object(r.a)({className:Object(a.default)(y.root,f),ownerState:b,ref:e},p))})}));e.a=b},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(15),c=n(225),u=n(13),d=n(17),f=n(731),p=n(681),h=n(682),v=n(199),g=n(444),m=n(523);function b(t){return Object(g.a)("MuiTimelineItem",t)}Object(m.a)("MuiTimelineItem",["root","positionLeft","positionRight","positionAlternate","missingOppositeContent"]);var y=n(0),x=["position","className"],w=Object(u.a)("li",{name:"MuiTimelineItem",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["position".concat(Object(l.a)(n.position))]]}})((function(t){var e,n=t.ownerState;return Object(i.a)({listStyle:"none",display:"flex",position:"relative",minHeight:70},"left"===n.position&&{flexDirection:"row-reverse"},"alternate"===n.position&&{"&:nth-of-type(even)":(e={flexDirection:"row-reverse"},Object(r.a)(e,"& .".concat(p.a.root),{textAlign:"right"}),Object(r.a)(e,"& .".concat(h.a.root),{textAlign:"left"}),e)},!n.hasOppositeContent&&{"&:before":{content:'""',flex:1,padding:"6px 16px"}})})),O=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiTimelineItem"}),r=n.position,u=n.className,p=Object(o.a)(n,x),h=a.useContext(v.a).position,g=!1;a.Children.forEach(n.children,(function(t){Object(c.a)(t,["TimelineOppositeContent"])&&(g=!0)}));var m=Object(i.a)({},n,{position:r||h||"right",hasOppositeContent:g}),O=function(t){var e=t.position,n=t.classes,r=t.hasOppositeContent,o={root:["root","position".concat(Object(l.a)(e)),!r&&"missingOppositeContent"]};return Object(f.a)(o,b,n)}(m);return Object(y.jsx)(v.a.Provider,{value:{position:m.position},children:Object(y.jsx)(w,Object(i.a)({className:Object(s.default)(O.root,u),ownerState:m,ref:e},p))})}));e.a=O},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(731),l=n(13),c=n(17),u=n(444),d=n(523);function f(t){return Object(u.a)("MuiTimelineSeparator",t)}Object(d.a)("MuiTimelineSeparator",["root"]);var p=n(0),h=["className"],v=Object(l.a)("div",{name:"MuiTimelineSeparator",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"flex",flexDirection:"column",flex:0,alignItems:"center"}),g=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiTimelineSeparator"}),i=n.className,l=Object(o.a)(n,h),u=n,d=function(t){var e=t.classes;return Object(s.a)({root:["root"]},f,e)}(u);return Object(p.jsx)(v,Object(r.a)({className:Object(a.default)(d.root,i),ownerState:u,ref:e},l))}));e.a=g},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(13),l=n(17),c=n(15),u=n(731),d=n(444),f=n(523);function p(t){return Object(d.a)("MuiTimelineDot",t)}Object(f.a)("MuiTimelineDot",["root","filled","outlined","filledGrey","outlinedGrey","filledPrimary","outlinedPrimary","filledSecondary","outlinedSecondary"]);var h=n(0),v=["className","color","variant"],g=Object(s.a)("span",{name:"MuiTimelineDot",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["inherit"!==n.color&&"".concat(n.variant).concat(Object(c.a)(n.color))],e[n.variant]]}})((function(t){var e=t.ownerState,n=t.theme;return Object(o.a)({display:"flex",alignSelf:"baseline",borderStyle:"solid",borderWidth:2,padding:4,borderRadius:"50%",boxShadow:n.shadows[1],margin:"11.5px 0"},"filled"===e.variant&&Object(o.a)({borderColor:"transparent"},"inherit"!==e.color&&Object(o.a)({},"grey"===e.color?{color:n.palette.grey[50],backgroundColor:n.palette.grey[400]}:{color:n.palette[e.color].contrastText,backgroundColor:n.palette[e.color].main})),"outlined"===e.variant&&Object(o.a)({boxShadow:"none",backgroundColor:"transparent"},"inherit"!==e.color&&Object(o.a)({},"grey"===e.color?{borderColor:n.palette.grey[400]}:{borderColor:n.palette[e.color].main})))})),m=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiTimelineDot"}),i=n.className,s=n.color,d=void 0===s?"grey":s,f=n.variant,m=void 0===f?"filled":f,b=Object(r.a)(n,v),y=Object(o.a)({},n,{color:d,variant:m}),x=function(t){var e=t.color,n=t.variant,r=t.classes,o={root:["root",n,"inherit"!==e&&"".concat(n).concat(Object(c.a)(e))]};return Object(u.a)(o,p,r)}(y);return Object(h.jsx)(g,Object(o.a)({className:Object(a.default)(x.root,i),ownerState:y,ref:e},b))}));e.a=m},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(731),l=n(13),c=n(17),u=n(444),d=n(523);function f(t){return Object(u.a)("MuiTimelineConnector",t)}Object(d.a)("MuiTimelineConnector",["root"]);var p=n(0),h=["className"],v=Object(l.a)("span",{name:"MuiTimelineConnector",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){return{width:2,backgroundColor:t.theme.palette.grey[400],flexGrow:1}})),g=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiTimelineConnector"}),i=n.className,l=Object(o.a)(n,h),u=n,d=function(t){var e=t.classes;return Object(s.a)({root:["root"]},f,e)}(u);return Object(p.jsx)(v,Object(r.a)({className:Object(a.default)(d.root,i),ownerState:u,ref:e},l))}));e.a=g},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(17),c=n(13),u=n(168),d=n(187);function f(t){return Object(u.a)("MuiCardMedia",t)}Object(d.a)("MuiCardMedia",["root","media","img"]);var p=n(0),h=["children","className","component","image","src","style"],v=Object(c.a)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState,r=n.isMediaComponent,o=n.isImageComponent;return[e.root,r&&e.media,o&&e.img]}})((function(t){var e=t.ownerState;return Object(o.a)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})})),g=["video","audio","picture","iframe","img"],m=["picture","img"],b=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiCardMedia"}),i=n.children,c=n.className,u=n.component,d=void 0===u?"div":u,b=n.image,y=n.src,x=n.style,w=Object(r.a)(n,h),O=-1!==g.indexOf(d),S=!O&&b?Object(o.a)({backgroundImage:'url("'.concat(b,'")')},x):x,j=Object(o.a)({},n,{component:d,isMediaComponent:O,isImageComponent:-1!==m.indexOf(d)}),C=function(t){var e=t.classes,n={root:["root",t.isMediaComponent&&"media",t.isImageComponent&&"img"]};return Object(s.a)(n,f,e)}(j);return Object(p.jsx)(v,Object(o.a)({className:Object(a.default)(C.root,c),as:d,role:!O&&b?"img":void 0,ref:e,style:S,ownerState:j,src:O?b||y:void 0},w,{children:i}))}));e.a=b},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(168),d=n(187);function f(t){return Object(u.a)("MuiCardContent",t)}Object(d.a)("MuiCardContent",["root"]);var p=n(0),h=["className","component"],v=Object(l.a)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(){return{padding:16,"&:last-child":{paddingBottom:24}}})),g=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiCardContent"}),i=n.className,l=n.component,u=void 0===l?"div":l,d=Object(o.a)(n,h),g=Object(r.a)({},n,{component:u}),m=function(t){var e=t.classes;return Object(s.a)({root:["root"]},f,e)}(g);return Object(p.jsx)(v,Object(r.a)({as:u,className:Object(a.default)(m.root,i),ownerState:g,ref:e},d))}));e.a=g},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(168),d=n(187);function f(t){return Object(u.a)("MuiCardActions",t)}Object(d.a)("MuiCardActions",["root","spacing"]);var p=n(0),h=["disableSpacing","className"],v=Object(l.a)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,!n.disableSpacing&&e.spacing]}})((function(t){var e=t.ownerState;return Object(o.a)({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(:first-of-type)":{marginLeft:8}})})),g=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiCardActions"}),i=n.disableSpacing,l=void 0!==i&&i,u=n.className,d=Object(r.a)(n,h),g=Object(o.a)({},n,{disableSpacing:l}),m=function(t){var e=t.classes,n={root:["root",!t.disableSpacing&&"spacing"]};return Object(s.a)(n,f,e)}(g);return Object(p.jsx)(v,Object(o.a)({className:Object(a.default)(m.root,u),ownerState:g,ref:e},d))}));e.a=g},function(t,e,n){"use strict";var r,o=n(5),i=n(12),a=n(3),s=n(1),l=n(230),c=n(13),u=n(0),d=["children","classes","className","label","notched"],f=Object(c.a)("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),p=Object(c.a)("legend")((function(t){var e=t.ownerState,n=t.theme;return Object(a.a)({float:"unset",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:n.transitions.create("width",{duration:150,easing:n.transitions.easing.easeOut})},e.withLabel&&Object(a.a)({display:"block",width:"auto",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:n.transitions.create("max-width",{duration:50,easing:n.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:n.transitions.create("max-width",{duration:100,easing:n.transitions.easing.easeOut,delay:50})}))}));var h=n(104),v=n(121),g=n(148),m=n(106),b=n(17),y=["components","fullWidth","inputComponent","label","multiline","notched","type"],x=Object(c.a)(m.b,{shouldForwardProp:function(t){return Object(c.b)(t)||"classes"===t},name:"MuiOutlinedInput",slot:"Root",overridesResolver:m.e})((function(t){var e,n=t.theme,r=t.ownerState,i="light"===n.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return Object(a.a)((e={position:"relative",borderRadius:(n.vars||n).shape.borderRadius},Object(o.a)(e,"&:hover .".concat(g.a.notchedOutline),{borderColor:(n.vars||n).palette.text.primary}),Object(o.a)(e,"@media (hover: none)",Object(o.a)({},"&:hover .".concat(g.a.notchedOutline),{borderColor:n.vars?"rgba(".concat(n.vars.palette.common.onBackgroundChannel," / 0.23)"):i})),Object(o.a)(e,"&.".concat(g.a.focused," .").concat(g.a.notchedOutline),{borderColor:(n.vars||n).palette[r.color].main,borderWidth:2}),Object(o.a)(e,"&.".concat(g.a.error," .").concat(g.a.notchedOutline),{borderColor:(n.vars||n).palette.error.main}),Object(o.a)(e,"&.".concat(g.a.disabled," .").concat(g.a.notchedOutline),{borderColor:(n.vars||n).palette.action.disabled}),e),r.startAdornment&&{paddingLeft:14},r.endAdornment&&{paddingRight:14},r.multiline&&Object(a.a)({padding:"16.5px 14px"},"small"===r.size&&{padding:"8.5px 14px"}))})),w=Object(c.a)((function(t){var e=t.className,n=t.label,o=t.notched,s=Object(i.a)(t,d),l=null!=n&&""!==n,c=Object(a.a)({},t,{notched:o,withLabel:l});return Object(u.jsx)(f,Object(a.a)({"aria-hidden":!0,className:e,ownerState:c},s,{children:Object(u.jsx)(p,{ownerState:c,children:l?Object(u.jsx)("span",{children:n}):r||(r=Object(u.jsx)("span",{className:"notranslate",children:"\u200b"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:function(t,e){return e.notchedOutline}})((function(t){var e=t.theme,n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?"rgba(".concat(e.vars.palette.common.onBackgroundChannel," / 0.23)"):n}})),O=Object(c.a)(m.a,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:m.d})((function(t){var e=t.theme,n=t.ownerState;return Object(a.a)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&Object(o.a)({"&:-webkit-autofill":{borderRadius:"inherit"}},e.getColorSchemeSelector("dark"),{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}),"small"===n.size&&{padding:"8.5px 14px"},n.multiline&&{padding:0},n.startAdornment&&{paddingLeft:0},n.endAdornment&&{paddingRight:0})})),S=s.forwardRef((function(t,e){var n,r=Object(b.a)({props:t,name:"MuiOutlinedInput"}),o=r.components,c=void 0===o?{}:o,d=r.fullWidth,f=void 0!==d&&d,p=r.inputComponent,S=void 0===p?"input":p,j=r.label,C=r.multiline,k=void 0!==C&&C,E=r.notched,P=r.type,_=void 0===P?"text":P,M=Object(i.a)(r,y),T=function(t){var e=t.classes,n=Object(l.a)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},g.b,e);return Object(a.a)({},e,n)}(r),A=Object(h.a)(),R=Object(v.a)({props:r,muiFormControl:A,states:["required"]}),D=Object(a.a)({},r,{color:R.color||"primary",disabled:R.disabled,error:R.error,focused:R.focused,formControl:A,fullWidth:f,hiddenLabel:R.hiddenLabel,multiline:k,size:R.size,type:_});return Object(u.jsx)(m.c,Object(a.a)({components:Object(a.a)({Root:x,Input:O},c),renderSuffix:function(t){return Object(u.jsx)(w,{ownerState:D,className:T.notchedOutline,label:null!=j&&""!==j&&R.required?n||(n=Object(u.jsxs)(s.Fragment,{children:[j,"\xa0","*"]})):j,notched:"undefined"!==typeof E?E:Boolean(t.startAdornment||t.filled||t.focused)})},fullWidth:f,inputComponent:S,multiline:k,ref:e,type:_},M,{classes:Object(a.a)({},T,{notchedOutline:null})}))}));S.muiName="Input";e.a=S},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(1267),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiBackdrop",t)}Object(f.a)("MuiBackdrop",["root","invisible"]);var h=n(0),v=["children","component","components","componentsProps","className","invisible","open","transitionDuration","TransitionComponent"],g=Object(l.a)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.invisible&&e.invisible]}})((function(t){var e=t.ownerState;return Object(o.a)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})})),m=i.forwardRef((function(t,e){var n,i,l=Object(c.a)({props:t,name:"MuiBackdrop"}),d=l.children,f=l.component,m=void 0===f?"div":f,b=l.components,y=void 0===b?{}:b,x=l.componentsProps,w=void 0===x?{}:x,O=l.className,S=l.invisible,j=void 0!==S&&S,C=l.open,k=l.transitionDuration,E=l.TransitionComponent,P=void 0===E?u.a:E,_=Object(r.a)(l,v),M=Object(o.a)({},l,{component:m,invisible:j}),T=function(t){var e=t.classes,n={root:["root",t.invisible&&"invisible"]};return Object(s.a)(n,p,e)}(M);return Object(h.jsx)(P,Object(o.a)({in:C,timeout:k},_,{children:Object(h.jsx)(g,{"aria-hidden":!0,as:null!=(n=y.Root)?n:m,className:Object(a.default)(T.root,O),ownerState:Object(o.a)({},M,null==(i=w.root)?void 0:i.ownerState),classes:T,ref:e,children:d})}))}));e.a=m},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=(n(172),n(154)),s=n(1331),l=n(1268).a,c=n(60),u=n(127),d=n(0),f=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function p(t,e,n){return t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:n?null:t.firstChild}function h(t,e,n){return t===e?n?t.firstChild:t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:n?null:t.lastChild}function v(t,e){if(void 0===e)return!0;var n=t.innerText;return void 0===n&&(n=t.textContent),0!==(n=n.trim().toLowerCase()).length&&(e.repeating?n[0]===e.keys[0]:0===n.indexOf(e.keys.join("")))}function g(t,e,n,r,o,i){for(var a=!1,s=o(t,e,!!e&&n);s;){if(s===t.firstChild){if(a)return!1;a=!0}var l=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&v(s,i)&&!l)return s.focus(),!0;s=o(t,s,n)}return!1}var m=i.forwardRef((function(t,e){var n=t.actions,m=t.autoFocus,b=void 0!==m&&m,y=t.autoFocusItem,x=void 0!==y&&y,w=t.children,O=t.className,S=t.disabledItemsFocusable,j=void 0!==S&&S,C=t.disableListWrap,k=void 0!==C&&C,E=t.onKeyDown,P=t.variant,_=void 0===P?"selectedMenu":P,M=Object(o.a)(t,f),T=i.useRef(null),A=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Object(u.a)((function(){b&&T.current.focus()}),[b]),i.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(t,e){var n=!T.current.style.width;if(t.clientHeight<T.current.clientHeight&&n){var r="".concat(l(Object(a.a)(t)),"px");T.current.style["rtl"===e.direction?"paddingLeft":"paddingRight"]=r,T.current.style.width="calc(100% + ".concat(r,")")}return T.current}}}),[]);var R=Object(c.a)(T,e),D=-1;i.Children.forEach(w,(function(t,e){i.isValidElement(t)&&(t.props.disabled||("selectedMenu"===_&&t.props.selected||-1===D)&&(D=e))}));var I=i.Children.map(w,(function(t,e){if(e===D){var n={};return x&&(n.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===_&&(n.tabIndex=0),i.cloneElement(t,n)}return t}));return Object(d.jsx)(s.a,Object(r.a)({role:"menu",ref:R,className:O,onKeyDown:function(t){var e=T.current,n=t.key,r=Object(a.a)(e).activeElement;if("ArrowDown"===n)t.preventDefault(),g(e,r,k,j,p);else if("ArrowUp"===n)t.preventDefault(),g(e,r,k,j,h);else if("Home"===n)t.preventDefault(),g(e,null,k,j,p);else if("End"===n)t.preventDefault(),g(e,null,k,j,h);else if(1===n.length){var o=A.current,i=n.toLowerCase(),s=performance.now();o.keys.length>0&&(s-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=s,o.keys.push(i);var l=r&&!o.repeating&&v(r,o);o.previousKeyMatched&&(l||g(e,r,!1,j,p,o))?t.preventDefault():o.previousKeyMatched=!1}E&&E(t)},tabIndex:b?0:-1},M,{children:I}))}));e.a=m},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(13),u=n(17),d=n(1163),f=n(405),p=n(168),h=n(187);function v(t){return Object(p.a)("MuiAccordionSummary",t)}var g=Object(h.a)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),m=n(0),b=["children","className","expandIcon","focusVisibleClassName","onClick"],y=Object(c.a)(d.a,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){var e,n=t.theme,o=t.ownerState,a={duration:n.transitions.duration.shortest};return Object(i.a)((e={display:"flex",minHeight:48,padding:n.spacing(0,2),transition:n.transitions.create(["min-height","background-color"],a)},Object(r.a)(e,"&.".concat(g.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),Object(r.a)(e,"&.".concat(g.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),Object(r.a)(e,"&:hover:not(.".concat(g.disabled,")"),{cursor:"pointer"}),e),!o.disableGutters&&Object(r.a)({},"&.".concat(g.expanded),{minHeight:64}))})),x=Object(c.a)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:function(t,e){return e.content}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({display:"flex",flexGrow:1,margin:"12px 0"},!n.disableGutters&&Object(r.a)({transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest})},"&.".concat(g.expanded),{margin:"20px 0"}))})),w=Object(c.a)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:function(t,e){return e.expandIconWrapper}})((function(t){var e=t.theme;return Object(r.a)({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})},"&.".concat(g.expanded),{transform:"rotate(180deg)"})})),O=a.forwardRef((function(t,e){var n=Object(u.a)({props:t,name:"MuiAccordionSummary"}),r=n.children,c=n.className,d=n.expandIcon,p=n.focusVisibleClassName,h=n.onClick,g=Object(o.a)(n,b),O=a.useContext(f.a),S=O.disabled,j=void 0!==S&&S,C=O.disableGutters,k=O.expanded,E=O.toggle,P=Object(i.a)({},n,{expanded:k,disabled:j,disableGutters:C}),_=function(t){var e=t.classes,n=t.expanded,r=t.disabled,o=t.disableGutters,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return Object(l.a)(i,v,e)}(P);return Object(m.jsxs)(y,Object(i.a)({focusRipple:!1,disableRipple:!0,disabled:j,component:"div","aria-expanded":k,className:Object(s.default)(_.root,c),focusVisibleClassName:Object(s.default)(_.focusVisible,p),onClick:function(t){E&&E(t),h&&h(t)},ref:e,ownerState:P},g,{children:[Object(m.jsx)(x,{className:_.content,ownerState:P,children:r}),d&&Object(m.jsx)(w,{className:_.expandIconWrapper,ownerState:P,children:d})]}))}));e.a=O},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(168),d=n(187);function f(t){return Object(u.a)("MuiAccordionDetails",t)}Object(d.a)("MuiAccordionDetails",["root"]);var p=n(0),h=["className"],v=Object(l.a)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:function(t,e){return e.root}})((function(t){return{padding:t.theme.spacing(1,2,2)}})),g=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiAccordionDetails"}),i=n.className,l=Object(o.a)(n,h),u=n,d=function(t){var e=t.classes;return Object(s.a)({root:["root"]},f,e)}(u);return Object(p.jsx)(v,Object(r.a)({className:Object(a.default)(d.root,i),ref:e,ownerState:u},l))}));e.a=g},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(13),c=n(17),u=n(15),d=n(1330),f=n(168),p=n(187);function h(t){return Object(f.a)("MuiAppBar",t)}Object(p.a)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);var v=n(0),g=["className","color","enableColorOnDark","position"],m=function(t,e){return"".concat(null==t?void 0:t.replace(")",""),", ").concat(e,")")},b=Object(l.a)(d.a,{name:"MuiAppBar",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["position".concat(Object(u.a)(n.position))],e["color".concat(Object(u.a)(n.color))]]}})((function(t){var e=t.theme,n=t.ownerState,r="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return Object(o.a)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===n.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===n.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===n.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===n.position&&{position:"static"},"relative"===n.position&&{position:"relative"},!e.vars&&Object(o.a)({},"default"===n.color&&{backgroundColor:r,color:e.palette.getContrastText(r)},n.color&&"default"!==n.color&&"inherit"!==n.color&&"transparent"!==n.color&&{backgroundColor:e.palette[n.color].main,color:e.palette[n.color].contrastText},"inherit"===n.color&&{color:"inherit"},"dark"===e.palette.mode&&!n.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===n.color&&Object(o.a)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&Object(o.a)({},"default"===n.color&&{"--AppBar-background":n.enableColorOnDark?e.vars.palette.AppBar.defaultBg:m(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":n.enableColorOnDark?e.vars.palette.text.primary:m(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},n.color&&!n.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":n.enableColorOnDark?e.vars.palette[n.color].main:m(e.vars.palette.AppBar.darkBg,e.vars.palette[n.color].main),"--AppBar-color":n.enableColorOnDark?e.vars.palette[n.color].contrastText:m(e.vars.palette.AppBar.darkColor,e.vars.palette[n.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===n.color?"inherit":"var(--AppBar-color)"},"transparent"===n.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),y=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiAppBar"}),i=n.className,l=n.color,d=void 0===l?"primary":l,f=n.enableColorOnDark,p=void 0!==f&&f,m=n.position,y=void 0===m?"fixed":m,x=Object(r.a)(n,g),w=Object(o.a)({},n,{color:d,position:y,enableColorOnDark:p}),O=function(t){var e=t.color,n=t.position,r=t.classes,o={root:["root","color".concat(Object(u.a)(e)),"position".concat(Object(u.a)(n))]};return Object(s.a)(o,h,r)}(w);return Object(v.jsx)(b,Object(o.a)({square:!0,component:"header",ownerState:w,elevation:4,className:Object(a.default)(O.root,i,"fixed"===y&&"mui-fixed"),ref:e},x))}));e.a=y},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(17),u=n(13),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiToolbar",t)}Object(f.a)("MuiToolbar",["root","gutters","regular","dense"]);var h=n(0),v=["className","component","disableGutters","variant"],g=Object(u.a)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,!n.disableGutters&&e.gutters,e[n.variant]]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({position:"relative",display:"flex",alignItems:"center"},!n.disableGutters&&Object(r.a)({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),"dense"===n.variant&&{minHeight:48})}),(function(t){var e=t.theme;return"regular"===t.ownerState.variant&&e.mixins.toolbar})),m=a.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiToolbar"}),r=n.className,a=n.component,u=void 0===a?"div":a,d=n.disableGutters,f=void 0!==d&&d,m=n.variant,b=void 0===m?"regular":m,y=Object(o.a)(n,v),x=Object(i.a)({},n,{component:u,disableGutters:f,variant:b}),w=function(t){var e=t.classes,n={root:["root",!t.disableGutters&&"gutters",t.variant]};return Object(l.a)(n,p,e)}(x);return Object(h.jsx)(g,Object(i.a)({as:u,className:Object(s.default)(w.root,r),ref:e,ownerState:x},y))}));e.a=m},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(15),u=n(313),d=n(220),f=n(104),p=n(13),h=n(168),v=n(187);function g(t){return Object(h.a)("MuiInputAdornment",t)}var m,b=Object(v.a)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),y=n(17),x=n(0),w=["children","className","component","disablePointerEvents","disableTypography","position","variant"],O=Object(p.a)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["position".concat(Object(c.a)(n.position))],!0===n.disablePointerEvents&&e.disablePointerEvents,e[n.variant]]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===n.variant&&Object(r.a)({},"&.".concat(b.positionStart,"&:not(.").concat(b.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),S=a.forwardRef((function(t,e){var n=Object(y.a)({props:t,name:"MuiInputAdornment"}),r=n.children,p=n.className,h=n.component,v=void 0===h?"div":h,b=n.disablePointerEvents,S=void 0!==b&&b,j=n.disableTypography,C=void 0!==j&&j,k=n.position,E=n.variant,P=Object(o.a)(n,w),_=Object(f.a)()||{},M=E;E&&_.variant,_&&!M&&(M=_.variant);var T=Object(i.a)({},n,{hiddenLabel:_.hiddenLabel,size:_.size,disablePointerEvents:S,position:k,variant:M}),A=function(t){var e=t.classes,n=t.disablePointerEvents,r=t.hiddenLabel,o=t.position,i=t.size,a=t.variant,s={root:["root",n&&"disablePointerEvents",o&&"position".concat(Object(c.a)(o)),a,r&&"hiddenLabel",i&&"size".concat(Object(c.a)(i))]};return Object(l.a)(s,g,e)}(T);return Object(x.jsx)(d.a.Provider,{value:null,children:Object(x.jsx)(O,Object(i.a)({as:v,ownerState:T,className:Object(s.default)(A.root,p),ref:e},P,{children:"string"!==typeof r||C?Object(x.jsxs)(a.Fragment,{children:["start"===k?m||(m=Object(x.jsx)("span",{className:"notranslate",children:"\u200b"})):null,r]}):Object(x.jsx)(u.a,{color:"text.secondary",children:r})}))})}));e.a=S},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(17),c=n(13),u=n(168),d=n(187);function f(t){return Object(u.a)("MuiTableContainer",t)}Object(d.a)("MuiTableContainer",["root"]);var p=n(0),h=["className","component"],v=Object(c.a)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:function(t,e){return e.root}})({width:"100%",overflowX:"auto"}),g=i.forwardRef((function(t,e){var n=Object(l.a)({props:t,name:"MuiTableContainer"}),i=n.className,c=n.component,u=void 0===c?"div":c,d=Object(o.a)(n,h),g=Object(r.a)({},n,{component:u}),m=function(t){var e=t.classes;return Object(s.a)({root:["root"]},f,e)}(g);return Object(p.jsx)(v,Object(r.a)({ref:e,as:u,className:Object(a.default)(m.root,i),ownerState:g},d))}));e.a=g},function(t,e,n){"use strict";var r=n(12),o=n(3),i=n(1),a=n(10),s=n(230),l=n(409),c=n(17),u=n(13),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiTable",t)}Object(f.a)("MuiTable",["root","stickyHeader"]);var h=n(0),v=["className","component","padding","size","stickyHeader"],g=Object(u.a)("table",{name:"MuiTable",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.stickyHeader&&e.stickyHeader]}})((function(t){var e=t.theme,n=t.ownerState;return Object(o.a)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":Object(o.a)({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},n.stickyHeader&&{borderCollapse:"separate"})})),m="table",b=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiTable"}),u=n.className,d=n.component,f=void 0===d?m:d,b=n.padding,y=void 0===b?"normal":b,x=n.size,w=void 0===x?"medium":x,O=n.stickyHeader,S=void 0!==O&&O,j=Object(r.a)(n,v),C=Object(o.a)({},n,{component:f,padding:y,size:w,stickyHeader:S}),k=function(t){var e=t.classes,n={root:["root",t.stickyHeader&&"stickyHeader"]};return Object(s.a)(n,p,e)}(C),E=i.useMemo((function(){return{padding:y,size:w,stickyHeader:S}}),[y,w,S]);return Object(h.jsx)(l.a.Provider,{value:E,children:Object(h.jsx)(g,Object(o.a)({as:f,role:f===m?null:"table",ref:e,className:Object(a.default)(k.root,u),ownerState:C},j))})}));e.a=b},function(t,e,n){"use strict";var r=n(5),o=n(3),i=n(12),a=n(1),s=n(10),l=n(230),c=n(167),u=n(288),d=n(17),f=n(13),p=n(168),h=n(187);function v(t){return Object(p.a)("MuiTableRow",t)}var g=Object(h.a)("MuiTableRow",["root","selected","hover","head","footer"]),m=n(0),b=["className","component","hover","selected"],y=Object(f.a)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,n.head&&e.head,n.footer&&e.footer]}})((function(t){var e,n=t.theme;return e={color:"inherit",display:"table-row",verticalAlign:"middle",outline:0},Object(r.a)(e,"&.".concat(g.hover,":hover"),{backgroundColor:(n.vars||n).palette.action.hover}),Object(r.a)(e,"&.".concat(g.selected),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity),"&:hover":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):Object(c.a)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity)}}),e})),x=a.forwardRef((function(t,e){var n=Object(d.a)({props:t,name:"MuiTableRow"}),r=n.className,c=n.component,f=void 0===c?"tr":c,p=n.hover,h=void 0!==p&&p,g=n.selected,x=void 0!==g&&g,w=Object(i.a)(n,b),O=a.useContext(u.a),S=Object(o.a)({},n,{component:f,hover:h,selected:x,head:O&&"head"===O.variant,footer:O&&"footer"===O.variant}),j=function(t){var e=t.classes,n={root:["root",t.selected&&"selected",t.hover&&"hover",t.head&&"head",t.footer&&"footer"]};return Object(l.a)(n,v,e)}(S);return Object(m.jsx)(y,Object(o.a)({as:f,ref:e,className:Object(s.default)(j.root,r),role:"tr"===f?null:"row",ownerState:S},w))}));e.a=x},function(t,e,n){"use strict";var r=n(3),o=n(12),i=n(1),a=n(10),s=n(230),l=n(288),c=n(17),u=n(13),d=n(168),f=n(187);function p(t){return Object(d.a)("MuiTableBody",t)}Object(f.a)("MuiTableBody",["root"]);var h=n(0),v=["className","component"],g=Object(u.a)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:function(t,e){return e.root}})({display:"table-row-group"}),m={variant:"body"},b="tbody",y=i.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiTableBody"}),i=n.className,u=n.component,d=void 0===u?b:u,f=Object(o.a)(n,v),y=Object(r.a)({},n,{component:d}),x=function(t){var e=t.classes;return Object(s.a)({root:["root"]},p,e)}(y);return Object(h.jsx)(l.a.Provider,{value:m,children:Object(h.jsx)(g,Object(r.a)({className:Object(a.default)(x.root,i),as:d,ref:e,role:d===b?null:"rowgroup",ownerState:y},f))})}));e.a=y},function(t,e,n){"use strict";var r=n(5),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(167),u=n(15),d=n(409),f=n(288),p=n(17),h=n(13),v=n(168),g=n(187);function m(t){return Object(v.a)("MuiTableCell",t)}var b=Object(g.a)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),y=n(0),x=["align","className","component","padding","scope","size","sortDirection","variant"],w=Object(h.a)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e[n.variant],e["size".concat(Object(u.a)(n.size))],"normal"!==n.padding&&e["padding".concat(Object(u.a)(n.padding))],"inherit"!==n.align&&e["align".concat(Object(u.a)(n.align))],n.stickyHeader&&e.stickyHeader]}})((function(t){var e=t.theme,n=t.ownerState;return Object(i.a)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?"1px solid ".concat(e.vars.palette.TableCell.border):"1px solid\n    ".concat("light"===e.palette.mode?Object(c.e)(Object(c.a)(e.palette.divider,1),.88):Object(c.b)(Object(c.a)(e.palette.divider,1),.68)),textAlign:"left",padding:16},"head"===n.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===n.variant&&{color:(e.vars||e).palette.text.primary},"footer"===n.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===n.size&&Object(r.a)({padding:"6px 16px"},"&.".concat(b.paddingCheckbox),{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}),"checkbox"===n.padding&&{width:48,padding:"0 0 0 4px"},"none"===n.padding&&{padding:0},"left"===n.align&&{textAlign:"left"},"center"===n.align&&{textAlign:"center"},"right"===n.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===n.align&&{textAlign:"justify"},n.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})})),O=a.forwardRef((function(t,e){var n,r=Object(p.a)({props:t,name:"MuiTableCell"}),c=r.align,h=void 0===c?"inherit":c,v=r.className,g=r.component,b=r.padding,O=r.scope,S=r.size,j=r.sortDirection,C=r.variant,k=Object(o.a)(r,x),E=a.useContext(d.a),P=a.useContext(f.a),_=P&&"head"===P.variant;n=g||(_?"th":"td");var M=O;!M&&_&&(M="col");var T=C||P&&P.variant,A=Object(i.a)({},r,{align:h,component:n,padding:b||(E&&E.padding?E.padding:"normal"),size:S||(E&&E.size?E.size:"medium"),sortDirection:j,stickyHeader:"head"===T&&E&&E.stickyHeader,variant:T}),R=function(t){var e=t.classes,n=t.variant,r=t.align,o=t.padding,i=t.size,a={root:["root",n,t.stickyHeader&&"stickyHeader","inherit"!==r&&"align".concat(Object(u.a)(r)),"normal"!==o&&"padding".concat(Object(u.a)(o)),"size".concat(Object(u.a)(i))]};return Object(l.a)(a,m,e)}(A),D=null;return j&&(D="asc"===j?"ascending":"descending"),Object(y.jsx)(w,Object(i.a)({as:n,ref:e,className:Object(s.default)(R.root,v),"aria-sort":D,scope:M,ownerState:A},k))}));e.a=O},function(t,e,n){"use strict";var r=n(77),o=n(12),i=n(3),a=n(1),s=n(10),l=n(230),c=n(42),u=n(167),d=n(15),f=n(52),p=n(13),h=n(17),v=n(168),g=n(187);function m(t){return Object(v.a)("MuiLinearProgress",t)}Object(g.a)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var b,y,x,w,O,S,j,C,k,E,P,_,M=n(0),T=["className","color","value","valueBuffer","variant"],A=Object(c.e)(j||(j=b||(b=Object(r.a)(["\n  0% {\n    left: -35%;\n    right: 100%;\n  }\n\n  60% {\n    left: 100%;\n    right: -90%;\n  }\n\n  100% {\n    left: 100%;\n    right: -90%;\n  }\n"])))),R=Object(c.e)(C||(C=y||(y=Object(r.a)(["\n  0% {\n    left: -200%;\n    right: 100%;\n  }\n\n  60% {\n    left: 107%;\n    right: -8%;\n  }\n\n  100% {\n    left: 107%;\n    right: -8%;\n  }\n"])))),D=Object(c.e)(k||(k=x||(x=Object(r.a)(["\n  0% {\n    opacity: 1;\n    background-position: 0 -23px;\n  }\n\n  60% {\n    opacity: 0;\n    background-position: 0 -23px;\n  }\n\n  100% {\n    opacity: 1;\n    background-position: -200px -23px;\n  }\n"])))),I=function(t,e){return"inherit"===e?"currentColor":t.vars?t.vars.palette.LinearProgress["".concat(e,"Bg")]:"light"===t.palette.mode?Object(u.e)(t.palette[e].main,.62):Object(u.b)(t.palette[e].main,.5)},N=Object(p.a)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:function(t,e){var n=t.ownerState;return[e.root,e["color".concat(Object(d.a)(n.color))],e[n.variant]]}})((function(t){var e=t.ownerState,n=t.theme;return Object(i.a)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:I(n,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"})})),L=Object(p.a)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:function(t,e){var n=t.ownerState;return[e.dashed,e["dashedColor".concat(Object(d.a)(n.color))]]}})((function(t){var e=t.ownerState,n=t.theme,r=I(n,e.color);return Object(i.a)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),Object(c.c)(E||(E=w||(w=Object(r.a)(["\n    animation: "," 3s infinite linear;\n  "]))),D)),F=Object(p.a)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:function(t,e){var n=t.ownerState;return[e.bar,e["barColor".concat(Object(d.a)(n.color))],("indeterminate"===n.variant||"query"===n.variant)&&e.bar1Indeterminate,"determinate"===n.variant&&e.bar1Determinate,"buffer"===n.variant&&e.bar1Buffer]}})((function(t){var e=t.ownerState,n=t.theme;return Object(i.a)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(n.vars||n).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .".concat(4,"s linear")},"buffer"===e.variant&&{zIndex:1,transition:"transform .".concat(4,"s linear")})}),(function(t){var e=t.ownerState;return("indeterminate"===e.variant||"query"===e.variant)&&Object(c.c)(P||(P=O||(O=Object(r.a)(["\n      width: auto;\n      animation: "," 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n    "]))),A)})),B=Object(p.a)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:function(t,e){var n=t.ownerState;return[e.bar,e["barColor".concat(Object(d.a)(n.color))],("indeterminate"===n.variant||"query"===n.variant)&&e.bar2Indeterminate,"buffer"===n.variant&&e.bar2Buffer]}})((function(t){var e=t.ownerState,n=t.theme;return Object(i.a)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(n.vars||n).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:I(n,e.color),transition:"transform .".concat(4,"s linear")})}),(function(t){var e=t.ownerState;return("indeterminate"===e.variant||"query"===e.variant)&&Object(c.c)(_||(_=S||(S=Object(r.a)(["\n      width: auto;\n      animation: "," 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n    "]))),R)})),z=a.forwardRef((function(t,e){var n=Object(h.a)({props:t,name:"MuiLinearProgress"}),r=n.className,a=n.color,c=void 0===a?"primary":a,u=n.value,p=n.valueBuffer,v=n.variant,g=void 0===v?"indeterminate":v,b=Object(o.a)(n,T),y=Object(i.a)({},n,{color:c,variant:g}),x=function(t){var e=t.classes,n=t.variant,r=t.color,o={root:["root","color".concat(Object(d.a)(r)),n],dashed:["dashed","dashedColor".concat(Object(d.a)(r))],bar1:["bar","barColor".concat(Object(d.a)(r)),("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&"barColor".concat(Object(d.a)(r)),"buffer"===n&&"color".concat(Object(d.a)(r)),("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return Object(l.a)(o,m,e)}(y),w=Object(f.a)(),O={},S={bar1:{},bar2:{}};if("determinate"===g||"buffer"===g)if(void 0!==u){O["aria-valuenow"]=Math.round(u),O["aria-valuemin"]=0,O["aria-valuemax"]=100;var j=u-100;"rtl"===w.direction&&(j=-j),S.bar1.transform="translateX(".concat(j,"%)")}else 0;if("buffer"===g)if(void 0!==p){var C=(p||0)-100;"rtl"===w.direction&&(C=-C),S.bar2.transform="translateX(".concat(C,"%)")}else 0;return Object(M.jsxs)(N,Object(i.a)({className:Object(s.default)(x.root,r),ownerState:y,role:"progressbar"},O,{ref:e},b,{children:["buffer"===g?Object(M.jsx)(L,{className:x.dashed,ownerState:y}):null,Object(M.jsx)(F,{className:x.bar1,ownerState:y,style:S.bar1}),"determinate"===g?null:Object(M.jsx)(B,{className:x.bar2,ownerState:y,style:S.bar2})]}))}));e.a=z},function(t,e,n){"use strict";var r=n(2),o=n(3),i=n(12),a=n(1),s=n(10),l=n(13),c=n(17),u=n(52),d=n(731),f=n(248),p=n(60),h=n(162),v=n(154),g=n(296),m=n(347),b=n(444),y=n(523);function x(t){return Object(b.a)("MuiTreeView",t)}Object(y.a)("MuiTreeView",["root"]);var w=n(0),O=["children","className","defaultCollapseIcon","defaultEndIcon","defaultExpanded","defaultExpandIcon","defaultParentIcon","defaultSelected","disabledItemsFocusable","disableSelection","expanded","id","multiSelect","onBlur","onFocus","onKeyDown","onNodeFocus","onNodeSelect","onNodeToggle","selected"],S=Object(l.a)("ul",{name:"MuiTreeView",slot:"Root",overridesResolver:function(t,e){return e.root}})({padding:0,margin:0,listStyle:"none",outline:0});function j(t,e,n){for(var r=e;r<t.length;r+=1)if(n===t[r])return r;return-1}function C(){return!1}var k=[],E=[],P=a.forwardRef((function(t,e){var n=Object(c.a)({props:t,name:"MuiTreeView"}),l=n.children,b=n.className,y=n.defaultCollapseIcon,P=n.defaultEndIcon,_=n.defaultExpanded,M=void 0===_?k:_,T=n.defaultExpandIcon,A=n.defaultParentIcon,R=n.defaultSelected,D=void 0===R?E:R,I=n.disabledItemsFocusable,N=void 0!==I&&I,L=n.disableSelection,F=void 0!==L&&L,B=n.expanded,z=n.id,H=n.multiSelect,V=void 0!==H&&H,U=n.onBlur,W=n.onFocus,q=n.onKeyDown,G=n.onNodeFocus,Y=n.onNodeSelect,X=n.onNodeToggle,K=n.selected,$=Object(i.a)(n,O),Z="rtl"===Object(u.a)().direction,Q=Object(o.a)({},n,{defaultExpanded:M,defaultSelected:D,disabledItemsFocusable:N,disableSelection:F,multiSelect:V}),J=function(t){var e=t.classes;return Object(d.a)({root:["root"]},x,e)}(Q),tt=Object(f.a)(z),et=a.useRef(null),nt=Object(p.a)(et,e),rt=a.useState(null),ot=Object(r.a)(rt,2),it=ot[0],at=ot[1],st=a.useRef({}),lt=a.useRef({}),ct=Object(h.a)({controlled:B,default:M,name:"TreeView",state:"expanded"}),ut=Object(r.a)(ct,2),dt=ut[0],ft=ut[1],pt=Object(h.a)({controlled:K,default:D,name:"TreeView",state:"selected"}),ht=Object(r.a)(pt,2),vt=ht[0],gt=ht[1],mt=a.useCallback((function(t){return!!Array.isArray(dt)&&-1!==dt.indexOf(t)}),[dt]),bt=a.useCallback((function(t){return st.current[t]&&st.current[t].expandable}),[]),yt=a.useCallback((function(t){return Array.isArray(vt)?-1!==vt.indexOf(t):vt===t}),[vt]),xt=a.useCallback((function(t){var e=st.current[t];if(!e)return!1;if(e.disabled)return!0;for(;null!=e.parentId;)if((e=st.current[e.parentId]).disabled)return!0;return!1}),[]),wt=function(t){return Object.keys(st.current).map((function(t){return st.current[t]})).filter((function(e){return e.parentId===t})).sort((function(t,e){return t.index-e.index})).map((function(t){return t.id}))},Ot=function(t){var e=wt(t);return N||(e=e.filter((function(t){return!xt(t)}))),e},St=function(t){if(mt(t)&&Ot(t).length>0)return Ot(t)[0];for(var e=st.current[t];null!=e;){var n=Ot(e.parentId),r=n[n.indexOf(e.id)+1];if(r)return r;e=st.current[e.parentId]}return null},jt=function(t){var e=st.current[t],n=Ot(e.parentId),r=n.indexOf(t);if(0===r)return e.parentId;for(var o=n[r-1];mt(o)&&Ot(o).length>0;)o=Ot(o).pop();return o},Ct=function(){for(var t=Ot(null).pop();mt(t);)t=Ot(t).pop();return t},kt=function(){return Ot(null)[0]},Et=function(t,e){for(var n=function(t,e){if(t===e)return[t,e];var n=st.current[t],r=st.current[e];if(n.parentId===r.id||r.parentId===n.id)return r.parentId===n.id?[n.id,r.id]:[r.id,n.id];for(var o=[n.id],i=[r.id],a=n.parentId,s=r.parentId,l=-1!==i.indexOf(a),c=-1!==o.indexOf(s),u=!0,d=!0;!c&&!l;)u&&(o.push(a),u=null!==a,!(l=-1!==i.indexOf(a))&&u&&(a=st.current[a].parentId)),d&&!l&&(i.push(s),d=null!==s,!(c=-1!==o.indexOf(s))&&d&&(s=st.current[s].parentId));var f=l?a:s,p=wt(f),h=o[o.indexOf(f)-1],v=i[i.indexOf(f)-1];return p.indexOf(h)<p.indexOf(v)?[t,e]:[e,t]}(t,e),o=Object(r.a)(n,2),i=o[0],a=o[1],s=[i],l=i;l!==a;)l=St(l),s.push(l);return s},Pt=function(t,e){e&&(at(e),G&&G(t,e))},_t=function(t,e){return Pt(t,St(e))},Mt=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:it;e=-1!==dt.indexOf(n)?dt.filter((function(t){return t!==n})):[n].concat(dt),X&&X(t,e),ft(e)},Tt=a.useRef(null),At=a.useRef(!1),Rt=a.useRef([]),Dt=function(t,e){var n=vt.slice(),r=e.start,o=e.next,i=e.current;o&&i&&(-1===Rt.current.indexOf(i)&&(Rt.current=[]),At.current?-1!==Rt.current.indexOf(o)?(n=n.filter((function(t){return t===r||t!==i})),Rt.current=Rt.current.filter((function(t){return t===r||t!==i}))):(n.push(o),Rt.current.push(o)):(n.push(o),Rt.current.push(i,o)),Y&&Y(t,n),gt(n))},It=function(t,e){var n=vt.slice(),r=e.start,o=e.end;At.current&&(n=n.filter((function(t){return-1===Rt.current.indexOf(t)})));var i=Et(r,o);i=i.filter((function(t){return!xt(t)})),Rt.current=i;var a=n.concat(i);a=a.filter((function(t,e){return a.indexOf(t)===e})),Y&&Y(t,a),gt(a)},Nt=function(t,e){var n;n=-1!==vt.indexOf(e)?vt.filter((function(t){return t!==e})):[e].concat(vt),Y&&Y(t,n),gt(n)},Lt=function(t,e){var n=V?[e]:e;Y&&Y(t,n),gt(n)},Ft=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!e&&(n?Nt(t,e):Lt(t,e),Tt.current=e,At.current=!1,Rt.current=[],!0)},Bt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.start,o=void 0===r?Tt.current:r,i=e.end,a=e.current;n?Dt(t,{start:o,next:i,current:a}):null!=o&&null!=i&&It(t,{start:o,end:i}),At.current=!0},zt=a.useCallback((function(t){var e=t.id,n=t.index,r=t.parentId,o=t.expandable,i=t.idAttribute,a=t.disabled;st.current[e]={id:e,index:n,parentId:r,expandable:o,idAttribute:i,disabled:a}}),[]),Ht=a.useCallback((function(t){var e=Object(o.a)({},st.current);delete e[t],st.current=e,at((function(e){return e===t&&et.current===Object(v.a)(et.current).activeElement?wt(null)[0]:e}))}),[]),Vt=a.useCallback((function(t,e){lt.current[t]=e}),[]),Ut=a.useCallback((function(t){var e=Object(o.a)({},lt.current);delete e[t],lt.current=e}),[]),Wt=function(t){return bt(it)&&(mt(it)?_t(t,it):xt(it)||Mt(t)),!0},qt=function(t){if(mt(it)&&!xt(it))return Mt(t,it),!0;var e,n=(e=it,st.current[e].parentId);return!!n&&(Pt(t,n),!0)},Gt=st.current[it]?st.current[it].idAttribute:null;return Object(w.jsx)(g.a.Provider,{value:{icons:{defaultCollapseIcon:y,defaultExpandIcon:T,defaultParentIcon:A,defaultEndIcon:P},focus:Pt,toggleExpansion:Mt,isExpanded:mt,isExpandable:bt,isFocused:function(t){return it===t},isSelected:yt,isDisabled:xt,selectNode:F?C:Ft,selectRange:F?C:Bt,multiSelect:V,disabledItemsFocusable:N,mapFirstChar:Vt,unMapFirstChar:Ut,registerNode:zt,unregisterNode:Ht,treeId:tt},children:Object(w.jsx)(m.a,{children:Object(w.jsx)(S,Object(o.a)({role:"tree",id:tt,"aria-activedescendant":Gt,"aria-multiselectable":V,className:Object(s.default)(J.root,b),ref:nt,tabIndex:0,onKeyDown:function(t){var e=!1,n=t.key;if(!t.altKey&&t.currentTarget===t.target&&it){var r,o=t.ctrlKey||t.metaKey;switch(n){case" ":F||xt(it)||(V&&t.shiftKey?(Bt(t,{end:it}),e=!0):e=V?Ft(t,it,!0):Ft(t,it)),t.stopPropagation();break;case"Enter":xt(it)||(bt(it)?(Mt(t),e=!0):e=V?Ft(t,it,!0):Ft(t,it)),t.stopPropagation();break;case"ArrowDown":V&&t.shiftKey&&!F&&function(t,e){xt(St(e))||Bt(t,{end:St(e),current:e},!0)}(t,it),_t(t,it),e=!0;break;case"ArrowUp":V&&t.shiftKey&&!F&&function(t,e){xt(jt(e))||Bt(t,{end:jt(e),current:e},!0)}(t,it),function(t,e){Pt(t,jt(e))}(t,it),e=!0;break;case"ArrowRight":e=Z?qt(t):Wt(t);break;case"ArrowLeft":e=Z?Wt(t):qt(t);break;case"Home":V&&o&&t.shiftKey&&!F&&!xt(it)&&function(t,e){Tt.current||(Tt.current=e);var n=At.current?Tt.current:e;Bt(t,{start:n,end:kt()})}(t,it),function(t){Pt(t,kt())}(t),e=!0;break;case"End":V&&o&&t.shiftKey&&!F&&!xt(it)&&function(t,e){Tt.current||(Tt.current=e);var n=At.current?Tt.current:e;Bt(t,{start:n,end:Ct()})}(t,it),function(t){Pt(t,Ct())}(t),e=!0;break;default:"*"===n?(!function(t,e){var n=st.current[e],r=wt(n.parentId).filter((function(t){return bt(t)&&!mt(t)})),o=dt.concat(r);r.length>0&&(ft(o),X&&X(t,o))}(t,it),e=!0):V&&o&&"a"===n.toLowerCase()&&!F?(!function(t){Bt(t,{start:kt(),end:Ct()})}(t),e=!0):!o&&!t.shiftKey&&((r=n)&&1===r.length&&r.match(/\S/))&&(!function(t,e,n){var r,o,i=n.toLowerCase(),a=[],s=[];Object.keys(lt.current).forEach((function(t){var e=lt.current[t],n=st.current[t],r=!n.parentId||mt(n.parentId),o=!N&&xt(t);r&&!o&&(a.push(t),s.push(e))})),(r=a.indexOf(e)+1)>=a.length&&(r=0),-1===(o=j(s,r,i))&&(o=j(s,0,i)),o>-1&&Pt(t,a[o])}(t,it,n),e=!0)}e&&(t.preventDefault(),t.stopPropagation()),q&&q(t)}},onFocus:function(t){if(t.target===t.currentTarget){var e=Array.isArray(vt)?vt[0]:vt;Pt(t,e||Ot(null)[0])}W&&W(t)},onBlur:function(t){at(null),U&&U(t)},ownerState:Q},$,{children:l}))})})}));e.a=P},function(t,e,n){"use strict";function r(t){if("string"!==typeof t)throw new Error(function(t){for(var e="https://mui.com/production-error/?code="+t,n=1;n<arguments.length;n+=1)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+t+"; visit "+e+" for the full message."}(7));return t.charAt(0).toUpperCase()+t.slice(1)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(1);var o=r.createContext(null);function i(){return r.useContext(o)}}]]);
//# sourceMappingURL=2.0cbedbeb.chunk.js.map