(self.webpackChunkRnwTamaroCore=self.webpackChunkRnwTamaroCore||[]).push([[609],{fKZX:function(t,r,n){var e,o,a,u;function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}n("XRaS"),n("uf56"),n("ZTmD"),n("PDdz"),n("9FtE"),n("kBiU"),n("LmO1"),n("c2zi"),n("pkfF"),n("2CTI"),n("jPNE"),n("XqC9"),n("dEwO"),n("wHq1"),n("Bat8"),u=function(){var t={};function _extends(){return _extends=Object.assign?Object.assign.bind():function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var e in n)({}).hasOwnProperty.call(n,e)&&(t[e]=n[e])}return t},_extends.apply(null,arguments)}function _setPrototypeOf(t,r){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},_setPrototypeOf(t,r)}t=function(){function BugsnagPluginReact(){var t="undefined"!=typeof window&&window.React;if(this.name="react",this.lazy=0===arguments.length&&!t,!this.lazy&&(this.React=(arguments.length<=0?void 0:arguments[0])||t,!this.React))throw new Error("@bugsnag/plugin-react reference to `React` was undefined")}return BugsnagPluginReact.prototype.load=function load(t){if(!this.lazy){var r=n(this.React,t);return r.createErrorBoundary=function(){return r},r}var e=function BugsnagPluginReactLazyInitializer(){throw new Error("@bugsnag/plugin-react was used incorrectly. Valid usage is as follows:\nPass React to the plugin constructor\n\n  `Bugsnag.start({ plugins: [new BugsnagPluginReact(React)] })`\nand then call `const ErrorBoundary = Bugsnag.getPlugin('react').createErrorBoundary()`\n\nOr if React is not available until after Bugsnag has started,\nconstruct the plugin with no arguments\n  `Bugsnag.start({ plugins: [new BugsnagPluginReact()] })`,\nthen pass in React when available to construct your error boundary\n  `const ErrorBoundary = Bugsnag.getPlugin('react').createErrorBoundary(React)`")};return e.createErrorBoundary=function(r){if(!r)throw new Error("@bugsnag/plugin-react reference to `React` was undefined");return n(r,t)},e},BugsnagPluginReact}();var r=function formatComponentStack(t){for(var r=t.split(/\n/g),n="",e=0,o=r.length;e<o;e++)r[e].length&&(n+=(n.length?"\n":"")+r[e].trim());return n},n=function createClass(t,n){return function(e){function ErrorBoundary(t){var r;return(r=e.call(this,t)||this).state={error:null,info:null},r.handleClearError=r.handleClearError.bind(r),r}!function _inheritsLoose(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,_setPrototypeOf(t,r)}(ErrorBoundary,e);var o=ErrorBoundary.prototype;return o.handleClearError=function handleClearError(){this.setState({error:null,info:null})},o.componentDidCatch=function componentDidCatch(t,e){var o=this.props.onError,a=n.Event.create(t,!0,{severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},1);e&&e.componentStack&&(e.componentStack=r(e.componentStack)),a.addMetadata("react",e),n._notify(a,o),this.setState({error:t,info:e})},o.render=function render(){if(this.state.error){var r=this.props.FallbackComponent;return r?t.createElement(r,_extends({},this.state,{clearError:this.handleClearError})):null}return this.props.children},ErrorBoundary}(t.Component)};return t.formatComponentStack=r,t.default=t,t},"object"===_typeof(r)?t.exports=u():(o=[],void 0===(a="function"==typeof(e=u)?e.apply(r,o):e)||(t.exports=a))}}]);