react-chartjs-components
Version:
Simple react components for ChartJs 2+ library.
1 lines • 19.8 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("chart.js"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","chart.js","react-dom"],e):"object"==typeof exports?exports["react-chartjs-components"]=e(require("react"),require("chart.js"),require("react-dom")):t["react-chartjs-components"]=e(t.React,t.Chart,t.ReactDOM)}(this,function(t,e,r){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){t.exports=r(7)},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),f=r(2),s=n(f),p=r(11),l=n(p),h=r(10),d=n(h),y=r(8),b=n(y),_={className:s.default.PropTypes.string,redraw:s.default.PropTypes.bool,type:s.default.PropTypes.oneOf(["pie","doughnut","line","bar"]),data:s.default.PropTypes.object.isRequired,width:s.default.PropTypes.number,height:s.default.PropTypes.number,options:s.default.PropTypes.object},v={redraw:!1,type:"pie"},j=function(t){function e(t,r){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.chart=null,n.createChart=n.createChart.bind(n),n.updateChart=n.updateChart.bind(n),n}return u(e,t),c(e,[{key:"componentDidMount",value:function(){this.createChart()}},{key:"shouldComponentUpdate",value:function(t){return!(0,b.default)(t.data,this.props.data)||!(0,b.default)(t.options,this.props.options)}},{key:"componentDidUpdate",value:function(){this.props.redraw?this.createChart():this.updateChart()}},{key:"componentWillUnmount",value:function(){var t=this.chart;t&&t.destroy()}},{key:"createChart",value:function(){var t=this.props,e=t.data,r=t.type,n=t.options,o=l.default.findDOMNode(this);this.chart&&this.chart.destroy(),this.chart=new d.default(o,{type:r,data:e,options:n})}},{key:"updateChart",value:function(){var t=this.props,e=t.data,r=t.options;this.chart&&(this.chart.options=d.default.helpers.configMerge(this.chart.options,r),this.chart.config.data=i({},this.chart.config.data,e),this.chart.update())}},{key:"render",value:function(){var t=this.props,e=t.width,r=t.height,n=t.className;return s.default.createElement("canvas",{className:n,width:e,height:r})}}]),e}(s.default.Component);j.propTypes=_,j.defaultProps=v,e.default=j},function(e,r){e.exports=t},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),f=r(2),s=n(f),p=r(1),l=n(p),h={className:s.default.PropTypes.string,redraw:s.default.PropTypes.bool,data:s.default.PropTypes.object.isRequired,options:s.default.PropTypes.object,width:s.default.PropTypes.number,height:s.default.PropTypes.number},d=function(t){function e(t,r){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.chart=null,n}return u(e,t),c(e,[{key:"render",value:function(){var t=this;return s.default.createElement(l.default,i({},this.props,{ref:function(e){return t.chart=e},type:"bar"}))}}]),e}(s.default.Component);d.propTypes=h,e.default=d},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),f=r(2),s=n(f),p=r(1),l=n(p),h={className:s.default.PropTypes.string,redraw:s.default.PropTypes.bool,data:s.default.PropTypes.object.isRequired,options:s.default.PropTypes.object,width:s.default.PropTypes.number,height:s.default.PropTypes.number},d=function(t){function e(t,r){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.chart=null,n}return u(e,t),c(e,[{key:"render",value:function(){var t=this;return s.default.createElement(l.default,i({},this.props,{ref:function(e){return t.chart=e},type:"doughnut"}))}}]),e}(s.default.Component);d.propTypes=h,e.default=d},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),f=r(2),s=n(f),p=r(1),l=n(p),h={className:s.default.PropTypes.string,redraw:s.default.PropTypes.bool,data:s.default.PropTypes.object.isRequired,options:s.default.PropTypes.object,width:s.default.PropTypes.number,height:s.default.PropTypes.number},d=function(t){function e(t,r){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.chart=null,n}return u(e,t),c(e,[{key:"render",value:function(){var t=this;return s.default.createElement(l.default,i({},this.props,{ref:function(e){return t.chart=e},type:"line"}))}}]),e}(s.default.Component);d.propTypes=h,e.default=d},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function u(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),f=r(2),s=n(f),p=r(1),l=n(p),h={className:s.default.PropTypes.string,redraw:s.default.PropTypes.bool,data:s.default.PropTypes.object.isRequired,options:s.default.PropTypes.object,width:s.default.PropTypes.number,height:s.default.PropTypes.number},d=function(t){function e(t,r){o(this,e);var n=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,r));return n.chart=null,n}return u(e,t),c(e,[{key:"render",value:function(){var t=this;return s.default.createElement(l.default,i({},this.props,{ref:function(e){return t.chart=e},type:"pie"}))}}]),e}(s.default.Component);d.propTypes=h,e.default=d},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.BarChart=e.DoughnutChart=e.PieChart=e.LineChart=e.Chart=void 0;var o=r(1),a=n(o),u=r(5),i=n(u),c=r(3),f=n(c),s=r(6),p=n(s),l=r(4),h=n(l);e.Chart=a.default,e.LineChart=i.default,e.PieChart=p.default,e.DoughnutChart=h.default,e.BarChart=f.default},function(t,e,r){(function(t,r){function n(t,e){for(var r=-1,n=t?t.length:0;++r<n;)if(e(t[r],r,t))return!0;return!1}function o(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function a(t){return function(e){return t(e)}}function u(t,e){return null==t?void 0:t[e]}function i(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function c(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function f(t,e){return function(r){return t(e(r))}}function s(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}function p(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function l(){this.__data__=Oe?Oe(null):{}}function h(t){return this.has(t)&&delete this.__data__[t]}function d(t){var e=this.__data__;if(Oe){var r=e[t];return r===ht?void 0:r}return fe.call(e,t)?e[t]:void 0}function y(t){var e=this.__data__;return Oe?void 0!==e[t]:fe.call(e,t)}function b(t,e){var r=this.__data__;return r[t]=Oe&&void 0===e?ht:e,this}function _(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function v(){this.__data__=[]}function j(t){var e=this.__data__,r=F(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():ye.call(e,r,1),!0}function g(t){var e=this.__data__,r=F(e,t);return r<0?void 0:e[r][1]}function w(t){return F(this.__data__,t)>-1}function O(t,e){var r=this.__data__,n=F(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}function m(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function P(){this.__data__={hash:new p,map:new(ve||_),string:new p}}function T(t){return K(this,t).delete(t)}function C(t){return K(this,t).get(t)}function k(t){return K(this,t).has(t)}function E(t,e){return K(this,t).set(t,e),this}function x(t){var e=-1,r=t?t.length:0;for(this.__data__=new m;++e<r;)this.add(t[e])}function A(t){return this.__data__.set(t,ht),this}function M(t){return this.__data__.has(t)}function R(t){this.__data__=new _(t)}function S(){this.__data__=new _}function q(t){return this.__data__.delete(t)}function D(t){return this.__data__.get(t)}function N(t){return this.__data__.has(t)}function U(t,e){var r=this.__data__;if(r instanceof _){var n=r.__data__;if(!ve||n.length<lt-1)return n.push([t,e]),this;r=this.__data__=new m(n)}return r.set(t,e),this}function $(t,e){var r=Me(t)||nt(t)?o(t.length,String):[],n=r.length,a=!!n;for(var u in t)!e&&!fe.call(t,u)||a&&("length"==u||X(u,n))||r.push(u);return r}function F(t,e){for(var r=t.length;r--;)if(rt(t[r][0],e))return r;return-1}function L(t){return se.call(t)}function B(t,e,r,n,o){return t===e||(null==t||null==e||!ft(t)&&!st(e)?t!==t&&e!==e:I(t,e,B,r,n,o))}function I(t,e,r,n,o,a){var u=Me(t),c=Me(e),f=vt,s=vt;u||(f=Ae(t),f=f==_t?Ct:f),c||(s=Ae(e),s=s==_t?Ct:s);var p=f==Ct&&!i(t),l=s==Ct&&!i(e),h=f==s;if(h&&!p)return a||(a=new R),u||Re(t)?G(t,e,r,n,o,a):H(t,e,f,r,n,o,a);if(!(o&yt)){var d=p&&fe.call(t,"__wrapped__"),y=l&&fe.call(e,"__wrapped__");if(d||y){var b=d?t.value():t,_=y?e.value():e;return a||(a=new R),r(b,_,n,o,a)}}return!!h&&(a||(a=new R),J(t,e,r,n,o,a))}function z(t){if(!ft(t)||Z(t))return!1;var e=it(t)||i(t)?pe:Vt;return e.test(et(t))}function W(t){return st(t)&&ct(t.length)&&!!Ht[se.call(t)]}function V(t){if(!tt(t))return be(t);var e=[];for(var r in Object(t))fe.call(t,r)&&"constructor"!=r&&e.push(r);return e}function G(t,e,r,o,a,u){var i=a&yt,c=t.length,f=e.length;if(c!=f&&!(i&&f>c))return!1;var s=u.get(t);if(s&&u.get(e))return s==e;var p=-1,l=!0,h=a&dt?new x:void 0;for(u.set(t,e),u.set(e,t);++p<c;){var d=t[p],y=e[p];if(o)var b=i?o(y,d,p,e,t,u):o(d,y,p,t,e,u);if(void 0!==b){if(b)continue;l=!1;break}if(h){if(!n(e,function(t,e){if(!h.has(e)&&(d===t||r(d,t,o,a,u)))return h.add(e)})){l=!1;break}}else if(d!==y&&!r(d,y,o,a,u)){l=!1;break}}return u.delete(t),u.delete(e),l}function H(t,e,r,n,o,a,u){switch(r){case qt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case St:return!(t.byteLength!=e.byteLength||!n(new he(t),new he(e)));case jt:case gt:case Tt:return rt(+t,+e);case wt:return t.name==e.name&&t.message==e.message;case Et:case At:return t==e+"";case Pt:var i=c;case xt:var f=a&yt;if(i||(i=s),t.size!=e.size&&!f)return!1;var p=u.get(t);if(p)return p==e;a|=dt,u.set(t,e);var l=G(i(t),i(e),n,o,a,u);return u.delete(t),l;case Mt:if(xe)return xe.call(t)==xe.call(e)}return!1}function J(t,e,r,n,o,a){var u=o&yt,i=pt(t),c=i.length,f=pt(e),s=f.length;if(c!=s&&!u)return!1;for(var p=c;p--;){var l=i[p];if(!(u?l in e:fe.call(e,l)))return!1}var h=a.get(t);if(h&&a.get(e))return h==e;var d=!0;a.set(t,e),a.set(e,t);for(var y=u;++p<c;){l=i[p];var b=t[l],_=e[l];if(n)var v=u?n(_,b,l,e,t,a):n(b,_,l,t,e,a);if(!(void 0===v?b===_||r(b,_,n,o,a):v)){d=!1;break}y||(y="constructor"==l)}if(d&&!y){var j=t.constructor,g=e.constructor;j!=g&&"constructor"in t&&"constructor"in e&&!("function"==typeof j&&j instanceof j&&"function"==typeof g&&g instanceof g)&&(d=!1)}return a.delete(t),a.delete(e),d}function K(t,e){var r=t.__data__;return Y(e)?r["string"==typeof e?"string":"hash"]:r.map}function Q(t,e){var r=u(t,e);return z(r)?r:void 0}function X(t,e){return e=null==e?bt:e,!!e&&("number"==typeof t||Gt.test(t))&&t>-1&&t%1==0&&t<e}function Y(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Z(t){return!!ie&&ie in t}function tt(t){var e=t&&t.constructor,r="function"==typeof e&&e.prototype||ae;return t===r}function et(t){if(null!=t){try{return ce.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function rt(t,e){return t===e||t!==t&&e!==e}function nt(t){return at(t)&&fe.call(t,"callee")&&(!de.call(t,"callee")||se.call(t)==_t)}function ot(t){return null!=t&&ct(t.length)&&!it(t)}function at(t){return st(t)&&ot(t)}function ut(t,e){return B(t,e)}function it(t){var e=ft(t)?se.call(t):"";return e==Ot||e==mt}function ct(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=bt}function ft(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function st(t){return!!t&&"object"==typeof t}function pt(t){return ot(t)?$(t):V(t)}var lt=200,ht="__lodash_hash_undefined__",dt=1,yt=2,bt=9007199254740991,_t="[object Arguments]",vt="[object Array]",jt="[object Boolean]",gt="[object Date]",wt="[object Error]",Ot="[object Function]",mt="[object GeneratorFunction]",Pt="[object Map]",Tt="[object Number]",Ct="[object Object]",kt="[object Promise]",Et="[object RegExp]",xt="[object Set]",At="[object String]",Mt="[object Symbol]",Rt="[object WeakMap]",St="[object ArrayBuffer]",qt="[object DataView]",Dt="[object Float32Array]",Nt="[object Float64Array]",Ut="[object Int8Array]",$t="[object Int16Array]",Ft="[object Int32Array]",Lt="[object Uint8Array]",Bt="[object Uint8ClampedArray]",It="[object Uint16Array]",zt="[object Uint32Array]",Wt=/[\\^$.*+?()[\]{}|]/g,Vt=/^\[object .+?Constructor\]$/,Gt=/^(?:0|[1-9]\d*)$/,Ht={};Ht[Dt]=Ht[Nt]=Ht[Ut]=Ht[$t]=Ht[Ft]=Ht[Lt]=Ht[Bt]=Ht[It]=Ht[zt]=!0,Ht[_t]=Ht[vt]=Ht[St]=Ht[jt]=Ht[qt]=Ht[gt]=Ht[wt]=Ht[Ot]=Ht[Pt]=Ht[Tt]=Ht[Ct]=Ht[Et]=Ht[xt]=Ht[At]=Ht[Rt]=!1;var Jt="object"==typeof t&&t&&t.Object===Object&&t,Kt="object"==typeof self&&self&&self.Object===Object&&self,Qt=Jt||Kt||Function("return this")(),Xt="object"==typeof e&&e&&!e.nodeType&&e,Yt=Xt&&"object"==typeof r&&r&&!r.nodeType&&r,Zt=Yt&&Yt.exports===Xt,te=Zt&&Jt.process,ee=function(){try{return te&&te.binding("util")}catch(t){}}(),re=ee&&ee.isTypedArray,ne=Array.prototype,oe=Function.prototype,ae=Object.prototype,ue=Qt["__core-js_shared__"],ie=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),ce=oe.toString,fe=ae.hasOwnProperty,se=ae.toString,pe=RegExp("^"+ce.call(fe).replace(Wt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),le=Qt.Symbol,he=Qt.Uint8Array,de=ae.propertyIsEnumerable,ye=ne.splice,be=f(Object.keys,Object),_e=Q(Qt,"DataView"),ve=Q(Qt,"Map"),je=Q(Qt,"Promise"),ge=Q(Qt,"Set"),we=Q(Qt,"WeakMap"),Oe=Q(Object,"create"),me=et(_e),Pe=et(ve),Te=et(je),Ce=et(ge),ke=et(we),Ee=le?le.prototype:void 0,xe=Ee?Ee.valueOf:void 0;p.prototype.clear=l,p.prototype.delete=h,p.prototype.get=d,p.prototype.has=y,p.prototype.set=b,_.prototype.clear=v,_.prototype.delete=j,_.prototype.get=g,_.prototype.has=w,_.prototype.set=O,m.prototype.clear=P,m.prototype.delete=T,m.prototype.get=C,m.prototype.has=k,m.prototype.set=E,x.prototype.add=x.prototype.push=A,x.prototype.has=M,R.prototype.clear=S,R.prototype.delete=q,R.prototype.get=D,R.prototype.has=N,R.prototype.set=U;var Ae=L;(_e&&Ae(new _e(new ArrayBuffer(1)))!=qt||ve&&Ae(new ve)!=Pt||je&&Ae(je.resolve())!=kt||ge&&Ae(new ge)!=xt||we&&Ae(new we)!=Rt)&&(Ae=function(t){var e=se.call(t),r=e==Ct?t.constructor:void 0,n=r?et(r):void 0;if(n)switch(n){case me:return qt;case Pe:return Pt;case Te:return kt;case Ce:return xt;case ke:return Rt}return e});var Me=Array.isArray,Re=re?a(re):W;r.exports=ut}).call(e,function(){return this}(),r(9)(t))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,r){t.exports=e},function(t,e){t.exports=r}])});