/*! For license information please see 3.430e0066.chunk.js.LICENSE.txt */ (this["webpackJsonpvericrypt-web-app"]=this["webpackJsonpvericrypt-web-app"]||[]).push([[3],[function(e,t,n){"use strict";e.exports=n(475)},function(e,t,n){"use strict";e.exports=n(448)},function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;k(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}},function(e,t,n){e.exports=n(455)()},function(e,t,n){"use strict";function r(e){var t,n,a="";if("string"===typeof e||"number"===typeof e)a+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t,n){"use strict";function r(e,t,n,r,a,o,i){try{var s=e[o](i),u=s.value}catch(c){return void n(c)}s.done?t(u):Promise.resolve(u).then(r,a)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var i=e.apply(t,n);function s(e){r(i,a,o,s,u,"next",e)}function u(e){r(i,a,o,s,u,"throw",e)}s(void 0)}))}}n.d(t,"a",(function(){return a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(182);var a=n(219),o=n(122);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||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(e,t,n){"use strict";var r=n(2),a=n(673),o=n(121);t.a=function(e,t){return Object(a.a)(e,Object(r.a)({defaultTheme:o.a},t))}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n1?"s":"")+" required, but only "+t.length+" present")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(215);function a(e){if("string"!==typeof e)throw new Error(Object(r.a)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(15);function a(e){Object(r.a)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"f",(function(){return a})),n.d(t,"j",(function(){return o})),n.d(t,"b",(function(){return i})),n.d(t,"g",(function(){return s})),n.d(t,"a",(function(){return u})),n.d(t,"r",(function(){return c})),n.d(t,"l",(function(){return l})),n.d(t,"k",(function(){return f})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return p})),n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"m",(function(){return g})),n.d(t,"n",(function(){return b})),n.d(t,"p",(function(){return y})),n.d(t,"q",(function(){return O})),n.d(t,"o",(function(){return k})),n.d(t,"c",(function(){return S}));var r=n(2),a="undefined"===typeof window;function o(){}function i(e,t){return"function"===typeof e?e(t):e}function s(e){return"number"===typeof e&&e>=0&&e!==1/0}function u(e){return Array.isArray(e)?e:[e]}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t,n){return x(e)?"function"===typeof t?Object(r.a)({},n,{queryKey:e,queryFn:t}):Object(r.a)({},t,{queryKey:e}):e}function f(e,t,n){return x(e)?[Object(r.a)({},t,{queryKey:e}),n]:[e||{},t]}function d(e,t){var n=e.active,r=e.exact,a=e.fetching,o=e.inactive,i=e.predicate,s=e.queryKey,u=e.stale;if(x(s))if(r){if(t.queryHash!==h(s,t.options))return!1}else if(!g(t.queryKey,s))return!1;var c=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,o);if("none"===c)return!1;if("all"!==c){var l=t.isActive();if("active"===c&&!l)return!1;if("inactive"===c&&l)return!1}return("boolean"!==typeof u||t.isStale()===u)&&(("boolean"!==typeof a||t.isFetching()===a)&&!(i&&!i(t)))}function p(e,t){var n=e.exact,r=e.fetching,a=e.predicate,o=e.mutationKey;if(x(o)){if(!t.options.mutationKey)return!1;if(n){if(v(t.options.mutationKey)!==v(o))return!1}else if(!g(t.options.mutationKey,o))return!1}return("boolean"!==typeof r||"loading"===t.state.status===r)&&!(a&&!a(t))}function h(e,t){return((null==t?void 0:t.queryKeyHashFn)||v)(e)}function v(e){var t,n=u(e);return t=n,JSON.stringify(t,(function(e,t){return w(t)?Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{}):t}))}function g(e,t){return m(u(e),u(t))}function m(e,t){return e===t||typeof e===typeof t&&(!(!e||!t||"object"!==typeof e||"object"!==typeof t)&&!Object.keys(t).some((function(n){return!m(e[n],t[n])})))}function b(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||w(e)&&w(t)){for(var r=n?e.length:Object.keys(e).length,a=n?t:Object.keys(t),o=a.length,i=n?[]:{},s=0,u=0;u1&&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)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Object(r.a)(3,e));var a=e.substring(t+1,e.length-1).split(",");return{type:n,values:a=a.map((function(e){return parseFloat(e)}))}}function i(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function s(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,a=t[2]/100,s=r*Math.min(a,1-a),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return a-s*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),i({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?f(e,t):d(e,t)}function l(e,t){return e=o(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,i(e)}function f(e,t){if(e=o(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return i(e)}function d(e,t){if(e=o(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return i(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(122);function a(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Object(r.a)(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},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,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw i}}}}},function(e,t,n){"use strict";function r(e,t){return function(){return null}}n.r(t),n.d(t,"chainPropTypes",(function(){return r})),n.d(t,"deepmerge",(function(){return a.a})),n.d(t,"elementAcceptingRef",(function(){return u})),n.d(t,"elementTypeAcceptingRef",(function(){return c})),n.d(t,"exactProp",(function(){return l})),n.d(t,"formatMuiErrorMessage",(function(){return f.a})),n.d(t,"getDisplayName",(function(){return b})),n.d(t,"HTMLElementType",(function(){return y})),n.d(t,"ponyfillGlobal",(function(){return w})),n.d(t,"refType",(function(){return _}));var a=n(216),o=n(6),i=n.n(o);var s=(i.a.element,function(){return null});s.isRequired=(i.a.element.isRequired,function(){return null});var u=s;var c=(o.elementType,function(){return null});n(12),n(2);function l(e){return e}var f=n(215),d=n(60),p=n(92),h=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function v(e){var t="".concat(e).match(h);return t&&t[1]||""}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.displayName||e.name||v(e)||t}function m(e,t,n){var r=g(t);return e.displayName||(""!==r?"".concat(n,"(").concat(r,")"):n)}function b(e){if(null!=e){if("string"===typeof e)return e;if("function"===typeof e)return g(e,"Component");if("object"===Object(d.a)(e))switch(e.$$typeof){case p.ForwardRef:return m(e,e.render,"ForwardRef");case p.Memo:return m(e,e.type,"memo");default:return}}}function y(e,t,n,r,a){return null}var w="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),_=i.a.oneOfType([i.a.func,i.a.object])},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(120);function a(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Object(r.a)(e,t)}},function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),a=n(73);function o(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(a.a)(e,n),Object(a.a)(t,n)}}),[e,t])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(22),a=n(229),o=n(58);function i(e){var t=Object(a.a)();return function(){var n,a=Object(r.a)(e);if(t){var i=Object(r.a)(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return Object(o.a)(this,n)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return r}));var r,a=n(71),o="Sentry Logger ",i=["debug","info","warn","error","log","assert","trace"];function s(e){if(!("console"in a.a))return e();var t=a.a.console,n={};i.forEach((function(e){var r=t[e]&&t[e].__sentry_original__;e in t&&r&&(n[e]=t[e],t[e]=r)}));try{return e()}finally{Object.keys(n).forEach((function(e){t[e]=n[e]}))}}function u(){var e=!1,t={enable:function(){e=!0},disable:function(){e=!1}};return"undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.forEach((function(n){t[n]=function(){for(var t=arguments.length,r=new Array(t),i=0;i ".length;r&&o++<5&&!("html"===(n=i(r,t))||o>1&&s+a.length*u+n.length>=80);)a.push(n),s+=n.length,r=r.parentNode;return a.reverse().join(" > ")}catch(c){return""}}function i(e,t){var n,a,o,i,s,u=e,c=[];if(!u||!u.tagName)return"";c.push(u.tagName.toLowerCase());var l=t&&t.length?t.filter((function(e){return u.getAttribute(e)})).map((function(e){return[e,u.getAttribute(e)]})):null;if(l&&l.length)l.forEach((function(e){c.push("[".concat(e[0],'="').concat(e[1],'"]'))}));else if(u.id&&c.push("#".concat(u.id)),(n=u.className)&&Object(r.l)(n))for(a=n.split(/\s+/),s=0;s=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n0&&t+e.length!==n.length&&e.search(j)>-1&&":"!==n.charAt(t-2)&&("-"!==n.charAt(t+e.length)||"-"===n.charAt(t-1))&&n.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}var C=!1;function A(e){console.info("[react-ga]",e)}var P=[],T={calls:P,ga:function(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},N(e)}function L(e){return function(e){if(Array.isArray(e))return F(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e)||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 F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:"",t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=e||"";return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&(n=E(e)),t&&(n=k(n)),n}(e,q,H)}function Y(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&(V.apply(void 0,t),z&&(A("called ga('arguments');"),A("with arguments: ".concat(JSON.stringify(t))))),window.ga}function J(e,t){e?"object"===N(e)?(0===Object.keys(e).length&&u("empty `fieldsObject` given to .set()"),Y(t,"set",e),z&&(A("called ga('set', fieldsObject);"),A("with fieldsObject: ".concat(JSON.stringify(e))))):u("Expected `fieldsObject` arg to be an Object"):u("`fieldsObject` is required in .set()")}function Z(e,t){Y(t,"send",e),z&&(A("called ga('send', fieldObject);"),A("with fieldObject: ".concat(JSON.stringify(e))),A("with trackers: ".concat(JSON.stringify(t))))}function ee(e,t,n){if(e){var r=S(e);if(""!==r){var a={};if(n&&(a.title=n),Y(t,"send",function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.variable,r=e.value,a=e.label,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n&&"number"===typeof r){var i={hitType:"timing",timingCategory:G(t),timingVar:G(n),timingValue:r};a&&(i.timingLabel=G(a)),Z(i,o)}else u("args.category, args.variable AND args.value are required in timing() AND args.value has to be a number")}function re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.category,n=e.action,r=e.label,a=e.value,o=e.nonInteraction,i=e.transport,s=D(e,R),c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&n){var l={hitType:"event",eventCategory:G(t),eventAction:G(n)};r&&(l.eventLabel=G(r)),"undefined"!==typeof a&&("number"!==typeof a?u("Expected `args.value` arg to be a Number."):l.eventValue=a),"undefined"!==typeof o&&("boolean"!==typeof o?u("`args.nonInteraction` must be a boolean."):l.nonInteraction=o),"undefined"!==typeof i&&("string"!==typeof i?u("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(i)&&u("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),l.transport=i)),Object.keys(s).filter((function(e){return"dimension"===e.substr(0,"dimension".length)})).forEach((function(e){l[e]=s[e]})),Object.keys(s).filter((function(e){return"metric"===e.substr(0,"metric".length)})).forEach((function(e){l[e]=s[e]})),Z(l,c)}else u("args.category AND args.action are required in event()")}function ae(e,t){var n=e.description,r=e.fatal,a={hitType:"exception"};n&&(a.exDescription=G(n)),"undefined"!==typeof r&&("boolean"!==typeof r?u("`args.fatal` must be a boolean."):a.exFatal=r),Z(a,t)}var oe={require:function(e,t,n){if(e){var r=S(e);if(""!==r){var a=n?"".concat(n,".require"):"require";if(t){if("object"!==N(t))return void u("Expected `options` arg to be an Object");0===Object.keys(t).length&&u("Empty `options` given to .require()"),Q(a,r,t),z&&A("called ga('require', '".concat(r,"', ").concat(JSON.stringify(t)))}else Q(a,r),z&&A("called ga('require', '".concat(r,"');"))}else u("`name` cannot be an empty string in .require()")}else u("`name` is required in .require()")},execute:function(e,t){for(var n,r,a=arguments.length,o=new Array(a>2?a-2:0),i=2;i1&&void 0!==arguments[1]?arguments[1]:new f.a,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;Object(a.a)(this,e),this._version=r,e.prototype.__init.call(this),this.getStackTop().scope=n,t&&this.bindClient(t)}return Object(o.a)(e,[{key:"__init",value:function(){this._stack=[{}]}},{key:"isOlderThan",value:function(e){return this._version0&&void 0!==arguments[0]&&arguments[0];if(e)return this.endSession();this._sendSessionUpdate()}},{key:"endSession",value:function(){var e=this.getStackTop(),t=e&&e.scope,n=t&&t.getSession();n&&Object(d.a)(n),this._sendSessionUpdate(),t&&t.setSession()}},{key:"startSession",value:function(e){var t=this.getStackTop(),n=t.scope,a=t.client,o=a&&a.getOptions()||{},i=o.release,s=o.environment,u=(c.a.navigator||{}).userAgent,l=Object(d.b)(Object(r.a)(Object(r.a)(Object(r.a)({release:i,environment:s},n&&{user:n.getUser()}),u&&{userAgent:u}),e));if(n){var f=n.getSession&&n.getSession();f&&"ok"===f.status&&Object(d.c)(f,{status:"exited"}),this.endSession(),n.setSession(l)}return l}},{key:"shouldSendDefaultPii",value:function(){var e=this.getClient(),t=e&&e.getOptions();return Boolean(t&&t.sendDefaultPii)}},{key:"_sendSessionUpdate",value:function(){var e=this.getStackTop(),t=e.scope,n=e.client;if(t){var r=t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}}},{key:"_withClient",value:function(e){var t=this.getStackTop(),n=t.scope,r=t.client;r&&e(r,n)}},{key:"_callExtensionMethod",value:function(e){var t=h(),n=t.__SENTRY__;if(n&&n.extensions&&"function"===typeof n.extensions[e]){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o"}}function h(e){if("object"===typeof e&&null!==e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,n=Object.keys(d(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return Object(i.d)(n[0],t);for(var r=n.length;r>0;r--){var a=n.slice(0,r).join(", ");if(!(a.length>t))return r===n.length?a:Object(i.d)(a,t)}return""}function g(e){return m(e,new Map)}function m(e,t){if(Object(o.i)(e)){var n=t.get(e);if(void 0!==n)return n;var r={};t.set(e,r);for(var a=0,i=Object.keys(e);a=0;a--)t.call(n,e[a],a);else for(a=0;au&&c3&&void 0!==arguments[3]?arguments[3]:1e-6;return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function ue(e,t,n){n=n||function(n){return e[n]1;)n(r=o+a>>1)?o=r:a=r;return{lo:o,hi:a}}var ce=function(e,t,n,r){return ue(e,n,r?function(r){return e[r][t]<=n}:function(r){return e[r][t]=n}))};var fe=["push","pop","shift","splice","unshift"];function de(e,t){var n=e._chartjs;if(n){var r=n.listeners,a=r.indexOf(t);-1!==a&&r.splice(a,1),r.length>0||(fe.forEach((function(t){delete e[t]})),delete e._chartjs)}}function pe(e){var t,n,r=new Set;for(t=0,n=e.length;t=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){return we(e)?e:_e(e,.075,.3)},easeOutElastic:function(e){return we(e)?e:xe(e,.075,.3)},easeInOutElastic:function(e){var t=.1125;return we(e)?e:e<.5?.5*_e(2*e,t,.45):.5+.5*xe(2*e-1,t,.45)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-Oe.easeOutBounce(1-e)},easeOutBounce:function(e){var t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*Oe.easeInBounce(2*e):.5*Oe.easeOutBounce(2*e-1)+.5}};function ke(e){return e+.5|0}var Se=function(e,t,n){return Math.max(Math.min(e,n),t)};function je(e){return Se(ke(2.55*e),0,255)}function Ee(e){return Se(ke(255*e),0,255)}function Ce(e){return Se(ke(e/2.55)/100,0,1)}function Ae(e){return Se(ke(100*e),0,100)}var Pe={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},Te=Object(f.a)("0123456789ABCDEF"),Re=function(e){return Te[15&e]},De=function(e){return Te[(240&e)>>4]+Te[15&e]},Me=function(e){return(240&e)>>4===(15&e)};function Ie(e){var t=function(e){return Me(e.r)&&Me(e.g)&&Me(e.b)&&Me(e.a)}(e)?Re:De;return e?"#"+t(e.r)+t(e.g)+t(e.b)+function(e,t){return e<255?t(e):""}(e.a,t):void 0}var Ne=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Le(e,t,n){var r=t*Math.min(n,1-n),a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(t+e/30)%12;return n-r*Math.max(Math.min(a-3,9-a,1),-1)};return[a(0),a(8),a(4)]}function Fe(e,t,n){var r=function(r){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+e/60)%6;return n-n*t*Math.max(Math.min(a,4-a,1),0)};return[r(5),r(3),r(1)]}function Be(e,t,n){var r,a=Le(e,1,.5);for(t+n>1&&(t*=r=1/(t+n),n*=r),r=0;r<3;r++)a[r]*=1-t-n,a[r]+=t;return a}function ze(e){var t,n,r,a=e.r/255,o=e.g/255,i=e.b/255,s=Math.max(a,o,i),u=Math.min(a,o,i),c=(s+u)/2;return s!==u&&(r=s-u,n=c>.5?r/(2-s-u):r/(s+u),t=function(e,t,n,r,a){return e===a?(t-n)/r+(t>16&255,n>>8&255,255&n]}return o}()).transparent=[0,0,0,0]);var t=Ve[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}var Ke=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;var Xe=function(e){return e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055},Qe=function(e){return e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)};function Je(e,t,n){if(e){var r=ze(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=Ue(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Ze(e,t){return e?Object.assign(t||{},e):e}function et(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Ee(e[3]))):(t=Ze(e,{r:0,g:0,b:0,a:1})).a=Ee(t.a),t}function tt(e){return"r"===e.charAt(0)?function(e){var t,n,r,a=Ke.exec(e),o=255;if(a){if(a[7]!==t){var i=+a[7];o=a[8]?je(i):Se(255*i,0,255)}return t=+a[1],n=+a[3],r=+a[5],{r:t=255&(a[2]?je(t):Se(t,0,255)),g:n=255&(a[4]?je(n):Se(n,0,255)),b:r=255&(a[6]?je(r):Se(r,0,255)),a:o}}}(e):He(e)}var nt=function(){function e(t){if(Object(d.a)(this,e),t instanceof e)return t;var n,r=typeof t;"object"===r?n=et(t):"string"===r&&(n=function(e){var t,n=e.length;return"#"===e[0]&&(4===n||5===n?t={r:255&17*Pe[e[1]],g:255&17*Pe[e[2]],b:255&17*Pe[e[3]],a:5===n?17*Pe[e[4]]:255}:7!==n&&9!==n||(t={r:Pe[e[1]]<<4|Pe[e[2]],g:Pe[e[3]]<<4|Pe[e[4]],b:Pe[e[5]]<<4|Pe[e[6]],a:9===n?Pe[e[7]]<<4|Pe[e[8]]:255})),t}(t)||$e(t)||tt(t)),this._rgb=n,this._valid=!!n}return Object(p.a)(e,[{key:"valid",get:function(){return this._valid}},{key:"rgb",get:function(){var e=Ze(this._rgb);return e&&(e.a=Ce(e.a)),e},set:function(e){this._rgb=et(e)}},{key:"rgbString",value:function(){return this._valid?(e=this._rgb)&&(e.a<255?"rgba(".concat(e.r,", ").concat(e.g,", ").concat(e.b,", ").concat(Ce(e.a),")"):"rgb(".concat(e.r,", ").concat(e.g,", ").concat(e.b,")")):void 0;var e}},{key:"hexString",value:function(){return this._valid?Ie(this._rgb):void 0}},{key:"hslString",value:function(){return this._valid?function(e){if(e){var t=ze(e),n=t[0],r=Ae(t[1]),a=Ae(t[2]);return e.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(Ce(e.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)")}}(this._rgb):void 0}},{key:"mix",value:function(e,t){if(e){var n,r=this.rgb,a=e.rgb,o=t===n?.5:t,i=2*o-1,s=r.a-a.a,u=((i*s===-1?i:(i+s)/(1+i*s))+1)/2;n=1-u,r.r=255&u*r.r+n*a.r+.5,r.g=255&u*r.g+n*a.g+.5,r.b=255&u*r.b+n*a.b+.5,r.a=o*r.a+(1-o)*a.a,this.rgb=r}return this}},{key:"interpolate",value:function(e,t){return e&&(this._rgb=function(e,t,n){var r=Qe(Ce(e.r)),a=Qe(Ce(e.g)),o=Qe(Ce(e.b));return{r:Ee(Xe(r+n*(Qe(Ce(t.r))-r))),g:Ee(Xe(a+n*(Qe(Ce(t.g))-a))),b:Ee(Xe(o+n*(Qe(Ce(t.b))-o))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}},{key:"clone",value:function(){return new e(this.rgb)}},{key:"alpha",value:function(e){return this._rgb.a=Ee(e),this}},{key:"clearer",value:function(e){return this._rgb.a*=1-e,this}},{key:"greyscale",value:function(){var e=this._rgb,t=ke(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}},{key:"opaquer",value:function(e){return this._rgb.a*=1+e,this}},{key:"negate",value:function(){var e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}},{key:"lighten",value:function(e){return Je(this._rgb,2,e),this}},{key:"darken",value:function(e){return Je(this._rgb,2,-e),this}},{key:"saturate",value:function(e){return Je(this._rgb,1,e),this}},{key:"desaturate",value:function(e){return Je(this._rgb,1,-e),this}},{key:"rotate",value:function(e){return function(e,t){var n=ze(e);n[0]=We(n[0]+t),n=Ue(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}]),e}();function rt(e){return new nt(e)}function at(e){if(e&&"object"===typeof e){var t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function ot(e){return at(e)?e:rt(e)}function it(e){return at(e)?e:rt(e).saturate(.5).darken(.1).hexString()}var st=Object.create(null),ut=Object.create(null);function ct(e,t){if(!t)return e;for(var n=t.split("."),r=0,a=n.length;rr&&(r=o),r}function pt(e,t,n,r){var a=(r=r||{}).data=r.data||{},o=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(a=r.data={},o=r.garbageCollect=[],r.font=t),e.save(),e.font=t;var i,s,u,c,l,f=0,d=n.length;for(i=0;in.length){for(i=0;i0&&e.stroke()}}function bt(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y5&&void 0!==arguments[5]?arguments[5]:{},u=m(t)?t:[t],c=s.strokeWidth>0&&""!==s.strokeColor;for(e.save(),e.font=a.string,kt(e,s),o=0;o1&&void 0!==arguments[1]?arguments[1]:[""],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){return e[0]};I(a)||(a=Kt("_fallback",e));var i=(t={},Object(c.a)(t,Symbol.toStringTag,"Object"),Object(c.a)(t,"_cacheable",!0),Object(c.a)(t,"_scopes",e),Object(c.a)(t,"_rootScopes",r),Object(c.a)(t,"_fallback",a),Object(c.a)(t,"_getTarget",o),Object(c.a)(t,"override",(function(t){return Lt([t].concat(Object(f.a)(e)),n,r,a)})),t);return new Proxy(i,{deleteProperty:function(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get:function(t,r){return Ut(t,r,(function(){return $t(r,n,e,t)}))},getOwnPropertyDescriptor:function(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf:function(){return Reflect.getPrototypeOf(e[0])},has:function(e,t){return Xt(e).includes(t)},ownKeys:function(e){return Xt(e)},set:function(e,t,n){var r=e._storage||(e._storage=o());return e[t]=r[t]=n,delete e._keys,!0}})}function Ft(e,t,n,r){var a={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Bt(e,r),setContext:function(t){return Ft(e,t,n,r)},override:function(a){return Ft(e.override(a),t,n,r)}};return new Proxy(a,{deleteProperty:function(t,n){return delete t[n],delete e[n],!0},get:function(e,t,n){return Ut(e,t,(function(){return function(e,t,n){var r=e._proxy,a=e._context,o=e._subProxy,i=e._descriptors,s=r[t];N(s)&&i.isScriptable(t)&&(s=function(e,t,n,r){var a=n._proxy,o=n._context,i=n._subProxy,s=n._stack;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e),t=t(o,i||r),s.delete(e),qt(e,t)&&(t=Gt(a._scopes,a,e,t));return t}(t,s,e,n));m(s)&&s.length&&(s=function(e,t,n,r){var a=n._proxy,o=n._context,i=n._subProxy,s=n._descriptors;if(I(o.index)&&r(e))t=t[o.index%t.length];else if(b(t[0])){var u=t,c=a._scopes.filter((function(e){return e!==u}));t=[];var f,d=Object(l.a)(u);try{for(d.s();!(f=d.n()).done;){var p=Gt(c,a,e,f.value);t.push(Ft(p,o,i&&i[e],s))}}catch(h){d.e(h)}finally{d.f()}}return t}(t,s,e,i.isIndexable));qt(t,s)&&(s=Ft(s,a,o&&o[t],i));return s}(e,t,n)}))},getOwnPropertyDescriptor:function(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf:function(){return Reflect.getPrototypeOf(e)},has:function(t,n){return Reflect.has(e,n)},ownKeys:function(){return Reflect.ownKeys(e)},set:function(t,n,r){return e[n]=r,delete t[n],!0}})}function Bt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0},n=e._scriptable,r=void 0===n?t.scriptable:n,a=e._indexable,o=void 0===a?t.indexable:a,i=e._allKeys,s=void 0===i?t.allKeys:i;return{allKeys:s,scriptable:r,indexable:o,isScriptable:N(r)?r:function(){return r},isIndexable:N(o)?o:function(){return o}}}var zt=function(e,t){return e?e+M(t):t},qt=function(e,t){return b(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object)};function Ut(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];var r=n();return e[t]=r,r}function Wt(e,t,n){return N(e)?e(t,n):e}var Ht=function(e,t){return!0===e?t:"string"===typeof e?D(t,e):void 0};function Vt(e,t,n,r,a){var o,i=Object(l.a)(t);try{for(i.s();!(o=i.n()).done;){var s=o.value,u=Ht(n,s);if(u){e.add(u);var c=Wt(u._fallback,n,a);if(I(c)&&c!==n&&c!==r)return c}else if(!1===u&&I(r)&&n!==r)return null}}catch(f){i.e(f)}finally{i.f()}return!1}function Gt(e,t,n,r){var a=t._rootScopes,o=Wt(t._fallback,n,r),i=[].concat(Object(f.a)(e),Object(f.a)(a)),s=new Set;s.add(r);var u=Yt(s,i,n,o||n,r);return null!==u&&((!I(o)||o===n||null!==(u=Yt(s,i,o,u,r)))&&Lt(Array.from(s),[""],a,o,(function(){return function(e,t,n){var r=e._getTarget();t in r||(r[t]={});var a=r[t];if(m(a)&&b(n))return n;return a}(t,n,r)})))}function Yt(e,t,n,r,a){for(;n;)n=Vt(e,t,n,r,a);return n}function $t(e,t,n,r){var a,o,i=Object(l.a)(t);try{for(i.s();!(o=i.n()).done;){var s=o.value;if(a=Kt(zt(s,e),n),I(a))return qt(e,a)?Gt(n,r,e,a):a}}catch(u){i.e(u)}finally{i.f()}}function Kt(e,t){var n,r=Object(l.a)(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a){var o=a[e];if(I(o))return o}}}catch(i){r.e(i)}finally{r.f()}}function Xt(e){var t=e._keys;return t||(t=e._keys=function(e){var t,n=new Set,r=Object(l.a)(e);try{for(r.s();!(t=r.n()).done;){var a,o=t.value,i=Object(l.a)(Object.keys(o).filter((function(e){return!e.startsWith("_")})));try{for(i.s();!(a=i.n()).done;){var s=a.value;n.add(s)}}catch(u){i.e(u)}finally{i.f()}}}catch(u){r.e(u)}finally{r.f()}return Array.from(n)}(e._scopes)),t}function Qt(e,t,n,r){var a,o,i,s,u=e.iScale,c=this._parsing.key,l=void 0===c?"r":c,f=new Array(r);for(a=0,o=r;a2&&void 0!==arguments[2]?arguments[2]:"x",i=en(o),s=e.length,u=Zt(e,0),c=0;c1&&void 0!==arguments[1]?arguments[1]:"x",o=en(a),i=e.length,s=Array(i).fill(0),u=Array(i),c=Zt(e,0);for(t=0;t0||t>0)&&(!n||!n.shadowRoot)}(i,s,e.target))n=i,r=s;else{var c=t.getBoundingClientRect();n=o.clientX-c.left,r=o.clientY-c.top,u=!0}return{x:n,y:r,box:u}}(e,n),c=u.x,l=u.y,f=u.box,d=i.left+(f&&s.left),p=i.top+(f&&s.top),h=t.width,v=t.height;return o&&(h-=i.width+s.width,v-=i.height+s.height),{x:Math.round((c-d)/h*n.width/r),y:Math.round((l-p)/v*n.height/r)}}var hn=function(e){return Math.round(10*e)/10};function vn(e,t,n,r){var a=ln(e),o=dn(a,"margin"),i=cn(a.maxWidth,e,"clientWidth")||q,s=cn(a.maxHeight,e,"clientHeight")||q,u=function(e,t,n){var r,a;if(void 0===t||void 0===n){var o=un(e);if(o){var i=o.getBoundingClientRect(),s=ln(o),u=dn(s,"border","width"),c=dn(s,"padding");t=i.width-c.width-u.width,n=i.height-c.height-u.height,r=cn(s.maxWidth,o,"clientWidth"),a=cn(s.maxHeight,o,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||q,maxHeight:a||q}}(e,t,n),c=u.width,l=u.height;if("content-box"===a.boxSizing){var f=dn(a,"border","width"),d=dn(a,"padding");c-=d.width+f.width,l-=d.height+f.height}return c=Math.max(0,c-o.width),l=Math.max(0,r?Math.floor(c/r):l-o.height),c=hn(Math.min(c,i,u.maxWidth)),l=hn(Math.min(l,s,u.maxHeight)),c&&!l&&(l=hn(c/2)),{width:c,height:l}}function gn(e,t,n){var r=t||1,a=Math.floor(e.height*r),o=Math.floor(e.width*r);e.height=a/r,e.width=o/r;var i=e.canvas;return i.style&&(n||!i.style.height&&!i.style.width)&&(i.style.height="".concat(e.height,"px"),i.style.width="".concat(e.width,"px")),(e.currentDevicePixelRatio!==r||i.height!==a||i.width!==o)&&(e.currentDevicePixelRatio=r,i.height=a,i.width=o,e.ctx.setTransform(r,0,0,r,0,0),!0)}var mn=function(){var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(n){}return e}();function bn(e,t){var n=function(e,t){return ln(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function yn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function wn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:"middle"===r?n<.5?e.y:t.y:"after"===r?n<1?e.y:t.y:n>0?t.y:e.y}}function _n(e,t,n,r){var a={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},i=yn(e,a,n),s=yn(a,o,n),u=yn(o,t,n),c=yn(i,s,n),l=yn(s,u,n);return yn(c,l,n)}var xn=new Map;function On(e,t,n){return function(e,t){t=t||{};var n=e+JSON.stringify(t),r=xn.get(n);return r||(r=new Intl.NumberFormat(e,t),xn.set(n,r)),r}(t,n).format(e)}function kn(e,t,n){return e?function(e,t){return{x:function(n){return e+e+t-n},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}}function Sn(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function jn(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function En(e){return"angle"===e?{between:oe,compare:re,normalize:ae}:{between:se,compare:function(e,t){return e-t},normalize:function(e){return e}}}function Cn(e){var t=e.start,n=e.end,r=e.count;return{start:t%r,end:n%r,loop:e.loop&&(n-t+1)%r===0,style:e.style}}function An(e,t,n){if(!n)return[e];for(var r,a,o,i=n.property,s=n.start,u=n.end,c=t.length,l=En(i),f=l.compare,d=l.between,p=l.normalize,h=function(e,t,n){var r,a,o=n.property,i=n.start,s=n.end,u=En(o),c=u.between,l=u.normalize,f=t.length,d=e.start,p=e.end,h=e.loop;if(h){for(d+=f,p+=f,r=0,a=f;r0&&void 0!==arguments[0]?arguments[0]:Date.now(),n=0;this._charts.forEach((function(r,a){if(r.running&&r.items.length){for(var o,i=r.items,s=i.length-1,u=!1;s>=0;--s)(o=i[s])._active?(o._total>r.duration&&(r.duration=o._total),o.tick(t),u=!0):(i[s]=i[i.length-1],i.pop());u&&(a.draw(),e._notify(a,r,t,"progress")),i.length||(r.running=!1,e._notify(a,r,t,"complete"),r.initial=!1),n+=i.length}})),this._lastDate=t,0===n&&(this._running=!1)}},{key:"_getAnims",value:function(e){var t=this._charts,n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}},{key:"listen",value:function(e,t,n){this._getAnims(e).listeners[t].push(n)}},{key:"add",value:function(e,t){var n;t&&t.length&&(n=this._getAnims(e).items).push.apply(n,Object(f.a)(t))}},{key:"has",value:function(e){return this._getAnims(e).items.length>0}},{key:"start",value:function(e){var t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((function(e,t){return Math.max(e,t._duration)}),0),this._refresh())}},{key:"running",value:function(e){if(!this._running)return!1;var t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}},{key:"stop",value:function(e){var t=this._charts.get(e);if(t&&t.items.length){for(var n=t.items,r=n.length-1;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}}},{key:"remove",value:function(e){return this._charts.delete(e)}}]),e}(),In=new Mn,Nn="transparent",Ln={boolean:function(e,t,n){return n>.5?t:e},color:function(e,t,n){var r=ot(e||Nn),a=r.valid&&ot(t||Nn);return a&&a.valid?a.mix(r,n).hexString():t},number:function(e,t,n){return e+(t-e)*n}},Fn=function(){function e(t,n,r,a){Object(d.a)(this,e);var o=n[r];a=It([t.to,a,o,t.from]);var i=It([t.from,o,a]);this._active=!0,this._fn=t.fn||Ln[t.type||typeof i],this._easing=Oe[t.easing]||Oe.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=i,this._to=a,this._promises=void 0}return Object(p.a)(e,[{key:"active",value:function(){return this._active}},{key:"update",value:function(e,t,n){if(this._active){this._notify(!1);var r=this._target[this._prop],a=n-this._start,o=this._duration-a;this._start=n,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=a,this._loop=!!e.loop,this._to=It([e.to,t,r,e.from]),this._from=It([e.from,r,t])}}},{key:"cancel",value:function(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}},{key:"tick",value:function(e){var t,n=e-this._start,r=this._duration,a=this._prop,o=this._from,i=this._loop,s=this._to;if(this._active=o!==s&&(i||n1?2-t:t,t=this._easing(Math.min(1,Math.max(0,t))),this._target[a]=this._fn(o,s,t))}},{key:"wait",value:function(){var e=this._promises||(this._promises=[]);return new Promise((function(t,n){e.push({res:t,rej:n})}))}},{key:"_notify",value:function(e){for(var t=e?"res":"rej",n=this._promises||[],r=0;r=0;--n){var u=i[n];if("$"!==u.charAt(0))if("options"!==u){var c=t[u],l=o[u],d=r.get(u);if(l){if(d&&l.active()){l.update(d,c,s);continue}l.cancel()}d&&d.duration?(o[u]=l=new Fn(d,e,u,c),a.push(l)):e[u]=c}else a.push.apply(a,Object(f.a)(this._animateOptions(e,t)))}return a}},{key:"update",value:function(e,t){if(0!==this._properties.size){var n=this._createAnimations(e,t);return n.length?(In.add(this._chart,n),!0):void 0}Object.assign(e,t)}}]),e}();function qn(e,t){var n=e&&e.options||{},r=n.reverse,a=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:r?o:a,end:r?a:o}}function Un(e,t){var n,r,a=[],o=e._getSortedDatasetMetas(t);for(n=0,r=o.length;n3&&void 0!==arguments[3]?arguments[3]:{},u=e.keys,c="single"===s.mode;if(null!==t){for(r=0,a=u.length;r0||!n&&s<0)return i.index}}catch(u){o.e(u)}finally{o.f()}return null}function Yn(e,t){for(var n,r=e.chart,a=e._cachedMeta,o=r._stacks||(r._stacks={}),i=a.iScale,s=a.vScale,u=a.index,c=i.axis,l=s.axis,f=function(e,t,n){return"".concat(e.id,".").concat(t.id,".").concat(n.stack||n.type)}(i,s,a),d=t.length,p=0;p0&&o._parsed[e-1];if(!1===this._parsing)o._parsed=i,o._sorted=!0,a=i;else{a=m(i[e])?this.parseArrayData(o,i,e,t):b(i[e])?this.parseObjectData(o,i,e,t):this.parsePrimitiveData(o,i,e,t);for(n=0;nt||p=0;--n)if(!h()){this.updateRangeFromParsed(l,e,r,c);break}return l}},{key:"getAllParsedValues",value:function(e){var t,n,r,a=this._cachedMeta._parsed,o=[];for(t=0,n=a.length;t=0&&e1&&void 0!==arguments[1]?arguments[1]:"default",r=arguments.length>2?arguments[2]:void 0,a="active"===n,o=this._cachedDataOpts,i=e+"-"+n,s=o[i],u=this.enableOptionSharing&&I(r);if(s)return Qn(s,u);var c=this.chart.config,l=c.datasetElementScopeKeys(this._type,e),f=a?["".concat(e,"Hover"),"hover",e,""]:[e,""],d=c.getOptionScopes(this.getDataset(),l),p=Object.keys(ft.elements[e]),h=function(){return t.getContext(r,a)},v=c.resolveNamedOptions(d,p,h,f);return v.$shared&&(v.$shared=u,o[i]=Object.freeze(Qn(v,u))),v}},{key:"_resolveAnimations",value:function(e,t,n){var r,a=this.chart,o=this._cachedDataOpts,i="animation-".concat(t),s=o[i];if(s)return s;if(!1!==a.options.animation){var u=this.chart.config,c=u.datasetAnimationScopeKeys(this._type,t),l=u.getOptionScopes(this.getDataset(),c);r=u.createResolver(l,this.getContext(e,n,t))}var f=new zn(a,r&&r.animations);return r&&r._cacheable&&(o[i]=Object.freeze(f)),f}},{key:"getSharedOptions",value:function(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}},{key:"includeOptions",value:function(e,t){return!t||Xn(e)||this.chart._animationsDisabled}},{key:"_getSharedOptions",value:function(e,t){var n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,a=this.getSharedOptions(n),o=this.includeOptions(t,a)||a!==r;return this.updateSharedOptions(a,t,n),{sharedOptions:a,includeOptions:o}}},{key:"updateElement",value:function(e,t,n,r){Xn(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}},{key:"updateSharedOptions",value:function(e,t,n){e&&!Xn(t)&&this._resolveAnimations(void 0,t).update(e,n)}},{key:"_setStyle",value:function(e,t,n,r){e.active=r;var a=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(a)||a})}},{key:"removeHoverStyle",value:function(e,t,n){this._setStyle(e,n,"active",!1)}},{key:"setHoverStyle",value:function(e,t,n){this._setStyle(e,n,"active",!0)}},{key:"_removeDatasetHoverStyle",value:function(){var e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}},{key:"_setDatasetHoverStyle",value:function(){var e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}},{key:"_resyncElements",value:function(e){var t,n=this._data,r=this._cachedMeta.data,a=Object(l.a)(this._syncList);try{for(a.s();!(t=a.n()).done;){var o=Object(u.a)(t.value,3),i=o[0],s=o[1],c=o[2];this[i](s,c)}}catch(h){a.e(h)}finally{a.f()}this._syncList=[];var f=r.length,d=n.length,p=Math.min(d,f);p&&this.parse(0,p),d>f?this._insertElements(f,d-f,e):d2&&void 0!==arguments[2])||arguments[2],a=this._cachedMeta,o=a.data,i=e+t,s=function(e){for(e.length+=t,n=e.length-1;n>=i;n--)e[n]=e[n-t]};for(s(o),n=e;nMath.abs(s)&&(u=s,c=i),t[n.axis]=c,t._custom={barStart:u,barEnd:c,start:a,end:o,min:i,max:s}}(e,t,n,r):t[n.axis]=n.parse(e,r),t}function tr(e,t,n,r){var a,o,i,s,u=e.iScale,c=e.vScale,l=u.getLabels(),f=u===c,d=[];for(a=n,o=n+r;ae.x,n="left",r="right"):(t=e.base=n?1:-1)}(n,a,c)*u,p===c&&(b-=n/2);var y=a.getPixelForDecimal(0),w=a.getPixelForDecimal(1),_=Math.min(y,w),x=Math.max(y,w);t=(b=Math.max(Math.min(b,x),_))+n}if(b===a.getPixelForValue(c)){var O=Y(n)*a.getLineWidthForValue(c)/2;b+=O,n-=O}return{size:n,base:b,head:t,center:t+n/2}}},{key:"_calculateBarIndexPixels",value:function(e,t){var n,r,a=t.scale,o=this.options,i=o.skipNull,s=_(o.maxBarThickness,1/0);if(t.grouped){var u=i?this._getStackCount(e):t.stackCount,c="flex"===o.barThickness?function(e,t,n,r){var a=t.pixels,o=a[e],i=e>0?a[e-1]:null,s=e=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}},{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=t.xScale,r=t.yScale,a=this.getParsed(e),o=n.getLabelForValue(a.x),i=r.getLabelForValue(a.y),s=a._custom;return{label:t.label,value:"("+o+", "+i+(s?", "+s:"")+")"}}},{key:"update",value:function(e){var t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}},{key:"updateElements",value:function(e,t,n,r){for(var a="reset"===r,o=this._cachedMeta,i=o.iScale,s=o.vScale,u=this._getSharedOptions(t,r),c=u.sharedOptions,l=u.includeOptions,f=i.axis,d=s.axis,p=t;p0&&!isNaN(e)?B*(Math.abs(e)/t):0}},{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=this.chart,r=n.data.labels||[],a=On(t._parsed[e],n.options.locale);return{label:r[e]||"",value:a}}},{key:"getMaxBorderWidth",value:function(e){var t,n,r,a,o,i=0,s=this.chart;if(!e)for(t=0,n=s.data.datasets.length;t0&&this.getParsed(t-1),x=t;x0&&Math.abs(k[p]-_[p])>y,b&&(S.parsed=k,S.raw=c.data[x]),d&&(S.options=f||this.resolveDataElementOptions(x,O.active?"active":r)),w||this.updateElement(O,x,S,r),_=k}}},{key:"getMaxOverflow",value:function(){var e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;var a=r[0].size(this.resolveDataElementOptions(0)),o=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,a,o)/2}},{key:"draw",value:function(){var e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),Object(a.a)(Object(o.a)(n.prototype),"draw",this).call(this)}}]),n}(Jn);lr.id="line",lr.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1},lr.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};var fr=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e,r){var a;return Object(d.a)(this,n),(a=t.call(this,e,r)).innerRadius=void 0,a.outerRadius=void 0,a}return Object(p.a)(n,[{key:"getLabelAndValue",value:function(e){var t=this._cachedMeta,n=this.chart,r=n.data.labels||[],a=On(t._parsed[e].r,n.options.locale);return{label:r[e]||"",value:a}}},{key:"parseObjectData",value:function(e,t,n,r){return Qt.bind(this)(e,t,n,r)}},{key:"update",value:function(e){var t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}},{key:"getMinMax",value:function(){var e=this,t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((function(t,r){var a=e.getParsed(r).r;!isNaN(a)&&e.chart.getDataVisibility(r)&&(an.max&&(n.max=a))})),n}},{key:"_updateRadius",value:function(){var e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top),a=Math.max(r/2,0),o=(a-Math.max(n.cutoutPercentage?a/100*n.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=a-o*this.index,this.innerRadius=this.outerRadius-o}},{key:"updateElements",value:function(e,t,n,r){var a,o="reset"===r,i=this.chart,s=i.options.animation,u=this._cachedMeta.rScale,c=u.xCenter,l=u.yCenter,f=u.getIndexAngle(0)-.5*F,d=f,p=360/this.countVisibleElements();for(a=0;a1){var i=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(i<1e-4||i>1e15)&&(r="scientific"),o=function(e,t){var n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e));return n}(e,n)}var s=G(Math.abs(o)),u=Math.max(Math.min(-1*Math.floor(s),20),0),c={notation:r,minimumFractionDigits:u,maximumFractionDigits:u};return Object.assign(c,this.options.ticks.format),On(e,a,c)},logarithmic:function(e,t,n){if(0===e)return"0";var r=e/Math.pow(10,Math.floor(G(e)));return 1===r||2===r||5===r?vr.numeric.call(this,e,t,n):""}};var gr={formatters:vr};function mr(e,t){var n=e.options.ticks,r=n.maxTicksLimit||function(e){var t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),a=e._maxLength/n;return Math.floor(Math.min(r,a))}(e),a=n.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;tr)return function(e,t,n,r){var a,o=0,i=n[0];for(r=Math.ceil(r),a=0;aa)return u}return Math.max(a,1)}(a,t,r);if(o>0){var l,f,d=o>1?Math.round((s-i)/(o-1)):null;for(br(t,u,c,g(d)?0:i-d,i),l=0,f=o-1;ls+u)))return c}function xr(e){return e.drawTicks?e.tickLength:0}function Or(e,t){if(!e.display)return 0;var n=Mt(e.font,t),r=Dt(e.padding);return(m(e.text)?e.text.length:1)*n.lineHeight+r.height}function kr(e,t,n){var r=ge(e);return(n&&"right"!==t||!n&&"right"===t)&&(r=function(e){return"left"===e?"right":"right"===e?"left":e}(r)),r}var Sr=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(d.a)(this,n),(r=t.call(this)).id=e.id,r.type=e.type,r.options=void 0,r.ctx=e.ctx,r.chart=e.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(p.a)(n,[{key:"init",value:function(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}},{key:"parse",value:function(e,t){return e}},{key:"getUserBounds",value:function(){var e=this._userMin,t=this._userMax,n=this._suggestedMin,r=this._suggestedMax;return e=w(e,Number.POSITIVE_INFINITY),t=w(t,Number.NEGATIVE_INFINITY),n=w(n,Number.POSITIVE_INFINITY),r=w(r,Number.NEGATIVE_INFINITY),{min:w(e,n),max:w(t,r),minDefined:y(e),maxDefined:y(t)}}},{key:"getMinMax",value:function(e){var t,n=this.getUserBounds(),r=n.min,a=n.max,o=n.minDefined,i=n.maxDefined;if(o&&i)return{min:r,max:a};for(var s=this.getMatchingVisibleMetas(),u=0,c=s.length;ua?a:r,w(a=o&&r>a?r:a,r)),max:w(a,w(r,a))}}},{key:"getPadding",value:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}},{key:"getTicks",value:function(){return this.ticks}},{key:"getLabels",value:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}},{key:"beforeLayout",value:function(){this._cache={},this._dataLimitsCached=!1}},{key:"beforeUpdate",value:function(){O(this.options.beforeUpdate,[this])}},{key:"update",value:function(e,t,n){var r=this.options,a=r.beginAtZero,o=r.grace,i=r.ticks,s=i.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,n){var r=e.min,a=e.max,o=x(t,(a-r)/2),i=function(e,t){return n&&0===e?0:e+t};return{min:i(r,-Math.abs(o)),max:i(a,o)}}(this,o,a),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();var u=s=s||o<=1||!this.isHorizontal())this.labelRotation=i;else{var c=this._getLabelSizes(),l=c.widest.width,f=c.highest.height,d=ie(this.chart.width-l,0,this.maxWidth);l+6>(e=r.offset?this.maxWidth/o:d/(o-1))&&(e=d/(o-(r.offset?.5:1)),t=this.maxHeight-xr(r.grid)-a.padding-Or(r.title,this.chart.options.font),n=Math.sqrt(l*l+f*f),u=Z(Math.min(Math.asin(ie((c.highest.height+6)/e,-1,1)),Math.asin(ie(t/n,-1,1))-Math.asin(ie(f/n,-1,1)))),u=Math.max(i,Math.min(s,u))),this.labelRotation=u}}},{key:"afterCalculateLabelRotation",value:function(){O(this.options.afterCalculateLabelRotation,[this])}},{key:"afterAutoSkip",value:function(){}},{key:"beforeFit",value:function(){O(this.options.beforeFit,[this])}},{key:"fit",value:function(){var e={width:0,height:0},t=this.chart,n=this.options,r=n.ticks,a=n.title,o=n.grid,i=this._isVisible(),s=this.isHorizontal();if(i){var u=Or(a,t.options.font);if(s?(e.width=this.maxWidth,e.height=xr(o)+u):(e.height=this.maxHeight,e.width=xr(o)+u),r.display&&this.ticks.length){var c=this._getLabelSizes(),l=c.first,f=c.last,d=c.widest,p=c.highest,h=2*r.padding,v=J(this.labelRotation),g=Math.cos(v),m=Math.sin(v);if(s){var b=r.mirror?0:m*d.width+g*p.height;e.height=Math.min(this.maxHeight,e.height+b+h)}else{var y=r.mirror?0:g*d.width+m*p.height;e.width=Math.min(this.maxWidth,e.width+y+h)}this._calculatePadding(l,f,m,g)}}this._handleMargins(),s?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}},{key:"_calculatePadding",value:function(e,t,n,r){var a=this.options,o=a.ticks,i=o.align,s=o.padding,u=a.position,c=0!==this.labelRotation,l="top"!==u&&"x"===this.axis;if(this.isHorizontal()){var f=this.getPixelForTick(0)-this.left,d=this.right-this.getPixelForTick(this.ticks.length-1),p=0,h=0;c?l?(p=r*e.width,h=n*t.height):(p=n*e.height,h=r*t.width):"start"===i?h=t.width:"end"===i?p=e.width:"inner"!==i&&(p=e.width/2,h=t.width/2),this.paddingLeft=Math.max((p-f+s)*this.width/(this.width-f),0),this.paddingRight=Math.max((h-d+s)*this.width/(this.width-d),0)}else{var v=t.height/2,g=e.height/2;"start"===i?(v=0,g=e.height):"end"===i&&(v=t.height,g=0),this.paddingTop=v+s,this.paddingBottom=g+s}}},{key:"_handleMargins",value:function(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}},{key:"afterFit",value:function(){O(this.options.afterFit,[this])}},{key:"isHorizontal",value:function(){var e=this.options,t=e.axis,n=e.position;return"top"===n||"bottom"===n||"x"===t}},{key:"isFullSize",value:function(){return this.options.fullSize}},{key:"_convertTicksToLabels",value:function(e){var t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;tt){for(n=0;nt.length-1?null:this.getPixelForValue(t[e].value)}},{key:"getPixelForDecimal",value:function(e){this._reversePixels&&(e=1-e);var t=this._startPixel+e*this._length;return ie(this._alignToPixels?ht(this.chart,t,0):t,-32768,32767)}},{key:"getDecimalForPixel",value:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}},{key:"getBasePixel",value:function(){return this.getPixelForValue(this.getBaseValue())}},{key:"getBaseValue",value:function(){var e=this.min,t=this.max;return e<0&&t<0?t:e>0&&t>0?e:0}},{key:"getContext",value:function(e){var t=this.ticks||[];if(e>=0&&ei*r?i/n:s/r:s*r0}},{key:"_computeGridLineItems",value:function(e){var t,n,r,a,o,i,s,u,c,l,f,d,p=this.axis,h=this.chart,v=this.options,g=v.grid,m=v.position,y=g.offset,w=this.isHorizontal(),x=this.ticks.length+(y?1:0),O=xr(g),k=[],S=g.setContext(this.getContext()),j=S.drawBorder?S.borderWidth:0,E=j/2,C=function(e){return ht(h,e,j)};if("top"===m)t=C(this.bottom),i=this.bottom-O,u=t-E,l=C(e.top)+E,d=e.bottom;else if("bottom"===m)t=C(this.top),l=e.top,d=C(e.bottom)-E,i=t+E,u=this.top+O;else if("left"===m)t=C(this.right),o=this.right-O,s=t-E,c=C(e.left)+E,f=e.right;else if("right"===m)t=C(this.left),c=e.left,f=C(e.right)-E,o=t+E,s=this.left+O;else if("x"===p){if("center"===m)t=C((e.top+e.bottom)/2+.5);else if(b(m)){var A=Object.keys(m)[0],P=m[A];t=C(this.chart.scales[A].getPixelForValue(P))}l=e.top,d=e.bottom,u=(i=t+E)+O}else if("y"===p){if("center"===m)t=C((e.left+e.right)/2);else if(b(m)){var T=Object.keys(m)[0],R=m[T];t=C(this.chart.scales[T].getPixelForValue(R))}s=(o=t-E)-O,c=e.left,f=e.right}var D=_(v.ticks.maxTicksLimit,x),M=Math.max(1,Math.ceil(x/D));for(n=0;n=0?t.setContext(this.getContext(n)).lineWidth:0}},{key:"drawGrid",value:function(e){var t,n,r=this.options.grid,a=this.ctx,o=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e)),i=function(e,t,n){n.width&&n.color&&(a.save(),a.lineWidth=n.width,a.strokeStyle=n.color,a.setLineDash(n.borderDash||[]),a.lineDashOffset=n.borderDashOffset,a.beginPath(),a.moveTo(e.x,e.y),a.lineTo(t.x,t.y),a.stroke(),a.restore())};if(r.display)for(t=0,n=o.length;t0&&this.getParsed(t-1),x=t;x0&&Math.abs(k[p]-_[p])>y,b&&(S.parsed=k,S.raw=c.data[x]),d&&(S.options=f||this.resolveDataElementOptions(x,O.active?"active":r)),w||this.updateElement(O,x,S,r),_=k}this.updateSharedOptions(f,r,l)}},{key:"getMaxOverflow",value:function(){var e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){for(var n=0,r=t.length-1;r>=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}var a=e.dataset,o=a.options&&a.options.borderWidth||0;if(!t.length)return o;var i=t[0].size(this.resolveDataElementOptions(0)),s=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(o,i,s)/2}}]),n}(Jn);Ar.id="scatter",Ar.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1},Ar.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title:function(){return""},label:function(e){return"("+e.label+", "+e.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function Pr(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}var Tr=function(){function e(t){Object(d.a)(this,e),this.options=t||{}}return Object(p.a)(e,[{key:"init",value:function(e){}},{key:"formats",value:function(){return Pr()}},{key:"parse",value:function(e,t){return Pr()}},{key:"format",value:function(e,t){return Pr()}},{key:"add",value:function(e,t,n){return Pr()}},{key:"diff",value:function(e,t,n){return Pr()}},{key:"startOf",value:function(e,t,n){return Pr()}},{key:"endOf",value:function(e,t){return Pr()}}]),e}();Tr.override=function(e){Object.assign(Tr.prototype,e)};var Rr={_date:Tr};function Dr(e,t,n,r){var a=e.controller,o=e.data,i=e._sorted,s=a._cachedMeta.iScale;if(s&&t===s.axis&&"r"!==t&&i&&o.length){var u=s._reversePixels?le:ce;if(!r)return u(o,t,n);if(a._sharedOptions){var c=o[0],l="function"===typeof c.getRange&&c.getRange(t);if(l){var f=u(o,t,n-l),d=u(o,t,n+l);return{lo:f.lo,hi:d.hi}}}}return{lo:0,hi:o.length-1}}function Mr(e,t,n,r,a){for(var o=e.getSortedVisibleDatasetMetas(),i=n[t],s=0,u=o.length;s0){var u=s[0].datasetIndex,c=e.getDatasetMeta(u).data;s=[];for(var l=0;l3&&void 0!==arguments[3]?arguments[3]:[""],a={$shared:!0},o=Pa(this._resolverCache,e,r),i=o.resolver,s=o.subPrefixes,u=i;if(Ra(i,t)){a.$shared=!1,n=N(n)?n():n;var c=this.createResolver(e,n,s);u=Ft(i,n,c)}var f,d=Object(l.a)(t);try{for(d.s();!(f=d.n()).done;){var p=f.value;a[p]=u[p]}}catch(h){d.e(h)}finally{d.f()}return a}},{key:"createResolver",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0,a=Pa(this._resolverCache,e,n),o=a.resolver;return b(t)?Ft(o,t,void 0,r):o}}]),e}();function Pa(e,t,n){var r=e.get(t);r||(r=new Map,e.set(t,r));var a=n.join(),o=r.get(a);o||(o={resolver:Lt(t,n),subPrefixes:n.filter((function(e){return!e.toLowerCase().includes("hover")}))},r.set(a,o));return o}var Ta=function(e){return b(e)&&Object.getOwnPropertyNames(e).reduce((function(t,n){return t||N(e[n])}),!1)};function Ra(e,t){var n,r=Bt(e),a=r.isScriptable,o=r.isIndexable,i=Object(l.a)(t);try{for(i.s();!(n=i.n()).done;){var s=n.value,u=a(s),c=o(s),f=(c||u)&&e[s];if(u&&(N(f)||Ta(f))||c&&m(f))return!0}}catch(d){i.e(d)}finally{i.f()}return!1}var Da=["top","bottom","left","right","chartArea"];function Ma(e,t){return"top"===e||"bottom"===e||-1===Da.indexOf(e)&&"x"===t}function Ia(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function Na(e){var t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),O(n&&n.onComplete,[e],t)}function La(e){var t=e.chart,n=t.options.animation;O(n&&n.onProgress,[e],t)}function Fa(e){return sn()&&"string"===typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}var Ba={},za=function(e){var t=Fa(e);return Object.values(Ba).filter((function(e){return e.canvas===t})).pop()};function qa(e,t,n){for(var r=0,a=Object.keys(e);r=t){var s=e[o];delete e[o],(n>0||i>t)&&(e[i+n]=s)}}}var Ua=function(){function e(t,n){var r=this;Object(d.a)(this,e);var a=this.config=new Aa(n),o=Fa(t),i=za(o);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");var s=a.createResolver(a.chartOptionScopes(),this.getContext());this.platform=new(a.platform||function(e){return!sn()||"undefined"!==typeof OffscreenCanvas&&e instanceof OffscreenCanvas?ra:ma}(o)),this.platform.updateConfig(a);var u=this.platform.acquireContext(o,s.aspectRatio),c=u&&u.canvas,l=c&&c.height,f=c&&c.width;this.id=v(),this.ctx=u,this.canvas=c,this.width=f,this.height=l,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._plugins=new ba,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){var n;return function(){for(var r=arguments.length,a=new Array(r),o=0;ot){for(var r=t;rn.length&&delete this._stacks,t.forEach((function(t,r){0===n.filter((function(e){return e===t._dataset})).length&&e._destroyDatasetMeta(r)}))}},{key:"buildOrUpdateControllers",value:function(){var e,t,n=[],r=this.data.datasets;for(this._removeUnreferencedMetasets(),e=0,t=r.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}}},{key:"_drawDataset",value:function(e){var t=this.ctx,n=e._clip,r=!n.disabled,a=this.chartArea,o={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(r&&yt(t,{left:!1===n.left?0:a.left-n.left,right:!1===n.right?this.width:a.right+n.right,top:!1===n.top?0:a.top-n.top,bottom:!1===n.bottom?this.height:a.bottom+n.bottom}),e.controller.draw(),r&&wt(t),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}},{key:"isPointInArea",value:function(e){return bt(e,this.chartArea,this._minPadding)}},{key:"getElementsAtEventForMode",value:function(e,t,n,r){var a=Br.modes[t];return"function"===typeof a?a(this,e,n,r):[]}},{key:"getDatasetMeta",value:function(e){var t=this.data.datasets[e],n=this._metasets,r=n.filter((function(e){return e&&e._dataset===t})).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(r)),r}},{key:"getContext",value:function(){return this.$context||(this.$context=Nt(null,{chart:this,type:"chart"}))}},{key:"getVisibleDatasetCount",value:function(){return this.getSortedVisibleDatasetMetas().length}},{key:"isDatasetVisible",value:function(e){var t=this.data.datasets[e];if(!t)return!1;var n=this.getDatasetMeta(e);return"boolean"===typeof n.hidden?!n.hidden:!t.hidden}},{key:"setDatasetVisibility",value:function(e,t){this.getDatasetMeta(e).hidden=!t}},{key:"toggleDataVisibility",value:function(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}},{key:"getDataVisibility",value:function(e){return!this._hiddenIndices[e]}},{key:"_updateVisibility",value:function(e,t,n){var r=n?"show":"hide",a=this.getDatasetMeta(e),o=a.controller._resolveAnimations(void 0,r);I(t)?(a.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),o.update(a,{visible:n}),this.update((function(t){return t.datasetIndex===e?r:void 0})))}},{key:"hide",value:function(e,t){this._updateVisibility(e,t,!1)}},{key:"show",value:function(e,t){this._updateVisibility(e,t,!0)}},{key:"_destroyDatasetMeta",value:function(e){var t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}},{key:"_stop",value:function(){var e,t;for(this.stop(),In.remove(this),e=0,t=this.data.datasets.length;ea?(c=a/u,e.arc(o,i,u,n+c,r-c,!0)):e.arc(o,i,a,n+W,r-W),e.closePath(),e.clip()}function Ga(e,t,n,r){var a=Pt(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(n-t)/2,i=Math.min(o,r*t/2),s=function(e){var t=(n-Math.min(o,e))*r/2;return ie(e,0,Math.min(o,t))};return{outerStart:s(a.outerStart),outerEnd:s(a.outerEnd),innerStart:ie(a.innerStart,0,i),innerEnd:ie(a.innerEnd,0,i)}}function Ya(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function $a(e,t,n,r,a,o){var i=t.x,s=t.y,u=t.startAngle,c=t.pixelMargin,l=t.innerRadius,f=Math.max(t.outerRadius+r+n-c,0),d=l>0?l+r+n+c:0,p=0,h=a-u;if(r){var v=((l>0?l-r:0)+(f>0?f-r:0))/2;p=(h-(0!==v?h*v/(v+r):h))/2}var g=(h-Math.max(.001,h*f-n/F)/f)/2,m=u+g+p,b=a-g-p,y=Ga(t,d,f,b-m),w=y.outerStart,_=y.outerEnd,x=y.innerStart,O=y.innerEnd,k=f-w,S=f-_,j=m+w/k,E=b-_/S,C=d+x,A=d+O,P=m+x/C,T=b-O/A;if(e.beginPath(),o){if(e.arc(i,s,f,j,E),_>0){var R=Ya(S,E,i,s);e.arc(R.x,R.y,_,E,b+W)}var D=Ya(A,b,i,s);if(e.lineTo(D.x,D.y),O>0){var M=Ya(A,T,i,s);e.arc(M.x,M.y,O,b+W,T+Math.PI)}if(e.arc(i,s,d,b-O/d,m+x/d,!0),x>0){var I=Ya(C,P,i,s);e.arc(I.x,I.y,x,P+Math.PI,m-W)}var N=Ya(k,m,i,s);if(e.lineTo(N.x,N.y),w>0){var L=Ya(k,j,i,s);e.arc(L.x,L.y,w,m-W,j)}}else{e.moveTo(i,s);var B=Math.cos(j)*f+i,z=Math.sin(j)*f+s;e.lineTo(B,z);var q=Math.cos(E)*f+i,U=Math.sin(E)*f+s;e.lineTo(q,U)}e.closePath()}function Ka(e,t,n,r,a,o){var i=t.options,s=i.borderWidth,u=i.borderJoinStyle,c="inner"===i.borderAlign;s&&(c?(e.lineWidth=2*s,e.lineJoin=u||"round"):(e.lineWidth=s,e.lineJoin=u||"bevel"),t.fullCircles&&function(e,t,n){var r,a=t.x,o=t.y,i=t.startAngle,s=t.pixelMargin,u=t.fullCircles,c=Math.max(t.outerRadius-s,0),l=t.innerRadius+s;for(n&&Va(e,t,i+B),e.beginPath(),e.arc(a,o,l,i+B,i,!0),r=0;r=B||oe(a,s,u),h=se(o,c+d,l+d);return p&&h}},{key:"getCenterPoint",value:function(e){var t=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],e),n=t.x,r=t.y,a=t.startAngle,o=t.endAngle,i=t.innerRadius,s=t.outerRadius,u=this.options,c=u.offset,l=(a+o)/2,f=(i+s+u.spacing+c)/2;return{x:n+Math.cos(l)*f,y:r+Math.sin(l)*f}}},{key:"tooltipPosition",value:function(e){return this.getCenterPoint(e)}},{key:"draw",value:function(e){var t=this.options,n=this.circumference,r=(t.offset||0)/2,a=(t.spacing||0)/2,o=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=n>B?Math.floor(n/B):0,!(0===n||this.innerRadius<0||this.outerRadius<0)){e.save();var i=0;if(r){i=r/2;var s=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(s)*i,Math.sin(s)*i),this.circumference>=F&&(i=r)}e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor;var u=function(e,t,n,r,a){var o=t.fullCircles,i=t.startAngle,s=t.circumference,u=t.endAngle;if(o){$a(e,t,n,r,i+B,a);for(var c=0;c2&&void 0!==arguments[2]?arguments[2]:t;e.lineCap=_(n.borderCapStyle,t.borderCapStyle),e.setLineDash(_(n.borderDash,t.borderDash)),e.lineDashOffset=_(n.borderDashOffset,t.borderDashOffset),e.lineJoin=_(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=_(n.borderWidth,t.borderWidth),e.strokeStyle=_(n.borderColor,t.borderColor)}function Ja(e,t,n){e.lineTo(n.x,n.y)}function Za(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=e.length,a=n.start,o=void 0===a?0:a,i=n.end,s=void 0===i?r-1:i,u=t.start,c=t.end,l=Math.max(o,u),f=Math.min(s,c),d=oc&&s>c;return{count:r,start:l,loop:t.loop,ilen:fu&&(u=k),y=(w*y+O)/++w):(x(),e.lineTo(O,k),i=S,w=0,s=u=k),c=k}x()}function no(e){var t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&"monotone"!==t.cubicInterpolationMode&&!t.stepped&&!n?to:eo}Xa.id="arc",Xa.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0},Xa.defaultRoutes={backgroundColor:"backgroundColor"};var ro="function"===typeof Path2D;function ao(e,t,n,r){ro&&!t.options.segment?function(e,t,n,r){var a=t._path;a||(a=t._path=new Path2D,t.path(a,n,r)&&a.closePath()),Qa(e,t.options),e.stroke(a)}(e,t,n,r):function(e,t,n,r){var a,o=t.segments,i=t.options,s=no(t),u=Object(l.a)(o);try{for(u.s();!(a=u.n()).done;){var c=a.value;Qa(e,i,c.style),e.beginPath(),s(e,t,c,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}}catch(f){u.e(f)}finally{u.f()}}(e,t,n,r)}var oo=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var a;return Object(d.a)(this,n),(a=t.call(this)).animated=!0,a.options=void 0,a._chart=void 0,a._loop=void 0,a._fullLoop=void 0,a._path=void 0,a._points=void 0,a._segments=void 0,a._decimated=!1,a._pointsUpdated=!1,a._datasetIndex=void 0,e&&Object.assign(Object(r.a)(a),e),a}return Object(p.a)(n,[{key:"updateControlPoints",value:function(e,t){var n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){var r=n.spanGaps?this._loop:this._fullLoop;on(this._points,n,e,r,t),this._pointsUpdated=!0}}},{key:"points",get:function(){return this._points},set:function(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}},{key:"segments",get:function(){return this._segments||(this._segments=function(e,t){var n=e.points,r=e.options.spanGaps,a=n.length;if(!a)return[];var o=!!e._loop,i=function(e,t,n,r){var a=0,o=t-1;if(n&&!r)for(;aa&&e[o%t].skip;)o--;return{start:a,end:o%=t}}(n,a,o,r),s=i.start,u=i.end;return Tn(e,!0===r?[{start:s,end:u,loop:o}]:function(e,t,n,r){var a,o=e.length,i=[],s=t,u=e[t];for(a=t+1;a<=n;++a){var c=e[a%o];c.skip||c.stop?u.skip||(r=!1,i.push({start:t%o,end:(a-1)%o,loop:r}),t=s=c.stop?a:null):(s=a,u.skip&&(t=a)),u=c}return null!==s&&i.push({start:t%o,end:s%o,loop:r}),i}(n,s,u2&&void 0!==arguments[2]?arguments[2]:{},r=e.x!==n.x?-t:0,a=e.y!==n.y?-t:0,o=(e.x+e.w!==n.x+n.w?t:0)-r,i=(e.y+e.h!==n.y+n.h?t:0)-a;return{x:e.x+r,y:e.y+a,w:e.w+o,h:e.h+i,radius:e.radius}}so.id="point",so.defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0},so.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var vo=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var a;return Object(d.a)(this,n),(a=t.call(this)).options=void 0,a.horizontal=void 0,a.base=void 0,a.width=void 0,a.height=void 0,a.inflateAmount=void 0,e&&Object.assign(Object(r.a)(a),e),a}return Object(p.a)(n,[{key:"draw",value:function(e){var t,n=this.inflateAmount,r=this.options,a=r.borderColor,o=r.backgroundColor,i=lo(this),s=i.inner,u=i.outer,c=(t=u.radius).topLeft||t.topRight||t.bottomLeft||t.bottomRight?jt:po;e.save(),u.w===s.w&&u.h===s.h||(e.beginPath(),c(e,ho(u,n,s)),e.clip(),c(e,ho(s,-n,u)),e.fillStyle=a,e.fill("evenodd")),e.beginPath(),c(e,ho(s,n)),e.fillStyle=o,e.fill(),e.restore()}},{key:"inRange",value:function(e,t,n){return fo(this,e,t,n)}},{key:"inXRange",value:function(e,t){return fo(this,e,null,t)}},{key:"inYRange",value:function(e,t){return fo(this,null,e,t)}},{key:"getCenterPoint",value:function(e){var t=this.getProps(["x","y","base","horizontal"],e),n=t.x,r=t.y,a=t.base,o=t.horizontal;return{x:o?(n+a)/2:n,y:o?r:(r+a)/2}}},{key:"getRange",value:function(e){return"x"===e?this.width/2:this.height/2}}]),n}(hr);vo.id="bar",vo.defaults={borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0},vo.defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};var go=function(e,t){var n=e.boxHeight,r=void 0===n?t:n,a=e.boxWidth,o=void 0===a?t:a;return e.usePointStyle&&(r=Math.min(r,t),o=e.pointStyleWidth||Math.min(o,t)),{boxWidth:o,boxHeight:r,itemHeight:Math.max(t,r)}},mo=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(d.a)(this,n),(r=t.call(this))._added=!1,r.legendHitBoxes=[],r._hoveredItem=null,r.doughnutMode=!1,r.chart=e.chart,r.options=e.options,r.ctx=e.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(p.a)(n,[{key:"update",value:function(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}},{key:"setDimensions",value:function(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}},{key:"buildLabels",value:function(){var e=this,t=this.options.labels||{},n=O(t.generateLabels,[this.chart],this)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),t.sort&&(n=n.sort((function(n,r){return t.sort(n,r,e.chart.data)}))),this.options.reverse&&n.reverse(),this.legendItems=n}},{key:"fit",value:function(){var e=this.options,t=this.ctx;if(e.display){var n,r,a=e.labels,o=Mt(a.font),i=o.size,s=this._computeTitleHeight(),u=go(a,i),c=u.boxWidth,l=u.itemHeight;t.font=o.string,this.isHorizontal()?(n=this.maxWidth,r=this._fitRows(s,i,c,l)+10):(r=this.maxHeight,n=this._fitCols(s,i,c,l)+10),this.width=Math.min(n,e.maxWidth||this.maxWidth),this.height=Math.min(r,e.maxHeight||this.maxHeight)}else this.width=this.height=0}},{key:"_fitRows",value:function(e,t,n,r){var a=this.ctx,o=this.maxWidth,i=this.options.labels.padding,s=this.legendHitBoxes=[],u=this.lineWidths=[0],c=r+i,l=e;a.textAlign="left",a.textBaseline="middle";var f=-1,d=-c;return this.legendItems.forEach((function(e,p){var h=n+t/2+a.measureText(e.text).width;(0===p||u[u.length-1]+h+2*i>o)&&(l+=c,u[u.length-(p>0?0:1)]=0,d+=c,f++),s[p]={left:0,top:d,row:f,width:h,height:r},u[u.length-1]+=h+i})),l}},{key:"_fitCols",value:function(e,t,n,r){var a=this.ctx,o=this.maxHeight,i=this.options.labels.padding,s=this.legendHitBoxes=[],u=this.columnSizes=[],c=o-e,l=i,f=0,d=0,p=0,h=0;return this.legendItems.forEach((function(e,o){var v=n+t/2+a.measureText(e.text).width;o>0&&d+r+2*i>c&&(l+=f+i,u.push({width:f,height:d}),p+=f+i,h++,f=d=0),s[o]={left:p,top:d,col:h,width:v,height:r},f=Math.max(f,v),d+=r+i})),l+=f,u.push({width:f,height:d}),l}},{key:"adjustHitBoxes",value:function(){if(this.options.display){var e=this._computeTitleHeight(),t=this.legendHitBoxes,n=this.options,r=n.align,a=n.labels.padding,o=kn(n.rtl,this.left,this.width);if(this.isHorizontal()){var i,s=0,u=me(r,this.left+a,this.right-this.lineWidths[s]),c=Object(l.a)(t);try{for(c.s();!(i=c.n()).done;){var f=i.value;s!==f.row&&(s=f.row,u=me(r,this.left+a,this.right-this.lineWidths[s])),f.top+=this.top+e+a,f.left=o.leftForLtr(o.x(u),f.width),u+=f.width+a}}catch(m){c.e(m)}finally{c.f()}}else{var d,p=0,h=me(r,this.top+e+a,this.bottom-this.columnSizes[p].height),v=Object(l.a)(t);try{for(v.s();!(d=v.n()).done;){var g=d.value;g.col!==p&&(p=g.col,h=me(r,this.top+e+a,this.bottom-this.columnSizes[p].height)),g.top=h,g.left+=this.left+a,g.left=o.leftForLtr(o.x(g.left),g.width),h+=g.height+a}}catch(m){v.e(m)}finally{v.f()}}}}},{key:"isHorizontal",value:function(){return"top"===this.options.position||"bottom"===this.options.position}},{key:"draw",value:function(){if(this.options.display){var e=this.ctx;yt(e,this),this._draw(),wt(e)}}},{key:"_draw",value:function(){var e,t=this,n=this.options,r=this.columnSizes,a=this.lineWidths,o=this.ctx,i=n.align,s=n.labels,u=ft.color,c=kn(n.rtl,this.left,this.width),l=Mt(s.font),f=s.color,d=s.padding,p=l.size,h=p/2;this.drawTitle(),o.textAlign=c.textAlign("left"),o.textBaseline="middle",o.lineWidth=.5,o.font=l.string;var v=go(s,p),g=v.boxWidth,m=v.boxHeight,b=v.itemHeight,y=this.isHorizontal(),w=this._computeTitleHeight();e=y?{x:me(i,this.left+d,this.right-a[0]),y:this.top+d+w,line:0}:{x:this.left+d,y:me(i,this.top+w+d,this.bottom-r[0].height),line:0},Sn(this.ctx,n.textDirection);var x=b+d;this.legendItems.forEach((function(v,O){o.strokeStyle=v.fontColor||f,o.fillStyle=v.fontColor||f;var k=o.measureText(v.text).width,S=c.textAlign(v.textAlign||(v.textAlign=s.textAlign)),j=g+h+k,E=e.x,C=e.y;c.setWidth(t.width),y?O>0&&E+j+d>t.right&&(C=e.y+=x,e.line++,E=e.x=me(i,t.left+d,t.right-a[e.line])):O>0&&C+x>t.bottom&&(E=e.x=E+r[e.line].width+d,e.line++,C=e.y=me(i,t.top+w+d,t.bottom-r[e.line].height)),function(e,t,n){if(!(isNaN(g)||g<=0||isNaN(m)||m<0)){o.save();var r=_(n.lineWidth,1);if(o.fillStyle=_(n.fillStyle,u),o.lineCap=_(n.lineCap,"butt"),o.lineDashOffset=_(n.lineDashOffset,0),o.lineJoin=_(n.lineJoin,"miter"),o.lineWidth=r,o.strokeStyle=_(n.strokeStyle,u),o.setLineDash(_(n.lineDash,[])),s.usePointStyle){var a={radius:m*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},i=c.xPlus(e,g/2);mt(o,a,i,t+h,s.pointStyleWidth&&g)}else{var l=t+Math.max((p-m)/2,0),f=c.leftForLtr(e,g),d=Rt(n.borderRadius);o.beginPath(),Object.values(d).some((function(e){return 0!==e}))?jt(o,{x:f,y:l,w:g,h:m,radius:d}):o.rect(f,l,g,m),o.fill(),0!==r&&o.stroke()}o.restore()}}(c.x(E),C,v),E=function(e,t,n,r){return e===(r?"left":"right")?n:"center"===e?(t+n)/2:t}(S,E+g+h,y?E+j:t.right,n.rtl),function(e,t,n){Ot(o,n.text,e,t+b/2,l,{strikethrough:n.hidden,textAlign:c.textAlign(n.textAlign)})}(c.x(E),C,v),y?e.x+=j+d:e.y+=x})),jn(this.ctx,n.textDirection)}},{key:"drawTitle",value:function(){var e=this.options,t=e.title,n=Mt(t.font),r=Dt(t.padding);if(t.display){var a,o=kn(e.rtl,this.left,this.width),i=this.ctx,s=t.position,u=n.size/2,c=r.top+u,l=this.left,d=this.width;if(this.isHorizontal())d=Math.max.apply(Math,Object(f.a)(this.lineWidths)),a=this.top+c,l=me(e.align,l,this.right-d);else{var p=this.columnSizes.reduce((function(e,t){return Math.max(e,t.height)}),0);a=c+me(e.align,this.top,this.bottom-p-e.labels.padding-this._computeTitleHeight())}var h=me(s,l,l+d);i.textAlign=o.textAlign(ge(s)),i.textBaseline="middle",i.strokeStyle=t.color,i.fillStyle=t.color,i.font=n.string,Ot(i,t.text,h,a,n)}}},{key:"_computeTitleHeight",value:function(){var e=this.options.title,t=Mt(e.font),n=Dt(e.padding);return e.display?t.lineHeight+n.height:0}},{key:"_getLegendItemAt",value:function(e,t){var n,r,a;if(se(e,this.left,this.right)&&se(t,this.top,this.bottom))for(a=this.legendHitBoxes,n=0;n-1?e.split("\n"):e}function ko(e,t){var n=t.element,r=t.datasetIndex,a=t.index,o=e.getDatasetMeta(r).controller,i=o.getLabelAndValue(a),s=i.label,u=i.value;return{chart:e,label:s,parsed:o.getParsed(a),raw:e.data.datasets[r].data[a],formattedValue:u,dataset:o.getDataset(),dataIndex:a,datasetIndex:r,element:n}}function So(e,t){var n=e.chart.ctx,r=e.body,a=e.footer,o=e.title,i=t.boxWidth,s=t.boxHeight,u=Mt(t.bodyFont),c=Mt(t.titleFont),l=Mt(t.footerFont),f=o.length,d=a.length,p=r.length,h=Dt(t.padding),v=h.height,g=0,m=r.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);(m+=e.beforeBody.length+e.afterBody.length,f&&(v+=f*c.lineHeight+(f-1)*t.titleSpacing+t.titleMarginBottom),m)&&(v+=p*(t.displayColors?Math.max(s,u.lineHeight):u.lineHeight)+(m-p)*u.lineHeight+(m-1)*t.bodySpacing);d&&(v+=t.footerMarginTop+d*l.lineHeight+(d-1)*t.footerSpacing);var b=0,y=function(e){g=Math.max(g,n.measureText(e).width+b)};return n.save(),n.font=c.string,k(e.title,y),n.font=u.string,k(e.beforeBody.concat(e.afterBody),y),b=t.displayColors?i+2+t.boxPadding:0,k(r,(function(e){k(e.before,y),k(e.lines,y),k(e.after,y)})),b=0,n.font=l.string,k(e.footer,y),n.restore(),{width:g+=h.width,height:v}}function jo(e,t,n,r){var a=n.x,o=n.width,i=e.width,s=e.chartArea,u=s.left,c=s.right,l="center";return"center"===r?l=a<=(u+c)/2?"left":"right":a<=o/2?l="left":a>=i-o/2&&(l="right"),function(e,t,n,r){var a=r.x,o=r.width,i=n.caretSize+n.caretPadding;return"left"===e&&a+o+i>t.width||"right"===e&&a-o-i<0||void 0}(l,e,t,n)&&(l="center"),l}function Eo(e,t,n){var r=n.yAlign||t.yAlign||function(e,t){var n=t.y,r=t.height;return ne.height-r/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||jo(e,t,n,r),yAlign:r}}function Co(e,t,n,r){var a=e.caretSize,o=e.caretPadding,i=e.cornerRadius,s=n.xAlign,u=n.yAlign,c=a+o,l=Rt(i),f=l.topLeft,d=l.topRight,p=l.bottomLeft,h=l.bottomRight,v=function(e,t){var n=e.x,r=e.width;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,s),g=function(e,t,n){var r=e.y,a=e.height;return"top"===t?r+=n:r-="bottom"===t?a+n:a/2,r}(t,u,c);return"center"===u?"left"===s?v+=c:"right"===s&&(v-=c):"left"===s?v-=Math.max(f,p)+a:"right"===s&&(v+=Math.max(d,h)+a),{x:ie(v,0,r.width-t.width),y:ie(g,0,r.height-t.height)}}function Ao(e,t,n){var r=Dt(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function Po(e){return xo([],Oo(e))}function To(e,t){var n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}var Ro=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(d.a)(this,n),(r=t.call(this)).opacity=0,r._active=[],r._eventPosition=void 0,r._size=void 0,r._cachedAnimations=void 0,r._tooltipItems=[],r.$animations=void 0,r.$context=void 0,r.chart=e.chart||e._chart,r._chart=r.chart,r.options=e.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(p.a)(n,[{key:"initialize",value:function(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}},{key:"_resolveAnimations",value:function(){var e=this._cachedAnimations;if(e)return e;var t=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&t.options.animation&&n.animations,a=new zn(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(a)),a}},{key:"getContext",value:function(){return this.$context||(this.$context=(e=this.chart.getContext(),t=this,n=this._tooltipItems,Nt(e,{tooltip:t,tooltipItems:n,type:"tooltip"})));var e,t,n}},{key:"getTitle",value:function(e,t){var n=t.callbacks,r=n.beforeTitle.apply(this,[e]),a=n.title.apply(this,[e]),o=n.afterTitle.apply(this,[e]),i=[];return i=xo(i,Oo(r)),i=xo(i,Oo(a)),i=xo(i,Oo(o))}},{key:"getBeforeBody",value:function(e,t){return Po(t.callbacks.beforeBody.apply(this,[e]))}},{key:"getBody",value:function(e,t){var n=this,r=t.callbacks,a=[];return k(e,(function(e){var t={before:[],lines:[],after:[]},o=To(r,e);xo(t.before,Oo(o.beforeLabel.call(n,e))),xo(t.lines,o.label.call(n,e)),xo(t.after,Oo(o.afterLabel.call(n,e))),a.push(t)})),a}},{key:"getAfterBody",value:function(e,t){return Po(t.callbacks.afterBody.apply(this,[e]))}},{key:"getFooter",value:function(e,t){var n=t.callbacks,r=n.beforeFooter.apply(this,[e]),a=n.footer.apply(this,[e]),o=n.afterFooter.apply(this,[e]),i=[];return i=xo(i,Oo(r)),i=xo(i,Oo(a)),i=xo(i,Oo(o))}},{key:"_createItems",value:function(e){var t,n,r=this,a=this._active,o=this.chart.data,i=[],s=[],u=[],c=[];for(t=0,n=a.length;t0&&t.stroke()}},{key:"_updateAnimationTarget",value:function(e){var t=this.chart,n=this.$animations,r=n&&n.x,a=n&&n.y;if(r||a){var o=_o[e.position].call(this,this._active,this._eventPosition);if(!o)return;var i=this._size=So(this,e),s=Object.assign({},o,this._size),u=Eo(t,e,s),c=Co(e,s,u,t);r._to===c.x&&a._to===c.y||(this.xAlign=u.xAlign,this.yAlign=u.yAlign,this.width=i.width,this.height=i.height,this.caretX=o.x,this.caretY=o.y,this._resolveAnimations().update(this,c))}}},{key:"_willRender",value:function(){return!!this.opacity}},{key:"draw",value:function(e){var t=this.options.setContext(this.getContext()),n=this.opacity;if(n){this._updateAnimationTarget(t);var r={width:this.width,height:this.height},a={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;var o=Dt(t.padding),i=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&i&&(e.save(),e.globalAlpha=n,this.drawBackground(a,e,r,t),Sn(e,t.textDirection),a.y+=o.top,this.drawTitle(a,e,t),this.drawBody(a,e,t),this.drawFooter(a,e,t),jn(e,t.textDirection),e.restore())}}},{key:"getActiveElements",value:function(){return this._active||[]}},{key:"setActiveElements",value:function(e,t){var n=this,r=this._active,a=e.map((function(e){var t=e.datasetIndex,r=e.index,a=n.chart.getDatasetMeta(t);if(!a)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:a.data[r],index:r}})),o=!S(r,a),i=this._positionChanged(a,t);(o||i)&&(this._active=a,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}},{key:"handleEvent",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;var r=this.options,a=this._active||[],o=this._getActiveElements(e,a,t,n),i=this._positionChanged(o,e),s=t||!S(o,a)||i;return s&&(this._active=o,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}},{key:"_getActiveElements",value:function(e,t,n,r){var a=this.options;if("mouseout"===e.type)return[];if(!r)return t;var o=this.chart.getElementsAtEventForMode(e,a.mode,a,n);return a.reverse&&o.reverse(),o}},{key:"_positionChanged",value:function(e,t){var n=this.caretX,r=this.caretY,a=this.options,o=_o[a.position].call(this,e,t);return!1!==o&&(n!==o.x||r!==o.y)}}]),n}(hr);Ro.positioners=_o;var Do={id:"tooltip",_element:Ro,positioners:_o,afterInit:function(e,t,n){n&&(e.tooltip=new Ro({chart:e,options:n}))},beforeUpdate:function(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset:function(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw:function(e){var t=e.tooltip;if(t&&t._willRender()){var n={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",n))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent:function(e,t){if(e.tooltip){var n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.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(e,t){return t.bodyFont.size},boxWidth:function(e,t){return t.bodyFont.size},multiKeyBackground:"#fff",displayColors:!0,boxPadding: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:h,title:function(e){if(e.length>0){var t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex=0&&et.length-1?null:this.getPixelForValue(t[e].value)}},{key:"getValueForPixel",value:function(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}},{key:"getBasePixel",value:function(){return this.bottom}}]),n}(Sr);function No(e,t){var n,r,a,o,i=[],s=e.bounds,u=e.step,c=e.min,l=e.max,f=e.precision,d=e.count,p=e.maxTicks,h=e.maxDigits,v=e.includeBounds,m=u||1,b=p-1,y=t.min,w=t.max,_=!g(c),x=!g(l),O=!g(d),k=(w-y)/(h+1),S=$((w-y)/b/m)*m;if(S<1e-14&&!_&&!x)return[{value:y},{value:w}];(o=Math.ceil(w/S)-Math.floor(y/S))>b&&(S=$(o*S/b/m)*m),g(f)||(n=Math.pow(10,f),S=Math.ceil(S*n)/n),"ticks"===s?(r=Math.floor(y/S)*S,a=Math.ceil(w/S)*S):(r=y,a=w),_&&x&&u&&function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e}((l-c)/u,S/1e3)?(S=(l-c)/(o=Math.round(Math.min((l-c)/S,p))),r=c,a=l):O?S=((a=x?l:a)-(r=_?c:r))/(o=d-1):o=X(o=(a-r)/S,Math.round(o),S/1e3)?Math.round(o):Math.ceil(o);var j=Math.max(ee(S),ee(r));n=Math.pow(10,g(f)?j:f),r=Math.round(r*n)/n,a=Math.round(a*n)/n;var E=0;for(_&&(v&&r!==c?(i.push({value:c}),r0&&c>0&&i(0)}if(a===o){var l=1;(o>=Number.MAX_SAFE_INTEGER||a<=Number.MIN_SAFE_INTEGER)&&(l=Math.abs(.05*o)),s(o+l),e||i(a-l)}this.min=a,this.max=o}},{key:"getTickLimit",value:function(){var e,t=this.options.ticks,n=t.maxTicksLimit,r=t.stepSize;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1)>1e3&&(console.warn("scales.".concat(this.id,".ticks.stepSize: ").concat(r," would result generating up to ").concat(e," ticks. Limiting to 1000.")),e=1e3):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}},{key:"computeTickLimit",value:function(){return Number.POSITIVE_INFINITY}},{key:"buildTicks",value:function(){var e=this.options,t=e.ticks,n=this.getTickLimit(),r=No({maxTicks:n=Math.max(2,n),bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&Q(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}},{key:"configure",value:function(){var e=this.ticks,t=this.min,r=this.max;if(Object(a.a)(Object(o.a)(n.prototype),"configure",this).call(this),this.options.offset&&e.length){var i=(r-t)/Math.max(e.length-1,1)/2;t-=i,r+=i}this._startValue=t,this._endValue=r,this._valueRange=r-t}},{key:"getLabelForValue",value:function(e){return On(e,this.chart.options.locale,this.options.ticks.format)}}]),n}(Sr),Bo=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(){return Object(d.a)(this,n),t.apply(this,arguments)}return Object(p.a)(n,[{key:"determineDataLimits",value:function(){var e=this.getMinMax(!0),t=e.min,n=e.max;this.min=y(t)?t:0,this.max=y(n)?n:1,this.handleTickRangeOptions()}},{key:"computeTickLimit",value:function(){var e=this.isHorizontal(),t=e?this.width:this.height,n=J(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,a=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,a.lineHeight/r))}},{key:"getPixelForValue",value:function(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}},{key:"getValueForPixel",value:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}]),n}(Fo);function zo(e){return 1===e/Math.pow(10,Math.floor(G(e)))}Bo.id="linear",Bo.defaults={ticks:{callback:gr.formatters.numeric}};var qo=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(d.a)(this,n),(r=t.call(this,e)).start=void 0,r.end=void 0,r._startValue=void 0,r._valueRange=0,r}return Object(p.a)(n,[{key:"parse",value:function(e,t){var n=Fo.prototype.parse.apply(this,[e,t]);if(0!==n)return y(n)&&n>0?n:null;this._zero=!0}},{key:"determineDataLimits",value:function(){var e=this.getMinMax(!0),t=e.min,n=e.max;this.min=y(t)?Math.max(0,t):null,this.max=y(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}},{key:"handleTickRangeOptions",value:function(){var e=this.getUserBounds(),t=e.minDefined,n=e.maxDefined,r=this.min,a=this.max,o=function(e){return r=t?r:e},i=function(e){return a=n?a:e},s=function(e,t){return Math.pow(10,Math.floor(G(e))+t)};r===a&&(r<=0?(o(1),i(10)):(o(s(r,-1)),i(s(a,1)))),r<=0&&o(s(a,-1)),a<=0&&i(s(r,1)),this._zero&&this.min!==this._suggestedMin&&r===s(this.min,0)&&o(s(r,-1)),this.min=r,this.max=a}},{key:"buildTicks",value:function(){var e=this.options,t=function(e,t){var n=Math.floor(G(t.max)),r=Math.ceil(t.max/Math.pow(10,n)),a=[],o=w(e.min,Math.pow(10,Math.floor(G(t.min)))),i=Math.floor(G(o)),s=Math.floor(o/Math.pow(10,i)),u=i<0?Math.pow(10,Math.abs(i)):1;do{a.push({value:o,major:zo(o)}),10===++s&&(s=1,u=++i>=0?1:u),o=Math.round(s*Math.pow(10,i)*u)/u}while(ia?{start:t-n,end:t}:{start:t,end:t+n}}function Ho(e){for(var t,n,r,a={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},o=Object.assign({},a),i=[],s=[],u=e._pointLabels.length,c=e.options.pointLabels,l=c.centerPointLabels?F/u:0,f=0;ft.r&&(s=(r.end-t.r)/o,e.r=Math.max(e.r,t.r+s)),a.startt.b&&(u=(a.end-t.b)/i,e.b=Math.max(e.b,t.b+u))}function Go(e){return 0===e||180===e?"center":e<180?"left":"right"}function Yo(e,t,n){return"right"===n?e-=t:"center"===n&&(e-=t/2),e}function $o(e,t,n){return 90===n||270===n?e-=t/2:(n>270||n<90)&&(e-=t),e}function Ko(e,t,n,r){var a=e.ctx;if(n)a.arc(e.xCenter,e.yCenter,t,0,B);else{var o=e.getPointPosition(0,t);a.moveTo(o.x,o.y);for(var i=1;i=0&&e2&&void 0!==arguments[2]?arguments[2]:0,r=this.getIndexAngle(e)-W+n;return{x:Math.cos(r)*t+this.xCenter,y:Math.sin(r)*t+this.yCenter,angle:r}}},{key:"getPointPositionForValue",value:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))}},{key:"getBasePosition",value:function(e){return this.getPointPositionForValue(e||0,this.getBaseValue())}},{key:"getPointLabelPosition",value:function(e){var t=this._pointLabelItems[e];return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}},{key:"drawBackground",value:function(){var e=this.options,t=e.backgroundColor,n=e.grid.circular;if(t){var r=this.ctx;r.save(),r.beginPath(),Ko(this,this.getDistanceFromCenterForValue(this._endValue),n,this._pointLabels.length),r.closePath(),r.fillStyle=t,r.fill(),r.restore()}}},{key:"drawGrid",value:function(){var e,t,n,r=this,a=this.ctx,o=this.options,i=o.angleLines,s=o.grid,u=this._pointLabels.length;if(o.pointLabels.display&&function(e,t){for(var n=e.ctx,r=e.options.pointLabels,a=t-1;a>=0;a--){var o=r.setContext(e.getPointLabelContext(a)),i=Mt(o.font),s=e._pointLabelItems[a],u=s.x,c=s.y,l=s.textAlign,f=s.left,d=s.top,p=s.right,h=s.bottom,v=o.backdropColor;if(!g(v)){var m=Rt(o.borderRadius),b=Dt(o.backdropPadding);n.fillStyle=v;var y=f-b.left,w=d-b.top,_=p-f+b.width,x=h-d+b.height;Object.values(m).some((function(e){return 0!==e}))?(n.beginPath(),jt(n,{x:y,y:w,w:_,h:x,radius:m}),n.fill()):n.fillRect(y,w,_,x)}Ot(n,e._pointLabels[a],u,c+i.lineHeight/2,i,{color:o.color,textAlign:l,textBaseline:"middle"})}}(this,u),s.display&&this.ticks.forEach((function(e,n){if(0!==n){t=r.getDistanceFromCenterForValue(e.value);var a=s.setContext(r.getContext(n-1));!function(e,t,n,r){var a=e.ctx,o=t.circular,i=t.color,s=t.lineWidth;!o&&!r||!i||!s||n<0||(a.save(),a.strokeStyle=i,a.lineWidth=s,a.setLineDash(t.borderDash),a.lineDashOffset=t.borderDashOffset,a.beginPath(),Ko(e,n,o,r),a.closePath(),a.stroke(),a.restore())}(r,a,t,u)}})),i.display){for(a.save(),e=u-1;e>=0;e--){var c=i.setContext(this.getPointLabelContext(e)),l=c.color,f=c.lineWidth;f&&l&&(a.lineWidth=f,a.strokeStyle=l,a.setLineDash(c.borderDash),a.lineDashOffset=c.borderDashOffset,t=this.getDistanceFromCenterForValue(o.ticks.reverse?this.min:this.max),n=this.getPointPosition(e,t),a.beginPath(),a.moveTo(this.xCenter,this.yCenter),a.lineTo(n.x,n.y),a.stroke())}a.restore()}}},{key:"drawBorder",value:function(){}},{key:"drawLabels",value:function(){var e=this,t=this.ctx,n=this.options,r=n.ticks;if(r.display){var a,o,i=this.getIndexAngle(0);t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((function(i,s){if(0!==s||n.reverse){var u=r.setContext(e.getContext(s)),c=Mt(u.font);if(a=e.getDistanceFromCenterForValue(e.ticks[s].value),u.showLabelBackdrop){t.font=c.string,o=t.measureText(i.label).width,t.fillStyle=u.backdropColor;var l=Dt(u.backdropPadding);t.fillRect(-o/2-l.left,-a-c.size/2-l.top,o+l.width,c.size+l.height)}Ot(t,i.label,0,-a,c,{color:u.color})}})),t.restore()}}},{key:"drawTitle",value:function(){}}]),n}(Fo);Xo.id="radialLinear",Xo.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:gr.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:function(e){return e},padding:5,centerPointLabels:!1}},Xo.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"},Xo.descriptors={angleLines:{_fallback:"grid"}};var Qo={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}},Jo=Object.keys(Qo);function Zo(e,t){return e-t}function ei(e,t){if(g(t))return null;var n=e._adapter,r=e._parseOpts,a=r.parser,o=r.round,i=r.isoWeekday,s=t;return"function"===typeof a&&(s=a(s)),y(s)||(s="string"===typeof a?n.parse(s,a):n.parse(s)),null===s?null:(o&&(s="week"!==o||!K(i)&&!0!==i?n.startOf(s,o):n.startOf(s,"isoWeek",i)),+s)}function ti(e,t,n,r){for(var a=Jo.length,o=Jo.indexOf(e);o=t?n[a]:n[o]]=!0}}else e[t]=!0}function ri(e,t,n){var r,a,o=[],i={},s=t.length;for(r=0;r=0&&(t[o].major=!0);return t}(e,o,i,n):o}var ai=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(d.a)(this,n),(r=t.call(this,e))._cache={data:[],labels:[],all:[]},r._unit="day",r._majorUnit=void 0,r._offsets={},r._normalized=!1,r._parseOpts=void 0,r}return Object(p.a)(n,[{key:"init",value:function(e,t){var r=e.time||(e.time={}),i=this._adapter=new Rr._date(e.adapters.date);i.init(t),P(r.displayFormats,i.formats()),this._parseOpts={parser:r.parser,round:r.round,isoWeekday:r.isoWeekday},Object(a.a)(Object(o.a)(n.prototype),"init",this).call(this,e),this._normalized=t.normalized}},{key:"parse",value:function(e,t){return void 0===e?null:ei(this,e)}},{key:"beforeLayout",value:function(){Object(a.a)(Object(o.a)(n.prototype),"beforeLayout",this).call(this),this._cache={data:[],labels:[],all:[]}}},{key:"determineDataLimits",value:function(){var e=this.options,t=this._adapter,n=e.time.unit||"day",r=this.getUserBounds(),a=r.min,o=r.max,i=r.minDefined,s=r.maxDefined;function u(e){i||isNaN(e.min)||(a=Math.min(a,e.min)),s||isNaN(e.max)||(o=Math.max(o,e.max))}i&&s||(u(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||u(this.getMinMax(!1))),a=y(a)&&!isNaN(a)?a:+t.startOf(Date.now(),n),o=y(o)&&!isNaN(o)?o:+t.endOf(Date.now(),n)+1,this.min=Math.min(a,o-1),this.max=Math.max(a+1,o)}},{key:"_getLabelBounds",value:function(){var e=this.getLabelTimestamps(),t=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],n=e[e.length-1]),{min:t,max:n}}},{key:"buildTicks",value:function(){var e=this.options,t=e.time,n=e.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);var a=this.min,o=function(e,t,n){for(var r=0,a=e.length;rr&&e[a-1]>n;)a--;return r>0||a=Jo.indexOf(n);o--){var i=Jo[o];if(Qo[i].common&&e._adapter.diff(a,r,i)>=t-1)return i}return Jo[n?Jo.indexOf(n):0]}(this,o.length,t.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(e){for(var t=Jo.indexOf(e)+1,n=Jo.length;t1e5*u)throw new Error(r+" and "+a+" are too far apart with stepSize of "+u+" "+s);var p="data"===o.ticks.source&&this.getDataTimestamps();for(e=d,t=0;e0?i:1}},{key:"getDataTimestamps",value:function(){var e,t,n=this._cache.data||[];if(n.length)return n;var r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(e=0,t=r.length;e=e[s].pos&&t<=e[u].pos){var c=ce(e,"pos",t);s=c.lo,u=c.hi}var l=e[s];r=l.pos,o=l.time;var f=e[u];a=f.pos,i=f.time}else{if(t>=e[s].time&&t<=e[u].time){var d=ce(e,"time",t);s=d.lo,u=d.hi}var p=e[s];r=p.time,o=p.pos;var h=e[u];a=h.time,i=h.pos}var v=a-r;return v?o+(i-o)*(t-r)/v:o}ai.id="time",ai.defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",major:{enabled:!1}}};var ii=function(e){Object(i.a)(n,e);var t=Object(s.a)(n);function n(e){var r;return Object(d.a)(this,n),(r=t.call(this,e))._table=[],r._minPos=void 0,r._tableRange=void 0,r}return Object(p.a)(n,[{key:"initOffsets",value:function(){var e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=oi(t,this.min),this._tableRange=oi(t,this.max)-this._minPos,Object(a.a)(Object(o.a)(n.prototype),"initOffsets",this).call(this,e)}},{key:"buildLookupTable",value:function(e){var t,n,r,a,o,i=this.min,s=this.max,u=[],c=[];for(t=0,n=e.length;t=i&&a<=s&&u.push(a);if(u.length<2)return[{time:i,pos:0},{time:s,pos:1}];for(t=0,n=u.length;t<+~=|^:(),"'`\s])/g,b="undefined"!==typeof CSS&&CSS.escape,y=function(e){return b?b(e):e.replace(m,"\\$1")},w=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,a=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:a&&(this.renderer=new a)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var a=t;n&&!1===n.process||(a=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==a||!1===a,i=e in this.style;if(o&&!i&&!r)return this;var s=o&&i;if(s?delete this.style[e]:this.style[e]=a,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,a),this;var u=this.options.sheet;return u&&u.attached,this},e}(),_=function(e){function t(t,n,r){var a;a=e.call(this,t,n,r)||this;var o=r.selector,i=r.scoped,u=r.sheet,c=r.generateId;return o?a.selectorText=o:!1!==i&&(a.id=c(Object(s.a)(Object(s.a)(a)),u),a.selectorText="."+y(a.id)),a}Object(i.a)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=p(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return g(this.selectorText,this.style,n)},Object(o.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(w),x={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new _(e,t,n)}},O={indent:1,children:!0},k=/@([\w-]+)/,S=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var a=e.match(k);for(var o in this.at=a?a[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new $(Object(r.a)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=O);var t=h(e).linebreak;if(null==e.indent&&(e.indent=O.indent),null==e.children&&(e.children=O.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),j=/@media|@supports\s+/,E={onCreateRule:function(e,t,n){return j.test(e)?new S(e,t,n):null}},C={indent:1,children:!0},A=/@keyframes\s+([\w-]+)/,P=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var a=e.match(A);a&&a[1]?this.name=a[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,s=n.generateId;for(var u in this.id=!1===o?this.name:y(s(this,i)),this.rules=new $(Object(r.a)({},n,{parent:this})),t)this.rules.add(u,t[u],Object(r.a)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=C);var t=h(e).linebreak;if(null==e.indent&&(e.indent=C.indent),null==e.children&&(e.children=C.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),T=/@keyframes\s+/,R=/\$([\w-]+)/g,D=function(e,t){return"string"===typeof e?e.replace(R,(function(e,n){return n in t?t[n]:e})):e},M=function(e,t,n){var r=e[t],a=D(r,n);a!==r&&(e[t]=a)},I={onCreateRule:function(e,t,n){return"string"===typeof e&&T.test(e)?new P(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&M(e,"animation-name",n.keyframes),"animation"in e&&M(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return D(e,r.keyframes);default:return e}}},N=function(e){function t(){return e.apply(this,arguments)||this}return Object(i.a)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?Object(r.a)({},e,{allowEmpty:!0}):e;return g(this.key,this.style,n)},t}(w),L={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new N(e,t,n):null}},F=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=h(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=Object(u.a)(t,["attached"]),a=h(r).linebreak,o="",i=0;i0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var a=function(e){for(var t=ue(),n=0;nn?n:t},pe=function(){function e(e){this.getPropertyValue=ae,this.setProperty=oe,this.removeProperty=ie,this.setSelector=se,this.hasInsertedRules=!1,this.cssRules=[],e&&J.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,a=t.element;this.element=a||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=le();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=ce(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var a=n,o=a.parentNode;o&&o.insertBefore(e,a.nextSibling)}else ue().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,s=void 0===n?o.standard:n,u=t.easing,c=void 0===u?a.easeInOut:u,l=t.delay,f=void 0===l?0:l;Object(r.a)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof s?s:i(s)," ").concat(c," ").concat("string"===typeof f?f:i(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={};n.r(r),n.d(r,"FunctionToString",(function(){return u})),n.d(r,"InboundFilters",(function(){return h}));var a,o=n(14),i=n(13),s=n(52),u=function(){function e(){Object(o.a)(this,e),e.prototype.__init.call(this)}return Object(i.a)(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(){a=Function.prototype.toString,Function.prototype.toString=function(){for(var e=Object(s.f)(this)||this,t=arguments.length,n=new Array(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};Object(o.a)(this,e),this._options=t,e.prototype.__init.call(this)}return Object(i.a)(e,[{key:"__init",value:function(){this.name=e.id}},{key:"setupOnce",value:function(t,n){var r=function(t){var r=n();if(r){var a=r.getIntegration(e);if(a){var o=r.getClient(),i=o?o.getOptions():{},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[].concat(Object(c.a)(e.allowUrls||[]),Object(c.a)(t.allowUrls||[])),denyUrls:[].concat(Object(c.a)(e.denyUrls||[]),Object(c.a)(t.denyUrls||[])),ignoreErrors:[].concat(Object(c.a)(e.ignoreErrors||[]),Object(c.a)(t.ignoreErrors||[]),p),ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(a._options,i);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(t){}return!1}(e))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat(Object(f.e)(e))),!0;if(function(e,t){if(!t||!t.length)return!1;return function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,r=void 0===n?"":n,a=t.value,o=void 0===a?"":a;return["".concat(o),"".concat(r,": ").concat(o)]}catch(i){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.error("Cannot extract message for event ".concat(Object(f.e)(e))),[]}return[]}(e).some((function(e){return t.some((function(t){return Object(d.a)(e,t)}))}))}(e,t.ignoreErrors))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(Object(f.e)(e))),!0;if(function(e,t){if(!t||!t.length)return!1;var n=v(e);return!!n&&t.some((function(e){return Object(d.a)(n,e)}))}(e,t.denyUrls))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(Object(f.e)(e),".\nUrl: ").concat(v(e))),!0;if(!function(e,t){if(!t||!t.length)return!0;var n=v(e);return!n||t.some((function(e){return Object(d.a)(n,e)}))}(e,t.allowUrls))return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(Object(f.e)(e),".\nUrl: ").concat(v(e))),!0;return!1}(t,s)?null:t}}return t};r.id=this.name,t(r)}}],[{key:"__initStatic",value:function(){this.id="InboundFilters"}}]),e}();function v(e){try{var t;try{t=e.exception.values[0].stacktrace.frames}catch(n){}return t?function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length-1;t>=0;t--){var n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(r){return("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&l.c.error("Cannot extract url for event ".concat(Object(f.e)(e))),null}}h.__initStatic()},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),a=n(107);function o(){return r.useContext(a.a)}},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(161);n.o(r,"QueryClient")&&n.d(t,"QueryClient",(function(){return r.QueryClient})),n.o(r,"QueryClientProvider")&&n.d(t,"QueryClientProvider",(function(){return r.QueryClientProvider})),n.o(r,"useQuery")&&n.d(t,"useQuery",(function(){return r.useQuery}));var a=n(308);n.o(a,"QueryClient")&&n.d(t,"QueryClient",(function(){return a.QueryClient})),n.o(a,"QueryClientProvider")&&n.d(t,"QueryClientProvider",(function(){return a.QueryClientProvider})),n.o(a,"useQuery")&&n.d(t,"useQuery",(function(){return a.useQuery}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a}));var r=function(e){return e.scrollTop};function a(e,t){var n=e.timeout,r=e.style,a=void 0===r?{}:r;return{duration:a.transitionDuration||"number"===typeof n?n:n[t.mode]||0,delay:a.transitionDelay}}},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.Math==Math?e:void 0}n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));var a="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof e&&r(e)||function(){return this}()||{};function o(e,t,n){var r=n||a,o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}}).call(this,n(89))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return o}));n(3);var r=n(40);function a(e,t){return Object(r.a)().captureException(e,{captureContext:t})}function o(e){Object(r.a)().withScope(e)}},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(32);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(132)),o=n(91),i=r(n(319));var s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.makeStyles)(e,(0,a.default)({defaultTheme:i.default},t))};t.default=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return A})),n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return v})),n.d(t,"f",(function(){return g})),n.d(t,"e",(function(){return h}));var r=n(2);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;d--){var p=i[d];"."===p?o(i,d):".."===p?(o(i,d),f++):f&&(o(i,d),f--)}if(!c)for(;f--;f)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=s(t),a=s(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(83);function l(e){return"/"===e.charAt(0)?e:"/"+e}function f(e){return"/"===e.charAt(0)?e.substr(1):e}function d(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function v(e,t,n,a){var o;"string"===typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function m(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"===typeof e?e(t,n):e;"string"===typeof o?"function"===typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),f({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=v(e,t,d(),w.location);l.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,f({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,a=new Array(r),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Object(r.c)(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:Object(a.f)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did="".concat(t.did)),"number"===typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"===typeof t.duration)e.duration=t.duration;else{var n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"===typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function u(e,t){var n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),s(e,n)}},function(e,t,n){"use strict";var r=n(453),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var i=l(n);f&&(i=i.concat(f(n)));for(var s=u(t),v=u(n),g=0;g"']/g,Q=RegExp(K.source),J=RegExp(X.source),Z=/<%-([\s\S]+?)%>/g,ee=/<%([\s\S]+?)%>/g,te=/<%=([\s\S]+?)%>/g,ne=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ae=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),se=/^\s+/,ue=/\s/,ce=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,fe=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ge=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,be=/^0b[01]+$/i,ye=/^\[object .+?Constructor\]$/,we=/^0o[0-7]+$/i,_e=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Oe=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",je="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Ce="A-Z\\xc0-\\xd6\\xd8-\\xde",Ae="\\ufe0e\\ufe0f",Pe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Te="['\u2019]",Re="[\\ud800-\\udfff]",De="["+Pe+"]",Me="["+Se+"]",Ie="\\d+",Ne="[\\u2700-\\u27bf]",Le="["+Ee+"]",Fe="[^\\ud800-\\udfff"+Pe+Ie+je+Ee+Ce+"]",Be="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",qe="(?:\\ud83c[\\udde6-\\uddff]){2}",Ue="[\\ud800-\\udbff][\\udc00-\\udfff]",We="["+Ce+"]",He="(?:"+Le+"|"+Fe+")",Ve="(?:"+We+"|"+Fe+")",Ge="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ye="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Me+"|"+Be+")"+"?",Ke="[\\ufe0e\\ufe0f]?",Xe=Ke+$e+("(?:\\u200d(?:"+[ze,qe,Ue].join("|")+")"+Ke+$e+")*"),Qe="(?:"+[Ne,qe,Ue].join("|")+")"+Xe,Je="(?:"+[ze+Me+"?",Me,qe,Ue,Re].join("|")+")",Ze=RegExp(Te,"g"),et=RegExp(Me,"g"),tt=RegExp(Be+"(?="+Be+")|"+Je+Xe,"g"),nt=RegExp([We+"?"+Le+"+"+Ge+"(?="+[De,We,"$"].join("|")+")",Ve+"+"+Ye+"(?="+[De,We+He,"$"].join("|")+")",We+"?"+He+"+"+Ge,We+"+"+Ye,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,Qe].join("|"),"g"),rt=RegExp("[\\u200d\\ud800-\\udfff"+Se+Ae+"]"),at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,st={};st[L]=st[F]=st[B]=st[z]=st[q]=st[U]=st[W]=st[H]=st[V]=!0,st[y]=st[w]=st[I]=st[_]=st[N]=st[x]=st[O]=st[k]=st[j]=st[E]=st[C]=st[P]=st[T]=st[R]=st[M]=!1;var ut={};ut[y]=ut[w]=ut[I]=ut[N]=ut[_]=ut[x]=ut[L]=ut[F]=ut[B]=ut[z]=ut[q]=ut[j]=ut[E]=ut[C]=ut[P]=ut[T]=ut[R]=ut[D]=ut[U]=ut[W]=ut[H]=ut[V]=!0,ut[O]=ut[k]=ut[M]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,ft=parseInt,dt="object"==typeof e&&e&&e.Object===Object&&e,pt="object"==typeof self&&self&&self.Object===Object&&self,ht=dt||pt||Function("return this")(),vt=t&&!t.nodeType&&t,gt=vt&&"object"==typeof r&&r&&!r.nodeType&&r,mt=gt&>.exports===vt,bt=mt&&dt.process,yt=function(){try{var e=gt&>.require&>.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),wt=yt&&yt.isArrayBuffer,_t=yt&&yt.isDate,xt=yt&&yt.isMap,Ot=yt&&yt.isRegExp,kt=yt&&yt.isSet,St=yt&&yt.isTypedArray;function jt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Et(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a-1}function Dt(e,t,n){for(var r=-1,a=null==e?0:e.length;++r-1;);return n}function nn(e,t){for(var n=e.length;n--&&Ut(t,e[n],0)>-1;);return n}function rn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var an=Yt({"\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"}),on=Yt({"&":"&","<":"<",">":">",'"':""","'":"'"});function sn(e){return"\\"+ct[e]}function un(e){return rt.test(e)}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function fn(e,t){for(var n=-1,r=e.length,a=0,o=[];++n",""":'"',"'":"'"});var bn=function e(t){var n=(t=null==t?ht:bn.defaults(ht.Object(),t,bn.pick(ht,ot))).Array,r=t.Date,a=t.Error,ue=t.Function,Se=t.Math,je=t.Object,Ee=t.RegExp,Ce=t.String,Ae=t.TypeError,Pe=n.prototype,Te=ue.prototype,Re=je.prototype,De=t["__core-js_shared__"],Me=Te.toString,Ie=Re.hasOwnProperty,Ne=0,Le=function(){var e=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Fe=Re.toString,Be=Me.call(je),ze=ht._,qe=Ee("^"+Me.call(Ie).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ue=mt?t.Buffer:o,We=t.Symbol,He=t.Uint8Array,Ve=Ue?Ue.allocUnsafe:o,Ge=ln(je.getPrototypeOf,je),Ye=je.create,$e=Re.propertyIsEnumerable,Ke=Pe.splice,Xe=We?We.isConcatSpreadable:o,Qe=We?We.iterator:o,Je=We?We.toStringTag:o,tt=function(){try{var e=po(je,"defineProperty");return e({},"",{}),e}catch(t){}}(),rt=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,ct=r&&r.now!==ht.Date.now&&r.now,dt=t.setTimeout!==ht.setTimeout&&t.setTimeout,pt=Se.ceil,vt=Se.floor,gt=je.getOwnPropertySymbols,bt=Ue?Ue.isBuffer:o,yt=t.isFinite,Bt=Pe.join,Yt=ln(je.keys,je),yn=Se.max,wn=Se.min,_n=r.now,xn=t.parseInt,On=Se.random,kn=Pe.reverse,Sn=po(t,"DataView"),jn=po(t,"Map"),En=po(t,"Promise"),Cn=po(t,"Set"),An=po(t,"WeakMap"),Pn=po(je,"create"),Tn=An&&new An,Rn={},Dn=zo(Sn),Mn=zo(jn),In=zo(En),Nn=zo(Cn),Ln=zo(An),Fn=We?We.prototype:o,Bn=Fn?Fn.valueOf:o,zn=Fn?Fn.toString:o;function qn(e){if(rs(e)&&!Gi(e)&&!(e instanceof Vn)){if(e instanceof Hn)return e;if(Ie.call(e,"__wrapped__"))return qo(e)}return new Hn(e)}var Un=function(){function e(){}return function(t){if(!ns(t))return{};if(Ye)return Ye(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Wn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cr(e,t,n,r,a,i){var s,u=1&t,c=2&t,l=4&t;if(n&&(s=a?n(e,r,a,i):n(e)),s!==o)return s;if(!ns(e))return e;var f=Gi(e);if(f){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Ie.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!u)return Pa(e,s)}else{var d=go(e),p=d==k||d==S;if(Xi(e))return ka(e,u);if(d==C||d==y||p&&!a){if(s=c||p?{}:bo(e),!u)return c?function(e,t){return Ta(e,vo(e),t)}(e,function(e,t){return e&&Ta(t,Ms(t),e)}(s,e)):function(e,t){return Ta(e,ho(e),t)}(e,or(s,e))}else{if(!ut[d])return a?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case I:return Sa(e);case _:case x:return new r(+e);case N:return function(e,t){var n=t?Sa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case F:case B:case z:case q:case U:case W:case H:case V:return ja(e,n);case j:return new r;case E:case R:return new r(e);case P:return function(e){var t=new e.constructor(e.source,ge.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new r;case D:return a=e,Bn?je(Bn.call(a)):{}}var a}(e,d,u)}}i||(i=new Xn);var h=i.get(e);if(h)return h;i.set(e,s),us(e)?e.forEach((function(r){s.add(cr(r,t,n,r,e,i))})):as(e)&&e.forEach((function(r,a){s.set(a,cr(r,t,n,a,e,i))}));var v=f?o:(l?c?oo:ao:c?Ms:Ds)(e);return Ct(v||e,(function(r,a){v&&(r=e[a=r]),nr(s,a,cr(r,t,n,a,e,i))})),s}function lr(e,t,n){var r=n.length;if(null==e)return!r;for(e=je(e);r--;){var a=n[r],i=t[a],s=e[a];if(s===o&&!(a in e)||!i(s))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new Ae(i);return Do((function(){e.apply(o,n)}),t)}function dr(e,t,n,r){var a=-1,o=Rt,i=!0,s=e.length,u=[],c=t.length;if(!s)return u;n&&(t=Mt(t,Jt(n))),r?(o=Dt,i=!1):t.length>=200&&(o=en,i=!1,t=new Kn(t));e:for(;++a-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(jn||Yn),string:new Gn}},$n.prototype.delete=function(e){var t=lo(this,e).delete(e);return this.size-=t?1:0,t},$n.prototype.get=function(e){return lo(this,e).get(e)},$n.prototype.has=function(e){return lo(this,e).has(e)},$n.prototype.set=function(e,t){var n=lo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Kn.prototype.add=Kn.prototype.push=function(e){return this.__data__.set(e,s),this},Kn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!jn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new $n(r)}return n.set(e,t),this.size=n.size,this};var pr=Ma(_r),hr=Ma(xr,!0);function vr(e,t){var n=!0;return pr(e,(function(e,r,a){return n=!!t(e,r,a)})),n}function gr(e,t,n){for(var r=-1,a=e.length;++r0&&n(s)?t>1?br(s,t-1,n,r,a):It(a,s):r||(a[a.length]=s)}return a}var yr=Ia(),wr=Ia(!0);function _r(e,t){return e&&yr(e,t,Ds)}function xr(e,t){return e&&wr(e,t,Ds)}function Or(e,t){return Tt(t,(function(t){return Zi(e[t])}))}function kr(e,t){for(var n=0,r=(t=wa(t,e)).length;null!=e&&nt}function Cr(e,t){return null!=e&&Ie.call(e,t)}function Ar(e,t){return null!=e&&t in je(e)}function Pr(e,t,r){for(var a=r?Dt:Rt,i=e[0].length,s=e.length,u=s,c=n(s),l=1/0,f=[];u--;){var d=e[u];u&&t&&(d=Mt(d,Jt(t))),l=wn(d.length,l),c[u]=!r&&(t||i>=120&&d.length>=120)?new Kn(u&&d):o}d=e[0];var p=-1,h=c[0];e:for(;++p=s?u:u*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,a=t.length,o={};++r-1;)s!==e&&Ke.call(s,u,1),Ke.call(e,u,1);return e}function $r(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==o){var o=a;wo(a)?Ke.call(e,a,1):da(e,a)}}return e}function Kr(e,t){return e+vt(On()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>v)return n;do{t%2&&(n+=e),(t=vt(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Mo(Co(e,t,ou),e+"")}function Jr(e){return Jn(Us(e))}function Zr(e,t){var n=Us(e);return Lo(n,ur(t,0,n.length))}function ea(e,t,n,r){if(!ns(e))return e;for(var a=-1,i=(t=wa(t,e)).length,s=i-1,u=e;null!=u&&++ao?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=n(o);++a>>1,i=e[o];null!==i&&!ls(i)&&(n?i<=t:i=200){var c=t?null:Xa(e);if(c)return dn(c);i=!1,a=en,u=new Kn}else u=t?[]:s;e:for(;++r=r?e:aa(e,t,n)}var Oa=rt||function(e){return ht.clearTimeout(e)};function ka(e,t){if(t)return e.slice();var n=e.length,r=Ve?Ve(n):new e.constructor(n);return e.copy(r),r}function Sa(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function ja(e,t){var n=t?Sa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ea(e,t){if(e!==t){var n=e!==o,r=null===e,a=e===e,i=ls(e),s=t!==o,u=null===t,c=t===t,l=ls(t);if(!u&&!l&&!i&&e>t||i&&s&&c&&!u&&!l||r&&s&&c||!n&&c||!a)return 1;if(!r&&!i&&!l&&e1?n[a-1]:o,s=a>2?n[2]:o;for(i=e.length>3&&"function"==typeof i?(a--,i):o,s&&_o(n[0],n[1],s)&&(i=a<3?o:i,a=1),t=je(t);++r-1?a[i?t[s]:s]:o}}function za(e){return ro((function(t){var n=t.length,r=n,a=Hn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new Ae(i);if(a&&!u&&"wrapper"==so(s))var u=new Hn([],!0)}for(r=u?r:n;++r1&&y.reverse(),p&&lu))return!1;var l=i.get(e),f=i.get(t);if(l&&f)return l==t&&f==e;var d=-1,p=!0,h=2&n?new Kn:o;for(i.set(e,t),i.set(t,e);++d-1&&e%1==0&&e1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ce,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Ct(b,(function(n){var r="_."+n[0];t&n[1]&&!Rt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(fe):[]}(r),n)))}function No(e){var t=0,n=0;return function(){var r=_n(),a=16-(r-n);if(n=r,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Lo(e,t){var n=-1,r=e.length,a=r-1;for(t=t===o?r:t;++n1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,si(e,n)}));function hi(e){var t=qn(e);return t.__chain__=!0,t}function vi(e,t){return t(e)}var gi=ro((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,a=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Vn&&wo(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:vi,args:[a],thisArg:o}),new Hn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(a)}));var mi=Ra((function(e,t,n){Ie.call(e,n)?++e[n]:ir(e,n,1)}));var bi=Ba(Vo),yi=Ba(Go);function wi(e,t){return(Gi(e)?Ct:pr)(e,co(t,3))}function _i(e,t){return(Gi(e)?At:hr)(e,co(t,3))}var xi=Ra((function(e,t,n){Ie.call(e,n)?e[n].push(t):ir(e,n,[t])}));var Oi=Qr((function(e,t,r){var a=-1,o="function"==typeof t,i=$i(e)?n(e.length):[];return pr(e,(function(e){i[++a]=o?jt(t,e,r):Tr(e,t,r)})),i})),ki=Ra((function(e,t,n){ir(e,n,t)}));function Si(e,t){return(Gi(e)?Mt:zr)(e,co(t,3))}var ji=Ra((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ei=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&_o(e,t[0],t[1])?t=[]:n>2&&_o(t[0],t[1],t[2])&&(t=[t[0]]),Vr(e,br(t,1),[])})),Ci=ct||function(){return ht.Date.now()};function Ai(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Ja(e,d,o,o,o,o,t)}function Pi(e,t){var n;if("function"!=typeof t)throw new Ae(i);return e=gs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ti=Qr((function(e,t,n){var r=1;if(n.length){var a=fn(n,uo(Ti));r|=l}return Ja(e,r,t,n,a)})),Ri=Qr((function(e,t,n){var r=3;if(n.length){var a=fn(n,uo(Ri));r|=l}return Ja(t,r,e,n,a)}));function Di(e,t,n){var r,a,s,u,c,l,f=0,d=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ae(i);function v(t){var n=r,i=a;return r=a=o,f=t,u=e.apply(i,n)}function g(e){return f=e,c=Do(b,t),d?v(e):u}function m(e){var n=e-l;return l===o||n>=t||n<0||p&&e-f>=s}function b(){var e=Ci();if(m(e))return y(e);c=Do(b,function(e){var n=t-(e-l);return p?wn(n,s-(e-f)):n}(e))}function y(e){return c=o,h&&r?v(e):(r=a=o,u)}function w(){var e=Ci(),n=m(e);if(r=arguments,a=this,l=e,n){if(c===o)return g(l);if(p)return Oa(c),c=Do(b,t),v(l)}return c===o&&(c=Do(b,t)),u}return t=bs(t)||0,ns(n)&&(d=!!n.leading,s=(p="maxWait"in n)?yn(bs(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),w.cancel=function(){c!==o&&Oa(c),f=0,r=l=a=c=o},w.flush=function(){return c===o?u:y(Ci())},w}var Mi=Qr((function(e,t){return fr(e,1,t)})),Ii=Qr((function(e,t,n){return fr(e,bs(t)||0,n)}));function Ni(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ae(i);var n=function n(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(Ni.Cache||$n),n}function Li(e){if("function"!=typeof e)throw new Ae(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ni.Cache=$n;var Fi=_a((function(e,t){var n=(t=1==t.length&&Gi(t[0])?Mt(t[0],Jt(co())):Mt(br(t,1),Jt(co()))).length;return Qr((function(r){for(var a=-1,o=wn(r.length,n);++a=t})),Vi=Rr(function(){return arguments}())?Rr:function(e){return rs(e)&&Ie.call(e,"callee")&&!$e.call(e,"callee")},Gi=n.isArray,Yi=wt?Jt(wt):function(e){return rs(e)&&jr(e)==I};function $i(e){return null!=e&&ts(e.length)&&!Zi(e)}function Ki(e){return rs(e)&&$i(e)}var Xi=bt||bu,Qi=_t?Jt(_t):function(e){return rs(e)&&jr(e)==x};function Ji(e){if(!rs(e))return!1;var t=jr(e);return t==O||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!is(e)}function Zi(e){if(!ns(e))return!1;var t=jr(e);return t==k||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==gs(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=v}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var as=xt?Jt(xt):function(e){return rs(e)&&go(e)==j};function os(e){return"number"==typeof e||rs(e)&&jr(e)==E}function is(e){if(!rs(e)||jr(e)!=C)return!1;var t=Ge(e);if(null===t)return!0;var n=Ie.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Me.call(n)==Be}var ss=Ot?Jt(Ot):function(e){return rs(e)&&jr(e)==P};var us=kt?Jt(kt):function(e){return rs(e)&&go(e)==T};function cs(e){return"string"==typeof e||!Gi(e)&&rs(e)&&jr(e)==R}function ls(e){return"symbol"==typeof e||rs(e)&&jr(e)==D}var fs=St?Jt(St):function(e){return rs(e)&&ts(e.length)&&!!st[jr(e)]};var ds=Ya(Br),ps=Ya((function(e,t){return e<=t}));function hs(e){if(!e)return[];if($i(e))return cs(e)?vn(e):Pa(e);if(Qe&&e[Qe])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qe]());var t=go(e);return(t==j?cn:t==T?dn:Us)(e)}function vs(e){return e?(e=bs(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function gs(e){var t=vs(e),n=t%1;return t===t?n?t-n:t:0}function ms(e){return e?ur(gs(e),0,m):0}function bs(e){if("number"==typeof e)return e;if(ls(e))return g;if(ns(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ns(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=be.test(e);return n||we.test(e)?ft(e.slice(2),n?2:8):me.test(e)?g:+e}function ys(e){return Ta(e,Ms(e))}function ws(e){return null==e?"":la(e)}var _s=Da((function(e,t){if(So(t)||$i(t))Ta(t,Ds(t),e);else for(var n in t)Ie.call(t,n)&&nr(e,n,t[n])})),xs=Da((function(e,t){Ta(t,Ms(t),e)})),Os=Da((function(e,t,n,r){Ta(t,Ms(t),e,r)})),ks=Da((function(e,t,n,r){Ta(t,Ds(t),e,r)})),Ss=ro(sr);var js=Qr((function(e,t){e=je(e);var n=-1,r=t.length,a=r>2?t[2]:o;for(a&&_o(t[0],t[1],a)&&(r=1);++n1),t})),Ta(e,oo(e),n),r&&(n=cr(n,7,to));for(var a=t.length;a--;)da(n,t[a]);return n}));var Fs=ro((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return As(e,n)}))}(e,t)}));function Bs(e,t){if(null==e)return{};var n=Mt(oo(e),(function(e){return[e]}));return t=co(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var zs=Qa(Ds),qs=Qa(Ms);function Us(e){return null==e?[]:Zt(e,Ds(e))}var Ws=La((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Js(ws(e).toLowerCase())}function Vs(e){return(e=ws(e))&&e.replace(xe,an).replace(et,"")}var Gs=La((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Ys=La((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),$s=Na("toLowerCase");var Ks=La((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=La((function(e,t,n){return e+(n?" ":"")+Js(t)}));var Qs=La((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Js=Na("toUpperCase");function Zs(e,t,n){return e=ws(e),(t=n?o:t)===o?function(e){return at.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var eu=Qr((function(e,t){try{return jt(e,o,t)}catch(n){return Ji(n)?n:new a(n)}})),tu=ro((function(e,t){return Ct(t,(function(t){t=Bo(t),ir(e,t,Ti(e[t],e))})),e}));function nu(e){return function(){return e}}var ru=za(),au=za(!0);function ou(e){return e}function iu(e){return Nr("function"==typeof e?e:cr(e,1))}var su=Qr((function(e,t){return function(n){return Tr(n,e,t)}})),uu=Qr((function(e,t){return function(n){return Tr(e,n,t)}}));function cu(e,t,n){var r=Ds(t),a=Or(t,r);null!=n||ns(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=Or(t,Ds(t)));var o=!(ns(n)&&"chain"in n)||!!n.chain,i=Zi(e);return Ct(a,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),a=n.__actions__=Pa(this.__actions__);return a.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,It([this.value()],arguments))})})),e}function lu(){}var fu=Ha(Mt),du=Ha(Pt),pu=Ha(Ft);function hu(e){return xo(e)?Gt(Bo(e)):function(e){return function(t){return kr(t,e)}}(e)}var vu=Ga(),gu=Ga(!0);function mu(){return[]}function bu(){return!1}var yu=Wa((function(e,t){return e+t}),0),wu=Ka("ceil"),_u=Wa((function(e,t){return e/t}),1),xu=Ka("floor");var Ou=Wa((function(e,t){return e*t}),1),ku=Ka("round"),Su=Wa((function(e,t){return e-t}),0);return qn.after=function(e,t){if("function"!=typeof t)throw new Ae(i);return e=gs(e),function(){if(--e<1)return t.apply(this,arguments)}},qn.ary=Ai,qn.assign=_s,qn.assignIn=xs,qn.assignInWith=Os,qn.assignWith=ks,qn.at=Ss,qn.before=Pi,qn.bind=Ti,qn.bindAll=tu,qn.bindKey=Ri,qn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Gi(e)?e:[e]},qn.chain=hi,qn.chunk=function(e,t,r){t=(r?_o(e,t,r):t===o)?1:yn(gs(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var i=0,s=0,u=n(pt(a/t));ia?0:a+n),(r=r===o||r>a?a:gs(r))<0&&(r+=a),r=n>r?0:ms(r);n>>0)?(e=ws(e))&&("string"==typeof t||null!=t&&!ss(t))&&!(t=la(t))&&un(e)?xa(vn(e),0,n):e.split(t,n):[]},qn.spread=function(e,t){if("function"!=typeof e)throw new Ae(i);return t=null==t?0:yn(gs(t),0),Qr((function(n){var r=n[t],a=xa(n,0,t);return r&&It(a,r),jt(e,this,a)}))},qn.tail=function(e){var t=null==e?0:e.length;return t?aa(e,1,t):[]},qn.take=function(e,t,n){return e&&e.length?aa(e,0,(t=n||t===o?1:gs(t))<0?0:t):[]},qn.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?aa(e,(t=r-(t=n||t===o?1:gs(t)))<0?0:t,r):[]},qn.takeRightWhile=function(e,t){return e&&e.length?ha(e,co(t,3),!1,!0):[]},qn.takeWhile=function(e,t){return e&&e.length?ha(e,co(t,3)):[]},qn.tap=function(e,t){return t(e),e},qn.throttle=function(e,t,n){var r=!0,a=!0;if("function"!=typeof e)throw new Ae(i);return ns(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),Di(e,t,{leading:r,maxWait:t,trailing:a})},qn.thru=vi,qn.toArray=hs,qn.toPairs=zs,qn.toPairsIn=qs,qn.toPath=function(e){return Gi(e)?Mt(e,Bo):ls(e)?[e]:Pa(Fo(ws(e)))},qn.toPlainObject=ys,qn.transform=function(e,t,n){var r=Gi(e),a=r||Xi(e)||fs(e);if(t=co(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:ns(e)&&Zi(o)?Un(Ge(e)):{}}return(a?Ct:_r)(e,(function(e,r,a){return t(n,e,r,a)})),n},qn.unary=function(e){return Ai(e,1)},qn.union=ri,qn.unionBy=ai,qn.unionWith=oi,qn.uniq=function(e){return e&&e.length?fa(e):[]},qn.uniqBy=function(e,t){return e&&e.length?fa(e,co(t,2)):[]},qn.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?fa(e,o,t):[]},qn.unset=function(e,t){return null==e||da(e,t)},qn.unzip=ii,qn.unzipWith=si,qn.update=function(e,t,n){return null==e?e:pa(e,t,ya(n))},qn.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:pa(e,t,ya(n),r)},qn.values=Us,qn.valuesIn=function(e){return null==e?[]:Zt(e,Ms(e))},qn.without=ui,qn.words=Zs,qn.wrap=function(e,t){return Bi(ya(t),e)},qn.xor=ci,qn.xorBy=li,qn.xorWith=fi,qn.zip=di,qn.zipObject=function(e,t){return ma(e||[],t||[],nr)},qn.zipObjectDeep=function(e,t){return ma(e||[],t||[],ea)},qn.zipWith=pi,qn.entries=zs,qn.entriesIn=qs,qn.extend=xs,qn.extendWith=Os,cu(qn,qn),qn.add=yu,qn.attempt=eu,qn.camelCase=Ws,qn.capitalize=Hs,qn.ceil=wu,qn.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=bs(n))===n?n:0),t!==o&&(t=(t=bs(t))===t?t:0),ur(bs(e),t,n)},qn.clone=function(e){return cr(e,4)},qn.cloneDeep=function(e){return cr(e,5)},qn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:o)},qn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:o)},qn.conformsTo=function(e,t){return null==t||lr(e,t,Ds(t))},qn.deburr=Vs,qn.defaultTo=function(e,t){return null==e||e!==e?t:e},qn.divide=_u,qn.endsWith=function(e,t,n){e=ws(e),t=la(t);var r=e.length,a=n=n===o?r:ur(gs(n),0,r);return(n-=t.length)>=0&&e.slice(n,a)==t},qn.eq=Ui,qn.escape=function(e){return(e=ws(e))&&J.test(e)?e.replace(X,on):e},qn.escapeRegExp=function(e){return(e=ws(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},qn.every=function(e,t,n){var r=Gi(e)?Pt:vr;return n&&_o(e,t,n)&&(t=o),r(e,co(t,3))},qn.find=bi,qn.findIndex=Vo,qn.findKey=function(e,t){return zt(e,co(t,3),_r)},qn.findLast=yi,qn.findLastIndex=Go,qn.findLastKey=function(e,t){return zt(e,co(t,3),xr)},qn.floor=xu,qn.forEach=wi,qn.forEachRight=_i,qn.forIn=function(e,t){return null==e?e:yr(e,co(t,3),Ms)},qn.forInRight=function(e,t){return null==e?e:wr(e,co(t,3),Ms)},qn.forOwn=function(e,t){return e&&_r(e,co(t,3))},qn.forOwnRight=function(e,t){return e&&xr(e,co(t,3))},qn.get=Cs,qn.gt=Wi,qn.gte=Hi,qn.has=function(e,t){return null!=e&&mo(e,t,Cr)},qn.hasIn=As,qn.head=$o,qn.identity=ou,qn.includes=function(e,t,n,r){e=$i(e)?e:Us(e),n=n&&!r?gs(n):0;var a=e.length;return n<0&&(n=yn(a+n,0)),cs(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&Ut(e,t,n)>-1},qn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:gs(n);return a<0&&(a=yn(r+a,0)),Ut(e,t,a)},qn.inRange=function(e,t,n){return t=vs(t),n===o?(n=t,t=0):n=vs(n),function(e,t,n){return e>=wn(t,n)&&e=-9007199254740991&&e<=v},qn.isSet=us,qn.isString=cs,qn.isSymbol=ls,qn.isTypedArray=fs,qn.isUndefined=function(e){return e===o},qn.isWeakMap=function(e){return rs(e)&&go(e)==M},qn.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==jr(e)},qn.join=function(e,t){return null==e?"":Bt.call(e,t)},qn.kebabCase=Gs,qn.last=Jo,qn.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=r;return n!==o&&(a=(a=gs(n))<0?yn(r+a,0):wn(a,r-1)),t===t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):qt(e,Ht,a,!0)},qn.lowerCase=Ys,qn.lowerFirst=$s,qn.lt=ds,qn.lte=ps,qn.max=function(e){return e&&e.length?gr(e,ou,Er):o},qn.maxBy=function(e,t){return e&&e.length?gr(e,co(t,2),Er):o},qn.mean=function(e){return Vt(e,ou)},qn.meanBy=function(e,t){return Vt(e,co(t,2))},qn.min=function(e){return e&&e.length?gr(e,ou,Br):o},qn.minBy=function(e,t){return e&&e.length?gr(e,co(t,2),Br):o},qn.stubArray=mu,qn.stubFalse=bu,qn.stubObject=function(){return{}},qn.stubString=function(){return""},qn.stubTrue=function(){return!0},qn.multiply=Ou,qn.nth=function(e,t){return e&&e.length?Hr(e,gs(t)):o},qn.noConflict=function(){return ht._===this&&(ht._=ze),this},qn.noop=lu,qn.now=Ci,qn.pad=function(e,t,n){e=ws(e);var r=(t=gs(t))?hn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return Va(vt(a),n)+e+Va(pt(a),n)},qn.padEnd=function(e,t,n){e=ws(e);var r=(t=gs(t))?hn(e):0;return t&&rt){var r=e;e=t,t=r}if(n||e%1||t%1){var a=On();return wn(e+a*(t-e+lt("1e-"+((a+"").length-1))),t)}return Kr(e,t)},qn.reduce=function(e,t,n){var r=Gi(e)?Nt:$t,a=arguments.length<3;return r(e,co(t,4),n,a,pr)},qn.reduceRight=function(e,t,n){var r=Gi(e)?Lt:$t,a=arguments.length<3;return r(e,co(t,4),n,a,hr)},qn.repeat=function(e,t,n){return t=(n?_o(e,t,n):t===o)?1:gs(t),Xr(ws(e),t)},qn.replace=function(){var e=arguments,t=ws(e[0]);return e.length<3?t:t.replace(e[1],e[2])},qn.result=function(e,t,n){var r=-1,a=(t=wa(t,e)).length;for(a||(a=1,e=o);++rv)return[];var n=m,r=wn(e,m);t=co(t),e-=m;for(var a=Xt(r,t);++n=i)return e;var u=n-hn(r);if(u<1)return r;var c=s?xa(s,0,u).join(""):e.slice(0,u);if(a===o)return c+r;if(s&&(u+=c.length-u),ss(a)){if(e.slice(u).search(a)){var l,f=c;for(a.global||(a=Ee(a.source,ws(ge.exec(a))+"g")),a.lastIndex=0;l=a.exec(f);)var d=l.index;c=c.slice(0,d===o?u:d)}}else if(e.indexOf(la(a),u)!=u){var p=c.lastIndexOf(a);p>-1&&(c=c.slice(0,p))}return c+r},qn.unescape=function(e){return(e=ws(e))&&Q.test(e)?e.replace(K,mn):e},qn.uniqueId=function(e){var t=++Ne;return ws(e)+t},qn.upperCase=Qs,qn.upperFirst=Js,qn.each=wi,qn.eachRight=_i,qn.first=$o,cu(qn,function(){var e={};return _r(qn,(function(t,n){Ie.call(qn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),qn.VERSION="4.17.21",Ct(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){qn[e].placeholder=qn})),Ct(["drop","take"],(function(e,t){Vn.prototype[e]=function(n){n=n===o?1:yn(gs(n),0);var r=this.__filtered__&&!t?new Vn(this):this.clone();return r.__filtered__?r.__takeCount__=wn(n,r.__takeCount__):r.__views__.push({size:wn(n,m),type:e+(r.__dir__<0?"Right":"")}),r},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Ct(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Ct(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}})),Ct(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}})),Vn.prototype.compact=function(){return this.filter(ou)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=Qr((function(e,t){return"function"==typeof e?new Vn(this):this.map((function(n){return Tr(n,e,t)}))})),Vn.prototype.reject=function(e){return this.filter(Li(co(e)))},Vn.prototype.slice=function(e,t){e=gs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=gs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(m)},_r(Vn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),a=qn[r?"take"+("last"==t?"Right":""):t],i=r||/^find/.test(t);a&&(qn.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,u=t instanceof Vn,c=s[0],l=u||Gi(t),f=function(e){var t=a.apply(qn,It([e],s));return r&&d?t[0]:t};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var d=this.__chain__,p=!!this.__actions__.length,h=i&&!d,v=u&&!p;if(!i&&l){t=v?t:new Vn(this);var g=e.apply(t,s);return g.__actions__.push({func:vi,args:[f],thisArg:o}),new Hn(g,d)}return h&&v?e.apply(this,s):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})})),Ct(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);qn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(Gi(a)?a:[],e)}return this[n]((function(n){return t.apply(Gi(n)?n:[],e)}))}})),_r(Vn.prototype,(function(e,t){var n=qn[t];if(n){var r=n.name+"";Ie.call(Rn,r)||(Rn[r]=[]),Rn[r].push({name:t,func:n})}})),Rn[qa(o,2).name]=[{name:"wrapper",func:o}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=Pa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pa(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Gi(e),r=t<0,a=n?e.length:0,o=function(e,t,n){var r=-1,a=n.length;for(;++r=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},qn.prototype.plant=function(e){for(var t,n=this;n instanceof Wn;){var r=qo(n);r.__index__=0,r.__values__=o,t?a.__wrapped__=r:t=r;var a=r;n=n.__wrapped__}return a.__wrapped__=e,t},qn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:vi,args:[ni],thisArg:o}),new Hn(t,this.__chain__)}return this.thru(ni)},qn.prototype.toJSON=qn.prototype.valueOf=qn.prototype.value=function(){return va(this.__wrapped__,this.__actions__)},qn.prototype.first=qn.prototype.head,Qe&&(qn.prototype[Qe]=function(){return this}),qn}();ht._=bn,(a=function(){return bn}.call(t,n,t,r))===o||(r.exports=a)}).call(this)}).call(this,n(89),n(195)(e))},function(e,t,n){"use strict";n.d(t,"a",(function(){return Pa})),n.d(t,"b",(function(){return po})),n.d(t,"c",(function(){return mo}));var r=n(1),a=n.n(r),o=n(39),i=n(2),s=n(3);function u(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var c="function"===typeof Symbol&&Symbol.observable||"@@observable",l=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+l(),REPLACE:"@@redux/REPLACE"+l(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+l()}};function d(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function p(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(u(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(u(1));return n(p)(e,t)}if("function"!==typeof e)throw new Error(u(2));var a=e,o=t,i=[],s=i,l=!1;function h(){s===i&&(s=i.slice())}function v(){if(l)throw new Error(u(3));return o}function g(e){if("function"!==typeof e)throw new Error(u(4));if(l)throw new Error(u(5));var t=!0;return h(),s.push(e),function(){if(t){if(l)throw new Error(u(6));t=!1,h();var n=s.indexOf(e);s.splice(n,1),i=null}}}function m(e){if(!d(e))throw new Error(u(7));if("undefined"===typeof e.type)throw new Error(u(8));if(l)throw new Error(u(9));try{l=!0,o=a(o,e)}finally{l=!1}for(var t=i=s,n=0;n=0||(a[n]=e[n]);return a}var j=n(80),E=n.n(j),C=n(92),A=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],P=["reactReduxForwardedRef"],T=[],R=[null,null];function D(e,t){var n=e[1];return[t.payload,n+1]}function M(e,t,n){x((function(){return e.apply(void 0,t)}),n)}function I(e,t,n,r,a,o,i){e.current=r,t.current=a,n.current=!1,o.current&&(o.current=null,i())}function N(e,t,n,r,a,o,i,s,u,c){if(e){var l=!1,f=null,d=function(){if(!l){var e,n,d=t.getState();try{e=r(d,a.current)}catch(p){n=p,f=p}n||(f=null),e===o.current?i.current||u():(o.current=e,s.current=e,i.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var L=function(){return[null,0]};function F(e,t){void 0===t&&(t={});var n=t,o=n.getDisplayName,i=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,s=n.methodName,u=void 0===s?"connectAdvanced":s,c=n.renderCountProp,l=void 0===c?void 0:c,f=n.shouldHandleStateChanges,d=void 0===f||f,p=n.storeKey,h=void 0===p?"store":p,v=(n.withRef,n.forwardRef),g=void 0!==v&&v,b=n.context,y=void 0===b?m:b,w=S(n,A),x=y;return function(t){var n=t.displayName||t.name||"Component",o=i(n),s=k({},w,{getDisplayName:i,methodName:u,renderCountProp:l,shouldHandleStateChanges:d,storeKey:h,displayName:o,wrappedComponentName:n,WrappedComponent:t}),c=w.pure;var f=c?r.useMemo:function(e){return e()};function p(n){var o=Object(r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=S(n,P);return[n.context,e,t]}),[n]),i=o[0],u=o[1],c=o[2],l=Object(r.useMemo)((function(){return i&&i.Consumer&&Object(C.isContextConsumer)(a.a.createElement(i.Consumer,null))?i:x}),[i,x]),p=Object(r.useContext)(l),h=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(p)&&Boolean(p.store);var v=h?n.store:p.store,g=Object(r.useMemo)((function(){return function(t){return e(t.dispatch,s)}(v)}),[v]),m=Object(r.useMemo)((function(){if(!d)return R;var e=_(v,h?null:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[v,h,p]),b=m[0],y=m[1],w=Object(r.useMemo)((function(){return h?p:k({},p,{subscription:b})}),[h,p,b]),O=Object(r.useReducer)(D,T,L),j=O[0][0],E=O[1];if(j&&j.error)throw j.error;var A=Object(r.useRef)(),F=Object(r.useRef)(c),B=Object(r.useRef)(),z=Object(r.useRef)(!1),q=f((function(){return B.current&&c===F.current?B.current:g(v.getState(),c)}),[v,j,c]);M(I,[F,A,z,c,q,B,y]),M(N,[d,v,b,g,F,A,z,B,y,E],[v,b,g]);var U=Object(r.useMemo)((function(){return a.a.createElement(t,k({},q,{ref:u}))}),[u,t,q]);return Object(r.useMemo)((function(){return d?a.a.createElement(l.Provider,{value:w},U):U}),[l,U,w])}var v=c?a.a.memo(p):p;if(v.WrappedComponent=t,v.displayName=p.displayName=o,g){var m=a.a.forwardRef((function(e,t){return a.a.createElement(v,k({},e,{reactReduxForwardedRef:t}))}));return m.displayName=o,m.WrappedComponent=t,E()(m,t)}return E()(v,t)}}function B(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function z(e,t){if(B(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=0;a=0;r--){var a=t[r](e);if(a)return a}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function ee(e,t){return e===t}function te(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?F:n,a=t.mapStateToPropsFactories,o=void 0===a?V:a,i=t.mapDispatchToPropsFactories,s=void 0===i?H:i,u=t.mergePropsFactories,c=void 0===u?Y:u,l=t.selectorFactory,f=void 0===l?Q:l;return function(e,t,n,a){void 0===a&&(a={});var i=a,u=i.pure,l=void 0===u||u,d=i.areStatesEqual,p=void 0===d?ee:d,h=i.areOwnPropsEqual,v=void 0===h?z:h,g=i.areStatePropsEqual,m=void 0===g?z:g,b=i.areMergedPropsEqual,y=void 0===b?z:b,w=S(i,J),_=Z(e,o,"mapStateToProps"),x=Z(t,s,"mapDispatchToProps"),O=Z(n,c,"mergeProps");return r(f,k({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:_,initMapDispatchToProps:x,initMergeProps:O,pure:l,areStatesEqual:p,areOwnPropsEqual:v,areStatePropsEqual:m,areMergedPropsEqual:y},w))}}var ne=te();var re,ae=n(33),oe=n.n(ae);function ie(e,t){var n=Object(r.useState)((function(){return{inputs:t,result:e()}}))[0],a=Object(r.useRef)(!0),o=Object(r.useRef)(n),i=a.current||Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}Object(o.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=je(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Ce))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(a.a.Component),Te=function(e){return e+1},Re=function(e,t){var n=e.droppableId===t.droppableId,r=Te(e.index),a=Te(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+a+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+a+"\n "},De=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},Me=function(e){return"\n The item has returned to its starting position\n of "+Te(e.index)+"\n"},Ie="\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",Ne=function(e){return"\n You have lifted an item in position "+Te(e.source.index)+"\n"},Le=function(e){var t=e.destination;if(t)return Re(e.source,t);var n=e.combine;return n?De(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},Fe=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+Me(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+Re(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+De(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+Me(e.source)+"\n "},Be={x:0,y:0},ze=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},qe=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Ue=function(e,t){return e.x===t.x&&e.y===t.y},We=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},He=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},Ve=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Ge=function(e,t){return Math.min.apply(Math,t.map((function(t){return Ve(e,t)})))},Ye=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},$e=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Ke=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Xe=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=le({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):le(e)},Qe=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,a=e.frame,o=function(e,t){return t?$e(e,t.scroll.diff.displacement):e}(t.marginBox,a),s=function(e,t,n){var r;return n&&n.increasedBy?Object(i.a)({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(o,r,n);return{page:t,withPlaceholder:n,active:Xe(s,a)}},Je=function(e,t){e.frame||Ae(!1);var n=e.frame,r=qe(t,n.scroll.initial),a=We(r),o=Object(i.a)({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:a},max:n.scroll.max}}),s=Qe({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o});return Object(i.a)({},e,{frame:o,subject:s})};function Ze(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function et(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;ne.bottom,s=r.lefte.right;return!(!i||!s)||(i&&o||s&&a)}},mt=function(e){var t=vt(e.top,e.bottom),n=vt(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},bt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},yt={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},wt=function(e){var t=e.target,n=e.destination,r=e.viewport,a=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,i=a?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Be;return $e(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(i,n,o)&&function(e,t,n){return n(t)(e)}(i,r,o)},_t=function(e){return wt(Object(i.a)({},e,{isVisibleThroughFrameFn:gt}))},xt=function(e){return wt(Object(i.a)({},e,{isVisibleThroughFrameFn:mt}))};function Ot(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,a=e.viewport,o=e.forceShouldAnimate,i=e.last;return t.reduce((function(e,t){var s=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return le(fe(n,r))}(t,r),u=t.descriptor.id;if(e.all.push(u),!_t({target:s,destination:n,viewport:a,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var c=function(e,t,n){if("boolean"===typeof n)return n;if(!t)return!0;var r=t.invisible,a=t.visible;if(r[e])return!1;var o=a[e];return!o||o.shouldAnimate}(u,i,o),l={draggableId:u,shouldAnimate:c};return e.visible[u]=l,e}),{all:[],visible:{},invisible:{}})}function kt(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,a=e.destination,o=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:pt,displacedBy:r,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:o}}}}function St(e){var t=e.draggable,n=e.insideDestination,r=e.destination,a=e.viewport,o=e.displacedBy,i=e.last,s=e.index,u=e.forceShouldAnimate,c=ft(t,r);if(null==s)return kt({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var l=tt(n,(function(e){return e.descriptor.index===s}));if(!l)return kt({insideDestination:n,inHomeList:c,displacedBy:o,destination:r});var f=lt(t,n),d=n.indexOf(l);return{displaced:Ot({afterDragging:f.slice(d),destination:r,displacedBy:o,last:i,viewport:a.frame,forceShouldAnimate:u}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function jt(e,t){return Boolean(t.effected[e])}var Et=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,a=e.draggables,o=e.destination,i=e.insideDestination,s=e.previousImpact,u=e.viewport,c=e.afterCritical,l=s.at;if(l||Ae(!1),"REORDER"===l.type){var f=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,a=e.location;if(!r.length)return null;var o=a.index,i=t?o+1:o-1,s=r[0].descriptor.index,u=r[r.length-1].descriptor.index;return i(n?u:u+1)?null:i}({isMovingForward:t,isInHomeList:n,location:l.destination,insideDestination:i});return null==f?null:St({draggable:r,insideDestination:i,destination:o,viewport:u,last:s.displaced,displacedBy:s.displacedBy,index:f})}var d=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,a=e.combine,o=e.afterCritical;if(!n.isCombineEnabled)return null;var i=a.draggableId,s=r[i].descriptor.index;return jt(i,o)?t?s:s-1:t?s+1:s}({isMovingForward:t,destination:o,displaced:s.displaced,draggables:a,combine:l.combine,afterCritical:c});return null==d?null:St({draggable:r,insideDestination:i,destination:o,viewport:u,last:s.displaced,displacedBy:s.displacedBy,index:d})},Ct=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,a=ct(n);a||Ae(!1);var o=a.draggableId,i=r[o].page.borderBox.center,s=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,a=e.displacedBy,o=Boolean(t.visible[r]||t.invisible[r]);return jt(r,n)?o?Be:We(a.point):o?a.point:Be}({displaced:n.displaced,afterCritical:t,combineWith:o,displacedBy:n.displacedBy});return ze(i,s)},At=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Pt=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Tt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return He(t.line,n.marginBox[t.end]+At(t,r),Pt(t,n.marginBox,r))},Rt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return He(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Pt(t,n.marginBox,r))},Dt=function(e){var t=e.impact,n=e.draggable,r=e.draggables,a=e.droppable,o=e.afterCritical,i=st(a.descriptor.id,r),s=n.page,u=a.axis;if(!i.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return He(t.line,n.contentBox[t.start]+At(t,r),Pt(t,n.contentBox,r))}({axis:u,moveInto:a.page,isMoving:s});var c=t.displaced,l=t.displacedBy,f=c.all[0];if(f){var d=r[f];if(jt(f,o))return Rt({axis:u,moveRelativeTo:d.page,isMoving:s});var p=ge(d.page,l.point);return Rt({axis:u,moveRelativeTo:p,isMoving:s})}var h=i[i.length-1];if(h.descriptor.id===n.descriptor.id)return s.borderBox.center;if(jt(h.descriptor.id,o)){var v=ge(h.page,We(o.displacedBy.point));return Tt({axis:u,moveRelativeTo:v,isMoving:s})}return Tt({axis:u,moveRelativeTo:h.page,isMoving:s})},Mt=function(e,t){var n=e.frame;return n?ze(t,n.scroll.diff.displacement):t},It=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,a=e.draggables,o=e.afterCritical,i=n.page.borderBox.center,s=t.at;return r&&s?"REORDER"===s.type?Dt({impact:t,draggable:n,draggables:a,droppable:r,afterCritical:o}):Ct({impact:t,draggables:a,afterCritical:o}):i}(e),n=e.droppable;return n?Mt(n,t):t},Nt=function(e,t){var n=qe(t,e.scroll.initial),r=We(n);return{frame:le({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function Lt(e,t){return e.map((function(e){return t[e]}))}var Ft=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return ze(e.scroll.diff.displacement,t)}(e.viewport,t),a=qe(r,n.page.borderBox.center);return ze(n.client.borderBox.center,a)},Bt=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,a=e.viewport,o=e.withDroppableDisplacement,s=e.onlyOnMainAxis,u=void 0!==s&&s,c=qe(r,t.page.borderBox.center),l={target:$e(t.page.borderBox,c),destination:n,withDroppableDisplacement:o,viewport:a};return u?function(e){return wt(Object(i.a)({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=vt(e.top,e.bottom),r=vt(e.left,e.right);return function(e){return t===bt?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(l):xt(l)},zt=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,a=e.draggables,o=e.previousImpact,s=e.viewport,u=e.previousPageBorderBoxCenter,c=e.previousClientSelection,l=e.afterCritical;if(!r.isEnabled)return null;var f=st(r.descriptor.id,a),d=ft(n,r),p=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,a=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;if(!ut(o))return null;function s(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return Object(i.a)({},o,{at:t})}var u=o.displaced.all,c=u.length?u[0]:null;if(t)return c?s(c):null;var l=lt(n,a);if(!c)return l.length?s(l[l.length-1].descriptor.id):null;var f=et(l,(function(e){return e.descriptor.id===c}));-1===f&&Ae(!1);var d=f-1;return d<0?null:s(l[d].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:f,previousImpact:o})||Et({isMovingForward:t,isInHomeList:d,draggable:n,draggables:a,destination:r,insideDestination:f,previousImpact:o,viewport:s,afterCritical:l});if(!p)return null;var h=It({impact:p,draggable:n,droppable:r,draggables:a,afterCritical:l});if(Bt({draggable:n,destination:r,newPageBorderBoxCenter:h,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Ft({pageBorderBoxCenter:h,draggable:n,viewport:s}),impact:p,scrollJumpRequest:null};var v=qe(h,u),g=function(e){var t=e.impact,n=e.viewport,r=e.destination,a=e.draggables,o=e.maxScrollChange,s=Nt(n,ze(n.scroll.current,o)),u=r.frame?Je(r,ze(r.frame.scroll.current,o)):r,c=t.displaced,l=Ot({afterDragging:Lt(c.all,a),destination:r,displacedBy:t.displacedBy,viewport:s.frame,last:c,forceShouldAnimate:!1}),f=Ot({afterDragging:Lt(c.all,a),destination:u,displacedBy:t.displacedBy,viewport:n.frame,last:c,forceShouldAnimate:!1}),d={},p={},h=[c,l,f];return c.all.forEach((function(e){var t=function(e,t){for(var n=0;n1?l.sort((function(e,t){return qt(e)[s.start]-qt(t)[s.start]}))[0]:c.sort((function(e,t){var r=Ge(n,Ke(qt(e))),a=Ge(n,Ke(qt(t)));return r!==a?r-a:qt(e)[s.start]-qt(t)[s.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:a,droppables:i,viewport:s});if(!c)return null;var l=st(c.descriptor.id,o),f=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,a=e.insideDestination,o=e.afterCritical;return a.filter((function(e){return xt({target:Wt(e,o),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var a=Ve(t,Mt(r,Ut(e,o))),i=Ve(t,Mt(r,Ut(n,o)));return ar.left&&n.topr.top))return!1;if(Qt(a)(t.center))return!0;var o=e.axis,i=a.center[o.crossAxisLine],s=t[o.crossAxisStart],u=t[o.crossAxisEnd],c=vt(a[o.crossAxisStart],a[o.crossAxisEnd]),l=c(s),f=c(u);return!l&&!f||(l?si)}));return a.length?1===a.length?a[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,a=n.page.borderBox.center,o=r.map((function(e){var n=e.axis,r=He(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:Ve(a,r)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}({pageBorderBox:t,draggable:n,candidates:a}):null}var Zt=function(e,t){return le($e(e,t))};function en(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var tn=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,a=e.droppables,o=e.previousImpact,i=e.viewport,s=e.afterCritical,u=Zt(n.page.borderBox,t),c=Jt({pageBorderBox:u,draggable:n,droppables:a});if(!c)return ht;var l=a[c],f=st(l.descriptor.id,r),d=function(e,t){var n=e.frame;return n?Zt(t,n.scroll.diff.value):t}(l,u);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,a=e.destination,o=e.insideDestination,i=e.afterCritical;if(!a.isCombineEnabled)return null;var s=a.axis,u=Ht(a.axis,t.displaceBy),c=u.value,l=n[s.start],f=n[s.end],d=tt(lt(t,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox,a=n[s.size]/4,o=jt(t,i),u=en({displaced:r.displaced,id:t});return o?u?f>n[s.start]+a&&fn[s.start]-c+a&&ln[s.start]+c+a&&fn[s.start]+a&&lt.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:tt(lt(n,a),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[u.line],r=jt(t,s),a=en({displaced:o,id:t});return r?a?d<=n:f=1500)return zn;var o=Bn+qn*(a/1500);return Number(("CANCEL"===r?.6*o:o).toFixed(2))}({current:a.current.client.offset,destination:m,reason:o});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:m,dropDuration:y,completed:b}))}else n(Cn({completed:b}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(r)}}},Wn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Hn(e){var t=e.onWindowScroll;var n,r=Oe((function(){t(Wn())})),a=(n=r,{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.target!==window&&e.target!==window.document||n()}}),o=Se;function i(){return o!==Se}return{start:function(){i()&&Ae(!1),o=je(window,[a])},stop:function(){i()||Ae(!1),r.cancel(),o(),o=Se},isActive:i}}var Vn=function(e){var t=Hn({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},Gn=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=et(e,(function(e){return e.timerId===t}));-1===n&&Ae(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Yn=function(e,t){ln(),t(),fn()},$n=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Kn=function(e,t,n,r){if(e){var a=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),a=function(a){t||n||(t=!0,e(a),clearTimeout(r))};return a.wasCalled=function(){return t},a}(n);e(t,{announce:a}),a.wasCalled()||n(r(t))}else n(r(t))},Xn=function(e,t){var n=function(e,t){var n=Gn(),r=null,a=function(n){r||Ae(!1),r=null,Yn(0,(function(){return Kn(e().onDragEnd,n,t,Fe)}))};return{beforeCapture:function(t,n){r&&Ae(!1),Yn(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&Ae(!1),Yn(0,(function(){var r=e().onBeforeDragStart;r&&r($n(t,n))}))},start:function(a,o){r&&Ae(!1);var i=$n(a,o);r={mode:o,lastCritical:a,lastLocation:i.source,lastCombine:null},n.add((function(){Yn(0,(function(){return Kn(e().onDragStart,i,t,Ne)}))}))},update:function(a,o){var s=ut(o),u=ct(o);r||Ae(!1);var c=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(a,r.lastCritical);c&&(r.lastCritical=a);var l,f,d=(f=s,!(null==(l=r.lastLocation)&&null==f||null!=l&&null!=f&&l.droppableId===f.droppableId&&l.index===f.index));d&&(r.lastLocation=s);var p=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(r.lastCombine,u);if(p&&(r.lastCombine=u),c||d||p){var h=Object(i.a)({},$n(a,r.mode),{combine:u,destination:s});n.add((function(){Yn(0,(function(){return Kn(e().onDragUpdate,h,t,Le)}))}))}},flush:function(){r||Ae(!1),n.flush()},drop:a,abort:function(){if(r){var e=Object(i.a)({},$n(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});a(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var a=r.payload.critical;return n.beforeStart(a,r.payload.movementMode),t(r),void n.start(a,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var o=r.payload.completed.result;return n.flush(),t(r),void n.drop(o)}if(t(r),"FLUSH"!==r.type){var i=e.getState();"DRAGGING"===i.phase&&n.update(i.critical,i.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Qn=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Ae(!1),e.dispatch(Cn({completed:r.completed}))}else t(n)}}},Jn=function(e){var t=null,n=null;return function(r){return function(a){if("FLUSH"!==a.type&&"DROP_COMPLETE"!==a.type&&"DROP_ANIMATION_FINISHED"!==a.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(a),"DROP_ANIMATE"===a.type){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=je(window,[o])}))}}}},Zn=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(An({reason:r.reason})))}}}},er=g,tr=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,a=e.styleMarshal,o=e.getResponders,i=e.announce,c=e.autoScroller;return p(mn,er(function(){for(var e=arguments.length,t=new Array(e),n=0;nt.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return hr;if(e===t.startScrollingFrom)return 1;var n=mr({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=hr*vr(1-n);return Math.ceil(r)}(t,n);return 0===o?0:a?Math.max(function(e,t){var n=t,r=yr,a=Date.now()-n;if(a>=yr)return e;if(at.height,o=n.width>t.width;return o||a?o&&a?null:{x:o?0:r.x,y:a?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return l?Ue(l,Be)?null:l:null},kr=Ye((function(e){return 0===e?0:e>0?1:-1})),Sr=function(){var e=function(e,t){return e<0?e:e>t?e-t:0};return function(t){var n=t.current,r=t.max,a=t.change,o=ze(n,a),i={x:e(o.x,r.x),y:e(o.y,r.y)};return Ue(i,Be)?null:i}}(),jr=function(e){var t=e.max,n=e.current,r=e.change,a={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},o=kr(r),i=Sr({max:a,current:n,change:o});return!i||(0!==o.x&&0===i.x||0!==o.y&&0===i.y)},Er=function(e,t){return jr({current:e.scroll.current,max:e.scroll.max,change:t})},Cr=function(e,t){var n=e.frame;return!!n&&jr({current:n.scroll.current,max:n.scroll.max,change:t})},Ar=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,a=e.scrollWindow,o=e.scrollDroppable,i=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var u=function(e){var t=e.viewport,n=e.subject,r=e.center,a=e.dragStartTime,o=e.shouldUseTimeDampening,i=Or({dragStartTime:a,container:t.frame,subject:n,center:r,shouldUseTimeDampening:o});return i&&Er(t,i)?i:null}({dragStartTime:n,viewport:t.viewport,subject:s,center:i,shouldUseTimeDampening:r});if(u)return void a(u)}var c=fr({center:i,destination:$t(t.impact),droppables:t.dimensions.droppables});if(c){var l=function(e){var t=e.droppable,n=e.subject,r=e.center,a=e.dragStartTime,o=e.shouldUseTimeDampening,i=t.frame;if(!i)return null;var s=Or({dragStartTime:a,container:i.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:o});return s&&Cr(t,s)?s:null}({dragStartTime:n,droppable:c,subject:s,center:i,shouldUseTimeDampening:r});l&&o(c.descriptor.id,l)}},Pr=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,a=function(e,t){if(!Cr(e,t))return t;var r=function(e,t){var n=e.frame;return n&&Cr(e,t)?Sr({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var a=qe(t,r);return n(e.descriptor.id,a),qe(t,a)},o=function(e,t,n){if(!e)return n;if(!Er(t,n))return n;var a=function(e,t){if(!Er(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return Sr({current:r,max:n,change:t})}(t,n);if(!a)return r(n),null;var o=qe(n,a);return r(o),qe(n,o)};return function(e){var n=e.scrollJumpRequest;if(n){var r=$t(e.impact);r||Ae(!1);var i=a(e.dimensions.droppables[r],n);if(i){var s=e.viewport,u=o(e.isWindowScrollAllowed,s,i);u&&function(e,n){var r=ze(e.current.client.selection,n);t({client:r})}(e,u)}}}},Tr=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,a=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=Oe(t),a=Oe(n),o=null,i=function(e){o||Ae(!1);var t=o,n=t.shouldUseTimeDampening,i=t.dragStartTime;Ar({state:e,scrollWindow:r,scrollDroppable:a,dragStartTime:i,shouldUseTimeDampening:n})};return{start:function(e){ln(),o&&Ae(!1);var t=Date.now(),n=!1,r=function(){n=!0};Ar({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),o={dragStartTime:t,shouldUseTimeDampening:n},fn(),n&&i(e)},stop:function(){o&&(r.cancel(),a.cancel(),o=null)},scroll:i}}({scrollWindow:n,scrollDroppable:t}),o=Pr({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):a.scroll(e))},start:a.start,stop:a.stop}},Rr=function(){var e="data-rbd-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Dr=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Mr=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Ir={contextId:"data-rbd-scroll-container-context-id"},Nr=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Lr="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect,Fr=function(){var e=document.querySelector("head");return e||Ae(!1),e},Br=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function zr(e,t){var n=se((function(){return function(e){var t,n=(t=e,function(e){return"["+e+'="'+t+'"]'}),r=function(){var e="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:n(Rr.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:e,dragging:"pointer-events: none;",dropAnimating:e}}}(),a=[function(){var e="\n transition: "+In.outOfTheWay+";\n ";return{selector:n(Dr.contextId),styles:{dragging:e,dropAnimating:e,userCancel:e}}}(),r,{selector:n(Mr.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:Nr(a,"always"),resting:Nr(a,"resting"),dragging:Nr(a,"dragging"),dropAnimating:Nr(a,"dropAnimating"),userCancel:Nr(a,"userCancel")}}(e)}),[e]),a=Object(r.useRef)(null),o=Object(r.useRef)(null),i=ue(xe((function(e){var t=o.current;t||Ae(!1),t.textContent=e})),[]),s=ue((function(e){var t=a.current;t||Ae(!1),t.textContent=e}),[]);Lr((function(){(a.current||o.current)&&Ae(!1);var r=Br(t),u=Br(t);return a.current=r,o.current=u,r.setAttribute("data-rbd-always",e),u.setAttribute("data-rbd-dynamic",e),Fr().appendChild(r),Fr().appendChild(u),s(n.always),i(n.resting),function(){var e=function(e){var t=e.current;t||Ae(!1),Fr().removeChild(t),e.current=null};e(a),e(o)}}),[t,s,i,n.always,n.resting,e]);var u=ue((function(){return i(n.dragging)}),[i,n.dragging]),c=ue((function(e){i("DROP"!==e?n.userCancel:n.dropAnimating)}),[i,n.dropAnimating,n.userCancel]),l=ue((function(){o.current&&i(n.resting)}),[i,n.resting]);return se((function(){return{dragging:u,dropping:c,resting:l}}),[u,c,l])}var qr=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Ur(e){return e instanceof qr(e).HTMLElement}function Wr(e,t){var n="["+Rr.contextId+'="'+e+'"]',r=nt(document.querySelectorAll(n));if(!r.length)return null;var a=tt(r,(function(e){return e.getAttribute(Rr.draggableId)===t}));return a&&Ur(a)?a:null}function Hr(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function a(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var a=t.descriptor.id,o=r(a);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[a],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||Ae(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return Ze(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=a(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=a(e);return t||Ae(!1),t},findById:a,exists:function(e){return Boolean(a(e))},getAllByType:function(t){return Ze(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Vr=a.a.createContext(null),Gr=function(){var e=document.body;return e||Ae(!1),e},Yr={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var $r=0,Kr={separator:"::"};function Xr(e,t){return void 0===t&&(t=Kr),se((function(){return""+e+t.separator+$r++}),[t.separator,e])}var Qr=a.a.createContext(null);function Jr(e){0}function Zr(e,t){Jr()}function ea(){Zr()}function ta(e){var t=Object(r.useRef)(e);return Object(r.useEffect)((function(){t.current=e})),t}var na,ra=((na={})[13]=!0,na[9]=!0,na),aa=function(e){ra[e.keyCode]&&e.preventDefault()},oa=function(){var e="visibilitychange";return"undefined"===typeof document?e:tt([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var ia,sa={type:"IDLE"};function ua(e){var t=e.cancel,n=e.completed,r=e.getPhase,a=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,o=e.clientY;if(0===t){var i={x:n,y:o},s=r();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(i);"PENDING"!==s.type&&Ae(!1);var u=s.point;if(c=u,l=i,Math.abs(l.x-c.x)>=5||Math.abs(l.y-c.y)>=5){var c,l;e.preventDefault();var f=s.actions.fluidLift(i);a({type:"DRAGGING",actions:f})}}}},{eventName:"mouseup",fn:function(e){var a=r();"DRAGGING"===a.type?(e.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void aa(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&Ae(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:oa,fn:t}]}function ca(){}var la=((ia={})[34]=!0,ia[33]=!0,ia[36]=!0,ia[35]=!0,ia);function fa(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(la[r.keyCode]?r.preventDefault():aa(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:oa,fn:n}]}var da={type:"IDLE"};var pa={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ha(e,t){if(null==t)return!1;if(Boolean(pa[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&ha(e,t.parentElement)}function va(e,t){var n=t.target;return!!Ur(n)&&ha(e,n)}var ga=function(e){return le(e.getBoundingClientRect()).center};var ma=function(){var e="matches";return"undefined"===typeof document?e:tt([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function ba(e,t){return null==e?null:e[ma](t)?e:ba(e.parentElement,t)}function ya(e,t){return e.closest?e.closest(t):ba(e,t)}function wa(e,t){var n,r=t.target;if(!((n=r)instanceof qr(n).Element))return null;var a=function(e){return"["+Rr.contextId+'="'+e+'"]'}(e),o=ya(r,a);return o&&Ur(o)?o:null}function _a(e){e.preventDefault()}function xa(e){var t=e.expected,n=e.phase,r=e.isLockActive;e.shouldWarn;return!!r()&&t===n}function Oa(e){var t=e.lockAPI,n=e.store,r=e.registry,a=e.draggableId;if(t.isClaimed())return!1;var o=r.draggable.findById(a);return!!o&&(!!o.options.isEnabled&&!!ur(n.getState(),a))}function ka(e){var t=e.lockAPI,n=e.contextId,r=e.store,a=e.registry,o=e.draggableId,s=e.forceSensorStop,u=e.sourceEvent;if(!Oa({lockAPI:t,store:r,registry:a,draggableId:o}))return null;var c=a.draggable.getById(o),l=function(e,t){var n="["+Dr.contextId+'="'+e+'"]',r=tt(nt(document.querySelectorAll(n)),(function(e){return e.getAttribute(Dr.id)===t}));return r&&Ur(r)?r:null}(n,c.descriptor.id);if(!l)return null;if(u&&!c.options.canDragInteractiveElements&&va(l,u))return null;var f=t.claim(s||Se),d="PRE_DRAG";function p(){return c.options.shouldRespectForcePress}function h(){return t.isActive(f)}var v=function(e,t){xa({expected:e,phase:d,isLockActive:h,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function g(e){function n(){t.release(),d="COMPLETED"}function a(t,a){if(void 0===a&&(a={shouldBlockNextClick:!1}),e.cleanup(),a.shouldBlockNextClick){var o=je(window,[{eventName:"click",fn:_a,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}n(),r.dispatch(An({reason:t}))}return"PRE_DRAG"!==d&&(n(),"PRE_DRAG"!==d&&Ae(!1)),r.dispatch(function(e){return{type:"LIFT",payload:e}}(e.liftActionArgs)),d="DRAGGING",Object(i.a)({isActive:function(){return xa({expected:"DRAGGING",phase:d,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return a("DROP",e)},cancel:function(e){return a("CANCEL",e)}},e.actions)}return{isActive:function(){return xa({expected:"PRE_DRAG",phase:d,isLockActive:h,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(e){var t=Oe((function(e){v((function(){return On({client:e})}))})),n=g({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}});return Object(i.a)({},n,{move:t})},snapLift:function(){var e={moveUp:function(){return v(kn)},moveRight:function(){return v(jn)},moveDown:function(){return v(Sn)},moveLeft:function(){return v(En)}};return g({liftActionArgs:{id:o,clientSelection:ga(l),movementMode:"SNAP"},cleanup:Se,actions:e})},abort:function(){xa({expected:"PRE_DRAG",phase:d,isLockActive:h,shouldWarn:!0})&&t.release()}}}var Sa=[function(e){var t=Object(r.useRef)(sa),n=Object(r.useRef)(Se),a=se((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var a=e.tryGetLock(r,s,{sourceEvent:t});if(a){t.preventDefault();var o={x:t.clientX,y:t.clientY};n.current(),l(a,o)}}}}}}),[e]),o=se((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),i=ue((function(){n.current=je(window,[o,a],{passive:!1,capture:!0})}),[o,a]),s=ue((function(){"IDLE"!==t.current.type&&(t.current=sa,n.current(),i())}),[i]),u=ue((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),c=ue((function(){var e=ua({cancel:u,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=je(window,e,{capture:!0,passive:!1})}),[u,s]),l=ue((function(e,n){"IDLE"!==t.current.type&&Ae(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);Lr((function(){return i(),function(){n.current()}}),[i])},function(e){var t=Object(r.useRef)(ca),n=se((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var r=e.findClosestDraggableId(n);if(r){var o=e.tryGetLock(r,u,{sourceEvent:n});if(o){n.preventDefault();var i=!0,s=o.snapLift();t.current(),t.current=je(window,fa(s,u),{capture:!0,passive:!1})}}}function u(){i||Ae(!1),i=!1,t.current(),a()}}}}),[e]),a=ue((function(){t.current=je(window,[n],{passive:!1,capture:!0})}),[n]);Lr((function(){return a(),function(){t.current()}}),[a])},function(e){var t=Object(r.useRef)(da),n=Object(r.useRef)(Se),a=ue((function(){return t.current}),[]),o=ue((function(e){t.current=e}),[]),i=se((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var a=e.tryGetLock(r,u,{sourceEvent:t});if(a){var o=t.touches[0],i={x:o.clientX,y:o.clientY};n.current(),d(a,i)}}}}}}),[e]),s=ue((function(){n.current=je(window,[i],{capture:!0,passive:!1})}),[i]),u=ue((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),o(da),n.current(),s())}),[s,o]),c=ue((function(){var e=t.current;u(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[u]),l=ue((function(){var e={capture:!0,passive:!1},t={cancel:c,completed:u,getPhase:a},r=je(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var a=e.touches[0],o={x:a.clientX,y:a.clientY};e.preventDefault(),n.actions.move(o)}else t()}},{eventName:"touchend",fn:function(e){var a=r();"DRAGGING"===a.type?(e.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&Ae(!1);var a=e.touches[0];if(a&&a.force>=.15){var o=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return o?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();o&&t()}}},{eventName:oa,fn:t}]}(t),e),o=je(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:oa,fn:t}]}(t),e);n.current=function(){r(),o()}}),[c,a,u]),f=ue((function(){var e=a();"PENDING"!==e.type&&Ae(!1);var t=e.actions.fluidLift(e.point);o({type:"DRAGGING",actions:t,hasMoved:!1})}),[a,o]),d=ue((function(e,t){"IDLE"!==a().type&&Ae(!1);var n=setTimeout(f,120);o({type:"PENDING",point:t,actions:e,longPressTimerId:n}),l()}),[l,a,o,f]);Lr((function(){return s(),function(){n.current();var e=a();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),o(da))}}),[a,s,o]),Lr((function(){return je(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function ja(e){var t=e.contextId,n=e.store,a=e.registry,o=e.customSensors,i=e.enableDefaultSensors,s=[].concat(i?Sa:[],o||[]),u=Object(r.useState)((function(){return function(){var e=null;function t(){e||Ae(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Ae(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],c=ue((function(e,t){e.isDragging&&!t.isDragging&&u.tryAbandon()}),[u]);Lr((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();c(e,t),e=t}))}),[u,n,c]),Lr((function(){return u.tryAbandon}),[u.tryAbandon]);var l=ue((function(e){return Oa({lockAPI:u,registry:a,store:n,draggableId:e})}),[u,a,n]),f=ue((function(e,r,o){return ka({lockAPI:u,registry:a,contextId:t,store:n,draggableId:e,forceSensorStop:r,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,u,a,n]),d=ue((function(e){return function(e,t){var n=wa(e,t);return n?n.getAttribute(Rr.draggableId):null}(t,e)}),[t]),p=ue((function(e){var t=a.draggable.findById(e);return t?t.options:null}),[a.draggable]),h=ue((function(){u.isClaimed()&&(u.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch({type:"FLUSH",payload:null}))}),[u,n]),v=ue(u.isClaimed,[u]),g=se((function(){return{canGetLock:l,tryGetLock:f,findClosestDraggableId:d,findOptionsForDraggable:p,tryReleaseLock:h,isLockClaimed:v}}),[l,f,d,p,h,v]);Jr();for(var m=0;m=0||(a[n]=e[n]);return a}var b=a.a.createContext(),y={root:{},anchorOriginTopCenter:{},anchorOriginBottomCenter:{},anchorOriginTopRight:{},anchorOriginBottomRight:{},anchorOriginTopLeft:{},anchorOriginBottomLeft:{}},w={containerRoot:{},containerAnchorOriginTopCenter:{},containerAnchorOriginBottomCenter:{},containerAnchorOriginTopRight:{},containerAnchorOriginBottomRight:{},containerAnchorOriginTopLeft:{},containerAnchorOriginBottomLeft:{}},_={default:20,dense:4},x={default:6,dense:2},O={maxSnack:3,dense:!1,hideIconVariant:!1,variant:"default",autoHideDuration:5e3,anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:s.a,transitionDuration:{enter:225,exit:195}},k=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},S=function(e){return Object.keys(e).filter((function(e){return!w[e]})).reduce((function(t,n){var r;return g({},t,((r={})[n]=e[n],r))}),{})},j={TIMEOUT:"timeout",CLICKAWAY:"clickaway",MAXSNACK:"maxsnack",INSTRUCTED:"instructed"},E=function(e){return"containerAnchorOrigin"+e},C=function(e){var t=e.vertical,n=e.horizontal;return"anchorOrigin"+k(t)+k(n)},A=function(e){return"variant"+k(e)},P=function(e){return!!e||0===e},T=function(e){return"number"===typeof e||null===e};function R(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),g({},n,{},t,{},e)}var D=function(e){var t;return Object(u.a)({root:(t={display:"flex",flexWrap:"wrap",flexGrow:1},t[e.breakpoints.up("sm")]={flexGrow:"initial",minWidth:288},t)})},M=Object(r.forwardRef)((function(e,t){var n=e.classes,r=e.className,o=m(e,["classes","className"]);return a.a.createElement("div",Object.assign({ref:t,className:Object(i.default)(n.root,r)},o))})),I=Object(c.a)(D)(M),N={right:"left",left:"right",bottom:"up",top:"down"},L=function(e){return"center"!==e.horizontal?N[e.horizontal]:N[e.vertical]},F=function(e){return a.a.createElement(p.a,Object.assign({},e),a.a.createElement("path",{d:"M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41\n 10.59L10 14.17L17.59 6.58L19 8L10 17Z"}))},B=function(e){return a.a.createElement(p.a,Object.assign({},e),a.a.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},z=function(e){return a.a.createElement(p.a,Object.assign({},e),a.a.createElement("path",{d:"M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,\n 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,\n 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z"}))},q=function(e){return a.a.createElement(p.a,Object.assign({},e),a.a.createElement("path",{d:"M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,\n 0 22,12A10,10 0 0,0 12,2Z"}))},U={fontSize:20,marginInlineEnd:8},W={default:void 0,success:a.a.createElement(F,{style:U}),warning:a.a.createElement(B,{style:U}),error:a.a.createElement(z,{style:U}),info:a.a.createElement(q,{style:U})};function H(e,t){return e.reduce((function(e,n){return null==n?e:function(){for(var r=arguments.length,a=new Array(r),o=0;o .MuiCollapse-container, & > .MuiCollapse-root",J="& > .MuiCollapse-container > .MuiCollapse-wrapper, & > .MuiCollapse-root > .MuiCollapse-wrapper",Z=Object(f.a)((function(e){var t,n,r,a,o;return{root:(t={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:e.zIndex.snackbar,height:"auto",width:"auto",transition:"top 300ms ease 0ms, right 300ms ease 0ms, bottom 300ms ease 0ms, left 300ms ease 0ms, margin 300ms ease 0ms, max-width 300ms ease 0ms",pointerEvents:"none"},t[Q]={pointerEvents:"all"},t[J]={padding:x.default+"px 0px",transition:"padding 300ms ease 0ms"},t.maxWidth="calc(100% - "+2*_.default+"px)",t[e.breakpoints.down("xs")]={width:"100%",maxWidth:"calc(100% - 32px)"},t),rootDense:(n={},n[J]={padding:x.dense+"px 0px"},n),top:{top:_.default-x.default,flexDirection:"column"},bottom:{bottom:_.default-x.default,flexDirection:"column-reverse"},left:(r={left:_.default},r[e.breakpoints.up("sm")]={alignItems:"flex-start"},r[e.breakpoints.down("xs")]={left:"16px"},r),right:(a={right:_.default},a[e.breakpoints.up("sm")]={alignItems:"flex-end"},a[e.breakpoints.down("xs")]={right:"16px"},a),center:(o={left:"50%",transform:"translateX(-50%)"},o[e.breakpoints.up("sm")]={alignItems:"center"},o)}})),ee=function(e){var t=Z(),n=e.className,r=e.anchorOrigin,o=e.dense,s=m(e,["className","anchorOrigin","dense"]),u=Object(i.default)(t[r.vertical],t[r.horizontal],t.root,n,o&&t.rootDense);return a.a.createElement("div",Object.assign({className:u},s))},te=a.a.memo(ee),ne=function(e){var t,n,r,s,u;function c(t){var n;return(n=e.call(this,t)||this).enqueueSnackbar=function(e,t){void 0===t&&(t={});var r=t,a=r.key,o=r.preventDuplicate,i=m(r,["key","preventDuplicate"]),s=P(a),u=s?a:(new Date).getTime()+Math.random(),c=function(e,t,n){return function(r){return"autoHideDuration"===r?T(e.autoHideDuration)?e.autoHideDuration:T(t.autoHideDuration)?t.autoHideDuration:O.autoHideDuration:e[r]||t[r]||n[r]}}(i,n.props,O),l=g({key:u},i,{message:e,open:!0,entered:!1,requestClose:!1,variant:c("variant"),anchorOrigin:c("anchorOrigin"),autoHideDuration:c("autoHideDuration")});return i.persist&&(l.autoHideDuration=void 0),n.setState((function(t){if(void 0===o&&n.props.preventDuplicate||o){var r=function(t){return s?t.key===a:t.message===e},i=t.queue.findIndex(r)>-1,u=t.snacks.findIndex(r)>-1;if(i||u)return t}return n.handleDisplaySnack(g({},t,{queue:[].concat(t.queue,[l])}))})),u},n.handleDisplaySnack=function(e){return e.snacks.length>=n.maxSnack?n.handleDismissOldest(e):n.processQueue(e)},n.processQueue=function(e){var t=e.queue,n=e.snacks;return t.length>0?g({},e,{snacks:[].concat(n,[t[0]]),queue:t.slice(1,t.length)}):e},n.handleDismissOldest=function(e){if(e.snacks.some((function(e){return!e.open||e.requestClose})))return e;var t=!1,r=!1;e.snacks.reduce((function(e,t){return e+(t.open&&t.persist?1:0)}),0)===n.maxSnack&&(r=!0);var a=e.snacks.map((function(e){return t||e.persist&&!r?g({},e):(t=!0,e.entered?(e.onClose&&e.onClose(null,j.MAXSNACK,e.key),n.props.onClose&&n.props.onClose(null,j.MAXSNACK,e.key),g({},e,{open:!1})):g({},e,{requestClose:!0}))}));return g({},e,{snacks:a})},n.handleEnteredSnack=function(e,t,r){if(!P(r))throw new Error("handleEnteredSnack Cannot be called with undefined key");n.setState((function(e){return{snacks:e.snacks.map((function(e){return e.key===r?g({},e,{entered:!0}):g({},e)}))}}))},n.handleCloseSnack=function(e,t,r){if(n.props.onClose&&n.props.onClose(e,t,r),t!==j.CLICKAWAY){var a=void 0===r;n.setState((function(e){var t=e.snacks,n=e.queue;return{snacks:t.map((function(e){return a||e.key===r?e.entered?g({},e,{open:!1}):g({},e,{requestClose:!0}):g({},e)})),queue:n.filter((function(e){return e.key!==r}))}}))}},n.closeSnackbar=function(e){var t=n.state.snacks.find((function(t){return t.key===e}));P(e)&&t&&t.onClose&&t.onClose(null,j.INSTRUCTED,e),n.handleCloseSnack(null,j.INSTRUCTED,e)},n.handleExitedSnack=function(e,t,r){var a=t||r;if(!P(a))throw new Error("handleExitedSnack Cannot be called with undefined key");n.setState((function(e){var t=n.processQueue(g({},e,{snacks:e.snacks.filter((function(e){return e.key!==a}))}));return 0===t.queue.length?t:n.handleDismissOldest(t)}))},n.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:n.enqueueSnackbar,closeSnackbar:n.closeSnackbar}},n}return n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,c.prototype.render=function(){var e=this,t=this.state.contextValue,n=this.props,r=n.iconVariant,s=n.dense,u=void 0===s?O.dense:s,c=n.hideIconVariant,l=void 0===c?O.hideIconVariant:c,f=n.domRoot,d=n.children,p=n.classes,h=void 0===p?{}:p,v=m(n,["maxSnack","preventDuplicate","variant","anchorOrigin","iconVariant","dense","hideIconVariant","domRoot","children","classes"]),y=this.state.snacks.reduce((function(e,t){var n,r,a=(r=t.anchorOrigin,""+k(r.vertical)+k(r.horizontal)),o=e[a]||[];return g({},e,((n={})[a]=[].concat(o,[t]),n))}),{}),w=Object.keys(y).map((function(t){var n=y[t];return a.a.createElement(te,{key:t,dense:u,anchorOrigin:n[0].anchorOrigin,className:Object(i.default)(h.containerRoot,h[E(t)])},n.map((function(t){return a.a.createElement(X,Object.assign({},v,{key:t.key,snack:t,dense:u,iconVariant:r,hideIconVariant:l,classes:S(h),onClose:e.handleCloseSnack,onExited:H([e.handleExitedSnack,e.props.onExited]),onEntered:H([e.handleEnteredSnack,e.props.onEntered])}))})))}));return a.a.createElement(b.Provider,{value:t},d,f?Object(o.createPortal)(w,f):w)},r=c,(s=[{key:"maxSnack",get:function(){return this.props.maxSnack||O.maxSnack}}])&&v(r.prototype,s),u&&v(r,u),c}(r.Component),re=function(){return Object(r.useContext)(b)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.createStyles)(e)};var r=n(91)},function(e,t,n){"use strict";function r(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&"undefined"===typeof t[n]&&(e[n]=r[n]),e}),{})}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l}));var r=n(34),a=n(110),o={nowSeconds:function(){return Date.now()/1e3}};var i=Object(a.b)()?function(){try{return Object(a.a)(e,"perf_hooks").performance}catch(t){return}}():function(){var e=r.a.performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),s=void 0===i?o:{nowSeconds:function(){return(i.timeOrigin+i.now())/1e3}},u=o.nowSeconds.bind(o),c=s.nowSeconds.bind(s),l=c,f=function(){var e=r.a.performance;if(e&&e.now){var t=36e5,n=e.now(),a=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+n-a):t,i=o0&&void 0!==arguments[0]?arguments[0]:{};Object(l.a)(this,e),this.options=t}return Object(f.a)(e,[{key:"collect",value:function(e){var t=new Map;this.sheetsRegistry=new h.b;var n=Object(r.a)();return p.a.createElement(v.b,Object(c.a)({sheetsManager:t,serverGenerateClassName:n,sheetsRegistry:this.sheetsRegistry},this.options),e)}},{key:"toString",value:function(){return this.sheetsRegistry?this.sheetsRegistry.toString():""}},{key:"getStyleElement",value:function(e){return p.a.createElement("style",Object(c.a)({id:"jss-server-side",key:"jss-server-side",dangerouslySetInnerHTML:{__html:this.toString()}},e))}}]),e}(),m=n(679),b=n(162),y=n(726),w=n(237),_=n(673),x=n(8),O=n(80),k=n.n(O);function S(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=function(e){var n=p.a.forwardRef((function(n,r){var a=n.innerRef,o=Object(x.a)(n,["innerRef"]),i=Object(w.a)()||t;return p.a.createElement(e,Object(c.a)({theme:i,ref:a||r},o))}));return k()(n,e),n};return n}var j=S()},function(e,t,n){"use strict";e.exports=n(481)},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return m}));var r=n(10),a=n(12),o=n(3),i=n(14),s=n(13),u=n(49),c=n(88),l=n(186),f=n(31),d=n(115),p=n(71),h=n(79),v=function(){function e(){Object(i.a)(this,e),this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return Object(s.a)(e,[{key:"addScopeListener",value:function(e){this._scopeListeners.push(e)}},{key:"addEventProcessor",value:function(e){return this._eventProcessors.push(e),this}},{key:"setUser",value:function(e){return this._user=e||{},this._session&&Object(h.c)(this._session,{user:e}),this._notifyScopeListeners(),this}},{key:"getUser",value:function(){return this._user}},{key:"getRequestSession",value:function(){return this._requestSession}},{key:"setRequestSession",value:function(e){return this._requestSession=e,this}},{key:"setTags",value:function(e){return this._tags=Object(o.a)(Object(o.a)({},this._tags),e),this._notifyScopeListeners(),this}},{key:"setTag",value:function(e,t){return this._tags=Object(o.a)(Object(o.a)({},this._tags),{},Object(a.a)({},e,t)),this._notifyScopeListeners(),this}},{key:"setExtras",value:function(e){return this._extra=Object(o.a)(Object(o.a)({},this._extra),e),this._notifyScopeListeners(),this}},{key:"setExtra",value:function(e,t){return this._extra=Object(o.a)(Object(o.a)({},this._extra),{},Object(a.a)({},e,t)),this._notifyScopeListeners(),this}},{key:"setFingerprint",value:function(e){return this._fingerprint=e,this._notifyScopeListeners(),this}},{key:"setLevel",value:function(e){return this._level=e,this._notifyScopeListeners(),this}},{key:"setTransactionName",value:function(e){return this._transactionName=e,this._notifyScopeListeners(),this}},{key:"setContext",value:function(e,t){return null===t?delete this._contexts[e]:this._contexts=Object(o.a)(Object(o.a)({},this._contexts),{},Object(a.a)({},e,t)),this._notifyScopeListeners(),this}},{key:"setSpan",value:function(e){return this._span=e,this._notifyScopeListeners(),this}},{key:"getSpan",value:function(){return this._span}},{key:"getTransaction",value:function(){var e=this.getSpan();return e&&e.transaction}},{key:"setSession",value:function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}},{key:"getSession",value:function(){return this._session}},{key:"update",value:function(t){if(!t)return this;if("function"===typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=Object(o.a)(Object(o.a)({},this._tags),t._tags),this._extra=Object(o.a)(Object(o.a)({},this._extra),t._extra),this._contexts=Object(o.a)(Object(o.a)({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):Object(u.i)(t)&&(this._tags=Object(o.a)(Object(o.a)({},this._tags),t.tags),this._extra=Object(o.a)(Object(o.a)({},this._extra),t.extra),this._contexts=Object(o.a)(Object(o.a)({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}},{key:"clear",value:function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}},{key:"addBreadcrumb",value:function(e,t){var n="number"===typeof t?t:100;if(n<=0)return this;var a=Object(o.a)({timestamp:Object(c.b)()},e);return this._breadcrumbs=[].concat(Object(r.a)(this._breadcrumbs),[a]).slice(-n),this._notifyScopeListeners(),this}},{key:"clearBreadcrumbs",value:function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}},{key:"addAttachment",value:function(e){return this._attachments.push(e),this}},{key:"getAttachments",value:function(){return this._attachments}},{key:"clearAttachments",value:function(){return this._attachments=[],this}},{key:"applyToEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._extra&&Object.keys(this._extra).length&&(e.extra=Object(o.a)(Object(o.a)({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=Object(o.a)(Object(o.a)({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=Object(o.a)(Object(o.a)({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=Object(o.a)(Object(o.a)({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=Object(o.a)({trace:this._span.getTraceContext()},e.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(e.tags=Object(o.a)({transaction:n},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=[].concat(Object(r.a)(e.breadcrumbs||[]),Object(r.a)(this._breadcrumbs)),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata=Object(o.a)(Object(o.a)({},e.sdkProcessingMetadata),this._sdkProcessingMetadata),this._notifyEventProcessors([].concat(Object(r.a)(g()),Object(r.a)(this._eventProcessors)),e,t)}},{key:"setSDKProcessingMetadata",value:function(e){return this._sdkProcessingMetadata=Object(o.a)(Object(o.a)({},this._sdkProcessingMetadata),e),this}},{key:"_notifyEventProcessors",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new l.a((function(i,s){var c=e[a];if(null===t||"function"!==typeof c)i(t);else{var l=c(Object(o.a)({},t),n);("undefined"===typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.id&&null===l&&f.c.log('Event processor "'.concat(c.id,'" dropped event')),Object(u.n)(l)?l.then((function(t){return r._notifyEventProcessors(e,t,n,a+1).then(i)})).then(null,s):r._notifyEventProcessors(e,l,n,a+1).then(i).then(null,s)}}))}},{key:"_notifyScopeListeners",value:function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(t){t(e)})),this._notifyingListeners=!1)}},{key:"_applyFingerprint",value:function(e){e.fingerprint=e.fingerprint?Object(d.c)(e.fingerprint):[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}}],[{key:"clone",value:function(t){var n=new e;return t&&(n._breadcrumbs=Object(r.a)(t._breadcrumbs),n._tags=Object(o.a)({},t._tags),n._extra=Object(o.a)({},t._extra),n._contexts=Object(o.a)({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=Object(r.a)(t._eventProcessors),n._requestSession=t._requestSession,n._attachments=Object(r.a)(t._attachments)),n}}]),e}();function g(){return Object(p.b)("globalEventProcessors",(function(){return[]}))}function m(e){g().push(e)}},function(e,t,n){e.exports=n(516)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(17),a=n(15),o=n(27);function i(e,t){Object(a.a)(1,arguments);var n=t||{},i=n.locale,s=i&&i.options&&i.options.weekStartsOn,u=null==s?0:Object(o.a)(s),c=null==n.weekStartsOn?u:Object(o.a)(n.weekStartsOn);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=Object(r.a)(e),f=l.getUTCDay(),d=(f0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,r=t.target,a=t.rel,o=t.enabled,s=void 0===o||o;(0,i.assert)(n&&"string"===typeof n,'addLinkAttributes: A valid "url" parameter must provided.');var u=(0,i.removeNullCharacters)(n);s?e.href=e.title=u:(e.href="",e.title="Disabled: ".concat(u),e.onclick=function(){return!1});var c="";switch(r){case C.NONE:break;case C.SELF:c="_self";break;case C.BLANK:c="_blank";break;case C.PARENT:c="_parent";break;case C.TOP:c="_top"}e.target=c,e.rel="string"===typeof a?a:y},t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),n=e.indexOf("?"),r=Math.min(t>0?t:e.length,n>0?n:e.length);return e.substring(e.lastIndexOf("/",r)+1,r)},t.getPdfFilenameFromUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!==typeof e)return t;if(A(e))return(0,i.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;var n=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,r=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,a=n.exec(e),o=r.exec(a[1])||r.exec(a[2])||r.exec(a[3]);if(o&&(o=o[0]).includes("%"))try{o=r.exec(decodeURIComponent(o))[0]}catch(s){}return o||t},t.isDataScheme=A,t.isFetchSupported=R,t.isPdfFile=function(e){return"string"===typeof e&&/\.pdf$/i.test(e)},t.isValidFetchUrl=D,t.loadScript=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(n,r){var a=document.createElement("script");a.src=e,a.onload=function(e){t&&a.remove(),n(e)},a.onerror=function(){r(new Error("Cannot load script at: ".concat(a.src)))},(document.head||document.documentElement).appendChild(a)}))},t.StatTimer=t.RenderingCancelledException=t.PDFDateString=t.PageViewport=t.LinkTarget=t.DOMSVGFactory=t.DOMCMapReaderFactory=t.DOMCanvasFactory=t.DEFAULT_LINK_REL=t.BaseCMapReaderFactory=t.BaseCanvasFactory=void 0;var a,o=(a=n(2))&&a.__esModule?a:{default:a},i=n(4);function s(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"===typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}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 o,i=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw o}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{},a=r.ownerDocument,o=void 0===a?globalThis.document:a;return g(this,n),(e=t.call(this))._document=o,e}return b(n,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var n=this._document.createElement("canvas"),r=n.getContext("2d");return n.width=e,n.height=t,{canvas:n,context:r}}}]),n}(_);t.DOMCanvasFactory=x;var O=function(){function e(t){var n=t.baseUrl,r=void 0===n?null:n,a=t.isCompressed,o=void 0!==a&&a;g(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=r,this.isCompressed=o}return b(e,[{key:"fetch",value:function(){var e=l(o.default.mark((function e(t){var n,r,a,s=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(n){e.next=5;break}throw new Error("CMap name must be specified.");case 5:return r=this.baseUrl+n+(this.isCompressed?".bcmap":""),a=this.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE,e.abrupt("return",this._fetchData(r,a).catch((function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"","CMap at: ").concat(r))})));case 8:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"_fetchData",value:function(e,t){(0,i.unreachable)("Abstract method `_fetchData` called.")}}]),e}();t.BaseCMapReaderFactory=O;var k=function(e){f(n,e);var t=p(n);function n(){return g(this,n),t.apply(this,arguments)}return b(n,[{key:"_fetchData",value:function(e,t){var n=this;return R()&&D(e,document.baseURI)?fetch(e).then(function(){var e=l(o.default.mark((function e(r){var a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.ok){e.next=2;break}throw new Error(r.statusText);case 2:if(!n.isCompressed){e.next=10;break}return e.t0=Uint8Array,e.next=6,r.arrayBuffer();case 6:e.t1=e.sent,a=new e.t0(e.t1),e.next=15;break;case 10:return e.t2=i.stringToBytes,e.next=13,r.text();case 13:e.t3=e.sent,a=(0,e.t2)(e.t3);case 15:return e.abrupt("return",{cMapData:a,compressionType:t});case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()):new Promise((function(r,a){var o=new XMLHttpRequest;o.open("GET",e,!0),n.isCompressed&&(o.responseType="arraybuffer"),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){var e;if((200===o.status||0===o.status)&&(n.isCompressed&&o.response?e=new Uint8Array(o.response):!n.isCompressed&&o.responseText&&(e=(0,i.stringToBytes)(o.responseText)),e))return void r({cMapData:e,compressionType:t});a(new Error(o.statusText))}},o.send(null)}))}}]),n}(O);t.DOMCMapReaderFactory=k;var S=function(){function e(){g(this,e)}return b(e,[{key:"create",value:function(e,t){(0,i.assert)(e>0&&t>0,"Invalid SVG dimensions");var n=document.createElementNS(w,"svg:svg");return n.setAttribute("version","1.1"),n.setAttribute("width",e+"px"),n.setAttribute("height",t+"px"),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 "+e+" "+t),n}},{key:"createElement",value:function(e){return(0,i.assert)("string"===typeof e,"Invalid SVG element type"),document.createElementNS(w,e)}}]),e}();t.DOMSVGFactory=S;var j=function(){function e(t){var n=t.viewBox,r=t.scale,a=t.rotation,o=t.offsetX,i=void 0===o?0:o,s=t.offsetY,u=void 0===s?0:s,c=t.dontFlip,l=void 0!==c&&c;g(this,e),this.viewBox=n,this.scale=r,this.rotation=a,this.offsetX=i,this.offsetY=u;var f,d,p,h,v,m,b,y,w=(n[2]+n[0])/2,_=(n[3]+n[1])/2;switch((a%=360)<0&&(a+=360),a){case 180:f=-1,d=0,p=0,h=1;break;case 90:f=0,d=1,p=1,h=0;break;case 270:f=0,d=-1,p=-1,h=0;break;case 0:f=1,d=0,p=0,h=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}l&&(p=-p,h=-h),0===f?(v=Math.abs(_-n[1])*r+i,m=Math.abs(w-n[0])*r+u,b=Math.abs(n[3]-n[1])*r,y=Math.abs(n[2]-n[0])*r):(v=Math.abs(w-n[0])*r+i,m=Math.abs(_-n[1])*r+u,b=Math.abs(n[2]-n[0])*r,y=Math.abs(n[3]-n[1])*r),this.transform=[f*r,d*r,p*r,h*r,v-f*r*w-p*r*_,m-d*r*w-h*r*_],this.width=b,this.height=y}return b(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.scale,r=void 0===n?this.scale:n,a=t.rotation,o=void 0===a?this.rotation:a,i=t.offsetX,s=void 0===i?this.offsetX:i,u=t.offsetY,c=void 0===u?this.offsetY:u,l=t.dontFlip,f=void 0!==l&&l;return new e({viewBox:this.viewBox.slice(),scale:r,rotation:o,offsetX:s,offsetY:c,dontFlip:f})}},{key:"convertToViewportPoint",value:function(e,t){return i.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=i.Util.applyTransform([e[0],e[1]],this.transform),n=i.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}},{key:"convertToPdfPoint",value:function(e,t){return i.Util.applyInverseTransform([e,t],this.transform)}}]),e}();t.PageViewport=j;var E=function(e){f(n,e);var t=p(n);function n(e,r){var a;return g(this,n),(a=t.call(this,e)).type=r,a}return n}(i.BaseException);t.RenderingCancelledException=E;var C={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function A(e){for(var t=e.length,n=0;nn&&(n=a.length)}}catch(l){r.e(l)}finally{r.f()}var o,i=s(this.times);try{for(i.s();!(o=i.n()).done;){var u=o.value,c=u.end-u.start;t.push("".concat(u.name.padEnd(n)," ").concat(c,"ms\n"))}}catch(l){i.e(l)}finally{i.f()}return t.join("")}}]),e}();function R(){return"undefined"!==typeof fetch&&"undefined"!==typeof Response&&"body"in Response.prototype&&"undefined"!==typeof ReadableStream}function D(e,t){try{var n=(t?new URL(e,t):new URL(e)).protocol;return"http:"===n||"https:"===n}catch(r){return!1}}t.StatTimer=T;var M=function(){function e(){g(this,e)}return b(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,i.isString)(e))return null;P||(P=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=P.exec(e);if(!t)return null;var n=parseInt(t[1],10),r=parseInt(t[2],10);r=r>=1&&r<=12?r-1:0;var a=parseInt(t[3],10);a=a>=1&&a<=31?a:1;var o=parseInt(t[4],10);o=o>=0&&o<=23?o:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var u=parseInt(t[6],10);u=u>=0&&u<=59?u:0;var c=t[7]||"Z",l=parseInt(t[8],10);l=l>=0&&l<=23?l:0;var f=parseInt(t[9],10)||0;return f=f>=0&&f<=59?f:0,"-"===c?(o+=l,s+=f):"+"===c&&(o-=l,s-=f),new Date(Date.UTC(n,r,a,o,s,u))}}]),e}();t.PDFDateString=M},function(e,t,n){"use strict";e.exports=n(3)},function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var a=function(e){var t,n=Object.prototype,a=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(R){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var a=t&&t.prototype instanceof m?t:m,o=Object.create(a.prototype),i=new A(r||[]);return o._invoke=function(e,t,n){var r=d;return function(a,o){if(r===h)throw new Error("Generator is already running");if(r===v){if("throw"===a)throw o;return T()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var s=j(i,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var u=f(e,t,n);if("normal"===u.type){if(r=n.done?v:p,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=v,n.method="throw",n.arg=u.arg)}}}(e,n,i),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(R){return{type:"throw",arg:R}}}e.wrap=l;var d="suspendedStart",p="suspendedYield",h="executing",v="completed",g={};function m(){}function b(){}function y(){}var w={};w[i]=function(){return this};var _=Object.getPrototypeOf,x=_&&_(_(P([])));x&&x!==n&&a.call(x,i)&&(w=x);var O=y.prototype=m.prototype=Object.create(w);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,s,u){var c=f(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"===r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,u)}),(function(e){n("throw",e,s,u)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,u)}))}u(c.arg)}var o;this._invoke=function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}}function j(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,j(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var a=f(r,e.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function P(e){if(e){var n=e[i];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}("object"===r(e=n.nmd(e))?e.exports:{});try{regeneratorRuntime=a}catch(o){Function("r","regeneratorRuntime = r")(a)}},function(e,t,n){"use strict";function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(URL.createObjectURL&&!n)return URL.createObjectURL(new Blob([e],{type:t}));for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="data:".concat(t,";base64,"),o=0,i=e.length;o>2,f=(3&s)<<4|u>>4,d=o+1>6:64,p=o+20&&void 0!==arguments[0]?arguments[0]:new Date,t=[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")];return t.join("")},t.getVerbosityLevel=function(){return h},t.info=function(e){h>=p.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===i(e)&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(var n=0,r=e.length;n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},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,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw i}}}}(e);try{for(i.s();!(t=i.n()).done;){var s=(n=t.value,r=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=e&&("undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(u){s=!0,a=u}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(n,r)||a(n,r)||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.")}()),u=s[0],c=s[1];o[u]=c}}catch(l){i.e(l)}finally{i.f()}return o},t.objectSize=function(e){return Object.keys(e).length},t.removeNullCharacters=function(e){return"string"!==typeof e?(v("The argument for removeNullCharacters must be a string."),e):e.replace(E,"")},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(h=e)},t.shadow=b,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=C,t.stringToPDFString=function(e){var t=e.length,n=[];if("\xfe"===e[0]&&"\xff"===e[1])for(var r=2;r>8&255),String.fromCharCode(255&a))}return t.join("")},t.stringToUTF8String=function(e){return decodeURIComponent(escape(e))},t.unreachable=g,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=v,t.VerbosityLevel=t.Util=t.UNSUPPORTED_FEATURES=t.UnknownErrorException=t.UnexpectedResponseException=t.TextRenderingMode=t.StreamType=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.IsLittleEndianCached=t.IsEvalSupportedCached=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,n(5),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var p={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=p,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var h=p.WARNINGS;function v(e){h>=p.WARNINGS&&console.log("Warning: ".concat(e))}function g(e){throw new Error(e)}function m(e,t){e||g(t)}function b(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}var y=function(){function e(t){this.constructor===e&&g("Cannot initialize BaseException."),this.message=t,this.name=this.constructor.name}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=y;var w=function(e){u(n,e);var t=l(n);function n(e,r){var a;return s(this,n),(a=t.call(this,e)).code=r,a}return n}(y);t.PasswordException=w;var _=function(e){u(n,e);var t=l(n);function n(e,r){var a;return s(this,n),(a=t.call(this,e)).details=r,a}return n}(y);t.UnknownErrorException=_;var x=function(e){u(n,e);var t=l(n);function n(){return s(this,n),t.apply(this,arguments)}return n}(y);t.InvalidPDFException=x;var O=function(e){u(n,e);var t=l(n);function n(){return s(this,n),t.apply(this,arguments)}return n}(y);t.MissingPDFException=O;var k=function(e){u(n,e);var t=l(n);function n(e,r){var a;return s(this,n),(a=t.call(this,e)).status=r,a}return n}(y);t.UnexpectedResponseException=k;var S=function(e){u(n,e);var t=l(n);function n(){return s(this,n),t.apply(this,arguments)}return n}(y);t.FormatError=S;var j=function(e){u(n,e);var t=l(n);function n(){return s(this,n),t.apply(this,arguments)}return n}(y);t.AbortException=j;var E=/\x00/g;function C(e){m("string"===typeof e,"Invalid argument for stringToBytes");for(var t=e.length,n=new Uint8Array(t),r=0;re[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(t,n){function r(e,t){return e-t}var a=[t[0],t[2],n[0],n[2]].sort(r),o=[t[1],t[3],n[1],n[3]].sort(r),i=[];return t=e.normalizeRect(t),n=e.normalizeRect(n),a[0]===t[0]&&a[1]===n[0]||a[0]===n[0]&&a[1]===t[0]?(i[0]=a[1],i[2]=a[2],o[0]===t[1]&&o[1]===n[1]||o[0]===n[1]&&o[1]===t[1]?(i[1]=o[1],i[3]=o[2],i):null):null}}],(n=null)&&r(t.prototype,n),a&&r(t,a),e}();t.Util=M;var I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364]},function(e,t,n){"use strict";var r=n(6);"undefined"!==typeof globalThis&&globalThis._pdfjsCompatibilityChecked||("undefined"!==typeof globalThis&&globalThis.Math===Math||(globalThis=n(7)),globalThis._pdfjsCompatibilityChecked=!0,!globalThis.btoa&&r.isNodeJS&&(globalThis.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}),!globalThis.atob&&r.isNodeJS&&(globalThis.atob=function(e){return Buffer.from(e,"base64").toString("binary")}),Object.fromEntries||n(53),globalThis.Promise.allSettled||(globalThis.Promise=n(84)),function(){var e=!1;if("undefined"!==typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}}),e=!0}catch(t){}e||(globalThis.ReadableStream=n(112).ReadableStream)}())},function(e,t){"use strict";function n(e){return n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var r="object"===("undefined"===typeof process?"undefined":n(process))&&process+""==="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=r},function(e,t,n){n(8),e.exports=n(10)},function(e,t,n){n(9)({global:!0},{globalThis:n(10)})},function(e,t,n){var r=n(10),a=n(11).f,o=n(26),i=n(29),s=n(30),u=n(40),c=n(52);e.exports=function(e,t){var n,l,f,d,p,h=e.target,v=e.global,g=e.stat;if(n=v?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(d=t[l],f=e.noTargetGet?(p=a(n,l))&&p.value:n[l],!c(v?l:h+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof d===typeof f)continue;u(d,f)}(e.sham||f&&f.sham)&&o(d,"sham",!0),i(n,l,d,e)}}},function(e){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||function(){return this}()||Function("return this")()},function(e,t,n){var r=n(12),a=n(14),o=n(15),i=n(16),s=n(20),u=n(22),c=n(24),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=i(e),t=s(t,!0),c)try{return l(e,t)}catch(n){}if(u(e,t))return o(!a.f.call(e,t),e[t])}},function(e,t,n){var r=n(13);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);t.f=a?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(17),a=n(19);e.exports=function(e){return r(a(e))}},function(e,t,n){var r=n(13),a=n(18),o="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?o.call(e,""):Object(e)}:Object},function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(21);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,n){var r=n(23),a={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return a.call(r(e),t)}},function(e,t,n){var r=n(19);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(12),a=n(13),o=n(25);e.exports=!r&&!a((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(10),a=n(21),o=r.document,i=a(o)&&a(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(12),a=n(27),o=n(15);e.exports=r?function(e,t,n){return a.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(12),a=n(24),o=n(28),i=n(20),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(o(e),t=i(t,!0),o(n),a)try{return s(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(21);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){var r=n(10),a=n(26),o=n(22),i=n(30),s=n(31),u=n(33),c=u.get,l=u.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var u,c=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||a(n,"name",t),(u=l(n)).source||(u.source=f.join("string"==typeof t?t:""))),e!==r?(c?!p&&e[t]&&(d=!0):delete e[t],d?e[t]=n:a(e,t,n)):d?e[t]=n:i(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},function(e,t,n){var r=n(10),a=n(26);e.exports=function(e,t){try{a(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(32),a=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return a.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(10),a=n(30),o="__core-js_shared__",i=r[o]||a(o,{});e.exports=i},function(e,t,n){var r,a,o,i=n(34),s=n(10),u=n(21),c=n(26),l=n(22),f=n(32),d=n(35),p=n(39),h="Object already initialized",v=s.WeakMap;if(i||f.state){var g=f.state||(f.state=new v),m=g.get,b=g.has,y=g.set;r=function(e,t){if(b.call(g,e))throw new TypeError(h);return t.facade=e,y.call(g,e,t),t},a=function(e){return m.call(g,e)||{}},o=function(e){return b.call(g,e)}}else{var w=d("state");p[w]=!0,r=function(e,t){if(l(e,w))throw new TypeError(h);return t.facade=e,c(e,w,t),t},a=function(e){return l(e,w)?e[w]:{}},o=function(e){return l(e,w)}}e.exports={set:r,get:a,has:o,enforce:function(e){return o(e)?a(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=a(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){var r=n(10),a=n(31),o=r.WeakMap;e.exports="function"===typeof o&&/native code/.test(a(o))},function(e,t,n){var r=n(36),a=n(38),o=r("keys");e.exports=function(e){return o[e]||(o[e]=a(e))}},function(e,t,n){var r=n(37),a=n(32);(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.13.1",mode:r?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},function(e){e.exports=!1},function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},function(e){e.exports={}},function(e,t,n){var r=n(22),a=n(41),o=n(11),i=n(27);e.exports=function(e,t){for(var n=a(t),s=i.f,u=o.f,c=0;cu;)r(s,n=t[u++])&&(~o(c,n)||c.push(n));return c}},function(e,t,n){var r=n(16),a=n(47),o=n(49),i=function(e){return function(t,n,i){var s,u=r(t),c=a(u.length),l=o(i,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:i(!0),indexOf:i(!1)}},function(e,t,n){var r=n(48),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},function(e,t,n){var r=n(48),a=Math.max,o=Math.min;e.exports=function(e,t){var n=r(e);return n<0?a(n+t,0):o(n,t)}},function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(13),a=/#|\.prototype\./,o=function(e,t){var n=s[i(e)];return n==c||n!=u&&("function"==typeof t?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=o.data={},u=o.NATIVE="N",c=o.POLYFILL="P";e.exports=o},function(e,t,n){n(54),n(74);var r=n(43);e.exports=r.Object.fromEntries},function(e,t,n){"use strict";var r=n(16),a=n(55),o=n(65),i=n(33),s=n(66),u="Array Iterator",c=i.set,l=i.getterFor(u);e.exports=s(Array,"Array",(function(e,t){c(this,{type:u,target:r(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},function(e,t,n){var r=n(56),a=n(61),o=n(27),i=r("unscopables"),s=Array.prototype;void 0==s[i]&&o.f(s,i,{configurable:!0,value:a(null)}),e.exports=function(e){s[i][e]=!0}},function(e,t,n){var r=n(10),a=n(36),o=n(22),i=n(38),s=n(57),u=n(60),c=a("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||i;e.exports=function(e){return o(c,e)&&(s||"string"==typeof c[e])||(s&&o(l,e)?c[e]=l[e]:c[e]=f("Symbol."+e)),c[e]}},function(e,t,n){var r=n(58),a=n(13);e.exports=!!Object.getOwnPropertySymbols&&!a((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(e,t,n){var r,a,o=n(10),i=n(59),s=o.process,u=s&&s.versions,c=u&&u.v8;c?a=(r=c.split("."))[0]<4?1:r[0]+r[1]:i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(a=r[1]),e.exports=a&&+a},function(e,t,n){var r=n(42);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(57);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r,a=n(28),o=n(62),i=n(50),s=n(39),u=n(64),c=n(25),l=n(35),f=l("IE_PROTO"),d=function(){},p=function(e){return"