PageSourceSearch

https://comicme.ai/assets/bugsnag-react-DWjxBv5w.js

js comicme.ai collected 2026-10-04 15:11:30 UTC 3,144 bytes, 12 lines download raw bytes

1import{d as w}from"./react-vendor-DFI2PI70.js";function _(f,p){for(var o=0;o<p.length;o++){const u=p[o];if(typeof u!="string"&&!Array.isArray(u)){for(const c in u)if(c!=="default"&&!(c in f)){const l=Object.getOwnPropertyDescriptor(u,c);l&&Object.defineProperty(f,c,l.get?l:{enumerable:!0,get:()=>u[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var d={exports:{}},b;function B(){return b||(b=1,(function(f,p){(function(o){f.exports=o()})(function(){var o={};function u(){return u=Object.assign?Object.assign.bind():function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)({}).hasOwnProperty.call(e,n)&&(r[n]=e[n])}return r},u.apply(null,arguments)}function c(r,t){r.prototype=Object.create(t.prototype),r.prototype.constructor=r,l(r,t)}function l(r,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},l(r,t)}o=(function(){function r(){var e=typeof window<"u"&&window.React;if(this.name="react",this.lazy=arguments.length===0&&!e,!this.lazy&&(this.React=(arguments.length<=0?void 0:arguments[0])||e,!this.React))throw new Error("@bugsnag/plugin-react reference to `React` was undefined")}var t=r.prototype;return t.load=function(n){if(!this.lazy){var s=y(this.React,n);return s.createErrorBoundary=function(){return s},s}var g=function(){throw new Error(`@bugsnag/plugin-react was used incorrectly. Valid usage is as follows:
2Pass React to the plugin constructor
3
4  \`Bugsnag.start({ plugins: [new BugsnagPluginReact(React)] })\`
5and then call \`const ErrorBoundary = Bugsnag.getPlugin('react').createErrorBoundary()\`
6
7Or if React is not available until after Bugsnag has started,
8construct the plugin with no arguments
9  \`Bugsnag.start({ plugins: [new BugsnagPluginReact()] })\`,
10then pass in React when available to construct your error boundary
11  \`const ErrorBoundary = Bugsnag.getPlugin('react').createErrorBoundary(React)\``)};return g.createErrorBoundary=function(a){if(!a)throw new Error("@bugsnag/plugin-react reference to `React` was undefined");return y(a,n)},g},r})();var h=function(r){for(var t=r.split(/\n/g),e="",n=0,s=t.length;n<s;n++)t[n].length&&(e+=(e.length?`
12`:"")+t[n].trim());return e},y=function(r,t){return(function(e){function n(g){var a;return a=e.call(this,g)||this,a.state={error:null,info:null},a.handleClearError=a.handleClearError.bind(a),a}c(n,e);var s=n.prototype;return s.handleClearError=function(){this.setState({error:null,info:null})},s.componentDidCatch=function(a,i){var E=this.props.onError,R={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},v=t.Event.create(a,!0,R,1);i&&i.componentStack&&(i.componentStack=h(i.componentStack)),v.addMetadata("react",i),t._notify(v,E),this.setState({error:a,info:i})},s.render=function(){var a=this.state.error;if(a){var i=this.props.FallbackComponent;return i?r.createElement(i,u({},this.state,{clearError:this.handleClearError})):null}return this.props.children},n})(r.Component)};return o.formatComponentStack=h,o.default=o,o})})(d)),d.exports}var m=B();const O=w(m),C=_({__proto__:null,default:O},[m]);export{C as b};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.